PageSourceSearch

https://www.sandoz.jp/_next/static/chunks/1ws1tq3c45x62.js

js sandoz.jp collected 2026-10-02 19:05:09 UTC 3,325,475 bytes, 360 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88095,76064,68543,46047,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(79988);let r=e=>{let r,n,s,l=(0,a.c)(7);l[0]!==e.className?(r=()=>{let t=[];return t.push("bookmark"),e.className&&t.push(e.className),t.join(" ")},l[0]=e.className,l[1]=r):r=l[1];let o=r();return l[2]!==e.bookmarkStatus?(n=e.bookmarkStatus?(0,t.jsx)(i.default,{iconName:"BookmarkFilledIcon"}):(0,t.jsx)(i.default,{iconName:"BookmarkIcon"}),l[2]=e.bookmarkStatus,l[3]=n):n=l[3],l[4]!==o||l[5]!==n?(s=(0,t.jsx)("div",{className:o,children:n}),l[4]=o,l[5]=n,l[6]=s):s=l[6],s};e.s(["default",0,r],88095);var n=t,s=a,l=e.i(91788),o=i;e.i(41871);var c=e.i(87612);let d=e=>{let t,a,i,r,d,h,f,p,m,g,b,_=(0,s.c)(33),{label:y,items:x,align:v,icon:A,iconPosition:w,isSecondary:E,isGhost:S,className:C,buttonGroupBackgroundColor:T}=e,N=void 0===v?"right":v,[k,I]=(0,l.useState)(!1),j=(0,c.useMediaQuery)("(max-width: 767px)"),P=(0,l.useRef)(null);_[0]!==T||_[1]!==C||_[2]!==A||_[3]!==S||_[4]!==j||_[5]!==E?(t=()=>{let e=["btn","custom-dropdown__toggle"];return T?e.push(T):e.push(E?"btn-secondary":"btn-primary"),A&&e.push("btn-icon"),S&&e.push("btn-ghost"),j&&e.push("w-100"),C&&e.push(C),e.join(" ")},_[0]=T,_[1]=C,_[2]=A,_[3]=S,_[4]=j,_[5]=E,_[6]=t):t=_[6];let L=t;_[7]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{let e=e=>{P.current&&!P.current.contains(e.target)&&I(!1)},t=e=>{"Escape"===e.key&&I(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},i=[],_[7]=a,_[8]=i):(a=_[7],i=_[8]),(0,l.useEffect)(a,i);let O=`custom-dropdown ${j?"w-100":""}`,D=L();_[9]===Symbol.for("react.memo_cache_sentinel")?(r=()=>I(u),_[9]=r):r=_[9],_[10]!==A||_[11]!==w?(d="right"!==w&&A&&(0,n.jsx)("span",{className:"custom-dropdown__icon",children:A}),_[10]=A,_[11]=w,_[12]=d):d=_[12],_[13]!==y?(h=(0,n.jsx)("span",{children:y}),_[13]=y,_[14]=h):h=_[14],_[15]!==d||_[16]!==h?(f=(0,n.jsxs)("span",{className:"custom-dropdown__content",children:[d,h]}),_[15]=d,_[16]=h,_[17]=f):f=_[17];let M=k?"CollapseUpIcon":"CollapseDownIcon";return _[18]!==M?(p=(0,n.jsx)("span",{className:"custom-dropdown__arrow",children:(0,n.jsx)(o.default,{iconName:M})}),_[18]=M,_[19]=p):p=_[19],_[20]!==k||_[21]!==f||_[22]!==p||_[23]!==D?(m=(0,n.jsxs)("button",{type:"button",className:D,"aria-expanded":k,"aria-haspopup":"menu",onClick:r,children:[f,p]}),_[20]=k,_[21]=f,_[22]=p,_[23]=D,_[24]=m):m=_[24],_[25]!==N||_[26]!==k||_[27]!==x?(g=k&&(0,n.jsx)("div",{className:`custom-dropdown__menu custom-dropdown__menu--${N}`,role:"menu",children:(0,n.jsx)("ul",{className:"custom-dropdown__list",children:x.map((e,t)=>(0,n.jsx)("li",{className:"custom-dropdown__list-item",children:(0,n.jsxs)("a",{className:"dropdown-item custom-dropdown__item",onClick:()=>{e.onClick?.(),I(!1)},href:e?.url,children:[" ",e?.title]})},`${e.title}-${t}`))})}),_[25]=N,_[26]=k,_[27]=x,_[28]=g):g=_[28],_[29]!==m||_[30]!==g||_[31]!==O?(b=(0,n.jsxs)("div",{ref:P,className:O,children:[m,g]}),_[29]=m,_[30]=g,_[31]=O,_[32]=b):b=_[32],b};function u(e){return!e}e.s(["default",0,d],76064);var h=t,f=a,p=e.i(81352);let m=e=>{let t,a,i,r,n,s,l,o,c,d,u,m,g,b,_,y=(0,f.c)(31);y[0]!==e?({required:l,value:c,id:i,label:s,isDisabled:n,isChecked:r,error:a,className:t,...o}=e,y[0]=e,y[1]=t,y[2]=a,y[3]=i,y[4]=r,y[5]=n,y[6]=s,y[7]=l,y[8]=o,y[9]=c):(t=y[1],a=y[2],i=y[3],r=y[4],n=y[5],s=y[6],l=y[7],o=y[8],c=y[9]);let x=a?`${a}`:"";y[10]!==t?(d=()=>{let e=[];return e.push("form-check"),t&&e.push(t),e.join(" ")},y[10]=t,y[11]=d):d=y[11];let v=d();return y[12]!==i||y[13]!==r||y[14]!==n||y[15]!==l||y[16]!==o||y[17]!==c?(u=(0,h.jsx)("input",{...o,className:"form-check-input",type:"checkbox",required:l,value:c,id:i,disabled:n,checked:r}),y[12]=i,y[13]=r,y[14]=n,y[15]=l,y[16]=o,y[17]=c,y[18]=u):u=y[18],y[19]!==i||y[20]!==s?(m=(0,h.jsx)("label",{className:"form-check-label",htmlFor:i,children:s}),y[19]=i,y[20]=s,y[21]=m):m=y[21],y[22]!==v||y[23]!==u||y[24]!==m?(g=(0,h.jsxs)("div",{className:v,children:[u,m]}
1),y[22]=v,y[23]=u,y[24]=m,y[25]=g):g=y[25],y[26]!==x?(b=x&&(0,h.jsx)("div",{className:"error",children:(0,h.jsx)(p.default,{content:x})}),y[26]=x,y[27]=b):b=y[27],y[28]!==g||y[29]!==b?(_=(0,h.jsxs)(h.Fragment,{children:[g,b]}),y[28]=g,y[29]=b,y[30]=_):_=y[30],_};e.s(["default",0,m],68543);var g=t,b=a;let _=e=>{let t,a,i=(0,b.c)(8);i[0]!==e.className||i[1]!==e.desktop||i[2]!==e.mobile||i[3]!==e.tablet?(t=()=>{let t=[];return t.push("column"),e.mobile&&t.push(`col-${e.mobile}`),e.tablet&&t.push(`col-md-${e.tablet}`),e.desktop&&t.push(`col-lg-${e.desktop}`),e.className&&t.push(e.className),t.join(" ")},i[0]=e.className,i[1]=e.desktop,i[2]=e.mobile,i[3]=e.tablet,i[4]=t):t=i[4];let r=t();return i[5]!==e.children||i[6]!==r?(a=(0,g.jsx)("div",{className:r,children:e.children}),i[5]=e.children,i[6]=r,i[7]=a):a=i[7],a};e.s(["default",0,_],46047)},34620,49266,88801,e=>{"use strict";e.s(["default",()=>h],34620);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(79988);e.s(["Icon",()=>r.default],49266);var r=r,n=e.i(82054),s=e.i(24005),l=e.i(96968);let o=e=>{let i,r,n,s,o,c,d=(0,a.c)(14),{isSelected:u,label:h,isDisabled:f,isFocused:p}=e;d[0]===Symbol.for("react.memo_cache_sentinel")?(i={display:"flex",alignItems:"center",gap:8},d[0]=i):i=d[0];let m=u||p,g="string"==typeof h?h:void 0;return d[1]===Symbol.for("react.memo_cache_sentinel")?(r={margin:0,width:18,height:18,cursor:"pointer",accentColor:"#2563eb",borderRadius:4,flexShrink:0},d[1]=r):r=d[1],d[2]!==m||d[3]!==g?(n=(0,t.jsx)("input",{type:"checkbox",checked:m,readOnly:!0,tabIndex:-1,"aria-label":g,style:r}),d[2]=m,d[3]=g,d[4]=n):n=d[4],d[5]!==h?(s=(0,t.jsx)("span",{children:h}),d[5]=h,d[6]=s):s=d[6],d[7]!==f||d[8]!==n||d[9]!==s?(o=(0,t.jsxs)("div",{style:i,"aria-disabled":f,children:[n,s]}),d[7]=f,d[8]=n,d[9]=s,d[10]=o):o=d[10],d[11]!==e||d[12]!==o?(c=(0,t.jsx)(l.components.Option,{...e,children:o}),d[11]=e,d[12]=o,d[13]=c):c=d[13],c};function c(e="Select All",a="Clear",i=!1){return function(r){let{children:n,selectProps:s}=r,o=s.options??[],c=s.value??[],d=o.filter(e=>!e.disabled),u=d.length>0&&d.every(e=>c?.some(t=>t.value===e.value));c&&c.length;let h=()=>{u?s.onChange?.([],{action:"deselect-option"}):s.onChange?.(d,{action:"select-option"})};return(0,t.jsxs)(l.components.MenuList,{...r,children:[i&&(0,t.jsx)("div",{style:{display:"flex",justifyContent:"space-between",padding:"6px 8px",borderBottom:"1px solid var(--ms-border, #e5e7eb)",position:"sticky",top:0,background:"var(--ms-bg, #fff)",zIndex:1},children:(0,t.jsx)("button",{type:"button",onClick:h,style:{fontSize:12,padding:"4px 8px",borderRadius:4,border:"1px solid var(--ms-border, #d1d5db)",background:"#fff",cursor:"pointer"},children:u?a:e})}),n]})}}let d={control:(e,t)=>({...e,minHeight:48,borderRadius:4,borderColor:t.isFocused?"#2684FF":"#d1d5db",boxShadow:"none",cursor:"pointer","&:hover":{borderColor:"#9ca3af"}}),valueContainer:e=>({...e,display:"flex",flexWrap:"nowrap",alignItems:"center",overflow:"hidden",whiteSpace:"nowrap",padding:"2px 8px",gap:0}),placeholder:e=>({...e,fontSize:"18px",color:"#6b7280"}),input:e=>({...e,margin:0,padding:0,width:2,minWidth:2}),container:e=>({...e,width:"100%"}),singleValue:e=>({...e,fontSize:"18px",color:"#6b7280"}),multiValue:e=>({...e,backgroundColor:"transparent",margin:0,maxWidth:"100%"}),multiValueRemove:e=>({...e,display:"none",":hover":{backgroundColor:"transparent",color:"#111827"}}),menu:e=>({...e,zIndex:9999,borderRadius:4,overflow:"hidden",marginTop:4}),menuList:e=>({...e,paddingTop:0,paddingBottom:0}),option:(e,t)=>({...e,display:"flex",alignItems:"center",fontSize:"18px",fontWeight:400,padding:"10px 12px",minHeight:"50px",backgroundColor:t.isSelected?"transparent":t.isFocused?"#1C59B5":"transparent",color:t.isFocused&&!t.isSelected?"#fff":"#111827",cursor:t.isDisabled?"not-allowed":"pointer",borderBottom:"1px solid #e5e7eb",":active":{backgroundColor:"#e5e7eb"}}),indicatorSeparator:()=>({display:"none"}),dropdownIndicator:e=>({...e,color:"#6b7280",":hover":{color:"#374151"}}),clearIndicator:()=>({display:"none"})},u=e=>{let r,n,s,o,c,d,u,h,f,p,m=(0,a.c)(21),{children:g}=e;m[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],m[0]=r):r=m[0];let b=r,_=null;if(Array.isArray(g)){let[e,t]=g;if(Array.isArray(e))b=e;else if(i.default.isValidElement(e)){let t;m[1]!==e?(t=[e],m[1]=e,m[2]=t):t=m[2],b=t}_=t}m[3]!==b?(n=b.slice(0,1),m[3]=b,m[4]=n):n=m[4];let y=n,x=Math.max(0,b.length-1);return m[5]===Symbol.for("react.memo_cache_sentinel")?(s={display:"flex",alignItems:"center",flexWrap:"nowrap",overflow:"hidden",
1width:"100%",minWidth:0},o={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,display:"flex",alignItems:"center",flexShrink:1},m[5]=s,m[6]=o):(s=m[5],o=m[6]),m[7]!==y?(c=(0,t.jsx)("div",{style:o,children:y}),m[7]=y,m[8]=c):c=m[8],m[9]!==x?(d=x>0&&(0,t.jsxs)("div",{style:{marginLeft:4,whiteSpace:"nowrap",flexShrink:0,fontSize:18},children:["...(",x,")"]}),m[9]=x,m[10]=d):d=m[10],m[11]===Symbol.for("react.memo_cache_sentinel")?(u={width:2,minWidth:2,flexShrink:0},m[11]=u):u=m[11],m[12]!==_?(h=(0,t.jsx)("div",{style:u,children:_}),m[12]=_,m[13]=h):h=m[13],m[14]!==c||m[15]!==d||m[16]!==h?(f=(0,t.jsxs)("div",{style:s,children:[c,d,h]}),m[14]=c,m[15]=d,m[16]=h,m[17]=f):f=m[17],m[18]!==e||m[19]!==f?(p=(0,t.jsx)(l.components.ValueContainer,{...e,children:f}),m[18]=e,m[19]=f,m[20]=p):p=m[20],p},h=({options:e,isMulti:a,isCleared:l,simpleDropDownLabel:h,placeHolder:f,optionText:p,onValueChange:m,isDisabled:g,intialValue:b=[],showPlaceholder:_,ariaLabel:y,shouldToggleOnHover:x=!0,showValueWithPlaceholder:v=!1,resetWithInitVal:A=!1,...w})=>{let{applicationConfiguration:E}=(0,i.useContext)(n.default),S=E?.siteConfig?.webstore_list_filters_placeholder_text,[C,T]=(0,i.useState)(b),[N,k]=(0,i.useState)(!1),[I,j]=(0,i.useState)(!1),P=(0,i.useRef)(!0),L=(0,i.useRef)(null);(0,i.useEffect)(()=>{P.current&&(P.current=!1),0===C.length&&b.length>0&&!N&&(T(b),k(!0))},[b,C]),(0,i.useEffect)(()=>{m&&m(C),j(D(L.current.querySelector("div.dropdown-heading-value")))},[C]),(0,i.useEffect)(()=>{T(A&&Array.isArray(b)?b:[])},[l]);let O=e=>{if(a)T(e),m?.(e);else{let t=[...C],a=t.length>0?e.filter(e=>e.value!==t[0].value):[...e];T(a),m?.(a)}},D=e=>!!e&&e.offsetWidth<e.scrollWidth;I&&C?.length,r.default;let M=!0,R="Select Option",F={control:e=>({...e,minHeight:40}),valueContainer:e=>({...e,overflow:"hidden"})},B=C?.length??0,U=M&&B>0?`${B} selected`:f||(E?.siteConfig?.event_select_option_text?E?.siteConfig?.event_select_option_text:R),H={...d,multiValue:e=>({...e,borderRadius:9999,backgroundColor:"transparent",boxShadow:"none"}),multiValueLabel:e=>({...e,fontSize:"18px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"220px",padding:0}),multiValueRemove:e=>({...e,display:a?"flex":"none"}),...F??{}},[$,G]=(0,i.useState)(!1),W=(0,i.useRef)(!1);return(0,t.jsxs)("div",{ref:L,onMouseEnter:()=>{W.current=!0,G(!0)},onMouseLeave:()=>{W.current=!1,setTimeout(()=>{W.current||G(!1)},150)},children:[(0,t.jsx)("span",{id:y??"input_select","aria-hidden":"true",className:"item-renderer-hidden-label",children:h||_?f:S}),(0,t.jsx)(s.default,{className:"basic-single select__control dropdown-content",classNamePrefix:"select",isMulti:!0,isDisabled:g,options:e,value:C,onChange:e=>O(e),placeholder:U,getOptionValue:e=>e.value,getOptionLabel:e=>e.label,isOptionDisabled:e=>!!e.disabled,closeMenuOnSelect:!a,hideSelectedOptions:!1,menuPosition:"absolute",menuPortalTarget:"u">typeof document?document.body:void 0,onMenuOpen:()=>G(!0),onMenuClose:()=>G(!1),onFocus:()=>G(!0),onBlur:()=>G(!1),menuIsOpen:$,components:{Option:o,MenuList:c(E?.siteConfig?.event_select_all_text||"Select All",E?.siteConfig?.event_search_clear_all_text||"Clear All",a),ValueContainer:u,MultiValueRemove:()=>null,ClearIndicator:()=>null},styles:H})]})};var f=t,p=a,m=i,g=r,b=e.i(22276);let _=e=>{let t,a,i,r,n,s=(0,p.c)(15),l=(0,b.useSelector)(y),[o,c]=(0,m.useState)(e.favouriteStatus);s[0]!==e.className?(t=()=>{let t=[];return t.push("favourite-icon"),e.className&&t.push(e.className),t.join(" ")},s[0]=e.className,s[1]=t):t=s[1];let d=t;s[2]!==o||s[3]!==e||s[4]!==l?(a=()=>{o?(c(!1),e.favoriteHandlerCallback({type:"favourite",isChecked:!0})):(l&&l.isLoggedIn&&c(!0),e.favoriteHandlerCallback({type:"favourite",isChecked:!1}))},s[2]=o,s[3]=e,s[4]=l,s[5]=a):a=s[5];let u=a,h=d();s[6]!==o?(i=o?(0,f.jsx)(g.default,{iconName:"FavouriteIconfilled",favouriteStatus:!0}):(0,f.jsx)(g.default,{iconName:"FavouriteIcon",favouriteStatus:!1}),s[6]=o,s[7]=i):i=s[7];let _=0!==e.totalFavoriteCount&&e.totalFavoriteCount;return s[8]!==_?(r=(0,f.jsx)("span",{children:_}),s[8]=_,s[9]=r):r=s[9],s[10]!==u||s[11]!==h||s[12]!==i||s[13]!==r?(n=(0,f.jsxs)("span",{className:h,onClick:u,children:[i,r]}),s[10]=u,s[11]=h,s[12]=i,s[13]=r,s[14]=n):n=s[14],n};function y(e){return e.user}e.s(["default",0,_],88801)},17419,e=>{"use strict";var t=e.i(46047);e.s(["Column",()=>t.default])},6271,e=>{"use strict";e.s(["Container",()=>t.default]);var t=e.i(22962)},65662,56509,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n=(0,a.c)(4),{style:s}=e;n[0]!==s?(i=void 0===s?{}:s,n[0]=s,n[1]=i):i=n[1];let l=i;return n[2]!==l?(r=(0,t.jsx)("div",{style:{...l}}),n[2]=l,n[3]=r):r=n[3],r};e.s(["default",0,i],56509),e.s(["PlaceholderBlock",0,i],65662)},66196,64752,e=>{"use strict";e.s(["Row",()=>r],66196),e.s(["default",()=>r],64752);var t=e.i(91398),a=e.i(67552);e.i(48756);
1var i=e.i(65662);let r=e=>{let r=()=>{let t=["row"];e.className&&t.push(e.className),e.isTemplateWrapper&&t.push("template-wrapper");let i=(0,a.getDomainLang)();return i.length>0&&t.push(i),t.join(" ")},n=void 0!==e.children&&null!==e.children?e.children:(0,t.jsx)(i.PlaceholderBlock,{style:{minHeight:"1rem"}});return(0,t.jsx)("div",{className:r(),ref:e?.ref?e.ref:null,id:e?.id?e.id:void 0,children:n})}},58678,(e,t,a)=>{t.exports=e.r(80963)},2476,e=>{"use strict";let t=e=>e?.name?.includes("url")||e?.property?.includes("url"),a=(e,t)=>{let a=e?.attributes?.content?.toString()||"";if(a.startsWith("http")){let i=a.indexOf("/",8),r=-1!==i?a.substring(i):"",n=t.origin+r;return{...e,attributes:{...e.attributes,content:n}}}return e},i=(e,t)=>{let a={};for(let[i,r]of Object.entries(e))if("string"==typeof r&&i.toLowerCase().includes("url")&&r.startsWith("http")){let e=r.indexOf("/",8),n=-1!==e?r.substring(e):"";a[i]=t.origin+n}else a[i]=r;return a};e.s(["isURLTag",0,t,"productMetaTagURL",0,i,"updateMetaTagURL",0,a])},44203,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(58678),r=e.i(91788),n=e.i(3828),s=e.i(67552),l=e.i(2476),o=e.i(15464);let c=e=>{let c,m,g,b,_,y,x,v,A,w,E,S,C,T,N=(0,a.c)(36),k=(0,n.useRouter)(),I=window.location;N[0]!==e.canonical?(c=()=>{let t,a=(0,s.getDomainLang)();a?.split("-")?.[1],e?.canonical?.includes("error-404")?t="":(t=e?.canonical||window?.location?.href,t=t?.split("?")[0]);let i=document.querySelector("link[rel='canonical']");if(t)if(i)i.href=t;else{let e=document.createElement("link");e.rel="canonical",e.href=t,document.head.appendChild(e)}else i&&document.head.removeChild(i)},N[0]=e.canonical,N[1]=c):c=N[1],N[2]!==e.canonical||N[3]!==k.pathname?(m=[e.canonical,k.pathname],N[2]=e.canonical,N[3]=k.pathname,N[4]=m):m=N[4],(0,r.useEffect)(c,m),N[5]===Symbol.for("react.memo_cache_sentinel")?(g=e=>{let t=void 0===e?[]:e;if(!I?.pathname||I?.pathname?.startsWith("/product"))return[];let a={"@context":"https://schema.org","@graph":[]},i={schema_organization:{"@type":"Organization"},schema_web_site:{"@type":"WebSite"}};return t?.forEach(e=>{if(!e?.attributes)return;let t=(0,l.isURLTag)(e?.attributes)?(0,l.updateMetaTagURL)(e,I):e,{schema_metatag:r,group:n,...s}=t?.attributes||{};if(!r||!n||!i[n])return;let o={...i[n],...s};a["@graph"]?.push(o)}),a},N[5]=g):g=N[5];let j=g;N[6]===Symbol.for("react.memo_cache_sentinel")?(b=e=>{let t=void 0===e?[]:e;if(!I?.pathname||I?.pathname?.startsWith("/product"))return[];let a=t?.filter(d);return a?.map(e=>(0,l.isURLTag)(e?.attributes)?(0,l.updateMetaTagURL)(e,I):e)},N[6]=b):b=N[6];let P=b,L=e?.title;return N[7]!==L?(_=(0,t.jsx)("title",{children:L}),N[7]=L,N[8]=_):_=N[8],N[9]!==e.description||N[10]!==e.seo?(y=!e?.seo&&e?.description&&(0,t.jsx)("meta",{name:"description",content:e?.description}),N[9]=e.description,N[10]=e.seo,N[11]=y):y=N[11],N[12]!==e.googleSiteVerification?(x=e?.googleSiteVerification&&(0,t.jsx)("meta",{name:"google-site-verification",content:e?.googleSiteVerification}),N[12]=e.googleSiteVerification,N[13]=x):x=N[13],N[14]!==e.keywords?(v=(0,t.jsx)("meta",{name:"keywords",content:e.keywords}),N[14]=e.keywords,N[15]=v):v=N[15],N[16]!==e.robots?(A=e?.robots&&(0,t.jsx)("meta",{name:"robots",content:e.robots}),N[16]=e.robots,N[17]=A):A=N[17],N[18]!==e.structuredData?(w=e.structuredData&&(0,t.jsx)("script",{type:"application/ld+json",children:JSON.stringify(e?.structuredData)}),N[18]=e.structuredData,N[19]=w):w=N[19],N[20]!==e.seo?(E=P(e?.seo)?.length&&P(e?.seo)?.filter(u)?.map(h),N[20]=e.seo,N[21]=E):E=N[21],N[22]!==e.seo?(S=P(e?.seo)?.length&&P(e?.seo)?.filter(f)?.map(p),N[22]=e.seo,N[23]=S):S=N[23],N[24]!==e.seo?(C=j(e?.seo)["@graph"]?.length&&(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,o.ldJsonSanitizer)(JSON.stringify(j(e?.seo)))}}),N[24]=e.seo,N[25]=C):C=N[25],N[26]!==w||N[27]!==E||N[28]!==S||N[29]!==C||N[30]!==_||N[31]!==y||N[32]!==x||N[33]!==v||N[34]!==A?(T=(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(i.default,{children:[_,y,x,v,A,w,E,S,C]})}),N[26]=w,N[27]=E,N[28]=S,N[29]=C,N[30]=_,N[31]=y,N[32]=x,N[33]=v,N[34]=A,N[35]=T):T=N[35],T};function d(e){return e?.tag&&!e?.attributes?.schema_metatag}function u(e){return"meta"==e.tag&&e?.attributes?.name!=="description"&&e?.attributes?.name!=="robots"}function h(e,a){return(0,t.jsx)("meta",{...e.attributes},a)}function f(e){return"link"==e.tag}function p(e,a){let i=window.location.origin,r=e.attributes.href,n=/^https?:\/\//i.test(r)?r:`${i}/${r.replace(/^\/?/,"")}`;return(0,t.jsx)("link",{...e?.attributes,href:n},a)}e.s(["default",0,c])},9247,e=>{"use strict";var t=e.i(44203);e.s(["SEO",()=>t.default])},85394,e=>{"use strict";var t=e.i(15315),a=e.i(67552);let i=async(e,...i)=>{let r=i?.[3],n=await (0,t.getApi)("/webform_rest/gesund_signin/fields?_format=json",!0,r),s=e?.flash_num_msg?.filter(e=>e?.title=="token_expiry")??null;return{publicTeaserType:"enable",tokenInvalidMessage:s?.[0]?.error_message??null,isOrganism:!0,specificDescriptionText:"",descriptionText:n?.hcp_text?.["#text"]??null,registerBlock:{registerTitle:"Register with your email",registerDescription:n?.register_now_text?.["#text"]??null,registerButtonText:n?.register_now?.["#title"]??null,navigationURL:n?.register_link?.["#default_value"]??""},loginBlock:{loginTitle:"Sign in with your Gesund account",loginDescription:n?.signin_text?.["#text"]??null,authForm:{isPaywallForm:!0,forgotPassword:{text:n?.forgot_password_?.["#title"]??null,url:"#",underline:!1},submitButton:{text:n?.actions?.["#submit__label"]??null,url:"#"},fields:[{type:"email",label:n?.username?.["#title"],placeholder:n?.username?.["#title"]??null,required:!0,helpText:"Email format is not correct"},{type:"password",label:n?.password?.["#title"]??null,placeholder:n?.password?.["#placeholder"]??null,required:!0,icon:{iconOpen:(0,a.getAssetPrefixUrl)("/assets/icons/view.svg"),iconClose:(0,a.getAssetPrefixUrl)("/assets/icons/view_close.svg")}}]}}}};e.s(["default",0,i])},1803,e=>{"use strict";var t=e.i(3828),a=e.i(91788);let i=()=>{let e=(0,t.useRouter)(),i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let t=()=>{i.current=e.asPath},a=e?.events;return a?.on("routeChangeStart",t),()=>{a?.off("routeChangeStart",t)}},[e]),i.current};e.s(["usePreviousRoute",0,i])},92915,91236,e=>{"use strict";var t=e.i(61576),a=function(e){return e.BASIC="basic",e.FULL="full",e}({});e.s(["PROFILE_API",()=>a],91236);var i=e.i(15315),r=e.i(72094);let n=()=>{let e,a=(0,t.c)(1),i=s,r=l,n=o;return a[0]===Symbol.for("react.memo_cache_sentinel")?(e={fetchUserProfile:i,fetchUserRatingsCount:r,checkForDCR:n},a[0]=e):e=a[0],e};async function s(e){let t=e===a.BASIC?{detailLevel:a.BASIC}:{detailLevel:a.FULL};return await (0,i.middlewarePostAPI)(r.config.onPrem.GET_PROFILE_URL,t)}async function l(){return await (0,i.middlewareGETAPI)(r.config.onPrem.RATINGS_COUNT_API_URL)}async function o(e,t){let a=await (0,i.middlewarePostAPI)(r.config.onPrem.CHECK_DCR_URL,{email:e,status:"Pending Feedback",app_id:t});if(a.fail)return{status:!1};{let e=a.response?.dcr_data?.records,t=e&&e.length?e[0].Id:0;return{status:!!e&&!!e.length,dcrId:t}}}e.s(["default",0,n],92915)},5223,e=>{"use strict";var t=e.i(81352);e.s(["RichText",()=>t.default])},59158,e=>{"use strict";let t=()=>{let e=new Uint32Array(1);return crypto.getRandomValues(e)[0].toString()};e.s(["default",0,t])},38290,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(49266),n=e.i(5223),s=e.i(59158);let l=e=>{let l,o,c,d=(0,a.c)(8),[u,h]=(0,i.useState)(!0);d[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,s.default)(),d[0]=l):l=d[0];let f=l,p=e.id?e.id:`accord-${f}`;return d[1]!==u||d[2]!==e.accordionArray||d[3]!==e.id?(o=e.accordionArray?.map((a,i)=>{let l=(0,s.default)();return(0,t.jsxs)("div",{id:a?.referrerId,className:"accordion-item",children:[(0,t.jsx)("div",{className:"accordion-header",id:`accord-heading_${i+1}_${l}`,children:(0,t.jsxs)("button",{className:`accordion-button ${0!==i?"collapsed":""}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse${i+1}_${l}`,"aria-expanded":"true","aria-controls":`collapse${i+1}_${l}`,onClick:()=>{h(!u)},tabIndex:0,children:[(0,t.jsx)("h5",{children:a?.title}),(0,t.jsx)("p",{className:"accordionIcon",children:(0,t.jsx)(r.Icon,{iconName:"RightE
1xpandIcon2"})})]})}),(0,t.jsx)("div",{id:`collapse${i+1}_${l}`,className:`accordion-collapse collapse ${0===i?"show":""}`,"aria-labelledby":`accord-heading_${i+1}_${l}`,"data-bs-parent":e.id?`#${e.id}`:`#accord-${f}`,role:"region",children:(0,t.jsx)("div",{className:"accordion-body",children:a?.content&&(0,t.jsx)(n.RichText,{content:a?.content})})})]},i)}),d[1]=u,d[2]=e.accordionArray,d[3]=e.id,d[4]=o):o=d[4],d[5]!==p||d[6]!==o?(c=(0,t.jsx)("div",{className:"custom-accordion",children:(0,t.jsx)("div",{className:"accordion",id:p,children:o})}),d[5]=p,d[6]=o,d[7]=c):c=d[7],c}},38233,e=>{"use strict";var t=e.i(87882);e.s(["Button",()=>t.default])},60832,e=>{"use strict";e.s(["DropDown",()=>t.default]);var t=e.i(34620)},50356,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n,s=(0,a.c)(14);s[0]!==e.className||s[1]!==e.icon||s[2]!==e.isGhost||s[3]!==e.isSecondary?(i=()=>{let t=["octagon","inner"];return e.isSecondary||t.push("btn btn-light"),e.isSecondary&&t.push("btn btn-primary"),e.icon&&t.push("btn-icon-circular"),e.isGhost&&t.push("btn-ghost"),e.className&&t.push(e.className),t.join(" ")},s[0]=e.className,s[1]=e.icon,s[2]=e.isGhost,s[3]=e.isSecondary,s[4]=i):i=s[4];let l=i;s[5]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("div",{className:"octagon outer"}),s[5]=r):r=s[5];let o=l(),c=e?.tabindex;return s[6]!==e.ariaLabel||s[7]!==e.icon||s[8]!==e.isDisabled||s[9]!==e.onClick||s[10]!==e.title||s[11]!==o||s[12]!==c?(n=(0,t.jsxs)("div",{className:"octagon-container",children:[r,(0,t.jsx)("button",{className:o,disabled:e.isDisabled,onClick:e.onClick,"aria-label":e.ariaLabel,title:e.title,tabIndex:c,children:e.icon})]}),s[6]=e.ariaLabel,s[7]=e.icon,s[8]=e.isDisabled,s[9]=e.onClick,s[10]=e.title,s[11]=o,s[12]=c,s[13]=n):n=s[13],n};e.s(["default",0,i])},697,e=>{"use strict";var t=e.i(50356);e.s(["IconButton",()=>t.default])},56793,91875,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788);let r=e=>{let r,n,s,l,o,c,d,u=(0,a.c)(23),{placeholderText:h,setSearchText:f,isCleared:p,currentSearchText:m,useStateVal:g,handleSearch:b,type:_,setIsFocused:y}=e,x=void 0===m?"":m,v=void 0===g||g,A=void 0===_?"prodSearch":_,[w,E]=(0,i.useState)(x);u[0]!==b||u[1]!==f?(r=e=>{let t=e.target.value||"";E(t),f(t),!t&&b&&b(t)},u[0]=b,u[1]=f,u[2]=r):r=u[2];let S=r;u[3]!==p||u[4]!==f?(n=()=>{if(p){E(""),f("");let e=document?document.getElementById("searchBarInputId"):null;e&&(e.value="")}},u[3]=p,u[4]=f,u[5]=n):n=u[5],u[6]!==p?(s=[p],u[6]=p,u[7]=s):s=u[7],(0,i.useEffect)(n,s),u[8]!==b||u[9]!==w?(l=function(e){13===e.keyCode&&(e.preventDefault(),b&&b(w))},u[8]=b,u[9]=w,u[10]=l):l=u[10];let C=l,T=v?w:x,N=`search-box ${""===w?"search-box-searchicon":""}`;return u[11]!==y?(c=()=>y&&y(!0),o=()=>y&&y(!1),u[11]=y,u[12]=o,u[13]=c):(o=u[12],c=u[13]),u[14]!==S||u[15]!==C||u[16]!==h||u[17]!==o||u[18]!==T||u[19]!==N||u[20]!==c||u[21]!==A?(d=(0,t.jsx)("input",{id:"searchBarInputId",type:A,placeholder:h,value:T,onChange:S,onKeyDown:C,className:N,onFocus:c,onBlur:o}),u[14]=S,u[15]=C,u[16]=h,u[17]=o,u[18]=T,u[19]=N,u[20]=c,u[21]=A,u[22]=d):d=u[22],d};e.s(["default",0,r],91875),e.s(["SearchBox",0,r],56793)},33999,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(38233),n=e.i(60832),s=e.i(49266),l=e.i(697),o=e.i(5223),c=e.i(56793),d=e.i(75425),u=e.i(22038);let h=e=>{let h,p,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P,L=(0,a.c)(85),{filtersOptions:O,buttonText:D,labelItemsSelected:M,handleSearch:R,isCareerSearch:F,handleClear:B,applyFiltertext:U,clearAllText:H,handleFilterBtnToggle:$,isCleared:G,handleAdditionalFilters:W,applyAdditionalFilters:Y,selectedFilters:z,currentSearchText:V,handleSearchText:K,inputLabel:q,searchPlaceholderMobile:Q}=e,Z=void 0!==F&&F;L[0]!==z?(h=void 0===z?{}:z,L[0]=z,L[1]=h):h=L[1];let X=h,J=void 0===V?"":V,[ee,et]=(0,i.useState)(!1),[ea,ei]=(0,i.useState)(J);L[2]!==J?(p=()=>{ei(J)},m=[J],L[2]=J,L[3]=p,L[4]=m):(p=L[3],m=L[4]),(0,i.useEffect)(p,m),L[5]!==K?(g=e=>{ei(e),K?.(e)},L[5]=K,L[6]=g):g=L[6];let er=g;L[7]!==ee||L[8]!==$?(b=()=>{$&&$(!ee),et(!ee)},L[7]=ee,L[8]=$,L[9]=b):b=L[9];let en=b;L[10]!==R||L[11]!==ea?(_=()=>{R(ea)},L[10]=R,L[11]=ea,L[12]=_):_=L[12];let es=_,el=(0,u.default)("(max-width: 991px)");L[13]!==Z||L[14]!==ea?(y=!Z&&ea?.trim().length<d.default.THREE?(0,t.jsx)(s.Icon,{iconName:"SearchIconDissabled"}):(0,t.jsx)(s.Icon,{iconName:"SearchIcon1"}),L[13]=Z,L[14]=ea,L[15]=y):y=L[15],L[16]!==Z||L[17]!==ea?(x=Z?ea?.trim().length<d.default.THREE&&""!==ea:ea?.trim().length<d.default.THREE,L[16]=Z,L[17]=ea,L[18]=x):x=L[18],L[19]!==D||L[20]!==es||L[21]!==y||L[22]!==x?(v=(0,t.jsx)("div",{className:"search-filter-bar-hcontrol search-filter-bar-searchBox",children:(0,t.jsx)(r.Button,{type:"button",className:"search-button",tabindex:1,onClick:es,icon:y,iconPosition:"right",isDisabled:x,children:D})}),L[19]=D,L[20]=es,L[21]=y,L[22]=x,L[23]=v):v=L[23];let eo=v,ec=Q??"";L[24]!==R||L[25]!==er||L[26]!==G||L[27]!==ea||L[28]!==ec?(A=(0,t.jsx)(c.SearchBox,{currentSearchText:ea,placeholderText:ec,setSearchText:er,handleSearch:R,isCleared:G,useStateVal:!1}),L[24]=R,L[25]=er,L[26]=G,L[27]=ea,L[28]=ec,L[29]=A):A=L[29];let ed=A;L[30]!==Y||L[31]!==ea?(w=()=>Y?.(ea),L[30]=Y,L[31]=ea,L[32]=w):w=L[32],L[33]!==U||L[34]!==w?(E=(0,t.jsx)("div",{className:"search-filter-bar-hcontrol search-filter-bar-modal-element-applyBox",children:(0,t.jsx)(r.Button,{type:"button",className:"search-button",tabindex:1,onClick:w,children:U})}),L[33]=U,L[34]=w,L[35]=E):E=L[35];let eu=E;L[36]!==R||L[37]!==Z||L[38]!==G?(S=()=>{G&&!Z&&R("")},L[36]=R,L[37]=Z,L[38]=G,L[39]=S):S=L[39],L[40]!==G?(C=[G],L[40]=G,L[41]=C):C=L[41],(0,i.useEffect)(S,C),L[42]!==Z||L[43]!==el||L[44]!==ed?(T=!el&&Z&&(0,t.jsxs)("div",{className:"search-filter-bar-searchBox-container",children:[(0,t.jsx)(o.RichText,{className:"title",content:"Search Job"}),(0,t.jsx)("div",{className:"search-filter-bar-hcontrol search-filter-bar-searchBox-left",children:ed})]}),L[42]=Z,L[43]=el,L[44]=ed,L[45]=T):T=L[45],L[46]!==ee||L[47]!==O||L[48]!==W||L[49]!==Z||L[50]!==G||L[51]!==el||L[52]!==M||L[53]!==X?(N=(!Z||Z&&!el)&&O?.map((e,a)=>{let{label:i,filterName:r,selectOptions:s}=e,l=void 0===r?"":r;return(0,t.jsxs)("div",{className:`search-filter-bar-element ${!ee&&el?"hideFilters":""}`,children:[(0,t.jsx)(o.RichText,{className:"title",content:i}),(0,t.jsx)(n.DropDown,{...s,labelItemsSelected:M,isCleared:G,intialValue:X?.[l]??[],onValueChange:e=>W?.(l||`index${a+1}`,e)})]},i)}),L[46]=ee,L[47]=O,L[48]=W,L[49]=Z,L[50]=G,L[51]=el,L[52]=M,L[53]=X,L[54]=N):N=L[54],L[55]!==eu||L[56]!==H||L[57]!==ee||L[58]!==O||L[59]!==W||L[60]!==B||L[61]!==Z||L[62]!==G||L[63]!==el||L[64]!==M||L[65]!==X?(k=el&&Z&&ee&&(0,t.jsxs)("div",{className:"search-filter-bar-modal-element",children:[O?.map((e,a)=>{let{label:i,filterName:r,selectOptions:s}=e,l=void 0===r?"":r;return(0,t.jsxs)("div",{className:`search-filter-bar-element ${!ee&&el?"hideFilters":""}`,children:[(0,t.jsx)(o.RichText,{className:"title",content:i}),(0,t.jsx)(n.DropDown,{...s,labelItemsSelected:M,isCleared:G,intialValue:X?.[l]??[],onValueChange:e=>W?.(l||`index${a+1}`,e)})]},i)}),eu,(0,t.jsx)("div",{className:"search-filter-bar-modal-element-filter-clear",children:(0,t.jsx)("span",{"aria-hidden":"true",onClick:B,children:H})})]}),L[55]=eu,L[56]=H,L[57]=ee,L[58]=O,L[59]=W,L[60]=B,L[61]=Z,L[62]=G,L[63]=el,L[64]=M,L[65]=X,L[66]=k):k=L[66],L[67]!==en||L[68]!==q||L[69]!==el||L[70]!==ed||L[71]!==eo?(I=el&&(0,t.jsxs)("div",{className:"search-filter-bar-searchContainer",children:[q&&(0,t.jsxs)("label",{id:"search",className:"search-label-prod",htmlFor:"search",children:[" ",q]}),(0,t.jsxs)("div",{className:"search-filter-bar-hcontrol search-filter-bar-searchBox",children:[ed,(0,t.jsx)(l.IconButton,{tabindex:0,onClick:en,className:"search-filter-bar-filter-icon",icon:(0,t.jsx)(s.Icon,{iconName:"FilterIcon"})})]}),eo]}),L[67]=en,L[68]=q,L[69]=el,L[70]=ed,L[71]=eo,L[72]=I):I=L[72],L[73]!==Z||L[74]!==el||L[75]!==ed||L[76]!==eo?(j=!el&&!Z&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"search-filter-bar-hcontrol search-filter-bar-searchBox",children:ed}),eo]}),L[73]=Z,L[74]=el,L[75]=ed,L[76]=eo,L[77]=j):j=L[77];let eh=!el&&Z&&eo;return L[78]!==T||L[79]!==N||L[80]!==k||L[81]!==I||L[82]!==j||L[83]!==eh?(P=(0,t.jsxs)("form",{className:"search-filter-bar",onSubmit:f,children:[T,N,k,I,j,eh]}),L[78]=T,L[79]=N,L[80]=k,L[81]=I,L[82]=j,L[83]=eh,L[84]=P):P=L[84],P};function f(e){return e.preventDefault()}},17626,e=>{"use strict";var t=e.i(6561);e.s(["AnchorButton",()=>t.default])},64057,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(17419),n=e.i(5223),s=e.i(91788),l=e.i(55164);let o=e=>{let o,c,d,u,h,f,p,m=(0,a.c)(27),{applicationTheme:g}=(0,s.useContext)(l.ApplicationThemeContext),{bannerContentValue:b}=e;m[0]!==g||m[1]!==b||m[2]!==e.isOverlay||m[3]!==e.isOverlayFontType?(o=()=>{let t="",a="",i=b;return("rebranding"===g||"rebranding-japan"===g||"jubbonti"===g||"wyost"===g||"biosimilarsinbone"===g||"vagidonna"===g)&&(e?.isOverlay==="on"&&e?.isOverlayFontType==="light"?t="text-overlay-dark":e?.isOverlay==="on"&&e?.isOverlayFontType==="dark"&&(t="text-overlay"),a=e?.isOverlayFontType==="light"?"font-light":"font-dark"),`article-banner-content ${t} ${a} ${i}`},m[0]=g,m[1]=b,m[2]=e.isOverlay,m[3]=e.isOverlayFontType,m[4]=o):o=m[4];let _=o(),y="rebranding"===g||"rebranding-japan"===g||"jubbonti"===g||"wyost"===g||"biosimilarsinbone"===g||"vagidonna"===g?8:12,x="rebranding"===g||"rebranding-japan"===g||"jubbonti"===g||"wyost"===g||"biosimilarsinbone"===g||"vagidonna"===g?6:10;return m[5]!==e.heading?(c=e.heading&&(0,t.jsx)("h2",{className:"article-banner-content-heading bold",children:e.heading}),m[5]=e.heading,m[6]=c):c=m[6],m[7]!==e.content?(d=e.content&&(0,t.jsx)(n.RichText,{className:"article-banner-content-paragraph",content:e.content}),m[7]=e.content,m[8]=d):d=m[8],m[9]!==e.buttonLabel||m[10]!==e.link||m[11]!==e.linkExternal?(u=e.link&&(0,t.jsx)(i.AnchorButton,{className:"article-banner-content-button",tabindex:1,href:e.link,isExternal:e.linkExternal,children:e.buttonLabel}),m[9]=e.buttonLabel,m[10]=e.link,m[11]=e.linkExternal,m[12]=u):u=m[12],m[13]!==e.buttonLabel2||m[14]!==e.link2||m[15]!==e.linkExternal2?(h=e.link2&&(0,t.jsx)(i.AnchorButton,{className:"article-banner-content-button2",tabindex:2,href:e.link2,isExternal:e.linkExternal2||!1,children:e.buttonLabel2}),m[13]=e.buttonLabel2,m[14]=e.link2,m[15]=e.linkExternal2,m[16]=h):h=m[16],m[17]!==u||m[18]!==h?(f=(0,t.jsxs)("div",{className:"button-container",children:[u,h]}),m[17]=u,m[18]=h,m[19]=f):f=m[19],m[20]!==_||m[21]!==y||m[22]!==x||m[23]!==c||m[24]!==d||m[25]!==f?(p=(0,t.jsxs)(r.Column,{className:_,mobile:12,tablet:y,desktop:x,children:[c,d,f]}),m[20]=_,m[21]=y,m[22]=x,m[23]=c,m[24]=d,m[25]=f,m[26]=p):p=m[26],p}},45861,e=>{"use strict";var t=e.i(38435);e.s(["Anchor",()=>t.default])},65218,58373,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(34848),n=e.i(75425),s=e.i(82054);e.i(41871);var l=e.i(87612);let o=e=>
1["taxonomy",e||""].filter(Boolean).join(" "),c=e=>{let c,u,h,f,p,m,g,b=(0,a.c)(59),{taxonomies:_,className:y,itemsToDisplay:x,limitChar:v}=e,A=void 0===v?0:v,[w,E]=(0,i.useState)(!1),[S,C]=(0,i.useState)(null),T=x||1,N=(0,i.useContext)(s.default),k=(0,l.useMediaQuery)("(max-width: 767px)");b[0]!==N?.applicationConfiguration?.siteConfig?(c=()=>{!function(){C(N?.applicationConfiguration?.siteConfig)}()},b[0]=N?.applicationConfiguration?.siteConfig,b[1]=c):c=b[1];let I=N?.applicationConfiguration?.siteConfig;b[2]!==I?(u=[I],b[2]=I,b[3]=u):u=b[3],(0,i.useEffect)(c,u),b[4]!==w?(h=()=>{let e=e=>{document.querySelectorAll(e).forEach(e=>{e.style.overflow=w?"visible":"hidden"})};e(".videoBanner"),e(".card"),e(".switch-view-button-spaceContainer"),e(".heroBanner")},f=[w],b[4]=w,b[5]=h,b[6]=f):(h=b[5],f=b[6]),(0,i.useEffect)(h,f),b[7]===Symbol.for("react.memo_cache_sentinel")?(p=()=>E(!0),b[7]=p):p=b[7];let j=p;b[8]===Symbol.for("react.memo_cache_sentinel")?(m=()=>E(!1),b[8]=m):m=b[8];let P=m;b[9]!==w?(g=()=>E(!w),b[9]=w,b[10]=g):g=b[10];let L=g;if(_&&_?.length>0){let e,a,i,s,l;
1if(b[11]!==y||b[12]!==S?.cards_multi_tags_title||b[13]!==k||b[14]!==A||b[15]!==e||b[16]!==w||b[17]!==T||b[18]!==_||b[19]!==L){let[s,l,...c]=_,u=c;if(1===T){let a=_[0];if(_?.length===1&&_?.[0]?.taxonomyLabel)if(_?.[0]?.taxonomyLabel.length>n.default.FOURTEEN){let i,s,l;b[23]!==y?(i=o(y),b[23]=y,b[24]=i):i=b[24];let c=a?.taxonomyLabel,d=A?A+n.default.TWO:n.default.TEN;b[25]!==c||b[26]!==d?(s=(0,r.trimText)(c,d),b[25]=c,b[26]=d,b[27]=s):s=b[27],b[28]!==i||b[29]!==s?(l=(0,t.jsx)("h6",{className:i,children:s}),b[28]=i,b[29]=s,b[30]=l):l=b[30],e=l}else{let i,r;b[31]!==y?(i=o(y),b[31]=y,b[32]=i):i=b[32];let n=a?.taxonomyLabel;b[33]!==i||b[34]!==n?(r=(0,t.jsx)("h6",{className:i,children:n}),b[33]=i,b[34]=n,b[35]=r):r=b[35],e=r}else{let i;b[36]!==y||b[37]!==A||b[38]!==a?.taxonomyLabel?(i=a?.taxonomyLabel&&(0,t.jsx)("h6",{className:o(y),children:(0,r.trimText)(a?.taxonomyLabel,A||n.default.EIGHT)}),b[36]=y,b[37]=A,b[38]=a?.taxonomyLabel,b[39]=i):i=b[39],e=i}u=_.slice(1)}else if(2===T)if(k){let a,i;b[40]!==y||b[41]!==s?.taxonomyLabel?(a=s?.taxonomyLabel&&(0,t.jsx)("h6",{className:o(y),children:(0,r.trimText)(s?.taxonomyLabel,n.default.TWENTY_TWO)}),b[40]=y,b[41]=s?.taxonomyLabel,b[42]=a):a=b[42],b[43]!==a?(i=(0,t.jsx)(t.Fragment,{children:a}),b[43]=a,b[44]=i):i=b[44],e=i,u=_.slice(1)}else{let a,i,c;b[45]!==y||b[46]!==s?.taxonomyLabel?(a=s?.taxonomyLabel&&(0,t.jsx)("h6",{className:o(y),children:(0,r.trimText)(s?.taxonomyLabel,n.default.THIRTY)}),b[45]=y,b[46]=s?.taxonomyLabel,b[47]=a):a=b[47],b[48]!==y||b[49]!==l?.taxonomyLabel?(i=l?.taxonomyLabel?.length>0&&(0,t.jsx)("h6",{className:o(y),children:(0,r.trimText)(l?.taxonomyLabel,n.default.THIRTY)}),b[48]=y,b[49]=l?.taxonomyLabel,b[50]=i):i=b[50],b[51]!==a||b[52]!==i?(c=(0,t.jsxs)(t.Fragment,{children:[a,i]}),b[51]=a,b[52]=i,b[53]=c):c=b[53],e=c}let h=u?.map(d),f=e=>(0,t.jsxs)("div",{"aria-expanded":!0,className:"tooltip-container",onMouseEnter:j,onMouseLeave:P,onClick:L,children:[(0,t.jsx)("h6",{className:o(y)+" remainingTaxonomies",children:u?.length}),w&&(0,t.jsx)("span",{className:"triangle"}),w&&(0,t.jsxs)("div",{className:"tooltip",children:[(0,t.jsx)("h4",{className:"tooltip-list",children:(0,t.jsx)("strong",{children:e})}),(0,t.jsx)("div",{className:"tooltip-display",children:(0,t.jsx)("p",{className:"text",children:h?.join(", ")})})]})]});a=e,i=u?.length>0&&f(S?.cards_multi_tags_title??""),b[11]=y,b[12]=S?.cards_multi_tags_title,b[13]=k,b[14]=A,b[15]=e,b[16]=w,b[17]=T,b[18]=_,b[19]=L,b[20]=a,b[21]=i,b[22]=e}else a=b[20],i=b[21],e=b[22];return b[54]!==a||b[55]!==i?(s=(0,t.jsxs)(t.Fragment,{children:[a,i]}),b[54]=a,b[55]=i,b[56]=s):s=b[56],e=s,b[57]!==e?(l=(0,t.jsx)("div",{className:"taxonomy-parent",children:e||(0,t.jsx)(t.Fragment,{})}),b[57]=e,b[58]=l):l=b[58],l}return null};function d(e){let{taxonomyLabel:t}=e;return t}e.s(["default",0,c],58373),e.s(["Taxonomy",0,c],65218)},23074,1422,28401,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n,s,l,o,c,d=(0,a.c)(20),u=e.isDisabled||!1,h=e.isHalfFilled||!1,f=e.isFullFilled||!1,p=e?.primeColor?e?.primeColor:"var(--brand-primary-color-one)";d[0]!==f||d[1]!==e.className?(i=()=>{let t=[];return e.className&&t.push(e.className),f&&t.push("fullfilled"),t.join(" ")},d[0]=f,d[1]=e.className,d[2]=i):i=d[2];let m=i,g=u?.5:1;d[3]!==g?(r={opacity:g},d[3]=g,d[4]=r):r=d[4];let b=m();d[5]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("rect",{id:"Rectangle",x:"0",y:"0",width:"24",height:"24"}),d[5]=n):n=d[5];let _=f?p:"none";return d[6]!==p||d[7]!==_?(s=(0,t.jsx)("polygon",{id:"path2006",stroke:p,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:_,points:"11.5249624 2 14.3870677 9.12024837 22.0499252 9.63932044 16.155946 14.5589474 18.0297468 22 11.5249624 17.9202483 5.02017739 21.9999997 6.89397883 14.5589475 1 9.63931984 8.66285695 9.12024837"}),d[6]=p,d[7]=_,d[8]=s):s=d[8],d[9]!==u||d[10]!==h||d[11]!==p?(l=h&&(0,t.jsx)("polygon",{id:"path2006",fill:u?"var(--brand-primary-color-three)":p,points:"11.5249624 2 11.5249624 17.9202483 5.02017739 21.9999997 6.89397883 14.5589475 1 9.63931984 8.66285695 9.12024837"}),d[9]=u,d[10]=h,d[11]=p,d[12]=l):l=d[12],d[13]!==s||d[14]!==l?(o=(0,t.jsx)("g",{id:"Rating",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,t.jsx)("g",{transform:"translate(-330.000000, -796.000000)",id:"Atoms-/-Rating-/-Filled",children:(0,t.jsxs)("g",{transform:"translate(330.000000, 796.000000)",children:[n,s,l]})})}),d[13]=s,d[14]=l,d[15]=o):o=d[15],d[16]!==r||d[17]!==b||d[18]!==o?(c=(0,t.jsx)("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",style:r,className:b,children:o}),d[16]=r,d[17]=b,d[18]=o,d[19]=c):c=d[19],c};e.s(["default",0,i],1422),e.s(["Star",0,i],23074);var r=e.i(91788);function n(e){var t,a,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(a=n(e[t]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}let s=function(){for(var e,t,a=0,i="",r=arguments.length;a<r;a++)(e=arguments[a])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i};!function(e){if(!e||"u"<typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);
1-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}
1.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}
1}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
2`);var l=e=>"number"==typeof e&&!isNaN(e),o=e=>"string"==typeof e,c=e=>
2"function"==typeof e,d=e=>o(e)||l(e),u=e=>o(e)||c(e)?e:null,h=(e,t)=>!1===e||l(e)&&e>0?e:t,f=e=>(0,r.isValidElement)(e)||o(e)||c(e)||l(e);function p(e,t,a=300){let{scrollHeight:i,style:r}=e;requestAnimationFrame(()=>{r.minHeight="initial",r.height=i+"px",r.transition=`all ${a}ms`,requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(t,a)})})}function m({enter:e,exit:t,appendPosition:a=!1,collapse:i=!0,collapseDuration:n=300}){return function({children:s,position:l,preventExitTransition:o,done:c,nodeRef:d,isIn:u,playToast:h}){let f=a?`${e}--${l}`:e,m=a?`${t}--${l}`:t,g=(0,r.useRef)(0);return(0,r.useLayoutEffect)(()=>{let e=d.current,t=f.split(" "),a=i=>{i.target===d.current&&(h(),e.removeEventListener("animationend",a),e.removeEventListener("animationcancel",a),0===g.current&&"animationcancel"!==i.type&&e.classList.remove(...t))};(()=>{e.classList.add(...t),e.addEventListener("animationend",a),e.addEventListener("animationcancel",a)})()},[]),(0,r.useEffect)(()=>{let e=d.current,t=()=>{e.removeEventListener("animationend",t),i?p(e,c,n):c()};u||(o?t():(()=>{g.current=1,e.className+=` ${m}`,e.addEventListener("animationend",t)})())},[u]),r.default.createElement(r.default.Fragment,null,s)}}function g(e,t){return{content:b(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function b(e,t,a=!1){return(0,r.isValidElement)(e)&&!o(e.type)?(0,r.cloneElement)(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:a}):c(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:a}):e}function _({closeToast:e,theme:t,ariaLabel:a="close"}){return r.default.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:t=>{t.stopPropagation(),e(!0)},"aria-label":a},r.default.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.default.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function y({delay:e,isRunning:t,closeToast:a,type:i="default",hide:n,className:l,controlledProgress:o,progress:d,rtl:u,isIn:h,theme:f}){let p=n||o&&0===d,m={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};o&&(m.transform=`scaleX(${d})`);let g=s("Toastify__progress-bar",o?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${f}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":u}),b=c(l)?l({rtl:u,type:i,defaultClassName:g}):s(g,l),_={[o&&d>=1?"onTransitionEnd":"onAnimationEnd"]:o&&d<1?null:()=>{h&&a()}};return r.default.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},r.default.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${f} Toastify__progress-bar--${i}`}),r.default.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:b,style:m,..._}))}var x=1,v=()=>`${x++}`;function A(e,t,a){let i=1,r=0,n=[],s=[],o=t,c=new Map,d=new Set,p=()=>{s=Array.from(c.values()),d.forEach(e=>e())},m=({containerId:t,toastId:a,updateId:i})=>{let r=t?t!==e:1!==e,n=c.has(a)&&null==i;return r||n},b=e=>{var t,a;null==(a=null==(t=e.props)?void 0:t.onClose)||a.call(t,e.removalReason),e.isActive=!1},_=e=>{if(null==e)c.forEach(b);else{let t=c.get(e);t&&b(t)}p()},y=e=>{var t,i;let{toastId:r,updateId:n}=e.props,s=null==n;e.staleId&&c.delete(e.staleId),e.isActive=!0,c.set(r,e),p(),a(g(e,s?"added":"updated")),s&&(null==(i=(t=e.props).onOpen)||i.call(t))};return{id:e,props:o,observe:e=>(d.add(e),()=>d.delete(e)),toggle:(e,t)=>{c.forEach(a=>{var i;(null==t||t===a.props.toastId)&&(null==(i=a.toggle)||i.call(a,e))})},removeToast:_,toasts:c,clearQueue:()=>{r-=n.length,n=[]},buildToast:(e,t)=>{if(m(t))return;let{toastId:s,updateId:d,data:b,staleId:x,delay:v}=t,A=null==d;A&&r++;let w={...o,style:o.toastStyle,key:i++,...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!=t)),toastId:s,updateId:d,data:b,isIn:!1,className:u(t.className||o.toastClassName),progressClassName:u(t.progressClassName||o.progressClassName),autoClose:!t.isLoading&&h(t.autoClose,o.autoClose),closeToast(e){c.get(s).removalReason=e,_(s)},deleteToast(){let e=c.get(s);if(null!=e){if(a(g(e,"removed")),c.delete(s),--r<0&&(r=0),n.length>0)return void y(n.shift());p()}}};w.closeButton=o.closeButton,!1===t.closeButton||f(t.closeButton)?w.closeButton=t.closeButton:!0===t.closeButton&&(w.closeButton=!f(o.closeButton)||o.closeButton);let E={content:e,props:w,staleId:x};o.limit&&o.limit>0&&r>o.limit&&A?n.push(E):l(v)?setTimeout(()=>{y(E)},v):y(E)},setProps(e){o=e},setToggle:(e,t)=>
2{let a=c.get(e);a&&(a.toggle=t)},isToastActive:e=>{var t;return null==(t=c.get(e))?void 0:t.isActive},getSnapshot:()=>s}}var w=new Map,E=[],S=new Set,C=e=>S.forEach(t=>t(e)),T=()=>w.size>0;function N(){E.forEach(e=>L(e.content,e.options)),E=[]}var k=(e,{containerId:t})=>{var a;return null==(a=w.get(t||1))?void 0:a.toasts.get(e)};function I(e,t){var a;if(t)return!!(null!=(a=w.get(t))&&a.isToastActive(e));let i=!1;return w.forEach(t=>{t.isToastActive(e)&&(i=!0)}),i}function j(e){if(!T()){E=E.filter(t=>null!=e&&t.options.toastId!==e);return}if(null==e||d(e))w.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=w.get(e.containerId);t?t.removeToast(e.id):w.forEach(t=>{t.removeToast(e.id)})}}var P=(e={})=>{w.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})};function L(e,t){f(e)&&(T()||E.push({content:e,options:t}),w.forEach(a=>{a.buildToast(e,t)}))}function O(e){var t;null==(t=w.get(e.containerId||1))||t.setToggle(e.id,e.fn)}function D(e,t){w.forEach(a=>{null!=t&&null!=t&&t.containerId&&(null==t?void 0:t.containerId)!==a.id||a.toggle(e,null==t?void 0:t.id)})}function M(e){let t=e.containerId||1;return{subscribe(a){let i=A(t,e,C);w.set(t,i);let r=i.observe(a);return N(),()=>{r(),w.delete(t)}},setProps(e){var a;null==(a=w.get(t))||a.setProps(e)},getSnapshot(){var e;return null==(e=w.get(t))?void 0:e.getSnapshot()}}}function R(e){return S.add(e),()=>{S.delete(e)}}function F(e){return e&&(o(e.toastId)||l(e.toastId))?e.toastId:v()}function B(e,t){return L(e,t),t.toastId}function U(e,t){return{...t,type:t&&t.type||e,toastId:F(t)}}function H(e){return(t,a)=>B(t,U(e,a))}function $(e,t){return B(e,U("default",t))}function G(e,{pending:t,error:a,success:i},r){let n;t&&(n=o(t)?$.loading(t,r):$.loading(t.render,{...r,...t}));let s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(e,t,a)=>{if(null==t)return void $.dismiss(n);let i={type:e,...s,...r,data:a},l=o(t)?{render:t}:t;return n?$.update(n,{...i,...l}):$(l.render,{...i,...l}),a},d=c(e)?e():e;return d.then(e=>l("success",i,e)).catch(e=>l("error",a,e)),d}function W(e){var t;let{subscribe:a,getSnapshot:i,setProps:n}=(0,r.useRef)(M(e)).current;n(e);let s=null==(t=(0,r.useSyncExternalStore)(a,i,i))?void 0:t.slice();return{getToastToRender:function(t){if(!s)return[];let a=new Map;return e.newestOnTop&&s.reverse(),s.forEach(e=>{let{position:t}=e.props;a.has(t)||a.set(t,[]),a.get(t).push(e)}),Array.from(a,e=>t(e[0],e[1]))},isToastActive:I,count:null==s?void 0:s.length}}function Y(e){let[t,a]=(0,r.useState)(!1),[i,n]=(0,r.useState)(!1),s=(0,r.useRef)(null),l=(0,r.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:o,pauseOnHover:c,closeToast:d,onClick:u,closeOnClick:h}=e;function f(){document.hasFocus()||g(),window.addEventListener("focus",m),window.addEventListener("blur",g)}function p(){window.removeEventListener("focus",m),window.removeEventListener("blur",g)}function m(){a(!0)}function g(){a(!1)}function b(){l.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",x)}function _(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",x)}function y(a){let i=s.current;if(l.canDrag&&i){l.didMove=!0,t&&g(),"x"===e.draggableDirection?l.delta=a.clientX-l.start:l.delta=a.clientY-l.start,l.start!==a.clientX&&(l.canCloseOnClick=!1);let r="x"===e.draggableDirection?`${l.delta}px, var(--y)`:`0, calc(${l.delta}px + var(--y))`;i.style.transform=`translate3d(${r},0)`,i.style.opacity=`${1-Math.abs(l.delta/l.removalDistance)}`}}function x(){_();let t=s.current;if(l.canDrag&&l.didMove&&t){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance){n(!0),e.closeToast(!0),e.collapseAll();return}t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}O({id:e.toastId,containerId:e.containerId,fn:a}),(0,r.useEffect)(()=>{if(e.pauseOnFocusLoss)return f(),()=>{p()}},[e.pauseOnFocusLoss]);let v={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){b();let a=s.current;l.canCloseOnClick=!0,l.canDrag=!0,a.style.transition="none","x"===e.draggableDirection?(l.start=t.clientX,l.removalDistance=a.offsetWidth*(e.draggablePercent/100)):(l.start=t.clientY,l.removalDistance=a.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:a,bottom:i,left:r,right:n}=s.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=r&&t.clientX<=n&&t.clientY>
2=a&&t.clientY<=i?g():m()}};return o&&c&&(v.onMouseEnter=g,e.stacked||(v.onMouseLeave=m)),h&&(v.onClick=e=>{u&&u(e),l.canCloseOnClick&&d(!0)}),{playToast:m,pauseToast:g,isRunning:t,preventExitTransition:i,toastRef:s,eventHandlers:v}}$.loading=(e,t)=>B(e,U("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),$.promise=G,$.success=H("success"),$.info=H("info"),$.error=H("error"),$.warning=H("warning"),$.warn=$.warning,$.dark=(e,t)=>B(e,U("default",{theme:"dark",...t})),$.dismiss=function(e){j(e)},$.clearWaitingQueue=P,$.isActive=I,$.update=(e,t={})=>{let a=k(e,t);if(a){let{props:i,content:r}=a,n={delay:100,...i,...t,toastId:t.toastId||e,updateId:v()};n.toastId!==e&&(n.staleId=e);let s=n.render||r;delete n.render,B(s,n)}},$.done=e=>{$.update(e,{progress:1})},$.onChange=R,$.play=e=>D(!0,e),$.pause=e=>D(!1,e);var z="u">typeof window?r.useLayoutEffect:r.useEffect,V=({theme:e,type:t,isLoading:a,...i})=>r.default.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":`var(--toastify-icon-color-${t})`,...i}),K={info:function(e){return r.default.createElement(V,{...e},r.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.default.createElement(V,{...e},r.default.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.default.createElement(V,{...e},r.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.default.createElement(V,{...e},r.default.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.default.createElement("div",{className:"Toastify__spinner"})}},q=e=>e in K;function Q({theme:e,type:t,isLoading:a,icon:i}){let n=null,s={theme:e,type:t};return!1===i||(c(i)?n=i({...s,isLoading:a}):(0,r.isValidElement)(i)?n=(0,r.cloneElement)(i,s):a?n=K.spinner():q(t)&&(n=K[t](s))),n}var Z=e=>{let{isRunning:t,preventExitTransition:a,toastRef:i,eventHandlers:n,playToast:l}=Y(e),{closeButton:o,children:d,autoClose:u,onClick:h,type:f,hideProgressBar:p,closeToast:m,transition:g,position:x,className:v,style:A,progressClassName:w,updateId:E,role:S,progress:C,rtl:T,toastId:N,deleteToast:k,isIn:I,isLoading:j,closeOnClick:P,theme:L,ariaLabel:O}=e,D=s("Toastify__toast",`Toastify__toast-theme--${L}`,`Toastify__toast--${f}`,{"Toastify__toast--rtl":T},{"Toastify__toast--close-on-click":P}),M=c(v)?v({rtl:T,position:x,type:f,defaultClassName:D}):s(D,v),R=Q(e),F=!!C||!u,B={closeToast:m,type:f,theme:L},U=null;return!1===o||(U=c(o)?o(B):(0,r.isValidElement)(o)?(0,r.cloneElement)(o,B):_(B)),r.default.createElement(g,{isIn:I,done:k,position:x,preventExitTransition:a,nodeRef:i,playToast:l},r.default.createElement("div",{id:N,tabIndex:0,onClick:h,"data-in":I,className:M,...n,style:A,ref:i,...I&&{role:S,"aria-label":O}},null!=R&&r.default.createElement("div",{className:s("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!j})},R),b(d,e,!t),U,!e.customProgressBar&&r.default.createElement(y,{...E&&!F?{key:`p-${E}`}:{},rtl:T,theme:L,delay:u,isRunning:t,isIn:I,closeToast:m,hide:p,type:f,className:w,controlledProgress:F,progress:C||0})))},X=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}),J=m(X("bounce",!0));m(X("slide",!0)),m(X("zoom")),m(X("flip"));var ee={position:"top-right",transition:J,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&"KeyT"===e.code};function et(e){let t={...ee,...e},a=e.stacked,[i,n]=(0,r.useState)(!0),l=(0,r.useRef)(null),{getToastToRender:o,isToastActive:d,count:h}=W(t),{className:f,style:p,rtl:m,containerId:g,hotKeys:b}=t;function _(e){let t=s("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":m});return c(f)?f({position:e,rtl:m,defaultClassName:t}):s(t,u(f))}function y(){a&&(n(!0),$.play())}return z(()=>{var e;if(a){let a=l.current.querySelectorAll('[data-in="true"]'),r=12,n=null==(e=t.position)?void 0:e.includes("top"),s=0,o=0;
2Array.from(a).reverse().forEach((e,t)=>{let a=e;a.classList.add("Toastify__toast--stacked"),t>0&&(a.dataset.collapsed=`${i}`),a.dataset.pos||(a.dataset.pos=n?"top":"bot");let l=s*(i?.2:1)+(i?0:r*t);a.style.setProperty("--y",`${n?l:-1*l}px`),a.style.setProperty("--g",`${r}`),a.style.setProperty("--s",`${1-(i?o:0)}`),s+=a.offsetHeight,o+=.025})}},[i,h,a]),(0,r.useEffect)(()=>{function e(e){var t;let a=l.current;b(e)&&(null==(t=a.querySelector('[tabIndex="0"]'))||t.focus(),n(!1),$.pause()),"Escape"===e.key&&(document.activeElement===a||null!=a&&a.contains(document.activeElement))&&(n(!0),$.play())}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[b]),r.default.createElement("section",{ref:l,className:"Toastify",id:g,onMouseEnter:()=>{a&&(n(!1),$.pause())},onMouseLeave:y,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},o((e,t)=>{let i=t.length?{...p}:{...p,pointerEvents:"none"};return r.default.createElement("div",{tabIndex:-1,className:_(e),"data-stacked":a,style:i,key:`c-${e}`},t.map(({content:e,props:t})=>r.default.createElement(Z,{...t,stacked:a,collapseAll:y,isIn:d(t.toastId,t.containerId),key:`t-${t.key}`},e)))}))}e.s(["ToastContainer",0,et,"toast",0,$],28401)},14554,40352,e=>{"use strict";e.s(["default",()=>g],14554);var t=e.i(91398);e.i(48756);var a=e.i(23074),i=e.i(91788),r=e.i(75425),n=e.i(15315);e.s(["default",()=>u],40352);var s=t,l=e.i(61576),o=e.i(28401),c=e.i(49266),d=e.i(5223);let u=e=>{let t,a=(0,l.c)(2),i={success:(0,s.jsx)(c.Icon,{iconName:"SuccessIcon"}),error:(0,s.jsx)(c.Icon,{iconName:"errorIcon"}),warn:(0,s.jsx)(c.Icon,{iconName:"WarningIcon"}),info:!0,default:!1},r={success:o.toast.success,error:o.toast.error,warn:o.toast.warn,info:o.toast.info,default:o.toast},n=(0,s.jsxs)("div",{className:"toast-inner-container container",children:[(0,s.jsx)("span",{className:`toast-icon ${e.notificationType}`,children:i[e.notificationType||"default"]}),(0,s.jsx)(d.RichText,{content:e.displayTxt||""})]});(0,r[e.notificationType||"default"])(n,{icon:!1,toastId:`${e.notificationType}.${e.displayTxt}`,onClose:()=>e.onClose&&e.onClose()});let u=e.position||"top-right";return a[0]!==u?(t=(0,s.jsx)(o.ToastContainer,{position:u,autoClose:1e4,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!1,newestOnTop:!1,draggable:!1,rtl:!1,theme:"colored",className:"flash-container",toastClassName:"flash-notify",pauseOnFocusLoss:!0}),a[0]=u,a[1]=t):t=a[1],t};var h=e.i(22276),f=e.i(10828),p=e.i(82108),m=e.i(72094);let g=e=>{let{isDisabled:s=!1,localStorageName:l="defaultStarsRatingName",disableLayoutAfterRate:o=!1,avgRating:c,setShowLoginPopUp:d,entityId:g,title:b}=e,_=[0,1,2,3,4],[y,x]=(0,i.useState)(c),[v,A]=(0,i.useState)(y),[w,E]=(0,i.useState)(!1),[S,C]=(0,i.useState)({x:0}),[T,N]=(0,i.useState)(""),[k,I]=(0,i.useState)(null),j=(0,h.useSelector)(e=>e.user),P=()=>{let t=[];return t.push("starsRating"),e.className&&t.push(e.className),t.join(" ")};(0,i.useEffect)(()=>{A(y),y>0&&o&&E(!0),0!==y&&o||E(!1)},[y,o]),(0,i.useEffect)(()=>{{let e=Number(localStorage.getItem(l));e&&(x(e),localStorage.removeItem(l))}},[]),(0,i.useEffect)(()=>{j?.isLoggedIn&&null!==k&&F(k)},[j]);let L=e=>v>e+.5,O=e=>v>e&&v<=e+.5,D=()=>A(y),M=e=>{if(s)return;C({x:e.clientX});let t=document?.getElementById("starsRating")?.getBoundingClientRect().left,a=document?.getElementById("starsRating")?.getBoundingClientRect().width;t&&a&&A((S.x-t)/a*_.length)},R=e=>{N(e),setTimeout(()=>{N("")},1e4)},F=async e=>{let{fail:t}=await (0,n.middlewarePostAPI)(m.config.onPrem.STAR_RATING_COUNT_UPDATE,{entity_id:g,value:e});x(e);let a={article_title:b,article_rating:e};(0,p.dataLayerPush)(f.EVENTS.RATE_CONTENT,a),t?R("error"):(R("success"),localStorage.removeItem(l))},B=async()=>{let e=Math.ceil(2*v)/2;j?.isLoggedIn?s||await F(e):(d(!0),I(e),localStorage.setItem(l,JSON.stringify(0===e?.5:e)))};return(0,t.jsxs)("div",{className:"starsRating-wrapper",children:[b&&(0,t.jsx)("h3",{className:"starsRating-title bold",children:b}),(0,t.jsx)("div",{className:P(),onMouseLeave:D,onMouseMove:M,onClick:B,id:"starsRating","data-testid":"starsRating",children:_.map((i,r)=>(0,t.jsx)(a.Star,{isDisabled:s||w,isFullFilled:L(r),isHalfFilled:O(r),primeColor:e?.primeColor},r))}),(0,t.jsxs)("div",{className:"starsRating-data",children:[y,"/",r.default.FIVE]}),!!T&&(0,t.jsx)(u,{notificationType:T,displayTxt:T})]})}},75842,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(45861),n=e.i(17626),s=e.i(5223),l=e.i(65218),o=e.i(14554);let c=e=>{let c,d,u,h,f,p,m=(0,a.c)(21),{taxonomies:g,heading:b,text:_,link:y,buttonIcon:x,linkExternal:v,buttonLabel:A,avgRating:w}=e,[,E]=(0,i.useState)(!1);m[0]!==g?(c=g&&g.length>0&&(0,t.jsx)(l.Taxonomy,{taxonomies:g}),m[0]=g,m[1]=c):c=m[1];let S=c;m[2]!==b||m[3]!==y?(d=b&&(0,t.jsx)("h3",{className:"article-teaser-content-heading bold",children:y?(0,t.jsx)(r.Anchor,{href:y,tabindex:0,noUnderline:!0,className:"inherit-fontsize",title:b,ariaLabel:b,children:b}):b}),m[2]=b,m[3]=y,m[4]=d):d=m[4];let C=d;m[5]!==_?(u=_&&(0,t.jsx)(s.RichText,{className:"article-teaser-content-content",content:_}),m[5]=_,m[6]=u):u=m[6];let T=u;m[7]!==x||m[8]!==A||m[9]!==b||m[10]!==y||m[11]!==v?(h=y&&A&&(0,t.jsx)("div",{className:"article-teaser-content-button",children:(0,t.jsx)(n.AnchorButton,{href:y,icon:x,isExternal:v,tabindex:1,isSecondary:!0,ariaLabel:b?`${A} ${b}`:"",children:A})}),m[7]=x,m[8]=A,m[9]=b,m[10]=y,m[11]=v,m[12]=h):h=m[12];let N=h;m[13]!==w?(f=null!=w&&(0,t.jsx)("div",{className:"article-teaser-content-star",children:(0,t.jsx)(o.default,{avgRating:w,setShowLoginPopUp:()=>E(!0),title:""})}),m[13]=w,m[14]=f):f=m[14];let k=f;return m[15]!==N||m[16]!==C||m[17]!==k||m[18]!==S||m[19]!==T?(p=(0,t.jsxs)("div",{className:"article-teaser-content",children:[S,C,T,N,k]}),m[15]=N,m[16]=C,m[17]=k,m[18]=S,m[19]=T,m[20]=p):p=m[20],p}},40364,e=>{"use strict";var t=e.i(76064);e.s(["ButtonDropDown",()=>t.default])},75699,e=>{"use strict";let t=e=>({featuredEventsTitle:e?.featured_events_title??"Featured Events",featuredEventsDescription:e?.featured_events_description??"View featured events",featuredStatusLabel:e?.featured_status_label??"Featured",registerEventButtonText:e?.register_event_button_text??"Register event",downloadButtonText:e?.download_button_text??"Download",readMoreButtonText:e?.read_more_button_text??"Read more",upcomingEventsTitle:e?.upcoming_events_title??"Upcoming Events",upcomingEventsDescription:e?.upcoming_events_description??"View upcoming events.",allFilterLabel:e?.all_filter_label??"All",clearAllFiltersLabel:e?.clear_all_filters_label??"Clear All Filters",yearFilterLabel:e?.year_filter_label??"Year",monthFilterLabel:e?.month_filter_label??"Month",eventTypeFilterLabel:e?.event_type_filter_label??"Event Type",audienceFilterLabel:e?.audie
2nce_filter_label??"Audience",locationFilterLabel:e?.location_filter_label??"Location",searchPlaceholderText:e?.search_placeholder_text??"Search...",upcomingStatusLabel:e?.upcoming_status_label??"Upcoming",showMoreButtonText:e?.show_more_button_text??"Show more",archivedEventsTitle:e?.archived_events_title??"Archived Events",archivedEventsDescription:e?.archived_events_description??"View archived events",startedStatusLabel:e?.started_status_label??"Started",pastStatusLabel:e?.past_status_label??"Archived",closedOnLabel:e?.closed_on_label??"Closed on",downloadsDropdownTitle:e?.downloads_dropdown_title??"Downloads",eventAgendaLabel:e?.event_agenda_label??"Event Agenda",presentationSlidesLabel:e?.presentation_slides_label??"Presentation Slides",speakerInformationLabel:e?.speaker_information_label??"Speaker Information",eventBrochureLabel:e?.event_brochure_label??"Event Brochure",noFeaturedEventsTitle:e?.no_featured_events_title??"No Featured Events Available",noFeaturedEventsMessage:e?.no_featured_events_message??"There are currently no events to display. Explore upcoming events to discover future opportunities.",noUpcomingEventsTitle:e?.no_upcoming_events_title??"No Upcoming Events Available",noUpcomingEventsMessage:e?.no_upcoming_events_message??"There are currently no events to display.",noPastEventsTitle:e?.no_past_events_title??"No Archived Events Available",noPastEventsMessage:e?.no_past_events_message??"There are currently no events to display. Explore Upcoming events to discover future opportunities.",browseUpcomingEventButtonText:e?.browse_upcoming_event_button_text??"Browse Upcoming event",january:e?.january_text??"January",february:e?.february_text??"February",march:e?.march_text??"March",april:e?.april_text??"April",may:e?.may_text??"May",june:e?.june_text??"June",july:e?.july_text??"July",august:e?.august_text??"August",september:e?.september_text??"September",october:e?.october_text??"October",november:e?.november_text??"November",december:e?.december_text??"December"}),a="/jsonapi/views/event_overview_list/upcoming_events",i="/jsonapi/views/event_overview_list/past_events",r="/solarapi/events/all-filters?type=",n="solarapi/events/label-config",s={FEATURED:"featured",UPCOMING:"upcoming",PAST:"past"};e.s(["API_GET_EVENT_FILTERS",0,r,"API_GET_EVENT_LABEL_CONFIG",0,n,"API_PAST_EVENTS",0,i,"API_UPCOMING_EVENTS",0,a,"EVENT_LISTING",0,s,"mapEventListingLabels",0,t])},68908,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(17626),n=e.i(40364),s=e.i(49266),l=e.i(5223),o=e.i(75699),c=e.i(15315);let d=e=>{let d,u,f,p,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P,L,O,D,M,R,F=(0,a.c)(78),{data:B,labelConfig:U,type:H}=e;if(F[0]!==B?.eventCardContent||F[1]!==B?.imageSrc||F[2]!==B?.imgAlt||F[3]!==U||F[4]!==H){let e,a,i,r,n,h,S,{lang:C}=(0,c.getApiDomainAndLang)();F[19]!==B?.eventCardContent?(e=B?.eventCardContent||{},F[19]=B?.eventCardContent,F[20]=e):e=F[20];let{locations:T,fromDate:N,endDate:k,heading:I,text:j,tags:P,primaryBtnTitle:L,primaryBtnUrl:O,downloadMenu:D,secondaryCTAs:M}=e;b=L,_=O,f=D,y=M,F[21]!==T?(a=void 0===T?[]:T,F[21]=T,F[22]=a):a=F[22],g=a,F[23]!==P?(i=void 0===P?[]:P,F[23]=P,F[24]=i):i=F[24];let R=i;u="featured"===H?H:"card";let $=U.featuredStatusLabel;H===o.EVENT_LISTING.UPCOMING?$=U.upcomingStatusLabel:H===o.EVENT_LISTING.PAST&&($=U.pastStatusLabel);let G=$,W=(e,t)=>{let a=new Date(e),i=new Date(t),r=a.toLocaleString(C,{month:"long"}),n=a.getDate(),s=a.getFullYear(),l=i.toLocaleString(C,{month:"long"}),o=i.getDate(),c=i.getFullYear(),d=s===c,u=d&&r===l;return n===o&&r===l&&s===c?`${r} ${n}, ${c}`:u?`${r} ${n} - ${o}, ${c}`:`${r} ${n}${!d?`, ${s}`:""} - ${l} ${o}, ${c}`};F[25]!==B?.imageSrc||F[26]!==B?.imgAlt?(r=B?.imageSrc&&(0,t.jsx)("div",{className:"event-image",children:(0,t.jsx)("img",{className:"event-listing-card-image",alt:B?.imgAlt,src:B?.imageSrc})}),F[25]=B?.imageSrc,F[26]=B?.imgAlt,F[27]=r):r=F[27],p=r,F[28]!==u||F[29]!==I||F[30]!==G?(n=I&&(0,t.jsxs)("div",{className:"event-listing-card-date-type",children:[(0,t.jsx)("span",{className:`${"card"===u?"event-listing-event-data event-listing-event-data-card":"event-listing-event-data"}`,children:G}),(0,t.jsx)("h3",{className:"event-listing-card-heading bold",children:I})]}),F[28]=u,F[29]=I,F[30]=G,F[31]=n):n=F[31],m=n,F[32]!==u||F[33]!==j?(h=j&&(0,t.jsx)(l.RichText,{className:"event-listing-card-content",characterLimit:170*("card"===u),content:j}),F[32]=u,F[33]=j,F[34]=h):h=F[34],E=h,F[35]!==u||F[36]!==R?(S=Array.isArray(R)&&R.length>0&&(0,t.jsx)("div",{className:"event-listing-tags",children:Array.isArray(R)&&R.length&&R.map((e,a)=>(0,t.jsx)("div",{className:`${"card"===u?"event-listing-card-demo-tag  event-listing-card-demo-tag-card":"event-listing-card-demo-tag"}`,children:e},`${e}-${a}`))}),F[35]=u,F[36]=R,F[37]=S):S=F[37],d=S,w="event-meta d-flex gap-4 event-listing-place-details",v="d-flex align-items-center gap-2",F[38]===Symbol.for("react.memo_cache_sentinel")?(A=(0,t.jsx)("span",{className:"event-listing-icon",children:(0,t.jsx)(s.Icon,{iconName:"
2calenderIcon"})}),F[38]=A):A=F[38],x=N&&W(N,k),F[0]=B?.eventCardContent,F[1]=B?.imageSrc,F[2]=B?.imgAlt,F[3]=U,F[4]=H,F[5]=d,F[6]=u,F[7]=f,F[8]=p,F[9]=m,F[10]=g,F[11]=b,F[12]=_,F[13]=y,F[14]=x,F[15]=v,F[16]=A,F[17]=w,F[18]=E}else d=F[5],u=F[6],f=F[7],p=F[8],m=F[9],g=F[10],b=F[11],_=F[12],y=F[13],x=F[14],v=F[15],A=F[16],w=F[17],E=F[18];F[39]!==x?(S=(0,t.jsx)("span",{children:x}),F[39]=x,F[40]=S):S=F[40],F[41]!==v||F[42]!==A||F[43]!==S?(C=(0,t.jsxs)("div",{className:v,children:[A,S]}),F[41]=v,F[42]=A,F[43]=S,F[44]=C):C=F[44],F[45]===Symbol.for("react.memo_cache_sentinel")?(T=(0,t.jsx)("div",{className:"event-listing-card-divider divider"}),F[45]=T):T=F[45],F[46]!==g?(N=Array.isArray(g)&&g.length?g.map((e,a)=>(0,t.jsx)(i.default.Fragment,{children:(0,t.jsxs)("div",{className:"d-flex align-items-center gap-2 ",children:[0===a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"event-listing-icon",children:(0,t.jsx)(s.Icon,{iconName:"mapIcon"})}),(0,t.jsx)("span",{children:e})]}):(0,t.jsx)("span",{className:"event-listing-location-text",children:e}),g.length>
2a+1&&(0,t.jsx)("div",{className:"event-listing-card-divider divider location-loop"})]})},`${e}-${a}`)):null,F[46]=g,F[47]=N):N=F[47],F[48]!==N?(k=(0,t.jsx)("div",{className:"d-flex align-items-center gap-2 event-listing-location-section",children:N}),F[48]=N,F[49]=k):k=F[49],F[50]!==w||F[51]!==C||F[52]!==k?(I=(0,t.jsxs)("div",{className:w,children:[C,T,k]}),F[50]=w,F[51]=C,F[52]=k,F[53]=I):I=F[53];let $=I;F[54]!==f||F[55]!==b||F[56]!==_||F[57]!==y?(j=b&&(0,t.jsxs)("div",{className:"event-listing-card-button",children:[b&&(0,t.jsx)(r.AnchorButton,{href:_,className:"anchor-cta-download event-custom-button",icon:(0,t.jsx)(s.Icon,{iconName:"ChevronRightIcon4"}),isExternal:!0,tabindex:1,isSecondary:!1,isIconRight:!0,ariaLabel:b?`${b}`:"",children:b}),f.length>0&&(0,t.jsx)(n.ButtonDropDown,{items:f,label:"Download",align:"right",className:"event-custom-button",icon:(0,t.jsx)(s.Icon,{iconName:"DownloadIcon"}),iconPosition:"left"}),y.length>0&&y.map(h)]}),F[54]=f,F[55]=b,F[56]=_,F[57]=y,F[58]=j):j=F[58];let G=j,W=`column col-12 col-md-12 ${"card"===u?"col-lg-4":"col-lg-5"} event-listing-image`;F[59]!==p||F[60]!==W?(P=(0,t.jsx)("div",{className:W,children:p}),F[59]=p,F[60]=W,F[61]=P):P=F[61];let Y=`column col-12 col-md-12  ${"card"===u?"event-listing-content-section-card col-lg-8":"event-listing-content-section col-lg-7"} `;return F[62]!==E?(L=(0,t.jsx)("div",{children:E}),F[62]=E,F[63]=L):L=F[63],F[64]!==G||F[65]!==$?(O=(0,t.jsxs)("div",{className:"d-flex flex-column g-2 event-listing-location-button",children:[$,G]}),F[64]=G,F[65]=$,F[66]=O):O=F[66],F[67]!==m||F[68]!==L||F[69]!==O?(D=(0,t.jsxs)("div",{className:"event-listing-inner-content",children:[m,L,O]}),F[67]=m,F[68]=L,F[69]=O,F[70]=D):D=F[70],F[71]!==d||F[72]!==Y||F[73]!==D?(M=(0,t.jsxs)("div",{className:Y,children:[d,D]}),F[71]=d,F[72]=Y,F[73]=D,F[74]=M):M=F[74],F[75]!==P||F[76]!==M?(R=(0,t.jsx)("div",{className:"event-listing-content",children:(0,t.jsxs)("div",{className:"row",children:[P,M]})}),F[75]=P,F[76]=M,F[77]=R):R=F[77],R},u=(0,i.memo)(d);function h(e,a){return(0,t.jsx)(r.AnchorButton,{href:e?.url,className:"anchor-cta-download event-custom-button",icon:(0,t.jsx)(s.Icon,{iconName:"ChevronRightIcon4"}),isExternal:!0,tabindex:a,isSecondary:!0,isIconRight:!0,target:e?.target,ariaLabel:e?.title?`${e?.title}`:"",children:e?.title},a)}},1884,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(79988);let n=e=>{let n,s,l,o,c,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I=(0,a.c)(59);I[0]!==e?({ariaLabel:n,type:g,label:o,disabled:s,placeholder:u,icon:l,required:p,setTextInput:f,onChange:d,value:b,name:c,useStateValue:m,...h}=e,I[0]=e,I[1]=n,I[2]=s,I[3]=l,I[4]=o,I[5]=c,I[6]=d,I[7]=u,I[8]=h,I[9]=f,I[10]=p,I[11]=m,I[12]=g,I[13]=b):(n=I[1],s=I[2],l=I[3],o=I[4],c=I[5],d=I[6],u=I[7],h=I[8],f=I[9],p=I[10],m=I[11],g=I[12],b=I[13]);let j=void 0!==p&&p,P=void 0===m||m,[L,O]=(0,i.useState)(!1),[D,M]=(0,i.useState)(b);I[14]!==e.className||I[15]!==e.secondary?(_=()=>{let t=[];return t.push("input"),e.secondary?t.push("secondary"):t.push("primary"),e.className&&t.push(e.className),t.join(" ")},I[14]=e.className,I[15]=e.secondary,I[16]=_):_=I[16];let R=_;I[17]!==L||I[18]!==g?(y=()=>"password"===g?L?"text":"password":g,I[17]=L,I[18]=g,I[19]=y):y=I[19];let F=y;I[20]!==d||I[21]!==f||I[22]!==g?(x=e=>{M(e.target.value),"function"==typeof d&&d(e),"function"==typeof f&&"filter"!==g&&f(e.target.value)},I[20]=d,I[21]=f,I[22]=g,I[23]=x):x=I[23];let B=x;I[24]!==L?(v=e=>{"Enter"===e.key&&O(!L)},I[24]=L,I[25]=v):v=I[25];let U=v,H=R();I[26]!==F?(A=F(),I[26]=F,I[27]=A):A=I[27];let $=P?D:b;I[28]!==n||I[29]!==s||I[30]!==c||I[31]!==B||I[32]!==u||I[33]!==j||I[34]!==h||I[35]!==H||I[36]!==A||I[37]!==$?(w=(0,t.jsx)("input",{...h,className:H,tabIndex:0,type:A,required:j,placeholder:u,name:c,value:$,disabled:s,onChange:B,autoComplete:"off","aria-labelledby":n}),I[28]=n,I[29]=s,I[30]=c,I[31]=B,I[32]=u,I[33]=j,I[34]=h,I[35]=H,I[36]=A,I[37]=$,I[38]=w):w=I[38];let G=w;I[39]!==U||I[40]!==L?(E=()=>(0,t.jsx)("span",{role:"switch","aria-checked":"false",tabIndex:1,onClick:()=>O(!L),onKeyDown:U,className:"input-withIcon",children:L?(0,t.jsx)(r.default,{iconName:"viewIcon"}):(0,t.jsx)(r.default,{iconName:"viewCloseIcon"})}),I[39]=U,I[40]=L,I[41]=E):E=I[41];let W=E;I[42]!==n||I[43]!==o||I[44]!==e.id||I[45]!==j?(S=()=>(0,t.jsxs)("label",{"aria-required":j,htmlFor:e?.id||o,className:"input-withLabel",id:n,children:[o,j&&" *"]}),I[42]=n,I[43]=o,I[44]=e.id,I[45]=j,I[46]=S):S=I[46];let Y=S;return I[47]!==o||I[48]!==Y?(C=o&&Y(),I[47]=o,I[48]=Y,I[49]=C):C=I[49],I[50]!==l||I[51]!==W?(T=l&&W(),I[50]=l,I[51]=W,I[52]=T):T=I[52],I[53]!==G||I[54]!==T?(N=(0,t.jsxs)("span",{className:"input-withIcon-group",children:[T,G]}),I[53]=G,I[54]=T,I[55]=N):N=I[55],I[56]!==C||I[57]!==N?(k=(0,t.jsxs)(t.Fragment,{children:[C,N]}),I[56]=C,I[57]=N,I[58]=k):k=I[58],k};e.s(["default",0,n])},28203,e=>{"use strict";var t=e.i(1884);e.s(["Input",()=>t.default])},97100,45376,92822,e=>{"use strict";e.s(["default",()=>D],97100);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(45861),n=e.i(38233),s=e.i(28203),l=t,o=a,c=i,d=e.i(91567),u=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];
2function h(){return(h=Object.assign.bind()).apply(this,arguments)}function f(e,t){if(null==e)return{};var a,i,r={},n=Object.keys(e);for(i=0;i<n.length;i++)a=n[i],t.indexOf(a)>=0||(r[a]=e[a]);return r}function p(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,g(e,t)}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var b=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(p(t)),t.handleErrored=t.handleErrored.bind(p(t)),t.handleChange=t.handleChange.bind(p(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(p(t)),t}m(t,e);var a=t.prototype;return a.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},a.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},a.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},a.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},a.executeAsync=function(){var e=this;return new Promise(function(t,a){e.executionResolve=t,e.executionReject=a,e.execute()})},a.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},a.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},a.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},a.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},a.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},a.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},a.componentDidMount=function(){this.explicitRender()},a.componentDidUpdate=function(){this.explicitRender()},a.handleRecaptchaRef=function(e){this.captcha=e},a.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,f(e,u));return c.createElement("div",h({},t,{ref:this.handleRecaptchaRef}))},t}(c.Component);b.displayName="ReCAPTCHA",b.propTypes={sitekey:d.default.string.isRequired,onChange:d.default.func,grecaptcha:d.default.object,theme:d.default.oneOf(["dark","light"]),type:d.default.oneOf(["image","audio"]),tabindex:d.default.number,onExpired:d.default.func,onErrored:d.default.func,size:d.default.oneOf(["compact","normal","invisible"]),stoken:d.default.string,hl:d.default.string,badge:d.default.oneOf(["bottomright","bottomleft","inline"]),isolated:d.default.bool},b.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var _=i,y=d,x=e.i(34980);function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e}).apply(this,arguments)}function A(e,t){if(null==e)return{};var a,i,r={},n=Object.keys(e);for(i=0;i<n.length;i++)a=n[i],t.indexOf(a)>=0||(r[a]=e[a]);return r}function w(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var E={},S=0,C="onloadcallback";function T(){return"u">typeof window&&window.recaptchaOptions||{}}let N=(function(e,t){return t=t||{},function(a){var i=a.displayName||a.name||"Component",r=function(i){function r(e,t){var a;return(a=i.call(this,e,t)||this).state={},a.__scriptURL="",a}w(r,i);var n=r.prototype;return n.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+S++),this.__scriptLoaderID},n.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},n.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},n.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=E[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var a in e.observers)e.observers[a](e);delete window[t.callbackName]},n.componentDidMount=function(){var e=this,a=this.setupScriptURL(),i=this.asyncScriptLoaderGetScriptLoaderID(),r=t,n=r.globalName,s=r.callbackName,l=r.scriptId;if(n&&void 0!==window[n]&&(E[a]={loaded:!0,observers:{}}),E[a]){var o=E[a];return o&&(o.loaded||o.errored)?void this.asyncScriptLoaderHandleLoad(o):void(o.observers[i]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[i]=function(t){return e.asyncScriptLoaderHandleLoad(t)},E[a]={loaded:!1,observers:c};var d=document.createElement("script");for(var u in d.src=a,d.async=!0,t.attributes)d.setAttribute(u,t.attributes[u]);l&&(d.id=l);var h=function(e){if(E[a]){var t=E[a].observers;for(var i in t)e(t[i])&&delete t[i]}};s&&"u">typeof window&&(window[s]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),d.onload=function(){var e=E[a];e&&(e.loaded=!0,h(function(t){return!s&&(t(e),!0)}))},d.onerror=function(){var e=E[a];e&&(e.errored=!0,h(function(t){return t(e),!0}))},document.body.appendChild(d)},n.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var a=document.getElementsByTagName("script"),i=0;i<a.length;i+=1)a[i].src.indexOf(e)>-1&&a[i].parentNode&&a[i].parentNode.removeChild(a[i]);var r=E[e];r&&(delete r.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete E[e])},n.render=function(){var e=t.globalName,i=this.props,r=(i.asyncScriptOnLoad,i.forwardedRef),n=A(i,["asyncScriptOnLoad","forwardedRef"]);return e&&"u">typeof window&&(n[e]=void 0!==window[e]?window[e]:void 0),n.ref=r,(0,_.createElement)(a,n)},r}(_.Component),n=(0,_.forwardRef)(function(e,t){return(0,_.createElement)(r,v({},e,{forwardedRef:t}))});
2return n.displayName="AsyncScriptLoader("+i+")",n.propTypes={asyncScriptOnLoad:y.default.func},(0,x.default)(n,a)}})(function(){var e=T(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+C+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+C+"&render=explicit"},{callbackName:C,globalName:"grecaptcha",attributes:T().nonce?{nonce:T().nonce}:{}})(b),k=e=>{let t,a=(0,o.c)(2);return a[0]!==e?(t=(0,l.jsx)(N,{...e}),a[0]=e,a[1]=t):t=a[1],t};e.s(["default",0,k],45376),e.s(["Recaptcha",0,k],92822);var I=e.i(5223),j=e.i(41764),P=e.i(82054),L=e.i(15464);let O=e=>{let l,o,c,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E,S,C,T,N=(0,a.c)(83),[O,D]=(0,i.useState)(null),[F,B]=(0,i.useState)(!1),[U,H]=(0,i.useState)(!1),{fields:$,instruction:G,submitButton:W,cancelButton:Y,forgotPassword:z,registerLink:V,title:K,recaptchaSiteKey:q,onSubmit:Q,onCancel:Z,onForgotPassword:X,noValidate:J,wrongCredentialsText:ee,deactivatedUserMessage:et,showCredentialsError:ea,showDeactivatedUserMsg:ei,isInvalidEmail:er,isInvalidPassword:en,onChange:es,inputs:el,isPaywallForm:eo,formType:ec}=e,[ed,eu]=(0,i.useState)(Object),eh=(0,i.useContext)(P.default);N[0]!==eh?.applicationConfiguration?.siteConfig?.doccheck_base_domain||N[1]!==eh?.applicationConfiguration?.siteConfig?.doccheck_login_id||N[2]!==ec?(l=()=>{ec===j.LOGIN_TYPES.DOC_CHECK&&eu({DOCCHECK_LOGINID:eh?.applicationConfiguration?.siteConfig?.doccheck_login_id,DOCCHECK_LOGINFORMURL:`https://${eh?.applicationConfiguration?.siteConfig?.doccheck_base_domain}`})},N[0]=eh?.applicationConfiguration?.siteConfig?.doccheck_base_domain,N[1]=eh?.applicationConfiguration?.siteConfig?.doccheck_login_id,N[2]=ec,N[3]=l):l=N[3],N[4]!==ec?(o=[ec],N[4]=ec,N[5]=o):o=N[5],(0,i.useEffect)(l,o),N[6]!==ec||N[7]!==eo?(c=()=>{let e=document.getElementById(eo?`paywall_login_form_${ec?.toLowerCase()}`:`login_form_${ec?.toLowerCase()}`);e&&(Array.from(e?.elements).map(M).every(R)?H(!0):H(!1))},N[6]=ec,N[7]=eo,N[8]=c):c=N[8];let ef=c;N[9]!==U||N[10]!==q||N[11]!==O?(d=()=>q?U&&O?B(!0):B(!1):U?B(!0):B(!1),N[9]=U,N[10]=q,N[11]=O,N[12]=d):d=N[12],N[13]!==F||N[14]!==U||N[15]!==O?(u=[O,U,F],N[13]=F,N[14]=U,N[15]=O,N[16]=u):u=N[16],(0,i.useEffect)(d,u);let ep=ec===j.LOGIN_TYPES.DOC_CHECK?"post":void 0,em=ec===j.LOGIN_TYPES.DOC_CHECK?ed.DOCCHECK_LOGINFORMURL:"";return N[17]!==ec||N[18]!==eo?(h=eo?`paywall_login_form_${ec?.toLowerCase()}`:`login_form_${ec?.toLowerCase()}`,N[17]=ec,N[18]=eo,N[19]=h):h=N[19],N[20]!==ec||N[21]!==eo?(f=eo?`paywall_login_form_${ec?.toLowerCase()}`:`login_form_${ec?.toLowerCase()}`,N[20]=ec,N[21]=eo,N[22]=f):f=N[22],N[23]!==Q?(p=e=>Q?.(e),N[23]=Q,N[24]=p):p=N[24],N[25]!==K?(m=K&&(0,t.jsx)(I.RichText,{className:"authform-title",content:K}),N[25]=K,N[26]=m):m=N[26],N[27]!==$||N[28]!==ec||N[29]!==el?.label||N[30]!==er||N[31]!==en||N[32]!==es||N[33]!==ef?(g=$&&$.map((e,a)=>(0,t.jsxs)("div",{className:"authform-field",children:[(0,t.jsx)(s.Input,{className:"authform-field-input",id:e.type,type:e.type,disabled:e.disabled,required:e.required,label:e.label,placeholder:e.placeholder,icon:e.icon,name:e?.name||e.label,value:el?.label,onChange:es,onKeyUp:ef,"data-testid":"authform-field-input"}),e.helpText&&er&&"email"===e.type&&(0,t.jsx)("p",{className:"authform-helpText",dangerouslySetInnerHTML:{__html:(0,L.DOMSanitizer)(e.helpText)}}),e.helpText&&en&&"password"===e.type&&(0,t.jsx)("p",{className:"authform-helpText",children:e.helpText})]},a+(ec??""))),N[27]=$,N[28]=ec,N[29]=el?.label,N[30]=er,N[31]=en,N[32]=es,N[33]=ef,N[34]=g):g=N[34],N[35]!==z||N[36]!==ec||N[37]!==eo||N[38]!==X?(b=ec!==j.LOGIN_TYPES.DOC_CHECK&&!eo&&z&&(0,t.jsx)("div",{className:"",children:(0,t.jsx)("div",{role:"dialog",className:"authform-forgotPassword",children:(0,t.jsx)(r.Anchor,{href:"#",onClick:()=>X(z?.url),noUnderline:!z.underline,tabindex:0,children:z.text})})}),N[35]=z,N[36]=ec,N[37]=eo,N[38]=X,N[39]=b):b=N[39],N[40]!==z||N[41]!==ec||N[42]!==V?(_=ec===j.LOGIN_TYPES.DOC_CHECK&&(z||V)&&(0,t.jsxs)("div",{role:"dialog",className:"authform-forgotPassword",children:[z&&(0,t.jsx)("span",{className:"authform-forgotPassword-anchor1",children:(0,t.jsx)(r.Anchor,{href:z?.url,isExternal:!0,noUnderline:!z.underline,tabindex:0,children:z.text})}),(0,t.jsx)("span",{children:"|"}),V&&(0,t.jsx)("span",{className:"authform-forgotPassword-anchor2",children:(0,t.jsx)(r.Anchor,{isExternal:!0,href:V?.url,noUnderline:!V.underline,tabindex:0,children:V.text})})]}),N[40]=z,N[41]=ec,N[42]=V,N[43]=_):_=N[43],N[44]!==G?(y=G&&(0,t.jsx)("h4",{className:"authform-instruction",children:G}),N[44]=G,N[45]=y):y=N[45],N[46]!==q?(x=q&&(0,t.jsx)("div",{className:"authform-recaptcha",children:(0,t.jsx)(k,{sitekey:q,onChange:e=>D(e)})}),N[46]=q,N[47]=x):x=N[47],N[48]!==ea||N[49]!==ee?(v=ea&&ee&&(0,t.jsx)(I.RichText,{content:ee,className:"authform-wrongCredentials"}),N[48]=ea,N[49]=ee,N[50]=v):v=N[50],N[51]!==et||N[52]!==ei?(A=ei&&et&&(0,t.jsx)(I.RichText,{content:et,className:"authform-deactivatedUser"}),N[51]=et,N[52]=ei,N[53]=A):A=N[53],N[54]!==Y||N[55]!==Z?(w=Y&&(0,t.jsx)(n.Button,{className:"authform-cancel",onClick:Z,isSecondary:!0,type:"button",tabindex:1,children:Y.text}),N[54]=Y,N[55]=Z,N[56]=w):w=N[56],N[57]!==F||N[58]!==W?(E=W&&(0,t.jsx)(n.Button,{type:"submit",tabindex:2,isDisabled:!F,children:W.text}),N[57]=F,N[58]=W,N[59]=E):E=N[59],N[60]!==w||N[61]!==E?(S=(0,t.jsxs)("div",{className:"authform-submit",children:[w,E]}),N[60]=w,N[61]=E,N[62]=S):S=N[62],N[63]!==ed?.DOCCHECK_LOGINID||N[64]!==ec?(C=ec===j.LOGIN_TYPES.DOC_CHECK&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"hidden",name:"login_id",value:ed?.DOCCHECK_LOGINID}),(0,t.jsx)("input",{type:"hidden",name:"redirect_uri",value:window.location.href})]}),N[63]=ed?.DOCCHECK_LOGINID,N[64]=ec,N[65]=C):C=N[65],N[66]!==J||N[67]!==m||N[68]!==g||N[69]!==b||N[70]!==_||N[71]!==y||N[72]!==x||N[73]!==v||N[74]!==A||N[75]!==S||N[76]!==C||N[77]!==ep||N[78]!==em||N[79]!==h||N[80]!==f||N[81]!==p?(T=(0,t.jsxs)("form",{method:ep,action:em,id:h,name:f,noValidate:J,className:"authform",onSubmit:p,children:[m,g,b,_,y,x,v,A,S,C]}),N[66]=J,N[67]=m,N[68]=g,N[69]=b,N[70]=_,N[71]=y,N[72]=x,N[73]=v,N[74]=A,N[75]=S,N[76]=C,N[77]=ep,N[78]=em,N[79]=h,N[80]=f,N[81]=p,N[82]=T):T=N[82],T},D=(0,i.memo)(O);function M(e){let t=e;return!t.required||t.validity.valid}function R(e){return e}},9283,e=>{"use strict";e.s(["default",()=>d],9283);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(22276),n=e.i(82054);e.i(48756);var s=e.i(88095),s=s,l=e.i(38233),o=e.i(82108),c=e.i(10828);let d=e=>{let d,h,f,p,m=(0,a.c)(17),{profile:g,isLoggedIn:b}=(0,r.useSelector)(u),{applicationConfiguration:_}=(0,i.useContext)(n.default);m[0]!==g?.response?.bookmark?(d=g?.response?.bookmark??[],m[0]=g?.response?.bookmark,m[1]=d):d=m[1];let y=d;if(m[2]!==y||m[3]!==e.id){let t;m[5]!==e.id?(t=t=>parseInt(t.node_id)===Number(e.id),m[5]=e.id,m[6]=t):t=m[6],h=y.filter(t),m[2]=y,m[3]=e.id,m[4]=h}else h=m[4];let x=h.length>0,[v,A]=(0,i.useState)(x),w=x?e.removeText:e.addText;m[7]!==v||m[8]!==e?(f=()=>{let{title:t}=document;if(v){A(!1);let a={article_title:t,bookmark_action:"remove"};(0,o.dataLayerPush)(c.EVENTS.BOOKMARK_ITEM,a),e.bookmarkCallback({type:"bookmark",isChecked:!0})}else{A(!0);let a={article_title:t,bookmark_action:"add"};(0,o.dataLayerPush)(c.EVENTS.BOOKMARK_ITEM,a),e.bookmarkCallback({type:"bookmark",isChecked:!1}
2)}},m[7]=v,m[8]=e,m[9]=f):f=m[9];let E=f;if(_&&Object.keys(_)?.length&&!_?.isBookmarkEnabled||!b&&_?.isBookmarkEnabled&&!_?.siteConfig?.bookmark_anonymous){let e;return m[10]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),m[10]=e):e=m[10],e}return m[11]!==E||m[12]!==x||m[13]!==e.buttonGroupBackgroundColor||m[14]!==e.isButton||m[15]!==w?(p=(0,t.jsx)(t.Fragment,{children:e.isButton?(0,t.jsx)(l.Button,{tabindex:0,icon:(0,t.jsx)(s.default,{bookmarkStatus:x}),isSecondary:!0,onClick:E,buttonGroupBackgroundColor:e?.buttonGroupBackgroundColor,children:w}):(0,t.jsx)("div",{className:"bookmark-icon",onClick:E,children:(0,t.jsx)(s.default,{bookmarkStatus:x})})}),m[11]=E,m[12]=x,m[13]=e.buttonGroupBackgroundColor,m[14]=e.isButton,m[15]=w,m[16]=p):p=m[16],p};function u(e){return e?.user}},18090,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n=(0,a.c)(6);n[0]!==e.buttonGroupAlignment||n[1]!==e.className?(i=()=>{let t=[];return t.push("btn-group"),"center"===e.buttonGroupAlignment?t.push("cta-btn-center"):"left"===e.buttonGroupAlignment?t.push("cta-btn-left"):"right"===e.buttonGroupAlignment?t.push("cta-btn-right"):"full"===e.buttonGroupAlignment?t.push("cta-btn-full"):"equal"===e.buttonGroupAlignment?t.push("cta-btn-equal"):"evenly"===e.buttonGroupAlignment&&t.push("cta-btn-evenly"),e?.className&&t.push(e?.className),t.join(" ")},n[0]=e.buttonGroupAlignment,n[1]=e.className,n[2]=i):i=n[2];let s=i(),l=e?.children;return n[3]!==s||n[4]!==l?(r=(0,t.jsx)("div",{className:s,role:"group",children:l}),n[3]=s,n[4]=l,n[5]=r):r=n[5],r};e.s(["default",0,i])},22748,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n,s=(0,a.c)(8),l=`icon-with-label ${e.cardAlignment} ${e?.className}`;return s[0]!==e.icon?(i=e.icon&&(0,t.jsx)("span",{className:"icon-with-label-icon",children:e.icon}),s[0]=e.icon,s[1]=i):i=s[1],s[2]!==e.children?(r=e.children&&(0,t.jsx)("span",{className:"icon-with-label-text",children:e.children}),s[2]=e.children,s[3]=r):r=s[3],s[4]!==l||s[5]!==i||s[6]!==r?(n=(0,t.jsxs)("div",{className:l,children:[i,r]}),s[4]=l,s[5]=i,s[6]=r,s[7]=n):n=s[7],n};e.s(["default",0,i])},39540,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(49266),r=e.i(22748);let n=e=>{let n,s,l,o,c=(0,a.c)(10);return c[0]!==e.contentType?(n=e?.contentType?.toLowerCase()==="podcast"&&(0,t.jsx)(r.default,{icon:(0,t.jsx)(i.Icon,{iconName:"PodcastIcon"}),children:e?.contentType}),c[0]=e.contentType,c[1]=n):n=c[1],c[2]!==e.contentType?(s=e?.contentType?.toLowerCase()==="article"&&(0,t.jsx)(r.default,{icon:(0,t.jsx)(i.Icon,{iconName:"ResearchIcon"}),children:e?.contentType}),c[2]=e.contentType,c[3]=s):s=c[3],c[4]!==e.contentType?(l=e?.contentType?.toLowerCase()==="research"&&(0,t.jsx)(r.default,{icon:(0,t.jsx)(i.Icon,{iconName:"ResearchIcon"}),children:e?.contentType}),c[4]=e.contentType,c[5]=l):l=c[5],c[6]!==n||c[7]!==s||c[8]!==l?(o=(0,t.jsxs)("div",{className:"education-card-content-podcast",children:[n,s,l]}),c[6]=n,c[7]=s,c[8]=l,c[9]=o):o=c[9],o}},21672,e=>{"use strict";var t=e.i(22740);let a=e=>n({type:t.ADD_RATINGS,ratings:e}),i=e=>n({type:t.RESET_RATINGS,ratings:e}),r=e=>n({type:t.RATINGS_COUNT,liveCount:e}),n=e=>t=>{t(e)};e.s(["addRatings",0,a,"getRatingsCount",0,r,"resetRatings",0,i])},93931,e=>{"use strict";e.s(["default",()=>b]);var t=e.i(91398),a=e.i(61576),i=e.i(22276),r=e.i(91788),n=e.i(21672);e.i(48756);var s=e.i(17626),l=e.i(17419),o=e.i(49266),c=e.i(5223),d=e.i(66196),u=e.i(65218);e.i(41871);var h=e.i(87612),f=e.i(9283),p=e.i(82054),m=e.i(99523),g=e.i(15315);let b=e=>{let b,_,y,x,v,A,w,E,S=(0,a.c)(52),{nodeId:C,bookMarkData:T}=e,N=(0,h.useMediaQuery)("(max-width: 767px)"),k=(0,i.useDispatch)();S[0]!==k?(b=e=>k((0,n.addRatings)(e)),S[0]=k,S[1]=b):b=S[1];let I=b,{applicationConfiguration:j}=(0,r.useContext)(p.default);if(S[2]!==j?.siteConfig?.date_format||S[3]!==T||S[4]!==N||S[5]!==C||S[6]!==e.date||S[7]!==e.heading||S[8]!==e.taxonomies||S[9]!==I){let a,i,r,n,s,o,{lang:h}=(0,g.getApiDomainAndLang)();S[14]!==C||S[15]!==I?(a=e=>{C&&I({id:C,state:e})},S[14]=C,S[15]=I,S[16]=a):a=S[16];let p=a;_="defaultCardContent",S[17]!==e.taxonomies?(i=e.taxonomies&&(0,t.jsx)("div",{className:"defaultCardContent-taxonomy",children:(0,t.jsx)(u.Taxonomy,{taxonomies:e.taxonomies,className:"detail-block--taxonomy"})}),S[17]=e.taxonomies,S[18]=i):i=S[18],S[19]!==T||S[20]!==p||S[21]!==N||S[22]!==C?(r=N&&(0,t.jsx)("div",{className:"defaultCardContent-bookmark mobile-only",children:T&&(0,t.jsx)(f.default,{id:C,bookmarkStatus:T.bookmarkStatus,isButton:!1,addText:"",removeText:"",bookmarkCallback:p})}),S[19]=T,S[20]=p,S[21]=N,S[22]=C,S[23]=r):r=S[23],S[24]!==i||S[25]!==r?(n=(0,t.jsx)(l.Column,{desktop:6,tablet:6,mobile:12,children:(0,t.jsxs)(t.Fragment,{children:[i,r]})}),S[24]=i,S[25]=r,S[26]=n):n=S[26],S[27]!==T||S[28]!==p||S[29]!==N||S[30]!==C?(s=!N&&(0,t.jsx)(l.Column,{desktop:6,tablet:6,mobile:6,children:(0,t.jsx)("div",{className:"defaultCardContent-bookmark",children:T&&(0,t.jsx)(f.default,{id:C,bookmarkStatus:T.bookmarkStatus,isButton:!1,addText:"",removeText:"",bookmarkCallback:p})})}),S[27]=T,S[28]=p,S[29]=N,S[30]=C,S[31]=s):s=S[31],S[32]!==s?(o=(0,t.jsx)(t.Fragment,{children:s}),S[32]=s,S[33]=o):o=S[33],S[34]!==o||S[35]!==n?(y=(0,t.jsxs)(d.Row,{children:[n,o]}),S[34]=o,S[35]=n,S[36]=y):y=S[36],S[37]!==e.heading?(x=e.heading&&(0,t.jsx)("div",{className:"head-label",children:(0,t.jsx)(c.RichText,{className:"title",content:e.heading})}),S[37]=e.heading,S[38]=x):x=S[38],v=e.date&&(0,t.jsx)("h3",{className:"date",children:(0,m.default)(e.date,!0).locale(h).format(j?.siteConfig?.date_format)}),S[2]=j?.siteConfig?.date_format,S[3]=T,S[4]=N,S[5]=C,S[6]=e.date,S[7]=e.heading,S[8]=e.taxonomies,S[9]=I,S[10]=_,S[11]=y,S[12]=x,S[13]=v}else _=S[10],y=S[11],x=S[12],v=S[13];return S[39]!==e.content?(A=e.content&&(0,t.jsx)(c.RichText,{className:"content",content:e.content,characterLimit:500}),S[39]=e.content,S[40]=A):A=S[40],S[41]!==e.buttonLabel||S[42]!==e.buttonUrl||S[43]!==e.isButtonUrlExter
2nal?(w=e.buttonUrl&&(0,t.jsx)(s.AnchorButton,{isExternal:e.isButtonUrlExternal??!1,href:e.buttonUrl,tabindex:1,isSecondary:!0,icon:(0,t.jsx)(o.Icon,{iconName:"DownloadIcon"}),children:e.buttonLabel}),S[41]=e.buttonLabel,S[42]=e.buttonUrl,S[43]=e.isButtonUrlExternal,S[44]=w):w=S[44],S[45]!==_||S[46]!==y||S[47]!==x||S[48]!==v||S[49]!==A||S[50]!==w?(E=(0,t.jsxs)("div",{className:_,children:[y,x,v,A,w]}),S[45]=_,S[46]=y,S[47]=x,S[48]=v,S[49]=A,S[50]=w,S[51]=E):E=S[51],E}},161,e=>{"use strict";var t=e.i(88801);e.s(["FavoriteIcon",()=>t.default])},23216,e=>{"use strict";let t={TAXONOMY:35,RATINGS:4,TITLE:70,TITLEMAXLINE:2,DESCRIPTION:200,PRODUCTDESCRIPTION:255,DESCMAXLINE:4,DATELOCTIME:20,LOCATION:25,TIME:25,PRODSTRENGTH:30,PRODSTRENGTHMAXLINE:2,PACKSIZE:30,PACKSIZEMAXLINE:2,NDCNUMBER:25,NDCNUMBERMAXLINE:1,CTA:50,SUBTITLE:15,CERTIFICATEDESC:140,SESSION:12};e.s(["default",0,t])},49708,e=>{"use strict";e.s(["default",()=>y]);var t=e.i(91398),a=e.i(22276),i=e.i(91788),r=e.i(21672);e.i(48756);var n=e.i(45861),s=e.i(17626),l=e.i(17419),o=e.i(161),c=e.i(49266),d=e.i(5223),u=e.i(66196),h=e.i(65218),f=e.i(23216),p=e.i(34848),m=e.i(22748),g=e.i(9283),b=e.i(39540),_=e.i(82054);let y=({id:e,taxonomies:y,bookmark:x,heading:v,text:A,contentType:w,time:E,buttonUrl:S,buttonUrlExternal:C,buttonLabel:T})=>{let[N,k]=(0,i.useState)(!1),I=(0,a.useDispatch)(),j=(0,i.useCallback)(e=>I((0,r.addRatings)(e)),[I]),P=(0,i.useContext)(_.default),L=t=>{j({id:e,state:t})},O=0,D=(0,a.useSelector)(e=>e?.ratings?.liveCount?.favourite),M=(0,a.useSelector)(e=>e?.user?.profile?.response?.favourite),R=D?.filter(t=>parseInt(t.node_id)===e);O=R?.length>0?R?.[0]?.count:0,(0,i.useMemo)(()=>{for(let t in M)parseInt(M[t].node_id)===e&&k(!0)},[M]);let F=t=>{j({id:e,state:t})};return(0,t.jsxs)("div",{className:"education-card-content",children:[(0,t.jsxs)(u.Row,{children:[(0,t.jsx)(l.Column,{desktop:8,tablet:8,mobile:8,className:"education-card-content-taxonomy",children:y&&(0,t.jsx)(h.Taxonomy,{taxonomies:y,limitChar:16})}),(0,t.jsxs)(l.Column,{desktop:4,tablet:4,mobile:4,className:"education-card-content-icon-container",children:[x&&(0,t.jsx)("div",{className:"education-card-content-icon",children:(0,t.jsx)(g.default,{id:e,...x,bookmarkCallback:L})}),(0,t.jsx)("div",{className:"education-card-content-icon",children:(0,t.jsx)("div",{className:"education-card-content-favorite-section",children:(0,t.jsx)("span",{children:P?.applicationConfiguration?.isFavouriteEnabled&&(0,t.jsx)(o.FavoriteIcon,{favouriteStatus:N,id:e,totalFavoriteCount:O,favoriteHandlerCallback:F})})})})]})]}),S?(0,t.jsx)(n.Anchor,{href:S,tabindex:0,noUnderline:!0,isExternal:C,children:(0,t.jsx)("h4",{className:"education-card-content-header bold",children:(0,p.trimText)(v,f.default.TITLE)})}):(0,t.jsx)("h4",{className:"education-card-content-header bold",children:(0,p.trimText)(v,f.default.TITLE)}),(0,t.jsx)(d.RichText,{className:"education-card-content-text",content:A,characterLimit:f.default.DESCRIPTION}),(0,t.jsxs)("div",{children:[w&&(0,t.jsx)(b.default,{contentType:w}),(0,t.jsx)("div",{className:"education-card-content-time-section",children:E&&(0,t.jsx)(m.default,{icon:(0,t.jsx)(c.Icon,{iconName:"TimeIcon"}),children:(0,t.jsx)("span",{children:E})})})]}),(0,t.jsx)("div",{className:"education-card-content-button",children:S&&(0,t.jsx)(s.AnchorButton,{href:S,isExternal:C,tabindex:2,isSecondary:!0,children:T})})]})}},81753,41282,e=>{"use strict";let t={REGISTER:"register",REGISTERED:"registered",INVITED:"invited",NO_ACCESS:"no_access"};e.s(["default",0,t],81753);var a=e.i(10828),i=e.i(82108);let r=(e,t)=>{let r={link_text:t||e||null,navigation_level_1:e,navigation_level_2:t,navigation_level_3:null,navigation_level_4:null};(0,i.dataLayerPush)(a.EVENTS.NAVIGATION_FOOTER,r)},n=(e,t,r,n)=>{let s={link_text:n||r||t||e||null,navigation_level_1:e||null,navigation_level_2:t||null,navigation_level_3:r||null,navigation_level_4:n||null};(0,i.dataLayerPush)(a.EVENTS.NAVIGATION_MENU,s)},s=e=>{let t=e,r={link_text:t||null,navigation_level_1:"logo"===e?"/":t,navigation_level_2:null,navigation_level_3:null,navigation_level_4:null};(0,i.dataLayerPush)(a.EVENTS.NAVIGATION_HEADER,r)},l=(e,t)=>
2{let r={error_type:e,page_referrer:window.location.href,form_type:t};(0,i.dataLayerPush)(a.EVENTS.ERROR,r)},o=(e,t)=>{let r=`SCROLL_${e}`,n={...t,eventType:a.EVENTS.SCROLL,scrollDepth:`${e}%`};(0,i.dataLayerPush)(a.EVENTS[r],n)};e.s(["handleDataLayerError",0,l,"handleDataLayerNavigationFooter",0,r,"handleDataLayerNavigationHeader",0,s,"handleDataLayerNavigationMenu",0,n,"handleDataLayerScrollDepth",0,o],41282)},81524,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=u;var i="none",r="contents",n=/^(input|select|textarea|button|object|iframe)$/;function s(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}function l(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var a=window.getComputedStyle(e),n=a.getPropertyValue("display");return t?n!==r&&s(e,a):n===i}catch(e){return console.warn("Failed to inspect element style"),!1}}function o(e){for(var t=e,a=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(a&&t===a&&(t=a.host.parentNode),l(t))return!1;t=t.parentNode}return!0}
2function c(e,t){var a=e.nodeName.toLowerCase();return(n.test(a)&&!e.disabled||"a"===a&&e.href||t)&&o(e)}function d(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var a=isNaN(t);return(a||t>=0)&&c(e,!a)}function u(e){return[].slice.call(e.querySelectorAll("*"),0).reduce(function(e,t){return e.concat(t.shadowRoot?u(t.shadowRoot):[t])},[]).filter(d)}t.exports=a.default},72195,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.resetState=o,a.log=c,a.handleBlur=d,a.handleFocus=u,a.markForFocusLater=h,a.returnFocus=f,a.popWithoutFocus=p,a.setupScopedFocus=m,a.teardownScopedFocus=g;var i=r(e.r(81524));function r(e){return e&&e.__esModule?e:{default:e}}var n=[],s=null,l=!1;function o(){n=[]}function c(){}function d(){l=!0}function u(){l&&(l=!1,s&&setTimeout(function(){if(!s.contains(document.activeElement)){var e=(0,i.default)(s)[0]||s;e.focus()}},0))}function h(){n.push(document.activeElement)}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{0!==n.length&&(t=n.pop()).focus({preventScroll:e});return}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function p(){n.length>0&&n.pop()}function m(e){s=e,window.addEventListener?(window.addEventListener("blur",d,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",d),document.attachEvent("onFocus",u))}function g(){s=null,window.addEventListener?(window.removeEventListener("blur",d),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",d),document.detachEvent("onFocus",u))}},53579,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=s;var i=r(e.r(81524));function r(e){return e&&e.__esModule?e:{default:e}}function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?n(e.activeElement.shadowRoot):e.activeElement}function s(e,t){var a=(0,i.default)(e);if(!a.length)return void t.preventDefault();var r=void 0,s=t.shiftKey,l=a[0],o=a[a.length-1],c=n();if(e===c){if(!s)return;r=o}if(o!==c||s||(r=l),l===c&&s&&(r=o),r){t.preventDefault(),r.focus();return}var d=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=d&&"Chrome"!=d[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var u=a.indexOf(c);if(u>-1&&(u+=s?-1:1),r=a[u],void 0===r){t.preventDefault(),(r=s?o:l).focus();return}t.preventDefault(),r.focus()}}t.exports=a.default},40137,(e,t,a)=>{"use strict";t.exports=function(){}},54416,(e,t,a)=>{!function(){"use strict";var a=!!("u">typeof window&&window.document&&window.document.createElement),i={canUseDOM:a,canUseWorkers:"u">typeof Worker,canUseEventListeners:a&&!!(window.addEventListener||window.attachEvent),canUseViewport:a&&!!window.screen};if("function"==typeof define&&"object"==typeof define.amd&&define.amd){let t;e.r,void 0!==(t=i)&&e.v(t)}else t.exports?t.exports=i:window.ExecutionEnvironment=i}()},73835,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.canUseDOM=a.SafeNodeList=a.SafeHTMLCollection=void 0;var i=function(e){return e&&e.__esModule?e:{default:e}}(e.r(54416)).default,r=i.canUseDOM?window.HTMLElement:{};a.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},a.SafeNodeList=i.canUseDOM?window.NodeList:{},a.canUseDOM=i.canUseDOM,a.default=r},55142,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.resetState=l,a.log=o,a.assertNodeList=c,a.setElement=d,a.validateElement=u,a.hide=h,a.show=f,a.documentNotReadyOrSSRTesting=p;var i=n(e.r(40137)),r=e.r(73835);function n(e){return e&&e.__esModule?e:{default:e}}var s=null;function l(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(s).forEach(function(e){return e.removeAttribute("aria-hidden")})),s=null}function o(){}function c(e,t){if(!e||!e.length)throw Error("react-modal: No elements were found for selector "+t+".")}function d(e){var t=e;if("string"==typeof t&&r.canUseDOM){var a=document.querySelectorAll(t);c(a,t),t=a}return s=t||s}function u(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,i.default)(!1,"react-modal: App element is not defined. Please use `Modal.setAppElement(el)` or set `appElement={el}`. This is needed so screen readers don't see main content when modal is opened. It is not recommended, but you can opt-out by setting `ariaHideApp={false}`."),[])}function h(e){var t=!0,a=!1,i=void 0;try{for(var r,n=u(e)[Symbol.iterator]();!(t=(r=n.next()).done);t=!0)r.value.setAttribute("aria-hidden","true")}catch(e){a=!0,i=e}finally{try{!t&&n.return&&n.return()}finally{if(a)throw i}}}function f(e){var t=!0,a=!1,i=void 0;try{for(var r,n=u(e)[Symbol.iterator]();!(t=(r=n.next()).done);t=!0)r.value.removeAttribute("aria-hidden")}catch(e){a=!0,i=e}finally{try{!t&&n.return&&n.return()}finally{if(a)throw i}}}function p(){s=null}},32732,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.resetState=s,a.log=l;var i={},r={};function n(e,t){e.classList.remove(t)}function s(){var e=document.getElementsByTagName("html")[0];
2for(var t in i)n(e,i[t]);var a=document.body;for(var s in r)n(a,r[s]);i={},r={}}function l(){}var o=function(e,t){return e[t]||(e[t]=0),e[t]+=1,t},c=function(e,t){return e[t]&&(e[t]-=1),t},d=function(e,t,a){a.forEach(function(a){o(t,a),e.add(a)})},u=function(e,t,a){a.forEach(function(a){c(t,a),0===t[a]&&e.remove(a)})};a.add=function(e,t){return d(e.classList,"html"==e.nodeName.toLowerCase()?i:r,t.split(" "))},a.remove=function(e,t){return u(e.classList,"html"==e.nodeName.toLowerCase()?i:r,t.split(" "))}},21809,(e,t,a)=>{"use strict";function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0}),a.log=s,a.resetState=l;var r=function e(){var t=this;i(this,e),this.register=function(e){-1!==t.openInstances.indexOf(e)||(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var a=t.openInstances.indexOf(e);-1===a||(t.openInstances.splice(a,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(a){return a(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},n=new r;function s(){console.log("portalOpenInstances ----------"),console.log(n.openInstances.length),n.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function l(){n=new r}a.default=n},87997,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.resetState=o,a.log=c;var i=r(e.r(21809));function r(e){return e&&e.__esModule?e:{default:e}}var n=void 0,s=void 0,l=[];function o(){for(var e=[n,s],t=0;t<e.length;t++){var a=e[t];a&&a.parentNode&&a.parentNode.removeChild(a)}n=s=null,l=[]}function c(){console.log("bodyTrap ----------"),console.log(l.length);for(var e=[n,s],t=0;t<e.length;t++){var a=e[t]||{};console.log(a.nodeName,a.className,a.id)}console.log("edn bodyTrap ----------")}function d(){0===l.length||l[l.length-1].focusContent()}function u(e,t){n||s||((n=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),n.style.position="absolute",n.style.opacity="0",n.setAttribute("tabindex","0"),n.addEventListener("focus",d),(s=n.cloneNode()).addEventListener("focus",d)),(l=t).length>0?(document.body.firstChild!==n&&document.body.insertBefore(n,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(n.parentElement&&n.parentElement.removeChild(n),s.parentElement&&s.parentElement.removeChild(s))}i.default.subscribe(u)},67213,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}(),s=e.r(91788),l=g(e.r(91567)),o=m(e.r(72195)),c=g(e.r(53579)),d=m(e.r(55142)),u=m(e.r(32732)),h=e.r(73835),f=g(h),p=g(e.r(21809));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function _(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function y(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}e.r(87997);var x={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=function(e){return"Tab"===e.code||9===e.keyCode}
vendor: 6,236 bytes, line 2
2,A=function(e){return"Escape"===e.code||27===e.keyCode},w=0,E=function(e){function t(e){b(this,t);var a=_(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.setOverlayRef=function(e){a.overlay=e,a.props.overlayRef&&a.props.overlayRef(e)},a.setContentRef=function(e){a.content=e,a.props.contentRef&&a.props.contentRef(e)},a.afterClose=function(){var e=a.props,t=e.appElement,i=e.ariaHideApp,r=e.htmlOpenClassName,n=e.bodyOpenClassName,s=e.parentSelector,l=s&&s().ownerDocument||document;n&&u.remove(l.body,n),r&&u.remove(l.getElementsByTagName("html")[0],r),i&&w>0&&0==(w-=1)&&d.show(t),a.props.shouldFocusAfterRender&&(a.props.shouldReturnFocusAfterClose?(o.returnFocus(a.props.preventScroll),o.teardownScopedFocus()):o.popWithoutFocus()),a.props.onAfterClose&&a.props.onAfterClose(),p.default.deregister(a)},a.open=function(){a.beforeOpen(),a.state.afterOpen&&a.state.beforeClose?(clearTimeout(a.closeTimer),a.setState({beforeClose:!1})):(a.props.shouldFocusAfterRender&&(o.setupScopedFocus(a.node),o.markForFocusLater()),a.setState({isOpen:!0},function(){a.openAnimationFrame=requestAnimationFrame(function(){a.setState({afterOpen:!0}),a.props.isOpen&&a.props.onAfterOpen&&a.props.onAfterOpen({overlayEl:a.overlay,contentEl:a.content})})}))},a.close=function(){a.props.closeTimeoutMS>0?a.closeWithTimeout():a.closeWithoutTimeout()},a.focusContent=function(){return a.content&&!a.contentHasFocus()&&a.content.focus({preventScroll:!0})},a.closeWithTimeout=function(){var e=Date.now()+a.props.closeTimeoutMS;a.setState({beforeClose:!0,closesAt:e},function(){a.closeTimer=setTimeout(a.closeWithoutTimeout,a.state.closesAt-Date.now())})},a.closeWithoutTimeout=function(){a.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},a.afterClose)},a.handleKeyDown=function(e){v(e)&&(0,c.default)(a.content,e),a.props.shouldCloseOnEsc&&A(e)&&(e.stopPropagation(),a.requestClose(e))},a.handleOverlayOnClick=function(e){null===a.shouldClose&&(a.shouldClose=!0),a.shouldClose&&a.props.shouldCloseOnOverlayClick&&(a.ownerHandlesClose()?a.requestClose(e):a.focusContent()),a.shouldClose=null},a.handleContentOnMouseUp=function(){a.shouldClose=!1},a.handleOverlayOnMouseDown=function(e){a.props.shouldCloseOnOverlayClick||e.target!=a.overlay||e.preventDefault()},a.handleContentOnClick=function(){a.shouldClose=!1},a.handleContentOnMouseDown=function(){a.shouldClose=!1},a.requestClose=function(e){return a.ownerHandlesClose()&&a.props.onRequestClose(e)},a.ownerHandlesClose=function(){return a.props.onRequestClose},a.shouldBeClosed=function(){return!a.state.isOpen&&!a.state.beforeClose},a.contentHasFocus=function(){return document.activeElement===a.content||a.content.contains(document.activeElement)},a.buildClassName=function(e,t){var i=(void 0===t?"undefined":r(t))==="object"?t:{base:x[e],afterOpen:x[e]+"--after-open",beforeClose:x[e]+"--before-close"},n=i.base;return a.state.afterOpen&&(n=n+" "+i.afterOpen),a.state.beforeClose&&(n=n+" "+i.beforeClose),"string"==typeof t&&t?n+" "+t:n},a.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(a,i){return a[e+"-"+i]=t[i],a},{})},a.state={afterOpen:!1,beforeClose:!1},a.shouldClose=null,a.moveFromContentToOverlay=null,a}return y(t,e),n(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,a=e.ariaHideApp,i=e.htmlOpenClassName,r=e.bodyOpenClassName,n=e.parentSelector,s=n&&n().ownerDocument||document;r&&u.add(s.body,r),i&&u.add(s.getElementsByTagName("html")[0],i),a&&(w+=1,d.hide(t)),p.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,a=e.className,r=e.overlayClassName,n=e.defaultStyles,s=e.children,l=a?{}:n.content,o=r?{}:n.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:i({},o,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},d=i({id:t,ref:this.setContentRef,style:i({},l,this.props.style.content),className:this.buildClassName("content",a),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",i({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),u=this.props.contentElement(d,s);return this.props.overlayElement(c,u)}}]),t}(s.Component);E.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},E.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),parentSelector:l.default.func,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.oneOfType([l.default.instanceOf(f.default),l.default.instanceOf(h.SafeHTMLCollection),l.default.instanceOf(h.SafeNodeList),l.default.arrayOf(l.default.instanceOf(f.default))]),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func,testId:l.default.string}
2,a.default=E,t.exports=a.default},13453,e=>{"use strict";function t(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function a(e){function t(t){var a=this.constructor.getDerivedStateFromProps(e,t);return null!=a?a:null}this.setState(t.bind(this))}function i(e,t){try{var a=this.props,i=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(a,i)}finally{this.props=a,this.state=i}}function r(e){var r=e.prototype;if(!r||!r.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof r.getSnapshotBeforeUpdate)return e;var n=null,s=null,l=null;if("function"==typeof r.componentWillMount?n="componentWillMount":"function"==typeof r.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof r.componentWillReceiveProps?s="componentWillReceiveProps":"function"==typeof r.UNSAFE_componentWillReceiveProps&&(s="UNSAFE_componentWillReceiveProps"),"function"==typeof r.componentWillUpdate?l="componentWillUpdate":"function"==typeof r.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==s||null!==l)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==s?"\n  "+s:"")+(null!==l?"\n  "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(r.componentWillMount=t,r.componentWillReceiveProps=a),"function"==typeof r.getSnapshotBeforeUpdate){if("function"!=typeof r.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");r.componentWillUpdate=i;var o=r.componentDidUpdate;r.componentDidUpdate=function(e,t,a){var i=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:a;o.call(this,e,t,i)}}return e}t.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,e.s(["polyfill",0,r])},92623,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.bodyOpenClassName=a.portalClassName=void 0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},r=function(){function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,a,i){return a&&e(t.prototype,a),i&&e(t,i),t}}(),n=e.r(91788),s=m(n),l=m(e.r(30943)),o=m(e.r(91567)),c=m(e.r(67213)),d=p(e.r(55142)),u=e.r(73835),h=m(u),f=e.r(13453);function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function _(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=a.portalClassName="ReactModalPortal",x=a.bodyOpenClassName="ReactModal__Body--open",v=u.canUseDOM&&void 0!==l.default.createPortal,A=function(e){return document.createElement(e)},w=function(){return v?l.default.createPortal:l.default.unstable_renderSubtreeIntoContainer};function E(e){return e()}var S=function(e){function t(){g(this,t);for(var e,a,r,n=arguments.length,o=Array(n),d=0;d<n;d++)o[d]=arguments[d];return a=r=b(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.removePortal=function(){v||l.default.unmountComponentAtNode(r.node);var e=E(r.props.parentSelector);e&&e.contains(r.node)?e.removeChild(r.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(e){var a=w()(r,s.default.createElement(c.default,i({defaultStyles:t.defaultStyles},e)),r.node);r.portalRef(a)},b(r,a)}
2return _(t,e),r(t,[{key:"componentDidMount",value:function(){if(u.canUseDOM){v||(this.node=A("div")),this.node.className=this.props.portalClassName;var e=E(this.props.parentSelector);e.appendChild(this.node),v||this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:E(e.parentSelector),nextParent:E(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,a){if(u.canUseDOM){var i=this.props,r=i.isOpen,n=i.portalClassName;e.portalClassName!==n&&(this.node.className=n);var s=a.prevParent,l=a.nextParent;l!==s&&(s.removeChild(this.node),l.appendChild(this.node)),(e.isOpen||r)&&(v||this.renderPortal(this.props))}}},{key:"componentWillUnmount",value:function(){if(u.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),a=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);a?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,a-t)):this.removePortal()}}},{key:"render",value:function(){return u.canUseDOM&&v?(!this.node&&v&&(this.node=A("div")),w()(s.default.createElement(c.default,i({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){d.setElement(e)}}]),t}(n.Component);S.propTypes={isOpen:o.default.bool.isRequired,style:o.default.shape({content:o.default.object,overlay:o.default.object}),portalClassName:o.default.string,bodyOpenClassName:o.default.string,htmlOpenClassName:o.default.string,className:o.default.oneOfType([o.default.string,o.default.shape({base:o.default.string.isRequired,afterOpen:o.default.string.isRequired,beforeClose:o.default.string.isRequired})]),overlayClassName:o.default.oneOfType([o.default.string,o.default.shape({base:o.default.string.isRequired,afterOpen:o.default.string.isRequired,beforeClose:o.default.string.isRequired})]),appElement:o.default.oneOfType([o.default.instanceOf(h.default),o.default.instanceOf(u.SafeHTMLCollection),o.default.instanceOf(u.SafeNodeList),o.default.arrayOf(o.default.instanceOf(h.default))]),onAfterOpen:o.default.func,onRequestClose:o.default.func,closeTimeoutMS:o.default.number,ariaHideApp:o.default.bool,shouldFocusAfterRender:o.default.bool,shouldCloseOnOverlayClick:o.default.bool,shouldReturnFocusAfterClose:o.default.bool,preventScroll:o.default.bool,parentSelector:o.default.func,aria:o.default.object,data:o.default.object,role:o.default.string,contentLabel:o.default.string,shouldCloseOnEsc:o.default.bool,overlayRef:o.default.func,contentRef:o.default.func,id:o.default.string,overlayElement:o.default.func,contentElement:o.default.func},S.defaultProps={isOpen:!1,portalClassName:y,bodyOpenClassName:x,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return s.default.createElement("div",e,t)},contentElement:function(e,t){return s.default.createElement("div",e,t)}},S.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,f.polyfill)(S),a.default=S},70267,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){return e&&e.__esModule?e:{default:e}}(e.r(92623)).default,t.exports=a.default},55779,76988,39449,51023,e=>{"use strict";e.s(["AuthForm",()=>t.default],55779);var t=e.i(97100);e.s(["Notification",()=>a.default],76988);var a=e.i(40352);e.s(["Popup",()=>c],51023),e.s(["default",()=>c],39449);var i=e.i(91398),r=e.i(61576),n=e.i(70267),s=e.i(91788),l=e.i(55164);e.i(48756);var o=e.i(49266);let c=e=>{let t,a,c,d,u,h,f=(0,r.c)(20),{showPopup:p,spinnerIcon:m,headerText:g,children:b,handlePopupShow:_,showOverlay:y,className:x}=e,{pageTheme:v}=(0,s.useContext)(l.ApplicationThemeContext);f[0]!==m?(t=()=>(0,i.jsx)("div",{className:"popup-spinner-overlay",children:(0,i.jsx)("div",{className:"popup-spinner-icon",children:(0,i.jsx)("img",{src:m,alt:""})})}),f[0]=m,f[1]=t):t=f[1];let A=t;f[2]!==_?(a=e=>{"Enter"===e.key&&_?.(!1,e)},f[2]=_,f[3]=a):a=f[3];let w=a;f[4]!==b||f[5]!==x||f[6]!==w||f[7]!==_||f[8]!==g||f[9]!==v||f[10]!==p?(c=()=>(0,i.jsxs)(n.default,{isOpen:p,shouldCloseOnOverlayClick:!0,contentLabel:"Authentication popup",className:`popup ${g&&"popup-content-gap"} ${x||""}`,overlayClassName:"popup-overlay",ariaHideApp:!1,children:[(0,i.jsxs)("div",{className:`popup-header ${g&&"popup-header-titleEnabled"}`,"data-theme-color":v,children:[(0,i.jsx)("h4",{className:"popup-header-text",children:g}),(0,i.jsx)("div",{className:"popup-close-button",role:"button",tabIndex:0,onClick:e=>
2_?.(!1,e),onKeyDown:w,children:(0,i.jsx)(o.Icon,{iconName:"closeIcon3",className:"popup-close-button-img",width:16,height:16})})]}),(0,i.jsx)("div",{"data-theme-color":v,children:b})]}),f[4]=b,f[5]=x,f[6]=w,f[7]=_,f[8]=g,f[9]=v,f[10]=p,f[11]=c):c=f[11];let E=c;return f[12]!==A||f[13]!==y?(d=y&&A(),f[12]=A,f[13]=y,f[14]=d):d=f[14],f[15]!==E?(u=E(),f[15]=E,f[16]=u):u=f[16],f[17]!==d||f[18]!==u?(h=(0,i.jsxs)(i.Fragment,{children:[d,u]}),f[17]=d,f[18]=u,f[19]=h):h=f[19],h}},13380,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n=(0,a.c)(4);n[0]!==e.className?(i=()=>{let t=[];return e.className&&t.push(e.className),t.join(" ")},n[0]=e.className,n[1]=i):i=n[1];let s=i();return n[2]!==s?(r=(0,t.jsx)("hr",{className:s}),n[2]=s,n[3]=r):r=n[3],r};e.s(["default",0,i])},55439,e=>{"use strict";var t=e.i(13380);e.s(["Seperator",()=>t.default])},71820,66796,e=>{"use strict";var t=e.i(91398),a=e.i(61576);e.i(41871);var i=e.i(87612),r=e.i(79988);let n=e=>{let n,s,l,o,c,d,u,h=(0,a.c)(31),{isNFHAllListingTabs:f}=e;h[0]!==e.className?(n=()=>{let t=[];return t.push("nav-item"),e.className&&t.push(e.className),t.join(" ")},h[0]=e.className,h[1]=n):n=h[1];let p=n;h[2]!==e.active||h[3]!==e.className||h[4]!==e.greyColor||h[5]!==e.tabDesign?(s=()=>{let t=[];return t.push("nav-link"),e.active&&t.push("active"),e.greyColor&&t.push("grey-color"),"wide"===e.tabDesign&&t.push("wide"),e.className&&t.push(e.className),t.join(" ")},h[2]=e.active,h[3]=e.className,h[4]=e.greyColor,h[5]=e.tabDesign,h[6]=s):s=h[6];let m=s;h[7]!==e.active?(l=()=>{let t=[];return t.push("toggle-tab"),e.active&&t.push("active"),t.join(" ")},h[7]=e.active,h[8]=l):l=h[8];let g=l,b=(0,i.useMediaQuery)("(max-width: 767px)"),_=p(),y=e?.referrerId,x=e?.onKeyDown,v=e?.isToggleTab?g():m(),A=`${e.itemID}-tab`,w=e.role||"tab",E=e["aria-selected"]||e.active?"true":"false",S=e["aria-controls"]||"",C=e.tabIndex||0;return h[9]!==b||h[10]!==f||h[11]!==e.active?(o=e.active&&b&&f&&(0,t.jsx)(r.default,{iconName:"CheckmarkIcon2",className:"header-icon",color:"#000"}),h[9]=b,h[10]=f,h[11]=e.active,h[12]=o):o=h[12],h[13]!==e.children||h[14]!==o?(c=(0,t.jsxs)("h5",{className:"tabhead-item",children:[e.children,o]}),h[13]=e.children,h[14]=o,h[15]=c):c=h[15],h[16]!==e.tabDesign||h[17]!==S||h[18]!==C||h[19]!==c||h[20]!==v||h[21]!==A||h[22]!==w||h[23]!==E?(d=(0,t.jsx)("span",{className:v,id:A,"data-bs-toggle":e.tabDesign,role:w,"aria-selected":E,"aria-controls":S,tabIndex:C,children:c}),h[16]=e.tabDesign,h[17]=S,h[18]=C,h[19]=c,h[20]=v,h[21]=A,h[22]=w,h[23]=E,h[24]=d):d=h[24],h[25]!==e.onClick||h[26]!==d||h[27]!==_||h[28]!==y||h[29]!==x?(u=(0,t.jsx)("li",{className:_,id:y,onClick:e.onClick,onKeyDown:x,role:"none",children:d}),h[25]=e.onClick,h[26]=d,h[27]=_,h[28]=y,h[29]=x,h[30]=u):u=h[30],u};e.s(["default",0,n],66796),e.s(["TabItem",0,n],71820)},10033,25675,e=>{"use strict";e.s(["default",()=>l],10033);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(38233),n=e.i(49266);let s={GRID_VIEW:"grid",LIST_VIEW:"list",GRID_CONFIGURATOR_TEXT:"Grid view"};e.s(["default",0,s],25675);let l=e=>{let l,o,c,u,h,f,p,m,g,b,_,y,x=(0,a.c)(46),{label:v,onSaveIdHandler:A,view:w,handleSort:E,isMobileDisplay:S,hideViewTypeCTA:C,hideSortCTA:T,setOrderSortValue:N,defaultSort:k,isOrderByVisible:I,labelKeyValuePair:j,sortProductsText:P}=e,L=void 0===C||C,O=void 0===T||T,D=void 0!==I&&I,[M,R]=(0,i.useState)(!1),[F,B]=(0,i.useState)(""),[U,H]=(0,i.useState)(k??"ASC"),$=!S&&!L,G=v?.old_to_new_text,W=v?.new_to_old_text;x[0]!==G||x[1]!==W?(l=[G,W],x[0]=G,x[1]=W,x[2]=l):l=x[2];let Y=l;x[3]!==v?.default_sort?(o=()=>{B(v?.default_sort)},x[3]=v?.default_sort,x[4]=o):o=x[4],x[5]===Symbol.for("react.memo_cache_sentinel")?(c=[],x[5]=c):c=x[5],(0,i.useEffect)(o,c),x[6]!==E||x[7]!==M?(u=e=>{let{target:t}=e,{value:a}=t;B(a),R(!M),E?.(a)},x[6]=E,x[7]=M,x[8]=u):u=x[8];let z=u;x[9]!==N||x[10]!==U?(h=()=>{let e="ASC"===U?"DESC":"ASC";H(e),N&&N(e)},x[9]=N,x[10]=U,x[11]=h):h=x[11];let V=h,[K,q]=(0,i.useState)(!1);x[12]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{q(!0)},x[12]=f):f=x[12];let Q=f;x[13]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{q(!1)},x[13]=p):p=x[13];let Z=p;x[14]!==j?(m=(j??[]).reduce(d,{}),x[14]=j,x[15]=m):m=x[15];let X=m,J=X?.sort_tooltip_text,ee=X?.list_tooltip_text,et=X?.grid_tooltip_text;return x[16]!==et||x[17]!==v?.grid_view_text||x[18]!==v?.list_view_text||x[19]!==ee||x[20]!==A||x[21]!==K||x[22]!==$||x[23]!==w?(g=$&&(0,t.jsx)("div",{className:"sort-button--toggle",onMouseEnter:Q,onMouseLeave:Z,children:(0,t.jsx)(r.Button,{className:`btn-style ${!v?.list_view_text&&w===s.GRID_VIEW||!v?.grid_view_text&&w!==s.GRID_VIEW?"no-label":""}`,tabindex:1,isSecondary:!0,onClick:()=>A?.(),icon:w===s.GRID_VIEW?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Icon,{iconName:"ListView"})," ",!v?.list_view_text&&ee&&K&&(0,t.jsx)("div",{className:"tooltip",children:ee})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Icon,{iconName:"GridView"})," ",!v?.grid_view_text&&et&&K&&(0,t.jsx)("div",{className:"tooltip",children:et})]}),children:w===s.GRID_VIEW?v?.list_view_text:v?.grid_view_text})}),x[16]=et,x[17]=v?.grid_view_text,x[18]=v?.list_view_text,x[19]=ee,x[20]=A,x[21]=K,x[22]=$,x[23]=w,x[24]=g):g=x[24],x[25]!==z||x[26]!==O||x[27]!==M||x[28]!==v?.sort_cta_text||x[29]!==Y||x[30]!==K||x[31]!==J||x[32]!==F?(b=!O&&(0,t.jsxs)("div",{className:"dropdown",children:[(0,t.jsx)("div",{className:"sort-button--toggle",onMouseEnter:Q,onMouseLeave:Z,children:(0,t.jsx)(r.Button,{tabindex:2,onClick:()=>R(!M),isSecondary:!0,icon:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Icon,{iconName:"Sort"})," ",!v?.sort_cta_text&&J&&K&&(0,t.jsx)("div",{className:"tooltip",children:J})]}),className:`btn-style ${!v?.sort_cta_text?"no-label":""}`,children:v?.sort_cta_text})}),M&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"dropdown-content",children:Y.map(e=>(0,t.jsxs)("button",{type:"button",className:"list-group-item",value:e,onClick:z,children:[(0,t.jsx)("span",{className:e===F?"checkMark":"noCheckMark",children:e===F?(0,t.jsx)(n.Icon,{iconName:"CheckMark"}):""}),(0,t.jsx)("span",{children:e})]},e))}),(0,t.jsx)("div",{className:"dropdown-background",onClick:()=>R(!1)})]})]}),x[25]=z,x[26]=O,x[27]=M,x[28]=v?.sort_cta_text,x[29]=Y,x[30]=K,x[31]=J,x[32]=F,x[33]=b):b=x[33],x[34]!==V||x[35]!==D||x[36]!==K||x[37]!==$||x[38]!==J||x[39]!==P||x[40]!==U?(_=($||D)&&(0,t.jsx)("div",{className:"sort-button--toggle",onMouseEnter:Q,onMouseLeave:Z,children:(0,t.jsx)(r.Button,{ariaLabel:P??"",className:"sort-btn-style",tabindex:1,isSecondary:!0,onClick:()=>V(),icon:"ASC"===U?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Icon,{iconName:"AtoZSort"})," ",J&&K&&(0,t.jsx)("div",{className:"tooltip",children:J})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Icon,{iconName:"ZtoASort"}),J&&K&&(0,t.jsx)("div",{className:"tooltip",children:J})]})})}),x[34]=V,x[35]=D,x[36]=K,x[37]=$,x[38]=J,x[39]=P,x[40]=U,x[41]=_):_=x[41],x[42]!==g||x[43]!==b||x[44]!==_?(y=(0,t.jsxs)("div",{className:"modal-buttons-group",children:[g,b,_]}),x[42]=g,x[43]=b,x[44]=_,x[45]=y):y=x[45],y};function o(e){return"string"==typeof e&&e.endsWith("_tooltip_text")}function c(e){return"string"==typeof e&&!e.endsWith("_tooltip_text")}function d(e,t){let a=Object.values(t).find(o),i=Object.values(t).find(c);return a&&i?{...e,[a]:i}:e}},62532,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(49266),n=e.i(5223),s=e.i(55439),l=e.i(71820),o=e.i(10033),c=e.i(75425);e.i(41871);var d=e.i(87612);let u=e=>{let u,f,p,m,g,b,_,y,x,v,A,w,E,S=(0,a.c)(40),{tabContents:C,options:T,activeItem:N,tabHeadItems:k,trigger:I,handlePagination:j,tabHeadClassName:P,tabContentClassName:L,tabWithDropdown:O,tabHeadID:D,ariaLabel:M,tabContentID:R,name:F,isMobileDisplay:B,label:U,view:H,hideViewTypeCTA:$,hideSortCTA:G,onSaveIdHandler:W,handleSort:Y,selectedTabCallBack:z,labelKeyValuePair:V,setActiveTab:K,setTabChangeEvent:q,isProfileTab:Q,defaultActiveTabId:Z}=e;S[0]!==C?(u=void 0===C?[]:C,S[0]=C,S[1]=u):u=S[1];let X=u;S[2]!==T?(f=void 0===T?[]:T,S[2]=T,S[3]=f):f=S[3];let J=f,ee=void 0!==Q&&Q,[et,ea]=(0,i.useState)(N?.num||c.default.ZERO);S[4]!==P?(p=()=>
2["nav",P].filter(Boolean).join(" "),S[4]=P,S[5]=p):p=S[5];let ei=p;S[6]!==L?(m=()=>["tab-content",L].filter(Boolean).join(" "),S[6]=L,S[7]=m):m=S[7];let er=m;S[8]!==K?(g=e=>{let t=parseInt(e.target[e.target.selectedIndex].getAttribute("data-index"),10);ea(t),K?.(t)},S[8]=K,S[9]=g):g=S[9];let en=g,es=(e,t)=>{j&&j(0),ey(e),ea(e),q&&q(e),z&&z(t),K?.(e)};S[10]!==et||S[11]!==K||S[12]!==I?(b=()=>{I&&(ea(0),K?.(et))},S[10]=et,S[11]=K,S[12]=I,S[13]=b):b=S[13],S[14]!==I?(_=[I],S[14]=I,S[15]=_):_=S[15],(0,i.useEffect)(b,_),S[16]!==N||S[17]!==et||S[18]!==K?(y=()=>{N?.num&&(ea(N.num),K?.(et))},S[16]=N,S[17]=et,S[18]=K,S[19]=y):y=S[19],S[20]!==N?(x=[N],S[20]=N,S[21]=x):x=S[21],(0,i.useEffect)(y,x),S[22]!==Y||S[23]!==G||S[24]!==$||S[25]!==B||S[26]!==U||S[27]!==V||S[28]!==W||S[29]!==H?(v={isMobileDisplay:B,label:U,view:H,hideViewTypeCTA:$,hideSortCTA:G,onSaveIdHandler:W,handleSort:Y,labelKeyValuePair:V},S[22]=Y,S[23]=G,S[24]=$,S[25]=B,S[26]=U,S[27]=V,S[28]=W,S[29]=H,S[30]=v):v=S[30];let el=v,eo=e=>{let t=ed.current;if(!t)return;let a=t.querySelectorAll('[role="tab"]')[e];if(!a)return;let i=t.getBoundingClientRect(),r=a.getBoundingClientRect(),n=a.offsetWidth;return r.right>i.right-n?(t.scrollTo({left:t.scrollLeft+(r.right-(i.right-n)),behavior:"smooth"}),!0):r.left<i.left+n&&(t.scrollTo({left:t.scrollLeft-(i.left+n-r.left),behavior:"smooth"}),!0)},ec=(e,t,a)=>{let i=k.length-1,r=t;switch(e.key){case"ArrowRight":e.preventDefault(),r=t===i?0:t+1;break;case"ArrowLeft":e.preventDefault(),r=0===t?i:t-1;break;case"Home":e.preventDefault(),r=0;break;case"End":e.preventDefault(),r=i;break;case"Enter":case" ":e.preventDefault(),es(t,a);return;default:return}if(eo(r))setTimeout(()=>{ea(r);let e=ed.current?.querySelectorAll('[role="tab"]');e?.[r]?.focus()},300);else{ea(r);let e=ed.current?.querySelectorAll('[role="tab"]');e?.[r]?.focus()}},ed=(0,i.useRef)(null),eu=(0,d.useMediaQuery)("(max-width: 767px)"),eh=(0,d.useMediaQuery)("(min-width: 768px) and (max-width: 1024px)"),ef=eu?100:eh?200:300,[ep,em]=(0,i.useState)(!1),[eg,eb]=(0,i.useState)(!1),e_=()=>{let e=ed.current;if(!e)return;let t=e.scrollWidth>e.clientWidth;em(t&&e.scrollLeft>0),eb(t&&e.scrollLeft+e.clientWidth<e.scrollWidth-2)},ey=e=>{let t=ed.current;if(!t)return;let a=t?.querySelectorAll('[role="tab"]'),i=a?.[e];if(!i)return;let r=t.scrollWidth-t.clientWidth,n=t.getBoundingClientRect(),s=i.getBoundingClientRect(),l=s.right>=n.right-100,o=s.left<=n.left+100;l&&t.scrollTo({left:Math.min(t.scrollLeft+ef,r),behavior:"smooth"}),o&&t.scrollTo({left:Math.max(t.scrollLeft-ef,0),behavior:"smooth"})},ex=e=>{let t=ed.current;if(t){let a="left"===e?t.scrollLeft-ef:t.scrollLeft+ef;t.scrollTo({left:a,behavior:"smooth"}),e_()}};return S[31]!==k?(A=[k],S[31]=k,S[32]=A):A=S[32],(0,i.useEffect)(()=>(requestAnimationFrame(()=>{e_()}),window.addEventListener("resize",e_),()=>{window.removeEventListener("resize",e_)}),A),S[33]!==Z||S[34]!==K||S[35]!==k?(w=()=>{if(Z&&k?.length){let e=k.findIndex(e=>e.itemID===Z);e>=0&&(ea(e),K?.(e))}},S[33]=Z,S[34]=K,S[35]=k,S[36]=w):w=S[36],S[37]!==Z||S[38]!==k?(E=[Z,k],S[37]=Z,S[38]=k,S[39]=E):E=S[39],(0,i.useEffect)(w,E),O?(0,t.jsxs)("div",{className:"tab-container tab-wDropdown",children:[(0,t.jsx)("ul",{className:ei(),id:D,role:"tablist",children:k?.map((e,a)=>(0,t.jsx)(l.TabItem,{itemID:e.itemID,active:et===a,onClick:()=>es(a),onKeyDown:t=>ec(t,a,e.id),greyColor:!0,children:`${e.children}`},a))}),(0,t.jsx)("div",{className:"language-dropdown-container",children:(0,t.jsx)("select",{className:"form-select language-dropdown",onChange:en,"aria-label":M,name:F,children:J?.map(h)})}),(0,t.jsx)(s.Seperator,{className:"hr mob-seperator"}),(0,t.jsx)("div",{className:er(),id:R,children:X?.map((e,a)=>(0,t.jsx)("div",{className:`tab-pane fade ${et===a?"show active":""}`,role:"tabpanel",children:(0,t.jsx)("div",{className:"language",children:e})},a))})]}):(0,t.jsxs)("div",{className:"tab-container",children:[(0,t.jsxs)("div",{className:"list",children:[ee&&ep&&(0,t.jsxs)("div",{className:"scroll-button-container",id:D,children:[(0,t.jsx)("div",{className:"scroll-bg scroll-bg-left"}),(0,t.jsx)("button",{className:"btn btn-icon btn-icon-left",onClick:()=>{ex("left")}
2,type:"button","aria-label":"Scroll left",tabIndex:-1,children:(0,t.jsx)(r.Icon,{iconName:"ChevronLefttIcon"})})]}),(0,t.jsxs)("ul",{className:ei(),id:D,role:"tablist","aria-orientation":"horizontal",ref:ed,onScroll:()=>e_(),children:[k?.map((e,a)=>e?.itemID?(0,t.jsx)(l.TabItem,{role:"tab",id:`tab-${e.itemID}`,"aria-selected":et===a,"aria-controls":`panel-${e.itemID}`,tabIndex:et===a?0:-1,itemID:e.itemID,active:et===a,onClick:()=>es(a,e.id),tabDesign:e.tabDesign,className:"no-breaking-words",greyColor:!0,onKeyDown:t=>ec(t,a,e.id),children:(0,t.jsx)(n.RichText,{content:`${e.children}`})},a):(0,t.jsx)(t.Fragment,{})),!B&&(0,t.jsx)("li",{className:"view-sort-btn-group",children:(0,t.jsx)(o.default,{...el})})]}),ee&&eg&&(0,t.jsxs)("div",{className:"scroll-button-container",id:D,children:[(0,t.jsx)("div",{className:"scroll-bg"}),(0,t.jsx)("button",{className:"btn btn-icon",onClick:()=>{ex("right")},type:"button","aria-label":"Scroll right",tabIndex:-1,children:(0,t.jsx)(r.Icon,{iconName:"ChevronRightIcon2"})})]})]}),B&&(0,t.jsx)("div",{className:"view-sort-btn-group",children:(0,t.jsx)(o.default,{...el})}),(0,t.jsx)("div",{className:er(),id:R,children:X?.map((e,a)=>(0,t.jsx)("div",{className:`tab-pane fade ${et===a?"show active":""}`,role:"tabpanel",id:`panel-${k[a]?.itemID}`,"aria-labelledby":`tab-${k[a]?.itemID}`,hidden:et!==a,tabIndex:et===a?0:-1,children:e},a))})]})};function h(e,a){return(0,t.jsx)("option",{value:e.value,"data-index":a,disabled:e.disabled,selected:e.selected,children:e.label},a)}},60044,e=>{"use strict";e.s(["Tabs",()=>t.default]);var t=e.i(62532)},70184,e=>{"use strict";var t=e.i(45335);e.s(["Img",()=>t.default])},79557,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(70184),r=e.i(22038);let n=e=>{let n,s,l=(0,a.c)(15),o=(0,r.default)("(max-width: 767px)"),c=!o||o&&!e?.mobileImage?.src;e:{let a;if(c&&e.desktopImage&&e.desktopImage.styledimage){let a,r,s,c;l[0]!==e.desktopImage?({height:a,width:r,...s}=e.desktopImage,l[0]=e.desktopImage,l[1]=a,l[2]=r,l[3]=s):(a=l[1],r=l[2],s=l[3]);let d=o?e?.mobileImage?.width:r,u=o?e?.mobileImage?.height:a,h=e?.desktopImage?.styledimage;l[4]!==u||l[5]!==s||l[6]!==h||l[7]!==d?(c=(0,t.jsx)(i.Img,{type:"hero_banner",styledimage:h,...s,width:d,height:u}),l[4]=u,l[5]=s,l[6]=h,l[7]=d,l[8]=c):c=l[8],n=c;break e}if(!c&&o&&e.mobileImage?.src){let a;l[9]!==e.mobileImage?(a=(0,t.jsx)(i.Img,{type:"hero_banner",...e.mobileImage}),l[9]=e.mobileImage,l[10]=a):a=l[10],n=a;break e}let r=e?.desktopImage;l[11]!==r?(a=(0,t.jsx)(i.Img,{type:"hero_banner",...r}),l[11]=r,l[12]=a):a=l[12],n=a}let d=n;return l[13]!==d?(s=d??(0,t.jsx)(t.Fragment,{}),l[13]=d,l[14]=s):s=l[14],s}},36148,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576),i=e.i(64057),r=e.i(79557),n=e.i(91788),s=e.i(55164);let l=e=>{let l,o,c,d=(0,a.c)(10),{banner:u,articleBannerImage:h}=e,{applicationTheme:f}=(0,n.useContext)(s.ApplicationThemeContext),p=`article-banner ${u?.className}`;return d[0]!==f||d[1]!==h||d[2]!==u?.disableShader?(l=h&&(0,t.jsxs)("div",{className:"article-banner-image",children:[(0,t.jsx)(r.default,{...h}),u?.disableShader||"rebranding"===f||"rebranding-japan"===f||"jubbonti"===f||"wyost"===f||"biosimilarsinbone"===f||"vagidonna"===f?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)("div",{className:"article-banner-content-shader"})]}),d[0]=f,d[1]=h,d[2]=u?.disableShader,d[3]=l):l=d[3],d[4]!==u?(o=(0,t.jsx)("div",{className:"article-banner-content-wrapper container",children:(0,t.jsx)(i.default,{className:"article-banner-content",...u})}),d[4]=u,d[5]=o):o=d[5],d[6]!==p||d[7]!==l||d[8]!==o?(c=(0,t.jsxs)("div",{className:p,children:[l,o]}),d[6]=p,d[7]=l,d[8]=o,d[9]=c):c=d[9],c}},63712,e=>{"use strict";var t=e.i(41764),a=e.i(10828),i=e.i(67552),r=e.i(3828),n=e.i(91788),s=e.i(22276),l=e.i(75425),o=e.i(1803),c=e.i(43927);let d=e=>{let{isDataReady:d,clientId:u,...h}=(0,c.default)(),f=(0,r.useRouter)(),p=(0,o.usePreviousRoute)(),m=(0,s.useSelector)(e=>e.user),{scout_id:g,b2c_id:b}=(0,i.getProfileDetails)(m),_=(0,n.useCallback)(()=>{let{sandozRedirectUrl:t="",siteConfig:a}=e,i=a?.client_id||"";
2return i||(i=new URLSearchParams(t).get("client_id")||""),i},[e]),y=(0,n.useCallback)(e=>{let t=_()||"";return t?`${e}?app_id=${t}`:e},[e]),x=(e=!1)=>{let t=f.query;delete t.t,delete t.s,delete t.slug,f.push({pathname:window.location.pathname,query:t},void 0,{shallow:!e})},v=(t,a)=>{let{siteConfig:i}=e,r=!0;if("login"===a&&i&&"azure_login_return_url_flag"in i?r=i?.azure_login_return_url_flag===l.default.ONE:"register"===a&&i&&"azure_register_return_url_flag"in i&&(r=i?.azure_register_return_url_flag===l.default.ONE),r){let e=btoa(window.location.href);return`${t?.includes("?")?t:t+"?"}&return_url=${e}`}return t};return{handleLoginRedirection:(0,n.useCallback)(()=>{let i=p&&`${window.location.origin}${p}`,r=window.location.href;sessionStorage.setItem("loginDate",new Date().toISOString());let n={login_system:t.LOGIN_TYPES.SOLAR,eventType:a.EVENTS.LOGIN,...h,interactionName:a.EVENTS.LOGIN,sessionStartDate:sessionStorage.getItem("loginDate")??new Date().toISOString(),page_location:r,...i&&{page_referrer:i}};sessionStorage.setItem("loginEvent",JSON.stringify({event:a.EVENTS.LOGIN,data:n}));let{isSandozIDEnabled:s=!1,sandozRedirectUrl:l=""}=e;if(s&&l){let e=v(l,"login");window.location.href=e}},[e]),removeQueryParam:x,getUrlWithParams:y,getCurrentAppId:_,appendEncodedReturnUrl:v}};e.s(["default",0,d])},87651,60626,e=>{"use strict";e.s(["default",()=>W],87651);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(22276);e.i(48756);var n=e.i(38233),s=e.i(5223),l=e.i(81753);e.s(["default",()=>B],60626),e.i(50461);var o=t,c=i,d=r,u=e.i(41282);e.i(35958);var h=e.i(55779),f=e.i(76988),p=e.i(51023),m=e.i(60044),g=e.i(15315),b=e.i(15472),_=e.i(72094),y=e.i(20549),x=e.i(31808),v=e.i(92915),A=e.i(10828),w=e.i(62869),E=e.i(3828),S=e.i(36148),C=e.i(41764),T=n,N=e.i(17419),k=e.i(49266),I=s,j=e.i(2635),P=e.i(58372),L=e.i(67552),O=e.i(82054),D=e.i(63712),M=e.i(91236);let R=e=>{let{showPopup:t,form:a,bannerCTA:i,popup:r,handlePopupShow:n,loginConfirmation:s,addUserData:l,resetUserData:y,setUserProfile:x,setUserStateGlobally:P,logoutNotification:R,setSession:F,clearSession:B}=e,U=(0,E.useRouter)(),{wrongCredentialsText:H,emailIncorrectFormat:$,passwordIncorrect:G,deactivatedUserMessage:W}=a?.formLogin||{},Y={...a?.formLogin},z={...a?.docCheckLoginForm},[V,K]=(0,c.useState)(!1),[q,Q]=(0,c.useState)(!1),[Z,X]=(0,c.useState)(!1),[J,ee]=(0,c.useState)(!1),[et,ea]=(0,c.useState)(!1),[ei,er]=(0,c.useState)(!1),[en,es]=(0,c.useState)(!1),{fetchUserProfile:el}=(0,v.default)();(0,d.useSelector)(e=>e.common.paywallContent);let{applicationConfiguration:eo}=(0,c.useContext)(O.default),[ec,ed]=(0,c.useState)(!1),{handleLoginRedirection:eu}=(0,D.default)(eo),[eh,ef]=(0,c.useState)(!1),ep=(0,d.useSelector)(e=>e.appSession.applicationId);(0,c.useEffect)(()=>{let e=async()=>{ed(eo.isSandozIDEnabled||!1)};eo&&e()},[eo]);let em=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,eg=/^(?=.*[a-z])(?=.*[A-Z]).{8,}$/i;(0,c.useEffect)(()=>{t||(X(!1),ee(!1),Q(!1),ea(!1),er(!1),es(!1),ef(!1))},[t]);let eb=(0,c.useMemo)(()=>{let e=0;return{num:e=Y.isLoginFormDisabled&&z.isLoginFormDisabled?0:+!Y.isLoginFormDisabled}},[e]),e_=e=>{e.preventDefault()},ey=async e=>{e.preventDefault(),K(!0),setTimeout(()=>{K(!1)},1e4);try{document?.login_form_doccheck.submit();let e={login_system:C.LOGIN_TYPES.DOC_CHECK,sessionStartDate:sessionStorage.getItem("loginDate")??new Date().toISOString()};sessionStorage.setItem("loginEvent",JSON.stringify({event:A.EVENTS.LOGIN,data:e}))}catch(e){console.error("Doccheck from is not available!")}},ex=async e=>{e.preventDefault(),X(!1),ee(!1),Q(!1),ef(!1);let t=e.target?.elements?.email?.value,a=e.target?.elements?.password?.value,i=em.test(t),r=eg.test(a);if(i&&r){K(!0);let e={username:t,password:a},i=await (0,g.middlewarePostAPI)(_.config.onPrem.LOGIN_API_URL,e);if(K(!1),i.fail){if(y(i),Q(!0),P(!1,""),(0,u.handleDataLayerError)(H??"","Login Form"),403===i.code){if(404===i.error.code)try{let e=btoa(JSON.stringify({email:i.error.email})),t=eo?.siteConfig?.flexible_registration_enabled===1?"my-registration":"sign-up";U.push(`/${t}#id_token=${i.error.azure_id_token}.${e}`)}catch(e){U.push("/")}413===i.error.code&&(Q(!1),ef(!0))}}else{let e=i?.response?.session_data?.csrf_token,a=i?.response?.session_data?.hashedSessionId;l({...i,loginType:C.LOGIN_TYPES.SOLAR}),P(!0,C.LOGIN_TYPES.SOLAR),F(a,e);let r="SoLAR",o=!!location.hostname.includes("localhost"),c=(0,L.getAssetPrefixUrl)(`/api/data-provider/?id=user&appid=${ep}`,o),{feDomain:d}=(0,g.getApiDomainAndLang)(),u=await fetch(c,{headers:{sessionId:j.default.encrypt(a,r).toString(),csrfToken:j.default.encrypt(e,r).toString(),domainPath:(0,b.getApplicationPathFromURL)(),fedomain:d}});await u.json(),n(!1),Q(!1),s(!0);let h=await el(M.PROFILE_API.BASIC);if(h.fail){if(415===h.code){B(),y({}),P(!1,"");return}}else x(h);el(M.PROFILE_API.FULL).then(e=>{let t=e;if(!t.fail)return x(t),t;if(415===h.code){B(),y({}),P(!1,"");return}});let f={user_id:(0,w.encodeString)(t),login_system:C.LOGIN_TYPES.SOLAR};sessionStorage.setItem("loginEvent",JSON.stringify({event:A.EVENTS.LOGIN,data:f})),setTimeout(()=>{E.default.reload()},3e3)}}i||(X(!0),(0,u.handleDataLayerError)($??"","Login Form")),r||(ee(!0),(0,u.handleDataLayerError)(G??"","Login Form"))},ev=e=>{n(!1),window.location.assign(e)},eA=[{isEnabled:Y.isLoginFormDisabled,tabName:Y.title,ref:(0,c.useRef)(null),content:{}},{isEnabled:z.isLoginFormDisabled,tabName:z.title,ref:(0,c.useRef)(null),content:{}}],ew=eA.map(e=>e.isEnabled?{isFormDisabled:e.isEnabled,children:`${e.tabName}`,itemID:e.tabName,tabDesign:"wide"}:{isFormDisabled:e.isEnabled,children:`${e.tabName}`,itemID:null,tabDesign:"wide"}),eE=(e,t,a,i,r,n,s,l,c,d,u,f,p,m,g,b,_)=>_?(0,o.jsxs)("div",{className:"login-popup-content",children:[(0,o.jsx)("div",{className:"login-popup-authform",children:(0,o.jsx)(h.AuthForm,{isPaywallForm:!1,title:e,wrongCredentialsText:H,showDeactivatedUserMsg:u,deactivatedUserMessage:W,fields:t,submitButton:a,cancelButton:i,forgotPassword:r,registerLink:b,onSubmit:n,onForgotPassword:s,isInvalidEmail:l,isInvalidPassword:c,showCredentialsError:d,onChange:f,noValidate:!0,formType:g})}),g!==C.LOGIN_TYPES.DOC_CHECK&&m&&!p&&(0,o.jsx)("div",{className:"login-popup-bannerContainer",children:(0,o.jsx)(S.default,{className:"login-popup-banner",articleBannerImage:m.articleBannerImage,banner:m.banner})}),g!==C.LOGIN_TYPES.DOC_CHECK||p?null:(0,o.jsx)("div",{className:"login-popup-bannerContainer",children:(0,o.jsx)("img",{src:b?.image?.url,alt:b?.image?.alt,width:"452",height:"296"})})]},g):(0,o.jsx)(o.Fragment,{}),eS=eA.map((e,t)=>{switch(e.tabName){case z.title:return eE("",z?.fields,z.submitButton,z.cancelButton,z.forgotPassword,ey,ev,et,ei,en,eh,e_,R,i,C.LOGIN_TYPES.DOC_CHECK,z.registerLink,e.isEnabled);case Y.title:return eE("",Y.fields,Y.submitButton,Y.cancelButton,Y.forgotPassword,ex,ev,Z,J,q,eh,e_,R,i,C.LOGIN_TYPES.SOLAR,Y.registerLink,e.isEnabled);default:return(0,o.jsx)("div",{children:e.tabName},t)}}),eC=()=>ec?(0,o.jsxs)(N.Column,{mobile:12,tablet:6,desktop:6,className:"paywall-cta-login",children:[(0,o.jsx)(I.RichText,{className:"paywall-cta-paragraph",content:"<p>Please login to access this page content</p>"}),(0,o.jsx)("div",{children:(0,o.jsx)(T.Button,{type:"button",tabindex:0,onClick:()=>{eu()},children:Y?.submitButton?.text||"Login"})})]}):(0,o.jsx)("div",{className:"spaceTop",children:(0,o.jsx)(m.Tabs,{activeItem:eb,tabHeadItems:ew,tabContents:eS,tabHeadClassName:"tabHeadClass"})});return a?.formLogin&&(0,o.jsxs)(o.Fragment,{children:[J&&(0,o.jsx)(f.Notification,{notificationType:"error",displayTxt:G}),Z&&(0,o.jsx)(f.Notification,{notificationType:"error",displayTxt:$}),q&&(0,o.jsx)(f.Notification,{notificationType:"error",displayTxt:H}),eh&&(0,o.jsx)(f.Notification,{notificationType:"error",displayTxt:W}),(0,o.jsxs)(p.Popup,{showPopup:t,showOverlay:V,closeIcon:r.closeIcon,spinnerIcon:r.spinnerIcon,className:`login-popup ${r.className??""}`,handlePopupShow:n,children:[(0,o.jsx)(o.Fragment,{children:R&&(0,o.jsxs)("div",{className:"logoutNotification",children:[" ",(0,o.jsx)("span",{className:"iconS
2pacing",children:(0,o.jsx)(k.Icon,{iconName:"InfoIcon1"})}),(0,o.jsx)("div",{className:"logoutInfo",children:R})]})}),eC()]})]})},F={addUserData:e=>(0,y.addUser)(e),resetUserData:e=>(0,y.resetUser)(e),setUserProfile:e=>(0,y.setUserProfile)(e),setUserStateGlobally:(e,t)=>(0,x.setUserStateGlobally)(e,t),setSession:(e,t)=>(0,P.setSession)(e,t),clearSession:()=>(0,P.clearSession)()},B=(0,d.connect)(null,F)(R);var U=O,H=L,$=E,G=g;let W=e=>{let o,c,d,u,h,f,p,m,g,b,_,y=(0,a.c)(26),[x,v]=(0,i.useState)(e?.buttonState),[A,w]=(0,i.useState)(!1),E=(0,$.useRouter)();y[0]!==e.buttonState?(o=()=>{v(e?.buttonState)},y[0]=e.buttonState,y[1]=o):o=y[1];let S=e?.buttonState;y[2]!==S?(c=[S],y[2]=S,y[3]=c):c=y[3],(0,i.useEffect)(o,c),y[4]!==e.className?(d=t=>[t,e?.className].filter(Boolean).join(" "),y[4]=e.className,y[5]=d):d=y[5];let C=d,T=(0,r.useSelector)(Y),N=(0,H.getProfileDetails)(T);y[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,H.getAssetPrefixUrl)("/assets/icons/spinner.svg"),h={url:(0,H.getAssetPrefixUrl)("/assets/icons/close.svg"),altText:"close icon"},y[6]=u,y[7]=h):(u=y[6],h=y[7]),y[8]!==A?(f={showPopup:A,showOverlay:A,children:"",spinnerIcon:u,closeIcon:h,handlePopupShow:w},y[8]=A,y[9]=f):f=y[9];let k=f,{applicationHeaderData:I}=(0,i.useContext)(U.default),j=I?.headerData?.loginFormData,P=j?.banner;y[10]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{w(!1)},y[10]=p):p=y[10];let L=p;y[11]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{w(!1)},y[11]=m):m=y[11];let O=m,D=async t=>{let a={SCT_Attendee_Account__c:N?.scout_id,SCT_Event_Management__c:e?.eventId};x===l.default.INVITED&&e?.invited?.attendeeAccId&&(a.SCT_Attendee_Account__Id=e.invited.attendeeAccId);let i=await (0,G.postApi)(t,a);i?.button_state&&(v(i?.button_state),E.reload())},M=()=>{switch(x){case l.default.REGISTER:return(0,t.jsx)(n.Button,{className:C("scoutButton"),tabindex:1,onClick:T&&T.isLoggedIn?()=>D(e?.register?.apiUrl):()=>w(!0),children:e?.register?.buttonCta});case l.default.REGISTERED:return(0,t.jsx)(s.RichText,{className:C("scoutButtonMessage"),content:e?.registered?.message});case l.default.INVITED:return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.RichText,{className:C("scoutButtonMessage"),content:e?.invited?.message}),(0,t.jsx)(n.Button,{tabindex:1,className:C("scoutButton"),onClick:()=>D(e?.invited?.apiUrlAccept),children:e?.invited?.buttonCtaAccept}),(0,t.jsx)(n.Button,{tabindex:2,className:C("scoutButton"),isSecondary:!0,onClick:()=>D(e?.invited?.apiUrlReject),children:e?.invited?.buttonCtaReject})]});case l.default.NO_ACCESS:default:return(0,t.jsx)(t.Fragment,{})}};if(!x){let e;return y[12]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),y[12]=e):e=y[12],e}let R=i.default,F=e?.eventId,W=M();return y[13]===Symbol.for("react.memo_cache_sentinel")?(g=(e,t)=>{w(e)},y[13]=g):g=y[13],y[14]!==k||y[15]!==P||y[16]!==O||y[17]!==L||y[18]!==j||y[19]!==A?(b=(0,t.jsx)(B,{popup:k,form:j,bannerCTA:P,showPopup:A,handlePopupShow:g,handleForgotPasswordShow:L,loginConfirmation:O}),y[14]=k,y[15]=P,y[16]=O,y[17]=L,y[18]=j,y[19]=A,y[20]=b):b=y[20],y[21]!==F||y[22]!==W||y[23]!==b||y[24]!==R.Fragment?(_=(0,t.jsxs)(R.Fragment,{children:[W,b]},F),y[21]=F,y[22]=W,y[23]=b,y[24]=R.Fragment,y[25]=_):_=y[25],_};function Y(e){return e?.user}},28911,e=>{"use strict";e.s(["default",()=>m]);var t=e.i(91398);e.i(48756);var a=e.i(17626),i=e.i(6271),r=e.i(49266),n=e.i(65218),s=e.i(91788),l=e.i(55164),o=e.i(99523),c=e.i(82054),d=e.i(15315),u=e.i(75425),h=e.i(41764),f=e.i(87651),p=e.i(18090);let m=({modalContent:e,taxonomies:m,heading:g,date:b,contentText:_,time:y,buttonLabel:x,calendarDate:v,isOverlay:A,isOverlayFontType:w,banner_cta_url:E,isExternalLink:S,scoutData:C,eventType:T})=>{let{applicationTheme:N}=(0,s.useContext)(l.ApplicationThemeContext),{applicationConfiguration:k}=(0,s.useContext)(c.default),{lang:I}=(0,d.getApiDomainAndLang)(),j="",P="",L=()=>(("rebranding"===N||"rebranding-japan"===N||"jubbonti"===N||"wyost"===N||"biosimilarsinbone"===N||"hexal"===N||"vagidonna"===N)&&("on"===A&&"light"===w?j="text-overlay-dark":"on"===A&&"dark"===w&&(j="text-overlay"),P="light"===w?"font-light":"font-dark"),`event-banner-content-textdata ${j} ${P}`),O=()=>{let e="";try{"hexal"===N&&""!==j&&(e=(0,t.jsx)("div",{className:"event-banner-content-shader"})),"hexal"!==N&&(e=(0,t.jsx)("div",{className:"event-banner-content-shader"}))}catch(t){e=""}return e};return(0,t.jsxs)("div",{className:"event-banner-content",children:[(0,t.jsxs)(i.Container,{className:"event-banner-content-align",children:[(0,t.jsxs)("div",{className:L(),children:[m&&(0,t.jsx)(n.Taxonomy,{taxonomies:m,limitChar:u.default.FIFTEEN}),g&&(0,t.jsx)("h1",{className:"event-banner-content-header bold",children:g}),(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"event-banner-content-bottom",children:[b&&(0,t.jsx)("div",{children:(0,o.default)(b).locale(I).format(k?.siteConfig?.date_format||"DD/MM/YYYY")}),_&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"event-banner-content-line-divider"}),(0,t.jsxs)("div",{className:"event-banner-content-map-icon-text",children:[(0,t.jsx)("div",{className:"event-banner-content-bottom-icon",children:(0,t.jsx)(r.Icon,{iconName:"mapIcon",width:24,height:24})}),(0,t.jsx)("div",{children:_})]})]}),y&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"event-banner-content-line-divider"}),(0,t.jsxs)("div",{className:"event-banner-content-time-icon-text",children:[(0,t.jsx)("div",{children:(0,t.jsx)(r.Icon,{iconName:"TimeIcon",width:24,height:24})}),(0,t.jsx)("div",{className:"event-banner-content-time-section-time",children:y})]})]})]})}),(0,t.jsx)("div",{className:`${T===h.EVENT_TYPE.SCOUT_EVENT&&C?"event-banner-content-button-scout":""}`,children:(0,t.jsxs)(p.default,{children:[T===h.EVENT_TYPE.SCOUT_EVENT&&C?(0,t.jsx)(f.default,{...C}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(t.Fragment,{children:E&&(0,t.jsx)(a.AnchorButton,{href:E,isExternal:S||!1,className:"event-banner-content-button",tabindex:1,children:x})})]})})]}),(0,t.jsx)("div",{className:"event-banner-content-calendar",children:v&&(0,t.jsx)("h2",{className:"event-banner-content-calendar-content",children:(0,o.default)(v,"DD MMM",!0).format("DD MMM").toUpperCase()})})]}),"rebranding"!==N&&"rebranding-japan"!==N&&"jubbonti"!==N&&"wyost"!==N&&"biosimilarsinbone"!==N&&"vagidonna"!==N?O():(0,t.jsx)(t.Fragment,{})]})}},8593,e=>{"use strict";e.s(["default",()=>m]);var t=e.i(91398),a=e.i(22276),i=e.i(91788),r=e.i(21672);e.i(48756);var n=e.i(17419),s=e.i(161),l=e.i(49266),o=e.i(5223),c=e.i(66196),d=e.i(65218),u=e.i(99523),h=e.i(9283),f=e.i(15315),p=e.i(82054);let m=e=>{let[m,g]=(0,i.useState)(!1),b=(0,a.useDispatch)(),_=(0,i.useCallback)(e=>b((0,r.addRatings)(e)),[b]),y=(0,i.useContext)(p.default),{applicationConfiguration:x}=(0,i.useContext)(p.default),v=e?.id,A=e=>{_({id:v,state:e})},w=0,E=(0,a.useSelector)(e=>e?.ratings?.liveCount?.favourite),S=(0,a.useSelector)(e=>e?.user?.profile?.response?.favourite),C=E?.filter(e=>parseInt(e.node_id)===v);w=C?.length>0?C?.[0]?.count:0,(0,i.useMemo)(()=>{for(let e in S)parseInt(S[e].node_id)===v&&g(!0)},[S]);let T=e=>{_({id:v,state:e})},N=e=>{let{lang:t}=(0,f.getApiDomainAndLang)();return(0,u.default)(e,!0).locale(t).format(x?.siteConfig?.date_format)};return(0,t.jsxs)("div",{className:"event-card-horizontal-content",children:[(0,t.jsx)("div",{children:(0,t.jsxs)(c.Row,{children:[(0,t.jsx)(n.Column,{desktop:6,tablet:6,mobile:6,children:e.taxonomies&&(0,t.jsx)(d.Taxonomy,{taxonomies:e.taxonomies})}),(0,t.jsx)(n.Column,{desktop:6,tablet:6,mobile:6,className:"event-card-horizontal-content-icon",children:(0,t.jsxs)(c.Row,{children:[(0,t.jsx)(n.Column,{desktop:4,tablet:4,mobile:4,className:"event-card-horizontal-content-bookmark",children:(0,t.jsx)(h.default,{id:e.id,...e.bookmark,bookmarkCallback:A})}),(0,t.jsx)(n.Column,{desktop:8,tablet:8,mobile:8,className:"event-card-horizontal-content-icon",children:(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"event-card-horizontal-content-favorite-section",children:(0,t.jsx)("span",{children:y?.applicationConfiguration?.isFavouriteEnabled&&(0,t.jsx)(s.FavoriteIcon,{favouriteStatus:m,id:v,totalFavoriteCount:w,favoriteHandlerCallback:T})})})})})]})})]})}),(0,t.jsx)("h4",{className:"event-card-horizontal-content-header bold",children:e.heading}),(0,t.jsx)(o.RichText,{className:"event-card-horizontal-content-text",content:e.text}),(0,t.jsxs)("div",{className:"event-card-horizontal-content-bottom",children:[(0,t.jsx)("div",{className:"event-card-horizontal-content-event-date",children:N(e.startDate)}),(0,t.jsx)("div",{className:"event-card-horizontal-content-line-divider"}),(0,t.jsx)("div",{className:"event-card-horizontal-content-bottom-icon",children:(0,t.jsx)(l.Icon,{iconName:"mapIcon"})}),(0,t.jsx)("div",{children:e.contentText}),(0,t.jsx)("div",{className:"event-card-horizontal-content-line-divider"}),(0,t.jsxs)("div",{className:"event-card-horizontal-content-time-section",children:[(0,t.jsx)(l.Icon,{iconName:"TimeIcon"}),(0,t.jsx)("div",{className:"event-card-horizontal-content-time-section-time",children:e.time})]})]})]})}},40149,e=>{"use strict";e.s(["default",()=>A]);var t=e.i(91398);e.i(48756);var a=e.i(45861),i=e.i(17626),r=e.i(17419),n=e.i(49266),s=e.i(5223),l=e.i(66196),o=e.i(65218),c=e.i(88801),d=e.i(23216),u=e.i(87651),h=e.i(82054),f=e.i(15315),p=e.i(99523),m=e.i(91788),g=e.i(22276),b=e.i(21672),_=e.i(34848),y=e.i(9283),x=e.i(18090),v=e.i(41764);let A=({id:e,text:A,startDate:w,endDate:E,contentText:S,heading:C,taxonomies:T,bookmark:N,time:k,primaryButtonLabel:I,primaryButtonUrl:j,primaryIsExternalUrl:P,secondaryButtonLabel:L,secondaryButtonUrl:O,secondaryIsExternalUrl:D,eventType:M,scoutData:R})=>{let[F,B]=(0,m.useState)(!1),U=(0,m.useContext)(h.default),{applicationConfiguration:H}=(0,m.useContext)(h.default),$=(0,g.useDispatch)(),G=(0,m.useCallback)(e=>$((0,b.addRatings)(e)),[$]),W=t=>{G({id:e,state:t})},Y=0,z=(0,g.useSelector)(e=>e?.ratings?.liveCount?.favourite),V=(0,g.useSelector)(e=>e?.user?.profile?.response?.favourite),K=z?.filter(t=>parseInt(t.node_id)===e);Y=K?.length>0?K?.[0]?.count:0,(0,m.useMemo)(()=>{for(let t in V)parseInt(V[t].node_id)===e&&B(!0)},[V]);let q=t=>{G({id:e,state:t})},Q=e=>{let{lang:t}=(0,f.getApiDomainAndLang)();return(0,p.default)(e,!0).locale(t).format(H?.siteConfig?.date_format)},Z=(e,a,r)=>e&&r?(0,t.jsx)(i.AnchorButton,{tabindex:1,href:e,isExternal:a,children:r}):(0,t.jsx)(t.Fragment,{});return(0,t.jsxs)("div",{className:"event-card-vertical-content",children:[(0,t.jsxs)(l.Row,{children:[(0,t.jsx)(r.Column,{desktop:9,tablet:9,mobile:9,children:T&&(0,t.jsx)(o.Taxonomy,{taxonomies:T,limitChar:16})}),(0,t.jsxs)(r.Column,{desktop:3,tablet:3,mobile:3,className:"material-teaser-card-content-icon-container",children:[N&&(0,t.jsx)("div",{className:"event-card-vertical-content-icon",children:(0,t.jsx)(y.default,{id:e,...N,bookmarkCallback:W})}),(0,t.jsx)("div",{className:"event-card-vertical-content-icon",children:(0,t.jsx)("div",{className:"material-teaser-card-content-favorite-section",children:(0,t.jsx)("span",{className:"favorite-icon",children:(T||N||C||A||w||S||k)&&U?.applicationConfiguration?.isFavouriteEnabled&&(0,t.jsx)(c.default,{id:e,totalFavoriteCount:Y,favouriteStatus:F,favoriteHandlerCallback:q})})})})]})]}),C&&(0,t.jsx)(a.Anchor,{href:j,tabindex:0,noUnderline:!0,isExternal:P,children:(0,t.jsx)("h4",{className:"event-card-vertical-content-header bold",children:(0,_.trimText)(C,d.default.TITLE)})}),A&&(0,t.jsx)(s.RichText,{className:"event-card-vertical-content-text event-card-vertical-content-text-h",content:A,characterLimit:d.default.DESCRIPTION}),(0,t.jsxs)("div",{className:"event-card-vertical-content-bottom",children:[w&&(0,t.jsx)("div",{className:"event-card-vertical-content-event-date",children:Q(w)}),(0,t.jsx)("div",{className:"event-card-vertical-content-line-divider"}),(0,t.jsxs)("div",{className:"event-card-vertical-content-bottom-container",children:[(0,t.jsx)("span",{className:"event-card-vertical-content-bottom-icon",children:(0,t.jsx)(n.Icon,{iconName:"mapIcon"})}),S&&(0,t.jsx)("span",{className:"event-card-vertical-content-bottom-icon-text",children:S})]})]}),(0,t.jsxs)("div",{className:"event-card-vertical-content-time-section",children:[(0,t.jsx)(n.Icon,{iconName:"TimeIcon"}),k&&(0,t.jsx)("div",{className:"event-card-vertical-content-time-section-time",children:k})]}),(0,t.jsx)("div",{className:"event-card-vertical-content-button",children:(0,t.jsxs)(x.default,{children:[M&&M===v.EVENT_TYPE.SCOUT_EVENT&&R?(0,t.jsx)(u.default,{...R}):Z(j,P,I),(O||D)&&L?(0,t.jsx)(i.AnchorButton,{tabindex:2,href:O,isExternal:D,isSecondary:!0,children:L}):(0,t.jsx)(t.Fragment,{})]})})]})}},58940,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(5223),r=e.i(6271);let n=e=>{let i,n,s=(0,a.c)(4),{rows:o}=e;return s[0]!==o?(i=o.map(l),s[0]=o,s[1]=i):i=s[1],s[2]!==i?(n=(0,t.jsx)(r.Container,{fluid:!0,className:"events-table",children:(0,t.jsx)(t.Fragment,{children:i})}),s[2]=i,s[3]=n):n=s[3],n};function s(e,a){return(0,t.jsx)(i.RichText,{className:"events-table-column",content:e},a)}function l(e){return(0,t.jsxs)("div",{className:"events-table-row",children:[(0,t.jsxs)("div",{className:"events-table-titles",children:[(0,t.jsx)("h4",{children:e.title}),(0,t.jsx)(i.RichText,{content:e.subTitle})]}),e.colums.map(s)]},e.title)}},24345,e=>{"use strict";e.s(["FlexiTabContent",()=>t.default]);var t=e.i(55981)},43103,(e,t,a)=>{(function(){var i,r="4.17.23",n=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",d=500,u="__lodash_placeholder__",h=1,f=2,p=4,m=1,g=2,b=1,_=2,y=4,x=8,v=16,A=32,w=64,E=128,S=256,C=512,T=30,N="...",k=800,I=16,j=1,P=2,L=3,O=1/0,D=0x1fffffffffffff,M=17976931348623157e292,R=0/0,F=0xffffffff,B=0xfffffffe,U=0x7fffffff,H=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],$="[object Arguments]",G="[object Array]",W="[object AsyncFunction]",Y="[object Boolean]",z="[object Date]",V="[object DOMException]",K="[object Error]",q="[object Function]",Q="[object GeneratorFunction]",Z="[object Map]",X="[object Number]",J="[object Null]",ee="[object Object]",et="[object Promise]",ea="[object Proxy]",ei="[object RegExp]",er="[object Set]",en="[object String]",es="[object Symbol]",el="[object Undef
2ined]",eo="[object WeakMap]",ec="[object WeakSet]",ed="[object ArrayBuffer]",eu="[object DataView]",eh="[object Float32Array]",ef="[object Float64Array]",ep="[object Int8Array]",em="[object Int16Array]",eg="[object Int32Array]",eb="[object Uint8Array]",e_="[object Uint8ClampedArray]",ey="[object Uint16Array]",ex="[object Uint32Array]",ev=/\b__p \+= '';/g,eA=/\b(__p \+=) '' \+/g,ew=/(__e\(.*?\)|\b__t\)) \+\n'';/g,eE=/&(?:amp|lt|gt|quot|#39);/g,eS=/[&<>"']/g,eC=RegExp(eE.source),eT=RegExp(eS.source),eN=/<%-([\s\S]+?)%>/g,ek=/<%([\s\S]+?)%>/g,eI=/<%=([\s\S]+?)%>/g,ej=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eP=/^\w*$/,eL=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,eO=/[\\^$.*+?()[\]{}|]/g,eD=RegExp(eO.source),eM=/^\s+/,eR=/\s/,eF=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,eB=/\{\n\/\* \[wrapped with (.+)\] \*/,eU=/,? & /,eH=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,e$=/[()=,{}\[\]\/\s]/,eG=/\\(\\)?/g,eW=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,eY=/\w*$/,ez=/^[-+]0x[0-9a-f]+$/i,eV=/^0b[01]+$/i,eK=/^\[object .+?Constructor\]$/,eq=/^0o[0-7]+$/i,eQ=/^(?:0|[1-9]\d*)$/,eZ=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 8,351 bytes, line 2
27f]/g,eX=/($^)/,eJ=/['\n\r\u2028\u2029\\]/g,e0="\\ud800-\\udfff",e1="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",e2="\\u2700-\\u27bf",e3="a-z\\xdf-\\xf6\\xf8-\\xff",e4="A-Z\\xc0-\\xd6\\xd8-\\xde",e6="\\ufe0e\\ufe0f",e5="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",e8="['’]",e7="["+e0+"]",e9="["+e5+"]",te="["+e1+"]",tt="\\d+",ta="["+e2+"]",ti="["+e3+"]",tr="[^"+e0+e5+tt+e2+e3+e4+"]",tn="\\ud83c[\\udffb-\\udfff]",ts="[^"+e0+"]",tl="(?:\\ud83c[\\udde6-\\uddff]){2}",to="[\\ud800-\\udbff][\\udc00-\\udfff]",tc="["+e4+"]",td="\\u200d",tu="(?:"+ti+"|"+tr+")",th="(?:"+tc+"|"+tr+")",tf="(?:"+e8+"(?:d|ll|m|re|s|t|ve))?",tp="(?:"+e8+"(?:D|LL|M|RE|S|T|VE))?",tm="(?:"+te+"|"+tn+")?",tg="["+e6+"]?",tb="(?:"+td+"(?:"+[ts,tl,to].join("|")+")"+tg+tm+")*",t_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ty="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",tx=tg+tm+tb,tv="(?:"+[ta,tl,to].join("|")+")"+tx,tA="(?:"+[ts+te+"?",te,tl,to,e7].join("|")+")",tw=RegExp(e8,"g"),tE=RegExp(te,"g"),tS=RegExp(tn+"(?="+tn+")|"+tA+tx,"g"),tC=RegExp([tc+"?"+ti+"+"+tf+"(?="+[e9,tc,"$"].join("|")+")",th+"+"+tp+"(?="+[e9,tc+tu,"$"].join("|")+")",tc+"?"+tu+"+"+tf,tc+"+"+tp,ty,t_,tt,tv].join("|"),"g"),tT=RegExp("["+td+e0+e1+e6+"]"),tN=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tk=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tI=-1,tj={};tj[eh]=tj[ef]=tj[ep]=tj[em]=tj[eg]=tj[eb]=tj[e_]=tj[ey]=tj[ex]=!0,tj[$]=tj[G]=tj[ed]=tj[Y]=tj[eu]=tj[z]=tj[K]=tj[q]=tj[Z]=tj[X]=tj[ee]=tj[ei]=tj[er]=tj[en]=tj[eo]=!1;var tP={};tP[$]=tP[G]=tP[ed]=tP[eu]=tP[Y]=tP[z]=tP[eh]=tP[ef]=tP[ep]=tP[em]=tP[eg]=tP[Z]=tP[X]=tP[ee]=tP[ei]=tP[er]=tP[en]=tP[es]=tP[eb]=tP[e_]=tP[ey]=tP[ex]=!0,tP[K]=tP[q]=tP[eo]=!1;var tL={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},tO={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tD={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},tM={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tR=parseFloat,tF=parseInt,tB=e.g&&e.g.Object===Object&&e.g,tU="object"==typeof self&&self&&self.Object===Object&&self,tH=tB||tU||Function("return this")(),t$=a&&!a.nodeType&&a,tG=t$&&t&&!t.nodeType&&t,tW=tG&&tG.exports===t$,tY=tW&&tB.process,tz=function(){try{var e=tG&&tG.require&&tG.require("util").types;if(e)return e;return tY&&tY.binding&&tY.binding("util")}catch(e){}}(),tV=tz&&tz.isArrayBuffer,tK=tz&&tz.isDate,tq=tz&&tz.isMap,tQ=tz&&tz.isRegExp,tZ=tz&&tz.isSet,tX=tz&&tz.isTypedArray;function tJ(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2])}return e.apply(t,a)}function t0(e,t,a,i){for(var r=-1,n=null==e?0:e.length;++r<n;){var s=e[r];t(i,s,a(s),e)}return i}function t1(e,t){for(var a=-1,i=null==e?0:e.length;++a<i&&!1!==t(e[a],a,e););return e}function t2(e,t){for(var a=null==e?0:e.length;a--&&!1!==t(e[a],a,e););return e}function t3(e,t){for(var a=-1,i=null==e?0:e.length;++a<i;)if(!t(e[a],a,e))return!1;return!0}function t4(e,t){for(var a=-1,i=null==e?0:e.length,r=0,n=[];++a<i;){var s=e[a];t(s,a,e)&&(n[r++]=s)}return n}function t6(e,t){return!!(null==e?0:e.length)&&al(e,t,0)>-1}function t5(e,t,a){for(var i=-1,r=null==e?0:e.length;++i<r;)if(a(t,e[i]))return!0;return!1}function t8(e,t){for(var a=-1,i=null==e?0:e.length,r=Array(i);++a<i;)r[a]=t(e[a],a,e);return r}function t7(e,t){for(var a=-1,i=t.length,r=e.length;++a<i;)e[r+a]=t[a];return e}function t9(e,t,a,i){var r=-1,n=null==e?0:e.length;for(i&&n&&(a=e[++r]);++r<n;)a=t(a,e[r],r,e);return a}function ae(e,t,a,i){var r=null==e?0:e.length;for(i&&r&&(a=e[--r]);r--;)a=t(a,e[r],r,e);return a}function at(e,t){for(var a=-1,i=null==e?0:e.length;++a<i;)if(t(e[a],a,e))return!0;return!1}var aa=au("length");function ai(e){return e.split("")}function ar(e){return e.match(eH)||[]}function an(e,t,a){var i;return a(e,function(e,a,r){if(t(e,a,r))return i=a,!1}),i}function as(e,t,a,i){for(var r=e.length,n=a+(i?1:-1);i?n--:++n<r;)if(t(e[n],n,e))return n;return -1}function al(e,t,a){return t==t?aR(e,t,a):as(e,ac,a)}function ao(e,t,a,i){for(var r=a-1,n=e.length;++r<n;)if(i(e[r],t))return r;return -1}function ac(e){return e!=e}function ad(e,t){var a=null==e?0:e.length;return a?am(e,t)/a:R}function au(e){return function(t){return null==t?i:t[e]}}function ah(e){return function(t){return null==e?i:e[t]}}function af(e,t,a,i,r){return r(e,function(e,r,n){a=i?(i=!1,e):t(a,e,r,n)}),a}function ap(e,t){var a=e.length;for(e.sort(t);a--;)e[a]=e[a].value;return e}function am(e,t){for(var a,r=-1,n=e.length;++r<n;){var s=t(e[r]);i!==s&&(a=i===a?s:a+s)}return a}function ag(e,t){for(var a=-1,i=Array(e);++a<e;)i[a]=t(a);return i}function ab(e,t){return t8(t,function(t){return[t,e[t]]})}function a_(e){return e?e.slice(0,aH(e)+1).replace(eM,""):e}function ay(e){return function(t){return e(t)}}function ax(e,t){return t8(t,function(t){return e[t]})}function av(e,t){return e.has(t)}function aA(e,t){for(var a=-1,i=e.length;++a<i&&al(t,e[a],0)>-1;);return a}function aw(e,t){for(var a=e.length;a--&&al(t,e[a],0)>-1;);return a}function aE(e,t){for(var a=e.length,i=0;a--;)e[a]===t&&++i;return i}var aS=ah(tL),aC=ah(tO);function aT(e){return"\\"+tM[e]}function aN(e,t){return null==e?i:e[t]}function ak(e){return tT.test(e)}function aI(e){return tN.test(e)}function aj(e){for(var t,a=[];!(t=e.next()).done;)a.push(t.value);return a}function aP(e){var t=-1,a=Array(e.size);return e.forEach(function(e,i){a[++t]=[i,e]}),a}function aL(e,t){return function(a){return e(t(a))}}function aO(e,t){for(var a=-1,i=e.length,r=0,n=[];++a<i;){var s=e[a];(s===t||s===u)&&(e[a]=u,n[r++]=a)}return n}function aD(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=e}),a}function aM(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=[e,e]}),a}function aR(e,t,a){for(var i=a-1,r=e.length;++i<r;)if(e[i]===t)return i;return -1}function aF(e,t,a){for(var i=a+1;i--&&e[i]!==t;);return i}function aB(e){return ak(e)?aG(e):aa(e)}function aU(e){return ak(e)?aW(e):ai(e)}function aH(e){for(var t=e.length;t--&&eR.test(e.charAt(t)););return t}var a$=ah(tD);function aG(e){for(var t=tS.lastIndex=0;tS.test(e);)++t;return t}function aW(e){return e.match(tS)||[]}function aY(e){return e.match(tC)||[]}var az=function e(t){var a=(t=null==t?tH:az.defaults(tH.Object(),t,az.pick(tH,tk))).Array,eR=t.Date,eH=t.Error,e0=t.Function,e1=t.Math,e2=t.Object,e3=t.RegExp,e4=t.String,e6=t.TypeError,e5=a.prototype,e8=e0.prototype,e7=e2.prototype,e9=t["__core-js_shared__"],te=e8.toString,tt=e7.hasOwnProperty,ta=0,ti=function(){var e=/[^.]+$/.exec(e9&&e9.keys&&e9.keys.IE_PROTO||"");
vendor: 9,735 bytes, line 2
2return e?"Symbol(src)_1."+e:""}(),tr=e7.toString,tn=te.call(e2),ts=tH._,tl=e3("^"+te.call(tt).replace(eO,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),to=tW?t.Buffer:i,tc=t.Symbol,td=t.Uint8Array,tu=to?to.allocUnsafe:i,th=aL(e2.getPrototypeOf,e2),tf=e2.create,tp=e7.propertyIsEnumerable,tm=e5.splice,tg=tc?tc.isConcatSpreadable:i,tb=tc?tc.iterator:i,t_=tc?tc.toStringTag:i,ty=function(){try{var e=nZ(e2,"defineProperty");return e({},"",{}),e}catch(e){}}(),tx=t.clearTimeout!==tH.clearTimeout&&t.clearTimeout,tv=eR&&eR.now!==tH.Date.now&&eR.now,tA=t.setTimeout!==tH.setTimeout&&t.setTimeout,tS=e1.ceil,tC=e1.floor,tT=e2.getOwnPropertySymbols,tN=to?to.isBuffer:i,tL=t.isFinite,tO=e5.join,tD=aL(e2.keys,e2),tM=e1.max,tB=e1.min,tU=eR.now,t$=t.parseInt,tG=e1.random,tY=e5.reverse,tz=nZ(t,"DataView"),aa=nZ(t,"Map"),ai=nZ(t,"Promise"),ah=nZ(t,"Set"),aR=nZ(t,"WeakMap"),aG=nZ(e2,"create"),aW=aR&&new aR,aV={},aK=sC(tz),aq=sC(aa),aQ=sC(ai),aZ=sC(ah),aX=sC(aR),aJ=tc?tc.prototype:i,a0=aJ?aJ.valueOf:i,a1=aJ?aJ.toString:i;function a2(e){if(oJ(e)&&!oM(e)&&!(e instanceof a5)){if(e instanceof a6)return e;if(tt.call(e,"__wrapped__"))return sN(e)}return new a6(e)}var a3=function(){function e(){}return function(t){if(!oX(t))return{};if(tf)return tf(t);e.prototype=t;var a=new e;return e.prototype=i,a}}();function a4(){}function a6(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function a5(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function a8(){var e=new a5(this.__wrapped__);return e.__actions__=no(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=no(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=no(this.__views__),e}function a7(){if(this.__filtered__){var e=new a5(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function a9(){var e=this.__wrapped__.value(),t=this.__dir__,a=oM(e),i=t<0,r=a?e.length:0,n=n2(0,r,this.__views__),s=n.start,l=n.end,o=l-s,c=i?l:s-1,d=this.__iteratees__,u=d.length,h=0,f=tB(o,this.__takeCount__);if(!a||!i&&r==o&&f==o)return rJ(e,this.__actions__);var p=[];t:for(;o--&&h<f;){for(var m=-1,g=e[c+=t];++m<u;){var b=d[m],_=b.iteratee,y=b.type,x=_(g);if(y==P)g=x;else if(!x)if(y==j)continue t;else break t}p[h++]=g}return p}function ie(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var i=e[t];this.set(i[0],i[1])}}function it(){this.__data__=aG?aG(null):{},this.size=0}function ia(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}function ii(e){var t=this.__data__;if(aG){var a=t[e];return a===c?i:a}return tt.call(t,e)?t[e]:i}function ir(e){var t=this.__data__;return aG?t[e]!==i:tt.call(t,e)}function is(e,t){var a=this.__data__;return this.size+=+!this.has(e),a[e]=aG&&i===t?c:t,this}function il(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var i=e[t];this.set(i[0],i[1])}}function io(){this.__data__=[],this.size=0}function ic(e){var t=this.__data__,a=iD(t,e);return!(a<0)&&(a==t.length-1?t.pop():tm.call(t,a,1),--this.size,!0)}function id(e){var t=this.__data__,a=iD(t,e);return a<0?i:t[a][1]}function iu(e){return iD(this.__data__,e)>-1}function ih(e,t){var a=this.__data__,i=iD(a,e);return i<0?(++this.size,a.push([e,t])):a[i][1]=t,this}function ip(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var i=e[t];this.set(i[0],i[1])}}function im(){this.size=0,this.__data__={hash:new ie,map:new(aa||il),string:new ie}}function ig(e){var t=nq(this,e).delete(e);return this.size-=!!t,t}function ib(e){return nq(this,e).get(e)}function i_(e){return nq(this,e).has(e)}function iy(e,t){var a=nq(this,e),i=a.size;return a.set(e,t),this.size+=+(a.size!=i),this}function ix(e){var t=-1,a=null==e?0:e.length;for(this.__data__=new ip;++t<a;)this.add(e[t])}function iv(e){return this.__data__.set(e,c),this}function iA(e){return this.__data__.has(e)}function iw(e){var t=this.__data__=new il(e);this.size=t.size}function iE(){this.__data__=new il,this.size=0}function iS(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}function iC(e){return this.__data__.get(e)}function iT(e){return this.__data__.has(e)}function iN(e,t){var a=this.__data__;if(a instanceof il){var i=a.__data__;if(!aa||i.length<n-1)return i.push([e,t]),this.size=++a.size,this;a=this.__data__=new ip(i)}return a.set(e,t),this.size=a.size,this}function ik(e,t){var a=oM(e),i=!a&&oD(e),r=!a&&!i&&oH(e),n=!a&&!i&&!r&&cr(e),s=a||i||r||n,l=s?ag(e.length,e4):[],o=l.length;for(var c in e)(t||tt.call(e,c))&&!(s&&("length"==c||r&&("offset"==c||"parent"==c)||n&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||se(c,o)))&&l.push(c);return l}function iI(e){var t=e.length;return t?e[rP(0,t-1)]:i}function ij(e,t){return sw(no(e),iH(t,0,e.length))}function iP(e){return sw(no(e))}function iL(e,t,a){(i===a||oP(e[t],a))&&(i!==a||t in e)||iB(e,t,a)}function iO(e,t,a){var r=e[t];tt.call(e,t)&&oP(r,a)&&(i!==a||t in e)||iB(e,t,a)}function iD(e,t){for(var a=e.length;a--;)if(oP(e[a][0],t))return a;return -1}function iM(e,t,a,i){return iV(e,function(e,r,n){t(i,e,a(e),n)}),i}function iR(e,t){return e&&nc(t,cU(t),e)}function iF(e,t){return e&&nc(t,cH(t),e)}function iB(e,t,a){"__proto__"==t&&ty?ty(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}function iU(e,t){for(var r=-1,n=t.length,s=a(n),l=null==e;++r<n;)s[r]=l?i:cO(e,t[r]);return s}function iH(e,t,a){return e==e&&(i!==a&&(e=e<=a?e:a),i!==t&&(e=e>=t?e:t)),e}function i$(e,t,a,r,n,s){var l,o=t&h,c=t&f,d=t&p;if(a&&(l=n?a(e,r,n,s):a(e)),i!==l)return l;if(!oX(e))return e;var u=oM(e);if(u){if(l=n6(e),!o)return no(e,l)}else{var m=n1(e),g=m==q||m==Q;if(oH(e))return r7(e,o);if(m==ee||m==$||g&&!n){if(l=c||g?{}:n5(e),!o)return c?nu(e,iF(l,e)):nd(e,iR(l,e))}else{if(!tP[m])return n?e:{};l=n8(e,m,o)}}s||(s=new iw);var b=s.get(e);if(b)return b;s.set(e,l),ct(e)?e.forEach(function(i){l.add(i$(i,t,a,i,e,s))}):o0(e)&&e.forEach(function(i,r){l.set(r,i$(i,t,a,r,e,s))});var _=d?c?nW:nG:c?cH:cU,y=u?i:_(e);return t1(y||e,function(i,r){y&&(i=e[r=i]),iO(l,r,i$(i,t,a,r,e,s))}),l}function iG(e){var t=cU(e);return function(a){return iW(a,e,t)}}function iW(e,t,a){var r=a.length;if(null==e)return!r;for(e=e2(e);r--;){var n=a[r],s=t[n],l=e[n];if(i===l&&!(n in e)||!s(l))return!1}return!0}function iY(e,t,a){if("function"!=typeof e)throw new e6(l);return sy(function(){e.apply(i,a)},t)}function iz(e,t,a,i){var r=-1,s=t6,l=!0,o=e.length,c=[],d=t.length;if(!o)return c;a&&(t=t8(t,ay(a))),i?(s=t5,l=!1):t.length>=n&&(s=av,l=!1,t=new ix(t));t:for(;++r<o;){var u=e[r],h=null==a?u:a(u);if(u=i||0!==u?u:0,l&&h==h){for(var f=d;f--;)if(t[f]===h)continue t;c.push(u)}else s(t,h,i)||c.push(u)}return c}a2.templateSettings={escape:eN,evaluate:ek,interpolate:eI,variable:"",imports:{_:a2}},a2.prototype=a4.prototype,a2.prototype.constructor=a2,a6.prototype=a3(a4.prototype),a6.prototype.constructor=a6,a5.prototype=a3(a4.prototype),a5.prototype.constructor=a5,ie.prototype.clear=it,ie.prototype.delete=ia,ie.prototype.get=ii,ie.prototype.has=ir,ie.prototype.set=is,il.prototype.clear=io,il.prototype.delete=ic,il.prototype.get=id,il.prototype.has=iu,il.prototype.set=ih,ip.prototype.clear=im,ip.prototype.delete=ig,ip.prototype.get=ib,ip.prototype.has=i_,ip.prototype.set=iy,ix.prototype.add=ix.prototype.push=iv,ix.prototype.has=iA,iw.prototype.clear=iE,iw.prototype.delete=iS,iw.prototype.get=iC,iw.prototype.has=iT,iw.prototype.set=iN;var iV=np(i2),iK=np(i3,!0);function iq(e,t){var a=!0;return iV(e,function(e,i,r){return a=!!t(e,i,r)}),a}function iQ(e,t,a){for(var r=-1,n=e.length;++r<n;){var s=e[r],l=t(s);if(null!=l&&(i===o?l==l&&!ci(l):a(l,o)))var o=l,c=s}return c}function iZ(e,t,a,r){var n=e.length;for((a=ch(a))<0&&(a=-a>n?0:n+a),(r=i===r||r>n?n:ch(r))<0&&(r+=n),r=a>r?0:cf(r);a<r;)e[a++]=t;return e}function iX(e,t){var a=[];return iV(e,function(e,i,r){t(e,i,r)&&a.push(e)}),a}function iJ(e,t,a,i,r){var n=-1,s=e.length;for(a||(a=n9),r||(r=[]);++n<s;){var l=e[n];t>0&&a(l)?t>1?iJ(l,t-1,a,i,r):t7(r,l):i||(r[r.length]=l)}return r}var i0=nm(),i1=nm(!0);function i2(e,t){return e&&i0(e,t,cU)}function i3(e,t){return e&&i1(e,t,cU)}function i4(e,t){return t4(t,function(t){return oq(e[t])})}function i6(e,t){t=r4(t,e);for(var a=0,r=t.length;null!=e&&a<r;)e=e[sS(t[a++])];return a&&a==r?e:i}function i5(e,t,a){var i=t(e);return oM(e)?i:t7(i,a(e))}function i8(e){return null==e?i===e?el:J:t_&&t_ in e2(e)?nX(e):sf(e)}function i7(e,t){return e>t}function i9(e,t){return null!=e&&tt.call(e,t)}function re(e,t){return null!=e&&t in e2(e)}function rt(e,t,a){return e>=tB(t,a)&&e<tM(t,a)}function ra(e,t,r){for(var n=r?t5:t6,s=e[0].length,l=e.length,o=l,c=a(l),d=1/0,u=[];o--;){var h=e[o];o&&t&&(h=t8(h,ay(t))),d=tB(h.length,d),c[o]=!r&&(t||s>=120&&h.length>=120)?new ix(o&&h):i}h=e[0];var f=-1,p=c[0];t:for(;++f<s&&u.length<d;){var m=h[f],g=t?t(m):m;if(m=r||0!==m?m:0,!(p?av(p,g):n(u,g,r))){for(o=l;--o;){var b=c[o];if(!(b?av(b,g):n(e[o],g,r)))continue t}p&&p.push(g),u.push(m)}}return u}function ri(e,t,a,i){return i2(e,function(e,r,n){t(i,a(e),r,n)}),i}function rr(e,t,a){t=r4(t,e);var r=null==(e=sm(e,t))?e:e[sS(sJ(t))];return null==r?i:tJ(r,e,a)}function rn(e){return oJ(e)&&i8(e)==$}function rs(e){return oJ(e)&&i8(e)==ed}function rl(e){return oJ(e)&&i8(e)==z}function ro(e,t,a,i,r){return e===t||(null!=e&&null!=t&&(oJ(e)||oJ(t))?rc(e,t,a,i,ro,r):e!=e&&t!=t)}function rc(e,t,a,i,r,n){var s=oM(e),l=oM(t),o=s?G:n1(e),c=l?G:n1(t);o=o==$?ee:o,c=c==$?ee:c;var d=o==ee,u=c==ee,h=o==c;if(h&&oH(e)){if(!oH(t))return!1;s=!0,d=!1}if(h&&!d)return n||(n=new iw),s||cr(e)?nB(e,t,a,i,r,n):nU(e,t,o,a,i,r,n);if(!(a&m)){var f=d&&tt.call(e,"__wrapped__"),p=u&&tt.call(t,"__wrapped__");
vendor: 4,839 bytes, line 2
2if(f||p){var g=f?e.value():e,b=p?t.value():t;return n||(n=new iw),r(g,b,a,i,n)}}return!!h&&(n||(n=new iw),nH(e,t,a,i,r,n))}function rd(e){return oJ(e)&&n1(e)==Z}function ru(e,t,a,r){var n=a.length,s=n,l=!r;if(null==e)return!s;for(e=e2(e);n--;){var o=a[n];if(l&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++n<s;){var c=(o=a[n])[0],d=e[c],u=o[1];if(l&&o[2]){if(i===d&&!(c in e))return!1}else{var h=new iw;if(r)var f=r(d,u,c,e,t,h);if(!(i===f?ro(u,d,m|g,r,h):f))return!1}}return!0}function rh(e){return!(!oX(e)||sn(e))&&(oq(e)?tl:eK).test(sC(e))}function rf(e){return oJ(e)&&i8(e)==ei}function rp(e){return oJ(e)&&n1(e)==er}function rm(e){return oJ(e)&&oZ(e.length)&&!!tj[i8(e)]}function rg(e){return"function"==typeof e?e:null==e?dB:"object"==typeof e?oM(e)?rA(e[0],e[1]):rv(e):dX(e)}function rb(e){if(!sl(e))return tD(e);var t=[];for(var a in e2(e))tt.call(e,a)&&"constructor"!=a&&t.push(a);return t}function r_(e){if(!oX(e))return sh(e);var t=sl(e),a=[];for(var i in e)"constructor"==i&&(t||!tt.call(e,i))||a.push(i);return a}function ry(e,t){return e<t}function rx(e,t){var i=-1,r=oF(e)?a(e.length):[];return iV(e,function(e,a,n){r[++i]=t(e,a,n)}),r}function rv(e){var t=nQ(e);return 1==t.length&&t[0][2]?sc(t[0][0],t[0][1]):function(a){return a===e||ru(a,e,t)}}function rA(e,t){return sa(e)&&so(t)?sc(sS(e),t):function(a){var r=cO(a,e);return i===r&&r===t?cM(a,e):ro(t,r,m|g)}}function rw(e,t,a,r,n){e!==t&&i0(t,function(s,l){if(n||(n=new iw),oX(s))rE(e,t,l,a,rw,r,n);else{var o=r?r(sb(e,l),s,l+"",e,t,n):i;i===o&&(o=s),iL(e,l,o)}},cH)}function rE(e,t,a,r,n,s,l){var o=sb(e,a),c=sb(t,a),d=l.get(c);if(d)return void iL(e,a,d);var u=s?s(o,c,a+"",e,t,l):i,h=i===u;if(h){var f=oM(c),p=!f&&oH(c),m=!f&&!p&&cr(c);u=c,f||p||m?oM(o)?u=o:oB(o)?u=no(o):p?(h=!1,u=r7(c,!0)):m?(h=!1,u=ni(c,!0)):u=[]:o7(c)||oD(c)?(u=o,oD(o)?u=cm(o):(!oX(o)||oq(o))&&(u=n5(c))):h=!1}h&&(l.set(c,u),n(u,c,r,s,l),l.delete(c)),iL(e,a,u)}function rS(e,t){var a=e.length;if(a)return se(t+=t<0?a:0,a)?e[t]:i}function rC(e,t,a){t=t.length?t8(t,function(e){return oM(e)?function(t){return i6(t,1===e.length?e[0]:e)}:e}):[dB];var i=-1;return t=t8(t,ay(nK())),ap(rx(e,function(e,a,r){return{criteria:t8(t,function(t){return t(e)}),index:++i,value:e}}),function(e,t){return nn(e,t,a)})}function rT(e,t){return rN(e,t,function(t,a){return cM(e,a)})}function rN(e,t,a){for(var i=-1,r=t.length,n={};++i<r;){var s=t[i],l=i6(e,s);a(l,s)&&rF(n,r4(s,e),l)}return n}function rk(e){return function(t){return i6(t,e)}}function rI(e,t,a,i){var r=i?ao:al,n=-1,s=t.length,l=e;for(e===t&&(t=no(t)),a&&(l=t8(e,ay(a)));++n<s;)for(var o=0,c=t[n],d=a?a(c):c;(o=r(l,d,o,i))>-1;)l!==e&&tm.call(l,o,1),tm.call(e,o,1);return e}function rj(e,t){for(var a=e?t.length:0,i=a-1;a--;){var r=t[a];if(a==i||r!==n){var n=r;se(r)?tm.call(e,r,1):rQ(e,r)}}return e}function rP(e,t){return e+tC(tG()*(t-e+1))}function rL(e,t,i,r){for(var n=-1,s=tM(tS((t-e)/(i||1)),0),l=a(s);s--;)l[r?s:++n]=e,e+=i;return l}function rO(e,t){var a="";if(!e||t<1||t>D)return a;do t%2&&(a+=e),(t=tC(t/2))&&(e+=e);while(t)return a}function rD(e,t){return sx(sp(e,t,dB),e+"")}function rM(e){return iI(c6(e))}function rR(e,t){var a=c6(e);return sw(a,iH(t,0,a.length))}function rF(e,t,a,r){if(!oX(e))return e;t=r4(t,e);for(var n=-1,s=t.length,l=s-1,o=e;null!=o&&++n<s;){var c=sS(t[n]),d=a;if("__proto__"===c||"constructor"===c||"prototype"===c)break;if(n!=l){var u=o[c];d=r?r(u,c,o):i,i===d&&(d=oX(u)?u:se(t[n+1])?[]:{})}iO(o,c,d),o=o[c]}return e}var rB=aW?function(e,t){return aW.set(e,t),e}:dB,rU=ty?function(e,t){return ty(e,"toString",{configurable:!0,enumerable:!1,value:dD(t),writable:!0})}:dB;function rH(e){return sw(c6(e))}function r$(e,t,i){var r=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(i=i>n?n:i)<0&&(i+=n),n=t>i?0:i-t>>>0,t>>>=0;for(var s=a(n);++r<n;)s[r]=e[r+t];return s}function rG(e,t){var a;return iV(e,function(e,i,r){return!(a=t(e,i,r))}),!!a}function rW(e,t,a){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=U){for(;i<r;){var n=i+r>>>1,s=e[n];null!==s&&!ci(s)&&(a?s<=t:s<t)?i=n+1:r=n}return r}return rY(e,t,dB,a)}function rY(e,t,a,r){var n=0,s=null==e?0:e.length;if(0===s)return 0;for(var l=(t=a(t))!=t,o=null===t,c=ci(t),d=i===t;n<s;){var u=tC((n+s)/2),h=a(e[u]),f=i!==h,p=null===h,m=h==h,g=ci(h);if(l)var b=r||m;else b=d?m&&(r||f):o?m&&f&&(r||!p):c?m&&f&&!p&&(r||!g):!p&&!g&&(r?h<=t:h<t);b?n=u+1:s=u}return tB(s,B)}function rz(e,t){for(var a=-1,i=e.length,r=0,n=[];++a<i;){var s=e[a],l=t?t(s):s;if(!a||!oP(l,o)){var o=l;n[r++]=0===s?0:s}}return n}function rV(e){return"number"==typeof e?e:ci(e)?R:+e}function rK(e){if("string"==typeof e)return e;if(oM(e))return t8(e,rK)+"";if(ci(e))return a1?a1.call(e):"";var t=e+"";return"0"==t&&1/e==-O?"-0":t}function rq(e,t,a){var i=-1,r=t6,s=e.length,l=!0,o=[],c=o;if(a)l=!1,r=t5;else if(s>=n){var d=t?null:nL(e);if(d)return aD(d);l=!1,r=av,c=new ix}else c=t?[]:o;
vendor: 21,631 bytes, line 2
2t:for(;++i<s;){var u=e[i],h=t?t(u):u;if(u=a||0!==u?u:0,l&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;t&&c.push(h),o.push(u)}else r(c,h,a)||(c!==o&&c.push(h),o.push(u))}return o}function rQ(e,t){t=r4(t,e);var a=-1,i=t.length;if(!i)return!0;for(var r=null==e||"object"!=typeof e&&"function"!=typeof e;++a<i;){var n=t[a];if("string"==typeof n){if("__proto__"===n&&!tt.call(e,"__proto__"))return!1;if("constructor"===n&&a+1<i&&"string"==typeof t[a+1]&&"prototype"===t[a+1]){if(r&&0===a)continue;return!1}}}var s=sm(e,t);return null==s||delete s[sS(sJ(t))]}function rZ(e,t,a,i){return rF(e,t,a(i6(e,t)),i)}function rX(e,t,a,i){for(var r=e.length,n=i?r:-1;(i?n--:++n<r)&&t(e[n],n,e););return a?r$(e,i?0:n,i?n+1:r):r$(e,i?n+1:0,i?r:n)}function rJ(e,t){var a=e;return a instanceof a5&&(a=a.value()),t9(t,function(e,t){return t.func.apply(t.thisArg,t7([e],t.args))},a)}function r0(e,t,i){var r=e.length;if(r<2)return r?rq(e[0]):[];for(var n=-1,s=a(r);++n<r;)for(var l=e[n],o=-1;++o<r;)o!=n&&(s[n]=iz(s[n]||l,e[o],t,i));return rq(iJ(s,1),t,i)}function r1(e,t,a){for(var r=-1,n=e.length,s=t.length,l={};++r<n;){var o=r<s?t[r]:i;a(l,e[r],o)}return l}function r2(e){return oB(e)?e:[]}function r3(e){return"function"==typeof e?e:dB}function r4(e,t){return oM(e)?e:sa(e,t)?[e]:sE(cb(e))}var r6=rD;function r5(e,t,a){var r=e.length;return a=i===a?r:a,!t&&a>=r?e:r$(e,t,a)}var r8=tx||function(e){return tH.clearTimeout(e)};function r7(e,t){if(t)return e.slice();var a=e.length,i=tu?tu(a):new e.constructor(a);return e.copy(i),i}function r9(e){var t=new e.constructor(e.byteLength);return new td(t).set(new td(e)),t}function ne(e,t){var a=t?r9(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}function nt(e){var t=new e.constructor(e.source,eY.exec(e));return t.lastIndex=e.lastIndex,t}function na(e){return a0?e2(a0.call(e)):{}}function ni(e,t){var a=t?r9(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}function nr(e,t){if(e!==t){var a=i!==e,r=null===e,n=e==e,s=ci(e),l=i!==t,o=null===t,c=t==t,d=ci(t);if(!o&&!d&&!s&&e>t||s&&l&&c&&!o&&!d||r&&l&&c||!a&&c||!n)return 1;if(!r&&!s&&!d&&e<t||d&&a&&n&&!r&&!s||o&&a&&n||!l&&n||!c)return -1}return 0}function nn(e,t,a){for(var i=-1,r=e.criteria,n=t.criteria,s=r.length,l=a.length;++i<s;){var o=nr(r[i],n[i]);if(o){if(i>=l)return o;return o*("desc"==a[i]?-1:1)}}return e.index-t.index}function ns(e,t,i,r){for(var n=-1,s=e.length,l=i.length,o=-1,c=t.length,d=tM(s-l,0),u=a(c+d),h=!r;++o<c;)u[o]=t[o];for(;++n<l;)(h||n<s)&&(u[i[n]]=e[n]);for(;d--;)u[o++]=e[n++];return u}function nl(e,t,i,r){for(var n=-1,s=e.length,l=-1,o=i.length,c=-1,d=t.length,u=tM(s-o,0),h=a(u+d),f=!r;++n<u;)h[n]=e[n];for(var p=n;++c<d;)h[p+c]=t[c];for(;++l<o;)(f||n<s)&&(h[p+i[l]]=e[n++]);return h}function no(e,t){var i=-1,r=e.length;for(t||(t=a(r));++i<r;)t[i]=e[i];return t}function nc(e,t,a,r){var n=!a;a||(a={});for(var s=-1,l=t.length;++s<l;){var o=t[s],c=r?r(a[o],e[o],o,a,e):i;i===c&&(c=e[o]),n?iB(a,o,c):iO(a,o,c)}return a}function nd(e,t){return nc(e,nJ(e),t)}function nu(e,t){return nc(e,n0(e),t)}function nh(e,t){return function(a,i){var r=oM(a)?t0:iM,n=t?t():{};return r(a,e,nK(i,2),n)}}function nf(e){return rD(function(t,a){var r=-1,n=a.length,s=n>1?a[n-1]:i,l=n>2?a[2]:i;for(s=e.length>3&&"function"==typeof s?(n--,s):i,l&&st(a[0],a[1],l)&&(s=n<3?i:s,n=1),t=e2(t);++r<n;){var o=a[r];o&&e(t,o,r,s)}return t})}function np(e,t){return function(a,i){if(null==a)return a;if(!oF(a))return e(a,i);for(var r=a.length,n=t?r:-1,s=e2(a);(t?n--:++n<r)&&!1!==i(s[n],n,s););return a}}function nm(e){return function(t,a,i){for(var r=-1,n=e2(t),s=i(t),l=s.length;l--;){var o=s[e?l:++r];if(!1===a(n[o],o,n))break}return t}}function ng(e,t,a){var i=t&b,r=ny(e);function n(){return(this&&this!==tH&&this instanceof n?r:e).apply(i?a:this,arguments)}return n}function nb(e){return function(t){var a=ak(t=cb(t))?aU(t):i,r=a?a[0]:t.charAt(0),n=a?r5(a,1).join(""):t.slice(1);return r[e]()+n}}function n_(e){return function(t){return t9(dI(da(t).replace(tw,"")),e,"")}}function ny(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var a=a3(e.prototype),i=e.apply(a,t);return oX(i)?i:a}}function nx(e,t,r){var n=ny(e);function s(){for(var l=arguments.length,o=a(l),c=l,d=nV(s);c--;)o[c]=arguments[c];var u=l<3&&o[0]!==d&&o[l-1]!==d?[]:aO(o,d);return(l-=u.length)<r?nj(e,t,nw,s.placeholder,i,o,u,i,i,r-l):tJ(this&&this!==tH&&this instanceof s?n:e,this,o)}return s}function nv(e){return function(t,a,r){var n=e2(t);if(!oF(t)){var s=nK(a,3);t=cU(t),a=function(e){return s(n[e],e,n)}}var l=e(t,a,r);return l>-1?n[s?t[l]:l]:i}}function nA(e){return n$(function(t){var a=t.length,r=a,n=a6.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new e6(l);if(n&&!o&&"wrapper"==nz(s))var o=new a6([],!0)}for(r=o?r:a;++r<a;){var c=nz(s=t[r]),d="wrapper"==c?nY(s):i;o=d&&sr(d[0])&&d[1]==(E|x|A|S)&&!d[4].length&&1==d[9]?o[nz(d[0])].apply(o,d[3]):1==s.length&&sr(s)?o[c]():o.thru(s)}return function(){var e=arguments,i=e[0];if(o&&1==e.length&&oM(i))return o.plant(i).value();for(var r=0,n=a?t[r].apply(this,e):i;++r<a;)n=t[r].call(this,n);return n}})}function nw(e,t,r,n,s,l,o,c,d,u){var h=t&E,f=t&b,p=t&_,m=t&(x|v),g=t&C,y=p?i:ny(e);function A(){for(var i=arguments.length,b=a(i),_=i;_--;)b[_]=arguments[_];if(m)var x=nV(A),v=aE(b,x);if(n&&(b=ns(b,n,s,m)),l&&(b=nl(b,l,o,m)),i-=v,m&&i<u){var w=aO(b,x);return nj(e,t,nw,A.placeholder,r,b,w,c,d,u-i)}var E=f?r:this,S=p?E[e]:e;return i=b.length,c?b=sg(b,c):g&&i>1&&b.reverse(),h&&d<i&&(b.length=d),this&&this!==tH&&this instanceof A&&(S=y||ny(S)),S.apply(E,b)}return A}function nE(e,t){return function(a,i){return ri(a,e,t(i),{})}}function nS(e,t){return function(a,r){var n;if(i===a&&i===r)return t;if(i!==a&&(n=a),i!==r){if(i===n)return r;"string"==typeof a||"string"==typeof r?(a=rK(a),r=rK(r)):(a=rV(a),r=rV(r)),n=e(a,r)}return n}}function nC(e){return n$(function(t){return t=t8(t,ay(nK())),rD(function(a){var i=this;return e(t,function(e){return tJ(e,i,a)})})})}function nT(e,t){var a=(t=i===t?" ":rK(t)).length;if(a<2)return a?rO(t,e):t;var r=rO(t,tS(e/aB(t)));return ak(t)?r5(aU(r),0,e).join(""):r.slice(0,e)}function nN(e,t,i,r){var n=t&b,s=ny(e);function l(){for(var t=-1,o=arguments.length,c=-1,d=r.length,u=a(d+o),h=this&&this!==tH&&this instanceof l?s:e;++c<d;)u[c]=r[c];for(;o--;)u[c++]=arguments[++t];return tJ(h,n?i:this,u)}return l}function nk(e){return function(t,a,r){return r&&"number"!=typeof r&&st(t,a,r)&&(a=r=i),t=cu(t),i===a?(a=t,t=0):a=cu(a),r=i===r?t<a?1:-1:cu(r),rL(t,a,r,e)}}function nI(e){return function(t,a){return("string"!=typeof t||"string"!=typeof a)&&(t=cp(t),a=cp(a)),e(t,a)}}function nj(e,t,a,r,n,s,l,o,c,d){var u=t&x,h=u?l:i,f=u?i:l,p=u?s:i,m=u?i:s;t|=u?A:w,(t&=~(u?w:A))&y||(t&=~(b|_));var g=[e,t,n,p,h,m,f,o,c,d],v=a.apply(i,g);return sr(e)&&s_(v,g),v.placeholder=r,sv(v,e,t)}function nP(e){var t=e1[e];return function(e,a){if(e=cp(e),(a=null==a?0:tB(ch(a),292))&&tL(e)){var i=(cb(e)+"e").split("e");return+((i=(cb(t(i[0]+"e"+(+i[1]+a)))+"e").split("e"))[0]+"e"+(i[1]-a))}return t(e)}}var nL=ah&&1/aD(new ah([,-0]))[1]==O?function(e){return new ah(e)}:dV;function nO(e){return function(t){var a=n1(t);return a==Z?aP(t):a==er?aM(t):ab(t,e(t))}}function nD(e,t,a,r,n,s,o,c){var d=t&_;if(!d&&"function"!=typeof e)throw new e6(l);var u=r?r.length:0;if(u||(t&=~(A|w),r=n=i),o=i===o?o:tM(ch(o),0),c=i===c?c:ch(c),u-=n?n.length:0,t&w){var h=r,f=n;r=n=i}var p=d?i:nY(e),m=[e,t,a,r,n,h,f,s,o,c];if(p&&su(m,p),e=m[0],t=m[1],a=m[2],r=m[3],n=m[4],(c=m[9]=m[9]===i?d?0:e.length:tM(m[9]-u,0))||!(t&(x|v))||(t&=~(x|v)),t&&t!=b)g=t==x||t==v?nx(e,t,c):t!=A&&t!=(b|A)||n.length?nw.apply(i,m):nN(e,t,a,r);else var g=ng(e,t,a);return sv((p?rB:s_)(g,m),e,t)}function nM(e,t,a,r){return i===e||oP(e,e7[a])&&!tt.call(r,a)?t:e}function nR(e,t,a,r,n,s){return oX(e)&&oX(t)&&(s.set(t,e),rw(e,t,i,nR,s),s.delete(t)),e}function nF(e){return o7(e)?i:e}function nB(e,t,a,r,n,s){var l=a&m,o=e.length,c=t.length;if(o!=c&&!(l&&c>o))return!1;var d=s.get(e),u=s.get(t);if(d&&u)return d==t&&u==e;var h=-1,f=!0,p=a&g?new ix:i;for(s.set(e,t),s.set(t,e);++h<o;){var b=e[h],_=t[h];if(r)var y=l?r(_,b,h,t,e,s):r(b,_,h,e,t,s);if(i!==y){if(y)continue;f=!1;break}if(p){if(!at(t,function(e,t){if(!av(p,t)&&(b===e||n(b,e,a,r,s)))return p.push(t)})){f=!1;break}}else if(!(b===_||n(b,_,a,r,s))){f=!1;break}}return s.delete(e),s.delete(t),f}function nU(e,t,a,i,r,n,s){switch(a){case eu:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case ed:if(e.byteLength!=t.byteLength||!n(new td(e),new td(t)))break;return!0;case Y:case z:case X:return oP(+e,+t);case K:return e.name==t.name&&e.message==t.message;case ei:case en:return e==t+"";case Z:var l=aP;case er:var o=i&m;if(l||(l=aD),e.size!=t.size&&!o)break;var c=s.get(e);if(c)return c==t;i|=g,s.set(e,t);var d=nB(l(e),l(t),i,r,n,s);return s.delete(e),d;case es:if(a0)return a0.call(e)==a0.call(t)}return!1}function nH(e,t,a,r,n,s){var l=a&m,o=nG(e),c=o.length;if(c!=nG(t).length&&!l)return!1;for(var d=c;d--;){var u=o[d];if(!(l?u in t:tt.call(t,u)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var p=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<c;){var b=e[u=o[d]],_=t[u];if(r)var y=l?r(_,b,u,t,e,s):r(b,_,u,e,t,s);if(!(i===y?b===_||n(b,_,a,r,s):y)){p=!1;break}g||(g="constructor"==u)}if(p&&!g){var x=e.constructor,v=t.constructor;x!=v&&"constructor"in e&&"constructor"in t&&!("function"==typeof x&&x instanceof x&&"function"==typeof v&&v instanceof v)&&(p=!1)}return s.delete(e),s.delete(t),p}function n$(e){return sx(sp(e,i,s$),e+"")}function nG(e){return i5(e,cU,nJ)}function nW(e){return i5(e,cH,n0)}var nY=aW?function(e){return aW.get(e)}:dV;function nz(e){for(var t=e.name+"",a=aV[t],i=tt.call(aV,t)?a.length:0;i--;){var r=a[i],n=r.func;if(null==n||n==e)return r.name}return t}function nV(e){return(tt.call(a2,"placeholder")?a2:e).placeholder}function nK(){var e=a2.iteratee||dU;return e=e===dU?rg:e,arguments.length?e(arguments[0],arguments[1]):e}function nq(e,t){var a=e.__data__;return si(t)?a["string"==typeof t?"string":"hash"]:a.map}function nQ(e){for(var t=cU(e),a=t.length;a--;){var i=t[a],r=e[i];t[a]=[i,r,so(r)]}return t}function nZ(e,t){var a=aN(e,t);return rh(a)?a:i}function nX(e){var t=tt.call(e,t_),a=e[t_];try{e[t_]=i;var r=!0}catch(e){}var n=tr.call(e);return r&&(t?e[t_]=a:delete e[t_]),n}var nJ=tT?function(e){return null==e?[]:t4(tT(e=e2(e)),function(t){return tp.call(e,t)})}:d2,n0=tT?function(e){for(var t=[];e;)t7(t,nJ(e)),e=th(e);return t}:d2,n1=i8;function n2(e,t,a){for(var i=-1,r=a.length;++i<r;){var n=a[i],s=n.size;switch(n.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=tB(t,e+s);break;case"takeRight":e=tM(e,t-s)}}return{start:e,end:t}}function n3(e){var t=e.match(eB);return t?t[1].split(eU):[]}function n4(e,t,a){t=r4(t,e);for(var i=-1,r=t.length,n=!1;++i<r;){var s=sS(t[i]);if(!(n=null!=e&&a(e,s)))break;e=e[s]}return n||++i!=r?n:!!(r=null==e?0:e.length)&&oZ(r)&&se(s,r)&&(oM(e)||oD(e))}function n6(e){var t=e.length,a=new e.constructor(t);return t&&"string"==typeof e[0]&&tt.call(e,"index")&&(a.index=e.index,a.input=e.input),a}function n5(e){return"function"!=typeof e.constructor||sl(e)?{}:a3(th(e))}function n8(e,t,a){var i=e.constructor;switch(t){case ed:return r9(e);case Y:case z:return new i(+e);case eu:return ne(e,a);case eh:case ef:case ep:case em:case eg:case eb:case e_:case ey:case ex:return ni(e,a);case Z:return new i;case X:case en:return new i(e);case ei:return nt(e);case er:return new i;case es:return na(e)}}function n7(e,t){var a=t.length;if(!a)return e;var i=a-1;return t[i]=(a>1?"& ":"")+t[i],t=t.join(a>2?", ":" "),e.replace(eF,"{\n/* [wrapped with "+t+"] */\n")}function n9(e){return oM(e)||oD(e)||!!(tg&&e&&e[tg])}function se(e,t){var a=typeof e;return!!(t=null==t?D:t)&&("number"==a||"symbol"!=a&&eQ.test(e))&&e>-1&&e%1==0&&e<t}function st(e,t,a){if(!oX(a))return!1;var i=typeof t;return("number"==i?!!(oF(a)&&se(t,a.length)):"string"==i&&t in a)&&oP(a[t],e)}function sa(e,t){if(oM(e))return!1;var a=typeof e;return!!("number"==a||"symbol"==a||"boolean"==a||null==e||ci(e))||eP.test(e)||!ej.test(e)||null!=t&&e in e2(t)}function si(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function sr(e){var t=nz(e),a=a2[t];if("function"!=typeof a||!(t in a5.prototype))return!1;if(e===a)return!0;var i=nY(a);return!!i&&e===i[0]}function sn(e){return!!ti&&ti in e}(tz&&n1(new tz(new ArrayBuffer(1)))!=eu||aa&&n1(new aa)!=Z||ai&&n1(ai.resolve())!=et||ah&&n1(new ah)!=er||aR&&n1(new aR)!=eo)&&(n1=function(e){var t=i8(e),a=t==ee?e.constructor:i,r=a?sC(a):"";if(r)switch(r){case aK:return eu;case aq:return Z;case aQ:return et;case aZ:return er;case aX:return eo}return t});var ss=e9?oq:d3;function sl(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||e7)}function so(e){return e==e&&!oX(e)}function sc(e,t){return function(a){return null!=a&&a[e]===t&&(i!==t||e in e2(a))}}function sd(e){var t=op(e,function(e){return a.size===d&&a.clear(),e}),a=t.cache;return t}function su(e,t){var a=e[1],i=t[1],r=a|i,n=r<(b|_|E),s=i==E&&a==x||i==E&&a==S&&e[7].length<=t[8]||i==(E|S)&&t[7].length<=t[8]&&a==x;if(!(n||s))return e;i&b&&(e[2]=t[2],r|=a&b?0:y);var l=t[3];if(l){var o=e[3];e[3]=o?ns(o,l,t[4]):l,e[4]=o?aO(e[3],u):t[4]}return(l=t[5])&&(o=e[5],e[5]=o?nl(o,l,t[6]):l,e[6]=o?aO(e[5],u):t[6]),(l=t[7])&&(e[7]=l),i&E&&(e[8]=null==e[8]?t[8]:tB(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}function sh(e){var t=[];if(null!=e)for(var a in e2(e))t.push(a);return t}function sf(e){return tr.call(e)}function sp(e,t,r){return t=tM(i===t?e.length-1:t,0),function(){for(var i=arguments,n=-1,s=tM(i.length-t,0),l=a(s);++n<s;)l[n]=i[t+n];n=-1;for(var o=a(t+1);++n<t;)o[n]=i[n];return o[t]=r(l),tJ(e,this,o)}}function sm(e,t){return t.length<2?e:i6(e,r$(t,0,-1))}function sg(e,t){for(var a=e.length,r=tB(t.length,a),n=no(e);r--;){var s=t[r];e[r]=se(s,a)?n[s]:i}return e}function sb(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var s_=sA(rB),sy=tA||function(e,t){return tH.setTimeout(e,t)},sx=sA(rU);function sv(e,t,a){var i=t+"";return sx(e,n7(i,sT(n3(i),a)))}function sA(e){var t=0,a=0;return function(){var r=tU(),n=I-(r-a);if(a=r,n>0){if(++t>=k)return arguments[0]}else t=0;return e.apply(i,arguments)}}function sw(e,t){var a=-1,r=e.length,n=r-1;for(t=i===t?r:t;++a<t;){var s=rP(a,n),l=e[s];e[s]=e[a],e[a]=l}return e.length=t,e}var sE=sd(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(eL,function(e,a,i,r){t.push(i?r.replace(eG,"$1"):a||e)}),t});function sS(e){if("string"==typeof e||ci(e))return e;var t=e+"";return"0"==t&&1/e==-O?"-0":t}function sC(e){if(null!=e){try{return te.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function sT(e,t){return t1(H,function(a){var i="_."+a[0];t&a[1]&&!t6(e,i)&&e.push(i)}),e.sort()}function sN(e){if(e instanceof a5)return e.clone();var t=new a6(e.__wrapped__,e.__chain__);return t.__actions__=no(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function sk(e,t,r){t=(r?st(e,t,r):i===t)?1:tM(ch(t),0);var n=null==e?0:e.length;if(!n||t<1)return[];for(var s=0,l=0,o=a(tS(n/t));s<n;)o[l++]=r$(e,s,s+=t);return o}function sI(e){for(var t=-1,a=null==e?0:e.length,i=0,r=[];++t<a;){var n=e[t];n&&(r[i++]=n)}return r}function sj(){var e=arguments.length;if(!e)return[];for(var t=a(e-1),i=arguments[0],r=e;r--;)t[r-1]=arguments[r];return t7(oM(i)?no(i):[i],iJ(t,1))}var sP=rD(function(e,t){return oB(e)?iz(e,iJ(t,1,oB,!0)):[]}),sL=rD(function(e,t){var a=sJ(t);return oB(a)&&(a=i),oB(e)?iz(e,iJ(t,1,oB,!0),nK(a,2)):[]}),sO=rD(function(e,t){var a=sJ(t);return oB(a)&&(a=i),oB(e)?iz(e,iJ(t,1,oB,!0),i,a):[]});function sD(e,t,a){var r=null==e?0:e.length;return r?r$(e,(t=a||i===t?1:ch(t))<0?0:t,r):[]}function sM(e,t,a){var r=null==e?0:e.length;return r?r$(e,0,(t=r-(t=a||i===t?1:ch(t)))<0?0:t):[]}function sR(e,t){return e&&e.length?rX(e,nK(t,3),!0,!0):[]}function sF(e,t){return e&&e.length?rX(e,nK(t,3),!0):[]}function sB(e,t,a,i){var r=null==e?0:e.length;return r?(a&&"number"!=typeof a&&st(e,t,a)&&(a=0,i=r),iZ(e,t,a,i)):[]}function sU(e,t,a){var i=null==e?0:e.length;if(!i)return -1;var r=null==a?0:ch(a);return r<0&&(r=tM(i+r,0)),as(e,nK(t,3),r)}function sH(e,t,a){var r=null==e?0:e.length;if(!r)return -1;var n=r-1;return i!==a&&(n=ch(a),n=a<0?tM(r+n,0):tB(n,r-1)),as(e,nK(t,3),n,!0)}function s$(e){return(null==e?0:e.length)?iJ(e,1):[]}function sG(e){return(null==e?0:e.length)?iJ(e,O):[]}function sW(e,t){return(null==e?0:e.length)?iJ(e,t=i===t?1:ch(t)):[]}function sY(e){for(var t=-1,a=null==e?0:e.length,i={};++t<a;){var r=e[t];i[r[0]]=r[1]}return i}function sz(e){return e&&e.length?e[0]:i}function sV(e,t,a){var i=null==e?0:e.length;if(!i)return -1;var r=null==a?0:ch(a);return r<0&&(r=tM(i+r,0)),al(e,t,r)}function sK(e){return(null==e?0:e.length)?r$(e,0,-1):[]}var sq=rD(function(e){var t=t8(e,r2);return t.length&&t[0]===e[0]?ra(t):[]}),sQ=rD(function(e){var t=sJ(e),a=t8(e,r2);return t===sJ(a)?t=i:a.pop(),a.length&&a[0]===e[0]?ra(a,nK(t,2)):[]}),sZ=rD(function(e){var t=sJ(e),a=t8(e,r2);return(t="function"==typeof t?t:i)&&a.pop(),a.length&&a[0]===e[0]?ra(a,i,t):[]});function sX(e,t){return null==e?"":tO.call(e,t)}function sJ(e){var t=null==e?0:e.length;return t?e[t-1]:i}function s0(e,t,a){var r=null==e?0:e.length;if(!r)return -1;var n=r;return i!==a&&(n=(n=ch(a))<0?tM(r+n,0):tB(n,r-1)),t==t?aF(e,t,n):as(e,ac,n,!0)}function s1(e,t){return e&&e.length?rS(e,ch(t)):i}var s2=rD(s3);function s3(e,t){return e&&e.length&&t&&t.length?rI(e,t):e}function s4(e,t,a){return e&&e.length&&t&&t.length?rI(e,t,nK(a,2)):e}function s6(e,t,a){return e&&e.length&&t&&t.length?rI(e,t,i,a):e}var s5=n$(function(e,t){var a=null==e?0:e.length,i=iU(e,t);return rj(e,t8(t,function(e){return se(e,a)?+e:e}).sort(nr)),i});function s8(e,t){var a=[];if(!(e&&e.length))return a;var i=-1,r=[],n=e.length;for(t=nK(t,3);++i<n;){var s=e[i];t(s,i,e)&&(a.push(s),r.push(i))}return rj(e,r),a}function s7(e){return null==e?e:tY.call(e)}function s9(e,t,a){var r=null==e?0:e.length;return r?(a&&"number"!=typeof a&&st(e,t,a)?(t=0,a=r):(t=null==t?0:ch(t),a=i===a?r:ch(a)),r$(e,t,a)):[]}function le(e,t){return rW(e,t)}function lt(e,t,a){return rY(e,t,nK(a,2))}function la(e,t){var a=null==e?0:e.length;if(a){var i=rW(e,t);if(i<a&&oP(e[i],t))return i}return -1}function li(e,t){return rW(e,t,!0)}function lr(e,t,a){return rY(e,t,nK(a,2),!0)}function ln(e,t){if(null==e?0:e.length){var a=rW(e,t,!0)-1;if(oP(e[a],t))return a}return -1}function ls(e){return e&&e.length?rz(e):[]}function ll(e,t){return e&&e.length?rz(e,nK(t,2)):[]}function lo(e){var t=null==e?0:e.length;return t?r$(e,1,t):[]}function lc(e,t,a){return e&&e.length?r$(e,0,(t=a||i===t?1:ch(t))<0?0:t):[]}function ld(e,t,a){var r=null==e?0:e.length;return r?r$(e,(t=r-(t=a||i===t?1:ch(t)))<0?0:t,r):[]}function lu(e,t){return e&&e.length?rX(e,nK(t,3),!1,!0):[]}function lh(e,t){return e&&e.length?rX(e,nK(t,3)):[]}var lf=rD(function(e){return rq(iJ(e,1,oB,!0))}),lp=rD(function(e){var t=sJ(e);return oB(t)&&(t=i),rq(iJ(e,1,oB,!0),nK(t,2))}),lm=rD(function(e){var t=sJ(e);return t="function"==typeof t?t:i,rq(iJ(e,1,oB,!0),i,t)});function lg(e){return e&&e.length?rq(e):[]}function lb(e,t){return e&&e.length?rq(e,nK(t,2)):[]}function l_(e,t){return t="function"==typeof t?t:i,e&&e.length?rq(e,i,t):[]}function ly(e){if(!(e&&e.length))return[];var t=0;return e=t4(e,function(e){if(oB(e))return t=tM(e.length,t),!0}),ag(t,function(t){return t8(e,au(t))})}function lx(e,t){if(!(e&&e.length))return[];var a=ly(e);return null==t?a:t8(a,function(e){return tJ(t,i,e)})}var lv=rD(function(e,t){return oB(e)?iz(e,t):[]}),lA=rD(function(e){return r0(t4(e,oB))}),lw=rD(function(e){var t=sJ(e);return oB(t)&&(t=i),r0(t4(e,oB),nK(t,2))}),lE=rD(function(e){var t=sJ(e);return t="function"==typeof t?t:i,r0(t4(e,oB),i,t)}),lS=rD(ly);function lC(e,t){return r1(e||[],t||[],iO)}function lT(e,t){return r1(e||[],t||[],rF)}var lN=rD(function(e){var t=e.length,a=t>1?e[t-1]:i;return a="function"==typeof a?(e.pop(),a):i,lx(e,a)});function lk(e){var t=a2(e);return t.__chain__=!0,t}function lI(e,t){return t(e),e}function lj(e,t){return t(e)}var lP=n$(function(e){var t=e.length,a=t?e[0]:0,r=this.__wrapped__,n=function(t){return iU(t,e)};return!(t>1)&&!this.__actions__.length&&r instanceof a5&&se(a)?((r=r.slice(a,+a+ +!!t)).__actions__.push({func:lj,args:[n],thisArg:i}),new a6(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(n)});function lL(){return lk(this)}function lO(){return new a6(this.value(),this.__chain__)}function lD(){this.__values__===i&&(this.__values__=cd(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function lM(){return this}function lR(e){for(var t,a=this;a instanceof a4;){var r=sN(a);r.__index__=0,r.__values__=i,t?n.__wrapped__=r:t=r;var n=r;a=a.__wrapped__}return n.__wrapped__=e,t}function lF(){var e=this.__wrapped__;if(e instanceof a5){var t=e;return this.__actions__.length&&(t=new a5(this)),(t=t.reverse()).__actions__.push({func:lj,args:[s7],thisArg:i}),new a6(t,this.__chain__)}return this.thru(s7)}function lB(){return rJ(this.__wrapped__,this.__actions__)}var lU=nh(function(e,t,a){tt.call(e,a)?++e[a]:iB(e,a,1)});function lH(e,t,a){var r=oM(e)?t3:iq;return a&&st(e,t,a)&&(t=i),r(e,nK(t,3))}
2function l$(e,t){return(oM(e)?t4:iX)(e,nK(t,3))}var lG=nv(sU),lW=nv(sH);function lY(e,t){return iJ(l0(e,t),1)}function lz(e,t){return iJ(l0(e,t),O)}function lV(e,t,a){return a=i===a?1:ch(a),iJ(l0(e,t),a)}function lK(e,t){return(oM(e)?t1:iV)(e,nK(t,3))}function lq(e,t){return(oM(e)?t2:iK)(e,nK(t,3))}var lQ=nh(function(e,t,a){tt.call(e,a)?e[a].push(t):iB(e,a,[t])});function lZ(e,t,a,i){e=oF(e)?e:c6(e),a=a&&!i?ch(a):0;var r=e.length;return a<0&&(a=tM(r+a,0)),ca(e)?a<=r&&e.indexOf(t,a)>-1:!!r&&al(e,t,a)>-1}var lX=rD(function(e,t,i){var r=-1,n="function"==typeof t,s=oF(e)?a(e.length):[];return iV(e,function(e){s[++r]=n?tJ(t,e,i):rr(e,t,i)}),s}),lJ=nh(function(e,t,a){iB(e,a,t)});function l0(e,t){return(oM(e)?t8:rx)(e,nK(t,3))}function l1(e,t,a,r){return null==e?[]:(oM(t)||(t=null==t?[]:[t]),oM(a=r?i:a)||(a=null==a?[]:[a]),rC(e,t,a))}var l2=nh(function(e,t,a){e[+!a].push(t)},function(){return[[],[]]});function l3(e,t,a){var i=oM(e)?t9:af,r=arguments.length<3;return i(e,nK(t,4),a,r,iV)}function l4(e,t,a){var i=oM(e)?ae:af,r=arguments.length<3;return i(e,nK(t,4),a,r,iK)}function l6(e,t){return(oM(e)?t4:iX)(e,om(nK(t,3)))}function l5(e){return(oM(e)?iI:rM)(e)}function l8(e,t,a){return t=(a?st(e,t,a):i===t)?1:ch(t),(oM(e)?ij:rR)(e,t)}function l7(e){return(oM(e)?iP:rH)(e)}function l9(e){if(null==e)return 0;if(oF(e))return ca(e)?aB(e):e.length;var t=n1(e);return t==Z||t==er?e.size:rb(e).length}function oe(e,t,a){var r=oM(e)?at:rG;return a&&st(e,t,a)&&(t=i),r(e,nK(t,3))}var ot=rD(function(e,t){if(null==e)return[];var a=t.length;return a>1&&st(e,t[0],t[1])?t=[]:a>2&&st(t[0],t[1],t[2])&&(t=[t[0]]),rC(e,iJ(t,1),[])}),oa=tv||function(){return tH.Date.now()};function oi(e,t){if("function"!=typeof t)throw new e6(l);return e=ch(e),function(){if(--e<1)return t.apply(this,arguments)}}function or(e,t,a){return t=a?i:t,t=e&&null==t?e.length:t,nD(e,E,i,i,i,i,t)}function on(e,t){var a;if("function"!=typeof t)throw new e6(l);return e=ch(e),function(){return--e>0&&(a=t.apply(this,arguments)),e<=1&&(t=i),a}}var os=rD(function(e,t,a){var i=b;if(a.length){var r=aO(a,nV(os));i|=A}return nD(e,i,t,a,r)}),ol=rD(function(e,t,a){var i=b|_;if(a.length){var r=aO(a,nV(ol));i|=A}return nD(t,i,e,a,r)});function oo(e,t,a){t=a?i:t;var r=nD(e,x,i,i,i,i,i,t);return r.placeholder=oo.placeholder,r}function oc(e,t,a){t=a?i:t;var r=nD(e,v,i,i,i,i,i,t);return r.placeholder=oc.placeholder,r}function od(e,t,a){var r,n,s,o,c,d,u=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new e6(l);function m(t){var a=r,s=n;return r=n=i,u=t,o=e.apply(s,a)}function g(e){return u=e,c=sy(y,t),h?m(e):o}function b(e){var a=e-d,i=e-u,r=t-a;return f?tB(r,s-i):r}function _(e){var a=e-d,r=e-u;return i===d||a>=t||a<0||f&&r>=s}function y(){var e=oa();if(_(e))return x(e);c=sy(y,b(e))}function x(e){return(c=i,p&&r)?m(e):(r=n=i,o)}function v(){return i===c?o:x(oa())}function A(){var e=oa(),a=_(e);if(r=arguments,n=this,d=e,a){if(i===c)return g(d);if(f)return r8(c),c=sy(y,t),m(d)}return i===c&&(c=sy(y,t)),o}return t=cp(t)||0,oX(a)&&(h=!!a.leading,s=(f="maxWait"in a)?tM(cp(a.maxWait)||0,t):s,p="trailing"in a?!!a.trailing:p),A.cancel=function(){i!==c&&r8(c),u=0,r=d=n=c=i},A.flush=v,A}var ou=rD(function(e,t){return iY(e,1,t)}),oh=rD(function(e,t,a){return iY(e,cp(t)||0,a)});function of(e){return nD(e,C)}function op(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new e6(l);var a=function(){var i=arguments,r=t?t.apply(this,i):i[0],n=a.cache;if(n.has(r))return n.get(r);var s=e.apply(this,i);return a.cache=n.set(r,s)||n,s};return a.cache=new(op.Cache||ip),a}function om(e){if("function"!=typeof e)throw new e6(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function og(e){return on(2,e)}op.Cache=ip;var ob=r6(function(e,t){var a=(t=1==t.length&&oM(t[0])?t8(t[0],ay(nK())):t8(iJ(t,1),ay(nK()))).length;return rD(function(i){for(var r=-1,n=tB(i.length,a);++r<n;)i[r]=t[r].call(this,i[r]);return tJ(e,this,i)})}),o_=rD(function(e,t){var a=aO(t,nV(o_));return nD(e,A,i,t,a)}),oy=rD(function(e,t){var a=aO(t,nV(oy));return nD(e,w,i,t,a)}),ox=n$(function(e,t){return nD(e,S,i,i,i,t)});function ov(e,t){if("function"!=typeof e)throw new e6(l);return rD(e,t=i===t?t:ch(t))}function oA(e,t){if("function"!=typeof e)throw new e6(l);return t=null==t?0:tM(ch(t),0),rD(function(a){var i=a[t],r=r5(a,0,t);return i&&t7(r,i),tJ(e,this,r)})}function ow(e,t,a){var i=!0,r=!0;if("function"!=typeof e)throw new e6(l);return oX(a)&&(i="leading"in a?!!a.leading:i,r="trailing"in a?!!a.trailing:r),od(e,t,{leading:i,maxWait:t,trailing:r})}function oE(e){return or(e,1)}function oS(e,t){return o_(r3(t),e)}function oC(){if(!arguments.length)return[];var e=arguments[0];return oM(e)?e:[e]}function oT(e){return i$(e,p)}function oN(e,t){return i$(e,p,t="function"==typeof t?t:i)}function ok(e){return i$(e,h|p)}function oI(e,t){return i$(e,h|p,t="function"==typeof t?t:i)}function oj(e,t){return null==t||iW(e,t,cU(t))}function oP(e,t){return e===t||e!=e&&t!=t}var oL=nI(i7),oO=nI(function(e,t){return e>=t}),oD=rn(function(){return arguments}())?rn:function(e){return oJ(e)&&tt.call(e,"callee")&&!tp.call(e,"callee")},oM=a.isArray,oR=tV?ay(tV):rs;function oF(e){return null!=e&&oZ(e.length)&&!oq(e)}function oB(e){return oJ(e)&&oF(e)}function oU(e){return!0===e||!1===e||oJ(e)&&i8(e)==Y}var oH=tN||d3,o$=tK?ay(tK):rl;function oG(e){return oJ(e)&&1===e.nodeType&&!o7(e)}function oW(e){if(null==e)return!0;
vendor: 8,892 bytes, line 2
2if(oF(e)&&(oM(e)||"string"==typeof e||"function"==typeof e.splice||oH(e)||cr(e)||oD(e)))return!e.length;var t=n1(e);if(t==Z||t==er)return!e.size;if(sl(e))return!rb(e).length;for(var a in e)if(tt.call(e,a))return!1;return!0}function oY(e,t){return ro(e,t)}function oz(e,t,a){var r=(a="function"==typeof a?a:i)?a(e,t):i;return i===r?ro(e,t,i,a):!!r}function oV(e){if(!oJ(e))return!1;var t=i8(e);return t==K||t==V||"string"==typeof e.message&&"string"==typeof e.name&&!o7(e)}function oK(e){return"number"==typeof e&&tL(e)}function oq(e){if(!oX(e))return!1;var t=i8(e);return t==q||t==Q||t==W||t==ea}function oQ(e){return"number"==typeof e&&e==ch(e)}function oZ(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=D}function oX(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function oJ(e){return null!=e&&"object"==typeof e}var o0=tq?ay(tq):rd;function o1(e,t){return e===t||ru(e,t,nQ(t))}function o2(e,t,a){return a="function"==typeof a?a:i,ru(e,t,nQ(t),a)}function o3(e){return o8(e)&&e!=+e}function o4(e){if(ss(e))throw new eH(s);return rh(e)}function o6(e){return null===e}function o5(e){return null==e}function o8(e){return"number"==typeof e||oJ(e)&&i8(e)==X}function o7(e){if(!oJ(e)||i8(e)!=ee)return!1;var t=th(e);if(null===t)return!0;var a=tt.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&te.call(a)==tn}var o9=tQ?ay(tQ):rf;function ce(e){return oQ(e)&&e>=-D&&e<=D}var ct=tZ?ay(tZ):rp;function ca(e){return"string"==typeof e||!oM(e)&&oJ(e)&&i8(e)==en}function ci(e){return"symbol"==typeof e||oJ(e)&&i8(e)==es}var cr=tX?ay(tX):rm;function cn(e){return i===e}function cs(e){return oJ(e)&&n1(e)==eo}function cl(e){return oJ(e)&&i8(e)==ec}var co=nI(ry),cc=nI(function(e,t){return e<=t});function cd(e){if(!e)return[];if(oF(e))return ca(e)?aU(e):no(e);if(tb&&e[tb])return aj(e[tb]());var t=n1(e);return(t==Z?aP:t==er?aD:c6)(e)}function cu(e){return e?(e=cp(e))===O||e===-O?(e<0?-1:1)*M:e==e?e:0:0===e?e:0}function ch(e){var t=cu(e),a=t%1;return t==t?a?t-a:t:0}function cf(e){return e?iH(ch(e),0,F):0}function cp(e){if("number"==typeof e)return e;if(ci(e))return R;if(oX(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=oX(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a_(e);var a=eV.test(e);return a||eq.test(e)?tF(e.slice(2),a?2:8):ez.test(e)?R:+e}function cm(e){return nc(e,cH(e))}function cg(e){return e?iH(ch(e),-D,D):0===e?e:0}function cb(e){return null==e?"":rK(e)}var c_=nf(function(e,t){if(sl(t)||oF(t))return void nc(t,cU(t),e);for(var a in t)tt.call(t,a)&&iO(e,a,t[a])}),cy=nf(function(e,t){nc(t,cH(t),e)}),cx=nf(function(e,t,a,i){nc(t,cH(t),e,i)}),cv=nf(function(e,t,a,i){nc(t,cU(t),e,i)}),cA=n$(iU);function cw(e,t){var a=a3(e);return null==t?a:iR(a,t)}var cE=rD(function(e,t){e=e2(e);var a=-1,r=t.length,n=r>2?t[2]:i;for(n&&st(t[0],t[1],n)&&(r=1);++a<r;)for(var s=t[a],l=cH(s),o=-1,c=l.length;++o<c;){var d=l[o],u=e[d];(i===u||oP(u,e7[d])&&!tt.call(e,d))&&(e[d]=s[d])}return e}),cS=rD(function(e){return e.push(i,nR),tJ(cY,i,e)});function cC(e,t){return an(e,nK(t,3),i2)}function cT(e,t){return an(e,nK(t,3),i3)}function cN(e,t){return null==e?e:i0(e,nK(t,3),cH)}function ck(e,t){return null==e?e:i1(e,nK(t,3),cH)}function cI(e,t){return e&&i2(e,nK(t,3))}function cj(e,t){return e&&i3(e,nK(t,3))}function cP(e){return null==e?[]:i4(e,cU(e))}function cL(e){return null==e?[]:i4(e,cH(e))}function cO(e,t,a){var r=null==e?i:i6(e,t);return i===r?a:r}function cD(e,t){return null!=e&&n4(e,t,i9)}function cM(e,t){return null!=e&&n4(e,t,re)}var cR=nE(function(e,t,a){null!=t&&"function"!=typeof t.toString&&(t=tr.call(t)),e[t]=a},dD(dB)),cF=nE(function(e,t,a){null!=t&&"function"!=typeof t.toString&&(t=tr.call(t)),tt.call(e,t)?e[t].push(a):e[t]=[a]},nK),cB=rD(rr);function cU(e){return oF(e)?ik(e):rb(e)}function cH(e){return oF(e)?ik(e,!0):r_(e)}function c$(e,t){var a={};return t=nK(t,3),i2(e,function(e,i,r){iB(a,t(e,i,r),e)}),a}function cG(e,t){var a={};return t=nK(t,3),i2(e,function(e,i,r){iB(a,i,t(e,i,r))}),a}var cW=nf(function(e,t,a){rw(e,t,a)}),cY=nf(function(e,t,a,i){rw(e,t,a,i)}),cz=n$(function(e,t){var a={};if(null==e)return a;var i=!1;t=t8(t,function(t){return t=r4(t,e),i||(i=t.length>1),t}),nc(e,nW(e),a),i&&(a=i$(a,h|f|p,nF));for(var r=t.length;r--;)rQ(a,t[r]);return a});function cV(e,t){return cq(e,om(nK(t)))}var cK=n$(function(e,t){return null==e?{}:rT(e,t)});function cq(e,t){if(null==e)return{};var a=t8(nW(e),function(e){return[e]});return t=nK(t),rN(e,a,function(e,a){return t(e,a[0])})}function cQ(e,t,a){t=r4(t,e);var r=-1,n=t.length;for(n||(n=1,e=i);++r<n;){var s=null==e?i:e[sS(t[r])];i===s&&(r=n,s=a),e=oq(s)?s.call(e):s}return e}function cZ(e,t,a){return null==e?e:rF(e,t,a)}function cX(e,t,a,r){return r="function"==typeof r?r:i,null==e?e:rF(e,t,a,r)}var cJ=nO(cU),c0=nO(cH);function c1(e,t,a){var i=oM(e),r=i||oH(e)||cr(e);if(t=nK(t,4),null==a){var n=e&&e.constructor;a=r?i?new n:[]:oX(e)&&oq(n)?a3(th(e)):{}}return(r?t1:i2)(e,function(e,i,r){return t(a,e,i,r)}),a}function c2(e,t){return null==e||rQ(e,t)}function c3(e,t,a){return null==e?e:rZ(e,t,r3(a))}function c4(e,t,a,r){return r="function"==typeof r?r:i,null==e?e:rZ(e,t,r3(a),r)}function c6(e){return null==e?[]:ax(e,cU(e))}function c5(e){return null==e?[]:ax(e,cH(e))}function c8(e,t,a){return i===a&&(a=t,t=i),i!==a&&(a=(a=cp(a))==a?a:0),i!==t&&(t=(t=cp(t))==t?t:0),iH(cp(e),t,a)}function c7(e,t,a){return t=cu(t),i===a?(a=t,t=0):a=cu(a),rt(e=cp(e),t,a)}function c9(e,t,a){if(a&&"boolean"!=typeof a&&st(e,t,a)&&(t=a=i),i===a&&("boolean"==typeof t?(a=t,t=i):"boolean"==typeof e&&(a=e,e=i)),i===e&&i===t?(e=0,t=1):(e=cu(e),i===t?(t=e,e=0):t=cu(t)),e>t){var r=e;e=t,t=r}if(a||e%1||t%1){var n=tG();return tB(e+n*(t-e+tR("1e-"+((n+"").length-1))),t)}return rP(e,t)}var de=n_(function(e,t,a){return t=t.toLowerCase(),e+(a?dt(t):t)});function dt(e){return dk(cb(e).toLowerCase())}function da(e){return(e=cb(e))&&e.replace(eZ,aS).replace(tE,"")}function di(e,t,a){e=cb(e),t=rK(t);var r=e.length,n=a=i===a?r:iH(ch(a),0,r);return(a-=t.length)>=0&&e.slice(a,n)==t}function dr(e){return(e=cb(e))&&eT.test(e)?e.replace(eS,aC):e}function dn(e){return(e=cb(e))&&eD.test(e)?e.replace(eO,"\\$&"):e}var ds=n_(function(e,t,a){return e+(a?"-":"")+t.toLowerCase()}),dl=n_(function(e,t,a){return e+(a?" ":"")+t.toLowerCase()}),dc=nb("toLowerCase");function dd(e,t,a){e=cb(e);var i=(t=ch(t))?aB(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return nT(tC(r),a)+e+nT(tS(r),a)}function du(e,t,a){e=cb(e);var i=(t=ch(t))?aB(e):0;return t&&i<t?e+nT(t-i,a):e}function dh(e,t,a){e=cb(e);var i=(t=ch(t))?aB(e):0;return t&&i<t?nT(t-i,a)+e:e}function df(e,t,a){return a||null==t?t=0:t&&(t*=1),t$(cb(e).replace(eM,""),t||0)}function dp(e,t,a){return t=(a?st(e,t,a):i===t)?1:ch(t),rO(cb(e),t)}function dm(){var e=arguments,t=cb(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var dg=n_(function(e,t,a){return e+(a?"_":"")+t.toLowerCase()});function db(e,t,a){return(a&&"number"!=typeof a&&st(e,t,a)&&(t=a=i),a=i===a?F:a>>>0)?(e=cb(e))&&("string"==typeof t||null!=t&&!o9(t))&&!(t=rK(t))&&ak(e)?r5(aU(e),0,a):e.split(t,a):[]}var d_=n_(function(e,t,a){return e+(a?" ":"")+dk(t)});function dy(e,t,a){return e=cb(e),a=null==a?0:iH(ch(a),0,e.length),t=rK(t),e.slice(a,a+t.length)==t}function dx(e,t,a){var r=a2.templateSettings;a&&st(e,t,a)&&(t=i),e=cb(e),t=cx({},t,r,nM);var n,s,l=cx({},t.imports,r.imports,nM),c=cU(l),d=ax(l,c),u=0,h=t.interpolate||eX,f="__p += '",p=e3((t.escape||eX).source+"|"+h.source+"|"+(h===eI?eW:eX).source+"|"+(t.evaluate||eX).source+"|$","g"),m="//# sourceURL="+(tt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tI+"]")+"\n";e.replace(p,function(t,a,i,r,l,o){return i||(i=r),f+=e.slice(u,o).replace(eJ,aT),a&&(n=!0,f+="' +\n__e("+a+") +\n'"),l&&(s=!0,f+="';\n"+l+";\n__p += '"),i&&(f+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=o+t.length,t}),f+="';\n";var g=tt.call(t,"variable")&&t.variable;if(g){if(e$.test(g))throw new eH(o)}else f="with (obj) {\n"+f+"\n}\n";f=(s?f.replace(ev,""):f).replace(eA,"$1").replace(ew,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(n?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=dj(function(){return e0(c,m+"return "+f).apply(i,d)});if(b.source=f,oV(b))throw b;return b}function dv(e){return cb(e).toLowerCase()}function dA(e){return cb(e).toUpperCase()}function dw(e,t,a){if((e=cb(e))&&(a||i===t))return a_(e);if(!e||!(t=rK(t)))return e;var r=aU(e),n=aU(t),s=aA(r,n),l=aw(r,n)+1;return r5(r,s,l).join("")}function dE(e,t,a){if((e=cb(e))&&(a||i===t))return e.slice(0,aH(e)+1);if(!e||!(t=rK(t)))return e;var r=aU(e),n=aw(r,aU(t))+1;return r5(r,0,n).join("")}function dS(e,t,a){if((e=cb(e))&&(a||i===t))return e.replace(eM,"");if(!e||!(t=rK(t)))return e;var r=aU(e),n=aA(r,aU(t));return r5(r,n).join("")}function dC(e,t){var a=T,r=N;
vendor: 5,200 bytes, line 2
2if(oX(t)){var n="separator"in t?t.separator:n;a="length"in t?ch(t.length):a,r="omission"in t?rK(t.omission):r}var s=(e=cb(e)).length;if(ak(e)){var l=aU(e);s=l.length}if(a>=s)return e;var o=a-aB(r);if(o<1)return r;var c=l?r5(l,0,o).join(""):e.slice(0,o);if(i===n)return c+r;if(l&&(o+=c.length-o),o9(n)){if(e.slice(o).search(n)){var d,u=c;for(n.global||(n=e3(n.source,cb(eY.exec(n))+"g")),n.lastIndex=0;d=n.exec(u);)var h=d.index;c=c.slice(0,i===h?o:h)}}else if(e.indexOf(rK(n),o)!=o){var f=c.lastIndexOf(n);f>-1&&(c=c.slice(0,f))}return c+r}function dT(e){return(e=cb(e))&&eC.test(e)?e.replace(eE,a$):e}var dN=n_(function(e,t,a){return e+(a?" ":"")+t.toUpperCase()}),dk=nb("toUpperCase");function dI(e,t,a){return(e=cb(e),t=a?i:t,i===t)?aI(e)?aY(e):ar(e):e.match(t)||[]}var dj=rD(function(e,t){try{return tJ(e,i,t)}catch(e){return oV(e)?e:new eH(e)}}),dP=n$(function(e,t){return t1(t,function(t){iB(e,t=sS(t),os(e[t],e))}),e});function dL(e){var t=null==e?0:e.length,a=nK();return e=t?t8(e,function(e){if("function"!=typeof e[1])throw new e6(l);return[a(e[0]),e[1]]}):[],rD(function(a){for(var i=-1;++i<t;){var r=e[i];if(tJ(r[0],this,a))return tJ(r[1],this,a)}})}function dO(e){return iG(i$(e,h))}function dD(e){return function(){return e}}function dM(e,t){return null==e||e!=e?t:e}var dR=nA(),dF=nA(!0);function dB(e){return e}function dU(e){return rg("function"==typeof e?e:i$(e,h))}function dH(e){return rv(i$(e,h))}function d$(e,t){return rA(e,i$(t,h))}var dG=rD(function(e,t){return function(a){return rr(a,e,t)}}),dW=rD(function(e,t){return function(a){return rr(e,a,t)}});function dY(e,t,a){var i=cU(t),r=i4(t,i);null!=a||oX(t)&&(r.length||!i.length)||(a=t,t=e,e=this,r=i4(t,cU(t)));var n=!(oX(a)&&"chain"in a)||!!a.chain,s=oq(e);return t1(r,function(a){var i=t[a];e[a]=i,s&&(e.prototype[a]=function(){var t=this.__chain__;if(n||t){var a=e(this.__wrapped__);return(a.__actions__=no(this.__actions__)).push({func:i,args:arguments,thisArg:e}),a.__chain__=t,a}return i.apply(e,t7([this.value()],arguments))})}),e}function dz(){return tH._===this&&(tH._=ts),this}function dV(){}function dK(e){return e=ch(e),rD(function(t){return rS(t,e)})}var dq=nC(t8),dQ=nC(t3),dZ=nC(at);function dX(e){return sa(e)?au(sS(e)):rk(e)}function dJ(e){return function(t){return null==e?i:i6(e,t)}}var d0=nk(),d1=nk(!0);function d2(){return[]}function d3(){return!1}function d4(){return{}}function d6(){return""}function d5(){return!0}function d8(e,t){if((e=ch(e))<1||e>D)return[];var a=F,i=tB(e,F);t=nK(t),e-=F;for(var r=ag(i,t);++a<e;)t(a);return r}function d7(e){return oM(e)?t8(e,sS):ci(e)?[e]:no(sE(cb(e)))}function d9(e){var t=++ta;return cb(e)+t}var ue=nS(function(e,t){return e+t},0),ut=nP("ceil"),ua=nS(function(e,t){return e/t},1),ui=nP("floor");function ur(e){return e&&e.length?iQ(e,dB,i7):i}function un(e,t){return e&&e.length?iQ(e,nK(t,2),i7):i}function us(e){return ad(e,dB)}function ul(e,t){return ad(e,nK(t,2))}function uo(e){return e&&e.length?iQ(e,dB,ry):i}function uc(e,t){return e&&e.length?iQ(e,nK(t,2),ry):i}var ud=nS(function(e,t){return e*t},1),uu=nP("round"),uh=nS(function(e,t){return e-t},0);function uf(e){return e&&e.length?am(e,dB):0}function up(e,t){return e&&e.length?am(e,nK(t,2)):0}return a2.after=oi,a2.ary=or,a2.assign=c_,a2.assignIn=cy,a2.assignInWith=cx,a2.assignWith=cv,a2.at=cA,a2.before=on,a2.bind=os,a2.bindAll=dP,a2.bindKey=ol,a2.castArray=oC,a2.chain=lk,a2.chunk=sk,a2.compact=sI,a2.concat=sj,a2.cond=dL,a2.conforms=dO,a2.constant=dD,a2.countBy=lU,a2.create=cw,a2.curry=oo,a2.curryRight=oc,a2.debounce=od,a2.defaults=cE,a2.defaultsDeep=cS,a2.defer=ou,a2.delay=oh,a2.difference=sP,a2.differenceBy=sL,a2.differenceWith=sO,a2.drop=sD,a2.dropRight=sM,a2.dropRightWhile=sR,a2.dropWhile=sF,a2.fill=sB,a2.filter=l$,a2.flatMap=lY,a2.flatMapDeep=lz,a2.flatMapDepth=lV,a2.flatten=s$,a2.flattenDeep=sG,a2.flattenDepth=sW,a2.flip=of,a2.flow=dR,a2.flowRight=dF,a2.fromPairs=sY,a2.functions=cP,a2.functionsIn=cL,a2.groupBy=lQ,a2.initial=sK,a2.intersection=sq,a2.intersectionBy=sQ,a2.intersectionWith=sZ,a2.invert=cR,a2.invertBy=cF,a2.invokeMap=lX,a2.iteratee=dU,a2.keyBy=lJ,a2.keys=cU,a2.keysIn=cH,a2.map=l0,a2.mapKeys=c$,a2.mapValues=cG,a2.matches=dH,a2.matchesProperty=d$,a2.memoize=op,a2.merge=cW,a2.mergeWith=cY,a2.method=dG,a2.methodOf=dW,a2.mixin=dY,a2.negate=om,a2.nthArg=dK,a2.omit=cz,a2.omitBy=cV,a2.once=og,a2.orderBy=l1,a2.over=dq,a2.overArgs=ob,a2.overEvery=dQ,a2.overSome=dZ,a2.partial=o_,a2.partialRight=oy,a2.partition=l2,a2.pick=cK,a2.pickBy=cq,a2.property=dX,a2.propertyOf=dJ,a2.pull=s2,a2.pullAll=s3,a2.pullAllBy=s4,a2.pullAllWith=s6,a2.pullAt=s5,a2.range=d0,a2.rangeRight=d1,a2.rearg=ox,a2.reject=l6,a2.remove=s8,a2.rest=ov,a2.reverse=s7,a2.sampleSize=l8,a2.set=cZ,a2.setWith=cX,a2.shuffle=l7,a2.slice=s9,a2.sortBy=ot,a2.sortedUniq=ls,a2.sortedUniqBy=ll,a2.split=db,a2.spread=oA,a2.tail=lo,a2.take=lc,a2.takeRight=ld,a2.takeRightWhile=lu,a2.takeWhile=lh,a2.tap=lI,a2.throttle=ow,a2.thru=lj,a2.toArray=cd,a2.toPairs=cJ,a2.toPairsIn=c0,a2.toPath=d7,a2.toPlainObject=cm,a2.transform=c1,a2.unary=oE,a2.union=lf,a2.unionBy=lp,a2.unionWith=lm,a2.uniq=lg,a2.uniqBy=lb,a2.uniqWith=l_,a2.unset=c2,a2.unzip=ly,a2.unzipWith=lx,a2.update=c3,a2.updateWith=c4,a2.values=c6,a2.values
vendor: 5,218 bytes, line 2
2In=c5,a2.without=lv,a2.words=dI,a2.wrap=oS,a2.xor=lA,a2.xorBy=lw,a2.xorWith=lE,a2.zip=lS,a2.zipObject=lC,a2.zipObjectDeep=lT,a2.zipWith=lN,a2.entries=cJ,a2.entriesIn=c0,a2.extend=cy,a2.extendWith=cx,dY(a2,a2),a2.add=ue,a2.attempt=dj,a2.camelCase=de,a2.capitalize=dt,a2.ceil=ut,a2.clamp=c8,a2.clone=oT,a2.cloneDeep=ok,a2.cloneDeepWith=oI,a2.cloneWith=oN,a2.conformsTo=oj,a2.deburr=da,a2.defaultTo=dM,a2.divide=ua,a2.endsWith=di,a2.eq=oP,a2.escape=dr,a2.escapeRegExp=dn,a2.every=lH,a2.find=lG,a2.findIndex=sU,a2.findKey=cC,a2.findLast=lW,a2.findLastIndex=sH,a2.findLastKey=cT,a2.floor=ui,a2.forEach=lK,a2.forEachRight=lq,a2.forIn=cN,a2.forInRight=ck,a2.forOwn=cI,a2.forOwnRight=cj,a2.get=cO,a2.gt=oL,a2.gte=oO,a2.has=cD,a2.hasIn=cM,a2.head=sz,a2.identity=dB,a2.includes=lZ,a2.indexOf=sV,a2.inRange=c7,a2.invoke=cB,a2.isArguments=oD,a2.isArray=oM,a2.isArrayBuffer=oR,a2.isArrayLike=oF,a2.isArrayLikeObject=oB,a2.isBoolean=oU,a2.isBuffer=oH,a2.isDate=o$,a2.isElement=oG,a2.isEmpty=oW,a2.isEqual=oY,a2.isEqualWith=oz,a2.isError=oV,a2.isFinite=oK,a2.isFunction=oq,a2.isInteger=oQ,a2.isLength=oZ,a2.isMap=o0,a2.isMatch=o1,a2.isMatchWith=o2,a2.isNaN=o3,a2.isNative=o4,a2.isNil=o5,a2.isNull=o6,a2.isNumber=o8,a2.isObject=oX,a2.isObjectLike=oJ,a2.isPlainObject=o7,a2.isRegExp=o9,a2.isSafeInteger=ce,a2.isSet=ct,a2.isString=ca,a2.isSymbol=ci,a2.isTypedArray=cr,a2.isUndefined=cn,a2.isWeakMap=cs,a2.isWeakSet=cl,a2.join=sX,a2.kebabCase=ds,a2.last=sJ,a2.lastIndexOf=s0,a2.lowerCase=dl,a2.lowerFirst=dc,a2.lt=co,a2.lte=cc,a2.max=ur,a2.maxBy=un,a2.mean=us,a2.meanBy=ul,a2.min=uo,a2.minBy=uc,a2.stubArray=d2,a2.stubFalse=d3,a2.stubObject=d4,a2.stubString=d6,a2.stubTrue=d5,a2.multiply=ud,a2.nth=s1,a2.noConflict=dz,a2.noop=dV,a2.now=oa,a2.pad=dd,a2.padEnd=du,a2.padStart=dh,a2.parseInt=df,a2.random=c9,a2.reduce=l3,a2.reduceRight=l4,a2.repeat=dp,a2.replace=dm,a2.result=cQ,a2.round=uu,a2.runInContext=e,a2.sample=l5,a2.size=l9,a2.snakeCase=dg,a2.some=oe,a2.sortedIndex=le,a2.sortedIndexBy=lt,a2.sortedIndexOf=la,a2.sortedLastIndex=li,a2.sortedLastIndexBy=lr,a2.sortedLastIndexOf=ln,a2.startCase=d_,a2.startsWith=dy,a2.subtract=uh,a2.sum=uf,a2.sumBy=up,a2.template=dx,a2.times=d8,a2.toFinite=cu,a2.toInteger=ch,a2.toLength=cf,a2.toLower=dv,a2.toNumber=cp,a2.toSafeInteger=cg,a2.toString=cb,a2.toUpper=dA,a2.trim=dw,a2.trimEnd=dE,a2.trimStart=dS,a2.truncate=dC,a2.unescape=dT,a2.uniqueId=d9,a2.upperCase=dN,a2.upperFirst=dk,a2.each=lK,a2.eachRight=lq,a2.first=sz,dY(a2,function(){var e={};return i2(a2,function(t,a){tt.call(a2.prototype,a)||(e[a]=t)}),e}(),{chain:!1}),a2.VERSION=r,t1(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){a2[e].placeholder=a2}),t1(["drop","take"],function(e,t){a5.prototype[e]=function(a){a=i===a?1:tM(ch(a),0);var r=this.__filtered__&&!t?new a5(this):this.clone();return r.__filtered__?r.__takeCount__=tB(a,r.__takeCount__):r.__views__.push({size:tB(a,F),type:e+(r.__dir__<0?"Right":"")}),r},a5.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),t1(["filter","map","takeWhile"],function(e,t){var a=t+1,i=a==j||a==L;a5.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:nK(e,3),type:a}),t.__filtered__=t.__filtered__||i,t}}),t1(["head","last"],function(e,t){var a="take"+(t?"Right":"");a5.prototype[e]=function(){return this[a](1).value()[0]}}),t1(["initial","tail"],function(e,t){var a="drop"+(t?"":"Right");a5.prototype[e]=function(){return this.__filtered__?new a5(this):this[a](1)}}),a5.prototype.compact=function(){return this.filter(dB)},a5.prototype.find=function(e){return this.filter(e).head()},a5.prototype.findLast=function(e){return this.reverse().find(e)},a5.prototype.invokeMap=rD(function(e,t){return"function"==typeof e?new a5(this):this.map(function(a){return rr(a,e,t)})}),a5.prototype.reject=function(e){return this.filter(om(nK(e)))},a5.prototype.slice=function(e,t){e=ch(e);var a=this;return a.__filtered__&&(e>0||t<0)?new a5(a):(e<0?a=a.takeRight(-e):e&&(a=a.drop(e)),i!==t&&(a=(t=ch(t))<0?a.dropRight(-t):a.take(t-e)),a)},a5.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},a5.prototype.toArray=function(){return this.take(F)},i2(a5.prototype,function(e,t){var a=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),n=a2[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);n&&(a2.prototype[t]=function(){var t=this.__wrapped__,l=r?[1]:arguments,o=t instanceof a5,c=l[0],d=o||oM(t),u=function(e){var t=n.apply(a2,t7([e],l));return r&&h?t[0]:t};d&&a&&"function"==typeof c&&1!=c.length&&(o=d=!1);var h=this.__chain__,f=!!this.__actions__.length,p=s&&!h,m=o&&!f;if(!s&&d){t=m?t:new a5(this);var g=e.apply(t,l);return g.__actions__.push({func:lj,args:[u],thisArg:i}),new a6(g,h)}return p&&m?e.apply(this,l):(g=this.thru(u),p?r?g.value()[0]:g.value():g)})}),t1(["pop","push","shift","sort","splice","unshift"],function(e){var t=e5[e],a=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);a2.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(oM(r)?r:[],e)}return this[a](function(a){return t.apply(oM(a)?a:[],e)})}}),i2(a5.prototype,function(e,t){var a=a2[t];if(a){var i=a.name+"";
2tt.call(aV,i)||(aV[i]=[]),aV[i].push({name:t,func:a})}}),aV[nw(i,_).name]=[{name:"wrapper",func:i}],a5.prototype.clone=a8,a5.prototype.reverse=a7,a5.prototype.value=a9,a2.prototype.at=lP,a2.prototype.chain=lL,a2.prototype.commit=lO,a2.prototype.next=lD,a2.prototype.plant=lR,a2.prototype.reverse=lF,a2.prototype.toJSON=a2.prototype.valueOf=a2.prototype.value=lB,a2.prototype.first=a2.prototype.head,tb&&(a2.prototype[tb]=lM),a2}();if("function"==typeof define&&"object"==typeof define.amd&&define.amd){let t;tH._=az,e.r,i!==(t=az)&&e.v(t)}else tG?((tG.exports=az)._=az,t$._=az):tH._=az}).call(e.e)},53414,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(24345),r=e.i(5223),n=e.i(71820),s=e.i(65662),l=e.i(22276),o=e.i(75425),c=e.i(3828),d=e.i(79988);e.i(41871);var u=e.i(87612),h=e.i(43103);let f=e=>{let{isNFHAllListingTabs:f}=e,p=e.tabContents||[],m=e.activeTab,{tabHeadItems:g,isToggleTab:b}=e,[_,y]=(0,a.useState)(m||0),[x,v]=(0,a.useState)(0),[A,w]=(0,a.useState)(!1),[E,S]=(0,a.useState)("string"==typeof g?.[0]?.children?g[0].children:""),C=(0,a.useRef)(h.default.uniqueId("flexi-tab-heads-")),T=`${C.current}-glider`,[N,k]=(0,a.useState)({left:!1,right:!1}),I=(0,l.useSelector)(e=>e?.academyCourseReducer?.tabChanged),j=(0,l.useSelector)(e=>e?.academyCourseReducer?.btnClickTabChanged),P=(0,a.useRef)(null),L=(0,c.useRouter)(),O=t=>{y(t);let a=document.getElementById(C.current),i=a?.childNodes[t];if(b&&i){let a=i.getBoundingClientRect(),r=document.getElementById(T);r&&(r.style.width=`${a.width}px`,r.style.height=`${a.height}px`,r.style.left=`${i.offsetLeft}px`),e?.updateTab?.({tabSelected:1===t}),e?.changeTab?.({tabSelected:1!==t}),e?.btnClickTabChange?.({btnClickTabChange:1!==t}),0!==t||L?.query?.tabchange||e?.moduleSectionId?.({moduleid:null})}if(window.location?.search?.includes("tab=")&&location?.search?.split("tab=")?.[1]!==g?.[t]?.referrerId){var r=window.location.protocol+"//"+window.location.host+window.location.pathname;window.history.replaceState({path:r},"",r)}},D=(0,u.useMediaQuery)("(max-width: 767px)"),M=e=>{w(!1),y(e),S(g[e]?.children||"Menu");let t=document.querySelector(".nfh-tab-heads");if(b&&t){let a=t.childNodes[e];if(a){let e=a.getBoundingClientRect(),t=e.height,i=e.width,r=document.querySelector("#glider");r&&(r.style.width=`${i}px`,r.style.height=`${t}px`,r.style.left=`${a.offsetLeft}px`)}}if((window.location?.search?.includes("tab=")||window.location?.search?.includes("type="))&&![g?.[e]?.referrerId].includes(location?.search?.split(/tab=|type=/)?.[1])){let e=window.location.protocol+"//"+window.location.host+window.location.pathname;window.history.replaceState({path:e},"",e)}};(0,a.useEffect)(()=>{if(!L.isReady)return;let{tab:e,type:t}=L.query,a=e||t;if(a){let e=g.findIndex(e=>e.referrerId===a);-1!==e&&(M(e),setTimeout(()=>{let e=document.querySelector(".nfh-tab-heads");if(e){let t=0,a=e.getBoundingClientRect().top+window.scrollY-t;window.scrollTo({top:a,behavior:"smooth"})}},100))}},[L.isReady,L.query,g]);let R=()=>{P?.current&&v(P?.current?.offsetWidth)},F=()=>{let e=document.getElementById(`${C.current}`);if(!e)return;let{scrollLeft:t,scrollWidth:a,clientWidth:i}=e;k({left:t>0,right:t+2+i<a})},B=e=>{let t=document.getElementById(`${C.current}`);if(!t)return;let a=150;t.scrollBy({left:"left"===e?-a:a,behavior:"smooth"}),setTimeout(F,300)},U=()=>(0,t.jsxs)(t.Fragment,{children:[N.left&&(0,t.jsx)("button",{className:"scroll-arrow left",onClick:()=>B("left"),children:(0,t.jsx)(d.default,{iconName:"ArrowLeftIcon"})}),N.right&&(0,t.jsx)("button",{className:"scroll-arrow right",onClick:()=>B("right"),children:(0,t.jsx)(d.default,{iconName:"ArrowRightIcon"})})]});return(0,a.useEffect)(()=>{if(null!=m&&y(m),b){let e=document.getElementById(`${C.current}`),t=e?.childNodes[0],a=t?.getBoundingClientRect(),i=a.height,r=a.width,n=document.getElementById(`${T}`);n.style.width=`${r}px`,n.style.height=`${i}px`}},[m]),(0,a.useEffect)(()=>{if(b&&(I||j)){O(o.default.ONE);let e=document.getElementById(`${C.current}`),t=100,a=e.getBoundingClientRect().top+window.scrollY-t;window.scrollTo({top:a,behavior:"instant"})}},[I,j,b]),(0,a.useEffect)(()=>(R(),window.addEventListener("resize",R),()=>{window.removeEventListener("resize",R)}),[]),(0,a.useEffect)(()=>{b&&O(_)},[x]),(0,a.useEffect)(()=>{let e=document.getElementById(`${C.current}`);return e&&(F(),e.addEventListener("scroll",F)),()=>{e?.removeEventListener("scroll",F)}},[x]),f?(0,t.jsxs)("div",{className:"nfh-tab",ref:P,children:[D&&(0,t.jsx)("div",{className:`nfh-mobile-menu-toggle ${D?A?"bg-active":"bg-inactive":""}`,onClick:()=>w(!A),children:(0,t.jsxs)("div",{className:`nfh-mobile-menu-title ${D?A?"bg-active":"bg-inactive":""}`,children:[E||"Menu",(0,t.jsx)("span",{className:"nfh-mobile-menu-icon-container",children:A?(0,t.jsx)(d.default,{iconName:"ChevronUp3",className:"header-icon",color:"#000"}):(0,t.jsx)(d.default,{iconName:"ChevronDown2",className:"header-icon",color:"#000"})})]})}),(0,t.jsx)("div",{className:`nfh-tabs-container ${D?A?"open":"closed":""}`,children:(0,t.jsx)("ul",{className:"nfh-tab-heads",role:"tablist",children:g?.map((e,a)=>(0,t.jsx)(n.TabItem,{itemID:e.itemID,referrerId:e?.referrerId,active:_===a,onClick:()=>M(a),tabDesign:e.tabDesign,className:"no-breaking-words",isNFHAllListingTabs:!0,children:(0,t.jsx)(r.RichText,{content:`${e.children}`})},a))})}),(0,t.jsx)("div",{className:"tab-content generic-tab flexi-tab-body",id:"",children:p?.map((e,a)=>(0,t.jsx)("div",{className:`tab-pane fade ${_===a?"show active":""}`,role:"tabpanel",children:_===a?(0,t.jsx)(i.FlexiTabContent,{content:e}):(0,t.jsx)(s.PlaceholderBlock,{style:{minHeight:"200px"}})},e.itemID))})]}):(0,t.jsxs)("div",{className:b?"tab-container flexi-tab academy-tab-container":"tab-container flexi-tab flexi-tab-container",ref:P,children:[(0,t.jsxs)("ul",{className:"flexi-tab-heads",id:C.current,role:"tablist",children:[g?.map((e,a)=>(0,t.jsx)(n.TabItem,{itemID:e.itemID,referrerId:e?.referrerId,active:_===a,onClick:()=>O(a),tabDesign:e.tabDesign,className:"no-breaking-words",isToggleTab:b??!1,greyColor:!0,children:(0,t.jsx)(r.RichText,{content:`${e.children}`})},a)),b&&(0,t.jsx)("span",{id:T,className:"tabs-glider"})]}),U(),(0,t.jsx)("div",{className:"tab-content generic-tab flexi-tab-body",id:"",children:p?.map((e,a)=>(0,t.jsx)("div",{className:`tab-pane fade ${_===a?"show active":""}`,role:"tabpanel",children:_===a?(0,t.jsx)(i.FlexiTabContent,{content:e}):(0,t.jsx)(s.PlaceholderBlock,{style:{minHeight:"200px"}})},e.itemID))})]})}},93268,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(41282);let n=e=>{let n,s,l,o,c=(0,a.c)(10);return c[0]!==e.title?(n=(0,t.jsx)("h5",{className:"title bold",children:e.title}),c[0]=e.title,c[1]=n):n=c[1],c[2]!==e.child||c[3]!==e.title?(s=e.child?.map((a,n)=>(0,t.jsx)("li",{children:(0,t.jsx)(i.Anchor,{href:a.link,tabindex:0,noUnderline:!0,target:a?.targetType,dataLayerOnClick:()=>(0,r.handleDataLayerNavigationFooter)(e.title,a.title),children:(0,t.jsx)("h6",{children:a.title})},`a=${n}`)},n)),c[2]=e.child,c[3]=e.title,c[4]=s):s=c[4],c[5]!==s?(l=(0,t.jsx)("ul",{className:"list-unstyled",children:s}),c[5]=s,c[6]=l):l=c[6],c[7]!==n||c[8]!==l?(o=(0,t.jsxs)("div",{className:"list-item",children:[n,l]}),c[7]=n,c[8]=l,c[9]=o):o=c[9],o}},67212,16950,e=>{"use strict";e.s(["default",()=>A],67212);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(3828),n=e.i(41282),s=e.i(67552);e.i(48756);var l=e.i(45861),o=e.i(17419),c=e.i(6271),d=e.i(49266),u=e.i(70184),h=e.i(66196);e.s(["default",()=>y],16950);var f=t,p=a,m=l,g=o,b=u,_=e.i(5223);let y=e=>{let t,a,i,r,n,s=(0,p.c)(14);return s[0]!==e.alt||s[1]!==e.imageLink?(t=(0,f.jsx)(b.Img,{alt:e.alt,src:e.imageLink,width:114,height:113,type:"default"}),s[0]=e.alt,s[1]=e.imageLink,s[2]=t):t=s[2],s[3]!==e.title?(a=(0,f.jsx)("span",{className:"title",children:e.title}),s[3]=e.title,s[4]=a):a=s[4],s[5]!==e.paragraph?(i=(0,f.jsx)(_.RichText,{content:e.paragraph,characterLimit:70,className:"product-description"}),s[5]=e.paragraph,s[6]=i):i=s[6],s[7]!==a||s[8]!==i?(r=(0,f.jsxs)("div",{children:[a,i]}),s[7]=a,s[8]=i,s[9]=r):r=s[9],s[10]!==e.redirectLink||s[11]!==t||s[12]!==r?(n=(0,f.jsx)(g.Column,{mobile:8,tablet:4,desktop:12,children:(0,f.jsxs)(m.Anchor,{href:e.redirectLink,tabindex:0,noUnderline:!0,children:[t,r]})}),s[10]=e.redirectLink,s[11]=t,s[12]=r,s[13]=n):n=s[13],n};var x=e.i(22038),v=function(e){return e[e.FIRST=1]="FIRST",e[e.SECOUND=2]="SECOUND",e[e.THIRD=3]="THIRD",e}(v||{});let A=e=>{let s,f,p,m,g,b,_,y,v,A=(0,a.c)(26),j=(0,i.useRef)(null),P=(0,i.useRef)([]),L=(0,i.useRef)([]),[O,D]=(0,i.useState)(0),[M,R]=(0,i.useState)(0),F=(0,x.default)("(max-width: 767px)"),B=(0,r.useRouter)(),[U,H]=(0,i.useState)(!1);A[0]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{let t=e.target;t.blur(),t.parentElement?.blur();let a=document.querySelector("body");a.blur(),a.focus(),D(0)},A[0]=s):s=A[0];let $=s,G=(e,t)=>{let a;switch(e){case 1:a=j.current;break;case 2:a=t>=P?.current?.length?P?.current?.[P?.current?.length-1]:P?.current?.[t];break;case 3:a=L?.current?.[t]}return a},W=(e,t,a,i,r)=>{if(t&&(a?.subChild||a?.grandChild)){let t=j?.current?.children?.length,a=G(2,e)?.children?.length??0,n=G(3,e)?.children?.length??0,s=G(2,e),l=s?[...s?.childNodes]:[],o=l?.reduce(w,0),c=r&&G(3,e),d=c?[...c?.childNodes]:[],u=d?.reduce(E,50),h=[{column:1,child:t},{column:2,child:a},{column:3,child:n}],f=Math.max(...h.map(S)),p=h.find(e=>
2e.child===f),m=G(p?.column,e),g=(m?[...m?.childNodes]:[]).reduce(C,160),b=m?.current?.clientHeight;i?(b=b<500?0:o>g?o:g,R(o)):r?(b=b<500?0:u>g?u:g,R(u)):b=b<500?0:M>g?M:g,(b<O||b<500)&&(b=O),D(b)}else D(0)},Y=N,z=k,V=T();A[1]===Symbol.for("react.memo_cache_sentinel")?(f=e=>{H(!0),$(e)},p=()=>{H(!1),D(0)},A[1]=f,A[2]=p):(f=A[1],p=A[2]);let K=B.asPath===e.link+"/"&&"/"!==B.pathname?Y(e?.link):z(e?.link),q=`${e?.link==="route:<nolink>"?"head-title non-clickable-item":"head-title"} ${e?.distinctive?"distinctive":""}`,Q=e?.targetType;A[3]!==e.title?(m=()=>(0,n.handleDataLayerNavigationMenu)(e.title),A[3]=e.title,A[4]=m):m=A[4];let Z=e?.icon_uri,X=e?.icon_uri||"";A[5]!==e.title||A[6]!==Z||A[7]!==X?(g=(0,t.jsx)(u.Img,{type:"icon",image_style_uri:Z,src:X,alt:e.title,width:20,height:20}),A[5]=e.title,A[6]=Z,A[7]=X,A[8]=g):g=A[8],A[9]!==e.title?(b=(0,t.jsx)("p",{className:"bold",children:e.title}),A[9]=e.title,A[10]=b):b=A[10],A[11]!==e.link||A[12]!==g||A[13]!==b||A[14]!==q||A[15]!==Q||A[16]!==m?(_=(0,t.jsxs)(l.Anchor,{className:q,href:e.link,tabindex:0,noUnderline:!0,target:Q,dataLayerOnClick:m,children:[g,b]}),A[11]=e.link,A[12]=g,A[13]=b,A[14]=q,A[15]=Q,A[16]=m,A[17]=_):_=A[17];let J=!!e?.child&&(0,t.jsx)("div",{className:`menuContainer ${U&&!F?"menuContainer-close":"menuContainer-open"}`,children:(0,t.jsxs)(c.Container,{children:[(0,t.jsx)("div",{className:"megamenu",style:{minHeight:0===O?"500":O},children:(0,t.jsx)("ul",{className:"child",ref:j,children:e.child?.map((a,i)=>(0,t.jsxs)("li",{"data-theme-hover":a?.subTheme,onMouseEnter:e=>W(i,!0,a,!0),onMouseLeave:e=>W(i,!1,a,!0),children:[(0,t.jsx)("div",{className:a?.link=="route:<nolink>"?"menuSpace non-clickable":"menuSpace",children:a.subChild?(0,t.jsx)("div",{className:a?.link=="route:<nolink>"?"non-clickable":"",children:(0,t.jsxs)(l.Anchor,{className:`${a?.distinctive?"distinctive":""}`,href:a.link,tabindex:0,noUnderline:!0,target:a?.targetType,dataLayerOnClick:()=>(0,n.handleDataLayerNavigationMenu)(e.title,a.title),children:[(0,t.jsx)(u.Img,{type:"icon",image_style_uri:a?.icon_uri,src:a?.icon_uri||"",alt:e.title,width:24,height:24}),(0,t.jsx)("p",{className:"title bold",children:a.title}),(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(d.Icon,{iconName:"ChevronRightBlue"})})]})}):(0,t.jsx)("div",{className:a?.link=="route:<nolink>"?"noLink non-clickable":"noLink",children:(0,t.jsxs)(l.Anchor,{className:`${a?.distinctive?"distinctive":""}`,href:a.link,tabindex:0,noUnderline:!0,target:a?.targetType,dataLayerOnClick:()=>(0,n.handleDataLayerNavigationMenu)(e.title,a.title),children:[(0,t.jsx)(u.Img,{type:"icon",image_style_uri:a?.icon_uri,src:a?.icon_uri||"",alt:e.title,width:24,height:24}),(0,t.jsx)("p",{className:"title bold",children:a.title})]})})}),a.subChild&&(0,t.jsx)("ul",{className:"subList",ref:e=>{P.current[i]=e},children:a.subChild?.map((i,r)=>(0,t.jsxs)("li",{"data-theme-hover":i?.subTheme,onMouseEnter:e=>W(r,!0,i,!1,!0),onMouseLeave:e=>W(r,!1,i,!1,!0),children:[(0,t.jsx)("div",{className:i?.link=="route:<nolink>"?"menuSpace non-clickable":"menuSpace",children:i.grandChild?(0,t.jsx)("div",{className:i?.link=="route:<nolink>"?"non-clickable":"",children:(0,t.jsxs)(l.Anchor,{className:`${i?.distinctive?"distinctive":""}`,href:i.link,tabindex:0,noUnderline:!0,target:i?.targetType,dataLayerOnClick:()=>(0,n.handleDataLayerNavigationMenu)(e.title,a.title,i.title),children:[(0,t.jsx)(u.Img,{type:"icon",image_style_uri:i?.icon_uri,src:i?.icon_uri||"",alt:i.title,width:24,height:24}),(0,t.jsx)("p",{className:"title",children:i.title}),(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(d.Icon,{iconName:"ChevronRightBlue"})})]})}):(0,t.jsx)("div",{className:i?.link=="route:<nolink>"?"noLink non-clickable":"noLink",children:(0,t.jsxs)(l.Anchor,{className:`${i?.distinctive?"distinctive":""}`,href:i.link,tabindex:0,noUnderline:!0,target:i?.targetType,dataLayerOnClick:()=>(0,n.handleDataLayerNavigationMenu)(e.title,a.title,i.title),children:[(0,t.jsx)(u.Img,{type:"icon",image_style_uri:i?.icon_uri,src:i?.icon_uri||"",alt:i.title,width:24,height:24}),(0,t.jsx)("p",{className:"title",children:i.title})]})})}),i.grandChild&&(0,t.jsx)("ul",{className:"subList",ref:e=>{L.current[r]=e},children:i.grandChild?.map((r,s)=>(0,t.jsx)("li",{children:(0,t.jsx)("div",{className:r?.link=="route:<nolink>"?"menuSpace non-clickable":"menuSpace",children:(0,t.jsx)("div",{className:r?.link=="route:<nolink>"?"noLink non-clickable":"noLink",children:(0,t.jsxs)(l.Anchor,{className:`${r?.distinctive?"distinctive":" "}`,href:r.link,tabindex:0,noUnderline:!0,target:r?.targetType,dataLayerOnClick:()=>(0,n.handleDataLayerNavigationMenu)(e.title,a.title,i.title,r.title),children:[(0,t.jsx)(u.Img,{type:"icon",className:"menu_icon",image_style_uri:r?.icon_uri,src:r?.icon_uri||"",alt:r.title,width:24,height:24}),(0,t.jsx)("p",{className:"title",children:r.title})]})})})},s))})]},r))})]},i))})}),(0,t.jsx)("div",{className:"product-list",children:(0,t.jsxs)(h.Row,{children:[(0,t.jsx)(o.Column,{mobile:1,tablet:1,desktop:9,children:(0,t.jsx)("span",{})}),(0,t.jsx)(o.Column,{mobile:1,tablet:1,desktop:3,className:"products",children:e.menuImageData.map(I)})]})})]})});return A[18]!==_||A[19]!==J||A[20]!==K?(y=(0,t.jsxs)("div",{className:K,children:[_,J]}),A[18]=_,A[19]=J,A[20]=K,A[21]=y):y=A[21],A[22]!==y||A[23]!==f||A[24]!==p?(v=(0,t.jsx)("div",{className:V,onClick:f,onMouseLeave:p,children:y}),A[22]=y,A[23]=f,A[24]=p,A[25]=v):v=A[25],v};function w(e,t){let a=window.getComputedStyle(t),i=parseFloat(a.marginTop)+parseFloat(a.marginBottom);return e+t.offsetHeight+i}function E(e,t){return e+t.offsetHeight}function S(e){return e.child}function C(e,t){return e+t.offsetHeight}function T(){let e=[];e.push("header-list-item");let t=(0,s.getDomainLang)();return t.length>0&&e.push(t),e.join(" ")}function N(e){return e?.link==="route:<nolink>"?" header-list-item-underline active non-clickable-item":"header-list-item-underline active"}function k(e){return e?.link==="route:<nolink>"?"header-list-item-underline non-clickable-item":"header-list-item-underline"}function I(e,a){return(0,t.jsx)(y,{imageLink:e.imageLink,title:e.title,paragraph:e.paragraph,redirectLink:e.redirectLink,alt:e.alt},a)}},31993,(e,t,a)=>{t.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},44314,6858,e=>{"use strict";function t(e){return e.type===tr.Tag||e.type===tr.Script||e.type===tr.Style}!function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(tr||(tr={}));let a=tr.Root,i=tr.Text,r=tr.Directive,n=tr.Comment,s=tr.Script,l=tr.Style,o=tr.Tag,c=tr.CDATA,d=tr.Doctype;e.s(["CDATA",0,c,"Comment",0,n,"Directive",0,r,"Doctype",0,d,"ElementType",0,tr,"Root",0,a,"Script",0,s,"
2Style",0,l,"Tag",0,o,"Text",0,i,"isTag",0,t],83855);class u{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return T(this,e)}}class h extends u{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class f extends h{constructor(){super(...arguments),this.type=tr.Text}get nodeType(){return 3}}class p extends h{constructor(){super(...arguments),this.type=tr.Comment}get nodeType(){return 8}}class m extends h{constructor(e,t){super(t),this.name=e,this.type=tr.Directive}get nodeType(){return 1}}class g extends u{constructor(e){super(),this.children=e}get firstChild(){var e;return null!=(e=this.children[0])?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class b extends g{constructor(){super(...arguments),this.type=tr.CDATA}get nodeType(){return 4}}class _ extends g{constructor(){super(...arguments),this.type=tr.Root}get nodeType(){return 9}}class y extends g{constructor(e,t,a=[],i="script"===e?tr.Script:"style"===e?tr.Style:tr.Tag){super(a),this.name=e,this.attribs=t,this.type=i}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var t,a;return{name:e,value:this.attribs[e],namespace:null==(t=this["x-attribsNamespace"])?void 0:t[e],prefix:null==(a=this["x-attribsPrefix"])?void 0:a[e]}})}}function x(e){return t(e)}function v(e){return e.type===tr.CDATA}function A(e){return e.type===tr.Text}function w(e){return e.type===tr.Comment}function E(e){return e.type===tr.Directive}function S(e){return e.type===tr.Root}function C(e){return Object.prototype.hasOwnProperty.call(e,"children")}function T(e,t=!1){let a;if(A(e))a=new f(e.data);else if(w(e))a=new p(e.data);else if(x(e)){let i=t?N(e.children):[],r=new y(e.name,{...e.attribs},i);i.forEach(e=>e.parent=r),null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]={...e["x-attribsPrefix"]}),a=r}else if(v(e)){let i=t?N(e.children):[],r=new b(i);i.forEach(e=>e.parent=r),a=r}else if(S(e)){let i=t?N(e.children):[],r=new _(i);i.forEach(e=>e.parent=r),e["x-mode"]&&(r["x-mode"]=e["x-mode"]),a=r}else if(E(e)){let t=new m(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),a=t}else throw Error(`Not implemented yet: ${e.type}`);return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function N(e){let t=e.map(e=>T(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}let k={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class I{constructor(e,t,a){this.dom=[],this.root=new _(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(a=t,t=k),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:k,this.elementCB=null!=a?a:null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new _(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let a=new y(e,t,void 0,this.options.xmlMode?tr.Tag:void 0);this.addNode(a),this.tagStack.push(a)}ontext(e){let{lastNode:t}=this;if(t&&t.type===tr.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{let t=new f(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===tr.Comment){this.lastNode.data+=e;return}let t=new p(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new f(""),t=new b([e]);this.addNode(t),e.parent=t,this.lastNode=e}
2oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let a=new m(e,t);this.addNode(a)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],a=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),a&&(e.prev=a,a.next=e),e.parent=t,this.lastNode=null}}let j=new Uint16Array('
vendor: 16,129 bytes, line 2
2ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms�„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapÓºÓ¾cr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpÔ¦Ôªon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0Ö£mallSquare;旼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgÜ´Ü·r;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyÞ±Þµrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āeyß¶ß»dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;æ««y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;æ©°cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;æ§«riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0á ±;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0á«¢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;æ©­nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0á­µr;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;oá³§á³°ntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;æ§¶rok;䄑Ādrá¶°á¶´ot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;æ§£us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0á¾½g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 2
2䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
vendor: 6,210 bytes, line 2
2astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌
2'.split("").map(e=>e.charCodeAt(0))),P=new Uint16Array("Ȁaglq	\x15\x18\x1bɭ\x0f\0\0\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0))),L=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),O=null!=(tn=String.fromCodePoint)?tn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function D(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!=(t=L.get(e))?t:e}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(ts||(ts={}));let M=32;function R(e){return e>=ts.ZERO&&e<=ts.NINE}function F(e){return e>=ts.UPPER_A&&e<=ts.UPPER_F||e>=ts.LOWER_A&&e<=ts.LOWER_F}function B(e){return e>=ts.UPPER_A&&e<=ts.UPPER_Z||e>=ts.LOWER_A&&e<=ts.LOWER_Z||R(e)}function U(e){return e===ts.EQUALS||B(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(tl||(tl={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(to||(to={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(tc||(tc={}));class H{constructor(e,t,a){this.decodeTree=e,this.emitCodePoint=t,this.errors=a,this.state=to.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=tc.Strict}startEntity(e){this.decodeMode=e,this.state=to.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case to.EntityStart:if(e.charCodeAt(t)===ts.NUM)return this.state=to.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=to.NamedEntity,this.stateNamedEntity(e,t);case to.NumericStart:return this.stateNumericStart(e,t);case to.NumericDecimal:return this.stateNumericDecimal(e,t);case to.NumericHex:return this.stateNumericHex(e,t);case to.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|M)===ts.LOWER_X?(this.state=to.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=to.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,a,i){if(t!==a){let r=a-t;this.result=this.result*Math.pow(i,r)+parseInt(e.substr(t,r),i),this.consumed+=r}}stateNumericHex(e,t){let a=t;for(;t<e.length;){let i=e.charCodeAt(t);if(!(R(i)||F(i)))return this.addToNumericResult(e,a,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,a,t,16),-1}stateNumericDecimal(e,t){let a=t;for(;t<e.length;){let i=e.charCodeAt(t);if(!R(i))return this.addToNumericResult(e,a,t,10),this.emitNumericEntity(i,2);t+=1}return this.addToNumericResult(e,a,t,10),-1}emitNumericEntity(e,t){var a;if(this.consumed<=t)return null==(a=this.errors)||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===ts.SEMI)this.consumed+=1;else if(this.decodeMode===tc.Strict)return 0;return this.emitCodePoint(D(this.result),this.consumed),this.errors&&(e!==ts.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:a}=this,i=a[this.treeIndex],r=(i&tl.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let n=e.charCodeAt(t);if(this.treeIndex=G(a,i,this.treeIndex+Math.max(1,r),n),this.treeIndex<0)return 0===this.result||this.decodeMode===tc.Attribute&&(0===r||U(n))?0:this.emitNotTerminatedNamedEntity();if(0!=(r=((i=a[this.treeIndex])&tl.VALUE_LENGTH)>>14)){if(n===ts.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==tc.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:a}=this,i=(a[t]&tl.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,i,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,a){let{decodeTree:i}=this;return this.emitCodePoint(1===t?i[e]&~tl.VALUE_LENGTH:i[e+1],a),3===t&&this.emitCodePoint(i[e+2],a),a}end(){var e;switch(this.state){case to.NamedEntity:return 0!==this.result&&(this.decodeMode!==tc.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case to.NumericDecimal:return this.emitNumericEntity(0,2);case to.NumericHex:return this.emitNumericEntity(0,3);case to.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case to.EntityStart:return 0}}}function $(e){let t="",a=new H(e,e=>t+=O(e));return function(e,i){let r=0,n=0;for(;(n=e.indexOf("&",n))>=0;){t+=e.slice(r,n),a.startEntity(i);let s=a.write(e,n+1);if(s<0){r=n+a.end();break}r=n+s,n=0===s?r+1:r}
2let s=t+e.slice(r);return t="",s}}function G(e,t,a,i){let r=(t&tl.BRANCH_LENGTH)>>7,n=t&tl.JUMP_TABLE;if(0===r)return 0!==n&&i===n?a:-1;if(n){let t=i-n;return t<0||t>=r?-1:e[a+t]-1}let s=a,l=s+r-1;for(;s<=l;){let t=s+l>>>1,a=e[t];if(a<i)s=t+1;else{if(!(a>i))return e[t+r];l=t-1}}return -1}$(j),$(P);let W=/["&'<>$\x80-\uFFFF]/g,Y=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),z=null!=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):(e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function V(e){let t,a="",i=0;for(;null!==(t=W.exec(e));){let r=t.index,n=e.charCodeAt(r),s=Y.get(n);void 0!==s?(a+=e.substring(i,r)+s,i=r+1):(a+=`${e.substring(i,r)}&#x${z(e,r).toString(16)};`,i=W.lastIndex+=Number((64512&n)==55296))}return a+e.substr(i)}function K(e,t){return function(a){let i,r=0,n="";for(;i=e.exec(a);)r!==i.index&&(n+=a.substring(r,i.index)),n+=t.get(i[0].charCodeAt(0)),r=i.index+1;return n+a.substring(r)}}K(/[&<>'"]/g,Y);let q=K(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Q=K(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(td||(td={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(tu||(tu={}));let Z=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),X=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),J=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function ee(e){return e.replace(/"/g,"&quot;")}function et(e,t){var a;if(!e)return;let i=(null!=(a=t.encodeEntities)?a:t.decodeEntities)===!1?ee:t.xmlMode||"utf8"!==t.encodeEntities?V:q;return Object.keys(e).map(a=>{var r,n;let s=null!=(r=e[a])?r:"";return("foreign"===t.xmlMode&&(a=null!=(n=X.get(a))?n:a),t.emptyAttrs||t.xmlMode||""!==s)?`${a}="${i(s)}"`:a}).join(" ")}let ea=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function ei(e,t={}){let a="length"in e?e:[e],i="";for(let e=0;e<a.length;e++)i+=en(a[e],t);return i}let er=ei;function en(e,t){switch(e.type){case a:return ei(e.children,t);case d:case r:return ec(e);case n:return eh(e);case c:return eu(e);case s:case l:case o:return eo(e,t);case i:return ed(e,t)}}let es=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),el=new Set(["svg","math"]);function eo(e,t){var a;"foreign"===t.xmlMode&&(e.name=null!=(a=Z.get(e.name))?a:e.name,e.parent&&es.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&el.has(e.name)&&(t={...t,xmlMode:"foreign"});let i=`<${e.name}`,r=et(e.attribs,t);return r&&(i+=` ${r}`),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&ea.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=ei(e.children,t)),(t.xmlMode||!ea.has(e.name))&&(i+=`</${e.name}>`)),i}function ec(e){return`<${e.data}>`}function ed(e,t){var a;let i=e.data||"";return(null!=(a=t.encodeEntities)?a:t.decodeEntities)===!1||!t.xmlMode&&e.parent&&J.has(e.parent.name)||(i=t.xmlMode||"utf8"!==t.encodeEntities?V(i):Q(i)),i}function eu(e){return`<![CDATA[${e.children[0].data}]]>`}function eh(e){return`<!--${e.data}-->`}function ef(e,t){return er(e,t)}function ep(e,t){return C(e)?e.children.map(e=>ef(e,t)).join(""):""}function em(e){return Array.isArray(e)?e.map(em).join(""):x(e)?"br"===e.name?"\n":em(e.children):v(e)?em(e.children):A(e)?e.data:""}function eg(e){return Array.isArray(e)?e.map(eg).join(""):C(e)&&!w(e)?eg(e.children):A(e)?e.data:""}function eb(e){return Array.isArray(e)?e.map(eb).join(""):C(e)&&(e.type===tr.Tag||v(e))?eb(e.children):A(e)?e.data:""}function e_(e){return C(e)?e.children:[]}function ey(e){return e.parent||null}function ex(e){let t=ey(e);if(null!=t)return e_(t);let a=[e],{prev:i,next:r}=e;for(;null!=i;)a.unshift(i),{prev:i}=i;for(;null!=r;)a.push(r),{next:r}=r;return a}function ev(e,t){var a;return null==(a=e.attribs)?void 0:a[t]}function eA(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]}function ew(e){return e.name}function eE(e){let{next:t}=e;for(;null!==t&&!x(t);)({next:t}=t);return t}function eS(e){let{prev:t}=e;for(;null!==t&&!x(t);)({prev:t}=t);return t}function eC(e,t,a=!0,i=1/0){return eT(e,Array.isArray(t)?t:[t],a,i)}function eT(e,t,a,i){let r=[],n=[Array.isArray(t)?t:[t]],s=[0];for(;;){if(s[0]>=n[0].length){if(1===s.length)return r;n.shift(),s.shift();continue}let t=n[0][s[0]++];if(e(t)&&(r.push(t),--i<=0))return r;a&&C(t)&&t.children.length>0&&(s.unshift(0),n.unshift(t.children))}}function eN(e,t){return t.find(e)}function ek(e,t,a=!0){let i=Array.isArray(t)?t:[t];for(let t=0;t<i.length;t++){let r=i[t];if(x(r)&&e(r))return r;if(a&&C(r)&&r.children.length>0){let t=ek(e,r.children,!0);if(t)return t}}return null}function eI(e,t){return(Array.isArray(t)?t:[t]).some(t=>x(t)&&e(t)||C(t)&&eI(e,t.children))}function ej(e,t){let a=[],i=[Array.isArray(t)?t:[t]],r=[0];for(;;){if(r[0]>=i[0].length){if(1===i.length)return a;i.shift(),r.shift();continue}let t=i[0][r[0]++];x(t)&&e(t)&&a.push(t),C(t)&&t.children.length>0&&(r.unshift(0),i.unshift(t.children))}}e.s(["getInnerHTML",0,ep,"getOuterHTML",0,ef,"getText",0,em,"innerText",0,eb,"textContent",0,eg],63454),e.s(["getAttributeValue",0,ev,"getChildren",0,e_,"getName",0,ew,"getParent",0,ey,"getSiblings",0,ex,"hasAttrib",0,eA,"nextElementSibling",0,eE,"prevElementSibling",0,eS],6650),e.s(["existsOne",0,eI,"filter",0,eC,"find",0,eT,"findAll",0,ej,"findOne",0,ek,"findOneChild",0,eN],46154);let eP={tag_name:e=>"function"==typeof e?t=>x(t)&&e(t.name):"*"===e?x:t=>x(t)&&t.name===e,tag_type:e=>"function"==typeof e?t=>e(t.type):t=>t.type===e,tag_contains:e=>"function"==typeof e?t=>A(t)&&e(t.data):t=>A(t)&&t.data===e};function eL(e,t){return"function"==typeof t?a=>x(a)&&t(a.attribs[e]):a=>x(a)&&a.attribs[e]===t}function eO(e,t){return a=>e(a)||t(a)}function eD(e){let t=Object.keys(e).map(t=>{let a=e[t];return Object.prototype.hasOwnProperty.call(eP,t)?eP[t](a):eL(t,a)});return 0===t.length?null:t.reduce(eO)}function eM(e,t){let a=eD(e);return!a||a(t)}function eR(e,t,a,i=1/0){let r=eD(e);return r?eC(r,t,a,i):[]}
2function eF(e,t,a=!0){return Array.isArray(t)||(t=[t]),ek(eL("id",e),t,a)}function eB(e,t,a=!0,i=1/0){return eC(eP.tag_name(e),t,a,i)}function eU(e,t,a=!0,i=1/0){return eC(eL("class",e),t,a,i)}function eH(e,t,a=!0,i=1/0){return eC(eP.tag_type(e),t,a,i)}function e$(e){let t=e.length;for(;--t>=0;){let a=e[t];if(t>0&&e.lastIndexOf(a,t-1)>=0){e.splice(t,1);continue}for(let i=a.parent;i;i=i.parent)if(e.includes(i)){e.splice(t,1);break}}return e}function eG(e,t){let a=[],i=[];if(e===t)return 0;let r=C(e)?e:e.parent;for(;r;)a.unshift(r),r=r.parent;for(r=C(t)?t:t.parent;r;)i.unshift(r),r=r.parent;let n=Math.min(a.length,i.length),s=0;for(;s<n&&a[s]===i[s];)s++;if(0===s)return th.DISCONNECTED;let l=a[s-1],o=l.children,c=a[s],d=i[s];return o.indexOf(c)>o.indexOf(d)?l===t?th.FOLLOWING|th.CONTAINED_BY:th.FOLLOWING:l===e?th.PRECEDING|th.CONTAINS:th.PRECEDING}function eW(e){return(e=e.filter((e,t,a)=>!a.includes(e,t+1))).sort((e,t)=>{let a=eG(e,t);return a&th.PRECEDING?-1:a&th.FOLLOWING?1:0}),e}function eY(e){let t=eZ(e0,e);return t?"feed"===t.name?ez(t):eV(t):null}function ez(e){var t;let a=e.children,i={type:"atom",items:eB("entry",a).map(e=>{var t;let{children:a}=e,i={media:eQ(a)};eJ(i,"id","id",a),eJ(i,"title","title",a);let r=null==(t=eZ("link",a))?void 0:t.attribs.href;r&&(i.link=r);let n=eX("summary",a)||eX("content",a);n&&(i.description=n);let s=eX("updated",a);return s&&(i.pubDate=new Date(s)),i})};eJ(i,"id","id",a),eJ(i,"title","title",a);let r=null==(t=eZ("link",a))?void 0:t.attribs.href;r&&(i.link=r),eJ(i,"description","subtitle",a);let n=eX("updated",a);return n&&(i.updated=new Date(n)),eJ(i,"author","email",a,!0),i}function eV(e){var t,a;let i=null!=(a=null==(t=eZ("channel",e.children))?void 0:t.children)?a:[],r={type:e.name.substr(0,3),id:"",items:eB("item",e.children).map(e=>{let{children:t}=e,a={media:eQ(t)};eJ(a,"id","guid",t),eJ(a,"title","title",t),eJ(a,"link","link",t),eJ(a,"description","description",t);let i=eX("pubDate",t)||eX("dc:date",t);return i&&(a.pubDate=new Date(i)),a})};eJ(r,"title","title",i),eJ(r,"link","link",i),eJ(r,"description","description",i);let n=eX("lastBuildDate",i);return n&&(r.updated=new Date(n)),eJ(r,"author","managingEditor",i,!0),r}e.s(["getElementById",0,eF,"getElements",0,eR,"getElementsByClassName",0,eU,"getElementsByTagName",0,eB,"getElementsByTagType",0,eH,"testElement",0,eM],15111),function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(th||(th={})),e.s(["DocumentPosition",0,th,"compareDocumentPosition",0,eG,"removeSubsets",0,e$,"uniqueSort",0,eW],76878);let eK=["url","type","lang"],eq=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function eQ(e){return eB("media:content",e).map(e=>{let{attribs:t}=e,a={medium:t.medium,isDefault:!!t.isDefault};for(let e of eK)t[e]&&(a[e]=t[e]);for(let e of eq)t[e]&&(a[e]=parseInt(t[e],10));return t.expression&&(a.expression=t.expression),a})}function eZ(e,t){return eB(e,t,!0,1)[0]}function eX(e,t,a=!1){return eg(eB(e,t,a,1)).trim()}function eJ(e,t,a,i,r=!1){let n=eX(a,i,r);n&&(e[t]=n)}function e0(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}e.s(["getFeed",0,eY],36527),e.s([],4166);let e1={_useHtmlParser2:!1};function e2(e,t){if(!e)return null!=t?t:e1;let a={_useHtmlParser2:!!e.xmlMode,...t,...e};return e.xml?(a._useHtmlParser2=!0,a.xmlMode=!0,!0!==e.xml&&Object.assign(a,e.xml)):e.xmlMode&&(a._useHtmlParser2=!0),a}function e3(e,t,a){return e?e(null!=t?t:e._root.children,null,void 0,a).toString():""}function e4(e,t){return!t&&"object"==typeof e&&null!=e&&!("length"in e)&&!("type"in e)}function e6(e,t){return e3(this,e4(e)?void(t=e):e,{...this===null||void 0===this?void 0:this._options,...e2(t)})}function e5(e){return e3(this,e,{...this._options,xmlMode:!0})}function e8(e){let t=null!=e?e:this?this.root():[],a="";for(let e=0;e<t.length;e++)a+=eg(t[e]);return a}function e7(e,t,a="boolean"==typeof t&&t){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(a=t);let i=this.load(e,this._options,!1);return a||i("script").remove(),[...i.root()[0].children]}function e9(){return this(this._root)}function te(e,t){if(t===e)return!1;let a=t;for(;a&&a!==a.parent;)if((a=a.parent)===e)return!0;return!1}function tt(e){return this.root().extract(e)}function ta(e,t){if(!ti(e)||!ti(t))return;let a=e.length,i=+t.length;for(let r=0;r<i;r++)e[a++]=t[r];return e.length=a,e}function ti(e){if(Array.isArray(e))return!0;
2if("object"!=typeof e||null===e||!("length"in e)||"number"!=typeof e.length||e.length<0)return!1;for(let t=0;t<e.length;t++)if(!(t in e))return!1;return!0}e.s(["contains",0,te,"extract",0,tt,"html",0,e6,"merge",0,ta,"parseHTML",0,e7,"root",0,e9,"text",0,e8,"xml",0,e5],73323);var tr,tn,ts,tl,to,tc,td,tu,th,tf,tp,tm,tg,tb,t_,ty,tx,tv,tA,tw,tE,tS,tC,tT,tN,tk,tI,tj,tP,tL,tO,tD,tM,tR,tF,tB,tU,tH=e.i(73323);function t$(e){return null!=e.cheerio}function tG(e){return e.replace(/[._-](\w|$)/g,(e,t)=>t.toUpperCase())}function tW(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function tY(e,t){let a=e.length;for(let i=0;i<a;i++)t(e[i],i);return e}function tz(e){if("string"!=typeof e)return!1;let t=e.indexOf("<");if(-1===t||t>e.length-3)return!1;let a=e.charCodeAt(t+1);return(a>=tf.LowerA&&a<=tf.LowerZ||a>=tf.UpperA&&a<=tf.UpperZ||a===tf.Exclamation)&&e.includes(">",t+2)}!function(e){e[e.LowerA=97]="LowerA",e[e.LowerZ=122]="LowerZ",e[e.UpperA=65]="UpperA",e[e.UpperZ=90]="UpperZ",e[e.Exclamation=33]="Exclamation"}(tf||(tf={}));let tV=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),tK=null!=(tp=String.fromCodePoint)?tp:e=>{let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function tq(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!=(t=tV.get(e))?t:e}var tQ=e.i(21168);function tZ(e){let t="function"==typeof atob?atob(e):"function"==typeof tQ.Buffer.from?tQ.Buffer.from(e,"base64").toString("binary"):new tQ.Buffer(e,"base64").toString("binary"),a=-2&t.length,i=new Uint16Array(a/2);for(let e=0,r=0;e<a;e+=2){let a=t.charCodeAt(e),n=t.charCodeAt(e+1);i[r++]=a|n<<8}return i}let tX=tZ
vendor: 5,276 bytes, line 2
2("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQ
vendor: 26,928 bytes, line 2
2ByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg")
2,tJ=tZ("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg");!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.FLAG13=8192]="FLAG13",e[e.BRANCH_LENGTH=8064]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(tm||(tm={})),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(tg||(tg={}));let t0=32;function t1(e){return e>=tg.ZERO&&e<=tg.NINE}function t2(e){return e>=tg.UPPER_A&&e<=tg.UPPER_F||e>=tg.LOWER_A&&e<=tg.LOWER_F}function t3(e){return e>=tg.UPPER_A&&e<=tg.UPPER_Z||e>=tg.LOWER_A&&e<=tg.LOWER_Z||t1(e)}function t4(e){return e===tg.EQUALS||t3(e)}!function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(tb||(tb={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(t_||(t_={}));class t6{constructor(e,t,a){this.decodeTree=e,this.emitCodePoint=t,this.errors=a,this.state=tb.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=t_.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=tb.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case tb.EntityStart:if(e.charCodeAt(t)===tg.NUM)return this.state=tb.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=tb.NamedEntity,this.stateNamedEntity(e,t);case tb.NumericStart:return this.stateNumericStart(e,t);case tb.NumericDecimal:return this.stateNumericDecimal(e,t);case tb.NumericHex:return this.stateNumericHex(e,t);case tb.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|t0)===tg.LOWER_X?(this.state=tb.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=tb.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){let a=e.charCodeAt(t);if(!(t1(a)||t2(a)))return this.emitNumericEntity(a,3);{let e=a<=tg.NINE?a-tg.ZERO:(a|t0)-tg.LOWER_A+10;this.result=16*this.result+e,this.consumed++,t++}}return -1}stateNumericDecimal(e,t){for(;t<e.length;){let a=e.charCodeAt(t);if(!t1(a))return this.emitNumericEntity(a,2);this.result=10*this.result+(a-tg.ZERO),this.consumed++,t++}return -1}emitNumericEntity(e,t){var a;if(this.consumed<=t)return null==(a=this.errors)||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===tg.SEMI)this.consumed+=1;else if(this.decodeMode===t_.Strict)return 0;return this.emitCodePoint(tq(this.result),this.consumed),this.errors&&(e!==tg.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:a}=this,i=a[this.treeIndex],r=(i&tm.VALUE_LENGTH)>>14;for(;t<e.length;){if(0===r&&(i&tm.FLAG13)!=0){let n=(i&tm.BRANCH_LENGTH)>>7;if(0===this.runConsumed){let a=i&tm.JUMP_TABLE;if(e.charCodeAt(t)!==a)return 0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<n;){if(t>=e.length)return -1;let i=this.runConsumed-1,r=a[this.treeIndex+1+(i>>1)],n=i%2==0?255&r:r>>8&255;if(e.charCodeAt(t)!==n)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(n>>1),r=((i=a[this.treeIndex])&tm.VALUE_LENGTH)>>14}if(t>=e.length)break;let n=e.charCodeAt(t);if(n===tg.SEMI&&0!==r&&(i&tm.FLAG13)!=0)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);if(this.treeIndex=t5(a,i,this.treeIndex+Math.max(1,r),n),this.treeIndex<0)return 0===this.result||this.decodeMode===t_.Attribute&&(0===r||t4(n))?0:this.emitNotTerminatedNamedEntity();if(0!=(r=((i=a[this.treeIndex])&tm.VALUE_LENGTH)>>14)){if(n===tg.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==t_.Strict&&(i&tm.FLAG13)==0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:a}=this,i=(a[t]&tm.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,i,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,a){let{decodeTree:i}=this;return this.emitCodePoint(1===t?i[e]&~(tm.VALUE_LENGTH|tm.FLAG13):i[e+1],a),3===t&&this.emitCodePoint(i[e+2],a),a}end(){var e;switch(this.state){case tb.NamedEntity:return 0!==this.result&&(this.decodeMode!==t_.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case tb.NumericDecimal:return this.emitNumericEntity(0,2);case tb.NumericHex:return this.emitNumericEntity(0,3);case tb.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case tb.EntityStart:return 0}}}function t5(e,t,a,i){let r=(t&tm.BRANCH_LENGTH)>>7,n=t&tm.JUMP_TABLE;if(0===r)return 0!==n&&i===n?a:-1;if(n){let t=i-n;return t<0||t>=r?-1:e[a+t]-1}let s=r+1>>1,l=0,o=r-1;for(;l<=o;){let t=l+o>>>1,r=e[a+(t>>1)]>>(1&t)*8&255;if(r<i)l=t+1;else{if(!(r>i))return e[a+s+t];o=t-1}}return -1}function t8(e){return e===ty.Space||e===ty.NewLine||e===ty.Tab||e===ty.FormFeed||e===ty.CarriageReturn}function t7(e){return e===ty.Slash||e===ty.Gt||t8(e)}function t9(e){return e>=ty.LowerA&&e<=ty.LowerZ||e>=ty.UpperA&&e<=ty.UpperZ}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(ty||(ty={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"}(tx||(tx={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(tv||(tv={}));let ae={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,12
20,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class at{constructor({xmlMode:e=!1,decodeEntities:t=!0},a){this.cbs=a,this.state=tx.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=tx.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new t6(e?tJ:tX,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=tx.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=tx.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===ty.Lt||!this.decodeEntities&&this.fastForwardTo(ty.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=tx.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===ty.Amp&&this.startEntity()}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(t?t7(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=tx.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===ty.Gt||t8(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===ae.TitleEnd?this.decodeEntities&&e===ty.Amp&&this.startEntity():this.fastForwardTo(ty.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===ty.Lt)}stateCDATASequence(e){e===ae.Cdata[this.sequenceIndex]?++this.sequenceIndex===ae.Cdata.length&&(this.state=tx.InCommentLike,this.currentSequence=ae.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=tx.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===ae.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=tx.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!t7(e):t9(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=tx.SpecialStartSequence}stateBeforeTagName(e){if(e===ty.ExclamationMark)this.state=tx.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===ty.Questionmark)this.state=tx.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){let t=32|e;this.sectionStart=this.index,this.xmlMode?this.state=tx.InTagName:t===ae.ScriptEnd[2]?this.state=tx.BeforeSpecialS:t===ae.TitleEnd[2]||t===ae.XmpEnd[2]?this.state=tx.BeforeSpecialT:this.state=tx.InTagName}else e===ty.Slash?this.state=tx.BeforeClosingTagName:(this.state=tx.Text,this.stateText(e))}stateInTagName(e){t7(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=tx.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){t8(e)||(e===ty.Gt?this.state=tx.Text:(this.state=this.isTagStartChar(e)?tx.InClosingTagName:tx.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===ty.Gt||t8(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=tx.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===ty.Gt||this.fastForwardTo(ty.Gt))&&(this.state=tx.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===ty.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=tx.InSpecialTag,this.sequenceIndex=0):this.state=tx.Text,this.sectionStart=this.index+1):e===ty.Slash?this.state=tx.InSelfClosingTag:t8(e)||(this.state=tx.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===ty.Gt?(this.cbs.onselfclosingtag(this.index),this.state=tx.Text,this.sectionStart=this.index+1,this.isSpecial=!1):t8(e)||(this.state=tx.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===ty.Eq||t7(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=tx.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===ty.Eq?this.state=tx.BeforeAttributeValue:e===ty.Slash||e===ty.Gt?(this.cbs.onattribend(tv.NoValue,this.sectionStart),this.sectionStart=-1,this.state=tx.BeforeAttributeName,this.stateBeforeAttributeName(e)):t8(e)||(this.cbs.onattribend(tv.NoValue,this.sectionStart),this.state=tx.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===ty.DoubleQuote?(this.state=tx.InAttributeValueDq,this.sectionStart=this.index+1):e===ty.SingleQuote?(this.state=tx.InAttributeValueSq,this.sectionStart=this.index+1):t8(e)||(this.sectionStart=this.index,this.state=tx.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===ty.DoubleQuote?tv.Double:tv.Single,this.index+1),this.state=tx.BeforeAttributeName):this.decodeEntities&&e===ty.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,ty.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,ty.SingleQuote)}stateInAttributeValueNoQuotes(e){t8(e)||e===ty.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(tv.Unquoted,this.index),this.state=tx.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===ty.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===ty.OpeningSquareBracket?(this.state=tx.CDATASequence,this.sequenceIndex=0):this.state=e===ty.Dash?tx.BeforeComment:tx.InDeclaration}stateInDeclaration(e){(e===ty.Gt||this.fastForwardTo(ty.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=tx.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===ty.Gt||this.fastForwardTo(ty.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=tx.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===ty.Dash?(this.state=tx.InCommentLike,this.currentSequence=ae.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=tx.InDeclaration}stateInSpecialComment(e){(e===ty.Gt||this.fastForwardTo(ty.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=tx.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){let t=32|e;t===ae.ScriptEnd[3]?this.startSpecial(ae.ScriptEnd,4):t===ae.StyleEnd[3]?this.startSpecial(ae.StyleEnd,4):(this.state=tx.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){switch(32|e){case ae.TitleEnd[3]:this.startSpecial(ae.TitleEnd,4);break;case ae.TextareaEnd[3]:this.startSpecial(ae.TextareaEnd,4);break;case ae.XmpEnd[3]:this.startSpecial(ae.XmpEnd,4);break;default:this.state=tx.InTagName,this.stateInTagName(e)}}startEntity(){this.baseState=this.state,this.state=tx.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?t_.Strict:this.baseState===tx.Text||this.baseState===tx.InSpecialTag?t_.Legacy:t_.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,0===t&&(this.index-=1);else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===ty.Amp){this.state=this.baseState,this.index-=1;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===tx.Text||this.state===tx.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===tx.InAttributeValueDq||this.state===tx.InAttributeValueSq||this.state===tx.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case tx.Text:this.stateText(e);break;case tx.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case tx.InSpecialTag:this.stateInSpecialTag(e);break;case tx.CDATASequence:this.stateCDATASequence(e);break;case tx.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case tx.InAttributeName:this.stateInAttributeName(e);break;case tx.InCommentLike:this.stateInCommentLike(e);break;case tx.InSpecialComment:this.stateInSpecialComment(e);break;case tx.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case tx.InTagName:this.stateInTagName(e);break;case tx.InClosingTagName:this.stateInClosingTagName(e);break;case tx.BeforeTagName:this.stateBeforeTagName(e);break;case tx.AfterAttributeName:this.stateAfterAttributeName(e);break;case tx.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case tx.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case tx.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case tx.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case tx.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case tx.BeforeSpecialT:this.stateBeforeSpecialT(e);break;case tx.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case tx.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case tx.InDeclaration:this.stateInDeclaration(e);break;case tx.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case tx.BeforeComment:this.stateBeforeComment(e);break;case tx.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case tx.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===tx.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===tx.InCommentLike?this.currentSequence===ae.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===tx.InTagName||this.state===tx.BeforeAttributeName||this.state===tx.BeforeAttributeValue||this.state===tx.AfterAttributeName||this.state===tx.InAttributeName||this.state===tx.InAttributeValueSq||this.state===tx.InAttributeValueDq||this.state===tx.InAttributeValueNq||this.state===tx.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==tx.Text&&this.baseState!==tx.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}}let aa=new Set(["input","option","optgroup","select","button","datalist","textarea"]),ai=new Set(["p"]),ar=new Set(["thead","tbody"]),an=new Set(["dd","dt"]),as=new Set(["rt","rp"]),al=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",ai],["h1",ai],["h2",ai],["h3",ai],["h4",ai],["h5",ai],["h6",ai],["select",aa],["input",aa],["output",aa],["button",aa],["datalist",aa],["textarea",aa],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",an],["dt",an],["address",ai],["article",ai],["aside",ai],["blockquote",ai],["details",ai],["div",ai],["dl",ai],["fieldset",ai],["figcaption",ai],["figure",ai],["footer",ai],["form",ai],["header",ai],["hr",ai],["main",ai],["nav",ai],["ol",ai],["pre",ai],["section",ai],["table",ai],["ul",ai],["rt",as],["rp",as],["tbody",ar],["tfoot",ar]]),ao=new Set(["area","base","basefont","br","col","command","embed","frame","hr","
2img","input","isindex","keygen","link","meta","param","source","track","wbr"]),ac=new Set(["math","svg"]),ad=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),au=/\s|\//;class ah{constructor(e,t={}){var a,i,r,n,s,l;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!=(a=t.lowerCaseTags)?a:this.htmlMode,this.lowerCaseAttributeNames=null!=(i=t.lowerCaseAttributeNames)?i:this.htmlMode,this.recognizeSelfClosing=null!=(r=t.recognizeSelfClosing)?r:!this.htmlMode,this.tokenizer=new(null!=(n=t.Tokenizer)?n:at)(this.options,this),this.foreignContext=[!this.htmlMode],null==(l=(s=this.cbs).onparserinit)||l.call(s,this)}ontext(e,t){var a,i;let r=this.getSlice(e,t);this.endIndex=t-1,null==(i=(a=this.cbs).ontext)||i.call(a,r),this.startIndex=t}ontextentity(e,t){var a,i;this.endIndex=t-1,null==(i=(a=this.cbs).ontext)||i.call(a,tK(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&ao.has(e)}onopentagname(e,t){this.endIndex=t;let a=this.getSlice(e,t);this.lowerCaseTagNames&&(a=a.toLowerCase()),this.emitOpenTag(a)}emitOpenTag(e){var t,a,i,r;this.openTagStart=this.startIndex,this.tagname=e;let n=this.htmlMode&&al.get(e);if(n)for(;this.stack.length>0&&n.has(this.stack[0]);){let e=this.stack.shift();null==(a=(t=this.cbs).onclosetag)||a.call(t,e,!0)}!this.isVoidElement(e)&&(this.stack.unshift(e),this.htmlMode&&(ac.has(e)?this.foreignContext.unshift(!0):ad.has(e)&&this.foreignContext.unshift(!1))),null==(r=(i=this.cbs).onopentagname)||r.call(i,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,a;this.startIndex=this.openTagStart,this.attribs&&(null==(a=(t=this.cbs).onopentag)||a.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var a,i,r,n,s,l,o,c;this.endIndex=t;let d=this.getSlice(e,t);if(this.lowerCaseTagNames&&(d=d.toLowerCase()),this.htmlMode&&(ac.has(d)||ad.has(d))&&this.foreignContext.shift(),this.isVoidElement(d))this.htmlMode&&"br"===d&&(null==(n=(r=this.cbs).onopentagname)||n.call(r,"br"),null==(l=(s=this.cbs).onopentag)||l.call(s,"br",{},!0),null==(c=(o=this.cbs).onclosetag)||c.call(o,"br",!1));else{let e=this.stack.indexOf(d);if(-1!==e)for(let t=0;t<=e;t++){let r=this.stack.shift();null==(i=(a=this.cbs).onclosetag)||i.call(a,r,t!==e)}else this.htmlMode&&"p"===d&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,a;let i=this.tagname;this.endOpenTag(e),this.stack[0]===i&&(null==(a=(t=this.cbs).onclosetag)||a.call(t,i,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;let a=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?a.toLowerCase():a}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=tK(e)}onattribend(e,t){var a,i;this.endIndex=t,null==(i=(a=this.cbs).onattribute)||i.call(a,this.attribname,this.attribvalue,e===tv.Double?'"':e===tv.Single?"'":e===tv.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){let t=e.search(au),a=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(a=a.toLowerCase()),a}ondeclaration(e,t){this.endIndex=t;let a=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(a);this.cbs.onprocessinginstruction(`!${e}`,`!${a}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let a=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(a);this.cbs.onprocessinginstruction(`?${e}`,`?${a}`)}this.startIndex=t+1}oncomment(e,t,a){var i,r,n,s;this.endIndex=t,null==(r=(i=this.cbs).oncomment)||r.call(i,this.get
2Slice(e,t-a)),null==(s=(n=this.cbs).oncommentend)||s.call(n),this.startIndex=t+1}oncdata(e,t,a){var i,r,n,s,l,o,c,d,u,h;this.endIndex=t;let f=this.getSlice(e,t-a);!this.htmlMode||this.options.recognizeCDATA?(null==(r=(i=this.cbs).oncdatastart)||r.call(i),null==(s=(n=this.cbs).ontext)||s.call(n,f),null==(o=(l=this.cbs).oncdataend)||o.call(l)):(null==(d=(c=this.cbs).oncomment)||d.call(c,`[CDATA[${f}]]`),null==(h=(u=this.cbs).oncommentend)||h.call(u)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}null==(t=(e=this.cbs).onend)||t.call(e)}reset(){var e,t,a,i;null==(t=(e=this.cbs).onreset)||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null==(i=(a=this.cbs).onparserinit)||i.call(a,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let a=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),a+=this.buffers[0].slice(0,t-this.bufferOffset);return a}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,a;if(this.ended){null==(a=(t=this.cbs).onerror)||a.call(t,Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,a;if(this.ended){null==(a=(t=this.cbs).onerror)||a.call(t,Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}}function af(e,t){let a=new I(void 0,t);return new ah(a,t).end(e),a.root}var ap=e.i(83855),ap=ap;let am=null!=(tA=Object.hasOwn)?tA:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),ag=/\s+/,ab="data-",a_=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ay=/^{[^]*}$|^\[[^]*]$/;function ax(e,t,a){var i;if(e&&x(e)){if(null!=(i=e.attribs)||(e.attribs={}),!t)return e.attribs;if(am(e.attribs,t))return!a&&a_.test(t)?t:e.attribs[t];if("option"===e.name&&"value"===t)return e8(e.children);if("input"===e.name&&("radio"===e.attribs.type||"checkbox"===e.attribs.type)&&"value"===t)return"on"}}function av(e,t,a){null===a?aP(e,t):e.attribs[t]=`${a}`}function aA(e,t){if("object"==typeof e||void 0!==t){if("function"==typeof t){if("string"!=typeof e)throw Error("Bad combination of arguments.");return tY(this,(a,i)=>{x(a)&&av(a,e,t.call(a,i,a.attribs[e]))})}return tY(this,a=>{if(x(a))if("object"==typeof e)for(let t of Object.keys(e)){let i=e[t];av(a,t,i)}else av(a,e,t)})}return arguments.length>1?this:ax(this[0],e,this.options.xmlMode)}function aw(e,t,a){return t in e?e[t]:!a&&a_.test(t)?void 0!==ax(e,t,!1):ax(e,t,a)}function aE(e,t,a,i){t in e?e[t]=a:av(e,t,!i&&a_.test(t)?a?"":null:`${a}`)}function aS(e,t){var a;if("string"==typeof e&&void 0===t){let t=this[0];if(!t)return;switch(e){case"style":{let e=this.css(),t=Object.keys(e);for(let a=0;a<t.length;a++)e[a]=t[a];return e.length=t.length,e}case"tagName":case"nodeName":if(!x(t))return;return t.name.toUpperCase();case"href":case"src":{if(!x(t))return;let i=null==(a=t.attribs)?void 0:a[e];if("u">typeof URL&&("href"===e&&("a"===t.tagName||"link"===t.tagName)||"src"===e&&("img"===t.tagName||"iframe"===t.tagName||"audio"===t.tagName||"video"===t.tagName||"source"===t.tagName))&&void 0!==i&&this.options.baseURI)return new URL(i,this.options.baseURI).href;return i}case"innerText":return eb(t);case"textContent":return eg(t);case"outerHTML":if(t.type===ap.Root)return this.html();return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:if(!x(t))return;return aw(t,e,this.options.xmlMode)}}if("object"==typeof e||void 0!==t){if("function"==typeof t){if("object"==typeof e)throw TypeError("Bad combination of arguments.");return tY(this,(a,i)=>{x(a)&&aE(a,e,t.call(a,i,aw(a,e,this.options.xmlMode)),this.options.xmlMode)})}return tY(this,a=>{if(x(a))if("object"==typeof e)for(let t of Object.keys(e)){let i=e[t];aE(a,t,i,this.options.xmlMode)}else aE(a,e,t,this.options.xmlMode)})}}function aC(e,t,a){var i;null!=(i=e.data)||(e.data={}
2),"object"==typeof t?Object.assign(e.data,t):"string"==typeof t&&void 0!==a&&(e.data[t]=a)}function aT(e){for(let t of Object.keys(e.attribs)){if(!t.startsWith(ab))continue;let a=tG(t.slice(ab.length));am(e.data,a)||(e.data[a]=ak(e.attribs[t]))}return e.data}function aN(e,t){let a=ab+tW(t),i=e.data;return am(i,t)?i[t]:am(e.attribs,a)?i[t]=ak(e.attribs[a]):void 0}function ak(e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!1;let t=Number(e);if(e===String(t))return t;if(ay.test(e))try{return JSON.parse(e)}catch{}return e}function aI(e,t){var a;let i=this[0];if(!i||!x(i))return;let r=i;return(null!=(a=r.data)||(r.data={}),null==e)?aT(r):"object"==typeof e||void 0!==t?(tY(this,a=>{x(a)&&("object"==typeof e?aC(a,e):aC(a,e,t))}),this):aN(r,e)}function aj(e){let t=0==arguments.length,a=this[0];if(!a||!x(a))return t?void 0:this;switch(a.name){case"textarea":return this.text(e);case"select":{let a=this.find("option:selected");if(!t){if(null==this.attr("multiple")&&"object"==typeof e)return this;for(let t of(this.find("option").removeAttr("selected"),"object"==typeof e?e:[e]))this.find(`option[value="${t}"]`).attr("selected","");return this}return this.attr("multiple")?a.toArray().map(e=>e8(e.children)):a.attr("value")}case"button":case"input":case"option":return t?this.attr("value"):this.attr("value",e)}}function aP(e,t){e.attribs&&am(e.attribs,t)&&delete e.attribs[t]}function aL(e){return e?e.trim().split(ag):[]}function aO(e){for(let t of aL(e))tY(this,e=>{x(e)&&aP(e,t)});return this}function aD(e){return this.toArray().some(t=>{let a=x(t)&&t.attribs.class,i=-1;if(a&&e.length>0)for(;(i=a.indexOf(e,i+1))>-1;){let t=i+e.length;if((0===i||ag.test(a[i-1]))&&(t===a.length||ag.test(a[t])))return!0}return!1})}function aM(e){if("function"==typeof e)return tY(this,(t,a)=>{if(x(t)){let i=t.attribs.class||"";aM.call([t],e.call(t,a,i))}});if(!e||"string"!=typeof e)return this;let t=e.split(ag),a=this.length;for(let e=0;e<a;e++){let a=this[e];if(!x(a))continue;let i=ax(a,"class",!1);if(i){let e=` ${i} `;for(let a of t){let t=`${a} `;e.includes(` ${t}`)||(e+=t)}av(a,"class",e.trim())}else av(a,"class",t.join(" ").trim())}return this}function aR(e){if("function"==typeof e)return tY(this,(t,a)=>{x(t)&&aR.call([t],e.call(t,a,t.attribs.class||""))});let t=aL(e),a=t.length,i=0==arguments.length;return tY(this,e=>{if(x(e))if(i)e.attribs.class="";else{let i=aL(e.attribs.class),r=!1;for(let e=0;e<a;e++){let a=i.indexOf(t[e]);-1!==a&&(i.splice(a,1),r=!0,e--)}r&&(e.attribs.class=i.join(" "))}})}function aF(e,t){if("function"==typeof e)return tY(this,(a,i)=>{x(a)&&aF.call([a],e.call(a,i,a.attribs.class||"",t),t)});if(!e||"string"!=typeof e)return this;let a=e.split(ag),i=a.length,r="boolean"==typeof t?t?1:-1:0,n=this.length;for(let e=0;e<n;e++){let t=this[e];if(!x(t))continue;let n=aL(t.attribs.class);for(let e=0;e<i;e++){let t=n.indexOf(a[e]);r>=0&&-1===t?n.push(a[e]):r<=0&&-1!==t&&n.splice(t,1)}t.attribs.class=n.join(" ")}return this}e.s(["addClass",0,aM,"attr",0,aA,"data",0,aI,"hasClass",0,aD,"prop",0,aS,"removeAttr",0,aO,"removeClass",0,aR,"toggleClass",0,aF,"val",0,aj],45559);var aB=e.i(45559);!function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"}(tw||(tw={})),function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"}(tE||(tE={}));let aU=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,aH=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,a$=new Map([[126,tE.Element],[94,tE.Start],[36,tE.End],[42,tE.Any],[33,tE.Not],[124,tE.Hyphen]]),aG=new Set(["has","not","matches","is","where","host","host-context"]);function aW(e){switch(e.type){case tw.Adjacent:case tw.Child:case tw.Descendant:case tw.Parent:case tw.Sibling:case tw.ColumnCombinator:return!0;default:return!1}}let aY=new Set(["contains","icontains"]);function az(e,t,a){let i=parseInt(t,16)-65536;return i!=i||a?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)}function aV(e){return e.replace(aH,az)}function aK(e){return 39===e||34===e}function aq(e){return 32===e||9===e||10===e||12===e||13===e}function aQ(e){let t=[],a=aZ(t,`${e}`,0);if(a<e.length)throw Error(`Unmatched selector: ${e.slice(a)}`);return t}function aZ(e,t,a){let i=[];function r(e){let i=t.slice(a+e).match(aU);if(!i)throw Error(`Expected name, found ${t.slice(a)}`);let[r]=i;return a+=e+r.length,aV(r)}function n(e){for(a+=e;a<t.length&&aq(t.charCodeAt(a));)a++}function s(){let e=a+=1,i=1;for(;i>0&&a<t.length;a++)40!==t.charCodeAt(a)||l(a)?41===t.charCodeAt(a)&&!l(a)&&i--:i++;if(i)throw Error("Parenthesis not matched");return aV(t.slice(e,a-1))}function l(e){let a=0;for(;92===t.charCodeAt(--e);)a++;return(1&a)==1}function o(){if(i.length>
20&&aW(i[i.length-1]))throw Error("Did not expect successive traversals.")}function c(e){if(i.length>0&&i[i.length-1].type===tw.Descendant){i[i.length-1].type=e;return}o(),i.push({type:e})}function d(e,t){i.push({type:tw.Attribute,name:e,action:t,value:r(1),namespace:null,ignoreCase:"quirks"})}function u(){if(i.length&&i[i.length-1].type===tw.Descendant&&i.pop(),0===i.length)throw Error("Empty sub-selector");e.push(i)}if(n(0),t.length===a)return a;a:for(;a<t.length;){let e=t.charCodeAt(a);switch(e){case 32:case 9:case 10:case 12:case 13:(0===i.length||i[0].type!==tw.Descendant)&&(o(),i.push({type:tw.Descendant})),n(1);break;case 62:c(tw.Child),n(1);break;case 60:c(tw.Parent),n(1);break;case 126:c(tw.Sibling),n(1);break;case 43:c(tw.Adjacent),n(1);break;case 46:d("class",tE.Element);break;case 35:d("id",tE.Equals);break;case 91:{let e;n(1);let s=null;124===t.charCodeAt(a)?e=r(1):t.startsWith("*|",a)?(s="*",e=r(2)):(e=r(0),124===t.charCodeAt(a)&&61!==t.charCodeAt(a+1)&&(s=e,e=r(1))),n(0);let o=tE.Exists,c=a$.get(t.charCodeAt(a));if(c){if(o=c,61!==t.charCodeAt(a+1))throw Error("Expected `=`");n(2)}else 61===t.charCodeAt(a)&&(o=tE.Equals,n(1));let d="",u=null;if("exists"!==o){if(aK(t.charCodeAt(a))){let e=t.charCodeAt(a),i=a+1;for(;i<t.length&&(t.charCodeAt(i)!==e||l(i));)i+=1;if(t.charCodeAt(i)!==e)throw Error("Attribute value didn't end");d=aV(t.slice(a+1,i)),a=i+1}else{let e=a;for(;a<t.length&&(!aq(t.charCodeAt(a))&&93!==t.charCodeAt(a)||l(a));)a+=1;d=aV(t.slice(e,a))}n(0);let e=32|t.charCodeAt(a);115===e?(u=!1,n(1)):105===e&&(u=!0,n(1))}if(93!==t.charCodeAt(a))throw Error("Attribute selector didn't terminate");a+=1;let h={type:tw.Attribute,name:e,action:o,value:d,namespace:s,ignoreCase:u};i.push(h);break}case 58:{if(58===t.charCodeAt(a+1)){i.push({type:tw.PseudoElement,name:r(2).toLowerCase(),data:40===t.charCodeAt(a)?s():null});continue}let e=r(1).toLowerCase(),n=null;if(40===t.charCodeAt(a))if(aG.has(e)){if(aK(t.charCodeAt(a+1)))throw Error(`Pseudo-selector ${e} cannot be quoted`);if(a=aZ(n=[],t,a+1),41!==t.charCodeAt(a))throw Error(`Missing closing parenthesis in :${e} (${t})`);a+=1}else{if(n=s(),aY.has(e)){let e=n.charCodeAt(0);e===n.charCodeAt(n.length-1)&&aK(e)&&(n=n.slice(1,-1))}n=aV(n)}i.push({type:tw.Pseudo,name:e,data:n});break}case 44:u(),i=[],n(1);break;default:{let s;if(t.startsWith("/*",a)){let e=t.indexOf("*/",a+2);if(e<0)throw Error("Comment was not terminated");a=e+2,0===i.length&&n(0);break}let l=null;if(42===e)a+=1,s="*";else if(124===e){if(s="",124===t.charCodeAt(a+1)){c(tw.ColumnCombinator),n(2);break}}else if(aU.test(t.slice(a)))s=r(0);else break a;124===t.charCodeAt(a)&&124!==t.charCodeAt(a+1)&&(l=s,42===t.charCodeAt(a+1)?(s="*",a+=2):s=r(1)),i.push("*"===s?{type:tw.Universal,namespace:l}:{type:tw.Tag,name:s,namespace:l})}}}return u(),a}function aX(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,a=t.lastIndexOf(e);a>=0&&t.splice(a,1)}e.next=null,e.prev=null,e.parent=null}function aJ(e,t){let a=t.prev=e.prev;a&&(a.next=t);let i=t.next=e.next;i&&(i.prev=t);let r=t.parent=e.parent;if(r){let a=r.children;a[a.lastIndexOf(e)]=t,e.parent=null}}function a0(e,t){if(aX(t),t.next=null,t.parent=e,e.children.push(t)>1){let a=e.children[e.children.length-2];a.next=t,t.prev=a}else t.prev=null}function a1(e,t){aX(t);let{parent:a}=e,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=a,i){if(i.prev=t,a){let e=a.children;e.splice(e.lastIndexOf(i),0,t)}}else a&&a.children.push(t)}function a2(e,t){if(aX(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){let a=e.children[1];a.prev=t,t.next=a}else t.next=null}function a3(e,t){aX(t);let{parent:a}=e;if(a){let i=a.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=a,t.prev=e.prev,t.next=e,e.prev=t}e.i(4166),e.i(63454),e.i(6650),e.s(["append",0,a1,"appendChild",0,a0,"prepend",0,a3,"prependChild",0,a2,"removeElement",0,aX,"replaceElement",0,aJ],41701),e.i(41701),e.i(46154),e.i(15111),e.i(76878),e.i(36527),e.s(["DocumentPosition",0,th,"append",0,a1,"appendChild",0,a0,"compareDocumentPosition",0,eG,"existsOne",0,eI,"filter",0,eC,"find",0,eT,"findAll",0,ej,"findOne",0,ek,"findOneChild",0,eN,"getAttributeValue",0,ev,"getChildren",0,e_,"getElementById",0,eF,"getElements",0,eR,"getElementsByClassName",0,eU,"getElementsByTagName",0,eB,"getElementsByTagType",0,eH,"getFeed",0,eY,"getInnerHTML",0,ep,"getName",0,ew,"getOuterHTML",0,ef,"getParent",0,ey,"getSiblings",0,ex,"getText",0,em,"hasAttrib",0,eA,"hasChildren",0,C,"innerText",0,eb,"isCDATA",0,v,"isComment",0,w,"isDocument",0,S,"isTag",0,x,"isText",0,A,"nextElementSibling",0,eE,"prepend",0,a3,"prependChild",0,a2,"prevElementSibling",0,eS,"removeElement",0,aX,"removeSubsets",0,e$,"replaceElement",0,aJ,"testElement",0,eM,"textContent",0,eg,"uniqueSort",0,eW],96507);var a4=e.i(96507),a6=e.i(31993),a5=a6;let a8=new Map([[tw.Universal,50],[tw.Tag,30],[tw.Attribute,1],[tw.Pseudo,0]]);function a7(e){return!a8.has(e.type)}let a9=new Map([[tE.Exists,10],[tE.Equals,8],[tE.Not,7],[tE.Start,6],[tE.End,6],[tE.Any,5]]);function ie(e){let t=e.map(it);for(let a=1;a<e.length;a++){let i=t[a];if(!(i<0))for(let r=a-1;r>=0&&i<t[r];r--){let a=e[r+1];e[r+1]=e[r],e[r]=a,t[r+1]=t[r],t[r]=i}}}function it(e){var t,a;let i=null!=(t=a8.get(e.type))?t:-1;return e.type===tw.Attribute?(i=null!=(a=a9.get(e.action))?a:4,e.action===tE.Equals&&"id"===e.name&&(i=9),e.ignoreCase&&(i>>=1)):e.type===tw.Pseudo&&(e.data?"has"===e.name||"contains"===e.name?i=0:Array.isArray(e.data)?(i=Math.min(...e.data.map(e=>Math.min(...e.map(it)))))<0&&(i=0):i=2:i=3),i}var ia=a6;let ii=/[-[\]{}()*+?.,\\^$|#\s]/g;function ir(e){return e.replace(ii,"\\$&")}let is=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function il(e,t){return"boolean"==typeof e.ignoreCase?e.ignoreCase:"quirks"===e.ignoreCase?!!t.quirksMode:!t.xmlMode&&is.has(e.name)}let io={equals(e,t,a){let{adapter:i}=a,{name:r}=t,{value:n}=t;return il(t,a)?(n=n.toLowerCase(),t=>{let a=i.getAttributeValue(t,r);return null!=a&&a.length===n.length&&a.toLowerCase()===n&&e(t)}):t=>i.getAttributeValue(t,r)===n&&e(t)},hyphen(e,t,a){let{adapter:i}=a,{name:r}=t,{value:n}=t,s=n.length;return il(t,a)?(n=n.toLowerCase(),function(t){let a=i.getAttributeValue(t,r);return null!=a&&(a.length===s||"-"===a.charAt(s))&&a.substr(0,s).toLowerCase()===n&&e(t)}):function(t){let a=i.getAttributeValue(t,r);return null!=a&&(a.length===s||"-"===a.charAt(s))&&a.substr(0,s)===n&&e(t)}}
2,element(e,t,a){let{adapter:i}=a,{name:r,value:n}=t;if(/\s/.test(n))return ia.default.falseFunc;let s=RegExp(`(?:^|\\s)${ir(n)}(?:$|\\s)`,il(t,a)?"i":"");return function(t){let a=i.getAttributeValue(t,r);return null!=a&&a.length>=n.length&&s.test(a)&&e(t)}},exists:(e,{name:t},{adapter:a})=>i=>a.hasAttrib(i,t)&&e(i),start(e,t,a){let{adapter:i}=a,{name:r}=t,{value:n}=t,s=n.length;return 0===s?ia.default.falseFunc:il(t,a)?(n=n.toLowerCase(),t=>{let a=i.getAttributeValue(t,r);return null!=a&&a.length>=s&&a.substr(0,s).toLowerCase()===n&&e(t)}):t=>{var a;return!!(null==(a=i.getAttributeValue(t,r))?void 0:a.startsWith(n))&&e(t)}},end(e,t,a){let{adapter:i}=a,{name:r}=t,{value:n}=t,s=-n.length;return 0===s?ia.default.falseFunc:il(t,a)?(n=n.toLowerCase(),t=>{var a;return(null==(a=i.getAttributeValue(t,r))?void 0:a.substr(s).toLowerCase())===n&&e(t)}):t=>{var a;return!!(null==(a=i.getAttributeValue(t,r))?void 0:a.endsWith(n))&&e(t)}},any(e,t,a){let{adapter:i}=a,{name:r,value:n}=t;if(""===n)return ia.default.falseFunc;if(il(t,a)){let t=RegExp(ir(n),"i");return function(a){let s=i.getAttributeValue(a,r);return null!=s&&s.length>=n.length&&t.test(s)&&e(a)}}return t=>{var a;return!!(null==(a=i.getAttributeValue(t,r))?void 0:a.includes(n))&&e(t)}},not(e,t,a){let{adapter:i}=a,{name:r}=t,{value:n}=t;return""===n?t=>!!i.getAttributeValue(t,r)&&e(t):il(t,a)?(n=n.toLowerCase(),t=>{let a=i.getAttributeValue(t,r);return(null==a||a.length!==n.length||a.toLowerCase()!==n)&&e(t)}):t=>i.getAttributeValue(t,r)!==n&&e(t)}},ic=new Set([9,10,12,13,32]),id=48,iu=57;function ih(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,a=0,i=n(),r=s();if(t<e.length&&"n"===e.charAt(t)&&(t++,a=i*(null!=r?r:1),l(),t<e.length?(i=n(),l(),r=s()):i=r=0),null===r||t<e.length)throw Error(`n-th rule couldn't be parsed ('${e}')`);return[a,i*r];function n(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function s(){let a=t,i=0;for(;t<e.length&&e.charCodeAt(t)>=id&&e.charCodeAt(t)<=iu;)i=10*i+(e.charCodeAt(t)-id),t++;return t===a?null:i}function l(){for(;t<e.length&&ic.has(e.charCodeAt(t));)t++}}var ip=a6;function im(e){let t=e[0],a=e[1]-1;if(a<0&&t<=0)return ip.default.falseFunc;if(-1===t)return e=>e<=a;if(0===t)return e=>e===a;if(1===t)return a<0?ip.default.trueFunc:e=>e>=a;let i=Math.abs(t),r=(a%i+i)%i;return t>1?e=>e>=a&&e%i===r:e=>e<=a&&e%i===r}function ig(e){return im(ih(e))}var ib=a6;function i_(e,t){return a=>{let i=t.getParent(a);return null!=i&&t.isTag(i)&&e(a)}}let iy={contains:(e,t,{adapter:a})=>function(i){return e(i)&&a.getText(i).includes(t)},icontains(e,t,{adapter:a}){let i=t.toLowerCase();return function(t){return e(t)&&a.getText(t).toLowerCase().includes(i)}},"nth-child"(e,t,{adapter:a,equals:i}){let r=ig(t);return r===ib.default.falseFunc?ib.default.falseFunc:r===ib.default.trueFunc?i_(e,a):function(t){let n=a.getSiblings(t),s=0;for(let e=0;e<n.length&&!i(t,n[e]);e++)a.isTag(n[e])&&s++;return r(s)&&e(t)}},"nth-last-child"(e,t,{adapter:a,equals:i}){let r=ig(t);return r===ib.default.falseFunc?ib.default.falseFunc:r===ib.default.trueFunc?i_(e,a):function(t){let n=a.getSiblings(t),s=0;for(let e=n.length-1;e>=0&&!i(t,n[e]);e--)a.isTag(n[e])&&s++;return r(s)&&e(t)}},"nth-of-type"(e,t,{adapter:a,equals:i}){let r=ig(t);return r===ib.default.falseFunc?ib.default.falseFunc:r===ib.default.trueFunc?i_(e,a):function(t){let n=a.getSiblings(t),s=0;for(let e=0;e<n.length;e++){let r=n[e];if(i(t,r))break;a.isTag(r)&&a.getName(r)===a.getName(t)&&s++}return r(s)&&e(t)}},"nth-last-of-type"(e,t,{adapter:a,equals:i}){let r=ig(t);return r===ib.default.falseFunc?ib.default.falseFunc:r===ib.default.trueFunc?i_(e,a):function(t){let n=a.getSiblings(t),s=0;for(let e=n.length-1;e>=0;e--){let r=n[e];if(i(t,r))break;a.isTag(r)&&a.getName(r)===a.getName(t)&&s++}return r(s)&&e(t)}},root:(e,t,{adapter:a})=>t=>{let i=a.getParent(t);return(null==i||!a.isTag(i))&&e(t)},scope(e,t,a,i){let{equals:r}=a;return i&&0!==i.length?1===i.length?t=>r(i[0],t)&&e(t):t=>i.includes(t)&&e(t):iy.root(e,t,a)},hover:ix("isHovered"),visited:ix("isVisited"),active:ix("isActive")};function ix(e){return function(t,a,{adapter:i}){let r=i[e];return"function"!=typeof r?ib.default.falseFunc:function(e){return r(e)&&t(e)}}}let iv={empty:(e,{adapter:t})=>!t.getChildren(e).some(e=>t.isTag(e)||""!==t.getText(e)),"first-child"(e,{adapter:t,equals:a}){if(t.prevElementSibling)return null==t.prevElementSibling(e);let i=t.getSiblings(e).find(e=>t.isTag(e));return null!=i&&a(e,i)},"last-child"(e,{adapter:t,equals:a}){let i=t.getSiblings(e);for(let r=i.length-1;r>=0;r--){if(a(e,i[r]))return!0;
2if(t.isTag(i[r]))break}return!1},"first-of-type"(e,{adapter:t,equals:a}){let i=t.getSiblings(e),r=t.getName(e);for(let n=0;n<i.length;n++){let s=i[n];if(a(e,s))return!0;if(t.isTag(s)&&t.getName(s)===r)break}return!1},"last-of-type"(e,{adapter:t,equals:a}){let i=t.getSiblings(e),r=t.getName(e);for(let n=i.length-1;n>=0;n--){let s=i[n];if(a(e,s))return!0;if(t.isTag(s)&&t.getName(s)===r)break}return!1},"only-of-type"(e,{adapter:t,equals:a}){let i=t.getName(e);return t.getSiblings(e).every(r=>a(e,r)||!t.isTag(r)||t.getName(r)!==i)},"only-child":(e,{adapter:t,equals:a})=>t.getSiblings(e).every(i=>a(e,i)||!t.isTag(i))};function iA(e,t,a,i){if(null===a){if(e.length>i)throw Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===i)throw Error(`Pseudo-class :${t} doesn't have any arguments`)}let iw={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
3        :is(button, input, select, textarea, optgroup, option)[disabled],
4        optgroup[disabled] > option,
5        fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)
6    )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"};var iE=a6;let iS={};function iC(e,t){return e===iE.default.falseFunc?iE.default.falseFunc:a=>t.isTag(a)&&e(a)}function iT(e,t){let a=t.getSiblings(e);if(a.length<=1)return[];let i=a.indexOf(e);return i<0||i===a.length-1?[]:a.slice(i+1).filter(t.isTag)}function iN(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}let ik=(e,t,a,i,r)=>{let n=r(t,iN(a),i);return n===iE.default.trueFunc?e:n===iE.default.falseFunc?iE.default.falseFunc:t=>n(t)&&e(t)},iI={is:ik,matches:ik,where:ik,not(e,t,a,i,r){let n=r(t,iN(a),i);return n===iE.default.falseFunc?e:n===iE.default.trueFunc?iE.default.falseFunc:t=>!n(t)&&e(t)},has(e,t,a,i,r){let{adapter:n}=a,s=iN(a);s.relativeSelector=!0;let l=t.some(e=>e.some(a7))?[iS]:void 0,o=r(t,s,l);if(o===iE.default.falseFunc)return iE.default.falseFunc;let c=iC(o,n);if(l&&o!==iE.default.trueFunc){let{shouldTestNextSiblings:t=!1}=o;return a=>{if(!e(a))return!1;l[0]=a;let i=n.getChildren(a),r=t?[...i,...iT(a,n)]:i;return n.existsOne(c,r)}}return t=>e(t)&&n.existsOne(c,n.getChildren(t))}};function ij(e,t,a,i,r){var n;let{name:s,data:l}=t;if(Array.isArray(l)){if(!(s in iI))throw Error(`Unknown pseudo-class :${s}(${l})`);return iI[s](e,l,a,i,r)}let o=null==(n=a.pseudos)?void 0:n[s],c="string"==typeof o?o:iw[s];if("string"==typeof c){if(null!=l)throw Error(`Pseudo ${s} doesn't have any arguments`);let t=aQ(c);return iI.is(e,t,a,i,r)}if("function"==typeof o)return iA(o,s,l,1),t=>o(t,l)&&e(t);if(s in iy)return iy[s](e,l,a,i);if(s in iv){let t=iv[s];return iA(t,s,l,2),i=>t(i,a,l)&&e(i)}throw Error(`Unknown pseudo-class :${s}`)}function iP(e,t){let a=t.getParent(e);return a&&t.isTag(a)?a:null}function iL(e,t,a,i,r){let{adapter:n,equals:s}=a;switch(t.type){case tw.PseudoElement:throw Error("Pseudo-elements are not supported by css-select");case tw.ColumnCombinator:throw Error("Column combinators are not yet supported by css-select");case tw.Attribute:if(null!=t.namespace)throw Error("Namespaced attributes are not yet supported by css-select");return(!a.xmlMode||a.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),io[t.action](e,t,a);case tw.Pseudo:return ij(e,t,a,i,r);case tw.Tag:{if(null!=t.namespace)throw Error("Namespaced tag names are not yet supported by css-select");let{name:i}=t;return(!a.xmlMode||a.lowerCaseTags)&&(i=i.toLowerCase()),function(t){return n.getName(t)===i&&e(t)}}case tw.Descendant:{if(!1===a.cacheResults||"u"<typeof WeakSet)return function(t){let a=t;for(;a=iP(a,n);)if(e(a))return!0;return!1};let t=new WeakSet;return function(a){let i=a;for(;i=iP(i,n);)if(!t.has(i)){if(n.isTag(i)&&e(i))return!0;t.add(i)}return!1}}case"_flexibleDescendant":return function(t){let a=t;do if(e(a))return!0;while(a=iP(a,n))return!1};case tw.Parent:return function(t){return n.getChildren(t).some(t=>n.isTag(t)&&e(t))};case tw.Child:return function(t){let a=n.getParent(t);return null!=a&&n.isTag(a)&&e(a)};
6case tw.Sibling:return function(t){let a=n.getSiblings(t);for(let i=0;i<a.length;i++){let r=a[i];if(s(t,r))break;if(n.isTag(r)&&e(r))return!0}return!1};case tw.Adjacent:if(n.prevElementSibling)return function(t){let a=n.prevElementSibling(t);return null!=a&&e(a)};return function(t){let a,i=n.getSiblings(t);for(let e=0;e<i.length;e++){let r=i[e];if(s(t,r))break;n.isTag(r)&&(a=r)}return!!a&&e(a)};case tw.Universal:if(null!=t.namespace&&"*"!==t.namespace)throw Error("Namespaced universal selectors are not yet supported by css-select");return e}}function iO(e,t,a){return iC(iD(e,t,a),t.adapter)}function iD(e,t,a){return iH("string"==typeof e?aQ(e):e,t,a)}function iM(e){return e.type===tw.Pseudo&&("scope"===e.name||Array.isArray(e.data)&&e.data.some(e=>e.some(iM)))}let iR={type:tw.Descendant},iF={type:"_flexibleDescendant"},iB={type:tw.Pseudo,name:"scope",data:null};function iU(e,{adapter:t},a){let i=!!(null==a?void 0:a.every(e=>{let a=t.isTag(e)&&t.getParent(e);return e===iS||a&&t.isTag(a)}));for(let t of e){if(t.length>0&&a7(t[0])&&t[0].type!==tw.Descendant);else{if(!i||t.some(iM))continue;t.unshift(iR)}t.unshift(iB)}}function iH(e,t,a){var i;e.forEach(ie);let r=Array.isArray(a=null!=(i=t.context)?i:a),n=a&&(Array.isArray(a)?a:[a]);if(!1!==t.relativeSelector)iU(e,t,n);else if(e.some(e=>e.length>0&&a7(e[0])))throw Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let s=!1,l=e.map(e=>{if(e.length>=2){let[t,a]=e;t.type!==tw.Pseudo||"scope"!==t.name||(r&&a.type===tw.Descendant?e[1]=iF:(a.type===tw.Adjacent||a.type===tw.Sibling)&&(s=!0))}return i$(e,t,n)}).reduce(iG,a5.default.falseFunc);return l.shouldTestNextSiblings=s,l}function i$(e,t,a){var i;return e.reduce((e,i)=>e===a5.default.falseFunc?a5.default.falseFunc:iL(e,i,t,a,iH),null!=(i=t.rootFunc)?i:a5.default.trueFunc)}function iG(e,t){return t===a5.default.falseFunc||e===a5.default.trueFunc?e:e===a5.default.falseFunc||t===a5.default.trueFunc?t:function(a){return e(a)||t(a)}}let iW=(e,t)=>e===t,iY={adapter:a4,equals:iW};function iz(e){var t,a,i,r;let n=null!=e?e:iY;return null!=(t=n.adapter)||(n.adapter=a4),null!=(a=n.equals)||(n.equals=null!=(r=null==(i=n.adapter)?void 0:i.equals)?r:iW),n}function iV(e){return function(t,a,i){return e(t,iz(a),i)}}iV(iO),iV(iD);let iK=iV(iH);function iq(e){return function(t,a,i){let r=iz(i);"function"!=typeof t&&(t=iD(t,r,a));let n=iQ(a,r.adapter,t.shouldTestNextSiblings);return e(t,n,r)}}function iQ(e,t,a=!1){return a&&(e=iZ(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function iZ(e,t){let a=Array.isArray(e)?e.slice(0):[e],i=a.length;for(let e=0;e<i;e++){let i=iT(a[e],t);a.push(...i)}return a}iq((e,t,a)=>e!==a6.default.falseFunc&&t&&0!==t.length?a.adapter.findAll(e,t):[]),iq((e,t,a)=>e!==a6.default.falseFunc&&t&&0!==t.length?a.adapter.findOne(e,t):null);var iX=a4,iJ=a6;let i0=new Set(["first","last","eq","gt","nth","lt","even","odd"]);function i1(e){return"pseudo"===e.type&&(!!i0.has(e.name)||!!("not"===e.name&&Array.isArray(e.data))&&e.data.some(e=>e.some(i1)))}function i2(e,t,a){let i=null!=t?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(i)?i>=0?i+1:1/0:0;case"lt":return isFinite(i)?i>=0?Math.min(i,a):1/0:0;case"gt":return isFinite(i)?1/0:0;case"odd":return 2*a;case"even":return 2*a-1;case"last":case"not":return 1/0}}function i3(e){for(;e.parent;)e=e.parent;return e}function i4(e){let t=[],a=[];for(let i of e)i.some(i1)?t.push(i):a.push(i);return[a,t]}let i6={type:tw.Universal,namespace:null},i5={type:tw.Pseudo,name:"scope",data:null};function i8(e,t,a={}){return i7([e],t,a)}function i7(e,t,a={}){if("function"==typeof t)return e.some(t);let[i,r]=i4(aQ(t));return i.length>0&&e.some(iK(i,a))||r.some(t=>ra(t,e,a).length>0)}function i9(e,t,a,i){let r="string"==typeof a?parseInt(a,10):NaN;switch(e){case"first":case"lt":return t;case"last":return t.length>0?[t[t.length-1]]:t;case"nth":case"eq":return isFinite(r)&&Math.abs(r)<t.length?[r<0?t[t.length+r]:t[r]]:[];case"gt":return isFinite(r)?t.slice(r+1):[];case"even":return t.filter((e,t)=>t%2==0);case"odd":return t.filter((e,t)=>
6t%2==1);case"not":{let e=new Set(rt(a,t,i));return t.filter(t=>!e.has(t))}}}function re(e,t,a={}){return rt(aQ(e),t,a)}function rt(e,t,a){let i;if(0===t.length)return[];let[r,n]=i4(e);if(r.length){let e=rl(t,r,a);if(0===n.length)return e;e.length&&(i=new Set(e))}for(let e=0;e<n.length&&(null==i?void 0:i.size)!==t.length;e++){let r=n[e];if(0===(i?t.filter(e=>iX.isTag(e)&&!i.has(e)):t).length)break;let s=ra(r,t,a);if(s.length)if(i)s.forEach(e=>i.add(e));else{if(e===n.length-1)return s;i=new Set(s)}}return void 0!==i?i.size===t.length?t:t.filter(e=>i.has(e)):[]}function ra(e,t,a){var i;if(e.some(aW)){let r=null!=(i=a.root)?i:i3(t[0]),n={...a,context:t,relativeSelector:!1};return e.push(i5),rr(r,e,n,!0,t.length)}return rr(t,e,a,!1,t.length)}function ri(e,t,a={},i=1/0){if("function"==typeof e)return rs(t,e);let[r,n]=i4(aQ(e)),s=n.map(e=>rr(t,e,a,!0,i));return(r.length&&s.push(rn(t,r,a,i)),0===s.length)?[]:1===s.length?s[0]:iX.uniqueSort(s.reduce((e,t)=>[...e,...t]))}function rr(e,t,a,i,r){let n=t.findIndex(i1),s=t.slice(0,n),l=t[n],o=t.length-1===n?r:1/0,c=i2(l.name,l.data,o);if(0===c)return[];let d=(0!==s.length||Array.isArray(e)?0===s.length?(Array.isArray(e)?e:[e]).filter(iX.isTag):i||s.some(aW)?rn(e,[s],a,c):rl(e,[s],a):iX.getChildren(e).filter(iX.isTag)).slice(0,c),u=i9(l.name,d,l.data,a);if(0===u.length||t.length===n+1)return u;let h=t.slice(n+1),f=h.some(aW);if(f){if(aW(h[0])){let{type:e}=h[0];(e===tw.Sibling||e===tw.Adjacent)&&(u=iQ(u,iX,!0)),h.unshift(i6)}a={...a,relativeSelector:!1,rootFunc:e=>u.includes(e)}}else a.rootFunc&&a.rootFunc!==iJ.trueFunc&&(a={...a,rootFunc:iJ.trueFunc});return h.some(i1)?rr(u,h,a,!1,r):f?rn(u,[h],a,r):rl(u,[h],a)}function rn(e,t,a,i){let r=iK(t,a,e);return rs(e,r,i)}function rs(e,t,a=1/0){let i=iQ(e,iX,t.shouldTestNextSiblings);return iX.find(e=>iX.isTag(e)&&t(e),i,!0,a)}function rl(e,t,a){let i=(Array.isArray(e)?e:[e]).filter(iX.isTag);if(0===i.length)return i;let r=iK(t,a);return r===iJ.trueFunc?i:i.filter(r)}let ro=/^\s*(?:[+~]|:scope\b)/;function rc(e){if(!e)return this._make([]);if("string"!=typeof e){let t=t$(e)?e.toArray():[e],a=this.toArray();return this._make(t.filter(e=>a.some(t=>te(t,e))))}return this._findBySelector(e,1/0)}function rd(e,t){var a;let i=this.toArray(),r=ro.test(e)?i:this.children().toArray(),n={context:i,root:null==(a=this._root)?void 0:a[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(ri(e,r,n,t))}function ru(e){return function(t,...a){return function(i){var r;let n=e(t,this);return i&&(n=rL(n,i,this.options.xmlMode,null==(r=this._root)?void 0:r[0])),this._make(this.length>1&&n.length>1?a.reduce((e,t)=>t(e),n):n)}}}let rh=ru((e,t)=>{let a=[];for(let i=0;i<t.length;i++){let r=e(t[i]);r.length>0&&(a=a.concat(r))}return a}),rf=ru((e,t)=>{let a=[];for(let i=0;i<t.length;i++){let r=e(t[i]);null!==r&&a.push(r)}return a});function rp(e,...t){let a=null,i=ru((e,t)=>{let i=[];return tY(t,t=>{for(let r;(r=e(t))&&(null==a||!a(r,i.length));t=r)i.push(r)}),i})(e,...t);
6return function(e,t){a="string"==typeof e?t=>i8(t,e,this.options):e?rj(e):null;let r=i.call(this,t);return a=null,r}}function rm(e){return e.length>1?Array.from(new Set(e)):e}let rg=rf(({parent:e})=>e&&!S(e)?e:null,rm),rb=rh(e=>{let t=[];for(;e.parent&&!S(e.parent);)t.push(e.parent),e=e.parent;return t},eW,e=>e.reverse()),r_=rp(({parent:e})=>e&&!S(e)?e:null,eW,e=>e.reverse());function ry(e){var t;let a=[];if(!e)return this._make(a);let i={xmlMode:this.options.xmlMode,root:null==(t=this._root)?void 0:t[0]},r="string"==typeof e?t=>i8(t,e,i):rj(e);return tY(this,e=>{for(!e||S(e)||x(e)||(e=e.parent);e&&x(e);){if(r(e,0)){a.includes(e)||a.push(e);break}e=e.parent}}),this._make(a)}let rx=rf(e=>eE(e)),rv=rh(e=>{let t=[];for(;e.next;)x(e=e.next)&&t.push(e);return t},rm),rA=rp(e=>eE(e),rm),rw=rf(e=>eS(e)),rE=rh(e=>{let t=[];for(;e.prev;)x(e=e.prev)&&t.push(e);return t},rm),rS=rp(e=>eS(e),rm),rC=rh(e=>ex(e).filter(t=>x(t)&&t!==e),eW),rT=rh(e=>e_(e).filter(x),rm);function rN(){let e=this.toArray().reduce((e,t)=>C(t)?e.concat(t.children):e,[]);return this._make(e)}function rk(e){let t=0,a=this.length;for(;t<a&&!1!==e.call(this[t],t,this[t]);)++t;return this}function rI(e){let t=[];for(let a=0;a<this.length;a++){let i=this[a],r=e.call(i,a,i);null!=r&&(t=t.concat(r))}return this._make(t)}function rj(e){return"function"==typeof e?(t,a)=>e.call(t,a,t):t$(e)?t=>Array.prototype.includes.call(e,t):function(t){return e===t}}function rP(e){var t;return this._make(rL(this.toArray(),e,this.options.xmlMode,null==(t=this._root)?void 0:t[0]))}function rL(e,t,a,i){return"string"==typeof t?re(t,e,{xmlMode:a,root:i}):e.filter(rj(t))}function rO(e){let t=this.toArray();return"string"==typeof e?i7(t.filter(x),e,this.options):!!e&&t.some(rj(e))}function rD(e){let t=this.toArray();if("string"==typeof e){let a=new Set(re(e,t,this.options));t=t.filter(e=>!a.has(e))}else{let a=rj(e);t=t.filter((e,t)=>!a(e,t))}return this._make(t)}function rM(e){return this.filter("string"==typeof e?`:has(${e})`:(t,a)=>this._make(a).find(e).length>0)}function rR(){return this.length>1?this._make(this[0]):this}function rF(){return this.length>0?this._make(this[this.length-1]):this}function rB(e){var t;return 0==(e*=1)&&this.length<=1?this:(e<0&&(e=this.length+e),this._make(null!=(t=this[e])?t:[]))}function rU(e){return null==e?this.toArray():this[e<0?this.length+e:e]}function rH(){return Array.prototype.slice.call(this)}function r$(e){let t,a;return null==e?(t=this.parent().children(),a=this[0]):"string"==typeof e?(t=this._make(e),a=this[0]):(t=this,a=t$(e)?e[0]:e),Array.prototype.indexOf.call(t,a)}function rG(e,t){return this._make(Array.prototype.slice.call(this,e,t))}function rW(){var e;return null!=(e=this.prevObject)?e:this._make([])}function rY(e,t){let a=this._make(e,t),i=eW([...this.get(),...a.get()]);return this._make(i)}function rz(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}e.s(["_findBySelector",0,rd,"add",0,rY,"addBack",0,rz,"children",0,rT,"closest",0,ry,"contents",0,rN,"each",0,rk,"end",0,rW,"eq",0,rB,"filter",0,rP,"filterArray",0,rL,"find",0,rc,"first",0,rR,"get",0,rU,"has",0,rM,"index",0,r$,"is",0,rO,"last",0,rF,"map",0,rI,"next",0,rx,"nextAll",0,rv,"nextUntil",0,rA,"not",0,rD,"parent",0,rg,"parents",0,rb,"parentsUntil",0,r_,"prev",0,rw,"prevAll",0,rE,"prevUntil",0,rS,"siblings",0,rC,"slice",0,rG,"toArray",0,rH],49511);var rV=e.i(49511),rK=tQ;function rq(e){return function(t,a,i,r){if(void 0!==rK.Buffer&&rK.Buffer.isBuffer(t)&&(t=t.toString()),"string"==typeof t)return e(t,a,i,r);let n=t;if(!Array.isArray(n)&&S(n))return n;let s=new _([]);return rQ(n,s),s}}function rQ(e,t){let a=Array.isArray(e)?e:[e];t?t.children=a:t=null;for(let e=0;e<a.length;e++){let i=a[e];i.parent&&i.parent.children!==a&&aX(i),t?(i.prev=a[e-1]||null,i.next=a[e+1]||null):i.prev=i.next=null,i.parent=t}return t}var ap=ap;function rZ(e,t){if(null==e)return[];if("string"==typeof e)return this._parse(e,this.options,!1,null).children.slice(0);if("length"in e){if(1===e.length)return this._makeDomArray(e[0],t);let a=[];for(let i=0;i<e.length;i++){let r=e[i];if("object"==typeof r){if(null==r)continue;if(!("length"in r)){a.push(t?T(r,!0):r);continue}}a.push(...this._makeDomArray(r,t))}return a}return[t?T(e,!0):e]}function rX(e){return function(...t){let a=this.length-1;return tY(this,(i,r)=>{if(!C(i))return;let n="function"==typeof t[0]?t[0].call(i,r,this._render(i.children)):t;
6e(this._makeDomArray(n,r<a),i.children,i)})}}function rJ(e,t,a,i,r){var n,s;let l=[t,a,...i],o=0===t?null:e[t-1],c=t+a>=e.length?null:e[t+a];for(let e=0;e<i.length;++e){let a=i[e],d=a.parent;if(d){let e=d.children.indexOf(a);-1!==e&&(d.children.splice(e,1),r===d&&t>e&&l[0]--)}a.parent=r,a.prev&&(a.prev.next=null!=(n=a.next)?n:null),a.next&&(a.next.prev=null!=(s=a.prev)?s:null),a.prev=0===e?o:i[e-1],a.next=e===i.length-1?c:i[e+1]}return o&&(o.next=i[0]),c&&(c.prev=i[i.length-1]),e.splice(...l)}function r0(e){return(t$(e)?e:this._make(e)).append(this),this}function r1(e){return(t$(e)?e:this._make(e)).prepend(this),this}let r2=rX((e,t,a)=>{rJ(t,t.length,0,e,a)}),r3=rX((e,t,a)=>{rJ(t,0,0,e,a)});function r4(e){return function(t){let a=this.length-1,i=this.parents().last();for(let r=0;r<this.length;r++){let n=this[r],s="function"==typeof t?t.call(n,r,n):"string"!=typeof t||tz(t)?t:i.find(t).clone(),[l]=this._makeDomArray(s,r<a);if(!l||!C(l))continue;let o=l,c=0;for(;c<o.children.length;){let e=o.children[c];x(e)?(o=e,c=0):c++}e(n,o,[l])}return this}}let r6=r4((e,t,a)=>{let{parent:i}=e;if(!i)return;let r=i.children,n=r.indexOf(e);rQ([e],t),rJ(r,n,0,a,i)}),r5=r4((e,t,a)=>{C(e)&&(rQ(e.children,t),rQ(a,e))});function r8(e){return this.parent(e).not("body").each((e,t)=>{this._make(t).replaceWith(t.children)}),this}function r7(e){let t=this[0];if(t){let a,i=this._make("function"==typeof e?e.call(t,0,t):e).insertBefore(t);for(let e=0;e<i.length;e++)i[e].type===ap.Tag&&(a=i[e]);let r=0;for(;a&&r<a.children.length;){let e=a.children[r];e.type===ap.Tag?(a=e,r=0):r++}a&&this._make(a).append(this)}return this}function r9(...e){let t=this.length-1;return tY(this,(a,i)=>{if(!C(a)||!a.parent)return;let r=a.parent.children,n=r.indexOf(a);if(-1===n)return;let s="function"==typeof e[0]?e[0].call(a,i,this._render(a.children)):e;rJ(r,n+1,0,this._makeDomArray(s,i<t),a.parent)})}function ne(e){"string"==typeof e&&(e=this._make(e)),this.remove();let t=[];for(let a of this._makeDomArray(e)){let e=this.clone().toArray(),{parent:i}=a;if(!i)continue;let r=i.children,n=r.indexOf(a);-1!==n&&(rJ(r,n+1,0,e,i),t.push(...e))}return this._make(t)}function nt(...e){let t=this.length-1;return tY(this,(a,i)=>{if(!C(a)||!a.parent)return;let r=a.parent.children,n=r.indexOf(a);if(-1===n)return;let s="function"==typeof e[0]?e[0].call(a,i,this._render(a.children)):e;rJ(r,n,0,this._makeDomArray(s,i<t),a.parent)})}function na(e){let t=this._make(e);this.remove();let a=[];return tY(t,e=>{let t=this.clone().toArray(),{parent:i}=e;if(!i)return;let r=i.children,n=r.indexOf(e);-1!==n&&(rJ(r,n,0,t,i),a.push(...t))}),this._make(a)}function ni(e){return tY(e?this.filter(e):this,e=>{aX(e),e.prev=e.next=e.parent=null}),this}function nr(e){return tY(this,(t,a)=>{let{parent:i}=t;if(!i)return;let r=i.children,n="function"==typeof e?e.call(t,a,t):e,s=this._makeDomArray(n);rQ(s,null);let l=r.indexOf(t);rJ(r,l,1,s,i),s.includes(t)||(t.parent=t.prev=t.next=null)})}function nn(){return tY(this,e=>{if(C(e)){for(let t of e.children)t.next=t.prev=t.parent=null;e.children.length=0}})}function ns(e){if(void 0===e){let e=this[0];return e&&C(e)?this._render(e.children):null}return tY(this,t=>{if(C(t)){for(let e of t.children)e.next=e.prev=e.parent=null;rQ(t$(e)?e.toArray():this._parse(`${e}`,this.options,!1,t).children,t)}})}function nl(){return this._render(this)}function no(e){return void 0===e?e8(this):"function"==typeof e?tY(this,(t,a)=>this._make(t).text(e.call(t,a,e8([t])))):tY(this,t=>{if(C(t)){for(let e of t.children)e.next=e.prev=e.parent=null;rQ(new f(`${e}`),t)}})}function nc(){let e=Array.prototype.map.call(this.get(),e=>T(e,!0)),t=new _(e);for(let a of e)a.parent=t;return this._make(e)}e.s(["_makeDomArray",0,rZ,"after",0,r9,"append",0,r2,"appendTo",0,r0,"before",0,nt,"clone",0,nc,"empty",0,nn,"html",0,ns,"insertAfter",0,ne,"insertBefore",0,na,"prepend",0,r3,"prependTo",0,r1,"remove",0,ni,"replaceWith",0,nr,"text",0,no,"toString",0,nl,"unwrap",0,r8,"wrap",0,r6,"wrapAll",0,r7,"wrapInner",0,r5],62114);var nd=e.i(62114);function nu(e,t){return(null==e||null==t)&&("object"!=typeof e||Array.isArray(e))?0!==this.length?nf
6(this[0],e):void 0:tY(this,(a,i)=>{x(a)&&nh(a,e,t,i)})}function nh(e,t,a,i){if("string"==typeof t){let r=nf(e),n="function"==typeof a?a.call(e,i,r[t]):a;""===n?delete r[t]:null!=n&&(r[t]=n),e.attribs.style=np(r)}else if("object"==typeof t){let a=Object.keys(t);for(let i=0;i<a.length;i++){let r=a[i];nh(e,r,t[r],i)}}}function nf(e,t){if(!e||!x(e))return;let a=nm(e.attribs.style);if("string"==typeof t)return a[t];if(Array.isArray(t)){let e={};for(let i of t)null!=a[i]&&(e[i]=a[i]);return e}return a}function np(e){return Object.keys(e).reduce((t,a)=>`${t}${t?" ":""}${a}: ${e[a]};`,"")}function nm(e){let t;if(!(e=(e||"").trim()))return{};let a={};for(let i of e.split(";")){let e=i.indexOf(":");if(e<1||e===i.length-1){let e=i.trimEnd();e.length>0&&void 0!==t&&(a[t]+=`;${e}`)}else a[t=i.slice(0,e).trim()]=i.slice(e+1).trim()}return a}e.s(["css",0,nu],68897);var ng=e.i(68897);let nb="input,select,textarea,keygen",n_=/%20/g,ny=/\r?\n/g;function nx(){return this.serializeArray().map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("&").replace(n_,"+")}function nv(){return this.map((e,t)=>{let a=this._make(t);return x(t)&&"form"===t.name?a.find(nb).toArray():a.filter(nb).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,t)=>{var a;let i=this._make(t),r=i.attr("name"),n=null!=(a=i.val())?a:"";return Array.isArray(n)?n.map(e=>({name:r,value:e.replace(ny,"\r\n")})):{name:r,value:n.replace(ny,"\r\n")}}).toArray()}e.s(["serialize",0,nx,"serializeArray",0,nv],79771);var nA=e.i(79771);function nw(e){var t;return"string"==typeof e?{selector:e,value:"textContent"}:{selector:e.selector,value:null!=(t=e.value)?t:"textContent"}}function nE(e){let t={};for(let a in e){let i=e[a],r=Array.isArray(i),{selector:n,value:s}=nw(r?i[0]:i),l="function"==typeof s?s:"string"==typeof s?e=>this._make(e).prop(s):e=>this._make(e).extract(s);if(r)t[a]=this._findBySelector(n,1/0).map((e,i)=>l(i,a,t)).get();else{let e=this._findBySelector(n,1);t[a]=e.length>0?l(e[0],a,t):void 0}}return t}e.s(["extract",0,nE],90889);var nS=e.i(90889);class nC{constructor(e,t,a){if(this.length=0,this.options=a,this._root=t,e){for(let t=0;t<e.length;t++)this[t]=e[t];this.length=e.length}}}nC.prototype.cheerio="[cheerio object]",nC.prototype.splice=Array.prototype.splice,nC.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(nC.prototype,aB,rV,nd,ng,nA,nS);var ap=ap;function nT(e,t){return function a(i,r,n=!0){if(null==i)throw Error("cheerio.load() expects a string");let s=e2(r),l=e(i,s,n,null);class o extends nC{_make(e,t){let a=c(e,t);return a.prevObject=this,a}_parse(t,a,i,r){return e(t,a,i,r)}_render(e){return t(e,this.options)}}function c(t,a,i=l,r){if(t&&t$(t))return t;let n=e2(r,s),d="string"==typeof i?[e(i,n,!1,null)]:"length"in i?i:[i],u=t$(d)?d:new o(d,null,n);if(u._root=u,!t)return new o(void 0,u,n);let h="string"==typeof t&&tz(t)?e(t,n,!1,null).children:nN(t)?[t]:Array.isArray(t)?t:void 0,f=new o(h,u,n);if(h)return f;if("string"!=typeof t)throw TypeError("Unexpected type of selector");let p=t,m=a?"string"==typeof a?tz(a)?new o([e(a,n,!1,null)],u,n):(p=`${a} ${p}`,u):t$(a)?a:new o(Array.isArray(a)?a:[a],u,n):u;return m?m.find(p):f}return Object.assign(c,tH,{load:a,_root:l,_options:s,fn:o.prototype,prototype:o.prototype}),c}}function nN(e){return!!e.name||e.type===ap.Root||e.type===ap.Text||e.type===ap.Comment}let nk=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),nI="�";!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEM
6ICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(tS||(tS={}));let nj="--",nP="[CDATA[",nL="doctype",nO="script",nD="public",nM="system";function nR(e){return e>=55296&&e<=57343}function nF(e){return e>=56320&&e<=57343}function nB(e,t){return(e-55296)*1024+9216+t}function nU(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function nH(e){return e>=64976&&e<=65007||nk.has(e)}!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(tC||(tC={}));let n$=65536;
vendor: 3,248 bytes, line 6
6class nG{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=n$,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:a,col:i,offset:r}=this,n=i+t,s=r+t;return{code:e,startLine:a,endLine:a,startCol:n,endCol:n,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(nF(t))return this.pos++,this._addGap(),nB(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,tS.EOF;return this._err(tC.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,tS.EOF;let a=this.html.charCodeAt(t);return a===tS.CARRIAGE_RETURN?tS.LINE_FEED:a}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,tS.EOF;let e=this.html.charCodeAt(this.pos);return e===tS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,tS.LINE_FEED):e===tS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,nR(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===tS.LINE_FEED||e===tS.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){nU(e)?this._err(tC.controlCharacterInInputStream):nH(e)&&this._err(tC.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function nW(e,t){for(let a=e.attrs.length-1;a>=0;a--)if(e.attrs[a].name===t)return e.attrs[a].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(tT||(tT={}));let nY
vendor: 8,319 bytes, line 6
6=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms�„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapÓºÓ¾cr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpÔ¦Ôªon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0Ö£mallSquare;旼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgÜ´Ü·r;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyÞ±Þµrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āeyß¶ß»dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;æ««y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;
vendor: 7,828 bytes, line 6
6쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 6
6䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
vendor: 6,210 bytes, line 6
6astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌
6'.split("").map(e=>e.charCodeAt(0))),nz=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function nV(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!=(t=nz.get(e))?t:e}tN=String.fromCodePoint,!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(tk||(tk={}));let nK=32;function nq(e){return e>=tk.ZERO&&e<=tk.NINE}function nQ(e){return e>=tk.UPPER_A&&e<=tk.UPPER_F||e>=tk.LOWER_A&&e<=tk.LOWER_F}function nZ(e){return e>=tk.UPPER_A&&e<=tk.UPPER_Z||e>=tk.LOWER_A&&e<=tk.LOWER_Z||nq(e)}function nX(e){return e===tk.EQUALS||nZ(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(tI||(tI={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(tj||(tj={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(tP||(tP={}));class nJ{constructor(e,t,a){this.decodeTree=e,this.emitCodePoint=t,this.errors=a,this.state=tj.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=tP.Strict}startEntity(e){this.decodeMode=e,this.state=tj.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case tj.EntityStart:if(e.charCodeAt(t)===tk.NUM)return this.state=tj.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=tj.NamedEntity,this.stateNamedEntity(e,t);case tj.NumericStart:return this.stateNumericStart(e,t);case tj.NumericDecimal:return this.stateNumericDecimal(e,t);case tj.NumericHex:return this.stateNumericHex(e,t);case tj.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|nK)===tk.LOWER_X?(this.state=tj.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=tj.NumericDecimal,this.stateNumericDecimal(e,t))}
6addToNumericResult(e,t,a,i){if(t!==a){let r=a-t;this.result=this.result*Math.pow(i,r)+Number.parseInt(e.substr(t,r),i),this.consumed+=r}}stateNumericHex(e,t){let a=t;for(;t<e.length;){let i=e.charCodeAt(t);if(!(nq(i)||nQ(i)))return this.addToNumericResult(e,a,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,a,t,16),-1}stateNumericDecimal(e,t){let a=t;for(;t<e.length;){let i=e.charCodeAt(t);if(!nq(i))return this.addToNumericResult(e,a,t,10),this.emitNumericEntity(i,2);t+=1}return this.addToNumericResult(e,a,t,10),-1}emitNumericEntity(e,t){var a;if(this.consumed<=t)return null==(a=this.errors)||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===tk.SEMI)this.consumed+=1;else if(this.decodeMode===tP.Strict)return 0;return this.emitCodePoint(nV(this.result),this.consumed),this.errors&&(e!==tk.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:a}=this,i=a[this.treeIndex],r=(i&tI.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let n=e.charCodeAt(t);if(this.treeIndex=n0(a,i,this.treeIndex+Math.max(1,r),n),this.treeIndex<0)return 0===this.result||this.decodeMode===tP.Attribute&&(0===r||nX(n))?0:this.emitNotTerminatedNamedEntity();if(0!=(r=((i=a[this.treeIndex])&tI.VALUE_LENGTH)>>14)){if(n===tk.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==tP.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:a}=this,i=(a[t]&tI.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,i,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,a){let{decodeTree:i}=this;return this.emitCodePoint(1===t?i[e]&~tI.VALUE_LENGTH:i[e+1],a),3===t&&this.emitCodePoint(i[e+2],a),a}end(){var e;switch(this.state){case tj.NamedEntity:return 0!==this.result&&(this.decodeMode!==tP.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case tj.NumericDecimal:return this.emitNumericEntity(0,2);case tj.NumericHex:return this.emitNumericEntity(0,3);case tj.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case tj.EntityStart:return 0}}}function n0(e,t,a,i){let r=(t&tI.BRANCH_LENGTH)>>7,n=t&tI.JUMP_TABLE;if(0===r)return 0!==n&&i===n?a:-1;if(n){let t=i-n;return t<0||t>=r?-1:e[a+t]-1}let s=a,l=s+r-1;for(;s<=l;){let t=s+l>>>1,a=e[t];if(a<i)s=t+1;else{if(!(a>i))return e[t+r];l=t-1}}return -1}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(tL||(tL={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(tO||(tO={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(tD||(tD={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="str
6ike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(tM||(tM={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(tR||(tR={}));let n1=new Map([[tM.A,tR.A],[tM.ADDRESS,tR.ADDRESS],[tM.ANNOTATION_XML,tR.ANNOTATION_XML],[tM.APPLET,tR.APPLET],[tM.AREA,tR.AREA],[tM.ARTICLE,tR.ARTICLE],[tM.ASIDE,tR.ASIDE],[tM.B,tR.B],[tM.BASE,tR.BASE],[tM.BASEFONT,tR.BASEFONT],[tM.BGSOUND,tR.BGSOUND],[tM.BIG,tR.BIG],[tM.BLOCKQUOTE,tR.BLOCKQUOTE],[tM.BODY,tR.BODY],[tM.BR,tR.BR],[tM.BUTTON,tR.BUTTON],[tM.CAPTION,tR.CAPTION],[tM.CENTER,tR.CENTER],[tM.CODE,tR.CODE],[tM.COL,tR.COL],[tM.COLGROUP,tR.COLGROUP],[tM.DD,tR.DD],[tM.DESC,tR.DESC],[tM.DETAILS,tR.DETAILS],[tM.DIALOG,tR.DIALOG],[tM.DIR,tR.DIR],[tM.DIV,tR.DIV],[tM.DL,tR.DL],[tM.DT,tR.DT],[tM.EM,tR.EM],[tM.EMBED,tR.EMBED],[tM.FIELDSET,tR.FIELDSET],[tM.FIGCAPTION,tR.FIGCAPTION],[tM.FIGURE,tR.FIGURE],[tM.FONT,tR.FONT],[tM.FOOTER,tR.FOOTER],[tM.FOREIGN_OBJECT,tR.FOREIGN_OBJECT],[tM.FORM,tR.FORM],[tM.FRAME,tR.FRAME],[tM.FRAMESET,tR.FRAMESET],[tM.H1,tR.H1],[tM.H2,tR.H2],[tM.H3,tR.H3],[tM.H4,tR.H4],[tM.H5,tR.H5],[tM.H6,tR.H6],[tM.HEAD,tR.HEAD],[tM.HEADER,tR.HEADER],[tM.HGROUP,tR.HGROUP],[tM.HR,tR.HR],[tM.HTML,tR.HTML],[tM.I,tR.I],[tM.IMG,tR.IMG],[tM.IMAGE,tR.IMAGE],[tM.INPUT,tR.INPUT],[tM.IFRAME,tR.IFRAME],[tM.KEYGEN,tR.KEYGEN],[tM.LABEL,tR.LABEL],[tM.LI,tR.LI],[tM.LINK,tR.LINK],[tM.LISTING,tR.LISTING],[tM.MAIN,tR.MAIN],[tM.MALIGNMARK,tR.MALIGNMARK],[tM.MARQUEE,tR.MARQUEE],[tM.MATH,tR.MATH],[tM.MENU,tR.MENU],[tM.META,tR.META],[tM.MGLYPH,tR.MGLYPH],[tM.MI,tR.MI],[tM.MO,tR.MO],[tM.MN,tR.MN],[tM.MS,tR.MS],[tM.MTEXT,tR.MTEXT],[tM.NAV,tR.NAV],[tM.NOBR,tR.NOBR],[tM.NOFRAMES,tR.NOFRAMES],[tM.NOEMBED,tR.NOEMBED],[tM.NOSCRIPT,tR.NOSCRIPT],[tM.OBJECT,tR.OBJECT],[tM.OL,tR.OL],[tM.OPTGROUP,tR.OPTGROUP],[tM.OPTION,tR.OPTION],[tM.P,tR.P],[tM.PARAM,tR.PARAM],[tM.PLAINTEXT,tR.PLAINTEXT],[tM.PRE,tR.PRE],[tM.RB,tR.RB],[tM.RP,tR.RP],[tM.RT,tR.RT],[tM.RTC,tR.RTC],[tM.RUBY,tR.RUBY],[tM.S,tR.S],[tM.SCRIPT,tR.SCRIPT],[tM.SEARCH,tR.SEARCH],[tM.SECTION,tR.SECTION],[tM.SELECT,tR.SELECT],[tM.SOURCE,tR.SOURCE],[tM.SMALL,tR.SMALL],[tM.SPAN,tR.SPAN],[tM.STRIKE,tR.STRIKE],[tM.STRONG,tR.STRONG],[tM.STYLE,tR.STYLE],[tM.SUB,tR.SUB],[tM.SUMMARY,tR.SUMMARY],[tM.SUP,tR.SUP],[tM.TABLE,tR.TABLE],[tM.TBODY,tR.TBODY],[tM.TEMPLATE,tR.TEMPLATE],[tM.TEXTAREA,tR.TEXTAREA],[tM.TFOOT,tR.TFOOT],[tM.TD,tR.TD],[tM.TH,tR.TH],[tM.THEAD,tR.THEAD],[tM.TITLE,tR.TITLE],[tM.TR,tR.TR],[tM.TRACK,tR.TRACK],[tM.TT,tR.TT],[tM.U,tR.U],[tM.UL,tR.UL],[tM.SVG,tR.SVG],[tM.VAR,tR.VAR],[tM.WBR,tR.WBR],[tM.XMP,tR.XMP]]);function n2(e){var t;return null!=(t=n1.get(e))?t:tR.UNKNOWN}let n3=tR,n4={[tL.HTML]:new Set([n3.ADDRESS,n3.APPLET,n3.AREA,n3.ARTICLE,n3.ASIDE,n3.BASE,n3.BASE
vendor: 9,053 bytes, line 6
6FONT,n3.BGSOUND,n3.BLOCKQUOTE,n3.BODY,n3.BR,n3.BUTTON,n3.CAPTION,n3.CENTER,n3.COL,n3.COLGROUP,n3.DD,n3.DETAILS,n3.DIR,n3.DIV,n3.DL,n3.DT,n3.EMBED,n3.FIELDSET,n3.FIGCAPTION,n3.FIGURE,n3.FOOTER,n3.FORM,n3.FRAME,n3.FRAMESET,n3.H1,n3.H2,n3.H3,n3.H4,n3.H5,n3.H6,n3.HEAD,n3.HEADER,n3.HGROUP,n3.HR,n3.HTML,n3.IFRAME,n3.IMG,n3.INPUT,n3.LI,n3.LINK,n3.LISTING,n3.MAIN,n3.MARQUEE,n3.MENU,n3.META,n3.NAV,n3.NOEMBED,n3.NOFRAMES,n3.NOSCRIPT,n3.OBJECT,n3.OL,n3.P,n3.PARAM,n3.PLAINTEXT,n3.PRE,n3.SCRIPT,n3.SECTION,n3.SELECT,n3.SOURCE,n3.STYLE,n3.SUMMARY,n3.TABLE,n3.TBODY,n3.TD,n3.TEMPLATE,n3.TEXTAREA,n3.TFOOT,n3.TH,n3.THEAD,n3.TITLE,n3.TR,n3.TRACK,n3.UL,n3.WBR,n3.XMP]),[tL.MATHML]:new Set([n3.MI,n3.MO,n3.MN,n3.MS,n3.MTEXT,n3.ANNOTATION_XML]),[tL.SVG]:new Set([n3.TITLE,n3.FOREIGN_OBJECT,n3.DESC]),[tL.XLINK]:new Set,[tL.XML]:new Set,[tL.XMLNS]:new Set},n6=new Set([n3.H1,n3.H2,n3.H3,n3.H4,n3.H5,n3.H6]),n5=new Set([tM.STYLE,tM.SCRIPT,tM.XMP,tM.IFRAME,tM.NOEMBED,tM.NOFRAMES,tM.PLAINTEXT]);function n8(e,t){return n5.has(e)||t&&e===tM.NOSCRIPT}e.s(["ATTRS",0,tO,"DOCUMENT_MODE",0,tD,"NS",0,tL,"NUMBERED_HEADERS",0,n6,"SPECIAL_ELEMENTS",0,n4,"TAG_ID",0,tR,"TAG_NAMES",0,tM,"getTagID",0,n2,"hasUnescapedText",0,n8],20822),function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(tF||(tF={}));let n7={DATA:tF.DATA,RCDATA:tF.RCDATA,RAWTEXT:tF.RAWTEXT,SCRIPT_DATA:tF.SCRIPT_DATA,PLAINTEXT:tF.PLAINTEXT,CDATA_SECTION:tF.CDATA_SECTION};function n9(e){return e>=tS.DIGIT_0&&e<=tS.DIGIT_9}function se(e){return e>=tS.LATIN_CAPITAL_A&&e<=tS.LATIN_CAPITAL_Z}function st(e){return e>=tS.LATIN_SMALL_A&&e<=tS.LATIN_SMALL_Z}function sa(e){return st(e)||se(e)}function si(e){return sa(e)||n9(e)}function sr(e){return e+32}function sn(e){return e===tS.SPACE||e===tS.LINE_FEED||e===tS.TABULATION||e===tS.FORM_FEED}function ss(e){return sn(e)||e===tS.SOLIDUS||e===tS.GREATER_THAN_SIGN}function sl(e){if(e===tS.NULL)return tC.nullCharacterReference;if(e>1114111)return tC.characterReferenceOutsideUnicodeRange;if(nR(e))return tC.surrogateCharacterReference;if(nH(e))return tC.noncharacterCharacterReference;if(nU(e)||e===tS.CARRIAGE_RETURN)return tC.controlCharacterReference;return null}class so{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=tF.DATA,this.returnState=tF.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new nG(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new nJ(nY,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(tC.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(tC.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=sl(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var a,i;null==(i=(a=this.handler).onParseError)||i.call(a,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,a){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==a||a()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:tT.START_TAG,tagName:"",tagID:tR.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:tT.END_TAG,tagName:"",tagID:tR.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:tT.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:tT.DOCTYPE,name:e,forceQuirks:!1,publicId:null,
6systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let a=this.currentToken;null===nW(a,this.currentAttr.name)?(a.attrs.push(this.currentAttr),a.location&&this.currentLocation&&((null!=(e=(t=a.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(tC.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=n2(e.tagName),e.type===tT.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(tC.endTagWithAttributes),e.selfClosing&&this._err(tC.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case tT.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case tT.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case tT.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:tT.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=sn(e)?tT.WHITESPACE_CHARACTER:e===tS.NULL?tT.NULL_CHARACTER:tT.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(tT.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=tF.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?tP.Attribute:tP.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===tF.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===tF.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===tF.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case tF.DATA:this._stateData(e);break;case tF.RCDATA:this._stateRcdata(e);break;case tF.RAWTEXT:this._stateRawtext(e);break;case tF.SCRIPT_DATA:this._stateScriptData(e);break;case tF.PLAINTEXT:this._statePlaintext(e);break;case tF.TAG_OPEN:this._stateTagOpen(e);break;case tF.END_TAG_OPEN:this._stateEndTagOpen(e);break;case tF.TAG_NAME:this._stateTagName(e);break;case tF.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case tF.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case tF.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case tF.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case tF.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case tF.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case tF.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case tF.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case tF.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case tF.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case tF.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case tF.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case tF.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case tF.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case tF.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case tF.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case tF.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case tF.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscape
vendor: 7,108 bytes, line 6
6Start(e);break;case tF.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case tF.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case tF.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case tF.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case tF.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case tF.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case tF.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case tF.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case tF.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case tF.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case tF.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case tF.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case tF.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case tF.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case tF.BOGUS_COMMENT:this._stateBogusComment(e);break;case tF.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case tF.COMMENT_START:this._stateCommentStart(e);break;case tF.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case tF.COMMENT:this._stateComment(e);break;case tF.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case tF.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case tF.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case tF.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case tF.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case tF.COMMENT_END:this._stateCommentEnd(e);break;case tF.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case tF.DOCTYPE:this._stateDoctype(e);break;case tF.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case tF.DOCTYPE_NAME:this._stateDoctypeName(e);break;case tF.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case tF.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case tF.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case tF.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case tF.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case tF.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case tF.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case tF.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case tF.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case tF.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case tF.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case tF.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case tF.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case tF.CDATA_SECTION:this._stateCdataSection(e);break;case tF.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case tF.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case tF.CHARACTER_REFERENCE:this._stateCharacterReference();break;case tF.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case tS.LESS_THAN_SIGN:this.state=tF.TAG_OPEN;break;case tS.AMPERSAND:this._startCharacterReference();break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this._emitCodePoint(e);break;case tS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case tS.AMPERSAND:this._startCharacterReference();break;case tS.LESS_THAN_SIGN:this.state=tF.RCDATA_LESS_THAN_SIGN;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this._emitChars(nI);break;case tS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case tS.LESS_THAN_SIGN:this.state=tF.RAWTEXT_LESS_THAN_SIGN;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this._emitChars(nI);break;case tS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case tS.LESS_THAN_SIGN:this.state=tF.SCRIPT_DATA_LESS_THAN_SIGN;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this._emitChars(nI);break;case tS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case tS.NULL:this._err(tC.unexpectedNullCharacter),this._emitChars(nI);break;case tS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(sa(e))this._createStartTagToken(),this.state=tF.TAG_NAME,this._stateTagName(e);else switch(e){case tS.EXCLAMATION_MARK:this.state=tF.MARKUP_DECLARATION_OPEN;break;case tS.SOLIDUS:this.state=tF.END_TAG_OPEN;break;case tS.QUESTION_MARK:this._err(tC.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=tF.BOGUS_COMMENT,this._stateBogusComment(e);break;case tS.EOF:this._err(tC.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(tC.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=tF.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(sa(e))this._createEndTagToken(),this.state=tF.TAG_NAME,this._stateTagName(e);else switch(e){case tS.GREATER_THAN_SIGN:this._err(tC.missingEndTagName),this.state=tF.DATA;break;case tS.EOF:this._err(tC.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(tC.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=tF.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:this.state=tF.BEFORE_ATTRIBUTE_NAME;break;case tS.SOLIDUS:this.state=tF.SELF_CLOSING_START_TAG;break;case tS.GREATER_THAN_SIGN:this.state=tF.DATA,this.emitCurrentTagToken();break;case tS.NULL:this._err(tC.unexpectedNullCharacter),t.tagName+=nI;break;case tS.EOF:this._err(tC.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(se(e)?sr(e):e)}}_stateRcdataLessThanSign(e){e===tS.SOLIDUS?this.state=tF.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=tF.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){sa(e)?(this.state=tF.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=tF.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=tF.BEFORE_ATTRIBUTE_NAME,
vendor: 15,997 bytes, line 6
6!1;case tS.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=tF.SELF_CLOSING_START_TAG,!1;case tS.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=tF.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=tF.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===tS.SOLIDUS?this.state=tF.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=tF.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){sa(e)?(this.state=tF.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=tF.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=tF.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case tS.SOLIDUS:this.state=tF.SCRIPT_DATA_END_TAG_OPEN;break;case tS.EXCLAMATION_MARK:this.state=tF.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=tF.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){sa(e)?(this.state=tF.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=tF.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=tF.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===tS.HYPHEN_MINUS?(this.state=tF.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=tF.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===tS.HYPHEN_MINUS?(this.state=tF.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=tF.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case tS.HYPHEN_MINUS:this.state=tF.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case tS.LESS_THAN_SIGN:this.state=tF.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this._emitChars(nI);break;case tS.EOF:this._err(tC.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case tS.HYPHEN_MINUS:this.state=tF.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case tS.LESS_THAN_SIGN:this.state=tF.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this.state=tF.SCRIPT_DATA_ESCAPED,this._emitChars(nI);break;case tS.EOF:this._err(tC.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=tF.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case tS.HYPHEN_MINUS:this._emitChars("-");break;case tS.LESS_THAN_SIGN:this.state=tF.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case tS.GREATER_THAN_SIGN:this.state=tF.SCRIPT_DATA,this._emitChars(">");break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this.state=tF.SCRIPT_DATA_ESCAPED,this._emitChars(nI);break;case tS.EOF:this._err(tC.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=tF.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===tS.SOLIDUS?this.state=tF.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:sa(e)?(this._emitChars("<"),this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=tF.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){sa(e)?(this.state=tF.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=tF.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=tF.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(nO,!1)&&ss(this.preprocessor.peek(nO.length))){this._emitCodePoint(e);for(let e=0;e<nO.length;e++)this._emitCodePoint(this._consume());this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=tF.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case tS.HYPHEN_MINUS:this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case tS.LESS_THAN_SIGN:this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this._emitChars(nI);break;case tS.EOF:this._err(tC.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case tS.HYPHEN_MINUS:this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case tS.LESS_THAN_SIGN:this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nI);break;case tS.EOF:this._err(tC.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case tS.HYPHEN_MINUS:this._emitChars("-");break;case tS.LESS_THAN_SIGN:this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case tS.GREATER_THAN_SIGN:this.state=tF.SCRIPT_DATA,this._emitChars(">");break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nI);break;case tS.EOF:this._err(tC.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===tS.SOLIDUS?(this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(nO,!1)&&ss(this.preprocessor.peek(nO.length))){this._emitCodePoint(e);for(let e=0;e<nO.length;e++)this._emitCodePoint(this._consume());this.state=tF.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=tF.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.SOLIDUS:case tS.GREATER_THAN_SIGN:case tS.EOF:this.state=tF.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case tS.EQUALS_SIGN:this._err(tC.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=tF.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=tF.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:case tS.SOLIDUS:case tS.GREATER_THAN_SIGN:case tS.EOF:this._leaveAttrName(),this.state=tF.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case tS.EQUALS_SIGN:this._leaveAttrName(),this.state=tF.BEFORE_ATTRIBUTE_VALUE;break;case tS.QUOTATION_MARK:case tS.APOSTROPHE:case tS.LESS_THAN_SIGN:this._err(tC.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this.currentAttr.name+=nI;break;default:this.currentAttr.name+=String.fromCodePoint(se(e)?sr(e):e)}}_stateAfterAttributeName(e){switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.SOLIDUS:this.state=tF.SELF_CLOSING_START_TAG;break;case tS.EQUALS_SIGN:this.state=tF.BEFORE_ATTRIBUTE_VALUE;break;case tS.GREATER_THAN_SIGN:this.state=tF.DATA,this.emitCurrentTagToken();break;case tS.EOF:this._err(tC.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=tF.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.QUOTATION_MARK:this.state=tF.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case tS.APOSTROPHE:this.state=tF.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case tS.GREATER_THAN_SIGN:this._err(tC.missingAttributeValue),this.state=tF.DATA,this.emitCurrentTagToken();break;default:this.state=tF.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case tS.QUOTATION_MARK:this.state=tF.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case tS.AMPERSAND:this._startCharacterReference();break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this.currentAttr.value+=nI;break;case tS.EOF:this._err(tC.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case tS.APOSTROPHE:this.state=tF.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case tS.AMPERSAND:this._startCharacterReference();break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this.currentAttr.value+=nI;break;case tS.EOF:this._err(tC.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:this._leaveAttrValue(),this.state=tF.BEFORE_ATTRIBUTE_NAME;break;case tS.AMPERSAND:this._startCharacterReference();break;case tS.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=tF.DATA,this.emitCurrentTagToken();break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this.currentAttr.value+=nI;break;case tS.QUOTATION_MARK:case tS.APOSTROPHE:case tS.LESS_THAN_SIGN:case tS.EQUALS_SIGN:case tS.GRAVE_ACCENT:this._err(tC.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case tS.EOF:this._err(tC.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:this._leaveAttrValue(),this.state=tF.BEFORE_ATTRIBUTE_NAME;break;case tS.SOLIDUS:this._leaveAttrValue(),this.state=tF.SELF_CLOSING_START_TAG;break;case tS.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=tF.DATA,this.emitCurrentTagToken();break;case tS.EOF:this._err(tC.eofInTag),this._emitEOFToken();break;default:this._err(tC.missingWhitespaceBetweenAttributes),this.state=tF.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case tS.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=tF.DATA,this.emitCurrentTagToken();break;case tS.EOF:this._err(tC.eofInTag),this._emitEOFToken();break;default:this._err(tC.unexpectedSolidusInTag),this.state=tF.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case tS.GREATER_THAN_SIGN:this.state=tF.DATA,this.emitCurrentComment(t);break;case tS.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case tS.NULL:this._err(tC.unexpectedNullCharacter),t.data+=nI;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(nj,!0)?(this._createCommentToken(nj.length+1),this.state=tF.COMMENT_START):this._consumeSequenceIfMatch(nL,!1)?(this.currentLocation=this.getCurrentLocation(nL.length+1),this.state=tF.DOCTYPE):this._consumeSequenceIfMatch(nP,!0)?this.inForeignNode?this.state=tF.CDATA_SECTION:(this._err(tC.cdataInHtmlContent),this._createCommentToken(nP.length+1),this.currentToken.data="[CDATA[",this.state=tF.BOGUS_COMMENT):this._ensureHibernation()||(this._err(tC.incorrectlyOpenedComment),this._createCommentToken(2),this.state=tF.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case tS.HYPHEN_MINUS:this.state=tF.COMMENT_START_DASH;break;case tS.GREATER_THAN_SIGN:{this._err(tC.abruptClosingOfEmptyComment),this.state=tF.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=tF.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case tS.HYPHEN_MINUS:this.state=tF.COMMENT_END;break;case tS.GREATER_THAN_SIGN:this._err(tC.abruptClosingOfEmptyComment),this.state=tF.DATA,this.emitCurrentComment(t);break;case tS.EOF:this._err(tC.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=tF.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case tS.HYPHEN_MINUS:this.state=tF.COMMENT_END_DASH;break;case tS.LESS_THAN_SIGN:t.data+="<",this.state=tF.COMMENT_LESS_THAN_SIGN;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),t.data+=nI;break;case tS.EOF:this._err(tC.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case tS.EXCLAMATION_MARK:t.data+="!",this.state=tF.COMMENT_LESS_THAN_SIGN_BANG;break;case tS.LESS_THAN_SIGN:t.data+="<";break;default:this.state=tF.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===tS.HYPHEN_MINUS?this.state=tF.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=tF.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===tS.HYPHEN_MINUS?this.state=tF.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=tF.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==tS.GREATER_THAN_SIGN&&e!==tS.EOF&&this._err(tC.nestedComment),this.state=tF.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case tS.HYPHEN_MINUS:this.state=tF.COMMENT_END;break;case tS.EOF:this._err(tC.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=tF.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case tS.GREATER_THAN_SIGN:this.state=tF.DATA,this.emitCurrentComment(t);break;case tS.EXCLAMATION_MARK:this.state=tF.COMMENT_END_BANG;break;case tS.HYPHEN_MINUS:t.data+="-";break;case tS.EOF:this._err(tC.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=tF.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case tS.HYPHEN_MINUS:t.data+="--!",this.state=tF.COMMENT_END_DASH;break;case tS.GREATER_THAN_SIGN:this._err(tC.incorrectlyClosedComment),this.state=tF.DATA,this.emitCurrentComment(t);break;case tS.EOF:this._err(tC.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=tF.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:this.state=tF.BEFORE_DOCTYPE_NAME;break;case tS.GREATER_THAN_SIGN:this.state=tF.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case tS.EOF:{this._err(tC.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(tC.missingWhitespaceBeforeDoctypeName),this.state=tF.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(se(e))this._createDoctypeToken(String.fromCharCode(sr(e))),this.state=tF.DOCTYPE_NAME;else switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.NULL:this._err(tC.unexpectedNullCharacter),this._createDoctypeToken(nI),this.state=tF.DOCTYPE_NAME;break;case tS.GREATER_THAN_SIGN:{this._err(tC.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=tF.DATA;break}case tS.EOF:{this._err(tC.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=tF.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:this.state=tF.AFTER_DOCTYPE_NAME;break;case tS.GREATER_THAN_SIGN:this.state=tF.DATA,this.emitCurrentDoctype(t);break;
vendor: 4,249 bytes, line 6
6case tS.NULL:this._err(tC.unexpectedNullCharacter),t.name+=nI;break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(se(e)?sr(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.GREATER_THAN_SIGN:this.state=tF.DATA,this.emitCurrentDoctype(t);break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(nD,!1)?this.state=tF.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(nM,!1)?this.state=tF.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(tC.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=tF.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:this.state=tF.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case tS.QUOTATION_MARK:this._err(tC.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=tF.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case tS.APOSTROPHE:this._err(tC.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=tF.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case tS.GREATER_THAN_SIGN:this._err(tC.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=tF.DATA,this.emitCurrentDoctype(t);break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(tC.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=tF.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.QUOTATION_MARK:t.publicId="",this.state=tF.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case tS.APOSTROPHE:t.publicId="",this.state=tF.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case tS.GREATER_THAN_SIGN:this._err(tC.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=tF.DATA,this.emitCurrentDoctype(t);break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(tC.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=tF.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case tS.QUOTATION_MARK:this.state=tF.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),t.publicId+=nI;break;case tS.GREATER_THAN_SIGN:this._err(tC.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=tF.DATA;break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case tS.APOSTROPHE:this.state=tF.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),t.publicId+=nI;break;case tS.GREATER_THAN_SIGN:this._err(tC.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=tF.DATA;break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:this.state=tF.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case tS.GREATER_THAN_SIGN:this.state=tF.DATA,this.emitCurrentDoctype(t);break;case tS.QUOTATION_MARK:this._err(tC.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=tF.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case tS.APOSTROPHE:this._err(tC.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=tF.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 5,082 bytes, line 6
6default:this._err(tC.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tF.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=tF.DATA;break;case tS.QUOTATION_MARK:t.systemId="",this.state=tF.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case tS.APOSTROPHE:t.systemId="",this.state=tF.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(tC.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tF.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:this.state=tF.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case tS.QUOTATION_MARK:this._err(tC.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=tF.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case tS.APOSTROPHE:this._err(tC.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=tF.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case tS.GREATER_THAN_SIGN:this._err(tC.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tF.DATA,this.emitCurrentDoctype(t);break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(tC.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tF.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.QUOTATION_MARK:t.systemId="",this.state=tF.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case tS.APOSTROPHE:t.systemId="",this.state=tF.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case tS.GREATER_THAN_SIGN:this._err(tC.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tF.DATA,this.emitCurrentDoctype(t);break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(tC.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tF.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case tS.QUOTATION_MARK:this.state=tF.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),t.systemId+=nI;break;case tS.GREATER_THAN_SIGN:this._err(tC.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=tF.DATA;break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case tS.APOSTROPHE:this.state=tF.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case tS.NULL:this._err(tC.unexpectedNullCharacter),t.systemId+=nI;break;case tS.GREATER_THAN_SIGN:this._err(tC.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=tF.DATA;break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case tS.SPACE:case tS.LINE_FEED:case tS.TABULATION:case tS.FORM_FEED:break;case tS.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=tF.DATA;break;case tS.EOF:this._err(tC.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(tC.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=tF.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case tS.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=tF.DATA;break;case tS.NULL:this._err(tC.unexpectedNullCharacter);break;case tS.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case tS.RIGHT_SQUARE_BRACKET:this.state=tF.CDATA_SECTION_BRACKET;break;case tS.EOF:this._err(tC.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===tS.RIGHT_SQUARE_BRACKET?this.state=tF.CDATA_SECTION_END:(this._emitChars("]"),this.state=tF.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case tS.GREATER_THAN_SIGN:this.state=tF.DATA;break;case tS.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=tF.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}
vendor: 4,174 bytes, line 6
60===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(tS.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&si(this.preprocessor.peek(1))?tF.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){si(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===tS.SEMICOLON&&this._err(tC.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let sc=new Set([tR.DD,tR.DT,tR.LI,tR.OPTGROUP,tR.OPTION,tR.P,tR.RB,tR.RP,tR.RT,tR.RTC]),sd=new Set([...sc,tR.CAPTION,tR.COLGROUP,tR.TBODY,tR.TD,tR.TFOOT,tR.TH,tR.THEAD,tR.TR]),su=new Set([tR.APPLET,tR.CAPTION,tR.HTML,tR.MARQUEE,tR.OBJECT,tR.TABLE,tR.TD,tR.TEMPLATE,tR.TH]),sh=new Set([...su,tR.OL,tR.UL]),sf=new Set([...su,tR.BUTTON]),sp=new Set([tR.ANNOTATION_XML,tR.MI,tR.MN,tR.MO,tR.MS,tR.MTEXT]),sm=new Set([tR.DESC,tR.FOREIGN_OBJECT,tR.TITLE]),sg=new Set([tR.TR,tR.TEMPLATE,tR.HTML]),sb=new Set([tR.TBODY,tR.TFOOT,tR.THEAD,tR.TEMPLATE,tR.HTML]),s_=new Set([tR.TABLE,tR.TEMPLATE,tR.HTML]),sy=new Set([tR.TD,tR.TH]);class sx{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,a){this.treeAdapter=t,this.handler=a,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=tR.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===tR.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===tL.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let a=this._indexOf(e);this.items[a]=t,a===this.stackTop&&(this.current=t)}insertAfter(e,t,a){let i=this._indexOf(e)+1;this.items.splice(i,0,t),this.tagIDs.splice(i,0,a),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==tL.HTML)this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let a=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(a,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(n6,tL.HTML)}popUntilTableCellPopped(){this.popUntilPopped(sy,tL.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let a=this.stackTop;a>=0;a--)if(e.has(this.tagIDs[a])&&this.treeAdapter.getNamespaceURI(this.items[a])===t)return a;return -1}clearBackTo(e,t){let a=this._indexOfTagNames(e,t);this.shortenToLength(a+1)}clearBackToTableContext(){this.clearBackTo(s_,tL.HTML)}clearBackToTableBodyContext(){this.clearBackTo(sb,tL.HTML)}clearBackToTableRowContext(){this.clearBackTo(sg,tL.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===tR.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===tR.HTML}hasInDynamicScope(e,t){for(let a=this.stackTop;a>=0;a--){let i=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case tL.HTML:if(i===e)return!0;
6if(t.has(i))return!1;break;case tL.SVG:if(sm.has(i))return!1;break;case tL.MATHML:if(sp.has(i))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,su)}hasInListItemScope(e){return this.hasInDynamicScope(e,sh)}hasInButtonScope(e){return this.hasInDynamicScope(e,sf)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case tL.HTML:if(n6.has(t))return!0;if(su.has(t))return!1;break;case tL.SVG:if(sm.has(t))return!1;break;case tL.MATHML:if(sp.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===tL.HTML)switch(this.tagIDs[t]){case e:return!0;case tR.TABLE:case tR.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===tL.HTML)switch(this.tagIDs[e]){case tR.TBODY:case tR.THEAD:case tR.TFOOT:return!0;case tR.TABLE:case tR.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===tL.HTML)switch(this.tagIDs[t]){case e:return!0;case tR.OPTION:case tR.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&sc.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&sd.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&sd.has(this.currentTagId);)this.pop()}}let sv=3;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(tB||(tB={}));let sA={type:tB.Marker};class sw{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let a=[],i=t.length,r=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===tB.Marker)break;let{element:s}=t;if(this.treeAdapter.getTagName(s)===r&&this.treeAdapter.getNamespaceURI(s)===n){let t=this.treeAdapter.getAttrList(s);t.length===i&&a.push({idx:e,attrs:t})}}return a}_ensureNoahArkCondition(e){if(this.entries.length<sv)return;let t=this.treeAdapter.getAttrList(e),a=this._getNoahArkConditionCandidates(e,t);if(a.length<sv)return;let i=new Map(t.map(e=>[e.name,e.value])),r=0;for(let e=0;e<a.length;e++){let t=a[e];t.attrs.every(e=>i.get(e.name)===e.value)&&(r+=1)>=sv&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(sA)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:tB.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let a=this.entries.indexOf(this.bookmark);this.entries.splice(a,0,{type:tB.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(sA);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===tB.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===tB.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===tB.Element&&t.element===e)}}let sE={createDocument:()=>({nodeName:"#document",mode:tD.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,a)=>({nodeName:e,tagName:e,attrs:a,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,a){let i=e.childNodes.indexOf(a);e.childNodes.splice(i,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,a,i){let r=e.childNodes.find(e=>"#documentType"===e.nodeName);if(r)r.name=t,r.publicId=a,r.systemId=i;else{let r={nodeName:"#documentType",name:t,publicId:a,systemId:i,parentNode:null};sE.appendChild(e,r)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let a=e.childNodes[e.childNodes.length-1];if(sE.isTextNode(a)){a.value+=t;return}}sE.appendChild(e,sE.createTextNode(t))},insertTextBefore(e,t,a){let i=e.childNodes[e.childNodes.indexOf(a)-1];i&&sE.isTextNode(i)?i.value+=t:sE.insertBefore(e,sE.createTextNode(t),a)},adoptAttributes(e,t){let a=new Set(e.attrs.map(e=>e.name));for(let i=0;i<t.length;i++)a.has(t[i].name)||e.attrs.push(t[i])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},sS="html",sC="about:legacy-compat",sT="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",sN=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],sk=[...sN,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],sI=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),sj=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],sP=[...sj,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function sL(e,t){return t.some(t=>e.startsWith(t))}function sO(e){return e.name===sS&&null===e.publicId&&(null===e.systemId||e.systemId===sC)}function sD(e){if(e.name!==sS)return tD.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===sT)return tD.QUIRKS;let{publicId:a}=e;if(null!==a){if(a=a.toLowerCase(),sI.has(a))return tD.QUIRKS;let e=null===t?sk:sN;if(sL(a,e))return tD.QUIRKS;if(sL(a,e=null===t?sj:sP))return tD.LIMITED_QUIRKS}return tD.NO_QUIRKS}let sM="text/html",sR="application/xhtml+xml",sF="definitionurl",sB="definitionURL",sU=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),sH=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:tL.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:tL.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:tL.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:tL.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:tL.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:tL.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:tL.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:tL.XML}],["xml:space",{prefix:"xml",name:"space",namespace:tL.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:tL.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:tL.XMLNS}]]),s$=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),sG=new Set([tR.B,tR.BIG,tR.BLOCKQUOTE,tR.BODY,tR.BR,tR.CENTER,tR.CODE,tR.DD,tR.DIV,tR.DL,tR.DT,tR.EM,tR.EMBED,tR.H1,tR.H2,tR.H3,tR.H4,tR.H5,tR.H6,tR.HEAD,tR.HR,tR.I,tR.IMG,tR.LI,tR.LISTING,tR.MENU,tR.META,tR.NOBR,tR.OL,tR.P,tR.PRE,tR.RUBY,tR.S,tR.SMALL,tR.SPAN,tR.STRONG,tR.STRIKE,tR.SUB,tR.SUP,tR.TABLE,tR.TT,tR.U,tR.UL,tR.VAR]);function sW(e){let t=e.tagID;return t===tR.FONT&&e.attrs.some(({name:e})=>e===tO.COLOR||e===tO.SIZE||e===tO.FACE)||sG.has(t)}function sY(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===sF){e.attrs[t].name=sB;break}}function sz(e){for(let t=0;t<e.attrs.length;t++){let a=sU.get(e.attrs[t].name);null!=a&&(e.attrs[t].name=a)}}function sV(e){for(let t=0;t<e.attrs.length;t++){let a=sH.get(e.attrs[t].name);a&&(e.attrs[t].prefix=a.prefix,e.attrs[t].name=a.name,e.attrs[t].namespace=a.namespace)}}function sK(e){let t=s$.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=n2(e.tagName))}function sq(e,t){return t===tL.MATHML&&(e===tR.MI||e===tR.MO||e===tR.MN||e===tR.MS||e===tR.MTEXT)}function sQ(e,t,a){if(t===tL.MATHML&&e===tR.ANNOTATION_XML){for(let e=0;e<a.length;e++)if(a[e].name===tO.ENCODING){let t=a[e].value.toLowerCase();return t===sM||t===sR}}return t===tL.SVG&&(e===tR.FOREIGN_OBJECT||e===tR.DESC||e===tR.TITLE)}function sZ(e,t,a,i){return(!i||i===tL.HTML)&&sQ(e,t,a)||(!i||i===tL.MATHML)&&sq(e,t)}let sX="hidden",sJ=8,s0=3;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(tU||(tU={}));let s1={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1}
vendor: 45,425 bytes, line 6
6,s2=new Set([tR.TABLE,tR.TBODY,tR.TFOOT,tR.THEAD,tR.TR]),s3={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:sE,onParseError:null};class s4{constructor(e,t,a=null,i=null){this.fragmentContext=a,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=tU.INITIAL,this.originalInsertionMode=tU.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...s3,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new so(this.options,this),this.activeFormattingElements=new sw(this.treeAdapter),this.fragmentContextID=a?n2(this.treeAdapter.getTagName(a)):tR.UNKNOWN,this._setContextModes(null!=a?a:this.document,this.fragmentContextID),this.openElements=new sx(this.document,this.treeAdapter,this)}static parse(e,t){let a=new this(t);return a.tokenizer.write(e,!0),a.document}static getFragmentParser(e,t){let a={...s3,...t};null!=e||(e=a.treeAdapter.createElement(tM.TEMPLATE,tL.HTML,[]));let i=a.treeAdapter.createElement("documentmock",tL.HTML,[]),r=new this(a,i,e);return r.fragmentContextID===tR.TEMPLATE&&r.tmplInsertionModeStack.unshift(tU.IN_TEMPLATE),r._initTokenizerForFragmentParsing(),r._insertFakeRootElement(),r._resetInsertionMode(),r._findFormInFragmentContext(),r}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,a){var i;if(!this.onParseError)return;let r=null!=(i=e.location)?i:s1,n={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:a?r.startLine:r.endLine,endCol:a?r.startCol:r.endCol,endOffset:a?r.startOffset:r.endOffset};this.onParseError(n)}onItemPush(e,t,a){var i,r;null==(r=(i=this.treeAdapter).onItemPush)||r.call(i,e),a&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var a,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(i=(a=this.treeAdapter).onItemPop)||i.call(a,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let a=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===tL.HTML;this.currentNotInHTML=!a,this.tokenizer.inForeignNode=!a&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,tL.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=tU.TEXT}switchToPlaintextParsing(){this.insertionMode=tU.TEXT,this.originalInsertionMode=tU.IN_BODY,this.tokenizer.state=n7.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===tM.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===tL.HTML)switch(this.fragmentContextID){case tR.TITLE:case tR.TEXTAREA:this.tokenizer.state=n7.RCDATA;break;case tR.STYLE:case tR.XMP:case tR.IFRAME:case tR.NOEMBED:case tR.NOFRAMES:case tR.NOSCRIPT:this.tokenizer.state=n7.RAWTEXT;break;case tR.SCRIPT:this.tokenizer.state=n7.SCRIPT_DATA;break;case tR.PLAINTEXT:this.tokenizer.state=n7.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",a=e.publicId||"",i=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,a,i),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let a=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,a)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let a=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(a,e.location)}_insertElement(e,t){let a=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(a,e.location),this.openElements.push(a,e.tagID)}_insertFakeElement(e,t){let a=this.treeAdapter.createElement(e,tL.HTML,[]);this._attachElementToTree(a,null),this.openElements.push(a,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,tL.HTML,e.attrs),a=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,a),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(tM.HTML,tL.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,tR.HTML)}_appendCommentNode(e,t){let a=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,a),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_insertCharacters(e){let t,a;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:a}=this._findFosterParentingLocation(),a?this.treeAdapter.insertTextBefore(t,e.chars,a):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let i=this.treeAdapter.getChildNodes(t),r=a?i.lastIndexOf(a):i.length,n=i[r-1];if(this.treeAdapter.getNodeSourceCodeLocation(n)){let{endLine:t,endCol:a,endOffset:i}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(n,{endLine:t,endCol:a,endOffset:i})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_adoptNodes(e,t){for(let a=this.treeAdapter.getFirstChild(e);a;a=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(a),this.treeAdapter.appendChild(t,a)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let a=t.location,i=this.treeAdapter.getTagName(e),r=t.type===tT.END_TAG&&i===t.tagName?{endTag:{...a},endLine:a.endLine,endCol:a.endCol,endOffset:a.endOffset}:{endLine:a.startLine,endCol:a.startCol,endOffset:a.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,r)}}shouldProcessStartTagTokenInForeignContent(e){let t,a;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,a=this.fragmentContextID):{current:t,currentTagId:a}=this.openElements,(e.tagID!==tR.SVG||this.treeAdapter.getTagName(t)!==tM.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==tL.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===tR.MGLYPH||e.tagID===tR.MALIGNMARK)&&void 0!==a&&!this._isIntegrationPoint(a,t,tL.HTML)))}_processToken(e){switch(e.type){case tT.CHARACTER:this.onCharacter(e);break;case tT.NULL_CHARACTER:this.onNullCharacter(e);break;case tT.COMMENT:this.onComment(e);break;case tT.DOCTYPE:this.onDoctype(e);break;case tT.START_TAG:this._processStartTag(e);break;case tT.END_TAG:this.onEndTag(e);break;case tT.EOF:this.onEof(e);break;case tT.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,a){return sZ(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),a)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===tB.Marker||this.openElements.contains(e.element)),a=-1===t?e-1:t-1;for(let e=a;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=tU.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(tR.P),this.openElements.popUntilTagNamePopped(tR.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case tR.TR:this.insertionMode=tU.IN_ROW;return;case tR.TBODY:case tR.THEAD:case tR.TFOOT:this.insertionMode=tU.IN_TABLE_BODY;return;case tR.CAPTION:this.insertionMode=tU.IN_CAPTION;return;case tR.COLGROUP:this.insertionMode=tU.IN_COLUMN_GROUP;return;case tR.TABLE:this.insertionMode=tU.IN_TABLE;return;case tR.BODY:this.insertionMode=tU.IN_BODY;return;case tR.FRAMESET:this.insertionMode=tU.IN_FRAMESET;return;case tR.SELECT:return void this._resetInsertionModeForSelect(e);case tR.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case tR.HTML:this.insertionMode=this.headElement?tU.AFTER_HEAD:tU.BEFORE_HEAD;return;case tR.TD:case tR.TH:if(e>0){this.insertionMode=tU.IN_CELL;return}break;case tR.HEAD:if(e>0){this.insertionMode=tU.IN_HEAD;return}}this.insertionMode=tU.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===tR.TEMPLATE)break;if(e===tR.TABLE){this.insertionMode=tU.IN_SELECT_IN_TABLE;return}}this.insertionMode=tU.IN_SELECT}_isElementCausesFosterParenting(e){return s2.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case tR.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===tL.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case tR.TABLE:{let a=this.treeAdapter.getParentNode(t);if(a)return{parent:a,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return n4[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)return void o2(this,e);switch(this.insertionMode){case tU.INITIAL:ll(this,e);break;case tU.BEFORE_HTML:ld(this,e);break;case tU.BEFORE_HEAD:lf(this,e);break;case tU.IN_HEAD:lb(this,e);break;case tU.IN_HEAD_NO_SCRIPT:lx(this,e);break;case tU.AFTER_HEAD:lw(this,e);break;case tU.IN_BODY:case tU.IN_CAPTION:case tU.IN_CELL:case tU.IN_TEMPLATE:lC(this,e);break;case tU.TEXT:case tU.IN_SELECT:case tU.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case tU.IN_TABLE:case tU.IN_TABLE_BODY:case tU.IN_ROW:ou(this,e);break;case tU.IN_TABLE_TEXT:oE(this,e);break;case tU.IN_COLUMN_GROUP:oj(this,e);break;case tU.AFTER_BODY:oV(this,e);break;case tU.AFTER_AFTER_BODY:oJ(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)return void o1(this,e);switch(this.insertionMode){case tU.INITIAL:ll(this,e);break;case tU.BEFORE_HTML:ld(this,e);break;case tU.BEFORE_HEAD:lf(this,e);break;case tU.IN_HEAD:lb(this,e);break;case tU.IN_HEAD_NO_SCRIPT:lx(this,e);break;case tU.AFTER_HEAD:lw(this,e);break;case tU.TEXT:this._insertCharacters(e);break;case tU.IN_TABLE:case tU.IN_TABLE_BODY:case tU.IN_ROW:ou(this,e);break;case tU.IN_COLUMN_GROUP:oj(this,e);break;case tU.AFTER_BODY:oV(this,e);break;case tU.AFTER_AFTER_BODY:oJ(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)return void la(this,e);switch(this.insertionMode){case tU.INITIAL:case tU.BEFORE_HTML:case tU.BEFORE_HEAD:case tU.IN_HEAD:case tU.IN_HEAD_NO_SCRIPT:case tU.AFTER_HEAD:case tU.IN_BODY:case tU.IN_TABLE:case tU.IN_CAPTION:case tU.IN_COLUMN_GROUP:case tU.IN_TABLE_BODY:case tU.IN_ROW:case tU.IN_CELL:case tU.IN_SELECT:case tU.IN_SELECT_IN_TABLE:case tU.IN_TEMPLATE:case tU.IN_FRAMESET:case tU.AFTER_FRAMESET:la(this,e);break;case tU.IN_TABLE_TEXT:oS(this,e);break;case tU.AFTER_BODY:li(this,e);break;case tU.AFTER_AFTER_BODY:case tU.AFTER_AFTER_FRAMESET:lr(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case tU.INITIAL:ls(this,e);break;case tU.BEFORE_HEAD:case tU.IN_HEAD:case tU.IN_HEAD_NO_SCRIPT:case tU.AFTER_HEAD:this._err(e,tC.misplacedDoctype);break;case tU.IN_TABLE_TEXT:oS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,tC.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?o4(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case tU.INITIAL:ll(this,e);break;case tU.BEFORE_HTML:lo(this,e);break;case tU.BEFORE_HEAD:lu(this,e);break;case tU.IN_HEAD:lp(this,e);break;case tU.IN_HEAD_NO_SCRIPT:l_(this,e);break;case tU.AFTER_HEAD:lv(this,e);break;case tU.IN_BODY:l6(this,e);break;case tU.IN_TABLE:ox(this,e);break;case tU.IN_TABLE_TEXT:oS(this,e);break;case tU.IN_CAPTION:oT(this,e);break;case tU.IN_COLUMN_GROUP:ok(this,e);break;case tU.IN_TABLE_BODY:oP(this,e);break;case tU.IN_ROW:oO(this,e);break;case tU.IN_CELL:oM(this,e);break;case tU.IN_SELECT:oF(this,e);break;case tU.IN_SELECT_IN_TABLE:oU(this,e);break;case tU.IN_TEMPLATE:o$(this,e);break;case tU.AFTER_BODY:oY(this,e);break;case tU.IN_FRAMESET:oK(this,e);break;case tU.AFTER_FRAMESET:oQ(this,e);break;case tU.AFTER_AFTER_BODY:oX(this,e);break;case tU.AFTER_AFTER_FRAMESET:o0(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?o6(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case tU.INITIAL:ll(this,e);break;case tU.BEFORE_HTML:lc(this,e);break;case tU.BEFORE_HEAD:lh(this,e);break;case tU.IN_HEAD:lm(this,e);break;case tU.IN_HEAD_NO_SCRIPT:ly(this,e);break;case tU.AFTER_HEAD:lA(this,e);break;case tU.IN_BODY:ol(this,e);break;case tU.TEXT:oc(this,e);break;case tU.IN_TABLE:ov(this,e);break;case tU.IN_TABLE_TEXT:oS(this,e);break;case tU.IN_CAPTION:oN(this,e);break;case tU.IN_COLUMN_GROUP:oI(this,e);break;case tU.IN_TABLE_BODY:oL(this,e);break;case tU.IN_ROW:oD(this,e);break;case tU.IN_CELL:oR(this,e);break;case tU.IN_SELECT:oB(this,e);break;case tU.IN_SELECT_IN_TABLE:oH(this,e);break;case tU.IN_TEMPLATE:oG(this,e);break;case tU.AFTER_BODY:oz(this,e);break;case tU.IN_FRAMESET:oq(this,e);break;case tU.AFTER_FRAMESET:oZ(this,e);break;case tU.AFTER_AFTER_BODY:oJ(this,e)}}onEof(e){switch(this.insertionMode){case tU.INITIAL:ll(this,e);break;case tU.BEFORE_HTML:ld(this,e);break;case tU.BEFORE_HEAD:lf(this,e);break;case tU.IN_HEAD:lb(this,e);break;case tU.IN_HEAD_NO_SCRIPT:lx(this,e);break;case tU.AFTER_HEAD:lw(this,e);break;case tU.IN_BODY:case tU.IN_TABLE:case tU.IN_CAPTION:case tU.IN_COLUMN_GROUP:case tU.IN_TABLE_BODY:case tU.IN_ROW:case tU.IN_CELL:case tU.IN_SELECT:case tU.IN_SELECT_IN_TABLE:oo(this,e);break;case tU.TEXT:od(this,e);break;case tU.IN_TABLE_TEXT:oS(this,e);break;case tU.IN_TEMPLATE:oW(this,e);break;case tU.AFTER_BODY:case tU.IN_FRAMESET:case tU.AFTER_FRAMESET:case tU.AFTER_AFTER_BODY:case tU.AFTER_AFTER_FRAMESET:ln(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===tS.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case tU.IN_HEAD:case tU.IN_HEAD_NO_SCRIPT:case tU.AFTER_HEAD:case tU.TEXT:case tU.IN_COLUMN_GROUP:case tU.IN_SELECT:case tU.IN_SELECT_IN_TABLE:case tU.IN_FRAMESET:case tU.AFTER_FRAMESET:this._insertCharacters(e);break;case tU.IN_BODY:case tU.IN_CAPTION:case tU.IN_CELL:case tU.IN_TEMPLATE:case tU.AFTER_BODY:case tU.AFTER_AFTER_BODY:case tU.AFTER_AFTER_FRAMESET:lS(this,e);break;case tU.IN_TABLE:case tU.IN_TABLE_BODY:case tU.IN_ROW:ou(this,e);break;case tU.IN_TABLE_TEXT:ow(this,e)}}}function s6(e,t){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return a?e.openElements.contains(a.element)?e.openElements.hasInScope(t.tagID)||(a=null):(e.activeFormattingElements.removeEntry(a),a=null):os(e,t),a}function s5(e,t){let a=null,i=e.openElements.stackTop;for(;i>=0;i--){let r=e.openElements.items[i];if(r===t.element)break;e._isSpecialElement(r,e.openElements.tagIDs[i])&&(a=r)}return a||(e.openElements.shortenToLength(Math.max(i,0)),e.activeFormattingElements.removeEntry(t)),a}function s8(e,t,a){let i=t,r=e.openElements.getCommonAncestor(t);for(let n=0,s=r;s!==a;n++,s=r){r=e.openElements.getCommonAncestor(s);let a=e.activeFormattingElements.getElementEntry(s),l=a&&n>=s0;!a||l?(l&&e.activeFormattingElements.removeEntry(a),e.openElements.remove(s)):(s=s7(e,a),i===t&&(e.activeFormattingElements.bookmark=a),e.treeAdapter.detachNode(i),e.treeAdapter.appendChild(s,i),i=s)}return i}function s7(e,t){let a=e.treeAdapter.getNamespaceURI(t.element),i=e.treeAdapter.createElement(t.token.tagName,a,t.token.attrs);return e.openElements.replace(t.element,i),t.element=i,i}function s9(e,t,a){let i=n2(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(i))e._fosterParentElement(a);else{let r=e.treeAdapter.getNamespaceURI(t);i===tR.TEMPLATE&&r===tL.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,a)}}function le(e,t,a){let i=e.treeAdapter.getNamespaceURI(a.element),{token:r}=a,n=e.treeAdapter.createElement(r.tagName,i,r.attrs);e._adoptNodes(t,n),e.treeAdapter.appendChild(t,n),e.activeFormattingElements.insertElementAfterBookmark(n,r),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(t,n,r.tagID)}function lt(e,t){for(let a=0;a<sJ;a++){let a=s6(e,t);if(!a)break;let i=s5(e,a);if(!i)break;e.activeFormattingElements.bookmark=a;let r=s8(e,i,a.element),n=e.openElements.getCommonAncestor(a.element);e.treeAdapter.detachNode(r),n&&s9(e,n,r),le(e,i,a)}}function la(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function li(e,t){e._appendCommentNode(t,e.openElements.items[0])}function lr(e,t){e._appendCommentNode(t,e.document)}function ln(e,t){if(e.stopped=!0,t.location){let a=2*!e.fragmentContext;for(let i=e.openElements.stackTop;i>=a;i--)e._setEndLocation(e.openElements.items[i],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let a=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(a);if(i&&!i.endTag&&(e._setEndLocation(a,t),e.openElements.stackTop>=1)){let a=e.openElements.items[1],i=e.treeAdapter.getNodeSourceCodeLocation(a);i&&!i.endTag&&e._setEndLocation(a,t)}}}}function ls(e,t){e._setDocumentType(t);let a=t.forceQuirks?tD.QUIRKS:sD(t);sO(t)||e._err(t,tC.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=tU.BEFORE_HTML}function ll(e,t){e._err(t,tC.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,tD.QUIRKS),e.insertionMode=tU.BEFORE_HTML,e._processToken(t)}function lo(e,t){t.tagID===tR.HTML?(e._insertElement(t,tL.HTML),e.insertionMode=tU.BEFORE_HEAD):ld(e,t)}function lc(e,t){let a=t.tagID;(a===tR.HTML||a===tR.HEAD||a===tR.BODY||a===tR.BR)&&ld(e,t)}function ld(e,t){e._insertFakeRootElement(),e.insertionMode=tU.BEFORE_HEAD,e._processToken(t)}function lu(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.HEAD:e._insertElement(t,tL.HTML),e.headElement=e.openElements.current,e.insertionMode=tU.IN_HEAD;break;default:lf(e,t)}}function lh(e,t){let a=t.tagID;a===tR.HEAD||a===tR.BODY||a===tR.HTML||a===tR.BR?lf(e,t):e._err(t,tC.endTagWithoutMatchingOpenElement)}function lf(e,t){e._insertFakeElement(tM.HEAD,tR.HEAD),e.headElement=e.openElements.current,e.insertionMode=tU.IN_HEAD,e._processToken(t)}function lp(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.BASE:case tR.BASEFONT:case tR.BGSOUND:case tR.LINK:case tR.META:e._appendElement(t,tL.HTML),t.ackSelfClosing=!0;break;case tR.TITLE:e._switchToTextParsing(t,n7.RCDATA);break;case tR.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,n7.RAWTEXT):(e._insertElement(t,tL.HTML),e.insertionMode=tU.IN_HEAD_NO_SCRIPT);break;case tR.NOFRAMES:case tR.STYLE:e._switchToTextParsing(t,n7.RAWTEXT);break;case tR.SCRIPT:e._switchToTextParsing(t,n7.SCRIPT_DATA);break;case tR.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=tU.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(tU.IN_TEMPLATE);break;case tR.HEAD:e._err(t,tC.misplacedStartTagForHeadElement);break;default:lb(e,t)}}function lm(e,t){switch(t.tagID){case tR.HEAD:e.openElements.pop(),e.insertionMode=tU.AFTER_HEAD;break;case tR.BODY:case tR.BR:case tR.HTML:lb(e,t);break;case tR.TEMPLATE:lg(e,t);break;default:e._err(t,tC.endTagWithoutMatchingOpenElement)}}function lg(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==tR.TEMPLATE&&e._err(t,tC.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(tR.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,tC.endTagWithoutMatchingOpenElement)}function lb(e,t){e.openElements.pop(),e.insertionMode=tU.AFTER_HEAD,e._processToken(t)}function l_(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.BASEFONT:case tR.BGSOUND:case tR.HEAD:case tR.LINK:case tR.META:case tR.NOFRAMES:case tR.STYLE:lp(e,t);break;case tR.NOSCRIPT:e._err(t,tC.nestedNoscriptInHead);break;default:lx(e,t)}}function ly(e,t){switch(t.tagID){case tR.NOSCRIPT:e.openElements.pop(),e.insertionMode=tU.IN_HEAD;break;case tR.BR:lx(e,t);break;default:e._err(t,tC.endTagWithoutMatchingOpenElement)}}function lx(e,t){let a=t.type===tT.EOF?tC.openElementsLeftAfterEof:tC.disallowedContentInNoscriptInHead;e._err(t,a),e.openElements.pop(),e.insertionMode=tU.IN_HEAD,e._processToken(t)}function lv(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.BODY:e._insertElement(t,tL.HTML),e.framesetOk=!1,e.insertionMode=tU.IN_BODY;break;case tR.FRAMESET:e._insertElement(t,tL.HTML),e.insertionMode=tU.IN_FRAMESET;break;case tR.BASE:case tR.BASEFONT:case tR.BGSOUND:case tR.LINK:case tR.META:case tR.NOFRAMES:case tR.SCRIPT:case tR.STYLE:case tR.TEMPLATE:case tR.TITLE:e._err(t,tC.abandonedHeadElementChild),e.openElements.push(e.headElement,tR.HEAD),lp(e,t),e.openElements.remove(e.headElement);break;case tR.HEAD:e._err(t,tC.misplacedStartTagForHeadElement);break;default:lw(e,t)}}function lA(e,t){switch(t.tagID){case tR.BODY:case tR.HTML:case tR.BR:lw(e,t);break;case tR.TEMPLATE:lg(e,t);break;default:e._err(t,tC.endTagWithoutMatchingOpenElement)}}function lw(e,t){e._insertFakeElement(tM.BODY,tR.BODY),e.insertionMode=tU.IN_BODY,lE(e,t)}function lE(e,t){switch(t.type){case tT.CHARACTER:lC(e,t);break;case tT.WHITESPACE_CHARACTER:lS(e,t);break;case tT.COMMENT:la(e,t);break;case tT.START_TAG:l6(e,t);break;case tT.END_TAG:ol(e,t);break;case tT.EOF:oo(e,t)}}function lS(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function lC(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function lT(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function lN(e,t){let a=e.openElements.tryPeekProperlyNestedBodyElement();a&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs))}function lk(e,t){let a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,tL.HTML),e.insertionMode=tU.IN_FRAMESET)}function lI(e,t){e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),e._insertElement(t,tL.HTML)}function lj(e,t){e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&n6.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,tL.HTML)}function lP(e,t){e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),e._insertElement(t,tL.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function lL(e,t){let a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),e._insertElement(t,tL.HTML),a||(e.formElement=e.openElements.current))}function lO(e,t){e.framesetOk=!1;let a=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let i=e.openElements.tagIDs[t];if(a===tR.LI&&i===tR.LI||(a===tR.DD||a===tR.DT)&&(i===tR.DD||i===tR.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==tR.ADDRESS&&i!==tR.DIV&&i!==tR.P&&e._isSpecialElement(e.openElements.items[t],i))break}e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),e._insertElement(t,tL.HTML)}function lD(e,t){e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),e._insertElement(t,tL.HTML),e.tokenizer.state=n7.PLAINTEXT}function lM(e,t){e.openElements.hasInScope(tR.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(tR.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,tL.HTML),e.framesetOk=!1}function lR(e,t){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(tM.A);a&&(lt(e,t),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(t,tL.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function lF(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,tL.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function lB(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(tR.NOBR)&&(lt(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,tL.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function lU(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,tL.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function lH(e,t){e.treeAdapter.getDocumentMode(e.document)!==tD.QUIRKS&&e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),e._insertElement(t,tL.HTML),e.framesetOk=!1,e.insertionMode=tU.IN_TABLE}function l$(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,tL.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function lG(e){let t=nW(e,tO.TYPE);return null!=t&&t.toLowerCase()===sX}function lW(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,tL.HTML),lG(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function lY(e,t){e._appendElement(t,tL.HTML),t.ackSelfClosing=!0}function lz(e,t){e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),e._appendElement(t,tL.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function lV(e,t){t.tagName=tM.IMG,t.tagID=tR.IMG,l$(e,t)}function lK(e,t){e._insertElement(t,tL.HTML),e.skipNextNewLine=!0,e.tokenizer.state=n7.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=tU.TEXT}function lq(e,t){e.openElements.hasInButtonScope(tR.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,n7.RAWTEXT)}function lQ(e,t){e.framesetOk=!1,e._switchToTextParsing(t,n7.RAWTEXT)}function lZ(e,t){e._switchToTextParsing(t,n7.RAWTEXT)}function lX(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,tL.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===tU.IN_TABLE||e.insertionMode===tU.IN_CAPTION||e.insertionMode===tU.IN_TABLE_BODY||e.insertionMode===tU.IN_ROW||e.insertionMode===tU.IN_CELL?tU.IN_SELECT_IN_TABLE:tU.IN_SELECT}function lJ(e,t){e.openElements.currentTagId===tR.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,tL.HTML)}function l0(e,t){e.openElements.hasInScope(tR.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,tL.HTML)}function l1(e,t){e.openElements.hasInScope(tR.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(tR.RTC),e._insertElement(t,tL.HTML)}function l2(e,t){e._reconstructActiveFormattingElements(),sY(t),sV(t),t.selfClosing?e._appendElement(t,tL.MATHML):e._insertElement(t,tL.MATHML),t.ackSelfClosing=!0}function l3(e,t){e._reconstructActiveFormattingElements(),sz(t),sV(t),t.selfClosing?e._appendElement(t,tL.SVG):e._insertElement(t,tL.SVG),t.ackSelfClosing=!0}function l4(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,tL.HTML)}function l6(e,t){switch(t.tagID){case tR.I:case tR.S:case tR.B:case tR.U:case tR.EM:case tR.TT:case tR.BIG:case tR.CODE:case tR.FONT:case tR.SMALL:case tR.STRIKE:case tR.STRONG:lF(e,t);break;case tR.A:lR(e,t);break;case tR.H1:case tR.H2:case tR.H3:case tR.H4:case tR.H5:case tR.H6:lj(e,t);break;case tR.P:case tR.DL:case tR.OL:case tR.UL:case tR.DIV:case tR.DIR:case tR.NAV:case tR.MAIN:case tR.MENU:case tR.ASIDE:case tR.CENTER:case tR.FIGURE:case tR.FOOTER:case tR.HEADER:case tR.HGROUP:case tR.DIALOG:case tR.DETAILS:case tR.ADDRESS:case tR.ARTICLE:case tR.SEARCH:case tR.SECTION:case tR.SUMMARY:case tR.FIELDSET:case tR.BLOCKQUOTE:case tR.FIGCAPTION:lI(e,t);break;case tR.LI:case tR.DD:case tR.DT:lO(e,t);break;case tR.BR:case tR.IMG:case tR.WBR:case tR.AREA:case tR.EMBED:case tR.KEYGEN:l$(e,t);break;case tR.HR:lz(e,t);break;case tR.RB:case tR.RTC:l0(e,t);break;case tR.RT:case tR.RP:l1(e,t);break;case tR.PRE:case tR.LISTING:lP(e,t);break;case tR.XMP:lq(e,t);break;case tR.SVG:l3(e,t);break;case tR.HTML:lT(e,t);break;case tR.BASE:case tR.LINK:case tR.META:case tR.STYLE:case tR.TITLE:case tR.SCRIPT:case tR.BGSOUND:case tR.BASEFONT:case tR.TEMPLATE:lp(e,t);break;case tR.BODY:lN(e,t);break;case tR.FORM:lL(e,t);break;case tR.NOBR:lB(e,t);break;case tR.MATH:l2(e,t);break;case tR.TABLE:lH(e,t);break;case tR.INPUT:lW(e,t);break;case tR.PARAM:case tR.TRACK:case tR.SOURCE:lY(e,t);break;case tR.IMAGE:lV(e,t);break;case tR.BUTTON:lM(e,t);break;case tR.APPLET:case tR.OBJECT:case tR.MARQUEE:lU(e,t);break;case tR.IFRAME:lQ(e,t);break;case tR.SELECT:lX(e,t);break;case tR.OPTION:case tR.OPTGROUP:lJ(e,t);break;case tR.NOEMBED:case tR.NOFRAMES:lZ(e,t);break;case tR.FRAMESET:lk(e,t);break;case tR.TEXTAREA:lK(e,t);break;case tR.NOSCRIPT:e.options.scriptingEnabled?lZ(e,t):l4(e,t);break;case tR.PLAINTEXT:lD(e,t);break;case tR.COL:case tR.TH:case tR.TD:case tR.TR:case tR.HEAD:case tR.FRAME:case tR.TBODY:case tR.TFOOT:case tR.THEAD:case tR.CAPTION:case tR.COLGROUP:break;default:l4(e,t)}}function l5(e,t){if(e.openElements.hasInScope(tR.BODY)&&(e.insertionMode=tU.AFTER_BODY,e.options.sourceCodeLocationInfo)){let a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e._setEndLocation(a,t)}}function l8(e,t){e.openElements.hasInScope(tR.BODY)&&(e.insertionMode=tU.AFTER_BODY,oz(e,t))}function l7(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function l9(e){let t=e.openElements.tmplCount>0,{formElement:a}=e;t||(e.formElement=null),(a||t)&&e.openElements.hasInScope(tR.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(tR.FORM):a&&e.openElements.remove(a))}function oe(e){e.openElements.hasInButtonScope(tR.P)||e._insertFakeElement(tM.P,tR.P),e._closePElement()}function ot(e){e.openElements.hasInListItemScope(tR.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(tR.LI),e.openElements.popUntilTagNamePopped(tR.LI))}function oa(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function oi(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function or(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function on(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(tM.BR,tR.BR),e.openElements.pop(),e.framesetOk=!1}function os(e,t){let a=t.tagName,i=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let r=e.openElements.items[t],n=e.openElements.tagIDs[t];if(i===n&&(i!==tR.UNKNOWN||e.treeAdapter.getTagName(r)===a)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(r,n))break}}function ol(e,t){switch(t.tagID){case tR.A:case tR.B:case tR.I:case tR.S:case tR.U:case tR.EM:case tR.TT:case tR.BIG:case tR.CODE:case tR.FONT:case tR.NOBR:case tR.SMALL:case tR.STRIKE:case tR.STRONG:lt(e,t);break;case tR.P:oe(e);break;case tR.DL:case tR.UL:case tR.OL:case tR.DIR:case tR.DIV:case tR.NAV:case tR.PRE:case tR.MAIN:case tR.MENU:case tR.ASIDE:case tR.BUTTON:case tR.CENTER:case tR.FIGURE:case tR.FOOTER:case tR.HEADER:case tR.HGROUP:case tR.DIALOG:case tR.ADDRESS:case tR.ARTICLE:case tR.DETAILS:case tR.SEARCH:case tR.SECTION:case tR.SUMMARY:case tR.LISTING:case tR.FIELDSET:case tR.BLOCKQUOTE:case tR.FIGCAPTION:l7(e,t);break;case tR.LI:ot(e);break;case tR.DD:case tR.DT:oa(e,t);break;case tR.H1:case tR.H2:case tR.H3:case tR.H4:case tR.H5:case tR.H6:oi(e);break;case tR.BR:on(e);break;case tR.BODY:l5(e,t);break;case tR.HTML:l8(e,t);break;case tR.FORM:l9(e);break;case tR.APPLET:case tR.OBJECT:case tR.MARQUEE:or(e,t);break;case tR.TEMPLATE:lg(e,t);break;default:os(e,t)}}function oo(e,t){e.tmplInsertionModeStack.length>0?oW(e,t):ln(e,t)}function oc(e,t){var a;t.tagID===tR.SCRIPT&&(null==(a=e.scriptHandler)||a.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function od(e,t){e._err(t,tC.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function ou(e,t){if(void 0!==e.openElements.currentTagId&&s2.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=tU.IN_TABLE_TEXT,t.type){case tT.CHARACTER:oE(e,t);break;case tT.WHITESPACE_CHARACTER:ow(e,t)}else oA(e,t)}function oh(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,tL.HTML),e.insertionMode=tU.IN_CAPTION}function of(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,tL.HTML),e.insertionMode=tU.IN_COLUMN_GROUP}function op(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(tM.COLGROUP,tR.COLGROUP),e.insertionMode=tU.IN_COLUMN_GROUP,ok(e,t)}function om(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,tL.HTML),e.insertionMode=tU.IN_TABLE_BODY}function og(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(tM.TBODY,tR.TBODY),e.insertionMode=tU.IN_TABLE_BODY,oP(e,t)}function ob(e,t){e.openElements.hasInTableScope(tR.TABLE)&&(e.openElements.popUntilTagNamePopped(tR.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function o_(e,t){lG(t)?e._appendElement(t,tL.HTML):oA(e,t),t.ackSelfClosing=!0}function oy(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,tL.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function ox(e,t){switch(t.tagID){case tR.TD:case tR.TH:case tR.TR:og(e,t);break;case tR.STYLE:case tR.SCRIPT:case tR.TEMPLATE:lp(e,t);break;case tR.COL:op(e,t);break;case tR.FORM:oy(e,t);break;case tR.TABLE:ob(e,t);break;case tR.TBODY:case tR.TFOOT:case tR.THEAD:om(e,t);break;case tR.INPUT:o_(e,t);break;case tR.CAPTION:oh(e,t);break;case tR.COLGROUP:of(e,t);break;default:oA(e,t)}}function ov(e,t){switch(t.tagID){case tR.TABLE:e.openElements.hasInTableScope(tR.TABLE)&&(e.openElements.popUntilTagNamePopped(tR.TABLE),e._resetInsertionMode());break;case tR.TEMPLATE:lg(e,t);break;case tR.BODY:case tR.CAPTION:case tR.COL:case tR.COLGROUP:case tR.HTML:case tR.TBODY:case tR.TD:case tR.TFOOT:case tR.TH:case tR.THEAD:case tR.TR:break;default:oA(e,t)}}function oA(e,t){let a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,lE(e,t),e.fosterParentingEnabled=a}function ow(e,t){e.pendingCharacterTokens.push(t)}function oE(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function oS(e,t){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a<e.pendingCharacterTokens.length;a++)oA(e,e.pendingCharacterTokens[a]);else for(;a<e.pendingCharacterTokens.length;a++)e._insertCharacters(e.pendingCharacterTokens[a]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let oC=new Set([tR.CAPTION,tR.COL,tR.COLGROUP,tR.TBODY,tR.TD,tR.TFOOT,tR.TH,tR.THEAD,tR.TR]);function oT(e,t){let a=t.tagID;oC.has(a)?e.openElements.hasInTableScope(tR.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(tR.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=tU.IN_TABLE,ox(e,t)):l6(e,t)}function oN(e,t){let a=t.tagID;switch(a){case tR.CAPTION:case tR.TABLE:e.openElements.hasInTableScope(tR.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(tR.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=tU.IN_TABLE,a===tR.TABLE&&ov(e,t));break;case tR.BODY:case tR.COL:case tR.COLGROUP:case tR.HTML:case tR.TBODY:case tR.TD:case tR.TFOOT:case tR.TH:case tR.THEAD:case tR.TR:break;default:ol(e,t)}}function ok(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.COL:e._appendElement(t,tL.HTML),t.ackSelfClosing=!0;break;case tR.TEMPLATE:lp(e,t);break;default:oj(e,t)}}function oI(e,t){switch(t.tagID){case tR.COLGROUP:e.openElements.currentTagId===tR.COLGROUP&&(e.openElements.pop(),e.insertionMode=tU.IN_TABLE);break;case tR.TEMPLATE:lg(e,t);break;case tR.COL:break;default:oj(e,t)}}function oj(e,t){e.openElements.currentTagId===tR.COLGROUP&&(e.openElements.pop(),e.insertionMode=tU.IN_TABLE,e._processToken(t))}function oP(e,t){switch(t.tagID){case tR.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,tL.HTML),e.insertionMode=tU.IN_ROW;break;case tR.TH:case tR.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(tM.TR,tR.TR),e.insertionMode=tU.IN_ROW,oO(e,t);break;case tR.CAPTION:case tR.COL:case tR.COLGROUP:case tR.TBODY:case tR.TFOOT:case tR.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=tU.IN_TABLE,ox(e,t));break;default:ox(e,t)}}function oL(e,t){let a=t.tagID;switch(t.tagID){case tR.TBODY:case tR.TFOOT:case tR.THEAD:e.openElements.hasInTableScope(a)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=tU.IN_TABLE);break;case tR.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=tU.IN_TABLE,ov(e,t));break;case tR.BODY:case tR.CAPTION:case tR.COL:case tR.COLGROUP:case tR.HTML:case tR.TD:case tR.TH:case tR.TR:break;default:ov(e,t)}}function oO(e,t){switch(t.tagID){case tR.TH:case tR.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,tL.HTML),e.insertionMode=tU.IN_CELL,e.activeFormattingElements.insertMarker();break;case tR.CAPTION:case tR.COL:case tR.COLGROUP:case tR.TBODY:case tR.TFOOT:case tR.THEAD:case tR.TR:e.openElements.hasInTableScope(tR.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=tU.IN_TABLE_BODY,oP(e,t));break;default:ox(e,t)}}function oD(e,t){switch(t.tagID){case tR.TR:e.openElements.hasInTableScope(tR.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=tU.IN_TABLE_BODY);break;case tR.TABLE:e.openElements.hasInTableScope(tR.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=tU.IN_TABLE_BODY,oL(e,t));break;case tR.TBODY:case tR.TFOOT:case tR.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(tR.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=tU.IN_TABLE_BODY,oL(e,t));break;case tR.BODY:case tR.CAPTION:case tR.COL:case tR.COLGROUP:case tR.HTML:case tR.TD:case tR.TH:break;default:ov(e,t)}}function oM(e,t){let a=t.tagID;oC.has(a)?(e.openElements.hasInTableScope(tR.TD)||e.openElements.hasInTableScope(tR.TH))&&(e._closeTableCell(),oO(e,t)):l6(e,t)}function oR(e,t){let a=t.tagID;switch(a){case tR.TD:case tR.TH:e.openElements.hasInTableScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=tU.IN_ROW);break;case tR.TABLE:case tR.TBODY:case tR.TFOOT:case tR.THEAD:case tR.TR:e.openElements.hasInTableScope(a)&&(e._closeTableCell(),oD(e,t));break;case tR.BODY:case tR.CAPTION:case tR.COL:case tR.COLGROUP:case tR.HTML:break;default:ol(e,t)}}function oF(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.OPTION:e.openElements.currentTagId===tR.OPTION&&e.openElements.pop(),e._insertElement(t,tL.HTML);break;case tR.OPTGROUP:e.openElements.currentTagId===tR.OPTION&&e.openElements.pop(),e.openElements.currentTagId===tR.OPTGROUP&&e.openElements.pop(),e._insertElement(t,tL.HTML);break;case tR.HR:e.openElements.currentTagId===tR.OPTION&&e.openElements.pop(),e.openElements.currentTagId===tR.OPTGROUP&&e.openElements.pop(),e._appendElement(t,tL.HTML),t.ackSelfClosing=!0;break;case tR.INPUT:case tR.KEYGEN:case tR.TEXTAREA:case tR.SELECT:e.openElements.hasInSelectScope(tR.SELECT)&&(e.openElements.popUntilTagNamePopped(tR.SELECT),e._resetInsertionMode(),t.tagID!==tR.SELECT&&e._processStartTag(t));break;case tR.SCRIPT:case tR.TEMPLATE:lp(e,t)}}function oB(e,t){switch(t.tagID){case tR.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===tR.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===tR.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===tR.OPTGROUP&&e.openElements.pop();break;case tR.OPTION:e.openElements.currentTagId===tR.OPTION&&e.openElements.pop();break;case tR.SELECT:e.openElements.hasInSelectScope(tR.SELECT)&&(e.openElements.popUntilTagNamePopped(tR.SELECT),e._resetInsertionMode());break;case tR.TEMPLATE:lg(e,t)}}function oU(e,t){let a=t.tagID;a===tR.CAPTION||a===tR.TABLE||a===tR.TBODY||a===tR.TFOOT||a===tR.THEAD||a===tR.TR||a===tR.TD||a===tR.TH?(e.openElements.popUntilTagNamePopped(tR.SELECT),e._resetInsertionMode(),e._processStartTag(t)):oF(e,t)}function oH(e,t){let a=t.tagID;a===tR.CAPTION||a===tR.TABLE||a===tR.TBODY||a===tR.TFOOT||a===tR.THEAD||a===tR.TR||a===tR.TD||a===tR.TH?e.openElements.hasInTableScope(a)&&(e.openElements.popUntilTagNamePopped(tR.SELECT),e._resetInsertionMode(),e.onEndTag(t)):oB(e,t)}function o$(e,t){switch(t.tagID){case tR.BASE:case tR.BASEFONT:case tR.BGSOUND:case tR.LINK:case tR.META:case tR.NOFRAMES:case tR.SCRIPT:case tR.STYLE:case tR.TEMPLATE:case tR.TITLE:lp(e,t);break;case tR.CAPTION:case tR.COLGROUP:case tR.TBODY:case tR.TFOOT:case tR.THEAD:e.tmplInsertionModeStack[0]=tU.IN_TABLE,e.insertionMode=tU.IN_TABLE,ox(e,t);break;case tR.COL:e.tmplInsertionModeStack[0]=tU.IN_COLUMN_GROUP,e.insertionMode=tU.IN_COLUMN_GROUP,ok(e,t);break;case tR.TR:e.tmplInsertionModeStack[0]=tU.IN_TABLE_BODY,e.insertionMode=tU.IN_TABLE_BODY,oP(e,t);break;case tR.TD:case tR.TH:e.tmplInsertionModeStack[0]=tU.IN_ROW,e.insertionMode=tU.IN_ROW,oO(e,t);break;default:e.tmplInsertionModeStack[0]=tU.IN_BODY,e.insertionMode=tU.IN_BODY,l6(e,t)}}function oG(e,t){t.tagID===tR.TEMPLATE&&lg(e,t)}function oW(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(tR.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ln(e,t)}function oY(e,t){t.tagID===tR.HTML?l6(e,t):oV(e,t)}function oz(e,t){var a;if(t.tagID===tR.HTML){if(e.fragmentContext||(e.insertionMode=tU.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===tR.HTML){e._setEndLocation(e.openElements.items[0],t);let i=e.openElements.items[1];!i||(null==(a=e.treeAdapter.getNodeSourceCodeLocation(i))?void 0:a.endTag)||e._setEndLocation(i,t)}}else oV(e,t)}function oV(e,t){e.insertionMode=tU.IN_BODY,lE(e,t)}function oK(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.FRAMESET:e._insertElement(t,tL.HTML);break;case tR.FRAME:e._appendElement(t,tL.HTML),t.ackSelfClosing=!0;break;case tR.NOFRAMES:lp(e,t)}}function oq(e,t){t.tagID===tR.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===tR.FRAMESET||(e.insertionMode=tU.AFTER_FRAMESET))}function oQ(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.NOFRAMES:lp(e,t)}}function oZ(e,t){t.tagID===tR.HTML&&(e.insertionMode=tU.AFTER_AFTER_FRAMESET)}function oX(e,t){t.tagID===tR.HTML?l6(e,t):oJ(e,t)}function oJ(e,t){e.insertionMode=tU.IN_BODY,lE(e,t)}function o0(e,t){switch(t.tagID){case tR.HTML:l6(e,t);break;case tR.NOFRAMES:lp(e,t)}}function o1(e,t){t.chars=nI,e._insertCharacters(t)}function o2(e,t){e._insertCharacters(t),e.framesetOk=!1}function o3(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==tL.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
6penElements.current);)e.openElements.pop()}function o4(e,t){if(sW(t))o3(e),e._startTagOutsideForeignContent(t);else{let a=e._getAdjustedCurrentElement(),i=e.treeAdapter.getNamespaceURI(a);i===tL.MATHML?sY(t):i===tL.SVG&&(sK(t),sz(t)),sV(t),t.selfClosing?e._appendElement(t,i):e._insertElement(t,i),t.ackSelfClosing=!0}}function o6(e,t){if(t.tagID===tR.P||t.tagID===tR.BR){o3(e),e._endTagOutsideForeignContent(t);return}for(let a=e.openElements.stackTop;a>0;a--){let i=e.openElements.items[a];if(e.treeAdapter.getNamespaceURI(i)===tL.HTML){e._endTagOutsideForeignContent(t);break}let r=e.treeAdapter.getTagName(i);if(r.toLowerCase()===t.tagName){t.tagName=r,e.openElements.shortenToLength(a);break}}}function o5(e,t){return function(a){let i,r=0,n="";for(;i=e.exec(a);)r!==i.index&&(n+=a.substring(r,i.index)),n+=t.get(i[0].charCodeAt(0)),r=i.index+1;return n+a.substring(r)}}String.prototype.codePointAt;let o8=o5(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),o7=o5(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),o9=new Set([tM.AREA,tM.BASE,tM.BASEFONT,tM.BGSOUND,tM.BR,tM.COL,tM.EMBED,tM.FRAME,tM.HR,tM.IMG,tM.INPUT,tM.KEYGEN,tM.LINK,tM.META,tM.PARAM,tM.SOURCE,tM.TRACK,tM.WBR]);function ce(e,t){return t.treeAdapter.isElementNode(e)&&t.treeAdapter.getNamespaceURI(e)===tL.HTML&&o9.has(t.treeAdapter.getTagName(e))}let ct={treeAdapter:sE,scriptingEnabled:!0};function ca(e,t){return cr(e,{...ct,...t})}function ci(e,t){let a="",i=t.treeAdapter.isElementNode(e)&&t.treeAdapter.getTagName(e)===tM.TEMPLATE&&t.treeAdapter.getNamespaceURI(e)===tL.HTML?t.treeAdapter.getTemplateContent(e):e,r=t.treeAdapter.getChildNodes(i);if(r)for(let e of r)a+=cr(e,t);return a}function cr(e,t){return t.treeAdapter.isElementNode(e)?cn(e,t):t.treeAdapter.isTextNode(e)?cl(e,t):t.treeAdapter.isCommentNode(e)?co(e,t):t.treeAdapter.isDocumentTypeNode(e)?cc(e,t):""}function cn(e,t){let a=t.treeAdapter.getTagName(e);return`<${a}${cs(e,t)}>${ce(e,t)?"":`${ci(e,t)}</${a}>`}`}function cs(e,{treeAdapter:t}){let a="";for(let i of t.getAttrList(e)){if(a+=" ",i.namespace)switch(i.namespace){case tL.XML:a+=`xml:${i.name}`;break;case tL.XMLNS:"xmlns"!==i.name&&(a+="xmlns:"),a+=i.name;break;case tL.XLINK:a+=`xlink:${i.name}`;break;default:a+=`${i.prefix}:${i.name}`}else a+=i.name;a+=`="${o8(i.value)}"`}return a}function cl(e,t){let{treeAdapter:a}=t,i=a.getTextNodeContent(e),r=a.getParentNode(e),n=r&&a.isElementNode(r)&&a.getTagName(r);return n&&a.getNamespaceURI(r)===tL.HTML&&n8(n,t.scriptingEnabled)?i:o7(i)}function co(e,{treeAdapter:t}){return`<!--${t.getCommentNodeContent(e)}-->`}function cc(e,{treeAdapter:t}){return`<!DOCTYPE ${t.getDocumentTypeNodeName(e)}>`}function cd(e,t){return s4.parse(e,t)}function cu(e,t,a){"string"==typeof e&&(a=t,t=e,e=null);let i=s4.getFragmentParser(e,a);return i.tokenizer.write(t,!0),i.getFragment()}var ch=e.i(20822),ch=ch;function cf(e){let t=e.includes('"')?"'":'"';return t+e+t}function cp(e,t,a){let i="!DOCTYPE ";return e&&(i+=e),t?i+=` PUBLIC ${cf(t)}`:a&&(i+=" SYSTEM"),a&&(i+=` ${cf(a)}`),i}let cm={isCommentNode:w,isElementNode:x,isTextNode:A,createDocument(){let e=new _([]);return e["x-mode"]=ch.DOCUMENT_MODE.NO_QUIRKS,e},createDocumentFragment:()=>new _([]),createElement(e,t,a){let i=Object.create(null),r=Object.create(null),n=Object.create(null);for(let e=0;e<a.length;e++){let t=a[e].name;i[t]=a[e].value,r[t]=a[e].namespace,n[t]=a[e].prefix}let s=new y(e,i,[]);return s.namespace=t,s["x-attribsNamespace"]=r,s["x-attribsPrefix"]=n,s},createCommentNode:e=>new p(e),createTextNode:e=>new f(e),appendChild(e,t){let a=e.children[e.children.length-1];a&&(a.next=t,t.prev=a),e.children.push(t),t.parent=e},insertBefore(e,t,a){let i=e.children.indexOf(a),{prev:r}=a;r&&(r.next=t,t.prev=r),a.prev=t,t.next=a,e.children.splice(i,0,t),t.parent=e},setTemplateContent(e,t){cm.appendChild(e,t)},getTemplateContent:e=>e.children[0],setDocumentType(e,t,a,i){let r=cp(t,a,i),n=e.children.find(e=>E(e)&&"!doctype"===e.name);n?n.data=null!=r?r:null:(n=new m("!doctype",r),cm.appendChild(e,n)),n["x-name"]=t,n["x-publicId"]=a,n["x-systemId"]=i},setDocumentMode(e,t){e["x-mode"]=t},getDocumentMode:e=>e["x-mode"],detachNode(e){if(e.parent){let t=e.parent.children.indexOf(e),{prev:a,next:i}=e;e.prev=null,e.next=null,a&&(a.next=i),i&&(i.prev=a),e.parent.children.splice(t,1),e.parent=null}},insertText(e,t){let a=e.children[e.children.length-1];a&&A(a)?a.data+=t:cm.appendChild(e,cm.createTextNode(t))},insertTextBefore(e,t,a){let i=e.children[e.children.indexOf(a)-1];i&&A(i)?i.data+=t:cm.insertBefore(e,cm.createTextNode(t),a)},adoptAttributes(e,t){for(let a=0;a<t.length;a++){let i=t[a].name;void 0===e.attribs[i]&&(e.attribs[i]=t[a].value,e["x-attribsNamespace"][i]=t[a].namespace,e["x-attribsPrefix"][i]=t[a].prefix)}},getFirstChild:e=>e.children[0],getChildNodes:e=>e.children,getParentNode:e=>e.parent,getAttrList:e=>e.attributes,getTagName:e=>e.name,getNamespaceURI:e=>e.namespace,getTextNodeContent:e=>e.data,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName(e){var t;return null!=(t=e["x-name"])?t:""},getDocumentTypeNodePublicId(e){var t;return null!=(t=e["x-publicId"])?t:""},getDocumentTypeNodeSystemId(e){var t;return null!=(t=e["x-systemId"])?t:""},isDocumentTypeNode:e=>E(e)&&"!doctype"===e.name,setNodeSourceCodeLocation(e,t){t&&(e.startIndex=t.startOffset,e.endIndex=t.endOffset),e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){null!=t.endOffset&&(e.endIndex=t.endOffset),e.sourceCodeLocation={...e.sourceCodeLocation,...t}}};function cg(e,t,a,i){var r;return null!=(r=t.treeAdapter)||(t.treeAdapter=cm),!1!==t.scriptingEnabled&&(t.scriptingEnabled=!0),a?cd(e,t):cu(i,e,t)}let cb={treeAdapter:cm};function c_(e){let t="length"in e?e:[e];for(let e=0;e<t.length;e+=1){let a=t[e];S(a)&&Array.prototype.splice.call(t,e,1,...a.children)}let a="";for(let e=0;e<t.length;e+=1)a+=ca(t[e],cb);return a}let cy=nT(rq((e,t,a,i)=>t._useHtmlParser2?af(e,t):cg(e,t,a,i)),(e,t)=>t._useHtmlParser2?er(e,t):c_(e));e.s(["load",0,cy],6858),e.s([],44314)},23652,e=>{"use strict";e.s(["default",()=>d]);var t=e.i(91398);e.i(48756);var a=e.i(17626),i=e.i(17419),r=e.i(6271),n=e.i(5223),s=e.i(91788);e.i(44314);var l=e.i(6858),o=e.i(55164),c=e.i(15464);let d=({link:e,isExternalLink:d,linkText:u,title:h,paragraph:f,isOverlay:p,isOverlayFontType:m,cta_two_label:g,cta_two_uri:b,cta_two_externalLink:_,cta_three_label:y,cta_three_uri:x,cta_three_externalLink:v,titleSuperscript:A,cssClassName:w})=>{let{applicationTheme:E}=(0,s.useContext)(o.ApplicationThemeContext),S=(0,s.useMemo)(()=>
6{if(h)return(0,t.jsx)("h1",{className:"heroBannerContent-title heroBannerContent-break-word",children:h});if(A){let e=l.load(A,{xmlMode:!1}),a=e("p")?.html();return(0,t.jsx)("h1",{className:"heroBannerContent-title heroBannerContent-break-word",dangerouslySetInnerHTML:{__html:(0,c.DOMSanitizer)(a)}})}},[h,A]),C="",T="",N=()=>{let e="";("rebranding"===E||"rebranding-japan"===E||"jubbonti"===E||"wyost"===E||"biosimilarsinbone"===E||"hexal"===E||"vagidonna"===E)&&("on"===p&&"light"===m?C="text-overlay-dark":"on"===p&&"dark"===m&&(C="text-overlay"),T="light"===m?"font-light":"font-dark");try{""!==C&&h?.split(" ")?.map(t=>{t.length>14&&(e="extended-width")})}catch(t){e=""}return`heroBannerContent-textdata ${C} ${T} ${e} ${w??""}`},k=()=>(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsx)(a.AnchorButton,{href:`${e}`,isExternal:d??!1,tabindex:0,isSecondary:!1,className:"heroBannerContent-grp",children:`${u}`}),b&&(0,t.jsx)(a.AnchorButton,{href:`${b}`,isExternal:_??!1,tabindex:0,isSecondary:!1,className:"heroBannerContent-grp",children:`${g}`}),x&&(0,t.jsx)(a.AnchorButton,{href:`${x}`,isExternal:v??!1,tabindex:0,isSecondary:!1,className:"heroBannerContent-grp",children:`${y}`})]}),I=()=>(0,t.jsx)("div",{children:k()}),j=()=>{let e="";try{"hexal"===E&&""!==C&&(e=(0,t.jsx)("div",{className:"heroBannerContent-shader"})),"hexal"!==E&&(e=(0,t.jsx)("div",{className:"heroBannerContent-shader"}))}catch(t){e=""}return e};return(0,t.jsxs)(r.Container,{className:"heroBannerContent",children:[(0,t.jsxs)(i.Column,{mobile:12,tablet:"rebranding"===E||"rebranding-japan"===E||"jubbonti"===E||"wyost"===E||"biosimilarsinbone"===E||"vagidonna"===E?6:4,desktop:"rebranding"===E||"rebranding-japan"===E||"jubbonti"===E||"wyost"===E||"biosimilarsinbone"===E||"vagidonna"===E?5:4,className:N(),children:[(0,t.jsx)(t.Fragment,{children:S&&(0,t.jsx)(t.Fragment,{children:S})}),(0,t.jsx)("div",{className:"heroBannerContent-text-style",children:f?(0,t.jsx)(n.RichText,{className:"heroBannerContent-text",content:f}):null}),(0,t.jsx)(t.Fragment,{children:"on"===p?I():k()})]}),"rebranding"!==E&&"rebranding-japan"!==E&&"jubbonti"!==E&&"wyost"!==E&&"biosimilarsinbone"!==E&&"vagidonna"!==E?j():(0,t.jsx)(t.Fragment,{})]})}},10096,e=>{"use strict";e.s(["default",()=>p]);var t=e.i(91398),a=e.i(22276),i=e.i(91788),r=e.i(21672);e.i(48756);var n=e.i(45861),s=e.i(17626),l=e.i(17419),o=e.i(161),c=e.i(5223),d=e.i(66196),u=e.i(23216),h=e.i(34848),f=e.i(82054);let p=({id:e,heading:p,text:m,link:g,isLinkExternal:b,buttonLabel:_})=>{let[y,x]=(0,i.useState)(!1),v=0,A=(0,a.useDispatch)(),w=(0,i.useCallback)(e=>A((0,r.addRatings)(e)),[A]),E=(0,i.useContext)(f.default),S=(0,a.useSelector)(e=>e?.ratings?.liveCount?.favourite),C=(0,a.useSelector)(e=>e?.user?.profile?.response?.favourite),T=S?.filter(t=>Number(t.node_id)===e);(0,i.useMemo)(()=>{for(let t in C)Number(C[t].node_id)===e&&x(!0)},[C]),v=T?.length>0?T?.[0]?.count:0;let N=t=>{w({id:e,state:t})};return(0,t.jsxs)("div",{className:"interesting-teaser-card-content",children:[(0,t.jsxs)(d.Row,{children:[(0,t.jsx)(l.Column,{desktop:9,tablet:9,mobile:9,children:p&&(0,t.jsx)("h4",{className:"interesting-teaser-card-content-header bold",children:g?(0,t.jsx)(n.Anchor,{href:g,tabindex:0,noUnderline:!0,className:"inherit-fontsize",title:p,ariaLabel:p,children:(0,h.trimText)(p,u.default.TITLE)}):(0,h.trimText)(p,u.default.TITLE)})}),(0,t.jsx)(l.Column,{desktop:3,tablet:3,mobile:3,className:"interesting-teaser-card-content-icon",children:(0,t.jsx)("span",{children:(p||g||m)&&E?.applicationConfiguration?.isFavouriteEnabled&&(0,t.jsx)(o.FavoriteIcon,{id:e,totalFavoriteCount:v,favouriteStatus:y,favoriteHandlerCallback:N})})})]}),m&&(0,t.jsx)(c.RichText,{className:"interesting-teaser-card-content-text",content:m,characterLimit:u.default.DESCRIPTION}),g&&(0,t.jsx)("div",{className:"interesting-teaser-card-content-button",children:(0,t.jsx)(s.AnchorButton,{tabindex:2,isSecondary:!0,href:g,isExternal:b,children:_})})]})}},26735,e=>{"use strict";e.s(["default",()=>m]);var t=e.i(91398),a=e.i(22276),i=e.i(91788),r=e.i(21672);e.i(48756);var n=e.i(17626),s=e.i(17419),l=e.i(5223),o=e.i(66196),c=e.i(65218),d=e.i(88801),u=e.i(23216),h=e.i(34848),f=e.i(9283),p=e.i(82054);let m=({id:e,taxonomies:m,text:g,heading:b,buttonUrl:_,isButtonUrlExter
6nal:y,buttonLabel:x,bookmark:v})=>{let[A,w]=(0,i.useState)(!1),E=(0,i.useContext)(p.default),S=0,C=(0,a.useDispatch)(),T=(0,i.useCallback)(e=>C((0,r.addRatings)(e)),[C]),N=t=>{T({id:e,state:t})},k=(0,a.useSelector)(e=>e?.ratings?.liveCount?.favourite),I=(0,a.useSelector)(e=>e?.user?.profile?.response?.favourite),j=k?.filter(t=>parseInt(t.node_id)===e);S=j?.length>0?j?.[0]?.count:0,(0,i.useMemo)(()=>{for(let t in I)parseInt(I[t].node_id)===e&&w(!0)},[I]);let P=t=>{T({id:e,state:t})};return(0,t.jsxs)("div",{className:"material-teaser-card-content",children:[(0,t.jsxs)(o.Row,{children:[(0,t.jsx)(s.Column,{desktop:8,tablet:8,mobile:8,children:m&&(0,t.jsx)(c.Taxonomy,{taxonomies:m})}),(0,t.jsx)(s.Column,{desktop:4,tablet:4,mobile:4,className:"material-teaser-card-content-icon wrap",children:(0,t.jsxs)(o.Row,{children:[v&&(0,t.jsx)(s.Column,{desktop:4,tablet:4,mobile:4,className:"material-teaser-card-content-icon",children:(0,t.jsx)(f.default,{id:e,...v,bookmarkCallback:N})}),(0,t.jsx)(s.Column,{desktop:8,tablet:8,mobile:8,className:"material-teaser-card-content-icon",children:(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"material-teaser-card-content-favorite-section",children:(0,t.jsx)("span",{className:"favorite-icon",children:(g||b||m[0].taxonomyLabel)&&E?.applicationConfiguration?.isFavouriteEnabled&&(0,t.jsx)(d.default,{id:e,totalFavoriteCount:S,favouriteStatus:A,favoriteHandlerCallback:P})})})})})]})})]}),(0,t.jsx)("h4",{className:"material-teaser-card-content-header bold",children:(0,h.trimText)(b,u.default.TITLE)}),g&&(0,t.jsx)(l.RichText,{className:"material-teaser-card-content-text",content:g,characterLimit:u.default.DESCRIPTION}),(_||y)&&x?(0,t.jsx)("div",{className:"material-teaser-card-content-btn-group",children:(0,t.jsx)(n.AnchorButton,{href:_,isSecondary:!0,tabindex:1,isExternal:y,children:x})}):(0,t.jsx)(t.Fragment,{})]})}},95104,89280,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(30943),n=e.i(55164);e.i(50461);var s=e.i(60997),l=e.i(75907),o=i,c=l,d=i,u="data-focus-lock",h="data-focus-lock-disabled",f="data-no-focus-lock",p="data-autofocus-inside",m="data-no-autofocus",g=i;function b(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var _=i;function y(e,t){var a=(0,_.useState)(function(){return{value:e,callback:t,facade:{get current(){return a.value},set current(value){var i=a.value;i!==value&&(a.value=value,a.callback(value,i))}}}})[0];return a.callback=t,a.facade}var x="u">typeof window?g.useLayoutEffect:g.useEffect,v=new WeakMap;function A(e,t){var a=y(t||null,function(t){return e.forEach(function(e){return b(e,t)})});return x(function(){var t=v.get(a);if(t){var i=new Set(t),r=new Set(e),n=a.current;
6i.forEach(function(e){r.has(e)||b(e,null)}),r.forEach(function(e){i.has(e)||b(e,n)})}v.set(a,e)},[e]),a}var w={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},E=function(){return(E=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function S(e,t,a){if(a||2==arguments.length)for(var i,r=0,n=t.length;r<n;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function C(e){return e}function T(e,t){void 0===t&&(t=C);var a=[],i=!1;return{read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:e},useMedium:function(e){var r=t(e,i);return a.push(r),function(){a=a.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(i=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){i=!0;var t=[];if(a.length){var r=a;a=[],r.forEach(e),t=a}var n=function(){var a=t;t=[],a.forEach(e)},s=function(){return Promise.resolve().then(n)};s(),a={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),a}}}}}function N(e,t){return void 0===t&&(t=C),T(e,t)}function k(e){void 0===e&&(e={});var t=T(null);return t.options=E({async:!0,ssr:!1},e),t}"function"==typeof SuppressedError&&SuppressedError,e.s(["__assign",()=>E,"__spreadArray",0,S],89280);var I=N({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),j=N(),P=N(),L=k({async:!0,ssr:"u">typeof document}),O=(0,i.createContext)(void 0),D=[],M=(0,d.forwardRef)(function(e,t){var a,i=(0,d.useState)(),r=i[0],n=i[1],s=(0,d.useRef)(),l=(0,d.useRef)(!1),o=(0,d.useRef)(null),f=(0,d.useState)({})[1],p=e.children,m=e.disabled,g=void 0!==m&&m,b=e.noFocusGuards,_=void 0!==b&&b,y=e.persistentFocus,x=void 0!==y&&y,v=e.crossFrame,E=void 0===v||v,S=e.autoFocus,C=void 0===S||S,T=(e.allowTextSelection,e.group),N=e.className,k=e.whiteList,P=e.hasPositiveIndices,M=e.shards,R=void 0===M?D:M,F=e.as,B=void 0===F?"div":F,U=e.lockProps,H=void 0===U?{}:U,$=e.sideCar,G=e.returnFocus,W=void 0!==G&&G,Y=e.focusOptions,z=e.onActivation,V=e.onDeactivation,K=(0,d.useState)({})[0],q=(0,d.useCallback)(function(e){var t=e.captureFocusRestore;if(!o.current){var a,i=null==(a=document)?void 0:a.activeElement;o.current=i,i!==document.body&&(o.current=t(i))}s.current&&z&&z(s.current),l.current=!0,f()},[z]),Q=(0,d.useCallback)(function(){l.current=!1,V&&V(s.current),f()},[V]),Z=(0,d.useCallback)(function(e){var t=o.current;if(t){var a=("function"==typeof t?t():t)||document.body,i="function"==typeof W?W(a):W;if(i){var r="object"==typeof i?i:void 0;o.current=null,e?Promise.resolve().then(function(){return a.focus(r)}):a.focus(r)}}},[W]),X=(0,d.useCallback)(function(e){l.current&&I.useMedium(e)},[]),J=j.useMedium,ee=(0,d.useCallback)(function(e){s.current!==e&&(s.current=e,n(e))},[]),et=(0,c.default)(((a={})[h]=g&&"disabled",a[u]=T,a),H),ea=!0!==_,ei=ea&&"tail"!==_,er=A([t,ee]),en=(0,d.useMemo)(function(){return{observed:s,shards:R,enabled:!g,get active(){return l.current}}},[g,l,R,s]);return d.default.createElement(d.Fragment,null,ea&&[d.default.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:g?-1:0,style:w}),P?d.default.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:g?-1:1,style:w}):null],!g&&d.default.createElement($,{id:K,sideCar:L,observed:r,disabled:g,persistentFocus:x,crossFrame:E,autoFocus:C,whiteList:k,shards:R,onActivation:q,onDeactivation:Q,returnFocus:Z,focusOptions:Y,noFocusGuards:_}),d.default.createElement(B,(0,c.default)({ref:er},et,{className:N,onBlur:J,onFocus:X}),d.default.createElement(O.Provider,{value:en},p)),ei&&d.default.createElement("div",{"data-focus-guard":!0,tabIndex:g?-1:0,style:w}))});M.propTypes={};let R=M;var F=e.i(47518);function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,F.default)(e,t)}var U=e.i(87250),H=i;let $=function(e,t){function a(e){return e.displayName||e.name||"Component"}return function(i){var r,n=[];function s(){t(r=e(n.map(function(e){return e.props})))}var l=function(e){function t(){return e.apply(this,arguments)||this}B(t,e),t.peek=function(){return r};var a=t.prototype;return a.componentDidMount=function(){n.push(this),s()},a.componentDidUpdate=function(){s()},a.componentWillUnmount=function(){var e=n.indexOf(this);n.splice(e,1),s()},a.render=function(){return H.default.createElement(i,this.props)},t}(H.PureComponent);return(0,U.default)(l,"displayName","SideEffect("+a(i)+")"),l}};var G=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},W=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},Y=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},z=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},V=function(e){return e.hasAttribute("inert")}
6,K=function(e,t){return!e||z(e)||!W(e)&&!V(e)&&t(Y(e))},q=function(e,t){var a=e.get(t);if(void 0!==a)return a;var i=K(t,q.bind(void 0,e));return e.set(t,i),i},Q=function(e,t){return!e||!!z(e)||!!ei(e)&&t(Y(e))},Z=function(e,t){var a=e.get(t);if(void 0!==a)return a;var i=Q(t,Z.bind(void 0,e));return e.set(t,i),i},X=function(e){return e.dataset},J=function(e){return"BUTTON"===e.tagName},ee=function(e){return"INPUT"===e.tagName},et=function(e){return ee(e)&&"radio"===e.type},ea=function(e){return!((ee(e)||J(e))&&("hidden"===e.type||e.disabled))},ei=function(e){return![!0,"true",""].includes(e.getAttribute(m))},er=function(e){var t;return!!(e&&(null==(t=X(e))?void 0:t.focusGuard))},en=function(e){return!er(e)},es=function(e){return!!e},el=function(e,t){return t.filter(et).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},eo=function(e,t){return et(e)&&e.name?el(e,t):e},ec=function(e){var t=new Set;return e.forEach(function(a){return t.add(eo(a,e))}),e.filter(function(e){return t.has(e)})},ed=function(e){return e[0]&&e.length>1?eo(e[0],e):e[0]},eu=function(e,t){return e.indexOf(eo(t,e))},eh="NEW_FOCUS",ef=function(e,t,a,i,r){var n=e.length,s=e[0],l=e[n-1],o=er(i);if(!(i&&e.indexOf(i)>=0)){var c=void 0!==i?a.indexOf(i):-1,d=r?a.indexOf(r):c,u=r?e.indexOf(r):-1;if(-1===c)return -1!==u?u:eh;if(-1===u)return eh;var h=c-d,f=a.indexOf(s),p=a.indexOf(l),m=ec(a),g=void 0!==i?m.indexOf(i):-1,b=r?m.indexOf(r):g,_=m.filter(function(e){return e.tabIndex>=0}),y=void 0!==i?_.indexOf(i):-1,x=r?_.indexOf(r):y,v=y>=0&&x>=0?x-y:b-g;if(!h&&u>=0||0===t.length)return u;var A=eu(e,t[0]),w=eu(e,t[t.length-1]);if(c<=f&&o&&Math.abs(h)>1)return w;if(c>=p&&o&&Math.abs(h)>1)return A;if(h&&Math.abs(v)>1)return u;if(c<=f)return w;if(c>p)return A;if(h)return Math.abs(h)>1?u:(n+u+h)%n}},ep=function(e){for(var t=Array(e.length),a=0;a<e.length;++a)t[a]=e[a];return t},em=function(e){return Array.isArray(e)?e:[e]},eg=function(e){return Array.isArray(e)?e[0]:e},eb=function(e,t){var a=Math.max(0,e.tabIndex),i=Math.max(0,t.tabIndex),r=a-i,n=e.index-t.index;if(r){if(!a)return 1;if(!i)return -1}return r||n},e_=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex},ey=function(e,t,a){return ep(e).map(function(e,t){var i=e_(e);return{node:e,index:t,tabIndex:a&&-1===i?(e.dataset||{}).focusGuard?0:-1:i}}).filter(function(e){return!t||e.tabIndex>=0}).sort(eb)},ex="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",ev="".concat(ex,", [data-focus-guard]"),eA=function(e,t){return ep((e.shadowRoot||e).children).reduce(function(e,a){return e.concat(a.matches(t?ev:ex)?[a]:[],eA(a))},[])},ew=function(e,t){var a;return e instanceof HTMLIFrameElement&&(null==(a=e.contentDocument)?void 0:a.body)?eE([e.contentDocument.body],t):[e]},eE=function(e,t){return e.reduce(function(e,a){var i,r=eA(a,t),n=(i=[]).concat.apply(i,r.map(function(e){return ew(e,t)}));return e.concat(n,a.parentNode?ep(a.parentNode.querySelectorAll(ex)).filter(function(e){return e===a}):[])},[])},eS=function(e){return ep(e.querySelectorAll("[".concat(p,"]"))).map(function(e){return eE([e])}).reduce(function(e,t){return e.concat(t)},[])},eC=function(e,t){return ep(e).filter(function(e){return q(t,e)}).filter(function(e){return ea(e)})},eT=function(e,t){return void 0===t&&(t=new Map),ep(e).filter(function(e){return Z(t,e)})},eN=function(e,t,a){return ey(eC(eE(e,a),t),!0,a)},ek=function(e,t){return ey(eC(eE(e),t),!1)},eI=function(e,t){return eC(eS(e),t)},ej=function(e,t){return e.shadowRoot?ej(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||ep(e.children).some(function(e){var a;if(e instanceof HTMLIFrameElement){var i=null==(a=e.contentDocument)?void 0:a.body;return!!i&&ej(i,t)}return ej(e,t)})},eP=function(e){for(var t=new Set,a=e.length,i=0;i<a;i+=1)for(var r=i+1;r<a;r+=1){var n=e[i].compareDocumentPosition(e[r]);(n&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(r),(n&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(i)}return e.filter(function(e,a){return!t.has(a)})},eL=function(e){return e.parentNode?eL(e.parentNode):e}
6,eO=function(e){return em(e).filter(Boolean).reduce(function(e,t){var a=t.getAttribute(u);return e.push.apply(e,a?eP(ep(eL(t).querySelectorAll("[".concat(u,'="').concat(a,'"]:not([').concat(h,'="disabled"])')))):[t]),e},[])},eD=function(e){return function(t){var a,i=null==(a=X(t))?void 0:a.autofocus;return t.autofocus||void 0!==i&&"false"!==i||e.indexOf(t)>=0}},eM=function(e,t,a){var i=eT(e.map(function(e){return e.node}).filter(eD(a)));return i&&i.length?ed(i):ed(eT(t))},eR=function(e){try{return e()}catch(e){return}},eF=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?eF(t.shadowRoot):t instanceof HTMLIFrameElement&&eR(function(){return t.contentWindow.document})?eF(t.contentWindow.document):t}},eB=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&eB(e.parentNode.host||e.parentNode,t),t},eU=function(e,t){for(var a=eB(e),i=eB(t),r=0;r<a.length;r+=1){var n=a[r];if(i.indexOf(n)>=0)return n}return!1},eH=function(e,t,a){var i=em(e),r=em(t),n=i[0],s=!1;return r.filter(Boolean).forEach(function(e){s=eU(s||e,e)||s,a.filter(Boolean).forEach(function(e){var t=eU(n,e);t&&(s=!s||ej(t,s)?t:eU(t,s))})}),s},e$=function(e,t){return e.reduce(function(e,a){return e.concat(eI(a,t))},[])},eG=function(e,t){var a=new Map;return t.forEach(function(e){return a.set(e.node,e)}),e.map(function(e){return a.get(e)}).filter(es)},eW=function(e,t){var a=eF(em(e).length>0?document:eg(e).ownerDocument),i=eO(e).filter(en),r=eH(a||e,e,i),n=new Map,s=ek(i,n),l=s.filter(function(e){return en(e.node)});if(l[0]){var o=ek([r],n).map(function(e){return e.node}),c=eG(o,l),d=c.map(function(e){return e.node}),u=c.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),h=ef(d,u,o,a,t);if(h===eh){var f=eM(s,u,e$(i,n))||eM(s,d,e$(i,n));return f?{node:f}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===h?h:c[h]}},eY=0,ez=!1,eV=function(e,t,a){void 0===a&&(a={});var i=eW(e,t);if(!ez&&i){if(eY>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),ez=!0,setTimeout(function(){ez=!1},1);return}eY++,G(i.node,a.focusOptions),eY--}},eK=function(e,t){return e===t},eq=function(e,t){return!!ep(e.querySelectorAll("iframe")).some(function(e){return eK(e,t)})},eQ=function(e,t){return void 0===t&&(t=eF(eg(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&eO(e).some(function(e){return ej(e,t)||eq(e,t)})},eZ=function(e){void 0===e&&(e=document);var t=eF(e);return!!t&&ep(e.querySelectorAll("[".concat(f,"]"))).some(function(e){return ej(e,t)})},eX=function(e){var t=eO(e).filter(en),a=ey(eE([eH(e,e,t)],!0),!0,!0),i=eE(t,!1);return a.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:i.indexOf(t)>=0,guard:er(t)}})},eJ=function(e,t,a){if(!e||!t)return console.error("no element or scope given"),{};var i=em(t);if(i.every(function(t){return!ej(t,e)}))return console.error("Active element is not contained in the scope"),{};var r=a?eN(i,new Map):ek(i,new Map),n=r.findIndex(function(t){return t.node===e});if(-1!==n)return{prev:r[n-1],next:r[n+1],first:r[0],last:r[r.length-1]}},e0=function(e,t){var a=t?eN(em(e),new Map):ek(em(e),new Map);return{first:a[0],last:a[a.length-1]}},e1=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)},e2=function(e,t,a){void 0===t&&(t={});var i=e1(t),r=eJ(e,i.scope,i.onlyTabbable);if(r){var n=a(r,i.cycle);n&&G(n.node,i.focusOptions)}},e3=function(e,t){void 0===t&&(t={}),e2(e,t,function(e,t){var a=e.next,i=e.first;return a||t&&i})},e4=function(e,t){void 0===t&&(t={}),e2(e,t,function(e,t){var a=e.prev,i=e.last;return a||t&&i})},e6=function(e,t,a){var i,r=e0(e,null==(i=t.onlyTabbable)||i)[a];r&&G(r.node,t.focusOptions)},e5=function(e,t){void 0===t&&(t={}),e6(e,t,"first")},e8=function(e,t){void 0===t&&(t={}),e6(e,t,"last")};function e7(e){if(!e)return null;if("u"<typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var e9=function(e){if(!e)return null;for(var t=[],a=e;a&&a!==document.body;)t.push({current:e7(a),parent:e7(a.parentElement),left:e7(a.previousElementSibling),right:e7(a.nextElementSibling)}),a=a.parentElement;return{element:e7(e),stack:t,ownerDocument:e.ownerDocument}},te=function(e){if(e)for(var t,a,i,r,n,s=e.stack,l=e.ownerDocument,o=new Map,c=0,d=s;c<d.length;c++){var u=d[c],h=null==(t=u.parent)?void 0:t.call(u);if(h&&l.contains(h)){for(var f=null==(a=u.left)?void 0:a.call(u),p=u.current(),m=h.contains(p)?p:void 0,g=null==(i=u.right)?void 0:i.call(u),b=eN([h],o),_=null!=(n=null!=(r=null!=m?m:null==f?void 0:f.nextElementSibling)?r:g)?n:f;_;){for(var y=0,x=b;y<x.length;y++){var v=x[y];if(null==_?void 0:_.contains(v.node))return v.node}_=_.nextElementSibling}if(b.length)return b[0].node}}},tt=function(e){var t=e9(e);return function(){return te(t)}};function ta(e){setTimeout(e,1)}var ti=function(e){return e&&"current"in e?e.current:e},tr=function(){return document&&document.activeElement===document.body},tn=function(){return tr()||eZ()},ts=null,tl=null,to=function(){return null},tc=null,td=!1,tu=!1,th=function(){return!0},tf=function(e){return(ts.whiteList||th)(e)},tp=function(e,t){tc={observerNode:e,portaledElement:t}},tm=function(e){return tc&&tc.portaledElement===e};function tg(e,t,a,i){var r=null,n=e;do{var s=i[n];if(s.guard)s.node.dataset.focusAutoGuard&&(r=s);else if(s.lockItem){if(n!==e)return;r=null}else break}while((n+=a)!==t)r&&(r.node.tabIndex=0)}var tb=function(e){return e?!!td:"meanwhile"===td},t_=function e(t,a,i){return a&&(a.host===t&&(!a.activeElement||i.contains(a.activeElement))||a.parentNode&&e(t,a.parentNode,i))},ty=function(e,t){return t.some(function(t){return t_(e,t,t)})},tx=function(e){return ek(e,new Map)},tv=function(e){return!tx([e.parentNode]).some(function(t){return t.node===e})},tA=function(){var e=!1;if(ts){var t=ts,a=t.observed,i=t.persistentFocus,r=t.autoFocus,n=t.shards,s=t.crossFrame,l=t.focusOptions,o=t.noFocusGuards,c=a||tc&&tc.portaledElement;if(tr()&&tl&&tl!==document.body&&(!document.body.contains(tl)||tv(tl))){var d=to();d&&d.focus()}var u=document&&document.activeElement;
6if(c){var h=[c].concat(n.map(ti).filter(Boolean)),f=function(){if(!tb(s)||!o||!tl||tu)return!1;var e=tx(h),t=e.findIndex(function(e){return e.node===tl});return 0===t||t===e.length-1};if((!u||tf(u))&&(i||f()||!tn()||!tl&&r)&&(c&&!(eQ(h)||u&&ty(u,h)||tm(u,c))&&(document&&!tl&&u&&!r?(u.blur&&u.blur(),document.body.focus()):(e=eV(h,tl,{focusOptions:l}),tc={})),(tl=document&&document.activeElement)!==document.body&&(to=tt(tl)),td=!1),document&&u!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var p=document&&document.activeElement,m=eX(h),g=m.map(function(e){return e.node}).indexOf(p);g>-1&&(m.filter(function(e){var t=e.guard,a=e.node;return t&&a.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),tg(g,m.length,1,m),tg(g,-1,-1,m))}}}return e},tw=function(e){tA()&&e&&(e.stopPropagation(),e.preventDefault())},tE=function(){return ta(tA)},tS=function(e){var t=e.target,a=e.currentTarget;a.contains(t)||tp(a,t)},tC=function(){return null},tT=function(){tu=!0},tN=function(){tu=!1,td="just",ta(function(){td="meanwhile"})},tk=function(){document.addEventListener("focusin",tw),document.addEventListener("focusout",tE),window.addEventListener("focus",tT),window.addEventListener("blur",tN)},tI=function(){document.removeEventListener("focusin",tw),document.removeEventListener("focusout",tE),window.removeEventListener("focus",tT),window.removeEventListener("blur",tN)};function tj(e){return e.filter(function(e){return!e.disabled})}var tP={moveFocusInside:eV,focusInside:eQ,focusNextElement:e3,focusPrevElement:e4,focusFirstElement:e5,focusLastElement:e8,captureFocusRestore:tt};function tL(e){var t=e.slice(-1)[0];t&&!ts&&tk();var a=ts,i=a&&t&&t.id===a.id;ts=t,a&&!i&&(a.onDeactivation(),e.filter(function(e){return e.id===a.id}).length||a.returnFocus(!t)),t?(tl=null,i&&a.observed===t.observed||t.onActivation(tP),tA(!0),ta(tA)):(tI(),tl=null)}I.assignSyncMedium(tS),j.assignMedium(tE),P.assignMedium(function(e){return e(tP)});let tO=$(tj,tL)(tC);var tD=(0,o.forwardRef)(function(e,t){return o.default.createElement(R,(0,l.default)({sideCar:tO,ref:t},e))}),tM=R.propTypes||{};tM.sideCar,(0,s.default)(tM,["sideCar"]),tD.propTypes={};let tR=tD,tF=(e,t)=>{let a=document.createElement("div");return a.setAttribute("id",e),t&&a.setAttribute("data-theme-color",t),document.body.appendChild(a),a},tB=e=>{let s,l,o,c,d,u,h,f=(0,a.c)(17),{wrapperId:p,modalContent:m,tabIndex:g,className:b,isHCP:_}=e,y=void 0===b?"":b,[x,v]=(0,i.useState)(null),{pageTheme:A}=(0,i.useContext)(n.ApplicationThemeContext);f[0]!==A||f[1]!==p?(s=()=>{let e=document.getElementById(p),t=!1;return e||(t=!0,e=tF(p,A)),v(e),()=>{t&&e&&e.parentNode&&e.parentNode.removeChild(e)}},f[0]=A,f[1]=p,f[2]=s):s=f[2],f[3]===Symbol.for("react.memo_cache_sentinel")?(l=[],f[3]=l):l=f[3],(0,i.useEffect)(s,l),f[4]!==y||f[5]!==_?(o=()=>{let e=["modal",y].filter(Boolean);return _&&e.push("hcp"),e.join(" ")},f[4]=y,f[5]=_,f[6]=o):o=f[6];let w=o;if(null===x)return null;let E=w();f[7]!==m?(c=(0,t.jsx)(tR,{children:(0,t.jsx)("div",{className:"modal-container",children:m})}),f[7]=m,f[8]=c):c=f[8],f[9]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("div",{className:"modal-background"}),f[9]=d):d=f[9],f[10]!==E||f[11]!==c||f[12]!==g?(u=(0,t.jsxs)("div",{className:E,tabIndex:g,role:"dialog",children:[c,d]}),f[10]=E,f[11]=c,f[12]=g,f[13]=u):u=f[13];let S=u;return f[14]!==S||f[15]!==x?(h=(0,r.createPortal)(S,x),f[14]=S,f[15]=x,f[16]=h):h=f[16],h};e.s(["default",0,tB],95104)},7613,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r=(0,a.c)(2);return r[0]!==e.children?(i=(0,t.jsx)("nav",{className:"navbar navbar-expand-lg navbar-light bg-light",children:(0,t.jsx)("div",{className:"collapse navbar-collapse",children:(0,t.jsx)("ul",{className:"navbar-nav mr-auto",children:e.children})})}),r[0]=e.children,r[1]=i):i=r[1],i};e.s(["default",0,i])},20251,e=>{"use strict";e.s(["default",()=>g],20251);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17626),n=e.i(17419),s=e.i(66196),l=e.i(65218),o=e.i(9283),c=e.i(82054),d=e.i(91788),u=e.i(99523),h=e.i(15315),f=e.i(75425),p=e.i(15464);function m(e,t){let a=new DOMParser().parseFromString(e,"text/html"),i=t,r=!1;function n(e){let t=e.nextSibling;for(;t;){let e=t.nextSibling;t.remove(),t=e}}function s(e){if(r)return void e.remove();if(e.nodeType===Node.TEXT_NODE){let t=e.textContent;if(t.length<=i){i-=t.length;return}let s=t.slice(0,i),l=s.lastIndexOf(" ");if(l<=0){let t=e.parentElement;t&&t!==a.body&&(n(t),t.remove()),r=!0;return}e.textContent=s.slice(0,l).trimEnd(),r=!0;return}for(let t of[...e.childNodes])if(s(t),r){n(t);break}}return s(a.body),a.body.innerHTML}let g=e=>{let g,b,_,y,x,v,A,w,E,S,C,T=(0,a.c)(52),{id:N,taxonomies:k,bookmark:I,heading:j,date:P,buttonUrl:L,isButtonUrlExter
6nal:O,buttonLabel:D,summary:M,field_intro:R,bookmarkCallback:F}=e,{applicationConfiguration:B}=(0,d.useContext)(c.default);if(T[0]!==B?.siteConfig?.date_format||T[1]!==I||T[2]!==F||T[3]!==L||T[4]!==P||T[5]!==j||T[6]!==N||T[7]!==O||T[8]!==k){let e,a,r,c,{lang:d}=(0,h.getApiDomainAndLang)();_="news-card-content",T[14]!==k?(e=k&&(0,t.jsx)(l.Taxonomy,{taxonomies:k,limitChar:f.default.TWELVE}),T[14]=k,T[15]=e):e=T[15],T[16]!==e?(a=(0,t.jsx)(n.Column,{desktop:10,tablet:10,mobile:10,children:e}),T[16]=e,T[17]=a):a=T[17],T[18]!==I||T[19]!==F||T[20]!==N?(r=I&&(0,t.jsx)(o.default,{id:N,...I,bookmarkCallback:F}),T[18]=I,T[19]=F,T[20]=N,T[21]=r):r=T[21],T[22]!==r?(c=(0,t.jsx)(n.Column,{desktop:2,tablet:2,mobile:2,className:"news-card-content-icon",children:r}),T[22]=r,T[23]=c):c=T[23],T[24]!==a||T[25]!==c?(y=(0,t.jsxs)(s.Row,{children:[a,c]}),T[24]=a,T[25]=c,T[26]=y):y=T[26],T[27]!==L||T[28]!==j||T[29]!==O?(x=j&&(L?(0,t.jsx)(i.Anchor,{href:L,tabindex:0,noUnderline:!0,isExternal:O,children:(0,t.jsx)("h4",{className:"news-card-content-header bold",children:j})}):(0,t.jsx)("h4",{className:"news-card-content-header bold",children:j})),T[27]=L,T[28]=j,T[29]=O,T[30]=x):x=T[30],g="news-card-content-time-section",b=P&&(0,t.jsx)("span",{children:(0,u.default)(P,!0).locale(d).format(B?.siteConfig?.date_format)}),T[0]=B?.siteConfig?.date_format,T[1]=I,T[2]=F,T[3]=L,T[4]=P,T[5]=j,T[6]=N,T[7]=O,T[8]=k,T[9]=g,T[10]=b,T[11]=_,T[12]=y,T[13]=x}else g=T[9],b=T[10],_=T[11],y=T[12],x=T[13];return T[31]!==g||T[32]!==b?(v=(0,t.jsx)("div",{className:g,children:b}),T[31]=g,T[32]=b,T[33]=v):v=T[33],T[34]!==R?(A=R&&(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:(0,p.DOMSanitizer)(R)}}),T[34]=R,T[35]=A):A=T[35],T[36]!==M?(w=M&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,p.DOMSanitizer)(m(M,f.default.SEVENTY_FIVE))}}),T[36]=M,T[37]=w):w=T[37],T[38]!==A||T[39]!==w?(E=(0,t.jsxs)("div",{className:"eqs-summary",children:[A,w]}),T[38]=A,T[39]=w,T[40]=E):E=T[40],T[41]!==D||T[42]!==L||T[43]!==O?(S=L&&D&&(0,t.jsx)("div",{className:"news-card-content-button",children:(0,t.jsx)(r.AnchorButton,{tabindex:2,isSecondary:!0,href:L,isExternal:O,children:D})}),T[41]=D,T[42]=L,T[43]=O,T[44]=S):S=T[44],T[45]!==S||T[46]!==_||T[47]!==y||T[48]!==x||T[49]!==v||T[50]!==E?(C=(0,t.jsxs)("div",{className:_,children:[y,x,v,E,S]}),T[45]=S,T[46]=_,T[47]=y,T[48]=x,T[49]=v,T[50]=E,T[51]=C):C=T[51],C}},95312,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(5223),n=e.i(23216),s=e.i(34848);let l=e=>{let l,o,c,d,u=(0,a.c)(13);return u[0]!==e.heading?(l=e.heading&&(0,t.jsx)("h4",{className:"opinionLeadersCardContent-header bold",children:(0,s.trimText)(e.heading,n.default.TITLE)}),u[0]=e.heading,u[1]=l):l=u[1],u[2]!==e.content?(o=e.content&&(0,t.jsx)(r.RichText,{className:"opinionLeadersCardContent-content",content:e.content,characterLimit:n.default.DESCRIPTION}),u[2]=e.content,u[3]=o):o=u[3],u[4]!==e.buttonLabel||u[5]!==e.heading||u[6]!==e.isLinkExternal||u[7]!==e.link?(c=(0,t.jsx)("div",{className:"opinionLeadersCardContent-button",children:(e.isLinkExternal||e.link)&&e.buttonLabel?(0,t.jsx)(i.AnchorButton,{tabindex:1,isSecondary:!0,href:e.link,isExternal:e.isLinkExternal,className:"opinionLeadersCardContent-button",ariaLabel:e?.heading?`${e?.buttonLabel} ${(0,s.trimText)(e?.heading,n.default?.TITLE)}`:"",children:e.buttonLabel}):(0,t.jsx)(t.Fragment,{})}),u[4]=e.buttonLabel,u[5]=e.heading,u[6]=e.isLinkExternal,u[7]=e.link,u[8]=c):c=u[8],u[9]!==l||u[10]!==o||u[11]!==c?(d=(0,t.jsxs)("div",{className:"opinionLeadersCardContent",children:[l,o,c]}),u[9]=l,u[10]=o,u[11]=c,u[12]=d):d=u[12],d}},78928,(e,t,a)=>{!function(a,i){t.exports=i(e.r(91788))}(e.e,e=>(()=>{var t={703:(e,t,a)=>{"use strict";var i=a(414);function r(){}function n(){}n.resetWarningCache=r,e.exports=function(){function e(e,t,a,r,n,s){if(s!==i){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
6:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:r};return a.PropTypes=a,a}},697:(e,t,a)=>{e.exports=a(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:t=>{"use strict";t.exports=e}},a={};function i(e){var r=a[e];if(void 0!==r)return r.exports;var n=a[e]={exports:{}};return t[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";i.r(r),i.d(r,{default:()=>A});var e=i(98),t=i.n(e),a=i(697),n=i.n(a);function s(){return(s=Object.assign.bind()).apply(this,arguments)}var l=function(e){var a=e.pageClassName,i=e.pageLinkClassName,r=e.page,n=e.selected,l=e.activeClassName,o=e.activeLinkClassName,c=e.getEventListener,d=e.pageSelectedHandler,u=e.href,h=e.extraAriaContext,f
6=e.pageLabelBuilder,p=e.rel,m=e.ariaLabel||"Page "+r+(h?" "+h:""),g=null;return n&&(g="page",m=e.ariaLabel||"Page "+r+" is your current page",a=void 0!==a?a+" "+l:l,void 0!==i?void 0!==o&&(i=i+" "+o):i=o),t().createElement("li",{className:a},t().createElement("a",s({rel:p,role:u?void 0:"button",className:i,href:u,tabIndex:n?"-1":"0","aria-label":m,"aria-current":g,onKeyPress:d},c(d)),f(r)))};l.propTypes={pageSelectedHandler:n().func.isRequired,selected:n().bool.isRequired,pageClassName:n().string,pageLinkClassName:n().string,activeClassName:n().string,activeLinkClassName:n().string,extraAriaContext:n().string,href:n().string,ariaLabel:n().string,page:n().number.isRequired,getEventListener:n().func.isRequired,pageLabelBuilder:n().func.isRequired,rel:n().string};let o=l;function c(){return(c=Object.assign.bind()).apply(this,arguments)}var d=function(e){var a=e.breakLabel,i=e.breakAriaLabel,r=e.breakClassName,n=e.breakLinkClassName,s=e.breakHandler,l=e.getEventListener,o=r||"break";return t().createElement("li",{className:o},t().createElement("a",c({className:n,role:"button",tabIndex:"0","aria-label":i,onKeyPress:s},l(s)),a))};d.propTypes={breakLabel:n().oneOfType([n().string,n().node]),breakAriaLabel:n().string,breakClassName:n().string,breakLinkClassName:n().string,breakHandler:n().func.isRequired,getEventListener:n().func.isRequired};let u=d;function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!=e?e:t}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign.bind()).apply(this,arguments)}function m(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(l,e);var a,i,r,n,s=(r=l,n=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=y(r);return e=n?Reflect.construct(t,arguments,y(this).constructor):t.apply(this,arguments),b(this,e)});function l(e){var a;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,l),x(_(a=s.call(this,e)),"handlePreviousPage",function(e){var t=a.state.selected;a.handleClick(e,null,t>0?t-1:void 0,{isPrevious:!0})}),x(_(a),"handleNextPage",function(e){var t=a.state.selected,i=a.props.pageCount;a.handleClick(e,null,t<i-1?t+1:void 0,{isNext:!0})}),x(_(a),"handlePageSelected",function(e,t){a.state.selected===e?(a.callActiveCallback(e),a.handleClick(t,null,void 0,{isActive:!0})):a.handleClick(t,null,e)}),x(_(a),"handlePageChange",function(e){a.state.selected!==e&&(a.setState({selected:e}
6),a.callCallback(e))}),x(_(a),"getEventListener",function(e){return x({},a.props.eventListener,e)}),x(_(a),"handleClick",function(e,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=r.isPrevious,s=void 0!==n&&n,l=r.isNext,o=void 0!==l&&l,c=r.isBreak,d=void 0!==c&&c,u=r.isActive,h=void 0!==u&&u;e.preventDefault?e.preventDefault():e.returnValue=!1;var f=a.state.selected,p=a.props.onClick,m=i;if(p){var g=p({index:t,selected:f,nextSelectedPage:i,event:e,isPrevious:s,isNext:o,isBreak:d,isActive:h});if(!1===g)return;Number.isInteger(g)&&(m=g)}void 0!==m&&a.handlePageChange(m)}),x(_(a),"handleBreakClick",function(e,t){var i=a.state.selected;a.handleClick(t,e,i<e?a.getForwardJump():a.getBackwardJump(),{isBreak:!0})}),x(_(a),"callCallback",function(e){void 0!==a.props.onPageChange&&"function"==typeof a.props.onPageChange&&a.props.onPageChange({selected:e})}),x(_(a),"callActiveCallback",function(e){void 0!==a.props.onPageActive&&"function"==typeof a.props.onPageActive&&a.props.onPageActive({selected:e})}),x(_(a),"getElementPageRel",function(e){var t=a.state.selected,i=a.props,r=i.nextPageRel,n=i.prevPageRel,s=i.selectedPageRel;return t-1===e?n:t===e?s:t+1===e?r:void 0}),x(_(a),"pagination",function(){var e=[],i=a.props,r=i.pageRangeDisplayed,n=i.pageCount,s=i.marginPagesDisplayed,l=i.breakLabel,o=i.breakClassName,c=i.breakLinkClassName,d=i.breakAriaLabels,h=a.state.selected;if(n<=r)for(var f=0;f<n;f++)e.push(a.getPageElement(f));else{var p=r/2,m=r-p;h>n-r/2?p=r-(m=n-h):h<r/2&&(m=r-(p=h));var g,b,_=function(e){return a.getPageElement(e)},y=[];for(g=0;g<n;g++){var x=g+1;if(x<=s)y.push({type:"page",index:g,display:_(g)});else if(x>n-s)y.push({type:"page",index:g,display:_(g)});else if(g>=h-p&&g<=h+(0===h&&r>1?m-1:m))y.push({type:"page",index:g,display:_(g)});else if(l&&y.length>0&&y[y.length-1].display!==b&&(r>0||s>0)){var v=g<h?d.backward:d.forward;b=t().createElement(u,{key:g,breakAriaLabel:v,breakLabel:l,breakClassName:o,breakLinkClassName:c,breakHandler:a.handleBreakClick.bind(null,g),getEventListener:a.getEventListener}),y.push({type:"break",index:g,display:b})}}y.forEach(function(t,a){var i=t;"break"===t.type&&y[a-1]&&"page"===y[a-1].type&&y[a+1]&&"page"===y[a+1].type&&y[a+1].index-y[a-1].index<=2&&(i={type:"page",index:t.index,display:_(t.index)}),e.push(i.display)})}return e}),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),a.state={selected:e.initialPage?e.initialPage:e.forcePage?e.forcePage:0},a}return a=l,i=[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialPage,a=e.disableInitialCallback,i=e.extraAriaContext,r=e.pageCount,n=e.forcePage;void 0===t||a||this.callCallback(t),i&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(r)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(r,"). Did you forget a Math.ceil()?")),void 0!==t&&t>r-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(t," > ").concat(r-1,").")),void 0!==n&&n>r-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(n," > ").concat(r-1,")."))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,t=this.props,a=t.pageCount,i=e+t.pageRangeDisplayed;return i>=a?a-1:i}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"getElementHref",value:function(e){var t=this.props,a=t.hrefBuilder,i=t.pageCount,r=t.hrefAllControls;if(a)return r||e>=0&&e<i?a(e+1,i,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(e){var t=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var a=this.props.ariaLabelBuilder(e+1,t);return this.props.extraAriaContext&&!t&&(a=a+" "+this.props.extraAriaContext),a}}},{key:"getPageElement",value:function(e){var a=this.state.selected,i=this.props,r=i.pageClassName,n=i.pageLinkClassName,s=i.activeClassName,l=i.activeLinkClassName,c=i.extraAriaContext,d=i.pageLabelBuilder;return t().createElement(o,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:a===e,rel:this.getElementPageRel(e),pageClassName:r,pageLinkClassName:n,activeClassName:s,activeLinkClassName:l,extraAriaContext:c,href:this.getElementHref(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:d,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var a=this.props,i=a.disabledClassName,r=a.disabledLinkClassName,n=a.pageCount,s=a.className,l=a.containerClassName,o=a.previousLabel,c=a.previousClassName,d=a.previousLinkClassName,u=a.previousAriaLabel,f=a.prevRel,m=a.nextLabel,g=a.nextClassName,b=a.nextLinkClassName,_=a.nextAriaLabel,y=a.nextRel,x=this.state.selected,v=0===x,A=x===n-1,w="".concat(h(c)).concat(v?" ".concat(h(i)):""),E="".concat(h(g)).concat(A?" ".concat(h(i)):""),S="".concat(h(d)).concat(v?" ".concat(h(r)):""),C="".concat(h(b)).concat(A?" ".concat(h(r)):""),T=v?"true":"false",N=A?"true":"false";return t().createElement("ul",{className:s||l,role:"navigation","aria-label":"Pagination"},t().createElement("li",{className:w},t().createElement("a",p({className:S,href:this.getElementHref(x-1),tabIndex:v?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":T,"aria-label":u,rel:f},this.getEventListener(this.handlePreviousPage)),o)),this.pagination(),t().createElement("li",{className:E},t().createElement("a",p({className:C,href:this.getElementHref(x+1),tabIndex:A?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":N,"aria-label":_,rel:y},this.getEventListener(this.handleNextPage)),m)))}}
6],m(a.prototype,i),Object.defineProperty(a,"prototype",{writable:!1}),l}(e.Component);x(v,"propTypes",{pageCount:n().number.isRequired,pageRangeDisplayed:n().number,marginPagesDisplayed:n().number,previousLabel:n().node,previousAriaLabel:n().string,prevPageRel:n().string,prevRel:n().string,nextLabel:n().node,nextAriaLabel:n().string,nextPageRel:n().string,nextRel:n().string,breakLabel:n().oneOfType([n().string,n().node]),breakAriaLabels:n().shape({forward:n().string,backward:n().string}),hrefBuilder:n().func,hrefAllControls:n().bool,onPageChange:n().func,onPageActive:n().func,onClick:n().func,initialPage:n().number,forcePage:n().number,disableInitialCallback:n().bool,containerClassName:n().string,className:n().string,pageClassName:n().string,pageLinkClassName:n().string,pageLabelBuilder:n().func,activeClassName:n().string,activeLinkClassName:n().string,previousClassName:n().string,nextClassName:n().string,previousLinkClassName:n().string,nextLinkClassName:n().string,disabledClassName:n().string,disabledLinkClassName:n().string,breakClassName:n().string,breakLinkClassName:n().string,extraAriaContext:n().string,ariaLabelBuilder:n().func,eventListener:n().string,renderOnZeroPageCount:n().func,selectedPageRel:n().string}),x(v,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});let A=v})(),r})())},75957,e=>{"use strict";let t=()=>{let t=JSON.stringify("en");return["ar","he","fa","ur","ar-ch"].includes(e.g.domainLang||JSON.parse(localStorage?.getItem("domainLang")||t)||"")?"rtl":"ltr"};e.s(["default",0,t])},36762,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(17419),r=e.i(49266),n=e.i(78928),s=e.i(75957),l=e.i(82054),o=e.i(22038);let c=e=>{let{itemsCount:c,itemsPerPage:d,itemsPerPageMobile:u,className:h=`pageid-${crypto.getRandomValues(new Uint32Array(1))}`,resetOffset:f=!1,offSet:p=0,cannonicalUrl:m}=e,[g,b]=(0,a.useState)({}),_=(0,a.useContext)(l.default);(0,a.useEffect)(()=>{b(_.applicationConfiguration?.siteConfig)},[_.applicationConfiguration?.siteConfig]);let y=(0,o.default)("(max-width: 767px)"),x=y&&u||d,[v,A]=(0,a.useState)(0),[w,E]=(0,a.useState)(p),S=Math.ceil(c/x),C=()=>{let e=3,{product_list_text_for_of:t=""}=g;if(S>1)if(y){let a=document.getElementsByClassName(h??"pagination-set-sm")[0],i=a.childElementCount-e;a.classList.add("pag-fix");let r=v/x+1,n=`${p?p+1:r} <span class="page-count-text-of">${t}</span> ${S}`;a.children[i].getElementsByTagName("a")[0].innerHTML=`<span class="page-count-text">${n}</span>`,a.children[i].getElementsByTagName("a")[0].style.direction=(0,s.default)()}else{let t=document.getElementsByClassName(h??"pagination-set-lg")[0],a=t.childElementCount-e;t.children[a].getElementsByTagName("a")[0].innerHTML=(S-1).toString()}},T=["pagination",y?"pagination-set-sm":"pagination-set-lg",h].filter(Boolean).join(" "),N=t=>{let a=t.selected*x%c;A(a),E(t.selected),e.onClick&&e.onClick(a),C(),document?.getElementsByClassName("scroll-top")[0]?.scrollIntoView()},k=e=>{e?.event?.preventDefault()};return(0,a.useEffect)(()=>{g&&C()},[N,y]),(0,a.useEffect)(()=>{f&&(A(0),E(0),C(),document?.getElementsByClassName("scroll-top")[0]?.scrollIntoView())},[f]),(0,a.useEffect)(()=>{document.querySelectorAll(".pagination-set-lg,.pagination-set-sm").forEach(e=>{e?.getAttribute("role")==="navigation"&&e.removeAttribute("role")})},[]),(0,t.jsx)(t.Fragment,{children:S>1&&(0,t.jsx)(i.Column,{className:"pagination-set",mobile:12,tablet:12,desktop:12,children:(0,t.jsx)("nav",{"aria-label":"Pagination",role:"navigation",children:(0,t.jsx)(n.default,{nextLabel:(0,t.jsxs)("span",{className:`pagination-nav-button next ${w===S-1?"disabled":""}`,children:[(0,t.jsx)("span",{className:"rebrandingLabel",children:g?.product_next_cta_label}),(0,t.jsx)(r.Icon,{iconName:"ChevronLeftIcon2"})]}),onPageChange:N,onClick:k,pageRangeDisplayed:3,marginPagesDisplayed:2,pageCount:S,previousLabel:(0,t.jsxs)("span",{className:`pagination-nav-button ${0===w?"disabled":""}}`,children:[(0,t.jsx)(r.Icon,{iconName:"ChevronLeftIcon2"}),(0,t.jsx)("span",{className:"rebrandingLabel",children:g?.product_previous_cta_label})]}),forcePage:w,pageClassName:"page-item",pageLinkClassName:"page-link",previousClassName:`page-item ${0===w?"disabled":""}`,previousLinkClassName:"page-link",nextClassName:`page-item ${w===S-1?"disabled":""}`,nextLinkClassName:"page-link",breakLabel:`${y?"":"..."}`,breakClassName:"page-item",breakLinkClassName:"page-link",containerClassName:T,activeClassName:"active",hrefBuilder:e=>m?m.replace("pageNo",(e-1).toString()):"#",ariaLabelBuilder:e=>`Page ${e}`})})})})}},17503,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(38233),n=e.i(28203),s=e.i(49266),l=e.i(75425),o=e.i(82108),c=e.i(10828),d=e.i(82054),u=e.i(3828);let h=e=>{let h,p,m,g,b,_,y,x,v,A,w,E,S,C,T=(0,a.c)(41),{inputDataContent:N,className:k,buttonType:I,handleTextSearch:j,handleTextChange:P,currentSearchText:L,inputLabel:O,customButtonText:D,newsArchivePlaceholder:M,isNewsArchiveGroup:R}=e,F=void 0===P?f:P,B=void 0===L?"":L,U=void 0!==R&&R,[H,$]=(0,i.useState)(B),[G,W]=(0,i.useState)(!0),Y=(0,i.useContext)(d.default),z=(0,u.useRouter)();T[0]!==z?.query?.search?(h=z?.query?.search?.toString(),T[0]=z?.query?.search,T[1]=h):h=T[1];let V=h;T[2]!==H?(p=()=>{H?.trim().length<l.default.THREE?W(!0):W(!1)},m=[H],T[2]=H,T[3]=p,T[4]=m):(p=T[3],m=T[4]),(0,i.useEffect)(p,m),T[5]!==B?(g=()=>{$(B)},b=[B],T[5]=B,T[6]=g,T[7]=b):(g=T[6],b=T[7]),(0,i.useEffect)(g,b),T[8]!==F||T[9]!==H?(_=()=>{F(H)}
6,T[8]=F,T[9]=H,T[10]=_):_=T[10],T[11]!==H?(y=[H],T[11]=H,T[12]=y):y=T[12],(0,i.useEffect)(_,y),T[13]!==e.isMedia||T[14]!==V?(x=()=>{V&&e.isMedia&&$(V)},T[13]=e.isMedia,T[14]=V,T[15]=x):x=T[15],T[16]!==V?(v=[V],T[16]=V,T[17]=v):v=T[17],(0,i.useEffect)(x,v),T[18]===Symbol.for("react.memo_cache_sentinel")?(A={},T[18]=A):A=T[18];let[K,q]=(0,i.useState)(A);T[19]!==Y.applicationConfiguration.siteConfig||T[20]!==D||T[21]!==U?(w=()=>{(()=>{let e=Y.applicationConfiguration.siteConfig;q({search_title:D||(U?e?.news_search_cta_text:e?.search_title??null)})})()},T[19]=Y.applicationConfiguration.siteConfig,T[20]=D,T[21]=U,T[22]=w):w=T[22],T[23]!==Y.applicationConfiguration.siteConfig?(E=[Y.applicationConfiguration.siteConfig],T[23]=Y.applicationConfiguration.siteConfig,T[24]=E):E=T[24],(0,i.useEffect)(w,E),T[25]!==j||T[26]!==e.isMedia||T[27]!==z||T[28]!==H?(S=t=>{if(e.isMedia){let e=z.pathname,t={...z.query,search:H};z.push({pathname:e,query:t},void 0,{shallow:!0})}j(H,t);let a={search_term:H};(0,o.dataLayerPush)(c.EVENTS.SEARCH,a)},T[25]=j,T[26]=e.isMedia,T[27]=z,T[28]=H,T[29]=S):S=T[29];let Q=S;return T[30]!==I||T[31]!==k||T[32]!==Q||T[33]!==N?.placeholder||T[34]!==O||T[35]!==G||T[36]!==U||T[37]!==M||T[38]!==K.search_title||T[39]!==H?(C=U?(0,t.jsx)("div",{className:`search-group-no-padding ${k} search-box-container`,children:(0,t.jsxs)("form",{className:"search-group",onSubmit:Q,children:[(0,t.jsx)("label",{htmlFor:"search","aria-label":"search",className:"sr-only",children:M}),(0,t.jsx)(n.Input,{id:"search",className:`search-group-input-align search-box ${""===H?"search-group-input-align":""}`,value:H,type:"search",useStateValue:!1,placeholder:M,setTextInput:$}),(0,t.jsx)("div",{className:"submit-button-container",children:(0,t.jsx)(r.Button,{className:"search-group-button-align",tabindex:1,type:I||"submit",onClick:Q,isDisabled:G,icon:G?(0,t.jsx)(s.Icon,{iconName:"SearchIconDissabled"}):(0,t.jsx)(s.Icon,{iconName:"SearchIcon1"}),iconPosition:"right",ariaLabel:K.search_title,children:K.search_title})})]})}):(0,t.jsx)("div",{className:`search-group-no-padding ${k}`,children:(0,t.jsxs)("form",{className:"search-group",onSubmit:Q,children:[(0,t.jsx)("label",{htmlFor:"search","aria-label":"search",children:O}),(0,t.jsx)(n.Input,{id:"search",className:`search-group-input-align search-box ${""===H?"search-group-input-align search-box-searchicon":""}`,value:H,type:"search",useStateValue:!1,placeholder:N?.placeholder,setTextInput:$}),(0,t.jsx)("div",{className:"search-group-space-between"}),(0,t.jsx)(r.Button,{className:"search-group-button-align",tabindex:1,type:I||"submit",onClick:Q,isDisabled:G,ariaLabel:K.search_title,children:K.search_title})]})}),T[30]=I,T[31]=k,T[32]=Q,T[33]=N?.placeholder,T[34]=O,T[35]=G,T[36]=U,T[37]=M,T[38]=K.search_title,T[39]=H,T[40]=C):C=T[40],C};function f(e){return null}},37880,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(91398),a=e.i(61576),i=e.i(22276),r=e.i(21672);e.i(48756);var n=e.i(45861),s=e.i(17626),l=e.i(17419),o=e.i(5223),c=e.i(66196),d=e.i(23216),u=e.i(34848),h=e.i(9283);let f=e=>{let f,p,m,g,b,_,y,x,v,A,w=(0,a.c)(29),{id:E,heading:S,bookmark:C,text:T,link:N,isLinkExternal:k,buttonLabel:I}=e,j=(0,i.useDispatch)();w[0]!==j?(f=e=>j((0,r.addRatings)(e)),w[0]=j,w[1]=f):f=w[1];let P=f;w[2]!==E||w[3]!==P?(p=e=>{P({id:E,state:e})},w[2]=E,w[3]=P,w[4]=p):p=w[4];let L=p;return w[5]!==S||w[6]!==N?(m=S&&(0,t.jsx)("h4",{className:"service-teaser-card-content-header bold",children:N?(0,t.jsx)(n.Anchor,{href:N,tabindex:0,noUnderline:!0,className:"inherit-fontsize",title:S,ariaLabel:S,children:(0,u.trimText)(S,d.default.TITLE)}):(0,u.trimText)(S,d.default.TITLE)}),w[5]=S,w[6]=N,w[7]=m):m=w[7],w[8]!==m?(g=(0,t.jsx)(l.Column,{desktop:10,tablet:10,mobile:10,children:m}),w[8]=m,w[9]=g):g=w[9],w[10]!==C||w[11]!==L||w[12]!==E?(b=(0,t.jsx)(l.Column,{desktop:2,tablet:2,mobile:2,className:"service-teaser-card-content-icon",children:(0,t.jsx)(h.default,{id:E,...C,bookmarkCallback:L})}),w[10]=C,w[11]=L,w[12]=E,w[13]=b):b=w[13],w[14]!==g||w[15]!==b?(_=(0,t.jsxs)(c.Row,{className:"service-teaser-card-content-row",children:[g,b]}),w[14]=g,w[15]=b,w[16]=_):_=w[16],w[17]!==T?(y=T&&(0,t.jsx)(o.RichText,{className:"service-teaser-card-content-text",content:T,characterLimit:d.default.DESCRIPTION}),w[17]=T,w[18]=y):y=w[18],w[19]!==I||w[20]!==k||w[21]!==N?(x=N&&(0,t.jsx)(s.AnchorButton,{href:N,isExternal:k,tabindex:2,isSecondary:!0,children:I}),w[19]=I,w[20]=k,w[21]=N,w[22]=x):x=w[22],w[23]!==x?(v=(0,t.jsx)("div",{className:"service-teaser-card-content-button",children:x}),w[23]=x,w[24]=v):v=w[24],w[25]!==_||w[26]!==y||w[27]!==v?(A=(0,t.jsxs)("div",{className:"service-teaser-card-content",children:[_,y,v]}),w[25]=_,w[26]=y,w[27]=v,w[28]=A):A=w[28],A}},88007,e=>{"use strict";e.s(["default",()=>p],88007);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(45861),n=e.i(49266),s=e.i(697),l=e.i(82036);let o=async e=>{"clipboard"in navigator&&await navigator.clipboard.writeText(e)};var c=e.i(75425),d=e.i(41764);let u={FACEBOOK:{URL:"https://www.facebook.com/sharer/sharer.php?u=",ICON:(0,t.jsx)(n.Icon,{iconName:"Facebook"})},TWITTER:{URL:"https://twitter.com/intent/tweet?text=",ICON:(0,t.jsx)(n.Icon,{iconName:"Twitter"})},EMAIL:{URL:"mailto:?subject=Link%20from%20Sandoz&body=",ICON:(0,t.jsx)(n.Icon,{iconName:"mailIcon"})},LINKEDIN:{URL:"https://www.linkedin.com/shareArticle?mini=true&url=",ICON:(0,t.jsx)(n.Icon,{iconName:"LinkedIn"})}
6,WHATSAPP:{URL:"https://api.whatsapp.com/send?text=",ICON:(0,t.jsx)(n.Icon,{iconName:"Whatsapp"})},"GOOGLE+":{URL:"https://plus.google.com/share?url=",ICON:(0,t.jsx)(n.Icon,{iconName:"GooglePlus"})},PINTEREST:{URL:"https://pinterest.com/pin/create/button/?url=",ICON:(0,t.jsx)(n.Icon,{iconName:"Pinterest"})}},h=e=>{let i,n,l,o=(0,a.c)(12),{urlToShare:c,platformURL:d,tabindex:u,platform:h,icon:f}=e,p=`${d}${c}`;return o[0]!==f||o[1]!==u?(i=(0,t.jsx)(s.IconButton,{tabindex:u,icon:f}),o[0]=f,o[1]=u,o[2]=i):i=o[2],o[3]!==h||o[4]!==u?(n=(0,t.jsx)("p",{tabIndex:u,className:"social-share-content__platforms-item__label",children:h}),o[3]=h,o[4]=u,o[5]=n):n=o[5],o[6]!==h||o[7]!==p||o[8]!==i||o[9]!==n||o[10]!==u?(l=(0,t.jsxs)(r.Anchor,{href:p,tabindex:u,isExternal:!0,noUnderline:!0,"aria-label":h,children:[i,n]}),o[6]=h,o[7]=p,o[8]=i,o[9]=n,o[10]=u,o[11]=l):l=o[11],l},f=(e,a,i)=>{let r=a.replaceAll(" ","").toUpperCase(),n=(0,l.default)(u,`${r}.URL`),s=(0,l.default)(u,`${r}.ICON`);return n&&s?(0,t.jsx)(h,{urlToShare:e,platformURL:n,tabindex:i,platform:a,icon:s}):null},p=e=>{let r,s,l,u,h,p,m,g,b,_,y=(0,a.c)(22),{sharingPlatforms:x,pageLinkLabel:v,copiedLabel:A,copyBtnLabel:w}=e,[E,S]=(0,i.useState)(!1),C=window.location.href;y[0]===Symbol.for("react.memo_cache_sentinel")?(r=async()=>{await o(C),S(!0),setTimeout(()=>S(!1),c.default.TWO_THOUSAND)},y[0]=r):r=y[0];let T=r;y[1]!==x?(s=x?.map((e,a)=>(0,t.jsx)("div",{className:"social-share-content__platforms-item",children:f(C,e?.taxonomyLabel,-1)},a)),y[1]=x,y[2]=s):s=y[2],y[3]!==s?(l=(0,t.jsx)("div",{className:"social-share-content__platforms",children:s}),y[3]=s,y[4]=l):l=y[4],y[5]!==v?(u=(0,t.jsx)("span",{className:"social-share-content__title",children:v}),y[5]=v,y[6]=u):u=y[6],y[7]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("p",{children:C}),y[7]=h):h=y[7],y[8]===Symbol.for("react.memo_cache_sentinel")?(p=e=>{"Enter"===e.key&&T()},y[8]=p):p=y[8];let N=E?`${v} ${A}`:`${w||d.COPY_BTN} ${v}`;return y[9]!==E?(m=(0,t.jsx)("span",{className:"copy-tooltip-icon",children:E?(0,t.jsx)(n.Icon,{iconName:"Copied"}):(0,t.jsx)(n.Icon,{iconName:"Copy"})}),y[9]=E,y[10]=m):m=y[10],y[11]!==E||y[12]!==A?(g=E&&(0,t.jsx)("span",{className:"copy-tooltip-text",children:A}),y[11]=E,y[12]=A,y[13]=g):g=y[13],y[14]!==N||y[15]!==m||y[16]!==g?(b=(0,t.jsxs)("div",{className:"copy-link",children:[h,(0,t.jsxs)("div",{className:"copy-tooltip",onClick:T,tabIndex:0,onKeyDown:p,"aria-label":N,children:[m,g]})]}),y[14]=N,y[15]=m,y[16]=g,y[17]=b):b=y[17],y[18]!==b||y[19]!==l||y[20]!==u?(_=(0,t.jsxs)("div",{className:"social-share-content",children:[l,u,b]}),y[18]=b,y[19]=l,y[20]=u,y[21]=_):_=y[21],_}},9049,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(5223),r=e.i(65218);let n=e=>{let n,s,l,o,c,d,u,h=(0,a.c)(22),{alignment:f,paragraph:p,className:m,subTitle:g,taxonomies:b,title:_,id:y,finePrint:x,characterLimit:v}=e;h[0]!==f?(n=()=>"left"===f?"left-align":"center"===f?"center-align":"right"===f?"right-align":"center-align",h[0]=f,h[1]=n):n=h[1];let A=n;h[2]!==m||h[3]!==x||h[4]!==A?(s=()=>{let e=[];return e.push("text-block"),e.push(A()),x&&e.push("fine-print"),m&&e.push(m),e.join(" ")},h[2]=m,h[3]=x,h[4]=A,h[5]=s):s=h[5];let w=s();return h[6]!==g?(l=g&&(0,t.jsx)("p",{className:"text-block-subTitle",children:g}),h[6]=g,h[7]=l):l=h[7],h[8]!==b?(o=b&&(0,t.jsx)(r.Taxonomy,{itemsToDisplay:2,taxonomies:b}),h[8]=b,h[9]=o):o=h[9],h[10]!==_?(c=_&&(0,t.jsx)("h2",{children:_}),h[10]=_,h[11]=c):c=h[11],h[12]!==v||h[13]!==p?(d=p&&(0,t.jsx)(i.RichText,{content:p,characterLimit:v}),h[12]=v,h[13]=p,h[14]=d):d=h[14],h[15]!==y||h[16]!==w||h[17]!==l||h[18]!==o||h[19]!==c||h[20]!==d?(u=(0,t.jsxs)("div",{className:w,id:y,tabIndex:0,children:[l,o,c,d]}),h[15]=y,h[16]=w,h[17]=l,h[18]=o,h[19]=c,h[20]=d,h[21]=u):u=h[21],u}},78150,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17626),n=e.i(5223),s=e.i(65218),l=e.i(23216),o=e.i(34848);let c=e=>{let c,d,u,h,f,p,m=(0,a.c)(20);return m[0]!==e.relatedContent||m[1]!==e.taxonomies?(c=e?.taxonomies&&e?.relatedContent&&(0,t.jsx)(s.Taxonomy,{taxonomies:e.taxonomies}),m[0]=e.relatedContent,m[1]=e.taxonomies,m[2]=c):c=m[2],m[3]!==e.buttonUrl||m[4]!==e.heading||m[5]!==e.isButtonUrlExter
6nal?(d=e?.heading&&(0,t.jsx)(i.Anchor,{href:e?.buttonUrl,noUnderline:!0,tabindex:0,isExternal:e?.isButtonUrlExternal,children:(0,t.jsx)("h4",{className:"therapy-card-content-card-title",children:(0,o.trimText)(e?.heading,l.default.TITLE)})}),m[3]=e.buttonUrl,m[4]=e.heading,m[5]=e.isButtonUrlExternal,m[6]=d):d=m[6],m[7]!==e.text?(u=e?.text&&(0,t.jsx)(n.RichText,{className:"therapy-card-content-card-text",content:e?.text,characterLimit:l.default.DESCRIPTION}),m[7]=e.text,m[8]=u):u=m[8],m[9]!==e.buttonLabel||m[10]!==e.buttonUrl||m[11]!==e.isButtonUrlExternal?(h=e.buttonUrl&&(0,t.jsx)(r.AnchorButton,{href:e.buttonUrl,isExternal:e.isButtonUrlExternal,tabindex:2,isSecondary:!0,children:e.buttonLabel}),m[9]=e.buttonLabel,m[10]=e.buttonUrl,m[11]=e.isButtonUrlExternal,m[12]=h):h=m[12],m[13]!==h?(f=(0,t.jsx)("div",{className:"therapy-card-content-button",children:h}),m[13]=h,m[14]=f):f=m[14],m[15]!==c||m[16]!==d||m[17]!==u||m[18]!==f?(p=(0,t.jsxs)("div",{className:"therapy-card-content",children:[c,d,u,f]}),m[15]=c,m[16]=d,m[17]=u,m[18]=f,m[19]=p):p=m[19],p}},92507,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(5223);let r=e=>{let r,n,s,l,o,c=(0,a.c)(14),{descriptionFormat:d}=e,u=void 0===d?"html":d;c[0]!==e.className?(r=()=>["text-description",e?.className].filter(Boolean).join(" "),c[0]=e.className,c[1]=r):r=c[1];let h=r;c[2]!==u||c[3]!==e.description?(n="string"===u?(0,t.jsx)("p",{className:"text-description-description",children:e?.description}):(0,t.jsx)(i.RichText,{className:"text-description-description",content:e?.description??""}),c[2]=u,c[3]=e.description,c[4]=n):n=c[4];let f=n,p=h(),m=e?.title;c[5]!==e.searchKey?(s=e?.searchKey&&(0,t.jsx)("span",{className:"text-description-search-keyword ",dir:"ltr",children:`“${e?.searchKey}”`}),c[5]=e.searchKey,c[6]=s):s=c[6],c[7]!==m||c[8]!==s?(l=(0,t.jsxs)("h2",{className:"text-description-heading bold",tabIndex:0,children:[m," ",s]}),c[7]=m,c[8]=s,c[9]=l):l=c[9];let g=e?.description&&f;return c[10]!==p||c[11]!==l||c[12]!==g?(o=(0,t.jsxs)("div",{className:p,children:[l,g]}),c[10]=p,c[11]=l,c[12]=g,c[13]=o):o=c[13],o}},67400,e=>{"use strict";e.s(["default",()=>b]);var t=e.i(91398),a=e.i(22276),i=e.i(91788),r=e.i(21672);e.i(48756);var n=e.i(17626),s=e.i(17419),l=e.i(161),o=e.i(49266),c=e.i(5223),d=e.i(66196),u=e.i(65218),h=e.i(9283),f=e.i(23216),p=e.i(34848),m=e.i(22748),g=e.i(82054);let b=({id:e,taxonomies:b,heading:_,text:y,time:x,buttonUrl:v,isButtonUrlExternal:A,buttonLabel:w,bookmark:E})=>{let[S,C]=(0,i.useState)(!1),T=(0,i.useContext)(g.default),N=0,k=(0,a.useDispatch)(),I=t=>{j({id:e,state:t})},j=(0,i.useCallback)(e=>k((0,r.addRatings)(e)),[k]),P=(0,a.useSelector)(e=>e?.ratings?.liveCount?.favourite),L=(0,a.useSelector)(e=>e?.user?.profile?.response?.favourite),O=P?.filter(t=>parseInt(t.node_id)===e);N=O?.length>0?O?.[0]?.count:0,(0,i.useMemo)(()=>{for(let t in L)parseInt(L[t].node_id)===e&&C(!0)},[L]);let D=t=>{j({id:e,state:t})};return(0,t.jsxs)("div",{className:"video-teaser-card-content",children:[(0,t.jsxs)(d.Row,{children:[(0,t.jsx)(s.Column,{desktop:6,tablet:6,mobile:6,children:b&&(0,t.jsx)(u.Taxonomy,{taxonomies:b})}),(0,t.jsx)(s.Column,{desktop:6,tablet:6,mobile:6,className:"video-teaser-card-content-icon",children:(0,t.jsxs)(d.Row,{className:"video-teaser-card-content-icon-row",children:[(0,t.jsx)(s.Column,{desktop:4,tablet:4,mobile:4,className:"video-teaser-card-content-bookmark-icon",children:(0,t.jsx)(h.default,{id:e,...E,bookmarkCallback:I})}),(0,t.jsx)(s.Column,{desktop:8,tablet:8,mobile:8,className:"video-teaser-card-content-fav-icon",children:(0,t.jsx)("div",{className:"video-teaser-card-content-favorite-section",children:T?.applicationConfiguration?.isFavouriteEnabled&&(0,t.jsx)(l.FavoriteIcon,{id:e,totalFavoriteCount:N,favouriteStatus:S,favoriteHandlerCallback:D})})})]})})]}),_&&(0,t.jsx)("h4",{className:"video-teaser-card-content-header bold",children:(0,p.trimText)(_,f.default.TITLE)}),y&&(0,t.jsx)(c.RichText,{className:"video-teaser-card-content-text",content:y}),(0,t.jsxs)("div",{className:"video-teaser-card-content-time-button-container",children:[x&&(0,t.jsx)("div",{className:"video-teaser-card-content-time-section",children:(0,t.jsx)(m.default,{icon:(0,t.jsx)(o.Icon,{iconName:"TimeIcon",width:24,height:24}),children:x})}),v&&(0,t.jsx)("div",{className:"video-teaser-card-content-button",children:(0,t.jsx)(n.AnchorButton,{isExternal:A,tabindex:2,isSecondary:!0,href:v,children:w})})]})]})}},69943,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(70184),n=e.i(5223),s=e.i(75957);let l=e=>{let i,n,s,l,o=(0,a.c)(13),{name:c,designation:d,logoImageUrl:u,logoImageAlt:h,hideQuotes:f}=e,p=f?"testimonial-content-footer no-left-space":"testimonial-content-footer";return o[0]!==c?(i=c&&(0,t.jsx)("span",{className:"testimonial-content-footer-span",children:c}),o[0]=c,o[1]=i):i=o[1],o[2]!==d?(n=(0,t.jsx)("span",{className:"testimonial-content-footer-marginBottom",children:d}),o[2]=d,o[3]=n):n=o[3],o[4]!==f||o[5]!==h||o[6]!==u?(s=!f&&(0,t.jsx)("span",{className:"testimonial-content-footer-logo",children:(0,t.jsx)(r.Img,{src:u,alt:h,width:"206",height:"24",type:"icon"})}),o[4]=f,o[5]=h,o[6]=u,o[7]=s):s=o[7],o[8]!==p||o[9]!==i||o[10]!==n||o[11]!==s?(l=(0,t.jsxs)("div",{className:p,children:[i,n,s]}),o[8]=p,o[9]=i,o[10]=n,o[11]=s,o[12]=l):l=o[12],l},o=e=>{let r,o,c,d,u,h,f,p,m=(0,a.c)(18);return m[0]!==e?({summary:c,hideQuotes:r,...o}=e,m[0]=e,m[1]=r,m[2]=o,m[3]=c):(r=m[1],o=m[2],c=m[3]),m[4]===Symbol.for("react.memo_cache_sentinel")?(d=(0,s.default)(),m[4]=d):d=m[4],m[5]!==r||m[6]!==c?(u=!r&&c&&(0,t.jsxs)("figure",{className:"quote",children:[(0,t.jsx)("blockquote",{className:"curly-quotes-first"}),(0,t.jsx)("blockquote",{className:"curly-quotes-second",children:(0,t.jsx)(n.RichText,{className:"testimonial-content-richtext",content:c?.value})})]}),m[5]=r,m[6]=c,m[7]=u):u=m[7],m[8]!==r||m[9]!==c?(h=r&&c&&(0,t.jsx)(n.RichText,{className:"testimonial-content-richtext bottom-sp
6ace",content:c?.value}),m[8]=r,m[9]=c,m[10]=h):h=m[10],m[11]!==r||m[12]!==o?(f=(0,t.jsx)(l,{hideQuotes:r,...o}),m[11]=r,m[12]=o,m[13]=f):f=m[13],m[14]!==u||m[15]!==h||m[16]!==f?(p=(0,t.jsx)("div",{className:"testimonial-content",dir:d,children:(0,t.jsx)(i.Column,{mobile:12,tablet:3,desktop:3,className:"testimonial-content-textdata",children:(0,t.jsxs)("div",{className:"testimonial-content-text-style",children:[u,h,f]})})}),m[14]=u,m[15]=h,m[16]=f,m[17]=p):p=m[17],p}},71059,e=>{"use strict";e.s(["default",()=>d]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(5223),n=e.i(65218),s=e.i(82054),l=e.i(91788),o=e.i(99523),c=e.i(15315);let d=e=>{let d,u,h,f,p,m,g,b,_,y,x,v=(0,a.c)(34),{taxonomies:A,heading:w,time:E,text:S,link:C,buttonLabel:T,buttonIcon:N,linkExternal:k}=e;v[0]!==A?(d=A?(0,t.jsx)(n.Taxonomy,{taxonomies:A}):null,v[0]=A,v[1]=d):d=v[1];let I=d,{applicationConfiguration:j}=(0,l.useContext)(s.default);if(v[2]!==j?.siteConfig?.date_format||v[3]!==w||v[4]!==I||v[5]!==E){let e,{lang:a}=(0,c.getApiDomainAndLang)();f="related-item-content",p=I,v[11]!==w?(e=w&&(0,t.jsx)("h4",{className:"related-item-content-heading bold",children:w}),v[11]=w,v[12]=e):e=v[12],v[13]!==e?(m=(0,t.jsx)("div",{className:"related-item-content-bookmark",children:e}),v[13]=e,v[14]=m):m=v[14],h="related-item-content-time-section",u=(0,o.default)(E,!0).locale(a).format(j?.siteConfig?.date_format),v[2]=j?.siteConfig?.date_format,v[3]=w,v[4]=I,v[5]=E,v[6]=u,v[7]=h,v[8]=f,v[9]=p,v[10]=m}else u=v[6],h=v[7],f=v[8],p=v[9],m=v[10];return v[15]!==u?(g=(0,t.jsx)("span",{children:u}),v[15]=u,v[16]=g):g=v[16],v[17]!==h||v[18]!==g?(b=(0,t.jsx)("div",{className:h,children:g}),v[17]=h,v[18]=g,v[19]=b):b=v[19],v[20]!==S?(_=S&&(0,t.jsx)(r.RichText,{className:"related-item-content-content",content:S}),v[20]=S,v[21]=_):_=v[21],v[22]!==N||v[23]!==T||v[24]!==C||v[25]!==k?(y=C&&T&&(0,t.jsx)("div",{className:"related-item-content-button",children:(0,t.jsx)(i.AnchorButton,{href:C,icon:N,isExternal:k,tabindex:0,isSecondary:!0,download:!0,children:T})}),v[22]=N,v[23]=T,v[24]=C,v[25]=k,v[26]=y):y=v[26],v[27]!==y||v[28]!==f||v[29]!==p||v[30]!==m||v[31]!==b||v[32]!==_?(x=(0,t.jsxs)("div",{className:f,children:[p,m,b,_,y]}),v[27]=y,v[28]=f,v[29]=p,v[30]=m,v[31]=b,v[32]=_,v[33]=x):x=v[33],x}},20682,e=>{"use strict";e.s(["default",()=>g],20682);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(24005),n=e.i(17508),n=n;e.i(48756);var s=e.i(38233),l=e.i(49266),o=t,c=a;let d=e=>{let t,a=(0,c.c)(2);return a[0]!==e?(t=(0,o.jsx)("div",{className:"location-filter-dropdown-menu",...e}),a[0]=e,a[1]=t):t=a[1],t},u=e=>{let t,a=(0,c.c)(2);return a[0]!==e?(t=(0,o.jsx)("div",{className:"location-filter-dropdown-blanket",...e}),a[0]=e,a[1]=t):t=a[1],t},h=e=>{let t,a,i,r=(0,c.c)(10),{children:n,isOpen:s,target:l,onClose:h}=e;return r[0]!==n||r[1]!==s?(t=s?(0,o.jsx)(d,{children:n}):null,r[0]=n,r[1]=s,r[2]=t):t=r[2],r[3]!==s||r[4]!==h?(a=s?(0,o.jsx)(u,{onClick:h}):null,r[3]=s,r[4]=h,r[5]=a):a=r[5],r[6]!==t||r[7]!==a||r[8]!==l?(i=(0,o.jsxs)("div",{className:"location-filter-dropdown",children:[l,t,a]}),r[6]=t,r[7]=a,r[8]=l,r[9]=i):i=r[9],i},{colors:f}=n.d,p=e=>{let i,r=(0,a.c)(2);return r[0]!==e?(i=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",focusable:"false",role:"presentation",...e}),r[0]=e,r[1]=i):i=r[1],i},m=()=>{let e,i,r=(0,a.c)(2);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e={color:f.neutral90,height:24,width:32,cursor:"pointer"},r[0]=e):e=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("div",{style:e,children:(0,t.jsx)(p,{children:(0,t.jsx)("path",{d:"M16.436 15.085l3.94 4.01a1 1 0 0 1-1.425 1.402l-3.938-4.006a7.5 7.5 0 1 1 1.423-1.406zM10.5 16a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11z",fill:"currentColor",fillRule:"evenodd"})})}),r[1]=i):i=r[1],i},g=e=>{let n,o,c,d,u,f,p,g,E,S,C,T,N,k,I,j,P=(0,a.c)(42),{dropdownData:L,handleDropdownChange:O,type:D,labels:M,defaultValue:R}=e,[F,B]=(0,i.useState)(!1),[U,H]=(0,i.useState)(null);P[0]===Symbol.for("react.memo_cache_sentinel")?(n={control:b,indicatorsContainer:_,menu:y,menuList:x,option:v},P[0]=n):n=P[0];let $=n,G=A;P[1]!==R||P[2]!==L||P[3]!==O||P[4]!==e.isPlaceHolder||P[5]!==D?(o=()=>
6{if(L.length){let t=G(L,R,e?.isPlaceHolder);O(t,D),H(t)}},P[1]=R,P[2]=L,P[3]=O,P[4]=e.isPlaceHolder,P[5]=D,P[6]=o):o=P[6],P[7]===Symbol.for("react.memo_cache_sentinel")?(c=[],P[7]=c):c=P[7],(0,i.useEffect)(o,c),P[8]!==M.label?(d=M?.label&&(0,t.jsx)("span",{className:"location-filter-dropdown-label",children:M?.label}),P[8]=M.label,P[9]=d):d=P[9],P[10]===Symbol.for("react.memo_cache_sentinel")?(u=()=>B(!1),P[10]=u):u=P[10],P[11]===Symbol.for("react.memo_cache_sentinel")?(f=()=>B(w),P[11]=f):f=P[11];let W=`location-filter-dropdown-button${e?.dropDownRightAlignment?" dropdown-right-alignment":""}${F?" dropdown-open":""}${e?.isSelected?" dropdown-selected":""}`,Y=U?.label||"";return P[12]!==Y?(p=(0,t.jsx)("span",{children:Y}),P[12]=Y,P[13]=p):p=P[13],P[14]!==F?(g=F?(0,t.jsx)(l.Icon,{iconName:"ChevronUp"}):(0,t.jsx)(l.Icon,{iconName:"ChevronDown"}),P[14]=F,P[15]=g):g=P[15],P[16]!==p||P[17]!==g?(E=(0,t.jsxs)(t.Fragment,{children:[p,g]}),P[16]=p,P[17]=g,P[18]=E):E=P[18],P[19]!==F||P[20]!==E||P[21]!==W?(S=(0,t.jsx)(s.Button,{isSecondary:!0,tabindex:1,onClick:f,isSelected:F,className:W,children:E}),P[19]=F,P[20]=E,P[21]=W,P[22]=S):S=P[22],P[23]===Symbol.for("react.memo_cache_sentinel")?(C={DropdownIndicator:m,IndicatorSeparator:null},P[23]=C):C=P[23],P[24]!==O||P[25]!==D?(T=e=>{H(e),B(!1),O(e,D)},P[24]=O,P[25]=D,P[26]=T):T=P[26],P[27]!==M.no_results?(N=()=>(0,t.jsx)("div",{className:"location-filter-dropdown-no-results",children:M.no_results}),P[27]=M.no_results,P[28]=N):N=P[28],P[29]!==L||P[30]!==M.search_placeholder||P[31]!==T||P[32]!==N||P[33]!==U?(k=(0,t.jsx)(r.default,{autoFocus:!0,backspaceRemovesValue:!1,components:C,controlShouldRenderValue:!1,hideSelectedOptions:!1,isClearable:!1,menuIsOpen:!0,onChange:T,options:L,placeholder:M.search_placeholder,styles:$,tabSelectsValue:!1,value:U,closeMenuOnScroll:!1,noOptionsMessage:N}),P[29]=L,P[30]=M.search_placeholder,P[31]=T,P[32]=N,P[33]=U,P[34]=k):k=P[34],P[35]!==F||P[36]!==S||P[37]!==k?(I=(0,t.jsx)(h,{isOpen:F,onClose:u,target:S,children:k}),P[35]=F,P[36]=S,P[37]=k,P[38]=I):I=P[38],P[39]!==I||P[40]!==d?(j=(0,t.jsxs)(t.Fragment,{children:[d,I]}),P[39]=I,P[40]=d,P[41]=j):j=P[41],j};function b(e,t){let{isFocused:a}=t;return{...e,minWidth:240,margin:16,marginBottom:8,borderColor:a?"HSL(207, 95%, 34%)":"HSL(207, 96%, 19%)",boxShadow:a?"0 0 1px #0460a9":"none","&:hover":{boxShadow:"0 0 1px #0460a9"},cursor:"text"}}function _(e){return{...e,div:{color:"RGB(2, 55, 97)  !important "}}}function y(){return{boxShadow:"inset 0 1px 0 rgba(0, 0, 0, 0.1)"}}function x(){return{padding:0,marginTop:"8px",maxHeight:"264px",overflowY:"scroll"}}function v(e,t){let{isSelected:a}=t;return{...e,color:"#000",backgroundColor:a?"#f6f6f6":"#ffffff",paddingInline:"16px","&:hover":{backgroundColor:"#f6f6f6",cursor:"pointer"}}}function A(e,t,a){if(void 0!==a&&a)return{id:-999,value:-999,label:t};let i=e.findIndex(e=>e?.value?.toString()===t);return -1!==i?e[i]:e[0]}function w(e){return!e}},40525,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(91788),i=e.i(3828);e.i(48756);var r=e.i(45861),n=e.i(38233),s=e.i(17419),l=e.i(6271),o=e.i(49266),c=e.i(66196),d=e.i(22038),u=e.i(70218);let h=e=>{let h=(0,d.default)("(max-width: 767px)"),f=(0,i.useRouter)(),[p,m]=(0,a.useState)(!1),[g,b]=(0,a.useState)("arrow-down"),_=e=>{if(m(!p),!1===p)return e.preventDefault(),!1};(0,a.useEffect)(()=>{p?b("arrow-up"):b("arrow-down")},[p]),(0,a.useEffect)(()=>{y(),m(!1)},[f.query]);let y=()=>{A.current&&(A.current.className="stickyMenu-item accordion-button")},x=()=>e.child?.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsx)("div",{className:"menuSpace",children:e.subChild?(0,t.jsx)("div",{children:(0,t.jsxs)(r.Anchor,{href:e.link,tabindex:0,noUnderline:!0,children:[(0,t.jsxs)("p",{className:"title",children:[" ",e.title]}),(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(o.Icon,{iconName:"ChevronRightBlue"})})]})}):(0,t.jsx)("div",{className:"noLink",children:(0,t.jsx)(r.Anchor,{href:e.link,tabindex:0,noUnderline:!0,children:(0,t.jsxs)("span",{className:"title",children:[" ",e.title]})})})})},`menu-${e.title}-${a}`)),v=()=>{m(!1)},A=(0,u.useOutsideClick)(v);return(0,t.jsx)("div",{className:"stickyMenu-item menuContainer-close","data-bs-toggle":"menuContainer-open","data-bs-target":"#navbarHeader","aria-controls":"navbarHeader","aria-expanded":"false","aria-label":"Toggle navigation",onClick:_,ref:A,children:(0,t.jsxs)("div",{className:f.pathname==e.link?"stickyMenu-item-underline active":"stickyMenu-item-underline",children:[(0,t.jsx)("div",{className:"stickyMenu-logo",children:e.child?.length?(0,t.jsxs)(n.Button,{className:"head-title",tabindex:0,children:[(0,t.jsx)("p",{children:e.title}),(0,t.jsx)("span",{className:g})]}):(0,t.jsx)(r.Anchor,{className:"head-title",href:e.link,tabindex:0,noUnderline:!0,children:(0,t.jsx)("p",{children:e.title})})}),e.child&&(0,t.jsx)("div",{className:`menuContainer ${p&&!h?"menuContainer-open":"menuContainer-close"}`,children:(0,t.jsxs)(l.Container,{children:[(0,t.jsx)("div",{className:"megamenu",children:(0,t.jsx)("ul",{className:"child",children:x()})}),(0,t.jsx)("div",{className:"product-list",children:(0,t.jsx)(c.Row,{children:(0,t.jsx)(s.Column,{mobile:1,tablet:1,desktop:9,children:(0,t.jsx)("span",{})})})})]})})]})})}},91814,e=>{"use strict";var t=e.i(18090);e.s(["ButtonGroup",()=>t.default])},94767,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(70184),r=e.i(5223),n=e.i(17626),s=e.i(66196),l=e.i(17419);e.i(35958);var o=e.i(91814);let c=e=>{let c,d,u,h,f,p,m,g,b,_=(0,a.c)(24),{imgsrc:y,cta:x,ctaSecondary:v,header:A,paragraph:w}=e,E=y,S=x;return _[0]!==E?.alt||_[1]!==E?.className||_[2]!==E?.src?(c=E?.src&&(0,t.jsx)(i.Img,{className:E?.className,src:E?.src,alt:E?.alt,height:"48",width:"48",type:"icon"}),_[0]=E?.alt,_[1]=E?.className,_[2]=E?.src,_[3]=c):c=_[3],_[4]!==c?(d=(0,t.jsx)(l.Column,{mobile:2,tablet:1,desktop:1,className:"form-error-img",children:c}),_[4]=c,_[5]=d):d=_[5],_[6]!==A?(u=A&&(0,t.jsx)("h2",{children:A}),_[6]=A,_[7]=u):u=_[7],_[8]!==w?(h=(0,t.jsx)(r.RichText,{className:"form-state-desc",content:w}),_[8]=w,_[9]=h):h=_[9],_[10]!==v?(f=v&&(0,t.jsx)(n.AnchorButton,{className:"form-state-cta",href:v.href,tabindex:v.tabindex,isExternal:!1,isSecondary:!0,children:v.children}),_[10]=v,_[11]=f):f=_[11],_[12]!==S?(p=S&&(0,t.jsx)(n.AnchorButton,{className:"form-state-cta",href:S.href,tabindex:S.tabindex,isExternal:!1,children:S.children}),_[12]=S,_[13]=p):p=_[13],_[14]!==f||_[15]!==p?(m=(0,t.jsxs)(o.ButtonGroup,{className:"btn-alignment",children:[f,p]}),_[14]=f,_[15]=p,_[16]=m):m=_[16],_[17]!==u||_[18]!==h||_[19]!==m?(g=(0,t.jsx)(l.Column,{mobile:12,tablet:12,desktop:12,className:"form-state-txt",children:(0,t.jsxs)("div",{className:"form-state-txt-wrapper",children:[u,h,m]})}),_[17]=u,_[18]=h,_[19]=m,_[20]=g):g=_[20],_[21]!==d||_[22]!==g?(b=(0,t.jsxs)(s.Row,{className:"form-state",children:[d,g]}),_[21]=d,_[22]=g,_[23]=b):b=_[23],b}},7589,32610,e=>{"use strict";e.s(["default",()=>s],7589);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=t,r=a;let n=e=>{let t,a=(0,r.c)(3),{children:n,className:s}=e;return a[0]!==n||a[1]!==s?(t=(0,i.jsx)("label",{htmlFor:"name",className:s,children:n}),a[0]=n,a[1]=s,a[2]=t):t=a[2],t};e.s(["default",0,n],32610);let s=e=>{let i,r,s,l,o,c,d,u,h=(0,a.c)(16),{className:f,personalDetails:p}=e;h[0]!==f?(i=()=>{let e=[];return e.push("label-group"),f&&e.push(f),e.join(" ")},h[0]=f,h[1]=i):i=h[1];let m=i();h[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("div",{className:"label-group-column",children:(0,t.jsx)(n,{className:"label-group-left-col",htmlFor:"name",children:"Age:"})}),h[2]=r):r=h[2];let g=p?.ageLabel;h[3]!==g?(s=(0,t.jsxs)("div",{className:"label-group-row",children:[r,(0,t.jsx)("div",{className:"label-group-column",children:(0,t.jsx)("span",{className:"label-group-right-col",children:g})})]}),h[3]=g,h[4]=s):s=h[4],h[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("div",{className:"label-group-column",children:(0,t.jsx)(n,{className:"label-group-left-col",htmlFor:"name",children:"Disease:"})}
6),h[5]=l):l=h[5];let b=p?.diseaseLabel;h[6]!==b?(o=(0,t.jsxs)("div",{className:"label-group-row",children:[l,(0,t.jsx)("div",{className:"label-group-column ",children:(0,t.jsx)("span",{className:"label-group-right-col",children:b})})]}),h[6]=b,h[7]=o):o=h[7],h[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"label-group-column ",children:(0,t.jsx)(n,{className:"label-group-left-col",htmlFor:"name",children:"Medication:"})}),h[8]=c):c=h[8];let _=p?.medicationLabel;return h[9]!==_?(d=(0,t.jsxs)("div",{className:"label-group-last-row",children:[c,(0,t.jsx)("div",{className:"label-group-column ",children:(0,t.jsx)("span",{className:"label-group-right-col",children:_})})]}),h[9]=_,h[10]=d):d=h[10],h[11]!==m||h[12]!==d||h[13]!==s||h[14]!==o?(u=(0,t.jsxs)("div",{className:m,role:"group",children:[s,o,d]}),h[11]=m,h[12]=d,h[13]=s,h[14]=o,h[15]=u):u=h[15],u}},58978,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(38233),n=e.i(17419),s=e.i(5223);let l=e=>{let l,o,c,d,u,h=(0,a.c)(15),{title:f,description:p,showMoreButtonLabel:m,showLessButtomLabel:g}=e,b=f||" ",_=p||" ",[y,x]=(0,i.useState)(!1),v=(0,i.useRef)(null);h[0]!==y?(l=()=>{x(!y),y&&v?.current?.scrollIntoView({behavior:"smooth"})},h[0]=y,h[1]=l):l=h[1];let A=l;h[2]===Symbol.for("react.memo_cache_sentinel")?(o=/<p>(.*?)<\/p>/,h[2]=o):o=h[2];let w=o;h[3]!==_?(c=w.exec(_),h[3]=_,h[4]=c):c=h[4];let E=c,S=E?E[0]:"";return h[5]!==S||h[6]!==y||h[7]!==_||h[8]!==b||h[9]!==g||h[10]!==m||h[11]!==A?(d=_&&(0,t.jsx)("div",{className:"content",ref:v,children:(0,t.jsxs)("div",{className:"text-block",children:[(0,t.jsx)("h5",{children:b}),y?(0,t.jsx)(s.RichText,{content:_}):(0,t.jsx)(s.RichText,{content:S}),m&&g&&(0,t.jsx)(r.Button,{className:"btn",onClick:A,tabindex:1,isSecondary:!0,children:y?g:m})]})}),h[5]=S,h[6]=y,h[7]=_,h[8]=b,h[9]=g,h[10]=m,h[11]=A,h[12]=d):d=h[12],h[13]!==d?(u=(0,t.jsx)(n.Column,{desktop:12,mobile:12,tablet:12,className:"readMorecontent",children:(0,t.jsx)("div",{children:d})}),h[13]=d,h[14]=u):u=h[14],u}},26931,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(5223);let r=e=>{let r,n,s,l=(0,a.c)(8),{alignment:o,paragraph:c,title:d}=e,u="text-block-profile";return o&&(u="text-block-profile "+o),l[0]!==d?(r=d&&(0,t.jsx)("div",{className:"text-block-profile-subdiv"}),l[0]=d,l[1]=r):r=l[1],l[2]!==c?(n=c&&(0,t.jsx)(i.RichText,{content:c}),l[2]=c,l[3]=n):n=l[3],l[4]!==u||l[5]!==r||l[6]!==n?(s=(0,t.jsxs)("div",{className:u,children:[r,n]}),l[4]=u,l[5]=r,l[6]=n,l[7]=s):s=l[7],s}},7967,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(60832);let r=e=>{let r,n=(0,a.c)(2);return n[0]!==e?(r=(0,t.jsx)("div",{className:"simpleDropDown",children:(0,t.jsx)(i.DropDown,{...e})}),n[0]=e,n[1]=r):r=n[1],r}},46603,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(60832),r=e.i(7967);let n=e=>{let n,s,l=(0,a.c)(9),{filterOptions:o,isMobile:c,showFilterText:d,handleAdditionalFilters:u,selectedFilters:h,clearFilters:f}=e;l[0]!==h?(n=void 0===h?{}:h,l[0]=h,l[1]=n):n=l[1];let p=n;return l[2]!==f||l[3]!==o||l[4]!==u||l[5]!==c||l[6]!==p||l[7]!==d?(s=(0,t.jsx)("div",{className:"careerOptions",children:c?(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"careerOptions-show-filter",children:d}),o&&o.length?o.map((e,a)=>(0,t.jsx)("div",{className:"careerOptions-gap",children:(0,t.jsx)(i.DropDown,{id:`career-${a}-${e?.label}`,...e.selectOptions,isCleared:f,simpleDropDownLabel:!0,placeHolder:e?.label,isMulti:e?.selectOptions.isMulti,intialValue:p?.[e.filterName],onValueChange:t=>u?.(e.filterName,t)},`career-${a}-${e?.label}`)},a)):(0,t.jsx)("div",{})]}):(0,t.jsx)("div",{className:"careerOptions-dropdown",children:!!o.length&&o.map((e,a)=>(0,t.jsx)(r.default,{id:`career-${a}-${e?.label}`,...e.selectOptions,simpleDropDownLabel:!0,placeHolder:e?.label,isCleared:f,isMulti:e?.selectOptions.isMulti,intialValue:p?.[e.filterName],onValueChange:t=>u?.(e.filterName,t)},`career-${a}-${e?.label}`))})}),l[2]=f,l[3]=o,l[4]=u,l[5]=c,l[6]=p,l[7]=d,l[8]=s):s=l[8],s}},29907,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(70184);let r=e=>{let r,n=(0,a.c)(5),{imgsrc:s,title:l,isInpageNav:o,fieldMenuLinksStyle:c}=e,d=void 0!==o&&o,u=void 0===c?"left_icon_right_text":c;return n[0]!==u||n[1]!==s||n[2]!==d||n[3]!==l?(r=d?(0,t.jsxs)("div",{className:"inpage-nav-content-box",children:["left_icon_right_text"===u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"inpage-nav-image-box",children:s&&(0,t.jsx)(i.Img,{className:"inpage-nav-image-inside",...s,type:"icon"})}),(0,t.jsx)("div",{className:"inpage-nav-content-title",children:l})]}),"left_text_right_icon"===u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"inpage-nav-content-title",children:l}),(0,t.jsx)("div",{className:"inpage-nav-image-box",children:s&&(0,t.jsx)(i.Img,{className:"inpage-nav-image-inside",...s,type:"icon"})})]})]}):(0,t.jsxs)("div",{className:"link-with-icon-content",children:[s&&(0,t.jsx)(i.Img,{className:"link-with-icon-content-image",...s,type:"icon"}),(0,t.jsx)("div",{className:"link-with-icon-content-title",children:l})]}),n[0]=u,n[1]=s,n[2]=d,n[3]=l,n[4]=r):r=n[4],r}},42858,e=>{"use strict";e.s(["default",()=>s]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(70184),n=e.i(41764);let s=e=>{let i,r,n,s,o=(0,a.c)(9),{microData:c,title:d}=e;return o[0]!==d?(i=(0,t.jsx)("div",{className:"title-section",children:(0,t.jsx)("span",{className:"microsite-title",children:d})}),o[0]=d,o[1]=i):i=o[1],o[2]!==c?(r=c?.map(l),o[2]=c,o[3]=r):r=o[3],o[4]!==r?(n=(0,t.jsx)("ul",{className:"microsite-list",children:r}),o[4]=r,o[5]=n):n=o[5],o[6]!==i||o[7]!==n?(s=(0,t.jsxs)("div",{className:"microsite-wrapper",children:[i,n]}),o[6]=i,o[7]=n,o[8]=s):s=o[8],s};function l(e,a){return(0,t.jsx)("li",{style:{},children:(0,t.jsxs)(i.Anchor,{className:"microsite-item",href:e.link,isExternal:e?.urlTarget===n.URL_TARGET.BLANK,tabindex:a,noUnderline:!0,children:[(0,t.jsx)(r.Img,{src:e.imgSrc,alt:e.alt,width:e?.width,height:e?.height,type:"icon"}),(0,t.jsx)("p",{className:"plain-text",children:e.plainText})]},`a-${a}`)},a)}},26285,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(15315),r=e.i(99523),n=e.i(91788),s=e.i(82054),l=e.i(79988);let o=e=>{let o,c,d,u,h,f,p,m,g=(0,a.c)(22),{cardData:b}
6=e,{exchange:_,latestquote:y,currency:x,date:v,time:A}=b;g[0]!==b?(o=Math.sign(parseFloat(b["change-amount"]._text)),g[0]=b,g[1]=o):o=g[1];let w=1===o;return(0,i.getApiDomainAndLang)(),(0,n.useContext)(s.default),g[2]!==_?(c=_&&(0,t.jsx)("div",{className:"compact-stock-ticker-card-exchange",children:_._text}),g[2]=_,g[3]=c):c=g[3],g[4]!==y?(d=y&&(0,t.jsx)("div",{className:"compact-stock-ticker-card-quote",children:y._text}),g[4]=y,g[5]=d):d=g[5],g[6]!==x?(u=x&&(0,t.jsx)("div",{className:"compact-stock-ticker-card-currency",children:x._text}),g[6]=x,g[7]=u):u=g[7],g[8]!==b||g[9]!==w?(h=b["change-amount"]&&b["change-percentage"]&&(0,t.jsxs)("div",{className:`compact-stock-ticker-card-change ${w?"positiveColor":"negativeColor"}`,children:[w?(0,t.jsx)(l.default,{iconName:"arrowUp"}):(0,t.jsx)(l.default,{iconName:"arrowDown"}),`${b["change-amount"]._text} (${b["change-percentage"]._text}%)`]}),g[8]=b,g[9]=w,g[10]=h):h=g[10],g[11]!==v?(f=v&&(0,t.jsx)("div",{className:"compact-stock-ticker-card-date",children:`as of ${(0,r.default)(v._text,"YYYYMMDD").format("MMMM DD, YYYY")}`}),g[11]=v,g[12]=f):f=g[12],g[13]!==A?(p=A&&(0,t.jsx)("div",{className:"compact-stock-ticker-card-time",children:`${A._text} ${A._attributes.timezone}`}
6),g[13]=A,g[14]=p):p=g[14],g[15]!==c||g[16]!==d||g[17]!==u||g[18]!==h||g[19]!==f||g[20]!==p?(m=(0,t.jsxs)("div",{className:"compact-stock-ticker-card",children:[c,d,u,h,f,p]}),g[15]=c,g[16]=d,g[17]=u,g[18]=h,g[19]=f,g[20]=p,g[21]=m):m=g[21],m};e.s(["default",0,o])},88298,e=>{"use strict";let t=(e,t)=>{setTimeout(()=>{let a=t=>{if(t.includes("acc")||t.includes("tab")){let a=t.slice(1),i=location.href?.includes("?token"),r=i?location.href.split("&")[0]:location.pathname;r=r.includes("#")?r.split("#")[0]:r;let n=i?`${r}&${a}`:`${r}${t}`;e.push(n,void 0,{shallow:!0})}else if(t.includes("#")){let a=location.href?.includes("?")?location.href.split("#")[0]:location.pathname;a=a.includes("&")?a.split("&")[0]:a;let i=`${a}${t}`;e.push(i,void 0,{shallow:!0})}};t?.includes("/")||a(t)},50)};e.s(["handleClick",0,t])},38906,e=>{"use strict";e.s(["default",()=>u],38906);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(49266),n=e.i(23216),s=e.i(34848),l=e.i(88298),o=e.i(3828);let c=["iCalendarIcon","circleSuccess","GoogleCalendarIcon","Office365Icon","OutlookIcon","YahooIcon","CartActiveIcon","Notification","userProfilePicture"],d=e=>c?.includes(e),u=e=>{let c,u,h,f,p,m,g,b,_=(0,a.c)(27),{fieldButtonAlignment:y,fieldButtonTitle:x,fieldButtonUri:v,tabIndex:A,isInline:w,iconAlignment:E,iconType:S,referenceId:C,fieldButtonTarget:T,buttonGroupBackgroundColor:N}=e,k=void 0===A?0:A,I=void 0!==w&&w;_[0]!==y||_[1]!==I?(c=()=>{let e=["cta-btn"];return I?"cta-inline":("centre"===y?e.push("cta-btn-center"):"left"===y?e.push("cta-btn-left"):"right"===y&&e.push("cta-btn-right"),e.join(" "))},_[0]=y,_[1]=I,_[2]=c):c=_[2];let j=c;_[3]!==E?(u=e=>{let t=["Right"===E?"iconRight":"iconLeft"];return d(e)&&t.push("logoIcon"),t.join(" ")},_[3]=E,_[4]=u):u=_[4];let P=u,L=(0,o.useRouter)(),O=j(),D="route:<nolink>"===v?"":v;return _[5]!==P||_[6]!==S?(h=S&&(0,t.jsx)(r.Icon,{className:P(S),iconName:S}),_[5]=P,_[6]=S,_[7]=h):h=_[7],_[8]!==x?(f=(0,s.trimText)(x,n.default.CTA),_[8]=x,_[9]=f):f=_[9],_[10]!==h||_[11]!==f?(p={children:(0,t.jsxs)(t.Fragment,{children:[h,f]})},_[10]=h,_[11]=f,_[12]=p):p=_[12],_[13]!==v||_[14]!==C||_[15]!==L?(m=()=>(0,l.handleClick)(L,C||v),_[13]=v,_[14]=C,_[15]=L,_[16]=m):m=_[16],_[17]!==N||_[18]!==T||_[19]!==m||_[20]!==D||_[21]!==p||_[22]!==k?(g=(0,t.jsx)(i.AnchorButton,{href:D,tabindex:k,isSecondary:!0,isExternal:!1,target:T,...p,onClick:m,buttonGroupBackgroundColor:N}),_[17]=N,_[18]=T,_[19]=m,_[20]=D,_[21]=p,_[22]=k,_[23]=g):g=_[23],_[24]!==g||_[25]!==O?(b=(0,t.jsx)("div",{className:O,role:"group",children:g}),_[24]=g,_[25]=O,_[26]=b):b=_[26],b}},60384,e=>{"use strict";var t=e.i(95104);e.s(["ModalPortal",()=>t.default])},65376,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(81352);let r=e=>{let r,n,s=(0,a.c)(8),{content:l,className:o,isRichText:c}=e,d=void 0===o?"":o,u=void 0!==c&&c;s[0]!==d?(r=()=>["modal-body",d].filter(Boolean).join(" "),s[0]=d,s[1]=r):r=s[1];let h=r;if(u){let e,a=l,r=h();return s[2]!==a||s[3]!==r?(e=(0,t.jsx)(i.default,{content:a,className:r}),s[2]=a,s[3]=r,s[4]=e):e=s[4],e}let f=h();return s[5]!==l||s[6]!==f?(n=(0,t.jsx)("div",{className:f,children:l}),s[5]=l,s[6]=f,s[7]=n):n=s[7],n};e.s(["default",0,r])},26012,e=>{"use strict";var t=e.i(65376);e.s(["ModalBody",()=>t.default])},34578,(e,t,a)=>{var i=e.r(21168),r=i.Buffer;function n(e,t){for(var a in e)t[a]=e[a]}function s(e,t,a){return r(e,t,a)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=i:(n(i,a),a.Buffer=s),s.prototype=Object.create(r.prototype),n(r,s),s.from=function(e,t,a){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,a)},s.alloc=function(e,t,a){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof a?i.fill(t,a):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},14205,(e,t,a)=>{function i(e){if(e)return r(e);this._callbacks=new Map}function r(e){return Object.assign(e,i.prototype),e._callbacks=new Map,e}i.prototype.on=function(e,t){let a=this._callbacks.get(e)??[];return a.push(t),this._callbacks.set(e,a),this},i.prototype.once=function(e,t){let a=(...i)=>{this.off(e,a),t.apply(this,i)};return a.fn=t,this.on(e,a),this},i.prototype.off=function(e,t){if(void 0===e&&void 0===t)return this._callbacks.clear(),this;if(void 0===t)return this._callbacks.delete(e),this;let a=this._callbacks.get(e);if(a){for(let[e,i]of a.entries())if(i===t||i.fn===t){a.splice(e,1);break}0===a.length?this._callbacks.delete(e):this._callbacks.set(e,a)}return this},i.prototype.emit=function(e,...t){let a=this._callbacks.get(e);if(a)for(let e of[...a])e.apply(this,t);return this},i.prototype.listeners=function(e){return this._callbacks.get(e)??[]},i.prototype.listenerCount=function(e){if(e)return this.listeners(e).length;let t=0;for(let e of this._callbacks.values())t+=e.length;return t},i.prototype.hasListeners=function(e){return this.listenerCount(e)>0},i.prototype.addEventListener=i.prototype.on,i.prototype.removeListener=i.prototype.off,i.prototype.removeEventListener=i.prototype.off,i.prototype.removeAllListeners=i.prototype.off,t.exports=i},60186,(e,t,a)=>{var i=e.r(14205);function r(){i.call(this)}r.prototype=new i,t.exports=r,r.Stream=r,r.prototype.pipe=function(e,t){var a=this;function i(t){e.writable&&!1===e.write(t)&&a.pause&&a.pause()}function r(){a.readable&&a.resume&&a.resume()}a.on("data",i),e.on("drain",r),e._isStdio||t&&!1===t.end||(a.on("end",s),a.on("close",l));var n=!1;function s(){n||(n=!0,e.end())}function l(){n||(n=!0,"function"==typeof e.destroy&&e.destroy())}function o(e){if(c(),!this.hasListeners("error"))throw e}function c(){a.off("data",i),e.off("drain",r),a.off("end",s),a.off("
6close",l),a.off("error",o),e.off("error",o),a.off("end",c),a.off("close",c),e.off("end",c),e.off("close",c)}return a.on("error",o),e.on("error",o),a.on("end",c),a.on("close",c),e.on("end",c),e.on("close",c),e.emit("pipe",a),e}},26230,(e,t,a)=>{t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},24611,(e,t,a)=>{"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var a=function(){};a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e}},82576,(e,t,a)=>{var i,r=e.i(50461),n=/%[sdj%]/g;a.format=function(e){if(!v(e)){for(var t=[],a=0;a<arguments.length;a++)t.push(l(arguments[a]));return t.join(" ")}for(var a=1,i=arguments,r=i.length,s=String(e).replace(n,function(e){if("%%"===e)return"%";if(a>=r)return e;switch(e){case"%s":return String(i[a++]);case"%d":return Number(i[a++]);case"%j":try{return JSON.stringify(i[a++])}catch(e){return"[Circular]"}default:return e}}),o=i[a];a<r;o=i[++a])y(o)||!E(o)?s+=" "+o:s+=" "+l(o);return s},a.deprecate=function(t,i){if(A(e.g.process))return function(){return a.deprecate(t,i).apply(this,arguments)};if(!0===r.default.noDeprecation)return t;var n=!1;return function(){if(!n){if(r.default.throwDeprecation)throw Error(i);r.default.traceDeprecation?console.trace(i):console.error(i),n=!0}return t.apply(this,arguments)}};var s={};function l(e,t){var i={seen:[],stylize:c};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),_(t)?i.showHidden=t:t&&a._extend(i,t),A(i.showHidden)&&(i.showHidden=!1),A(i.depth)&&(i.depth=2),A(i.colors)&&(i.colors=!1),A(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=o),u(i,e,i.depth)}function o(e,t){var a=l.styles[t];return a?"\x1b["+l.colors[a][0]+"m"+e+"\x1b["+l.colors[a][1]+"m":e}function c(e,t){return e}function d(e){var t={};return e.forEach(function(e,a){t[e]=!0}),t}function u(e,t,i){if(e.customInspect&&t&&T(t.inspect)&&t.inspect!==a.inspect&&!(t.constructor&&t.constructor.prototype===t)){var r,n=t.inspect(i,e);return v(n)||(n=u(e,n,i)),n}var s=h(e,t);if(s)return s;var l=Object.keys(t),o=d(l);if(e.showHidden&&(l=Object.getOwnPropertyNames(t)),C(t)&&(l.indexOf("message")>=0||l.indexOf("description")>=0))return f(t);if(0===l.length){if(T(t)){var c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(w(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(S(t))return e.stylize(Date.prototype.toString.call(t),"date");if(C(t))return f(t)}var _="",y=!1,x=["{","}"];if(b(t)&&(y=!0,x=["[","]"]),T(t)&&(_=" [Function"+(t.name?": "+t.name:"")+"]"),w(t)&&(_=" "+RegExp.prototype.toString.call(t)),S(t)&&(_=" "+Date.prototype.toUTCString.call(t)),C(t)&&(_=" "+f(t)),0===l.length&&(!y||0==t.length))return x[0]+_+x[1];if(i<0)if(w(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");else return e.stylize("[Object]","special");return e.seen.push(t),r=y?p(e,t,i,o,l):l.map(function(a){return m(e,t,i,o,a,y)}),e.seen.pop(),g(r,_,x)}function h(e,t){if(A(t))return e.stylize("undefined","undefined");if(v(t)){var a="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(a,"string")}return x(t)?e.stylize(""+t,"number"):_(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,a,i,r){for(var n=[],s=0,l=t.length;s<l;++s)P(t,String(s))?n.push(m(e,t,a,i,String(s),!0)):n.push("");return r.forEach(function(r){r.match(/^\d+$/)||n.push(m(e,t,a,i,r,!0))}),n}function m(e,t,a,i,r,n){var s,l,o;if((o=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?l=o.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):o.set&&(l=e.stylize("[Setter]","special")),P(i,r)||(s="["+r+"]"),!l&&(0>e.seen.indexOf(o.value)?(l=y(a)?u(e,o.value,null):u(e,o.value,a-1)).indexOf("\n")>-1&&(l=n?l.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+l.split("\n").map(function(e){return"   "+e}
6).join("\n")):l=e.stylize("[Circular]","special")),A(s)){if(n&&r.match(/^\d+$/))return l;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+l}function g(e,t,a){var i=0;return e.reduce(function(e,t){return i++,t.indexOf("\n")>=0&&i++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?a[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+a[1]:a[0]+t+" "+e.join(", ")+" "+a[1]}function b(e){return Array.isArray(e)}function _(e){return"boolean"==typeof e}function y(e){return null===e}function x(e){return"number"==typeof e}function v(e){return"string"==typeof e}function A(e){return void 0===e}function w(e){return E(e)&&"[object RegExp]"===N(e)}function E(e){return"object"==typeof e&&null!==e}function S(e){return E(e)&&"[object Date]"===N(e)}function C(e){return E(e)&&("[object Error]"===N(e)||e instanceof Error)}function T(e){return"function"==typeof e}function N(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}a.debuglog=function(e){if(A(i)&&(i=r.default.env.NODE_DEBUG||""),!s[e=e.toUpperCase()])if(RegExp("\\b"+e+"\\b","i").test(i)){var t=r.default.pid;s[e]=function(){var i=a.format.apply(a,arguments);console.error("%s %d: %s",e,t,i)}}else s[e]=function(){};return s[e]},a.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},a.isArray=b,a.isBoolean=_,a.isNull=y,a.isNullOrUndefined=function(e){return null==e},a.isNumber=x,a.isString=v,a.isSymbol=function(e){return"symbol"==typeof e},a.isUndefined=A,a.isRegExp=w,a.isObject=E,a.isDate=S,a.isError=C,a.isFunction=T,a.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},a.isBuffer=e.r(26230);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}a.log=function(){console.log("%s - %s",j(),a.format.apply(a,arguments))},a.inherits=e.r(24611),a._extend=function(e,t){if(!t||!E(t))return e;for(var a=Object.keys(t),i=a.length;i--;)e[a[i]]=t[a[i]];return e}},77953,(e,t,a)=>{var i=e.i(50461),r=e.r(34578).Buffer,n=e.r(60186);function s(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=r.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=r.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,i.default.nextTick((function(){this.emit("end",e),this.readable=!1,this.emit("close")}).bind(this)),this;throw TypeError("Unexpected data type ("+typeof e+")")}e.r(82576).inherits(s,n),s.prototype.write=function(e){this.buffer=r.concat([this.buffer,r.from(e)]),this.emit("data",e)},s.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},t.exports=s},79753,(e,t,a)=>{"use strict";var i,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,a){return Function.prototype.apply.call(e,t,a)};function s(e){console&&console.warn&&console.warn(e)}i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var l=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}t.exports=o,t.exports.once=x,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var c=10;function d(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}
6function h(e,t,a,i){if(d(a),void 0===(n=e._events)?(n=e._events=Object.create(null),e._eventsCount=0):(void 0!==n.newListener&&(e.emit("newListener",t,a.listener?a.listener:a),n=e._events),l=n[t]),void 0===l)l=n[t]=a,++e._eventsCount;else if("function"==typeof l?l=n[t]=i?[a,l]:[l,a]:i?l.unshift(a):l.push(a),(r=u(e))>0&&l.length>r&&!l.warned){l.warned=!0;var r,n,l,o=Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=l.length,s(o)}return e}function f(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,a){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:a},r=f.bind(i);return r.listener=a,i.wrapFn=r,r}function m(e,t,a){var i=e._events;if(void 0===i)return[];var r=i[t];return void 0===r?[]:"function"==typeof r?a?[r.listener||r]:[r]:a?y(r):b(r,r.length)}function g(e){var t=this._events;if(void 0!==t){var a=t[e];if("function"==typeof a)return 1;if(void 0!==a)return a.length}return 0}function b(e,t){for(var a=Array(t),i=0;i<t;++i)a[i]=e[i];return a}function _(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function y(e){for(var t=Array(e.length),a=0;a<t.length;++a)t[a]=e[a].listener||e[a];return t}function x(e,t){return new Promise(function(a,i){function r(a){e.removeListener(t,n),i(a)}function n(){"function"==typeof e.removeListener&&e.removeListener("error",r),a([].slice.call(arguments))}A(e,t,n,{once:!0}),"error"!==t&&v(e,r,{once:!0})})}function v(e,t,a){"function"==typeof e.on&&A(e,"error",t,a)}function A(e,t,a,i){if("function"==typeof e.on)i.once?e.once(t,a):e.on(t,a);else if("function"==typeof e.addEventListener)e.addEventListener(t,function r(n){i.once&&e.removeEventListener(t,r),a(n)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||l(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),o.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||l(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],a=1;a<arguments.length;a++)t.push(arguments[a]);var i="error"===e,r=this._events;if(void 0!==r)i=i&&void 0===r.error;else if(!i)return!1;if(i){if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var s,l=Error("Unhandled error."+(s?" ("+s.message+")":""));throw l.context=s,l}var o=r[e];if(void 0===o)return!1;if("function"==typeof o)n(o,this,t);else for(var c=o.length,d=b(o,c),a=0;a<c;++a)n(d[a],this,t);return!0},o.prototype.addListener=function(e,t){return h(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return h(this,e,t,!0)},o.prototype.once=function(e,t){return d(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return d(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var a,i,r,n,s;if(d(t),void 0===(i=this._events)||void 0===(a=i[e]))return this;if(a===t||a.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,a.listener||t));else if("function"!=typeof a){for(r=-1,n=a.length-1;n>=0;n--)if(a[n]===t||a[n].listener===t){s=a[n].listener,r=n;break}if(r<0)return this;0===r?a.shift():_(a,r),1===a.length&&(i[e]=a[0]),void 0!==i.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,a,i;if(void 0===(a=this._events))return this;if(void 0===a.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==a[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete a[e]),this;if(0==arguments.length){var r,n=Object.keys(a);for(i=0;i<n.length;++i)"removeListener"!==(r=n[i])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=a[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this},o.prototype.listeners=function(e){return m(this,e,!0)},o.prototype.rawListeners=function(e){return m(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},o.prototype.listenerCount=g,o.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},56207,(e,t,a)=>{"use strict";var i=e.r(34578).Buffer,r=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
vendor: 4,268 bytes, line 6
6case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function s(e){var t=n(e);if("string"!=typeof t&&(i.isEncoding===r||!r(e)))throw Error("Unknown encoding: "+e);return t||e}function l(e){var t;switch(this.encoding=s(e),this.encoding){case"utf16le":this.text=p,this.end=m,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=g,this.end=b,t=3;break;default:this.write=_,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e,t,a){var i=t.length-1;if(i<a)return 0;var r=o(t[i]);return r>=0?(r>0&&(e.lastNeed=r-1),r):--i<a||-2===r?0:(r=o(t[i]))>=0?(r>0&&(e.lastNeed=r-2),r):--i<a||-2===r?0:(r=o(t[i]))>=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}function d(e,t,a){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function u(e){var t=this.lastTotal-this.lastNeed,a=d(this,e,t);return void 0!==a?a:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function h(e,t){var a=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=a;var i=e.length-(a-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2==0){var a=e.toString("utf16le",t);if(a){var i=a.charCodeAt(a.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],a.slice(0,-1)}return a}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var a=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,a)}return t}function g(e,t){var a=(e.length-t)%3;return 0===a?e.toString("base64",t):(this.lastNeed=3-a,this.lastTotal=3,1===a?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-a))}function b(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}a.StringDecoder=l,l.prototype.write=function(e){var t,a;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";a=this.lastNeed,this.lastNeed=0}else a=0;return a<e.length?t?t+this.text(e,a):this.text(e,a):t||""},l.prototype.end=f,l.prototype.text=h,l.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},51567,(__turbopack_context__,module,exports)=>{!function(){var __webpack_modules__={950:function(__unused_webpack_module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0;a<e.length;a++)if(e[a]===t)return a;return -1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var a in e)t.push(a);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var a=0;a<e.length;a++)t(e[a],a,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,a){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:a})}}catch(e){return function(e,t,a){e[t]=a}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);
vendor: 5,425 bytes, line 6
6this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var a=t.contentWindow,i=a.eval,r=a.execScript;!i&&r&&(r.call(a,"null"),i=a.eval),forEach(Object_keys(e),function(t){a[t]=e[t]}),forEach(globals,function(t){e[t]&&(a[t]=e[t])});var n=Object_keys(a),s=i.call(a,this.code);return forEach(Object_keys(a),function(t){(t in e||-1===indexOf(n,t))&&(e[t]=a[t])}),forEach(globals,function(t){t in e||defineProp(e,t,a[t])}),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),a=this.runInContext(t);return e&&forEach(Object_keys(t),function(a){e[a]=t[a]}),a},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var a=Script(t);return a[e].apply(a,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(a){t[a]=e[a]}),t}}};"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/vm-browserify/");var __webpack_exports__={};__webpack_modules__[950](0,__webpack_exports__),module.exports=__webpack_exports__}()},18749,(e,t,a)=>{var i=e.i(21168),r=e.i(50461);!function(){var a={7160:function(e,t,a){var i=t;i.bignum=a(711),i.define=a(495).define,i.base=a(853),i.constants=a(7335),i.decoders=a(6701),i.encoders=a(3418)},495:function(e,t,a){var i=a(7160),r=a(3782);function n(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new n(e,t)},n.prototype._createNamed=function(e){var t;try{t=a(6144).runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return r(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},n.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i.decoders[e])),this.decoders[e]},n.prototype.decode=function(e,t,a){return this._getDecoder(t).decode(e,a)},n.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(i.encoders[e])),this.encoders[e]},n.prototype.encode=function(e,t,a){return this._getEncoder(t).encode(e,a)}},6483:function(e,t,a){var i=a(3782),r=a(853).Reporter,n=a(4300).Buffer;function s(e,t){(r.call(this,t),n.isBuffer(e))?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function l(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof l||(e=new l(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=n.byteLength(e);else{if(!n.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}i(s,r),t.C=s,s.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},s.prototype.restore=function(e){var t=new s(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},s.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var a=new s(this.base);return a._reporterState=this._reporterState,a.offset=this.offset,a.length=this.offset+e,this.offset+=e,a},s.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.R=l,l.prototype.join=function(e,t){return e||(e=new n(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(a){a.join(e,t),t+=a.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):n.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},853:function(e,t,a){var i=t;i.Reporter=a(1293).b,i.DecoderBuffer=a(6483).C,i.EncoderBuffer=a(6483).R,i.Node=a(9374)},9374:function(e,t,a){var i=a(853).Reporter,r=a(853).EncoderBuffer,n=a(853).DecoderBuffer,s=a(3523),l=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],o=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l),c=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function d(e,t){var a={};this._baseState=a,a.enc=e,a.parent=t||null,a.children=null,a.tag=null,a.args=null,a.reverseArgs=null,a.choice=null,a.optional=!1,a.any=!1,a.obj=!1,a.use=null,a.useDecoder=null,a.key=null,a.default=null,a.explicit=null,a.impl
6icit=null,a.contains=null,a.parent||(a.children=[],this._wrap())}e.exports=d;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];d.prototype.clone=function(){var e=this._baseState,t={};u.forEach(function(a){t[a]=e[a]});var a=new this.constructor(t.parent);return a._baseState=t,a},d.prototype._wrap=function(){var e=this._baseState;o.forEach(function(t){this[t]=function(){var a=new this.constructor(this);return e.children.push(a),a[t].apply(a,arguments)}},this)},d.prototype._init=function(e){var t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),s.equal(t.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(e){var t=this._baseState,a=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==a.length&&(s(null===t.children),t.children=a,a.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(a){a==(0|a)&&(a|=0),t[e[a]]=a}),t}))},c.forEach(function(e){d.prototype[e]=function(){throw Error(e+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(e){d.prototype[e]=function(){var t=this._baseState,a=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(a),this}}),d.prototype.use=function(e){s(e);var t=this._baseState;return s(null===t.use),t.use=e,this},d.prototype.optional=function(){return this._baseState.optional=!0,this},d.prototype.def=function(e){var t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},d.prototype.explicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},d.prototype.implicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},d.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},d.prototype.key=function(e){var t=this._baseState;return s(null===t.key),t.key=e,this},d.prototype.any=function(){return this._baseState.any=!0,this},d.prototype.choice=function(e){var t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},d.prototype.contains=function(e){var t=this._baseState;return s(null===t.use),t.contains=e,this},d.prototype._decode=function(e,t){var a,i=this._baseState;if(null===i.parent)return e.wrapResult(i.children[0]._decode(e,t));var r=i.default,s=!0,l=null;if(null!==i.key&&(l=e.enterKey(i.key)),i.optional){var o=null;if(null!==i.explicit?o=i.explicit:null!==i.implicit?o=i.implicit:null!==i.tag&&(o=i.tag),null!==o||i.any){if(s=this._peekTag(e,o,i.any),e.isError(s))return s}else{var c=e.save();try{null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(c)}}if(i.obj&&s&&(a=e.enterObject()),s){if(null!==i.explicit){var d=this._decodeTag(e,i.explicit);if(e.isError(d))return d;e=d}var u=e.offset;if(null===i.use&&null===i.choice){if(i.any)var c=e.save();var h=this._decodeTag(e,null!==i.implicit?i.implicit:i.tag,i.any);if(e.isError(h))return h;i.any?r=e.raw(c):e=h}if(t&&t.track&&null!==i.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==i.tag&&t.track(e.path(),e.offset,e.length,"content"),i.any||(r=null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t)),e.isError(r))return r;if(i.any||null!==i.choice||null===i.children||i.children.forEach(function(a){a._decode(e,t)}),i.contains&&("octstr"===i.tag||"bitstr"===i.tag)){var f=new n(r);r=this._getUse(i.contains,e._reporterState.obj)._decode(f,t)}}return i.obj&&s&&(r=e.leaveObject(a)),null!==i.key&&(null!==r||!0===s)?e.leaveKey(l,i.key,r):null!==l&&e.exitKey(l),r},d.prototype._decodeGeneric=function(e,t,a){var i=this._baseState;if("seq"===e||"set"===e)return null;if("seqof"===e||"setof"===e)return this._decodeList(t,e,i.args[0],a);if(/str$/.test(e))return this._decodeStr(t,e,a);if("objid"===e&&i.args)return this._decodeObjid(t,i.args[0],i.args[1],a);if("objid"===e)return this._decodeObjid(t,null,null,a);if("gentime"===e||"utctime"===e)return this._decodeTime(t,e,a);else if("null_"===e)return this._decodeNull(t,a);else if("bool"===e)return this._decodeBool(t,a);else if("objDesc"===e)return this._decodeStr(t,e,a);else if("int"===e||"enum"===e)return this._decodeInt(t,i.args&&i.args[0],a);return null!==i.use?this._getUse(i.use,t._reporterState.obj)._decode(t,a):t.error("unknown tag: "+e)},d.prototype._getUse=function(e,t){var a=this._baseState;return a.useDecoder=this._use(e,t),s(null===a.useDecoder._baseState.parent),a.useDecoder=a.useDecoder._baseState.children[0],a.implicit!==a.useDecoder._baseState.implicit&&(a.useDecoder=a.useDecoder.clone(),a.useDecoder._baseState.implicit=a.implicit),a.useDecoder},d.prototype._decodeChoice=function(e,t){var a=this._baseState,i=null,r=!1;return(Object.keys(a.choice).some(function(n){var s=e.save(),l=a.choice[n];try{var o=l._decode(e,t);if(e.isError(o))return!1;i={type:n,value:o},r=!0}catch(t){return e.restore(s),!1}return!0},this),r)?i:e.error("Choice not matched")},d.prototype._createEncoderBuffer=function(e){return new r(e,this.reporter)},d.prototype._encode=function(e,t,a){var i=this._baseState;if(null===i.default||i.default!==e){var r=this._encodeValue(e,t,a);if(void 0!==r&&!this._skipDefault(r,t,a))return r}},d.prototype._encodeValue=function(e,t,a){var r,n=this._baseState;if(null===n.parent)return n.children[0]._encode(e,t||new i);var r=null;if(this.reporter=t,n.optional&&void 0===e)if(null===n.default)return;else e=n.default;var s=null,l=!1;if(n.any)r=this._createEncoderBuffer(e);else if(n.choice)r=this._encodeChoice(e,t);else if(n.contains)s=this._getUse(n.contains,a)._encode(e,t),l=!0;
6else if(n.children)s=n.children.map(function(a){if("null_"===a._baseState.tag)return a._encode(null,t,e);if(null===a._baseState.key)return t.error("Child should have a key");var i=t.enterKey(a._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var r=a._encode(e[a._baseState.key],t,e);return t.leaveKey(i),r},this).filter(function(e){return e}),s=this._createEncoderBuffer(s);else if("seqof"===n.tag||"setof"===n.tag){if(!(n.args&&1===n.args.length))return t.error("Too many args for : "+n.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var o=this.clone();o._baseState.implicit=null,s=this._createEncoderBuffer(e.map(function(a){var i=this._baseState;return this._getUse(i.args[0],e)._encode(a,t)},o))}else null!==n.use?r=this._getUse(n.use,a)._encode(e,t):(s=this._encodePrimitive(n.tag,e),l=!0);if(!n.any&&null===n.choice){var c=null!==n.implicit?n.implicit:n.tag,d=null===n.implicit?"universal":"context";null===c?null===n.use&&t.error("Tag could be omitted only for .use()"):null===n.use&&(r=this._encodeComposite(c,l,d,s))}return null!==n.explicit&&(r=this._encodeComposite(n.explicit,!1,"context",r)),r},d.prototype._encodeChoice=function(e,t){var a=this._baseState,i=a.choice[e.type];return i||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(a.choice))),i._encode(e.value,t)},d.prototype._encodePrimitive=function(e,t){var a=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&a.args)return this._encodeObjid(t,a.reverseArgs[0],a.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();else if("int"===e||"enum"===e)return this._encodeInt(t,a.args&&a.reverseArgs[0]);else if("bool"===e)return this._encodeBool(t);else if("objDesc"===e)return this._encodeStr(t,e);else throw Error("Unsupported tag: "+e)},d.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},d.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},1293:function(e,t,a){var i=a(3782);function r(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function n(e,t){this.path=e,this.rethrow(t)}t.b=r,r.prototype.isError=function(e){return e instanceof n},r.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},r.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},r.prototype.enterKey=function(e){return this._reporterState.path.push(e)},r.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},r.prototype.leaveKey=function(e,t,a){var i=this._reporterState;this.exitKey(e),null!==i.obj&&(i.obj[t]=a)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},r.prototype.leaveObject=function(e){var t=this._reporterState,a=t.obj;return t.obj=e,a},r.prototype.error=function(e){var t,a=this._reporterState,i=e instanceof n;if(t=i?e:new n(a.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!a.options.partial)throw t;return i||a.errors.push(t),t},r.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},i(n,Error),n.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,n),!this.stack)try{throw Error(this.message)}catch(e){this.stack=e.stack}return this}},9791:function(e,t,a){var i=a(7335);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=i._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=i._reverse(t.tag)},7335:function(e,t,a){var i=t;i._reverse=function(e){var t={};return Object.keys(e).forEach(function(a){(0|a)==a&&(a|=0),t[e[a]]=a}),t},i.der=a(9791)},2259:function(e,t,a){var i=a(3782),r=a(7160),n=r.base,s=r.bignum,l=r.constants.der;function o(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){n.Node.call(this,"der",e)}function d(e,t){var a=e.readUInt8(t);if(e.isError(a))return a;var i=l.tagClass[a>>6],r=(32&a)==0;if((31&a)==31){var n=a;for(a=0;(128&n)==128;){if(n=e.readUInt8(t),e.isError(n))return n;a<<=7,a|=127&n}}else a&=31;var s=l.tag[a];return{cls:i,primitive:r,tag:a,tagStr:s}}function u(e,t,a){var i=e.readUInt8(a);if(e.isError(i))return i;if(!t&&128===i)return null;if((128&i)==0)return i;var r=127&i;if(r>4)return e.error("length octect is too long");i=0;for(var n=0;n<r;n++){i<<=8;var s=e.readUInt8(a);if(e.isError(s))return s;i|=s}return i}
6e.exports=o,o.prototype.decode=function(e,t){return e instanceof n.DecoderBuffer||(e=new n.DecoderBuffer(e,t)),this.tree._decode(e,t)},i(c,n.Node),c.prototype._peekTag=function(e,t,a){if(e.isEmpty())return!1;var i=e.save(),r=d(e,'Failed to peek tag: "'+t+'"');return e.isError(r)?r:(e.restore(i),r.tag===t||r.tagStr===t||r.tagStr+"of"===t||a)},c.prototype._decodeTag=function(e,t,a){var i=d(e,'Failed to decode tag of "'+t+'"');if(e.isError(i))return i;var r=u(e,i.primitive,'Failed to get length of "'+t+'"');if(e.isError(r))return r;if(!a&&i.tag!==t&&i.tagStr!==t&&i.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(i.primitive||null!==r)return e.skip(r,'Failed to match body of: "'+t+'"');var n=e.save(),s=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(s)?s:(r=e.offset-n.offset,e.restore(n),e.skip(r,'Failed to match body of: "'+t+'"'))},c.prototype._skipUntilEnd=function(e,t){for(;;){var a,i=d(e,t);if(e.isError(i))return i;var r=u(e,i.primitive,t);if(e.isError(r))return r;if(a=i.primitive||null!==r?e.skip(r):this._skipUntilEnd(e,t),e.isError(a))return a;if("end"===i.tagStr)break}},c.prototype._decodeList=function(e,t,a,i){for(var r=[];!e.isEmpty();){var n=this._peekTag(e,"end");if(e.isError(n))return n;var s=a.decode(e,"der",i);if(e.isError(s)&&n)break;r.push(s)}return r},c.prototype._decodeStr=function(e,t){if("bitstr"===t){var a=e.readUInt8();return e.isError(a)?a:{unused:a,data:e.raw()}}if("bmpstr"===t){var i=e.raw();if(i.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var r="",n=0;n<i.length/2;n++)r+=String.fromCharCode(i.readUInt16BE(2*n));return r}if("numstr"===t){var s=e.raw().toString("ascii");return this._isNumstr(s)?s:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();else if("printstr"===t){var l=e.raw().toString("ascii");return this._isPrintstr(l)?l:e.error("Decoding of string type: printstr unsupported characters")}else if(/str$/.test(t))return e.raw().toString();else return e.error("Decoding of string type: "+t+" unsupported")},c.prototype._decodeObjid=function(e,t,a){for(var i,r=[],n=0;!e.isEmpty();){var s=e.readUInt8();n<<=7,n|=127&s,(128&s)==0&&(r.push(n),n=0)}128&s&&r.push(n);var l=r[0]/40|0,o=r[0]%40;if(i=a?r:[l,o].concat(r.slice(1)),t){var c=t[i.join(" ")];void 0===c&&(c=t[i.join(".")]),void 0!==c&&(i=c)}return i},c.prototype._decodeTime=function(e,t){var a=e.raw().toString();if("gentime"===t)var i=0|a.slice(0,4),r=0|a.slice(4,6),n=0|a.slice(6,8),s=0|a.slice(8,10),l=0|a.slice(10,12),o=0|a.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var i=0|a.slice(0,2),r=0|a.slice(2,4),n=0|a.slice(4,6),s=0|a.slice(6,8),l=0|a.slice(8,10),o=0|a.slice(10,12);i=i<70?2e3+i:1900+i}return Date.UTC(i,r-1,n,s,l,o,0)},c.prototype._decodeNull=function(e){return null},c.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},c.prototype._decodeInt=function(e,t){var a=new s(e.raw());return t&&(a=t[a.toString(10)]||a),a},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},6701:function(e,t,a){var i=t;i.der=a(2259),i.pem=a(8527)},8527:function(e,t,a){var i=a(3782),r=a(4300).Buffer,n=a(2259);function s(e){n.call(this,e),this.enc="pem"}i(s,n),e.exports=s,s.prototype.decode=function(e,t){for(var a=e.toString().split(/[\r\n]+/g),i=t.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,l=-1,o=-1,c=0;c<a.length;c++){var d=a[c].match(s);if(null!==d&&d[2]===i)if(-1===l){if("BEGIN"!==d[1])break;l=c}else{if("END"!==d[1])break;o=c;break}}if(-1===l||-1===o)throw Error("PEM section not found for: "+i);var u=a.slice(l+1,o).join("");u.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new r(u,"base64");return n.prototype.decode.call(this,h,t)}},7804:function(e,t,a){var i=a(3782),r=a(4300).Buffer,n=a(7160),s=n.base,l=n.constants.der;function o(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){s.Node.call(this,"der",e)}function d(e){return e<10?"0"+e:e}function u(e,t,a,i){var r;if("seqof"===e?e="seq":"setof"===e&&(e="set"),l.tagByName.hasOwnProperty(e))r=l.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return i.error("Unknown tag: "+e);r=e}return r>=31?i.error("Multi-octet tag encoding unsupported"):(t||(r|=32),r|=l.tagClassByName[a||"universal"]<<6)}e.exports=o,o.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},i(c,s.Node),c.prototype._encodeComposite=function(e,t,a,i){var n=u(e,t,a,this.reporter);if(i.length<128){var s=new r(2);return s[0]=n,s[1]=i.length,this._createEncoderBuffer([s,i])}for(var l=1,o=i.length;o>=256;o>>=8)l++;var s=new r(2+l);s[0]=n,s[1]=128|l;
6for(var o=1+l,c=i.length;c>0;o--,c>>=8)s[o]=255&c;return this._createEncoderBuffer([s,i])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var a=new r(2*e.length),i=0;i<e.length;i++)a.writeUInt16BE(e.charCodeAt(i),2*i);return this._createEncoderBuffer(a)}if("numstr"===t)return this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space");if("printstr"===t)return this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark");if(/str$/.test(t))return this._createEncoderBuffer(e);else if("objDesc"===t)return this._createEncoderBuffer(e);else return this.reporter.error("Encoding of string type: "+t+" unsupported")},c.prototype._encodeObjid=function(e,t,a){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(var i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!a){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var n=0,i=0;i<e.length;i++){var s=e[i];for(n++;s>=128;s>>=7)n++}for(var l=new r(n),o=l.length-1,i=e.length-1;i>=0;i--){var s=e[i];for(l[o--]=127&s;(s>>=7)>0;)l[o--]=128|127&s}return this._createEncoderBuffer(l)},c.prototype._encodeTime=function(e,t){var a,i=new Date(e);return"gentime"===t?a=""+d(i.getFullYear())+d(i.getUTCMonth()+1)+d(i.getUTCDate())+d(i.getUTCHours())+d(i.getUTCMinutes())+d(i.getUTCSeconds())+"Z":"utctime"===t?a=""+d(i.getFullYear()%100)+d(i.getUTCMonth()+1)+d(i.getUTCDate())+d(i.getUTCHours())+d(i.getUTCMinutes())+d(i.getUTCSeconds())+"Z":this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(a,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!r.isBuffer(e)){var a=e.toArray();!e.sign&&128&a[0]&&a.unshift(0),e=new r(a)}if(r.isBuffer(e)){var i=e.length;0===e.length&&i++;var n=new r(i);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var i=1,s=e;s>=256;s>>=8)i++;for(var n=Array(i),s=n.length-1;s>=0;s--)n[s]=255&e,e>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(new r(n))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(255*!!e)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,a){var i,r=this._baseState;if(null===r.default)return!1;var n=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,a).join()),n.length!==r.defaultBuffer.length)return!1;for(i=0;i<n.length;i++)if(n[i]!==r.defaultBuffer[i])return!1;return!0}},3418:function(e,t,a){var i=t;i.der=a(7804),i.pem=a(1564)},1564:function(e,t,a){var i=a(3782),r=a(7804);function n(e){r.call(this,e),this.enc="pem"}i(n,r),e.exports=n,n.prototype.encode=function(e,t){for(var a=r.prototype.encode.call(this,e).toString("base64"),i=["-----BEGIN "+t.label+"-----"],n=0;n<a.length;n+=64)i.push(a.slice(n,n+64));return i.push("-----END "+t.label+"-----"),i.join("\n")}},711:function(e,t,a){!function(e,t){"use strict";function i(e,t){if(!e)throw Error(t||"Assertion failed")}function r(e,t){e.super_=t;var a=function(){};a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e}function n(e,t,a){if(n.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(a=t,t=10),this._init(e||0,t||10,a||"be"))}
vendor: 10,324 bytes, line 6
6"object"==typeof e?e.exports=n:t.BN=n,n.BN=n,n.wordSize=26;try{o=a(4300).Buffer}catch(e){}function s(e,t,a){for(var i=0,r=Math.min(e.length,a),n=t;n<r;n++){var s=e.charCodeAt(n)-48;i<<=4,s>=49&&s<=54?i|=s-49+10:s>=17&&s<=22?i|=s-17+10:i|=15&s}return i}function l(e,t,a,i){for(var r=0,n=Math.min(e.length,a),s=t;s<n;s++){var l=e.charCodeAt(s)-48;r*=i,l>=49?r+=l-49+10:l>=17?r+=l-17+10:r+=l}return r}n.isBN=function(e){return e instanceof n||null!==e&&"object"==typeof e&&e.constructor.wordSize===n.wordSize&&Array.isArray(e.words)},n.max=function(e,t){return e.cmp(t)>0?e:t},n.min=function(e,t){return 0>e.cmp(t)?e:t},n.prototype._init=function(e,t,a){if("number"==typeof e)return this._initNumber(e,t,a);if("object"==typeof e)return this._initArray(e,t,a);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&r++,16===t?this._parseHex(e,r):this._parseBase(e,t,r),"-"===e[0]&&(this.negative=1),this.strip(),"le"===a&&this._initArray(this.toArray(),t,a)},n.prototype._initNumber=function(e,t,a){e<0&&(this.negative=1,e=-e),e<0x4000000?(this.words=[0x3ffffff&e],this.length=1):e<0x10000000000000?(this.words=[0x3ffffff&e,e/0x4000000&0x3ffffff],this.length=2):(i(e<0x20000000000000),this.words=[0x3ffffff&e,e/0x4000000&0x3ffffff,1],this.length=3),"le"===a&&this._initArray(this.toArray(),t,a)},n.prototype._initArray=function(e,t,a){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var r,n,s=0;s<this.length;s++)this.words[s]=0;var l=0;if("be"===a)for(s=e.length-1,r=0;s>=0;s-=3)n=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=n<<l&0x3ffffff,this.words[r+1]=n>>>26-l&0x3ffffff,(l+=24)>=26&&(l-=26,r++);else if("le"===a)for(s=0,r=0;s<e.length;s+=3)n=e[s]|e[s+1]<<8|e[s+2]<<16,this.words[r]|=n<<l&0x3ffffff,this.words[r+1]=n>>>26-l&0x3ffffff,(l+=24)>=26&&(l-=26,r++);return this.strip()},n.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var a,i,r=0;r<this.length;r++)this.words[r]=0;var n=0;for(r=e.length-6,a=0;r>=t;r-=6)i=s(e,r,r+6),this.words[a]|=i<<n&0x3ffffff,this.words[a+1]|=i>>>26-n&4194303,(n+=24)>=26&&(n-=26,a++);r+6!==t&&(i=s(e,t,r+6),this.words[a]|=i<<n&0x3ffffff,this.words[a+1]|=i>>>26-n&4194303),this.strip()},n.prototype._parseBase=function(e,t,a){this.words=[0],this.length=1;for(var i=0,r=1;r<=0x3ffffff;r*=t)i++;i--,r=r/t|0;for(var n=e.length-a,s=n%i,o=Math.min(n,n-s)+a,c=0,d=a;d<o;d+=i)c=l(e,d,d+i,t),this.imuln(r),this.words[0]+c<0x4000000?this.words[0]+=c:this._iaddn(c);if(0!==s){var u=1;for(c=l(e,d,e.length,t),d=0;d<s;d++)u*=t;this.imuln(u),this.words[0]+c<0x4000000?this.words[0]+=c:this._iaddn(c)}},n.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},n.prototype.clone=function(){var e=new n(null);return this.copy(e),e},n.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},n.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var o,c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function h(e){for(var t=Array(e.bitLength()),a=0;a<t.length;a++){var i=a/26|0,r=a%26;t[a]=(e.words[i]&1<<r)>>>r}return t}function f(e,t,a){a.negative=t.negative^e.negative;var i=e.length+t.length|0;a.length=i,i=i-1|0;var r=0|e.words[0],n=0|t.words[0],s=r*n,l=0x3ffffff&s,o=s/0x4000000|0;a.words[0]=l;for(var c=1;c<i;c++){for(var d=o>>>26,u=0x3ffffff&o,h=Math.min(c,t.length-1),f=Math.max(0,c-e.length+1);f<=h;f++){var p=c-f|0;d+=(s=(r=0|e.words[p])*(n=0|t.words[f])+u)/0x4000000|0,u=0x3ffffff&s}a.words[c]=0|u,o=0|d}return 0!==o?a.words[c]=0|o:a.length--,a.strip()}n.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var a="",r=0,n=0,s=0;s<this.length;s++){var l=this.words[s],o=((l<<r|n)&0xffffff).toString(16);a=0!=(n=l>>>24-r&0xffffff)||s!==this.length-1?c[6-o.length]+o+a:o+a,(r+=2)>=26&&(r-=26,s--)}for(0!==n&&(a=n.toString(16)+a);a.length%t!=0;)a="0"+a;return 0!==this.negative&&(a="-"+a),a}if(e===(0|e)&&e>=2&&e<=36){var h=d[e],f=u[e];a="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);a=(p=p.idivn(f)).isZero()?m+a:c[h-m.length]+m+a}for(this.isZero()&&(a="0"+a);a.length%t!=0;)a="0"+a;return 0!==this.negative&&(a="-"+a),a}i(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(e,t){return i(void 0!==o),this.toArrayLike(o,e,t)},n.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},n.prototype.toArrayLike=function(e,t,a){var r,n,s=this.byteLength(),l=a||Math.max(1,s);i(s<=l,"byte array longer than desired length"),i(l>0,"Requested array length <= 0"),this.strip();var o="le"===t,c=new e(l),d=this.clone();if(o){for(n=0;!d.isZero();n++)r=d.andln(255),d.iushrn(8),c[n]=r;for(;n<l;n++)c[n]=0}else{for(n=0;n<l-s;n++)c[n]=0;for(n=0;!d.isZero();n++)r=d.andln(255),d.iushrn(8),c[l-n-1]=r}return c},Math.clz32?n.prototype._countBits=function(e){return 32-Math.clz32(e)}:n.prototype._countBits=function(e){var t=e,a=0;return t>=4096&&(a+=13,t>>>=13),t>=64&&(a+=7,t>>>=7),t>=8&&(a+=4,t>>>=4),t>=2&&(a+=2,t>>>=2),a+t},n.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,a=0;return(8191&t)==0&&(a+=13,t>>>=13),(127&t)==0&&(a+=7,t>>>=7),(15&t)==0&&(a+=4,t>>>=4),(3&t)==0&&(a+=2,t>>>=2),(1&t)==0&&a++,a},n.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var a=this._zeroBits(this.words[t]);if(e+=a,26!==a)break}return e},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},n.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return 0!==this.negative},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},n.prototype.ior=function(e){return i((this.negative|e.negative)==0),this.iuor(e)},n.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},n.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},n.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var a=0;a<t.length;a++)this.words[a]=this.words[a]&e.words[a];return this.length=t.length,this.strip()},n.prototype.iand=function(e){return i((this.negative|e.negative)==0),this.iuand(e)},n.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},n.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},n.prototype.iuxor=function(e){this.length>e.length?(t=this,a=e):(t=e,a=this);for(var t,a,i=0;i<a.length;i++)this.words[i]=t.words[i]^a.words[i];if(this!==t)for(;i<t.length;i++)this.words[i]=t.words[i];return this.length=t.length,this.strip()},n.prototype.ixor=function(e){return i((this.negative|e.negative)==0),this.iuxor(e)},n.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},n.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},n.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),a=e%26;this._expand(t),a>0&&t--;for(var r=0;r<t;r++)this.words[r]=0x3ffffff&~this.words[r];return a>0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-a),this.strip()},n.prototype.notn=function(e){return this.clone().inotn(e)},n.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var a=e/26|0,r=e%26;return this._expand(a+1),t?this.words[a]=this.words[a]|1<<r:this.words[a]=this.words[a]&~(1<<r),this.strip()},n.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(a=this,i=e):(a=e,i=this);for(var t,a,i,r=0,n=0;n<i.length;n++)t=(0|a.words[n])+(0|i.words[n])+r,this.words[n]=0x3ffffff&t,r=t>>>26;for(;0!==r&&n<a.length;n++)t=(0|a.words[n])+r,this.words[n]=0x3ffffff&t,r=t>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;n<a.length;n++)this.words[n]=a.words[n];return this},n.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},n.prototype.isub=function(e){if(0!==e.negative){e.negative=0;
vendor: 32,759 bytes, line 6
6var t,a,i=this.iadd(e);return e.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,a=e):(t=e,a=this);for(var n=0,s=0;s<a.length;s++)n=(i=(0|t.words[s])-(0|a.words[s])+n)>>26,this.words[s]=0x3ffffff&i;for(;0!==n&&s<t.length;s++)n=(i=(0|t.words[s])+n)>>26,this.words[s]=0x3ffffff&i;if(0===n&&s<t.length&&t!==this)for(;s<t.length;s++)this.words[s]=t.words[s];return this.length=Math.max(this.length,s),t!==this&&(this.negative=1),this.strip()},n.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,a){var i,r,n,s=e.words,l=t.words,o=a.words,c=0,d=0|s[0],u=8191&d,h=d>>>13,f=0|s[1],p=8191&f,m=f>>>13,g=0|s[2],b=8191&g,_=g>>>13,y=0|s[3],x=8191&y,v=y>>>13,A=0|s[4],w=8191&A,E=A>>>13,S=0|s[5],C=8191&S,T=S>>>13,N=0|s[6],k=8191&N,I=N>>>13,j=0|s[7],P=8191&j,L=j>>>13,O=0|s[8],D=8191&O,M=O>>>13,R=0|s[9],F=8191&R,B=R>>>13,U=0|l[0],H=8191&U,$=U>>>13,G=0|l[1],W=8191&G,Y=G>>>13,z=0|l[2],V=8191&z,K=z>>>13,q=0|l[3],Q=8191&q,Z=q>>>13,X=0|l[4],J=8191&X,ee=X>>>13,et=0|l[5],ea=8191&et,ei=et>>>13,er=0|l[6],en=8191&er,es=er>>>13,el=0|l[7],eo=8191&el,ec=el>>>13,ed=0|l[8],eu=8191&ed,eh=ed>>>13,ef=0|l[9],ep=8191&ef,em=ef>>>13;a.negative=e.negative^t.negative,a.length=19,i=Math.imul(u,H);var eg=(c+i|0)+((8191&(r=(r=Math.imul(u,$))+Math.imul(h,H)|0))<<13)|0;c=((n=Math.imul(h,$))+(r>>>13)|0)+(eg>>>26)|0,eg&=0x3ffffff,i=Math.imul(p,H),r=(r=Math.imul(p,$))+Math.imul(m,H)|0,n=Math.imul(m,$),i=i+Math.imul(u,W)|0;var eb=(c+i|0)+((8191&(r=(r=r+Math.imul(u,Y)|0)+Math.imul(h,W)|0))<<13)|0;c=((n=n+Math.imul(h,Y)|0)+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,i=Math.imul(b,H),r=(r=Math.imul(b,$))+Math.imul(_,H)|0,n=Math.imul(_,$),i=i+Math.imul(p,W)|0,r=(r=r+Math.imul(p,Y)|0)+Math.imul(m,W)|0,n=n+Math.imul(m,Y)|0,i=i+Math.imul(u,V)|0;var e_=(c+i|0)+((8191&(r=(r=r+Math.imul(u,K)|0)+Math.imul(h,V)|0))<<13)|0;c=((n=n+Math.imul(h,K)|0)+(r>>>13)|0)+(e_>>>26)|0,e_&=0x3ffffff,i=Math.imul(x,H),r=(r=Math.imul(x,$))+Math.imul(v,H)|0,n=Math.imul(v,$),i=i+Math.imul(b,W)|0,r=(r=r+Math.imul(b,Y)|0)+Math.imul(_,W)|0,n=n+Math.imul(_,Y)|0,i=i+Math.imul(p,V)|0,r=(r=r+Math.imul(p,K)|0)+Math.imul(m,V)|0,n=n+Math.imul(m,K)|0,i=i+Math.imul(u,Q)|0;var ey=(c+i|0)+((8191&(r=(r=r+Math.imul(u,Z)|0)+Math.imul(h,Q)|0))<<13)|0;c=((n=n+Math.imul(h,Z)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,i=Math.imul(w,H),r=(r=Math.imul(w,$))+Math.imul(E,H)|0,n=Math.imul(E,$),i=i+Math.imul(x,W)|0,r=(r=r+Math.imul(x,Y)|0)+Math.imul(v,W)|0,n=n+Math.imul(v,Y)|0,i=i+Math.imul(b,V)|0,r=(r=r+Math.imul(b,K)|0)+Math.imul(_,V)|0,n=n+Math.imul(_,K)|0,i=i+Math.imul(p,Q)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,Q)|0,n=n+Math.imul(m,Z)|0,i=i+Math.imul(u,J)|0;var ex=(c+i|0)+((8191&(r=(r=r+Math.imul(u,ee)|0)+Math.imul(h,J)|0))<<13)|0;c=((n=n+Math.imul(h,ee)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,i=Math.imul(C,H),r=(r=Math.imul(C,$))+Math.imul(T,H)|0,n=Math.imul(T,$),i=i+Math.imul(w,W)|0,r=(r=r+Math.imul(w,Y)|0)+Math.imul(E,W)|0,n=n+Math.imul(E,Y)|0,i=i+Math.imul(x,V)|0,r=(r=r+Math.imul(x,K)|0)+Math.imul(v,V)|0,n=n+Math.imul(v,K)|0,i=i+Math.imul(b,Q)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(_,Q)|0,n=n+Math.imul(_,Z)|0,i=i+Math.imul(p,J)|0,r=(r=r+Math.imul(p,ee)|0)+Math.imul(m,J)|0,n=n+Math.imul(m,ee)|0,i=i+Math.imul(u,ea)|0;var ev=(c+i|0)+((8191&(r=(r=r+Math.imul(u,ei)|0)+Math.imul(h,ea)|0))<<13)|0;c=((n=n+Math.imul(h,ei)|0)+(r>>>13)|0)+(ev>>>26)|0,ev&=0x3ffffff,i=Math.imul(k,H),r=(r=Math.imul(k,$))+Math.imul(I,H)|0,n=Math.imul(I,$),i=i+Math.imul(C,W)|0,r=(r=r+Math.imul(C,Y)|0)+Math.imul(T,W)|0,n=n+Math.imul(T,Y)|0,i=i+Math.imul(w,V)|0,r=(r=r+Math.imul(w,K)|0)+Math.imul(E,V)|0,n=n+Math.imul(E,K)|0,i=i+Math.imul(x,Q)|0,r=(r=r+Math.imul(x,Z)|0)+Math.imul(v,Q)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(b,J)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(_,J)|0,n=n+Math.imul(_,ee)|0,i=i+Math.imul(p,ea)|0,r=(r=r+Math.imul(p,ei)|0)+Math.imul(m,ea)|0,n=n+Math.imul(m,ei)|0,i=i+Math.imul(u,en)|0;var eA=(c+i|0)+((8191&(r=(r=r+Math.imul(u,es)|0)+Math.imul(h,en)|0))<<13)|0;c=((n=n+Math.imul(h,es)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,i=Math.imul(P,H),r=(r=Math.imul(P,$))+Math.imul(L,H)|0,n=Math.imul(L,$),i=i+Math.imul(k,W)|0,r=(r=r+Math.imul(k,Y)|0)+Math.imul(I,W)|0,n=n+Math.imul(I,Y)|0,i=i+Math.imul(C,V)|0,r=(r=r+Math.imul(C,K)|0)+Math.imul(T,V)|0,n=n+Math.imul(T,K)|0,i=i+Math.imul(w,Q)|0,r=(r=r+Math.imul(w,Z)|0)+Math.imul(E,Q)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(x,J)|0,r=(r=r+Math.imul(x,ee)|0)+Math.imul(v,J)|0,n=n+Math.imul(v,ee)|0,i=i+Math.imul(b,ea)|0,r=(r=r+Math.imul(b,ei)|0)+Math.imul(_,ea)|0,n=n+Math.imul(_,ei)|0,i=i+Math.imul(p,en)|0,r=(r=r+Math.imul(p,es)|0)+Math.imul(m,en)|0,n=n+Math.imul(m,es)|0,i=i+Math.imul(u,eo)|0;var ew=(c+i|0)+((8191&(r=(r=r+Math.imul(u,ec)|0)+Math.imul(h,eo)|0))<<13)|0;c=((n=n+Math.imul(h,ec)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,i=Math.imul(D,H),r=(r=Math.imul(D,$))+Math.imul(M,H)|0,n=Math.imul(M,$),i=i+Math.imul(P,W)|0,r=(r=r+Math.imul(P,Y)|0)+Math.imul(L,W)|0,n=n+Math.imul(L,Y)|0,i=i+Math.imul(k,V)|0,r=(r=r+Math.imul(k,K)|0)+Math.imul(I,V)|0,n=n+Math.imul(I,K)|0,i=i+Math.imul(C,Q)|0,r=(r=r+Math.imul(C,Z)|0)+Math.imul(T,Q)|0,n=n+Math.imul(T,Z)|0,i=i+Math.imul(w,J)|0,r=(r=r+Math.imul(w,ee)|0)+Math.imul(E,J)|0,n=n+Math.imul(E,ee)|0,i=i+Math.imul(x,ea)|0,r=(r=r+Math.imul(x,ei)|0)+Math.imul(v,ea)|0,n=n+Math.imul(v,ei)|0,i=i+Math.imul(b,en)|0,r=(r=r+Math.imul(b,es)|0)+Math.imul(_,en)|0,n=n+Math.imul(_,es)|0,i=i+Math.imul(p,eo)|0,r=(r=r+Math.imul(p,ec)|0)+Math.imul(m,eo)|0,n=n+Math.imul(m,ec)|0,i=i+Math.imul(u,eu)|0;var eE=(c+i|0)+((8191&(r=(r=r+Math.imul(u,eh)|0)+Math.imul(h,eu)|0))<<13)|0;c=((n=n+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,i=Math.imul(F,H),r=(r=Math.imul(F,$))+Math.imul(B,H)|0,n=Math.imul(B,$),i=i+Math.imul(D,W)|0,r=(r=r+Math.imul(D,Y)|0)+Math.imul(M,W)|0,n=n+Math.imul(M,Y)|0,i=i+Math.imul(P,V)|0,r=(r=r+Math.imul(P,K)|0)+Math.imul(L,V)|0,n=n+Math.imul(L,K)|0,i=i+Math.imul(k,Q)|0,r=(r=r+Math.imul(k,Z)|0)+Math.imul(I,Q)|0,n=n+Math.imul(I,Z)|0,i=i+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(T,J)|0,n=n+Math.imul(T,ee)|0,i=i+Math.imul(w,ea)|0,r=(r=r+Math.imul(w,ei)|0)+Math.imul(E,ea)|0,n=n+Math.imul(E,ei)|0,i=i+Math.imul(x,en)|0,r=(r=r+Math.imul(x,es)|0)+Math.imul(v,en)|0,n=n+Math.imul(v,es)|0,i=i+Math.imul(b,eo)|0,r=(r=r+Math.imul(b,ec)|0)+Math.imul(_,eo)|0,n=n+Math.imul(_,ec)|0,i=i+Math.imul(p,eu)|0,r=(r=r+Math.imul(p,eh)|0)+Math.imul(m,eu)|0,n=n+Math.imul(m,eh)|0,i=i+Math.imul(u,ep)|0;var eS=(c+i|0)+((8191&(r=(r=r+Math.imul(u,em)|0)+Math.imul(h,ep)|0))<<13)|0;c=((n=n+Math.imul(h,em)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,i=Math.imul(F,W),r=(r=Math.imul(F,Y))+Math.imul(B,W)|0,n=Math.imul(B,Y),i=i+Math.imul(D,V)|0,r=(r=r+Math.imul(D,K)|0)+Math.imul(M,V)|0,n=n+Math.imul(M,K)|0,i=i+Math.imul(P,Q)|0,r=(r=r+Math.imul(P,Z)|0)+Math.imul(L,Q)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(k,J)|0,r=(r=r+Math.imul(k,ee)|0)+Math.imul(I,J)|0,n=n+Math.imul(I,ee)|0,i=i+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,ei)|0)+Math.imul(T,ea)|0,n=n+Math.imul(T,ei)|0,i=i+Math.imul(w,en)|0,r=(r=r+Math.imul(w,es)|0)+Math.imul(E,en)|0,n=n+Math.imul(E,es)|0,i=i+Math.imul(x,eo)|0,r=(r=r+Math.imul(x,ec)|0)+Math.imul(v,eo)|0,n=n+Math.imul(v,ec)|0,i=i+Math.imul(b,eu)|0,r=(r=r+Math.imul(b,eh)|0)+Math.imul(_,eu)|0,n=n+Math.imul(_,eh)|0,i=i+Math.imul(p,ep)|0;var eC=(c+i|0)+((8191&(r=(r=r+Math.imul(p,em)|0)+Math.imul(m,ep)|0))<<13)|0;c=((n=n+Math.imul(m,em)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,i=Math.imul(F,V),r=(r=Math.imul(F,K))+Math.imul(B,V)|0,n=Math.imul(B,K),i=i+Math.imul(D,Q)|0,r=(r=r+Math.imul(D,Z)|0)+Math.imul(M,Q)|0,n=n+Math.imul(M,Z)|0,i=i+Math.imul(P,J)|0,r=(r=r+Math.imul(P,ee)|0)+Math.imul(L,J)|0,n=n+Math.imul(L,ee)|0,i=i+Math.imul(k,ea)|0,r=(r=r+Math.imul(k,ei)|0)+Math.imul(I,ea)|0,n=n+Math.imul(I,ei)|0,i=i+Math.imul(C,en)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(T,en)|0,n=n+Math.imul(T,es)|0,i=i+Math.imul(w,eo)|0,r=(r=r+Math.imul(w,ec)|0)+Math.imul(E,eo)|0,n=n+Math.imul(E,ec)|0,i=i+Math.imul(x,eu)|0,r=(r=r+Math.imul(x,eh)|0)+Math.imul(v,eu)|0,n=n+Math.imul(v,eh)|0,i=i+Math.imul(b,ep)|0;var eT=(c+i|0)+((8191&(r=(r=r+Math.imul(b,em)|0)+Math.imul(_,ep)|0))<<13)|0;c=((n=n+Math.imul(_,em)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,i=Math.imul(F,Q),r=(r=Math.imul(F,Z))+Math.imul(B,Q)|0,n=Math.imul(B,Z),i=i+Math.imul(D,J)|0,r=(r=r+Math.imul(D,ee)|0)+Math.imul(M,J)|0,n=n+Math.imul(M,ee)|0,i=i+Math.imul(P,ea)|0,r=(r=r+Math.imul(P,ei)|0)+Math.imul(L,ea)|0,n=n+Math.imul(L,ei)|0,i=i+Math.imul(k,en)|0,r=(r=r+Math.imul(k,es)|0)+Math.imul(I,en)|0,n=n+Math.imul(I,es)|0,i=i+Math.imul(C,eo)|0,r=(r=r+Math.imul(C,ec)|0)+Math.imul(T,eo)|0,n=n+Math.imul(T,ec)|0,i=i+Math.imul(w,eu)|0,r=(r=r+Math.imul(w,eh)|0)+Math.imul(E,eu)|0,n=n+Math.imul(E,eh)|0,i=i+Math.imul(x,ep)|0;var eN=(c+i|0)+((8191&(r=(r=r+Math.imul(x,em)|0)+Math.imul(v,ep)|0))<<13)|0;c=((n=n+Math.imul(v,em)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,i=Math.imul(F,J),r=(r=Math.imul(F,ee))+Math.imul(B,J)|0,n=Math.imul(B,ee),i=i+Math.imul(D,ea)|0,r=(r=r+Math.imul(D,ei)|0)+Math.imul(M,ea)|0,n=n+Math.imul(M,ei)|0,i=i+Math.imul(P,en)|0,r=(r=r+Math.imul(P,es)|0)+Math.imul(L,en)|0,n=n+Math.imul(L,es)|0,i=i+Math.imul(k,eo)|0,r=(r=r+Math.imul(k,ec)|0)+Math.imul(I,eo)|0,n=n+Math.imul(I,ec)|0,i=i+Math.imul(C,eu)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(T,eu)|0,n=n+Math.imul(T,eh)|0,i=i+Math.imul(w,ep)|0;var ek=(c+i|0)+((8191&(r=(r=r+Math.imul(w,em)|0)+Math.imul(E,ep)|0))<<13)|0;c=((n=n+Math.imul(E,em)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,i=Math.imul(F,ea),r=(r=Math.imul(F,ei))+Math.imul(B,ea)|0,n=Math.imul(B,ei),i=i+Math.imul(D,en)|0,r=(r=r+Math.imul(D,es)|0)+Math.imul(M,en)|0,n=n+Math.imul(M,es)|0,i=i+Math.imul(P,eo)|0,r=(r=r+Math.imul(P,ec)|0)+Math.imul(L,eo)|0,n=n+Math.imul(L,ec)|0,i=i+Math.imul(k,eu)|0,r=(r=r+Math.imul(k,eh)|0)+Math.imul(I,eu)|0,n=n+Math.imul(I,eh)|0,i=i+Math.imul(C,ep)|0;var eI=(c+i|0)+((8191&(r=(r=r+Math.imul(C,em)|0)+Math.imul(T,ep)|0))<<13)|0;c=((n=n+Math.imul(T,em)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,i=Math.imul(F,en),r=(r=Math.imul(F,es))+Math.imul(B,en)|0,n=Math.imul(B,es),i=i+Math.imul(D,eo)|0,r=(r=r+Math.imul(D,ec)|0)+Math.imul(M,eo)|0,n=n+Math.imul(M,ec)|0,i=i+Math.imul(P,eu)|0,r=(r=r+Math.imul(P,eh)|0)+Math.imul(L,eu)|0,n=n+Math.imul(L,eh)|0,i=i+Math.imul(k,ep)|0;var ej=(c+i|0)+((8191&(r=(r=r+Math.imul(k,em)|0)+Math.imul(I,ep)|0))<<13)|0;c=((n=n+Math.imul(I,em)|0)+(r>>>13)|0)+(ej>>>26)|0,ej&=0x3ffffff,i=Math.imul(F,eo),r=(r=Math.imul(F,ec))+Math.imul(B,eo)|0,n=Math.imul(B,ec),i=i+Math.imul(D,eu)|0,r=(r=r+Math.imul(D,eh)|0)+Math.imul(M,eu)|0,n=n+Math.imul(M,eh)|0,i=i+Math.imul(P,ep)|0;var eP=(c+i|0)+((8191&(r=(r=r+Math.imul(P,em)|0)+Math.imul(L,ep)|0))<<13)|0;c=((n=n+Math.imul(L,em)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,i=Math.imul(F,eu),r=(r=Math.imul(F,eh))+Math.imul(B,eu)|0,n=Math.imul(B,eh),i=i+Math.imul(D,ep)|0;var eL=(c+i|0)+((8191&(r=(r=r+Math.imul(D,em)|0)+Math.imul(M,ep)|0))<<13)|0;c=((n=n+Math.imul(M,em)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,i=Math.imul(F,ep);var eO=(c+i|0)+((8191&(r=(r=Math.imul(F,em))+Math.imul(B,ep)|0))<<13)|0;return c=((n=Math.imul(B,em))+(r>>>13)|0)+(eO>>>26)|0,eO&=0x3ffffff,o[0]=eg,o[1]=eb,o[2]=e_,o[3]=ey,o[4]=ex,o[5]=ev,o[6]=eA,o[7]=ew,o[8]=eE,o[9]=eS,o[10]=eC,o[11]=eT,o[12]=eN,o[13]=ek,o[14]=eI,o[15]=ej,o[16]=eP,o[17]=eL,o[18]=eO,0!==c&&(o[19]=c,a.length++),a};function m(e,t,a){a.negative=t.negative^e.negative,a.length=e.length+t.length;for(var i=0,r=0,n=0;n<a.length-1;n++){var s=r;r=0;for(var l=0x3ffffff&i,o=Math.min(n,t.length-1),c=Math.max(0,n-e.length+1);c<=o;c++){var d=n-c,u=(0|e.words[d])*(0|t.words[c]),h=0x3ffffff&u;s=s+(u/0x4000000|0)|0,l=0x3ffffff&(h=h+l|0),r+=(s=s+(h>>>26)|0)>>>26,s&=0x3ffffff}a.words[n]=l,i=s,s=r}return 0!==i?a.words[n]=i:a.length--,a.strip()}function g(e,t,a){return(new b).mulp(e,t,a)}function b(e,t){this.x=e,this.y=t}Math.imul||(p=f),n.prototype.mulTo=function(e,t){var a=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):a<63?f(this,e,t):a<1024?m(this,e,t):g(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),a=n.prototype._countBits(e)-1,i=0;i<e;i++)t[i]=this.revBin(i,a,e);return t},b.prototype.revBin=function(e,t,a){if(0===e||e===a-1)return e;for(var i=0,r=0;r<t;r++)i|=(1&e)<<t-r-1,e>>=1;return i},b.prototype.permute=function(e,t,a,i,r,n){for(var s=0;s<n;s++)i[s]=t[e[s]],r[s]=a[e[s]]},b.prototype.transform=function(e,t,a,i,r,n){this.permute(n,e,t,a,i,r);for(var s=1;s<r;s<<=1)for(var l=s<<1,o=Math.cos(2*Math.PI/l),c=Math.sin(2*Math.PI/l),d=0;d<r;d+=l)for(var u=o,h=c,f=0;f<s;f++){var p=a[d+f],m=i[d+f],g=a[d+f+s],b=i[d+f+s],_=u*g-h*b;b=u*b+h*g,g=_,a[d+f]=p+g,i[d+f]=m+b,a[d+f+s]=p-g,i[d+f+s]=m-b,f!==l&&(_=o*u-c*h,h=o*h+c*u,u=_)}},b.prototype.guessLen13b=function(e,t){var a=1|Math.max(t,e),i=1&a,r=0;for(a=a/2|0;a;a>>>=1)r++;return 1<<r+1+i},b.prototype.conjugate=function(e,t,a){if(!(a<=1))for(var i=0;i<a/2;i++){var r=e[i];e[i]=e[a-i-1],e[a-i-1]=r,r=t[i],t[i]=-t[a-i-1],t[a-i-1]=-r}},b.prototype.normalize13b=function(e,t){for(var a=0,i=0;i<t/2;i++){var r=8192*Math.round(e[2*i+1]/t)+Math.round(e[2*i]/t)+a;e[i]=0x3ffffff&r,a=r<0x4000000?0:r/0x4000000|0}return e},b.prototype.convert13b=function(e,t,a,r){for(var n=0,s=0;s<t;s++)n+=0|e[s],a[2*s]=8191&n,n>>>=13,a[2*s+1]=8191&n,n>>>=13;for(s=2*t;s<r;++s)a[s]=0;i(0===n),i((-8192&n)==0)},b.prototype.stub=function(e){for(var t=Array(e),a=0;a<e;a++)t[a]=0;return t},b.prototype.mulp=function(e,t,a){var i=2*this.guessLen13b(e.length,t.length),r=this.makeRBT(i),n=this.stub(i),s=Array(i),l=Array(i),o=Array(i),c=Array(i),d=Array(i),u=Array(i),h=a.words;h.length=i,this.convert13b(e.words,e.length,s,i),this.convert13b(t.words,t.length,c,i),this.transform(s,n,l,o,i,r),this.transform(c,n,d,u,i,r);for(var f=0;f<i;f++){var p=l[f]*d[f]-o[f]*u[f];o[f]=l[f]*u[f]+o[f]*d[f],l[f]=p}return this.conjugate(l,o,i),this.transform(l,o,h,n,i,r),this.conjugate(h,n,i),this.normalize13b(h,i),a.negative=e.negative^t.negative,a.length=e.length+t.length,a.strip()},n.prototype.mul=function(e){var t=new n(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},n.prototype.mulf=function(e){var t=new n(null);return t.words=Array(this.length+e.length),g(this,e,t)},n.prototype.imul=function(e){return this.clone().mulTo(e,this)},n.prototype.imuln=function(e){i("number"==typeof e),i(e<0x4000000);for(var t=0,a=0;a<this.length;a++){var r=(0|this.words[a])*e,n=(0x3ffffff&r)+(0x3ffffff&t);t>>=26,t+=(r/0x4000000|0)+(n>>>26),this.words[a]=0x3ffffff&n}return 0!==t&&(this.words[a]=t,this.length++),this},n.prototype.muln=function(e){return this.clone().imuln(e)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(e){var t=h(e);if(0===t.length)return new n(1);for(var a=this,i=0;i<t.length&&0===t[i];i++,a=a.sqr());if(++i<t.length)for(var r=a.sqr();i<t.length;i++,r=r.sqr())0!==t[i]&&(a=a.mul(r));return a},n.prototype.iushln=function(e){i("number"==typeof e&&e>=0);var t,a=e%26,r=(e-a)/26,n=0x3ffffff>>>26-a<<26-a;if(0!==a){var s=0;for(t=0;t<this.length;t++){var l=this.words[t]&n,o=(0|this.words[t])-l<<a;this.words[t]=o|s,s=l>>>26-a}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t<r;t++)this.words[t]=0;this.length+=r}return this.strip()},n.prototype.ishln=function(e){return i(0===this.negative),this.iushln(e)},n.prototype.iushrn=function(e,t,a){i("number"==typeof e&&e>=0);var r=t?(t-t%26)/26:0,n=e%26,s=Math.min((e-n)/26,this.length),l=0x3ffffff^0x3ffffff>>>n<<n,o=a;if(r-=s,r=Math.max(0,r),o){for(var c=0;c<s;c++)o.words[c]=this.words[c];o.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];else this.words[0]=0,this.length=1;var d=0;for(c=this.length-1;c>=0&&(0!==d||c>=r);c--){var u=0|this.words[c];this.words[c]=d<<26-n|u>>>n,d=u&l}return o&&0!==d&&(o.words[o.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(e,t,a){return i(0===this.negative),this.iushrn(e,t,a)},n.prototype.shln=function(e){return this.clone().ishln(e)},n.prototype.ushln=function(e){return this.clone().iushln(e)},n.prototype.shrn=function(e){return this.clone().ishrn(e)},n.prototype.ushrn=function(e){return this.clone().iushrn(e)},n.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,a=(e-t)/26,r=1<<t;return!(this.length<=a)&&!!(this.words[a]&r)},n.prototype.imaskn=function(e){i("number"==typeof e&&e>=0);var t=e%26,a=(e-t)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=a)return this;if(0!==t&&a++,this.length=Math.min(a,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<<t;this.words[this.length-1]&=r}return this.strip()},n.prototype.maskn=function(e){return this.clone().imaskn(e)},n.prototype.iaddn=function(e){return(i("number"==typeof e),i(e<0x4000000),e<0)?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},n.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},n.prototype.isubn=function(e){if(i("number"==typeof e),i(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=0x4000000,this.words[t+1]-=1;return this.strip()},n.prototype.addn=function(e){return this.clone().iaddn(e)},n.prototype.subn=function(e){return this.clone().isubn(e)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(e,t,a){var r,n,s=e.length+a;this._expand(s);var l=0;for(r=0;r<e.length;r++){n=(0|this.words[r+a])+l;var o=(0|e.words[r])*t;n-=0x3ffffff&o,l=(n>>26)-(o/0x4000000|0),this.words[r+a]=0x3ffffff&n}for(;r<this.length-a;r++)l=(n=(0|this.words[r+a])+l)>>26,this.words[r+a]=0x3ffffff&n;if(0===l)return this.strip();for(i(-1===l),l=0,r=0;r<this.length;r++)l=(n=-(0|this.words[r])+l)>>26,this.words[r]=0x3ffffff&n;return this.negative=1,this.strip()},n.prototype._wordDiv=function(e,t){var a,i=this.length-e.length,r=this.clone(),s=e,l=0|s.words[s.length-1];0!=(i=26-this._countBits(l))&&(s=s.ushln(i),r.iushln(i),l=0|s.words[s.length-1]);var o=r.length-s.length;if("mod"!==t){(a=new n(null)).length=o+1,a.words=Array(a.length);for(var c=0;c<a.length;c++)a.words[c]=0}var d=r.clone()._ishlnsubmul(s,1,o);0===d.negative&&(r=d,a&&(a.words[o]=1));for(var u=o-1;u>=0;u--){var h=(0|r.words[s.length+u])*0x4000000+(0|r.words[s.length+u-1]);for(h=Math.min(h/l|0,0x3ffffff),r._ishlnsubmul(s,h,u);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,u),r.isZero()||(r.negative^=1);a&&(a.words[u]=h)}return a&&a.strip(),r.strip(),"div"!==t&&0!==i&&r.iushrn(i),{div:a||null,mod:r}},n.prototype.divmod=function(e,t,a){var r,s,l;return(i(!e.isZero()),this.isZero())?{div:new n(0),mod:new n(0)}:0!==this.negative&&0===e.negative?(l=this.neg().divmod(e,t),"mod"!==t&&(r=l.div.neg()),"div"!==t&&(s=l.mod.neg(),a&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(l=this.divmod(e.neg(),t),"mod"!==t&&(r=l.div.neg()),{div:r,mod:l.mod}):(this.negative&e.negative)!=0?(l=this.neg().divmod(e.neg(),t),"div"!==t&&(s=l.mod.neg(),a&&0!==s.negative&&s.isub(e)),{div:l.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new n(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new n(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new n(this.modn(e.words[0]))}:this._wordDiv(e,t)},n.prototype.div=function(e){return this.divmod(e,"div",!1).div},n.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},n.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},n.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var a=0!==t.div.negative?t.mod.isub(e):t.mod,i=e.ushrn(1),r=e.andln(1),n=a.cmp(i);return n<0||1===r&&0===n?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},n.prototype.modn=function(e){i(e<=0x3ffffff);for(var t=0x4000000%e,a=0,r=this.length-1;r>=0;r--)a=(t*a+(0|this.words[r]))%e;return a},n.prototype.idivn=function(e){i(e<=0x3ffffff);for(var t=0,a=this.length-1;a>=0;a--){var r=(0|this.words[a])+0x4000000*t;this.words[a]=r/e|0,t=r%e}return this.strip()},n.prototype.divn=function(e){return this.clone().idivn(e)},n.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,a=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new n(1),s=new n(0),l=new n(0),o=new n(1),c=0;t.isEven()&&a.isEven();)t.iushrn(1),a.iushrn(1),++c;for(var d=a.clone(),u=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(u)),r.iushrn(1),s.iushrn(1);for(var p=0,m=1;(a.words[0]&m)==0&&p<26;++p,m<<=1);if(p>0)for(a.iushrn(p);p-- >0;)(l.isOdd()||o.isOdd())&&(l.iadd(d),o.isub(u)),l.iushrn(1),o.iushrn(1);t.cmp(a)>=0?(t.isub(a),r.isub(l),s.isub(o)):(a.isub(t),l.isub(r),o.isub(s))}return{a:l,b:o,gcd:a.iushln(c)}},n.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t,a=this,r=e.clone();a=0!==a.negative?a.umod(e):a.clone();for(var s=new n(1),l=new n(0),o=r.clone();a.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,d=1;(a.words[0]&d)==0&&c<26;++c,d<<=1);if(c>0)for(a.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(o),s.iushrn(1);for(var u=0,h=1;(r.words[0]&h)==0&&u<26;++u,h<<=1);if(u>0)for(r.iushrn(u);u-- >0;)l.isOdd()&&l.iadd(o),l.iushrn(1);a.cmp(r)>=0?(a.isub(r),s.isub(l)):(r.isub(a),l.isub(s))}return 0>(t=0===a.cmpn(1)?s:l).cmpn(0)&&t.iadd(e),t},n.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),a=e.clone();t.negative=0,a.negative=0;for(var i=0;t.isEven()&&a.isEven();i++)t.iushrn(1),a.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;a.isEven();)a.iushrn(1);var r=t.cmp(a);if(r<0){var n=t;t=a,a=n}else if(0===r||0===a.cmpn(1))break;t.isub(a)}return a.iushln(i)},n.prototype.invm=function(e){return this.egcd(e).a.umod(e)},n.prototype.isEven=function(){return(1&this.words[0])==0},n.prototype.isOdd=function(){return(1&this.words[0])==1},n.prototype.andln=function(e){return this.words[0]&e},n.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,a=(e-t)/26,r=1<<t;if(this.length<=a)return this._expand(a+1),this.words[a]|=r,this;for(var n=r,s=a;0!==n&&s<this.length;s++){var l=0|this.words[s];l+=n,n=l>>>26,l&=0x3ffffff,this.words[s]=l}return 0!==n&&(this.words[s]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.prototype.cmpn=function(e){var t,a=e<0;if(0!==this.negative&&!a)return -1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)t=1;else{a&&(e=-e),i(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:r<e?-1:1}return 0!==this.negative?0|-t:t},n.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},n.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,a=this.length-1;a>=0;a--){var i=0|this.words[a],r=0|e.words[a];if(i!==r){i<r?t=-1:i>r&&(t=1);break}}return t},n.prototype.gtn=function(e){return 1===this.cmpn(e)},n.prototype.gt=function(e){return 1===this.cmp(e)},n.prototype.gten=function(e){return this.cmpn(e)>=0},n.prototype.gte=function(e){return this.cmp(e)>=0},n.prototype.ltn=function(e){return -1===this.cmpn(e)},n.prototype.lt=function(e){return -1===this.cmp(e)},n.prototype.lten=function(e){return 0>=this.cmpn(e)},n.prototype.lte=function(e){return 0>=this.cmp(e)},n.prototype.eqn=function(e){return 0===this.cmpn(e)},n.prototype.eq=function(e){return 0===this.cmp(e)},n.red=function(e){return new E(e)},n.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},n.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(e){return this.red=e,this},n.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},n.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},n.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},n.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},n.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},n.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},n.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},n.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},n.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new n(t,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function x(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function A(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=n._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new n(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new n(null);return e.words=Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,a=e;do this.split(a,this.tmp),t=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength();while(t>this.n)var i=t<this.n?-1:a.ucmp(this.p);return 0===i?(a.words[0]=0,a.length=1):i>0?a.isub(this.p):void 0!==a.strip?a.strip():a._strip(),a},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},r(x,y),x.prototype.split=function(e,t){for(var a=4194303,i=Math.min(e.length,9),r=0;r<i;r++)t.words[r]=e.words[r];if(t.length=i,e.length<=9){e.words[0]=0,e.length=1;return}var n=e.words[9];for(r=10,t.words[t.length++]=n&a;r<e.length;r++){var s=0|e.words[r];e.words[r-10]=(s&a)<<4|n>>>22,n=s}n>>>=22,e.words[r-10]=n,0===n&&e.length>10?e.length-=10:e.length-=9},x.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,a=0;a<e.length;a++){var i=0|e.words[a];t+=977*i,e.words[a]=0x3ffffff&t,t=64*i+(t/0x4000000|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},r(v,y),r(A,y),r(w,y),w.prototype.imulK=function(e){for(var t=0,a=0;a<e.length;a++){var i=(0|e.words[a])*19+t,r=0x3ffffff&i;i>>>=26,e.words[a]=r,t=i}return 0!==t&&(e.words[e.length++]=t),e},n._prime=function(e){var t;if(_[e])return _[e];if("k256"===e)t=new x;else if("p224"===e)t=new v;else if("p192"===e)t=new A;else if("p25519"===e)t=new w;else throw Error("Unknown prime "+e);return _[e]=t,t},E.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){i((e.negative|t.negative)==0,"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var a=e.add(t);return a.cmp(this.m)>=0&&a.isub(this.m),a._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var a=e.iadd(t);return a.cmp(this.m)>=0&&a.isub(this.m),a},E.prototype.sub=function(e,t){this._verify2(e,t);var a=e.sub(t);return 0>a.cmpn(0)&&a.iadd(this.m),a._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var a=e.isub(t);return 0>a.cmpn(0)&&a.iadd(this.m),a},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var a=this.m.add(new n(1)).iushrn(2);return this.pow(e,a)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);i(!r.isZero());var l=new n(1).toRed(this),o=l.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new n(2*d*d).toRed(this);0!==this.pow(d,c).cmp(o);)d.redIAdd(o);for(var u=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),p=s;0!==f.cmp(l);){for(var m=f,g=0;0!==m.cmp(l);g++)m=m.redSqr();i(g<p);var b=this.pow(u,new n(1).iushln(p-g-1));h=h.redMul(b),u=b.redSqr(),f=f.redMul(u),p=g}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new n(1).toRed(this);if(0===t.cmpn(1))return e.clone();var a=4,i=Array(16);i[0]=new n(1).toRed(this),i[1]=e;for(var r=2;r<i.length;r++)i[r]=this.mul(i[r-1],e);var s=i[0],l=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var d=t.words[r],u=c-1;u>=0;u--){var h=d>>u&1;if(s!==i[0]&&(s=this.sqr(s)),0===h&&0===l){o=0;continue}l<<=1,l|=h,(++o===a||0===r&&0===u)&&(s=this.mul(s,i[l]),o=0,l=0)}c=26}return s},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},n.mont=function(e){return new S(e)},r(S,E),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var a=e.imul(t),i=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=a.isub(i).iushrn(this.shift),n=r;return r.cmp(this.m)>=0?n=r.isub(this.m):0>r.cmpn(0)&&(n=r.iadd(this.m)),n._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new n(0)._forceRed(this);var a=e.mul(t),i=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=a.isub(i).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=a.nmd(e),this)},1670:function(e,t,a){!function(e,t){"use strict";function i(e,t){if(!e)throw Error(t||"Assertion failed")}function r(e,t){e.super_=t;var a=function(){};a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e}function n(e,t,a){if(n.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(a=t,t=10),this._init(e||0,t||10,a||"be"))}
vendor: 4,216 bytes, line 6
6"object"==typeof e?e.exports=n:t.BN=n,n.BN=n,n.wordSize=26;try{d=a(4300).Buffer}catch(e){}function s(e,t,a){for(var r=0,n=Math.min(e.length,a),s=0,l=t;l<n;l++){var o,c=e.charCodeAt(l)-48;r<<=4,r|=o=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,s|=o}return i(!(240&s),"Invalid character in "+e),r}function l(e,t,a,r){for(var n=0,s=0,l=Math.min(e.length,a),o=t;o<l;o++){var c=e.charCodeAt(o)-48;n*=r,s=c>=49?c-49+10:c>=17?c-17+10:c,i(c>=0&&s<r,"Invalid character"),n+=s}return n}function o(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function c(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}n.isBN=function(e){return e instanceof n||null!==e&&"object"==typeof e&&e.constructor.wordSize===n.wordSize&&Array.isArray(e.words)},n.max=function(e,t){return e.cmp(t)>0?e:t},n.min=function(e,t){return 0>e.cmp(t)?e:t},n.prototype._init=function(e,t,a){if("number"==typeof e)return this._initNumber(e,t,a);if("object"==typeof e)return this._initArray(e,t,a);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&r++,16===t?this._parseHex(e,r):this._parseBase(e,t,r),"-"===e[0]&&(this.negative=1),this._strip(),"le"===a&&this._initArray(this.toArray(),t,a)},n.prototype._initNumber=function(e,t,a){e<0&&(this.negative=1,e=-e),e<0x4000000?(this.words=[0x3ffffff&e],this.length=1):e<0x10000000000000?(this.words=[0x3ffffff&e,e/0x4000000&0x3ffffff],this.length=2):(i(e<0x20000000000000),this.words=[0x3ffffff&e,e/0x4000000&0x3ffffff,1],this.length=3),"le"===a&&this._initArray(this.toArray(),t,a)},n.prototype._initArray=function(e,t,a){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var r,n,s=0;s<this.length;s++)this.words[s]=0;var l=0;if("be"===a)for(s=e.length-1,r=0;s>=0;s-=3)n=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=n<<l&0x3ffffff,this.words[r+1]=n>>>26-l&0x3ffffff,(l+=24)>=26&&(l-=26,r++);else if("le"===a)for(s=0,r=0;s<e.length;s+=3)n=e[s]|e[s+1]<<8|e[s+2]<<16,this.words[r]|=n<<l&0x3ffffff,this.words[r+1]=n>>>26-l&0x3ffffff,(l+=24)>=26&&(l-=26,r++);return this._strip()},n.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var a,i,r=0;r<this.length;r++)this.words[r]=0;var n=0;for(r=e.length-6,a=0;r>=t;r-=6)i=s(e,r,r+6),this.words[a]|=i<<n&0x3ffffff,this.words[a+1]|=i>>>26-n&4194303,(n+=24)>=26&&(n-=26,a++);r+6!==t&&(i=s(e,t,r+6),this.words[a]|=i<<n&0x3ffffff,this.words[a+1]|=i>>>26-n&4194303),this._strip()},n.prototype._parseBase=function(e,t,a){this.words=[0],this.length=1;for(var i=0,r=1;r<=0x3ffffff;r*=t)i++;i--,r=r/t|0;for(var n=e.length-a,s=n%i,o=Math.min(n,n-s)+a,c=0,d=a;d<o;d+=i)c=l(e,d,d+i,t),this.imuln(r),this.words[0]+c<0x4000000?this.words[0]+=c:this._iaddn(c);if(0!==s){var u=1;for(c=l(e,d,e.length,t),d=0;d<s;d++)u*=t;this.imuln(u),this.words[0]+c<0x4000000?this.words[0]+=c:this._iaddn(c)}},n.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},n.prototype._move=function(e){o(e,this)},n.prototype.clone=function(){var e=new n(null);return this.copy(e),e},n.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},n.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"u">typeof Symbol&&"function"==typeof Symbol.for?n.prototype[Symbol.for("nodejs.util.inspect.custom")]=c:n.prototype.inspect=c;var d,u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,0x2000000,0x290d741,0x1000000,
vendor: 38,084 bytes, line 6
60x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];n.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var a="",r=0,n=0,s=0;s<this.length;s++){var l=this.words[s],o=((l<<r|n)&0xffffff).toString(16);a=0!=(n=l>>>24-r&0xffffff)||s!==this.length-1?u[6-o.length]+o+a:o+a,(r+=2)>=26&&(r-=26,s--)}for(0!==n&&(a=n.toString(16)+a);a.length%t!=0;)a="0"+a;return 0!==this.negative&&(a="-"+a),a}if(e===(0|e)&&e>=2&&e<=36){var c=h[e],d=f[e];a="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(d).toString(e);a=(p=p.idivn(d)).isZero()?m+a:u[c-m.length]+m+a}for(this.isZero()&&(a="0"+a);a.length%t!=0;)a="0"+a;return 0!==this.negative&&(a="-"+a),a}i(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},n.prototype.toJSON=function(){return this.toString(16,2)},d&&(n.prototype.toBuffer=function(e,t){return this.toArrayLike(d,e,t)}),n.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var p=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function m(e){for(var t=Array(e.bitLength()),a=0;a<t.length;a++){var i=a/26|0,r=a%26;t[a]=e.words[i]>>>r&1}return t}function g(e,t,a){a.negative=t.negative^e.negative;var i=e.length+t.length|0;a.length=i,i=i-1|0;var r=0|e.words[0],n=0|t.words[0],s=r*n,l=0x3ffffff&s,o=s/0x4000000|0;a.words[0]=l;for(var c=1;c<i;c++){for(var d=o>>>26,u=0x3ffffff&o,h=Math.min(c,t.length-1),f=Math.max(0,c-e.length+1);f<=h;f++){var p=c-f|0;d+=(s=(r=0|e.words[p])*(n=0|t.words[f])+u)/0x4000000|0,u=0x3ffffff&s}a.words[c]=0|u,o=0|d}return 0!==o?a.words[c]=0|o:a.length--,a._strip()}n.prototype.toArrayLike=function(e,t,a){this._strip();var r=this.byteLength(),n=a||Math.max(1,r);i(r<=n,"byte array longer than desired length"),i(n>0,"Requested array length <= 0");var s=p(e,n);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,r),s},n.prototype._toArrayLikeLE=function(e,t){for(var a=0,i=0,r=0,n=0;r<this.length;r++){var s=this.words[r]<<n|i;e[a++]=255&s,a<e.length&&(e[a++]=s>>8&255),a<e.length&&(e[a++]=s>>16&255),6===n?(a<e.length&&(e[a++]=s>>24&255),i=0,n=0):(i=s>>>24,n+=2)}if(a<e.length)for(e[a++]=i;a<e.length;)e[a++]=0},n.prototype._toArrayLikeBE=function(e,t){for(var a=e.length-1,i=0,r=0,n=0;r<this.length;r++){var s=this.words[r]<<n|i;e[a--]=255&s,a>=0&&(e[a--]=s>>8&255),a>=0&&(e[a--]=s>>16&255),6===n?(a>=0&&(e[a--]=s>>24&255),i=0,n=0):(i=s>>>24,n+=2)}if(a>=0)for(e[a--]=i;a>=0;)e[a--]=0},Math.clz32?n.prototype._countBits=function(e){return 32-Math.clz32(e)}:n.prototype._countBits=function(e){var t=e,a=0;return t>=4096&&(a+=13,t>>>=13),t>=64&&(a+=7,t>>>=7),t>=8&&(a+=4,t>>>=4),t>=2&&(a+=2,t>>>=2),a+t},n.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,a=0;return(8191&t)==0&&(a+=13,t>>>=13),(127&t)==0&&(a+=7,t>>>=7),(15&t)==0&&(a+=4,t>>>=4),(3&t)==0&&(a+=2,t>>>=2),(1&t)==0&&a++,a},n.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var a=this._zeroBits(this.words[t]);if(e+=a,26!==a)break}return e},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},n.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return 0!==this.negative},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},n.prototype.ior=function(e){return i((this.negative|e.negative)==0),this.iuor(e)},n.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},n.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},n.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var a=0;a<t.length;a++)this.words[a]=this.words[a]&e.words[a];return this.length=t.length,this._strip()},n.prototype.iand=function(e){return i((this.negative|e.negative)==0),this.iuand(e)},n.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},n.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},n.prototype.iuxor=function(e){this.length>e.length?(t=this,a=e):(t=e,a=this);for(var t,a,i=0;i<a.length;i++)this.words[i]=t.words[i]^a.words[i];if(this!==t)for(;i<t.length;i++)this.words[i]=t.words[i];return this.length=t.length,this._strip()},n.prototype.ixor=function(e){return i((this.negative|e.negative)==0),this.iuxor(e)},n.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},n.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},n.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),a=e%26;this._expand(t),a>0&&t--;for(var r=0;r<t;r++)this.words[r]=0x3ffffff&~this.words[r];return a>0&&(this.words[r]=~this.words[r]&0x3ffffff>>26-a),this._strip()},n.prototype.notn=function(e){return this.clone().inotn(e)},n.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var a=e/26|0,r=e%26;return this._expand(a+1),t?this.words[a]=this.words[a]|1<<r:this.words[a]=this.words[a]&~(1<<r),this._strip()},n.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(a=this,i=e):(a=e,i=this);for(var t,a,i,r=0,n=0;n<i.length;n++)t=(0|a.words[n])+(0|i.words[n])+r,this.words[n]=0x3ffffff&t,r=t>>>26;for(;0!==r&&n<a.length;n++)t=(0|a.words[n])+r,this.words[n]=0x3ffffff&t,r=t>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;n<a.length;n++)this.words[n]=a.words[n];return this},n.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},n.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,a,i=this.iadd(e);return e.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,a=e):(t=e,a=this);for(var n=0,s=0;s<a.length;s++)n=(i=(0|t.words[s])-(0|a.words[s])+n)>>26,this.words[s]=0x3ffffff&i;for(;0!==n&&s<t.length;s++)n=(i=(0|t.words[s])+n)>>26,this.words[s]=0x3ffffff&i;if(0===n&&s<t.length&&t!==this)for(;s<t.length;s++)this.words[s]=t.words[s];return this.length=Math.max(this.length,s),t!==this&&(this.negative=1),this._strip()},n.prototype.sub=function(e){return this.clone().isub(e)};var b=function(e,t,a){var i,r,n,s=e.words,l=t.words,o=a.words,c=0,d=0|s[0],u=8191&d,h=d>>>13,f=0|s[1],p=8191&f,m=f>>>13,g=0|s[2],b=8191&g,_=g>>>13,y=0|s[3],x=8191&y,v=y>>>13,A=0|s[4],w=8191&A,E=A>>>13,S=0|s[5],C=8191&S,T=S>>>13,N=0|s[6],k=8191&N,I=N>>>13,j=0|s[7],P=8191&j,L=j>>>13,O=0|s[8],D=8191&O,M=O>>>13,R=0|s[9],F=8191&R,B=R>>>13,U=0|l[0],H=8191&U,$=U>>>13,G=0|l[1],W=8191&G,Y=G>>>13,z=0|l[2],V=8191&z,K=z>>>13,q=0|l[3],Q=8191&q,Z=q>>>13,X=0|l[4],J=8191&X,ee=X>>>13,et=0|l[5],ea=8191&et,ei=et>>>13,er=0|l[6],en=8191&er,es=er>>>13,el=0|l[7],eo=8191&el,ec=el>>>13,ed=0|l[8],eu=8191&ed,eh=ed>>>13,ef=0|l[9],ep=8191&ef,em=ef>>>13;a.negative=e.negative^t.negative,a.length=19,i=Math.imul(u,H);var eg=(c+i|0)+((8191&(r=(r=Math.imul(u,$))+Math.imul(h,H)|0))<<13)|0;c=((n=Math.imul(h,$))+(r>>>13)|0)+(eg>>>26)|0,eg&=0x3ffffff,i=Math.imul(p,H),r=(r=Math.imul(p,$))+Math.imul(m,H)|0,n=Math.imul(m,$),i=i+Math.imul(u,W)|0;var eb=(c+i|0)+((8191&(r=(r=r+Math.imul(u,Y)|0)+Math.imul(h,W)|0))<<13)|0;c=((n=n+Math.imul(h,Y)|0)+(r>>>13)|0)+(eb>>>26)|0,eb&=0x3ffffff,i=Math.imul(b,H),r=(r=Math.imul(b,$))+Math.imul(_,H)|0,n=Math.imul(_,$),i=i+Math.imul(p,W)|0,r=(r=r+Math.imul(p,Y)|0)+Math.imul(m,W)|0,n=n+Math.imul(m,Y)|0,i=i+Math.imul(u,V)|0;var e_=(c+i|0)+((8191&(r=(r=r+Math.imul(u,K)|0)+Math.imul(h,V)|0))<<13)|0;c=((n=n+Math.imul(h,K)|0)+(r>>>13)|0)+(e_>>>26)|0,e_&=0x3ffffff,i=Math.imul(x,H),r=(r=Math.imul(x,$))+Math.imul(v,H)|0,n=Math.imul(v,$),i=i+Math.imul(b,W)|0,r=(r=r+Math.imul(b,Y)|0)+Math.imul(_,W)|0,n=n+Math.imul(_,Y)|0,i=i+Math.imul(p,V)|0,r=(r=r+Math.imul(p,K)|0)+Math.imul(m,V)|0,n=n+Math.imul(m,K)|0,i=i+Math.imul(u,Q)|0;var ey=(c+i|0)+((8191&(r=(r=r+Math.imul(u,Z)|0)+Math.imul(h,Q)|0))<<13)|0;c=((n=n+Math.imul(h,Z)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,i=Math.imul(w,H),r=(r=Math.imul(w,$))+Math.imul(E,H)|0,n=Math.imul(E,$),i=i+Math.imul(x,W)|0,r=(r=r+Math.imul(x,Y)|0)+Math.imul(v,W)|0,n=n+Math.imul(v,Y)|0,i=i+Math.imul(b,V)|0,r=(r=r+Math.imul(b,K)|0)+Math.imul(_,V)|0,n=n+Math.imul(_,K)|0,i=i+Math.imul(p,Q)|0,r=(r=r+Math.imul(p,Z)|0)+Math.imul(m,Q)|0,n=n+Math.imul(m,Z)|0,i=i+Math.imul(u,J)|0;var ex=(c+i|0)+((8191&(r=(r=r+Math.imul(u,ee)|0)+Math.imul(h,J)|0))<<13)|0;c=((n=n+Math.imul(h,ee)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,i=Math.imul(C,H),r=(r=Math.imul(C,$))+Math.imul(T,H)|0,n=Math.imul(T,$),i=i+Math.imul(w,W)|0,r=(r=r+Math.imul(w,Y)|0)+Math.imul(E,W)|0,n=n+Math.imul(E,Y)|0,i=i+Math.imul(x,V)|0,r=(r=r+Math.imul(x,K)|0)+Math.imul(v,V)|0,n=n+Math.imul(v,K)|0,i=i+Math.imul(b,Q)|0,r=(r=r+Math.imul(b,Z)|0)+Math.imul(_,Q)|0,n=n+Math.imul(_,Z)|0,i=i+Math.imul(p,J)|0,r=(r=r+Math.imul(p,ee)|0)+Math.imul(m,J)|0,n=n+Math.imul(m,ee)|0,i=i+Math.imul(u,ea)|0;var ev=(c+i|0)+((8191&(r=(r=r+Math.imul(u,ei)|0)+Math.imul(h,ea)|0))<<13)|0;c=((n=n+Math.imul(h,ei)|0)+(r>>>13)|0)+(ev>>>26)|0,ev&=0x3ffffff,i=Math.imul(k,H),r=(r=Math.imul(k,$))+Math.imul(I,H)|0,n=Math.imul(I,$),i=i+Math.imul(C,W)|0,r=(r=r+Math.imul(C,Y)|0)+Math.imul(T,W)|0,n=n+Math.imul(T,Y)|0,i=i+Math.imul(w,V)|0,r=(r=r+Math.imul(w,K)|0)+Math.imul(E,V)|0,n=n+Math.imul(E,K)|0,i=i+Math.imul(x,Q)|0,r=(r=r+Math.imul(x,Z)|0)+Math.imul(v,Q)|0,n=n+Math.imul(v,Z)|0,i=i+Math.imul(b,J)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(_,J)|0,n=n+Math.imul(_,ee)|0,i=i+Math.imul(p,ea)|0,r=(r=r+Math.imul(p,ei)|0)+Math.imul(m,ea)|0,n=n+Math.imul(m,ei)|0,i=i+Math.imul(u,en)|0;var eA=(c+i|0)+((8191&(r=(r=r+Math.imul(u,es)|0)+Math.imul(h,en)|0))<<13)|0;c=((n=n+Math.imul(h,es)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,i=Math.imul(P,H),r=(r=Math.imul(P,$))+Math.imul(L,H)|0,n=Math.imul(L,$),i=i+Math.imul(k,W)|0,r=(r=r+Math.imul(k,Y)|0)+Math.imul(I,W)|0,n=n+Math.imul(I,Y)|0,i=i+Math.imul(C,V)|0,r=(r=r+Math.imul(C,K)|0)+Math.imul(T,V)|0,n=n+Math.imul(T,K)|0,i=i+Math.imul(w,Q)|0,r=(r=r+Math.imul(w,Z)|0)+Math.imul(E,Q)|0,n=n+Math.imul(E,Z)|0,i=i+Math.imul(x,J)|0,r=(r=r+Math.imul(x,ee)|0)+Math.imul(v,J)|0,n=n+Math.imul(v,ee)|0,i=i+Math.imul(b,ea)|0,r=(r=r+Math.imul(b,ei)|0)+Math.imul(_,ea)|0,n=n+Math.imul(_,ei)|0,i=i+Math.imul(p,en)|0,r=(r=r+Math.imul(p,es)|0)+Math.imul(m,en)|0,n=n+Math.imul(m,es)|0,i=i+Math.imul(u,eo)|0;var ew=(c+i|0)+((8191&(r=(r=r+Math.imul(u,ec)|0)+Math.imul(h,eo)|0))<<13)|0;c=((n=n+Math.imul(h,ec)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,i=Math.imul(D,H),r=(r=Math.imul(D,$))+Math.imul(M,H)|0,n=Math.imul(M,$),i=i+Math.imul(P,W)|0,r=(r=r+Math.imul(P,Y)|0)+Math.imul(L,W)|0,n=n+Math.imul(L,Y)|0,i=i+Math.imul(k,V)|0,r=(r=r+Math.imul(k,K)|0)+Math.imul(I,V)|0,n=n+Math.imul(I,K)|0,i=i+Math.imul(C,Q)|0,r=(r=r+Math.imul(C,Z)|0)+Math.imul(T,Q)|0,n=n+Math.imul(T,Z)|0,i=i+Math.imul(w,J)|0,r=(r=r+Math.imul(w,ee)|0)+Math.imul(E,J)|0,n=n+Math.imul(E,ee)|0,i=i+Math.imul(x,ea)|0,r=(r=r+Math.imul(x,ei)|0)+Math.imul(v,ea)|0,n=n+Math.imul(v,ei)|0,i=i+Math.imul(b,en)|0,r=(r=r+Math.imul(b,es)|0)+Math.imul(_,en)|0,n=n+Math.imul(_,es)|0,i=i+Math.imul(p,eo)|0,r=(r=r+Math.imul(p,ec)|0)+Math.imul(m,eo)|0,n=n+Math.imul(m,ec)|0,i=i+Math.imul(u,eu)|0;var eE=(c+i|0)+((8191&(r=(r=r+Math.imul(u,eh)|0)+Math.imul(h,eu)|0))<<13)|0;c=((n=n+Math.imul(h,eh)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,i=Math.imul(F,H),r=(r=Math.imul(F,$))+Math.imul(B,H)|0,n=Math.imul(B,$),i=i+Math.imul(D,W)|0,r=(r=r+Math.imul(D,Y)|0)+Math.imul(M,W)|0,n=n+Math.imul(M,Y)|0,i=i+Math.imul(P,V)|0,r=(r=r+Math.imul(P,K)|0)+Math.imul(L,V)|0,n=n+Math.imul(L,K)|0,i=i+Math.imul(k,Q)|0,r=(r=r+Math.imul(k,Z)|0)+Math.imul(I,Q)|0,n=n+Math.imul(I,Z)|0,i=i+Math.imul(C,J)|0,r=(r=r+Math.imul(C,ee)|0)+Math.imul(T,J)|0,n=n+Math.imul(T,ee)|0,i=i+Math.imul(w,ea)|0,r=(r=r+Math.imul(w,ei)|0)+Math.imul(E,ea)|0,n=n+Math.imul(E,ei)|0,i=i+Math.imul(x,en)|0,r=(r=r+Math.imul(x,es)|0)+Math.imul(v,en)|0,n=n+Math.imul(v,es)|0,i=i+Math.imul(b,eo)|0,r=(r=r+Math.imul(b,ec)|0)+Math.imul(_,eo)|0,n=n+Math.imul(_,ec)|0,i=i+Math.imul(p,eu)|0,r=(r=r+Math.imul(p,eh)|0)+Math.imul(m,eu)|0,n=n+Math.imul(m,eh)|0,i=i+Math.imul(u,ep)|0;var eS=(c+i|0)+((8191&(r=(r=r+Math.imul(u,em)|0)+Math.imul(h,ep)|0))<<13)|0;c=((n=n+Math.imul(h,em)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,i=Math.imul(F,W),r=(r=Math.imul(F,Y))+Math.imul(B,W)|0,n=Math.imul(B,Y),i=i+Math.imul(D,V)|0,r=(r=r+Math.imul(D,K)|0)+Math.imul(M,V)|0,n=n+Math.imul(M,K)|0,i=i+Math.imul(P,Q)|0,r=(r=r+Math.imul(P,Z)|0)+Math.imul(L,Q)|0,n=n+Math.imul(L,Z)|0,i=i+Math.imul(k,J)|0,r=(r=r+Math.imul(k,ee)|0)+Math.imul(I,J)|0,n=n+Math.imul(I,ee)|0,i=i+Math.imul(C,ea)|0,r=(r=r+Math.imul(C,ei)|0)+Math.imul(T,ea)|0,n=n+Math.imul(T,ei)|0,i=i+Math.imul(w,en)|0,r=(r=r+Math.imul(w,es)|0)+Math.imul(E,en)|0,n=n+Math.imul(E,es)|0,i=i+Math.imul(x,eo)|0,r=(r=r+Math.imul(x,ec)|0)+Math.imul(v,eo)|0,n=n+Math.imul(v,ec)|0,i=i+Math.imul(b,eu)|0,r=(r=r+Math.imul(b,eh)|0)+Math.imul(_,eu)|0,n=n+Math.imul(_,eh)|0,i=i+Math.imul(p,ep)|0;var eC=(c+i|0)+((8191&(r=(r=r+Math.imul(p,em)|0)+Math.imul(m,ep)|0))<<13)|0;c=((n=n+Math.imul(m,em)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,i=Math.imul(F,V),r=(r=Math.imul(F,K))+Math.imul(B,V)|0,n=Math.imul(B,K),i=i+Math.imul(D,Q)|0,r=(r=r+Math.imul(D,Z)|0)+Math.imul(M,Q)|0,n=n+Math.imul(M,Z)|0,i=i+Math.imul(P,J)|0,r=(r=r+Math.imul(P,ee)|0)+Math.imul(L,J)|0,n=n+Math.imul(L,ee)|0,i=i+Math.imul(k,ea)|0,r=(r=r+Math.imul(k,ei)|0)+Math.imul(I,ea)|0,n=n+Math.imul(I,ei)|0,i=i+Math.imul(C,en)|0,r=(r=r+Math.imul(C,es)|0)+Math.imul(T,en)|0,n=n+Math.imul(T,es)|0,i=i+Math.imul(w,eo)|0,r=(r=r+Math.imul(w,ec)|0)+Math.imul(E,eo)|0,n=n+Math.imul(E,ec)|0,i=i+Math.imul(x,eu)|0,r=(r=r+Math.imul(x,eh)|0)+Math.imul(v,eu)|0,n=n+Math.imul(v,eh)|0,i=i+Math.imul(b,ep)|0;var eT=(c+i|0)+((8191&(r=(r=r+Math.imul(b,em)|0)+Math.imul(_,ep)|0))<<13)|0;c=((n=n+Math.imul(_,em)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,i=Math.imul(F,Q),r=(r=Math.imul(F,Z))+Math.imul(B,Q)|0,n=Math.imul(B,Z),i=i+Math.imul(D,J)|0,r=(r=r+Math.imul(D,ee)|0)+Math.imul(M,J)|0,n=n+Math.imul(M,ee)|0,i=i+Math.imul(P,ea)|0,r=(r=r+Math.imul(P,ei)|0)+Math.imul(L,ea)|0,n=n+Math.imul(L,ei)|0,i=i+Math.imul(k,en)|0,r=(r=r+Math.imul(k,es)|0)+Math.imul(I,en)|0,n=n+Math.imul(I,es)|0,i=i+Math.imul(C,eo)|0,r=(r=r+Math.imul(C,ec)|0)+Math.imul(T,eo)|0,n=n+Math.imul(T,ec)|0,i=i+Math.imul(w,eu)|0,r=(r=r+Math.imul(w,eh)|0)+Math.imul(E,eu)|0,n=n+Math.imul(E,eh)|0,i=i+Math.imul(x,ep)|0;var eN=(c+i|0)+((8191&(r=(r=r+Math.imul(x,em)|0)+Math.imul(v,ep)|0))<<13)|0;c=((n=n+Math.imul(v,em)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,i=Math.imul(F,J),r=(r=Math.imul(F,ee))+Math.imul(B,J)|0,n=Math.imul(B,ee),i=i+Math.imul(D,ea)|0,r=(r=r+Math.imul(D,ei)|0)+Math.imul(M,ea)|0,n=n+Math.imul(M,ei)|0,i=i+Math.imul(P,en)|0,r=(r=r+Math.imul(P,es)|0)+Math.imul(L,en)|0,n=n+Math.imul(L,es)|0,i=i+Math.imul(k,eo)|0,r=(r=r+Math.imul(k,ec)|0)+Math.imul(I,eo)|0,n=n+Math.imul(I,ec)|0,i=i+Math.imul(C,eu)|0,r=(r=r+Math.imul(C,eh)|0)+Math.imul(T,eu)|0,n=n+Math.imul(T,eh)|0,i=i+Math.imul(w,ep)|0;var ek=(c+i|0)+((8191&(r=(r=r+Math.imul(w,em)|0)+Math.imul(E,ep)|0))<<13)|0;c=((n=n+Math.imul(E,em)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,i=Math.imul(F,ea),r=(r=Math.imul(F,ei))+Math.imul(B,ea)|0,n=Math.imul(B,ei),i=i+Math.imul(D,en)|0,r=(r=r+Math.imul(D,es)|0)+Math.imul(M,en)|0,n=n+Math.imul(M,es)|0,i=i+Math.imul(P,eo)|0,r=(r=r+Math.imul(P,ec)|0)+Math.imul(L,eo)|0,n=n+Math.imul(L,ec)|0,i=i+Math.imul(k,eu)|0,r=(r=r+Math.imul(k,eh)|0)+Math.imul(I,eu)|0,n=n+Math.imul(I,eh)|0,i=i+Math.imul(C,ep)|0;var eI=(c+i|0)+((8191&(r=(r=r+Math.imul(C,em)|0)+Math.imul(T,ep)|0))<<13)|0;c=((n=n+Math.imul(T,em)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,i=Math.imul(F,en),r=(r=Math.imul(F,es))+Math.imul(B,en)|0,n=Math.imul(B,es),i=i+Math.imul(D,eo)|0,r=(r=r+Math.imul(D,ec)|0)+Math.imul(M,eo)|0,n=n+Math.imul(M,ec)|0,i=i+Math.imul(P,eu)|0,r=(r=r+Math.imul(P,eh)|0)+Math.imul(L,eu)|0,n=n+Math.imul(L,eh)|0,i=i+Math.imul(k,ep)|0;var ej=(c+i|0)+((8191&(r=(r=r+Math.imul(k,em)|0)+Math.imul(I,ep)|0))<<13)|0;c=((n=n+Math.imul(I,em)|0)+(r>>>13)|0)+(ej>>>26)|0,ej&=0x3ffffff,i=Math.imul(F,eo),r=(r=Math.imul(F,ec))+Math.imul(B,eo)|0,n=Math.imul(B,ec),i=i+Math.imul(D,eu)|0,r=(r=r+Math.imul(D,eh)|0)+Math.imul(M,eu)|0,n=n+Math.imul(M,eh)|0,i=i+Math.imul(P,ep)|0;var eP=(c+i|0)+((8191&(r=(r=r+Math.imul(P,em)|0)+Math.imul(L,ep)|0))<<13)|0;c=((n=n+Math.imul(L,em)|0)+(r>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,i=Math.imul(F,eu),r=(r=Math.imul(F,eh))+Math.imul(B,eu)|0,n=Math.imul(B,eh),i=i+Math.imul(D,ep)|0;var eL=(c+i|0)+((8191&(r=(r=r+Math.imul(D,em)|0)+Math.imul(M,ep)|0))<<13)|0;c=((n=n+Math.imul(M,em)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,i=Math.imul(F,ep);var eO=(c+i|0)+((8191&(r=(r=Math.imul(F,em))+Math.imul(B,ep)|0))<<13)|0;return c=((n=Math.imul(B,em))+(r>>>13)|0)+(eO>>>26)|0,eO&=0x3ffffff,o[0]=eg,o[1]=eb,o[2]=e_,o[3]=ey,o[4]=ex,o[5]=ev,o[6]=eA,o[7]=ew,o[8]=eE,o[9]=eS,o[10]=eC,o[11]=eT,o[12]=eN,o[13]=ek,o[14]=eI,o[15]=ej,o[16]=eP,o[17]=eL,o[18]=eO,0!==c&&(o[19]=c,a.length++),a};function _(e,t,a){a.negative=t.negative^e.negative,a.length=e.length+t.length;for(var i=0,r=0,n=0;n<a.length-1;n++){var s=r;r=0;for(var l=0x3ffffff&i,o=Math.min(n,t.length-1),c=Math.max(0,n-e.length+1);c<=o;c++){var d=n-c,u=(0|e.words[d])*(0|t.words[c]),h=0x3ffffff&u;s=s+(u/0x4000000|0)|0,l=0x3ffffff&(h=h+l|0),r+=(s=s+(h>>>26)|0)>>>26,s&=0x3ffffff}a.words[n]=l,i=s,s=r}return 0!==i?a.words[n]=i:a.length--,a._strip()}function y(e,t,a){return _(e,t,a)}function x(e,t){this.x=e,this.y=t}Math.imul||(b=g),n.prototype.mulTo=function(e,t){var a=this.length+e.length;return 10===this.length&&10===e.length?b(this,e,t):a<63?g(this,e,t):a<1024?_(this,e,t):y(this,e,t)},x.prototype.makeRBT=function(e){for(var t=Array(e),a=n.prototype._countBits(e)-1,i=0;i<e;i++)t[i]=this.revBin(i,a,e);return t},x.prototype.revBin=function(e,t,a){if(0===e||e===a-1)return e;for(var i=0,r=0;r<t;r++)i|=(1&e)<<t-r-1,e>>=1;return i},x.prototype.permute=function(e,t,a,i,r,n){for(var s=0;s<n;s++)i[s]=t[e[s]],r[s]=a[e[s]]},x.prototype.transform=function(e,t,a,i,r,n){this.permute(n,e,t,a,i,r);for(var s=1;s<r;s<<=1)for(var l=s<<1,o=Math.cos(2*Math.PI/l),c=Math.sin(2*Math.PI/l),d=0;d<r;d+=l)for(var u=o,h=c,f=0;f<s;f++){var p=a[d+f],m=i[d+f],g=a[d+f+s],b=i[d+f+s],_=u*g-h*b;b=u*b+h*g,g=_,a[d+f]=p+g,i[d+f]=m+b,a[d+f+s]=p-g,i[d+f+s]=m-b,f!==l&&(_=o*u-c*h,h=o*h+c*u,u=_)}},x.prototype.guessLen13b=function(e,t){var a=1|Math.max(t,e),i=1&a,r=0;for(a=a/2|0;a;a>>>=1)r++;return 1<<r+1+i},x.prototype.conjugate=function(e,t,a){if(!(a<=1))for(var i=0;i<a/2;i++){var r=e[i];e[i]=e[a-i-1],e[a-i-1]=r,r=t[i],t[i]=-t[a-i-1],t[a-i-1]=-r}},x.prototype.normalize13b=function(e,t){for(var a=0,i=0;i<t/2;i++){var r=8192*Math.round(e[2*i+1]/t)+Math.round(e[2*i]/t)+a;e[i]=0x3ffffff&r,a=r<0x4000000?0:r/0x4000000|0}return e},x.prototype.convert13b=function(e,t,a,r){for(var n=0,s=0;s<t;s++)n+=0|e[s],a[2*s]=8191&n,n>>>=13,a[2*s+1]=8191&n,n>>>=13;for(s=2*t;s<r;++s)a[s]=0;i(0===n),i((-8192&n)==0)},x.prototype.stub=function(e){for(var t=Array(e),a=0;a<e;a++)t[a]=0;return t},x.prototype.mulp=function(e,t,a){var i=2*this.guessLen13b(e.length,t.length),r=this.makeRBT(i),n=this.stub(i),s=Array(i),l=Array(i),o=Array(i),c=Array(i),d=Array(i),u=Array(i),h=a.words;h.length=i,this.convert13b(e.words,e.length,s,i),this.convert13b(t.words,t.length,c,i),this.transform(s,n,l,o,i,r),this.transform(c,n,d,u,i,r);for(var f=0;f<i;f++){var p=l[f]*d[f]-o[f]*u[f];o[f]=l[f]*u[f]+o[f]*d[f],l[f]=p}return this.conjugate(l,o,i),this.transform(l,o,h,n,i,r),this.conjugate(h,n,i),this.normalize13b(h,i),a.negative=e.negative^t.negative,a.length=e.length+t.length,a._strip()},n.prototype.mul=function(e){var t=new n(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},n.prototype.mulf=function(e){var t=new n(null);return t.words=Array(this.length+e.length),y(this,e,t)},n.prototype.imul=function(e){return this.clone().mulTo(e,this)},n.prototype.imuln=function(e){var t=e<0;t&&(e=-e),i("number"==typeof e),i(e<0x4000000);for(var a=0,r=0;r<this.length;r++){var n=(0|this.words[r])*e,s=(0x3ffffff&n)+(0x3ffffff&a);a>>=26,a+=(n/0x4000000|0)+(s>>>26),this.words[r]=0x3ffffff&s}return 0!==a&&(this.words[r]=a,this.length++),t?this.ineg():this},n.prototype.muln=function(e){return this.clone().imuln(e)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(e){var t=m(e);if(0===t.length)return new n(1);for(var a=this,i=0;i<t.length&&0===t[i];i++,a=a.sqr());if(++i<t.length)for(var r=a.sqr();i<t.length;i++,r=r.sqr())0!==t[i]&&(a=a.mul(r));return a},n.prototype.iushln=function(e){i("number"==typeof e&&e>=0);var t,a=e%26,r=(e-a)/26,n=0x3ffffff>>>26-a<<26-a;if(0!==a){var s=0;for(t=0;t<this.length;t++){var l=this.words[t]&n,o=(0|this.words[t])-l<<a;this.words[t]=o|s,s=l>>>26-a}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t<r;t++)this.words[t]=0;this.length+=r}return this._strip()},n.prototype.ishln=function(e){return i(0===this.negative),this.iushln(e)},n.prototype.iushrn=function(e,t,a){i("number"==typeof e&&e>=0);var r=t?(t-t%26)/26:0,n=e%26,s=Math.min((e-n)/26,this.length),l=0x3ffffff^0x3ffffff>>>n<<n,o=a;if(r-=s,r=Math.max(0,r),o){for(var c=0;c<s;c++)o.words[c]=this.words[c];o.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];else this.words[0]=0,this.length=1;var d=0;for(c=this.length-1;c>=0&&(0!==d||c>=r);c--){var u=0|this.words[c];this.words[c]=d<<26-n|u>>>n,d=u&l}return o&&0!==d&&(o.words[o.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},n.prototype.ishrn=function(e,t,a){return i(0===this.negative),this.iushrn(e,t,a)},n.prototype.shln=function(e){return this.clone().ishln(e)},n.prototype.ushln=function(e){return this.clone().iushln(e)},n.prototype.shrn=function(e){return this.clone().ishrn(e)},n.prototype.ushrn=function(e){return this.clone().iushrn(e)},n.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,a=(e-t)/26,r=1<<t;return!(this.length<=a)&&!!(this.words[a]&r)},n.prototype.imaskn=function(e){i("number"==typeof e&&e>=0);var t=e%26,a=(e-t)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=a)return this;if(0!==t&&a++,this.length=Math.min(a,this.length),0!==t){var r=0x3ffffff^0x3ffffff>>>t<<t;this.words[this.length-1]&=r}return this._strip()},n.prototype.maskn=function(e){return this.clone().imaskn(e)},n.prototype.iaddn=function(e){return(i("number"==typeof e),i(e<0x4000000),e<0)?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},n.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},n.prototype.isubn=function(e){if(i("number"==typeof e),i(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=0x4000000,this.words[t+1]-=1;return this._strip()},n.prototype.addn=function(e){return this.clone().iaddn(e)},n.prototype.subn=function(e){return this.clone().isubn(e)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(e,t,a){var r,n,s=e.length+a;this._expand(s);var l=0;for(r=0;r<e.length;r++){n=(0|this.words[r+a])+l;var o=(0|e.words[r])*t;n-=0x3ffffff&o,l=(n>>26)-(o/0x4000000|0),this.words[r+a]=0x3ffffff&n}for(;r<this.length-a;r++)l=(n=(0|this.words[r+a])+l)>>26,this.words[r+a]=0x3ffffff&n;if(0===l)return this._strip();for(i(-1===l),l=0,r=0;r<this.length;r++)l=(n=-(0|this.words[r])+l)>>26,this.words[r]=0x3ffffff&n;return this.negative=1,this._strip()},n.prototype._wordDiv=function(e,t){var a,i=this.length-e.length,r=this.clone(),s=e,l=0|s.words[s.length-1];0!=(i=26-this._countBits(l))&&(s=s.ushln(i),r.iushln(i),l=0|s.words[s.length-1]);var o=r.length-s.length;if("mod"!==t){(a=new n(null)).length=o+1,a.words=Array(a.length);for(var c=0;c<a.length;c++)a.words[c]=0}var d=r.clone()._ishlnsubmul(s,1,o);0===d.negative&&(r=d,a&&(a.words[o]=1));for(var u=o-1;u>=0;u--){var h=(0|r.words[s.length+u])*0x4000000+(0|r.words[s.length+u-1]);for(h=Math.min(h/l|0,0x3ffffff),r._ishlnsubmul(s,h,u);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,u),r.isZero()||(r.negative^=1);a&&(a.words[u]=h)}return a&&a._strip(),r._strip(),"div"!==t&&0!==i&&r.iushrn(i),{div:a||null,mod:r}},n.prototype.divmod=function(e,t,a){var r,s,l;return(i(!e.isZero()),this.isZero())?{div:new n(0),mod:new n(0)}:0!==this.negative&&0===e.negative?(l=this.neg().divmod(e,t),"mod"!==t&&(r=l.div.neg()),"div"!==t&&(s=l.mod.neg(),a&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(l=this.divmod(e.neg(),t),"mod"!==t&&(r=l.div.neg()),{div:r,mod:l.mod}):(this.negative&e.negative)!=0?(l=this.neg().divmod(e.neg(),t),"div"!==t&&(s=l.mod.neg(),a&&0!==s.negative&&s.isub(e)),{div:l.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new n(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new n(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new n(this.modrn(e.words[0]))}:this._wordDiv(e,t)},n.prototype.div=function(e){return this.divmod(e,"div",!1).div},n.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},n.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},n.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var a=0!==t.div.negative?t.mod.isub(e):t.mod,i=e.ushrn(1),r=e.andln(1),n=a.cmp(i);return n<0||1===r&&0===n?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},n.prototype.modrn=function(e){var t=e<0;t&&(e=-e),i(e<=0x3ffffff);for(var a=0x4000000%e,r=0,n=this.length-1;n>=0;n--)r=(a*r+(0|this.words[n]))%e;return t?-r:r},n.prototype.modn=function(e){return this.modrn(e)},n.prototype.idivn=function(e){var t=e<0;t&&(e=-e),i(e<=0x3ffffff);for(var a=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+0x4000000*a;this.words[r]=n/e|0,a=n%e}return this._strip(),t?this.ineg():this},n.prototype.divn=function(e){return this.clone().idivn(e)},n.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,a=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new n(1),s=new n(0),l=new n(0),o=new n(1),c=0;t.isEven()&&a.isEven();)t.iushrn(1),a.iushrn(1),++c;for(var d=a.clone(),u=t.clone();!t.isZero();){for(var h=0,f=1;(t.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(u)),r.iushrn(1),s.iushrn(1);for(var p=0,m=1;(a.words[0]&m)==0&&p<26;++p,m<<=1);if(p>0)for(a.iushrn(p);p-- >0;)(l.isOdd()||o.isOdd())&&(l.iadd(d),o.isub(u)),l.iushrn(1),o.iushrn(1);t.cmp(a)>=0?(t.isub(a),r.isub(l),s.isub(o)):(a.isub(t),l.isub(r),o.isub(s))}return{a:l,b:o,gcd:a.iushln(c)}},n.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t,a=this,r=e.clone();a=0!==a.negative?a.umod(e):a.clone();for(var s=new n(1),l=new n(0),o=r.clone();a.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,d=1;(a.words[0]&d)==0&&c<26;++c,d<<=1);if(c>0)for(a.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(o),s.iushrn(1);for(var u=0,h=1;(r.words[0]&h)==0&&u<26;++u,h<<=1);if(u>0)for(r.iushrn(u);u-- >0;)l.isOdd()&&l.iadd(o),l.iushrn(1);a.cmp(r)>=0?(a.isub(r),s.isub(l)):(r.isub(a),l.isub(s))}return 0>(t=0===a.cmpn(1)?s:l).cmpn(0)&&t.iadd(e),t},n.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),a=e.clone();t.negative=0,a.negative=0;for(var i=0;t.isEven()&&a.isEven();i++)t.iushrn(1),a.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;a.isEven();)a.iushrn(1);var r=t.cmp(a);if(r<0){var n=t;t=a,a=n}else if(0===r||0===a.cmpn(1))break;t.isub(a)}return a.iushln(i)},n.prototype.invm=function(e){return this.egcd(e).a.umod(e)},n.prototype.isEven=function(){return(1&this.words[0])==0},n.prototype.isOdd=function(){return(1&this.words[0])==1},n.prototype.andln=function(e){return this.words[0]&e},n.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,a=(e-t)/26,r=1<<t;if(this.length<=a)return this._expand(a+1),this.words[a]|=r,this;for(var n=r,s=a;0!==n&&s<this.length;s++){var l=0|this.words[s];l+=n,n=l>>>26,l&=0x3ffffff,this.words[s]=l}return 0!==n&&(this.words[s]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.prototype.cmpn=function(e){var t,a=e<0;if(0!==this.negative&&!a)return -1;if(0===this.negative&&a)return 1;if(this._strip(),this.length>1)t=1;else{a&&(e=-e),i(e<=0x3ffffff,"Number is too big");var r=0|this.words[0];t=r===e?0:r<e?-1:1}return 0!==this.negative?0|-t:t},n.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},n.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,a=this.length-1;a>=0;a--){var i=0|this.words[a],r=0|e.words[a];if(i!==r){i<r?t=-1:i>r&&(t=1);break}}return t},n.prototype.gtn=function(e){return 1===this.cmpn(e)},n.prototype.gt=function(e){return 1===this.cmp(e)},n.prototype.gten=function(e){return this.cmpn(e)>=0},n.prototype.gte=function(e){return this.cmp(e)>=0},n.prototype.ltn=function(e){return -1===this.cmpn(e)},n.prototype.lt=function(e){return -1===this.cmp(e)},n.prototype.lten=function(e){return 0>=this.cmpn(e)},n.prototype.lte=function(e){return 0>=this.cmp(e)},n.prototype.eqn=function(e){return 0===this.cmpn(e)},n.prototype.eq=function(e){return 0===this.cmp(e)},n.red=function(e){return new T(e)},n.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},n.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(e){return this.red=e,this},n.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},n.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},n.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},n.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},n.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},n.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},n.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},n.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},n.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function A(e,t){this.name=e,this.p=new n(t,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){A.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){A.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){A.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){A.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(e){if("string"==typeof e){var t=n._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function N(e){T.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new n(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}A.prototype._tmp=function(){var e=new n(null);return e.words=Array(Math.ceil(this.n/13)),e},A.prototype.ireduce=function(e){var t,a=e;do this.split(a,this.tmp),t=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength();while(t>this.n)var i=t<this.n?-1:a.ucmp(this.p);return 0===i?(a.words[0]=0,a.length=1):i>0?a.isub(this.p):void 0!==a.strip?a.strip():a._strip(),a},A.prototype.split=function(e,t){e.iushrn(this.n,0,t)},A.prototype.imulK=function(e){return e.imul(this.k)},r(w,A),w.prototype.split=function(e,t){for(var a=4194303,i=Math.min(e.length,9),r=0;r<i;r++)t.words[r]=e.words[r];if(t.length=i,e.length<=9){e.words[0]=0,e.length=1;return}var n=e.words[9];for(r=10,t.words[t.length++]=n&a;r<e.length;r++){var s=0|e.words[r];e.words[r-10]=(s&a)<<4|n>>>22,n=s}n>>>=22,e.words[r-10]=n,0===n&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,a=0;a<e.length;a++){var i=0|e.words[a];t+=977*i,e.words[a]=0x3ffffff&t,t=64*i+(t/0x4000000|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},r(E,A),r(S,A),r(C,A),C.prototype.imulK=function(e){for(var t=0,a=0;a<e.length;a++){var i=(0|e.words[a])*19+t,r=0x3ffffff&i;i>>>=26,e.words[a]=r,t=i}return 0!==t&&(e.words[e.length++]=t),e},n._prime=function(e){var t;if(v[e])return v[e];if("k256"===e)t=new w;else if("p224"===e)t=new E;else if("p192"===e)t=new S;else if("p25519"===e)t=new C;else throw Error("Unknown prime "+e);return v[e]=t,t},T.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},T.prototype._verify2=function(e,t){i((e.negative|t.negative)==0,"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},T.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(o(e,e.umod(this.m)._forceRed(this)),e)},T.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},T.prototype.add=function(e,t){this._verify2(e,t);var a=e.add(t);return a.cmp(this.m)>=0&&a.isub(this.m),a._forceRed(this)},T.prototype.iadd=function(e,t){this._verify2(e,t);var a=e.iadd(t);return a.cmp(this.m)>=0&&a.isub(this.m),a},T.prototype.sub=function(e,t){this._verify2(e,t);var a=e.sub(t);return 0>a.cmpn(0)&&a.iadd(this.m),a._forceRed(this)},T.prototype.isub=function(e,t){this._verify2(e,t);var a=e.isub(t);return 0>a.cmpn(0)&&a.iadd(this.m),a},T.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},T.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},T.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},T.prototype.isqr=function(e){return this.imul(e,e.clone())},T.prototype.sqr=function(e){return this.mul(e,e)},T.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var a=this.m.add(new n(1)).iushrn(2);return this.pow(e,a)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);i(!r.isZero());var l=new n(1).toRed(this),o=l.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new n(2*d*d).toRed(this);0!==this.pow(d,c).cmp(o);)d.redIAdd(o);for(var u=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),f=this.pow(e,r),p=s;0!==f.cmp(l);){for(var m=f,g=0;0!==m.cmp(l);g++)m=m.redSqr();i(g<p);var b=this.pow(u,new n(1).iushln(p-g-1));h=h.redMul(b),u=b.redSqr(),f=f.redMul(u),p=g}return h},T.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},T.prototype.pow=function(e,t){if(t.isZero())return new n(1).toRed(this);if(0===t.cmpn(1))return e.clone();var a=4,i=Array(16);i[0]=new n(1).toRed(this),i[1]=e;for(var r=2;r<i.length;r++)i[r]=this.mul(i[r-1],e);
6var s=i[0],l=0,o=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var d=t.words[r],u=c-1;u>=0;u--){var h=d>>u&1;if(s!==i[0]&&(s=this.sqr(s)),0===h&&0===l){o=0;continue}l<<=1,l|=h,(++o===a||0===r&&0===u)&&(s=this.mul(s,i[l]),o=0,l=0)}c=26}return s},T.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},T.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},n.mont=function(e){return new N(e)},r(N,T),N.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},N.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},N.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var a=e.imul(t),i=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=a.isub(i).iushrn(this.shift),n=r;return r.cmp(this.m)>=0?n=r.isub(this.m):0>r.cmpn(0)&&(n=r.iadd(this.m)),n._forceRed(this)},N.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new n(0)._forceRed(this);var a=e.mul(t),i=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=a.isub(i).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},N.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=a.nmd(e),this)},3500:function(e,t,a){var i;function r(e){this.rand=e}if(e.exports=function(e){return i||(i=new r(null)),i.generate(e)},e.exports.Rand=r,r.prototype.generate=function(e){return this._rand(e)},r.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),a=0;a<t.length;a++)t[a]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?r.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?r.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(r.prototype._rand=function(){throw Error("Not implemented yet")});else try{var n=a(6113);if("function"!=typeof n.randomBytes)throw Error("Not supported");r.prototype._rand=function(e){return n.randomBytes(e)}}catch(e){}},1387:function(e,t,a){var i=a(6911).Buffer;function r(e){i.isBuffer(e)||(e=i.from(e));for(var t=e.length/4|0,a=Array(t),r=0;r<t;r++)a[r]=e.readUInt32BE(4*r);return a}function n(e){for(var t=0;t<e.length;e++)e[t]=0}function s(e,t,a,i,r){for(var n,s,l,o,c=a[0],d=a[1],u=a[2],h=a[3],f=e[0]^t[0],p=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],b=4,_=1;_<r;_++)n=c[f>>>24]^d[p>>>16&255]^u[m>>>8&255]^h[255&g]^t[b++],s=c[p>>>24]^d[m>>>16&255]^u[g>>>8&255]^h[255&f]^t[b++],l=c[m>>>24]^d[g>>>16&255]^u[f>>>8&255]^h[255&p]^t[b++],o=c[g>>>24]^d[f>>>16&255]^u[p>>>8&255]^h[255&m]^t[b++],f=n,p=s,m=l,g=o;return n=(i[f>>>24]<<24|i[p>>>16&255]<<16|i[m>>>8&255]<<8|i[255&g])^t[b++],s=(i[p>>>24]<<24|i[m>>>16&255]<<16|i[g>>>8&255]<<8|i[255&f])^t[b++],l=(i[m>>>24]<<24|i[g>>>16&255]<<16|i[f>>>8&255]<<8|i[255&p])^t[b++],[n>>>=0,s>>>=0,l>>>=0,o=((i[g>>>24]<<24|i[f>>>16&255]<<16|i[p>>>8&255]<<8|i[255&m])^t[b++])>>>0]}var l=[0,1,2,4,8,16,32,64,128,27,54],o=function(){for(var e=Array(256),t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var a=[],i=[],r=[[],[],[],[]],n=[[],[],[],[]],s=0,l=0,o=0;o<256;++o){var c=l^l<<1^l<<2^l<<3^l<<4;c=c>>>8^255&c^99,a[s]=c,i[c]=s;var d=e[s],u=e[d],h=e[u],f=257*e[c]^0x1010100*c;r[0][s]=f<<24|f>>>8,r[1][s]=f<<16|f>>>16,r[2][s]=f<<8|f>>>24,r[3][s]=f,f=0x1010101*h^65537*u^257*d^0x1010100*s,n[0][c]=f<<24|f>>>8,n[1][c]=f<<16|f>>>16,n[2][c]=f<<8|f>>>24,n[3][c]=f,0===s?s=l=1:(s=d^e[e[e[h^d]]],l^=e[e[l]])}return{SBOX:a,INV_SBOX:i,SUB_MIX:r,INV_SUB_MIX:n}}();function c(e){this._key=r(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,a=t+6,i=(a+1)*4,r=[],n=0;n<t;n++)r[n]=e[n];for(n=t;n<i;n++){var s=r[n-1];n%t==0?(s=s<<8|s>>>24,s=(o.SBOX[s>>>24]<<24|o.SBOX[s>>>16&255]<<16|o.SBOX[s>>>8&255]<<8|o.SBOX[255&s])^l[n/t|0]<<24):t>6&&n%t==4&&(s=o.SBOX[s>>>24]<<24|o.SBOX[s>>>16&255]<<16|o.SBOX[s>>>8&255]<<8|o.SBOX[255&s]),r[n]=r[n-t]^s}for(var c=[],d=0;d<i;d++){var u=i-d,h=r[u-(d%4?0:4)];d<4||u<=4?c[d]=h:c[d]=o.INV_SUB_MIX[0][o.SBOX[h>>>24]]^o.INV_SUB_MIX[1][o.SBOX[h>>>16&255]]^o.INV_SUB_MIX[2][o.SBOX[h>>>
vendor: 5,426 bytes, line 6
68&255]]^o.INV_SUB_MIX[3][o.SBOX[255&h]]}this._nRounds=a,this._keySchedule=r,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return s(e=r(e),this._keySchedule,o.SUB_MIX,o.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),a=i.allocUnsafe(16);return a.writeUInt32BE(t[0],0),a.writeUInt32BE(t[1],4),a.writeUInt32BE(t[2],8),a.writeUInt32BE(t[3],12),a},c.prototype.decryptBlock=function(e){var t=(e=r(e))[1];e[1]=e[3],e[3]=t;var a=s(e,this._invKeySchedule,o.INV_SUB_MIX,o.INV_SBOX,this._nRounds),n=i.allocUnsafe(16);return n.writeUInt32BE(a[0],0),n.writeUInt32BE(a[3],4),n.writeUInt32BE(a[2],8),n.writeUInt32BE(a[1],12),n},c.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},e.exports.AES=c},6624:function(e,t,a){var i=a(1387),r=a(6911).Buffer,n=a(1043),s=a(3782),l=a(7225),o=a(4734),c=a(598);function d(e,t){var a=0;e.length!==t.length&&a++;for(var i=Math.min(e.length,t.length),r=0;r<i;++r)a+=e[r]^t[r];return a}function u(e,t,a){if(12===t.length)return e._finID=r.concat([t,r.from([0,0,0,1])]),r.concat([t,r.from([0,0,0,2])]);var i=new l(a),n=t.length,s=n%16;i.update(t),s&&(s=16-s,i.update(r.alloc(s,0))),i.update(r.alloc(8,0));var o=8*n,d=r.alloc(8);d.writeUIntBE(o,0,8),i.update(d),e._finID=i.state;var u=r.from(e._finID);return c(u),u}function h(e,t,a,s){n.call(this);var o=r.alloc(4,0);this._cipher=new i.AES(t);var c=this._cipher.encryptBlock(o);this._ghash=new l(c),a=u(this,a,c),this._prev=r.from(a),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}s(h,n),h.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=r.alloc(t,0),this._ghash.update(t))}this._called=!0;var a=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(a),this._len+=e.length,a},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var e=o(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&d(e,this._authTag))throw Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!r.isBuffer(this._authTag))throw Error("Attempting to get auth tag in unsupported state");return this._authTag},h.prototype.setAuthTag=function(e){if(!this._decrypt)throw Error("Attempting to set auth tag in unsupported state");this._authTag=e},h.prototype.setAAD=function(e){if(this._called)throw Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=h},6594:function(e,t,a){var i=a(2),r=a(2598),n=a(5866);function s(){return Object.keys(n)}t.createCipher=t.Cipher=i.createCipher,t.createCipheriv=t.Cipheriv=i.createCipheriv,t.createDecipher=t.Decipher=r.createDecipher,t.createDecipheriv=t.Decipheriv=r.createDecipheriv,t.listCiphers=t.getCiphers=s},2598:function(e,t,a){var i=a(6624),r=a(6911).Buffer,n=a(6370),s=a(126),l=a(1043),o=a(1387),c=a(8368);function d(e,t,a){l.call(this),this._cache=new u,this._last=void 0,this._cipher=new o.AES(t),this._prev=r.from(a),this._mode=e,this._autopadding=!0}function u(){this.cache=r.allocUnsafe(0)}function h(e){var t=e[15];if(t<1||t>16)throw Error("unable to decrypt data");for(var a=-1;++a<t;)if(e[a+(16-t)]!==t)throw Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}function f(e,t,a){var l=n[e.toLowerCase()];if(!l)throw TypeError("invalid suite type");if("string"==typeof a&&(a=r.from(a)),"GCM"!==l.mode&&a.length!==l.iv)throw TypeError("invalid iv length "+a.length);if("string"==typeof t&&(t=r.from(t)),t.length!==l.key/8)throw TypeError("invalid key length "+t.length);return"stream"===l.type?new s(l.module,t,a,!0):"auth"===l.type?new i(l.module,t,a,!0):new d(l.module,t,a)}a(3782)(d,l),d.prototype._update=function(e){this._cache.add(e);for(var t,a,i=[];t=this._cache.get(this._autopadding);)a=this._mode.decrypt(this,t),i.push(a);return r.concat(i)},d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return h(this._mode.decrypt(this,e));if(e)throw Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},u.prototype.add=function(e){this.cache=r.concat([this.cache,e])},u.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var a=n[e.toLowerCase()];if(!a)throw TypeError("invalid suite type");var i=c(t,!1,a.key,a.iv);return f(e,i.key,i.iv)},t.createDecipheriv=f},2:function(e,t,a){var i=a(6370),r=a(6624),n=a(6911).Buffer,s=a(126),l=a(1043),o=a(1387),c=a(8368);function d(e,t,a){l.call(this),this._cache=new h,this._cipher=new o.AES(t),this._prev=n.from(a),this._mode=e,this._autopadding=!0}a(3782)(d,l),d.prototype._update=function(e){this._cache.add(e);for(var t,a,i=[];t=this._cache.get();)a=this._mode.encrypt(this,t),i.push(a);return n.concat(i)};var u=n.alloc(16,16);function h(){this.cache=n.allocUnsafe(0)}function f(e,t,a){var l=i[e.toLowerCase()];if(!l)throw TypeError("invalid suite type");
6if("string"==typeof t&&(t=n.from(t)),t.length!==l.key/8)throw TypeError("invalid key length "+t.length);if("string"==typeof a&&(a=n.from(a)),"GCM"!==l.mode&&a.length!==l.iv)throw TypeError("invalid iv length "+a.length);return"stream"===l.type?new s(l.module,t,a):"auth"===l.type?new r(l.module,t,a):new d(l.module,t,a)}function p(e,t){var a=i[e.toLowerCase()];if(!a)throw TypeError("invalid suite type");var r=c(t,!1,a.key,a.iv);return f(e,r.key,r.iv)}d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(u))throw this._cipher.scrub(),Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=n.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=n.allocUnsafe(e),a=-1;++a<e;)t.writeUInt8(e,a);return n.concat([this.cache,t])},t.createCipheriv=f,t.createCipher=p},7225:function(e,t,a){var i=a(6911).Buffer,r=i.alloc(16,0);function n(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function s(e){var t=i.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function l(e){this.h=e,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}l.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},l.prototype._multiply=function(){for(var e,t,a=n(this.h),i=[0,0,0,0],r=-1;++r<128;){for((this.state[~~(r/8)]&1<<7-r%8)!=0&&(i[0]^=a[0],i[1]^=a[1],i[2]^=a[2],i[3]^=a[3]),t=(1&a[3])!=0,e=3;e>0;e--)a[e]=a[e]>>>1|(1&a[e-1])<<31;a[0]=a[0]>>>1,t&&(a[0]=-0x1f000000^a[0])}this.state=s(i)},l.prototype.update=function(e){var t;for(this.cache=i.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},l.prototype.final=function(e,t){return this.cache.length&&this.ghash(i.concat([this.cache,r],16)),this.ghash(s([0,e,0,t])),this.state},e.exports=l},598:function(e){e.exports=function(e){for(var t,a=e.length;a--;)if(255===(t=e.readUInt8(a)))e.writeUInt8(0,a);else{t++,e.writeUInt8(t,a);break}}},9825:function(e,t,a){var i=a(4734);t.encrypt=function(e,t){var a=i(t,e._prev);return e._prev=e._cipher.encryptBlock(a),e._prev},t.decrypt=function(e,t){var a=e._prev;return e._prev=t,i(e._cipher.decryptBlock(t),a)}},321:function(e,t,a){var i=a(6911).Buffer,r=a(4734);function n(e,t,a){var n=t.length,s=r(t,e._cache);return e._cache=e._cache.slice(n),e._prev=i.concat([e._prev,a?t:s]),s}t.encrypt=function(e,t,a){for(var r,s=i.allocUnsafe(0);t.length;)if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=i.allocUnsafe(0)),e._cache.length<=t.length)r=e._cache.length,s=i.concat([s,n(e,t.slice(0,r),a)]),t=t.slice(r);else{s=i.concat([s,n(e,t,a)]);break}return s}},3147:function(e,t,a){var i=a(6911).Buffer;function r(e,t,a){for(var i,r,s,l=-1,o=8,c=0;++l<o;)i=e._cipher.encryptBlock(e._prev),r=t&1<<7-l?128:0,c+=(128&(s=i[0]^r))>>l%8,e._prev=n(e._prev,a?r:s);return c}function n(e,t){var a=e.length,r=-1,n=i.allocUnsafe(e.length);for(e=i.concat([e,i.from([t])]);++r<a;)n[r]=e[r]<<1|e[r+1]>>7;return n}t.encrypt=function(e,t,a){for(var n=t.length,s=i.allocUnsafe(n),l=-1;++l<n;)s[l]=r(e,t[l],a);return s}},2430:function(e,t,a){var i=a(6911).Buffer;function r(e,t,a){var r=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=i.concat([e._prev.slice(1),i.from([a?t:r])]),r}t.encrypt=function(e,t,a){for(var n=t.length,s=i.allocUnsafe(n),l=-1;++l<n;)s[l]=r(e,t[l],a);return s}},3361:function(e,t,a){var i=a(4734),r=a(6911).Buffer,n=a(598);function s(e){var t=e._cipher.encryptBlockRaw(e._prev);return n(e._prev),t}var l=16;t.encrypt=function(e,t){var a=Math.ceil(t.length/l),n=e._cache.length;e._cache=r.concat([e._cache,r.allocUnsafe(a*l)]);for(var o=0;o<a;o++){var c=s(e),d=n+o*l;e._cache.writeUInt32BE(c[0],d+0),e._cache.writeUInt32BE(c[1],d+4),e._cache.writeUInt32BE(c[2],d+8),e._cache.writeUInt32BE(c[3],d+12)}var u=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),i(t,u)}},1590:function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}}
6,6370:function(e,t,a){var i={ECB:a(1590),CBC:a(9825),CFB:a(321),CFB8:a(2430),CFB1:a(3147),OFB:a(3412),CTR:a(3361),GCM:a(3361)},r=a(5866);for(var n in r)r[n].module=i[r[n].mode];e.exports=r},3412:function(e,t,a){var r=a(4734);function n(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=i.Buffer.concat([e._cache,n(e)]);var a=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,a)}},126:function(e,t,a){var i=a(1387),r=a(6911).Buffer,n=a(1043);function s(e,t,a,s){n.call(this),this._cipher=new i.AES(t),this._prev=r.from(a),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=s,this._mode=e}a(3782)(s,n),s.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},e.exports=s},8996:function(e,t,a){var i=a(5238),r=a(6594),n=a(6370),s=a(6280),l=a(8368);function o(e,t){if(n[e=e.toLowerCase()])a=n[e].key,i=n[e].iv;else if(s[e])a=8*s[e].key,i=s[e].iv;else throw TypeError("invalid suite type");var a,i,r=l(t,!1,a,i);return d(e,r.key,r.iv)}function c(e,t,a){if(n[e=e.toLowerCase()])return r.createCipheriv(e,t,a);if(s[e])return new i({key:t,iv:a,mode:e});throw TypeError("invalid suite type")}function d(e,t,a){if(n[e=e.toLowerCase()])return r.createDecipheriv(e,t,a);if(s[e])return new i({key:t,iv:a,mode:e,decrypt:!0});throw TypeError("invalid suite type")}function u(){return Object.keys(s).concat(r.getCiphers())}t.createCipher=t.Cipher=function(e,t){if(n[e=e.toLowerCase()])a=n[e].key,i=n[e].iv;else if(s[e])a=8*s[e].key,i=s[e].iv;else throw TypeError("invalid suite type");var a,i,r=l(t,!1,a,i);return c(e,r.key,r.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=o,t.createDecipheriv=t.Decipheriv=d,t.listCiphers=t.getCiphers=u},5238:function(e,t,a){var i=a(1043),r=a(9536),n=a(3782),s=a(6911).Buffer,l={"des-ede3-cbc":r.CBC.instantiate(r.EDE),"des-ede3":r.EDE,"des-ede-cbc":r.CBC.instantiate(r.EDE),"des-ede":r.EDE,"des-cbc":r.CBC.instantiate(r.DES),"des-ecb":r.DES};function o(e){i.call(this);var t,a=e.mode.toLowerCase(),r=l[a];t=e.decrypt?"decrypt":"encrypt";var n=e.key;s.isBuffer(n)||(n=s.from(n)),("des-ede"===a||"des-ede-cbc"===a)&&(n=s.concat([n,n.slice(0,8)]));var o=e.iv;s.isBuffer(o)||(o=s.from(o)),this._des=r.create({key:n,iv:o,type:t})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],e.exports=o,n(o,i),o.prototype._update=function(e){return s.from(this._des.update(e))},o.prototype._final=function(){return s.from(this._des.final())}},6280:function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},7166:function(e,t,a){var r=a(711),n=a(7223);function s(e){var t=o(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}function l(e,t){var a=s(t),n=t.modulus.byteLength();r.mont(t.modulus);var l=new r(e).mul(a.blinder).umod(t.modulus),o=l.toRed(r.mont(t.prime1)),c=l.toRed(r.mont(t.prime2)),d=t.coefficient,u=t.prime1,h=t.prime2,f=o.redPow(t.exponent1),p=c.redPow(t.exponent2);f=f.fromRed(),p=p.fromRed();var m=f.isub(p).imul(d).umod(u);return m.imul(h),p.iadd(m),new i.Buffer(p.imul(a.unblinder).umod(t.modulus).toArray(!1,n))}function o(e){for(var t=e.modulus.byteLength(),a=new r(n(t));a.cmp(e.modulus)>=0||!a.umod(e.prime1)||!a.umod(e.prime2);)a=new r(n(t));return a}e.exports=l,l.getr=o},9276:function(e,t,a){e.exports=a(2908)},4078:function(e,t,a){var i=a(6911).Buffer,r=a(9739),n=a(3726),s=a(3782),l=a(9807),o=a(4013),c=a(2908);function d(e){n.Writable.call(this);var t=c[e];if(!t)throw Error("Unknown message digest");
6this._hashType=t.hash,this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){n.Writable.call(this);var t=c[e];if(!t)throw Error("Unknown message digest");this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new d(e)}function f(e){return new u(e)}Object.keys(c).forEach(function(e){c[e].id=i.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]}),s(d,n.Writable),d.prototype._write=function(e,t,a){this._hash.update(e),a()},d.prototype.update=function(e,t){return"string"==typeof e&&(e=i.from(e,t)),this._hash.update(e),this},d.prototype.sign=function(e,t){this.end();var a=l(this._hash.digest(),e,this._hashType,this._signType,this._tag);return t?a.toString(t):a},s(u,n.Writable),u.prototype._write=function(e,t,a){this._hash.update(e),a()},u.prototype.update=function(e,t){return"string"==typeof e&&(e=i.from(e,t)),this._hash.update(e),this},u.prototype.verify=function(e,t,a){return"string"==typeof t&&(t=i.from(t,a)),this.end(),o(t,this._hash.digest(),e,this._signType,this._tag)},e.exports={Sign:h,Verify:f,createSign:h,createVerify:f}},9807:function(e,t,a){var i=a(6911).Buffer,r=a(4873),n=a(7166),s=a(949).ec,l=a(1670),o=a(9902),c=a(9267);function d(e,t){var a=c[t.curve.join(".")];if(!a)throw Error("unknown curve "+t.curve.join("."));var r=new s(a).keyFromPrivate(t.privateKey).sign(e);return i.from(r.toDER())}function u(e,t,a){for(var i,r=t.params.priv_key,n=t.params.p,s=t.params.q,o=t.params.g,c=new l(0),d=p(e,s).mod(s),u=!1,m=f(r,s,e,a);!1===u;)c=b(o,i=g(s,m,a),n,s),0===(u=i.invm(s).imul(d.add(r.mul(c))).mod(s)).cmpn(0)&&(u=!1,c=new l(0));return h(c,u)}function h(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var a=[48,e.length+t.length+4,2,e.length];return a=a.concat(e,[2,t.length],t),i.from(a)}function f(e,t,a,n){if((e=i.from(e.toArray())).length<t.byteLength()){var s=i.alloc(t.byteLength()-e.length);e=i.concat([s,e])}var l=a.length,o=m(a,t),c=i.alloc(l);c.fill(1);var d=i.alloc(l);return d=r(n,d).update(c).update(i.from([0])).update(e).update(o).digest(),c=r(n,d).update(c).digest(),d=r(n,d).update(c).update(i.from([1])).update(e).update(o).digest(),c=r(n,d).update(c).digest(),{k:d,v:c}}function p(e,t){var a=new l(e),i=(e.length<<3)-t.bitLength();return i>0&&a.ishrn(i),a}function m(e,t){e=(e=p(e,t)).mod(t);var a=i.from(e.toArray());if(a.length<t.byteLength()){var r=i.alloc(t.byteLength()-a.length);a=i.concat([r,a])}return a}function g(e,t,a){var n,s;do{for(n=i.alloc(0);8*n.length<e.bitLength();)t.v=r(a,t.k).update(t.v).digest(),n=i.concat([n,t.v]);s=p(n,e),t.k=r(a,t.k).update(t.v).update(i.from([0])).digest(),t.v=r(a,t.k).update(t.v).digest()}while(-1!==s.cmp(e))return s}function b(e,t,a,i){return e.toRed(l.mont(a)).redPow(t).fromRed().mod(i)}e.exports=function(e,t,a,r,s){var l=o(t);if(l.curve){if("ecdsa"!==r&&"ecdsa/rsa"!==r)throw Error("wrong private key type");return d(e,l)}if("dsa"===l.type){if("dsa"!==r)throw Error("wrong private key type");return u(e,l,a)}if("rsa"!==r&&"ecdsa/rsa"!==r)throw Error("wrong private key type");e=i.concat([s,e]);for(var c=l.modulus.byteLength(),h=[0,1];e.length+h.length+1<c;)h.push(255);h.push(0);for(var f=-1;++f<e.length;)h.push(e[f]);return n(h,l)},e.exports.getKey=f,e.exports.makeKey=g},4013:function(e,t,a){var i=a(6911).Buffer,r=a(1670),n=a(949).ec,s=a(9902),l=a(9267);function o(e,t,a){var i=l[a.data.algorithm.curve.join(".")];if(!i)throw Error("unknown curve "+a.data.algorithm.curve.join("."));var r=new n(i),s=a.data.subjectPrivateKey.data;return r.verify(t,e,s)}function c(e,t,a){var i=a.data.p,n=a.data.q,l=a.data.g,o=a.data.pub_key,c=s.signature.decode(e,"der"),u=c.s,h=c.r;d(u,n),d(h,n);var f=r.mont(i),p=u.invm(n);return 0===l.toRed(f).redPow(new r(t).mul(p).mod(n)).fromRed().mul(o.toRed(f).redPow(h.mul(p).mod(n)).fromRed()).mod(i).mod(n).cmp(h)}function d(e,t){if(0>=e.cmpn(0)||e.cmp(t)>=t)throw Error("invalid sig")}e.exports=function(e,t,a,n,l){var d=s(a);if("ec"===d.type){if("ecdsa"!==n&&"ecdsa/rsa"!==n)throw Error("wrong public key type");return o(e,t,d)}if("dsa"===d.type){if("dsa"!==n)throw Error("wrong public key type");return c(e,t,d)}if("rsa"!==n&&"ecdsa/rsa"!==n)throw Error("wrong public key type");t=i.concat([l,t]);for(var u=d.modulus.byteLength(),h=[1],f=0;t.length+h.length+2<u;)h.push(255),f++;h.push(0);for(var p=-1;++p<t.length;)h.push(t[p]);h=i.from(h);var m=r.mont(d.modulus);e=(e=new r(e).toRed(m)).redPow(new r(d.publicExponent));var g=+(f<8);for(u=Math.min((e=i.from(e.fromRed().toArray())).length,h.length),e.length!==h.length&&(g=1),p=-1;++p<u;)g|=e[p]^h[p];return 0===g}},4734:function(e){e.exports=function(e,t){for(var a=Math.min(e.length,t.length),r=new i.Buffer(a),n=0;n<a;++n)r[n]=e[n]^t[n];return r}},1043:function(e,t,a){var i=a(6911).Buffer,r=a(2781).Transform,n=a(1576).StringDecoder;function s(e){r.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}a(3782)(s,r),s.prototype.update=function(e,t,a){"string"==typeof e&&(e=i.from(e,t));var r=this._update(e);return this.hashMode?this:(a&&(r=this._toString(r,a)),r)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,a){var i;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){i=e}finally{a(i)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||i.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,a){if(this._decoder||(this._decoder=new n(t),this._encoding=t),this._encoding!==t)throw Error("can't switch encodings");var i=this._decoder.write(e);return a&&(i+=this._decoder.end()),i},e.exports=s},9942:function(e,t,a){var r=a(949),n=a(711);e.exports=function(e){return new l(e)};var s={secp256k1:{name:"secp256k1",byteLength:32}
vendor: 7,010 bytes, line 6
6,secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function l(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function o(e,t,a){Array.isArray(e)||(e=e.toArray());var r=new i.Buffer(e);if(a&&r.length<a){var n=new i.Buffer(a-r.length);n.fill(0),r=i.Buffer.concat([n,r])}return t?r.toString(t):r}s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,l.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},l.prototype.computeSecret=function(e,t,a){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),o(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),a,this.curveType.byteLength)},l.prototype.getPublicKey=function(e,t){var a=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(a[a.length-1]%2?a[0]=7:a[0]=6),o(a,e)},l.prototype.getPrivateKey=function(e){return o(this.keys.getPrivate(),e)},l.prototype.setPublicKey=function(e,t){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),this.keys._importPublic(e),this},l.prototype.setPrivateKey=function(e,t){t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t));var a=new n(e);return a=a.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(a),this}},9739:function(e,t,a){"use strict";var i=a(3782),r=a(3533),n=a(3225),s=a(4371),l=a(1043);function o(e){l.call(this,"digest"),this._hash=e}i(o,l),o.prototype._update=function(e){this._hash.update(e)},o.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new r:"rmd160"===e||"ripemd160"===e?new n:new o(s(e))}},450:function(e,t,a){var i=a(3533);e.exports=function(e){return(new i).update(e).digest()}},4873:function(e,t,a){"use strict";var i=a(3782),r=a(8119),n=a(1043),s=a(6911).Buffer,l=a(450),o=a(3225),c=a(4371),d=s.alloc(128);function u(e,t){n.call(this,"digest"),"string"==typeof t&&(t=s.from(t));var a="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>a?t=("rmd160"===e?new o:c(e)).update(t).digest():t.length<a&&(t=s.concat([t,d],a));for(var i=this._ipad=s.allocUnsafe(a),r=this._opad=s.allocUnsafe(a),l=0;l<a;l++)i[l]=54^t[l],r[l]=92^t[l];this._hash="rmd160"===e?new o:c(e),this._hash.update(i)}i(u,n),u.prototype._update=function(e){this._hash.update(e)},u.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new o:c(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new u("rmd160",t):"md5"===e?new r(l,t):new u(e,t)}},8119:function(e,t,a){"use strict";var i=a(3782),r=a(6911).Buffer,n=a(1043),s=r.alloc(128),l=64;function o(e,t){n.call(this,"digest"),"string"==typeof t&&(t=r.from(t)),this._alg=e,this._key=t,t.length>l?t=e(t):t.length<l&&(t=r.concat([t,s],l));for(var a=this._ipad=r.allocUnsafe(l),i=this._opad=r.allocUnsafe(l),o=0;o<l;o++)a[o]=54^t[o],i[o]=92^t[o];this._hash=[a]}i(o,n),o.prototype._update=function(e){this._hash.push(e)},o.prototype._final=function(){var e=this._alg(r.concat(this._hash));return this._alg(r.concat([this._opad,e]))},e.exports=o},9536:function(e,t,a){"use strict";t.utils=a(5334),t.Cipher=a(9876),t.DES=a(1016),t.CBC=a(8641),t.EDE=a(6159)},8641:function(e,t,a){"use strict";var i=a(3523),r=a(3782),n={};function s(e){i.equal(e.length,8,"Invalid IV length"),this.iv=Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}r(t,e);for(var a=Object.keys(n),i=0;i<a.length;i++){var s=a[i];t.prototype[s]=n[s]}return t.create=function(e){return new t(e)},t},n._cbcInit=function(){var e=new s(this.options.iv);this._cbcState=e},n._update=function(e,t,a,i){var r=this._cbcState,n=this.constructor.super_.prototype,s=r.iv;if("encrypt"===this.type){for(var l=0;l<this.blockSize;l++)s[l]^=e[t+l];n._update.call(this,s,0,a,i);for(var l=0;l<this.blockSize;l++)s[l]=a[i+l]}else{n._update.call(this,e,t,a,i);for(var l=0;l<this.blockSize;l++)a[i+l]^=s[l];for(var l=0;l<this.blockSize;l++)s[l]=e[t+l]}}},9876:function(e,t,a){"use strict";var i=a(3523);function r(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=Array(this.blockSize),this.bufferOff=0}e.exports=r,r.prototype._init=function(){},r.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},r.prototype._buffer=function(e,t){for(var a=Math.min(this.buffer.length-this.bufferOff,e.length-t),i=0;i<a;i++)this.buffer[this.bufferOff+i]=e[t+i];return this.bufferOff+=a,a},r.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},r.prototype._updateEncrypt=function(e){var t=0,a=0,i=Array(((this.bufferOff+e.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(a+=this._flushBuffer(i,a)));for(var r=e.length-(e.length-t)%this.blockSize;t<r;t+=this.blockSize)this._update(e,t,i,a),a+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},r.prototype._updateDecrypt=function(e){for(var t=0,a=0,i=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,r=Array(i*this.blockSize);i>0;i--)t+=this._buffer(e,t),a+=this._flushBuffer(r,a);return t+=this._buffer(e,t),r},r.prototype.final=function(e){var t,a;return(e&&(t=this.update(e)),a="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t)?t.concat(a):a},r.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},r.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=Array(this.blockSize);return this._update(this.buffer,0,e,0),e},r.prototype._unpad=function(e){return e},r.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},1016:function(e,t,a){"use strict";var i=a(3523),r=a(3782),n=a(5334),s=a(9876);function l(){this.tmp=[,,],this.keys=null}function o(e){s.call(this,e);var t=new l;this._desState=t,this.deriveKeys(t,e.key)}r(o,s),e.exports=o,o.create=function(e){return new o(e)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];o.prototype.deriveKeys=function(e,t){e.keys=Array(32),i.equal(t.length,this.blockSize,"Invalid key length");var a=n.readUInt32BE(t,0),r=n.readUInt32BE(t,4);n.pc1(a,r,e.tmp,0),a=e.tmp[0],r=e.tmp[1];for(var s=0;s<e.keys.length;s+=2){var l=c[s>>>1];a=n.r28shl(a,l),r=n.r28shl(r,l),n.pc2(a,r,e.keys,s)}},o.prototype._update=function(e,t,a,i){var r=this._desState,s=n.readUInt32BE(e,t),l=n.readUInt32BE(e,t+4);n.ip(s,l,r.tmp,0),s=r.tmp[0],l=r.tmp[1],"encrypt"===this.type?this._encrypt
vendor: 5,079 bytes, line 6
6(r,s,l,r.tmp,0):this._decrypt(r,s,l,r.tmp,0),s=r.tmp[0],l=r.tmp[1],n.writeUInt32BE(a,s,i),n.writeUInt32BE(a,l,i+4)},o.prototype._pad=function(e,t){for(var a=e.length-t,i=t;i<e.length;i++)e[i]=a;return!0},o.prototype._unpad=function(e){for(var t=e[e.length-1],a=e.length-t;a<e.length;a++)i.equal(e[a],t);return e.slice(0,e.length-t)},o.prototype._encrypt=function(e,t,a,i,r){for(var s=t,l=a,o=0;o<e.keys.length;o+=2){var c=e.keys[o],d=e.keys[o+1];n.expand(l,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var u=n.substitute(c,d),h=n.permute(u),f=l;l=(s^h)>>>0,s=f}n.rip(l,s,i,r)},o.prototype._decrypt=function(e,t,a,i,r){for(var s=a,l=t,o=e.keys.length-2;o>=0;o-=2){var c=e.keys[o],d=e.keys[o+1];n.expand(s,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var u=n.substitute(c,d),h=n.permute(u),f=s;s=(l^h)>>>0,l=f}n.rip(s,l,i,r)}},6159:function(e,t,a){"use strict";var i=a(3523),r=a(3782),n=a(9876),s=a(1016);function l(e,t){i.equal(t.length,24,"Invalid key length");var a=t.slice(0,8),r=t.slice(8,16),n=t.slice(16,24);"encrypt"===e?this.ciphers=[s.create({type:"encrypt",key:a}),s.create({type:"decrypt",key:r}),s.create({type:"encrypt",key:n})]:this.ciphers=[s.create({type:"decrypt",key:n}),s.create({type:"encrypt",key:r}),s.create({type:"decrypt",key:a})]}function o(e){n.call(this,e);var t=new l(this.type,this.options.key);this._edeState=t}r(o,n),e.exports=o,o.create=function(e){return new o(e)},o.prototype._update=function(e,t,a,i){var r=this._edeState;r.ciphers[0]._update(e,t,a,i),r.ciphers[1]._update(a,i,a,i),r.ciphers[2]._update(a,i,a,i)},o.prototype._pad=s.prototype._pad,o.prototype._unpad=s.prototype._unpad},5334:function(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,a){e[0+a]=t>>>24,e[1+a]=t>>>16&255,e[2+a]=t>>>8&255,e[3+a]=255&t},t.ip=function(e,t,a,i){for(var r=0,n=0,s=6;s>=0;s-=2){for(var l=0;l<=24;l+=8)r<<=1,r|=t>>>l+s&1;for(var l=0;l<=24;l+=8)r<<=1,r|=e>>>l+s&1}for(var s=6;s>=0;s-=2){for(var l=1;l<=25;l+=8)n<<=1,n|=t>>>l+s&1;for(var l=1;l<=25;l+=8)n<<=1,n|=e>>>l+s&1}a[i+0]=r>>>0,a[i+1]=n>>>0},t.rip=function(e,t,a,i){for(var r=0,n=0,s=0;s<4;s++)for(var l=24;l>=0;l-=8)r<<=1,r|=t>>>l+s&1,r<<=1,r|=e>>>l+s&1;for(var s=4;s<8;s++)for(var l=24;l>=0;l-=8)n<<=1,n|=t>>>l+s&1,n<<=1,n|=e>>>l+s&1;a[i+0]=r>>>0,a[i+1]=n>>>0},t.pc1=function(e,t,a,i){for(var r=0,n=0,s=7;s>=5;s--){for(var l=0;l<=24;l+=8)r<<=1,r|=t>>l+s&1;for(var l=0;l<=24;l+=8)r<<=1,r|=e>>l+s&1}for(var l=0;l<=24;l+=8)r<<=1,r|=t>>l+s&1;for(var s=1;s<=3;s++){for(var l=0;l<=24;l+=8)n<<=1,n|=t>>l+s&1;for(var l=0;l<=24;l+=8)n<<=1,n|=e>>l+s&1}for(var l=0;l<=24;l+=8)n<<=1,n|=e>>l+s&1;a[i+0]=r>>>0,a[i+1]=n>>>0},t.r28shl=function(e,t){return e<<t&0xfffffff|e>>>28-t};var a=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,i,r){for(var n=0,s=0,l=a.length>>>1,o=0;o<l;o++)n<<=1,n|=e>>>a[o]&1;for(var o=l;o<a.length;o++)s<<=1,s|=t>>>a[o]&1;i[r+0]=n>>>0,i[r+1]=s>>>0},t.expand=function(e,t,a){var i=0,r=0;i=(1&e)<<5|e>>>27;for(var n=23;n>=15;n-=4)i<<=6,i|=e>>>n&63;for(var n=11;n>=3;n-=4)r|=e>>>n&63,r<<=6;r|=(31&e)<<1|e>>>31,t[a+0]=i>>>0,t[a+1]=r>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var a=0,r=0;r<4;r++){var n=e>>>18-6*r&63,s=i[64*r+n];a<<=4,a|=s}for(var r=0;r<4;r++){var n=t>>>18-6*r&63,s=i[256+64*r+n];a<<=4,a|=s}return a>>>0};var r=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,a=0;a<r.length;a++)t<<=1,t|=e>>>r[a]&1;return t>>>0},t.padSplit=function(e,t,a){for(var i=e.toString(2);i.length<t;)i="0"+i;for(var r=[],n=0;n<t;n+=a)r.push(i.slice(n,n+a));return r.join(" ")}},6587:function(e,t,a){var r=a(296),n=a(7992),s=a(373),l={binary:!0,hex:!0,base64:!0};function o(e,t,a,n){return i.Buffer.isBuffer(t)||void 0===l[t]?o(e,"binary",t,a):(t=t||"b
6inary",n=n||"binary",a=a||new i.Buffer([2]),i.Buffer.isBuffer(a)||(a=new i.Buffer(a,n)),"number"==typeof e)?new s(r(e,a),a,!0):(i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),new s(e,a,!0))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(e){return new s(new i.Buffer(n[e].prime,"hex"),new i.Buffer(n[e].gen,"hex"))},t.createDiffieHellman=t.DiffieHellman=o},373:function(e,t,a){var r=a(711),n=new(a(1354)),s=new r(24),l=new r(11),o=new r(10),c=new r(3),d=new r(7),u=a(296),h=a(7223);function f(e,t){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),this._pub=new r(e),this}function p(e,t){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),this._priv=new r(e),this}e.exports=b;var m={};function g(e,t){var a,i=t.toString("hex"),r=[i,e.toString(16)].join("_");if(r in m)return m[r];var h=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!n.test(e))return h+=1,"02"===i||"05"===i?h+=8:h+=4,m[r]=h,h;switch(!n.test(e.shrn(1))&&(h+=2),i){case"02":e.mod(s).cmp(l)&&(h+=8);break;case"05":(a=e.mod(o)).cmp(c)&&a.cmp(d)&&(h+=8);break;default:h+=4}return m[r]=h,h}function b(e,t,a){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,a?(this.setPublicKey=f,this.setPrivateKey=p):this._primeCode=8}function _(e,t){var a=new i.Buffer(e.toArray());return t?a.toString(t):a}Object.defineProperty(b.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=g(this.__prime,this.__gen)),this._primeCode}}),b.prototype.generateKeys=function(){return this._priv||(this._priv=new r(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},b.prototype.computeSecret=function(e){var t=(e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed(),a=new i.Buffer(t.toArray()),n=this.getPrime();if(a.length<n.length){var s=new i.Buffer(n.length-a.length);s.fill(0),a=i.Buffer.concat([s,a])}return a},b.prototype.getPublicKey=function(e){return _(this._pub,e)},b.prototype.getPrivateKey=function(e){return _(this._priv,e)},b.prototype.getPrime=function(e){return _(this.__prime,e)},b.prototype.getGenerator=function(e){return _(this._gen,e)},b.prototype.setGenerator=function(e,t){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),this.__gen=e,this._gen=new r(e),this}},296:function(e,t,a){var i=a(7223);e.exports=_,_.simpleSieve=g,_.fermatTest=b;var r=a(711),n=new r(24),s=new(a(1354)),l=new r(1),o=new r(2),c=new r(5);new r(16),new r(8);var d=new r(10),u=new r(3);new r(7);var h=new r(11),f=new r(4);new r(12);var p=null;function m(){if(null!==p)return p;var e=1048576,t=[];t[0]=2;for(var a=1,i=3;i<e;i+=2){for(var r=Math.ceil(Math.sqrt(i)),n=0;n<a&&t[n]<=r&&i%t[n]!=0;n++);a!==n&&t[n]<=r||(t[a++]=i)}return p=t,t}function g(e){for(var t=m(),a=0;a<t.length;a++)if(0===e.modn(t[a]))if(0!==e.cmpn(t[a]))return!1;else break;return!0}function b(e){var t=r.mont(e);return 0===o.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function _(e,t){var a,p;if(e<16)if(2===t||5===t)return new r([140,123]);else return new r([140,39]);for(t=new r(t);;){for(a=new r(i(Math.ceil(e/8)));a.bitLength()>e;)a.ishrn(1);if(a.isEven()&&a.iadd(l),a.testn(1)||a.iadd(o),t.cmp(o)){if(!t.cmp(c))for(;a.mod(d).cmp(u);)a.iadd(f)}else for(;a.mod(n).cmp(h);)a.iadd(f);if(g(p=a.shrn(1))&&g(a)&&b(p)&&b(a)&&s.test(p)&&s.test(a))return a}}},949:function(e,t,a){"use strict";var i=t;i.version=a(2531).i8,i.utils=a(4401),i.rand=a(3500),i.curve=a(9359),i.curves=a(6226),i.ec=a(4088),i.eddsa=a(8511)},2727:function(e,t,a){"use strict";var i=a(711),r=a(4401),n=r.getNAF,s=r.getJSF,l=r.assert;function o(e,t){this.type=e,this.p=new i(t.p,16),this.red=t.prime?i.red(t.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=t.n&&new i(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var a=this.n&&this.p.div(this.n);!a||a.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}
vendor: 11,521 bytes, line 6
6function c(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=o,o.prototype.point=function(){throw Error("Not implemented")},o.prototype.validate=function(){throw Error("Not implemented")},o.prototype._fixedNafMul=function(e,t){l(e.precomputed);var a=e._getDoubles(),i=n(t,1,this._bitLength),r=(1<<a.step+1)-(a.step%2==0?2:1);r/=3;for(var s=[],o=0;o<i.length;o+=a.step){for(var c=0,t=o+a.step-1;t>=o;t--)c=(c<<1)+i[t];s.push(c)}for(var d=this.jpoint(null,null,null),u=this.jpoint(null,null,null),h=r;h>0;h--){for(var o=0;o<s.length;o++){var c=s[o];c===h?u=u.mixedAdd(a.points[o]):c===-h&&(u=u.mixedAdd(a.points[o].neg()))}d=d.add(u)}return d.toP()},o.prototype._wnafMul=function(e,t){var a=4,i=e._getNAFPoints(a);a=i.wnd;for(var r=i.points,s=n(t,a,this._bitLength),o=this.jpoint(null,null,null),c=s.length-1;c>=0;c--){for(var t=0;c>=0&&0===s[c];c--)t++;if(c>=0&&t++,o=o.dblp(t),c<0)break;var d=s[c];l(0!==d),o="affine"===e.type?d>0?o.mixedAdd(r[d-1>>1]):o.mixedAdd(r[-d-1>>1].neg()):d>0?o.add(r[d-1>>1]):o.add(r[-d-1>>1].neg())}return"affine"===e.type?o.toP():o},o.prototype._wnafMulAdd=function(e,t,a,i,r){for(var l=this._wnafT1,o=this._wnafT2,c=this._wnafT3,d=0,u=0;u<i;u++){var h=t[u],f=h._getNAFPoints(e);l[u]=f.wnd,o[u]=f.points}for(var u=i-1;u>=1;u-=2){var p=u-1,m=u;if(1!==l[p]||1!==l[m]){c[p]=n(a[p],l[p],this._bitLength),c[m]=n(a[m],l[m],this._bitLength),d=Math.max(c[p].length,d),d=Math.max(c[m].length,d);continue}var g=[t[p],null,null,t[m]];0===t[p].y.cmp(t[m].y)?(g[1]=t[p].add(t[m]),g[2]=t[p].toJ().mixedAdd(t[m].neg())):0===t[p].y.cmp(t[m].y.redNeg())?(g[1]=t[p].toJ().mixedAdd(t[m]),g[2]=t[p].add(t[m].neg())):(g[1]=t[p].toJ().mixedAdd(t[m]),g[2]=t[p].toJ().mixedAdd(t[m].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],_=s(a[p],a[m]);d=Math.max(_[0].length,d),c[p]=Array(d),c[m]=Array(d);for(var y=0;y<d;y++){var x=0|_[0][y],v=0|_[1][y];c[p][y]=b[(x+1)*3+(v+1)],c[m][y]=0,o[p]=g}}for(var A=this.jpoint(null,null,null),w=this._wnafT4,u=d;u>=0;u--){for(var E=0;u>=0;){for(var S=!0,y=0;y<i;y++)w[y]=0|c[y][u],0!==w[y]&&(S=!1);if(!S)break;E++,u--}if(u>=0&&E++,A=A.dblp(E),u<0)break;for(var y=0;y<i;y++){var h,C=w[y];0!==C&&(C>0?h=o[y][C-1>>1]:C<0&&(h=o[y][-C-1>>1].neg()),A="affine"===h.type?A.mixedAdd(h):A.add(h))}}for(var u=0;u<i;u++)o[u]=null;return r?A:A.toP()},o.BasePoint=c,c.prototype.eq=function(){throw Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},o.prototype.decodePoint=function(e,t){e=r.toArray(e,t);var a=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*a)return 6===e[0]?l(e[e.length-1]%2==0):7===e[0]&&l(e[e.length-1]%2==1),this.point(e.slice(1,1+a),e.slice(1+a,1+2*a));if((2===e[0]||3===e[0])&&e.length-1===a)return this.pointFromX(e.slice(1,1+a),3===e[0]);throw Error("Unknown point format")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.prototype._encode=function(e){var t=this.curve.p.byteLength(),a=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(a):[4].concat(a,this.getY().toArray("be",t))},c.prototype.encode=function(e,t){return r.encode(this._encode(t),e)},c.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},c.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],i=this,r=0;r<t;r+=e){for(var n=0;n<e;n++)i=i.dbl();a.push(i)}return{step:e,points:a}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],a=(1<<e)-1,i=1===a?null:this.dbl(),r=1;r<a;r++)t[r]=t[r-1].add(i);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,a=0;a<e;a++)t=t.dbl();return t}},2705:function(e,t,a){"use strict";var i=a(4401),r=a(711),n=a(3782),s=a(2727),l=i.assert;function o(e){this.twisted=(0|e.a)!=1,this.mOneA=this.twisted&&(0|e.a)==-1,this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new r(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new r(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new r(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=(0|e.c)==1}function c(e,t,a,i,n){s.BasePoint.call(this,e,"projective"),null===t&&null===a&&null===i?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new r(t,16),this.y=new r(a,16),this.z=i?new r(i,16):this.curve.one,this.t=n&&new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}n(o,s),e.exports=o,o.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},o.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},o.prototype.jpoint=function(e,t,a,i){return this.point(e,t,a,i)},o.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var a=e.redSqr(),i=this.c2.redSub(this.a.redMul(a)),n=this.one.redSub(this.c2.redMul(this.d).redMul(a)),s=i.redMul(n.redInvm()),l=s.redSqrt();if(0!==l.redSqr().redSub(s).cmp(this.zero))throw Error("invalid point");var o=l.fromRed().isOdd();return(t&&!o||!t&&o)&&(l=l.redNeg()),this.point(e,l)},o.prototype.pointFromY=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var a=e.redSqr(),i=a.redSub(this.c2),n=a.redMul(this.d).redMul(this.c2).redSub(this.a),s=i.redMul(n.redInvm());if(0===s.cmp(this.zero))if(!t)return this.point(this.zero,e);else throw Error("invalid point");var l=s.redSqrt();if(0!==l.redSqr().redSub(s).cmp(this.zero))throw Error("invalid point");return l.fromRed().isOdd()!==t&&(l=l.redNeg()),this.point(l,e)},o.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),a=e.y.redSqr(),i=t.redMul(this.a).redAdd(a),r=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(a)));return 0===i.cmp(r)},n(c,s.BasePoint),o.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},o.prototype.point=function(e,t,a,i){return new c(this,e,t,a,i)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),a=this.z.redSqr();a=a.redIAdd(a);var i=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),n=i.redAdd(t),s=n.redSub(a),l=i.redSub(t),o=r.redMul(s),c=n.redMul(l),d=r.redMul(l),u=s.redMul(n);return this.curve.point(o,c,u,d)},c.prototype._projDbl=function(){var e,t,a,i=this.x.redAdd(this.y).redSqr(),r=this.x.redSqr(),n=this.y.redSqr();if(this.curve.twisted){var s=this.curve._mulA(r),l=s.redAdd(n);if(this.zOne)e=i.redSub(r).redSub(n).redMul(l.redSub(this.curve.two)),t=l.redMul(s.redSub(n)),a=l.redSqr().redSub(l).redSub(l);else{var o=this.z.redSqr(),c=l.redSub(o).redISub(o);e=i.redSub(r).redISub(n).redMul(c),t=l.redMul(s.redSub(n)),a=l.redMul(c)}}else{var s=r.redAdd(n),o=this.curve._mulC(this.z).redSqr(),c=s.redSub(o).redSub(o);e=this.curve._mulC(i.redISub(s)).redMul(c),t=this.curve._mulC(s).redMul(r.redISub(n)),a=s.redMul(c)}return this.curve.point(e,t,a)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),a=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),i=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),n=a.redSub(t),s=r.redSub(i),l=r.redAdd(i),o=a.redAdd(t),c=n.redMul(s),d=l.redMul(o),u=n.redMul(o),h=s.redMul(l);return this.curve.point(c,d,h,u)},c.prototype._projAdd=function(e){var t,a,i=this.z.redMul(e.z),r=i.redSqr(),n=this.x.redMul(e.x),s=this.y.redMul(e.y),l=this.curve.d.redMul(n).redMul(s),o=r.redSub(l),c=r.redAdd(l),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(n).redISub(s),u=i.redMul(o).redMul(d);return this.curve.twisted?(t=i.redMul(c).redMul(s.redSub(this.curve._mulA(n))),a=o.redMul(c)):(t=i.redMul(c).redMul(s.redSub(n)),a=this.curve._mulC(o).redMul(c)),this.curve.point(u,t,a)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,a){return this.curve._wnafMulAdd(1,[this,t],[e,a],2,!1)},c.prototype.jmulAdd=function(e,t,a){return this.curve._wnafMulAdd(1,[this,t],[e,a],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var a=e.clone(),i=this.curve.redN.redMul(this.z);;){if(a.iadd(this.curve.n),a.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(i),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},9359:function(e,t,a){"use strict";var i=t;i.base=a(2727),i.short=a(4720),i.mont=a(6653),i.edwards=a(2705)},6653:function(e,t,a){"use strict";var i=a(711),r=a(3782),n=a(2727),s=a(4401);function l(e){n.call(this,"mont",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function o(e,t,a){n.BasePoint.call(this,e,"projective"),null===t&&null===a?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(t,16),this.z=new i(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}r(l,n),e.exports=l,l.prototype.validate=function(e){var t=e.normalize().x,a=t.redSqr(),i=a.redMul(t).redAdd(a.redMul(this.a)).redAdd(t);return 0===i.redSqrt().redSqr().cmp(i)},r(o,n.BasePoint),l.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},l.prototype.point=function(e,t){return new o(this,e,t)},l.prototype.pointFromJSON=function(e){return o.fromJSON(this,e)},o.prototype.precompute=function(){},o.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},o.fromJSON=function(e,t){return new o(e,t[0],t[1]||e.one)},o.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>
6":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},o.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},o.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),a=e.redSub(t),i=e.redMul(t),r=a.redMul(t.redAdd(this.curve.a24.redMul(a)));return this.curve.point(i,r)},o.prototype.add=function(){throw Error("Not supported on Montgomery curve")},o.prototype.diffAdd=function(e,t){var a=this.x.redAdd(this.z),i=this.x.redSub(this.z),r=e.x.redAdd(e.z),n=e.x.redSub(e.z).redMul(a),s=r.redMul(i),l=t.z.redMul(n.redAdd(s).redSqr()),o=t.x.redMul(n.redISub(s).redSqr());return this.curve.point(l,o)},o.prototype.mul=function(e){for(var t=e.clone(),a=this,i=this.curve.point(null,null),r=this,n=[];0!==t.cmpn(0);t.iushrn(1))n.push(t.andln(1));for(var s=n.length-1;s>=0;s--)0===n[s]?(a=a.diffAdd(i,r),i=i.dbl()):(i=a.diffAdd(i,r),a=a.dbl());return i},o.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},o.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},o.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},o.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},o.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},4720:function(e,t,a){"use strict";var i=a(4401),r=a(711),n=a(3782),s=a(2727),l=i.assert;function o(e){s.call(this,"short",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function c(e,t,a,i){s.BasePoint.call(this,e,"affine"),null===t&&null===a?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(t,16),this.y=new r(a,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function d(e,t,a,i){s.BasePoint.call(this,e,"jacobian"),null===t&&null===a&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(t,16),this.y=new r(a,16),this.z=new r(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}n(o,s),e.exports=o,o.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(e.beta)t=new r(e.beta,16).toRed(this.red);else{var t,a,i,n=this._getEndoRoots(this.p);t=(t=0>n[0].cmp(n[1])?n[0]:n[1]).toRed(this.red)}if(e.lambda)a=new r(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?a=s[0]:(a=s[1],l(0===this.g.mul(a).x.cmp(this.g.x.redMul(t))))}return i=e.basis?e.basis.map(function(e){return{a:new r(e.a,16),b:new r(e.b,16)}}):this._getEndoBasis(a),{beta:t,lambda:a,basis:i}}},o.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:r.mont(e),a=new r(2).toRed(t).redInvm(),i=a.redNeg(),n=new r(3).toRed(t).redNeg().redSqrt().redMul(a);return[i.redAdd(n).fromRed(),i.redSub(n).fromRed()]},o.prototype._getEndoBasis=function(e){for(var t,a,i,n,s,l,o,c,d,u=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,f=this.n.clone(),p=new r(1),m=new r(0),g=new r(0),b=new r(1),_=0;0!==h.cmpn(0);){var y=f.div(h);c=f.sub(y.mul(h)),d=g.sub(y.mul(p));var x=b.sub(y.mul(m));if(!i&&0>c.cmp(u))t=o.neg(),a=p,i=c.neg(),n=d;else if(i&&2==++_)break;o=c,f=h,h=c,g=p,p=d,b=m,m=x}s=c.neg(),l=d;var v=i.sqr().add(n.sqr());return s.sqr().add(l.sqr()).cmp(v)>=0&&(s=t,l=a),i.negative&&(i=i.neg(),n=n.neg()),s.negative&&(s=s.neg(),l=l.neg()),[{a:i,b:n},{a:s,b:l}]},o.prototype._endoSplit=function(e){var t=this.endo.basis,a=t[0],i=t[1],r=i.b.mul(e).divRound(this.n),n=a.b.neg().mul(e).divRound(this.n),s=r.mul(a.a),l=n.mul(i.a),o=r.mul(a.b),c=n.mul(i.b);return{k1:e.sub(s).sub(l),k2:o.add(c).neg()}},o.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=a.redSqrt();if(0!==i.redSqr().redSub(a).cmp(this.zero))throw Error("invalid point");var n=i.fromRed().isOdd();return(t&&!n||!t&&n)&&(i=i.redNeg()),this.point(e,i)},o.prototype.validate=function(e){if(e.inf)return!0;
vendor: 5,200 bytes, line 6
6var t=e.x,a=e.y,i=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(i).redIAdd(this.b);return 0===a.redSqr().redISub(r).cmpn(0)},o.prototype._endoWnafMulAdd=function(e,t,a){for(var i=this._endoWnafT1,r=this._endoWnafT2,n=0;n<e.length;n++){var s=this._endoSplit(t[n]),l=e[n],o=l._getBeta();s.k1.negative&&(s.k1.ineg(),l=l.neg(!0)),s.k2.negative&&(s.k2.ineg(),o=o.neg(!0)),i[2*n]=l,i[2*n+1]=o,r[2*n]=s.k1,r[2*n+1]=s.k2}for(var c=this._wnafMulAdd(1,i,r,2*n,a),d=0;d<2*n;d++)i[d]=null,r[d]=null;return c},n(c,s.BasePoint),o.prototype.point=function(e,t,a){return new c(this,e,t,a)},o.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var a=this.curve,i=function(e){return a.point(e.x.redMul(a.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(i)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(i)}}}return t}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(e,t,a){"string"==typeof t&&(t=JSON.parse(t));var i=e.point(t[0],t[1],a);if(!t[2])return i;function r(t){return e.point(t[0],t[1],a)}var n=t[2];return i.precomputed={beta:null,doubles:n.doubles&&{step:n.doubles.step,points:[i].concat(n.doubles.points.map(r))},naf:n.naf&&{wnd:n.naf.wnd,points:[i].concat(n.naf.points.map(r))}},i},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e)||0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var a=t.redSqr().redISub(this.x).redISub(e.x),i=t.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,i)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,a=this.x.redSqr(),i=e.redInvm(),r=a.redAdd(a).redIAdd(a).redIAdd(t).redMul(i),n=r.redSqr().redISub(this.x.redAdd(this.x)),s=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,s)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return(e=new r(e,16),this.isInfinity())?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,a){var i=[this,t],r=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(i,r):this.curve._wnafMulAdd(1,i,r,2)},c.prototype.jmulAdd=function(e,t,a){var i=[this,t],r=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(i,r,!0):this.curve._wnafMulAdd(1,i,r,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,i=function(e){return e.neg()};t.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(i)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(i)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},n(d,s.BasePoint),o.prototype.jpoint=function(e,t,a){return new d(this,e,t,a)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),a=this.x.redMul(t),i=this.y.redMul(t).redMul(e);return this.curve.point(a,i)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),a=this.z.redSqr(),i=this.x.redMul(t),r=e.x.redMul(a),n=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(a.redMul(this.z)),l=i.redSub(r),o=n.redSub(s);if(0===l.cmpn(0))if(0!==o.cmpn(0))return this.curve.jpoint(null,null,null);else return this.dbl();var c=l.redSqr(),d=c.redMul(l),u=i.redMul(c),h=o.redSqr().redIAdd(d).redISub(u).redISub(u),f=o.redMul(u.redISub(h)).redISub(n.redMul(d)),p=this.z.redMul(e.z).redMul(l);return this.curve.jpoint(h,f,p)},d.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),a=this.x,i=e.x.redMul(t),r=this.y,n=e.y.redMul(t).redMul(this.z),s=a.redSub(i),l=r.redSub(n);if(0===s.cmpn(0))if(0!==l.cmpn(0))return this.curve.jpoint(null,null,null);else return this.dbl();var o=s.redSqr(),c=o.redMul(s),d=a.redMul(o),u=l.redSqr().redIAdd(c).redISub(d).redISub(d),h=l.redMul(
vendor: 4,111 bytes, line 6
6d.redISub(u)).redISub(r.redMul(c)),f=this.z.redMul(s);return this.curve.jpoint(u,h,f)},d.prototype.dblp=function(e){if(0===e||this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,a=0;a<e;a++)t=t.dbl();return t}for(var i=this.curve.a,r=this.curve.tinv,n=this.x,s=this.y,l=this.z,o=l.redSqr().redSqr(),c=s.redAdd(s),a=0;a<e;a++){var d=n.redSqr(),u=c.redSqr(),h=u.redSqr(),f=d.redAdd(d).redIAdd(d).redIAdd(i.redMul(o)),p=n.redMul(u),m=f.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),b=f.redMul(g);b=b.redIAdd(b).redISub(h);var _=c.redMul(l);a+1<e&&(o=o.redMul(h)),n=m,l=_,c=b}return this.curve.jpoint(n,c.redMul(r),l)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},d.prototype._zeroDbl=function(){if(this.zOne){var e,t,a,i=this.x.redSqr(),r=this.y.redSqr(),n=r.redSqr(),s=this.x.redAdd(r).redSqr().redISub(i).redISub(n);s=s.redIAdd(s);var l=i.redAdd(i).redIAdd(i),o=l.redSqr().redISub(s).redISub(s),c=n.redIAdd(n);c=(c=c.redIAdd(c)).redIAdd(c),e=o,t=l.redMul(s.redISub(o)).redISub(c),a=this.y.redAdd(this.y)}else{var d=this.x.redSqr(),u=this.y.redSqr(),h=u.redSqr(),f=this.x.redAdd(u).redSqr().redISub(d).redISub(h);f=f.redIAdd(f);var p=d.redAdd(d).redIAdd(d),m=p.redSqr(),g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(f).redISub(f),t=p.redMul(f.redISub(e)).redISub(g),a=(a=this.y.redMul(this.z)).redIAdd(a)}return this.curve.jpoint(e,t,a)},d.prototype._threeDbl=function(){if(this.zOne){var e,t,a,i=this.x.redSqr(),r=this.y.redSqr(),n=r.redSqr(),s=this.x.redAdd(r).redSqr().redISub(i).redISub(n);s=s.redIAdd(s);var l=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),o=l.redSqr().redISub(s).redISub(s);e=o;var c=n.redIAdd(n);c=(c=c.redIAdd(c)).redIAdd(c),t=l.redMul(s.redISub(o)).redISub(c),a=this.y.redAdd(this.y)}else{var d=this.z.redSqr(),u=this.y.redSqr(),h=this.x.redMul(u),f=this.x.redSub(d).redMul(this.x.redAdd(d));f=f.redAdd(f).redIAdd(f);var p=h.redIAdd(h),m=(p=p.redIAdd(p)).redAdd(p);e=f.redSqr().redISub(m),a=this.y.redAdd(this.z).redSqr().redISub(u).redISub(d);var g=u.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=f.redMul(p.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,a)},d.prototype._dbl=function(){var e=this.curve.a,t=this.x,a=this.y,i=this.z,r=i.redSqr().redSqr(),n=t.redSqr(),s=a.redSqr(),l=n.redAdd(n).redIAdd(n).redIAdd(e.redMul(r)),o=t.redAdd(t),c=(o=o.redIAdd(o)).redMul(s),d=l.redSqr().redISub(c.redAdd(c)),u=c.redISub(d),h=s.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=l.redMul(u).redISub(h),p=a.redAdd(a).redMul(i);return this.curve.jpoint(d,f,p)},d.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),a=this.z.redSqr(),i=t.redSqr(),r=e.redAdd(e).redIAdd(e),n=r.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(i),l=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(n)).redSqr(),o=i.redIAdd(i);o=(o=(o=o.redIAdd(o)).redIAdd(o)).redIAdd(o);var c=r.redIAdd(s).redSqr().redISub(n).redISub(l).redISub(o),d=t.redMul(c);d=(d=d.redIAdd(d)).redIAdd(d);var u=this.x.redMul(l).redISub(d);u=(u=u.redIAdd(u)).redIAdd(u);var h=this.y.redMul(c.redMul(o.redISub(c)).redISub(s.redMul(l)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=this.z.redAdd(s).redSqr().redISub(a).redISub(l);return this.curve.jpoint(u,h,f)},d.prototype.mul=function(e,t){return e=new r(e,t),this.curve._wnafMul(this,e)},d.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),a=e.z.redSqr();if(0!==this.x.redMul(a).redISub(e.x.redMul(t)).cmpn(0))return!1;var i=t.redMul(this.z),r=a.redMul(e.z);return 0===this.y.redMul(r).redISub(e.y.redMul(i)).cmpn(0)},d.prototype.eqXToP=function(e){var t=this.z.redSqr(),a=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(a))return!0;for(var i=e.clone(),r=this.curve.redN.redMul(t);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(a.redIAdd(r),0===this.x.cmp(a))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>
6":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},6226:function(e,t,a){"use strict";var i,r=t,n=a(7028),s=a(9359),l=a(4401).assert;function o(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var a=new o(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:a}),a}})}r.PresetCurve=o,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:n.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:n.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:n.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:n.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:n.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{i=a(9702)}catch(e){i=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:n.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"}
6,{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})},4088:function(e,t,a){"use strict";var i=a(711),r=a(4910),n=a(4401),s=a(6226),l=a(3500),o=n.assert,c=a(4724),d=a(7526);function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(o(s.hasOwnProperty(e),"Unknown curve "+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=u,u.prototype.keyPair=function(e){return new c(this,e)},u.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});for(var t=new r({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||l(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),n=this.n.sub(new i(2));;){var s=new i(t.generate(a));if(!(s.cmp(n)>0))return s.iaddn(1),this.keyFromPrivate(s)}},u.prototype._truncateToN=function(e,t){var a=8*e.byteLength()-this.n.bitLength();return(a>0&&(e=e.ushrn(a)),!t&&e.cmp(this.n)>=0)?e.sub(this.n):e},u.prototype.sign=function(e,t,a,n){"object"==typeof a&&(n=a,a=null),n||(n={}),t=this.keyFromPrivate(t,a),e=this._truncateToN(new i(e,16));for(var s=this.n.byteLength(),l=t.getPrivate().toArray("be",s),o=e.toArray("be",s),c=new r({hash:this.hash,entropy:l,nonce:o,pers:n.pers,persEnc:n.persEnc||"utf8"}),u=this.n.sub(new i(1)),h=0;;h++){var f=n.k?n.k(h):new i(c.generate(this.n.byteLength()));if(0>=(f=this._truncateToN(f,!0)).cmpn(1)||f.cmp(u)>=0)continue;var p=this.g.mul(f);if(!p.isInfinity()){var m=p.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var b=f.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(b=b.umod(this.n)).cmpn(0)){var _=!!p.getY().isOdd()|2*(0!==m.cmp(g));return n.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),_^=1),new d({r:g,s:b,recoveryParam:_})}}}}},u.prototype.verify=function(e,t,a,r){e=this._truncateToN(new i(e,16)),a=this.keyFromPublic(a,r);var n=(t=new d(t,"hex")).r,s=t.s;if(0>n.cmpn(1)||n.cmp(this.n)>=0||0>s.cmpn(1)||s.cmp(this.n)>=0)return!1;var l=s.invm(this.n),o=l.mul(e).umod(this.n),c=l.mul(n).umod(this.n);if(!this.curve._maxwellTrick){var u=this.g.mulAdd(o,a.getPublic(),c);return!u.isInfinity()&&0===u.getX().umod(this.n).cmp(n)}var u=this.g.jmulAdd(o,a.getPublic(),c);return!u.isInfinity()&&u.eqXToP(n)},u.prototype.recoverPubKey=function(e,t,a,r){o((3&a)===a,"The recovery param is more than two bits"),t=new d(t,r);var n=this.n,s=new i(e),l=t.r,c=t.s,u=1&a,h=a>>1;if(l.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw Error("Unable to find sencond key candinate");l=h?this.curve.pointFromX(l.add(this.curve.n),u):this.curve.pointFromX(l,u);var f=t.r.invm(n),p=n.sub(s).mul(f).umod(n),m=c.mul(f).umod(n);return this.g.mulAdd(p,l,m)},u.prototype.getKeyRecoveryParam=function(e,t,a,i){if(null!==(t=new d(t,i)).recoveryParam)return t.recoveryParam;for(var r,n=0;n<4;n++){try{r=this.recoverPubKey(e,t,n)}catch(e){continue}if(r.eq(a))return n}throw Error("Unable to find valid recovery factor")}},4724:function(e,t,a){"use strict";var i=a(711),r=a(4401).assert;function n(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=n,n.fromPublic=function(e,t,a){return t instanceof n?t:new n(e,{pub:t,pubEnc:a})},n.fromPrivate=function(e,t,a){return t instanceof n?t:new n(e,{priv:t,privEnc:a})},n.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(e,t){return("string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t)?this.pub.encode(t,e):this.pub},n.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(e,t){this.priv=new i(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(e,t){if(e.x||e.y){"mont"===this.ec.curve.type?r(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&r(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,t)},n.prototype.derive=function(e){return e.mul(this.priv).getX()},n.prototype.sign=function(e,t,a){return this.ec.sign(e,this,t,a)},n.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},n.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},7526:function(e,t,a){"use strict";var i=a(711),r=a(4401),n=r.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(n(e.r&&e.s,"Signature without r or s"),this.r=new i(e.r,16),this.s=new i(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function l(){this.place=0}function o(e,t){var a=e[t.place++];if(!(128&a))return a;var i=15&a;if(0===i||i>4)return!1;for(var r=0,n=0,s=t.place;n<i;n++,s++)r<<=8,r|=e[s],r>>>=0;return!(r<=127)&&(t.place=s,r)}function c(e){for(var t=0,a=e.length-1;!e[t]&&!(128&e[t+1])&&t<a;)t++;return 0===t?e:e.slice(t)}function d(e,t){if(t<128)return void e.push(t);var a=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|a);--a;)e.push(t>>>(a<<3)&255);e.push(t)}e.exports=s,s.prototype._importDER=function(e,t){e=r.toArray(e,t);var a=new l;if(48!==e[a.place++])return!1;var n=o(e,a);if(!1===n||n+a.place!==e.length||2!==e[a.place++])return!1;var s=o(e,a);if(!1===s)return!1;var c=e.slice(a.place,s+a.place);if(a.place+=s,2!==e[a.place++])return!1;var d=o(e,a);if(!1===d||e.length!==d+a.place)return!1;var u=e.slice(a.place,d+a.place);if(0===c[0])if(!(128&c[1]))return!1;else c=c.slice(1);if(0===u[0])if(!(128&u[1]))return!1;else u=u.slice(1);return this.r=new i(c),this.s=new i(u),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),a=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&a[0]&&(a=[0].concat(a)),t=c(t),a=c(a);!a[0]&&!(128&a[1]);)a=a.slice(1);var i=[2];d(i,t.length),(i=i.concat(t)).push(2),d(i,a.length);var n=i.concat(a),s=[48];return d(s,n.length),s=s.concat(n),r.encode(s,e)}},8511:function(e,t,a){"use strict";var i=a(7028),r=a(6226),n=a(4401),s=n.assert,l=n.parseBytes,o=a(9917),c=a(9314);function d(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof d))return new d(e);var e=r[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=i.sha512}e.exports=d,d.prototype.sign=function(e,t){e=l(e);var a=this.keyFromSecret(t),i=this.hashInt(a.messagePrefix(),e),r=this.g.mul(i),n=this.encodePoint(r),s=this.hashInt(n,a.pubBytes(),e).mul(a.priv()),o=i.add(s).umod(this.curve.n);return this.makeSignature({R:r,S:o,Rencoded:n})},d.prototype.verify=function(e,t,a){e=l(e),t=this.makeSignature(t);var i=this.keyFromPublic(a),r=this.hashInt(t.Rencoded(),i.pubBytes(),e),n=this.g.mul(t.S());return t.R().add(i.pub().mul(r)).eq(n)},d.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return n.intFromLE(e.digest()).umod(this.curve.n)},d.prototype.keyFromPublic=function(e){return o.fromPublic(this,e)},d.prototype.keyFromSecret=function(e){return o.fromSecret(this,e)},d.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},d.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=128*!!e.getX().isOdd(),t},d.prototype.decodePoint=function(e){var t=(e=n.parseBytes(e)).length-1,a=e.slice(0,t).concat(-129&e[t]),i=(128&e[t])!=0,r=n.intFromLE(a);return this.curve.pointFromY(r,i)},d.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},d.prototype.decodeInt=function(e){return n.intFromLE(e)},d.prototype.isPoint=function(e){return e instanceof this.pointClass}},9917:function(e,t,a){"use strict";
vendor: 2,192 bytes, line 6
6var i=a(4401),r=i.assert,n=i.parseBytes,s=i.cachedProperty;function l(e,t){this.eddsa=e,this._secret=n(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=n(t.pub)}l.fromPublic=function(e,t){return t instanceof l?t:new l(e,{pub:t})},l.fromSecret=function(e,t){return t instanceof l?t:new l(e,{secret:t})},l.prototype.secret=function(){return this._secret},s(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),s(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),s(l,"privBytes",function(){var e=this.eddsa,t=this.hash(),a=e.encodingLength-1,i=t.slice(0,e.encodingLength);return i[0]&=248,i[a]&=127,i[a]|=64,i}),s(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),s(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),s(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(e){return r(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},l.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},l.prototype.getSecret=function(e){return r(this._secret,"KeyPair is public only"),i.encode(this.secret(),e)},l.prototype.getPublic=function(e){return i.encode(this.pubBytes(),e)},e.exports=l},9314:function(e,t,a){"use strict";var i=a(711),r=a(4401),n=r.assert,s=r.cachedProperty,l=r.parseBytes;function o(e,t){this.eddsa=e,"object"!=typeof t&&(t=l(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),n(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}s(o,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),s(o,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),s(o,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),s(o,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),o.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},o.prototype.toHex=function(){return r.encode(this.toBytes(),"hex").toUpperCase()},e.exports=o},9702:function(e
vendor: 26,140 bytes, line 6
6){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
64401:function(e,t,a){"use strict";var i=t,r=a(711),n=a(3523),s=a(6545);function l(e){return"string"==typeof e?i.toArray(e,"hex"):e}i.assert=n,i.toArray=s.toArray,i.zero2=s.zero2,i.toHex=s.toHex,i.encode=s.encode,i.getNAF=function(e,t,a){var i=Array(Math.max(e.bitLength(),a)+1);i.fill(0);for(var r=1<<t+1,n=e.clone(),s=0;s<i.length;s++){var l,o=n.andln(r-1);n.isOdd()?(l=o>(r>>1)-1?(r>>1)-o:o,n.isubn(l)):l=0,i[s]=l,n.iushrn(1)}return i},i.getJSF=function(e,t){var a=[[],[]];e=e.clone(),t=t.clone();for(var i=0,r=0;e.cmpn(-i)>0||t.cmpn(-r)>0;){var n,s,l=e.andln(3)+i&3,o=t.andln(3)+r&3;if(3===l&&(l=-1),3===o&&(o=-1),(1&l)==0)n=0;else{var c=e.andln(7)+i&7;n=(3===c||5===c)&&2===o?-l:l}if(a[0].push(n),(1&o)==0)s=0;else{var c=t.andln(7)+r&7;s=(3===c||5===c)&&2===l?-o:o}a[1].push(s),2*i===n+1&&(i=1-i),2*r===s+1&&(r=1-r),e.iushrn(1),t.iushrn(1)}return a},i.cachedProperty=function(e,t,a){var i="_"+t;e.prototype[t]=function(){return void 0!==this[i]?this[i]:this[i]=a.call(this)}},i.parseBytes=l,i.intFromLE=function(e){return new r(e,"hex","le")}},8368:function(e,t,a){var i=a(6911).Buffer,r=a(3533);e.exports=function(e,t,a,n){if(i.isBuffer(e)||(e=i.from(e,"binary")),t&&(i.isBuffer(t)||(t=i.from(t,"binary")),8!==t.length))throw RangeError("salt should be Buffer with 8 byte length");for(var s=a/8,l=i.alloc(s),o=i.alloc(n||0),c=i.alloc(0);s>0||n>0;){var d=new r;d.update(c),d.update(e),t&&d.update(t),c=d.digest();var u=0;if(s>0){var h=l.length-s;u=Math.min(s,c.length),c.copy(l,h,0,u),s-=u}if(u<c.length&&n>0){var f=o.length-n,p=Math.min(n,c.length-u);c.copy(o,f,u,u+p),n-=p}}return c.fill(0),{key:l,iv:o}}},9029:function(e,t,a){"use strict";var i=a(6911).Buffer,r=a(3726).Transform;function n(e,t){if(!i.isBuffer(e)&&"string"!=typeof e)throw TypeError(t+" must be a string or a buffer")}function s(e){r.call(this),this._block=i.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}a(3782)(s,r),s.prototype._transform=function(e,t,a){var i=null;try{this.update(e,t)}catch(e){i=e}a(i)},s.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},s.prototype.update=function(e,t){if(n(e,"Data"),this._finalized)throw Error("Digest already called");i.isBuffer(e)||(e=i.from(e,t));for(var a=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)a[s++]=e[r++];this._update(),this._blockOffset=0}for(;r<e.length;)a[this._blockOffset++]=e[r++];for(var l=0,o=8*e.length;o>0;++l)this._length[l]+=o,(o=this._length[l]/0x100000000|0)>0&&(this._length[l]-=0x100000000*o);return this},s.prototype._update=function(){throw Error("_update is not implemented")},s.prototype.digest=function(e){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var a=0;a<4;++a)this._length[a]=0;return t},s.prototype._digest=function(){throw Error("_digest is not implemented")},e.exports=s},7028:function(e,t,a){var i=t;
vendor: 10,215 bytes, line 6
6i.utils=a(263),i.common=a(1330),i.sha=a(301),i.ripemd=a(3079),i.hmac=a(3092),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},1330:function(e,t,a){"use strict";var i=a(263),r=a(3523);function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=n,n.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var a=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-a,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-a,this.endian);for(var r=0;r<e.length;r+=this._delta32)this._update(e,r,r+this._delta32)}return this},n.prototype.digest=function(e){return this.update(this._pad()),r(null===this.pending),this._digest(e)},n.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,a=t-(e+this.padLength)%t,i=Array(a+this.padLength);i[0]=128;for(var r=1;r<a;r++)i[r]=0;if(e<<=3,"big"===this.endian){for(var n=8;n<this.padLength;n++)i[r++]=0;i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=e>>>24&255,i[r++]=e>>>16&255,i[r++]=e>>>8&255,i[r++]=255&e}else for(n=8,i[r++]=255&e,i[r++]=e>>>8&255,i[r++]=e>>>16&255,i[r++]=e>>>24&255,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0;n<this.padLength;n++)i[r++]=0;return i}},3092:function(e,t,a){"use strict";var i=a(263),r=a(3523);function n(e,t,a){if(!(this instanceof n))return new n(e,t,a);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(t,a))}e.exports=n,n.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(t=0,this.inner=(new this.Hash).update(e);t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},n.prototype.update=function(e,t){return this.inner.update(e,t),this},n.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},3079:function(e,t,a){"use strict";var i=a(263),r=a(1330),n=i.rotl32,s=i.sum32,l=i.sum32_3,o=i.sum32_4,c=r.BlockHash;function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.endian="little"}function u(e,t,a,i){return e<=15?t^a^i:e<=31?t&a|~t&i:e<=47?(t|~a)^i:e<=63?t&i|a&~i:t^(a|~i)}function h(e){return e<=15?0:e<=31?0x5a827999:e<=47?0x6ed9eba1:e<=63?0x8f1bbcdc:0xa953fd4e}function f(e){return e<=15?0x50a28be6:e<=31?0x5c4dd124:e<=47?0x6d703ef3:0x7a6d76e9*!!(e<=63)}i.inherits(d,c),t.ripemd160=d,d.blockSize=512,d.outSize=160,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(e,t){for(var a=this.h[0],i=this.h[1],r=this.h[2],c=this.h[3],d=this.h[4],_=a,y=i,x=r,v=c,A=d,w=0;w<80;w++){var E=s(n(o(a,u(w,i,r,c),e[p[w]+t],h(w)),g[w]),d);a=d,d=c,c=n(r,10),r=i,i=E,E=s(n(o(_,u(79-w,y,x,v),e[m[w]+t],f(w)),b[w]),A),_=A,A=v,v=n(x,10),x=y,y=E}E=l(this.h[1],r,v),this.h[1]=l(this.h[2],c,A),this.h[2]=l(this.h[3],d,_),this.h[3]=l(this.h[4],a,y),this.h[4]=l(this.h[0],i,x),this.h[0]=E},d.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},301:function(e,t,a){"use strict";t.sha1=a(2742),t.sha224=a(7105),t.sha256=a(1525),t.sha384=a(9948),t.sha512=a(1319)},2742:function(e,t,a){"use strict";var i=a(263),r=a(1330),n=a(2975),s=i.rotl32,l=i.sum32,o=i.sum32_5,c=n.ft_1,d=r.BlockHash,u=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6];function h(){if(!(this instanceof h))return new h;d.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.W=Array(80)}i.inherits(h,d),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var a=this.W,i=0;i<16;i++)a[i]=e[t+i];for(;i<a.length;i++)a[i]=s(a[i-3]^a[i-8]^a[i-14]^a[i-16],1);var r=this.h[0],n=this.h[1],d=this.h[2],h=this.h[3],f=this.h[4];for(i=0;i<a.length;i++){var p=~~(i/20),m=o(s(r,5),c(p,n,d,h),f,a[i],u[p]);f=h,h=d,d=s(n,30),n=r,r=m}this.h[0]=l(this.h[0],r),this.h[1]=l(this.h[1],n),this.h[2]=l(this.h[2],d),this.h[3]=l(this.h[3],h),this.h[4]=l(this.h[4],f)},h.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},7105:function(e,t,a){"use strict";var i=a(263),r=a(1525);function n(){if(!(this instanceof n))return new n;r.call(this),this.h=[0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]}i.inherits(n,r),e.exports=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},1525:function(e,t,a){"use strict";var i=a(263),r=a(1330),n=a(2975),s=a(3523),l=i.sum32,o=i.sum32_4,c=i.sum32_5,d=n.ch32,u=n.maj32,h=n.s0_256,f=n.s1_256,p=n.g0_256,m=n.g1_256,g=r.BlockHash,b=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2];function _(){if(!(this instanceof _))return new _;g.call(this),this.h=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],this.k=b,this.W=Array(64)}i.inherits(_,g),e.exports=_,_.blockSize=512,_.outSize=256,_.hmacStrength=192,_.padLength=64,_.prototype._update=function(e,t){for(var a=this.W,i=0;i<16;i++)a[i]=e[t+i];for(;i<a.length;i++)a[i]=o(m(a[i-2]),a[i-7],p(a[i-15]),a[i-16]);var r=this.h[0],n=this.h[1],g=this.h[2],b=this.h[3],_=this.h[4],y=this.h[5],x=this.h[6],v=this.h[7];for(s(this.k.length===a.length),i=0;i<a.length;i++){var A=c(v,f(_),d(_,y,x),this.k[i],a[i]),w=l(h(r),u(r,n,g));v=x,x=y,y=_,_=l(b,A),b=g,g=n,n=r,r=l(A,w)}this.h[0]=l(this.h[0],r),this.h[1]=l(this.h[1],n),this.h[2]=l(this.h[2],g),this.h[3]=l(this.h[3],b),this.h[4]=l(this.h[4],_),this.h[5]=l(this.h[5],y),this.h[6]=l(this.h[6],x),this.h[7]=l(this.h[7],v)},_.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},9948:function(e,t,a){"use strict";var i=a(263),r=a(1319);function n(){if(!(this instanceof n))return new n;r.call(this),this.h=[0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]}i.inherits(n,r),e.exports=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},1319:function(e,t,a){"use strict";var i=a(263),r=a(1330),n=a(3523),s=i.rotr64_hi,l=i.rotr64_lo,o=i.shr64_hi,c=i.shr64_lo,d=i.sum64,u=i.sum64_hi,h=i.sum64_lo,f=i.sum64_4_hi,p=i.sum64_4_lo,m=i.sum64_5_hi,g=i.sum64_5_lo,b=r.BlockHash,_=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817];function y(){if(!(this instanceof y))return new y;
6b.call(this),this.h=[0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179],this.k=_,this.W=Array(160)}function x(e,t,a,i,r){var n=e&a^~e&r;return n<0&&(n+=0x100000000),n}function v(e,t,a,i,r,n){var s=t&i^~t&n;return s<0&&(s+=0x100000000),s}function A(e,t,a,i,r){var n=e&a^e&r^a&r;return n<0&&(n+=0x100000000),n}function w(e,t,a,i,r,n){var s=t&i^t&n^i&n;return s<0&&(s+=0x100000000),s}function E(e,t){var a=s(e,t,28)^s(t,e,2)^s(t,e,7);return a<0&&(a+=0x100000000),a}function S(e,t){var a=l(e,t,28)^l(t,e,2)^l(t,e,7);return a<0&&(a+=0x100000000),a}function C(e,t){var a=s(e,t,14)^s(e,t,18)^s(t,e,9);return a<0&&(a+=0x100000000),a}function T(e,t){var a=l(e,t,14)^l(e,t,18)^l(t,e,9);return a<0&&(a+=0x100000000),a}function N(e,t){var a=s(e,t,1)^s(e,t,8)^o(e,t,7);return a<0&&(a+=0x100000000),a}function k(e,t){var a=l(e,t,1)^l(e,t,8)^c(e,t,7);return a<0&&(a+=0x100000000),a}function I(e,t){var a=s(e,t,19)^s(t,e,29)^o(e,t,6);return a<0&&(a+=0x100000000),a}function j(e,t){var a=l(e,t,19)^l(t,e,29)^c(e,t,6);return a<0&&(a+=0x100000000),a}i.inherits(y,b),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var a=this.W,i=0;i<32;i++)a[i]=e[t+i];for(;i<a.length;i+=2){var r=I(a[i-4],a[i-3]),n=j(a[i-4],a[i-3]),s=a[i-14],l=a[i-13],o=N(a[i-30],a[i-29]),c=k(a[i-30],a[i-29]),d=a[i-32],u=a[i-31];a[i]=f(r,n,s,l,o,c,d,u),a[i+1]=p(r,n,s,l,o,c,d,u)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var a=this.W,i=this.h[0],r=this.h[1],s=this.h[2],l=this.h[3],o=this.h[4],c=this.h[5],f=this.h[6],p=this.h[7],b=this.h[8],_=this.h[9],y=this.h[10],N=this.h[11],k=this.h[12],I=this.h[13],j=this.h[14],P=this.h[15];n(this.k.length===a.length);for(var L=0;L<a.length;L+=2){var O=j,D=P,M=C(b,_),R=T(b,_),F=x(b,_,y,N,k,I),B=v(b,_,y,N,k,I),U=this.k[L],H=this.k[L+1],$=a[L],G=a[L+1],W=m(O,D,M,R,F,B,U,H,$,G),Y=g(O,D,M,R,F,B,U,H,$,G);O=E(i,r),D=S(i,r);var z=u(O,D,M=A(i,r,s,l,o,c),R=w(i,r,s,l,o,c)),V=h(O,D,M,R);j=k,P=I,k=y,I=N,y=b,N=_,b=u(f,p,W,Y),_=h(p,p,W,Y),f=o,p=c,o=s,c=l,s=i,l=r,i=u(W,Y,z,V),r=h(W,Y,z,V)}d(this.h,0,i,r),d(this.h,2,s,l),d(this.h,4,o,c),d(this.h,6,f,p),d(this.h,8,b,_),d(this.h,10,y,N),d(this.h,12,k,I),d(this.h,14,j,P)},y.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},2975:function(e,t,a){"use strict";var i=a(263).rotr32;function r(e,t,a){return e&t^~e&a}function n(e,t,a){return e&t^e&a^t&a}function s(e,t,a){return e^t^a}t.ft_1=function(e,t,a,i){return 0===e?r(t,a,i):1===e||3===e?s(t,a,i):2===e?n(t,a,i):void 0},t.ch32=r,t.maj32=n,t.p32=s,t.s0_256=function(e){return i(e,2)^i(e,13)^i(e,22)},t.s1_256=function(e){return i(e,6)^i(e,11)^i(e,25)},t.g0_256=function(e){return i(e,7)^i(e,18)^e>>>3},t.g1_256=function(e){return i(e,17)^i(e,19)^e>>>10}},263:function(e,t,a){"use strict";var i=a(3523);function r(e,t){return(64512&e.charCodeAt(t))==55296&&!(t<0)&&!(t+1>=e.length)&&(64512&e.charCodeAt(t+1))==56320}function n(e){return(e>>>24|e>>>8&65280|e<<8&0xff0000|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){if(7===e.length)return"0"+e;if(6===e.length)return"00"+e;if(5===e.length)return"000"+e;if(4===e.length)return"0000"+e;if(3===e.length)return"00000"+e;else if(2===e.length)return"000000"+e;else if(1===e.length)return"0000000"+e;else return e}t.inherits=a(3782),t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var a=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)a.push(parseInt(e[n]+e[n+1],16))}else for(var i=0,n=0;n<e.length;n++){var s=e.charCodeAt(n);s<128?a[i++]=s:(s<2048?a[i++]=s>>6|192:(r(e,n)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++n)),a[i++]=s>>18|240,a[i++]=s>>12&63|128):a[i++]=s>>12|224,a[i++]=s>>6&63|128),a[i++]=63&s|128)}else for(n=0;n<e.length;n++)a[n]=0|e[n];return a},t.toHex=function(e){for(var t="",a=0;a<e.length;a++)t+=s(e[a].toString(16));return t},t.htonl=n,t.toHex32=function(e,t){for(var a="",i=0;i<e.length;i++){var r=e[i];"little"===t&&(r=n(r)),a+=l(r.toString(16))}return a},t.zero2=s,t.zero8=l,t.join32=function(e,t,a,r){var n,s=a-t;i(s%4==0);for(var l=Array(s/4),o=0,c=t;o<l.length;o++,c+=4)n="big"===r?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],l[o]=n>>>0;return l},t.split32=function(e,t){for(var a=Array(4*e.length),i=0,r=0;i<e.length;i++,r+=4){var n=e[i];"big"===t?(a[r]=n>>>24,a[r+1]=n>>>16&255,a[r+2]=n>>>8&255,a[r+3]=255&n):(a[r+3]=n>>>24,a[r+2]=n>>>
vendor: 4,376 bytes, line 6
616&255,a[r+1]=n>>>8&255,a[r]=255&n)}return a},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,a){return e+t+a>>>0},t.sum32_4=function(e,t,a,i){return e+t+a+i>>>0},t.sum32_5=function(e,t,a,i,r){return e+t+a+i+r>>>0},t.sum64=function(e,t,a,i){var r=e[t],n=i+e[t+1]>>>0,s=+(n<i)+a+r;e[t]=s>>>0,e[t+1]=n},t.sum64_hi=function(e,t,a,i){return+(t+i>>>0<t)+e+a>>>0},t.sum64_lo=function(e,t,a,i){return t+i>>>0},t.sum64_4_hi=function(e,t,a,i,r,n,s,l){var o,c=t;return e+a+r+s+(o=0+ +((c=c+i>>>0)<t)+ +((c=c+n>>>0)<n)+ +((c=c+l>>>0)<l))>>>0},t.sum64_4_lo=function(e,t,a,i,r,n,s,l){return t+i+n+l>>>0},t.sum64_5_hi=function(e,t,a,i,r,n,s,l,o,c){var d,u=t;return e+a+r+s+o+(d=0+ +((u=u+i>>>0)<t)+ +((u=u+n>>>0)<n)+ +((u=u+l>>>0)<l)+ +((u=u+c>>>0)<c))>>>0},t.sum64_5_lo=function(e,t,a,i,r,n,s,l,o,c){return t+i+n+l+c>>>0},t.rotr64_hi=function(e,t,a){return(t<<32-a|e>>>a)>>>0},t.rotr64_lo=function(e,t,a){return(e<<32-a|t>>>a)>>>0},t.shr64_hi=function(e,t,a){return e>>>a},t.shr64_lo=function(e,t,a){return(e<<32-a|t>>>a)>>>0}},4910:function(e,t,a){"use strict";var i=a(7028),r=a(6545),n=a(3523);function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=r.toArray(e.entropy,e.entropyEnc||"hex"),a=r.toArray(e.nonce,e.nonceEnc||"hex"),i=r.toArray(e.pers,e.persEnc||"hex");n(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,a,i)}e.exports=s,s.prototype._init=function(e,t,a){var i=e.concat(t).concat(a);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var r=0;r<this.V.length;r++)this.K[r]=0,this.V[r]=1;this._update(i),this._reseed=1,this.reseedInterval=0x1000000000000},s.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},s.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},s.prototype.reseed=function(e,t,a,i){"string"!=typeof t&&(i=a,a=t,t=null),e=r.toArray(e,t),a=r.toArray(a,i),n(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(a||[])),this._reseed=1},s.prototype.generate=function(e,t,a,i){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof t&&(i=a,a=t,t=null),a&&(a=r.toArray(a,i||"hex"),this._update(a));for(var n=[];n.length<e;)this.V=this._hmac().update(this.V).digest(),n=n.concat(this.V);var s=n.slice(0,e);return this._update(a),this._reseed++,r.encode(s,t)}},3782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var a=function(){};a.prototype=t.prototype,e.prototype=new a,e.prototype.constructor=e}}},3533:function(e,t,a){"use strict";var i=a(3782),r=a(9029),n=a(6911).Buffer,s=Array(16);function l(){r.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476}function o(e,t){return e<<t|e>>>32-t}function c(e,t,a,i,r,n,s){return o(e+(t&a|~t&i)+r+n|0,s)+t|0}function d(e,t,a,i,r,n,s){return o(e+(t&i|a&~i)+r+n|0,s)+t|0}function u(e,t,a,i,r,n,s){return o(e+(t^a^i)+r+n|0,s)+t|0}function h(e,t,a,i,r,n,s){return o(e+(a^(t|~i))+r+n|0,s)+t|0}i(l,r),l.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var a=this._a,i=this._b,r=this._c,n=this._d;a=c(a,i,r,n,e[0],0xd76aa478,7),n=c(n,a,i,r,e[1],0xe8c7b756,12),r=c(r,n,a,i,e[2],0x242070db,17),i=c(i,r,n,a,e[3],0xc1bdceee,22),a=c(a,i,r,n,e[4],0xf57c0faf,7),n=c(n,a,i,r,e[5],0x4787c62a,12),r=c(r,n,a,i,e[6],0xa8304613,17),i=c(i,r,n,a,e[7],0xfd469501,22),a=c(a,i,r,n,e[8],0x698098d8,7),n=c(n,a,i,r,e[9],0x8b44f7af,12),r=c(r,n,a,i,e[10],0xffff5bb1,17),i=c(i,r,n,a,e[11],0x895cd7be,22),a=c(a,i,r,n,e[12],0x6b901122,7),n=c(n,a,i,r,e[13],0xfd987193,12),r=c(r,n,a,i,e[14],0xa679438e,17),i=c(i,r,n,a,e[15],0x49b40821,22),a=d(a,i,r,n,e[1],0xf61e2562,5),n=d(n,a,i,r,e[6],0xc040b340,9),r=
vendor: 7,720 bytes, line 6
6d(r,n,a,i,e[11],0x265e5a51,14),i=d(i,r,n,a,e[0],0xe9b6c7aa,20),a=d(a,i,r,n,e[5],0xd62f105d,5),n=d(n,a,i,r,e[10],0x2441453,9),r=d(r,n,a,i,e[15],0xd8a1e681,14),i=d(i,r,n,a,e[4],0xe7d3fbc8,20),a=d(a,i,r,n,e[9],0x21e1cde6,5),n=d(n,a,i,r,e[14],0xc33707d6,9),r=d(r,n,a,i,e[3],0xf4d50d87,14),i=d(i,r,n,a,e[8],0x455a14ed,20),a=d(a,i,r,n,e[13],0xa9e3e905,5),n=d(n,a,i,r,e[2],0xfcefa3f8,9),r=d(r,n,a,i,e[7],0x676f02d9,14),i=d(i,r,n,a,e[12],0x8d2a4c8a,20),a=u(a,i,r,n,e[5],0xfffa3942,4),n=u(n,a,i,r,e[8],0x8771f681,11),r=u(r,n,a,i,e[11],0x6d9d6122,16),i=u(i,r,n,a,e[14],0xfde5380c,23),a=u(a,i,r,n,e[1],0xa4beea44,4),n=u(n,a,i,r,e[4],0x4bdecfa9,11),r=u(r,n,a,i,e[7],0xf6bb4b60,16),i=u(i,r,n,a,e[10],0xbebfbc70,23),a=u(a,i,r,n,e[13],0x289b7ec6,4),n=u(n,a,i,r,e[0],0xeaa127fa,11),r=u(r,n,a,i,e[3],0xd4ef3085,16),i=u(i,r,n,a,e[6],0x4881d05,23),a=u(a,i,r,n,e[9],0xd9d4d039,4),n=u(n,a,i,r,e[12],0xe6db99e5,11),r=u(r,n,a,i,e[15],0x1fa27cf8,16),i=u(i,r,n,a,e[2],0xc4ac5665,23),a=h(a,i,r,n,e[0],0xf4292244,6),n=h(n,a,i,r,e[7],0x432aff97,10),r=h(r,n,a,i,e[14],0xab9423a7,15),i=h(i,r,n,a,e[5],0xfc93a039,21),a=h(a,i,r,n,e[12],0x655b59c3,6),n=h(n,a,i,r,e[3],0x8f0ccc92,10),r=h(r,n,a,i,e[10],0xffeff47d,15),i=h(i,r,n,a,e[1],0x85845dd1,21),a=h(a,i,r,n,e[8],0x6fa87e4f,6),n=h(n,a,i,r,e[15],0xfe2ce6e0,10),r=h(r,n,a,i,e[6],0xa3014314,15),i=h(i,r,n,a,e[13],0x4e0811a1,21),a=h(a,i,r,n,e[4],0xf7537e82,6),n=h(n,a,i,r,e[11],0xbd3af235,10),r=h(r,n,a,i,e[2],0x2ad7d2bb,15),i=h(i,r,n,a,e[9],0xeb86d391,21),this._a=this._a+a|0,this._b=this._b+i|0,this._c=this._c+r|0,this._d=this._d+n|0},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=l},1354:function(e,t,a){var i=a(711),r=a(3500);function n(e){this.rand=e||new r.Rand}e.exports=n,n.create=function(e){return new n(e)},n.prototype._randbelow=function(e){var t=Math.ceil(e.bitLength()/8);do var a=new i(this.rand.generate(t));while(a.cmp(e)>=0)return a},n.prototype._randrange=function(e,t){var a=t.sub(e);return e.add(this._randbelow(a))},n.prototype.test=function(e,t,a){var r=e.bitLength(),n=i.mont(e),s=new i(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var l=e.subn(1),o=0;!l.testn(o);o++);for(var c=e.shrn(o),d=l.toRed(n),u=!0;t>0;t--){var h=this._randrange(new i(2),l);a&&a(h);var f=h.toRed(n).redPow(c);if(0!==f.cmp(s)&&0!==f.cmp(d)){for(var p=1;p<o;p++){if(0===(f=f.redSqr()).cmp(s))return!1;if(0===f.cmp(d))break}if(p===o)return!1}}return u},n.prototype.getDivisor=function(e,t){var a=e.bitLength(),r=i.mont(e),n=new i(1).toRed(r);t||(t=Math.max(1,a/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var o=e.shrn(l),c=s.toRed(r);t>0;t--){var d=this._randrange(new i(2),s),u=e.gcd(d);if(0!==u.cmpn(1))return u;var h=d.toRed(r).redPow(o);if(0!==h.cmp(n)&&0!==h.cmp(c)){for(var f=1;f<l;f++){if(0===(h=h.redSqr()).cmp(n))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(c))break}if(f===l)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},3523:function(e){function t(e,t){if(!e)throw Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,a){if(e!=t)throw Error(a||"Assertion failed: "+e+" != "+t)}},6545:function(e,t){"use strict";var a=t;function i(e){return 1===e.length?"0"+e:e}function r(e){for(var t="",a=0;a<e.length;a++)t+=i(e[a].toString(16));return t}a.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var a=[];if("string"!=typeof e){for(var i=0;i<e.length;i++)a[i]=0|e[i];return a}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(var i=0;i<e.length;i+=2)a.push(parseInt(e[i]+e[i+1],16))}else for(var i=0;i<e.length;i++){var r=e.charCodeAt(i),n=r>>8,s=255&r;n?a.push(n,s):a.push(s)}return a},a.zero2=i,a.toHex=r,a.encode=function(e,t){return"hex"===t?r(e):e}},8687:function(e,t,a){"use strict";var i=a(7160);t.certificate=a(8782),t.RSAPrivateKey=i.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}),t.RSAPublicKey=i.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}),t.PublicKey=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(r),this.key("subjectPublicKey").bitstr())});var r=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())});t.PrivateKey=i.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(r),this.key("subjectPrivateKey").octstr())}),t.EncryptedPrivateKey=i.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}),t.DSAPrivateKey=i.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}),t.DSAparam=i.define("DSAparam",function(){this.int()}),t.ECPrivateKey=i.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(n),this.key("publicKey").optional().explicit(1).bitstr())});var n=i.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.signature=i.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},8782:function(e,t,a){"use strict";var i=a(7160),r=i.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),n=i.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),s=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}),o=i.define("RelativeDistinguishedName",function(){this.setof(n)}),c=i.define("RDNSequence",function(){this.seqof(o)}),d=i.define("Name",function(){this.choice({rdnSequence:this.use(c)})}),u=i.define("Validity",function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))}),h=i.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),f=i.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(d),this.key("validity").use(u),this.key("subject").use(d),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())});
6e.exports=i.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())})},6501:function(e,t,a){var i=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,n=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,s=a(8368),l=a(6594),o=a(6911).Buffer;e.exports=function(e,t){var a,c=e.toString(),d=c.match(i);if(d){var u="aes"+d[1],h=o.from(d[2],"hex"),f=o.from(d[3].replace(/[\r\n]/g,""),"base64"),p=s(t,h.slice(0,8),parseInt(d[1],10)).key,m=[],g=l.createDecipheriv(u,p,h);m.push(g.update(f)),m.push(g.final()),a=o.concat(m)}else a=new o(c.match(n)[2].replace(/[\r\n]/g,""),"base64");return{tag:c.match(r)[1],data:a}}},9902:function(e,t,a){var i=a(8687),r=a(2510),n=a(6501),s=a(6594),l=a(4978),o=a(6911).Buffer;function c(e){"object"!=typeof e||o.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=o.from(e));var t,a,r,s=n(e,t),l=s.tag,c=s.data;switch(l){case"CERTIFICATE":r=i.certificate.decode(c,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(!r&&(r=i.PublicKey.decode(c,"der")),a=r.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(r.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return r.subjectPrivateKey=r.subjectPublicKey,{type:"ec",data:r};case"1.2.840.10040.4.1":return r.algorithm.params.pub_key=i.DSAparam.decode(r.subjectPublicKey.data,"der"),{type:"dsa",data:r.algorithm.params};default:throw Error("unknown key id "+a)}case"ENCRYPTED PRIVATE KEY":c=d(c=i.EncryptedPrivateKey.decode(c,"der"),t);case"PRIVATE KEY":switch(a=(r=i.PrivateKey.decode(c,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(r.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:r.algorithm.curve,privateKey:i.ECPrivateKey.decode(r.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return r.algorithm.params.priv_key=i.DSAparam.decode(r.subjectPrivateKey,"der"),{type:"dsa",params:r.algorithm.params};default:throw Error("unknown key id "+a)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(c,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(c,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(c,"der")};case"EC PRIVATE KEY":return{curve:(c=i.ECPrivateKey.decode(c,"der")).parameters.value,privateKey:c.privateKey};default:throw Error("unknown key type "+l)}}function d(e,t){var a=e.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),n=r[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,d=e.subjectPrivateKey,u=parseInt(n.split("-")[1],10)/8,h=l.pbkdf2Sync(t,a,i,u,"sha1"),f=s.createDecipheriv(n,h,c),p=[];return p.push(f.update(d)),p.push(f.final()),o.concat(p)}e.exports=c,c.signature=i.signature},4978:function(e,t,a){var i=a(6113),r=a(5349),n=a(7007),s=a(5407);function l(e,t,a,l,o,c){if(r(a,l),e=s(e,n,"Password"),t=s(t,n,"Salt"),"function"==typeof o&&(c=o,o="sha1"),"function"!=typeof c)throw Error("No callback provided to pbkdf2");return i.pbkdf2(e,t,a,l,o,c)}function o(e,t,a,l,o){return r(a,l),e=s(e,n,"Password"),t=s(t,n,"Salt"),o=o||"sha1",i.pbkdf2Sync(e,t,a,l,o)}i.pbkdf2Sync&&-1!==i.pbkdf2Sync.toString().indexOf("keylen, digest")?(t.pbkdf2Sync=o,t.pbkdf2=l):(t.pbkdf2Sync=a(2127),t.pbkdf2=a(9601))},9601:function(t,a,i){var n,s=i(6911).Buffer,l=i(5349),o=i(7007),c=i(2127),d=i(5407),u=e.g.crypto&&e.g.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function p(t){if(e.g.process&&!e.g.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==f[t])return f[t];var a=m(n=n||s.alloc(8),n,10,128,t).then(function(){return!0}).catch(function(){return!1});return f[t]=a,a}function m(e,t,a,i,r){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:a,hash:{name:r}},e,i<<3)}).then(function(e){return s.from(e)})}function g(e,t){e.then(function(e){r.default.nextTick(function(){t(null,e)})},function(e){r.default.nextTick(function(){t(e)})})}t.exports=function(t,a,i,n,s,u){"function"==typeof s&&(u=s,s=void 0);var f=h[(s=s||"sha1").toLowerCase()];if(!f||"function"!=typeof e.g.Promise)return r.default.nextTick(function(){var e;try{e=c(t,a,i,n,s)}catch(e){return u(e)}u(null,e)});if(l(i,n),t=d(t,o,"Password"),a=d(a,o,"Salt"),"function"!=typeof u)throw Error("No callback provided to pbkdf2");g(p(f).then(function(e){return e?m(t,a,i,n,f):c(t,a,i,n,s)}),u)}},7007:function(e){e.exports="utf-8"},5349:function(e){var t=0x3fffffff;e.exports=function(e,a){if("number"!=typeof e)throw TypeError("Iterations not a number");if(e<0)throw TypeError("Bad iterations");
6if("number"!=typeof a)throw TypeError("Key length not a number");if(a<0||a>t||a!=a)throw TypeError("Bad key length")}},2127:function(e,t,a){var i={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20},r=a(4873),n=a(6911).Buffer,s=a(5349),l=a(7007),o=a(5407);e.exports=function(e,t,a,c,d){s(a,c),e=o(e,l,"Password"),t=o(t,l,"Salt"),d=d||"sha1";var u=n.allocUnsafe(c),h=n.allocUnsafe(t.length+4);t.copy(h,0,0,t.length);for(var f=0,p=i[d],m=Math.ceil(c/p),g=1;g<=m;g++){h.writeUInt32BE(g,t.length);for(var b=r(d,e).update(h).digest(),_=b,y=1;y<a;y++){_=r(d,e).update(_).digest();for(var x=0;x<p;x++)b[x]^=_[x]}b.copy(u,f),f+=p}return u}},5407:function(e,t,a){var i=a(6911).Buffer;e.exports=function(e,t,a){if(i.isBuffer(e))return e;if("string"==typeof e)return i.from(e,t);if(ArrayBuffer.isView(e))return i.from(e.buffer);throw TypeError(a+" must be a string, a Buffer, a typed array or a DataView")}},9783:function(e,t,a){t.publicEncrypt=a(3995),t.privateDecrypt=a(4366),t.privateEncrypt=function(e,a){return t.publicEncrypt(e,a,!0)},t.publicDecrypt=function(e,a){return t.privateDecrypt(e,a,!0)}},5520:function(e,t,a){var i=a(9739),r=a(6911).Buffer;function n(e){var t=r.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var a,s=r.alloc(0),l=0;s.length<t;)a=n(l++),s=r.concat([s,i("sha1").update(e).update(a).digest()]);return s.slice(0,t)}},4366:function(e,t,a){var i=a(9902),r=a(5520),n=a(6386),s=a(711),l=a(7166),o=a(9739),c=a(1607),d=a(6911).Buffer;function u(e,t){var a=e.modulus.byteLength(),i=o("sha1").update(d.alloc(0)).digest(),s=i.length;if(0!==t[0])throw Error("decryption error");var l=t.slice(1,s+1),c=t.slice(s+1),u=n(l,r(c,s)),h=n(c,r(u,a-s-1));if(f(i,h.slice(0,s)))throw Error("decryption error");for(var p=s;0===h[p];)p++;
6if(1!==h[p++])throw Error("decryption error");return h.slice(p)}function h(e,t,a){for(var i=t.slice(0,2),r=2,n=0;0!==t[r++];)if(r>=t.length){n++;break}var s=t.slice(2,r-1);if(("0002"!==i.toString("hex")&&!a||"0001"!==i.toString("hex")&&a)&&n++,s.length<8&&n++,n)throw Error("decryption error");return t.slice(r)}function f(e,t){e=d.from(e),t=d.from(t);var a=0,i=e.length;e.length!==t.length&&(a++,i=Math.min(e.length,t.length));for(var r=-1;++r<i;)a+=e[r]^t[r];return a}e.exports=function(e,t,a){var r,n=e.padding?e.padding:a?1:4,o=i(e),f=o.modulus.byteLength();if(t.length>f||new s(t).cmp(o.modulus)>=0)throw Error("decryption error");r=a?c(new s(t),o):l(t,o);var p=d.alloc(f-r.length);if(r=d.concat([p,r],f),4===n)return u(o,r);if(1===n)return h(o,r,a);if(3===n)return r;throw Error("unknown padding")}},3995:function(e,t,a){var i=a(9902),r=a(7223),n=a(9739),s=a(5520),l=a(6386),o=a(711),c=a(1607),d=a(7166),u=a(6911).Buffer;function h(e,t){var a=e.modulus.byteLength(),i=t.length,c=n("sha1").update(u.alloc(0)).digest(),d=c.length,h=2*d;if(i>a-h-2)throw Error("message too long");var f=u.alloc(a-i-h-2),p=a-d-1,m=r(d),g=l(u.concat([c,f,u.alloc(1,1),t],p),s(m,p)),b=l(m,s(g,d));return new o(u.concat([u.alloc(1),b,g],a))}function f(e,t,a){var i,r=t.length,n=e.modulus.byteLength();if(r>n-11)throw Error("message too long");return i=a?u.alloc(n-r-3,255):p(n-r-3),new o(u.concat([u.from([0,a?1:2]),i,u.alloc(1),t],n))}function p(e){for(var t,a=u.allocUnsafe(e),i=0,n=r(2*e),s=0;i<e;)s===n.length&&(n=r(2*e),s=0),(t=n[s++])&&(a[i++]=t);return a}e.exports=function(e,t,a){var r,n=e.padding?e.padding:a?1:4,s=i(e);if(4===n)r=h(s,t);else if(1===n)r=f(s,t,a);else if(3===n){if((r=new o(t)).cmp(s.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");return a?d(r,s):c(r,s)}},1607:function(e,t,a){var i=a(711),r=a(6911).Buffer;e.exports=function(e,t){return r.from(e.toRed(i.mont(t.modulus)).redPow(new i(t.publicExponent)).fromRed().toArray())}},6386:function(e){e.exports=function(e,t){for(var a=e.length,i=-1;++i<a;)e[i]^=t[i];return e}},7223:function(t,a,i){"use strict";var n=65536,s=0xffffffff;function l(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var o=i(6911).Buffer,c=e.g.crypto||e.g.msCrypto;function d(e,t){if(e>s)throw RangeError("requested too many random bytes");var a=o.allocUnsafe(e);if(e>0)if(e>n)for(var i=0;i<e;i+=n)c.getRandomValues(a.slice(i,i+n));else c.getRandomValues(a);return"function"==typeof t?r.default.nextTick(function(){t(null,a)}):a}c&&c.getRandomValues?t.exports=d:t.exports=l},6445:function(t,a,i){"use strict";function n(){throw Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=i(6911);i(7223);var l=s.Buffer,o=s.kMaxLength,c=e.g.crypto||e.g.msCrypto,d=0xffffffff;function u(e,t){if("number"!=typeof e||e!=e)throw TypeError("offset must be a number");if(e>d||e<0)throw TypeError("offset must be a uint32");if(e>o||e>t)throw RangeError("offset out of range")}function h(e,t,a){if("number"!=typeof e||e!=e)throw TypeError("size must be a number");if(e>d||e<0)throw TypeError("size must be a uint32");if(e+t>a||e>o)throw RangeError("buffer too small")}function f(t,a,i,r){if(!l.isBuffer(t)&&!(t instanceof e.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof a)r=a,a=0,i=t.length;else if("function"==typeof i)r=i,i=t.length-a;else if("function"!=typeof r)throw TypeError('"cb" argument must be a function');return u(a,t.length),h(i,a,t.length),p(t,a,i,r)}function p(e,t,a,i){var n=new Uint8Array(e.buffer,t,a);return(c.getRandomValues(n),i)?void r.default.nextTick(function(){i(null,e)}):e}function m(t,a,i){if(void 0===a&&(a=0),!l.isBuffer(t)&&!(t instanceof e.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');return u(a,t.length),void 0===i&&(i=t.length-a),h(i,a,t.length),p(t,a,i)}c&&c.getRandomValues?(a.randomFill=f,a.randomFillSync=m):(a.randomFill=n,a.randomFillSync=n)},4646:function(e){"use strict";let t={};function a(e,a,i){function r(e,t,i){return"string"==typeof a?a:a(e,t,i)}i||(i=Error);class n extends i{constructor(e,t,a){super(r(e,t,a))}}n.prototype.name=i.name,n.prototype.code=e,t[e]=n}function i(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let a=e.length;return(e=e.map(e=>String(e)),a>2)?`one of ${t} ${e.slice(0,a-1).join(", ")}, or `+e[a-1]:2===a?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}function r(e,t,a){return e.substr(!a||a<0?0:+a,t.length)===t}function n(e,t,a){return(void 0===a||a>e.length)&&(a=e.length),e.substring(a-t.length,a)===t}function s(e,t,a){return"number"!=typeof a&&(a=0),!(a+t.length>e.length)&&-1!==e.indexOf(t,a)}a("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invali
6d for option "'+e+'"'},TypeError),a("ERR_INVALID_ARG_TYPE",function(e,t,a){let l,o;if("string"==typeof t&&r(t,"not ")?(l="must not be",t=t.replace(/^not /,"")):l="must be",n(e," argument"))o=`The ${e} ${l} ${i(t,"type")}`;else{let a=s(e,".")?"property":"argument";o=`The "${e}" ${a} ${l} ${i(t,"type")}`}return o+`. Received type ${typeof a}`},TypeError),a("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),a("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),a("ERR_STREAM_PREMATURE_CLOSE","Premature close"),a("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),a("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),a("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),a("ERR_STREAM_WRITE_AFTER_END","write after end"),a("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),a("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),a("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},2403:function(e,t,a){"use strict";var i=Object.keys||function(e){var t=[];for(var a in e)t.push(a);return t};e.exports=d;var n=a(1709),s=a(7337);a(3782)(d,n);for(var l=i(s.prototype),o=0;o<l.length;o++){var c=l[o];d.prototype[c]||(d.prototype[c]=s.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);n.call(this,e),s.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||r.default.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(d.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},7889:function(e,t,a){"use strict";e.exports=r;var i=a(1170);function r(e){if(!(this instanceof r))return new r(e);i.call(this,e)}a(3782)(r,i),r.prototype._transform=function(e,t,a){a(null,e)}},1709:function(t,a,i){"use strict";t.exports=k,k.ReadableState=N,i(2361).EventEmitter;var n,s,l,o,c,d=function(e,t){return e.listeners(t).length},u=i(4678),h=i(4300).Buffer,f=e.g.Uint8Array||function(){};function p(e){return h.from(e)}function m(e){return h.isBuffer(e)||e instanceof f}var g=i(3837);s=g&&g.debuglog?g.debuglog("stream"):function(){};var b=i(4379),_=i(7025),y=i(6776).getHighWaterMark,x=i(4646).q,v=x.ERR_INVALID_ARG_TYPE,A=x.ERR_STREAM_PUSH_AFTER_EOF,w=x.ERR_METHOD_NOT_IMPLEMENTED,E=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;i(3782)(k,u);var S=_.errorOrDestroy,C=["error","close","destroy","pause","resume"];function T(e,t,a){if("function"==typeof e.prependListener)return e.prepe
vendor: 22,281 bytes, line 6
6ndListener(t,a);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(a):e._events[t]=[a,e._events[t]]:e.on(t,a)}function N(e,t,a){n=n||i(2403),e=e||{},"boolean"!=typeof a&&(a=t instanceof n),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",a),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=i(3704).s),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function k(e){if(n=n||i(2403),!(this instanceof k))return new k(e);var t=this instanceof n;this._readableState=new N(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function I(e,t,a,i,r){s("readableAddChunk",t);var n,l=e._readableState;if(null===t)l.reading=!1,M(e,l);else if(r||(n=P(l,t)),n)S(e,n);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===h.prototype||(t=p(t)),i)l.endEmitted?S(e,new E):j(e,l,t,!0);else if(l.ended)S(e,new A);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!a?(t=l.decoder.write(t),l.objectMode||0!==t.length?j(e,l,t,!1):B(e,l)):j(e,l,t,!1)}else i||(l.reading=!1,B(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function j(e,t,a,i){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",a)):(t.length+=t.objectMode?1:a.length,i?t.buffer.unshift(a):t.buffer.push(a),t.needReadable&&R(e)),B(e,t)}function P(e,t){var a;return m(t)||"string"==typeof t||void 0===t||e.objectMode||(a=new v("chunk",["string","Buffer","Uint8Array"],t)),a}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=_.destroy,k.prototype._undestroy=_.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var a,i=this._readableState;return i.objectMode?a=!0:"string"==typeof e&&((t=t||i.defaultEncoding)!==i.encoding&&(e=h.from(e,t),t=""),a=!0),I(this,e,t,!1,a)},k.prototype.unshift=function(e){return I(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){l||(l=i(3704).s);var t=new l(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var a=this._readableState.buffer.head,r="";null!==a;)r+=t.write(a.data),a=a.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var L=0x40000000;function O(e){return e>=L?e=L:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function D(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&(t.highWaterMark=O(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function M(e,t){if(s("onEofChunk"),!t.ended){if(t.decoder){var a=t.decoder.end();a&&a.length&&(t.buffer.push(a),t.length+=t.objectMode?1:a.length)}t.ended=!0,t.sync?R(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,F(e)))}}function R(e){var t=e._readableState;s("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(s("emitReadable",t.flowing),t.emittedReadable=!0,r.default.nextTick(F,e))}function F(e){var t=e._readableState;s("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,z(e)}function B(e,t){t.readingMore||(t.readingMore=!0,r.default.nextTick(U,e,t))}function U(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var a=t.length;if(s("maybeReadMore read 0"),e.read(0),a===t.length)break}t.readingMore=!1}function H(e){return function(){var t=e._readableState;s("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&d(e,"data")&&(t.flowing=!0,z(e))}}function $(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function G(e){s("readable nexttick read 0"),e.read(0)}function W(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.default.nextTick(Y,e,t))}function Y(e,t){s("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),z(e),t.flowing&&!t.reading&&e.read(0)}function z(e){var t=e._readableState;for(s("flow",t.flowing);t.flowing&&null!==e.read(););}function V(e,t){var a;return 0===t.length?null:(t.objectMode?a=t.buffer.shift():!e||e>=t.length?(a=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):a=t.buffer.consume(e,t.decoder),a)}function K(e){var t=e._readableState;s("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.default.nextTick(q,t,e))}function q(e,t){if(s("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var a=t._writableState;(!a||a.autoDestroy&&a.finished)&&t.destroy()}}function Q(e,t){for(var a=0,i=e.length;a<i;a++)if(e[a]===t)return a;return -1}k.prototype.read=function(e){s("read",e),e=parseInt(e,10);var t,a=this._readableState,i=e;if(0!==e&&(a.emittedReadable=!1),0===e&&a.needReadable&&((0!==a.highWaterMark?a.length>=a.highWaterMark:a.length>0)||a.ended))return s("read: emitReadable",a.length,a.ended),0===a.length&&a.ended?K(this):R(this),null;if(0===(e=D(e,a))&&a.ended)return 0===a.length&&K(this),null;var r=a.needReadable;return s("need readable",r),(0===a.length||a.length-e<a.highWaterMark)&&s("length less than watermark",r=!0),a.ended||a.reading?s("reading or ended",r=!1):r&&(s("do read"),a.reading=!0,a.sync=!0,0===a.length&&(a.needReadable=!0),this._read(a.highWaterMark),a.sync=!1,a.reading||(e=D(i,a))),null===(t=e>0?V(e,a):null)?(a.needReadable=a.length<=a.highWaterMark,e=0):(a.length-=e,a.awaitDrain=0),0===a.length&&(a.ended||(a.needReadable=!0),i!==e&&a.ended&&K(this)),null!==t&&this.emit("data",t),t},k.prototype._read=function(e){S(this,new w("_read()"))},k.prototype.pipe=function(e,t){var a=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,s("pipe count=%d opts=%j",i.pipesCount,t);var n=t&&!1===t.end||e===r.default.stdout||e===r.default.stderr?b:o;function l(e,t){s("onunpipe"),e===a&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,h())}function o(){s("onend"),e.end()}i.endEmitted?r.default.nextTick(n):a.once("end",n),e.on("unpipe",l);var c=H(a);e.on("drain",c);var u=!1;function h(){s("cleanup"),e.removeListener("close",m),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",p),e.removeListener("unpipe",l),a.removeListener("end",o),a.removeListener("end",b),a.removeListener("data",f),u=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}function f(t){s("ondata");var r=e.write(t);s("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Q(i.pipes,e))&&!u&&(s("false write response, pause",i.awaitDrain),i.awaitDrain++),a.pause())}function p(t){s("onerror",t),b(),e.removeListener("error",p),0===d(e,"error")&&S(e,t)}function m(){e.removeListener("finish",g),b()}function g(){s("onfinish"),e.removeListener("close",m),b()}function b(){s("unpipe"),a.unpipe(e)}return a.on("data",f),T(e,"error",p),e.once("close",m),e.once("finish",g),e.emit("pipe",a),i.flowing||(s("pipe resume"),a.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,a={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,a)),this;if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var n=0;n<r;n++)i[n].emit("unpipe",this,{hasUnpiped:!1});return this}var s=Q(t.pipes,e);return -1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,a)),this},k.prototype.on=function(e,t){var a=u.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"!==e||i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,s("on readable",i.length,i.reading),i.length?R(this):i.reading||r.default.nextTick(G,this)),a},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var a=u.prototype.removeListener.call(this,e,t);return"readable"===e&&r.default.nextTick($,this),a},k.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&r.default.nextTick($,this),t},k.prototype.resume=function(){var e=this._readableState;return e.flowing||(s("resume"),e.flowing=!e.readableListening,W(this,e)),e.paused=!1,this},k.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,a=this._readableState,i=!1;for(var r in e.on("end",function(){if(s("wrapped end"),a.decoder&&!a.ended){var e=a.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(r){s("wrapped data"),a.decoder&&(r=a.decoder.write(r)),a.objectMode&&null==r||(a.objectMode||r&&r.length)&&(t.push(r)||(i=!0,e.pause()))}),e)void 0===this[r]&&"function"==typeof e[r]&&(this[r]=function(t){return function(){return e[t].apply(e,arguments)}}(r));for(var n=0;n<C.length;n++)e.on(C[n],this.emit.bind(this,C[n]));return this._read=function(t){s("wrapped _read",t),i&&(i=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===o&&(o=i(6871)),o(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=V,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,t){return void 0===c&&(c=i(9727)),c(k,e,t)})},1170:function(e,t,a){"use strict";e.exports=d;var i=a(4646).q,r=i.ERR_METHOD_NOT_IMPLEMENTED,n=i.ERR_MULTIPLE_CALLBACK,s=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=i.ERR_TRANSFORM_WITH_LENGTH_0,o=a(2403);function c(e,t){var a=this._transformState;a.transforming=!1;var i=a.writecb;if(null===i)return this.emit("error",new n);a.writechunk=null,a.writecb=null,null!=t&&this.push(t),i(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",u)}function u(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush(function(t,a){h(e,t,a)})}function h(e,t,a){if(t)return e.emit("error",t);if(null!=a&&e.push(a),e._writableState.length)throw new l;if(e._transformState.transforming)throw new s;return e.push(null)}a(3782)(d,o),d.prototype.push=function(e,t){return this._transformState.needTransform=!1,o.prototype.push.call(this,e,t)},d.prototype._transform=function(e,t,a){a(new r("_transform()"))},d.prototype._write=function(e,t,a){var i=this._transformState;if(i.writecb=a,i.writechunk=e,i.writeencoding=t,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},d.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},d.prototype._destroy=function(e,t){o.prototype._destroy.call(this,e,function(e){t(e)})}},7337:function(t,a,i){"use strict";function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Y(t,e)}}t.exports=N,N.WritableState=T;var s,l,o={deprecate:i(6769)},c=i(4678),d=i(4300).Buffer,u=e.g.Uint8Array||function(){};function h(e){return d.from(e)}function f(e){return d.isBuffer(e)||e instanceof u}var p=i(7025),m=i(6776).getHighWaterMark,g=i(4646).q,b=g.ERR_INVALID_ARG_TYPE,_=g.ERR_METHOD_NOT_IMPLEMENTED,y=g.ERR_MULTIPLE_CALLBACK,x=g.ERR_STREAM_CANNOT_PIPE,v=g.ERR_STREAM_DESTROYED,A=g.ERR_STREAM_NULL_VALUES,w=g.ERR_STREAM_WRITE_AFTER_END,E=g.ERR_UNKNOWN_ENCODING,S=p.errorOrDestroy;function C(){}function T(e,t,a){s=s||i(2403),e=e||{},"boolean"!=typeof a&&(a=t instanceof s),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=m(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var r=!1===e.decodeStrings;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){M(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function N(e){var t=this instanceof(s=s||i(2403));if(!t&&!l.call(N,this))return new N(e);this._writableState=new T(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function k(e,t){var a=new w;S(e,a),r.default.nextTick(t,a)}function I(e,t,a,i){var n;return null===a?n=new A:"string"==typeof a||t.objectMode||(n=new b("chunk",["string","Buffer"],a)),!n||(S(e,n),r.default.nextTick(i,n),!1)}function j(e,t,a){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,a)),t}function P(e,t,a,i,r,n){if(!a){var s=j(t,i,r);i!==s&&(a=!0,r="buffer",i=s)}var l=t.objectMode?1:i.length;t.length+=l;var o=t.length<t.highWaterMark;if(o||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:r,isBuf:a,callback:n,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else L(e,t,!1,l,i,r,n);return o}function L(e,t,a,i,r,n,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):a?e._writev(r,t.onwrite):e._write(r,n,t.onwrite),t.sync=!1}function O(e,t,a,i,n){--t.pendingcb,a?(r.default.nextTick(n,i),r.default.nextTick(G,e,t),e._writableState.errorEmitted=!0,S(e,i)):(n(i),e._writableState.errorEmitted=!0,S(e,i),G(e,t))}function D(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function M(e,t){var a=e._writableState,i=a.sync,n=a.writecb;if("function"!=typeof n)throw new y;if(D(a),t)O(e,a,i,t,n);else{var s=U(a)||e.destroyed;s||a.corked||a.bufferProcessing||!a.bufferedRequest||B(e,a),i?r.default.nextTick(R,e,a,s,n):R(e,a,s,n)}}function R(e,t,a,i){a||F(e,t),t.pendingcb--,i(),G(e,t)}function F(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function B(e,t){t.bufferProcessing=!0;var a=t.bufferedRequest;if(e._writev&&a&&a.next){var i=Array(t.bufferedRequestCount),r=t.corkedRequestsFree;r.entry=a;for(var s=0,l=!0;a;)i[s]=a,a.isBuf||(l=!1),a=a.next,s+=1;i.allBuffers=l,L(e,t,!0,t.length,i,"",r.finish),t.pendingcb++,t.lastBufferedRequest=null,r.next?(t.corkedRequestsFree=r.next,r.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;a;){var o=a.chunk,c=a.encoding,d=a.callback,u=t.objectMode?1:o.length;if(L(e,t,!1,u,o,c,d),a=a.next,t.bufferedRequestCount--,t.writing)break}null===a&&(t.lastBufferedRequest=null)}t.bufferedRequest=a,t.bufferProcessing=!1}function U(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function H(e,t){e._final(function(a){t.pendingcb--,a&&S(e,a),t.prefinished=!0,e.emit("prefinish"),G(e,t)})}function $(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.default.nextTick(H,e,t)))}function G(e,t){var a=U(t);if(a&&($(e,t),0===t.pendingcb)&&(t.finished=!0,e.emit("finish"),t.autoDestroy)){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return a}function W(e,t,a){t.ending=!0,G(e,t),a&&(t.finished?r.default.nextTick(a):e.once("finish",a)),t.ended=!0,e.writable=!1}function Y(e,t,a){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(a),i=i.next}t.corkedRequestsFree.next=e}i(3782)(N,c),T.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(T.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(N,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===N&&e&&e._writableState instanceof T}})):l=function(e){return e instanceof this},N.prototype.pipe=function(){S(this,new x)},N.prototype.write=function(e,t,a){var i=this._writableState,r=!1,n=!i.objectMode&&f(e);return n&&!d.isBuffer(e)&&(e=h(e)),"function"==typeof t&&(a=t,t=null),n?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof a&&(a=C),i.ending?k(this,a):(n||I(this,i,e,a))&&(i.pendingcb++,r=P(this,i,n,e,t,a)),r},N.prototype.cork=function(){this._writableState.corked++},N.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||B(this,e))},N.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new E(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(N.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(N.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),N.prototype._write=function(e,t,a){a(new _("_write()"))},N.prototype._writev=null,N.prototype.end=function(e,t,a){var i=this._writableState;return"function"==typeof e?(a=e,e=null,t=null):"function"==typeof t&&(a=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||W(this,i,a),this},Object.defineProperty(N.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),N.prototype.destroy=p.destroy,N.prototype._undestroy=p.undestroy,N.prototype._destroy=function(e,t){t(e)}},6871:function(e,t,a){"use strict";function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var n,s=a(9698),l=Symbol("lastResolve"),o=Symbol("lastReject"),c=Symbol("error"),d=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function p(e,t){return{value:e,done:t}}function m(e){var t=e[l];if(null!==t){var a=e[f].read();null!==a&&(e[u]=null,e[l]=null,e[o]=null,t(p(a,!1)))}}function g(e){r.default.nextTick(m,e)}function b(e,t){return function(a,i){e.then(function(){t[d]?a(p(void 0,!0)):t[h](a,i)},i)}}var _=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(n={get stream(){return this[f]},next:function(){var e,t=this,a=this[c];if(null!==a)return Promise.reject(a);if(this[d])return Promise.resolve(p(void 0,!0));if(this[f].destroyed)return new Promise(function(e,a){r.default.nextTick(function(){t[c]?a(t[c]):e(p(void 0,!0))})});var i=this[u];if(i)e=new Promise(b(i,this));else{var n=this[f].read();if(null!==n)return Promise.resolve(p(n,!1));e=new Promise(this[h])}return this[u]=e,e}},Symbol.asyncIterator,function(){return this}),i(n,"return",function(){var e=this;return new Promise(function(t,a){e[f].destroy(null,function(e){e?a(e):t(p(void 0,!0))})})}),n),_);e.exports=function(e){var t,a=Object.create(y,(i(t={},f,{value:e,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,o,{value:null,writable:!0}),i(t,c,{value:null,writable:!0}),i(t,d,{value:e._readableState.endEmitted,writable:!0}),i(t,h,{value:function(e,t){var i=a[f].read();i?(a[u]=null,a[l]=null,a[o]=null,e(p(i,!1))):(a[l]=e,a[o]=t)},writable:!0}),t));return a[u]=null,s(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=a[o];null!==t&&(a[u]=null,a[l]=null,a[o]=null,t(e)),a[c]=e;return}var i=a[l];null!==i&&(a[u]=null,a[l]=null,a[o]=null,i(p(void 0,!0))),a[d]=!0}
6),e.on("readable",g.bind(null,a)),a}},4379:function(e,t,a){"use strict";function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function r(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach(function(t){n(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function l(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,a){return t&&l(e.prototype,t),a&&l(e,a),e}var c=a(4300).Buffer,d=a(3837).inspect,u=d&&d.custom||"inspect";function h(e,t,a){c.prototype.copy.call(e,t,a)}e.exports=function(){function e(){s(this,e),this.head=null,this.tail=null,this.length=0}return o(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,a=""+t.data;t=t.next;)a+=e+t.data;return a}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);for(var t=c.allocUnsafe(e>>>0),a=this.head,i=0;a;)h(a.data,t,i),i+=a.data.length,a=a.next;return t}},{key:"consume",value:function(e,t){var a;return e<this.head.data.length?(a=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):a=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),a}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,a=1,i=t.data;for(e-=i.length;t=t.next;){var r=t.data,n=e>r.length?r.length:e;if(n===r.length?i+=r:i+=r.slice(0,e),0==(e-=n)){n===r.length?(++a,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=r.slice(n));break}++a}return this.length-=a,i}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),a=this.head,i=1;for(a.data.copy(t),e-=a.data.length;a=a.next;){var r=a.data,n=e>r.length?r.length:e;if(r.copy(t,t.length-e,0,n),0==(e-=n)){n===r.length?(++i,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=r.slice(n));break}++i}return this.length-=i,t}},{key:u,value:function(e,t){return d(this,r({},t,{depth:0,customInspect:!1}))}}]),e}()},7025:function(e){"use strict";function t(e,t){i(e,t),a(e)}function a(e){e._writableState&&!e._writableState.emitClose||(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,n){var s=this,l=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return l||o?n?n(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.default.nextTick(i,this,e)):r.default.nextTick(i,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!n&&e?s._writableState?s._writableState.errorEmitted?r.default.nextTick(a,s):(s._writableState.errorEmitted=!0,r.default.nextTick(t,s,e)):r.default.nextTick(t,s,e):n?(r.default.nextTick(a,s),n(e)):r.default.nextTick(a,s)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var a=e._readableState,i=e._writableState;a&&a.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}}},9698:function(e,t,a){"use strict";var i=a(4646).q.ERR_STREAM_PREMATURE_CLOSE;function r(e){var t=!1;return function(){if(!t){t=!0;for(var a=arguments.length,i=Array(a),r=0;r<a;r++)i[r]=arguments[r];e.apply(this,i)}}}function n(){}function s(e){return e.setHeader&&"function"==typeof e.abort}function l(e,t,a){if("function"==typeof t)return l(e,null,t);t||(t={}),a=r(a||n);var o=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,d=function(){e.writable||h()},u=e._writableState&&e._writableState.finished,h=function(){c=!1,u=!0,o||a.call(e)},f=e._readableState&&e._readableState.endEmitted,p=function(){o=!1,f=!0,c||a.call(e)},m=function(t){a.call(e,t)},g=function(){var t;return o&&!f?(e._readableState&&e._readableState.ended||(t=new i),a.call(e,t)):c&&!u?(e._writableState&&e._writableState.ended||(t=new i),a.call(e,t)):void 0},b=function(){e.req.on("finish",h)};return s(e)?(e.on("complete",h),e.on("abort",g),e.req?b():e.on("request",b)):c&&!e._writableState&&(e.on("end",d),e.on("close",d)),e.on("end",p),e.on("finish",h),!1!==t.error&&e.on("error",m),e.on("close",g),function(){e.removeListener("complete",h),e.removeListener("abort",g),e.removeListener("request",b),e.req&&e.req.removeListener("finish",h),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",h),e.removeListener("end",p),e.removeListener("error",m),e.removeListener("close",g)}}
6e.exports=l},9727:function(e,t,a){"use strict";function i(e,t,a,i,r,n,s){try{var l=e[n](s),o=l.value}catch(e){a(e);return}l.done?t(o):Promise.resolve(o).then(i,r)}function r(e){return function(){var t=this,a=arguments;return new Promise(function(r,n){var s=e.apply(t,a);function l(e){i(s,r,n,l,o,"next",e)}function o(e){i(s,r,n,l,o,"throw",e)}l(void 0)})}}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function s(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach(function(t){l(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var o=a(4646).q.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,a){if(t&&"function"==typeof t.next)i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new o("iterable",["Iterable"],t);var i,n=new e(s({objectMode:!0},a)),l=!1;function c(){return d.apply(this,arguments)}function d(){return(d=r(function*(){try{var e=yield i.next(),t=e.value;e.done?n.push(null):n.push((yield t))?c():l=!1}catch(e){n.destroy(e)}})).apply(this,arguments)}return n._read=function(){l||(l=!0,c())},n}},8442:function(e,t,a){"use strict";function i(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var r,n=a(4646).q,s=n.ERR_MISSING_ARGS,l=n.ERR_STREAM_DESTROYED;function o(e){if(e)throw e}function c(e){return e.setHeader&&"function"==typeof e.abort}function d(e,t,n,s){s=i(s);var o=!1;e.on("close",function(){o=!0}),void 0===r&&(r=a(9698)),r(e,{readable:t,writable:n},function(e){if(e)return s(e);o=!0,s()});var d=!1;return function(t){if(!o&&!d){if(d=!0,c(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();s(t||new l("pipe"))}}}function u(e){e()}function h(e,t){return e.pipe(t)}function f(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():o}e.exports=function(){for(var e,t=arguments.length,a=Array(t),i=0;i<t;i++)a[i]=arguments[i];var r=f(a);if(Array.isArray(a[0])&&(a=a[0]),a.length<2)throw new s("streams");var n=a.map(function(t,i){var s=i<a.length-1;return d(t,s,i>
vendor: 9,562 bytes, line 6
60,function(t){e||(e=t),t&&n.forEach(u),s||(n.forEach(u),r(e))})});return a.reduce(h)}},6776:function(e,t,a){"use strict";var i=a(4646).q.ERR_INVALID_OPT_VALUE;function r(e,t,a){return null!=e.highWaterMark?e.highWaterMark:t?e[a]:null}e.exports={getHighWaterMark:function(e,t,a,n){var s=r(t,n,a);if(null!=s){if(!(isFinite(s)&&Math.floor(s)===s)||s<0)throw new i(n?a:"highWaterMark",s);return Math.floor(s)}return e.objectMode?16:16384}}},4678:function(e,t,a){e.exports=a(2781)},3726:function(e,t,a){var i=a(2781);"disable"===r.default.env.READABLE_STREAM&&i?(e.exports=i.Readable,Object.assign(e.exports,i),e.exports.Stream=i):((t=e.exports=a(1709)).Stream=i||t,t.Readable=t,t.Writable=a(7337),t.Duplex=a(2403),t.Transform=a(1170),t.PassThrough=a(7889),t.finished=a(9698),t.pipeline=a(8442))},3225:function(e,t,a){"use strict";var i=a(4300).Buffer,r=a(3782),n=a(9029),s=Array(16),l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],o=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],u=[0,0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xa953fd4e],h=[0x50a28be6,0x5c4dd124,0x6d703ef3,0x7a6d76e9,0];function f(){n.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0}function p(e,t){return e<<t|e>>>32-t}function m(e,t,a,i,r,n,s,l){return p(e+(t^a^i)+n+s|0,l)+r|0}function g(e,t,a,i,r,n,s,l){return p(e+(t&a|~t&i)+n+s|0,l)+r|0}function b(e,t,a,i,r,n,s,l){return p(e+((t|~a)^i)+n+s|0,l)+r|0}function _(e,t,a,i,r,n,s,l){return p(e+(t&i|a&~i)+n+s|0,l)+r|0}function y(e,t,a,i,r,n,s,l){return p(e+(t^(a|~i))+n+s|0,l)+r|0}r(f,n),f.prototype._update=function(){for(var e,t,a=s,i=0;i<16;++i)a[i]=this._block.readInt32LE(4*i);for(var r=0|this._a,n=0|this._b,f=0|this._c,x=0|this._d,v=0|this._e,A=0|this._a,w=0|this._b,E=0|this._c,S=0|this._d,C=0|this._e,T=0;T<80;T+=1)T<16?(e=m(r,n,f,x,v,a[l[T]],u[0],c[T]),t=y(A,w,E,S,C,a[o[T]],h[0],d[T])):T<32?(e=g(r,n,f,x,v,a[l[T]],u[1],c[T]),t=_(A,w,E,S,C,a[o[T]],h[1],d[T])):T<48?(e=b(r,n,f,x,v,a[l[T]],u[2],c[T]),t=b(A,w,E,S,C,a[o[T]],h[2],d[T])):T<64?(e=_(r,n,f,x,v,a[l[T]],u[3],c[T]),t=g(A,w,E,S,C,a[o[T]],h[3],d[T])):(e=y(r,n,f,x,v,a[l[T]],u[4],c[T]),t=m(A,w,E,S,C,a[o[T]],h[4],d[T])),r=v,v=x,x=p(f,10),f=n,n=e,A=C,C=S,S=p(E,10),E=w,w=t;var N=this._b+f+S|0;this._b=this._c+x+C|0,this._c=this._d+v+A|0,this._d=this._e+r+w|0,this._e=this._a+n+E|0,this._a=N},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.alloc?i.alloc(20):new i(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=f},5055:function(e,t,a){var i=a(4300),r=i.Buffer;function n(e,t){for(var a in e)t[a]=e[a]}function s(e,t,a){return r(e,t,a)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=i:(n(i,t),t.Buffer=s),s.prototype=Object.create(r.prototype),n(r,s),s.from=function(e,t,a){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,a)},s.alloc=function(e,t,a){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof a?i.fill(t,a):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},6911:function(e,t,a){var i=a(4300),r=i.Buffer;function n(e,t){for(var a in e)t[a]=e[a]}function s(e,t,a){return r(e,t,a)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=i:(n(i,t),t.Buffer=s),s.prototype=Object.create(r.prototype),n(r,s),s.from=function(e,t,a){if("number"==typeof e)throw TypeError("Argument must not be a number");return r(e,t,a)},s.alloc=function(e,t,a){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=r(e);return void 0!==t?"string"==typeof a?i.fill(t,a):i.fill(t):i.fill(0),i},s.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},2858:function(e,t,a){var i=a(6911).Buffer;function r(e,t){this._block=i.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}r.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=i.from(e,t));for(var a=this._block,r=this._blockSize,n=e.length,s=this._len,l=0;l<n;){for(var o=s%r,c=Math.min(n-l,r-o),d=0;d<c;d++)a[o+d]=e[l+d];s+=c,l+=c,s%r==0&&this._update(a)}return this._len+=n,this},r.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var a=8*this._len;if(a<=0xffffffff)this._block.writeUInt32BE(a,this._blockSize-4);else{var i=a>>>0,r=(a-i)/0x100000000;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(i,this._blockSize-4)}this._update(this._block);var n=this._hash();return e?n.toString(e):n},r.prototype._update=function(){throw Error("_update must be implemented by subclass")},e.exports=r},4371:function(e,t,a){var i=e.exports=function(e){var t=i[e=e.toLowerCase()];if(!t)throw Error(e+" is not supported (we accept pull requests)");return new t};i.sha=a(4018),i.sha1=a(4179),i.sha224=a(532),i.sha256=a(1843),i.sha384=a(7455),i.sha512=a(9934)},4018:function(e,t,a){var i=a(3782),r=a(2858),n=a(6911).Buffer,s=[0x5a827999,0x6ed9eba1,-0x70e44324,-0x359d3e2a],l=Array(80);function o(){this.init(),this._w=l,r.call(this,64,56)}function c(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function u(e,t,a,i){return 0===e?t&a|~t&i:2===e?t&a|t&i|a&i:t^a^i}i(o,r),o.prototype.init=function(){return this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0,this},o.prototype._update=function(e){for(var t=this._w,a=0|this._a,i=0|this._b,r=0|this._c,n=0|this._d,l=0|this._e,o=0;o<16;++o)t[o]=e.readInt32BE(4*o);for(;o<80;++o)t[o]=t[o-3]^t[o-8]^t[o-14]^t[o-16];for(var h=0;h<80;++h){var f=~~(h/20),p=c(a)+u(f,i,r,n)+l+t[h]+s[f]|0;l=n,n=r,r=d(i),i=a,a=p}this._a=a+this._a|0,this._b=i+this._b|0,this._c=r+this._c|0,this._d=n+this._d|0,this._e=l+this._e|0},o.prototype._hash=function(){var e=n.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=o},4179:function(e,t,a){var i=a(3782),r=a(2858),n=a(6911).Buffer,s=[0x5a827999,0x6ed9eba1,-0x70e44324,-0x359d3e2a],l=Array(80);function o(){this.init(),this._w=l,r.call(this,64,56)}function c(e){return e<<1|e>>>31}function d(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function h(e,t,a,i){return 0===e?t&a|~t&i:2===e?t&a|t&i|a&i:t^a^i}i(o,r),o.prototype.init=function(){return this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0,this},o.prototype._update=function(e){for(var t=this._w,a=0|this._a,i=0|this._b,r=0|this._c,n=0|this._d,l=0|this._e,o=0;o<16;++o)t[o]=e.readInt32BE(4*o);for(;o<80;++o)t[o]=c(t[o-3]^t[o-8]^t[o-14]^t[o-16]);for(var f=0;f<80;++f){var p=~~(f/20),m=d(a)+h(p,i,r,n)+l+t[f]+s[p]|0;l=n,n=r,r=u(i),i=a,a=m}this._a=a+this._a|0,this._b=i+this._b|0,this._c=r+this._c|0,this._d=n+this._d|0,this._e=l+this._e|0},o.prototype._hash=function(){var e=n.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=o},532:function(e,t,a){var i=a(3782),r=a(1843),n=a(2858),s=a(6911).Buffer,l=Array(64);function o(){this.init(),this._w=l,n.call(this,64,56)}i(o,r),o.prototype.init=function(){return this._a=0xc1059ed8,this._b=0x367cd507,this._c=0x3070dd17,this._d=0xf70e5939,this._e=0xffc00b31,this._f=0x68581511,this._g=0x64f98fa7,this._h=0xbefa4fa4,this},o.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=o},1843:function(e,t,a){var i=a(3782),r=a(2858),n=a(6911).Buffer,s=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc
vendor: 4,767 bytes, line 6
676c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],l=Array(64);function o(){this.init(),this._w=l,r.call(this,64,56)}function c(e,t,a){return a^e&(t^a)}function d(e,t,a){return e&t|a&(e|t)}function u(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function p(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}i(o,r),o.prototype.init=function(){return this._a=0x6a09e667,this._b=0xbb67ae85,this._c=0x3c6ef372,this._d=0xa54ff53a,this._e=0x510e527f,this._f=0x9b05688c,this._g=0x1f83d9ab,this._h=0x5be0cd19,this},o.prototype._update=function(e){for(var t=this._w,a=0|this._a,i=0|this._b,r=0|this._c,n=0|this._d,l=0|this._e,o=0|this._f,m=0|this._g,g=0|this._h,b=0;b<16;++b)t[b]=e.readInt32BE(4*b);for(;b<64;++b)t[b]=p(t[b-2])+t[b-7]+f(t[b-15])+t[b-16]|0;for(var _=0;_<64;++_){var y=g+h(l)+c(l,o,m)+s[_]+t[_]|0,x=u(a)+d(a,i,r)|0;g=m,m=o,o=l,l=n+y|0,n=r,r=i,i=a,a=y+x|0}this._a=a+this._a|0,this._b=i+this._b|0,this._c=r+this._c|0,this._d=n+this._d|0,this._e=l+this._e|0,this._f=o+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},o.prototype._hash=function(){var e=n.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=o},7455:function(e,t,a){var i=a(3782),r=a(9934),n=a(2858),s=a(6911).Buffer,l=Array(160);function o(){this.init(),this._w=l,n.call(this,128,112)}i(o,r),o.prototype.init=function(){return this._ah=0xcbbb9d5d,this._bh=0x629a292a,this._ch=0x9159015a,this._dh=0x152fecd8,this._eh=0x67332667,this._fh=0x8eb44a87,this._gh=0xdb0c2e0d,this._hh=0x47b5481d,this._al=0xc1059ed8,this._bl=0x367cd507,this._cl=0x3070dd17,this._dl=0xf70e5939,this._el=0xffc00b31,this._fl=0x68581511,this._gl=0x64f98fa7,this._hl=0xbefa4fa4,this},o.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,a,i){e.writeInt32BE(t,i),e.writeInt32BE(a,i+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=o},9934:function(e,t,a){var i=a(3782),r=a(2858),n=a(6911).Buffer,s=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817],l=Array(160);function o(){this.init(),this._w=l,r.call(this,128,112)}function c(e,t,a){return a^e&(t^a)}function d(e,t,a){return e&t|a&(e|t)}function u(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function b(e,t){return+(e>>>0<t>>>0)}
6i(o,r),o.prototype.init=function(){return this._ah=0x6a09e667,this._bh=0xbb67ae85,this._ch=0x3c6ef372,this._dh=0xa54ff53a,this._eh=0x510e527f,this._fh=0x9b05688c,this._gh=0x1f83d9ab,this._hh=0x5be0cd19,this._al=0xf3bcc908,this._bl=0x84caa73b,this._cl=0xfe94f82b,this._dl=0x5f1d36f1,this._el=0xade682d1,this._fl=0x2b3e6c1f,this._gl=0xfb41bd6b,this._hl=0x137e2179,this},o.prototype._update=function(e){for(var t=this._w,a=0|this._ah,i=0|this._bh,r=0|this._ch,n=0|this._dh,l=0|this._eh,o=0|this._fh,_=0|this._gh,y=0|this._hh,x=0|this._al,v=0|this._bl,A=0|this._cl,w=0|this._dl,E=0|this._el,S=0|this._fl,C=0|this._gl,T=0|this._hl,N=0;N<32;N+=2)t[N]=e.readInt32BE(4*N),t[N+1]=e.readInt32BE(4*N+4);for(;N<160;N+=2){var k=t[N-30],I=t[N-30+1],j=f(k,I),P=p(I,k),L=m(k=t[N-4],I=t[N-4+1]),O=g(I,k),D=t[N-14],M=t[N-14+1],R=t[N-32],F=t[N-32+1],B=P+M|0,U=j+D+b(B,P)|0;U=(U=U+L+b(B=B+O|0,O)|0)+R+b(B=B+F|0,F)|0,t[N]=U,t[N+1]=B}for(var H=0;H<160;H+=2){U=t[H],B=t[H+1];var $=d(a,i,r),G=d(x,v,A),W=u(a,x),Y=u(x,a),z=h(l,E),V=h(E,l),K=s[H],q=s[H+1],Q=c(l,o,_),Z=c(E,S,C),X=T+V|0,J=y+z+b(X,T)|0;J=(J=(J=J+Q+b(X=X+Z|0,Z)|0)+K+b(X=X+q|0,q)|0)+U+b(X=X+B|0,B)|0;var ee=Y+G|0,et=W+$+b(ee,Y)|0;y=_,T=C,_=o,C=S,o=l,S=E,l=n+J+b(E=w+X|0,w)|0,n=r,w=A,r=i,A=v,i=a,v=x,a=J+et+b(x=X+ee|0,X)|0}this._al=this._al+x|0,this._bl=this._bl+v|0,this._cl=this._cl+A|0,this._dl=this._dl+w|0,this._el=this._el+E|0,this._fl=this._fl+S|0,this._gl=this._gl+C|0,this._hl=this._hl+T|0,this._ah=this._ah+a+b(this._al,x)|0,this._bh=this._bh+i+b(this._bl,v)|0,this._ch=this._ch+r+b(this._cl,A)|0,this._dh=this._dh+n+b(this._dl,w)|0,this._eh=this._eh+l+b(this._el,E)|0,this._fh=this._fh+o+b(this._fl,S)|0,this._gh=this._gh+_+b(this._gl,C)|0,this._hh=this._hh+y+b(this._hl,T)|0},o.prototype._hash=function(){var e=n.allocUnsafe(64);function t(t,a,i){e.writeInt32BE(t,i),e.writeInt32BE(a,i+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=o},3704:function(e,t,a){"use strict";var i=a(5055).Buffer,r=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function s(e){var t=n(e);if("string"!=typeof t&&(i.isEncoding===r||!r(e)))throw Error("Unknown encoding: "+e);return t||e}function l(e){var t;switch(this.encoding=s(e),this.encoding){case"utf16le":this.text=p,this.end=m,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=g,this.end=b,t=3;break;default:this.write=_,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e,t,a){var i=t.length-1;if(i<a)return 0;var r=o(t[i]);return r>=0?(r>0&&(e.lastNeed=r-1),r):--i<a||-2===r?0:(r=o(t[i]))>=0?(r>0&&(e.lastNeed=r-2),r):--i<a||-2===r?0:(r=o(t[i]))>=0?(r>0&&(2===r?r=0:e.lastNeed=r-3),r):0}function d(e,t,a){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function u(e){var t=this.lastTotal-this.lastNeed,a=d(this,e,t);return void 0!==a?a:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function h(e,t){var a=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=a;var i=e.length-(a-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2==0){var a=e.toString("utf16le",t);
vendor: 11,468 bytes, line 6
6if(a){var i=a.charCodeAt(a.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],a.slice(0,-1)}return a}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var a=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,a)}return t}function g(e,t){var a=(e.length-t)%3;return 0===a?e.toString("base64",t):(this.lastNeed=3-a,this.lastTotal=3,1===a?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-a))}function b(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.s=l,l.prototype.write=function(e){var t,a;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";a=this.lastNeed,this.lastNeed=0}else a=0;return a<e.length?t?t+this.text(e,a):this.text(e,a):t||""},l.prototype.end=f,l.prototype.text=h,l.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},6769:function(t){function a(t){try{if(!e.g.localStorage)return!1}catch(e){return!1}var a=e.g.localStorage[t];return null!=a&&"true"===String(a).toLowerCase()}t.exports=function e(e,t){if(a("noDeprecation"))return e;var i=!1;return function(){if(!i){if(a("throwDeprecation"))throw Error(t);a("traceDeprecation")?console.trace(t):console.warn(t),i=!0}return e.apply(this,arguments)}}},4300:function(t){"use strict";t.exports=e.r(21168)},6113:function(t){"use strict";t.exports=e.r(18749)},2361:function(t){"use strict";t.exports=e.r(79753)},2781:function(t){"use strict";t.exports=e.r(60186)},1576:function(t){"use strict";t.exports=e.r(56207)},3837:function(t){"use strict";t.exports=e.r(82576)},6144:function(t){"use strict";t.exports=e.r(51567)},5866:function(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2908:function(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},9267:function(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},7992:function(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
607b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},2531:function(e){"use strict";e.exports={i8:"6.5.3"}},2510:function(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,loaded:!1,exports:{}},r=!0;try{a[e].call(i.exports,i,i.exports,s),r=!1}finally{r&&delete n[e]}return i.loaded=!0,i.exports}!function(){s.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),s.ab="/ROOT/node_modules/next/dist/compiled/crypto-browserify/";var l={};!function(){"use strict";var e=l;e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=s(7223),e.createHash=e.Hash=s(9739),e.createHmac=e.Hmac=s(4873);var t=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(s(9276)));e.getHashes=function(){return t};var a=s(4978);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var i=s(8996);e.Cipher=i.Cipher,e.createCipher=i.createCipher,e.Cipheriv=i.Cipheriv,e.createCipheriv=i.createCipheriv,e.Decipher=i.Decipher,e.createDecipher=i.createDecipher,e.Decipheriv=i.Decipheriv,e.createDecipheriv=i.createDecipheriv,e.getCiphers=i.getCiphers,e.listCiphers=i.listCiphers;var r=s(6587);e.DiffieHellmanGroup=r.DiffieHellmanGroup,e.createDiffieHellmanGroup=r.createDiffieHellmanGroup,e.getDiffieHellman=r.getDiffieHellman,e.createDiffieHellman=r.createDiffieHellman,e.DiffieHellman=r.DiffieHellman;var n=s(4078);e.createSign=n.createSign,e.Sign=n.Sign,e.createVerify=n.createVerify,e.Verify=n.Verify,e.createECDH=s(9942);var o=s(9783);e.publicEncrypt=o.publicEncrypt,e.privateEncrypt=o.privateEncrypt,e.publicDecrypt=o.publicDecrypt,e.privateDecrypt=o.privateDecrypt;var c=s(6445);e.randomFill=c.randomFill,e.randomFillSync=c.randomFillSync,e.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify")},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}(),t.exports=l}()},4077,(e,t,a)=>{"use strict";function i(e){return(e/8|0)+ +(e%8!=0)}
6var r={ES256:i(256),ES384:i(384),ES512:i(521)};t.exports=function(e){var t=r[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}},58969,(e,t,a)=>{"use strict";var i=e.r(34578).Buffer,r=e.r(4077),n=128,s=48,l=2;function o(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function c(e){if(i.isBuffer(e))return e;if("string"==typeof e)return i.from(e,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function d(e,t,a){for(var i=0;t+i<a&&0===e[t+i];)++i;return e[t+i]>=n&&--i,i}t.exports={derToJose:function(e,t){e=c(e);var a=r(t),d=a+1,u=e.length,h=0;if(e[h++]!==s)throw Error('Could not find expected "seq"');var f=e[h++];if(f===(1|n)&&(f=e[h++]),u-h<f)throw Error('"seq" specified length of "'+f+'", only "'+(u-h)+'" remaining');if(e[h++]!==l)throw Error('Could not find expected "int" for "r"');var p=e[h++];if(u-h-2<p)throw Error('"r" specified length of "'+p+'", only "'+(u-h-2)+'" available');if(d<p)throw Error('"r" specified length of "'+p+'", max of "'+d+'" is acceptable');var m=h;if(h+=p,e[h++]!==l)throw Error('Could not find expected "int" for "s"');var g=e[h++];if(u-h!==g)throw Error('"s" specified length of "'+g+'", expected "'+(u-h)+'"');if(d<g)throw Error('"s" specified length of "'+g+'", max of "'+d+'" is acceptable');var b=h;if((h+=g)!==u)throw Error('Expected to consume entire buffer, but "'+(u-h)+'" bytes remain');var _=a-p,y=a-g,x=i.allocUnsafe(_+p+y+g);for(h=0;h<_;++h)x[h]=0;e.copy(x,h,m+Math.max(-_,0),m+p),h=a;for(var v=h;h<v+y;++h)x[h]=0;
6return e.copy(x,h,b+Math.max(-y,0),b+g),x=o(x=x.toString("base64"))},joseToDer:function(e,t){e=c(e);var a=r(t),o=e.length;if(o!==2*a)throw TypeError('"'+t+'" signatures must be "'+2*a+'" bytes, saw "'+o+'"');var u=d(e,0,a),h=d(e,a,e.length),f=a-u,p=a-h,m=2+f+1+1+p,g=m<n,b=i.allocUnsafe((g?2:3)+m),_=0;return b[_++]=s,g?b[_++]=m:(b[_++]=1|n,b[_++]=255&m),b[_++]=l,b[_++]=f,u<0?(b[_++]=0,_+=e.copy(b,_,0,a)):_+=e.copy(b,_,u,a),b[_++]=l,b[_++]=p,h<0?(b[_++]=0,e.copy(b,_,a)):e.copy(b,_,a+h),b}}},98699,(e,t,a)=>{"use strict";var i=e.r(21168).Buffer,r=e.r(21168).SlowBuffer;function n(e,t){if(!i.isBuffer(e)||!i.isBuffer(t)||e.length!==t.length)return!1;for(var a=0,r=0;r<e.length;r++)a|=e[r]^t[r];return 0===a}t.exports=n,n.install=function(){i.prototype.equal=r.prototype.equal=function(e){return n(this,e)}};var s=i.prototype.equal,l=r.prototype.equal;n.restore=function(){i.prototype.equal=s,r.prototype.equal=l}},27011,(e,t,a)=>{var i,r=e.r(34578).Buffer,n=e.r(18749),s=e.r(58969),l=e.r(82576),o='"%s" is not a valid algorithm.\n  Supported algorithms are:\n  "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',c="secret must be a string or buffer",d="key must be a string or a buffer",u="key must be a string, a buffer or an object",h="function"==typeof n.createPublicKey;function f(e){if(!r.isBuffer(e)&&"string"!=typeof e&&(!h||"object"!=typeof e||"string"!=typeof e.type||"string"!=typeof e.asymmetricKeyType||"function"!=typeof e.export))throw _(d)}function p(e){if(!r.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw _(u)}function m(e){if(!r.isBuffer(e)){if("string"==typeof e)return e;if(!h||"object"!=typeof e||"secret"!==e.type||"function"!=typeof e.export)throw _(c)}}function g(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function b(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var a=0;a<t;++a)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function _(e){var t=[].slice.call(arguments,1);return TypeError(l.format.bind(l,e).apply(null,t))}function y(e){return r.isBuffer(e)||"string"==typeof e}function x(e){return y(e)||(e=JSON.stringify(e)),e}function v(e){return function(t,a){m(a),t=x(t);var i=n.createHmac("sha"+e,a);return g((i.update(t),i.digest("base64")))}}h&&(d+=" or a KeyObject",c+="or a KeyObject");var A="timingSafeEqual"in n?function(e,t){return e.byteLength===t.byteLength&&n.timingSafeEqual(e,t)}:function(t,a){return i||(i=e.r(98699)),i(t,a)};function w(e){return function(t,a,i){var n=v(e)(t,i);return A(r.from(a),r.from(n))}}function E(e){return function(t,a){p(a),t=x(t);var i=n.createSign("RSA-SHA"+e);return g((i.update(t),i.sign(a,"base64")))}}function S(e){return function(t,a,i){f(i),t=x(t),a=b(a);var r=n.createVerify("RSA-SHA"+e);return r.update(t),r.verify(i,a,"base64")}}function C(e){return function(t,a){p(a),t=x(t);var i=n.createSign("RSA-SHA"+e);return g((i.update(t),i.sign({key:a,padding:n.constants.RSA_PKCS1_PSS_PADDING,saltLength:n.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function T(e){return function(t,a,i){f(i),t=x(t),a=b(a);var r=n.createVerify("RSA-SHA"+e);return r.update(t),r.verify({key:i,padding:n.constants.RSA_PKCS1_PSS_PADDING,saltLength:n.constants.RSA_PSS_SALTLEN_DIGEST},a,"base64")}}function N(e){var t=E(e);return function(){var a=t.apply(null,arguments);return s.derToJose(a,"ES"+e)}}function k(e){var t=S(e);return function(a,i,r){return t(a,i=s.joseToDer(i,"ES"+e).toString("base64"),r)}}function I(){return function(){return""}}function j(){return function(e,t){return""===t}}t.exports=function(e){var t={hs:v,rs:E,ps:C,es:N,none:I},a={hs:w,rs:S,ps:T,es:k,none:j},i=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!i)throw _(o,e);var r=(i[1]||i[3]).toLowerCase(),n=i[2];return{sign:t[r](n),verify:a[r](n)}}},73761,(e,t,a)=>{var i=e.r(21168).Buffer;t.exports=function(e){return"string"==typeof e?e:"number"==typeof e||i.isBuffer(e)?e.toString():JSON.stringify(e)}},11725,(e,t,a)=>{var i=e.r(34578).Buffer,r=e.r(77953),n=e.r(27011),s=e.r(60186),l=e.r(73761),o=e.r(82576);function c(e,t){return i.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(e,t,a){a=a||"utf8";var i=c(l(e),"binary"),r=c(l(t),a);return o.format("%s.%s",i,r)}function u(e){var t=e.header,a=e.payload,i=e.secret||e.privateKey,r=e.encoding,s=n(t.alg),l=d(t,a,r),c=s.sign(l,i);return o.format("%s.%s",l,c)}function h(e){var t=e.secret;if(t=null==(t=null==t?e.privateKey:t)?e.key:t,!0===/^hs/i.test(e.header.alg)&&null==t)throw TypeError("secret must be a string or buffer or a KeyObject");var a=new r(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=a,this.payload=new r(e.payload),this.secret.once("close",(function(){!this.payload.writable&&this.readable&&this.sign()}).bind(this)),this.payload.once("close",(function(){!this.secret.writable&&this.readable&&this.sign()}).bind(this))}o.inherits(h,s),h.prototype.sign=function(){try{var e=u({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});
6return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},h.sign=u,t.exports=h},50551,(e,t,a)=>{var i=e.r(34578).Buffer,r=e.r(77953),n=e.r(27011),s=e.r(60186),l=e.r(73761),o=e.r(82576),c=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function d(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){if(d(e))return e;try{return JSON.parse(e)}catch(e){return}}function h(e){var t=e.split(".",1)[0];return u(i.from(t,"base64").toString("binary"))}function f(e){return e.split(".",2).join(".")}function p(e){return e.split(".")[2]}function m(e,t){t=t||"utf8";var a=e.split(".")[1];return i.from(a,"base64").toString(t)}function g(e){return c.test(e)&&!!h(e)}function b(e,t,a){if(!t){var i=Error("Missing algorithm parameter for jws.verify");throw i.code="MISSING_ALGORITHM",i}var r=p(e=l(e)),s=f(e);return n(t).verify(s,r,a)}function _(e,t){if(t=t||{},!g(e=l(e)))return null;var a=h(e);if(!a)return null;var i=m(e);return("JWT"===a.typ||t.json)&&(i=JSON.parse(i,t.encoding)),{header:a,payload:i,signature:p(e)}}function y(e){var t=(e=e||{}).secret;if(t=null==(t=null==t?e.publicKey:t)?e.key:t,!0===/^hs/i.test(e.algorithm)&&null==t)throw TypeError("secret must be a string or buffer or a KeyObject");var a=new r(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=a,this.signature=new r(e.signature),this.secret.once("close",(function(){!this.signature.writable&&this.readable&&this.verify()}).bind(this)),this.signature.once("close",(function(){!this.secret.writable&&this.readable&&this.verify()}).bind(this))}o.inherits(y,s),y.prototype.verify=function(){try{var e=b(this.signature.buffer,this.algorithm,this.key.buffer),t=_(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},y.decode=_,y.isValid=g,y.verify=b,t.exports=y},22837,(e,t,a)=>{var i=e.r(11725),r=e.r(50551);a.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],a.sign=i.sign,a.verify=r.verify,a.decode=r.decode,a.isValid=r.isValid,a.createSign=function(e){return new i(e)},a.createVerify=function(e){return new r(e)}},89815,(e,t,a)=>{var i=e.r(22837);t.exports=function(e,t){t=t||{};var a=i.decode(e,t);if(!a)return null;var r=a.payload;if("string"==typeof r)try{var n=JSON.parse(r);null!==n&&"object"==typeof n&&(r=n)}catch(e){}return!0===t.complete?{header:a.header,payload:r,signature:a.signature}:r}},82517,(e,t,a)=>{var i=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,t.exports=i},3360,(e,t,a)=>{var i=e.r(82517),r=function(e,t){i.call(this,e),this.name="NotBeforeError",this.date=t};r.prototype=Object.create(i.prototype),r.prototype.constructor=r,t.exports=r},13194,(e,t,a)=>{var i=e.r(82517),r=function(e,t){i.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};r.prototype=Object.create(i.prototype),r.prototype.constructor=r,t.exports=r},34201,(e,t,a)=>{var i=1e3,r=6e4,n=36e5,s=864e5,l=6048e5,o=315576e5;function c(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]),c=(t[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*o;case"weeks":case"week":case"w":return a*l;case"days":case"day":case"d":return a*s;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}function d(e){var t=Math.abs(e);return t>=s?Math.round(e/s)+"d":t>=n?Math.round(e/n)+"h":t>=r?Math.round(e/r)+"m":t>=i?Math.round(e/i)+"s":e+"ms"}function u(e){var t=Math.abs(e);return t>=s?h(e,t,s,"day"):t>=n?h(e,t,n,"hour"):t>=r?h(e,t,r,"minute"):t>=i?h(e,t,i,"second"):e+" ms"}function h(e,t,a,i){var r=t>=1.5*a;return Math.round(e/a)+" "+i+(r?"s":"")}t.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return c(e);if("number"===a&&isFinite(e))return t.long?u(e):d(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},51851,(e,t,a)=>{var i=e.r(34201);t.exports=function(e,t){var a=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var r=i(e);if(void 0===r)return;return Math.floor(a+r/1e3)}if("number"==typeof e)return a+e}},46051,(e,t,a)=>{"use strict";
6t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||0x1fffffffffffff,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},67713,(e,t,a)=>{"use strict";var i=e.i(50461);t.exports="object"==typeof i.default&&i.default.env&&i.default.env.NODE_DEBUG&&/\bsemver\b/i.test(i.default.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{}},94322,(e,t,a)=>{"use strict";let{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:n}=e.r(46051),s=e.r(67713),l=(a=t.exports={}).re=[],o=a.safeRe=[],c=a.src=[],d=a.safeSrc=[],u=a.t={},h=0,f="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",n],[f,r]],m=e=>{for(let[t,a]of p)e=e.split(`${t}*`).join(`${t}{0,${a}}`).split(`${t}+`).join(`${t}{1,${a}}`);return e},g=(e,t,a)=>{let i=m(t),r=h++;s(e,r,t),u[e]=r,c[r]=t,d[r]=i,l[r]=new RegExp(t,a?"g":void 0),o[r]=new RegExp(i,a?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),g("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${f}+`),g("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),g("FULL",`^${c[u.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),g("LOOSE",`^${c[u.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),g("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),g("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?`+"(?:$|[^\\d])"),g("COERCERTL",c[u.COERCE],!0),g("COERCERTLFULL",c[u.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),a.tildeTrimReplace="$1~",g("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),a.caretTrimReplace="$1^",g("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),a.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},2321,(e,t,a)=>{"use strict";let i=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=e=>e?"object"!=typeof e?i:e:r},53994,(e,t,a)=>{"use strict";let i=/^[0-9]+$/,r=(e,t)=>{if("number"==typeof e&&"number"==typeof t)return e===t?0:e<t?-1:1;let a=i.test(e),r=i.test(t);return a&&r&&(e*=1,t*=1),e===t?0:a&&!r?-1:r&&!a?1:e<t?-1:1},n=(e,t)=>r(t,e);t.exports={compareIdentifiers:r,rcompareIdentifiers:n}},19008,(e,t,a)=>{"use strict";let i=e.r(67713),{MAX_LENGTH:r,MAX_SAFE_INTEGER:n}=e.r(46051),{safeRe:s,t:l}
6=e.r(94322),o=e.r(2321),{compareIdentifiers:c}=e.r(53994);class d{constructor(e,t){if(t=o(t),e instanceof d)if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;else e=e.version;else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>r)throw TypeError(`version is longer than ${r} characters`);i("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const a=e.trim().match(t.loose?s[l.LOOSE]:s[l.FULL]);if(!a)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>n||this.major<0)throw TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<n)return t}return e}):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(i("SemVer.compare",this.version,this.options,e),!(e instanceof d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return(e instanceof d||(e=new d(e,this.options)),this.major<e.major)?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:+(this.patch>e.patch)}comparePre(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let a=this.prerelease[t],r=e.prerelease[t];if(i("prerelease compare",t,a,r),void 0===a&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===a)return -1;else if(a===r)continue;else return c(a,r)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{let a=this.build[t],r=e.build[t];if(i("build compare",t,a,r),void 0===a&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===a)return -1;else if(a===r)continue;else return c(a,r)}while(++t)}inc(e,t,a){if(e.startsWith("pre")){if(!t&&!1===a)throw Error("invalid increment argument: identifier is empty");if(t){let e=`-${t}`.match(this.options.loose?s[l.PRERELEASELOOSE]:s[l.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,a);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,a);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,a),this.inc("pre",t,a);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,a),this.inc("pre",t,a);break;case"release":if(0===this.prerelease.length)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{let e=+!!Number(a);if(0===this.prerelease.length)this.prerelease=[e];else{let i=this.prerelease.length;for(;--i>=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);if(-1===i){if(t===this.prerelease.join(".")&&!1===a)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let i=[t,e];!1===a&&(i=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}t.exports=d},32592,(e,t,a)=>{"use strict";let i=e.r(19008);t.exports=(e,t,a=!1)=>
6{if(e instanceof i)return e;try{return new i(e,t)}catch(e){if(!a)return null;throw e}}},78636,(e,t,a)=>{"use strict";let i=e.r(32592);t.exports=(e,t)=>{let a=i(e,t);return a?a.version:null}},67113,(e,t,a)=>{"use strict";let i=e.r(32592);t.exports=(e,t)=>{let a=i(e.trim().replace(/^[=v]+/,""),t);return a?a.version:null}},20122,(e,t,a)=>{"use strict";let i=e.r(19008);t.exports=(e,t,a,r,n)=>{"string"==typeof a&&(n=r,r=a,a=void 0);try{return new i(e instanceof i?e.version:e,a).inc(t,r,n).version}catch(e){return null}}},34773,(e,t,a)=>{"use strict";let i=e.r(32592);t.exports=(e,t)=>{let a=i(e,null,!0),r=i(t,null,!0),n=a.compare(r);if(0===n)return null;let s=n>0,l=s?a:r,o=s?r:a,c=!!l.prerelease.length;if(o.prerelease.length&&!c){if(!o.patch&&!o.minor)return"major";if(0===o.compareMain(l))return o.minor&&!o.patch?"minor":"patch"}let d=c?"pre":"";return a.major!==r.major?d+"major":a.minor!==r.minor?d+"minor":a.patch!==r.patch?d+"patch":"prerelease"}},47969,(e,t,a)=>{"use strict";let i=e.r(19008);t.exports=(e,t)=>new i(e,t).major},72832,(e,t,a)=>{"use strict";let i=e.r(19008);t.exports=(e,t)=>new i(e,t).minor},85655,(e,t,a)=>{"use strict";let i=e.r(19008);t.exports=(e,t)=>new i(e,t).patch},74081,(e,t,a)=>{"use strict";let i=e.r(32592);t.exports=(e,t)=>{let a=i(e,t);return a&&a.prerelease.length?a.prerelease:null}},65340,(e,t,a)=>{"use strict";let i=e.r(19008);t.exports=(e,t,a)=>new i(e,a).compare(new i(t,a))},12104,(e,t,a)=>{"use strict";let i=e.r(65340);t.exports=(e,t,a)=>i(t,e,a)},50123,(e,t,a)=>{"use strict";let i=e.r(65340);t.exports=(e,t)=>i(e,t,!0)},49616,(e,t,a)=>{"use strict";let i=e.r(19008);t.exports=(e,t,a)=>{let r=new i(e,a),n=new i(t,a);return r.compare(n)||r.compareBuild(n)}},18077,(e,t,a)=>{"use strict";let i=e.r(49616);t.exports=(e,t)=>e.sort((e,a)=>i(e,a,t))},8758,(e,t,a)=>{"use strict";let i=e.r(49616);t.exports=(e,t)=>e.sort((e,a)=>i(a,e,t))},88590,(e,t,a)=>{"use strict";let i=e.r(65340);t.exports=(e,t,a)=>i(e,t,a)>0},29350,(e,t,a)=>{"use strict";let i=e.r(65340);t.exports=(e,t,a)=>0>i(e,t,a)},64604,(e,t,a)=>{"use strict";let i=e.r(65340);t.exports=(e,t,a)=>0===i(e,t,a)},31487,(e,t,a)=>{"use strict";let i=e.r(65340);t.exports=(e,t,a)=>0!==i(e,t,a)},29237,(e,t,a)=>{"use strict";let i=e.r(65340);t.exports=(e,t,a)=>i(e,t,a)>=0},97696,(e,t,a)=>{"use strict";let i=e.r(65340);t.exports=(e,t,a)=>0>=i(e,t,a)},9861,(e,t,a)=>{"use strict";let i=e.r(64604),r=e.r(31487),n=e.r(88590),s=e.r(29237),l=e.r(29350),o=e.r(97696);t.exports=(e,t,a,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof a&&(a=a.version),e===a;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof a&&(a=a.version),e!==a;case"":case"=":case"==":return i(e,a,c);case"!=":return r(e,a,c);case">":return n(e,a,c);case">=":return s(e,a,c);case"<":return l(e,a,c);case"<=":return o(e,a,c);default:throw TypeError(`Invalid operator: ${t}`)}}},72961,(e,t,a)=>{"use strict";let i=e.r(19008),r=e.r(32592),{safeRe:n,t:s}=e.r(94322);t.exports=(e,t)=>{if(e instanceof i)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let a=null;if((t=t||{}).rtl){let i,r=t.includePrerelease?n[s.COERCERTLFULL]:n[s.COERCERTL];for(;(i=r.exec(e))&&(!a||a.index+a[0].length!==e.length);)a&&i.index+i[0].length===a.index+a[0].length||(a=i),r.lastIndex=i.index+i[1].length+i[2].length;r.lastIndex=-1}else a=e.match(t.includePrerelease?n[s.COERCEFULL]:n[s.COERCE]);if(null===a)return null;let l=a[2],o=a[3]||"0",c=a[4]||"0",d=t.includePrerelease&&a[5]?`-${a[5]}`:"",u=t.includePrerelease&&a[6]?`+${a[6]}`:"";return r(`${l}.${o}.${c}${d}${u}`,t)}},28150,(e,t,a)=>{"use strict";class i{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(void 0!==t)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}t.exports=i},59528,(e,t,a)=>{"use strict";let i=/\s+/g;class r{constructor(e,t){if(t=s(t),e instanceof r)if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;else return new r(e.raw,t);if(e instanceof l)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(i," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);
6if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!b(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(const e of this.set)if(1===e.length&&_(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,a=n.get(t);if(a)return a;let i=this.options.loose,r=i?d[u.HYPHENRANGELOOSE]:d[u.HYPHENRANGE];o("hyphen replace",e=e.replace(r,I(this.options.includePrerelease))),o("comparator trim",e=e.replace(d[u.COMPARATORTRIM],h)),o("tilde trim",e=e.replace(d[u.TILDETRIM],f)),o("caret trim",e=e.replace(d[u.CARETTRIM],p));let s=e.split(" ").map(e=>x(e,this.options)).join(" ").split(/\s+/).map(e=>k(e,this.options));i&&(s=s.filter(e=>(o("loose invalid filter",e,this.options),!!e.match(d[u.COMPARATORLOOSE])))),o("range list",s);let c=new Map;for(let e of s.map(e=>new l(e,this.options))){if(b(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");let _=[...c.values()];return n.set(t,_),_}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(a=>y(a,t)&&e.set.some(e=>y(e,t)&&a.every(a=>e.every(e=>a.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(j(this.set[t],e,this.options))return!0;return!1}}t.exports=r;let n=new(e.r(28150)),s=e.r(2321),l=e.r(56831),o=e.r(67713),c=e.r(19008),{safeRe:d,t:u,comparatorTrimReplace:h,tildeTrimReplace:f,caretTrimReplace:p}=e.r(94322),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:g}=e.r(46051),b=e=>"<0.0.0-0"===e.value,_=e=>""===e.value,y=(e,t)=>{let a=!0,i=e.slice(),r=i.pop();for(;a&&i.length;)a=i.every(e=>r.intersects(e,t)),r=i.pop();return a},x=(e,t)=>(o("comp",e=e.replace(d[u.BUILD],""),t),o("caret",e=E(e,t)),o("tildes",e=A(e,t)),o("xrange",e=C(e,t)),o("stars",e=N(e,t)),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,A=(e,t)=>e.trim().split(/\s+/).map(e=>w(e,t)).join(" "),w=(e,t)=>{let a=t.loose?d[u.TILDELOOSE]:d[u.TILDE];return e.replace(a,(t,a,i,r,n)=>{let s;return o("tilde",e,t,a,i,r,n),v(a)?s="":v(i)?s=`>=${a}.0.0 <${+a+1}.0.0-0`:v(r)?s=`>=${a}.${i}.0 <${a}.${+i+1}.0-0`:n?(o("replaceTilde pr",n),s=`>=${a}.${i}.${r}-${n} <${a}.${+i+1}.0-0`):s=`>=${a}.${i}.${r} <${a}.${+i+1}.0-0`,o("tilde return",s),s})},E=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{o("caret",e,t);let a=t.loose?d[u.CARETLOOSE]:d[u.CARET],i=t.includePrerelease?"-0":"";return e.replace(a,(t,a,r,n,s)=>{let l;return o("caret",e,t,a,r,n,s),v(a)?l="":v(r)?l=`>=${a}.0.0${i} <${+a+1}.0.0-0`:v(n)?l="0"===a?`>=${a}.${r}.0${i} <${a}.${+r+1}.0-0`:`>=${a}.${r}.0${i} <${+a+1}.0.0-0`:s?(o("replaceCaret pr",s),l="0"===a?"0"===r?`>=${a}.${r}.${n}-${s} <${a}.${r}.${+n+1}-0`:`>=${a}.${r}.${n}-${s} <${a}.${+r+1}.0-0`:`>=${a}.${r}.${n}-${s} <${+a+1}.0.0-0`):(o("no pr"),l="0"===a?"0"===r?`>=${a}.${r}.${n}${i} <${a}.${r}.${+n+1}-0`:`>=${a}.${r}.${n}${i} <${a}.${+r+1}.0-0`:`>=${a}.${r}.${n} <${+a+1}.0.0-0`),o("caret return",l),l})},C=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map(e=>T(e,t)).join(" ")),T=(e,t)=>{e=e.trim();let a=t.loose?d[u.XRANGELOOSE]:d[u.XRANGE];return e.replace(a,(a,i,r,n,s,l)=>{o("xRange",e,a,i,r,n,s,l);let c=v(r),d=c||v(n),u=d||v(s),h=u;return"="===i&&h&&(i=""),l=t.includePrerelease?"-0":"",c?a=">"===i||"<"===i?"<0.0.0-0":"*":i&&h?(d&&(n=0),s=0,">"===i?(i=">=",d?(r=+r+1,n=0):n=+n+1,s=0):"<="===i&&(i="<",d?r=+r+1:n=+n+1),"<"===i&&(l="-0"),a=`${i+r}.${n}.${s}${l}`):d?a=`>=${r}.0.0${l} <${+r+1}.0.0-0`:u&&(a=`>=${r}.${n}.0${l} <${r}.${+n+1}.0-0`),o("xRange return",a),a})},N=(e,t)=>(o("replaceStars",e,t),e.trim().replace(d[u.STAR],"")),k=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),I=e=>(t,a,i,r,n,s,l,o,c,d,u,h)=>(a=v(i)?"":v(r)?`>=${i}.0.0${e?"-0":""}`:v(n)?`>=${i}.${r}.0${e?"-0":""}`:s?`>=${a}`:`>=${a}${e?"-0":""}`,o=v(c)?"":v(d)?`<${+c+1}.0.0-0`:v(u)?`<${c}.${+d+1}.0-0`:h?`<=${c}.${d}.${u}-${h}`:e?`<${c}.${d}.${+u+1}-0`:`<=${o}`,`${a} ${o}`.trim()),j=(e,t,a)=>{for(let a=0;a<e.length;a++)if(!e[a].test(t))return!1;if(t.prerelease.length&&!a.includePrerelease){for(let a=0;a<e.length;
6a++)if(o(e[a].semver),e[a].semver!==l.ANY&&e[a].semver.prerelease.length>0){let i=e[a].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}},56831,(e,t,a)=>{"use strict";let i=Symbol("SemVer ANY");class r{static get ANY(){return i}constructor(e,t){if(t=n(t),e instanceof r)if(!!t.loose===e.loose)return e;else e=e.value;c("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===i?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){let t=this.options.loose?s[l.COMPARATORLOOSE]:s[l.COMPARATOR],a=e.match(t);if(!a)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==a[1]?a[1]:"","="===this.operator&&(this.operator=""),a[2]?this.semver=new d(a[2],this.options.loose):this.semver=i}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===i||e===i)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return o(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof r))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):!((t=n(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||o(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||o(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}t.exports=r;let n=e.r(2321),{safeRe:s,t:l}=e.r(94322),o=e.r(9861),c=e.r(67713),d=e.r(19008),u=e.r(59528)},76425,(e,t,a)=>{"use strict";let i=e.r(59528);t.exports=(e,t,a)=>{try{t=new i(t,a)}catch(e){return!1}return t.test(e)}},12408,(e,t,a)=>{"use strict";let i=e.r(59528);t.exports=(e,t)=>new i(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},40075,(e,t,a)=>{"use strict";let i=e.r(19008),r=e.r(59528);t.exports=(e,t,a)=>{let n=null,s=null,l=null;try{l=new r(t,a)}catch(e){return null}return e.forEach(e=>{l.test(e)&&(!n||-1===s.compare(e))&&(s=new i(n=e,a))}),n}},85068,(e,t,a)=>{"use strict";let i=e.r(19008),r=e.r(59528);t.exports=(e,t,a)=>{let n=null,s=null,l=null;try{l=new r(t,a)}catch(e){return null}return e.forEach(e=>{l.test(e)&&(!n||1===s.compare(e))&&(s=new i(n=e,a))}),n}},26428,(e,t,a)=>{"use strict";let i=e.r(19008),r=e.r(59528),n=e.r(88590);t.exports=(e,t)=>{e=new r(e,t);let a=new i("0.0.0");if(e.test(a)||(a=new i("0.0.0-0"),e.test(a)))return a;a=null;for(let t=0;t<e.set.length;++t){let r=e.set[t],s=null;r.forEach(e=>{let t=new i(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!s||n(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),s&&(!a||n(a,s))&&(a=s)}return a&&e.test(a)?a:null}},34382,(e,t,a)=>{"use strict";let i=e.r(59528);t.exports=(e,t)=>{try{return new i(e,t).range||"*"}catch(e){return null}}},73379,(e,t,a)=>{"use strict";let i=e.r(19008),r=e.r(56831),{ANY:n}=r,s=e.r(59528),l=e.r(76425),o=e.r(88590),c=e.r(29350),d=e.r(97696),u=e.r(29237);t.exports=(e,t,a,h)=>{let f,p,m,g,b;switch(e=new i(e,h),t=new s(t,h),a){case">":f=o,p=d,m=c,g=">",b=">=";break;case"<":f=c,p=u,m=o,g="<",b="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,h))return!1;for(let a=0;a<t.set.length;++a){let i=t.set[a],s=null,l=null;if(i.forEach(e=>{e.semver===n&&(e=new r(">=0.0.0")),s=s||e,l=l||e,f(e.semver,s.semver,h)?s=e:m(e.semver,l.semver,h)&&(l=e)}),s.operator===g||s.operator===b||(!l.operator||l.operator===g)&&p(e,l.semver)||l.operator===b&&m(e,l.semver))return!1}return!0}},77521,(e,t,a)=>{"use strict";let i=e.r(73379);t.exports=(e,t,a)=>i(e,t,">",a)},33442,(e,t,a)=>{"use strict";let i=e.r(73379);t.exports=(e,t,a)=>i(e,t,"<",a)},41682,(e,t,a)=>{"use strict";let i=e.r(59528);t.exports=(e,t,a)=>(e=new i(e,a),t=new i(t,a),e.intersects(t,a))},88864,(e,t,a)=>{"use strict";let i=e.r(76425),r=e.r(65340);t.exports=(e,t,a)=>{let n=[],s=null,l=null,o=e.sort((e,t)=>
6r(e,t,a));for(let e of o)i(e,t,a)?(l=e,s||(s=e)):(l&&n.push([s,l]),l=null,s=null);s&&n.push([s,null]);let c=[];for(let[e,t]of n)e===t?c.push(e):t||e!==o[0]?t?e===o[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");let d=c.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return d.length<u.length?d:t}},89354,(e,t,a)=>{"use strict";let i=e.r(59528),r=e.r(56831),{ANY:n}=r,s=e.r(76425),l=e.r(65340),o=(e,t,a={})=>{if(e===t)return!0;e=new i(e,a),t=new i(t,a);let r=!1;i:for(let i of e.set){for(let e of t.set){let t=u(i,e,a);if(r=r||null!==t,t)continue i}if(r)return!1}return!0},c=[new r(">=0.0.0-0")],d=[new r(">=0.0.0")],u=(e,t,a)=>{let i,r,o,u,p,m,g;if(e===t)return!0;if(1===e.length&&e[0].semver===n)if(1===t.length&&t[0].semver===n)return!0;else e=a.includePrerelease?c:d;if(1===t.length&&t[0].semver===n)if(a.includePrerelease)return!0;else t=d;let b=new Set;for(let t of e)">"===t.operator||">="===t.operator?i=h(i,t,a):"<"===t.operator||"<="===t.operator?r=f(r,t,a):b.add(t.semver);if(b.size>1)return null;if(i&&r&&((o=l(i.semver,r.semver,a))>0||0===o&&(">="!==i.operator||"<="!==r.operator)))return null;for(let e of b){if(i&&!s(e,String(i),a)||r&&!s(e,String(r),a))return null;for(let i of t)if(!s(e,String(i),a))return!1;return!0}let _=!!r&&!a.includePrerelease&&!!r.semver.prerelease.length&&r.semver,y=!!i&&!a.includePrerelease&&!!i.semver.prerelease.length&&i.semver;for(let e of(_&&1===_.prerelease.length&&"<"===r.operator&&0===_.prerelease[0]&&(_=!1),t)){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,i){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if((u=h(i,e,a))===e&&u!==i)return!1}else if(">="===i.operator&&!s(i.semver,String(e),a))return!1}if(r){if(_&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===_.major&&e.semver.minor===_.minor&&e.semver.patch===_.patch&&(_=!1),"<"===e.operator||"<="===e.operator){if((p=f(r,e,a))===e&&p!==r)return!1}else if("<="===r.operator&&!s(r.semver,String(e),a))return!1}if(!e.operator&&(r||i)&&0!==o)return!1}return(!i||!m||!!r||0===o)&&(!r||!g||!!i||0===o)&&!y&&!_&&!0},h=(e,t,a)=>{if(!e)return t;let i=l(e.semver,t.semver,a);return i>0?e:i<0||">"===t.operator&&">="===e.operator?t:e},f=(e,t,a)=>{if(!e)return t;let i=l(e.semver,t.semver,a);return i<0?e:i>0||"<"===t.operator&&"<="===e.operator?t:e};t.exports=o},70936,(e,t,a)=>{"use strict";let i=e.r(94322),r=e.r(46051),n=e.r(19008),s=e.r(53994),l=e.r(32592),o=e.r(78636),c=e.r(67113),d=e.r(20122),u=e.r(34773),h=e.r(47969),f=e.r(72832),p=e.r(85655),m=e.r(74081),g=e.r(65340),b=e.r(12104),_=e.r(50123),y=e.r(49616),x=e.r(18077),v=e.r(8758),A=e.r(88590),w=e.r(29350),E=e.r(64604),S=e.r(31487),C=e.r(29237),T=e.r(97696),N=e.r(9861),k=e.r(72961),I=e.r(56831),j=e.r(59528),P=e.r(76425),L=e.r(12408),O=e.r(40075),D=e.r(85068),M=e.r(26428),R=e.r(34382),F=e.r(73379),B=e.r(77521),U=e.r(33442),H=e.r(41682);t.exports={parse:l,valid:o,clean:c,inc:d,diff:u,major:h,minor:f,patch:p,prerelease:m,compare:g,rcompare:b,compareLoose:_,compareBuild:y,sort:x,rsort:v,gt:A,lt:w,eq:E,neq:S,gte:C,lte:T,cmp:N,coerce:k,Comparator:I,Range:j,satisfies:P,toComparators:L,maxSatisfying:O,minSatisfying:D,minVersion:M,validRange:R,outside:F,gtr:B,ltr:U,intersects:H,simplifyRange:e.r(88864),subset:e.r(89354),SemVer:n,re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},22639,(e,t,a)=>{var i=e.i(50461);t.exports=e.r(70936).satisfies(i.default.version,">=15.7.0")},86734,(e,t,a)=>{var i=e.i(50461);t.exports=e.r(70936).satisfies(i.default.version,">=16.9.0")},94586,(e,t,a)=>{let i=e.r(22639),r=e.r(86734),n={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},s={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};t.exports=function(e,t){if(!e||!t)return;let a=t.asymmetricKeyType;if(!a)return;let l=n[a];if(!l)throw Error(`Unknown key type "${a}".`);if(!l.includes(e))throw Error(`"alg" parameter for "${a}" key type must be one of: ${l.join(", ")}.`);
6if(i)switch(a){case"ec":let o=t.asymmetricKeyDetails.namedCurve,c=s[e];if(o!==c)throw Error(`"alg" parameter "${e}" requires curve "${c}".`);break;case"rsa-pss":if(r){let a=parseInt(e.slice(-3),10),{hashAlgorithm:i,mgf1HashAlgorithm:r,saltLength:n}=t.asymmetricKeyDetails;if(i!==`sha${a}`||r!==i)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==n&&n>a>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}}}},83498,(e,t,a)=>{var i=e.i(50461);t.exports=e.r(70936).satisfies(i.default.version,"^6.12.0 || >=8.0.0")},2199,(e,t,a)=>{var i=e.i(21168);let r=e.r(82517),n=e.r(3360),s=e.r(13194),l=e.r(89815),o=e.r(51851),c=e.r(94586),d=e.r(83498),u=e.r(22837),{KeyObject:h,createSecretKey:f,createPublicKey:p}=e.r(18749),m=["RS256","RS384","RS512"],g=["ES256","ES384","ES512"],b=["RS256","RS384","RS512"],_=["HS256","HS384","HS512"];d&&(m.splice(m.length,0,"PS256","PS384","PS512"),b.splice(b.length,0,"PS256","PS384","PS512")),t.exports=function(e,t,a,d){let y,x,v;if("function"!=typeof a||d||(d=a,a={}),a||(a={}),a=Object.assign({},a),y=d||function(e,t){if(e)throw e;return t},a.clockTimestamp&&"number"!=typeof a.clockTimestamp)return y(new r("clockTimestamp must be a number"));if(void 0!==a.nonce&&("string"!=typeof a.nonce||""===a.nonce.trim()))return y(new r("nonce must be a non-empty string"));if(void 0!==a.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof a.allowInvalidAsymmetricKeyTypes)return y(new r("allowInvalidAsymmetricKeyTypes must be a boolean"));let A=a.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return y(new r("jwt must be provided"));if("string"!=typeof e)return y(new r("jwt must be a string"));let w=e.split(".");if(3!==w.length)return y(new r("jwt malformed"));try{x=l(e,{complete:!0})}catch(e){return y(e)}if(!x)return y(new r("invalid token"));let E=x.header;if("function"==typeof t){if(!d)return y(new r("verify must be called asynchronous if secret or public key is provided as a callback"));v=t}else v=function(e,a){return a(null,t)};return v(E,function(t,l){let d;if(t)return y(new r("error in secret or public key callback: "+t.message));let v=""!==w[2].trim();if(!v&&l)return y(new r("jwt signature is required"));if(v&&!l)return y(new r("secret or public key must be provided"));if(!v&&!a.algorithms)return y(new r('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=l&&!(l instanceof h))try{l=p(l)}catch(e){try{l=f("string"==typeof l?i.Buffer.from(l):l)}catch(e){return y(new r("secretOrPublicKey is not valid key material"))}}if(a.algorithms||("secret"===l.type?a.algorithms=_:["rsa","rsa-pss"].includes(l.asymmetricKeyType)?a.algorithms=b:"ec"===l.asymmetricKeyType?a.algorithms=g:a.algorithms=m),-1===a.algorithms.indexOf(x.header.alg))return y(new r("invalid algorithm"));if(E.alg.startsWith("HS")&&"secret"!==l.type)return y(new r(`secretOrPublicKey must be a symmetric key when using ${E.alg}`));if(/^(?:RS|PS|ES)/.test(E.alg)&&"public"!==l.type)return y(new r(`secretOrPublicKey must be an asymmetric key when using ${E.alg}`));if(!a.allowInvalidAsymmetricKeyTypes)try{c(E.alg,l)}catch(e){return y(e)}try{d=u.verify(e,x.header.alg,l)}catch(e){return y(e)}if(!d)return y(new r("invalid signature"));let S=x.payload;if(void 0!==S.nbf&&!a.ignoreNotBefore){if("number"!=typeof S.nbf)return y(new r("invalid nbf value"));if(S.nbf>A+(a.clockTolerance||0))return y(new n("jwt not active",new Date(1e3*S.nbf)))}if(void 0!==S.exp&&!a.ignoreExpiration){if("number"!=typeof S.exp)return y(new r("invalid exp value"));if(A>=S.exp+(a.clockTolerance||0))return y(new s("jwt expired",new Date(1e3*S.exp)))}if(a.audience){let e=Array.isArray(a.audience)?a.audience:[a.audience];if(!(Array.isArray(S.aud)?S.aud:[S.aud]).some(function(t){return e.some(function(e){return e instanceof RegExp?e.test(t):e===t})}))return y(new r("jwt audience invalid. expected: "+e.join(" or ")))}if(a.issuer&&("string"==typeof a.issuer&&S.iss!==a.issuer||Array.isArray(a.issuer)&&-1===a.issuer.indexOf(S.iss)))return y(new r("jwt issuer invalid. expected: "+a.issuer));if(a.subject&&S.sub!==a.subject)return y(new r("jwt subject invalid. expected: "+a.subject));if(a.jwtid&&S.jti!==a.jwtid)return y(new r("jwt jwtid invalid. expected: "+a.jwtid));if(a.nonce&&S.nonce!==a.nonce)return y(new r("jwt nonce invalid. expected: "+a.nonce));if(a.maxAge){if("number"!=typeof S.iat)return y(new r("iat required when maxAge is specified"));let e=o(a.maxAge,S.iat);if(void 0===e)return y(new r('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(A>=e+(a.clockTolerance||0))return y(new s("maxAge exceeded",new Date(1e3*e)))}return!0===a.complete?y(null,{header:E,payload:S,signature:x.signature}):y(null,S)})}},6223,(e,t,a)=>{var i=1/0,r=0x1fffffffffffff,n=17976931348623157e292,s=0/0,l="[object Arguments]",o="[object Function]",c="[object GeneratorFunction]",d="[object String]",u="[object Symbol]",h=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,g=/^(?:0|[1-9]\d*)$/,b=parseInt;function _(e,t){for(var a=-1,i=e?e.length:0,r=Array(i);++a<i;)r[a]=t(e[a],a,e);return r}function y(e,t,a,i){for(var r=e.length,n=a+(i?1:-1);i?n--:++n<r;)if(t(e[n],n,e))return n;return -1}function x(e,t,a){if(t!=t)return y(e,v,a);for(var i=a-1,r=e.length;++i<r;)if(e[i]===t)return i;return -1}function v(e){return e!=e}function A(e,t){for(var a=-1,i=Array(e);++a<e;)i[a]=t(a);return i}function w(e,t){return _(t,function(t){return e[t]})}function E(e,t){return function(a){return e(t(a))}}var S=Object.prototype,C=S.hasOwnProperty,T=S.toString,N=S.propertyIsEnumerable,k=E(Object.keys,Object),I=Math.max;function j(e,t){var a=M(e)||D(e)?A(e.length,String):[],i=a.length,r=!!i;for(var n in e)(t||C.call(e,n))&&!(r&&("length"==n||L(n,i)))&&a.push(n);return a}function P(e){if(!O(e))return k(e);var t=[];for(var a in Object(e))C.call(e,a)&&"constructor"!=a&&t.push(a);return t}function L(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||g.test(e))&&e>-1&&e%1==0&&e<t}function O(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function D(e){return F(e)&&C.call(e,"callee")&&(!N.call(e,"callee")||T.call(e)==l)}var M=Array.isArray;function R(e){return null!=e&&U(e.length)&&!B(e)}function F(e){return $(e)&&R(e)}function B(e){var t=H(e)?T.call(e):"";return t==o||t==c}function U(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function H(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return!!e&&"object"==typeof e}function G(e){return"string"==typeof e||!M(e)&&$(e)&&T.call(e)==d}function W(e){return"symbol"==typeof e||$(e)&&T.call(e)==u}function Y(e){return e?(e=V(e))===i||e===-i?(e<0?-1:1)*n:e==e?e:0:0===e?e:0}function z(e){var t=Y(e),a=t%1;return t==t?a?t-a:t:0}function V(e){if("number"==typeof e)return e;if(W(e))return s;if(H(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=H(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(h,"");var a=p.test(e);return a||m.test(e)?b(e.slice(2),a?2:8):f.test(e)?s:+e}function K(e){return R(e)?j(e):P(e)}function q(e){return e?w(e,K(e)):[]}t.exports=function(e,t,a,i){e=R(e)?e:q(e),a=a&&!i?z(a):0;var r=e.length;return a<0&&(a=I(r+a,0)),G(e)?a<=r&&e.indexOf(t,a)>-1:!!r&&x(e,t,a)>-1}},93076,(e,t,a)=>{var i="[object Boolean]",r=Object.prototype.toString;function n(e){return!!e&&"object"==typeof e}t.exports=function(e){return!0===e||!1===e||n(e)&&r.call(e)==i}},39583,(e,t,a)=>{var i=1/0,r=17976931348623157e292,n=0/0,s="[object Symbol]",l=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,d=/^0o[0-7]+$/i,u=parseInt,h=Object.prototype.toString;function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){return!!e&&"object"==typeof e}function m(e){return"symbol"==typeof e||p(e)&&h.call(e)==s}function g(e){return e?(e=_(e))===i||e===-i?(e<0?-1:1)*r:e==e?e:0:0===e?e:0}function b(e){var t=g(e),a=t%1;return t==t?a?t-a:t:0}function _(e){if("number"==typeof e)return e;if(m(e))return n;if(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var a=c.test(e);return a||d.test(e)?u(e.slice(2),a?2:8):o.test(e)?n:+e}t.exports=function(e){return"number"==typeof e&&e==b(e)}},39844,(e,t,a)=>{var i="[object Number]",r=Object.prototype.toString;function n(e){return!!e&&"object"==typeof e}t.exports=function(e){return"number"==typeof e||n(e)&&r.call(e)==i}},32948,(e,t,a)=>{var i="[object Object]";function r(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function n(e,t){return function(a){return e(t(a))}}var s=Object.prototype,l=Function.prototype.toString,o=s.hasOwnProperty,c=l.call(Object),d=s.toString,u=n(Object.getPrototypeOf,Object);function h(e){return!!e&&"object"==typeof e}t.exports=function(e){if(!h(e)||d.call(e)!=i||r(e))return!1;var t=u(e);if(null===t)return!0;var a=o.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&l.call(a)==c}},73165,(e,t,a)=>{var i="[object String]",r=Object.prototype.toString,n=Array.isArray;function s(e){return!!e&&"object"==typeof e}t.exports=function(e){return"string"==typeof e||!n(e)&&s(e)&&r.call(e)==i}},43962,(e,t,a)=>{var i="Expected a function",r=1/0,n=17976931348623157e292,s=0/0,l="[object Symbol]",o=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,u=/^0o[0-7]+$/i,h=parseInt,f=Object.prototype.toString;function p(e,t){var a;if("function"!=typeof t)throw TypeError(i);return e=y(e),function(){return--e>0&&(a=t.apply(this,arguments)),e<=1&&(t=void 0),a}}function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return!!e&&"object"==typeof e}function b(e){return"symbol"==typeof e||g(e)&&f.call(e)==l}function _(e){return e?(e=x(e))===r||e===-r?(e<0?-1:1)*n:e==e?e:0:0===e?e:0}function y(e){var t=_(e),a=t%1;return t==t?a?t-a:t:0}function x(e){if("number"==typeof e)return e;if(b(e))return s;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var a=d.test(e);return a||u.test(e)?h(e.slice(2),a?2:8):c.test(e)?s:+e}t.exports=function(e){return p(2,e)}},58163,(e,t,a)=>{var i=e.i(21168);let r=e.r(51851),n=e.r(83498),s=e.r(94586),l=e.r(22837),o=e.r(6223),c=e.r(93076),d=e.r(39583),u=e.r(39844),h=e.r(32948),f=e.r(73165),p=e.r(43962),{KeyObject:m,createSecretKey:g,createPrivateKey:b}=e.r(18749),_=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];n&&_.splice(3,0,"PS256","PS384","PS512");
6let y={expiresIn:{isValid:function(e){return d(e)||f(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return d(e)||f(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return f(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:o.bind(null,_),message:'"algorithm" must be a valid string enum value'},header:{isValid:h,message:'"header" must be an object'},encoding:{isValid:f,message:'"encoding" must be a string'},issuer:{isValid:f,message:'"issuer" must be a string'},subject:{isValid:f,message:'"subject" must be a string'},jwtid:{isValid:f,message:'"jwtid" must be a string'},noTimestamp:{isValid:c,message:'"noTimestamp" must be a boolean'},keyid:{isValid:f,message:'"keyid" must be a string'},mutatePayload:{isValid:c,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:c,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:c,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},x={iat:{isValid:u,message:'"iat" should be a number of seconds'},exp:{isValid:u,message:'"exp" should be a number of seconds'},nbf:{isValid:u,message:'"nbf" should be a number of seconds'}};function v(e,t,a,i){if(!h(a))throw Error('Expected "'+i+'" to be a plain object.');Object.keys(a).forEach(function(r){let n=e[r];if(!n){if(!t)throw Error('"'+r+'" is not allowed in "'+i+'"');return}if(!n.isValid(a[r]))throw Error(n.message)})}function A(e){return v(y,!1,e,"options")}function w(e){return v(x,!0,e,"payload")}let E={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},S=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];t.exports=function(e,t,a,n){"function"==typeof a?(n=a,a={}):a=a||{};let o="object"==typeof e&&!i.Buffer.isBuffer(e),c=Object.assign({alg:a.algorithm||"HS256",typ:o?"JWT":void 0,kid:a.keyid},a.header);function d(e){if(n)return n(e);throw e}if(!t&&"none"!==a.algorithm)return d(Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof m))try{t=b(t)}catch(e){try{t=g("string"==typeof t?i.Buffer.from(t):t)}catch(e){return d(Error("secretOrPrivateKey is not valid key material"))}}if(c.alg.startsWith("HS")&&"secret"!==t.type)return d(Error(`secretOrPrivateKey must be a symmetric key when using ${c.alg}`));if(/^(?:RS|PS|ES)/.test(c.alg)){if("private"!==t.type)return d(Error(`secretOrPrivateKey must be an asymmetric key when using ${c.alg}`));if(!a.allowInsecureKeySizes&&!c.alg.startsWith("ES")&&void 0!==t.asymmetricKeyDetails&&t.asymmetricKeyDetails.modulusLength<2048)return d(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`))}if(void 0===e)return d(Error("payload is required"));if(o){try{w(e)}catch(e){return d(e)}a.mutatePayload||(e=Object.assign({},e))}else{let t=S.filter(function(e){return void 0!==a[e]});if(t.length>0)return d(Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==a.expiresIn)return d(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==a.notBefore)return d(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{A(a)}catch(e){return d(e)}if(!a.allowInvalidAsymmetricKeyTypes)try{s(c.alg,t)}catch(e){return d(e)}let u=e.iat||Math.floor(Date.now()/1e3);if(a.noTimestamp?delete e.iat:o&&(e.iat=u),void 0!==a.notBefore){try{e.nbf=r(a.notBefore,u)}catch(e){return d(e)}if(void 0===e.nbf)return d(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(void 0!==a.expiresIn&&"object"==typeof e){try{e.exp=r(a.expiresIn,u)}catch(e){return d(e)}if(void 0===e.exp)return d(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}
6Object.keys(E).forEach(function(t){let i=E[t];if(void 0!==a[t]){if(void 0!==e[i])return d(Error('Bad "options.'+t+'" option. The payload already has an "'+i+'" property.'));e[i]=a[t]}});let h=a.encoding||"utf8";if("function"==typeof n)n=n&&p(n),l.createSign({header:c,privateKey:t,payload:e,encoding:h}).once("error",n).once("done",function(e){if(!a.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&e.length<256)return n(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`));n(null,e)});else{let i=l.sign({header:c,payload:e,secret:t,encoding:h});if(!a.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&i.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`);return i}}},37916,(e,t,a)=>{t.exports={decode:e.r(89815),verify:e.r(2199),sign:e.r(58163),JsonWebTokenError:e.r(82517),NotBeforeError:e.r(3360),TokenExpiredError:e.r(13194)}},63137,e=>{"use strict";var t=e.i(15315);let a=async e=>await (0,t.getApi)("/jsonapi/solar/configuration-display",!1,e);e.s(["default",0,a])},49720,17020,e=>{"use strict";var t=e.i(41764),a=e.i(15472),i=e.i(82725),r=e.i(91788),n=e.i(22276),s=e.i(20549),l=e.i(31808),o=e.i(42823),c=e.i(58372),d=e.i(37916),u=e.i(61601),h=e.i(82054),f=e.i(63137);let p=()=>{let[e,p]=(0,r.useState)(!1),[m,g]=(0,r.useState)(!1),[b,_]=(0,r.useState)(!1),[y,x]=(0,r.useState)(!1),v=(0,n.useSelector)(e=>e?.user),A=(0,n.useSelector)(e=>e?.common),{applicationId:w,session:E,csrf:S}=(0,n.useSelector)(e=>e.appSession);(0,r.useContext)(h.default);let C=(0,n.useDispatch)(),T=(0,r.useCallback)(e=>C((0,s.resetUser)(e)),[C]),N=(0,r.useCallback)((e,t)=>C((0,l.setUserStateGlobally)(e,t)),[C]),k=(0,r.useCallback)(e=>C((0,s.addUser)(e)),[C]),I=(0,r.useCallback)(e=>C((0,s.setUserProfile)(e)),[C]),j=(0,r.useCallback)(()=>C((0,c.clearSession)()),[C]),P=(0,r.useCallback)(e=>C((0,o.setEshopFlag)(!!e)),[C]),L=(0,r.useCallback)(e=>C((0,o.setEshopToken)(e)),[C]),O=(0,r.useCallback)(e=>C((0,o.setCobUser)(e)),[C]),D=(0,r.useCallback)(e=>C((0,o.setMarket)(e)),[C]),M=(0,r.useMemo)(()=>!!(v?.isLoggedIn||A?.isLoggedIn||E&&S),[v?.isLoggedIn,A?.isLoggedIn,E,S]);(0,r.useEffect)(()=>{if(!(v?.isLoggedIn&&A?.isLoggedIn)){if(v?.isLoggedIn===!1&&A?.isLoggedIn===!0)return void _(!0);if(E&&S&&v?.isLoggedIn===!1)return void x(!0);v?.isLoggedIn!==!1||A?.isLoggedIn!==!1||E||S||_(!1)}},[v?.isLoggedIn,A?.isLoggedIn,E,S]),(0,r.useEffect)(()=>{A?.isLoggedIn===!0&&v?.isLoggedIn===!1&&E&&S&&!b&&(_(!0),R(!0))},[A?.isLoggedIn,v?.isLoggedIn,E,S]);let R=(0,r.useCallback)(async e=>{try{if(e&&A.userType){p(!0);let e=await F(A.userType);if(A.userType===t.LOGIN_TYPES.SOLAR){let{profile:t,user:a,isExpire:r}=e;if(r)B(),T({}),N(!1,""),g(!0);else{k(a),I(t);try{let e=i.default.get(u.COOKIE_KEYS.HCP_GQL_TOKEN),t=i.default.get(u.COOKIE_KEYS.GQL_TOKEN);if(e||t){let a=d.default.decode(t),i=d.default.decode(e);t&&L(t),t&&i?.isAffiliated&&a?.lastName&&O(a?.lastName),(i?.eshop_enabled||a?.eshop_enabled)&&P(e||t),(i?.market||a?.market)&&D(i?.market||a?.market)}}catch(e){console.error("error decoding eshop token",e)}}}else if(A.userType===t.LOGIN_TYPES.DOC_CHECK){let{isExpire:t,LoginData:a,Profile:i}=e;t?(localStorage.removeItem("Key"),B(),T({}),N(!1,"")):(k(a),I(i))}p(!1)}}catch(e){B(),p(!1),T({}),N(!1,"")}},[_,A]),F=(0,r.useCallback)(async e=>{try{if(A.cmsUrl){let i,r=A?.feUrl?.includes("/")?A?.feUrl?.split("/")?.[1]:"",n=r?`/api/renew-token/?ccll=${r}`:"/api/renew-token/",s=await fetch(n),{token:l}=await s.json(),o="",c=await (0,f.default)(),d=c?.data?.nfh_settings?.enabled===1,u="";if(d&&(u="&isKalturaEnabled=true"),e===t.LOGIN_TYPES.DOC_CHECK){let t=JSON.parse(localStorage.getItem("Key")??"");o=`/api/user-validation/?type=${e}&key=${t}&appid=${w}${u}`,i={headers:{token:l,domain:A.cmsUrl}}}else o=`/api/user-validation/?type=${t.LOGIN_TYPES.SOLAR}&appid=${w}${u}`,i={headers:{token:l,domain:A.cmsUrl,domainPath:(0,a.getApplicationPathFromURL)()}};let h=await fetch(o,i);return await h.json()}}catch(e){throw Error("UserSessionExpireException")}},[A]),B=async()=>{try{let e=`/api/data-provider/?id=user&appid=${w}`,t=await fetch(e,{headers:{domainPath:(0,a.getApplicationPathFromURL)()}});!(await t.json()).flush||E||S||(T({}),N(!1,""),j())}catch(e){}};return(0,r.useEffect)(()=>{y&&(N(!0,t.LOGIN_TYPES.SOLAR),R(!0))},[y]),(0,r.useEffect)(()=>{b&&R(!0)},[b]),{profileLoading:e,setProfileLoading:p,isActiveSession:M,renewUserSession:b,renewSandozIdSession:y,manageUserSession:R,clearUserSessionData:B,profileFailure:m}};e.s(["default",0,p],49720),e.i(50461);var m=e.i(95414);let g=m.gql`
7  mutation Logout {
8    logout {
9      success
10      statusCode
11      message
12    }
13  }
14`;var b=e.i(54456),_=e.i(21984),y=u,x=i;let v="",A="",w=async({session:e,csrf:t})=>{let a=Date.now();try{let i=x.default.get(y.COOKIE_KEYS.GQL_TOKEN),r={},n={"x-api-key":v,"sandoz-token":i,"sandoz-s":e,"sandoz-t":t},s=await (0,b.default)(A,g,r,n),l=Date.now()-a,o=s?.logout;s.logout.success?(x.default.remove(y.COOKIE_KEYS.GQL_TOKEN),x.default.remove(y.COOKIE_KEYS.HCP_GQL_TOKEN),(0,_.logFrontendEvent)("Logout GQL Success","info",{source:"Logout",duration:`${l}ms`,session:e,csrf:t,statusCode:o?.statusCode??"",message:o?.message??"Logout successful",timestamp:new Date().toISOString()})):((0,_.logFrontendEvent)("Logout GQL Failed","error",{source:"Logout",duration:`${l}ms`,session:e,csrf:t,statusCode:o?.statusCode??"",message:o?.message??"Logout response unsuccessful",timestamp:new Date().toISOString()}),console.error("Failed to logout eshop."))}catch(n){let i=Date.now()-a;(0,_.logFrontendEvent)("Logout GQL Error","error",{source:"Logout",duration:`${i}ms`,session:e,csrf:t,errorMessage:n,timestamp:new Date().toISOString()});let r=JSON.parse(JSON.stringify(n));r?.response?.errors[0]?.extensions?.response?.status===403||r?.response?.errors[0]?.extensions?.response?.status,console.error("eshop log out error",n)}};e.s(["default",0,w],17020)},67782,e=>{"use strict";e.s(["default",()=>R],67782);var t=e.i(91398),a=e.i(61576),i=e.i(18090),r=e.i(87882);e.i(48756);var n=e.i(17626),s=t,l=a,o=e.i(91788),c=e.i(3828),d=e.i(22276),u=e.i(15315),h=e.i(20549),f=e.i(72094),p=e.i(75425),m=e.i(82108),g=e.i(10828),b=e.i(62869),_=e.i(67552),y=e.i(82054),x=e.i(31808),v=e.i(63712),A=e.i(49720),w=e.i(41764),E=e.i(17020),S=e.i(43927),C=e.i(1803),T=e.i(58372),N=e.i(61601),k=e.i(82725);e.i(35958);var I=e.i(76988),j=e.i(38233);let P=e=>{let t,a,i,r,n,P,R,F,B,U,H,$=(0,l.c)(43),{logoutText:G,logoutMsg:W,tabIndex:Y}=e,[z,V]=(0,o.useState)(""),{applicationConfiguration:K}=(0,o.useContext)(y.default),{getCurrentAppId:q}=(0,v.default)(K),Q=(0,S.default)();if($[0]!==Q){let{isDataReady:e,clientId:a,...i}=Q;t=i,$[0]=Q,$[1]=t}else t=$[1];let Z=(0,C.usePreviousRoute)(),X=(0,d.useSelector)(L,d.shallowEqual),J=(0,d.useSelector)(O),ee=(0,d.useSelector)(D),{session:et,csrf:ea}=(0,d.useSelector)(M),ei=(0,d.useDispatch)(),{clearUserSessionData:er}=(0,A.default)(),en=(0,c.useRouter)();$[2]!==ei?(a=e=>ei((0,x.setRefApplicationID)(e)),$[2]=ei,$[3]=a):a=$[3];let es=a;$[4]!==ei?(i=e=>ei((0,x.updateReloadContent)(e)),$[4]=ei,$[5]=i):i=$[5];let el=i;$[6]!==ei?(r=()=>ei((0,T.clearSession)()),$[6]=ei,$[7]=r):r=$[7];let eo=r;$[8]!==ei?(n=e=>ei((0,h.resetUser)(e)),$[8]=ei,$[9]=n):n=$[9];let ec=n;$[10]!==ei?(P=(e,t)=>
14ei((0,x.setUserStateGlobally)(e,t)),$[10]=ei,$[11]=P):P=$[11];let ed=P;$[12]!==t||$[13]!==J.cmsUrl||$[14]!==J.feUrl||$[15]!==K||$[16]!==eo||$[17]!==er||$[18]!==ea||$[19]!==ec||$[20]!==ee||$[21]!==q||$[22]!==W?.toastMessages?.logoutMessage||$[23]!==Z||$[24]!==ed||$[25]!==en||$[26]!==et||$[27]!==es||$[28]!==el||$[29]!==X?(R=async()=>{if(localStorage.removeItem("Key"),(0,_.isDocCheckUser)(X))eo(),ec({}),er(),ed(!1,"");else{let e=K?.isSandozIDEnabled?f.config.onPrem.LOGOUT_API_URL_SANDOZ_ID:f.config.onPrem.LOGOUT_API_URL,t=K?.isSandozIDEnabled?{app_id:q()}:{};try{ee&&(0,E.default)({session:et,csrf:ea})}catch(e){console.error("E-shop logout failed, continuing with main logout",e)}let a=await (0,u.middlewarePostAPI)(e,t);if(eo(),ec({}),er(),ed(!1,""),k.default.remove(N.COOKIE_KEYS.GQL_TOKEN),k.default.remove(N.COOKIE_KEYS.HCP_GQL_TOKEN),K?.isSandozIDEnabled&&a){let e=new URL(window.location.href);K?.isGlobalSite&&(es(""),sessionStorage.setItem("redirection",JSON.stringify(0)),e=J?.feUrl?new URL(`${window.location.protocol}//${J.feUrl}`):e),e.searchParams.delete("t"),e.searchParams.delete("s"),e.searchParams.delete("status_code"),e.searchParams.delete("gql_token"),e.searchParams.delete("error_message");let{siteConfig:t}=K,a=!0;t&&"azure_logout_return_url_flag"in t&&(a=t?.azure_logout_return_url_flag!==p.default.ZERO);let i=K?.sandozLogoutUrl||"",r="";if(a)r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e.toString())}`;else if(i?.includes("post_logout_redirect_uri"))r=i;else{let e=window.location.origin;r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e)}`}r&&setTimeout(()=>{window.location.href=r},4e3)}}el(!1);let e=X?.user?.response?.session_data?.user_data?.current_user?.name,a={user_id:(0,b.encodeString)(e)},i=Z&&`${window.location.origin}${Z}`,r=window.location.href,n={login_system:w.LOGIN_TYPES.SOLAR,eventType:g.EVENTS.LOGIN,...t,interactionName:g.EVENTS.LOGIN,sessionStartDate:sessionStorage.getItem("loginDate"),sessionEndDate:new Date().toISOString(),user_id:(0,b.encodeString)(e),page_location:r,...i&&{page_referrer:i}},{PersonEmail:s}=(0,_.getProfileDetails)(X);(0,_.endNFHSession)(J.cmsUrl,s),ed(!1,""),(0,m.dataLayerPush)(g.EVENTS.LOGOUT,a),(0,m.dataLayerPush)(g.EVENTS.LOGIN,n),sessionStorage.removeItem("loginDate"),V(`<p>${W?.toastMessages?.logoutMessage}</p>`),setTimeout(()=>{en.push("/",void 0,{shallow:!0}).then(()=>en.reload())},1e4),setTimeout(()=>{V("")},5e3);let l=JSON.parse(sessionStorage.getItem("feDomainData")),o=`${l}_disclaimerModal`;(0,_.removeSessionItem)(o)},$[12]=t,$[13]=J.cmsUrl,$[14]=J.feUrl,$[15]=K,$[16]=eo,$[17]=er,$[18]=ea,$[19]=ec,$[20]=ee,$[21]=q,$[22]=W?.toastMessages?.logoutMessage,$[23]=Z,$[24]=ed,$[25]=en,$[26]=et,$[27]=es,$[28]=el,$[29]=X,$[30]=R):R=$[30];let eu=R;$[31]!==z?(F=z?(0,s.jsx)(I.Notification,{notificationType:"success",displayTxt:z,onClose:()=>{V("")}}):(0,s.jsx)(s.Fragment,{}),$[31]=z,$[32]=F):F=$[32];let eh=G?.userMenuDetails?.user_menu_logged_out,ef=G?.userMenuDetails?.user_menu_logged_out;return $[33]!==ef?(B=(0,s.jsx)("span",{className:"user-menu-logoff",children:ef}),$[33]=ef,$[34]=B):B=$[34],$[35]!==eu||$[36]!==B||$[37]!==eh||$[38]!==Y?(U=(0,s.jsx)(j.Button,{className:"mb-0 logout-btn",tabindex:Y,isSecondary:!0,onClick:eu,"aria-label":eh,children:B}),$[35]=eu,$[36]=B,$[37]=eh,$[38]=Y,$[39]=U):U=$[39],$[40]!==U||$[41]!==F?(H=(0,s.jsxs)(s.Fragment,{children:[F,U]}),$[40]=U,$[41]=F,$[42]=H):H=$[42],H};function L(e){return e.user}function O(e){return e?.common}function D(e){return e?.eshop?.EcommFlag}function M(e){return e.appSession}let R=e=>{let s,l,o,c,d,u,h,f,p,m=(0,a.c)(28),{closeBtn:g,actionBtn:b,className:_,onClose:y,onAction:x,isHCP:v,isLogOutBtn:A,logoutMsg:w,logoutText:E}=e,S=void 0===_?"":_,C=void 0===y?F:y,T=void 0===x?B:x,N=void 0!==A&&A;m[0]!==g?.href||m[1]!==C?(s=e=>{g?.href?.includes("javascript:void(0);")&&e?.preventDefault(),C()},m[0]=g?.href,m[1]=C,m[2]=s):s=m[2];let k=s;m[3]!==T?(l=()=>{T()},m[3]=T,m[4]=l):l=m[4];let I=l;m[5]!==S?(o=()=>["modal-footer modal-buttons-container",S].filter(Boolean).join(" "),m[5]=S,m[6]=o):o=m[6];let j=o,L=g?.isExternal,O=j(),D=`${v?"modal-footer-HCP-buttons-group":"modal-buttons-group"}`;return m[7]!==N||m[8]!==w||m[9]!==E?(c=N&&w&&E&&(0,t.jsx)(P,{tabIndex:!0,logoutMsg:w,logoutText:E}),m[7]=N,m[8]=w,m[9]=E,m[10]=c):c=m[10],m[11]!==g||m[12]!==k||m[13]!==L?(d=g&&g?.children&&(0,t.jsx)(n.AnchorButton,{href:g?.href,isExternal:L,tabindex:g?.tabindex,isSecondary:!0,onClick:e=>k(e),target:g?.target,children:g?.children}),m[11]=g,m[12]=k,m[13]=L,m[14]=d):d=m[14],m[15]!==b||m[16]!==I?(u=b&&b?.children&&(0,t.jsx)(r.default,{className:"modal-buttons-action-btn",...b,onClick:()=>I(),children:b.children}),m[15]=b,m[16]=I,m[17]=u):u=m[17],m[18]!==d||m[19]!==u||m[20]!==c?(h=(0,t.jsxs)(t.Fragment,{children:[c,d,u]}),m[18]=d,m[19]=u,m[20]=c,m[21]=h):h=m[21],m[22]!==h||m[23]!==D?(f=(0,t.jsx)(i.default,{className:D,children:h}),m[22]=h,m[23]=D,m[24]=f):f=m[24],m[25]!==f||m[26]!==O?(p=(0,t.jsx)("div",{className:O,role:"group",children:f}
14),m[25]=f,m[26]=O,m[27]=p):p=m[27],p};function F(){return null}function B(){return null}},14006,e=>{"use strict";e.s(["ModalFooter",()=>t.default]);var t=e.i(67782)},50859,34642,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(79988);let r=e=>{let r,s,l,o,c,d=(0,a.c)(16),{titleText:u,isLoginTimeout:h,closeIcon:f,onClose:p,className:m,isHCP:g}=e,b=void 0===p?n:p,_=void 0===m?"":m,y=void 0!==g&&g;d[0]!==b?(r=()=>{b()},d[0]=b,d[1]=r):r=d[1];let x=r;d[2]!==_?(s=()=>["modal-header",_].filter(Boolean).join(" "),d[2]=_,d[3]=s):s=d[3];let v=s();return d[4]!==y||d[5]!==h||d[6]!==u?(l=u&&(0,t.jsxs)("h4",{className:`modal-title ${y?"modal-title-center":""}`,children:[h&&(0,t.jsx)(i.default,{iconName:"InfoIcon2"}),u]}),d[4]=y,d[5]=h,d[6]=u,d[7]=l):l=d[7],d[8]!==x||d[9]!==y||d[10]!==h?(o=!h&&!y&&(0,t.jsx)("span",{className:"close",tabIndex:0,onClick:x,onKeyDown:e=>{"Enter"==e.key&&x()},"aria-label":"Close",children:(0,t.jsx)(i.default,{iconName:"CloseIcon2"})}),d[8]=x,d[9]=y,d[10]=h,d[11]=o):o=d[11],d[12]!==v||d[13]!==l||d[14]!==o?(c=(0,t.jsxs)("div",{className:v,children:[l,o]}),d[12]=v,d[13]=l,d[14]=o,d[15]=c):c=d[15],c};function n(){return null}e.s(["default",0,r],34642),e.s(["ModalHeader",0,r],50859)},66820,93466,e=>{"use strict";e.s(["default",()=>h],66820);var t=e.i(91398),a=e.i(61576);e.i(35958);var i=e.i(60384);e.i(48756);var r=e.i(26012),n=e.i(14006),s=e.i(50859),l=t,o=a,c=e.i(91788),d=e.i(75425);let u=e=>{let t,a,i,r,n,s,u=(0,o.c)(18),{headContent:h,bottomContent:f,countdownTime:p,titleContent:m,pageTitle:g}=e,b=p||1,_=(b>=0?b:1)*60,[y,x]=(0,c.useState)(_-1);u[0]!==g||u[1]!==y||u[2]!==m?(t=()=>{if(y<=0)return;let e=setInterval(()=>{(x(y-1),y%2==0)?document.title=`${m} ${Math.floor(y/60)}:${y%60<10?"0":""}${y%60}`:document.title=g||""},d.default.THOUSAND);return()=>clearInterval(e)},u[0]=g,u[1]=y,u[2]=m,u[3]=t):t=u[3],u[4]!==y?(a=[y],u[4]=y,u[5]=a):a=u[5],(0,c.useEffect)(t,a),u[6]!==h?(i=(0,l.jsx)("div",{className:"login-timeout-content",children:h}),u[6]=h,u[7]=i):i=u[7];let v=Math.floor(y/60),A=y%60<10?"0":"",w=y%60;return u[8]!==v||u[9]!==A||u[10]!==w?(r=(0,l.jsxs)("div",{className:"login-timeout-timer",children:[v,":",A,w]}),u[8]=v,u[9]=A,u[10]=w,u[11]=r):r=u[11],u[12]!==f?(n=(0,l.jsx)("div",{className:"login-timeout-content",children:f}),u[12]=f,u[13]=n):n=u[13],u[14]!==i||u[15]!==r||u[16]!==n?(s=(0,l.jsxs)("div",{className:"login-timeout",children:[i,r,n]}),u[14]=i,u[15]=r,u[16]=n,u[17]=s):s=u[17],s},h=e=>{let l,o,c,d,h,m,g,b,_,y=(0,a.c)(27),{handleContinueSession:x,handleLogout:v,loginPopupData:A,pageTitle:w}=e,E=void 0===x?f:x,S=void 0===v?p:v;y[0]!==S?(l=()=>{S()},y[0]=S,y[1]=l):l=y[1];let C=l;y[2]!==A.login_timeout_popup_stay_login_cta_label?(o={tabindex:1,children:A.login_timeout_popup_stay_login_cta_label},y[2]=A.login_timeout_popup_stay_login_cta_label,y[3]=o):o=y[3],y[4]!==A.login_timeout_popup_logout_cta_label?(c={tabindex:2,children:A.login_timeout_popup_logout_cta_label,href:"/",isSecondary:"isSecondary"},y[4]=A.login_timeout_popup_logout_cta_label,y[5]=c):c=y[5],y[6]!==o||y[7]!==c?(d={className:"modal-buttons-container",actionBtn:o,closeBtn:c},y[6]=o,y[7]=c,y[8]=d):d=y[8];let T=d;y[9]!==E?(h=()=>{E()},y[9]=E,y[10]=h):h=y[10];let N=h;y[11]!==A.login_timeout_popup_title?(m=(0,t.jsx)(s.ModalHeader,{className:"login-timeout-header",isLoginTimeout:!0,titleText:A.login_timeout_popup_title}),y[11]=A.login_timeout_popup_title,y[12]=m):m=y[12];let k=A.login_timeout_popup_countdown_text_above,I=parseInt(A.login_timeout_popup_countdown_time);if(y[13]!==A.login_timeout_browser_tab_title||y[14]!==A.login_timeout_popup_countdown_text_above||y[15]!==A.login_timeout_popup_countdown_text_below||y[16]!==w||y[17]!==I?(g=(0,t.jsx)(r.ModalBody,{className:"login-timeout-body",content:(0,t.jsx)(u,{headContent:k,countdownTime:I,bottomContent:A.login_timeout_popup_countdown_text_below,titleContent:A.login_timeout_browser_tab_title,pageTitle:w})}),y[13]=A.login_timeout_browser_tab_title,y[14]=A.login_timeout_popup_countdown_text_above,y[15]=A.login_timeout_popup_countdown_text_below,y[16]=w,y[17]=I,y[18]=g):g=y[18],y[19]!==T||y[20]!==C||y[21]!==N?(b=(0,t.jsx)(n.ModalFooter,{...T,onClose:C,onAction:N,className:"login-timeout-footer"}),y[19]=T,y[20]=C,y[21]=N,y[22]=b):b=y[22],y[23]!==g||y[24]!==b||y[25]!==m){let e=(0,t.jsxs)("div",{children:[m,g,b]}
14);_=(0,t.jsx)(i.ModalPortal,{modalContent:e,wrapperId:"react-portal-wrapper",className:"loginTimerContainer"}),y[23]=g,y[24]=b,y[25]=m,y[26]=_}else _=y[26];return _};function f(){return null}function p(){return null}let m=["keypress","mousemove","mousedown","scroll","touchmove","pointermove"],g=e=>{m.forEach(t=>{window.addEventListener(t,e,!1)})},b=e=>{e&&m.forEach(t=>{window.removeEventListener(t,e,!1)})};e.s(["addEventListeners",0,g,"removeEventListeners",0,b],93466)},73410,e=>{"use strict";e.i(50461);var t=e.i(95414);let a=t.gql`
15  mutation RefreshToken {
16    refreshToken {
17      refreshToken
18      success
19      statusCode
20      message
21    }
22  }
23`;var i=e.i(54456),r=e.i(21984),n=e.i(61601),s=e.i(82725);let l="",o="",c=async({session:e,csrf:t,gqlTokenArg:c})=>{let d=Date.now();try{let u=c||s.default.get(n.COOKIE_KEYS.GQL_TOKEN),h={},f={"x-api-key":l,"sandoz-token":u,"sandoz-s":e,"sandoz-t":t},p=await (0,i.default)(o,a,h,f),m=Date.now()-d;if(p?.refreshToken?.success)return c?s.default.set(n.COOKIE_KEYS.HCP_GQL_TOKEN,p?.refreshToken?.refreshToken):s.default.set(n.COOKIE_KEYS.GQL_TOKEN,p?.refreshToken?.refreshToken),(0,r.logFrontendEvent)("Refresh Token GQL Success","info",{source:"RefreshToken",duration:`${m}ms`,statusCode:p?.refreshToken?.statusCode,message:p?.refreshToken?.message,timestamp:new Date().toISOString()}),{success:!0,error:null};return(0,r.logFrontendEvent)("Refresh Token GQL Failure","error",{source:"RefreshToken",duration:`${m}ms`,statusCode:p?.refreshToken?.statusCode,message:p?.refreshToken?.message,timestamp:new Date().toISOString()}),console.error("Failed to refresh eshop token."),{success:!1,error:p?.refreshToken?.message}}catch(a){let e=Date.now()-d;(0,r.logFrontendEvent)("Refresh Token GQL Error","error",{source:"RefreshToken",duration:`${e}ms`,errorMessage:a,timestamp:new Date().toISOString()});let t=JSON.parse(JSON.stringify(a));return{success:!1,isUnauthorized:t?.response?.errors[0]?.extensions?.response?.status===403||t?.response?.errors[0]?.extensions?.response?.status===401}}};e.s(["default",0,c],73410)},19993,e=>{"use strict";e.s(["default",()=>I]);var t=e.i(91398),a=e.i(91788),i=e.i(66820),r=e.i(93466),n=e.i(82054),s=e.i(22276),l=e.i(99523),o=e.i(15315),c=e.i(72094),d=e.i(20549),u=e.i(62869),h=e.i(10828),f=e.i(82108),p=e.i(60626),m=e.i(67552),g=e.i(75425),b=e.i(31808),_=e.i(3828),y=e.i(63712),x=e.i(49720),v=e.i(73410),A=e.i(17020),w=e.i(40352),E=e.i(43927),S=e.i(1803),C=e.i(41764),T=e.i(58372),N=e.i(61601),k=e.i(82725);let I=()=>{let{applicationHeaderData:e,applicationConfiguration:I}=(0,a.useContext)(n.default),j=I?.loginTimeoutData,P=(0,s.useSelector)(e=>e?.user),{session:L,csrf:O}=(0,s.useSelector)(e=>e.appSession),D=(0,s.useSelector)(e=>e?.eshop?.EcommFlag),M=(0,s.useDispatch)(),{isDataReady:R,clientId:F,...B}=(0,E.default)(),U=(0,S.usePreviousRoute)(),[H,$]=(0,a.useState)(!1),[G,W]=(0,a.useState)(!1),[Y,z]=(0,a.useState)(!1),[V,K]=(0,a.useState)(!1),[q,Q]=(0,a.useState)(!1),Z=(0,s.useSelector)(e=>e?.common),{getCurrentAppId:X}=(0,y.default)(I),{clearUserSessionData:J}=(0,x.default)(),ee=(0,a.useCallback)(e=>M((0,b.setRefApplicationID)(e)),[M]),et=(0,a.useCallback)(()=>M((0,T.clearSession)()),[M]),ea=(0,a.useCallback)(e=>M((0,b.updateReloadContent)(e)),[M]),ei=parseInt(j?.login_timeout_popup_countdown_time)*g.default.SIXTY_THOUSAND,er=parseInt(j?.idle_logout_time)*g.default.SIXTY_THOUSAND-ei,en=document?.title,es=(0,_.useRouter)(),el=async()=>{if(Q(!1),$(!1),D){let e=k.default.get(N.COOKIE_KEYS.HCP_GQL_TOKEN)??"",{success:t}=await (0,v.default)({session:L,csrf:O}),{success:a}=e?await (0,v.default)({session:L,csrf:O,gqlTokenArg:k.default.get(N.COOKIE_KEYS.HCP_GQL_TOKEN)}):{success:!0};t&&a||!D||(Q(!0),setTimeout(()=>eu(),3e3))}document.title=en},eo=()=>{$(!1),eu(),W(!0)};(0,a.useEffect)(()=>{P?.isLoggedIn||$(!1)},[P?.isLoggedIn]),(0,a.useEffect)(()=>{if(j&&P?.isLoggedIn&&j?.login_timeout_enable){let e=()=>setTimeout(()=>{let t=localStorage.getItem("lastInteractionTime"),a=l.default.duration((0,l.default)().diff((0,l.default)(t).seconds())).asSeconds(),r=er>=0?er:g.default.SIXTY_THOUSAND;P.isLoggedIn?a<r?e():H||$(!0):clearTimeout(i)},er||g.default.SIXTY_THOUSAND),t=()=>setTimeout(()=>{eo()},ei||g.default.SIXTY_THOUSAND),a=()=>{H||(clearTimeout(i),i=e(),localStorage.setItem("lastInteractionTime",(0,l.default)().toString()))},i=H?t():e();return(0,r.addEventListeners)(a),()=>{(0,r.removeEventListeners)(a),clearTimeout(i)}}},[H,P?.isLoggedIn,j?.login_timeout_enable]);let ec=(0,a.useCallback)(e=>M((0,d.resetUser)(e)),[M]),ed=(0,a.useCallback)((e,t)=>M((0,b.setUserStateGlobally)(e,t)),[M]),eu=async()=>
23{if(localStorage.removeItem("Key"),(0,m.isDocCheckUser)(P))et(),ec({}),J(),ed(!1,"");else{let e=I?.isSandozIDEnabled?c.config.onPrem.LOGOUT_API_URL_SANDOZ_ID:c.config.onPrem.LOGOUT_API_URL,t=I?.isSandozIDEnabled?{app_id:X()}:{};try{D&&(0,A.default)({session:L,csrf:O})}catch(e){console.error("E-shop logout failed, continuing with main logout",e)}let a=await (0,o.middlewarePostAPI)(e,t);if(et(),ec({}),J(),ed(!1,""),k.default.remove(N.COOKIE_KEYS.GQL_TOKEN),k.default.remove(N.COOKIE_KEYS.HCP_GQL_TOKEN),I?.isSandozIDEnabled&&a){let e=new URL(window.location.href);I?.isGlobalSite&&(ee(""),sessionStorage.setItem("redirection",JSON.stringify(0)),e=Z?.feUrl?new URL(`${window.location.protocol}//${Z.feUrl}`):e),e.searchParams.delete("t"),e.searchParams.delete("s"),e.searchParams.delete("status_code"),e.searchParams.delete("gql_token"),e.searchParams.delete("error_message");let{siteConfig:t}=I,a=!0;t&&"azure_logout_return_url_flag"in t&&(a=t?.azure_logout_return_url_flag!==g.default.ZERO);let i=I?.sandozLogoutUrl||"",r="";if(a)r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e.toString())}`;else if(i?.includes("post_logout_redirect_uri"))r=i;else{let e=window.location.origin;r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e)}`}r&&(window.location.href=r)}}let e=P?.user?.response?.session_data?.user_data?.current_user?.name;ea(!1);let t={user_id:(0,u.encodeString)(e)},a=U&&`${window.location.origin}${U}`,i=window.location.href,r={login_system:C.LOGIN_TYPES.SOLAR,eventType:h.EVENTS.LOGIN,...B,interactionName:h.EVENTS.LOGIN,sessionStartDate:sessionStorage.getItem("loginDate"),sessionEndDate:new Date().toISOString(),user_id:(0,u.encodeString)(e),page_location:i,...a&&{page_referrer:a}};ed(!1,""),(0,f.dataLayerPush)(h.EVENTS.LOGOUT,t),(0,f.dataLayerPush)(h.EVENTS.LOGIN,r),sessionStorage.removeItem("loginDate");let n=JSON.parse(sessionStorage.getItem("feDomainData")),s=`${n}_disclaimerModal`;(0,m.removeSessionItem)(s)},eh=e?.headerData?.loginFormData,ef={showPopup:G,showOverlay:G,children:"",spinnerIcon:(0,m.getAssetPrefixUrl)("/assets/icons/spinner.svg"),closeIcon:{url:(0,m.getAssetPrefixUrl)("/assets/icons/close.svg"),altText:"close icon"},className:"loginTimeoutLoginPopup",handlePopupShow:W};return(0,t.jsxs)("div",{children:[q&&(0,t.jsx)("div",{className:"eshop-notification",children:(0,t.jsx)(w.default,{notificationType:"error",displayTxt:I.siteConfig.timeout_logout_failure_msg,autoCloseTimer:3e3,onClose:()=>Q(!1)})}),H&&(0,t.jsx)(i.default,{showModal:H,onClose:()=>$(!1),handleContinueSession:el,loginPopupData:j,handleLogout:eo,pageTitle:en}),(0,t.jsx)(p.default,{showPopup:G,id:"login-popup",form:eh,handlePopupShow:e=>{W(e),e?es.reload():es.push(window.location.pathname,void 0,{shallow:!0}).then(()=>es.reload())},handleForgotPasswordShow:e=>z(e),popup:ef,loginConfirmation:()=>K(!0),logoutNotification:j?.login_timeout_popup_logged_out_notification})]})}},58097,74263,e=>{"use strict";var t=e.i(91398),a=e.i(91788);e.i(44314);var i=e.i(6858);let r=r=>{let{src:n}=r,s=(0,a.useRef)(null),[l,o]=(0,a.useState)(),[c,d]=(0,a.useState)(),[u,h]=(0,a.useState)(),[f,p]=(0,a.useState)(!1),[m,g]=(0,a.useState)(),[b,_]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let t;window.jQuery||window.$?_(!0):(async()=>{t=(await e.A(31915)).default,window.$=window.jQuery=t,_(!0)})()},[]),(0,a.useEffect)(()=>{if(!n||!b)return;s.current&&(s.current.innerHTML="");let e=i.load(n,{xmlMode:!1})("script");if(2===e.length)try{let t,a=e[0].attribs.src;o(a);let i=a.indexOf("embedIframeJs");if(-1!==i&&null!==i)try{t=JSON.parse(e[1]?.children?.[0]?.data?.split("(")?.[1]?.split(")")?.[0]??""),p(!0),h(t),d(t.targetId)}catch(e){console.error("can not parse player configuration")}else try{let a=e[1]?.children?.[0]?.data?.split("= ")?.[1]?.split(";")?.[0]??"";t=JSON.parse(a.replace(/,([ |\t|\n]+[\}|\]|\)])/g,"$1"));let i=e[1]?.children?.[0]?.data?.split('playlistId: "')?.[1]?.split('"')?.[0]??"";g(i),p(!1),h(t),d(t.targetId)}catch(e){console.error("can not parse player configuration")}}catch(e){console.error("can not parse player configuration")}},[n,b]),(0,a.useMemo)(()=>
23{if(s.current&&u){let e=document.createElement("div");e.id=c,f||(e.className="kaltura_video_container"),e.style.minHeight="300",s.current.appendChild(e);let t=document.createElement("script");t.src=l,t.onload=()=>{f?kWidget.embed(u):PathKalturaPlayer.setup(u).loadMedia({playlistId:m})},s.current.appendChild(t)}},[u,s,f,m,l,c]),(0,t.jsx)("div",{ref:s})},n=(0,a.memo)(r);e.s(["default",0,n],74263),e.s(["Video",0,n],58097)},75227,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(49266),n=e.i(66196),s=e.i(58097),l=e.i(41764);let o=e=>{let o,c,d,u,h,f,p=(0,a.c)(17),{position:m,size:g,src:b,title:_,closeIcon:y,onClose:x}=e;p[0]!==b?(o=b&&(0,t.jsx)(s.Video,{src:b}),p[0]=b,p[1]=o):o=p[1];let v=o;p[2]!==_?(c=_&&(0,t.jsx)("span",{className:"media-player-title",children:_}),p[2]=_,p[3]=c):c=p[3];let A=c;p[4]!==y||p[5]!==x?(d=y&&(0,t.jsx)("span",{className:"media-player-close",onClick:x,tabIndex:0,onKeyDown:e=>{"Enter"===e.key&&x()},children:(0,t.jsx)(r.Icon,{iconName:"CloseFloatingbanner"})}),p[4]=y,p[5]=x,p[6]=d):d=p[6];let w=d,E=`${l.COLUMN_POSITION[m]} media-player`;return p[7]!==w||p[8]!==A?(u=(0,t.jsxs)("div",{className:"media-player-header",children:[A,w]}),p[7]=w,p[8]=A,p[9]=u):u=p[9],p[10]!==g||p[11]!==u||p[12]!==v?(h=(0,t.jsxs)(i.Column,{mobile:12,tablet:g,desktop:g,children:[u,v]}),p[10]=g,p[11]=u,p[12]=v,p[13]=h):h=p[13],p[14]!==E||p[15]!==h?(f=(0,t.jsx)(n.Row,{className:E,children:h}),p[14]=E,p[15]=h,p[16]=f):f=p[16],f}},27170,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(70184);let n=e=>{let n,s,l,o,c=(0,a.c)(17),{imageData:d,gridType:u,downloadCTA:h,disableStyledImg:f,disableCaption:p}=e,m=void 0!==f&&f,g=void 0!==p&&p,b=`image-gallery ${u}`;if(c[0]!==g||c[1]!==m||c[2]!==d||c[3]!==e.isPimProduct){let a;c[5]!==g||c[6]!==m||c[7]!==e.isPimProduct?(a=(a,i)=>(0,t.jsx)("div",{className:"image-gallery-item",children:(0,t.jsx)(r.Img,{...a,image_style_uri:a?.src&&m?null:a.image_style_uri,styledimage:a?.src&&m?null:a.styledimage,alt:(e.isPimProduct?a?.alt_text:a?.alt)||"",caption:g?"":a?.caption,type:"plp_list",width:200,height:200,layout:m?void 0:"fill",isPimProduct:!0})},i),c[5]=g,c[6]=m,c[7]=e.isPimProduct,c[8]=a):a=c[8],n=d.map(a),c[0]=g,c[1]=m,c[2]=d,c[3]=e.isPimProduct,c[4]=n}else n=c[4];return c[9]!==b||c[10]!==n?(s=(0,t.jsx)("div",{className:b,children:n}),c[9]=b,c[10]=n,c[11]=s):s=c[11],c[12]!==h?(l=h&&(0,t.jsx)("div",{className:"image-gallery-cta",children:(0,t.jsx)(i.AnchorButton,{...h})}),c[12]=h,c[13]=l):l=c[13],c[14]!==s||c[15]!==l?(o=(0,t.jsxs)(t.Fragment,{children:[s,l]}),c[14]=s,c[15]=l,c[16]=o):o=c[16],o}},4100,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(5223);let r=e=>{let r,n,s=(0,a.c)(4),{content:l}=e;return s[0]!==l?(r=l&&(0,t.jsx)(i.RichText,{className:"scrollable-content-richtext",content:l}),s[0]=l,s[1]=r):r=s[1],s[2]!==r?(n=(0,t.jsx)("div",{className:"scrollable-content",children:r}),s[2]=r,s[3]=n):n=s[3],n}},53186,e=>{"use strict";e.s(["default",()=>c],53186);var t=e.i(91398),a=e.i(61576),i=t,r=a;e.i(48756);var n=e.i(70184);let s="37",l="166",o=e=>{let t,a=(0,r.c)(15),{label:o,value:c,barcode_image:d,isPimProduct:u}=e;if(!u){let e,t,r,u;return c?.trim()?(a[0]!==o?(e=o&&(0,i.jsx)("h5",{className:"barcode-title",children:o}),a[0]=o,a[1]=e):e=a[1],a[2]!==c?(t=c&&(0,i.jsx)("p",{className:"barcode-desc",children:c}),a[2]=c,a[3]=t):t=a[3],a[4]!==d?(r=d&&(0,i.jsx)(n.Img,{src:d.barcode_uri,width:l,height:s,alt:d.barcode_alt}),a[4]=d,a[5]=r):r=a[5],a[6]!==e||a[7]!==t||a[8]!==r?(u=(0,i.jsxs)("div",{className:"barcode",children:[e,t,r]}),a[6]=e,a[7]=t,a[8]=r,a[9]=u):u=a[9],u):null}if(!d){let e;return a[10]!==o||a[11]!==c?(e=c&&c?.trim()?(0,i.jsxs)("div",{className:"barcode",children:[o?(0,i.jsx)("h5",{className:"barcode-title",children:o}):(0,i.jsx)("h5",{className:"barcode-title",children:" "}),(0,i.jsx)("p",{className:"barcode-desc",children:c})]}):(0,i.jsx)(i.Fragment,{}),a[10]=o,a[11]=c,a[12]=e):e=a[12],e}return a[13]!==d?(t=d?.barcode_uri?(0,i.jsx)("div",{className:"barcode",children:(0,i.jsx)(n.Img,{src:d.barcode_uri,width:l,height:s,alt:d.barcode_alt})}):(0,i.jsx)(i.Fragment,{}),a[13]=d,a[14]=t):t=a[14],t},c=e=>{let i,r,n,s,l=(0,a.c)(10),{specifications:c,type:d,isPimProduct:u}=e;return c&&0!==c.length&&Array.isArray(c)?(l[0]!==d?(i=(0,t.jsx)("h3",{className:"barcode-label",children:d}),l[0]=d,l[1]=i):i=l[1],l[2]!==u||l[3]!==c?(r=c?.map((e,a)=>(0,t.jsx)(o,{...e,isPimProduct:u},a)),l[2]=u,l[3]=c,l[4]=r):r=l[4],l[5]!==r?(n=(0,t.jsx)("div",{className:"barcode-collection",children:r}),l[5]=r,l[6]=n):n=l[6],l[7]!==i||l[8]!==n?(s=(0,t.jsxs)("div",{className:"barcode-data-section",children:[i,n]}),l[7]=i,l[8]=n,l[9]=s):s=l[9],s):null}},2531,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"normalizeLocalePath",{enumerable:!0,get:function(){return i}});let i=(t,a)=>e.r(92090).normalizeLocalePath(t,a);("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
23dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},54471,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getDomainLocale",{enumerable:!0,get:function(){return n}});let i=e.r(70090),r="";function n(t,a,n,s){{let l=e.r(2531).normalizeLocalePath,o=e.r(62205).detectDomainLocale,c=a||l(t,n).detectedLocale,d=o(s,void 0,c);if(d){let e=`http${d.http?"":"s"}://`,a=c===d.defaultLocale?"":`/${c}`;return`${e}${d.domain}${(0,i.normalizePathTrailingSlash)(`${r}${a}${t}`)}`}return!1}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},63230,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useMergedRef",{enumerable:!0,get:function(){return r}});let i=e.r(91788);function r(e,t){let a=(0,i.useRef)(null),r=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let e=a.current;e&&(a.current=null,e());let t=r.current;t&&(r.current=null,t())}else e&&(a.current=n(e,i)),t&&(r.current=n(t,i))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},48735,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"errorOnce",{enumerable:!0,get:function(){return i}});let i=e=>{}},39149,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(a,{default:function(){return E},useLinkStatus:function(){return w}});let i=e.r(52456),r=e.r(91398),n=i._(e.r(91788)),s=e.r(60472),l=e.r(71112),o=e.r(28169),c=e.r(89129),d=e.r(14862),u=e.r(25479),h=e.r(71914),f=e.r(54471),p=e.r(44113),m=e.r(63230);e.r(48735);let g=new Set;function b(e,t,a,i){if(!("u"<typeof window)&&(0,l.isLocalURL)(t)){if(!i.bypassPrefetchedCheck){let r=t+"%"+a+"%"+(void 0!==i.locale?i.locale:"locale"in e?e.locale:void 0);if(g.has(r))return;g.add(r)}e.prefetch(t,a,i).catch(e=>{})}}function _(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function y(e,t,a,i,r,n,s,o,c){let{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&_(e)||e.currentTarget.hasAttribute("download"))){if(!(0,l.isLocalURL)(a)){r&&(e.preventDefault(),location.replace(a));return}e.preventDefault(),(()=>{if(c){let e=!1;if(c({preventDefault:()=>{e=!0}}),e)return}let e=s??!0;"beforePopState"in t?t[r?"replace":"push"](a,i,{shallow:n,locale:o,scroll:e}):t[r?"replace":"push"](i||a,{scroll:e})})()}}function x(e){return"string"==typeof e?e:(0,o.formatUrl)(e)}let v=n.default.forwardRef(function(e,t){let a,i,{href:l,as:o,children:g,prefetch:_=null,passHref:v,replace:A,shallow:w,scroll:E,locale:S,onClick:C,onNavigate:T,onMouseEnter:N,onTouchStart:k,legacyBehavior:I=!1,transitionTypes:j,...P}=e;a=g,I&&("string"==typeof a||"number"==typeof a)&&(a=(0,r.jsx)("a",{children:a}));let L=n.default.useContext(u.RouterContext),O=!1!==_,{href:D,as:M}=n.default.useMemo(()=>{if(!L){let e=x(l);return{href:e,as:o?x(o):e}}let[e,t]=(0,s.resolveHref)(L,l,!0);return{href:e,as:o?(0,s.resolveHref)(L,o):t||e}},[L,l,o]),R=n.default.useRef(D),F=n.default.useRef(M);I&&(i=n.default.Children.only(a));let B=I?i&&"object"==typeof i&&i.ref:t,[U,H,$]=(0,h.useIntersection)({rootMargin:"200px"}),G=n.default.useCallback(e=>{(F.current!==M||R.current!==D)&&($(),F.current=M,R.current=D),U(e)},[M,D,$,U]),W=(0,m.useMergedRef)(G,B);n.default.useEffect(()=>{!L||H&&O&&b(L,D,M,{locale:S})},[M,D,H,S,O,L?.locale,L]);let Y={ref:W,onClick(e){I||"function"!=typeof C||C(e),I&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),!L||e.defaultPrevented||y(e,L,D,M,A,w,E,S,T)},onMouseEnter(e){I||"function"!=typeof N||N(e),I&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),L&&b(L,D,M,{locale:S,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){I||"function"!=typeof k||k(e),I&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),L&&b(L,D,M,{locale:S,priority:!0,bypassPrefetchedCheck:!0})}};if((0,c.isAbsoluteUrl)(M))Y.href=M;
23else if(!I||v||"a"===i.type&&!("href"in i.props)){let e=void 0!==S?S:L?.locale;Y.href=L?.isLocaleDomain&&(0,f.getDomainLocale)(M,e,L?.locales,L?.domainLocales)||(0,p.addBasePath)((0,d.addLocale)(M,e,L?.defaultLocale))}return I?n.default.cloneElement(i,Y):(0,r.jsx)("a",{...P,...Y,children:a})}),A=(0,n.createContext)({pending:!1}),w=()=>(0,n.useContext)(A),E=v;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},41158,(e,t,a)=>{t.exports=e.r(39149)},46349,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(60832),n=e.i(49266),s=e.i(70184),l=e.i(5223),o=e.i(67552),c=e.i(41158);e.i(41871);var d=e.i(87612);let u=e=>{let u,h,f,p,m,g,b,_,y,x,v,A,w,E,S=(0,a.c)(48),{title:C,subTitle:T,detailUrl:N,productImgUrl:k,quantity:I,quantityLabel:j,editLabel:P,isEditable:L,onEditUrl:O,quantityOptions:D,handleUpdateQuantity:M,handleDeleteProduct:R,quantityErrorMessage:F,productStyledImgUrl:B}=e;S[0]!==D?(u=void 0===D?[]:D,S[0]=D,S[1]=u):u=S[1];let U=u,H=(0,d.useMediaQuery)("(max-width: 991px)");S[2]!==M?(h=e=>{M?.(e?.[0]?.value)},S[2]=M,S[3]=h):h=S[3];let $=h;S[4]!==I||S[5]!==U?(f=()=>U?.filter(e=>Number(e?.value)===I),S[4]=I,S[5]=U,S[6]=f):f=S[6];let G=f;return S[7]!==k?(p=k||(0,o.getAssetPrefixUrl)("/assets/images/Placeholder.png"),S[7]=k,S[8]=p):p=S[8],S[9]!==B||S[10]!==p?(m=(0,t.jsx)(s.Img,{type:"product_catalogue",styledimage:B,src:p,alt:"product-image",height:100,width:100}),S[9]=B,S[10]=p,S[11]=m):m=S[11],S[12]!==N||S[13]!==m?(g=(0,t.jsx)("div",{className:"image-section",children:(0,t.jsx)(i.Anchor,{href:N,tabindex:0,noUnderline:!0,className:"checkoutcard--head-image",children:m})}),S[12]=N,S[13]=m,S[14]=g):g=S[14],S[15]!==T?(b=T&&(0,t.jsx)("span",{className:"checkoutcard--head-container-box-subtitle",children:T}),S[15]=T,S[16]=b):b=S[16],S[17]!==H||S[18]!==C?(_=H?(0,t.jsx)("h4",{className:"checkoutcard--head-container-box-title bold",children:C}):(0,t.jsx)("h3",{className:"checkoutcard--head-container-box-title bold",children:C}),S[17]=H,S[18]=C,S[19]=_):_=S[19],S[20]!==N||S[21]!==_?(y=(0,t.jsx)(i.Anchor,{href:N,tabindex:0,noUnderline:!0,children:_}),S[20]=N,S[21]=_,S[22]=y):y=S[22],S[23]!==b||S[24]!==y?(x=(0,t.jsxs)("div",{className:"checkoutcard--head-container-box",children:[b,y]}),S[23]=b,S[24]=y,S[25]=x):x=S[25],S[26]!==G||S[27]!==R||S[28]!==$||S[29]!==L||S[30]!==I||S[31]!==F||S[32]!==j||S[33]!==U?(v=L&&(0,t.jsxs)("div",{className:I?"checkoutcard--head-button-container":"checkoutcard--head-button-container no-quantity",children:[(0,t.jsxs)("div",{className:"quantity-button-cart",children:[(0,t.jsx)(r.DropDown,{ariaLabel:"product_quantity",options:U,name:"quantityLabel",isCleared:!1,isMulti:!1,simpleDropDownLabel:!0,onValueChange:$,placeHolder:j,intialValue:G(),shouldToggleOnHover:!1,showValueWithPlaceholder:!0}),!I&&(0,t.jsx)(l.RichText,{className:"quantity-error",content:F||""})]}),(0,t.jsx)("div",{onClick:R,"aria-hidden":"true",role:"button",tabIndex:0,className:"close-icon",children:(0,t.jsx)(n.Icon,{iconName:"CloseCircle",width:40,height:40})})]}),S[26]=G,S[27]=R,S[28]=$,S[29]=L,S[30]=I,S[31]=F,S[32]=j,S[33]=U,S[34]=v):v=S[34],S[35]!==P||S[36]!==L||S[37]!==O||S[38]!==I||S[39]!==j?(A=!L&&(0,t.jsxs)("div",{className:"checkoutcard--head-container-grid",children:[(0,t.jsxs)("div",{className:"checkoutcard--head-container-grid-quantity",children:[(0,t.jsxs)("span",{className:"checkoutcard--quantitylabel",children:[j,": "]}),(0,t.jsx)("span",{className:"checkoutcard--quantityvalue",children:I})]}),(0,t.jsx)(c.default,{href:O??"/",legacyBehavior:!0,children:(0,t.jsx)("a",{href:O??"/",className:"checkoutcard--head-container-grid-edit-link",children:(0,t.jsx)("span",{className:"edit-label",children:P})})})]}),S[35]=P,S[36]=L,S[37]=O,S[38]=I,S[39]=j,S[40]=A):A=S[40],S[41]!==x||S[42]!==v||S[43]!==A?(w=(0,t.jsxs)("div",{className:"checkoutcard--head-container",children:[x,v,A]}),S[41]=x,S[42]=v,S[43]=A,S[44]=w):w=S[44],S[45]!==w||S[46]!==g?(E=(0,t.jsx)("div",{className:"checkoutcard",children:(0,t.jsxs)("div",{className:"checkoutcard--head",children:[g,w]})}),S[45]=w,S[46]=g,S[47]=E):E=S[47],E}},85526,73343,e=>{"use strict";e.s(["default",()=>p],85526);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(6271),r=e.i(49266),n=e.i(70184),s=e.i(91788),l=t,o=a,c=r,d=n,u=e.i(26012),h=e.i(95104);let f=e=>{let t,a,i,r,n=(0,o.c)(9),{src:s,imageStyledUrl:f,onClose:p}=e;n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,l.jsx)(c.Icon,{iconName:"CloseFloatingbanner"}),n[0]=t):t=n[0],n[1]!==p?(a=(0,l.jsx)("span",{className:"close",onClick:p,children:t}),n[1]=p,n[2]=a):a=n[2];let m=s||"";if(n[3]!==f||n[4]!==m?(i=(0,l.jsx)(u.ModalBody,{content:(0,l.jsx)(d.Img,{src:m,alt:"imgInfo.alt",width:704,height:704,styledimage:f,type:"product_catalogue"})}),n[3]=f,n[4]=m,n[5]=i):i=n[5],n[6]!==a||n[7]!==i){let e=(0,l.jsxs)(l.Fragment,{children:[a,i]});r=(0,l.jsx)(h.default,{className:"webstore-image-modal",modalContent:e,wrapperId:"react-portal-wrapper"}),n[6]=a,n[7]=i,n[8]=r}else r=n[8];return r},p=e=>
23{let l,o,c,d,u=(0,a.c)(13),[h,p]=(0,s.useState)(!1);u[0]!==h?(l=()=>{p(!h)},u[0]=h,u[1]=l):l=u[1];let m=l;return u[2]!==e||u[3]!==m?(o=e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Img,{className:"webstore-image-image-content",src:e?.src||"",alt:e?.alt,styledimage:e?.imageStyledUrl,width:584,height:584,type:"product_catalogue"}),e?.src&&(0,t.jsx)("div",{className:"overlay-icon",onClick:m,children:(0,t.jsx)(r.Icon,{iconName:"glassIcon"})})]}),u[2]=e,u[3]=m,u[4]=o):o=u[4],u[5]!==e||u[6]!==h||u[7]!==m?(c=h&&(0,t.jsx)(f,{...e,onClose:m}),u[5]=e,u[6]=h,u[7]=m,u[8]=c):c=u[8],u[9]!==o||u[10]!==c||u[11]!==m?(d=(0,t.jsx)(i.Container,{children:(0,t.jsx)("div",{className:"webstore-image",children:(0,t.jsx)("div",{className:"webstore-image-image",children:(0,t.jsxs)("div",{onClick:m,children:[o,c]})})})}),u[9]=o,u[10]=c,u[11]=m,u[12]=d):d=u[12],d};e.s(["default",()=>A],73343);var m=t,g=a,b=e.i(41158),_=s;e.i(44314);var y=e.i(6858),x=r,v=e.i(5223);let A=e=>{let t,a,i,r,n,s,l,o,c,d,u,h,f=(0,g.c)(33),{heading:p,subheading:A,contentTitle:w,content:E,articleNo:S,articleLabel:C,showSuccess:T,successMsgWithLink:N}=e,[k,I]=(0,_.useState)(""),[j,P]=(0,_.useState)(""),[L,O]=(0,_.useState)("/");f[0]!==N?(t=()=>{let e=y.load(N),t=e("p")?.text()??"",a=e("a"),i=a?.[0]?.attribs?.href??"/";P(t),I(a?.text()??""),O(i)},f[0]=N,f[1]=t):t=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(a=[],f[2]=a):a=f[2],(0,_.useEffect)(t,a),f[3]!==k||f[4]!==L||f[5]!==j||f[6]!==N?(i=()=>{let e=""!==k?j?.split(k):[];return 2===e.length?(0,m.jsxs)("span",{className:"success-msg",children:[(0,m.jsx)("span",{children:`${e[0]} `}),(0,m.jsx)(b.default,{className:"success-msg-link",href:L,legacyBehavior:!0,children:k}),e[1]&&(0,m.jsx)("span",{children:`${e[1]}`})]}):(0,m.jsx)(v.RichText,{className:"success-msg",content:N})},f[3]=k,f[4]=L,f[5]=j,f[6]=N,f[7]=i):i=f[7];let D=i;f[8]!==D||f[9]!==T?(r=T&&(0,m.jsxs)("div",{className:"added-to-cart-text",children:[(0,m.jsx)(x.Icon,{iconName:"SuccessIcon"}),D()]}),f[8]=D,f[9]=T,f[10]=r):r=f[10];let M=A?.taxonomyLabel;return f[11]!==M?(n=(0,m.jsx)("div",{className:"webstore-detail-grey ",children:(0,m.jsx)("span",{children:M})}),f[11]=M,f[12]=n):n=f[12],f[13]!==p?(s=p&&(0,m.jsx)("span",{className:"webstore-detail-heading",children:(0,m.jsx)("h1",{children:p})}),f[13]=p,f[14]=s):s=f[14],f[15]!==s?(l=(0,m.jsx)("div",{className:"webstore-detail-heading",children:s}),f[15]=s,f[16]=l):l=f[16],f[17]!==w?(o=w&&(0,m.jsx)(v.RichText,{className:"webstore-detail-content-title",content:w}),f[17]=w,f[18]=o):o=f[18],f[19]!==E?(c=E&&(0,m.jsx)(v.RichText,{className:"webstore-detail-content",content:E}),f[19]=E,f[20]=c):c=f[20],f[21]!==C?(d=(0,m.jsx)("div",{className:"webstore-detail-grey",children:(0,m.jsx)("p",{children:C})}),f[21]=C,f[22]=d):d=f[22],f[23]!==S?(u=(0,m.jsx)("span",{className:"webstore-detail-grey-article",children:(0,m.jsx)("p",{children:S})}),f[23]=S,f[24]=u):u=f[24],f[25]!==c||f[26]!==d||f[27]!==u||f[28]!==r||f[29]!==n||f[30]!==l||f[31]!==o?(h=(0,m.jsxs)("div",{className:"webstore-detail",children:[r,n,l,o,c,d,u]}),f[25]=c,f[26]=d,f[27]=u,f[28]=r,f[29]=n,f[30]=l,f[31]=o,f[32]=h):h=f[32],h}},29227,e=>{"use strict";e.s(["default",()=>s]);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(49266),r=e.i(75425);e.i(41871);var n=e.i(87612);let s=({links:e,topPosition:s,selectedRotatatingTabCallback:l})=>{let[o,c]=(0,a.useState)(Array.isArray(e)?e:[]),[d,u]=(0,a.useState)(null),h=(0,a.useRef)(!1),[f,p]=(0,a.useState)(1),m=(0,a.useRef)(null),[g,b]=(0,a.useState)(0),_=(0,a.useRef)(0),y=(0,a.useRef)(0),x=(0,a.useRef)(!1),v=(0,a.useRef)([]),[A,w]=(0,a.useState)(0),[E,S]=(0,a.useState)(0),C=r.default.TWENTY||20,T=(0,n.useMediaQuery)("(max-width: 767px)"),N=(0,n.useMediaQuery)("(min-width: 768px) and (max-width: 991px)"),k=T?40:N?80:110;(0,a.useLayoutEffect)(()=>{if(!m.current)return;let e=new ResizeObserver(()=>{b(m.current.offsetWidth)});return e.observe(m.current),()=>e.disconnect()},[]),(0,a.useEffect)(()=>{if(Array.isArray(o)&&0!==o.length&&!d){let e=o.find(e=>e?.selected)||o[0];e?.id&&u(e.id)}},[o,d]);let I=e=>{S(Math.max(0,Math.min(e*P-(g/2-P/2),L())))},j=(e,t)=>{let a=t;L();let i=o?.length-1;switch(e.key){case"ArrowRight":if(t===i)return;e.preventDefault(),a=t+1;break;case"ArrowLeft":if(0===t)return;e.preventDefault(),a=t-1;break;case"Home":e.preventDefault(),a=0;break;case"End":e.preventDefault(),a=o?.length-1;break;case"Enter":case" ":if(e.preventDefault(),!Array.isArray(o)||o.length<=t)return;let r=o[t];if(!r?.id)return;u(r.id),l(r.id);return;default:return}let n=o?.[a];n?.id&&(u(n.id),l(n.id),v.current[a]?.focus(),requestAnimationFrame(()=>{I(a)}))};(0,a.useEffect)(()=>{let e=()=>{let e=window.innerWidth;e>=1024?p(6):e>=768?p(3):e>=480?p(2):p(1)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,a.useEffect)(()=>{c(Array.isArray(e)?[...e]:[])},[]);let P=g>0?g/f:0,L=()=>
23{if(!m.current)return 0;let e=m.current.firstElementChild;return e?e.scrollWidth-m.current.offsetWidth:0},O=()=>T?.4*P:N?.75*P:P,D=()=>{let e=L(),t=O();S(a=>Math.min(a+t,e))},M=()=>{let e=O();S(t=>Math.max(t-e,0))},R=e=>{x.current=!0,_.current=e},F=e=>{if(!x.current)return;y.current=e;let t=y.current-_.current;w(t),Math.abs(t)>C&&(h.current=!0)},B=()=>{if(!x.current)return;let e=L();A>C?S(e=>Math.max(e-P,0)):A<-C&&S(t=>Math.min(t+P,e)),w(0),x.current=!1,setTimeout(()=>{h.current=!1},0)},U=e=>R(e.clientX),H=e=>F(e.clientX),$=B,G=e=>R(e.touches[0].clientX),W=e=>F(e.touches[0].clientX),Y=B;(0,a.useEffect)(()=>{let e=m.current;if(!e)return;let t=e=>{Math.abs(e.deltaX)>Math.abs(e.deltaY)&&(e.preventDefault(),S(t=>{let a=L();return Math.max(0,Math.min(t+e.deltaX,a))}))};return e.addEventListener("wheel",t,{passive:!1}),()=>{e.removeEventListener("wheel",t)}},[]);let z=e=>{let t=m.current,a=v.current[e];if(!t||!a)return;let i=t.getBoundingClientRect(),r=a.getBoundingClientRect(),n=L(),s=r.right>=i.right-k&&E<n,l=r.left<=i.left+k&&E>0,o=a.offsetWidth;s?requestAnimationFrame(()=>{S(e=>Math.min(e+o,n))}):l&&requestAnimationFrame(()=>{S(e=>Math.max(e-o,0))})},V=(e,t,a)=>{if(h.current){t.preventDefault(),t.stopPropagation();return}z(a),requestAnimationFrame(()=>{u(e),l(e)})},K=(0,a.useMemo)(()=>L(),[g,o]),q=0===E,Q=E>=K;return(0,t.jsx)("div",{className:"rotating-tab",style:{top:`${s}px`},children:(0,t.jsxs)("div",{className:"rotating-tab-container",children:[(0,t.jsx)("button",{className:"rotate-btn rotate-left",onClick:M,disabled:q,"aria-label":"Previous tabs",tabIndex:-1,children:(0,t.jsx)(i.Icon,{iconName:"ChevronLefttIcon"})}),!q&&(0,t.jsx)("div",{className:"btn-overlay-bg btn-overlay-bg-left"}),(0,t.jsx)("div",{ref:m,role:"tablist","aria-label":"Rotating tabs","aria-orientation":"horizontal",className:`rotating-tab-wrapper 
24            ${q?"btn-disable-left":""} 
25            ${Q?"btn-disable-right":""}
26            ${q&&Q?"justify-content-center":"justify-content-start"}`,onMouseDown:U,onMouseMove:H,onMouseUp:$,onMouseLeave:$,onTouchStart:G,onTouchMove:W,onTouchEnd:Y,children:(0,t.jsx)("div",{className:"rotating-tab-track",style:{transform:`translateX(${-E+A}px)`,transition:x.current?"none":"transform 0.3s ease"},children:Array.isArray(o)&&o.length>0&&o.map((e,a)=>{let i=d?e.id===d:e?.selected;return(0,t.jsx)("button",{ref:e=>v.current[a]=e,role:"tab","aria-selected":i,"aria-controls":`panel-${e.id}`,id:`tab-${e.id}`,tabIndex:i?0:-1,onKeyDown:e=>j(e,a),className:`rotating-tab-item ${i?"tab-active bold":""}`,onClick:t=>V(e.id,t,a),children:e.name},`rt-${e.id}`)})})}),!Q&&(0,t.jsx)("div",{className:"btn-overlay-bg"}),(0,t.jsx)("button",{className:"rotate-btn rotate-right",onClick:D,disabled:Q,"aria-label":"Next tabs",tabIndex:-1,children:(0,t.jsx)(i.Icon,{iconName:"ChevronRightIcon2"})})]})})}},3731,31407,e=>{"use strict";e.s(["default",()=>c],3731);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(49266),n=e.i(5223);let s=(0,i.createContext)({floatingBanner:null,renderEyebrowMenu:null,displayFloatingBanner:!0,setDisplayFloatingBanner:void 0});e.s(["default",0,s],31407);var l=e.i(82054),o=e.i(41764);let c=e=>{let c,d,u,h,f,p,m,g,b,_=(0,a.c)(22),[y,x]=(0,i.useState)(!0),{children:v,id:A,onClose:w}=e,E=(0,i.useContext)(s),{applicationConfiguration:S}=(0,i.useContext)(l.default),{setDisplayFloatingBanner:C}=E,{floating_banner_hide_close_btn:T,floating_banner_height:N}=S?.siteConfig;_[0]!==C?(c=()=>{"false"===localStorage.getItem("showBanner")&&(x(!1),C(!1))},_[0]=C,_[1]=c):c=_[1],_[2]===Symbol.for("react.memo_cache_sentinel")?(d=[],_[2]=d):d=_[2],(0,i.useEffect)(c,d),_[3]!==w||_[4]!==C?(u=()=>{localStorage.setItem("showBanner","false"),x(!1),C(!1),w&&w()},_[3]=w,_[4]=C,_[5]=u):u=_[5];let k=u;if(!y)return null;let I=`${N}vh`;_[6]!==I?(h={minHeight:I},_[6]=I,_[7]=h):h=_[7],_[8]!==k||_[9]!==T?(f=o.ENABLE_DISABLE_VALUE[T]?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)("span",{className:"close-button",onClick:k,children:(0,t.jsx)(r.Icon,{iconName:"CloseFloatingbanner"})}),_[8]=k,_[9]=T,_[10]=f):f=_[10];let j=`<div class='content'>${v}</div>`;return _[11]!==j?(p=(0,t.jsx)(n.RichText,{content:j}),_[11]=j,_[12]=p):p=_[12],_[13]!==f||_[14]!==p?(m=(0,t.jsxs)("div",{className:"container",children:[f,p]}),_[13]=f,_[14]=p,_[15]=m):m=_[15],_[16]!==h||_[17]!==m?(g=(0,t.jsx)("div",{className:"banner",style:h,children:m}),_[16]=h,_[17]=m,_[18]=g):g=_[18],_[19]!==A||_[20]!==g?(b=(0,t.jsx)("div",{className:"floatingBanner",id:A,children:g}),_[19]=A,_[20]=g,_[21]=b):b=_[21],b}},7684,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(49266),r=e.i(5223);let n=e=>{let n,s,l,o,c,d=(0,a.c)(13),{displayMessageType:u,displayTxt:h,className:f,messageClose:p,onClose:m}=e,g=void 0!==p&&p,b=h||"";d[0]!==b?(n=(0,t.jsx)(r.RichText,{content:b}),d[0]=b,d[1]=n):n=d[1];let _=n;d[2]===Symbol.for("react.memo_cache_sentinel")?(s={success:(0,t.jsx)(i.Icon,{iconName:"SuccessIcon1"}),error:(0,t.jsx)(i.Icon,{iconName:"errorIcon"}),warning:(0,t.jsx)(i.Icon,{iconName:"WarningIcon"})},d[2]=s):s=d[2];let y=`form-msg form-${u}-msg ${f??""}`,x=s[u];return d[3]!==x?(l=(0,t.jsx)("span",{className:"form-msg-icon",children:x}),d[3]=x,d[4]=l):l=d[4],d[5]!==g||d[6]!==m?(o=g&&(0,t.jsx)("span",{className:"form-msg-close",onClick:m,children:(0,t.jsx)(i.Icon,{iconName:"
26closeBlue"})}),d[5]=g,d[6]=m,d[7]=o):o=d[7],d[8]!==_||d[9]!==y||d[10]!==l||d[11]!==o?(c=(0,t.jsxs)("div",{className:y,children:[l,_,o]}),d[8]=_,d[9]=y,d[10]=l,d[11]=o,d[12]=c):c=d[12],c}},62494,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n=(0,a.c)(5);n[0]!==e.className?(i=()=>["inputBox",e.className].filter(Boolean).join(" "),n[0]=e.className,n[1]=i):i=n[1];let s=i();return n[2]!==e||n[3]!==s?(r=(0,t.jsx)("input",{...e,className:s}),n[2]=e,n[3]=s,n[4]=r):r=n[4],r};e.s(["default",0,i])},1901,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(60832),r=e.i(5223),n=e.i(62494),s=e.i(91788);let l=e=>{let l,c,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P,L,O,D,M=(0,a.c)(69);M[0]!==e?({type:w,icon:h,inputField:f,label:p,error:d,dropDownOption:l,onChangehandler:g,onBlurhandler:m,value:y,disabled:x,getDropdownInfo:u,helpDescriptionText:v,name:A,dropDownShowPlaceholder:c,optionText:b,..._}=e,M[0]=e,M[1]=l,M[2]=c,M[3]=d,M[4]=u,M[5]=h,M[6]=f,M[7]=p,M[8]=m,M[9]=g,M[10]=b,M[11]=_,M[12]=y,M[13]=x,M[14]=v,M[15]=A,M[16]=w):(l=M[1],c=M[2],d=M[3],u=M[4],h=M[5],f=M[6],p=M[7],m=M[8],g=M[9],b=M[10],_=M[11],y=M[12],x=M[13],v=M[14],A=M[15],w=M[16]);let R=void 0===y?"":y,F=void 0!==x&&x,B=void 0===v?"":v,U=void 0===A?"":A,[H,$]=(0,s.useState)(!1),[G,W]=(0,s.useState)(R),Y=void 0===G?R:G,z=(0,s.useRef)(!0);M[17]!==d||M[18]!==f.disabled?(E=()=>{let e=[];return e.push("input"),f?.disabled?e.push("disabled"):e.push("enable"),d&&e.push("invalid"),e.join(" ")},M[17]=d,M[18]=f.disabled,M[19]=E):E=M[19];let V=E;M[20]!==H||M[21]!==w?(S=()=>"password"===w?H?"text":"password":w,M[20]=H,M[21]=w,M[22]=S):S=M[22];let K=S,q=o;M[23]!==h||M[24]!==H?(C=()=>(0,t.jsxs)("span",{onClick:()=>$(!H),className:"inputBox-withIcon",children:[H?(0,t.jsx)("img",{src:h?.iconOpen}):(0,t.jsx)("img",{src:h?.iconClose}),h?.message?(0,t.jsx)("span",{className:"tooltiptext",children:h.message}):null]}),M[23]=h,M[24]=H,M[25]=C):C=M[25];let Q=C;M[26]!==f.required||M[27]!==p||M[28]!==U?(T=()=>(0,t.jsxs)("label",{"aria-required":f.required,className:"inputBox-withLabel",htmlFor:U??"inputBox-label",children:[p,f.required&&"*"]}),M[26]=f.required,M[27]=p,M[28]=U,M[29]=T):T=M[29];let Z=T;M[30]!==R?(N=()=>{if(z.current){z.current=!1;return}W(R)},k=[R],M[30]=R,M[31]=N,M[32]=k):(N=M[31],k=M[32]),(0,s.useEffect)(N,k),M[33]!==l?.name||M[34]!==u||M[35]!==g||M[36]!==w?(I=e=>{if("dropDown"===w){let t=e,a=l?.name??"";W(t),u&&u(t?.[0]?.value,a);return}let{value:t}=e.target;W(t),"function"==typeof g&&g(e)},M[33]=l?.name,M[34]=u,M[35]=g,M[36]=w,M[37]=I):I=M[37];let X=I,J=d?`${d}`:"";M[38]!==R?(j=q(R),M[38]=R,M[39]=j):j=M[39];let ee=j;return M[40]!==p||M[41]!==Z?(P=p&&Z(),M[40]=p,M[41]=Z,M[42]=P):P=M[42],M[43]!==h||M[44]!==Q?(L=h&&Q(),M[43]=h,M[44]=Q,M[45]=L):L=M[45],M[46]!==ee||M[47]!==F||M[48]!==l?.ariaLabel||M[49]!==l?.name||M[50]!==l?.options||M[51]!==c||M[52]!==J||M[53]!==V||M[54]!==K||M[55]!==X||M[56]!==B||M[57]!==f||M[58]!==U||M[59]!==m||M[60]!==b||M[61]!==_||M[62]!==w||M[63]!==Y?(O="dropDown"===w?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.DropDown,{id:f.id,ariaLabel:l?.ariaLabel||"",options:l?.options||[],name:l?.name||"",isCleared:!1,isDisabled:F,intialValue:ee,onValueChange:X,isMulti:!1,placeHolder:l?.ariaLabel||"Select Option",showPlaceholder:c||!1,optionText:b||""}),(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(r.RichText,{content:J})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{...f,value:Y,disabled:F,className:V(),type:K(),onChange:X,onBlur:m,id:U??"inputBox-label",..._}),B||(0,t.jsx)(t.Fragment,{}),J&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(r.RichText,{content:J})})]}),M[46]=ee,M[47]=F,M[48]=l?.ariaLabel,M[49]=l?.name,M[50]=l?.options,M[51]=c,M[52]=J,M[53]=V,M[54]=K,M[55]=X,M[56]=B,M[57]=f,M[58]=U,M[59]=m,M[60]=b,M[61]=_,M[62]=w,M[63]=Y,M[64]=O):O=M[64],M[65]!==P||M[66]!==L||M[67]!==O?(D=(0,t.jsxs)("div",{className:"input-box-with-label",children:[P,L,O]}),M[65]=P,M[66]=L,M[67]=O,M[68]=D):D=M[68],D};function o(e){return e?[{label:e,value:e}]:[]}},65884,e=>{"use strict";let t=["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYR","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","USS","UYI","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XTS","XXX","YER","ZAR","ZMW"];var a=e.i(15315);let i=["EUR","CHF","NOK","SEK","DKK","ISK","HUF","PLN","CZK","RON","BGN"],r=(e,r)=>{let n=t.some(e=>e===r.toUpperCase())?r.toUpperCase():"USD",{lang:s}=(0,a.getApiDomainAndLang)(),l="INR"===n?"en-IN":i.some(e=>e===r.toUpperCase())?"de":s,o={style:"currency",currency:n},c=new Intl.NumberFormat(l,o),d="string"==typeof e?parseFloat(e):e,u=d>0?c.formatToParts(d):"0";return"0"!==u?u.filter(e=>"currency"!==e.type).map(e=>e.value).join(""):u};e.s(["default",0,r],65884)},1938,e=>{"use strict";
26var t=e.i(91398),a=e.i(61576),i=e.i(65884),r=e.i(82054),n=e.i(91788);let s=e=>{let s,l,o,c,d,u,h,f=(0,a.c)(27),{coltitles:p,rowsvalues:m,className:g,tableHeaderClass:b,tableColumnClass:_}=e;f[0]!==p?(s=void 0===p?[]:p,f[0]=p,f[1]=s):s=f[1];let y=s;f[2]!==m?(l=void 0===m?[]:m,f[2]=m,f[3]=l):l=f[3];let x=l,v=void 0===g?"":g,A=void 0===b?"":b,w=void 0===_?"":_,{applicationConfiguration:E}=(0,n.useContext)(r.default);if(!y.length&&!x.length){let e;return f[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),f[4]=e):e=f[4],e}let S=`table no-border ${v}`;if(f[5]!==y||f[6]!==A){let e;f[8]!==A?(e=(e,a)=>e?.value!=null&&(0,t.jsx)("th",{className:`${A}`,tabIndex:0,children:e?.value},a),f[8]=A,f[9]=e):e=f[9],o=y.map(e),f[5]=y,f[6]=A,f[7]=o}else o=f[7];if(f[10]!==o?(c=(0,t.jsx)("tr",{children:o}),f[10]=o,f[11]=c):c=f[11],f[12]!==E?.siteConfig?.currency_code||f[13]!==y||f[14]!==x||f[15]!==w){let e;f[17]!==E?.siteConfig?.currency_code||f[18]!==y||f[19]!==w?(e=(e,a)=>(0,t.jsx)("tr",{children:e.map((e,r)=>y[r]?.value!=null&&(0,t.jsx)("td",{className:`${w} ${e?.cellStyle}`,tabIndex:0,children:e?.format?(0,i.default)(e?.value,E?.siteConfig?.currency_code??e?.format):e?.value},a.toString()+r))},a),f[17]=E?.siteConfig?.currency_code,f[18]=y,f[19]=w,f[20]=e):e=f[20],d=x.map(e),f[12]=E?.siteConfig?.currency_code,f[13]=y,f[14]=x,f[15]=w,f[16]=d}else d=f[16];return f[21]!==c||f[22]!==d?(u=(0,t.jsxs)("tbody",{children:[c,d]}),f[21]=c,f[22]=d,f[23]=u):u=f[23],f[24]!==u||f[25]!==S?(h=(0,t.jsx)("div",{className:"table-with-scroll scrollable-content",children:(0,t.jsx)("table",{className:S,children:u})}),f[24]=u,f[25]=S,f[26]=h):h=f[26],h};e.s(["default",0,s])},60121,(e,t,a)=>{"use strict";var i=e.r(91788);function r(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var n="function"==typeof Object.is?Object.is:r,s=i.useState,l=i.useEffect,o=i.useLayoutEffect,c=i.useDebugValue;function d(e,t){var a=t(),i=s({inst:{value:a,getSnapshot:t}}),r=i[0].inst,n=i[1];return o(function(){r.value=a,r.getSnapshot=t,u(r)&&n({inst:r})},[e,a,t]),l(function(){return u(r)&&n({inst:r}),e(function(){u(r)&&n({inst:r})})},[e]),c(a),a}function u(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!n(e,a)}catch(e){return!0}}function h(e,t){return t()}var f="u"<typeof window||void 0===window.document||void 0===window.document.createElement?h:d;a.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:f},90979,(e,t,a)=>{"use strict";t.exports=e.r(60121)},50323,e=>{"use strict";var t=e.i(91788),a=e.i(90979),i=t;let r=0,n=1,s=2,l=3;e.s(["ERROR_REVALIDATE_EVENT",0,l,"FOCUS_EVENT",0,r,"MUTATE_EVENT",0,s,"RECONNECT_EVENT",0,n],74196);var o=Object.prototype.hasOwnProperty;function c(e,t){var a,i;if(e===t)return!0;if(e&&t&&(a=e.constructor)===t.constructor){if(a===Date)return e.getTime()===t.getTime();if(a===RegExp)return e.toString()===t.toString();if(a===Array){if((i=e.length)===t.length)for(;i--&&c(e[i],t[i]););return -1===i}if(!a||"object"==typeof e){for(a in i=0,e)if(o.call(e,a)&&++i&&!o.call(t,a)||!(a in t)||!c(e[a],t[a]))return!1;return Object.keys(t).length===i}}return e!=e&&t!=t}let d=new WeakMap,u=()=>{},h=u(),f=Object,p=e=>e===h,m=e=>"function"==typeof e,g=(e,t)=>({...e,...t}),b=e=>m(e.then),_={},y={},x="undefined",v=typeof window!=x,A=typeof document!=x,w=v&&"Deno"in window,E=()=>v&&typeof window.requestAnimationFrame!=x,S=(e,t)=>{let a=d.get(e);return[()=>!p(t)&&e.get(t)||_,i=>{if(!p(t)){let r=e.get(t);t in y||(y[t]=r),a[5](t,g(r,i),r||_)}},a[6],()=>!p(t)&&t in y?y[t]:!p(t)&&e.get(t)||_]},C=!0,T=()=>C,[N,k]=v&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[u,u],I={isOnline:T,isVisible:()=>{let e=A&&document.visibilityState;return p(e)||"hidden"!==e}},j={initFocus:e=>(A&&document.addEventListener("visibilitychange",e),N("focus",e),()=>{A&&document.removeEventListener("visibilitychange",e),k("focus",e)}),initReconnect:e=>{let t=()=>{C=!0,e()},a=()=>{C=!1};return N("online",t),N("offline",a),()=>{k("online",t),k("offline",a)}}},P=!i.default.useId,L=!v||w,O=e=>E()?window.requestAnimationFrame(e):setTimeout(e,1),D=L?i.useEffect:i.useLayoutEffect,M="u">typeof navigator&&navigator.connection,R=!L&&M&&(["slow-2g","2g"].includes(M.effectiveType)||M.saveData),F=new WeakMap,B=e=>f.prototype.toString.call(e),U=(e,t)=>e===`[object ${t}]`,H=0,$=e=>{let t,a,i=typeof e,r=B(e),n=U(r,"Date"),s=U(r,"RegExp"),l=U(r,"Object");
26if(f(e)!==e||n||s)t=n?e.toJSON():"symbol"==i?e.toString():"string"==i?JSON.stringify(e):""+e;else{if(t=F.get(e))return t;if(t=++H+"~",F.set(e,t),Array.isArray(e)){for(a=0,t="@";a<e.length;a++)t+=$(e[a])+",";F.set(e,t)}if(l){t="#";let i=f.keys(e).sort();for(;!p(a=i.pop());)p(e[a])||(t+=a+":"+$(e[a])+",");F.set(e,t)}}return t},G=e=>{if(m(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?$(e):"",t]},W=0,Y=()=>++W;async function z(...e){let[t,a,i,r]=e,n=g({populateCache:!0,throwOnError:!0},"boolean"==typeof r?{revalidate:r}:r||{}),l=n.populateCache,o=n.rollbackOnError,c=n.optimisticData,u=e=>"function"==typeof o?o(e):!1!==o,f=n.throwOnError;if(m(a)){let e=a,i=[];for(let a of t.keys())!/^\$(inf|sub)\$/.test(a)&&e(t.get(a)._k)&&i.push(a);return Promise.all(i.map(_))}return _(a);async function _(a){let r,[o]=G(a);if(!o)return;let[g,_]=S(t,o),[y,x,v,A]=d.get(t),w=()=>{let e=y[o];return(m(n.revalidate)?n.revalidate(g().data,a):!1!==n.revalidate)&&(delete v[o],delete A[o],e&&e[0])?e[0](s).then(()=>g().data):g().data};if(e.length<3)return w();let E=i,C=!1,T=Y();x[o]=[T,0];let N=!p(c),k=g(),I=k.data,j=k._c,P=p(j)?I:j;if(N&&_({data:c=m(c)?c(P,I):c,_c:P}),m(E))try{E=E(P)}catch(e){r=e,C=!0}if(E&&b(E)){if(E=await E.catch(e=>{r=e,C=!0}),T!==x[o][0]){if(C)throw r;return E}C&&N&&u(r)&&(l=!0,_({data:P,_c:h}))}if(l&&!C&&(m(l)?_({data:l(E,P),error:h,_c:h}):_({data:E,error:h,_c:h})),x[o][1]=Y(),Promise.resolve(w()).then(()=>{_({_c:h})}),C){if(f)throw r;return}return E}}let V=(e,t)=>{for(let a in e)e[a][0]&&e[a][0](t)},K=(e,t)=>{if(!d.has(e)){let a=g(j,t),i=Object.create(null),s=z.bind(h,e),l=u,o=Object.create(null),c=(e,t)=>{let a=o[e]||[];return o[e]=a,a.push(t),()=>a.splice(a.indexOf(t),1)},f=(t,a,i)=>{e.set(t,a);let r=o[t];if(r)for(let e of r)e(a,i)},p=()=>{if(!d.has(e)&&(d.set(e,[i,Object.create(null),Object.create(null),Object.create(null),s,f,c]),!L)){let t=a.initFocus(setTimeout.bind(h,V.bind(h,i,r))),s=a.initReconnect(setTimeout.bind(h,V.bind(h,i,n)));l=()=>{t&&t(),s&&s(),d.delete(e)}}};return p(),[e,s,p,l]}return[e,d.get(e)[4]]},q=(e,t,a,i,r)=>{let n=a.errorRetryCount,s=r.retryCount,l=~~((Math.random()+.5)*(1<<(s<8?s:8)))*a.errorRetryInterval;(p(n)||!(s>n))&&setTimeout(i,l,r)},Q=c,[Z,X]=K(new Map),J=g({onLoadingSlow:u,onSuccess:u,onError:u,onErrorRetry:q,onDiscarded:u,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:R?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:R?5e3:3e3,compare:Q,isPaused:()=>!1,cache:Z,mutate:X,fallback:{}},I),ee=(e,t)=>{let a=g(e,t);if(t){let{use:i,fallback:r}=e,{use:n,fallback:s}=t;i&&n&&(a.use=i.concat(n)),r&&s&&(a.fallback=g(r,s))}return a},et=(0,i.createContext)({}),ea=e=>{let{value:t}=e,a=(0,i.useContext)(et),r=m(t),n=(0,i.useMemo)(()=>r?t(a):t,[r,a,t]),s=(0,i.useMemo)(()=>r?n:ee(a,n),[r,a,n]),l=n&&n.provider,o=(0,i.useRef)(h);l&&!o.current&&(o.current=K(l(s.cache||Z),n));let c=o.current;return c&&(s.cache=c[0],s.mutate=c[1]),D(()=>{if(c)return c[2]&&c[2](),c[3]},[]),(0,i.createElement)(et.Provider,g(e,{value:s}))};var ei=e.i(74196);let er="$inf$";var en=t;let es=v&&window.__SWR_DEVTOOLS_USE__,el=es?window.__SWR_DEVTOOLS_USE__:[],eo=()=>{es&&(window.__SWR_DEVTOOLS_REACT__=en.default)},ec=e=>m(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],ed=()=>{let e=(0,en.useContext)(et);return(0,en.useMemo)(()=>g(J,e),[e])},eu=e=>(t,a,i)=>{let r=a&&((...e)=>{let[i]=G(t),[,,,r]=d.get(Z);if(i.startsWith(er))return a(...e);let n=r[i];return p(n)?a(...e):(delete r[i],n)});return e(t,r,i)},eh=el.concat(eu),ef=e=>function(...t){let a=ed(),[i,r,n]=ec(t),s=ee(a,n),l=e,{use:o}=s,c=(o||[]).concat(eh);for(let e=c.length;e--;)l=c[e](l);return l(i,r||s.fetcher||null,s)},ep=(e,t,a)=>{let i=t[e]||(t[e]=[]);return i.push(a),()=>{let e=i.indexOf(a);e>=0&&(i[e]=i[i.length-1],i.pop())}};eo();var em=ei;let eg=()=>{},eb=eg(),e_=(new WeakMap,t.default.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}})),ey={dedupe:!0}
26,ex=Promise.resolve(h),ev=()=>u,eA=(e,i,r)=>{let{cache:n,compare:s,suspense:l,fallbackData:o,revalidateOnMount:c,revalidateIfStale:u,refreshInterval:f,refreshWhenHidden:_,refreshWhenOffline:y,keepPreviousData:x,strictServerPrefetchWarning:v}=r,[A,w,E,C]=d.get(n),[T,N]=G(e),k=(0,t.useRef)(!1),I=(0,t.useRef)(!1),j=(0,t.useRef)(T),M=(0,t.useRef)(i),R=(0,t.useRef)(r),F=()=>R.current,B=()=>F().isVisible()&&F().isOnline(),[U,H,$,W]=S(n,T),V=(0,t.useRef)({}).current,K=p(o)?p(r.fallback)?h:r.fallback[T]:o,q=(e,t)=>{for(let a in V){let i=a;if("data"===i){if(!s(e[i],t[i])&&(!p(e[i])||!s(er,t[i])))return!1}else if(t[i]!==e[i])return!1}return!0},Q=!k.current,Z=(0,t.useMemo)(()=>{let e=U(),t=W(),a=e=>{let t=g(e);return(delete t._k,(()=>{if(!T||!i||F().isPaused())return!1;if(Q&&!p(c))return c;let e=p(K)?t.data:K;return p(e)||u})())?{isValidating:!0,isLoading:!0,...t}:t},r=a(e),n=e===t?r:a(t),s=r;return[()=>{let e=a(U());return q(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>n]},[n,T]),X=(0,a.useSyncExternalStore)((0,t.useCallback)(e=>$(T,(t,a)=>{q(a,t)||e()}),[n,T]),Z[0],Z[1]),J=A[T]&&A[T].length>0,ee=X.data,et=p(ee)?K&&b(K)?e_(K):K:ee,ea=X.error,ei=(0,t.useRef)(et),er=x?p(ee)?p(ei.current)?et:ei.current:ee:et,en=T&&p(et),es=(0,t.useRef)(null);L||(0,a.useSyncExternalStore)(ev,()=>(es.current=!1,es),()=>(es.current=!0,es));let el=es.current;v&&el&&!l&&en&&console.warn(`Missing pre-initiated data for serialized key "${T}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let eo=!(!T||!i||F().isPaused())&&(!J||!!p(ea))&&(Q&&!p(c)?c:l?!p(et)&&u:p(et)||u),ec=p(X.isValidating)?eo:X.isValidating,ed=p(X.isLoading)?eo:X.isLoading,eu=(0,t.useCallback)(async e=>{let t,a,i=M.current;if(!T||!i||I.current||F().isPaused())return!1;let n=!0,l=e||{},o=!E[T]||!l.dedupe,c=()=>P?!I.current&&T===j.current&&k.current:T===j.current,d={isValidating:!1,isLoading:!1},u=()=>{H(d)},f=()=>{let e=E[T];e&&e[1]===a&&delete E[T]},g={isValidating:!0};p(U().data)&&(g.isLoading=!0);try{if(o&&(H(g),r.loadingTimeout&&p(U().data)&&setTimeout(()=>{n&&c()&&F().onLoadingSlow(T,r)},r.loadingTimeout),E[T]=[i(N),Y()]),[t,a]=E[T],t=await t,o&&setTimeout(f,r.dedupingInterval),!E[T]||E[T][1]!==a)return o&&c()&&F().onDiscarded(T),!1;d.error=h;let e=w[T];if(!p(e)&&(a<=e[0]||a<=e[1]||0===e[1]))return u(),o&&c()&&F().onDiscarded(T),!1;let l=U().data;d.data=s(l,t)?l:t,o&&c()&&F().onSuccess(t,T,r)}catch(a){f();let e=F(),{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=a,o&&c()&&(e.onError(a,T,e),(!0===t||m(t)&&t(a))&&(!F().revalidateOnFocus||!F().revalidateOnReconnect||B())&&e.onErrorRetry(a,T,e,e=>{let t=A[T];t&&t[0]&&t[0](em.ERROR_REVALIDATE_EVENT,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return n=!1,u(),!0},[T,n]),eh=(0,t.useCallback)((...e)=>z(n,j.current,...e),[]);if(D(()=>{M.current=i,R.current=r,p(ee)||(ei.current=ee)}),D(()=>{if(!T)return;let e=eu.bind(h,ey),t=0;F().revalidateOnFocus&&(t=Date.now()+F().focusThrottleInterval);let a=ep(T,A,(a,i={})=>{if(a==em.FOCUS_EVENT){let a=Date.now();F().revalidateOnFocus&&a>t&&B()&&(t=a+F().focusThrottleInterval,e())}else if(a==em.RECONNECT_EVENT)F().revalidateOnReconnect&&B()&&e();else if(a==em.MUTATE_EVENT)return eu();else if(a==em.ERROR_REVALIDATE_EVENT)return eu(i)});return I.current=!1,j.current=T,k.current=!0,H({_k:N}),eo&&!E[T]&&(p(et)||L?e():O(e)),()=>{I.current=!0,a()}},[T]),D(()=>{let e;function t(){let t=m(f)?f(U().data):f;t&&-1!==e&&(e=setTimeout(a,t))}function a(){!U().error&&(_||F().isVisible())&&(y||F().isOnline())?eu(ey).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[f,_,y,T]),(0,t.useDebugValue)(er),l){if(!P&&L&&en)throw Error("Fallback data is required when using Suspense in SSR.");en&&(M.current=i,R.current=r,I.current=!1);let e=C[T];if(e_(!p(e)&&en?eh(e):ex),!p(ea)&&en)throw ea;let t=en?eu(ey):ex;!p(er)&&en&&(t.status="fulfilled",t.value=!0),e_(t)}return{mutate:eh,get data(){return V.data=!0,er},get error(){return V.error=!0,ea},get isValidating(){return V.isValidating=!0,ec},get isLoading(){return V.isLoading=!0,ed}}};f.defineProperty(ea,"defaultValue",{value:J});let ew=ef(eA);e.s(["default",0,ew],50323)},74807,e=>{"use strict";var t=e.i(61576),a=e.i(50323);let i={revalidateOnFocus:!1};function r(e,r){let n,s=(0,t.c)(5),{data:l,error:o,isLoading:c,mutate:d}=(0,a.default)(e,r,i);return o&&console.error("failed to load",o),s[0]!==l||s[1]!==o||s[2]!==c||s[3]!==d?(n={data:l,error:o,isLoading:c,mutate:d},s[0]=l,s[1]=o,s[2]=c,s[3]=d,s[4]=n):n=s[4],n}e.s(["default",0,r])},61312,e=>{"use strict";var t=e.i(67552);let a=(e,t,a="")=>{let i=[],r=(e,a)=>{if("object"==typeof e)for(let n in e){if("error_code"===n&&t.includes(e[n])){e.image_option=e.image_option??null;let t={};t[a]=e,i.push(t)}r(e[n],`${a+n}.`)}};return r(e,a),i},i=e=>{let t=a(e,[410,310]),i=[];
26return t?.length&&t?.forEach(e=>{let t=Object.values(e)?.[0]?.roles?.split(",")?.filter(e=>e?.trim()!=="")||[],a=Array.isArray(Object.values(e)?.[0]?.country)?Object.values(e)?.[0]?.country:Object.values(e)?.[0]?.country?.split(",")?.filter(e=>e?.trim()!=="")||[];Array.isArray(t)&&Array.isArray(a)&&i.push(...t,...a)}),i},r=e=>{let t=a(e,[421]),i=[];return t?.length&&t?.forEach(e=>{let t=Object.values(e)?.[0]?.roles?.split(",")||[],a=Object.values(e)?.[0]?.country?.split(",")||[];i.push(...t,...a)}),i},n=e=>{let t="string"==typeof e?.error_code?Number(e?.error_code):e?.error_code;return{isPaywallProtectedFlag:410===t||421===t||310===t,errorObj:e}},s=e=>e?.every(e=>null==e),l=e=>n(e).isPaywallProtectedFlag?"":e??"",o=(e,a)=>{switch(a){case"grey_overley":return(0,t.getAssetPrefixUrl)("/assets/images/Paywall-Grey-Overlay.svg?isPaywall=true");case"lock_icon":return(0,t.getAssetPrefixUrl)("/assets/images/Paywall-Lock.svg?isPaywall=true");case"hide_image":default:return"";case"other":return e?.image_style?.image_style_uri??""}},c=e=>{let t=e?.image_option,a="";a="string"==typeof t?t?.includes("other")?t?.split(":")?.[0]:t:t?.option;let i={};return i.imageUrl="other"===a?t?.image_style?.src:o(t,a),i.src="other"===a?t?.image_style?.src:o(t,a),i.alt="protected image",i.imageStyledUrl="other"===a?o(t,a):"",i.styledimage="other"===a?o(t,a):"",i.logoImageUrl="other"===a?t?.image_style?.src:o(t,a),i.logoImageAlt="",i.mobileImageUrl="other"===a?t?.image_style?.src:o(t,a),i.mobileImageAlt="protected image",i.layout="fill",i.type="other"===a?"magazine_one_column":"default",i.desktopImage={src:"other"===a?t?.image_style?.src:o(t,a),alt:"protected image",styledimage:"other"===a?o(t,a):"",width:2880,height:1080},i},d=e=>{let t=[];for(let a of e)if(Array.isArray(a))t=t.concat(d(a));else if("object"==typeof a&&null!==a)for(let e of(Object.prototype.hasOwnProperty.call(a,"fieldPaywallRoles")&&(t=t.concat(a.fieldPaywallRoles)),Object.values(a)))"object"==typeof e&&null!==e&&(t=t.concat(d([e])));return t},u=e=>e?.filter(e=>null!==e);e.s(["filterNullValues",0,u,"findFieldPaywallRoles",0,d,"getAllRoles",0,i,"getAllRolesOTC",0,r,"getPaywalledImgData",0,c,"isEmptyDesc",0,s,"isPaywallProtected",0,n,"returnValIfnotPaywalled",0,l])},99836,e=>{"use strict";e.s(["default",()=>y],99836);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(49266),r=e.i(70184),n=e.i(5223),s=e.i(55439),l=e.i(87882),o=e.i(91788),c=e.i(41764),d=e.i(74807),u=e.i(82036),h=e.i(3265),f=e.i(61312);let p=async e=>{let t=e?.data??{},a=(0,f.isPaywallProtected)((0,u.default)(t,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,i=(0,f.getAllRoles)(t),r=e?.included?.filter(e=>e?.type==="paragraph--link_logo_paragraph"),n=[],s=(0,u.default)(t,"attributes.field_container_alignment")??"";return r?.map(e=>{let t=(0,f.isPaywallProtected)((0,u.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,a=(0,u.default)(e,"attributes.field_external_link_url.uri"),{imageUrl:i,alt:r,imageStyledUrl:s,width:l,height:o}=(0,h.getImageMeta)(e.relationships.field_logo),c=(0,u.default)(e,"attributes.field_information.processed")??"",d=t?null:{siteUrl:a,imageUrl:i,alt:r,imageStyledUrl:s,width:l,height:o,siteDesc:c};n.push(d)}),{buttonLabel:(0,u.default)(t,"attributes.info"),eCommerceSites:n,containerAlignment:s,isParentPaywalled:a,fieldPaywallRoles:i}};var m=e.i(15315);e.i(41871);var g=e.i(87612),b=e.i(10828),_=e.i(82108);let y=e=>{let u,h,f,m,y,v,A,w=(0,a.c)(19),{url:E}=e,[S,C]=(0,o.useState)(!1),[T,N]=(0,o.useState)(),k=(0,g.useMediaQuery)("(max-width: 991px)"),I=x;w[0]!==E?(u=async()=>{try{return await I(`/jsonapi${E}`)}catch(e){}},w[0]=E,w[1]=u):u=w[1];let{data:j}=(0,d.default)(E,u);w[2]!==S?(h=()=>{C(!S),S||(0,_.dataLayerPush)(b.EVENTS.BUY_NOW_CLICK,{event:"buy_now_click",eventType:"show_buy_now_link"})},w[2]=S,w[3]=h):h=w[3];let P=h;w[4]!==S?(f=e=>{(0,_.dataLayerPush)(b.EVENTS.BUY_NOW_CLICK,{event:"buy_now_click",eventType:"clicked-external-link",external_url:e}),window.open(e,c.URL_TARGET.BLANK,"noopener,noreferrer"),C(!S)},w[4]=S,w[5]=f):f=w[5];let L=f;w[6]!==j?(m=()=>{j&&p(j).then(e=>N(e))},y=[j],w[6]=j,w[7]=m,w[8]=y):(m=w[7],y=w[8]),(0,o.useEffect)(m,y),w[9]!==T||w[10]!==L||w[11]!==k||w[12]!==S?(v=()=>(0,t.jsx)(t.Fragment,{children:S&&T&&T?.eCommerceSites?.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`buyNow-list${T?.containerAlignment&&!k?" buyNow-list__container-"+T?.containerAlignment:""}`,children:T?.eCommerceSites.map((e,a)=>e?.imageUrl&&(0,t.jsxs)("li",{role:"menuitem",tabIndex:a+1,onClick:()=>L(e?.siteUrl),"aria-hidden":"true",className:"menuitem",children:[(0,t.jsxs)("div",{className:"menuitem-icon",children:[(0,t.jsx)(r.Img,{className:"menuitem-icon__logo",alt:e?.alt,src:e?.imageUrl,width:e?.width,height:e?.height,type:"icon"}
26),(0,t.jsx)(i.Icon,{iconName:"cartIcon",className:"buyNow-ContentRight-list"})]}),e?.siteDesc&&(0,t.jsx)(n.RichText,{className:"menuitem-icon__description",content:e?.siteDesc}),(0,t.jsx)(s.Seperator,{className:"separator","aria-hidden":"true"})]},a))}),(0,t.jsx)("div",{className:"dropdown-background",onClick:()=>C(!1),"aria-hidden":"true"})]})}),w[9]=T,w[10]=L,w[11]=k,w[12]=S,w[13]=v):v=w[13];let O=v;return w[14]!==T||w[15]!==O||w[16]!==P||w[17]!==S?(A=T&&Object.keys(T).length>0&&!T?.isParentPaywalled?(0,t.jsxs)("div",{className:"buyNow",children:[(0,t.jsxs)(l.default,{tabindex:0,onClick:P,className:`buyNow-btn ${S?"expanded":""}`,children:[(0,t.jsxs)("span",{className:"buyNow-ContentLeft",children:[(0,t.jsx)("span",{className:"buyNow-label",children:T?.buttonLabel}),(0,t.jsx)(i.Icon,{iconName:"cartIcon",className:"buyNow-ContentRight"})]}),S?(0,t.jsx)(i.Icon,{className:"buyNow-btn-chevron",iconName:"chevronUpBuyNow"}):(0,t.jsx)(i.Icon,{className:"buyNow-btn-chevron",iconName:"chevronDownBuyNow"})]}),O()]}):(0,t.jsx)(t.Fragment,{}),w[14]=T,w[15]=O,w[16]=P,w[17]=S,w[18]=A):A=w[18],A};async function x(e){return(await (0,m.middlewareGETAPI)(e)).response}},55613,e=>{"use strict";e.s(["default",()=>s],55613);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(26012);e.i(35958);var r=e.i(75227),r=r,n=e.i(60384);let s=e=>{let s,l=(0,a.c)(4),{src:o,titleText:c,onClose:d}=e,u=c??"";if(l[0]!==d||l[1]!==o||l[2]!==u){let e=(0,t.jsx)("div",{children:(0,t.jsx)(i.ModalBody,{content:(0,t.jsx)(r.default,{src:o,size:12,position:"centre",title:u,closeIcon:!0,onClose:d})})});s=(0,t.jsx)(n.ModalPortal,{className:"video-modal",modalContent:e,wrapperId:"react-portal-wrapper"}),l[0]=d,l[1]=o,l[2]=u,l[3]=s}else s=l[3];return s}},44376,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398);e.i(48756);var a=e.i(38233),i=e.i(17419),r=e.i(6271),n=e.i(5223),s=e.i(65218),l=e.i(91788);e.i(44314);var o=e.i(6858),c=e.i(55164),d=e.i(15464),u=e.i(55613);let h=({title:e,paragraph:h,isOverlay:f,isOverlayFontType:p,taxonomyLabel:m,cta_video_label:g,cta_video_src:b,cta_audio_src:_,cta_audio_label:y,titleSuperscript:x,hide_video_tags:v})=>{let[A,w]=(0,l.useState)(!1),E=()=>{w(!1)},{applicationTheme:S}=(0,l.useContext)(c.ApplicationThemeContext),C=(0,l.useMemo)(()=>{if(e)return(0,t.jsx)("h1",{className:"videoBannerContent-title",children:e});if(x){let e=o.load(x,{xmlMode:!1}),a=e("p")?.html();return(0,t.jsx)("h1",{className:"videoBannerContent-title",dangerouslySetInnerHTML:{__html:(0,d.DOMSanitizer)(a)}})}},[e,x]),T="",N="",k=()=>{let t="";("rebranding"===S||"rebranding-japan"===S||"jubbonti"===S||"wyost"===S||"biosimilarsinbone"===S||"hexal"===S||"vagidonna"===S)&&("on"===f&&"light"===p?T="text-overlay-dark":"on"===f&&"dark"===p&&(T="text-overlay"),N="light"===p?"font-light":"font-dark");try{""!==T&&e?.split(" ")?.map(e=>{e.length>14&&(t="extended-width")})}catch(e){t=""}return`videoBannerContent-textdata ${T} ${N} ${t}`},I=()=>(0,t.jsxs)("div",{className:"btn-grp",children:[b&&(0,t.jsx)(a.Button,{tabindex:0,isSecondary:!1,className:"videoBannerContent-grp",onClick:()=>w("video"),children:`${g}`}),_&&(0,t.jsx)(a.Button,{tabindex:0,isSecondary:!1,className:"videoBannerContent-grp",onClick:()=>w("audio"),children:`${y}`})]}),j=()=>{let e="";try{"hexal"===S&&""!==T&&(e=(0,t.jsx)("div",{className:"videoBannerContent-shader"})),"hexal"!==S&&(e=(0,t.jsx)("div",{className:"videoBannerContent-shader"}))}catch(t){e=""}return e};return(0,t.jsxs)(r.Container,{className:"videoBannerContent",children:[(0,t.jsxs)(i.Column,{mobile:12,tablet:"rebranding"===S||"rebranding-japan"===S||"jubbonti"===S||"wyost"===S||"biosimilarsinbone"===S||"vagidonna"===S?6:4,desktop:"rebranding"===S||"rebranding-japan"===S||"jubbonti"===S||"wyost"===S||"biosimilarsinbone"===S||"vagidonna"===S?5:4,className:k(),children:[v?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(t.Fragment,{children:m&&(0,t.jsx)(s.Taxonomy,{taxonomies:m,className:"videoBannerContent-taxonomy"})}),(0,t.jsxs)("div",{className:"videoBannerContent-text-style",children:[(0,t.jsx)(t.Fragment,{children:C&&(0,t.jsx)(t.Fragment,{children:C})}),h?(0,t.jsx)(n.RichText,{className:"videoBannerContent-text",content:h}):null,I(),A&&(0,t.jsx)(u.default,{titleText:e,src:"video"==A?b:_,onClose:E})]})]}),"rebranding"!==S&&"rebranding-japan"!==S&&"jubbonti"!==S&&"wyost"!==S&&"biosimilarsinbone"!==S&&"vagidonna"!==S?j():(0,t.jsx)(t.Fragment,{})]})}},3935,e=>{"use strict";let t={WIDTH:"100%",HEIGHT:"300"};e.s(["default",0,t])},74267,32787,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(97268),n=e.i(3172),s=e.i(14303);let l=e=>{let l,o,c,d,u,h,f=(0,a.c)(20),{iframeURL:p,width:m,height:g,title:b,classes:_,scroll:y,enableIframeResizer:x}=e,v=void 0!==y&&y,A=void 0!==x&&x,[w,E]=(0,i.useState)(!0);f[0]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{E(!1)},f[0]=l):l=f[0];let S=l;f[1]!==_||f[2]!==w?(o=()=>{let e=[w?"iframe-container-no-show":"iframe-container-show"].join(" ");return _?`${e} ${_}`:e},f[1]=_,f[2]=w,f[3]=o):o=f[3];let C=o;return f[4]!==b?(c=b&&(0,t.jsx)("h2",{className:"iframe-container-title",children:b}),f[4]=b,f[5]=c):c=f[5],f[6]!==w?(d=w&&(0,t.jsx)("div",{className:"iframe-container-loader",children:(0,t.jsx)("p",{children:(0,t.jsx)(r.default,{display:w})})}),f[6]=w,f[7]=d):d=f[7],f[8]!==A||f[9]!==C||f[10]!==g||f[11]!==p||f[12]!==v||f[13]!==b||f[14]!==m?(u=A?(0,t.jsx)(s.default,{license:n.default.LICENSE,offsetSize:40,src:p,style:{width:m||n.default.WIDTH,height:g},className:C(),onLoad:S}):(0,t.jsx)("iframe",{src:p,title:b,className:C(),onLoad:S,allowFullScreen:!0,width:m,height:g,scrolling:v?"yes":"no"}),f[8]=A,f[9]=C,f[10]=g,f[11]=p,f[12]=v,f[13]=b,f[14]=m,f[15]=u):u=f[15],f[16]!==c||f[17]!==d||f[18]!==u?(h=(0,t.jsxs)("div",{className:"iframe-container",children:[c,d,u]}),f[16]=c,f[17]=d,f[18]=u,f[19]=h):h=f[19],h};e.s(["default",0,l],32787),e.s(["Iframe",0,l],74267)},83725,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576),i=e.i(3935);e.i(48756);var r=e.i(74267);let n=e=>{let n,s=(0,a.c)(6),{iframeURL:l,width:o,height:c,title:d,enableIframeResizer:u}=e,h=o||i.default.WIDTH,f=c||i.default.HEIGHT;return s[0]!==u||s[1]!==l||s[2]!==h||s[3]!==f||s[4]!==d?(n=(0,t.jsx)(r.Iframe,{iframeURL:l,width:h,height:f,title:d,scroll:!0,enableIframeResizer:u}
26),s[0]=u,s[1]=l,s[2]=h,s[3]=f,s[4]=d,s[5]=n):n=s[5],n}},27389,e=>{"use strict";let t=e=>{if(0===e)return"0 B";let t=1e3,a=2,i=["B","Kb","Mb","Gb"],r=Math.floor(Math.log(e)/Math.log(1e3));return`${parseFloat((e/t**r).toFixed(a))} ${i[r]}`},a=e=>{switch(e){case"media_document":return"field_media_file";case"image":return"field_media_image";case"media_audio":return"field_media_audio_file";case"media_video":return"field_media_video_file";default:return""}};e.s(["convertFromBytes",0,t,"getMediaFile",0,a])},37966,34467,39612,13817,13923,e=>{"use strict";var t=e.i(61312),a=e.i(99523),i=e.i(81577),r=e.i(82036),n=e.i(27389),s=e.i(3265),l=e.i(75425),o=r,c=e.i(63137);let d=async e=>{let t=await (0,c.default)(e);return(t=t?.data)?{show_view_cta:(0,o.default)(t,"media_view_cta_toggle")===l.default.ONE,show_sort_cta:(0,o.default)(t,"media_sort_cta_toggle")===l.default.ONE,list_view_text:(0,o.default)(t,"list_view_text"),grid_view_text:(0,o.default)(t,"grid_view_text"),default_view:(0,o.default)(t,"default_view"),sort_cta_text:(0,o.default)(t,"sort_cta_text"),new_to_old_text:(0,o.default)(t,"new_to_old_text"),old_to_new_text:(0,o.default)(t,"old_to_new_text"),default_media_sort:(0,o.default)(t,"default_media_sort"),search_cta_text:(0,o.default)(t,"search_cta_text"),search_placeholder_text:(0,o.default)(t,"search_placeholder_text"),search_results_found:(0,o.default)(t,"search_results_found"),no_results_found_title:(0,o.default)(t,"no_results_found_title"),no_results_found_body:(0,o.default)(t,"no_results_found_body.value"),all_category_text:(0,o.default)(t,"all_category_text"),download_text_cta:(0,o.default)(t,"download_text_cta"),read_more_text_cta:(0,o.default)(t,"read_more_text_cta"),related_items_title:(0,o.default)(t,"media_related_items_title")}:{show_view_cta:!1,show_sort_cta:!1,list_view_text:"",grid_view_text:"",default_view:"",sort_cta_text:"",new_to_old_text:"",old_to_new_text:"",default_media_sort:"",search_cta_text:"",search_placeholder_text:"",search_results_found:"",no_results_found_title:"",no_results_found_body:"",all_category_text:"",download_text_cta:"",read_more_text_cta:"",related_items_title:""}};var u=e.i(15315),h=e.i(65921);let f=async(e,i)=>{if((0,t.isPaywallProtected)((0,r.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let l=(0,t.isPaywallProtected)((0,r.default)(e,"relationships.field_media_image")),{lang:o}=(0,u.getApiDomainAndLang)(),c=(0,h.default)()?i?.language:o,{imageUrl:f,alt:p,imageStyledUrl:m}=l?.isPaywallProtectedFlag?(0,t.getPaywalledImgData)(l?.errorObj):(0,s.getImageMeta)(e?.relationships?.field_media_image),g=await (0,s.getTaxonomy)(e?.relationships?.field_media_specialty?.links?.related?.href,!1,i),b=await d(i),_=(0,r.default)(e,"relationships.field_media_download.data.id"),y=(0,r.default)(e,"relationships.field_media_download.data.type"),x=y?.replace("media--",""),v=(0,n.getMediaFile)(x),{downloadFileLink:A}=await (0,s.getFileDetails)(_,x,v,i),w=(0,t.isPaywallProtected)((0,r.default)(e,"attributes.title")).isPaywallProtectedFlag?null:(0,r.default)(e,"attributes.title")??null,E=(0,t.isPaywallProtected)((0,r.default)(e,"attributes.published_date")).isPaywallProtectedFlag?"":(0,a.default)((0,r.default)(e,"attributes.published_date")).locale(c).format("MMMM DD, YYYY");return{relatedItemContent:{taxonomies:g??"",heading:w,text:(0,r.default)(e,"attributes.body.processed")??(0,r.default)(e,"attributes.body.value")??null,buttonLabel:b?.download_text_cta??"",linkExternal:!0,link:A??"",time:E},relatedItemImage:{alt:p,src:f??"",styledimage:m??null}}},p=async(e,a,r,n,l)=>{if(!e)throw(0,i.consoleError)(`URL parameter is undefined in ${p.name}.`);let o=e.includes("?"),{data:c}=await (0,s.getBlockData)(`${e}${o?"&":"?"}views-argument[0]=${r}&views-argument[1]=${a}`,!1,l),u=(0,t.getAllRoles)(c),h=await d(l),m=await Promise.all(c.map(async e=>f(e,l)));return{relatedItemsTitle:h?.related_items_title,slidesInfo:(0,t.filterNullValues)(m),fieldPaywallRoles:u}},m=p;e.s(["default",0,m],37966);var g=t,b=r,_=i,y=n,x=l;function v(e,t){return e.reduce((e,a)=>(e[a[t]]||(e[a[t]]=[]),e[a[t]].push(a),e),{})}let A=e=>e?Math.round(e/x.default.HUNDRED*x.default.TWELVE):x.default.TWELVE,w=(e,t)=>e.filter(e=>t.find(t=>t.question===e.name._text&&t.answer===e.exchange._text)),E=v;e.s(["default",0,E,"filterByReference",0,w,"getColsByPercentage",0,A,"groupBy",0,v],34467);var S=s;let C=async(e,t)=>{if((0,g.isPaywallProtected)((0,b.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let a=(0,g.isPaywallProtected)((0,b.default)(e,"relationships.field_media_image")),{imageUrl:i,alt:r,imageStyledUrl:n}=a?.isPaywallProtectedFlag?(0,g.getPaywalledImgData)(a?.errorObj):(0,S.getImageMeta)(e?.relationships?.field_media_image),s=await (0,S.getTaxonomy)((0,b.default)(e,"relationships.field_media_category.links.related.href")??"")??null,l=await (0,S.getTaxonomy)((0,b.default)(e,"relationships.field_media_specialty.links.related.href")??"")??null,o=(0,b.default)(e,"relationships.field_media_download.data.id"),c=(0,b.default)(e,"relationships.field_media_download.data.type"),d=c?.replace("media--",""),u=(0,y.getMediaFile)(d),{fileSize:h,downloadFileLink:f}=await (0,S.getFileDetails)(o,d,u,t);return{taxonomyLabel:Array.isArray(s)?s?.[0]?.taxonomyLabel??"":"",fieldMediaSpecialties:l,title:(0,g.isPaywallProtected)((0,b.default)(e,"attributes.title")).isPaywallProtectedFlag?null:(0,b.default)(e,"attributes.title")??null,changedDate:(0,g.isPaywallProtected)((0,b.default)(e,"attributes.corrected_date")).isPaywallProtectedFlag?null:(0,b.default)(e,"attributes.corrected_date")??null,readMore:(0,b.default)(e,"attributes.path.alias")??null,body:(0,b.default)(e,"attributes.body.processed")??(0,b.default)(e,"attributes.body.value")??null,imageUrl:i??"",alt:r??null,styledimage:n??null,downloadFileLink:f??null,fileSize:h??null}},T=async(e,...t)=>{if(!e)throw(0,_.consoleError)(`URL parameter is undefined in ${T.name}.`);let a=t?.[3],i=await (0,S.getBlockData)(`${e}`,!1,a),r=await d(a),n=i?.data??[],s=(0,g.getAllRoles)(n),l=await Promise.all(n.map(async e=>C(e,a))),o=v(l,"taxonomyLabel"),c=Object.keys(o),u=[];
26return c.forEach(e=>{let t={};t.category=e,t.results=o[e],u.push(t)}),{searchedPhrase:null,itemsPerPage:9,allCards:(0,g.filterNullValues)(l),searchResults:u,mediaLibConfig:r,fieldPaywallRoles:s}},N=T;e.s(["default",0,N],39612);var k=t,I=i,j=n,P=r,L=s;let O=async(e,...t)=>{if(!e)throw(0,I.consoleError)(`URL parameter is undefined in ${O.name}.`);let a=t?.[0],i=t?.[3],r=e.includes("?"),{data:n}=await (0,L.getBlockData)(`${e}${r?"&":"?"}views-argument[0]=${a}`,!1,i),s=n.length?n[0]:{},l=(0,k.isPaywallProtected)((0,P.default)(s,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,o=(0,k.getAllRoles)(s),c=(0,k.isPaywallProtected)(s?.attributes?.title).isPaywallProtectedFlag?"":s?.attributes?.title??"",u=(0,k.isPaywallProtected)(s?.attributes?.published_date).isPaywallProtectedFlag?null:s?.attributes?.published_date??null,h=s?.attributes?.body?.processed??"",f=(0,P.default)(s,"attributes.field_media_sub_heading.processed")??"",p=(0,P.default)(s,"attributes.field_sub_heading_description.processed")??"",m=(0,k.isPaywallProtected)((0,P.default)(s,"relationships.field_media_image")),g=(0,P.default)(s,"relationships.field_media_image.data.id")??"",b=await d(i),{imageUrl:_,alt:y,caption:x,imageStyledUrl:v}=m?.isPaywallProtectedFlag?(0,k.getPaywalledImgData)(m?.errorObj):await (0,L.getImage)(g,"","",i),A={imageUrl:_?[{alt:y,src:_,caption:x??null,styledimage:v??null}]:[]},w=(0,P.default)(s,"relationships.field_media_download.data.id"),E=(0,P.default)(s,"relationships.field_media_download.data.type"),S=E?.replace("media--",""),C=(0,j.getMediaFile)(S),{fileSize:T,downloadFileLink:N}=await (0,L.getFileDetails)(w,S,C,i);return{date:u,title:c,body:h,alignment:n.length?n[0]?.attributes?.field_alignment:"center",fieldMediaSubHeading:f,fieldSubHeadingDescription:p,newsAndStories:A,taxonomyLabel:N,mediaLibConfig:b,fileSize:T,fieldPaywallRoles:o,isParentPaywalled:l}},D=O;e.s(["default",0,D],13817);var M=i,R=r,F=u,B=l,U=t,H=s,$=c;let G=async(e,t)=>{let a=await (0,H.getTaxonomy)((0,R.default)(e,"relationships.field_office_city.links.related.href")??"",!1,t)??null,i=await (0,H.getTaxonomy)((0,R.default)(e,"relationships.field_office_country.links.related.href")??"",!0,t)??null,r=await (0,H.getTaxonomy)((0,R.default)(e,"relationships.field_office_division.links.related.href")??"",!0,t),n=[];return r.length&&(n=r.map(t=>({address:(0,R.default)(e,"attributes.body.processed")??(0,R.default)(e,"attributes.body.value")??null,fieldOfficeFax:(0,R.default)(e,"attributes.field_office_fax.value")??"",fieldOfficePhoneNumber:(0,R.default)(e,"attributes.field_office_phone_number.value")??"",fieldOfficeTitle:(0,R.default)(e,"attributes.field_office_title.value")??"",fieldOfficeWebsite:(0,R.default)(e,"attributes.field_office_website.value")??"",city:a??"",country:i??"",division:t,divisionName:t?.taxonomyID,countryName:i?.[0].taxonomyID??null}))),n},W=async e=>{let t=await (0,$.default)(e);return t=t?.data,{country_dropdown:{label:(0,R.default)(t,"loc_country_label"),search_placeholder:(0,R.default)(t,"loc_search_country_placeholder"),default:null,no_results:(0,R.default)(t,"loc_dd_no_results_found")},division_dropdown:{label:(0,R.default)(t,"loc_division_label"),search_placeholder:(0,R.default)(t,"loc_search_division_placeholder"),default:(0,R.default)(t,"loc_default_division_text"),no_results:(0,R.default)(t,"loc_dd_no_results_found")},no_results_text:(0,R.default)(t,"loc_no_results_found"),results_found_text:(0,R.default)(t,"loc_search_results_found"),default_country:(0,R.default)(t,"default_country"),address_labels:{fax:(0,R.default)(t,"loc_fax_label"),phone:(0,R.default)(t,"loc_ph_label")},display_division_dropdown:1===(0,R.default)(t,"loc_division_display")}},Y=async(e,t)=>{let a=await (0,F.getApi)(`/jsonapi/taxonomy_term/location_${e}`,!0,t);return(a?.data??[]).map(e=>{let t={};return t.id=e?.attributes?.drupal_internal__tid,t.value=e?.attributes?.drupal_internal__tid,t.label=e?.attributes?.name,t})},z=async(e,...t)=>{if(!e)throw(0,M.consoleError)(`URL parameter is undefined in ${z.name}.`);let a=t?.[3],[i,r,n,s]=await Promise.all([(0,H.getBlockData)(`${e}`,!1,a),W(a),Y("country",a),Y("division",a)]),l=i?.data??[],o=(0,U.getAllRoles)(l);return{locationConfig:r,allCountry:n,allDivision:s,locationGroupData:(await Promise.all(l.map(async e=>G(e,a)))).flat(B.default.ONE),fieldPaywallRoles:o}},V=z;e.s(["default",0,V],13923)},50421,19996,71560,15097,68712,28827,8016,79470,45891,82590,59685,87656,65363,94661,60255,883,84053,85077,93176,e=>{"use strict";
26var t=e.i(61312),a=e.i(81577),i=e.i(82036),r=e.i(3265);let n=async(e,...s)=>{if(!e)throw(0,a.consoleError)(`URL parameter is undefined in ${n.name}.`);let l=s?.[3],o=await (0,r.getBlockData)(`${e}`,!1,l),c=(0,t.isPaywallProtected)((0,i.default)(o,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,d=o?.data??[],u=(0,t.getAllRoles)(d);return{fieldCstKeyAttrValues:(0,t.isPaywallProtected)((0,i.default)(d,"attributes.field_cst_key_attr_values")).isPaywallProtectedFlag?"":(0,i.default)(d,"attributes.field_cst_key_attr_values")??[],cstXMLLink:(0,i.default)(d,"attributes.field_cst_xml_link.value"),fieldPaywallRoles:u,isParentPaywalled:c}},s=n;e.s(["default",0,s],50421);var l=t,o=a,c=i,d=r;let u=async(e,...t)=>{if(!e)throw(0,o.consoleError)(`Common search Api URL parameter is undefined in ${u.name}.`);let a=t?.[3],i=await (0,d.getBlockData)(`${e}`,!1,a),r=(0,l.isPaywallProtected)((0,c.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,l.getAllRoles)(i),s=i?.data??{},h=(0,l.isPaywallProtected)((0,c.default)(s,"attributes.field_seach_input")).isPaywallProtectedFlag?null:(0,c.default)(s,"attributes.field_seach_input");return{field_seach_input:h,field_search_cta_link:(0,d.filterURL)((0,c.default)(s,"attributes.field_search_cta_link.uri")),field_search_cta_text:(0,l.isPaywallProtected)((0,c.default)(s,"attributes.field_search_cta_text")).isPaywallProtectedFlag?null:(0,c.default)(s,"attributes.field_search_cta_text"),fieldPaywallRoles:n,isParentPaywalled:r}},h=u;e.s(["default",0,h],19996);var f=i,p=a,m=e.i(41764),g=t,b=r;let _=async(e,...t)=>{if(!e)throw(0,p.consoleError)(`URL parameter is undefined in ${_.name}.`);let a=t?.[3],{data:i}=await (0,b.getBlockData)(`${e}`,!1,a),r=(0,g.isPaywallProtected)((0,f.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,g.getAllRoles)(i);return{cardInfo:{field_quick_link_card_title:(0,f.default)(i,"attributes.field_quick_link_card_title.value")??"",body:(0,f.default)(i,"attributes.body.processed")??(0,f.default)(i,"attributes.body.value")??null,field_card_link:(0,b.filterURL)((0,f.default)(i,"attributes.field_card_link.uri"))??"",field_card_title:(0,f.default)(i,"attributes.field_card_link.title")??"",field_link_target:(0,b.filterURL)((0,f.default)(i,"attributes.field_card_link.options.attributes.target"))??m.URL_TARGET.SELF},fieldPaywallRoles:n,isParentPaywalled:r}},y=_;e.s(["default",0,y],71560);var x=a,v=e.i(72094),A=e.i(15315),w=e.i(75425),E=e.i(63137);let S="st_sc_field",C="comments",T=e=>{let t=e?.multiple??!1,a=t?e.operator:null;return{isMultiCheck:t,multiCheckOperator:a,conditions:Object.entries((Object.entries(e||{}).reduce((e,[t,a])=>{if("multiple"===t||"operator"===t)return e;let i={...e};try{if(t.indexOf("parentField")>=0){let e=t.replace("parentField","")||"0";i[e]={id:e,selector:a.replace(/[^a-zA-Z[_ 0-9]+/g,"")}}if(t.indexOf("value")>=0){let e=t.replace("value","")||"0";i[e]&&(i[e]={...i[e],value:a,operator:"boolean"==typeof a?"checked":"equal"})}}catch(e){}return i},{})??null)||{}).map(([,e])=>e)??[]}},N=e=>e["#scout_field_type"]===S?e["#scout_field_name"]||null:e["#scout_field_type"]===C&&e["#comment_field_name"]||null,k=e=>"smart_mi_country"!==e["#webform_key"]?Object.entries(e["#options"]||{}).map(([e,t],a)=>({label:t,value:e,id:a}))??[]:Object.keys(e["#options"]||{}).map((t,a)=>({label:e["#options"]?.[t]?.display_name,value:t,countryCode:e["#options"]?.[t]?.country_code,id:a}))??[],I=(e,t)=>{let a=e["#options"];if(!a||!a.hasOwnProperty(t))return null;let i=a[t],r={id:Object.keys(a).indexOf(t),value:"smart_mi_country"===e["#webform_key"]?t:i.optionKey,label:"smart_mi_country"===e["#webform_key"]?i.display_name:i.optionValue};return"smart_mi_country"===e["#webform_key"]&&(r.countryCode=i?.country_code),r},j=(e,t=!1)=>{switch(e["#type"]){case"textfield":case"date":case"webform_time":case"number":case"textarea":return{type:e["#type"]??"text",label:e["#title"]??"",formName:e["#webform"]??"",isDisabled:e["#disabled"]??!1,key:e["#webform_key"]??"",validations:{mandatory:{required:e["#required"]??!1,message:e["#required_error"]??""},pattern:{required:!!e["#pattern"],regEx:e["#pattern"]??"",message:e["#pattern_error"]??""},counter:{counterMinimum:e["#counter_minimum"]??null,counterMaximum:e["#counter_maximum"]??null,counterMaximumMessage:e["#counter_maximum_message"]??""}},maxLength:e["#maxlength"]??null,validationErrorMessage:e["#required_error"]??"",inputField:{name:e["#webform_key"],placeholder:e["#placeholder"]??"",required:e["#required"]??!1},wrapper_attributes:e["#wrapper_attributes"]??"",description:e["#description"]??"",helpText:e["#help_title"]??"",helpDescription:e["#help"]??"",conditionalShow:e["#states"]?.visible?T(e["#states"]?.visible):null,scoutFieldName:N(e),toolTipText:e["#tooltip"]??null,readOnly:e["#readonly"]??!1};case"tel":case"email":return{type:e["#type"]??"text",label:e["#title"]??"",formName:e["#webform"]??"",isDisabled:e["#disabled"]??!1,key:e["#webform_key"]??"",validations:{mandatory:{required:"consent_collection"===e["#webform"]?e["#required"]??!1:(e["#required"]||t)??!1,message:"consent_collection"===e["#webform"]?e["#required_error"]??e["#placeholder"]:t?e["#placeholder"]:e["#required_error"]??""},pattern:{required:!!e["#pattern"],regEx:e["#pattern"]??"",message:e["#pattern_error"]??""}},maxLength:e["#maxlength"]??null,validationErrorMessage:e["#required_error"]??"",inputField:{name:e["#webform_key"],placeholder:e["#placeholder"]??"",required:"consent_collection"===e["#webform"]?e["#required"]??!1:(e["#required"]||t)??!1},wrapper_attributes:e["#wrapper_attributes"]??"",description:e["#description"]??"",helpText:e["#help_title"]??"",helpDescription:e["#help"]??"",conditionalShow:e["#states"]?.visible?T(e["#states"]?.visible):null,scoutFieldName:N(e),toolTipText:e["#tooltip"]??null};case"checkbox":case"consent_checkbox":return{type:e["#type"],title:e["#title"]??"",label:e["#label"]??"",id:e["#webform_id"],value:e["#title"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??"",validations:{mandatory:{required:e["#required"]??!1,message:e["#required_error"]??""}},customGroupAttr:e["#custom_group_attr"]&&"object"==typeof e["#custom_group_attr"]&&e["#custom_group_attr"]?.parent&&"object"==typeof e["#custom_group_attr"].parent&&"tag"in e["#custom_group_attr"].parent?e["#custom_group_attr"].parent:null,wrapper_attributes:e["#wrapper_attributes"]??"",isDisabled:e["#disabled"]??!1,isChecked:e["#default_value"]??!1,description:e["#description"]??"",helpText:e["#help_title"]??"",helpDescription:e["#help"]??"",isRequired:e["#required"]??!1,conditionalShow:e["#states"]?.visible?T(e["#states"]?.visible):null,scoutFieldName:N(e)};case"select":case"webform_term_select":case"checkboxes":case"radios":return{type:e["#type"]??"text",label:e["#title"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??"",placeholder:e["#empty_option"]??"",isDisabled:e["#disabled"]??!1,validations:{mandatory:{required:e["#required"]??!1,message:e["#required_error"]??""}},isMulti:e["#multiple"]??!1,validationErrorMessage:e["#required_error"]??"",options:k(e),description:e["#description"]??"",helpText:e["#help_title"]??"",helpDescription:e["#help"]??"",isBtnStyled:e["#attributes"]?.class?.indexOf("custom-button-element")>=0,wrapper_attributes:e["#wrapper_attributes"]??"",conditionalShow:e["#states"]?.visible?T(e["#states"]?.visible):null,scoutFieldName:N(e),defaultValue:e["#default_value"]?I(e,e["#default_value"]):null};case"webform_email_confirm":{let t={label:e["#title"]??"",maxLength:e["#maxlength"]??null,isDisabled:e["#disabled"]??!1,inputField:{name:e["#webform_key"],placeholder:e["#placeholder"]??"",required:e["#required"]??!1}},a={label:e["#confirm__title"]??"",maxLength:e["#maxlength"]??null,isDisabled:e["#disabled"]??!1,confirmEmailReqMsg:e["#required_confirm_email_error"]??"",inputField:{name:e["#webform_key"],placeholder:e["#confirm__placeholder"]??"",required:e["#required"]??!1}};return{type:e["#type"]??"text",formName:e["#webform"]??"",key:e["#webform_key"]??"",isDisabled:e["#disabled"]??!1,description:e["#description"]??"",helpText:e["#help_title"]??"",helpDescription:e["#help"]??"",validationErrorMessage:e["#error_mismatch_email"]??"",validations:{mandatory:{required:e["#required"]??!1,message:e["#required_error"]??""},pattern:{required:!!e["#pattern"],regEx:e["#pattern"]??"",message:e["#pattern_error"]??""}},wrapper_attributes:e["#wrapper_attributes"]??"",email:t,confirmEmail:a,conditionalShow:e["#states"]?.visible?T(e["#states"]?.visible):null}}case"custom_recaptcha_element":return{type:e["#type"]??"",isDisabled:e[" #enable_captcha"]===w.default.ZERO,formName:e["#webform"]??"",key:e["#webform_key"]??"",recaptchaSiteKey:v.config?.recapchaKey??""};case"webform_actions":return{text:e["#submit__label"]??"webform action",url:e["#submit_url"]??"#",type:"button",role:"submit",isDisabled:e["#disabled"]??!1,formName:e["#webform"]??"",key:e["#webform_key"]??"",wrapper_attributes:e["#wrapper_attributes"]??"",conditionalShow:e["#states"]?.visible?T(e["#states"]?.visible):null};case"label":return{text:e["#title"]??"",url:"#",type:"button",role:"reset",isDisabled:e["#disabled"]??!1,formName:e["#webform"]??"",key:e["#webform_key"]??"",wrapper_attributes:e["#wrapper_attributes"]??"",conditionalShow:e["#states"]?.visible?T(e["#states"]?.visible):null};case"processed_text":return{type:e["#type"],text:e["#text"]??"",formName:e["#webform"]??"",isDisabled:e["#disabled"]??!1,key:e["#webform_key"]??"",wrapper_attributes:e["#wrapper_attributes"]??"",conditionalShow:e["#states"]?.visible?T(e["#states"]?.visible):null};case"hidden":return{type:e["#type"],isDisabled:e["#disabled"]??!1,key:e["#webform_key"]??""};case"webform_autocomplete":return{type:e["#type"],buttonLabel:e["#soi2_search_btn_label"]??"null",placeholder:e["#placeholder"],key:e["#webform_key"],id:e["#webform_id"],title:e["#title"],description:e["#description"]??null,searchLabel:e["#admin_title"]??null,fieldName:e["#webform_parents"]??null,productFoundText:e["#product_found_text"]??null,validations:{mandatory:{required:e["#required"]??!1,message:e["#required_error"]??""}}};default:return{type:e["#type"]??"text"}}},P=async(e,...t)=>{if(!e)throw(0,x.consoleError)(`URL parameter is undefined in ${P.name}.`);let a=t?.[3],i=await (0,A.getApi)(e,!1,a),r={error_message:"",success_message:"",warning_message:"",message_close_success:!1,message_close_error:!1},n=await (0,E.default)(a);n=n?.data;let s=n?.enable_smart_med_mandatory_email_phone!==0,l="",o="",c=i?.redirect_to?i.redirect_to:null,d="";
26return{fields:(i?Object.entries(i).reduce((e,[t,a])=>a&&"object"==typeof a?"success"===t||"soi_2_success_msg"===t?(r.success_message=a["#message_message"],r.message_close_success=a["#message_close"]??!1,e):"error"===t||"soi_2_error_msg"===t?(r.error_message=a["#message_message"],r.message_close_error=a["#message_close"]??!1,e):"warning"===t?(r.warning_message=a["#message_message"],e):"webform_flexbox"===a["#type"]?(d=a["#align_items"]||"",e):"sendout_taxonomy_details"===t?[...e,{logoFieldValue:a}]:"category_type"===a["#type"]?(l=a["#value"]||"",e):!0===a["#input_hide"]?e:("rest_api_url"==t&&(o=a["#preFetchUrl"]||""),[...e,j(a,s)]):e,[]):[])??null,notificationMessages:r,webformAlignment:d,categoryType:l,redirectUrl:c,prefetchUrl:o,rawWebFormData:i}},L=P;e.s(["default",0,L],15097);var O=t,D=i,M=e.i(99523),R=r,F=E,B=A;let U=async e=>await (0,B.getApi)("/jsonapi/taxonomy_term/speciality_vocabulary",!0,e),H=async e=>{let t=await U(e);t=t?.data;let a=[];return t?.map(e=>{a.push({id:e?.attributes?.drupal_internal__tid,value:e?.attributes?.name,label:e?.attributes?.name})}),a};e.s(["default",0,H],68712);var $=A;let G=async e=>await (0,$.getApi)("/jsonapi/taxonomy_term/alphabethical_order",!0,e);e.s(["default",0,G],28827);var W=A;let Y=async e=>await (0,W.getApi)("/jsonapi/taxonomy_term/archive_year",!0,e);e.s(["default",0,Y],8016);var z=A,V=e.i(65921);let K=async e=>{let t=await Y(e),a=[];return t?.data?.map(e=>{a.push({id:e?.attributes?.drupal_internal__tid,value:e?.attributes?.name,label:e?.attributes?.name})}),a},q=async e=>{let t=await (0,F.default)(e);return(t=t?.data)?{searchLabel:t?.education_search_cta_text??null,AlphaLabel:t?.education_all_category_text??null,FormLabel:t?.education_from_text??null,clearLabel:t?.education_search_clear_all_text??null,other_category_text:t?.education_other_category_text??null,buttonLabel:t?.news_n_stories_cta_button??null}:null},Q=async e=>{let t=await G(e);t=t?.data;let a=[];return t?.map((e,t)=>{a.push({id:t,value:e?.attributes?.name,label:e?.attributes?.name})}),a},Z=async(e,...t)=>{let a=t?.[3],i=await H(a),r=await Q(a),n=await K(a),s=await q(a),l={advanceFilterData:{buttonText:s?.searchLabel,filtersOptions:[{label:s?.AlphaLabel,selectOptions:{isCleared:!0,isMulti:!0,options:r,ariaLabel:"Select Element",name:"select"}},{label:s?.other_category_text,selectOptions:{options:i,ariaLabel:"Select Element",name:"select",isMulti:!0,placeHolder:"Select Option"}},{label:s?.FormLabel,selectOptions:{isCleared:!0,options:n,ariaLabel:"Select Element",name:"select",isMulti:!0}}]},filterTitle:"Filter through the courses",clearAllText:s?.clearLabel??"",labelItemsSelected:" selected"},o=await (0,R.getBlockData)(e,!1,a),{lang:c}=(0,z.getApiDomainAndLang)();(0,V.default)()&&a?.language,o=o?.data??[];let d=(0,O.getAllRoles)(o);return o&&(o=await Promise.all(o?.map(async e=>{if((0,O.isPaywallProtected)((0,D.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,O.isPaywallProtected)(e?.relationships?.field_nas_image),{imageUrl:i,alt:r,imageStyledUrl:n}=t?.isPaywallProtectedFlag?(0,O.getPaywalledImgData)(t?.errorObj):(0,R.getImageMeta)(e?.relationships?.field_nas_image),l=await (0,R.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0,a),o=await (0,D.default)(e,"relationships.field_news_category.data.meta.drupal_internal__target_id"),d=(0,M.default)(e?.attibutes?.created).locale(c).format("YYYY")??null,u=e?.attributes?.field_news_published_date??null;return{newsStoriesContent:{id:e?.attributes?.drupal_internal__nid??"",taxonomies:l??null,heading:(0,O.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??"",text:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,summary:e?.attributes?.body?.summary?e?.attributes?.body?.summary:null,field_intro:e?.attributes?.field_intro?.processed?e?.attributes?.field_intro?.processed:null,date:(0,O.isPaywallProtected)(e?.attributes?.field_news_published_date).isPaywallProtectedFlag?null:u,buttonLabel:(0,D.default)(e,"attributes.field_cta_nas.title")||s?.buttonLabel,buttonUrl:e?.attributes?.path?.alias?(0,R.filterURL)(e?.attributes?.path?.alias):(0,D.default)(e,"attributes.field_cta_nas.uri"),bookmark:{addText:"Add Bookmark",removeText:"Remove Bookmark",bookmarkStatus:!1,isButton:!1}
26,isButtonUrlExternal:e?.attributes?.field_cta_nas?.options?.attributes?.target?(0,R.isExternalLink)(e?.attributes?.field_cta_nas?.options?.attributes?.target):null},specialityId:o,createdDate:(0,O.isPaywallProtected)(e?.attibutes?.created).isPaywallProtectedFlag?null:d,imageSrc:i??null,imgAlt:r??null,styledimage:n??null}}))),{nasFilterData:l,latestNewsStoriesCards:(0,O.filterNullValues)(o),pagination:{itemsPerPage:9,itemsPerPageMobile:9},fieldPaywallRoles:d}};e.s(["default",0,Z],79470);var X=t,J=i,ee=r,et=a;let ea=e=>{let t=(0,X.isPaywallProtected)((0,J.default)(e,"attributes.field_display_variations")).isPaywallProtectedFlag?null:(0,J.default)(e,"attributes.field_display_variations")??null,a=t?.split("_");return a&&Number(a[0])},ei=async(e,...t)=>{if(!e)throw(0,et.consoleError)(`URL parameter is undefined in ${ei.name}.`);let a=t?.[3],i=await (0,ee.getBlockData)(`${e}`,!1,a),r=i?.data,n=(0,X.isPaywallProtected)((0,J.default)(r,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,s=(0,X.getAllRoles)(r),l=(0,J.default)(r,"attributes.body.processed")??null,o=ea(r)??12;return{src:l,title:(0,J.default)(r,"attributes.field_media_container_title.value")??null,position:(0,X.isPaywallProtected)((0,J.default)(r,"attributes.field_alignment_styles")).isPaywallProtectedFlag?null:(0,J.default)(r,"attributes.field_alignment_styles")??null,size:o,fieldPaywallRoles:s,isParentPaywalled:n}},er=ei;e.s(["default",0,er],45891);var en=a,es=v,el=w,eo=A,ec=r;let ed=async(e,t)=>{let a=e?.topics?Object?.entries(e.topics).map(([e,t],a)=>({id:e,value:e,label:t,isDisabled:!1,isSelected:!1,key:e}))??[]:[];if(0===a.length){let e=await (0,ec.getTaxonomy)("/jsonapi/taxonomy_term/topics",!0,t),a=[];if(e&&Array.isArray(e))return e?.forEach((e,t)=>{a.push({id:e.taxonomyID,value:e.taxonomyID,label:e.taxonomyLabel,isDisabled:!1,isSelected:!1,key:e.taxonomyID})}),a}return a},eu=async(e,...t)=>{let a=t?.[2],i=t?.[3];if(!e)throw(0,en.consoleError)(`URL parameter is undefined in ${eu.name}.`);let r=await (0,eo.getApi)(e,!1,i),n={error_message:r?.error_message?.["#message_message"]||""},s=r?.topics?.["#default_value"]?.[0]||"",l=await ed(a,i);l.length>1&&""!==s&&l.unshift({id:el.default.NEWSLETTER_SIGNUP_VALUE,value:s,label:s,isDisabled:!1,isSelected:!1,key:el.default.NEWSLETTER_SIGNUP_VALUE}),l?.sort((e,t)=>e?.label?.localeCompare(t?.label));let o=e=>{switch(e["#type"]){case"select":return[{type:"text",title:e["#description"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??"",label:e["#title"]??""},{type:e["#type"],formName:e["#webform"]??"",key:e["#webform_key"]??"",placeholder:e["#empty_option"]??"",options:Object.entries(e["#options"]||{}).map(([e,t],a)=>({key:e,value:t,id:a,label:t}))??[],multiple:e["#multiple"]??!1,class:e["#attributes"]?.class.includes("custom-button-element")||!1,label:e["#title"]??""}];case"textfield":case"tel":case"email":return[{type:"text",title:e["#description"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??""},{type:e["#type"]??"text",label:e["#title"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??"",validations:{mandatory:{required:e["#required"]??!1,message:e["#required_error"]??""},pattern:{required:!!e["#pattern"]??!1,regEx:e["#pattern"]??"",message:e["#pattern_error"]??""},minLength:{required:e["#counter_minimum"]??!1,length:e["#counter_minimum"]??null,message:e["#counter_maximum_message"]??""}},validationErrorMessage:e["#required_error"]??"",maxLength:e["#maxlength"]||e["#counter_maximum"]||null,inputField:{name:e["#webform_key"],placeholder:e["#placeholder"]??"",required:e["#required"]??""}}];case"checkbox":return{type:e["#type"],label:e["#description"]??"",id:e["#webform_id"],value:e["#description"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??"",isDisabled:!1,isChecked:!1,isRequired:e["#required"]??!1};case"webform_actions":return{text:e["#submit__label"]??"",url:e["#submit_url"]??"#",type:"button",role:"submit",formName:e["#webform"]??"",key:e["#webform_key"]??""};case"label":return{text:e["#title"]??"",url:"#",type:"button",role:"reset",formName:e["#webform"]??"",key:e["#webform_key"]??""};case"webform_term_select":return[{type:"text",title:e["#description"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??""},{type:e["#type"],formName:e["#webform"]??"",key:e["#webform_key"]??"",options:l,multiple:e["#multiple"]??!1}];case"custom_recaptcha_element":return{type:e["#type"]??"",title:e["#title"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??"",recaptchaSiteKey:es.config?.recapchaKey??"",isDisabled:e["#enable_captcha"]===el.default.ZERO};default:return{type:e["#type"]??"text"}}};if(!r)return[];let c=Object.entries(r).reduce((e,[,t])=>
26{if(t&&"object"==typeof t){let a=o(t);Object.keys(t).includes("#attributes")&&t["#attributes"]?.class?.forEach(t=>{if(t.indexOf("custom-element-step")>=0){let i=t;e[i]||(e[i]=[]),e[i].push(a)}})}return e},{}),d=[];return Object.values(c).forEach(e=>{if(!Array.isArray(e))return d.push(e);d.push(e.flat())}),{sections:d,notificationMessages:n}},eh=eu;e.s(["default",0,eh],82590);var ef=e.i(50461),ep=t,em=i,eg=r,eb=a,e_=M,ey=m;let ex=e=>e?{buttonState:e?.attributes?.event_button?.button_state??null,register:{buttonCta:e?.attributes?.event_button?.register?.button_cta??null,apiUrl:e?.attributes?.event_button?.register?.api_url??null},registered:{message:e?.attributes?.event_button?.registered?.message??null},invited:{message:e?.attributes?.event_button?.invited?.message??null,buttonCtaAccept:e?.attributes?.event_button?.invited?.button_cta_accept??null,buttonCtaReject:e?.attributes?.event_button?.invited?.button_cta_reject??null,apiUrlAccept:e?.attributes?.event_button?.invited?.api_url_accept??null,apiUrlReject:e?.attributes?.event_button?.invited?.api_url_reject??null,attendeeAccId:e?.attributes?.event_button?.invited?.SCT_Attendee_Account__Id??null},noAccess:{buttonCta:e?.attributes?.event_button?.no_access?.button_cta??null,apiUrl:e?.attributes?.event_button?.no_access?.api_url??null},eventId:e?.attributes?.field_event_id??""}:null;e.s(["getScoutEventData",0,ex],59685);var ev=A;let eA=async(e,...t)=>{let a=t?.[3];if(!e)throw(0,eb.consoleError)(`URL parameter is undefined in ${eA.name}.`);let i=e.includes("?"),r=await (0,eg.getBlockData)(`${e}${i?"&":"?"}include=field_reference_tags`,!1,a),n="",s="",l="",o=ef.default.env.KALTURA_PARTNER_ID,c=(0,ep.isPaywallProtected)((0,em.default)(r,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,d=(0,ep.getAllRoles)(r),u=(0,ep.isPaywallProtected)((0,em.default)(r,"data.relationships.field_hero_banner_desktop_image")),h=(0,ep.isPaywallProtected)((0,em.default)(r,"data.relationships.field_hero_banner_mobile_image")),{imageUrl:f,alt:p,imageStyledUrl:m}=u.isPaywallProtectedFlag?(0,ep.getPaywalledImgData)(u?.errorObj):(0,eg.getImageMeta)(r?.data?.relationships?.field_hero_banner_desktop_image),g=null;try{let e=r?.data?.relationships?.field_stock_ticker?.links?.related?.href;if(e){let t=await (0,ev.getApi)(e,!1,a);g=(0,em.default)(t,"data.attributes")}}catch(e){console.error(e)}let{imageUrl:b,alt:_,imageStyledUrl:y}=h.isPaywallProtectedFlag?(0,ep.getPaywalledImgData)(h?.errorObj):(0,eg.getImageMeta)(r?.data?.relationships?.field_hero_banner_mobile_image),x=(0,em.default)(r,"data.attributes.field_hero_banner_upload_type")??null,v=(0,em.default)(r,"data.attributes.field_sound_controls")??null,A=(0,em.default)(r,"data.attributes.field_sound_control_position")??null;"kaltura_media"===x&&(s=(0,em.default)(r,"data.attributes.field_kaltura_media_id")??null,l=(0,em.default)(r,"data.attributes.field_kaltura_player_id")??null),"video"===x&&(n=(0,em.default)(r,"data.attributes.field_hero_banner_video_url")??null);let w=(0,em.default)(r,"data.attributes.field_stock_ticker_position")??null;if(r?.data?.attributes?.field_banner_type==="Event Banner"){let e=(0,ep.isPaywallProtected)(r?.data?.relationships?.field_reference_tags).isPaywallProtectedFlag?null:await (0,eg.getTaxonomy)(r?.data?.relationships?.field_reference_tags?.links?.related?.href,!0,a),t=r?.data?.attributes?.field_event_options??null,i=t===ey.EVENT_TYPE.SCOUT_EVENT?ex(r?.data):null;return{isEventBanner:!0,uploadType:x,fieldSoundControls:v,fieldSoundControlPosition:A,heroBannerContent:null,eventBannerContent:{taxonomies:e??null,heading:(0,em.default)(r,"data.attributes.field_hero_banner_title.value")??null,isOverlay:(0,em.default)(r,"data.attributes.field_overlay_on_off")??null,isOverlayFontType:(0,em.default)(r,"data.attributes.field_font_dark_light")??null,time:(0,em.default)(r,"data.attributes.field_duration.value")??null,contentText:(0,em.default)(r,"data.attributes.field_location.value")??null,buttonLabel:(0,em.default)(r,"data.attributes.field_hero_banner_cta_link.title")??null,banner_cta_url:(0,eg.filterURL)((0,em.default)(r,"data.attributes.field_hero_banner_cta_link.uri"))??null,date:(0,ep.isPaywallProtected)((0,em.default)(r,"data.attributes.field_banner_date")).isPaywallProtectedFlag?null:(0,e_.default)((0,em.default)(r,"data.attributes.field_banner_date"),"Do MMMM YYYY").format("DD MMMM YYYY")??null,calendarDate:(0,ep.isPaywallProtected)((0,em.default)(r,"data.attributes.field_right_banner_date")).isPaywallProtectedFlag?null:(0,em.default)(r,"data.attributes.field_right_banner_date")??null,isExternalLink:(0,em.default)(r,"data.attributes.field_hero_banner_cta_link.options.attributes.target")?(0,eg.isExternalLink)((0,em.default)(r,"data.attributes.field_hero_banner_cta_link.options.attributes.target")):null,scoutData:i,eventType:t},heroBannerImage:{desktopImage:{src:f??null,alt:p??null,width:1440,height:540,styledimage:m??null},mobileImage:{src:b??null,alt:_??null,width:390,height:240,styledimage:y??null}},fieldPaywallRoles:d,stockTickerData:g,stock_ticker_position:w}}return{isEventBanner:!1,referenceField:(0,em.default)(r,"data.attributes.field_reference_field.processed")??null,heroBannerContent:{title:(0,em.default)(r,"data.attributes.field_hero_banner_title.value")??null,paragraph:(0,em.default)(r,"data.attributes.body.processed")??null,isOverlay:(0,em.default)(r,"data.attributes.field_overlay_on_off")??null,isOverlayFontType:(0,em.default)(r,"data.attributes.field_font_dark_light")??null,titleSuperscript:(0,em.default)(r,"data.attributes.field_title_superscript.processed")??null,linkText:(0,em.default)(r,"data.attributes.field_hero_banner_cta_link.title")??null,link:(0,eg.filterURL)((0,em.default)(r,"data.attributes.field_hero_banner_cta_link.uri"))??null,isExternalLink:(0,em.default)(r,"data.attributes.field_hero_banner_cta_link.options.attributes.target")?(0,eg.isExternalLink)((0,em.default)(r,"data.attributes.field_hero_banner_cta_link.options.attributes.target")):null,cta_two_label:(0,em.default)(r,"data.attributes.field_hero_banner_cta_link_2.title")??null,cta_two_uri:(0,eg.filterURL)((0,em.default)(r,"data.attributes.field_hero_banner_cta_link_2.ur
26i"))??null,cta_two_externalLink:(0,em.default)(r,"data.attributes.field_hero_banner_cta_link_2.options.attributes.target")?(0,eg.isExternalLink)((0,em.default)(r,"data.attributes.field_hero_banner_cta_link_2.options.attributes.target")):null,cta_three_label:(0,em.default)(r,"data.attributes.field_hero_banner_cta_link_3.title")??null,cta_three_uri:(0,eg.filterURL)((0,em.default)(r,"data.attributes.field_hero_banner_cta_link_3.uri"))??null,cta_three_externalLink:(0,em.default)(r,"data.attributes.field_hero_banner_cta_link_3.options.attributes.target")?(0,eg.isExternalLink)((0,em.default)(r,"data.attributes.field_hero_banner_cta_link_3.options.attributes.target")):null},eventBannerContent:null,heroBannerImage:{desktopImage:{src:f??null,alt:p??null,width:1440,height:540,styledimage:m??null},mobileImage:{src:b??null,alt:_??null,width:390,height:240,styledimage:y??null}},heroBannerVideoURL:n,kalturaMediaId:s,kalturaPlayerId:l,uploadType:x,partnerID:o,fieldSoundControls:v,fieldSoundControlPosition:A,heroBannerVideoFallBackImage:(0,em.default)(r,"data.relationships.field_hero_banner_fallback_image.data.meta.image_style.src")??"",fieldPaywallRoles:d,isParentPaywalled:c,isImageClickable:(0,em.default)(r,"data.attributes.field_image_clickable")??null,stockTickerData:g,stock_ticker_position:w}},ew=eA;e.s(["default",0,ew],87656);var eE=t,eS=i,eC=r;let eT=async(e,...t)=>{let a=t?.[3],i=await (0,eC.getBlockData)(e,!1,a),r=(0,eE.isPaywallProtected)((0,eS.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,eE.getAllRoles)(i),s=(0,eE.isPaywallProtected)(i?.data?.relationships?.field_banner_image),l=(0,eE.isPaywallProtected)(i?.data?.relationships?.field_banner_mobile_image),{imageUrl:o,alt:c,imageStyledUrl:d}=s.isPaywallProtectedFlag?(0,eE.getPaywalledImgData)(s?.errorObj):(0,eC.getImageMeta)(i?.data?.relationships?.field_banner_image),{imageUrl:u,alt:h,imageStyledUrl:f}=l.isPaywallProtectedFlag?(0,eE.getPaywalledImgData)(l?.errorObj):(0,eC.getImageMeta)(i?.data?.relationships?.field_banner_mobile_image);return{banner:{heading:i?.data?.attributes?.field_banner_title?.value?i?.data?.attributes?.field_banner_title?.value:null,content:i?.data?.attributes?.body?.processed?i?.data?.attributes?.body?.processed:null,isOverlay:i?.data?.attributes?.field_overlay_on_off??null,isOverlayFontType:i?.data?.attributes?.field_font_dark_light??null,buttonLabel:i?.data?.attributes?.field_banner_primary_cta?.title?i?.data?.attributes?.field_banner_primary_cta?.title:null,link:i?.data?.attributes?.field_banner_primary_cta?.uri?(0,eC.filterURL)(i?.data?.attributes?.field_banner_primary_cta?.uri):null,linkExternal:i?.data?.attributes?.field_banner_primary_cta?.options?.attributes?.target?(0,eC.isExternalLink)(i?.data?.attributes?.field_banner_primary_cta?.options?.attributes?.target):null,buttonLabel2:i?.data?.attributes?.field_cta_button_1?.title?i?.data?.attributes?.field_cta_button_1?.title:null,link2:i?.data?.attributes?.field_cta_button_1?.uri?(0,eC.filterURL)(i?.data?.attributes?.field_cta_button_1?.uri):null,linkExternal2:i?.data?.attributes?.field_cta_button_1?.options?(0,eC.isExternalLink)(i?.data?.attributes?.field_cta_button_1?.options):null,disableShader:(0,eE.isPaywallProtected)(i?.data?.attributes?.field_disable_shader).isPaywallProtectedFlag?null:i?.data?.attributes?.field_disable_shader??null,className:i?.data?.attributes?.field_invert_color?"inverted":"",bannerContentValue:i?.data?.attributes?.field_content_alignment??""},articleBannerImage:{desktopImage:{src:o??null,alt:c??null,width:1440,height:350,styledimage:d??null},mobileImage:{src:u??null,alt:h??null,width:390,height:280,styledimage:f??null}},fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,eT],65363);var eN=t,ek=r,eI=i,ej=m;let eP=async(e,...t)=>{let a=t?.[3],i=await (0,ek.getBlockData)(e,!1,a),r=(0,eN.isPaywallProtected)((0,eI.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=i?.data?.attributes?.field_card_alignment_style??"left";i=i?.included??[];let s=(0,eN.getAllRoles)(i),l=(0,eN.isPaywallProtected)(i?.relationships?.field_article_tc_image);return i=i?.map(e=>{if((0,eN.isPaywallProtected)((0,eI.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let{imageUrl:t,alt:a,imageStyledUrl:i,width:r,height:n}=l.isPaywallProtectedFlag?(0,eN.getPaywalledImgData)(l?.errorObj):(0,ek.getImageMeta)(e?.relationships?.field_cc_small_upload_image);return{contactCardImage:{src:t??null,alt:a??null,imageStyledUrl:i??null,width:r??null,height:n??null},title:e?.attributes?.field_cc_small_title?.processed?e?.attributes?.field_cc_small_title?.processed:null,designation:e?.attributes?.field_cc_small_designation?e?.attributes?.field_cc_small_designation:null,paragraph:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,address:e?.attributes?.field_cc_small_address?e?.attributes?.field_cc_small_address:null,phone:(0,eN.isPaywallProtected)(e?.attributes?.field_cc_small_mobile_number).isPaywallProtectedFlag?"":e?.attributes?.field_cc_small_mobile_number??null,email:(0,eN.isPaywallProtected)(e?.attributes?.field_cc_small_email).isPaywallProtectedFlag?"":e?.attributes?.field_cc_small_email??null,fax:(0,eN.isPaywallProtected)(e?.attributes?.field_cc_small_fax_number).isPaywallProtectedFlag?"":e?.attributes?.field_cc_small_fax_number??null,ctaLink:(0,ek.filterURL)((0,eI.default)(e,"attributes.field_cc_small_cta_link.uri"))??"",ctaTitle:(0,eI.default)(e,"attributes.field_cc_small_cta_link.title")??"",ctaTarget:(0,ek.filterURL)((0,eI.default)(e,"attributes.field_cc_small_cta_link.options.attributes.target"))??ej.URL_TARGET.SELF,cardAlignment:e?.attributes?.field_text_alignment_style??"left"}}),{contactCardsData:(0,eN.filterNullValues)(i)??[],cardGroupAlignment:n,fieldPaywallRoles:s,isParentPaywalled:r}};e.s(["default",0,eP],94661);var eL=t,eO=i,eD=M,eM=r,eR=E,eF=A,eB=i,eU=E;let eH=e=>{let t=[];return e?.map((e,a)=>{let i=e?.attributes?.field_mapping&&e?.attributes?.field_mapping.length?e?.attributes?.field_mapping[0]:{};t.push({id:e?.attributes?.drupal_internal__tid,value:e?.attributes?.name,label:i?.answer??""})}),t},e$=async()=>{let e=await (0,eU.default)();return(e=e?.data)?{searchLabel:(0,eB.default)(e,"job_search_label"),searchPlaceholder:(0,eB.default)(e,"job_search_placeholder_txt"),functionLabel:(0,eB.default)(e,"job_function_label"),functionPlaceholderText:(0,eB.default)(e,"job_function_placeholder_txt"),locationLabel:(0,eB.default)(e,"job_loc_label"),locationPlaceholderText:(0,eB.default)(e,"job_location_placeholder_txt"),searchCTALabel:(0,eB.default)(e,"job_search_cta_label"),divisionLabel:(0,eB.default)(e,"job_division_dd_label"),datePostedLabel:(0,eB.default)(e,"job_date_posted_dd_label"),datePostedOptions:(0,eB.default)(e,"job_date_posted_options"),clearLabel:(0,eB.default)(e,"job_clear_all_filter_label"),defaultDivisionId:(0,eB.default)(e,"job_default_division"),tableColumns:(0,eB.default)(e,"job_listing_column_options"),resultsLabel:(0,eB.default)(e,"job_search_results_found"),noResultsLabel:(0,eB.default)(e,"job_no_results_found_title"),noResultsDesc:(0,eB.default)(e,"job_no_results_found_body"),sortByLabel:(0,eB.default)(e,"job_sort_by_txt"),applyFiltersCTALabel:(0,eB.default)(e,"job_apply_filters_text"),showFiltersCTALabel:(0,eB.default)(e,"job_show_filters_text"),unSelectItemsLabel:(0,eB.default)(e,"search_unselect_items"),paginationCount:(0,eB.default)(e,"job_count_for_each_page"),dopdwonPlaceHolder:(0,eB.default)(e,"job_select_option_text"),displayDivision:1===(0,eB.default)(e,"job_division_display"),filter_toggle_label:(0,eB.default)(e,"filter_toggle_label"),alternative_location_Label:(0,eB.default)(e,"job_alternative_location_dd_labe")}:{searchLabel:"",searchPlaceholder:"",functionLabel:"",functionPlaceholderText:"",locationLabel:"",locationPlaceholderText:"",searchCTALabel:"",divisionLabel:"",datePostedLabel:"",datePostedOptions:"",clearLabel:"",defaultDivisionId:"",tableColumns:"",resultsLabel:"",noResultsLabel:"",noResultsDesc:"",sortByLabel:"",applyFiltersCTALabel:"",showFiltersCTALabel:"",unSelectItemsLabel:"",paginationCount:0,dopdwonPlaceHolder:"",displayDivision:!1,filter_toggle_label:"",alternative_location_Label:""}},eG=e=>Object.entries(e)?.map(([e,t])=>({id:e,value:t,label:t}))??[],eW=(e,t)=>e?.data?.map(e=>{let a=e.relationships.field_job_country?.data?.[0]?.meta?.drupal_internal__target_id??"",i=a&&t?.length?t.filter(e=>e.id===a):[],r=e?.attributes?.path?.alias??"",n=[];return e?.attributes?.field_job_alt_country_1&&n.push(e.attributes.field_job_alt_country_1),e?.attributes?.field_job_alt_country_2&&n.push(e.attributes.field_job_alt_country_2),e?.attributes?.field_job_alt_country_3&&n.push(e.attributes.field_job_alt_country_3),{jobTitle:{title:e?.attributes?.field_job_title??"",desc:`${e.attributes.field_job_employment_type??""}, ${e.attributes.field_job_type??""}`,type:"text",link:`/careers/career-search/job-details/${e?.attributes?.field_job_id}/${r}`},business:{title:"",link:"",desc:e?.attributes?.field_job_business_unit??"",type:"text"},location:{title:"",link:"",desc:i.length?i[0].label:"",type:"text"},site:{title:"",link:"",desc:e.attributes.field_job_work_location??"",type:"text"},alternativeLocation:{title:"",link:"",desc:n.length?n?.join(","):"-",type:"text"},datePosted:{title:"",link:"",type:"date",desc:e.attributes.field_job_posted_date??""}}})??{},eY=e=>e.sort((e,t)=>
26e.label.localeCompare(t.label));e.s(["fetchTableData",0,eW,"getFormattedObj",0,eH,"getJobFilterLabelData",0,e$,"getPostedDatesOptions",0,eG,"sortDataAsc",0,eY],60255);let ez={ALPHABETHICAL_ORDER:"alphabethical_order",PROFESSION:"profession",DISEASE_AREA:"disease_area",TREATMENT_AREA:"treatment_area",ACTIVE_INGREDIENT:"active_ingredient",MEDICATION_TYPE:"medication_type",EDUCATION_VOCABULARY:"education_vocabulary",NEWS_CATEGORY:"news_category",AUDIENCE:"audience",SPECIALITY_VOCABULARY:"speciality_vocabulary",ARCHIVE_YEAR:"archive_year",NEWS_STORIES:"news-stories",EDUCATION:"education",EDUCATION_EVENT_TYPE:"education_event_type",THERAPY_VOCABULARY:"therapy_vocabulary",EDUCATION_BRAND_GERMANY_ONLY:"education_brand_germany_only",CREATED:"created",SELECT_ELEMENT:"Select Element",SELECT:"select",EVENTS:"events",EVENTS_VOCABULARY:"events_vocabulary",THERAPY:"therapy",FIELD_DIESASE_AREA_TARGET_ID:"field_disease_area_target_id",FIELD_TREAMENT_AREA_TARGET_ID:"field_tadg_treatment_area_target_id",WSI:"wsi",COURSECATALOGUE:"course_catalogue",COURSE_CATEGORY:"course_category",COURSE_SUGGESTION:"course_suggestion",SANDOZ_ACADEMY_TOPICS:"sandoz_academy_topics",COURSE_DIFFICULTY_LEVEL:"course_difficulty_level"};e.s(["default",0,ez],883);let eV=async e=>{let t=await Y(e),a=[];return t?.data?.map(e=>{a.push({id:e?.attributes?.drupal_internal__tid,value:e?.attributes?.name,label:e?.attributes?.name})}),a},eK=async(e,t)=>await (0,eF.getApi)(`/jsonapi/views/term_facets/rest_export_1?views-filter[type]=${e?.content_type}&views-argument[0]=${e?.vid}`,!1,t),eq=async(e,t)=>{let a=await eK(e,t),i=[];return a?.data?(a?.data?.map(e=>{i.push({id:e?.attributes?.drupal_internal__tid,value:e?.attributes?.name,label:e?.attributes?.name})}),i):[]},eQ=(e,t,a,i)=>({label:t||"",filterName:e.search_query_param,selectOptions:{options:a,ariaLabel:"Select Element",name:"select",isMulti:!0,placeHolder:i??""}}),eZ=(e,t,a,i)=>({label:t,filterName:e.search_query_param,selectOptions:{placeHolder:i??"",isCleared:!0,isMulti:!0,options:eY(a),ariaLabel:t,name:"select",simpleDropDownLabel:!0}}),eX=async(e,t,a)=>{if(t===ez?.NEWS_STORIES){if(e.vid===ez.ALPHABETHICAL_ORDER){let t=await eq(e);if(t.length)return eQ(e,a?.AlphaLabel,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.PROFESSION){let t=await eq(e);if(t.length)return eQ(e,a?.news_n_stories_label_profession,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.DISEASE_AREA){let t=await eq(e);if(t.length)return eQ(e,a?.news_n_stories_label_disease_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.TREATMENT_AREA){let t=await eq(e);if(t.length)return eQ(e,a?.news_n_stories_label_treatment_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.ACTIVE_INGREDIENT){let t=await eq(e);if(t.length)return eQ(e,a?.news_n_stories_label_active_ingredient,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.MEDICATION_TYPE){let t=await eq(e);if(t.length)return eQ(e,a?.news_n_stories_label_medication_type,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.EDUCATION_VOCABULARY){let t=await eq(e);if(t.length)return eQ(e,a?.news_n_stories_label_education_type,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.NEWS_CATEGORY){let t=await eq(e);if(t.length)return eQ(e,a?.news_n_stories_label_news_category,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.AUDIENCE){let t=await eq(e);if(t.length)return eQ(e,a?.news_n_stories_label_audience,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.SPECIALITY_VOCABULARY){let t=await eq(e);if(t.length)return eQ(e,a?.other_category_text,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.ARCHIVE_YEAR){let t=await eV(e);if(t.length)return{label:a?.FormLabel,filterName:ez?.CREATED,selectOptions:{isCleared:!0,options:t,ariaLabel:ez?.SELECT_ELEMENT,name:ez?.SELECT,isMulti:!0,placeHolder:a?.dropdown_placeholder_text??""}}}}},eJ=async(e,t,a,i)=>{if(t===ez?.EDUCATION){if(e.vid===ez?.ALPHABETHICAL_ORDER){let t=await eq(e,i);if(t.length)return eQ(e,a?.AlphaLabel,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.PROFESSION){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_label_profession,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.SPECIALITY_VOCABULARY){let t=await eq(e,i);if(t.length)return eQ(e,a?.other_category_text,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.EDUCATION_VOCABULARY){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_label_education_type,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.EDUCATION_EVENT_TYPE){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_label_event_type,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.THERAPY_VOCABULARY){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_label_therapeutic_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.DISEASE_AREA){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_label_disease_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.TREATMENT_AREA){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_label_treatment_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.AUDIENCE){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_label_audience,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.MEDICATION_TYPE){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_medication_type,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.EDUCATION_BRAND_GERMANY_ONLY){let t=await eq(e,i);if(t.length)return eQ(e,a?.education_education_brand,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.ARCHIVE_YEAR){let t=await eV(e);if(t.length)return{label:a?.FormLabel,filterName:ez?.CREATED,selectOptions:{isCleared:!0,options:t,ariaLabel:ez?.SELECT_ELEMENT,name:ez?.SELECT,isMulti:!0,placeHolder:a?.dropdown_placeholder_text??""}}}}},e0=async(e,t,a,i)=>{if(t===ez?.EVENTS){if(e.vid===ez?.EVENTS_VOCABULARY){let t=await eq(e,i);if(t?.length)return eQ(e,a?.event_label_event_type,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.DISEASE_AREA){let t=await eq(e,i);if(t.length)return eQ(e,a?.event_label_disease_area,t,a?.dropdown_placeholder_text)}else if(e?.vid===ez?.TREATMENT_AREA){let t=await eq(e,i);if(t.length)return eQ(e,a?.event_label_treatment_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.SPECIALITY_VOCABULARY){let t=await eq(e,i);if(t.length)return eQ(e,a?.other_category_text,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.PROFESSION){let t=await eq(e,i);if(t.length)return eQ(e,a?.event_label_profession,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.AUDIENCE){let t=await eq(e,i);if(t.length)return eQ(e,a?.event_label_audience,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.ALPHABETHICAL_ORDER){let t=await eq(e,i);if(t.length)return eQ(e,a?.all_category_text,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.ARCHIVE_YEAR){let t=await eV(e);if(t.length)return{label:a?.from_text,filterName:ez?.CREATED,selectOptions:{options:t,ariaLabel:ez?.SELECT_ELEMENT,name:ez?.SELECT,isMulti:!0,placeHolder:a?.dropwdown_placeholder_text??""}}}}},e1=async(e,t,a,i)=>{if(t===ez?.THERAPY){if(e.vid===ez?.DISEASE_AREA&&e.search_query_param===ez?.FIELD_DIESASE_AREA_TARGET_ID){let t=await eq(e,i);if(t.length)return eQ(e,a?.therapy_label_disease_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.SPECIALITY_VOCABULARY){let t=await eq(e,i);if(t.length)return eQ(e,a?.other_category_text,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.TREATMENT_AREA&&e.search_query_param===ez?.FIELD_TREAMENT_AREA_TARGET_ID){let t=await eq(e,i);if(t.length)return eQ(e,a?.therapy_label_treatment_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.PROFESSION){let t=await eq(e,i);if(t.length)return eQ(e,a?.therapy_label_profession,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.MEDICATION_TYPE){let t=await eq(e,i);if(t.length)return eQ(e,a?.therapy_label_medication_type,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.AUDIENCE){let t=await eq(e,i);if(t.length)return eQ(e,a?.therapy_label_audience,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.ALPHABETHICAL_ORDER){let t=await eq(e,i);if(t.length)return eQ(e,a?.AlphaLabel,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.ARCHIVE_YEAR){let t=await eV(e);if(t.length)return{label:a?.FormLabel,filterName:ez?.CREATED,selectOptions:{isCleared:!0,options:t,ariaLabel:ez?.SELECT_ELEMENT,name:ez?.SELECT,isMulti:!0,placeHolder:a?.selectOptionText??""}}}}},e2=async(e,t,a,i)=>{if(t===ez?.COURSECATALOGUE){if(e.vid===ez?.ALPHABETHICAL_ORDER){let t=await eq(e,i);if(t.length)return eQ(e,a?.AlphaLabel,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.PROFESSION){let t=await eq(e,i);if(t.length)return eQ(e,a?.course_catalogue_label_profession,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.SPECIALITY_VOCABULARY){let t=await eq(e,i);if(t.length)return eQ(e,a?.other_category_text,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.COURSE_CATEGORY){let t=await eq(e,i);if(t.length)return eQ(e,a?.course_catalogue_label_course_category,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.COURSE_SUGGESTION){let t=await eq(e,i);if(t.length)return eQ(e,a?.course_catalogue_label_course_suggestion,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.THERAPY_VOCABULARY){let t=await eq(e,i);if(t.length)return eQ(e,a?.course_catalogue_label_therapeutic_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.DISEASE_AREA){let t=await eq(e,i);if(t.length)return eQ(e,a?.course_catalogue_label_disease_area,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.SANDOZ_ACADEMY_TOPICS){let t=await eq(e,i);if(t.length)return eQ(e,a?.course_catalogue_label_sandoz_academy_topics,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.AUDIENCE){let t=await eq(e,i);if(t.length)return eQ(e,a?.course_catalogue_label_audience,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.COURSE_DIFFICULTY_LEVEL){let t=await eq(e,i);if(t.length)return eQ(e,a?.course_cataloguen_course_difficulty_level,t,a?.dropdown_placeholder_text)}else if(e.vid===ez?.ARCHIVE_YEAR){let t=await eV(e);if(t.length)return{label:a?.FormLabel||"",filterName:ez?.CREATED,selectOptions:{isCleared:!0,options:t,ariaLabel:ez?.SELECT_ELEMENT,name:ez?.SELECT,isMulti:!0,placeHolder:a?.dropdown_placeholder_text??""}}}}},e3=async(e,t,a)=>{if(t===ez?.WSI){if(e.vid===ez?.SPECIALITY_VOCABULARY){let t=await eq(e);
26if(t.length)return eZ(e,a?.specialityLabel,t,a?.selectPlaceholder)}else if(e.vid===ez?.TREATMENT_AREA){let t=await eq(e);if(t.length)return eZ(e,a?.webstore_label_treatment_area,t,a?.selectPlaceholder)}else if(e.vid===ez?.PROFESSION){let t=await eq(e);if(t.length)return eZ(e,a?.webstore_label_profession,t,a?.selectPlaceholder)}else if(e.vid===ez?.ALPHABETHICAL_ORDER){let t=await eq(e);if(t.length)return eZ(e,a?.alphabeticLabel,t,a?.selectPlaceholder)}else if(e.vid===ez?.ARCHIVE_YEAR){let t=await eV(e);if(t?.length)return{label:a?.webstore_label_time_period,filterName:ez?.CREATED,selectOptions:{placeHolder:a?.selectPlaceholder??"",isCleared:!0,isMulti:!0,options:eY(t),ariaLabel:a?.webstore_label_time_period,name:ez?.SELECT,simpleDropDownLabel:!0}}}else if(e.vid===ez?.DISEASE_AREA){let t=await eq(e);if(t.length)return eQ(e,a?.diseaseAreaLabel,t,a?.selectPlaceholder)}}},e4=async(e,t,a)=>{let i=[];if(t===ez?.NEWS_STORIES){let a=e?.news_stories_search_facets?.map(async a=>{let r=await eX(a,t,e);r&&i.push(r)});return await Promise.all(a),i}if(t===ez?.EDUCATION){let r=e?.education_search_facets?.map(async r=>{let n=await eJ(r,t,e,a);n&&i.push(n)});return await Promise.all(r),i}if(t===ez?.EVENTS){let r=e?.events_search_facets?.map(async r=>{let n=await e0(r,t,e,a);n&&i.push(n)});return await Promise.all(r),i}if(t===ez?.THERAPY){let r=e?.therapy_areas_search_facets?.map(async r=>{let n=await e1(r,t,e,a);n&&i.push(n)});return await Promise.all(r),i}if(t===ez?.WSI){let a=e?.webstore_search_facets?.map(async a=>{let r=await e3(a,t,e);r&&i.push(r)});return await Promise.all(a),i}else if(t===ez?.COURSECATALOGUE){let r=e?.course_catalogue_search_facets?.map(async r=>{let n=await e2(r,t,e,a);n&&i.push(n)});return await Promise.all(r),i}};e.s(["default",0,e4],84053);let e6=async e=>{let t=await (0,eR.default)(e);return(t=t?.data)?{searchLabel:t.education_what_are_you_looking,searchPlaceholder:t.education_search_placeholder_text,searchCTAText:t.education_search_cta_text,AlphaLabel:t.education_all_category_text,FormLabel:t.education_from_text,clearLabel:t.education_search_clear_all_text,other_category_text:t.education_other_category_text,education_title:t.education_configuration_title_text,resultsFoundText:t.education_search_results_found,noResultsFoundText:t.educations_no_results_found_title,noResultsFoundDescription:t.education_no_results_found_body?.value,unSelectItemsLabel:t.search_unselect_items,applyAllfilters:t.education_apply_all_filters,itemsPerPage:t.education_count_for_each_page,dropwdown_placeholder_text:t?.education_select_option_text??"",education_search_default_config:t?.education_search_default_config??"",education_search_facets:t?.education_search_facets??[],education_label_profession:t?.education_label_profession??"",education_label_education_type:t?.education_label_education_type??"",education_label_event_type:t?.education_label_event_type??"",education_label_therapeutic_area:t?.education_label_therapeutic_area??"",education_label_disease_area:t?.education_label_disease_area??"",education_label_treatment_area:t?.education_label_treatment_area??"",education_label_audience:t?.education_label_audience??"",education_medication_type:t?.education_medication_type??"",education_education_brand:t?.education_education_brand??"",filter_toggle_label:t?.filter_toggle_label??""}:{searchLabel:"",searchPlaceholder:"",searchCTAText:"",AlphaLabel:"",FormLabel:"",clearLabel:"",other_category_text:"",education_title:"",resultsFoundText:"",noResultsFoundText:"",noResultsFoundDescription:"",unSelectItemsLabel:"",applyAllfilters:"",itemsPerPage:"",dropwdown_placeholder_text:"",education_search_default_config:"",filter_toggle_label:""}},e5=e=>e?.filter(({specialityId:e,imageSrc:t,imgAlt:a,styledimage:i,educationCardContent:r})=>null!=r.heading||null!=r.text||null!=r.time||null!=r.buttonLabel||null!=r.buttonUrl||null!=r.buttonUrlExternal||null!=r.contentType||0!=r.taxonomies.length||null!=e||null!=a||null!=i||null!=t),e8=async e=>{let t=await (0,eM.getBlockData)(e),a=Number(t?.meta?.count)??0,i=Number(t?.number_of_items_per_page)??0,r=(0,eL.getAllRoles)(t);return{educationCards:e5(t=(t=t?.data)&&t.length?await Promise.all(t?.map(async e=>{if((0,eL.isPaywallProtected)((0,eO.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,eL.isPaywallProtected)(e?.relationships?.field_image),{imageUrl:a,alt:i,imageStyledUrl:r}=t.isPaywallProtectedFlag?(0,eL.getPaywalledImgData)(t?.errorObj):(0,eM.getImageMeta)(e?.relationships?.field_image),n=await (0,eM.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0),s=await (0,eM.getTaxonomy)(e?.relationships?.field_event_type?.links?.related?.href,!0),l=e?.relationships?.field_specialty?.data?.[0]?.meta?.drupal_internal__target_id??null,o=(0,eD.default)(e?.attibutes?.created).format("YYYY")??null;return{educationCardContent:{id:e?.attributes?.drupal_internal__nid??"",taxonomies:n??null,heading:(0,eL.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,text:e?.attributes?.field_body?.processed?e?.attributes?.field_body?.processed:null,time:(0,eL.isPaywallProtected)(e?.attributes?.field_time).isPaywallProtectedFlag?null:e?.attributes?.field_time??null,contentType:s?.[0]?.taxonomyLabel??null,buttonLabel:e?.attributes?.field_primary_cta_link?.title?e?.attributes?.field_primary_cta_link?.title:null,buttonUrl:e?.attributes?.field_primary_cta_link?.uri?(0,eM.filterURL)(e?.attributes?.field_primary_cta_link?.uri):null,bookmark:e?.attributes?.status?e?.attributes?.status:null,buttonUrlExter
26nal:e?.attributes?.field_primary_cta_link?.options?.attributes?.target?(0,eM.isExternalLink)(e?.attributes?.field_primary_cta_link?.options?.attributes?.target):null},specialityId:l,createdDate:(0,eL.isPaywallProtected)(e?.attibutes?.created).isPaywallProtectedFlag?null:o,imageSrc:a||null,imgAlt:i||null,styledimage:r||null}})):[]),totalCount:a,itemsPerPage:i,fieldPaywallRoles:r}},e7=async(e,...t)=>{let a=t?.[3],i=await e6(a);return{educationAdvanceFilterData:{advanceFilterData:{filtersOptions:await e4(i,ez?.EDUCATION,a),filtersLabels:{searchLabel:i?.searchLabel??"",searchPlaceholder:i?.searchPlaceholder??"",SearchCTAText:i?.searchCTAText??"",unselectFiltersCTA:i?.clearLabel??"",resultsFoundLabel:i?.resultsFoundText??"",noResultsFoundLabel:i?.noResultsFoundText??"",noResultsFoundDescription:i?.noResultsFoundDescription??"",applyFiltersCTA:i?.applyAllfilters??"",unSelectItemsLabel:i?.unSelectItemsLabel??"",enableToggle:i?.education_search_default_config,filterIconName:i?.filter_toggle_label??""}},filterTitle:i?.education_title??""}}};e.s(["default",0,e7,"getFormattedEduCardsData",0,e8],85077);var e9=t,te=i,tt=r;let ta=async(e,...t)=>{let a=t?.[3],i=await (0,tt.getBlockData)(e,!1,a),r=(0,e9.getAllRoles)(i);return i?(i=await Promise.all(i?.data?.map(async e=>{if((0,e9.isPaywallProtected)((0,te.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,e9.isPaywallProtected)(e?.relationships?.field_product_image),{imageUrl:i,alt:r,imageStyledUrl:n}=t?.isPaywallProtectedFlag?(0,e9.getPaywalledImgData)(t?.errorObj):(0,tt.getImageMeta)({data:e?.relationships?.field_product_image?.data?.[0]}),s=(0,e9.isPaywallProtected)(e?.relationships?.field_category).isPaywallProtectedFlag?null:await (0,tt.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0,a);return{productCardImage:{src:i??null,alt:r??null,styledimage:n??null},productCardContent:{id:e?.attributes?.drupal_internal__nid??"",heading:e?.attributes?.field_display_title?.value??null,taxonomies:s??null,content:e?.attributes?.body?.processed??null,buttonLabel:(0,e9.isPaywallProtected)(e?.attributes?.field_more_info).isPaywallProtectedFlag?null:e?.attributes?.field_more_info??null,href:(0,tt.filterURL)(e?.attributes?.field_secondary_cta?.uri)??null,isLinkExternal:(0,tt.isExternalLink)(e?.attributes?.field_secondary_cta?.options?.attributes?.target)??null}}})),{productCards:(0,e9.filterNullValues)(i),fieldPaywallRoles:r}):null};e.s(["default",0,ta],93176)},90356,e=>{"use strict";var t=function(e){return e.ARTICLE_TEASER="article_teaser_composition",e.CONTACT_TEASER="contact_teaser_composition",e}({}),a=function(e){return e.IMAGE_RIGHT="image_right",e.IMAGE_LEFT="image_left",e}({}),i=function(e){return e.CONTAINER_NARROW="narrow",e.CONTAINER_FLUID="fluid",e.CONTAINER_NORMAL="default",e}({});e.s(["EArticleTeaserCompositionType",()=>t,"EArticleTeaserContainerDefault",()=>i,"EArticleTeaserImagePosition",()=>a])},65431,e=>{"use strict";let t={Cardiovascular:"sub-theme-one","Schmerz/Reuma/Osteoporose/Pain":"sub-theme-two",Endocrinology:"sub-theme-three","Stomach/Intestine":"sub-theme-four","Respiratory/Allergy":"sub-theme-five","Nephrology/Urology":"sub-theme-six",Gynecology:"sub-theme-seven","HIV/Antiinfectives":"sub-theme-eight",Diabetes:"sub-theme-nine",Dermatology:"sub-theme-ten",Oncology:"sub-theme-eleven","Autoimmune/Chronic Inflammatory Diseases":"sub-theme-twelve","ZNS/Allergies/Addiction Medicine":"sub-theme-thirteen","Multiple Sclerosis":"sub-theme-fourteen","Thyroid Guide":"sub-theme-fifteen","Theme 5":"sub-theme-sixteen","Theme 12":"sub-theme-seventeen",Ophthalmology:"sub-theme-eighteen","Tyruko Europe":"tyruko-europe"};e.s(["hexalSubThemeConfig",0,t])},59387,94173,83956,4930,89785,82746,80769,65441,18801,57935,48667,25918,90305,55577,1124,76223,1943,65225,48623,41084,97066,88948,92692,14473,2259,59392,46328,89720,1904,70447,61945,66107,63676,9199,61070,94500,81244,22869,24478,90209,69596,51478,39984,12567,60123,17877,10083,80988,83242,35826,40978,2181,2224,68693,66516,29330,1710,72275,40434,90304,53390,65241,42616,39873,88409,72569,3
260403,67794,68885,74339,4122,74608,48825,10024,6038,82392,56017,e=>{"use strict";var t=e.i(61312),a=e.i(90356),i=e.i(82036),r=e.i(65431),n=e.i(3265),s=e.i(63137);let l=async(e,...l)=>{let o=l?.[3],c=l?.[2];e.includes("deeplink_token");let d=c&&Object.keys(c)?.length>0?c:await (0,n.getBlockData)(e,!1,o),u=(0,t.isPaywallProtected)((0,i.default)(d,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,h=(0,t.getAllRoles)(d),f=d?.included?.filter(e=>"taxonomy_term--microsites"===e.type);d=d?.data;let p=(0,t.isPaywallProtected)(d?.relationships?.field_article_tc_image),m=(0,i.default)(d,"relationships.field_sub_theme.data.meta.drupal_internal__target_id"),g=f?.map(e=>{if(e?.attributes?.drupal_internal__tid===m)return e?.attributes?.name}),{imageUrl:b,imageStyledUrl:_,alt:y,caption:x,width:v,height:A}=p.isPaywallProtectedFlag?(0,t.getPaywalledImgData)(p?.errorObj):(0,n.getImageMeta)(d?.relationships?.field_article_tc_image),w=await (0,n.getTaxonomy)(d?.relationships?.field_article_tc_tag?.links?.related?.href,!1,o),E=(0,t.isPaywallProtected)(d?.relationships?.field_article_tc_mobile_image),S=await (0,s.default)(o),C=!!S?.data?.enable_sitelevel_magnifier&&!d?.attributes?.field_disable_magnifier,T=(0,i.default)(d,"relationships.field_upload_high_resolution_ima"),{imageUrl:N,imageStyledUrl:k,alt:I,caption:j,width:P,height:L}=E.isPaywallProtectedFlag?(0,t.getPaywalledImgData)(E?.errorObj):(0,n.getImageMeta)(d?.relationships?.field_article_tc_mobile_image);return{isImageMagnifierEnabled:C,articleTeaserMagnifierImage:C?(0,n.getImageMeta)(T):null,articleTeaserContent:{taxonomies:w??null,heading:d?.attributes?.field_article_tc_title?.processed??null,text:d?.attributes?.body?.processed??null,buttonLabel:d?.attributes?.field_article_tc_cta?.title??null,link:(0,n.filterURL)(d?.attributes?.field_article_tc_cta?.uri)??null,linkExternal:(0,n.isExternalLink)(d?.attributes?.field_article_tc_cta?.options?.attributes?.target)??null},articleTeaserImage:{desktopImage:{src:b??null,styledimage:_??null,alt:y??null,width:v??358,height:A??220},mobileImage:{src:N??null,styledimage:k??null,alt:I??null,width:P??358,height:L??220}},compositionType:(0,t.isPaywallProtected)(d?.attributes?.field_composition_dropdown).isPaywallProtectedFlag?null:d?.attributes?.field_composition_dropdown??a.EArticleTeaserCompositionType.ARTICLE_TEASER,imagePosition:(0,t.isPaywallProtected)(d?.attributes?.field_article_tc_display_type).isPaywallProtectedFlag?null:d?.attributes?.field_article_tc_display_type??a.EArticleTeaserImagePosition.IMAGE_LEFT,containerDefault:(0,t.isPaywallProtected)(d?.attributes?.field_block_container).isPaywallProtectedFlag?null:d?.attributes?.field_block_container??a.EArticleTeaserContainerDefault.CONTAINER_NARROW,className:d?.attributes?.field_invert_the_color?"inverted":"",subTheme:r.hexalSubThemeConfig?.[g]??"",fieldPaywallRoles:h,isParentPaywalled:u}};e.s(["default",0,l],59387);var o=t,c=n,d=i;let u=async(e,...t)=>{let a=t?.[3],i=await (0,c.getBlockData)(e,!1,a),r=(0,o.isPaywallProtected)((0,d.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,o.getAllRoles)(i),s=i?.data?.attributes?.field_card_alignment_style??"",l=i?.data?.attributes?.field_cards_view??"grid",u=i?.data?.attributes?.field_cards_layout?.replace("-","_")??"three_column",h=i?.data?.attributes?.field_bullet_points_alignment??"above";return i=i?.included??[],(i=i?.filter(e=>e?.type==="block_content--icon_cards"))&&(i=await Promise.all(i?.map(async e=>{if((0,o.isPaywallProtected)((0,d.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=e?.relationships?.field_bullet_point_icon?.data?.meta?.absolute_uri?(0,o.isPaywallProtected)(e?.relationships?.field_bullet_point_icon):(0,o.isPaywallProtected)(e?.relationships?.field_icon),{imageUrl:a,alt:i,imageStyledUrl:r}=t?.isPaywallProtectedFlag?(0,o.getPaywalledImgData)(t?.errorObj):e?.relationships?.field_bullet_point_icon?.data?.meta?.absolute_uri?(0,c.getImageMeta)(e?.relationships?.field_bullet_point_icon):(0,c.getImageMeta)(e?.relationships?.field_icon);return{title:e?.attributes?.field_icontitle?.value?e?.attributes?.field_icontitle?.value:null,paragraph:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,imageSrc:a??null,imageAlt:i??null,styledimage:r??null,linkText:e?.attributes?.field_button?.title?e?.attributes?.field_button?.title:null,link:e?.attributes?.field_button?.uri?(0,c.filterURL)(e?.attributes?.field_button?.uri):null,linkIsExternal:e?.attributes?.field_button?.options?.attributes?.target?(0,c.isExternalLink)(e?.attributes?.field_button?.options?.attributes?.target):null,cardAlignment:e?.attributes?.field_text_alignment_style||s||"left",subtitle:e?.attributes?.field_icon_subtitle?.value??null,secondaryLinkText:e?.attributes?.field_secondary_button?.title?e?.attributes?.field_secondary_button?.title:null,secondaryLink:e?.attributes?.field_secondary_button?.uri?(0,c.filterURL)(e?.attributes?.field_secondary_button?.uri):null,
26secondaryLinkIsExternal:e?.attributes?.field_secondary_button?.options?.attributes?.target?(0,c.isExternalLink)(e?.attributes?.field_secondary_button?.options?.attributes?.target):null}}))),{iconCards:(0,o.filterNullValues)(i)??null,cardGroupAlignment:s,fieldPaywallRoles:n,view:l??null,layout:u??null,bulletPointsAlignment:h??null,isParentPaywalled:r}};e.s(["default",0,u],94173);var h=t,f=i,p=n;let m=async(e,...t)=>{let a=t?.[3],i=t?.[2],r=i&&Object.keys(i)?.length>0?i:await (0,p.getBlockData)(e,!1,a),n=i&&Object.keys(i)?.length>0?i?.data?.block_content:r?.data,s=(0,h.isPaywallProtected)((0,f.default)(n,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=(0,h.getAllRoles)(n),o=(0,h.isPaywallProtected)(n?.attributes?.field_block_container_style).isPaywallProtectedFlag?null:n?.attributes?.field_block_container_style??null,c=(0,h.isPaywallProtected)(n?.attributes?.field_text_alignment_style).isPaywallProtectedFlag?null:n?.attributes?.field_text_alignment_style??null,d=(0,h.isPaywallProtected)(n?.attributes?.field_fine_print_enable_disable).isPaywallProtectedFlag?null:n?.attributes?.field_fine_print_enable_disable??null;return{paragraph:n?.attributes?.body?.processed??null,container:o,alignment:c,id:n?.attributes?.field_text_id??null,finePrint:d,fieldPaywallRoles:l,isParentPaywalled:s}};e.s(["default",0,m],83956);var g=t,b=i,_=n;let y=async(e,...t)=>{let a=t?.[3],i=await (0,_.getBlockData)(e,!1,a),r=(0,g.isPaywallProtected)((0,b.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,g.getAllRoles)(i);return i&&(i=i?.included??[],i=await Promise.all(i?.map(async e=>{if((0,g.isPaywallProtected)((0,b.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,g.isPaywallProtected)(e?.relationships?.field_thumbnail_image),{imageUrl:i,alt:r,imageStyledUrl:n}=t?.isPaywallProtectedFlag?(0,g.getPaywalledImgData)(t?.errorObj):(0,_.getImageMeta)(e?.relationships?.field_thumbnail_image),s=await (0,_.getTaxonomy)(e?.relationships?.field_video_reference_tags?.links?.related?.href,!1,a);return{videoTeaserCardContent:{id:e?.attributes?.drupal_internal__id??null,taxonomies:s??null,heading:e?.attributes?.field_title_video_cards?.value??null,text:e?.attributes?.body?.value??null,time:e?.attributes?.field_duration_video?.value??null,buttonLabel:e?.attributes?.field_secondary_button?.title??null,buttonUrl:(0,_.filterURL)(e?.attributes?.field_secondary_button?.uri)??null,isButtonUrlExternal:(0,_.isExternalLink)(e?.attributes?.field_secondary_button?.options?.attributes?.target)??null},videoUrl:(0,b.default)(e,"attributes.body.processed_text")??null,image:{src:i??null,alt:r??null,styledimage:n??null}}}))),{videoTeaserCards:(0,g.filterNullValues)(i)??null,fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,y],4930);var x=t,v=i,A=n;let w=async(e,...t)=>{let a=t?.[3],i=await (0,A.getBlockData)(e,!1,a),r=(0,x.isPaywallProtected)((0,v.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,x.getAllRoles)(i);return i=i?.included??[],i=await Promise.all(i?.map(async e=>{if((0,x.isPaywallProtected)((0,v.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,x.isPaywallProtected)(e?.relationships?.field_article_image),{imageUrl:i,alt:r,imageStyledUrl:n}=t?.isPaywallProtectedFlag?(0,x.getPaywalledImgData)(t?.errorObj):(0,A.getImageMeta)(e?.relationships?.field_article_image),s=await (0,A.getTaxonomy)(e?.relationships?.field_article_tags?.links?.related?.href,!1,a),l=(0,x.isPaywallProtected)(e?.attributes?.status).isPaywallProtectedFlag?null:e?.attributes?.status??null,o=(0,x.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null;return{materialTeaserCardImage:{src:i??null,alt:r??null,styledimage:n??null},materialTeaserCardContent:{id:e?.attributes?.drupal_internal__nid??null,taxonomies:s??null,bookmark:l,heading:o,text:e?.attributes?.body?.processed??null,numberOfFavorite:200,buttonLabel:e?.attributes?.field_secondary_cta?.title?e?.attributes?.field_secondary_cta?.title:null,buttonUrl:e?.attributes?.field_secondary_cta?.uri?(0,A.filterURL)(e?.attributes?.field_secondary_cta?.uri):null,buttonUrlExter
26nal:e?.attributes?.field_secondary_cta?.options?.attributes?.target?(0,A.isExternalLink)(e?.attributes?.field_secondary_cta?.options?.attributes?.target):null,isButtonUrlExternal:e?.attributes?.field_secondary_cta?.options?.attributes?.target?(0,A.isExternalLink)(e?.attributes?.field_secondary_cta?.options?.attributes?.target):null}}})),{supportMaterialCards:(0,x.filterNullValues)(i)??null,fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,w],89785);var E=t,S=i,C=n;let T=async(e,...t)=>{let a=t?.[3],i=await (0,C.getBlockData)(e,!1,a),r=(0,E.isPaywallProtected)((0,S.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag;i=i?.included??[];let n=(0,E.getAllRoles)(i);return i=await Promise.all(i?.map(async e=>{if((0,E.isPaywallProtected)((0,S.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,E.isPaywallProtected)(e?.relationships?.field_article_image),{imageUrl:a,alt:i,imageStyledUrl:r}=t?.isPaywallProtectedFlag?(0,E.getPaywalledImgData)(t?.errorObj):(0,C.getImageMeta)(e?.relationships?.field_article_image);return{opinionLeadersCardImage:{src:a??null,alt:i??null,styledimage:r??null},opinionLeadersCardContent:{heading:(0,E.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,content:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,buttonLabel:e?.attributes?.field_secondary_cta?.title?e?.attributes?.field_secondary_cta?.title:null,link:e?.attributes?.field_secondary_cta?.uri?(0,C.filterURL)(e?.attributes?.field_secondary_cta?.uri):null,isLinkExternal:e?.attributes?.field_secondary_cta?.options?.attributes?.target?(0,C.isExternalLink)(e?.attributes?.field_secondary_cta?.options?.attributes?.target):null}}})),{opinionCards:(0,E.filterNullValues)(i)??null,fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,T],82746);var N=t,k=i,I=n;let j=async(e,...t)=>{let a=t?.[3],i=await (0,I.getBlockData)(`${e}`,!1,a),r=(0,N.isPaywallProtected)((0,k.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,N.getAllRoles)(i),s=(0,N.isPaywallProtected)(i?.data?.relationships?.field_google_image),{imageUrl:l,alt:o,imageStyledUrl:c}=s.isPaywallProtectedFlag?(0,N.getPaywalledImgData)(s?.errorObj):(0,I.getImageMeta)(i?.data?.relationships?.field_google_image);return{image:l??null,alt:o??null,styledimage:c??null,href:i?.data?.attributes?.field_button?.uri?(0,I.filterURL)(i?.data?.attributes?.field_button?.uri):null,fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,j],80769);var P=t,L=i,O=r,D=n;let M=async(e,...t)=>{let a=t?.[3],i=e.includes("?"),r=await (0,D.getBlockData)(`${e}${i?"&":"?"}include=field_article_content,field_sub_theme,field_article_teaser_specialty`,!1,a),n=(0,P.isPaywallProtected)((0,L.default)(r,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,s=(0,P.getAllRoles)(r),l=r?.data?.attributes?.field_block_container||null,o=(0,L.default)(r,"data.relationships.field_sub_theme.data.meta.drupal_internal__target_id"),c=await (0,D.getTaxonomy)((0,L.default)(r,"data.relationships.field_article_teaser_specialty.links.related.href"),!1,a),d=r?.included?.filter(e=>"taxonomy_term--microsites"===e.type);r=r?.included?.filter(e=>"node--article_composition"===e.type);let u=d?.map(e=>{if(e.attributes.drupal_internal__tid===o)return e.attributes.name});return r=r?.map(e=>(0,P.isPaywallProtected)((0,L.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag?null:{heading:(0,P.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,text:e?.attributes?.body?.processed??null,buttonLabel:e?.attributes?.field_secondary_cta?.title??null,link:(0,D.filterURL)(e?.attributes?.field_secondary_cta?.uri)??null,linkExternal:(0,D.isExternalLink)(e?.attributes?.field_secondary_cta?.options?.attributes?.target)??null,taxonomies:c??null}),{articleTeaserSingleContentGroup:(0,P.filterNullValues)(r)??null,container:l,subTheme:O.hexalSubThemeConfig?.[u]??"",fieldPaywallRoles:s,isParentPaywalled:n}};e.s(["default",0,M],65441);var R=t,F=i,B=n;let U=async(e,...t)=>{let a=t?.[3],i=await (0,B.getBlockData)(e,!1,a),r=(0,R.isPaywallProtected)((0,F.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,R.getAllRoles)(i);return(i=(0,F.default)(i,"included")??[])?(i=await Promise.all(i?.map(async e=>{if((0,R.isPaywallProtected)((0,F.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,R.isPaywallProtected)((0,F.default)(e,"relationships.field_article_image")),{imageUrl:a,alt:i,imageStyledUrl:r}=t?.isPaywallProtectedFlag?(0,R.getPaywalledImgData)(t?.errorObj):(0,B.getImageMeta)(e.relationships.field_article_image);return{serviceTeaserCardImage:{src:a??null,alt:i??null,styledimage:r??null},serviceTeaserCardContent:{id:(0,F.default)(e,"attributes.drupal_internal__nid")??null,heading:(0,R.isPaywallProtected)((0,F.default)(e,"attributes.title")).isPaywallProtectedFlag?null:(0,F.default)(e,"attributes.title")??null,text:(0,F.default)(e,"attributes.body.processed")??null,buttonLabel:(0,F.default)(e,"attributes.field_secondary_cta.title")??null,link:(0,B.filterURL)((0,F.default)(e,"attributes.field_secondary_cta.uri"))??null,bookmarkIcon:(0,R.isPaywallProtected)((0,F.default)(e,"attributes.status")).isPaywallProtectedFlag?null:(0,F.default)(e,"attributes.status")??null,isLinkExternal:(0,F.default)(e,"attributes.field_secondary_cta.options.attributes.target")?(0,B.isExternalLink)((0,F.default)(e,"attributes.field_secondary_cta.options.attributes.target")):null}}})),{serviceCards:(0,R.filterNullValues)(i)??null,fieldPaywallRoles:n,isParentPaywalled:r}):null};e.s(["default",0,U],18801);var H=t,$=i,G=n;let W=async(e,...t)=>{let a=t?.[3],i=await (0,G.getBlockData)(`${e}`,!1,a),r=(0,H.isPaywallProtected)((0,$.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,H.getAllRoles)(i);return{scheduleData:i=(0,H.isPaywallProtected)(i?.data?.attributes?.field_tabs).isPaywallProtectedFlag?[]:i?.data?.attributes?.field_tabs??[],fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,W],57935);var Y=i,z=t,V=n;let K=async(e,...t)=>{let a=t?.[3],i=await (0,V.getBlockData)(`${e}`,!1,a),r=(0,z.isPaywallProtected)((0,Y.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,z.getAllRoles)(i),s=(0,Y.default)(i,"data.attributes.field_referrer_id")??"";if(i&&void 0!==i&&i?.included&&Array.isArray(i?.included)){let e=await Promise.all(i?.included?.map(async e=>{let t;if((0,z.isPaywallProtected)((0,Y.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let a=(0,Y.default)(e,"attributes.field_reference_title.value")??(0,Y.default)(e,"attributes.field_accordion_card_title.value")??"",i=(0,Y.default)(e,"attributes.field_referrer_id")??"";t=(0,Y.default)(e,"attributes.body.processed")??(0,Y.default)(e,"attributes.body.value")??"";let r=(0,Y.default)(e,"attributes.field_reference_info.processed")??(0,Y.default)(e,"attributes.field_reference_info.value")??"";t=t.concat(r);let{isPaywallProtectedFlag:n,errorObj:s}=(0,z.isPaywallProtected)((0,Y.default)(e,"relationships.field_accordion_
26image")),l=n?(0,z.getPaywalledImgData)(s):(0,V.getImageMeta)(e?.relationships?.field_accordion_image);return{title:a,content:t,type:e.type??null,image:l,referrerId:i}}));return{accordionArray:(0,z.filterNullValues)(e)??null,accordionWithImage:!0,fieldPaywallRoles:n,isParentPaywalled:r,referrerId:s}}return{accordionArray:null,accordionWithImage:!0,fieldPaywallRoles:n}};e.s(["default",0,K],48667);var q=t,Q=i,Z=e.i(99523),X=n,J=s;let ee=async e=>{let t=await (0,J.default)(e);return t=t?.data,{other_category_text:t?.event_other_category_text??null,all_category_text:t?.event_all_category_text??null,from_text:t?.event_from_text??null,search_cta_text:t?.event_search_cta_text??null,search_placeholder_text:t?.event_search_placeholder_text??null,search_label:t?.event_what_are_you_looking??null,search_clear_all_text:t?.event_search_clear_all_text??null,search_results_found:t?.event_search_results_found??null,no_results_found_title:t?.events_no_results_found_title??null,noResultsFoundDescription:t?.event_no_results_found_body?.value,event_title:t?.event_title_text??null,unSelectItemsLabel:t?.search_unselect_items??null,applyAllfilters:t?.event_apply_all_filters??null,itemsPerPage:t?.event_count_for_each_page??null,dropwdown_placeholder_text:t?.event_select_option_text??null,events_search_default_config:t?.events_search_default_config??null,events_search_facets:t?.events_search_facets??[],event_label_event_type:t?.event_label_event_type??null,event_label_disease_area:t?.event_label_disease_area??null,event_label_treatment_area:t?.event_label_treatment_area??null,event_label_profession:t?.event_label_profession??null,event_label_audience:t?.event_label_audience??null,filter_toggle_label:t?.filter_toggle_label??null}};e.s(["default",0,ee],25918);var et=e.i(15315),ea=e.i(84053),ei=e.i(883),er=e.i(41764),en=e.i(59685);let es=e=>e?.filter(({specialityId:e,eventCardVerticalContent:t,eventCardVerticalImage:a})=>null!=t.heading||null!=t.text||null!=t.time||null!=t.primaryButtonLabel||""!=t.primaryButtonUrl||null!=t.secondaryButtonLabel||""!=t.secondaryButtonUrl||null!=t.contentText||null!=t.startDate||null!=t.endDate||null!=t.eventType||0!=t.taxonomies.length||null!=e||""!=a.src||""!=a.styledimage),el=async e=>{let t=await (0,X.getBlockData)(e),a=Number(t?.meta?.count)??0,i=Number(t?.number_of_items_per_page)??0,r=(0,q.getAllRoles)(t);t=t?.data??[];let{lang:n}=(0,et.getApiDomainAndLang)(),s=[];return t&&(s=await Promise.all(t?.map(async(e,t)=>{if((0,q.isPaywallProtected)((0,Q.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let a=(0,q.isPaywallProtected)(e?.relationships?.field_event_banner),{imageUrl:i,alt:r,imageStyledUrl:s}=a?.isPaywallProtectedFlag?(0,q.getPaywalledImgData)(a?.errorObj):(0,X.getImageMeta)(e?.relationships?.field_event_banner),l=await (0,X.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0),o=e?.relationships?.field_specialty?.data?.[0]?.meta?.drupal_internal__target_id??null,c=(0,Z.default)(e?.attributes?.created).locale(n).format("YYYY")??null,d=e?.attributes?.field_event_dates?.value??null,u=e?.attributes?.field_event_dates?.end_value??null,h=e?.attributes?.field_event_options??null,f=h===er.EVENT_TYPE.SCOUT_EVENT?(0,en.getScoutEventData)(e):null;return{eventCardVerticalContent:{id:e?.attributes?.drupal_internal__nid??"",taxonomies:l??null,heading:(0,q.isPaywallProtected)(e?.attributes?.title??null).isPaywallProtectedFlag?null:e?.attributes?.title??null,bookmark:(0,q.isPaywallProtected)(e?.attributes?.status??null).isPaywallProtectedFlag?null:e?.attributes?.status??null,text:e?.attributes?.body?.value??null,primaryButtonLabel:e?.attributes?.field_primary_cta_link?.title??null,primaryButtonUrl:(0,X.filterURL)(e?.attributes?.field_primary_cta_link?.uri)??null,primaryIsExternalUrl:(0,X.isExternalLink)(e?.attributes?.field_primary_cta_link?.options?.attributes?.target)??null,secondaryButtonLabel:e?.attributes?.field_secondary_cta_link?.title??null,secondaryButtonUrl:(0,X.filterURL)(e?.attributes?.field_secondary_cta_link?.uri)??null,secondaryIsExternalUrl:(0,X.isExternalLink)(e?.attributes?.field_secondary_cta_link?.options?.attributes?.target)??null,startDate:(0,q.isPaywallProtected)(e?.attributes?.field_event_dates).isPaywallProtectedFlag?null:d,endDate:(0,q.isPaywallProtected)(e?.attributes?.field_event_dates).isPaywallProtectedFlag?null:u,contentText:(0,q.isPaywallProtected)(e?.attributes?.field_location??null).isPaywallProtectedFlag?null:e?.attributes?.field_location??null,time:(0,q.isPaywallProtected)(e?.attributes?.field_duration??null).isPaywallProtectedFlag?null:e?.attributes?.field_duration??null,scoutData:f,eventType:h},eventCardVerticalImage:{src:i||null,alt:r||null,styledimage:s||null},eventCardVDesktopColumn:4,eventCardVTabletColumn:6,eventCardVMobileColumn:12,specialityId:o,createdDate:(0,q.isPaywallProtected)(e?.attributes?.created).isPaywallProtectedFlag?null:c}}))),{eventCards:es(s),totalCount:a,itemsPerPage:i,fieldPaywallRoles:r}},eo=async(e,...t)=>{let a=t?.[3],i=await ee(a);return{eventVerticalFilterData:{advanceFilterData:{filtersOptions:await (0,ea.default)(i,ei.default?.EVENTS,a),filtersLabels:{searchLabel:i?.search_label??"",searchPlaceholder:i?.search_placeholder_text??"",SearchCTAText:i?.search_cta_text??"",unselectFiltersCTA:i?.search_clear_all_text??"",resultsFoundLabel:i?.search_results_found??"",noResultsFoundLabel:i?.no_results_found_title??"",noResultsFoundDescription:i?.noResultsFoundDescription??"",applyFiltersCTA:i?.applyAllfilters??"",unSelectItemsLabel:i?.unSelectItemsLabel??"",enableToggle:i?.events_search_default_config??"",filterIconName:i?.filter_toggle_label??""}},filterTitle:i?.event_title}}};e.s(["default",0,eo,"getFormattedEventCardsData",0,el],90305);var ec=et,ed=e.i(65921),eu=i,eh=t,ef=Z,ep=n,em=er,eg=en;let eb=async(e,...t)=>{let a=t?.[3],i=await (0,ep.getBlockData)(e,!1,a),r=(0,eh.isPaywallProtected)((0,eu.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag;i=i?.data??[];let n=(0,eh.getAllRoles)(i),{lang:s}=(0,ec.getApiDomainAndLang)(),l=(0,ed.default)()?a?.language:s,o=[];return o=await Promise.all(i?.map(async(e,t)=>{if((0,eh.isPaywallProtected)((0,eu.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let i=(0,eh.isPaywallProtected)(e?.relationships?.field_event_banner),{imageUrl:r,alt:n,imageStyledUrl:s}=i.isPaywallProtectedFlag?(0,eh.getPaywalledImgData)(i?.errorObj):(0,ep.getImageMeta)(e?.relationships?.field_event_banner),o=await (0,ep.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0,a),c=(0,ef.default)().locale(l).format(e?.attributes?.field_event_dates?.value)??null,d=(0,ef.default)().locale(l).format(e?.attributes?.field_event_dates?.end_value)??null,u=e?.attributes?.field_event_options??null,h=u===em.EVENT_TYPE.SCOUT_EVENT?(0,eg.getScoutEventData)(e):null;return{eventCardHorizontalContent:{id:e?.attributes?.drupal_internal__nid??"",taxonomies:o??null,heading:(0,eh.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,text:e?.attributes?.body?.value??null,primaryButtonLabel:e?.attributes?.field_primary_cta_link?.title??null,primaryButtonUrl:(0,ep.filterURL)(e?.attributes?.field_primary_cta_link?.uri)??null,primaryIsExternalUrl:(0,ep.isExternalLink)(e?.attributes?.field_primary_cta_link?.options?.attributes?.target)??null,secondaryButtonLabel:e?.attributes?.field_secondary_cta_link?.title??null,secondaryButtonUrl:(0,ep.filterURL)(e?.attributes?.field_secondary_cta_link?.uri)??null,secondaryIsExternalUrl:(0,ep.isExternalLink)(e?.attributes?.field_secondary_cta_link?.options?.attributes?.target)??null,startDate:(0,eh.isPaywallProtected)(e?.attributes?.field_event_dates).isPaywallProtectedFlag?null:c,endDate:(0,eh.isPaywallProtected)(e?.attributes?.field_event_dates).isPaywallProtectedFlag?null:d,contentText:(0,eh.isPaywallProtected)(e?.attributes?.field_location).isPaywallProtectedFlag?null:e?.attributes?.field_location??null,time:(0,eh.isPaywallProtected)(e?.attributes?.field_duration).isPaywallProtectedFlag?null:e?.attributes?.field_duration??null,scoutData:h,eventType:u},eventCardHorizontalImage:{src:r??null,alt:n??null,styledimage:s??null},eventCardHDesktopColumn:12,eventCardHTabletColumn:12,eventCardHMobileColumn:12}})),{events:(0,eh.filterNullValues)(o)??null,slideToShow:1,fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,eb],55577);var e_=t,ey=i,ex=n;let ev=async(e,...t)=>{let a=t?.[3],i=await (0,ex.getBlockData)(e,!1,a),r=(0,e_.isPaywallProtected)((0,ey.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,e_.getAllRoles)(i);return i=i?.included??[],i=await Promise.all(i?.map(async e=>{if((0,e_.isPaywallProtected)((0,ey.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,e_.isPaywallProtected)(e?.relationships?.field_article_image),{imageUrl:a,alt:i,imageStyledUrl:r}=t?.isPaywallProtectedFlag?(0,e_.getPaywalledImgData)(t?.errorObj):(0,ex.getImageMeta)(e?.relationships?.field_article_image);return{interestingTeaserCardImage:{src:a,alt:i,styledimage:r??null},interestingTeaserCardContent:{id:e?.attributes?.drupal_internal__nid??null,heading:(0,e_.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??"",text:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,buttonLabel:e?.attributes?.field_secondary_cta?.title?e?.attributes?.field_secondary_cta?.title:null,link:e?.attributes?.field_secondary_cta?.uri?(0,ex.filterURL)(e?.attributes?.field_secondary_cta?.uri):null,numberOfFavorite:"200",isLinkExternal:e?.attributes?.field_secondary_cta?.options?.attributes?.target?(0,ex.isExternalLink)(e?.attributes?.field_secondary_cta?.options?.attributes?.target):null}}})),{contentCards:(0,e_.filterNullValues)(i)??null,fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,ev],1124);var eA=t,ew=i,eE=Z,eS=n,eC=s,eT=et,eN=ea,ek=ei;let eI=async e=>{let t=await (0,eC.default)(e);return(t=t?.data)?{searchLabel:t.news_n_stories_what_are_you_looking??null,searchPlaceholder:t.news_n_stories_search_placeholder_text??null,searchCTAText:t.news_n_stories_search_cta_text??null,AlphaLabel:t?.news_n_stories_all_category_text??null,FormLabel:t?.news_n_stories_from_text??null,clearLabel:t?.news_n_stories_search_clear_all_text??null,other_
26category_text:t?.news_n_stories_other_category_text??null,resultsFoundText:t?.news_n_stories_search_results_found??null,noResultsFoundText:t?.news_n_stories_no_results_found_title??null,noResultsFoundDescription:t?.news_n_stories_no_results_found_body?.value??null,unSelectItemsLabel:t?.search_unselect_items??null,applyAllfilters:t?.news_n_stories_apply_all_filters??null,itemsPerPage:t?.news_n_stories_count_for_each_page??null,dropdown_placeholder_text:t?.news_n_stories_select_option_text??"",news_stories_search_default_config:t?.news_stories_search_default_config??"",news_stories_search_facets:t?.news_stories_search_facets??[],news_n_stories_label_profession:t?.news_n_stories_label_profession??"",news_n_stories_label_disease_area:t?.news_n_stories_label_disease_area??"",news_n_stories_label_treatment_area:t?.news_n_stories_label_treatment_area??"",news_n_stories_label_active_ingredient:t?.news_n_stories_label_active_ingredient??"",news_n_stories_label_medication_type:t?.news_n_stories_label_medication_type??"",news_n_stories_label_education_type:t?.news_n_stories_label_education_type??"",news_n_stories_label_news_category:t?.news_n_stories_label_news_category??"",news_n_stories_label_audience:t?.news_n_stories_label_audience??"",filter_toggle_label:t?.filter_toggle_label??""}:null},ej=e=>e?.filter(({specialityId:e,newsStoriesContent:t,imageSrc:a,styledimage:i})=>null!=t.heading||null!=t.text||null!=t.date||null!=t.buttonLabel||null!=t.buttonUrl||0!=t.taxonomies.length||null!=e||null!=a||null!=i),eP=async e=>{let t=await (0,eS.getBlockData)(e),a=Number(t?.meta?.count)??0,i=Number(t?.number_of_items_per_page)??0,r=(0,eA.getAllRoles)(t);t=t?.data??[];let{lang:n}=(0,eT.getApiDomainAndLang)();return t&&(t=await Promise.all(t?.map(async e=>{if((0,eA.isPaywallProtected)((0,ew.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,eA.isPaywallProtected)(e?.relationships?.field_nas_image),{imageUrl:a,alt:i,imageStyledUrl:r}=t?.isPaywallProtectedFlag?(0,eA.getPaywalledImgData)(t?.errorObj):(0,eS.getImageMeta)(e?.relationships?.field_nas_image),s=await (0,eS.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0),l=await (0,ew.default)(e,"relationships.field_news_category.data.meta.drupal_internal__target_id"),o=(0,eE.default)(e?.attibutes?.created).locale(n).format("YYYY")??null,c=e?.attributes?.field_news_published_date??null;return{newsStoriesContent:{id:e?.attributes?.drupal_internal__nid??"",taxonomies:s??null,heading:(0,eA.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,text:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,date:(0,eA.isPaywallProtected)(e?.attributes?.field_news_published_date).isPaywallProtectedFlag?null:c,buttonLabel:e?.attributes?.field_cta_nas?.title?e?.attributes?.field_cta_nas?.title:null,buttonUrl:e?.attributes?.field_cta_nas?.uri?(0,eS.filterURL)(e?.attributes?.field_cta_nas?.uri):null,bookmark:{addText:"Add Bookmark",removeText:"Remove Bookmark",bookmarkStatus:!1,isButton:!1},isButtonUrlExternal:e?.attributes?.field_cta_nas?.options?.attributes?.target?(0,eS.isExternalLink)(e?.attributes?.field_cta_nas?.options?.attributes?.target):null},specialityId:l,createdDate:(0,eA.isPaywallProtected)(e?.attibutes?.created).isPaywallProtectedFlag?null:o,imageSrc:a||null,imgAlt:i||null,styledimage:r||null}}))),{latestNewsStoriesCards:ej(t),totalCount:a,itemsPerPage:i,fieldPaywallRoles:r}},eL=async(e,...t)=>{let a=t?.[3],i=await eI(a),r=await (0,eN.default)(i,ek.default?.NEWS_STORIES);return{nasFilterData:{advanceFilterData:{buttonText:i?.searchLabel,filtersOptions:r,filtersLabels:{searchLabel:i?.searchLabel??"",searchPlaceholder:i?.searchPlaceholder??"",SearchCTAText:i?.searchCTAText??"",unselectFiltersCTA:i?.clearLabel??"",resultsFoundLabel:i?.resultsFoundText??"",noResultsFoundLabel:i?.noResultsFoundText??"",noResultsFoundDescription:i?.noResultsFoundDescription??"",applyFiltersCTA:i?.applyAllfilters??"",clearAllFilters:i?.clearLabel??"",unSelectItemsLabel:i?.unSelectItemsLabel??"",enableToggle:i?.news_stories_search_default_config??"",filterIconName:i?.filter_toggle_label??""}}}}};e.s(["default",0,eL,"getFormattedNewsCardsData",0,eP],76223);var eO=et,eD=ed,eM=i,eR=t,eF=n;let eB=async(e,...t)=>{let a=t?.[3],i=await (0,eF.getBlockData)(`${e}`,!1,a),r=(0,eR.isPaywallProtected)((0,eM.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,eR.getAllRoles)(i),s=i?.data,{lang:l}=(0,eO.getApiDomainAndLang)();(0,eD.default)()&&a?.language;let o=(0,eR.isPaywallProtected)(s?.relationships?.field_card_image),c=s?.relationships?.field_card_image?.data??[],d=[];for(let e of c){let{imageUrl:t,alt:a,imageStyledUrl:i}=(0,eF.getImageMeta)({data:e});d.push({src:t,alt:a,styledimage:i??null})}let u=await (0,eF.getTaxonomy)(s?.relationships?.field_term?.links?.related?.href,!1,a),{fileUrl:h}=await (0,eF.getFileByUrl)(s?.relationships?.field_upload_file_content?.links?.related?.href,a),f=s?.attributes?.field_date??null;return{id:s?.attributes?.drupal_internal__id??"",numberOfSlide:1,carouselData:o.isPaywallProtectedFlag?[(0,eR.getPaywalledImgData)(o.errorObj)]:d,contentData:{taxonomies:u??null,buttonLabel:s?.attributes?.field_file_cta_text?.value?s?.attributes?.field_file_cta_text?.value:null,buttonUrl:h?(0,eF.filterURL)(h):null,heading:s?.attributes?.field_carousel_title?.processed?s?.attributes?.field_carousel_title?.processed:null,content:s?.attributes?.body?.processed?s?.attributes?.body?.processed:null,date:(0,eR.isPaywallProtected)(s?.attributes?.field_date).isPaywallProtectedFlag?null:f,bookMarkData:{bookmarkStatus:!1,className:"bookmark"}},fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,eB],1943);var eU=t,eH=i,e$=Z,eG=n,eW=s,eY=ea,ez=ei;let eV=async e=>{let t=await (0,eW.default)(e);return(t=t?.data)?{searchLabel:t.therapy_what_are_you_looking??null,searchPlaceholder:t.therapy_search_placeholder_text??null,searchCTAText:t.therapy_search_cta_text??null,AlphaLabel:t?.therapy_all_category_text??null,FormLabel:t?.therapy_from_text??null,clearLabel:t?.therapy_search_clear_all_text??null,other_
26category_text:t?.therapy_other_category_text??null,selectOptionText:t?.therapy_select_option_text??null,resultsFoundText:t?.therapy_search_results_found??null,noResultsFoundText:t?.therapy_no_results_found_title??null,noResultsFoundDescription:t?.therapy_no_results_found_body?.value,applyAllfilters:t.news_n_stories_apply_all_filters??null,itemsPerPage:t?.news_n_stories_count_for_each_page??null,unSelectItemsLabel:t?.search_unselect_items??null,therapy_areas_search_default_config:t?.therapy_areas_search_default_config??null,therapy_areas_search_facets:t?.therapy_areas_search_facets??[],therapy_label_disease_area:t?.therapy_label_disease_area??null,therapy_label_treatment_area:t?.therapy_label_treatment_area??null,therapy_label_profession:t?.therapy_label_profession??null,therapy_label_medication_type:t?.therapy_label_medication_type??null,therapy_label_audience:t?.therapy_label_audience??null,filter_toggle_label:t?.filter_toggle_label??null}:null},eK=e=>e?.filter(({specialityId:e,therapyCardContent:t,image:a})=>null!=t.heading||null!=t.text||null!=t.buttonLabel||""!=t.buttonUrl||null!=e||""!=a.src||""!=a.styledimage),eq=async e=>{let t=await (0,eG.getBlockData)(e),a=Number(t?.meta?.count)??0,i=Number(t?.number_of_items_per_page)??0,r=(0,eU.getAllRoles)(t);return(t=t?.data??[])&&(t=await Promise.all(t?.map(async e=>{if((0,eU.isPaywallProtected)((0,eH.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,eU.isPaywallProtected)(e?.relationships?.field_therapy_overview_image),{imageUrl:a,alt:i,imageStyledUrl:r}=t?.isPaywallProtectedFlag?(0,eU.getPaywalledImgData)(t?.errorObj):(0,eG.getImageMeta)(e?.relationships?.field_therapy_overview_image),n=e?.relationships?.field_specialty?.data?.[0]?.meta?.drupal_internal__target_id??null,s=(0,eU.isPaywallProtected)(e?.attibutes?.created).isPaywallProtectedFlag?null:(0,e$.default)(e?.attibutes?.created).format("YYYY")??null;return{therapyCardContent:{heading:(0,eU.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,text:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,buttonLabel:(0,eU.isPaywallProtected)(e?.attributes?.field_more_info).isPaywallProtectedFlag?null:e?.attributes?.field_more_info??null,buttonUrl:e?.attributes?.path?.alias?(0,eG.filterURL)(e?.attributes?.path?.alias):"",isButtonUrlExternal:!!e?.attributes?.path?.alias&&(0,eG.isExternalLink)(e?.attributes?.path?.alias),bookmark:{addText:"Add Bookmark",removeText:"Remove Bookmark",bookmarkStatus:!0,isButton:!1}},specialityId:n,createdDate:s,image:{src:a||null,alt:i||null,styledimage:r||null}}}))),{therapyCards:eK(t),totalCount:a,itemsPerPage:i,fieldPaywallRoles:r}},eQ=async(e,...t)=>{let a=t?.[3],i=await eV(a);return{therapyFilterData:{advanceFilterData:{filtersOptions:await (0,eY.default)(i,ez.default?.THERAPY,a),filtersLabels:{searchLabel:i?.searchLabel??"",searchPlaceholder:i?.searchPlaceholder??"",SearchCTAText:i?.searchCTAText??"",unselectFiltersCTA:i?.clearLabel??"",resultsFoundLabel:i?.resultsFoundText??"",noResultsFoundLabel:i?.noResultsFoundText??"",noResultsFoundDescription:i?.noResultsFoundDescription??"",applyFiltersCTA:i?.applyAllfilters??"",unSelectItemsLabel:i?.unSelectItemsLabel??"",enableToggle:i?.therapy_areas_search_default_config??"",filterIconName:i?.filter_toggle_label??""}},filterTitle:""}}};e.s(["default",0,eQ,"getFormattedTherapyCardsData",0,eq],65225);var eZ=t,eX=i,eJ=er,e0=n,e1=et,e2=ed;let e3=async(e,...t)=>{let a=t?.[0],i=t?.[3],r=e.includes("?"),n=await (0,e0.getBlockData)(`${e}${r?"&":"?"}views-argument[0]=${a}`,!1,i),s=(0,eZ.isPaywallProtected)((0,eX.default)(n?.data?.[0],"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=n?.data?.[0]?.relationships?.field_category?.data?.map(e=>e?.meta?.term_name),o=l?.map(e=>({taxonomyLabel:e})),c=(0,eZ.getAllRoles)(n),d=n?.data?.[0]?.relationships?.field_image_therapy?n?.data?.[0]?.relationships?.field_image_therapy:n?.data?.[0]?.relationships?.field_nas_image,u=(0,eZ.isPaywallProtected)(d),h=d?.data??[],f=[];if(Array.isArray(h))for(let e of h){let{imageUrl:t,alt:a,caption:i,imageStyledUrl:r}=(0,e0.getImageMeta)({data:e});f.push({alt:a,src:t,caption:i??null,styledimage:r??null})}else{let{imageUrl:e,alt:t,caption:a,imageStyledUrl:i}=(0,e0.getImageMeta)({data:h});f.push({alt:t,src:e,caption:a??null,styledimage:i??null})}let p=(0,eX.default)(n?.data?.[0],"type")??null,m=p===eJ.newsBlockType?"attributes.field_news_published_date":"attributes.published_date",g=(0,eZ.isPaywallProtected)((0,eX.default)(n?.data[0],m)).isPaywallProtectedFlag?null:(0,eX.default)(n?.data?.[0],m),b=(0,eZ.isPaywallProtected)((0,eX.default)(n?.data?.[0],"attributes.field_enable_read_more_cta")).isPaywallProtectedFlag?null:(0,eX.default)(n?.data?.[0],"attributes.field_enable_read_more_cta"),_=(p!==eJ.newsBlockType||null!==b)&&(b??!0),y=n?.data?.[0]?.attributes?.field_alignment?n?.data?.[0]?.attributes?.field_alignment:"center",{lang:x}=(0,e1.getApiDomainAndLang)();return(0,e2.default)()&&i?.language,{titleNewsAndStoriesDetails:{title:(0,eZ.isPaywallProtected)(n?.data?.[0]?.attributes?.title).isPaywallProtectedFlag?"":n?.data?.[0]?.attributes?.title??"",subTitle:g??"",taxonomies:o??null,paragraph:n?.data?.[0]?.attributes?.body?.value??null,alignment:(0,eZ.isPaywallProtected)(n?.data?.[0]?.attributes?.field_alignment).isPaywallProtectedFlag?"center":y},detailNewsAndStories:{imageUrl:u?.isPaywallProtectedFlag?[(0,eZ.getPaywalledImgData)(u?.errorObj)]:f,readMoretitle:n?.data?.[0]?.attributes?.field_read_more_title?.processed??null,readMore:n?.data?.[0]?.attributes?.field_read_more?.processed??n?.data?.[0]?.attributes?.field_read_more?.value??null,showMoreButtonLabel:(0,eZ.isPaywallProtected)(n?.data?.[0]?.attributes?.field_show_more).isPaywallProtectedFlag?null:n?.data?.[0]?.attributes?.field_show_more??null,showLessButtomLabel:(0,eZ.isPaywallProtected)(n?.data?.[0]?.attributes?.field_show_less).isPaywallProtectedFlag?null:n?.data?.[0]?.attributes?.field_show_less??null,isReadMoreEnabled:_,fieldPaywallRoles:c,isParentPaywalled:s}}};e.s(["default",0,e3],48623);var e4=t,e6=Z,e5=n,e8=e.i(68712),e7=s,e9=e.i(28827),te=e.i(8016),tt=et,ta=ed,ti=i;let tr=async e=>{let t=await (0,e7.default)(e);return(t=t?.data)?{searchLabel:t.product_list_search_cta_text,AlphaLabel:t.product_list_alphabethical_text,FormLabel:t.product_list_from_text,clearLabel:t.product_list_search_clear_all_text,other_
26category_text:t.product_list_category_text,product_title:t.product_list_configuration_title_text,product_select_option:t.news_n_stories_select_option_text}:{searchLabel:"",AlphaLabel:"",FormLabel:"",clearLabel:"",other_category_text:"",product_title:"",product_select_option:""}},tn=e=>{let t=[];return e?.map((e,a)=>{t.push({id:e?.attributes?.drupal_internal__tid,value:e?.attributes?.name,label:e?.attributes?.name})}),t},ts=async e=>{let t=await (0,te.default)(e);return tn(t=t?.data)},tl=async e=>{let t=await (0,e9.default)(e);return tn(t=t?.data)},to=async(e,...t)=>{let a=t?.[3],i=await tr(a),r=(0,e4.getAllRoles)(i),n=await (0,e8.default)(a),s=await ts(a),l=await tl(a),o={advanceFilterData:{placeholderText:i?.searchLabel??"",buttonText:i?.searchLabel??"",isCleared:!0,filtersOptions:[{label:i?.AlphaLabel??"",selectOptions:{isCleared:!0,isMulti:!0,options:l,ariaLabel:"Select Element",name:"select"}},{label:i?.other_category_text??"",selectOptions:{isCleared:!0,options:n,ariaLabel:"Select Element",name:"select",isMulti:!0,placeHolder:i?.product_select_option}},{label:i?.FormLabel??"",selectOptions:{isCleared:!0,options:s,ariaLabel:"Select Element",name:"select",isMulti:!0}}]},filterTitle:i?.product_title??"",clearAllText:i?.clearLabel??"",labelItemsSelected:" selected"},c=await (0,e5.getBlockData)(e,!1,a),{lang:d}=(0,tt.getApiDomainAndLang)(),u=(0,ta.default)()?a?.language:d;return c=c?.data,c=await Promise.all(c?.map(async e=>{if((0,e4.isPaywallProtected)((0,ti.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,e4.isPaywallProtected)(e?.relationships?.field_product_image)?null:e?.relationships?.field_product_image?.data?.[0]?.id,{imageUrl:i,alt:r,imageStyledUrl:n}=t?.isPaywallProtectedFlag?(0,e4.getPaywalledImgData)(t?.errorObj):(0,e5.getImageMeta)({data:e?.relationships?.field_product_image?.data?.[0]}),s=e?.relationships?.field_category?.links?.related?.href,l=s?await (0,e5.getTaxonomy)(s,!0,a):[],o=e?.relationships?.field_product_specialty?.data?.[0]?.meta?.drupal_internal__target_id??null,c=(0,e6.default)(e?.attibutes?.created).locale(u).format("YYYY")??null;return{productCardContent:{id:e?.attributes?.drupal_internal__nid??"",content:e.attributes.body.value??null,heading:e?.attributes?.field_display_title?.value??null,buttonLabel:e?.attributes?.field_secondary_cta?.title??null,taxonomies:l??null,link:(0,e5.filterURL)(e?.attributes?.field_secondary_cta?.uri)??null,isLinkExternal:!1,href:(0,e5.filterURL)(e?.attributes?.field_secondary_cta?.uri)??null,bookmark:{addText:"Add Bookmark",removeText:"Remove Bookmark",bookmarkStatus:!1,isButton:!1}},productCardImage:{src:i??null,alt:r??null,styledimage:n??null},specialityId:o,createdDate:(0,e4.isPaywallProtected)(e?.attibutes?.created).isPaywallProtectedFlag?null:c}})),{filterData:o,cards:(0,e4.filterNullValues)(c),pagination:{itemsPerPage:9,itemsPerPageMobile:9},fieldPaywallRoles:r}};e.s(["default",0,to],41084);var tc=t,td=n,tu=t,th=i,tf=n;let tp=async(e,t,a)=>{let i;i=t||await (0,tf.getBlockData)(e,!1,a);let r=(0,tu.isPaywallProtected)((0,th.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,tu.getAllRoles)(i),s=(0,tu.isPaywallProtected)((0,th.default)(i,"data.attributes.field_anchor_button_type")).isPaywallProtectedFlag?null:(0,th.default)(i,"data.attributes.field_anchor_button_type"),l=(0,tu.isPaywallProtected)((0,th.default)(i,"data.attributes.field_button_title")).isPaywallProtectedFlag?null:(0,th.default)(i,"data.attributes.field_button_title"),o=(0,th.default)(i,"data.id"),c=o?await (0,tf.getAnchorCTAFileUrl)(o,a):null;return"print"===s||"download"===s||"link"===s?{ctaBtnType:s??null,ctaBtnData:{tabindex:1,children:l??null,isSecondary:!0,href:"link"!==s?c:(0,th.default)(i,"data.attributes.field_link.uri"),target:(0,th.default)(i,"data.attributes.field_link.options.attributes.target")??""},fieldPaywallRoles:n,isParentPaywalled:r}:null};var tm=t,tg=i,tb=n;let t_=async(e,t,a)=>{let i;i=t||await (0,tb.getBlockData)(`${e}`,!1,a);let r=(0,tm.isPaywallProtected)((0,tg.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,tm.getAllRoles)(i),s=(0,tm.isPaywallProtected)((0,tg.default)(i,"data.attributes.field_common_cta_type")).isPaywallProtectedFlag?null:(0,tg.default)(i,"data.attributes.field_common_cta_type"),l=(0,tm.isPaywallProtected)((0,tg.default)(i,"data.attributes.field_add_cta_text.value")).isPaywallProtectedFlag?null:(0,tg.default)(i,"data.attributes.field_add_cta_text.value"),o=(0,tm.isPaywallProtected)((0,tg.default)(i,"data.attributes.field_remove_cta_text.value")).isPaywallProtectedFlag?null:(0,tg.default)(i,"data.attributes.field_remove_cta_text.value");return"bookmark"===s?{ctaBtnType:s,ctaBtnData:{bookmarkStatus:!1,isButton:!0,addText:l,removeText:o},isParentPaywalled:r,fieldPaywallRoles:n}:"calendar"===s?{ctaBtnType:s,ctaBtnLabel:l,ctaBtnData:{eventTitle:"",startDate:"",endDate:"",eventDescription:"",location:""},isParentPaywalled:r,fieldPaywallRoles:n}:"medicalinfo"===s||"favourite"===s?{ctaBtnType:s,ctaBtnLabel:l,fieldPaywallRoles:n,isParentPaywalled:r}:null};var ty=t,tx=i,tv=n;let tA=async(e,t,a)=>{let i;i=t||await (0,tv.getBlockData)(`${e}`,!1,a);let r=(0,ty.isPaywallProtected)((0,tx.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,ty.getAllRoles)(i);return{ctaBtnType:"cta_button",ctaBtnData:{fieldButtonAlignment:(0,ty.isPaywallProtected)((0,tx.default)(i,"attributes.field_button_alignment")).isPaywallProtectedFlag?"":(0,tx.default)(i,"attributes.field_button_alignment")??"",fieldButtonUri:(0,tv.filterURL)((0,tx.default)(i,"attributes.field_cta_url.uri"))??"",referenceId:(0,tx.default)(i,"attributes.field_reference_id")??"",iconAlignment:(0,tx.default)(i,"attributes.field_icon_alignment")??"",iconType:(0,tx.default)(i,"attributes.field_icon_type")??"",fieldButtonTarget:(0,tx.default)(i,"attributes.field_cta_url.options.attributes.target")??""},ctaBtnLabel:(0,tx.default)(i,"attributes.field_cta_url.title")??"",fieldPaywallRoles:n,isParentPaywalled:r}};var tw=i,tE=t,tS=n;let tC=async(e,t,a)=>{let i;i=t||await (0,tS.getBlockData)(`${e}`,!1,a);let r=(0,tE.isPaywallProtected)((0,tw.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,tE.getAllRoles)(i);return{ctaBtnType:"social_sharing",ctaBtnLabel:(0,tw.default)(i,"attributes.field_social_sharing_text.value")??"",ctaBtnData:await (0,tS.getTaxonomy)((0,tw.default)(i,"relationships.field_social_platforms.links.related.href")??"",!1,a)??[],pageLinkLabel:(0,tw.default)(i,"attributes.field_page_link_text.value")??"",copiedLabel:(0,tw.default)(i,"attributes.field_copy_icon_text.value")??"",copyBtnLabel:(0,tw.default)(i,"attributes.field_copy_button_label")??"",fieldPaywallRoles:n,isParentPaywalled:r}};var tT=i;let tN="block_content--common_cta",tk="block_content--anchor_cta",tI="block_content--social_sharing",tj="block_content--cta_button",tP=async(e,...t)=>{let a=t?.[3],i=await (0,td.getBlockData)(e,!1,a),r=(0,tT.default)(i,"data.attributes.field_background")||"",n=(0,tT.default)(i,"data.attributes.field_button_group_alignment")||"left",s=(0,tc.isPaywallProtected)((0,tT.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=(0,tc.getAllRoles)(i);return(i=i?.included)?{buttons:(await Promise.all(i.map(async e=>{switch(e.type){case tN:let t=await t_("",{data:e},a);return t?.isParentPaywalled?null:t;case tk:let i=await tp("",{data:e},a);return i?.isParentPaywalled?null:i;case tI:let r=await tC("",e,a);return r?.isParentPaywalled?null:r;case tj:let n=await tA("",e,a);return n?.isParentPaywalled?null:n;default:return null}}
26))).filter(Boolean),buttonGroupBackgroundColor:r,isParentPaywalled:s,buttonGroupAlignment:n,fieldPaywallRoles:l}:null};e.s(["default",0,tP],97066);var tL=t,tO=n,tD=e.i(81577),tM=i,tR=e.i(75425);let tF=e=>({title:(0,tM.default)(e,"attributes.field_hero_banner_title.value")??null,paragraph:(0,tM.default)(e,"attributes.body.processed")??null,titleSuperscript:(0,tM.default)(e,"attributes.field_title_superscript.value")??null,linkText:(0,tM.default)(e,"attributes.field_hero_banner_cta_link.title")??null,isOverlay:(0,tM.default)(e,"attributes.field_overlay_on_off")??null,isOverlayFontType:(0,tM.default)(e,"attributes.field_font_dark_light")??null,link:e?.attributes?.field_hero_banner_cta_link?(0,tO.filterURL)((0,tM.default)(e,"attributes.field_hero_banner_cta_link.uri")):null,isExternalLink:(0,tO.isExternalLink)((0,tM.default)(e,"attributes.field_hero_banner_cta_link.options.attributes.target")),cta_two_label:(0,tM.default)(e,"attributes.field_hero_banner_cta_link_2.title")??null,cta_two_uri:(0,tO.filterURL)((0,tM.default)(e,"attributes.field_hero_banner_cta_link_2.uri"))??null,cta_two_externalLink:(0,tM.default)(e,"attributes.field_hero_banner_cta_link_2.options.attributes.target")?(0,tO.isExternalLink)((0,tM.default)(e,"attributes.field_hero_banner_cta_link_2.options.attributes.target")):null,cta_three_label:(0,tM.default)(e,"attributes.field_hero_banner_cta_link_3.title")??null,cta_three_uri:(0,tO.filterURL)((0,tM.default)(e,"attributes.field_hero_banner_cta_link_3.uri"))??null,cta_three_externalLink:(0,tM.default)(e,"attributes.field_hero_banner_cta_link_3.options.attributes.target")?(0,tO.isExternalLink)((0,tM.default)(e,"attributes.field_hero_banner_cta_link_3.options.attributes.target")):null}),tB=async e=>{let t=(0,tL.isPaywallProtected)((0,tM.default)(e,"relationships.field_hero_banner_desktop_image")),a=(0,tL.isPaywallProtected)((0,tM.default)(e,"relationships.field_hero_banner_mobile_image")),{imageUrl:i,alt:r,imageStyledUrl:n}=t?.isPaywallProtectedFlag?(0,tL.getPaywalledImgData)(t?.errorObj):(0,tO.getImageMeta)(e?.relationships?.field_hero_banner_desktop_image),{imageUrl:s,alt:l,imageStyledUrl:o}=a.isPaywallProtectedFlag?(0,tL.getPaywalledImgData)(a?.errorObj):(0,tO.getImageMeta)(e?.relationships?.field_hero_banner_mobile_image);return{desktopImage:{src:i??"",alt:r??"",width:1440,height:540,styledimage:n??null},mobileImage:{src:s??"",alt:l??"",width:390,height:240,styledimage:o}}},tU=async(e,...t)=>{let a=t?.[3],i=t?.[2];if(!e)throw(0,tD.consoleError)(`URL parameter is undefined in ${tU.name}.`);let r=e.includes("?"),n=i&&Object.keys(i)?.length>0?i:await (0,tO.getBlockData)(`${e}${r?"&":"?"}include=field_hero_banner`,!1,a),s=(0,tL.isPaywallProtected)((0,tM.default)(n,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=(0,tL.getAllRoles)(n),o=Number((0,tM.default)(n,"data.attributes.field_duration.value")??tR.default.ZERO),c=Number((0,tM.default)(n,"data.attributes.field_enable_pause_play_banner")??!1),d=n?.included??[],u=await Promise.all(d.map(async e=>{if((0,tL.isPaywallProtected)((0,tM.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=await tB(e);return{heroBannerContent:tF(e),eventBannerContent:null,heroBannerImage:t,uploadType:(0,tM.default)(e,"attributes.field_hero_banner_upload_type")??null,referenceField:(0,tM.default)(e,"attributes.field_reference_field.value")??null,isImageClickable:(0,tM.default)(e,"attributes.field_image_clickable")??null}}));return{duration:o,enablePlayPause:c,slidesInfo:(0,tL.filterNullValues)(u),fieldPaywallRoles:l,isParentPaywalled:s}},tH=tU;e.s(["default",0,tH],88948);var t$=t,tG=i,tW=n;let tY=async(e,...t)=>{let a=t?.[3],i=await (0,tW.getBlockData)(`${e}`,!1,a),r=(0,t$.isPaywallProtected)((0,tG.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,t$.getAllRoles)(i),s=i?.data?.attributes?.field_other_nas_block_title?.value;return i=i?.included&&await Promise.all(i?.included?.map(async e=>{if((0,t$.isPaywallProtected)((0,tG.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,t$.isPaywallProtected)(e?.relationships?.field_nas_image),i=e?.relationships?.field_nas_image?.data?.id,{imageUrl:r,imageStyledUrl:n,alt:l,width:o,height:c}=t?.isPaywallProtectedFlag?(0,t$.getPaywalledImgData)(t?.errorObj):await (0,tW.getImage)(i,"","",a);return{suggestedNewsAndStoriesTitle:s,articleTeaserContent:{taxonomies:((0,t$.isPaywallProtected)(e?.relationships?.field_category).isPaywallProtectedFlag?"":await (0,tW.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0,a))??null,heading:(0,t$.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,text:e?.attributes?.body?.processed??null,buttonLabel:e?.attributes?.field_cta_nas?.title??null,link:(0,tW.filterURL)(e?.attributes?.field_cta_nas?.ur
26i)??null,linkExternal:e?.attributes?.field_cta_nas?.options?.attributes?.target?(0,tW.isExternalLink)(e?.attributes?.field_cta_nas?.options?.attributes?.target):null},articleTeaserImage:{desktopImage:{alt:l??null,src:r??null,styledimage:n??null,width:o??496,height:c??372}}}})),{newsData:(0,t$.filterNullValues)(i)??null,fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,tY],92692);var tz=i,tV=tD,tK=er,tq=t,tQ=n;let tZ=async(e,...t)=>{if(!e)throw(0,tV.consoleError)(`URL parameter is undefined in ${tZ.name}.`);let a=t?.[3],i=await (0,tQ.getBlockData)(`${e}`,!1,a),r=(0,tq.isPaywallProtected)((0,tz.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,tq.getAllRoles)(i),s=(0,tz.default)(i?.data,"attributes.field_qc_title.processed")??"",l=(0,tz.default)(i?.data,"attributes.field_card_alignment_style")??"left",o=[];return void 0!==i&&i.included&&Array.isArray(i.included)&&(o=await Promise.all(i?.included?.map(async e=>(0,tq.isPaywallProtected)((0,tz.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag?null:{field_quick_link_card_title:(0,tz.default)(e,"attributes.field_quick_link_card_title.value")??"",body:(0,tz.default)(e,"attributes.body.processed")??(0,tz.default)(e,"attributes.body.value")??null,field_card_link:(0,tQ.filterURL)((0,tz.default)(e,"attributes.field_card_link.uri"))??"",field_card_title:(0,tz.default)(e,"attributes.field_card_link.title")??"",field_link_target:(0,tQ.filterURL)((0,tz.default)(e,"attributes.field_card_link.options.attributes.target"))??tK.URL_TARGET.SELF,cardAlignment:(0,tz.default)(e,"attributes.field_text_alignment_style")??"left",referenceId:(0,tz.default)(e,"attributes.field_reference_id")??""}))),{cardInfo:(0,tq.filterNullValues)(o),quickLinkTitle:s,fieldPaywallRoles:n,cardGroupAlignment:l,isParentPaywalled:r}},tX=tZ;e.s(["default",0,tX],14473);var tJ=t,t0=n,t1=tD,t2=i;let t3=async(e,t)=>{if((0,tJ.isPaywallProtected)((0,t2.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let a=(0,tJ.isPaywallProtected)((0,t2.default)(e,"relationships.field_testimonial_image")),i=(0,tJ.isPaywallProtected)((0,t2.default)(e,"relationships.field_brand_logo")),r=(0,t2.default)(e,"relationships.field_testimonial_image.data.id"),n=(0,t2.default)(e,"relationships.field_brand_logo.data.id"),{imageUrl:s,alt:l,imageStyledUrl:o}=a?.isPaywallProtectedFlag?(0,tJ.getPaywalledImgData)(a?.errorObj):(0,t0.getImageMeta)(e?.relationships?.field_testimonial_image),{logoImageUrl:c,logoImageAlt:d}=i.isPaywallProtectedFlag?(0,tJ.getPaywalledImgData)(i?.errorObj):await (0,t0.getImage)(r,void 0,n,t),u=(0,tJ.isPaywallProtected)((0,t2.default)(e,"attributes.field_author_name")).isPaywallProtectedFlag?null:(0,t2.default)(e,"attributes.field_author_name")??null;return{testimonialContent:{name:u,designation:(0,tJ.isPaywallProtected)((0,t2.default)(e,"attributes.field_author_designation")).isPaywallProtectedFlag?null:(0,t2.default)(e,"attributes.field_author_designation")??null,summary:(0,tJ.isPaywallProtected)((0,t2.default)(e,"attributes.field_testimonial_summary")).isPaywallProtectedFlag?null:(0,t2.default)(e,"attributes.field_testimonial_summary")??null},image:s??null,alt:l,logoImageUrl:c??"",logoImageAlt:d??null,styledimage:o??null}},t4=async(e,...t)=>{if(!e)throw(0,t1.consoleError)(`URL parameter is undefined in ${t4.name}.`);let a=t?.[3],i=await (0,t0.getBlockData)(`${e}`,!1,a),r=(0,tJ.isPaywallProtected)((0,t2.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=i?.included??[],s=(0,tJ.getAllRoles)(n),l=await Promise.all(n.map(async e=>t3(e,a)));return{slidesInfo:(0,tJ.filterNullValues)(l),fieldPaywallRoles:s,isParentPaywalled:r}},t6=t4;e.s(["default",0,t6],2259);var t5=tD,t8=i,t7=t,t9=n;let ae=async(e,t)=>{let a=(0,t8.default)(e,"meta.override"),i=(0,t8.default)(e,"id"),r=t.find(e=>e.id===i),n=(0,t8.default)(r,"attributes.path.alias")??"",s=(0,t7.isPaywallProtected)((0,t8.default)(r,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag;return{referenceTitle:s?null:a,referencePath:s?null:n}},at=async(e,...t)=>{if(!e)throw(0,t5.consoleError)(`URL parameter is undefined in ${at.name}.`);let a=t?.[3],i=await (0,t9.getBlockData)(`${e}`,!1,a),r=(0,t7.isPaywallProtected)((0,t8.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,t7.getAllRoles)(i),s=(0,t8.default)(i?.data,"attributes.field_rsp_title.processed"),l=(0,t8.default)(i?.data,"relationships.field_reference_link.data")??[],o=i?.included??[];return{rightPanelTitle:s,rightSidePanelInfo:await Promise.all(l.map(async e=>ae(e,o))),fieldPaywallRoles:n,isParentPaywalled:r}},aa=at;e.s(["default",0,aa],59392);var ai=t,ar=n,an=tD,as=i;let al=async(e,...t)=>{if(!e)throw(0,an.consoleError)(`URL parameter is undefined in ${al.name}.`);let a=t?.[3],i=await (0,ar.getBlockData)(`${e}`,!1,a),r=i?.data??{},n=(0,ai.isPaywallProtected)((0,as.default)(r,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,s=(0,ai.getAllRoles)(r);return{iframeURL:(0,as.default)(r,"attributes.field_iframe_raw_url.uri")??null,width:(0,as.default)(r,"attributes.field_width")??null,height:(0,as.default)(r,"attributes.field_height")??null,title:(0,as.default)(r,"attributes.field_header_title.value")??null,fieldPaywallRoles:s,isParentPaywalled:n}},ao=al;e.s(["default",0,ao],46328);var ac=t,ad=te;let au=async e=>{let t=await (0,ad.default)(e);t=t?.data;let a=[];return t?.map((e,t)=>{a.push({id:e?.attributes?.drupal_internal__tid,value:(0,ac.isPaywallProtected)(e?.attributes?.name).isPaywallProtectedFlag?"":e?.attributes?.name,label:(0,ac.isPaywallProtected)(e?.attributes?.name).isPaywallProtectedFlag?"":e?.attributes?.name})}),a};e.s(["default",0,au],89720);var ah=t,af=i,ap=n;let am=async(e,...t)=>{let a=t?.[3],i=await (0,ap.getBlockData)(e,!1,a),r=(0,ah.isPaywallProtected)((0,af.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,ah.getAllRoles)(i),s=(0,ah.isPaywallProtected)(i?.data?.relationships?.field_images),l=i?.data?.relationships?.field_images?.data??[],o=(0,ah.isPaywallProtected)(i?.data?.relationships?.field_image_mobile_images),c=i?.data?.relationships?.field_image_mobile_images?.data??[],d=[];d=s.isPaywallProtectedFlag?[(0,ah.getPaywalledImgData)(s.errorObj)]:await Promise.all(l.map(async e=>{let{imageUrl:t,imageStyledUrl:a,alt:i,width:r,height:n}=(0,ap.getImageMeta)({data:e});return{desktopImage:{src:t??null,alt:i??"",width:r??null,height:n??null,styledimage:a??null}}}));let u=[];return u=o.isPaywallProtectedFlag?[(0,ah.getPaywalledImgData)(o.errorObj)]:await Promise.all(c.map(async e=>{let{imageUrl:t,imageStyledUrl:a,alt:i,width:r,height:n}=(0,ap.getImageMeta)({data:e});return{mobileImage:{src:t??null,alt:i??"",width:r??null,height:n??null,styledimage:a??null}}})),{images:d.map((e,t)=>{let a=u[t];return{...e,...a}}),fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,am],1904);var ag=et,ab=tD,a_=s;let ay="contact us",ax=async(e,...t)=>{if(!e)throw(0,ab.consoleError)(`URL parameter is undefined in ${ax.name}.`);let a=t?.[3],i=await (0,ag.getApi)(e,!1,a),r=await (0,a_.default)(a),n=r?.flash_num_msg?.filter(e=>e?.title?.toLowerCase()===ay)??null,s=e=>{switch(e["#type"]){case"select":return[{type:"text",title:e["#description"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??""},{type:e["#type"],formName:e["#webform"]??"",key:e["#webform_key"]??"",options:Object.entries(e["#options"]||{}).map(([e,t],a)=>({key:e,value:t,id:a}))??[]}];case"textfield":case"tel":case"email":{let t={type:"text",title:e["#description"]??""},a={type:e["#type"]??"text",label:e["#title"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??"",validations:{mandatory:{required:e["#required"]??!1,message:e["#required_error"]??""},pattern:{required:!!e["#pattern"]??!1,regEx:e["#pattern"]??"",message:e["#pattern_error"]??""}},validationErrorMessage:e["#required_error"]??"",inputField:{name:e["#webform_key"],placeholder:e["#placeholder"]??"",required:e["#required"]??""}};return e["#description"]?[t,a]:a}case"checkbox":return{type:e["#type"],label:e["#title"]??"",id:e["#webform_id"],value:e["#title"]??"",formName:e["#webform"]??"",key:e["#webform_key"]??"",isDisabled:!1,isChecked:!1,isRequired:e["#required"]??!1};case"webform_actions":return{text:e["#submit__label"]??"",url:"#",type:"button",role:"submit",formName:e["#webform"]??"",key:e["#webform_key"]??""};case"label":return{text:e["#title"]??"",url:"#",type:"button",role:"reset",formName:e["#webform"]??"",key:e["#webform_key"]??""};default:return{type:e["#type"]??"text"}}};return{sections:Object.entries(i).reduce((e,[,t])=>{let a=e.length;if(t&&"object"==typeof t){let i=s(t);if(Object.keys(t).includes("#description"))return[...e,i];let r=[...e[a-1],i];return e[a-1]=r,e}},[]),notificationMessages:n}},av=ax;e.s(["default",0,av],70447);var aA=t,aw=i,aE=et,aS=n,aC=er;let aT=async(e,t,a)=>{let i=await (0,aE.getApi)(e,!1,a),r=(0,aA.getAllRoles)(i),n=i?.data?.attributes?.field_text_alignment_style??"left";switch(i=i?.data,t){case"icon_cards":{if((0,aA.isPaywallProtected)((0,aw.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let e=(0,aA.isPaywallProtected)(i?.relationships?.field_icon),s=i?.relationships?.field_icon?.data?.id,{imageUrl:l,alt:o,imageStyledUrl:c}=e?.isPaywallProtectedFlag?(0,aA.getPaywalledImgData)(e?.errorObj):await (0,aS.getImage)(s,"","",a);return{title:i?.attributes?.field_icontitle?.value??null,paragraph:i?.attributes?.body?.value??null,imageSrc:l??null,imageAlt:o??null,styledimage:c??null,link:(0,aS.filterURL)(i?.attributes?.field_button?.uri)??null,linkText:i?.attributes?.field_button?.title??null,linkTarget:i?.attributes?.field_button?.options?.attributes?.target??"",cardType:t,cardAlignment:n,fieldPaywallRoles:r}}case"teaser_feature_block":{if((0,aA.isPaywallProtected)((0,aw.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let e=(0,aA.isPaywallProtected)(i?.relationships?.field_tf_image),{imageUrl:a,alt:s,imageStyledUrl:l}=e?.isPaywallProtectedFlag?(0,aA.getPaywalledImgData)(e?.errorObj):(0,aS.getImageMeta)(i?.relationships?.field_tf_image);return{title:(0,aA.isPaywallProtected)(i?.attributes?.field_tf_title).isPaywallProtectedFlag?null:i?.attributes?.field_tf_title??null,paragraph:i?.attributes?.body?.value??null,imageSrc:a??null,imageAlt:s??null,styledimage:l??null,link:(0,aS.filterURL)(i?.attributes?.field_feature_cta?.ur
26i)??null,linkText:i?.attributes?.field_feature_cta?.title??null,gridType:(0,aA.isPaywallProtected)(i?.attributes?.field_grid_type).isPaywallProtectedFlag?null:i?.attributes?.field_grid_type??null,cardType:t,cardAlignment:n,fieldPaywallRoles:r}}case"teaser_block_card":{if((0,aA.isPaywallProtected)((0,aw.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let e=(0,aA.isPaywallProtected)(i?.relationships?.field_tbc_image),{imageUrl:a,alt:s,imageStyledUrl:l}=e?.isPaywallProtectedFlag?(0,aA.getPaywalledImgData)(e?.errorObj):(0,aS.getImageMeta)(i?.relationships?.field_tbc_image),o=!1;return o=i?.attributes?.field_tbc_cta?.options?.attributes?.target==="_blank",{title:i?.attributes?.field_tbc_title?.value??null,paragraph:i?.attributes?.body?.value??null,imageSrc:a??null,imageAlt:s??null,styledimage:l??null,link:(0,aS.filterURL)(i?.attributes?.field_tbc_cta?.uri)??null,linkText:i?.attributes?.field_tbc_cta?.title??null,linkIsExternal:o??!1,cardType:t,cardAlignment:n,imageCtaUrl:(0,aS.filterURL)(i?.attributes?.field_tca_image_link?.uri)??null,isImageClickable:i?.attributes?.field_image_clickable??!1,fieldPaywallRoles:r}}case"teaser_snacbite":{if((0,aA.isPaywallProtected)((0,aw.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let e=(0,aA.isPaywallProtected)(i?.relationships?.field_ts_image),{imageUrl:a,alt:s,imageStyledUrl:l}=e?.isPaywallProtectedFlag?(0,aA.getPaywalledImgData)(e?.errorObj):(0,aS.getImageMeta)(i?.relationships?.field_ts_image);return{title:(0,aA.isPaywallProtected)(i?.attributes?.field_ts_title).isPaywallProtectedFlag?null:i?.attributes?.field_ts_title??null,description:i?.attributes?.body?.processed??i?.attributes?.body?.value??null,imageSrc:a??null,imageAlt:s??null,styledimage:l??null,imgCaption:(0,aA.isPaywallProtected)(i?.attributes?.field_caption).isPaywallProtectedFlag?null:i?.attributes?.field_caption??null,cardType:t,cardAlignment:n,fieldPaywallRoles:r}}default:return null}},aN=async(e,t,a)=>{if("teaser_feature_block"===e||"icon_cards"===e||"teaser_block_card"===e||"teaser_snacbite"===e)return await aT(`/jsonapi/block_content/${e}/${t}`,e,a);if("teaser_description_card"===e){let i=await (0,aE.getApi)(`/jsonapi/block_content/${e}/${t}`,!0,a),r=(0,aA.getAllRoles)(i);if(i=i?.data,(0,aA.isPaywallProtected)((0,aw.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let n=i?.attributes?.field_text_alignment_style??"";return{title:(0,aA.isPaywallProtected)(i?.attributes?.field_teaser_title).isPaywallProtectedFlag?null:i?.attributes?.field_teaser_title??null,description:i?.attributes?.field_teaser_group_description?.value??null,cardAlignment:n,fieldPaywallRoles:r}}return null},ak=async(e,...t)=>{let a,i=t?.[0],r=t?.[3],n=await (0,aS.getBlockData)(e,!1,r),s=(0,aA.isPaywallProtected)((0,aw.default)(n,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=(0,aA.getAllRoles)(n),o=[],c=(0,aA.isPaywallProtected)(n?.data?.attributes?.field_tb_type).isPaywallProtectedFlag?null:n?.data?.attributes?.field_tb_type,d=(0,aA.isPaywallProtected)(n?.data?.attributes?.field_teaser_card_type).isPaywallProtectedFlag?null:n?.data?.attributes?.field_teaser_card_type??null,u=n?.data?.attributes?.field_tb_cta?.title??null,h=(0,aS.filterURL)(n?.data?.attributes?.field_tb_cta?.uri)??null,f=(0,aA.isPaywallProtected)(n?.data?.attributes?.field_teaser_block_type_for_mobi).isPaywallProtectedFlag?0:n?.data?.attributes?.field_teaser_block_type_for_mobi??3,p=(0,aA.isPaywallProtected)(n?.data?.attributes?.field_teaser_block_type_for_tabl).isPaywallProtectedFlag?0:n?.data?.attributes?.field_teaser_block_type_for_tabl??3;for(let e of a="teaser_description_card"===d?n?.data?.relationships?.field_teaser_block_card_group?.data??[]:n?.data?.relationships?.field_tb_reference?.data??[])o.push(await aN(d,`${e?.id}${i?`?${aC.PAGE_NID_FILTER}${i}`:""}`,r));if("teaser_description_card"===d)return{displayOption:c,cardType:d,teaserData:[{allFeatureCards:(0,aA.filterNullValues)(o),ctaLink:h,ctaLabel:u,linkIsExternal:!1}],columnTablet:12,columnDesktop:12,fieldPaywallRoles:l,isParentPaywalled:s};if("teaser_snacbite"===d){let e=Math.round(12/p)??12,t=Math.round(12/f)??12;return{displayOption:c,cardType:d,teaserData:(0,aA.filterNullValues)(o),columnTablet:e,columnDesktop:t,cardCountInDesk:f??1,cardCountInTab:p??1,fieldPaywallRoles:l,isParentPaywalled:s}}if("teaser_block_card"===d){let e,t;
26return("carousel"===c)??"tile"===c?(e=Math.round(12/p)??4,t=Math.round(12/f)??4):(e=6,t=6),{displayOption:c,cardType:d,teaserData:(0,aA.filterNullValues)(o),columnTablet:e,columnDesktop:t,cardCountInDesk:f??3,cardCountInTab:p??3,fieldPaywallRoles:l,isParentPaywalled:s}}if("icon_cards"===d){let e,t;return"carousel"===c?(e=Math.round(12/p)??4,t=Math.round(12/f)??4):(e="rail"===c?4:6,t=6),{displayOption:c,cardType:d,teaserData:(0,aA.filterNullValues)(o),columnTablet:e,columnDesktop:t,cardCountInDesk:f,cardCountInTab:p,fieldPaywallRoles:l,isParentPaywalled:s}}if("teaser_feature_block"===d){let e,t;return"carousel"===c?(e=Math.round(12/p)??4,t=Math.round(12/f)??4):(e=6,t=6),{displayOption:c,cardType:d,teaserData:(0,aA.filterNullValues)(o),columnTablet:e,columnDesktop:t,cardCountInDesk:f,cardCountInTab:p,fieldPaywallRoles:l,isParentPaywalled:s}}return null};e.s(["default",0,ak],61945);var aI=t,aj=n,aP=tD,aL=tR,aO=tD,aD=s,aM=et,aR=t;let aF="Sort Products",aB="More about Product",aU="More about Product Family",aH=async(e,t,a)=>{if(!e)throw(0,aO.consoleError)(`URL parameter is undefined in ${aH.name}.`);let i=await (0,aD.default)(a);i=i?.data;let r=async()=>({hideViewCTA:i?.product_list_view_cta_toggle!==aL.default.ONE,labels:{list_view_text:i?.product_list_view_text??null,grid_view_text:i?.product_grid_view_text??null,default_view:i?.product_list_default_view??null},title:i?.product_list_configuration_title_text??"",cardButtonCTALabel:i?.product_list_button_label_text??null,searchLabels:{inputDataContent:{type:"primary",placeholder:i?.fes_search_cta??""},buttonText:i?.product_list_search_cta_text??""},filterLabels:{clearText:i?.product_list_search_clear_all_text??"",applyText:i?.product_list_apply_filter_text??"",searchCTA:i?.fes_search_cta??"",filterText:i?.fes_cat_text??"",showMoreText:i?.fes_show_more_text??"",showLessText:i?.fes_show_less_text??"",textSearchLabel:i?.fes_text_search_label??"",availableProductCountText:i?.fes_available_product_count_text??"",searchedProductCount:i?.fes_search_product_count_text??"",unselectAllItemLabel:i?.fes_unselect_all_items_label??"",searchCTAMobile:i?.fes_search_cta_mobile??"",searchPlaceholderMobile:i?.fes_search_cta_placeholder_mobile??"",catTextMobile:i?.fes_cat_text_mobile??"",unselectItems:i?.fes_unselect_all_items_label_mobile??""},resultLabels:{resultsFoundText:i?.product_list_search_results_found??"",noResultsFoundText:i?.product_list_no_results_found_title??""},specifications:i?.show_in_card??[]}),n=await (0,aM.getApi)(e,!1,a),s=(0,aR.getAllRoles)(n),l=await r();return{data:{title:l?.title,label:l?.labels,hideViewCTA:l?.hideViewCTA,searchLabels:l?.searchLabels,filterLabels:l?.filterLabels,resultLabels:l?.resultLabels,url:e,buttonLabel:l?.cardButtonCTALabel,showInCard:i?.show_in_card,sortProductsText:i?.product_list_sort_product_text?.length?i?.product_list_sort_product_text:aF,moreAboutProductTextCta:i?.product_list_more_about_product_cta_text?.length?i?.product_list_more_about_product_cta_text:aB,moreAboutProductFamilyTextCta:i?.product_list_more_aobut_product_family_cta_text?.length?i?.product_list_more_aobut_product_family_cta_text:aU},type:t,fieldPaywallRoles:s}},a$=aH;var aG=ed,aW=t,aY=i,az=n,aV=et,aK=tD,aq=s,aQ=tR;let aZ=async(e,t,a)=>{let i;if(!e)throw(0,aK.consoleError)(`URL parameter is undefined in ${aZ.name}.`);if(!t)throw(0,aK.consoleError)(`Type parameter is undefined in ${aZ.name}.`);let r=await (0,aq.default)(a),n=r?.data?.enable_pim_product,s=await (0,az.getProductBlockData)(e,a),l=(0,aW.getAllRoles)(s),{apiDomain:o}=(0,aV.getApiDomainAndLang)()||"",c=(0,aG.default)()?a?.cmsUrl:o,d=[];d=s?await Promise.all(s?.map(async e=>{if((0,aW.isPaywallProtected)((0,aY.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=e?.url?`https://${c}${e?.url}`:null,a=(0,aW.isPaywallProtected)(e?.url),i=(0,aW.isPaywallProtected)(e?.image_style_uri);return{ourProductCardImage:{src:a.isPaywallProtectedFlag?(0,aW.getPaywalledImgData)(a.errorObj).imageUrl:t,alt:(0,aW.isPaywallProtected)(e?.alt_text).isPaywallProtectedFlag?null:e?.alt_text??null,styledimage:i.isPaywallProtectedFlag?(0,aW.getPaywalledImgData)(i.errorObj).imageUrl:e?.image_style_uri??null},title:(0,aW.isPaywallProtected)(e?.category_name).isPaywallProtectedFlag?null:e?.category_name??null,buttonLabel:(0,aW.isPaywallProtected)(e?.cta_text).isPaywallProtectedFlag?null:e?.cta_text??null,path:(0,aW.isPaywallProtected)(e?.path).isPaywallProtectedFlag?null:e?.path?.replace(/amp;/g,"")??null}})):[];let u=n===aQ.default.ONE;return i={tabindex:1,children:u?r?.data?.pim_product_list_cta_text??null:r?.data?.product_list_cta_text??null,href:u?r?.data?.pim_product_list_cta_link??null:r?.data?.product_list_cta_link??null,isExternal:!1,isSecondary:!0},{data:{allCardsData:(0,aW.filterNullValues)(d),catalogueCTA:i},type:t,fieldPaywallRoles:l}},aX=aZ,aJ=async(e,...t)=>{if(!e)throw(0,aP.consoleError)(`URL parameter is undefined in ${aJ.name}.`);let a=t?.[3],i=await (0,aj.getBlockData)(e,!1,a),r=null,n=i?.included?.[0]?.attributes?.name,s=i?.data?.attributes?.field_rest_data_api_url,l=(0,aI.isPaywallProtected)(i?.data?.attributes?.enable_paywall_block_level)?.isPaywallProtectedFlag;switch(n){case"product_listing":case"pim_product_listing":case"pim_product_listing_v2":r=await a$(s,n,a);break;case"product_catalogue":r=await aX(s,n,a);break;case"simple_product":case"category_banner":case"pim_family_page":r={blockUrl:s,type:n};break;default:r={blockUrl:s,type:n,enableBlockPaywall:l}}return r},a0=aJ;e.s(["default",0,a0],66107);var a1=t,a2=et,a3=i,a4=n,a6=er;let a5=async(e,t)=>{let a=await (0,a2.getApi)(`/jsonapi/block_content/table_add_column/${e}`,!0,t);a=a?.data;let i=(0,a1.isPaywallProtected)(a?.relationships?.field_table_row_image),{imageUrl:r,alt:n,imageStyledUrl:s}=i.isPaywallProtectedFlag?(0,a1.getPaywalledImgData)(i?.errorObj):(0,a4.getImageMeta)(a?.relationships?.field_table_row_image);return{coltitle:a?.attributes?.field_column_title?.value??"",rowColumnValue:a?.attributes?.field_column_value?.data??[],rowtitle:a?.attributes?.field_row_title?.value??"",rowimage:r,imagealt:n,styledimage:s??null}},a8=async(e,...t)=>{let a=t?.[0],i=t?.[3],r=[],n=await (0,a4.getBlockData)(e,!1,i),s=(0,a1.isPaywallProtected)((0,a3.default)(n,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=(0,a1.getAllRoles)(n),o=n?.data?.attributes?.body?.value??"";return n=n?.data?.relationships?.field_table_column_reference?.data??[],{discription:o,tableData:r=await Promise.all(n?.map(async e=>await a5(`${e?.id}${a?`?${a6.PAGE_NID_FILTER}${a}`:""}`,i))),fieldPaywallRoles:l,isParentPaywalled:s}};e.s(["default",0,a8],63676);var a7=t,a9=et,ie=tD,it=i,ia=n;let ii=async(e,...t)=>{if(!e)throw(0,ie.consoleError)(`URL parameter is undefined in ${ii.name}.`);let a=t?.[0],i=t?.[3],r=await (0,ia.getBlockData)(`${e}`,!1,i),n=(0,a7.isPaywallProtected)((0,it.default)(r,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,s=(0,a7.getAllRoles)(r),l=(0,it.default)(r,"data.attributes.field_title");if((0,a7.isPaywallProtected)(l).isPaywallProtectedFlag)return{};let o=await (0,a9.postApi)("solarapi/ratingcount",{entity_id:a},i),c="";return c=o?.data?.ratingcount>0?(0,a7.isPaywallProtected)(o?.data?.ratings_given).isPaywallProtectedFlag?null:o?.data?.ratings_given??null:(0,a7.isPaywallProtected)(o?.data?.no_ratings_given).isPaywallProtectedFlag?null:o?.data?.no_ratings_given??null,{avgRating:o?.data?.ratingaverage??0,title:c??"",isDisabled:!1,disableLayoutAfterRate:!1,localStorageName:"localStorageNameStars",entityId:a,fieldPaywallRoles:s,isParentPaywalled:n}},ir=ii;e.s(["default",0,ir],9199);var is=t,il=i,io=n;let ic=async(e,...t)=>{let a=t?.[3],i=await (0,io.getBlockData)(e,!1,a),r=(0,is.isPaywallProtected)((0,il.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,is.getAllRoles)(i);return i=i?.data,{title:i?.attributes?.field_title_inline?.value??"",description:i?.attributes?.field_description?.value??"",reference:i?.attributes?.field_reference?.value??"",quote:i?.attributes?.field_quote?.value??"",fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,ic],61070);var id=t,iu=i,ih=n;let ip=async(e,...t)=>{let a=t?.[3],i=[],r=t?.[2],n=r&&Object.keys(r)?.length>0?r:await (0,ih.getBlockData)(e,!1,a),s=(0,id.isPaywallProtected)((0,iu.default)(n,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=(0,id.isPaywallProtected)((0,iu.default)(n,"data.attributes.field_menu_links_position")).isPaywallProtectedFlag?null:(0,iu.default)(n,"data.attributes.field_menu_links_position")??null,o=(0,id.isPaywallProtected)((0,iu.default)(n,"data.attributes.field_menu_links_sticky")).isPaywallProtectedFlag?null:(0,iu.default)(n,"data.attributes.field_menu_links_sticky")??null,c=(0,id.isPaywallProtected)((0,iu.default)(n,"data.attributes.field_menu_links_style")).isPaywallProtectedFlag?null:(0,iu.default)(n,"data.attributes.field_menu_links_style")??null,d=(0,iu.default)(n,"data.attributes.field_quick_nav_label_style")??"label_icon",u=(0,id.isPaywallProtected)((0,iu.default)(n,"data.attributes.field_menu_links_title")).isPaywallProtectedFlag?null:(0,iu.default)(n,"data.attributes.field_menu_links_title")??null,h=(0,id.getAllRoles)(n);n=Object.keys(r)?.length>0?n:n?.included??[];let f=e=>{if((0,id.isPaywallProtected)((0,iu.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,id.isPaywallProtected)(e?.relationships?.field_menu_icon),{imageUrl:a,alt:i,imageStyledUrl:r}=t?.isPaywallProtectedFlag?(0,id.getPaywalledImgData)(t?.errorObj):(0,ih.getImageMeta)(e?.relationships?.field_menu_icon);return{linkWithIconContent:{styledimage:r??null,imgsrc:{height:64,width:64,src:a,alt:i},title:(0,id.isPaywallProtected)(e?.attributes?.field_menu_title).isPaywallProtectedFlag?null:e?.attributes?.field_menu_title??"",refrenceId:(0,id.isPaywallProtected)(e?.attributes?.field_reference_id).isPaywallProtectedFlag?null:e?.attributes?.field_reference_id??""}}};return!(Object.keys(r)?.length>0)&&n?i=await Promise.all(n?.map(f)):i.push(f(n)),{linkWithIconContent:Object.keys(r)?.length>0?i:(0,id.filterNullValues)(i),fieldPaywallRoles:h,isParentPaywalled:s,fieldMenuLinksPosition:l,fieldMenuLinksSticky:o,fieldMenuLinksStyle:c,fieldMenuLinksTitle:u,fieldQuickNavLabelStyle:d}};e.s(["default",0,ip],94500);var im=t,ig=i,ib=n;let i_=async(e,...t)=>{let a=t?.[3],i=await (0,ib.getBlockData)(e,!1,a);i=i?.data;let r=(0,im.isPaywallProtected)((0,ig.default)(i,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,im.getAllRoles)(i),s=(0,im.isPaywallProtected)(i?.relationships.field_image_persona),{imageUrl:l,alt:o,imageStyledUrl:c}=s?.isPaywallProtectedFlag?(0,im.getPaywalledImgData)(s?.errorObj):(0,ib.getImageMeta)(i?.relationships.field_image_persona),d={title:(0,im.isPaywallProtected)(i?.attributes?.field_text_block_title).isPaywallProtectedFlag?null:i?.attributes?.field_text_block_title??"",description:i?.attributes?.field_text_block_2?.value??"",showMoreButtonLabel:(0,im.isPaywallProtected)(i?.attributes?.field_show_more_cta).isPaywallProtectedFlag?null:i?.attributes?.field_show_more_cta??"",showLessButtomLabel:(0,im.isPaywallProtected)(i?.attributes?.field_show_less_cta).isPaywallProtectedFlag?null:i?.attributes?.field_show_less_cta??""};return{titleDetails:{title:i?.attributes?.field_name?.value??"",subTitle:"*hypothetical case",paragraph:i?.attributes?.body?.value??""},personalDetails:{nameLabel:i?.attributes?.field_name?.value,ageLabel:i?.attributes?.field_age?.value,medicationLabel:i?.attributes?.field_medication?.value,diseaseLabel:i?.attributes?.field_disease?.value},readMoreContent:d,styledimage:c??null,desktopImage:{src:l,alt:o,width:468,height:351},mobileImage:{src:l,alt:o,width:326,height:246},fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,i_],81244);var iy=t,ix=i,iv=tR,iA=tD,iw=n;let iE=async(e,...t)=>{if(!e)throw(0,iA.consoleError)(`Teaser Feature Api URL parameter is undefined in ${iE.name}.`);let a=t?.[3],i=await (0,iw.getBlockData)(`${e}`,!1,a),r=i?.data??{},n=(0,iy.isPaywallProtected)((0,ix.default)(r,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,s=(0,iy.getAllRoles)(r),l=(0,iy.isPaywallProtected)((0,ix.default)(r,"relationships.field_tf_image")),{imageUrl:o,alt:c,imageStyledUrl:d}=l?.isPaywallProtectedFlag?(0,iy.getPaywalledImgData)(l?.errorObj):(0,iw.getImageMeta)(r?.relationships.field_tf_image);return{title:(0,iy.isPaywallProtected)((0,ix.default)(r,"attributes.field_tf_title")).isPaywallProtectedFlag?null:(0,ix.default)(r,"attributes.field_tf_title")??null,paragraph:(0,ix.default)(r,"attributes.body.value")??null,imageSrc:o??null,imageAlt:c??null,styledimage:d??null,link:(0,iw.filterURL)((0,ix.default)(r,"attributes.field_feature_cta.uri"))??null,linkText:(0,ix.default)(r,"attributes.field_feature_cta.title")??null,gridType:(0,iy.isPaywallProtected)((0,ix.default)(r,"attributes.field_grid_type")).isPaywallProtectedFlag?null:(0,ix.default)(r,"attributes.field_grid_type")??null,columnDesktop:iv.default.SIX,fieldPaywallRoles:s,isParentPaywalled:n}},iS=iE;e.s(["default",0,iS],22869);var iC=t,iT=n,iN=tD,ik=i,iI=tR;let ij=(e,t,a)=>Array.from({length:(t-e)/a+1},(t,i)=>e+i*a),iP=(e,t,a,i,r)=>{let n=[];return"fixed_quantity_values"===e?n=t?.split(","):a&&i&&r&&(n=ij(a,i,r)),n.map(e=>({label:e,value:e}))},iL=async(e,...t)=>{let a,i,r,n,s,l,o;if(!e)throw(0,iN.consoleError)(`URL parameter is undefined in ${iL.name}.`);let c=t?.[0],d=t?.[3],u=e.includes("?"),{data:h}=await (0,iT.getBlockData)(`${e}${u?"&":"?"}views-argument[0]=${c}`,!1,d);h=h?.[0];let f=(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,p=(0,iC.getAllRoles)(h),m=(0,iC.isPaywallProtected)(h?.relationships?.field_upload_images),{imageUrl:g,alt:b,imageStyledUrl:_}=m?.isPaywallProtectedFlag?(0,iC.getPaywalledImgData)(m?.errorObj):(0,iT.getImageMeta)({data:h?.relationships?.field_upload_images?.data?.[0]}),y={src:g,alt:b,imageStyledUrl:_};return h?.attributes?.role_level_wsi_details?(a=(0,iC.isPaywallProtected)(h?.attributes?.role_level_wsi_details?.rl_quantity_type).isPaywallProtectedFlag?null:h?.attributes?.role_level_wsi_details?.rl_quantity_type,i=(0,iC.isPaywallProtected)(h?.attributes?.role_level_wsi_details.rl_fixed_value).isPaywallProtectedFlag?null:h?.attributes?.role_level_wsi_details?.rl_fixed_value,r=(0,iC.isPaywallProtected)(h?.attributes?.role_level_wsi_details?.rl_min_quantity).isPaywallProtectedFlag?null:h?.attributes?.role_level_wsi_details?.rl_min_quantity,n=(0,iC.isPaywallProtected)(h?.attributes?.role_level_wsi_details?.rl_max_quantity).isPaywallProtectedFlag?null:h?.attributes?.role_level_wsi_details?.rl_max_quantity,s=(0,iC.isPaywallProtected)(h?.attributes?.role_level_wsi_details?.rl_incremental_value).isPaywallProtectedFlag?null:h?.attributes?.role_level_wsi_details?.rl_incremental_value,l=(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.role_level_wsi_details.rl_enable_quantity_and_add_to_cart")).isPaywallProtectedFlag?null:(0,ik.default)(h,"attributes.role_level_wsi_details.rl_enable_quantity_and_add_to_cart")):(a=(0,iC.isPaywallProtected)(h?.attributes?.field_quantity_type).isPaywallProtectedFlag?null:h?.attributes?.field_quantity_type,i=(0,iC.isPaywallProtected)(h?.attributes?.field_fixed_values).isPaywallProtectedFlag?null:h?.attributes?.field_fixed_values,r=(0,iC.isPaywallProtected)(h?.attributes?.field_min_quantity).isPaywallProtectedFlag?null:h?.attributes?.field_min_quantity,n=(0,iC.isPaywallProtected)(h?.attributes?.field_max_quantity).isPaywallProtectedFlag?null:h?.attributes?.field_max_quantity,s=(0,iC.isPaywallProtected)(h?.attributes?.field_incremental_value).isPaywallProtectedFlag?null:h?.attributes?.field_incremental_value,l=(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.field_enable_quantity_and_add_to")).isPaywallProtectedFlag?null:(0,ik.default)(h,"attributes.field_enable_quantity_and_add_to")),o=(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.field_enable_quantity_and_add_to")).isPaywallProtectedFlag?null:(0,ik.default)(h,"attributes.field_enable_quantity_and_add_to"),{imgInfo:y,content:{notificationType:"success",notificationText:"The item was added to your shopping cart.",subheading:(0,ik.default)(h,"relationships.field_category.data")?.[0]?.meta?.term_name||"",heading:(0,iC
26.isPaywallProtected)((0,ik.default)(h,"attributes.title")).isPaywallProtectedFlag?"":(0,ik.default)(h,"attributes.title")??null,content:(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.body.processed")).isPaywallProtectedFlag?"":(0,ik.default)(h,"attributes.body.processed")??null,articleLabel:(0,iC.isPaywallProtected)(h?.attributes?.field_title_article_no?.processed).isPaywallProtectedFlag?null:h?.attributes?.field_title_article_no?.processed??null,articleNo:(0,iC.isPaywallProtected)(h?.attributes?.field_description_article_no).isPaywallProtectedFlag?null:h?.attributes?.field_description_article_no,link:"/",linkExternal:!0,buttonLabel:"DownloadLabel"},productId:h?.id,quantityBtnProps:{quantityOptions:iP(a,i,r,n,s)},isfieldQuantityAvailable:(0,ik.default)(h,"attributes.field_quantity_available")<=iI.default.ZERO,fieldQuantityAvailable:l?(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.field_quantity_available")).isPaywallProtectedFlag?null:(0,ik.default)(h,"attributes.field_quantity_available")??"":0,fieldMaterialId:(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.field_material_id")).isPaywallProtectedFlag?null:(0,ik.default)(h,"attributes.field_material_id"),articleNoLabel:(0,ik.default)(h,"attributes.field_title_article_no.value")??"",articleNo:(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.field_description_article_no")).isPaywallProtectedFlag?"":(0,ik.default)(h,"attributes.field_description_article_no")??"",downloadUrl:(0,ik.default)(h,"attributes.field_file_upload.uri.url")??"#",downloadEnabled:(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.field_enable_download")).isPaywallProtectedFlag?null:(0,ik.default)(h,"attributes.field_enable_download"),addToCartEnabled:l,detailUrl:(0,ik.default)(h,"attributes.path.alias")??"",fieldPaywallRoles:p,isParentPaywalled:f,fieldEnableQuantityAndAddTo:(0,iC.isPaywallProtected)((0,ik.default)(h,"attributes.field_enable_quantity_and_add_to")).isPaywallProtectedFlag?null:(0,ik.default)(h,"attributes.field_enable_quantity_and_add_to")}},iO=iL;e.s(["default",0,iO],24478);var iD=t,iM=i,iR=n;let iF=async(e,...t)=>{let a=t?.[3],i=await (0,iR.getBlockData)(e,!1,a),r=(0,iD.isPaywallProtected)((0,iM.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,iD.getAllRoles)(i);return(i=i?.data)&&i?.attributes?.field_google_iframe_url&&i?.attributes?.field_google_iframe_url?.length!==0?{mapUrl:i?.attributes?.field_google_iframe_url?.[0]??"",height:i?.attributes?.field_height_of_map??"",width:i?.attributes?.field_width_of_map??"",isParentPaywalled:r,fieldPaywallRoles:n}:{mapUrl:"",height:i?.attributes?.field_height_of_map??"",width:i?.attributes?.field_width_of_map??""}};e.s(["default",0,iF],90209);var iB=t,iU=n,iH=tD,i$=i;let iG=async(e,t,a,i,r)=>Object.keys(e).filter(e=>"caption"!==e).map(n=>{let{weight:s,...l}=e[n],o=Object.keys(l).map(e=>{let a=!!l?.[e]?.image_path,s=a?l?.[e]?.processed_text:l?.[e]?.value,o={};return o.src=l?.[e]?.image_path??null,o.image_style_uri=l?.[e]?.image_style_uri??null,"0"===n&&r.push(o),{isFroozen:"0"===e&&t,content:s,cellAlignment:i,isImageField:a,imgData:o}});return{rowContent:o,weight:s,isHead:"0"===n,isFroozen:"0"===n&&a}}),iW=async(e,...t)=>{if(!e)throw(0,iH.consoleError)(`URL parameter is undefined in ${iW.name}.`);let a=t?.[3],i=await (0,iU.getBlockData)(`${e}`,!1,a)??{},r=(0,iB.isPaywallProtected)((0,i$.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,iB.getAllRoles)(i),s=i?.data?.attributes?.field_table_structure?.value??{},l=i?.data?.attributes?.field_first_column_sticky??!1,o=i?.data?.attributes?.field_first_row_sticky??!1,c=i?.data?.attributes?.field_cell_content_alignment??"",d=i?.data?.attributes?.field_custom_row_count??null,u=i?.data?.attributes?.field_default_row_count??"all_rows",h=i?.data?.attributes?.field_enable_arrow??!1,f=i?.data?.attributes?.field_table_alignment??"left",p=i?.data?.attributes?.field_table_title?.value??"",m=i?.data?.attributes?.field_table_structure?.caption??"",g=[];return{formattedTableData:await iG(s,l,o,c,g),customRowCount:d,defaultRowCount:u,isArrowEnabled:h,tableAlignment:f,imageArray:g,tableTitle:p,isColumnSticky:l,isRowSticky:o,isParentPaywalled:r,fieldPaywallRoles:n,tableCaption:m}},iY=iW;e.s(["default",0,iY],69596);var iz=t,iV=i,iK=n;let iq=async e=>{let t=await (0,iK.getBlockData)(e);t=t?.data;let a=(0,iz.isPaywallProtected)((0,iV.default)(t,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,i=(0,iz.getAllRoles)(t);return{title:t?.attributes?.field_button_title??"",alignment:t?.attributes?.field_button_alignment??"",fieldPaywallRoles:i,isParentPaywalled:a}};e.s(["default",0,iq],51478);var iQ=t,iZ=n,iX=tD,iJ=i,i0=et;let i1=async(e,...t)=>{if(!e)throw(0,iX.consoleError)(`URL parameter is undefined in ${i1.name}.`);let a=t?.[3],i=await (0,iZ.getBlockData)(`${e}`,!1,a),r=(0,iQ.isPaywallProtected)((0,iJ.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=i?.data??{},s=(0,iQ.getAllRoles)(n),l=await (0,i0.getApi)(`${i?.data?.relationships?.field_iframe_url?.links?.related?.href}`,!0,a);return{iframeURL:(0,iJ.default)(l?.data,"attributes.field_iframe_url.uri")??null,width:(0,iJ.default)(n,"attributes.field_iframe_width")??null,height:(0,iJ.default)(n,"attributes.field_iframe_height")??null,title:(0,iJ.default)(n,"attributes.field_iframe_header_title")??null,enableIframeResizer:(0,iJ.default)(n,"attributes.field_enable_iframe_resizer")??!1,fieldPaywallRoles:s,isParentPaywalled:r}},i2=i1;e.s(["default",0,i2],39984);var i3=i,i4=n,i6=et,i5=Z,i8=i,i7=n,i9=et,re=tR,rt=er,ra=Z,ri=e.i(67552),rr=r,rn=ed,rs=e.i(72094);let rl=async(e,t,a,i)=>await rh(e,t,a,i),ro=e=>e.replace("menu_link_content:","")?e.replace("menu_link_content:",""):null,rc=async e=>await rw(e),rd=async e=>await rC(e),ru=e=>e?e.sort((e,t)=>
26Number(e.weight)-Number(t.weight)):null,rh=async(e,t,a,i)=>{let{lang:r}=(0,i9.getApiDomainAndLang)(),n=(0,rn.default)()?e?.language:r,s="/jsonapi/menu_link_content/main?fields[menu_link_content--main]=id,langcode,enabled,title,link,parent,link_override,external,weight,field_select_target,field_show_distinctive,field_product_1_body,field_product_1_title,field_product_1_link,field_product_2_body,field_product_2_title,field_product_2_link,field_sub_theme&"+(a?.enable_multilingual_menu?`filter[langcode]=${n}&`:"")+"include=field_product_1_image,field_product_2_image,field_distinctive_menu_icon,field_sub_theme&page[limit]=500",l=t||await (0,i9.getApi)(s,!1,e),o=l?.included?.filter(e=>"taxonomy_term--microsites"===e.type);t||(l=l?.data);let c=l,d=[],u=c?.filter(e=>!e?.attributes?.parent)||[],h=c?.filter(e=>e?.attributes?.parent)||[];for(let e of u){let t=[],a=[1,2];if(await Promise.all(a.map(async a=>{if(e?.attributes?.[`field_product_${a}_body`]){let{imageUrl:i,alt:r,imageStyledUrl:n}=(0,i7.getImageMeta)(e?.relationships?.[`field_product_${a}_image`]);t.push({imageLink:i,styledimage:n??null,title:e?.attributes?.[`field_product_${a}_title`]?.value,paragraph:e?.attributes?.[`field_product_${a}_body`]?.processed,redirectLink:(0,i7.filterURL)(e?.attributes?.[`field_product_${a}_link`]?.uri),alt:r})}})),e?.attributes?.enabled){let a=o?.map(t=>{if(t?.attributes?.drupal_internal__tid===e?.relationships?.field_sub_theme?.data?.meta?.drupal_internal__target_id)return t?.attributes?.name});a=a?.filter(e=>e);let i=rr.hexalSubThemeConfig?.[a?.[0]]??"";d.push({id:e?.id,title:e?.attributes?.title,link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri),external:e?.attributes?.external,menuImageData:t,weight:e?.attributes?.weight,targetType:e?.attributes?.field_select_target,subTheme:i,distinctive:e?.attributes?.field_show_distinctive,icon_uri:(0,i8.default)(e,"relationships.field_distinctive_menu_icon.data.meta.absolute_uri"),enabled:e?.attributes?.enabled})}d.sort((e,t)=>Number(e.weight)-Number(t.weight))}for(let e of h)e?.attributes?.enabled&&d.forEach(async(t,a)=>{let i=o?.map(t=>{if(t?.attributes?.drupal_internal__tid===e?.relationships.field_sub_theme?.data?.meta?.drupal_internal__target_id)return t.attributes.name});i=i?.filter(e=>e);let r=rr.hexalSubThemeConfig?.[i?.[0]]??"";ro(e?.attributes?.parent)===t?.id&&(void 0===d[a].child&&(d[a].child=[]),d[a].child.push({id:e?.id,parent:ro(e?.attributes?.parent),title:e?.attributes?.title,link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri),external:!1,weight:e.attributes.weight,targetType:e?.attributes?.field_select_target,subTheme:r,distinctive:e?.attributes?.field_show_distinctive,icon_uri:(0,i8.default)(e,"relationships.field_distinctive_menu_icon.data.meta.absolute_uri")})),ru(d[a]?.child)});for(let e of h)e?.attributes?.enabled&&await d.forEach(async(t,a)=>{d[a].child&&d[a].child.forEach((t,i)=>{let r=o?.map(t=>{if(t?.attributes?.drupal_internal__tid===e?.relationships.field_sub_theme?.data?.meta?.drupal_internal__target_id)return t.attributes.name});r=r?.filter(e=>e);let n=rr.hexalSubThemeConfig?.[r?.[0]]??"";ro(e?.attributes?.parent)===t?.id&&(void 0===d[a].child[i].subChild&&(d[a].child[i].subChild=[]),d[a].child[i].subChild.push({id:e?.id,parent:ro(e?.attributes?.parent),title:e?.attributes?.title,link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri),external:!1,weight:e?.attributes?.weight,targetType:e?.attributes?.field_select_target,subTheme:n,distinctive:e?.attributes?.field_show_distinctive,icon_uri:(0,i8.default)(e,"relationships.field_distinctive_menu_icon.data.meta.absolute_uri")})),ru(d[a]?.child[i]?.subChild)})});for(let e of h)e?.attributes?.enabled&&await d.forEach(async(t,a)=>{if(d[a].child){let t=d[a].child;await t.forEach(async(i,r)=>{if(t[r].subChild){let i=t[r].subChild;await i.forEach(async(t,i)=>{ro(e?.attributes?.parent)===t?.id&&(void 0===d[a].child[r].subChild[i].grandChild&&(d[a].child[r].subChild[i].grandChild=[]),d[a].child[r].subChild[i].grandChild.push({id:e?.id,parent:ro(e?.attributes?.parent),title:e?.attributes?.title,link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri),external:!1,weight:e?.attributes?.weight,targetType:e?.attributes?.field_select_target,distinctive:e?.attributes?.field_show_distinctive,icon_uri:(0,i8.default)(e,"relationships.field_distinctive_menu_icon.data.meta.absolute_uri")})),ru(d[a]?.child[r]?.subChild[i].grandChild)})}})}});return i?{menus:d,rawMenuData:l}:d||null},rf=async e=>{let t=await (0,i9.getApi)("/jsonapi/menu_link_content/sticky-menu");if(t=t?.data,e?.enable_multilingual_menu){let{lang:e}=(0,i9.getApiDomainAndLang)();t=t?.filter(t=>t?.attributes?.langcode===e)}let a={},i=[],r=t?.filter(e=>!e?.data)||[];for(let e of r){let t=[],a=0,n=0;if(e?.attributes?.enabled&&e?.attributes?.parent===null){for(let i of r)i?.attributes?.enabled&&i?.attributes?.parent!=null&&ro(i?.attributes?.parent)===e?.i
26d&&t.push({title:i?.attributes?.title,link:i?.attributes?.link_override?.uri?(0,i7.filterURL)(i?.attributes?.link_override?.uri):(0,i7.filterURL)(i?.attributes?.link?.uri),key:a+1,childKey:n+1});let s={title:e?.attributes?.title,link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri)};t.length>0&&(s.child=t),i.push(s)}}return a.megaMenu=i,{topSection:a?.topSection?a.topSection:null,megaMenu:a?.megaMenu?a.megaMenu:null}},rp=e=>{if(e?.length>0){let t=e?.map(e=>({title:e.title,link:"internalLink"===e.link_type?e.int_link:e.ext_link,link_type:"internalLink"!==e.link_type,weight:e.weight,isGlobalLink:e?.is_global_myprofile===1,appendRedirectUrl:e?.is_return_url===1}));return t?.sort((e,t)=>Number(e.weight)-Number(t.weight))}return null},rm=(e,t)=>{let a=e?.flash_num_msg,i=a?.filter(e=>e?.title===t)||null;return i?.[0]?.success_message||null},rg=(e,t)=>{let a=e?.error_codes;return a?.find(e=>e?.error_message&&e?.error_code===t)||null},rb=(e={})=>{if(!e)return{};let t=rm(e,"Login message"),a=rm(e,"Logout message");return{themeName:e?.style_type,countryName:e?.country_name,chooseLocationText:e?.language_switcher_title,tagLine:e?.header_description?.value||null,login_register_enable:e?.login_register_enable===re.default.ONE,loginText:e?.login_text||null,loginLink:e?.login_link||null,registerText:e?.register_text||null,registerLink:e?.register_link||null,logo:{href:e?.header_logo_link||null,src:e?.header_image_url||null,alt:e?.header_logo_alt||null},searchDataContent:{placeholder:e?.search_help_text||null,buttonText:e?.search_title||null},sticky_menu_enable:e?.sticky_menu_enable===re.default.ONE,isBrandSwitcherDisabled:e?.disable_brand_switcher===1,isCountrySwitcherDisabled:e?.disable_country_switcher===1,userMenuDetails:{user_menu_logged_in:(0,i8.default)(e,"user_menu_logged_in"),ctaMenuLink:rp((0,i8.default)(e,"user_menu_num")),user_menu_logged_out:(0,i8.default)(e,"user_menu_logged_out")},toastMessages:{loginMessage:t,logoutMessage:a}}},r_=e=>{let t=e?.eyebrow_menu_data||null,a=e?.eyebrow_menu_enable_disable??0;return t?{logo:t?.logo||null,links:t?.links||[],enabled:a}:null},ry=e=>({title:(0,i8.default)(e,"isi_banner_title")||null,copyrightBottomText:(0,i8.default)(e,"isi_banner_copyright_text.value")||null,section1:{richText:(0,i8.default)(e,"isi_banner_indication_description.value")||null},section2:{richText:(0,i8.default)(e,"isi_banner_warning_description.value")||null},section3:{richText:(0,i8.default)(e,"isi_banner_warning_and_precautions_description.value")||null},accordionData:[{title:(0,i8.default)(e,"isi_banner_accordion_title")||null,content:(0,i8.default)(e,"isi_banner_accordion_description.value")||null}],expandedCoverageNumber:Number((0,i8.default)(e,"isi_banner_number"))||null,bannerType:(0,i8.default)(e,"banner_type")??null}),rx=e=>({title:(0,i8.default)(e,"legal_banner_sticky_text.value")||null,nonStickyTitle:(0,i8.default)(e,"legal_banner_non_sticky_text.value")||null,expandedCoverageNumber:Number((0,i8.default)(e,"legal_banner_screen_ratio"))||null,legalBannerMobileCtaText:(0,i8.default)(e,"legal_banner_mobile_view_more_cta_txt")??null,bannerType:(0,i8.default)(e,"banner_type")??null,disclaimerBannerText:(0,i8.default)(e,"disclaimer_banner_text.value")??null,disclaimerBannerScreenOccupancy:(0,i8.default)(e,"disclaimer_banner_screen_occupancy")??null}),rv=async e=>{if(!e)return{};let t=!!(0,i8.default)(e,"doccheck"),a=!!(0,i8.default)(e,"disable_azure_scout_login_form"),i=await (0,i9.getApi)("/webform_rest/login/fields?_format=json"),r=null;if(t){let e=await (0,i9.getApi)("/webform_rest/doccheck_login/fields?_format=json");r={isLoginFormDisabled:t,title:(0,i8.default)(e,"login_with_doccheck_label.#title")||null,wrongCredentialsText:(0,i8.default)(i,"credential_mismatch.#message_message")||null,emailIncorrectFormat:(0,i8.default)(i,"email_incorrect_format.#message_message")||null,deactivatedUserMessage:(0,i8.default)(i,"deactivated_user_msg.#message_message")||null,passwordIncorrect:(0,i8.default)(i,"password_incorrect.#message_message")||null,forgotPassword:{text:(0,i8.default)(e,"forgot_password.#title")||null,url:(0,i8.default)(e,"forgot_password.#default_value")||null,underline:!0},registerLink:{text:(0,i8.default)(e,"register_link.#title")||null,url:(0,i8.default)(e,"register_link.#default_value")||null,underline:!0,image:{url:(0,i8.default)(e,"image.#default_value")||null,alt:(0,i8.default)(e,"image.webform_id")||null}},submitButton:{text:(0,i8.default)(e,"actions.#submit__label")||null,url:"#"},fields:[{type:"text",label:(0,i8.default)(e,"email.#title")||null,
26name:(0,i8.default)(e,"email.#admin_title")||null,placeholder:(0,i8.default)(e,"email.#placeholder")||null,required:!0,helpText:(0,i8.default)(i,"email_incorrect_format.#message_message")||null},{type:"password",name:(0,i8.default)(e,"password.#admin_title")||null,label:(0,i8.default)(e,"password.#title")||null,placeholder:(0,i8.default)(e,"password.#placeholder")||null,required:!0,helpText:(0,i8.default)(i,"password_incorrect.#message_message")||null,icon:{iconOpen:(0,ri.getAssetPrefixUrl)("/assets/icons/view.svg"),iconClose:(0,ri.getAssetPrefixUrl)("/assets/icons/view_close.svg")}}]}}return{docCheckLoginForm:r,formLogin:{isLoginFormDisabled:!a,title:(0,i8.default)(i,"login.#title")||null,wrongCredentialsText:(0,i8.default)(i,"credential_mismatch.#message_message")||null,emailIncorrectFormat:(0,i8.default)(i,"email_incorrect_format.#message_message")||null,deactivatedUserMessage:(0,i8.default)(i,"deactivated_user_msg.#message_message")||null,passwordIncorrect:(0,i8.default)(i,"password_incorrect.#message_message")||null,forgotPassword:{text:(0,i8.default)(i,"forgot_password_.#title")||null,url:(0,i8.default)(i,"forgot_password_link.#default_value")||null,underline:!1},submitButton:{text:(0,i8.default)(i,"actions.#submit__label")||null,url:"#"},fields:[{type:"email",label:(0,i8.default)(i,"email.#title")||null,placeholder:(0,i8.default)(i,"email.#placeholder")||null,required:!0,helpText:(0,i8.default)(i,"email_incorrect_format.#message_message")||null},{type:"password",label:(0,i8.default)(i,"password.#title")||null,placeholder:(0,i8.default)(i,"password.#placeholder")||null,required:!0,helpText:(0,i8.default)(i,"password_incorrect.#message_message")||null,icon:{iconOpen:(0,ri.getAssetPrefixUrl)("/assets/icons/view.svg"),iconClose:(0,ri.getAssetPrefixUrl)("/assets/icons/view_close.svg")}}]},banner:{banner:{heading:(0,i8.default)(i,"connect_with_us.#title")||null,content:(0,i8.default)(i,"register_now_text.#text")||null,buttonLabel:(0,i8.default)(i,"register_now.#title")||null,link:(0,i8.default)(i,"register_link.#default_value")||null,linkExternal:!0},articleBannerImage:{desktopImage:{src:(0,ri.getAssetPrefixUrl)("/assets/images/Desktop_Quiz_Article_Teaser_Image.jpg"),alt:"Sandoz Logo Desktop",width:452,height:296},mobileImage:{src:(0,ri.getAssetPrefixUrl)("/assets/images/Desktop_Quiz_Article_Teaser_Image.jpg"),alt:"Sandoz Logo Mobile",width:780,height:700}}}}},rA=e=>({children:e?.floating_banner_text?.value??null,display:!!e?.display_on_site_level??null}),rw=async(e,t)=>{let a="",i=window.location.pathname.split("/").filter(e=>rs.localeArray.some(t=>t===e));i&&i.length&&(a=i[0]);let r="?ccll=",n=await fetch(t||`/api/proxy/menu_link_content/footer/${a?r+a:""}`);if(n=await n?.json(),n=n?.data,e?.enable_multilingual_menu){let{lang:e}=(0,i9.getApiDomainAndLang)();n=n?.filter(t=>t?.attributes?.langcode===e)}let s=[],l=n?.filter(e=>!e?.attributes?.parent),o=n?.filter(e=>e?.attributes?.parent);return l?.map(e=>{e?.attributes?.enabled&&s.push({id:e?.id,title:e?.attributes?.title,link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri),external:e?.attributes?.external,weight:e?.attributes?.weight,targetType:e?.attributes?.field_select_target})}),ru(s),o?.map(e=>{e?.attributes?.enabled&&s.map((t,a)=>{ro(e?.attributes?.parent)===t?.id&&(void 0===s[a].child&&(s[a].child=[]),s[a].child.push({id:e?.id,parent:ro(e?.attributes?.parent),title:e?.attributes?.title,link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri),external:!1,weight:e.attributes.weight,targetType:e?.attributes?.field_select_target}),ru(s[a]?.child))})}),s||null},rE=e=>{let t=[];return Array.isArray(e)&&e.forEach(e=>{e.child&&e.child.length>0&&(t=rS(e.child,t))}),t||null},rS=(e,t)=>(e.forEach(e=>{let a={id:e.title,title:e.title,link:e?.link_override?.uri?(0,i7.filterURL)(e?.link_override?.uri):(0,i7.filterURL)(e?.link?.uri),external:e.external,langcode:e?.langcode,child:[]};t.push(a),e.child&&e.child.length>0&&(a.child=rS(e.child,[]))}),t),rC=async(e,t)=>{let a="",i=window.location.pathname.split("/").filter(e=>rs.localeArray.some(t=>t===e));i&&i.length&&(a=i[0]);let r="?ccll=",n=await fetch(t||`/api/proxy/menu_link_content/footer-secondary/${a?r+a:""}`);if(n=await n?.json(),n=n?.data,e?.enable_multilingual_menu){let{lang:e}=(0,i9.getApiDomainAndLang)();n=n?.filter(t=>t?.attributes?.langcode===e)}let s=[];return n?.map(e=>{e?.attributes?.enabled&&s.push({id:e?.id,title:e?.attributes?.title,link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri),external:e?.attributes?.external,weight:e?.attributes?.weight,targetType:e?.attributes?.field_select_target})}),ru(s),s||null},rT=e=>{let t=[],a=(e,i=0)=>{!(i>
261)&&e.child&&Array.isArray(e.child)&&e.child.forEach(e=>{t.push({title:e.title,link:e?.link_override?.uri?(0,i7.filterURL)(e?.link_override?.uri):e?.link?.uri?(0,i7.filterURL)(e?.link?.uri):null,external:e.external}),e.child&&Array.isArray(e.child)&&a(e,i+1)})};return Array.isArray(e)&&e.forEach(e=>{a(e)}),t.length>0?t:[]},rN=e=>{let t=["twitter","linkedin","youtube","facebook","instagram"].map(t=>({altText:e?.[`${t}_alt`]??"",link:e?.[`${t}_link`]??"",logo:e?.[`${t}_logo`]??[],logoUrl:e?.[`${t}_logo_url`]??"",title:e?.[`${t}_title`]??""}));return t=t.filter(e=>""!==e.logoUrl),{logoLink:e?.footer_logo_url||null,paragraph:e?.footer_description?.value||null,copyRightText:e?.copyright?.value||null,footerText:e?.second_footer_description?.value||null,socialIconData:t,follow_us:e?.follow_us||"",footer_logo_alt:e?.footer_logo_alt||""}},rk=e=>{let t=e?.microsite_footer_menu_enable_disable===re.default.ONE,a=e?.microsite_footer_title_text??"",i=e?.microsite,r=[];return i?.map(e=>{r.push({imgSrc:e?.logo??"",alt:e?.alt_text??"",plainText:e?.plain_text??"",link:e?.url??"",height:e?.logo_height,width:e?.logo_width,urlTarget:e?.url_target??rt.URL_TARGET.SELF})}),{microFooterData:r,microFooterFlag:t,microFooterTitle:a}},rI=e=>e?{header:{titleText:e?.hcp_popup_title},content:{content:e?.hcp_popup_description?.value,isRichText:!0},footer:{closeBtn:{tabindex:re.default.TWO,children:e?.hcp_popup_secondary_link_title,isSecondary:!0,href:e?.hcp_popup_secondary_link_url??"",target:e?.hcp_popup_secondary_link_target??""},actionBtn:{tabindex:re.default.ONE,children:e?.hcp_popup_primary_link_title}},pattern:e?.hcp_popup_path_patterns||null,enabled:e?.hcp_popup_enable_disable}:{},rj=e=>e?{header:{titleText:e?.internal_employee_disclaimer_popup?.title},content:{content:e?.internal_employee_disclaimer_popup?.description,isRichText:!0},footer:{logoutBtn:{tabindex:re.default.ONE,children:e?.internal_employee_disclaimer_popup?.cancel_label,isSecondary:!0},actionBtn:{tabindex:re.default.TWO,children:e?.internal_employee_disclaimer_popup?.accept_label}},enabled:e?.internal_employee_disclaimer_popup?.enable,warning_triggered_by:e?.internal_employee_disclaimer_popup?.warning_triggered_by}:{},rP=e=>({header:{titleText:(0,i8.default)(e,"ext_disclaimer_popup_title")},content:{content:(0,i8.default)(e,"ext_disclaimer_popup_description.value"),isRichText:!0},footer:{closeBtn:{tabindex:re.default.TWO,children:(0,i8.default)(e,"ext_disclaimer_popup_secondary_link_title"),isSecondary:!0,href:"javascript:void(0);"},actionBtn:{tabindex:re.default.ONE,children:(0,i8.default)(e,"ext_disclaimer_popup_primary_link_title")}},whiteListed:(0,i8.default)(e,"ext_disclaimer_popup_whitelist.value"),enabled:(0,i8.default)(e,"ext_disclaimer_popup_enable_disable")}),rL=async(e,t)=>{let a="",i=window.location.pathname.split("/").filter(e=>rs.localeArray.some(t=>t===e));i&&i.length&&(a=i[0]);let r="?ccll=",n=await fetch(t||`/api/proxy/menu_link_content/footer-lite/${a?r+a:""}`);
26n=await n?.json();let s=e?.footer_lite===re.default.ONE,{lang:l}=(0,i9.getApiDomainAndLang)(),o=new Date().toLocaleDateString(l);o=(0,ra.default)(o,!0).locale(l).format("D.M.Y");let c={footer_logo_link:(0,i7.filterURL)(e?.footer_logo_link)||null,logoLink:e?.footer_logo_url||null,footer_logo_alt:e?.footer_logo_alt||"",paragraph:e?.footer_description?.value||null,copyRightText:e?.copyright?.value||null,footerText:e?.second_footer_description?.value||null,date:`<p>${o}</p>`||null};n=n?.data,e?.enable_multilingual_menu&&(n=n?.filter(e=>e?.attributes?.langcode===l));let d=[];return n?.map(e=>{d.push({title:e?.attributes?.title??"",link:e?.attributes?.link_override?.uri?(0,i7.filterURL)(e?.attributes?.link_override?.uri):(0,i7.filterURL)(e?.attributes?.link?.uri),targetType:e?.attributes?.field_select_target})}),{footerBottomSection:c,footerSecondaryMenu:d,liteFooterFlag:s}},rO=e=>({enabled:(0,i8.default)(e,"login_timeout_enable"),timeOutInterval:(0,i8.default)(e,"idle_logout_time"),header:{titleText:(0,i8.default)(e,"login_timeout_popup_title")},content:{content:(0,i8.default)(e,"login_timeout_popup_countdown_text_above"),isRichText:!0},footer:{closeBtn:{tabindex:re.default.TWO,children:(0,i8.default)(e,"login_timeout_popup_stay_login_cta_label"),isSecondary:!0},actionBtn:{tabindex:re.default.ONE,children:(0,i8.default)(e,"login_timeout_popup_logout_cta_label")}}});e.s(["getBannerModuleData",0,rx,"getExternalLinkModalContent",0,rP,"getEyebrowMenuData",0,r_,"getFlashMessage",0,rm,"getFlashMessageWithType",0,rg,"getFloatingBannerData",0,rA,"getFloatingModuleData",0,ry,"getFooterBottomSection",0,rN,"getFooterMenu",0,rc,"getFooterMicrosite",0,rk,"getFooterSecondaryMenu",0,rd,"getHeaderData",0,rb,"getHeaderLightMenu",0,rf,"getHeaderMegaMenu",0,rl,"getLiteFooterData",0,rL,"getLoginFormData",0,rv,"getLoginTimeoutModalContent",0,rO,"getRenderDisclaimerModalPopUp",0,rj,"getRenderHcpModalPopUp",0,rI,"renderMegaMenu",0,rh,"renderMicroFooterMainMenu",0,rE,"renderMicroFooterSecondaryMenu",0,rT],12567);var rD=s,rM=function(e){return e.NORMAL="normal",e.LITE="lite",e}(rM||{});let rR=(e,t,a)=>{let{lang:i}=(0,i6.getApiDomainAndLang)(),r=new Date().toLocaleDateString(i);r=(0,i5.default)(r,!0).locale(i).format("D.M.Y");let n={footer_logo_link:"",logoLink:e.logoLink||null,footer_logo_alt:e?.footer_logo_alt||"",paragraph:e?.paragraph||null,logoHref:e?.logoHref||"",logoAlt:e?.logoAlt||"",copyRightText:e?.copyRightText||null,footerText:e?.footerText||null,date:`<p>${r}</p>`||null},s=[];return t?.map(e=>{s.push({title:e?.title,link:e?.link,targetType:e?.external?"_blank":e?.targetType})}),{footerBottomSection:n,footerSecondaryMenu:s,liteFooterFlag:a}},rF=e=>{let t=e?.data?.attributes?.field_enable_microsite_footer??"",a=e?.data?.attributes?.field_microsites_section_title??"",i=e?.included?.filter(e=>e?.type==="paragraph--microsite_footer_logo")||[],r=[];return i?.map(e=>{r.push({imgSrc:e?.relationships?.field_microsite_logo?.data?.meta?.absolute_uri??"",alt:e?.attributes?.field_microsite_logo_alt_text??"",plainText:e?.attributes?.field_microsite_logo_plain_text??"",link:e?.attributes?.field_microsite_logo_link??"",height:e?.attributes?.field_microsite_logo_height,width:e?.attributes?.field_microsite_logo_width,urlTarget:e?.attributes?.field_microsite_link_target})}),{microFooterData:r,microFooterFlag:t,microFooterTitle:a}},rB=async e=>{let t=await (0,i4.getBlockData)(e),a=t?.data,i=a?.attributes?.field_footer_type??"",r=a?.relationships?.field_footer_menu?.data?.meta?.menu_details??"",n=a?.relationships?.field_footer_secondary_menu?.data?.meta?.menu_details??"",s=t?.included?.filter(e=>e?.type==="paragraph--social_logos")||[],l=[];s?.map(e=>{l.push({logo:(0,i3.default)(e,"relationships.field_social_logo.data.meta.absolute_uri")||"",logoUrl:(0,i3.default)(e,"relationships.field_social_logo.data.meta.absolute_uri")||"",altText:(0,i3.default)(e,"attributes.field_social_logo_alt_text")||"",link:(0,i3.default)(e,"attributes.field_social_logo_link")||"",title:(0,i3.default)(e,"attributes.field_social_logo_title")||""})});let o={logoLink:(0,i3.default)(a,"relationships.field_footer_site_logo.data.meta.absolute_uri")||"",logoHref:(0,i3.default)(a,"attributes.field_footer_logo_link")||"",logoAlt:(0,i3.default)(a,"attributes.field_footer_logo_alt_text")||"",paragraph:(0,i3.default)(a,"attributes.field_footer_site_description.value")||"",copyRightText:(0,i3.default)(a,"attributes.field_copyright_text.value")||"",footerText:(0,i3.default)(a,"attributes.field_footer_secondary_text.value")||"",socialIconData:l.filter(e=>""!==e.logoUrl),follow_us:(0,i3.default)(a,"attributes.field_follow_us")||""},c=await (0,rD.default)();c=c?.data;let d=await rE(r);if(c?.enable_multilingual_menu){let{lang:e}=(0,i6.getApiDomainAndLang)();d=d?.filter(t=>t?.langcode===e)}let u="lite"===i,h=rF(t),f=rR(o,d,u);return{footerType:i,footerBottomSection:o,footerNavigation:d,footerSecondaryMenu:await rT(n),footerMicrosite:h,liteFooter:f}};e.s(["default",0,rB],60123);var rU=i,rH=n;let r$=e=>{if(!e)return[];let t=[];e?.isi_details?.map(e=>{let a={border:e?.border?.[0]?.value==="1",description:{content:e?.isi_desc?.[0]?.value??"",summary:e?.isi_desc?.[0]?.summary??"",format:e?.isi_desc?.[0]?.format??""},title:{content:e?.isi_title?.[0]?.value??""},weight:e?.isi_weight?.[0]?.value??null,type:e?.isi_type?.[0]?.value??"",megaTitle:e?.mega_title?.[0]?.value??"",isAccordian:!1};t.push(a)});let a=e?.accordion_details;return a&&a?.accordion_title?.length&&a?.accordion_description?.length&&t.push({border:a?.accordion_border?.[0]?.value==="1",description:{content:a?.accordion_description?.[0]?.value??"",summary:a?.accordion_description?.[0]?.summary??"",format:a?.accordion_description?.[0]?.format??""},title:{content:a?.accordion_title?.[0]?.value??""},weight:a?.accordion_weight?.[0]?.value??null,isAccordian:!0}),t.sort((e,t)=>
26e?.weight-t?.weight),{bannerData:t??[],title:e?.isi_banner_header_title?.[0]?.value??"",nodeTitle:e?.node_title?.[0]?.value??"",expandCoverage:parseInt(e?.complete_expand_percentage?.[0]?.value??"100",10)??100,preExpandCoverage:parseInt(e?.pre_expand_percentage?.[0]?.value??"25",10)??25,nodeRibbionColor:e?.node_ribbon_colour?.[0]?.value??"default"}};e.s(["default",0,r$],17877);var rG=function(e){return e.LEGAL_BANNER="legal_banner",e.DISCLAIMER_BANNER="disclaimer_banner",e.ISI_BANNER="isi_banner",e}(rG||{}),rW=function(e){return e.ISI_BANNER_1="0",e.ISI_BANNER_2="1",e}(rW||{});let rY=async e=>{let t=await (0,rH.getBlockData)(e);t=t?.data;let a=t?.attributes?.field_page_banner_type??"",i=t?.attributes?.field_version_of_isi_banner??"";return"legal_banner"===a?{bannerModuleData:{title:(0,rU.default)(t,"attributes.field_legal_sticky_text.value")||null,nonStickyTitle:(0,rU.default)(t,"attributes.field_legal_nonsticky_text.value")||null,expandedCoverageNumber:Number((0,rU.default)(t,"attributes.field_legal_screen_ratio"))||null,legalBannerMobileCtaText:(0,rU.default)(t,"attributes.field_legal_mobile_view_more_cta")??null,bannerType:a}}:"disclaimer_banner"===a?{bannerModuleData:{disclaimerBannerText:(0,rU.default)(t,"attributes.field_disclaimer_banner_text.value")??null,disclaimerBannerScreenOccupancy:(0,rU.default)(t,"attributes.field_disclaimer_screen_ratio")??null,bannerType:a}}:"isi_banner"===a&&"0"===i?{bannerModuleData:{title:(0,rU.default)(t,"attributes.field_isi_banner_title")||null,copyrightBottomText:(0,rU.default)(t,"attributes.field_isi_banner_copyright_text.value")||null,section1:{richText:(0,rU.default)(t,"attributes.field_isi_banner_indications.value")||null},section2:{richText:(0,rU.default)(t,"attributes.field_isi_banner_warning.value")||null},section3:{richText:(0,rU.default)(t,"attributes.field_isi_warning_precautions.value")||null},accordionData:[{title:(0,rU.default)(t,"attributes.field_isi_accordion_title")||null,content:(0,rU.default)(t,"attributes.field_isi_accordion_description.value")||null}],expandedCoverageNumber:Number((0,rU.default)(t,"attributes.field_isi_banner_max_coverage"))||null,bannerType:a,isiBannerVersion:i}}:"isi_banner"===a&&"1"===i?{bannerModuleData:{...r$(t?.attributes?.isi_banner_details),bannerType:a,isiBannerVersion:i}}:void 0};e.s(["default",0,rY],10083);var rz=i,rV=n;let rK=async e=>{let t,a=await (0,rV.getBlockData)(e),i=[];(0,rz.default)(a,"data.relationships.field_eyebrow_menu_links.data")?.map(e=>{a?.included?.map(a=>{e?.meta?.drupal_internal__target_id===a?.attributes?.drupal_internal__id&&a?.type=="paragraph--eyebrow_menu_links"?i.push({type:a?.attributes?.field_eyebrow_menu_link_type,name:a?.attributes?.field_title,href:(0,rV.filterURL)((0,rz.default)(a,"attributes.field_link.uri"))||a?.attributes?.field_email||a?.attributes?.field_external_link?.uri||a?.attributes?.field_component_id}):a?.type=="file--file"&&(t=(0,rz.default)(a,"attributes.uri.url"))})});let r=(0,rz.default)(a,"data.attributes.field_hcp_website_patient_websit.uri"),n=(0,rz.default)(a,"data.attributes.field_hcp_website_patient_websit.options.attributes.target"),s=(0,rz.default)(a,"data.attributes.field_alignment_of_hcp_website_p"),l=+(!0===(0,rz.default)(a,"data.attributes.field_invert_color_background_fo")),o=+(!0===(0,rz.default)(a,"data.attributes.field_enable_site_country_switch")),c=(0,rz.default)(a,"data.attributes.field_hcp_website_patient_websit.title"),d=(0,rz.default)(a,"data.attributes.field_alignment_of_eyebrow_menu_");return{links:i,logo:t,invertColorBackground:l,enableCountrySwitcher:o,ctaWebsiteData:{ctaWebsiteLink:r,ctaWebsiteTarget:n,ctaWebsitePosition:s,ctaWebsiteTitle:c},eyebrowMenuAlignment:d}};e.s(["default",0,rK],80988);var rq=n,rQ=i,rZ=e.i(15097);let rX=async(e,...t)=>{let a=t?.[3],i=await (0,rq.getBlockData)(e,!1,a),r=[];r=i?.included||[];let n=i?.data?.attributes?.field_pp_title?.value??null,s=i?.data?.attributes?.field_pp_subtitle?.value??null;return{fieldTitle:n,fieldSubtitle:s,sectionTitle:i?.data?.attributes?.field_cta_section_label?.value??null,webFormData:await Promise.all(r.map(async e=>{let a=(0,rQ.default)(e,"relationships.field_webform.data.webform_restpath")??null,i=(0,rQ.default)(e,"relationships.field_webform.data.meta.drupal_internal__target_id")??null,r=(0,rQ.default)(e,"attributes.field_cta_label")??null;return{buttonLabels:r,id:i,redirectionUrl:(0,rq.filterURL)((0,rQ.default)(e,"attributes.field_redirection_url.uri"))??null,webFormContent:a?await (0,rZ.default)(a,...t):null}}))}};e.s(["default",0,rX],83242);var rJ=i,r0=n;let r1=async e=>{let t=await (0,r0.getBlockData)(e),a=t?.data;return{headerTopSection:{logo:{src:(0,rJ.default)(a,"relationships.field_header_logo.data.meta.absolute_uri")||"",alt:(0,rJ.default)(a,"attributes.field_header_logo_alt_text")||"",href:(0,rJ.default)(a,"attributes.field_header_logo_link")||""},tagLine:(0,rJ.default)(a,"attributes.field_slogan.value")||"",login_register_enable:(0,rJ.default)(a,"attributes.field_disable_login_register"),favicon:(0,rJ.default)(a,"relationships.field_favicon.data.meta.absolute_uri")||""},headerTopConfig:{field_disable_cart:(0,rJ.default)(a,"attributes.field_disable_cart")||"",field_disable_logo:(0,rJ.default)(a,"attributes.field_disable_logo")||!1,field_disable_megamenu:(0,rJ.default)(a,"attributes.field_disable_megamenu")||"",field_disable_search:(0,rJ.default)(a,"attributes.field_disable_search")||"",field_disable_slogan:(0,rJ.default)(a,"attributes.field_disable_slogan")||"",field_disable_brand_switcher:(0,rJ.default)(a,"attributes.field_disable_brand_switcher")||!1,field_disable_country_switcher:(0,rJ.default)(a,"attributes.field_disable_country_switcher")||!1}}};e.s(["default",0,r1],35826);var r2=t,r3=n,r4=i,r6=tR,r5=tD,r8=et,r7=t,r9=n;let ne=async(e,t)=>{let a=(e,t)=>{let a=[];return e?.map(e=>{let t={taxonomyLabel:e};e&&a.push(t)}),a},i=e=>{let t=[];return e&&Object?.entries(e)?.forEach(([e,a])=>{let i={title:e?.includes("NA")?"":e,description:(0,r7.isPaywallProtected)(a).isPaywallProtectedFlag?null:a??null};a&&"string"==typeof a&&t.push(i)}),t};return e?.length?(0,r7.isPaywallProtected)(t)?.isPaywallProtectedFlag?null:e?.map(e=>{let t=(0,r7.isPaywallProtected)(e?.not_configurable?.field_primaryproductimage),{src:r,image_style_uri:n,alt:s}=t?.isPaywallProtectedFlag?(0,r7.getPaywalledImgData)(t?.errorObj):e?.not_configurable?.field_primaryproductimage||{};return e?.paywall?null:{productCardImage:{src:r??null,alt:s??null,styledimage:n??null},productCardContent:{id:(0,r7.isPaywallProtected)(e?.not_configurable?.nid).isPaywallProtectedFlag?null:e?.not_configurable?.nid??"",heading:(0,r7.isPaywallProtected)(e?.not_configurable?.product_title).isPaywallProtectedFlag?null:e?.not_configurable?.product_title??null,taxonomies:(0,r7.isPaywallProtected)(e?.not_configurable?.tags).isPaywallProtectedFlag?null:a(e?.not_configurable?.tags,e?.not_configurable?.nid)??null,content:(0,r7.isPaywallProtected)(e?.configurable).isPaywallProtectedFlag?null:i(e?.configurable)??null,buttonLabel:(0,r7.isPaywallProtected)(e?.not_configurable?.pdt_details_cta).isPaywallProtectedFlag?null:e?.not_configurable?.pdt_details_cta?.label??null,href:(0,r9.filterURL)(e?.not_configurable?.pdt_details_cta?.path)??null,basisTextLabel:(0,r7.isPaywallProtected)(e?.not_configurable?.basis_text_anchored_link).isPaywallProtectedFlag?null:e?.not_configurable?.basis_text_anchored_link?.label??null,basisTextPath:(0,r9.filterURL)(e?.not_configurable?.basis_text_anchored_link?.path)??null,attachmentLabel:(0,r7.isPaywallProtected)(e?.not_configurable?.attachment_section_link).isPaywallProtectedFlag?null:e?.not_configurable?.attachment_section_link?.label??null,attachmentPath:(0,r9.filterURL)(e?.not_configurable?.attachment_section_link?.path)??null}}}):[]};var nt=function(e){return e.HERO_BANNER="hero_banner",e.ARTICLE_TEASER_COMPOSITION_BANNER="article_teaser_composition",e.MENU_LINK_WITH_ICON="menu_link_with_icon",e.PRODUCT_TEASER_CARDS="pim_product_teaser",e.SANDOZ_ACADEMY_COURSE_CATALOGUE="sandoz_academy_course_catalogue",e.PROGESS_METER="sandoz_academy_course_progress_carousel_card",e}(nt||{});let na=async(e,...t)=>{let a=t?.[3];
26if(!e)throw(0,r5.consoleError)(`URL parameter is undefined in ${na.name}.`);let i=await (0,r3.getBlockData)(e,!1,a),r=(0,r2.isPaywallProtected)((0,r4.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,r2.getAllRoles)(i),s=Number((0,r4.default)(i,"data.attributes.field_slide_duration")??r6.default.ZERO),o=Number((0,r4.default)(i,"data.attributes.field_number_of_items_per_slide_")??r6.default.ONE),c=i?.data?.attributes?.field_display_type,d=i?.data?.attributes?.field_block_type,u=async e=>{try{let t,i=e,r=e?await tH("url",0,0,i,a):null;return r&&(t=r?.slidesInfo),t}catch(e){throw console.error("Error in articlecomData:",e),e}},h=async e=>{let t=await (0,r8.getApi)(e,!1,""),a=await (0,r8.getApi)("/jsonapi/solar/sandoz-academy-course-apiresponse",!1,"");return a=a?.data,t=(t=t?.data)&&t.length?await Promise.all(t?.map(async e=>{if((0,r2.isPaywallProtected)((0,r4.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,r2.isPaywallProtected)(e?.relationships?.field_sac_image),{imageUrl:i,alt:r,imageStyledUrl:n}=t.isPaywallProtectedFlag?(0,r2.getPaywalledImgData)(t?.errorObj):(0,r3.getImageMeta)(e?.relationships?.field_sac_image),s={src:i,styledimage:n,alt:r},l={label:e?.relationships?.field_course_suggestion?.data?.meta?.term_name||null,icon:e?.relationships?.field_course_suggestion?.data?.icon_type||"academyBarcodeIcon"},o={label:e?.relationships?.field_course_category?.data?.meta?.term_name||null,icon:e?.relationships?.field_course_category?.data?.icon_type||null};await (0,r3.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0);let c=await (0,r3.getTaxonomy)(e?.relationships?.field_event_type?.links?.related?.href,!0),d=[{taxonomyLabel:(e?.attributes?.field_credits||"")+" "+(a?.credits_label||"")}];e?.relationships?.field_specialty?.data?.[0]?.meta?.drupal_internal__target_id;let u=e?.attributes?.field_course_commencement_date||null,h=e?.attributes?.field_course_expiration_date||null,f={label:e?.relationships?.field_course_difficulty_level?.data?.meta?.term_name||null,icon:e?.relationships?.field_course_difficulty_level?.data?.icon_type||null},p={label:e?.attributes?.field_course_duration?.duration||null,icon:"TimeIcon"},m="var(--brand-primary-color-three)";return{id:e?.attributes?.drupal_internal__nid??"",taxonomies:await (0,r3.getTaxonomy)(e?.relationships?.field_sandoz_academy_topics?.links?.related?.href,!0),title:(0,r2.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,desc:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,time:(0,r2.isPaywallProtected)(e?.attributes?.field_time).isPaywallProtectedFlag?null:e?.attributes?.field_time??null,contentType:c?.[0]?.taxonomyLabel??null,avgRatingTitle:e?.attributes?.field_avgRating?.title?e?.attributes?.field_avgRating?.title:null,difficultyLevel:f,courseDuration:p,fromLabel:a?.sandoz_academy_from_date_label?a?.sandoz_academy_from_date_label:null,toLabel:a?.sandoz_academy_to_date_label?a?.sandoz_academy_to_date_label:null,credits:d??null,enableCredits:e?.attributes?.field_enable_disable_credits,fromDate:(0,r2.isPaywallProtected)(e?.attributes?.field_course_commencement_date).isPaywallProtectedFlag?null:u,toDate:(0,r2.isPaywallProtected)(e?.attributes?.field_course_expiration_date).isPaywallProtectedFlag?null:h,cardImage:s,isRatingsAvailable:a?.disable_star_rating_on_catalouge_page===0&&e?.attributes?.course_avg_rating||!0,avgRating:e?.attributes?.course_avg_rating??null,courseSuggestion:l,subTitle:e?.attributes?.field_sac_sub_title?.value??"",courseCategory:o||null,detailsPath:e?.attributes?.path?.alias||"",enableOverlay:e?.attributes?.course_status==1&&e?.attributes?.enable_disable_course_completion_overlay==1,overlayLabel:e?.attributes?.overlay_label??"",enableStatus:e?.attributes?.enable_disable_course_completion_status==1,completionStatusLabel:e?.attributes?.course_status_label??"",dispStatAbove:!1,completionStatus:e?.attributes?.course_status??null,isStarRatingDisabled:!0,primeColor:m,bookmarkContent:!0}})):[]},f=async e=>{try{let t={data:e},i=e?await l("url",0,0,t,a):null,r={data:{}};return i&&(r.data=i),r}catch(e){throw console.error("Error in articlecomData:",e),e}},p=async e=>{try{let t=e,i=e?await ip("url",0,0,t,a):null,r={data:{}};return i&&(r.data=i),r}catch(e){throw console.error("Error in menulinkdata:",e),e}},m=async e=>{try{let t=e;return e?await ne(t,i?.data?.attributes?.enable_paywall_block_level):null}catch(e){throw console.error("Error in pimProductTeaserData:",e),e}},g=async e=>await (0,r8.getApi)(e?.restapi_endpoint,!1,a),b=async e=>{let t=[];e?.map(e=>{t?.push(e)});
26let a=(await m(t)??[]).filter(Boolean);return a&&a?.map(e=>({blockdata:e,duration:Number((0,r4.default)(i,"data.attributes.field_duration")??r6.default.ZERO),carouselDisplayType:c,carouselBlockType:d,itemPerSlide:Number((0,r4.default)(i,"data.attributes.field_number_of_items_per_slide_")??r6.default.ZERO)}))},_="pim_product_teaser"===c?i?.data?.relationships?.field_pim_product_teaser?.data??[]:i?.included??[],y=await u(i),x="pim_product_teaser"===c?await Promise.all(_?.map(async e=>await g(e))):"sandoz_academy_course_catalogue"===c?await h(i?.data?.relationships?.field_sandoz_academy_course_cata?.links?.related?.href):"sandoz_academy_course_progress_carousel_card"===d?[]:await Promise.all(_.map(async e=>{let t;if((0,r2.isPaywallProtected)((0,r4.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let{...a}=await u(e);switch(d){case"hero_banner":t=await u(e);break;case"article_teaser_composition":t=await f(e);break;case"menu_link_with_icon":t=await p(e);break;default:throw Error("Invalid carousel block type")}return{blockdata:t,eventBannerContent:null,uploadType:(0,r4.default)(e,"attributes.field_hero_banner_upload_type")??null,referenceField:(0,r4.default)(e,"attributes.field_reference_field.value")??null,duration:Number((0,r4.default)(i,"data.attributes.field_duration")??r6.default.ZERO),isImageClickable:a?.isImageClickable??null,carouselDisplayType:c,carouselBlockType:d,itemPerSlide:Number((0,r4.default)(i,"data.attributes.field_number_of_items_per_slide_")??r6.default.ZERO)}}));return{duration:s,carouselDisplayType:c,carouselBlockType:d,itemPerSlide:o,slideItemsForTablet:"sandoz_academy_course_catalogue"===c||"sandoz_academy_course_progress_carousel_card"===d?r6.default.TWO:o,slidesInfo:"hero_banner"===d?y:"pim_product_teaser"===c?await b((0,r2.filterNullValues)(x)):(0,r2.filterNullValues)(x),fieldPaywallRoles:n,isParentPaywalled:r,slideItemsForMobile:"sandoz_academy_course_progress_carousel_card"===d?r6.default.ONE:o}},ni=na;e.s(["default",0,ni],40978);var nr=et,nn=t;let ns=e=>{let t=e?.length&&e?.split(",")||[],a=[];return t?.length&&t.forEach(e=>{a.push({taxonomyLabel:e})}),a},nl=async(e,...t)=>{let a=t?.[3],i=await (0,nr.getApi)(e.replace(/\?.*/,""),!1,a),r=(0,nn.isPaywallProtected)(i?.[0]?.field_sa_hero_banner_image),n={desktopImage:{src:r?.isPaywallProtectedFlag?(0,nn.getPaywalledImgData)(r?.errorObj).imageUrl:i?.[0]?.field_sa_hero_banner_image?.image_style?.src??"",alt:r?.isPaywallProtectedFlag?"":i?.[0]?.field_sa_hero_banner_image?.[0]?.alt??"",width:1440,height:540,styledimage:i?.[0]?.field_sa_hero_banner_image?.image_style?.image_style_uri??null},mobileImage:{src:r?.isPaywallProtectedFlag?(0,nn.getPaywalledImgData)(r?.errorObj).imageUrl:i?.[0]?.field_sa_hero_banner_image?.image_style?.src??"",alt:r?.isPaywallProtectedFlag?"":i?.[0]?.field_sa_hero_banner_image?.[0]?.alt??"",width:390,height:240,styledimage:i?.[0]?.field_sa_hero_banner_image?.image_style?.image_style_uri??null}};return{customBannerImage:r?.isPaywallProtectedFlag?(0,nn.getPaywalledImgData)(r?.errorObj).imageUrl:i?.[0]?.field_sa_hero_banner_image?.image_style?.src??"",height:r?.isPaywallProtectedFlag?100:i?.[0]?.field_sa_hero_banner_image?.height??"",width:r?.isPaywallProtectedFlag?200:i?.[0]?.field_sa_hero_banner_image?.width??"",alt:r?.isPaywallProtectedFlag?"":i?.[0]?.field_sa_hero_banner_image?.[0]?.alt??"",iconValue:(0,nn.isPaywallProtected)(i?.[0]?.field_course_category)?.isPaywallProtectedFlag?null:i?.[0]?.icon_type??null,taxonomies:i?.[0]?.field_sandoz_academy_topics&&!(0,nn.isPaywallProtected)(i?.[0]?.field_sandoz_academy_topics).isPaywallProtectedFlag?ns(i?.[0]?.field_sandoz_academy_topics):null,customBannerTitle:(0,nn.isPaywallProtected)(i?.[0]?.title)?.isPaywallProtectedFlag?null:i?.[0]?.title,ctaLabel:i?.[0]?.sa_hero_banner_access_course_label??null,ctaLink:"/",credit:!(0,nn.isPaywallProtected)(i?.[0]?.field_credits)?.isPaywallProtectedFlag&&i?.[0]?.field_enable_disable_credits==="On"&&i?.[0]?.field_credits?[{taxonomyLabel:i?.[0]?.field_credits+" "+i?.[0]?.sa_hero_banner_credits_label}]:[],heroBannerImageObj:n}};e.s(["default",0,nl],2181);let no=async(e,...t)=>t?.[2];e.s(["default",0,no],2224);var nc=et,nd=t;let nu=async(e,...t)=>{let a=await (0,nc.getApi)(e.replace(/\?.*/,""),!1);return(0,nd.isPaywallProtected)(a?.[0]).isPaywallProtectedFlag?{}:{imagePrimary:a?.[0]?.field_image_cpi?.[0],imageSecondary:a?.[0]?.field_secondary_info_image?.[0],titlePrimary:a?.[0]?.field_title_cpi??"",descriptionPrimary:a?.[0]?.field_body_cpi,titleSecondary:a?.[0]?.field_secondary_info_title??"",descriptionSecondary:a?.[0]?.field_secondary_info_body}};e.s(["default",0,nu],68693);var nh=et,nf=t;let np=async(e,...t)=>{let a=await (0,nh.getApi)(e.replace(/\?.*/,""),!1);if((0,nf.isPaywallProtected)(a?.[0]).isPaywallProtectedFlag)return{};let i=()=>{let e=[];return a?.map(t=>{let a={title:t?.field_title_cif??"",desc:t?.field_description_cif};e.push(a)}),e};return{title:a?.[0]?.sa_key_course_info_cta_label??"",courseInfo:i()??[]}};e.s(["default",0,np],66516);var nm=et,ng=t;let nb=async(e,...t)=>{let a=await (0,nm.getApi)(e.replace(/\?.*/,""),!1);if((0,ng.isPaywallProtected)(a?.[0]).isPaywallProtectedFlag)return{};let i=async e=>({testimonialContent:{name:e?.field_leader_name??"",designation:e?.field_leader_designation??"",summary:{value:e?.field_leader_information}},image:e?.field_leader_image_?.[0]?.src??null,alt:e?.field_leader_image_?.[0]?.alt??null,logoImageUrl:null,logoImageAlt:null,styledimage:e?.field_leader_image_?.[0]?.image_style_uri??null}),r=await Promise.all(a.map(async e=>i(e)));return{slidesInfo:(0,ng.filterNullValues)(r)??[],title:a?.[0]?.sa_key_opinion_leader_cta_label??""}};e.s(["default",0,nb],29330);var n_=t,ny=i,nx=n,nv=ea,nA=ei,nw=et;let nE=async e=>{let t=await (0,nw.getApi)("/jsonapi/solar/sandoz-academy-course-apiresponse",!1,e);return(t=t?.data)?{searchLabel:t?.sandoz_academy_what_are_you_looking_for_text,searchPlaceholder:t?.sandoz_academy_search_placeholder_text,searchCTAText:t?.sandoz_academy_search_cta_text,AlphaLabel:t?.sandoz_academy_label_alphabetical_order,FormLabel:t?.sandoz_academy_what_are_you_looking_for_text,clearLabel:t?.sandoz_academy_search_clear_all_text,other_
26category_text:t?.sandoz_academy_label_speciality,course_catalogue_title:t?.sandoz_academy_what_are_you_looking_for_text,resultsFoundText:t?.sandoz_academy_search_result_found_text,noResultsFoundText:t?.sandoz_academy_no_result_found_text,noResultsFoundDescription:t?.sandoz_academy_no_results_found_body?.value,unSelectItemsLabel:t?.sandoz_academy_search_clear_all_text,applyAllfilters:t?.sandoz_academy_apply_all_filters,itemsPerPage:t?.sandoz_academy_pagination,dropwdown_placeholder_text:t?.sandoz_academy_select_option_text??"",course_catalogue_search_default_config:t?.sandoz_academy_search_default_config??"",course_catalogue_search_facets:t?.sandoz_academy_search_facets??[],course_catalogue_label_profession:t?.sandoz_academy_label_profession??"",course_catalogue_label_course_category:t?.course_category_label??"",course_catalogue_label_course_suggestion:t?.course_suggestion_label??"",course_catalogue_label_therapeutic_area:t?.sandoz_academy_label_therapeutic_area??"",course_catalogue_label_disease_area:t?.sandoz_academy_label_disease_area??"",course_catalogue_label_sandoz_academy_topics:t?.sandoz_academy_topics_label??"",course_catalogue_label_audience:t?.sandoz_academy_label_audience??"",course_cataloguen_course_difficulty_level:t?.course_difficulty_label??"",filter_toggle_label:t?.filter_toggle_label??""}:{searchLabel:"",searchPlaceholder:"",searchCTAText:"",AlphaLabel:"",FormLabel:"",clearLabel:"",other_category_text:"",course_catalogue_title:"",resultsFoundText:"",noResultsFoundText:"",noResultsFoundDescription:"",unSelectItemsLabel:"",applyAllfilters:"",itemsPerPage:"",dropwdown_placeholder_text:"",course_catalogue_search_default_config:"",filter_toggle_label:""}},nS=async e=>{let t=await (0,nx.getBlockData)(e),a=Number(t?.meta?.count)??0,i=await (0,nw.getApi)("/jsonapi/solar/sandoz-academy-course-apiresponse");i=i?.data;let r=Number(i?.sandoz_academy_pagination),n=(0,n_.getAllRoles)(t),s="var(--brand-primary-color-three)";return t=(t=t?.data)&&t.length?await Promise.all(t?.map(async e=>{if((0,n_.isPaywallProtected)((0,ny.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,n_.isPaywallProtected)(e?.relationships?.field_sac_image),{imageUrl:a,alt:r,imageStyledUrl:n}=t.isPaywallProtectedFlag?(0,n_.getPaywalledImgData)(t?.errorObj):(0,nx.getImageMeta)(e?.relationships?.field_sac_image),l={src:a,styledimage:n,alt:r},o={label:e?.relationships?.field_course_suggestion?.data?.meta?.term_name||null,icon:e?.relationships?.field_course_suggestion?.data?.icon_type||"academyBarcodeIcon"},c={label:e?.relationships?.field_course_category?.data?.meta?.term_name||null,icon:e?.relationships?.field_course_category?.data?.icon_type||null};await (0,nx.getTaxonomy)(e?.relationships?.field_category?.links?.related?.href,!0);let d=await (0,nx.getTaxonomy)(e?.relationships?.field_event_type?.links?.related?.href,!0),u=(0,n_.isPaywallProtected)(e?.attributes?.field_credits).isPaywallProtectedFlag?[]:[{taxonomyLabel:`${e?.attributes?.field_credits||""} ${i?.credits_label||""}`}];e?.relationships?.field_specialty?.data?.[0]?.meta?.drupal_internal__target_id;let h=e?.attributes?.field_course_commencement_date||null,f=e?.attributes?.field_course_expiration_date||null,p={label:e?.relationships?.field_course_difficulty_level?.data?.meta?.term_name||null,icon:e?.relationships?.field_course_difficulty_level?.data?.icon_type||null},m={label:e?.attributes?.field_course_duration?.duration||null,icon:"TimeIcon"};return{id:e?.attributes?.drupal_internal__nid??"",taxonomies:await (0,nx.getTaxonomy)(e?.relationships?.field_sandoz_academy_topics?.links?.related?.href,!0),title:(0,n_.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,desc:(0,n_.isPaywallProtected)(e?.attributes?.body?.processed).isPaywallProtectedFlag?null:e?.attributes?.body?.processed??null,time:(0,n_.isPaywallProtected)(e?.attributes?.field_time).isPaywallProtectedFlag?null:e?.attributes?.field_time??null,contentType:d?.[0]?.taxonomyLabel??null,avgRatingTitle:e?.attributes?.field_avgRating?.title?e?.attributes?.field_avgRating?.title:null,difficultyLevel:p,courseDuration:m,fromLabel:i?.sandoz_academy_from_date_label?i?.sandoz_academy_from_date_label:null,toLabel:i?.sandoz_academy_to_date_label?i?.sandoz_academy_to_date_label:null,credits:u??null,enableCredits:e?.attributes?.field_enable_disable_credits,fromDate:(0,n_.isPaywallProtected)(e?.attributes?.field_course_commencement_date).isPaywallProtectedFlag?null:h,toDate:(0,n_.isPaywallProtected)(e?.attributes?.field_course_expiration_date).isPaywallProtectedFlag?null:f,cardImage:l,isRatingsAvailable:i?.disable_star_rating_on_catalouge_page==1&&e?.attributes?.course_avg_rating||!0,avgRating:e?.attributes?.course_avg_rating??4,courseSuggestion:o,subTitle:e?.attributes?.field_sac_sub_title?.value??null,courseCategory:c||null,detailsPath:e?.attributes?.path?.alias||"",enableOverlay:e?.attributes?.course_status==1&&e?.attributes?.enable_disable_course_completion_overlay==1,overlayLabel:e?.attributes?.overlay_label??"",enableStatus:e?.attributes?.enable_disable_course_completion_status==1,completionStatusLabel:e?.attributes?.course_status_label??"",dispStatAbove:!1,completionStatus:e?.attributes?.course_status??null,isStarRatingDisabled:!0,primeColor:s,bookmarkContent:!0}})):[],{flexibleCards:(0,n_.filterNullValues)(t),totalCount:a,itemsPerPage:r,fieldPaywallRoles:n}},nC=async(e,...t)=>{let a=t?.[3],i=await nE(a);return{courseCatalogueAdvanceFilterData:{advanceFilterData:{filtersOptions:await (0,nv.default)(i,nA.default?.COURSECATALOGUE,a),filtersLabels:{searchLabel:i?.searchLabel??"",searchPlaceholder:i?.searchPlaceholder??"",SearchCTAText:i?.searchCTAText??"",unselectFiltersCTA:i?.clearLabel??"",resultsFoundLabel:i?.resultsFoundText??"",noResultsFoundLabel:i?.noResultsFoundText??"",noResultsFoundDescription:i?.noResultsFoundDescription??"",applyFiltersCTA:i?.applyAllfilters??"",unSelectItemsLabel:i?.unSelectItemsLabel??"",enableToggle:i?.course_catalogue_search_default_config??"",filterIconName:i?.filter_toggle_label??""}},filterTitle:i?.course_catalogue_title??"",itemsPerPage:i?.itemsPerPage??9}}};e.s(["default",0,nC,"getFormattedFlexibleCardData",0,nS],1710);var nT=er;let nN="Not Started",nk="In Progress",nI="Completed";var nj=et,nP=ri,nL=t,nO=Z;function nD(e){let t=/[?&]filter\[nid\]=([^&]+)/,a=e.match(t);return a?a[1]:null}let nM=e=>{let t=e=>{let t="var(--brand-primary-color-three)";return e?.length?e?.map((e,a)=>({id:e?.node_id??"",taxonomies:(0,nL.isPaywallProtected)(e?.course_topics).isPaywallProtectedFlag?[]:(0,nP.getTaxonomyData)(e?.course_topics),title:(0,nL.isPaywallProtected)(e?.title).isPaywallProtectedFlag?null:e?.title??null,desc:(0,nL.isPaywallProtected)(e?.body?.processed).isPaywallProtectedFlag?null:e?.body?.processed??null,difficultyLevel:e?.field_course_difficulty_level??null,courseDuration:{label:e?.duration||null,icon:"TimeIcon"},fromLabel:e?.from_label??null,toLabel:e?.to_label??null,credits:(0,nL.isPaywallProtected)(e?.course_credits).isPaywallProtectedFlag?[]:[{taxonomyLabel:`${e?.course_credits||""} ${e?.course_credits_label||""}`}],enableCredits:e?.course_credits&&e?.course_credits_label||!1,fromDate:(0,nL.isPaywallProtected)(e?.course_commencement_date).isPaywallProtectedFlag?null:e?.course_commencement_date,toDate:(0,nL.isPaywallProtected)(e?.field_course_expiration_date).isPaywallProtectedFlag?null:e?.field_course_expiration_date,cardImage:{src:e?.image?.image_style?.src??"",styledimage:e?.image?.image_style?.image_style_uri??null,alt:e?.image?.img_alt??""},isRatingsAvailable:!0,avgRating:e?.course_avg_rating??null,courseSuggestion:e?.field_course_suggestion??null,subTitle:e?.sub_title??null,courseCategory:(0,nL.isPaywallProtected)(e?.field_course_category).isPaywallProtectedFlag?null:e?.field_course_category,detailsPath:e?.path_alias||"",enableOverlay:e?.course_status==1&&e?.enable_disable_course_completion_overlay==1,overlayLabel:e?.overlay_label??"",enableStatus:e?.enable_disable_course_completion_status==1,completionStatusLabel:e?.course_status_label??"",dispStatAbove:!1,isStarRatingDisabled:!0,primeColor:t,completionStatus:e?.course_status??"",bookmarkContent:!0})):[]};if(e)return{modulesInformation:{desc:e?.my_course_description??"",ctaLabel:e?.my_course_listing_url_label??"",ctaLink:e?.my_course_listing_url??"",course_id:null,moduleHeading:e?.my_course_title??""}
26,carouselData:{duration:0,carouselBlockType:"catalogue",itemPerSlide:t(e?.course_details)?.slice(0,6)?.length>1?2:1,slidesInfo:(0,nL.filterNullValues)(t(e?.course_details)?.slice(0,6))??[],enableException:!0,slideItemsForTablet:1,slideItemsForMobile:1},isActivityCard:!1,course_id:e?.course_id??0}},nR=async(e,t)=>{let a=await (0,nj.getApi)(e.replace(/\?.*/,""),!1),i=(e,t,a,i)=>(e?.findIndex(e=>e?.field_media_container_quiz?.[0]?.quiz_message_type===1),e?.findIndex(e=>e?.field_media_container_quiz?.[0]?.quiz_message_type===0),e?.map((r,n)=>{let s=!1;if(a)if(i===nI)s=!0;else if(i===nk){let t=n>0?e[n-1]?.activity_status_label:null;r?.activity_status_label===nI?s=!0:t===nI&&(s=!0)}else i===nN&&(s=0==n);else s=!1;return{title:(0,nL.isPaywallProtected)(r?.field_activity_title)?.isPaywallProtectedFlag?"":r?.field_activity_title??"",desktopColumns:3,tabletColumns:1,id:r?.id,cardImage:{src:r?.field_activity_image?.[0]?.src??"",alt:r?.field_activity_image?.[0]?.alt??""},difficultyLevel:{label:r?.field_date_of_commencement?(0,nO.default)(r?.field_date_of_commencement).format(nT.DATE_FORMATS.MMM_DD_YYYY):"",icon:"CalendarIcon1"},detailsPath:t??"",courseDuration:{label:r?.field_activity_time,icon:"TimeIcon"},dispStatAbove:!0,enableStatus:r?.enable_disable_course_completion_status==1,completionStatusLabel:r?.activity_status_label??"",enableOverlay:r?.activity_status==1&&r?.enable_disable_course_completion_overlay==1,overlayLabel:r?.overlay_label??"",activityStatus:r?.activity_status==1,completionStatus:r?.activity_status??null,taxonomies:r?.field_course_topic_tag?.length&&r.field_course_topic_tag.map(e=>({taxonomyLabel:e?.name??""}))||[],enabledActivityTab:s}}));return{responseData:a?.map((e,t)=>{let r=!1;return r=0===t||e?.module_status_label===nk||e?.module_status_label===nI||a[t-1]?.module_status_label==="Completed",{modulesInformation:{title:(0,nL.isPaywallProtected)(e?.title).isPaywallProtectedFlag?"":e?.title,trainingTime:(0,nL.isPaywallProtected)(e?.field_training_time).isPaywallProtectedFlag?"":e?.field_training_time,desc:(0,nL.isPaywallProtected)(e?.body).isPaywallProtectedFlag?"":e?.body,keyOpinion:(0,nL.isPaywallProtected)(e?.field_key_opinion_leaders).isPaywallProtectedFlag?null:e?.field_key_opinion_leaders,nid:e?.nid??"",ctaLabel:e?.view_all_cta_label??"",ctaLink:e?.view_all_cta_link??"",moduleHeading:(0,nL.isPaywallProtected)(e?.field_module_heading).isPaywallProtectedFlag?"":e?.field_module_heading,enableStatus:e?.enable_disable_course_completion_status==1,completionStatusLabel:e?.module_status_label??"",moduleStatus:e?.module_status==1,completionStatus:e?.module_status??null,isEnabled:r,sequentialActivityFlowFlag:e?.field_is_activity_need_to_comple==="True",bookmarkContent:!0},carouselData:{duration:0,carouselBlockType:"catalogue",itemPerSlide:i(e?.activities,e?.view_all_cta_link,r,e?.module_status_label)?.slice(0,6)?.length>1?2:1,slidesInfo:(0,nL.filterNullValues)(i(e?.activities,e?.view_all_cta_link,r,e?.module_status_label)?.slice(0,6))??[],enableException:!0,slideItemsForTablet:1,slideItemsForMobile:1}}}),activityHeading:a?.[0]?.module_activity_heading??"",course_id:nD(e),isActivityCard:!0}};e.s(["default",0,nR,"getMyCoursesData",0,nM],72275);var nF=t;let nB=async(e,...t)=>{let a=t?.[2];return{title:(0,nF.isPaywallProtected)(a?.your_progress_title)?.isPaywallProtectedFlag?"":a?.your_progress_title??"",desc:(0,nF.isPaywallProtected)(a?.your_progress_desc)?.isPaywallProtectedFlag?"":a?.your_progress_desc??"",btnLabel:a?.your_progress_download_cta_label??"",progressLabel:(0,nF.isPaywallProtected)(a?.your_progress_completed_label)?.isPaywallProtectedFlag?"":a?.your_progress_completed_label??"",chartData:{data:[{name:"completed progress",y:a?.completed_percentage??0,color:"#1c59b5",className:""},{name:"remaining progress",y:a?.completed_percentage===100?0:100-(a?.completed_percentage??0),color:a?.completed_percentage===100?"#1c59b5":"#a8d5ff",className:""}]},completedPercentage:(0,nF.isPaywallProtected)(a?.completed_percentage)?.isPaywallProtectedFlag?0:a?.completed_percentage??0,apiUrl:a?.download_cert_api??"",avgRating:(0,nF.isPaywallProtected)(a?.user_course_avg_rating)?.isPaywallProtectedFlag?null:a?.user_course_avg_rating??null,courseId:(0,nF.isPaywallProtected)(a?.user_course_id)?.isPaywallProtectedFlag?null:a?.user_course_id??null}};e.s(["default",0,nB],40434);var nU=et,nH=t;let n$=async(e,...t)=>{let a=await (0,nU.getApi)(e.replace(/\?.*/,""),!1);return{cardsArray:a?.map((e,t)=>{let i=!1;return i=0===t||e?.module_status_label===nk||e?.module_status_label===nI||a[t-1]?.module_status_label==="Completed",{moduleTitle:(0,nH.isPaywallProtected)(e?.field_module_heading).isPaywallProtectedFlag?"":e?.field_module_heading,title:(0,nH.isPaywallProtected)(e?.title_1).isPaywallProtectedFlag?"":e?.title_1,desc:(0,nH.isPaywallProtected)(e?.body).isPaywallProtectedFlag?"":e?.body,desktopColumns:3,tabletColumns:6,id:e?.nid??null,credits:(0,nH.isPaywallProtected)(e?.field_training_time).isPaywallProtectedFlag?null:e?.field_training_time?[{taxonomyLabel:e?.field_training_time}]:null,enableCredits:!1,detailsPath:"",tag:(0,nH.isPaywallProtected)(e?.field_training_time).isPaywallProtectedFlag?"":e?.field_training_time,cardType:"modules",author:(0,nH.isPaywallProtected)(e?.field_key_opinion_leaders).isPaywallProtectedFlag?null:e?.field_key_opinion_leaders,moduleLinkTitle:e?.sandoz_academy_show_lessions_cta_text??"",ctaLabel:e?.sandoz_academy_go_to_course_cta_text??"",topic_label:e?.sandoz_academy_heading_label_cta_text??"",isCourseModule:!0,enableStatus:e?.enable_disable_course_completion_status==1,completionStatusLabel:e?.module_status_label??"",dispStatAbove:!1,completionStatus:e?.module_status??null,isEnabled:i,bookmarkContent:!0}})}};e.s(["default",0,n$],90304);var nG=i,nW=t;let nY=e=>{let t=[],a={},i=e?.attributes?.field_key_opinion_leaders?.value??"",r=e?.attributes?.body?.value??"",n=(0,nG.default)(e,"relationships.field_sandoz_academy_modules_act.data");return n?(n?.findIndex(e=>e?.meta?.activity_details?.field_media_container_quiz?.[0]?.quiz_message_type===1),n?.findIndex(e=>e?.meta?.activity_details?.field_media_container_quiz?.[0]?.quiz_message_type===0),n.map((e,s)=>{let l=!1,o=s>
260?n?.[s-1]?.meta?.activity_details?.activity_status:null;l=0==s||e?.meta?.activity_details?.activity_status==1||1===o,a={id:e?.meta?.drupal_internal__target_id,title:(0,nW.isPaywallProtected)(e?.meta?.activity_details?.field_activity_title)?.isPaywallProtectedFlag?"":e?.meta?.activity_details?.field_activity_title??"",subTitle:(0,nW.isPaywallProtected)(e?.meta?.activity_details?.field_sub_title)?.isPaywallProtectedFlag?"":e?.meta?.activity_details?.field_sub_title??"",duration:(0,nW.isPaywallProtected)(e?.meta?.activity_details?.field_activity_time)?.isPaywallProtectedFlag?"":e?.meta?.activity_details?.field_activity_time??"",field_activity_component:e?.meta?.activity_details?.field_activity_component?.[0]?.value??"",activityStatus:e?.meta?.activity_details?.activity_status==1,overlayLabel:e?.meta?.activity_details?.overlay_label??"",enableOverlay:e?.meta?.activity_details?.enable_disable_course_completion_overlay==1,media:{size:e?.meta?.activity_details?.field_media_container?.[0]?.field_display_variations??null,position:e?.meta?.activity_details?.field_media_container?.[0]?.field_alignment_styles??"",title:"",closeIcon:!1,src:e?.meta?.activity_details?.field_media_container?.[0]?.body??""},image_media:e?.meta?.activity_details?.field_activity_image?.[0]??"",activityInfo:{durationLabel:e?.meta?.activity_details?.duration_label??"",duration:e?.meta?.activity_details?.field_activity_time??"",title:e?.meta?.activity_details?.field_activity_title??"",keyOpinion:i,desc:r,activityStatus:e?.meta?.activity_details?.activity_status==1,markAsCompCtaLabel:e?.meta?.activity_details?.mark_as_complete_label??"",enableMarkAsComp:e?.meta?.activity_details?.mark_as_complete==1,completedLabel:e?.meta?.activity_details?.mark_as_complete_cta_completed_label??"",downloadCtaDetails:{title:e?.meta?.activity_details?.download_label??"",ctaLabel:e?.meta?.activity_details?.download_cta_label??"",ctaLink:e?.meta?.activity_details?.download_file??null},isActivityEnabledDetail:l},returnToCourse:{label:e?.meta?.activity_details?.return_to_course?.label??"",link:e?.meta?.activity_details?.return_to_course?.link??""},quizUrlData:e?.meta?.activity_details?.field_media_container_quiz??null},t.push(a)}),t):[]},nz=(...e)=>{let t=e[3]?.data,a=nY(t);return{headingSection:{moduleHeading:t?.attributes?.field_module_heading?.value??"",moduleTitle:t?.attributes?.title??""},slides:{duration:0,carouselBlockType:"course_activity",carouselDisplayType:"catalogue",itemPerSlide:a?.length<4?a?.length:4,slideItemsForTablet:a?.length<2?a?.length:2,slideItemsForMobile:1,slidesInfo:a}}};e.s(["default",0,nz],53390);var nV=n,nK=rZ;let nq=async(e,...t)=>{let a=t?.[3],i=await (0,nV.getBlockData)(`${e}`,!1,a);i=i?.data;let r=i?.relationships?.field_select_webform?.data?.meta?.url,n=await (0,nK.default)(`${r}`,...t);return{searchLabel:i?.attributes?.field_search_title?.value??"",searchPlaceholder:i?.attributes?.field_search_placeholder_text?.value??"",searchCTALabel:i?.attributes?.field_search_button_label?.value??"",resultsLabel:i?.attributes?.field_search_results_found_title?.value??"",noResultsLabel:i?.attributes?.field_no_result_found_title?.value??"",noResultsDesc:i?.attributes?.field_no_resutls_found_search_de?.value??"",webformBlock:n,isParentPaywalled:i?.attributes?.enable_paywall_block_level??!1}};e.s(["default",0,nq],65241);var nQ=et,nZ=n,nX=t;let nJ=async(e,t)=>{let a=await (0,nQ.getApi)(e,!1,t);if(!a||!a.my_certifications)return console.error("Invalid certificateCards structure:",a),null;let i="certificate";return{certificates:a?.my_certifications?.data?.map(e=>({certificateId:e?.course_id,certificateLabel:a?.my_certifications?.certificate_text,certificateTitle:e?.course_title,certificateDate:e?.course_completion_date,desc:e?.course_description,desktopColumns:12,tabletColumns:12,cardType:i,certificatePath:e?.course_certificate_path,certificateCta:a?.my_certifications?.download_cta_label})),totalCount:a?.my_certifications?.total_certifications,itemsPerPage:a?.my_certifications?.items_per_page}},n0=async(e,...t)=>{let a=t?.[3],i=await (0,nZ.getBlockData)(e,!1,a);return i=i?.data,{certificationBlockTitle:(0,nX.isPaywallProtected)(i?.attributes?.info)?.isPaywallProtectedFlag?"":i?.attributes?.info,certificationBlockDesc:(0,nX.isPaywallProtected)(i?.attributes?.field_certification_count_msg)?.isPaywallProtectedFlag?"":i?.attributes?.field_certification_count_msg,certificationBlockCtaLabel:i?.attributes?.field_show_more_cta_label??"",enableBlockPaywall:(0,nX.isPaywallProtected)(i?.attributes?.enable_paywall_block_level)?.isPaywallProtectedFlag??!1}};e.s(["default",0,n0,"getCertificationInfo",0,nJ],42616);var n1=et,n2=n,n3=t;let n4=async(e,t)=>{let a=await (0,n2.getBlockData)(`${e}`,!1),i=await (0,n1.getApi)(a?.data?.relationships?.field_bookmarks_tabs?.data?.[0]?.meta?.bookmark_api),r=e=>e?.map((e,t)=>({children:e?.meta?.bookmark_tab_label??"",itemID:e?.meta?.drupal_internal__target_id??"",active:0==t,id:e?.meta?.drupal_internal__target_id??"",tabToBeSelected:e?.meta?.n
26ode_type??""}));return{title:(0,n3.isPaywallProtected)(a?.data?.attributes?.info)?.isPaywallProtectedFlag?"":a?.data?.attributes?.info??"",tabHeadItems:r(a?.data?.relationships?.field_bookmarks_tabs?.data)??[],description:(0,n3.isPaywallProtected)(a?.data?.relationships?.field_bookmarks_tabs?.data?.[0]?.meta?.bookmark_block_tab_desc_text)?.isPaywallProtectedFlag?"":a?.data?.relationships?.field_bookmarks_tabs?.data?.[0]?.meta?.bookmark_block_tab_desc_text??"",tabContentData:(0,n3.isPaywallProtected)(i?.bookmark)?.isPaywallProtectedFlag?{}:i?.bookmark??{},href:"",ctaLabel:a?.data?.relationships?.field_bookmarks_tabs?.data?.[0]?.meta?.bookmark_show_more_label,enableBlockPaywall:(0,n3.isPaywallProtected)(a?.data?.attributes?.enable_paywall_block_level)?.isPaywallProtectedFlag??!1}};e.s(["default",0,n4],39873);var n6=t,n5=n,n8=et,n7=rs;let n9=async(e,...t)=>{let a=t?.[3],i=await (0,n5.getBlockData)(e,!1,a);i=i?.data;let r=await (0,n8.getApi)(n7.config.onPrem.BADGES_API_URL,!1,a);return(r=r?.my_badges,r?.data?.length)?{badges:r?.data?.map(e=>({badgeTitle:e?.badge_name??"",badgeDescription:e?.badge_description??"",isLocked:e?.islocked??!1}))??[],badgeListTitle:r?.badge_section_title??"",badgeDescription:r?.badge_section_desc??"",showMoreLabel:r?.show_more_label??"",showLessLabel:r?.show_less_label??"",badgesToShowInitially:parseInt(r?.badge_to_show_initially)??18,totalCount:parseInt(r?.total_badges,10)??0,enableBlockPaywall:(0,n6.isPaywallProtected)(i?.attributes?.enable_paywall_block_level)?.isPaywallProtectedFlag??!1}:null};e.s(["default",0,n9],88409);var se=t,st=n,sa=tD,si=et;let sr=async(e,...t)=>{if(!e)throw(0,sa.consoleError)(`URL parameter is undefined in ${sr.name}.`);let a=t?.[3],i=await (0,st.getBlockData)(e,!1,a),r=i?.included?.[0]?.attributes?.name,n=i?.data?.attributes?.field_rest_api_url,s=await (0,si.getApi)(n,!1,a),l=(0,se.isPaywallProtected)(i?.data?.attributes?.enable_paywall_block_level)?.isPaywallProtectedFlag;return"ecomm_product_listing"===r?{blockUrl:n,type:r,data:s}:{blockUrl:n,type:r,enableBlockPaywall:l}},sn=sr;e.s(["default",0,sn],72569);var ss=t,sl=i,so=n;let sc=async(e,...t)=>{let a=t?.[3],i=await (0,so.getBlockData)(e,!1,a),r=(0,ss.isPaywallProtected)((0,sl.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=(0,ss.getAllRoles)(i);i=i?.data;let s=await (0,so.getBlockData)(`${e.replace(/\?.*/,"")}/field_text_block`,!1,a),l=s?.data.map(e=>{if((0,sl.default)(e,"attributes.enable_paywall_block_level"))return null;let t=(0,ss.isPaywallProtected)((0,sl.default)(e,"attributes.body.processed")?.replace(/<\/?p>/g,"")?.replace(/<br\s*\/?>/gi,"\n")).isPaywallProtectedFlag?null:(0,sl.default)(e,"attributes.body.processed")?.replace(/<\/?p>/g,"")?.replace(/<br\s*\/?>/gi,"\n")??null,a=(0,ss.isPaywallProtected)((0,sl.default)(e,"attributes.field_title")).isPaywallProtectedFlag?null:(0,sl.default)(e,"attributes.field_title")??null,i=(0,ss.isPaywallProtected)((0,sl.default)(e,"attributes.field_highlight")).isPaywallProtectedFlag?null:(0,sl.default)(e,"attributes.field_highlight")??null,r=(0,ss.isPaywallProtected)((0,sl.default)(e,"attributes.field_supporting_text")).isPaywallProtectedFlag?null:(0,sl.default)(e,"attributes.field_supporting_text")??null;return{desc:t,title:a,highlight:i,supportiveText:r,ctaLink:(0,ss.isPaywallProtected)((0,so.filterURL)((0,sl.default)(e,"attributes.field_cta.uri"))).isPaywallProtectedFlag?null:(0,sl.default)(e,"attributes.field_cta.uri")??null,ctaLabel:(0,ss.isPaywallProtected)((0,sl.default)(e,"attributes.field_cta.title")).isPaywallProtectedFlag?null:(0,sl.default)(e,"attributes.field_cta.title")??null}}),o=await (0,so.getBlockData)(`${e.replace(/\?.*/,"")}/field_styling_switch`,!1,a),{isPaywallProtectedFlag:c,errorObj:d}=(0,ss.isPaywallProtected)((0,sl.default)(i,"relationships.field_background_image")),u=c?(0,ss.getPaywalledImgData)(d):(0,so.getImageMeta)(i?.relationships?.field_background_image);return{itemAlignment:(0,ss.isPaywallProtected)((0,sl.default)(i,"attributes.field_displaytype")).isPaywallProtectedFlag?null:(0,sl.default)(i,"attributes.field_displaytype")??null,itemsPerRow:(0,ss.isPaywallProtected)((0,sl.default)(i,"attributes.field_items_per_row")).isPaywallProtectedFlag?null:(0,sl.default)(i,"attributes.field_items_per_row")??null,content:(0,ss.isPaywallProtected)((0,sl.default)(i,"attributes.body.processed")?.replace(/<\/?p>/g,"")?.replace(/<br\s*\/?>/gi,"\n")).isPaywallProtectedFlag?null:(0,sl.default)(i,"attributes.body.processed")?.replace(/<\/?p>/g,"")?.replace(/<br\s*\/?>/gi,"\n")??null,bgImageSrc:u?.imageUrl??null,keyFactSubData:(0,ss.filterNullValues)(l)??null,themeStyle:(0,ss.isPaywallProtected)((0,sl.default)(o,"data.attributes.field_style_mapping")).isPaywallProtectedFlag?null:(0,sl.default)(o,"data.attributes.field_style_mapping")??null,fieldPaywallRoles:n,isParentPaywalled:r}};e.s(["default",0,sc],30403);var sd=e.i(50461),su=e.i(30559),sh=n,sf=i,sp=et,sm=ri,sg=er,sb=t,s_=e.i(83315),sy=e.i(43103);let sx=async(e,t)=>{let a=t?.feUrl?t?.feUrl.split("/")?.[0]:"",i="dev"===sd.default.env.NEXT_PUBLIC_ENV?"http":"https",r=a?`${i}://${a}`:"";if(!s_.IS_NFH_ENV_SET)return{isEnvConfigSet:!1};let n=(0,sm.extractExpertId)(t?.reqUrl),s=await (0,sm.getUserDetails)(r,sg.LOGIN_TYPES.SOLAR,t?.applicationId,t?.token,t?.cmsUrl,t?.session),l=t?.cmsUrl||"",o=s?.data?.profile?.response?.profile?.records?.[0]?.PersonEmail||"";try{let a,i,c,d=await (0,sh.getBlockData)(e,!1,t),u=(0,sf.default)(d,"data.attributes.field_number_of_results_display")??"",h=(0,sf.default)(d,"data.attributes.field_number_of_results_to_load")??0,f=(0,sf.default)(d,"data.attributes.field_path_to_details_page")??"",p=(0,sf.default)(d,"data.attributes.langcode")??"",m=(0,sf.default)(d,"data.attributes.field_cta")??"",g=(0,sf.default)(d,"data.attributes.body.value")??"",b=(0,sf.default)(d,"data.attributes.field_title")??"",_=(0,sf.default)(d,"data.attributes.field_style_component")??"",y=(0,sb.isPaywallProtected)((0,sf.default)(d,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,x=(0,sb.getAllRoles)(d),v=s?.loginStatus?"data.attributes.field_filter_criteria_logged_in.value":"data.attributes.field_filter_criteria.value",A=JSON.parse((0,sf.default)(d,v)),w=(0,sf.default)(d,"data.attributes.nfh_labels")??{},E=w?.nfh_listing_page?.kmc_category_label??"",S=w?.nfh_listing_page?.invali
26d_filter_config_message??"",C=w?.metadataProfileId,T={filter:{}},N=["recommended_videos","all_videos","experts"].includes(_)?(0,sm.extractDynamicTags)(A,s?.data,C,S):null;T=N?(0,sm.createKalturaPayload)(N):{filter:{}},w?.nfh_listing_page&&N?.message&&(w.nfh_listing_page.noConfig=N?.message??null);let k="";try{if(n){let e=await (0,sp.getApi)(`${s_.CARD_VIEW_API_ENDPOINT}?expert_id=${n}&type=expert_detail`,!1,t);a=e?.data?.attributes?.[0],k=a?.field_external_id||""}}catch(e){console.error("Error fetching expert details:",e?.message||e),a=null,k=""}let I=[];try{let e=await (0,sp.getApi)(`${s_.CARD_VIEW_API_ENDPOINT}?type=experts_filter`,!1,t);I=e?.data?.attributes,I=Array.isArray(I)?I?.map(e=>({externalId:e?.field_external_id??"",name:e?.field_cc_small_title??""})):[]}catch(e){console.error("Error fetching experts list:",e?.message||e),I=[]}let j=[];try{let e=await su.default.post(`${r}/api/kaltura/category-list`,{metadataProfileId:w?.metadataProfileId,cmsUrl:l,userEmail:o,fieldName:E});j=e?.data?.values||[]}catch(e){console.error("Error fetching category list:",e?.message||e),j=[]}let P="collections"===_?`${A?.playlistIDs??""}`:"",L=`${A?.tagsOperator??""}`,O=["collections","experts"].includes(_)?[A?.tags,k].filter(Boolean).join(","):"",D=(0,sm.createKalturaPager)(h||12,1);"experts"===_&&T&&(T.filter.advancedSearch={type:2,metadataProfileId:w?.metadataProfileId,objectType:"KalturaMetadataSearchItem",items:[{objectType:"KalturaSearchCondition",field:"/*[local-name()='metadata']/*[local-name()='Experts']",value:k}]});let M=0;return"continue_watching"!==_&&"recommended_videos"!==_&&"all_videos"!==_&&"experts"!==_||N?.message||(i=await su.default.post(`${r}/api/kaltura/video-list`,{filter:T?.filter,pager:D,cmsUrl:l,userEmail:o,whichComponent:_}),M=await i?.data?.totalResultsCount,i=await i?.data?.videos),"collections"===_&&(A&&!sy.default.isEmpty(A)?(c={tags:O??"",playlistIDs:P??"",operator:L},i=await su.default.post(`${r}/api/kaltura/playlists`,{playlistPayload:c,cmsUrl:l,userEmail:o}),M=await i?.data?.totalCount,i=await i?.data?.playlists):(w?.nfh_listing_page||(w.nfh_listing_page={}),w.nfh_listing_page.noConfig=S)),{listingData:(0,sm.extractFirstNOnly)(i,h),totalResultsCount:M||0,detailPageURL:f,langCode:p,displayItems:u,componentCTA:m,componentDesc:g,componentTitle:b,totalItems:h,whichComponent:_,payloadToKaltura:T,formattedFilterObject:N,userData:{baseUrl:r,serverData:t,userDataResponse:s},cmsFilters:A,componentType:A?.type??"",expertListData:I,categoryListData:j??null,nfhLabels:w,applicationId:t?.applicationId??null,playlistPayload:c??{},cmsUrl:l,isParentPaywalled:y,fieldPaywallRoles:x}}catch(e){return console.error("Error fetching Kaltura listing data:",e.message||e),{listingData:null,error:e.message||"Unknown error"}}};e.s(["default",0,sx],67794);var sv=i,sA=n;let sw=async(e,...t)=>{if(!e)throw console.error(`URL parameter is undefined in ${sw.name}.`);let a=t?.[3];try{let t=await (0,sA.getBlockData)(e,!1,a),i=(0,sv.default)(t,"data.relationships.field_chart_snippet.data.meta")??{};return{title:i.term_name??"",htmlSnippet:i.term_html_code??""}}catch(t){return console.error(`Failed to fetch HTML snippet data from ${e} - error: ${t}`),{title:"",htmlSnippet:""}}},sE=sw;e.s(["default",0,sE],68885);var sS=t,sC=n,sT=i,sN=er;let sk=async(e,...t)=>{let a=t?.[3],i=await (0,sC.getBlockData)(e,!1,a),r=(0,sS.isPaywallProtected)((0,sT.default)(i,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,n=i?.data?.attributes?.field_card_alignment_style??"left";i=i?.included??[];let s=(0,sS.getAllRoles)(i),l=(0,sS.isPaywallProtected)(i?.relationships?.field_article_tc_image);return i=i?.map(e=>{if((0,sS.isPaywallProtected)((0,sT.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let{imageUrl:t,alt:a,imageStyledUrl:i,width:r,height:n}=l.isPaywallProtectedFlag?(0,sS.getPaywalledImgData)(l?.errorObj):(0,sC.getImageMeta)(e?.relationships?.field_cc_small_upload_image);return{contentCardImage:{src:t??null,alt:a??null,imageStyledUrl:i??null,width:r??null,height:n??null},title:e?.attributes?.field_cc_small_title?.processed?e?.attributes?.field_cc_small_title?.processed:null,designation:e?.attributes?.field_cc_small_designation?e?.attributes?.field_cc_small_designation:null,paragraph:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,address:e?.attributes?.field_cc_small_address?e?.attributes?.field_cc_small_address:null,phone:(0,sS.isPaywallProtected)(e?.attributes?.field_cc_small_mobile_number).isPaywallProtectedFlag?"":e?.attributes?.field_cc_small_mobile_number??null,email:(0,sS.isPaywallProtected)(e?.attributes?.field_cc_small_email).isPaywallProtectedFlag?"":e?.attributes?.field_cc_small_email??null,fax:(0,sS.isPaywallProtected)(e?.attributes?.field_cc_small_fax_number).isPaywallProtectedFlag?"":e?.attributes?.field_cc_small_fax_number??null,ctaLink:(0,sC.filterURL)((0,sT.default)(e,"attributes.field_cc_small_cta_link.uri"))??"",ctaTitle:(0,sT.default)(e,"attributes.field_cc_small_cta_link.title")??"",ctaTarget:(0,sC.filterURL)((0,sT.default)(e,"attributes.field_cc_small_cta_link.options.attributes.target"))??sN.URL_TARGET.SELF,cardAlignment:e?.attributes?.field_text_alignment_style??"left"}}),{contentCardsData:(0,sS.filterNullValues)(i)??[],cardGroupAlignment:n,fieldPaywallRoles:s,isParentPaywalled:r}};e.s(["default",0,sk],74339);var sI=n,sj=tD,sP=et,sL=i;let sO=async(e,...t)=>{if(!e)throw(0,sj.consoleError)(`URL parameter is undefined in ${sO.name}.`);let a=t?.[3],i=await (0,sI.getBlockData)(e,!1,a),r=i?.data?.id;return{rawData:i,dynamicUrl:r}},sD=async e=>{let t=await (0,sP.getApi)(`/jsonapi/block_content/csv_upload_block/${e}`,!1);return(t=t?.data?.attributes)?{searchLabel:(0,sL.default)(t,"field_search_filter_title"),searchPlaceholder:(0,sL.default)(t,"field_search_filter_label"),searchCTALabel:(0,sL.default)(t,"field_csv_search_button_label"),fieldFilterColumns:(0,sL.default)(t,"field_filter_columns"),fieldTableDisplayColumns:(0,sL.default)(t,"field_table_display_columns"),fieldNoOfItemsAvailableLabe:(0,sL.default)(t,"field_no_of_items_available_labe"),fieldViewPath:(0,sL.default)(t,"field_view_path"),noResultsLabel:(0,sL.default)(t,"job_no_results_found_title")||"Showing 0 results",resultsLabel:(0,sL.default)(t,"field_no_of_items_available_labe")||"Showing @count_val results",clearLabel:(0,sL.default)(t,"field_clear_all_filters_label"),sortByLabel:(0,sL.default)(t,"job_sort_by_txt")||"Sort by",applyFiltersCTALabel:(0,sL.default)(t,"field_apply_filters_cta_label"),searchQueryText:(0,sL.default)(t,"field_search_field")||"search",showFilters:(0,sL.default)(t,"field_show_filters_cta_lablel")||"Show Filters",selectOptionText:(0,sL.default)(t,"field_filter_select_option_label"),alternateTheme:(0,sL.default)(t,"field_alternative_theme")}??{}:{searchLabel:"",searchPlaceholder:"",searchCTALabel:"",fieldFilterColumns:[],fieldTableDisplayColumns:[],fieldNoOfItemsAvailableLabe:"",fieldViewPath:"",clearLabel:"",resultsLabel:"",noResultsLabel:"",sortByLabel:"",applyFiltersCTALabel:"",searchQueryText:"",showFilters:"",selectOptionText:"",alternateTheme:""}},sM=sO;e.s(["default",0,sM,"getProductPipelineLabelData",0,sD],4122);var sR=sd,sF=n,sB=i,sU=et,sH=ri,s$=er,sG=t;let sW=async(e,t)=>{if(!e)return console.error(`URL parameter is undefined in ${sW.name}.`),{expertListDetail:[]};let a=t?.feUrl?t?.feUrl.split("/")?.[0]:"",i="dev"===sR.default.env.NEXT_PUBLIC_ENV?"http":"https",r=a?`${i}://${a}`:"";try{let a,i,n,s,l,o,c,d,u=await (0,sH.getUserDetails)(r,s$.LOGIN_TYPES.SOLAR,t?.applicationId,t?.token,t?.cmsUrl,t?.session),h=await (0,sF.getBlockData)(e,!1,t),f=(0,sG.isPaywallProtected)((0,sB.default)(h,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,p=(0,sB.default)(h,"data.attributes.field_title"),m=(0,sB.default)(h,"data.attributes.field_description.value"),g=(0,sB.default)(h,"data.attributes.field_cta.title"),b=(0,sB.default)(h,"data.attributes.field_cta.uri")?.split(":")[1]||"",_=(0,sB.default)(h,"data.attributes.field_number_of_results_display")??0,y=(0,sB.default)(h,"data.attributes.field_expert_card_type"),x=(0,sB.default)(h,"data.attributes.field_card_display_type")??"grid",v=(0,sG.getAllRoles)(h),{nfh_listing_page:A,nfh_expert_details:w}=(0,sB.default)(h,"data.attributes.nfh_labels")??{},{read_less_label:E,read_more_label:S,video_desc_word_limit:C}=(0,sB.default)(h,"data.attributes.nfh_labels.nfh_video_details")??{},T=(0,sB.default)(h,"data.attributes.view_endpoint"),N=(e,t)=>e.filter(e=>t.includes(e.tid)).map(e=>e.name),k="",I=await (0,sU.getApi)(`${T}?type=speciality`,!1,t),j=(0,sB.default)(I,"data.attributes")??[];if("expert_details"===y)try{k=(0,sH.extractExpertId)(t?.reqUrl);let e=`${T}?expert_id=${k}&type=expert_detail`,a=await (0,sU.getApi)(e,!1,t);a=a?.data?.attributes[0],n=a?.field_cc_small_about,s=a?.field_cc_small_designation,l=a?.field_cc_small_title,o=a?.field_cc_small_upload_image;let r=a?.field_cc_small_speciality;c=a?.body,i=N(j,r.split(",").map(e=>e.trim()))}catch(e){console.error("Error fetching expert details data:",e),n="",s="",l="",o="",c="",i=[]}else d=(0,sH.buildExpertDetailUrl)(u,h,j,T),a=await (0,sU.getApi)(`${d}`,!1,t);let{speciality_label:P}=w??"",{all_type_filter:L,search_placeholder:O,load_more_label:D,no_videos_found_label:M}=A??"";return{expertListData:a?.data?.attributes||[],expertContainerTitle:p,expertContainerDesc:m,showAllButton:g,showAllButtonUrl:b,noOfCardsToDisplay:_,expertCardType:y,expertId:k,componentType:x,isParentPaywalled:f,specialityArray:j,filtersLabels:{speciality_label:P,all_type_filter:L,search_placeholder:O,load_more_label:D,no_videos_found_label:M},serverData:t,fieldPaywallRoles:v,getApiUrl:d||null,expertDetailsData:"expert_details"===y?{textAbout:n,expertDesignation:s,expertName:l,expertImage:o,specialityNames:i,expertStatement:c,...w,read_less_label:E,read_more_label:S,video_desc_word_limit:C}:""}}catch(t){return console.error(`Failed to fetch expert data from ${e} - error:`,t),{expertListDetail:[],error:t}}},sY=sW;e.s(["default",0,sY],74608);var sz=sd,sV=su,sK=n,sq=i,sQ=t,sZ=ri,sX=er,sJ=s_;let s0=async(e,t)=>{let a=t?.feUrl?t?.feUrl.split("/")?.[0]:"",i="dev"===sz.default.env.NEXT_PUBLIC_ENV?"http":"https",r=a?`${i}://${a}`:"";if(!sJ.IS_NFH_ENV_SET)return{isEnvConfigSet:!1};let n=await (0,sZ.getUserDetails)(r,sX.LOGIN_TYPES.SOLAR,t?.applicationId,t?.token,t?.cmsUrl,t?.session),s=t?.cmsUrl,l=n?.data?.profile?.response?.profile?.records?.[0]?.PersonEmail||"",o=t?.reqUrl??"";try{let a=await (0,sK.getBlockData)(e,!1,t),i=o?.includes("playlist_id"),n=o.match(/entry_id=([^&]+)/),c=n?n[1]:"",d=(0,sq.default)(a,"data.attributes.nfh_labels.nfh_video_details")??{},u=(0,sQ.isPaywallProtected)((0,sq.default)(a,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,h=(0,sq.default)(a,"data.attributes.field_player_id"),f=(0,sQ.getAllRoles)(a),{author_participant_label:p="",read_more_label:m="",read_less_label:g="",video_desc_word_limit:b=30,video_failed_load_label:_="",video_not_found_label:y=""}=d,x={};if(c||i)try{let e=await sV.default.post(`${r}/api/kaltura/video-detail`,{entryId:c,cmsUrl:s,userEmail:l,isCollectionsPage:i},{headers:{"Content-Type":"application/json"}});x=e?.data||{}}catch(e){console.error("Error fetching video detail data:",e?.message||e)}return{PARTNER_ID:sJ.KALTURA_PARTNER_ID??"",UICONF_ID:h??sJ.KALTURA_UICONF_ID,reqUrl:o,entryId:c,videoDetailData:x,isParentPaywalled:u,nfhVideoDetailLabels:d,fieldPaywallRoles:f,videoLabels:{author_participant_label:p,read_more_label:m,read_less_label:g,video_desc_word_limit:b,video_failed_load_label:_,video_not_found_label:y},ks:x?.ks??null,userEmail:l,isLoggedIn:!!l,serverData:t}}catch(e){return console.error("Error fetching Kaltura Media Player data:",e?.message||e),{error:e?.message||"Unknown error"}}};e.s(["default",0,s0],48825);var s1=et,s2=t,s3=n,s4=i;let s6="solarapi/cpsia/certificate/download",s5="solarapi/cpsia/config",s8="sandoz.net";e.s(["DOWNLOAD_CERTIFICATE_URL",0,s6,"INTERNAL_USER_TYPE",0,s8,"LABEL_CONFIG_URL",0,s5],10024);let s7=async(e,...t)=>{let a,i=t?.[3],r=await (0,s3.getBlockData)(e,!1,i),n=(0,s2.getAllRoles)(r),s=(0,s2.isPaywallProtected)((0,s4.default)(r,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=(0,s4.default)(r,"data.attributes.field_batch_upload");try{let e=await (0,s1.getApi)(s5,!1,i),t=(0,s4.default)(e,"data.general_config");a=s9(t)}catch(e){a=s9(void 0)}return{serverData:i,labelConfig:a,isBulkCertificateEnabled:l,isParentPaywalled:s,fieldPaywallRoles:n}},s9=e=>({title:e?.cpsia_form_title??"GCC Certificate Request",subtitle:e?.cpsia_form_sub_title??"Request for Exter
26nal Single Certificate",ndcLabel:e?.ndc_label??"NDC Number",ndcFormatLabel:e?.ndc_format_label??"Format: 123-456-789-0 or 12345678900",ndcPlaceholderText:e?.ndc_placeholder??"123-456-799-0",ndcRequiredLabel:e?.ndc_required_label??"Please enter correct NDC number",batchLabel:e?.batch_number_label??"LOT Number",batchRequiredLabel:e?.batch_required_label??"Please enter correct lot number",batchPlaceholderText:e?.lot_placeholder??"Please Enter LOT Number",submitLabel:e?.certificate_cta_label??"Generate Certificate",loaderWaitLabel:e?.loader_wait_label??"Please wait",loaderProcessingLabel:e?.loader_proccessing_label??"We are processing your request.",backToUploadLabel:e?.back_to_upload_label??"back to upload",successTitle:e?.congrats_label??"Congratulations!",successMessage:e?.generated_succesfully_text_label??"Your certificate has been generated successfully.",clickTextLabel:e?.click_text_label??"Click below to Download.",downloadLabel:e?.downlaod_certificate_label??"Download Certificate",singleTabLabel:e?.single_certificate_tab_label??"Single Certificate",bulkTabLabel:e?.bulk_certificate_tab_label??"Bulk Certificate",tabsTitle:e?.tabs_title_text_label??null,bulkGenerateLabel:e?.bulk_generate_label??"Generate in Bulk",messages:e?.message?JSON.parse(e.message):[],cpsiaFormTitle:e?.bulk_form_title??"GCC Bulk Certificate Request",fileUploadLabel:e?.file_upload_label??"File Upload",fileUploadSubLabel:e?.file_upload_sub_label??"Add CSV files here to generate certificates.",dragDropLabel:e?.drag_drop_label??"Drag your file(s) or",browseLabel:e?.browse_label??"browse",fileUploadLimitLabel:e?.file_upload_limit_label??"Max 5 MB files are allowed.",uploadCsvLabel:e?.upload_csv_label??"Please upload CSV file only.",pasteTextLabel:e?.paste_text_label??"Paste Text",pasteTextPlaceholder:e?.paste_text_placeholder??"Paste comma-separated NDC and Lot numbers...",pasteTextNote:e?.paste_text_note??"Note: Paste comma-separated values (e.g., 123-456-799-1, 9087657699) to generate certificates.",fileUploadSuccessMsg:e?.file_upload_success_message??"File uploaded successfully",removeSelectedFileText:e?.remove_selected_file_text??"Remove",viewLogText:e?.view_log_text??"View log",uploadCsvPasteTextSeparator:e?.upload_paste_separator??"OR",emptyCsvFileUploadError:e?.empty_csv_error??"CSV must contain header and at least one row.",invalidHeaderCsvFileUploadError:e?.invalid_csv_header_error??"Invalid header. Expected: NDC, Lot Number",invalidFormatRowUploadCsv:e?.invalid_csv_row_format_error??"Invalid format at row",emptyValueRowUploadCsv:e?.empty_csv_row_error??"Empty values at row",csvFileAllowedErrorMsg:e?.csv_file_type_error??"Only CSV files are allowed.",validRowPasteTextErrorMsg:e?.valid_row_required_error??"At least one valid row is required.",invalidFormatPasteTextErrorMsg:e?.invalid_paste_text_format_error??"Invalid format at line",invalidDataPasteTextErrorMsg:e?.invalid_paste_text_data_error??"Invalid data at line",apiErrorMsgDefault:e?.default_api_error_message??"Something went wrong",errorLogTitle:e?.error_log_title??"Error Log",errorLogFilename:e?.error_log_filename??"Filename",errorLogDate:e?.error_log_date??"Date",errorLogStatus:e?.error_log_status??"Status",errorLogErrorCount:e?.error_log_error_count??"Error count",errorLogDetailsTitle:e?.error_log_details_title??"Error log details",downloadLogButtonText:e?.download_log_button??"Download Log",errorLogDetailsNdc:e?.error_log_ndc_label??"NDC",errorLogDetailsLot:e?.error_log_lot_label??"LOT",errorLogDetailsErrorType:e?.error_log_error_type_label??"Error Type",switchTabAlertTitle:e?.switch_tab_alert_title??"Alert",switchTabAlertMsg:e?.switch_tab_alert_message??"CSV upload in progress, switching tabs will discard data.",switchTabConfirmationMsg:e?.switch_tab_confirmation_message??"Are you sure you want to continue?",switchTabCancelBtnText:e?.switch_tab_c
26ancel_button??"Cancel",switchTabContinueBtnText:e?.switch_tab_continue_button??"Continue",errorLogStatusFailed:e?.error_log_status_failed??"Failed"});e.s(["default",0,s7],6038);var le=t,lt=i,la=n,li=et;let lr="solarapi/zerotouch/label-config",ln=e=>({disclaimerTitle:e?.disclaimerTitle??"Disclaimer",disclaimerContent:e?.disclaimerContent??"[Entire Disclaimer Tab]",yourProductsTitle:e?.yourProductsTitle??"Your Products",yourProductsDescription:e?.yourProductsDescription??"",getMaxRebateButtonText:e?.getMaxRebateButtonText??"Get Max Rebate",packSizeLabel:e?.packSizeLabel??"Pack Size",pznLabel:e?.pznLabel??"PZN",quantityLabel:e?.quantityLabel??"Quantity",orderDetailsTitle:e?.orderDetailsTitle??"Order Details",orderDetailsDescription:e?.orderDetailsDescription??"",wholesalerLabel:e?.wholesalerLabel??"Wholesaler",emailAddressLabel:e?.emailAddressLabel??"Email Address",hcoNumberLabel:e?.hcoNumberLabel??"HCO Number",splitFlagLabel:e?.splitFlagLabel??"Split Flag",splitOrderAcrossPharmaciesLabel:e?.splitOrderAcrossPharmaciesLabel??"Split order across pharmacies",formSummaryTitle:e?.formSummaryTitle??"Form Summary",formSummaryDescription:e?.formSummaryDescription??"",noItemAddedTitle:e?.noItemAddedTitle??"No Item added",emptyCartMessage:e?.emptyCartMessage??"Your cart is waiting - add products to see your summary",submitFormButtonText:e?.submitFormButtonText??"Submit Form",disclaimerLinkText:e?.disclaimerLinkText??"Disclaimer",orderSummaryOverviewTitle:e?.orderSummaryOverviewTitle??"Order Summary Overview",grandTotalLabel:e?.grandTotalLabel??"Grand Total",pleaseWaitTitle:e?.pleaseWaitTitle??"Please Wait",processingRequestMessage:e?.processingRequestMessage??"We are processing your request.",congratulationsTitle:e?.congratulationsTitle??"Congratulations",orderSuccessMessage:e?.orderSuccessMessage??"Your order has been successfully placed. Please check your email for confirmation and further details.",placeAnotherOrderButtonText:e?.placeAnotherOrderButtonText??"Place Another Order",rebateOptimizationSuccessMessage:e?.rebateOptimizationSuccessMessage??"Congratulations! Order quantities have been updated to maximize your rebate.",invalidAccessLinkTitle:e?.invalidAccessLinkTitle??"Invalid Access Link",invalidAccessLinkMessage:e?.invalidAccessLinkMessage??"This access link is no longer valid. Contact customer service or your sales representative for assistance.",goToHomepageButtonText:e?.goToHomepageButtonText??"Go to Homepage",campaignExpiredTitle:e?.campaignExpiredTitle??"Campaign Expired",campaignExpiredMessage:e?.campaignExpiredMessage??"This campaign is no longer active. Its scheduled end date has expired.",campaignNotStartedTitle:e?.campaignNotStartedTitle??"Campaign not started",campaignNotStartedMessage:e?.campaignNotStartedMessage??"This campaign is not started yet.",orderFailedTitle:e?.orderFailedTitle??"Order Failed!",orderFailedMessage:e?.orderFailedMessage??"Unable to process your order at this time. Please try again later.",tryAgainButtonText:e?.tryAgainButtonText??"Try Again",emailRequiredText:e?.emailRequiredText||"Email address is required.",emailInvalidText:e?.emailInvalidText||"Enter valid email address.",emailInputPlaceholder:e?.emailInputPlaceholder||""}),ls="solarapi/zerotouch/xml",ll=1,lo="c",lc="ct",ld="active",lu="not started",lh="[$$]",lf="customerNumber",lp="MarketingEmail";e.s(["LABEL_CONFIG_URL",0,lr,"SUBMIT_FORM_SUCCESS",0,ll,"ZERO_TOUCH_CAMPAIGN_STATUS_ACTIVE",0,ld,"ZERO_TOUCH_CAMPAIGN_STATUS_NOT_STARTED",0,lu,"ZERO_TOUCH_CUSTOMER_ID_EMAIL_QUERY_KEY",0,lc,"ZERO_TOUCH_CUSTOMER_ID_QUERY_KEY",0,lo,"ZERO_TOUCH_HINT_NUMBER_PLACEHOLDER",0,lh,"ZERO_TOUCH_SFMC_CUSTOMER_ID_KEY",0,lf,"ZERO_TOUCH_SFMC_EMAIL_KEY",0,lp,"ZERO_TOUCH_SUBMIT_FORM_URL",0,ls,"mapOrderFormLabels",0,ln],82392);let lm=async(e,...t)=>{try{let a,i,r=t?.[3],n=await (0,la.getBlockData)(e,!1,r);try{let e=await (0,li.getApi)(lr,!1,r);i=(0,lt.default)(e,"data.label_general_form"),a=ln(i)}catch(e){a=ln(void 0)}let s=(0,le.isPaywallProtected)((0,lt.default)(n,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,l=!0===(0,lt.default)(n,"data.attributes.form_summary_visibility"),o=!0===(0,lt.default)(n,"data.attributes.customer_id_visibility"),c=(0,le.getAllRoles)(n),d=n?.data,u=(0,lt.default)(d,"attributes.campaign_elements")??[],h=e=>(0,le.isPaywallProtected)(e)?.isPaywallProtectedFlag?null:e,f=(0,lt.default)(d,"attributes.order_split_enabled")??0,p=u?.map(e=>{let t=e?.campaign_rebate_block??{};return{campaignTitle:e?.name??"",campaignDescription:e?.description??"",rebateBlockName:t?.rebate_name??"",rebateBlockDesc:t?.rebate_description??"",rebates:t?.rebates??[],products:(t?.products??[]).filter(e=>!(0,lt.default)(e,"attributes.enable_paywall_block_level")).map(e=>({productName:h((0,lt.default)(e,"product_name")),productTitle:h((0,lt.default)(e,"title")),primaryImage:h((0,lt.default)(e,"primary_image")),packages:e?.packages?.map(e=>({pzn:e?.pzn??"",name:e?.name??"",packsize:e?.packsize??"0",strength:e?.strength??"0",sellPrice:e?.pharmacy_sellprice??"0",minQty:e?.rebate_min_qty??"0",...e}))??[]}))}})??[],m=(0,lt.default)(d,"attributes.campaign_id")??"",g=(0,lt.default)(d,"attributes.campaign_status")??"",b=!!(0,lt.default)(d,"attributes.enable_captcha");return{isParentPaywalled:s,fieldPaywallRoles:c,zeroTouchData:d,campaignElements:u,campaignDetails:p,isOrderSplitEnabled:f,configData:i,labelConfig:a,campaignId:m,campaignStatus:g,isFormSummaryEnabled:l,isCustomerIdEnabled:o,showCaptcha:b}}catch(e){return console.error("Error in getZeroTouchData:",e),{productCardData:[],isParentPaywalled:!1,fieldPaywallRoles:[],zeroTouchData:null,campaignElements:[],campaignDetails:[],isOrderSplitEnabled:0,campaignId:"",campaignStatus:"",isFormSummaryEnabled:!1,isCu
26stomerIdEnabled:!1,showCaptcha:!1}}};e.s(["default",0,lm],56017)},38589,46405,52225,92331,e=>{"use strict";e.s(["default",()=>tp,"fetchTabContent",()=>th,"getRegionNumber",()=>tu],38589);var t=e.i(41764),a=e.i(75425),i=e.i(67552),r=e.i(3265);e.s(["getAllFleixbleBlocksData",()=>to,"getFlexiblePageBlocks",()=>tl,"getMicrositePageConfigData",()=>tr],92331);var n=e.i(50461),s=t,l=a,o=e.i(15315),c=e.i(81577);e.s(["default",()=>tt],52225);var d=e.i(37966),u=e.i(39612),h=e.i(13817),f=e.i(13923),p=e.i(85394),m=e.i(50421),g=e.i(19996),b=e.i(71560),_=e.i(15097),y=e.i(79470),x=e.i(45891),v=e.i(82590),A=e.i(87656),w=e.i(65363),E=e.i(94661),S=e.i(85077),C=e.i(93176),T=e.i(59387),N=e.i(94173),k=e.i(83956),I=e.i(4930),j=e.i(89785),P=e.i(82746),L=e.i(80769),O=e.i(65441),D=e.i(18801),M=e.i(57935),R=e.i(48667),F=e.i(90305),B=e.i(55577),U=e.i(1124),H=e.i(76223),$=e.i(1943),G=e.i(65225),W=e.i(48623),Y=e.i(41084),z=e.i(97066),V=e.i(88948),K=e.i(92692),q=e.i(14473),Q=e.i(2259),Z=e.i(59392),X=e.i(25918),J=e.i(46328),ee=e.i(89720),et=e.i(1904),ea=e.i(68712),ei=e.i(70447),er=e.i(61945),en=e.i(66107),es=e.i(63676),el=e.i(9199),eo=e.i(61070),ec=e.i(94500),ed=e.i(81244),eu=e.i(22869),eh=e.i(24478),ef=e.i(90209),ep=e.i(69596),em=e.i(51478),eg=e.i(39984),eb=e.i(60123),e_=e.i(10083),ey=e.i(80988),ex=e.i(83242),ev=e.i(35826),eA=e.i(40978),ew=e.i(2181),eE=e.i(2224),eS=e.i(68693),eC=e.i(66516),eT=e.i(29330),eN=e.i(1710),ek=e.i(72275),eI=e.i(40434),ej=e.i(90304),eP=e.i(53390),eL=e.i(65241),eO=e.i(42616),eD=e.i(39873),eM=e.i(88409),eR=e.i(72569),eF=e.i(30403),eB=e.i(67794),eU=e.i(68885),eH=e.i(74339),e$=e.i(4122),eG=e.i(74608),eW=e.i(48825),eY=e.i(6038),ez=e.i(56017),eV=e.i(61312),eK=r,eq=o,eQ=e.i(75699),eZ=e.i(99523),eX=o,eJ=e.i(82036),e0=eV,e1=r;let e2=async(e,t)=>{try{return await (0,eX.middlewareGETAPI)(e,t)||{}}catch(e){return e}},e3=async e=>{let{lang:t}=(0,eX.getApiDomainAndLang)();return await Promise.all(e?.map(async e=>{if((0,e0.isPaywallProtected)((0,eJ.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let a=(0,e0.isPaywallProtected)(e?.relationships?.field_event_banner),{imageUrl:i,alt:r}=a?.isPaywallProtectedFlag?(0,e0.getPaywalledImgData)(a?.errorObj):(0,e1.getImageMeta)(e?.relationships?.field_event_banner),n=e?.attributes?.field_location?.map(e=>e.trim()).filter(Boolean)??"",s=(0,eZ.default)(e?.attributes?.published_date).locale(t).format("YYYY")??null,l=(0,eZ.default)(e?.attributes?.field_event_dates?.value).locale(t).format("DD-MMM-YYYY")??null,o=(0,eZ.default)(e?.attributes?.field_event_dates?.end_value).locale(t).format("DD-MMM-YYYY")??null,c=[];Array.isArray(e?.relationships?.field_category?.data)&&e.relationships.field_category.data.length&&(c=(c=e.relationships.field_category.data.map(e=>e?.meta?.term_name)).filter(Boolean));let d=[];Array.isArray(e?.relationships?.field_downloadable_materials?.data)&&e.relationships.field_downloadable_materials.data.length&&(d=(d=e.relationships.field_downloadable_materials.data.map(e=>({title:e.filename,url:(0,e1.filterURL)(e.filepath)}))).filter(e=>!!e?.title));let u=[];return Array.isArray(e?.attributes?.field_secondary_cta_link)&&e?.attributes?.field_secondary_cta_link.length&&(u=(u=e?.attributes?.field_secondary_cta_link.map(e=>({title:e?.title,url:e?.uri&&e?.uri!=="route:<nolink>"?(0,e1.filterURL)(e?.uri):"#",target:e?.options?.attributes?.target||""}))).filter(({title:e})=>!!e)),{eventCardContent:{id:e?.attributes?.drupal_internal__nid??"",heading:(0,e0.isPaywallProtected)(e?.attributes?.title).isPaywallProtectedFlag?null:e?.attributes?.title??null,text:e?.attributes?.body?.processed?e?.attributes?.body?.processed:null,createdDate:(0,e0.isPaywallProtected)(e?.attributes?.published_date).isPaywallProtectedFlag?null:s,primaryBtnTitle:e?.attributes?.field_primary_cta_link?.title?e?.attributes?.field_primary_cta_link?.title:null,primaryBtnUrl:e?.attributes?.field_primary_cta_link?.uri?(0,e1.filterURL)(e?.attributes?.field_primary_cta_link?.uri):null,primaryBtnTarget:e?.attributes?.field_primary_cta_link?.options?.attributes?.target?(0,e1.isExternalLink)(e?.attributes?.field_primary_cta_link?.options?.attributes?.target):null,secondaryCTAs:u,downloadMenu:d,isButtonUrlExter
26nal:e?.attributes?.field_cta_nas?.options?.attributes?.target?(0,e1.isExternalLink)(e?.attributes?.field_cta_nas?.options?.attributes?.target):null,fromDate:l,endDate:o,locations:n,tags:c},createdDate:(0,e0.isPaywallProtected)(e?.attributes?.published_date).isPaywallProtectedFlag?null:s,imageSrc:i||null,imgAlt:r||null}}))},e4=async(e,t)=>{try{return await (0,eX.middlewareGETAPI)(e,t)||{}}catch(e){return e}},e6={year:"field_event_year",month:"field_event_month",audience:"field_audience",eventType:"field_event_type",location:"field_location"};function e5(e,t,a){let i=[];return Object.entries(e).forEach(([e,t])=>{if(!t?.length)return;let a=e6[e];t.forEach((e,t)=>{i.push(`views-filter[${a}][${t}]=${encodeURIComponent(String(e))}`)})}),t?.trim()&&i.push(`views-filter[search]=${encodeURIComponent(t.trim())}`),"page="+String(a)+"&"+i.join("&")}let e8={jan:0,january:0,feb:1,february:1,mar:2,march:2,apr:3,april:3,may:4,jun:5,june:5,jul:6,july:6,aug:7,august:7,sep:8,september:8,oct:9,october:9,nov:10,november:10,dec:11,december:11};function e7(e,t="en-US"){return Object.values(e.reduce((e,a)=>{let i=a?.eventCardContent?.fromDate;if(!i)return e;let r=i.replace(/-$/,"").split("-"),n=new Date(i).toLocaleString(t,{month:"long"}).toLocaleLowerCase(),s=parseInt(r[2],10);if(!e8.hasOwnProperty(n))return e;let l=new Date(s,e8[n],1),o=`${n.charAt(0).toUpperCase()+n.slice(1)} ${s}`;return e[o]||(e[o]={monthYear:o,sortDate:l,eventCardContent:[]}),e[o].eventCardContent.push(a),e},{})).sort((e,t)=>e.sortDate-t.sortDate)}e.s(["buildEventsFetchQueryString",0,e5,"formatEventListingData",0,e3,"getFilterData",0,e4,"getMoreEvents",0,e2,"groupEventCards",0,e7],46405);let e9=e=>e?.filter(({eventCardContent:e,imageSrc:t,imgAlt:a})=>null!=e.heading||null!=e.text||null!=e.date||null!=e.buttonLabel||null!=e.buttonUrl||0!=e.taxonomies.length||null!=t||null!=a),te=async(e,...t)=>{let a=t?.[3],i=await (0,eK.getBlockData)(e,!1,a),r={};try{let e=await (0,eq.getApi)(eQ.API_GET_EVENT_LABEL_CONFIG,!1,a);r=(0,eQ.mapEventListingLabels)(e)}catch(e){r=(0,eQ.mapEventListingLabels)(void 0)}let n=Number(i?.meta?.count)??0,s=Number(i?.number_of_items_per_page)??0,l=(0,eV.getAllRoles)(i),o=i?.data??[],{lang:c}=(0,eq.getApiDomainAndLang)();return o&&(o=await e3(o)),{eventListingCards:e9(o)??[],totalCount:n,itemsPerPage:s,fieldPaywallRoles:l,url:e,labelConfig:r,serverData:a}},tt=async(e,t,a,i,r,n={},s)=>{let l={rotating_hero_banner:V.default,hero_banner:A.default,quick_links:q.default,quick_link_card:b.default,testimonial:Q.default,media_library_detail:h.default,media_library_search:u.default,location_list:f.default,article_teaser_banner:w.default,contact_cards:E.default,education_overview_block:S.default,sandoz_academy_block:eN.default,productcards:C.default,video_cards:I.default,article_teaser_composition:T.default,icon_cards_group:N.default,text:k.default,support_material_teaser:j.default,opinion_leaders_teaser:P.default,google_map:L.default,article_teaser:O.default,service_teaser_cards:D.default,interesting_cards:U.default,schedule_tabs:M.default,accordion:R.default,latest_nas:y.default,o_nas:H.default,event_horizontal_cards:B.default,event_vertical_cards:F.default,education_product_card:$.default,therapy_cards:G.default,snackbite:W.default,therapy_snackbite:W.default,common_tab_group:tp,productlistcardblock:Y.default,button_group:z.default,other_news_and_stories:K.default,product_card:$.default,right_side_panel:Z.default,media_related_items:d.default,news_search:()=>({url:t}),events_filter:X.default,share_monitor:J.default,events_filter_form:ee.default,image:et.default,speciality_filter:ea.default,sandoz_contact_us:ei.default,teaser_block:er.default,rest_data_export_link:en.default,ecommerce_block:eR.default,csv_upload_block:e$.default,paywall:p.default,table_reference_column:es.default,star_rating:el.default,post_code_look_up:()=>({url:t}),content_block_inline_quotation:eo.default,menu_link_with_icon_group:ec.default,persona_patient_profile:ed.default,job_search:()=>({}),compact_stock_ticker:m.default,search_bar:g.default,teaser_feature_block:eu.default,webform_block:_.default,related_content:e=>({url:e}),flex_accordion:e=>({url:e}),media_container:x.default,webstore_dp:eh.default,webstore_card_list:e=>({url:e}),newsletter_signup:v.default,map_inframe_integration:ef.default,solar_table_block:ep.default,print_version_configuration:em.default,buy_now_button_block:e=>({url:e}),chart:e=>({url:e}),video_gallery:e=>({url:e}),quiz:e=>({url:e}),iframe_block:eg.default,interactive_chart:eU.default,footer:eb.default,eyebrow_menu:ey.default,pin_protection:ex.default,isi_legal_disc_banner:e_.default,header:ev.default,carousel:eA.default,magazine_masonry_component:e=>({url:e}),decision_tree:e=>({url:e}),sandoz_academy_hero_banner_block:ew.default,lb_tabs_tabs:eE.default,course_overview_section_block:eS.default,course_information_section_block:eC.default,key_opinion_leader_section_block:eT.default,sandoz_academy_modules_and_activities_block:ek.default,sandoz_academy_percentage_tracker_block:eI.default,sandoz_academy_course_modules_block:ej.default,activity_details_block:eP.default,customer_connect_company_onboard:eL.default,certifications:eO.default,bookmarks_block:eD.default,badges:eM.default,key_fact:eF.default,kaltura_media_listing:(e,t,a,i,r)=>(0,eB.default)(e,r),kaltura_media_player:e=>(0,eW.default)(e,s),content_cards:eH.default,card_view:(e,t,a,i,r)=>(0,eG.default)(e,r),cpsia:eY.default,campaign:ez.default,upcoming_events:te,past_events:te,featured_events:te},o=[i,r,n,s];return e in l?{type:e,background:a,data:await l[e](t,...o)}:{}},ta=async(e,t)=>{let a="",i="",r="",s="",l="",o={},c="";return e?.map(e=>{e?.tag==="link"&&e?.attributes?.rel==="canonical"&&(a=e?.attributes?.href),e?.tag==="meta"&&e?.attributes?.name==="title"&&(i=e?.attributes?.content),e?.tag==="meta"&&e?.attributes?.name==="description"&&(r=e?.attributes?.content),e?.tag==="meta"&&e?.attributes?.name==="google-site-verification"&&(l=e?.attributes?.content),e?.tag==="meta"&&(e?.attributes?.name==="keywords"&&(s=e?.attributes?.content),(e?.attributes?.name==="robots"||"true"!=t)&&(c="true"==t?e?.attributes?.content:n.default.env.NON_CANONICAL_ROBOTS_META_VAL||"noindex,nofollow,noarchive,nocache")),e?.attributes?.property?.startsWith("og:")&&(o[e?.attributes?.property.substring(3)]=e?.attributes?.content)}),{canonical:a,title:i,description:r,googleSiteVerification:l,keywords:s,og:o,seo:Array.isArray(e)?e:[],robots:c}
26},ti=e=>{switch(e){case s.LAYOUT_REGIONS.FIRST:return l.default.ZERO;case s.LAYOUT_REGIONS.SECOND:return l.default.ONE;case s.LAYOUT_REGIONS.THIRD:return l.default.TWO;default:return l.default.ZERO}},tr=e=>{let t={};return Array.isArray(e)&&e?.forEach(e=>{let a="string"==typeof e?JSON.parse(e):e;t={...t,...a}}),t},tn=e=>e?{header:{titleText:e?.popup_title||""},content:{content:e?.popup_desc?.value||"",isRichText:!0},footer:{closeBtn:{tabindex:l.default.TWO,children:e?.popup_sec_cta_link?.title||"",isSecondary:!0,href:e?.popup_sec_cta_link?.uri??"",isExternal:e?.popup_sec_cta_link?.options?.attributes?.target??!1,target:e?.popup_sec_cta_link?.options?.attributes?.target??""},actionBtn:{tabindex:l.default.ONE,children:e?.popup_pri_cta_label||""}},enabled:+(e?.modal_popup_checkbox===!0),pageLevel:!0}:{},ts=(e,t)=>{let a=!1;for(let i=0;i<e?.length;i++)if(e[i]?.layout_id===t){if(a)return!0;a=!0}return!1},tl=async(e,t,a,i)=>{let r,n;if(!e)return void(0,c.consoleError)(`URL parameter is undefined in ${tl.name}.`);let d=t??await (0,o.getApi)(e,!1,i),u="";d?.headers&&Object.entries(d.headers).forEach(([e,t])=>{"surrogate-key"==e&&t&&(u=t)}),d=d&&d.paywall?d:d?.response?d?.response:d;let h=d?.data?.attributes?.seckit_headers,f=!1,p=!1,m=d?.data?.current_uid,g=d?.is404??!1;d&&d?.paywall&&(f=!0);let b=await ta(d?.data?.attributes?.metatag,i?.isCanonicalDomain)||[],_=d?.data?.attributes?.drupal_internal__nid??null,y=d?.data?.relationships?.field_media_specialty?.data?.[0]?.meta?.drupal_internal__target_id??null,x=d?.data?.relationships?.field_sub_theme?.data?.meta?.drupal_internal__target_id??null,v=d?.data?.relationships?.field_sub_theme?.data?.meta?.term_name||"",A="";(v||x)&&(A=v||d?.included?.filter(e=>e?.attributes?.drupal_internal__tid===x)?.[0]?.attributes?.name||"");let w=d?.data?.attributes?.layout_builder__layout,E=d?.data?.attributes?.field_p3_number||null,S=d?.data?.attributes?.path?.alias??null,C=d?.data?.attributes?.isi_banner_details??null,T=d?.data?.relationships?.full_page_bg_img?.data?.meta?.absolute_uri??"",N=d?.data?.relationships?.full_page_bg_img_mobile?.data?.meta?.absolute_uri??"",k=d?.data?.attributes?.full_page_bg_img_opacity/100||1,I=d?.data?.attributes?.full_page_bg_img_opacity_mobile/100||1,j=[],P=[],L=d?.data?.attributes?.is_microsite==="1",O=d?.data?.attributes?.field_pin_protection_page??!1,D=d?.data?.attributes?.field_pin_protection_for_hcp??!1,M=d?.pin_protection_page_url??"/",R=[],F=[],B=0,U=O?s.PIN_PROTECTION.PATIENT:!!D&&s.PIN_PROTECTION.HCP,H={module_need_to_complete:d?.data?.attributes?.field_is_module_need_to_complete??!1,activity_need_to_complete:d?.data?.attributes?.field_is_activity_need_to_comple??!1},$=null;L&&($={isMicrositeEnabled:L,menuStructure:d?.data?.attributes?.microsite_menu_structure_level||"",pageMenuLvl:d?.data?.attributes?.microsite_menu_level||"0",pageConfig:d?.data?.attributes?.microsite_component?tr(d?.data?.attributes?.microsite_component):null,disabledInhConfig:{banner:d?.data?.attributes?.field_disable_miscrosite_banner??!1,footer:d?.data?.attributes?.field_disable_microsite_footer??!1,eyebrow_menu:d?.data?.attributes?.field_disable_ms_eyebrow_menu??!1,header:d?.data?.attributes?.field_disable_microsite_header??!1}});let G=ts(w,s.SECTION_LAYOUT.TABS);if(w?.forEach(e=>{e?.error_code&&e?.error_code===405&&(p=!0,P=P.concat(e?.unauth_roles));let t=e?.layout_id,a=e?.third_party_settings?.layout_builder_bg_img_wrapper?.bg_img_details?.absolute_uri??"",i=e?.third_party_settings?.layout_builder_bg_img_wrapper?.bg_img_mobile_details?.absolute_uri??"",o=e?.third_party_settings?.layout_builder_bg_img_wrapper?.bg_img_opacity/100||1,c=e?.third_party_settings?.layout_builder_bg_img_wrapper?.bg_img_opacity_mob/100||1,d=e?.third_party_settings?.layout_builder_section_id_wrapper?.section_id??"",u=e?.layout_settings?.column_widths,h=Array.isArray(e?.layout_settings?.layout_builder_styles_style)?e?.layout_settings?.layout_builder_styles_style?.filter(e=>!s.STICKY_STYLE?.includes(e)&&""!==e)?.[0]:null,f=Array.isArray(e?.layout_settings?.layout_builder_styles_style)&&e?.layout_settings?.layout_builder_styles_style;r=e?.layout_settings?.label,n=e?.layout_settings?.toggle_switch_value;let m=e?.components,g=[];
26if(m?.forEach(e=>{let r=e?.configuration?.type==="webform_block"&&(e?.configuration?.webform_id==="sandoz_contact_us"||e?.configuration?.webform_id==="newsletter_signup")?e?.configuration?.webform_id:e?.configuration?.type;if(["page_footer","isi_legal_disclaimer_banner","eyebrow_menu","header"].includes(r))return;let n=e?.configuration?.uuid,p=e?.configuration?.url,m=p?`${p}${p.includes("?")?"&":"?"}${s.PAGE_NID_FILTER}${_}`:"",b=e?.configuration?.label,y=e?.region,x=e?.weight,v=e?.configuration?.data;m&&g.push({column:t||null,background:h||null,type:r||null,uuid:n||null,url:m||null,label:b||null,region:ti(y)||l.default.ZERO,weight:x||l.default.ZERO,stickyStyle:f,columnWidths:u||null,data:v||null,bgImage:a,bgMobImage:i,bgImageOpacity:o,bgMobImageOpacity:c,sectionId:d||null})}),t===s.SECTION_LAYOUT.TABS){if(R.push({itemID:B,children:e.layout_settings.label||"",referrerId:e.layout_settings.initially_active_item}),F.push({itemID:B,blocks:[g]}),B++,!G&&1===n&&e?.layout_settings?.label){let e={column:s.SECTION_LAYOUT.ONE_COL,background:null,type:s.SECTION_LAYOUT.TABS||null,uuid:null,url:null,label:r,region:l.default.ZERO,weight:l.default.ZERO,stickyStyle:null,columnWidths:null,data:{tabHeadItems:R,tabContents:F},bgImage:null,bgMobImage:null,bgImageOpacity:null,bgMobImageOpacity:null,sectionId:null};j.push([e])}}else j.push(g?.sort((e,t)=>(e?.weight||0)-(t?.weight||0)))}),B>0&&ts(w,s.SECTION_LAYOUT.TABS)&&F.length>0&&(1===n||!n)){let e={column:s.SECTION_LAYOUT.ONE_COL,background:null,type:s.SECTION_LAYOUT.TABS||null,uuid:null,url:null,label:r,region:l.default.ZERO,weight:l.default.ZERO,stickyStyle:null,columnWidths:null,data:{tabHeadItems:R,tabContents:F},bgImage:null,bgMobImage:null,bgImageOpacity:null,bgMobImageOpacity:null,sectionId:null},t=j?.findIndex(e=>e?.some(e=>e?.type==="sandoz_academy_hero_banner_block"));-1!==t?j?.splice(t+1,0,[e]):t<0&&j?.splice(t,0,[e])}else if(d?.data?.type==="node--sandoz_academy_modules"){let e={column:s.SECTION_LAYOUT.ONE_COL,background:null,type:"activity_details_block",uuid:null,url:null,label:r,region:l.default.ZERO,weight:l.default.ZERO,stickyStyle:null,columnWidths:null,data:d,bgImage:null,bgMobImage:null,bgImageOpacity:null,bgMobImageOpacity:null,sectionId:null};j.push([e])}let W=P.filter((e,t,a)=>a.indexOf(e)==t).join(", "),Y=tn(d?.data?.attributes),z={isHeaderDisabled:d?.data?.attributes?.field_disable_header??!1,isLogoDisabled:d?.data?.attributes?.field_disable_logo??!1,isSloganDisabled:d?.data?.attributes?.field_disable_slogan??!1,isLoginRegisterDisabled:d?.data?.attributes?.field_disable_login_register??!1,isMegaMenuDisabled:d?.data?.attributes?.field_disable_megamenu??!1,isSearchDisabled:d?.data?.attributes?.field_disable_search??!1,isLangSwitcherDisabled:d?.data?.attributes?.field_disable_language_switcher??!1,isCartDisabled:d?.data?.attributes?.field_disable_cart??!1},V={referenceTextFlag:d?.data?.attributes?.reference_text_flag??!1,referenceTextTitle:d?.data?.attributes?.reference_text_title??"",referenceTextDesc:d?.data?.attributes?.reference_text_description?.value??""};return{pageBlocks:j,seoData:b,nid:_,is404:g,targetid:y,paywall:f,paywallNotice:p,paywallRoles:W??"",paywallText:d?.cause??"",uid:m??"NOT AVAILABLE",pathAlias:S,mlrID:E,pageTheme:A,headerConfiguration:z,renderHcpModalPopUp:Y,isDeepLink:!!a,isiBannerDetails:C,bgImage:T,bgMobImage:N,bgImageOpacity:k,bgMobImageOpacity:I,micrositeConfig:$,isPinProtectionEnabled:U,pinProtectionFallbackPageUrl:M??null,referenceTextData:V??null,isSandozAcademy:H,cspHeaderData:h||{},surrogateKey:u?u.replace("super-json-cache",""):""}},to=async(e=[],t,a,i,r)=>{let n=[];return(n=await Promise.all(e.map(async(e,n)=>await Promise.all(e?.map(async(e,n)=>{let s=await tt(e?.type,e?.url,e?.background,t||l.default.ZERO,a||l.default.ZERO,e?.data||{},r),o=e?.columnWidths?.split("-")?.[e.region]??l.default.HUNDRED;return s?{...s,url:e?.url,paywallCause:i??"",column:e?.column,region:e?.region,weight:e?.weight,stickyStyle:e?.stickyStyle,width:o,secBgImage:e?.bgImage,secBgMobImage:e?.bgMobImage,secBgImageOpacity:e?.bgImageOpacity,secBgMobImageOpacity:e?.bgMobImageOpacity,secId:e?.sectionId}:null})))))||null};var tc=eV,td=eJ;let tu=e=>{switch(e){case t.LAYOUT_REGIONS.FIRST:return a.default.ZERO;case t.LAYOUT_REGIONS.SECOND:return a.default.ONE;default:return a.default.ZERO}},th=async(e,r)=>{let n=[];
26return e?.forEach(e=>{let i=e?.layout_id,r=e?.layout_settings?.column_widths,s=Array.isArray(e?.layout_settings?.layout_builder_styles_style)?e?.layout_settings?.layout_builder_styles_style?.filter(e=>!t.STICKY_STYLE?.includes(e)&&""!==e)?.[0]:null,l=Array.isArray(e?.layout_settings?.layout_builder_styles_style)&&e?.layout_settings?.layout_builder_styles_style,o=e?.components,c=[],d=e?.third_party_settings?.layout_builder_bg_img_wrapper?.bg_img_details?.absolute_uri??"",u=e?.third_party_settings?.layout_builder_bg_img_wrapper?.bg_img_mobile_details?.absolute_uri??"",h=(e?.third_party_settings?.layout_builder_bg_img_wrapper?.bg_img_opacity/100)??1,f=(e?.third_party_settings?.layout_builder_bg_img_wrapper?.bg_img_opacity_mob/100)??1,p=e?.third_party_settings?.layout_builder_section_id_wrapper?.section_id??"";o?.forEach(e=>{let t=e?.configuration?.type,n=e?.configuration?.uuid,o=e?.configuration?.url,m=e?.configuration?.label,g=e?.region,b=e?.weight;c.push({column:i??null,background:s??null,type:t??null,uuid:n??null,url:o??null,label:m??null,region:tu(g)??null,weight:b??a.default.ZERO,stickyStyle:l,columnWidths:r,bgImage:d,bgMobImage:u,bgImageOpacity:h,bgMobImageOpacity:f,sectionId:p||null})}),i===t.SECTION_LAYOUT.ONE_COL?n.push(c?.sort((e,t)=>(e?.weight||0)-(t?.weight||0))):n.push(c)}),n=(0,i.uniqueArray)(n),{blocks:await to(n,void 0,void 0,void 0,r)}},tf=e=>e.sort((e,t)=>e.itemID-t.itemID),tp=async(e,...t)=>{let a=t?.[3],i=[],n=[],s=await (0,r.getBlockData)(e,!1,a),l=(0,td.default)(s,"data.attributes.field_tab_style"),o=(0,tc.isPaywallProtected)((0,td.default)(s,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,c=(0,tc.getAllRoles)(s);for(let[e,t]of(s?.included||[]).entries()){let r=(0,tc.isPaywallProtected)((0,td.default)(t,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,s=await th(t?.attributes?.layout_builder__layout,a);i.push({itemID:r?null:e.toString(),children:r?null:t?.attributes?.field_accordion_title?.value??"",referrerId:r?null:t?.attributes?.field_referrer_id??""}),n.push({itemID:r?null:e.toString(),blocks:r?null:s.blocks})}return{tabHeaderItems:tf(i=i.filter(e=>null!==e.itemID&&null!==e.children))??null,tabBodyContents:tf(n)??null,activeTab:!i?.[0]?.children??null,isParentPaywalled:o,fieldPaywallRoles:c,tabStyle:l??""}}},9003,e=>{"use strict";var t=e.i(61413);e.s(["BrandingPattern",()=>t.default])},71400,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(17419),n=e.i(70184),s=e.i(5223),l=e.i(66196);let o=e=>{let o,c,d,u,h,f,p,m=(0,a.c)(21),{imgsrc:g,cta:b,header:_,paragraph:y}=e;return m[0]!==g.alt||m[1]!==g.className||m[2]!==g.src?(o=g.src&&(0,t.jsx)(n.Img,{className:g?.className,src:g?.src,alt:g?.alt,height:"416",width:"400",type:"icon"}),m[0]=g.alt,m[1]=g.className,m[2]=g.src,m[3]=o):o=m[3],m[4]!==o?(c=(0,t.jsx)(r.Column,{mobile:12,tablet:6,desktop:6,className:"four-zero-four-img",children:o}),m[4]=o,m[5]=c):c=m[5],m[6]!==_?(d=_&&(0,t.jsx)("h1",{children:_}),m[6]=_,m[7]=d):d=m[7],m[8]!==y?(u=y&&(0,t.jsx)(s.RichText,{content:y}),m[8]=y,m[9]=u):u=m[9],m[10]!==b.children||m[11]!==b.href||m[12]!==b.tabindex?(h=b.href&&(0,t.jsx)(i.AnchorButton,{href:b.href,tabindex:b.tabindex,isExternal:!1,children:b.children}),m[10]=b.children,m[11]=b.href,m[12]=b.tabindex,m[13]=h):h=m[13],m[14]!==d||m[15]!==u||m[16]!==h?(f=(0,t.jsx)(r.Column,{mobile:12,tablet:6,desktop:6,className:"four-zero-four-txt",children:(0,t.jsxs)("div",{className:"four-zero-four-txt-wrapper",children:[d,u,h]})}),m[14]=d,m[15]=u,m[16]=h,m[17]=f):f=m[17],m[18]!==c||m[19]!==f?(p=(0,t.jsxs)(l.Row,{className:"four-zero-four",children:[c,f]}),m[18]=c,m[19]=f,m[20]=p):p=m[20],p}},8215,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(9003),r=e.i(6271),n=e.i(9247),s=e.i(71400);let l=e=>{let l,o,c,d,u=(0,a.c)(13),h=e.seo,f=e.errorData,p=h?.canonical,m=h?.title,g=h?.description,b=h?.structuredData,_=h?.og,y=h?.twitter;return u[0]!==p||u[1]!==m||u[2]!==g||u[3]!==b||u[4]!==_||u[5]!==y?(l=(0,t.jsx)(n.SEO,{canonical:p,title:m,description:g,structuredData:b,og:_,twitter:y}),u[0]=p,u[1]=m,u[2]=g,u[3]=b,u[4]=_,u[5]=y,u[6]=l):l=u[6],u[7]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(i.BrandingPattern,{}),u[7]=o):o=u[7],u[8]!==f?(c=(0,t.jsxs)(r.Container,{children:[o,(0,t.jsx)(r.Container,{children:(0,t.jsx)(s.default,{...f})})]}),u[8]=f,u[9]=c):c=u[9],u[10]!==l||u[11]!==c?(d=(0,t.jsxs)(t.Fragment,{children:[l,c]}),u[10]=l,u[11]=c,u[12]=d):d=u[12],d}},14802,e=>{"use strict";var t=e.i(41764),a=e.i(75425),i=e.i(67552),r=e.i(82036),n=e.i(3265),s=e.i(38589),l=e.i(61312),o=e.i(65921);let c=["accordion","common_tab_group","disclaimer_modal","invited_registration","mega_menu","mega_menu_content","page_not_found","product_details_tabs","download","tabs","flex_accordion"],d=e=>{let n=[];
26return e?.forEach(e=>{let i=e?.layout_id,l=e?.layout_settings?.column_widths,o=Array.isArray(e?.layout_settings?.layout_builder_styles_style)?e?.layout_settings?.layout_builder_styles_style?.filter(e=>!t.STICKY_STYLE?.includes(e)&&""!==e)?.[0]:null,d=Array.isArray(e?.layout_settings?.layout_builder_styles_style)&&e?.layout_settings?.layout_builder_styles_style,u=e?.components,h=[];u?.forEach(e=>{let t=(0,r.default)(e,"configuration.type")||"",n=e?.configuration?.uuid,u=e?.configuration?.url,f=e?.configuration?.label,p=e?.region,m=e?.weight;c.includes(t)||h.push({column:i??null,background:o??null,type:t??null,uuid:n??null,url:u??null,label:f??null,region:(0,s.getRegionNumber)(p)??null,weight:m??a.default.ZERO,stickyStyle:d,columnWidths:l})}),i===t.SECTION_LAYOUT.ONE_COL?n.push(h?.sort((e,t)=>(e?.weight||0)-(t?.weight||0))):n.push(h)}),(0,i.uniqueArray)(n)},u=async e=>{let t=await (0,n.getBlockData)(e),a=(0,l.isPaywallProtected)((0,r.default)(t,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,i=(0,l.getAllRoles)(t),s=d(t?.data?.attributes?.layout_builder__layout);return{title:t?.data?.attributes?.field_flex_accordion_card_title?.value,content:s,isParentPaywalled:a,fieldPaywallRoles:i,referrerId:t?.data?.attributes?.field_referrer_id}},h=async e=>{let a=await (0,n.getBlockData)(e),i=null;if(!(0,o.default)()){let e=sessionStorage?.getItem("nid");i=e?JSON.parse(e):null}let s=(0,l.isPaywallProtected)((0,r.default)(a,"data.attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag,c=(0,l.getAllRoles)(a);return{accordionArray:a?.data?.relationships?.field_flex_accordion_items?.data?.map(e=>({cardInitState:e?.meta?.expand,cardUrl:`/block_content/flex_accordion_card/${e.id}${i?`?${t.PAGE_NID_FILTER}${i}`:""}`,cardId:e.id})),accordionBehavior:a?.data?.attributes?.field_flex_configuration,accordionExperience:a?.data?.attributes?.field_flex_experience,referrerId:a?.data?.attributes?.field_referrer_id,isParentPaywalled:s,fieldPaywallRoles:c}};e.s(["default",0,h,"fetchTabContent",0,d,"getAccordionCardData",0,u])},2743,e=>{"use strict";e.s(["default",()=>T],2743);var t=e.i(91398),a=e.i(61576),i=e.i(97268),r=e.i(14802),n=e.i(74807),s=e.i(91788),l=e.i(59158),o=t,c=a,d=e.i(22276),u=s,h=e.i(31808),f=r,p=n,m=l,g=e.i(92331),b=i;e.i(48756);var _=e.i(49266),y=e.i(75425),x=e.i(28134);let v=e=>{let t,a,i=(0,c.c)(5),{cardId:r,cardContent:n}=e;i[0]!==n?(t=async()=>{try{return{blocks:await (0,g.getAllFleixbleBlocksData)(n)}}catch(e){console.error("accordion error",e)}},i[0]=n,i[1]=t):t=i[1];let{data:s,isLoading:l}=(0,p.default)(r,t);return i[2]!==s||i[3]!==l?(a=(0,o.jsx)(o.Fragment,{children:l?(0,o.jsx)("div",{className:"load-container",children:(0,o.jsx)(b.default,{display:!0})}):(0,o.jsx)(x.default,{...s,isPaywall3Hidden:!0})}),i[2]=s,i[3]=l,i[4]=a):a=i[4],a},A=({accordionBehavior:e,accordionExperience:t,cardInitState:a,accordId:i,id:r,index:n,cardUrl:s,cardId:l})=>{let c=(0,d.useSelector)(e=>e?.user),[g,b]=(0,u.useState)(!1),x=(0,d.useDispatch)(),A=(0,u.useCallback)(e=>x((0,h.updatePaywall3Roles)(e)),[x]),w=(0,u.useCallback)(e=>x((0,h.updatePaywallContent)(e)),[x]);(0,u.useEffect)(()=>{let e=new URL(window.location.href),t=e?.hash?e.hash.replaceAll("#",""):"";t&&(window.history.replaceState({path:e.pathname+e.search},"",e.pathname+e.search),setTimeout(()=>{P(t.replaceAll("#",""))},1e3))},[]);let{data:E,isLoading:S}=(0,p.default)(s,async()=>{try{return await (0,f.getAccordionCardData)(s)}catch(e){console.error("accordion error",e)}}),[C,T]=(0,u.useState)(!1),N=window.location?.href?.includes("acc=");(0,u.useEffect)(()=>{!S&&N&&T(!0)},[N]),(0,u.useEffect)(()=>{!S&&E?.fieldPaywallRoles.length&&!c?.isLoggedIn&&(A(Array.from(new Set(E?.fieldPaywallRoles))),w(!0))},[S,E,c]);let k=(0,u.useMemo)(m.default,[]),I="Expand selected"===e?0===parseInt(a):"Collapse all"===e,j="One"===t?{"data-bs-parent":r?`#${r}`:`#accord-${i}`}:"",P=(0,u.useCallback)(e=>{if(window.location?.search?.includes("acc=")||window.location.hash){let e=new URL(window.location.href);e?.searchParams.delete("acc"),e.hash="",window.history.replaceState({path:e.pathname+e.search},"",e.pathname+e.search)}e&&setTimeout(()=>{let t=document?.getElementById(e),a=0,i=(t?.getBoundingClientRect().top??y.default.ZERO)+window.scrollY-a;window.scrollTo({top:i,behavior:"smooth"})},y.default.THREEHUNDRED)},[]);return(0,o.jsx)(o.Fragment,{children:!E?.isParentPaywalled&&(0,o.jsxs)("div",{className:"accordion-item",id:E?.referrerId,children:[(0,o.jsx)("h3",{className:"accordion-header",id:`accord-heading_${n+1}_${k}`,children:(0,o.jsxs)("button",{className:`accordion-button ${I?"collapsed":""}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse${n+1}_${k}`,"aria-controls":`collapse${n+1}_${k}`,onClick:()=>{b(!0),P(`accord-heading_${n+1}_${k}`)},children:[(0,o.jsxs)("span",{children:[" ",E?.title," "]})," ",(0,o.jsx)("p",{className:"accordionIcon",children:(0,o.jsx)(_.Icon,{iconName:"RightE
26xpandIcon2"})})]})}),(0,o.jsx)("div",{id:`collapse${n+1}_${k}`,className:`accordion-collapse collapse ${I?"":"show"}`,"data-exper":t,"aria-labelledby":`accord-heading_${n+1}_${k}`,...j,role:"region",children:(0,o.jsx)("div",{className:"accordion-body",children:!S&&E?.content&&(!g&&!I||g||C)&&(0,o.jsx)(v,{cardId:l,cardContent:E?.content})})})]},n)})};var w=d,E=h,S=e.i(3828);let C=e=>{let o,c,d,u,h,f,p,m,g,b=(0,a.c)(30),{id:_,url:y}=e;b[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,l.default)(),b[0]=o):o=b[0];let x=o,[v,C]=(0,s.useState)(null),[T,k]=(0,s.useState)(null),I=(0,w.useSelector)(N),j=(0,S.useRouter)(),P=(0,w.useDispatch)();b[1]!==P?(c=e=>P((0,E.updatePaywall3Roles)(e)),b[1]=P,b[2]=c):c=b[2];let L=c;b[3]!==P?(d=e=>P((0,E.updatePaywallContent)(e)),b[3]=P,b[4]=d):d=b[4];let O=d;b[5]!==y?(u=async()=>{try{return await (0,r.default)(y)}catch(e){console.error("accordion error",e)}},b[5]=y,b[6]=u):u=b[6];let{data:D,isLoading:M}=(0,n.default)(y,u);return b[7]!==D?.referrerId||b[8]!==M||b[9]!==j.query?.acc?(h=()=>{j?.query?.acc&&j?.query?.acc==D?.referrerId&&!M&&(C("Expand selected"),k("1"))},b[7]=D?.referrerId,b[8]=M,b[9]=j.query?.acc,b[10]=h):h=b[10],b[11]!==M||b[12]!==j.query?(f=[j.query,M],b[11]=M,b[12]=j.query,b[13]=f):f=b[13],(0,s.useEffect)(h,f),b[14]!==D?.fieldPaywallRoles||b[15]!==M||b[16]!==L||b[17]!==O||b[18]!==I?.isLoggedIn?(p=()=>{!M&&D?.fieldPaywallRoles.length&&!I?.isLoggedIn&&(L(Array.from(new Set(D?.fieldPaywallRoles))),O(!0))},b[14]=D?.fieldPaywallRoles,b[15]=M,b[16]=L,b[17]=O,b[18]=I?.isLoggedIn,b[19]=p):p=b[19],b[20]!==D||b[21]!==M||b[22]!==I?(m=[M,D,I],b[20]=D,b[21]=M,b[22]=I,b[23]=m):m=b[23],(0,s.useEffect)(p,m),b[24]!==v||b[25]!==T||b[26]!==D||b[27]!==_||b[28]!==M?(g=(0,t.jsx)(t.Fragment,{children:M?(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(i.default,{display:!0})}):(0,t.jsx)(t.Fragment,{children:!D?.isParentPaywalled&&(0,t.jsx)("div",{id:D?.referrerId,className:"accordion-advanced",children:(0,t.jsx)("div",{className:"accordion",id:_||`accord-${x}`,children:D?.accordionArray?.map((e,a)=>(0,t.jsx)(A,{accordId:x,accordionBehavior:v&&0===a?v:D.accordionBehavior,accordionExperience:D.accordionExperience,cardInitState:T&&0===a?T:e.cardInitState,index:a,cardUrl:e.cardUrl,id:_||`accord-${x}`,cardId:e.cardId},a))})})})}),b[24]=v,b[25]=T,b[26]=D,b[27]=_,b[28]=M,b[29]=g):g=b[29],g},T=(0,s.memo)(C);function N(e){return e?.user}},18221,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(59158);e.i(48756);var n=e.i(49266);let s=e=>{let s,l,o,c=(0,a.c)(9),[d,u]=(0,i.useState)(!0);c[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,r.default)(),c[0]=s):s=c[0];let h=s,f=e.id?e.id:`accord-${h}`;return c[1]!==d||c[2]!==e.accordionArray||c[3]!==e.id||c[4]!==e.selectedIndex?(l=e.accordionArray?.map((a,i)=>{let s=(0,r.default)();return(0,t.jsxs)("div",{id:a?.referrerId,className:"accordion-item",children:[(0,t.jsx)("h2",{className:"accordion-header",id:`accord-heading_${i+1}_${s}`,children:(0,t.jsxs)("button",{className:`accordion-button ${i!==e.selectedIndex?"collapsed":""}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse${i+1}_${s}`,"aria-expanded":"true","aria-controls":`collapse${i+1}_${s}`,onClick:()=>{u(!d)},children:[a?.title," ",(0,t.jsx)("p",{className:"accordionIcon",children:(0,t.jsx)(n.Icon,{iconName:"RightExpandIcon2"})})]})}),(0,t.jsx)("div",{id:`collapse${i+1}_${s}`,className:`accordion-collapse collapse ${i===e.selectedIndex?"show":""}`,"aria-labelledby":`accord-heading_${i+1}_${s}`,"data-bs-parent":e.id?`#${e.id}`:`#accord-${h}`,role:"region",children:(0,t.jsx)("div",{className:"accordion-body",children:a?.content&&a.content})})]},i)}),c[1]=d,c[2]=e.accordionArray,c[3]=e.id,c[4]=e.selectedIndex,c[5]=l):l=c[5],c[6]!==f||c[7]!==l?(o=(0,t.jsx)("div",{className:"accordion-flex",children:(0,t.jsx)("div",{className:"accordion",id:f,children:l})}),c[6]=f,c[7]=l,c[8]=o):o=c[8],o},l=(0,i.memo)(s)},13787,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(49266),n=e.i(70184),s=e.i(5223),l=e.i(66196),o=e.i(59158);let c=e=>{let c,d,u,h,f=(0,a.c)(10);f[0]===Symbol.for("react.memo_cache_sentinel")?(c=(0,o.default)(),f[0]=c):c=f[0];let p=c,m=e.id?e.id:`accord-${p}`;return f[1]!==e.accordionArray||f[2]!==e.id?(d=e.accordionArray?.map((a,c)=>{let d=(0,o.default)(),u=`collapse${c+1}_${d}`,h=`accord-heading_${c+1}_${d}`;return(0,t.jsxs)("div",{id:a?.referrerId,className:"accordion-item accordion-with-image",children:[(0,t.jsx)("div",{className:"accordion-header bold",id:h,children:(0,t.jsxs)("button",{className:`accordion-button ${0!==c?"collapsed":""}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#${u}`,"aria-expanded":0===c,"aria-controls":u,tabIndex:0,children:[(0,t.jsx)("h5",{children:a?.title}),(0,t.jsx)("p",{className:"accordionIcon",children:(0,t.jsx)(r.Icon,{iconName:"RightE
26xpandIcon2",width:32,height:32})})]})}),(0,t.jsx)("div",{id:u,className:`accordion-collapse collapse ${0===c?"show":""}`,"aria-labelledby":h,"data-bs-parent":e.id?`#${e.id}`:`#accord-${p}`,role:"region",children:(0,t.jsx)("div",{className:"accordion-body",children:(0,t.jsxs)(l.Row,{children:[(0,t.jsx)(i.Column,{mobile:12,tablet:a?.image?.imageUrl?6:12,desktop:a?.image?.imageUrl?6:12,className:"accordion-with-image-content",children:(0,t.jsx)("div",{children:a?.content?(0,t.jsx)(s.RichText,{content:a.content}):null})}),a?.image?.imageUrl&&(0,t.jsx)(i.Column,{mobile:12,tablet:6,desktop:6,children:(0,t.jsx)("div",{className:"accordion-with-image-block",style:{aspectRatio:"16 / 9"},children:(0,t.jsx)(n.Img,{type:"accordion_with_image",styledimage:a?.image?.imageStyledUrl,src:a?.image?.imageUrl,alt:a?.image?.alt,width:640,height:360,islazyloaded:!0})})})]})})})]},c)}),f[1]=e.accordionArray,f[2]=e.id,f[3]=d):d=f[3],f[4]!==m||f[5]!==d?(u=(0,t.jsx)("div",{className:"accordion",id:m,children:d}),f[4]=m,f[5]=d,f[6]=u):u=f[6],f[7]!==e.referrerId||f[8]!==u?(h=(0,t.jsx)("div",{id:e.referrerId,className:"custom-accordion",children:u}),f[7]=e.referrerId,f[8]=u,f[9]=h):h=f[9],h}},84897,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(38233),r=e.i(49266),n=e.i(91788),s=e.i(22748);let l=e=>{let s,l,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E,S,C,T=(0,a.c)(39),[N,k]=(0,n.useState)(!1),{eventTitle:I,eventDescription:j,location:P,btnLabel:L}=e,O=e?.startDate?.substring(0,e.startDate.indexOf("+")),D=e?.endDate?.substring(0,e.endDate.indexOf("+"));T[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{let e=()=>k(!1);return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},T[0]=s):s=T[0],(0,n.useEffect)(s);let M=o,R=M(O,"ics")||"",F=M(D,"ics")||"",B=I||"",U=j||"",H=P||"",$=()=>{let e=`BEGIN:VCALENDAR
27VERSION:2.0
28BEGIN:VEVENT
29DTSTART:${R}
30DTEND:${F}
31SUMMARY:${B}
32DESCRIPTION:${U}
33LOCATION:${H}
34END:VEVENT
35END:VCALENDAR`;return encodeURI(`data:text/calendar;charset=utf8,${e}`)};T[1]!==N?(l=e=>{e.stopPropagation(),k(!N)},T[1]=N,T[2]=l):l=T[2];let G=l,W=`https://calendar.google.com/calendar/render?action=TEMPLATE&dates=${M(O,"google")}%2F${M(D,"google")}&details=${j}&text=${I}&location=${P}`;T[3]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(r.Icon,{iconName:"GoogleCalendarIcon"}),T[3]=d):d=T[3],T[4]!==W?(u={link:W,icon:d,children:"Google"},T[4]=W,T[5]=u):u=T[5];let Y=$();T[6]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(r.Icon,{iconName:"iCalendarIcon"}),T[6]=h):h=T[6],T[7]!==Y?(f={link:Y,icon:h,children:"iCalendar",download:!0},T[7]=Y,T[8]=f):f=T[8];let z=`https://outlook.office.com/calendar/0/deeplink/compose?allday=false&body=${j}&enddt=${M(D,"office")}&location=${P}&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=${M(O,"office")}&subject=${I}`;T[9]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(r.Icon,{iconName:"Office365Icon"}),T[9]=p):p=T[9],T[10]!==z?(m={link:z,icon:p,children:"Office 365"},T[10]=z,T[11]=m):m=T[11];let V=`https://outlook.live.com/calendar/0/deeplink/compose?allday=false&body=${j}&enddt=${M(D,"outlook")}&location=${P}&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=${M(O,"outlook")}&subject=${I}`;T[12]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(r.Icon,{iconName:"OutlookIcon"}),T[12]=g):g=T[12],T[13]!==V?(b={link:V,icon:g,children:"Outlook.com"},T[13]=V,T[14]=b):b=T[14];let K=`https://calendar.yahoo.com/?desc=${j}&dur=&et=${M(O,"yahoo")}&in_loc=${P}&st=${M(O,"yahoo")}&title=${I}&v=60`;T[15]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)(r.Icon,{iconName:"YahooIcon"}),T[15]=_):_=T[15],T[16]!==K?(y={link:K,icon:_,children:"Yahoo"},T[16]=K,T[17]=y):y=T[17],T[18]!==m||T[19]!==b||T[20]!==y||T[21]!==u||T[22]!==f?(x=[u,f,m,b,y],T[18]=m,T[19]=b,T[20]=y,T[21]=u,T[22]=f,T[23]=x):x=T[23];let q=x;T[24]!==G?(v=e=>G(e),T[24]=G,T[25]=v):v=T[25],T[26]===Symbol.for("react.memo_cache_sentinel")?(A=(0,t.jsx)(r.Icon,{iconName:"CalendarIcon1"}),T[26]=A):A=T[26];let Q=e?.buttonGroupBackgroundColor;T[27]!==L||T[28]!==v||T[29]!==Q?(w=(0,t.jsx)(i.Button,{onClick:v,className:"addToCalendar-button",icon:A,isSecondary:!0,tabindex:0,buttonGroupBackgroun
35dColor:Q,children:L}),T[27]=L,T[28]=v,T[29]=Q,T[30]=w):w=T[30];let Z=`addToCalendar-buttonMenus ${N?"addToCalendar-buttonMenus--active":""}`;return T[31]!==q?(E=q.map(c),T[31]=q,T[32]=E):E=T[32],T[33]!==Z||T[34]!==E?(S=(0,t.jsx)("div",{className:Z,children:E}),T[33]=Z,T[34]=E,T[35]=S):S=T[35],T[36]!==w||T[37]!==S?(C=(0,t.jsxs)("div",{className:"addToCalendar",children:[w,S]}),T[36]=w,T[37]=S,T[38]=C):C=T[38],C};function o(e,t){if(!e)return"";switch(t){case"google":case"yahoo":case"ics":return e?.replace(/-|:|\.\d+/g,"");case"outlook":case"office":return e?.replaceAll(":","%3A");default:return""}}function c(e,a){return(0,t.jsx)("a",{target:"_blank",href:e.link,download:e.download,rel:"noreferrer",children:(0,t.jsx)("div",{className:"addToCalendar-buttonMenusOpt",children:(0,t.jsx)(s.default,{icon:e.icon,children:e.children})})},a)}},46662,e=>{"use strict";var t=e.i(22740);let a=e=>s({type:t.ADD_UPDATE_FILTERS,advanceFilters:e}),i=e=>s({type:t.UPDATE_PAGE_NUMBER,currentPage:e}),r=e=>s({type:t.UPDATE_ADVANCE_SEARCH_TEXT,searchText:e}),n=(e,a,i,r)=>s({type:t.UPDATE_ADVANCE_FILTERS,advanceFilters:e,currentPage:a,searchText:i,blockType:r}),s=e=>t=>{t(e)};e.s(["addUpdateAdvanceFilter",0,a,"updateAdvanceSearchText",0,r,"updateAllAdvanceFilters",0,n,"updatePagination",0,i])},84186,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(79988);let r=e=>{let r,n,s,l,o=(0,a.c)(9),{content:c,handleClick:d,className:u}=e,h=`chip ${u||""}`;return o[0]!==c?(r=(0,t.jsx)("div",{className:"chip-content",children:c}),o[0]=c,o[1]=r):r=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("span",{className:"chip-svg",children:(0,t.jsx)(i.default,{iconName:"Close2"})}),o[2]=n):n=o[2],o[3]!==d?(s=(0,t.jsx)("div",{"aria-hidden":"true",className:"chip-close",onClick:d,children:n}),o[3]=d,o[4]=s):s=o[4],o[5]!==h||o[6]!==r||o[7]!==s?(l=(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:h,children:[r,s]})}),o[5]=h,o[6]=r,o[7]=s,o[8]=l):l=o[8],l};e.s(["default",0,r])},21284,e=>{"use strict";var t=e.i(84186);e.s(["Chips",()=>t.default])},15739,61619,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(41871);var r=e.i(87612),n=e.i(82054),s=e.i(24005),l=e.i(96968);let o=e=>{let i,r,n,s,o,c,d=(0,a.c)(14),{isSelected:u,label:h,isDisabled:f}=e;d[0]===Symbol.for("react.memo_cache_sentinel")?(i={display:"flex",alignItems:"center",gap:8},d[0]=i):i=d[0];let p="string"==typeof h?h:void 0;return d[1]===Symbol.for("react.memo_cache_sentinel")?(r={margin:0,width:18,height:18,cursor:"pointer",accentColor:"#2563eb",borderRadius:4,flexShrink:0},d[1]=r):r=d[1],d[2]!==u||d[3]!==p?(n=(0,t.jsx)("input",{type:"checkbox",checked:u,readOnly:!0,tabIndex:-1,"aria-label":p,style:r}),d[2]=u,d[3]=p,d[4]=n):n=d[4],d[5]!==h?(s=(0,t.jsx)("span",{children:h}),d[5]=h,d[6]=s):s=d[6],d[7]!==f||d[8]!==n||d[9]!==s?(o=(0,t.jsxs)("div",{style:i,"aria-disabled":f,children:[n,s]}),d[7]=f,d[8]=n,d[9]=s,d[10]=o):o=d[10],d[11]!==e||d[12]!==o?(c=(0,t.jsx)(l.components.Option,{...e,children:o}),d[11]=e,d[12]=o,d[13]=c):c=d[13],c};function c(e="Select All",a="Clear",i=!1){return function(r){let{children:n,selectProps:s}=r,o=s.options??[],c=s.value??[],d=o.filter(e=>!e.disabled),u=d.length>0&&d.every(e=>c?.some(t=>t.value===e.value));c&&c.length;let h=()=>{u?s.onChange?.([],{action:"deselect-option"}):s.onChange?.(d,{action:"select-option"})};return(0,t.jsxs)(l.components.MenuList,{...r,children:[i&&(0,t.jsx)("div",{style:{display:"flex",justifyContent:"space-between",padding:"6px 8px",borderBottom:"1px solid var(--ms-border, #e5e7eb)",position:"sticky",top:0,background:"var(--ms-bg, #fff)",zIndex:1},children:(0,t.jsx)("button",{type:"button",onClick:h,style:{fontSize:12,padding:"4px 8px",borderRadius:4,border:"1px solid var(--ms-border, #d1d5db)",background:"#fff",cursor:"pointer"},children:u?a:e})}),n]})}}let d={control:(e,t)=>({...e,minHeight:48,borderRadius:4,borderColor:t.isFocused?"#2684FF":"#d1d5db",boxShadow:"none",cursor:"pointer","&:hover":{borderColor:"#9ca3af"}}),valueContainer:e=>({...e,display:"flex",flexWrap:"nowrap",alignItems:"center",overflow:"hidden",whiteSpace:"nowrap",padding:"2px 8px",gap:0}),placeholder:e=>({...e,fontSize:"18px",color:"#6b7280"}),input:e=>({...e,margin:0,padding:0,minWidth:2}),container:e=>({...e,width:"100%"}),singleValue:e=>({...e,fontSize:"18px",color:"#6b7280"}),multiValue:e=>({...e,backgroundColor:"transparent",margin:0,maxWidth:"100%"}),multiValueRemove:e=>({...e,display:"none",":hover":{backgroundColor:"transparent",color:"#111827"}}),menu:e=>({...e,zIndex:9999,borderRadius:4,overflow:"hidden",marginTop:4}),menuList:e=>({...e,paddingTop:0,paddingBottom:0}),option:(e,t)=>({...e,display:"flex",alignItems:"center",fontSize:"18px",fontWeight:400,padding:"10px 12px",minHeight:"50px",backgroundColor:t.isSelected?"transparent":t.isFocused?"#1C59B5":"transparent",color:t.isFocused&&!t.isSelected?"#fff":"#111827",cursor:t.isDisabled?"not-allowed":"pointer",borderBottom:"1px solid #e5e7eb",":active":{backgroundColor:"#e5e7eb"}}),indicatorSeparator:()=>({display:"none"}),dropdownIndicator:e=>({...e,color:"#6b7280",":hover":{color:"#374151"}}),clearIndicator:()=>({display:"none"})},u=e=>{let r,n,s,o,c,d,u,h,f,p,m=(0,a.c)(21),{children:g}=e;m[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],m[0]=r):r=m[0];let b=r,_=null;if(Array.isArray(g)){let[e,t]=g;if(Array.isArray(e))b=e;else if(i.default.isValidElement(e)){let t;m[1]!==e?(t=[e],m[1]=e,m[2]=t):t=m[2],b=t}_=t}m[3]!==b?(n=b.slice(0,1),m[3]=b,m[4]=n):n=m[4];let y=n,x=Math.max(0,b.length-1);return m[5]===Symbol.for("react.memo_cache_sentinel")?(s={display:"flex",alignItems:"center",flexWrap:"nowrap",overflow:"hidden",
35width:"100%",minWidth:0},o={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,display:"flex",alignItems:"center",flexShrink:1},m[5]=s,m[6]=o):(s=m[5],o=m[6]),m[7]!==y?(c=(0,t.jsx)("div",{style:o,children:y}),m[7]=y,m[8]=c):c=m[8],m[9]!==x?(d=x>0&&(0,t.jsxs)("div",{style:{marginLeft:4,whiteSpace:"nowrap",flexShrink:0,fontSize:18},children:["...(",x,")"]}),m[9]=x,m[10]=d):d=m[10],m[11]===Symbol.for("react.memo_cache_sentinel")?(u={minWidth:2,flexShrink:0},m[11]=u):u=m[11],m[12]!==_?(h=(0,t.jsx)("div",{style:u,children:_}),m[12]=_,m[13]=h):h=m[13],m[14]!==c||m[15]!==d||m[16]!==h?(f=(0,t.jsxs)("div",{style:s,children:[c,d,h]}),m[14]=c,m[15]=d,m[16]=h,m[17]=f):f=m[17],m[18]!==e||m[19]!==f?(p=(0,t.jsx)(l.components.ValueContainer,{...e,children:f}),m[18]=e,m[19]=f,m[20]=p):p=m[20],p},h=e=>{let l,h,A,w,E,S,C,T,N,k,I,j,P,L,O,D,M,R,F,B=(0,a.c)(53),{options:U,isMulti:H,isCleared:$,simpleDropDownLabel:G,placeHolder:W,onValueChange:Y,isDisabled:z,intialValue:V,clearCatFlag:K,setClearCatFlag:q,ariaLabel:Q,disableSearch:Z,maxCharLength:X}=e;B[0]!==V?(l=void 0===V?[]:V,B[0]=V,B[1]=l):l=B[1];let J=l,[ee,et]=(0,i.useState)(J),{applicationConfiguration:ea}=(0,i.useContext)(n.default),ei=ea?.siteConfig?.webstore_list_filters_placeholder_text,er=(0,i.useRef)(!0),en=(0,r.useMediaQuery)("(max-width: 991px)");B[2]!==J||B[3]!==en?(h=()=>{er.current?er.current=!1:en||et(J),en&&et(J)},B[2]=J,B[3]=en,B[4]=h):h=B[4],B[5]!==J||B[6]!==ee?(A=[J,ee],B[5]=J,B[6]=ee,B[7]=A):A=B[7],(0,i.useEffect)(h,A),B[8]!==K||B[9]!==J||B[10]!==q?(w=()=>{K&&(et(J),q(!1))},B[8]=K,B[9]=J,B[10]=q,B[11]=w):w=B[11],B[12]!==K?(E=[K],B[12]=K,B[13]=E):E=B[13],(0,i.useEffect)(w,E),B[14]!==H||B[15]!==Y||B[16]!==ee?(S=e=>{if(H)et(e),Y?.(e);else{let t=[...ee],a=t.length>0?e.filter(e=>e.value!==t[0].value):[...e];et(a),Y?.(a)}},B[14]=H,B[15]=Y,B[16]=ee,B[17]=S):S=B[17];let es=S;B[18]===Symbol.for("react.memo_cache_sentinel")?(C=()=>{et([])},B[18]=C):C=B[18],B[19]!==$?(T=[$],B[19]=$,B[20]=T):T=B[20],(0,i.useEffect)(C,T),B[21]===Symbol.for("react.memo_cache_sentinel")?(N={control:f,valueContainer:p},B[21]=N):N=B[21];let el=N,eo=ee?.length??0,ec=eo>0?`${eo} selected`:W||(ea?.siteConfig?.event_select_option_text?ea?.siteConfig?.event_select_option_text:"Select Option");B[22]!==H?(k=e=>({...e,display:H?"flex":"none"}),B[22]=H,B[23]=k):k=B[23],B[24]===Symbol.for("react.memo_cache_sentinel")?(I=el??{},B[24]=I):I=B[24],B[25]!==k?(j={...d,multiValue:m,multiValueLabel:g,multiValueRemove:k,...I},B[25]=k,B[26]=j):j=B[26];let ed=j,eu=Q??"input_select";if(B[27]!==eu){let e;B[29]===Symbol.for("react.memo_cache_sentinel")?(e=/^[^a-zA-Z]+/,B[29]=e):e=B[29],P=eu.replace(/[^a-zA-Z0-9-_]/g,"").replace(e,""),B[27]=eu,B[28]=P}else P=B[28];let eh=G?W:ei;B[30]!==P||B[31]!==eh?(L=(0,t.jsx)("span",{id:P,"aria-hidden":"true",className:"item-renderer-hidden-label",children:eh}),B[30]=P,B[31]=eh,B[32]=L):L=B[32],B[33]!==es?(O=e=>es(e),B[33]=es,B[34]=O):O=B[34];let ef=!H,ep=ea?.siteConfig?.event_select_all_text||"Select All",em=ea?.siteConfig?.event_search_clear_all_text||"Clear All";return B[35]!==H||B[36]!==ep||B[37]!==em?(D=c(ep,em,H),B[35]=H,B[36]=ep,B[37]=em,B[38]=D):D=B[38],B[39]!==D?(M={Option:o,MenuList:D,ValueContainer:u,MultiValueRemove:x,ClearIndicator:v},B[39]=D,B[40]=M):M=B[40],B[41]!==ec||B[42]!==z||B[43]!==ed||B[44]!==U||B[45]!==ee||B[46]!==O||B[47]!==ef||B[48]!==M?(R=(0,t.jsx)(s.default,{className:"basic-single select__control dropdown-content",classNamePrefix:"select",isMulti:!0,isDisabled:z,options:U,value:ee,onChange:O,placeholder:ec,getOptionValue:b,getOptionLabel:_,isOptionDisabled:y,closeMenuOnSelect:ef,hideSelectedOptions:!1,menuPosition:"fixed",isClearable:!1,menuPortalTarget:"u">typeof document?document.body:void 0,components:M,styles:ed}),B[41]=ec,B[42]=z,B[43]=ed,B[44]=U,B[45]=ee,B[46]=O,B[47]=ef,B[48]=M,B[49]=R):R=B[49],B[50]!==L||B[51]!==R?(F=(0,t.jsxs)(t.Fragment,{children:[L,R]}),B[50]=L,B[51]=R,B[52]=F):F=B[52],F};function f(e){return{...e,minHeight:40}}function p(e){return{...e,overflow:"hidden"}}function m(e){return{...e,borderRadius:9999,backgroundColor:"transparent",boxShadow:"none"}}function g(e){return{...e,fontSize:"18px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"220px",padding:0}}function b(e){return e.value}function _(e){return e.label}function y(e){return!!e.disabled}function x(){return null}function v(){return null}e.s(["default",0,h],61619),e.s(["CustomDropDown",0,h],15739)},86789,e=>{"use strict";var t=e.i(73027);e.s(["DatePicker",()=>t.default])},65560,28394,e=>{"use strict";e.s(["default",()=>m],65560);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(38233),r=e.i(21284),n=e.i(15739),s=e.i(86789),l=e.i(49266),o=e.i(697),c=e.i(5223),d=e.i(56793),u=e.i(91788),h=e.i(75425);e.i(41871);var f=e.i(87612);let p={SANDOZ_USER:"int-sz",CUST_ADMIN:"Customer Admin",CUST_USER:"Customer User"};e.s(["default",0,p],28394);let m=e=>{let m,g,b,w,E,S,C,T,N,k,I,j,P,L,O,D,M,R,F,B,U,H,$,G,W,Y,z,V,K=(0,a.c)(109),{filterLabels:q,noOfResults:Q,filtersOptions:Z,selectedFilters:X,handleSearch:J,handleUnselectAll:ee,applyAdditionalFilters:et,currentSearchText:ea,handleAdditionalFilters:ei,handleRemoveItem:er,handleSearchText:en,isCareerSearch:es,isProductPipeline:el,handleSortByKey:eo,handleSortByOrder:ec,sortList:ed,selectedSortValue:eu,resetLocalFilterWithReducer:eh,isDisabled:ef,handleViewChange:ep,currentView:em,disabledAdvanceSearch:eg,isViewTypeEnabled:eb,startDate:e_,endDate:ey,showResultCount:ex,displayMobileSort:ev,disabledSearch:eA,disabledColumnSort:ew,labelKeyValuePair:eE,isPoListing:eS,userType:eC}=e,eT=void 0===X?{}:X,eN=void 0!==eb&&eb,ek=void 0===e_?"":e_,eI=void 0===ey?"":ey,ej=void 0!==ex&&ex,eP=void 0!==ev&&ev,eL=void 0!==eA&&eA,eO=void 0!==eS&&eS,eD=void 0===eC?"":eC,{searchLabel:eM,searchPlaceholder:eR,SearchCTAText:eF,resultsFoundLabel:eB,applyFiltersCTA:eU,unselectFiltersCTA:eH,unSelectItemsLabel:e$,sortByCTAText:eG,filterIconName:eW,listViewText:eY,gridViewText:ez}=q;
35K[0]!==ew||K[1]!==ed?(m=ed&&Object?.fromEntries(Object?.entries(ed)?.filter(e=>{let[t]=e;return!ew?.includes(t)})),K[0]=ew,K[1]=ed,K[2]=m):m=K[2];let eV=m,[eK,eq]=(0,u.useState)(ea),[eQ]=(0,u.useState)(!1),[eZ,eX]=(0,u.useState)(es||eg||!1),[eJ,e0]=(0,u.useState)(!1),[e1,e2]=(0,u.useState)(!1),[e3,e4]=(0,u.useState)(!1),e6=(0,f.useMediaQuery)("(max-width: 991px)"),e5=(0,f.useMediaQuery)("(max-width: 576px)");K[3]!==J||K[4]!==en||K[5]!==eK?(g=e=>{eK&&!e&&J?.(e),eq(e),en?.(e)},K[3]=J,K[4]=en,K[5]=eK,K[6]=g):g=K[6];let e8=g;K[7]!==ea?(b=()=>{eq(ea)},w=[ea],K[7]=ea,K[8]=b,K[9]=w):(b=K[8],w=K[9]),(0,u.useEffect)(b,w),K[10]!==eZ||K[11]!==eh?(E=()=>{eX(!eZ),eh?.()},K[10]=eZ,K[11]=eh,K[12]=E):E=K[12];let e7=E;K[13]!==eB?(S=e=>eB&&e?`<span>${eB?.replace(/@count_val|{count}/g,`<span class="results">${e?.toString()}</span>`)}</span>`:"",K[13]=eB,K[14]=S):S=K[14];let e9=S;K[15]!==J||K[16]!==eK?(C=()=>{J(eK)},K[15]=J,K[16]=eK,K[17]=C):C=K[17];let te=C;K[18]!==et?(T=()=>{et(),eX(!1)},K[18]=et,K[19]=T):T=K[19];let tt=T;K[20]!==ee?(N=()=>{ee(),eX(!1)},K[20]=ee,K[21]=N):N=K[21];let ta=N;K[22]!==eJ?(k=()=>{e0(!eJ)},K[22]=eJ,K[23]=k):k=K[23];let ti=k;K[24]!==eo||K[25]!==eJ?(I=e=>{eo?.(e),e0(!eJ),eX(!1)},K[24]=eo,K[25]=eJ,K[26]=I):I=K[26];let tr=I;K[27]!==ec||K[28]!==eJ?(j=()=>{ec?.(),e0(!eJ),eX(!1)},K[27]=ec,K[28]=eJ,K[29]=j):j=K[29];let tn=j;K[30]!==ei?(P=e=>{ei?.(e,[])},K[30]=ei,K[31]=P):P=K[31];let ts=P;K[32]!==ee?(L=e=>{e?.key==="Enter"&&(ee(),eX(!1))},K[32]=ee,K[33]=L):L=K[33];let tl=L;K[34]!==eW?(O=()=>{eW&&e2(!0)},K[34]=eW,K[35]=O):O=K[35];let to=O;K[36]===Symbol.for("react.memo_cache_sentinel")?(D=()=>{e2(!1)},K[36]=D):D=K[36];let tc=D;K[37]!==eW?(M=()=>{eW&&e4(!0)},K[37]=eW,K[38]=M):M=K[38];let td=M;K[39]===Symbol.for("react.memo_cache_sentinel")?(R=()=>{e4(!1)},K[39]=R):R=K[39];let tu=R;K[40]!==eE?(F=(eE??[]).reduce(_,{}),K[40]=eE,K[41]=F):F=K[41];let th=F,tf=th?.list_tooltip_text,tp=th?.grid_tooltip_text,tm=eO&&eD===p.SANDOZ_USER&&Z.filter(y)?.map((e,a)=>{let{label:i,filterName:r,selectOptions:s,placeHolderTxt:l}=e,o=void 0===r?"":r;return(0,t.jsxs)("div",{className:"dropdown-container--dropdowns_dropdown customDD",children:[(0,t.jsxs)("div",{className:"dropdown-labels",children:[(0,t.jsxs)("div",{className:"dropdown-title",children:[i?(0,t.jsx)(c.RichText,{className:"title",content:i??"&nbsp;"}):(0,t.jsx)(c.RichText,{className:"title",content:" "}),eT?.[o]?.length&&!l?(0,t.jsxs)("span",{className:"dropdown-select-count",children:["(",eT?.[o]?.length,")"]}):(0,t.jsx)("div",{})]}),eT?.[o]?.length?(0,t.jsx)("span",{className:"unselect-filter","aria-hidden":"true",onClick:()=>ts(o),role:"button",tabIndex:1,children:e$}):(0,t.jsx)("div",{})]}),!l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("label",{id:`dropdown-label-${o.replace(/_/g,"-")}`,className:"sr-only",children:i}),(0,t.jsx)(n.CustomDropDown,{...s,isCleared:eQ,intialValue:eT?.[o]??[],onValueChange:e=>ei?.(o,e),simpleDropDownLabel:!0,disableSearch:s?.disableSearch,maxCharLength:s?.maxCharLength,ariaLabel:`dropdown-label-${o.replace(/_/g,"-")}`})]})]},i)}),tg=eO&&(eD===p.CUST_USER||eD===p.CUST_ADMIN)&&Z.filter(x)?.map((e,a)=>{let{label:i,filterName:r,placeHolderTxt:n}=e,s=void 0===r?"":r;return(0,t.jsxs)("div",{className:"plainText",children:[(0,t.jsx)("div",{className:"plainText-labels",children:(0,t.jsx)("div",{className:"plainText-title",children:i?(0,t.jsx)(c.RichText,{className:"title",content:i??"&nbsp;"}):(0,t.jsx)(c.RichText,{className:"title",content:" "})})}),!n&&(0,t.jsx)("input",{id:"InputCompanyId",type:"input",value:eT?.[s]?.[0]?.value,disabled:!0})]},i)}),tb="enhanced-filter",t_=v,ty=`search-container ${eN?"search-container-withView":""}`;K[42]!==eF||K[43]!==eL||K[44]!==J||K[45]!==te||K[46]!==e8||K[47]!==eQ||K[48]!==eM||K[49]!==eR||K[50]!==eK?(B=!eL&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"search-container--box",children:[(0,t.jsx)("label",{htmlFor:"searchBarInputId",children:(0,t.jsx)(c.RichText,{className:"title",content:eM})}),(0,t.jsx)(d.SearchBox,{currentSearchText:eK,placeholderText:eR,setSearchText:e8,handleSearch:J,isCleared:eQ,useStateVal:!1,type:"search"})]}),(0,t.jsx)("div",{className:"search-container--button",children:(0,t.jsx)(i.Button,{type:"button",className:"search-button",tabindex:1,onClick:te,isDisabled:eK?.trim().length<h.default.THREE||""===eK,iconPosition:"right",icon:(0,t.jsx)(l.Icon,{iconName:"SearchIcon2"}),children:eF})})]}),K[42]=eF,K[43]=eL,K[44]=J,K[45]=te,K[46]=e8,K[47]=eQ,K[48]=eM,K[49]=eR,K[50]=eK,K[51]=B):B=K[51],K[52]!==em||K[53]!==eg||K[54]!==eZ||K[55]!==eW||K[56]!==tp||K[57]!==ez||K[58]!==e7||K[59]!==to||K[60]!==td||K[61]!==ep||K[62]!==eN||K[63]!==tf||K[64]!==eY||K[65]!==e1||K[66]!==e3?(U=!eg&&(0,t.jsx)("div",{className:"search-container--toggle",children:(0,t.jsxs)("div",{className:"search-icons-container",children:[(0,t.jsxs)("div",{className:`search-container--toggle_icon ${eZ?"search-container--toggle_icon__bg":""}`,onMouseEnter:to,onMouseLeave:tc,children:[(0,t.jsx)(o.IconButton,{tabindex:0,onClick:e7,icon:(0,t.jsx)(l.Icon,{iconName:"FilterIcon"}),title:`${eW?"":"search-container--toggle_icon"}`}),e1&&(0,t.jsx)("div",{className:"tooltip",children:eW})]}),eN&&(0,t.jsx)("div",{className:`search-container--toggle_icon ${eZ?"search-container--toggle_icon__bg":""}`,onMouseEnter:td,onMouseLeave:tu,children:(0,t.jsx)(o.IconButton,{tabindex:1,onClick:ep,className:"search-container--toggle_icon search-container--toggle_view",icon:"grid"===em?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Icon,{iconName:"ListView"})," ",(tf||eY)&&e3&&(0,t.jsx)("div",{className:"tooltip",children:tf||eY})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Icon,{iconName:"GridView"})," ",(tp||ez)&&e3&&(0,t.jsx)("div",{className:"tooltip",children:tp||ez})]}),title:`${tf||eY?"":"search-container--toggle_icon"}`})})]})}),K[52]=em,K[53]=eg,K[54]=eZ,K[55]=eW,K[56]=tp,K[57]=ez,K[58]=e7,K[59]=to,K[60]=td,K[61]=ep,K[62]=eN,K[63]=tf,K[64]=eY,K[65]=e1,K[66]=e3,K[67]=U):U=K[67],K[68]!==ty||K[69]!==B||K[70]!==U?(H=(0,t.jsxs)("div",{className:ty,children:[B,U]}),K[68]=ty,K[69]=B,K[70]=U,K[71]=H):H=K[71];let tx=eZ&&!eg&&(0,t.jsx)("div",{className:"dropdown-container",children:(0,t.jsxs)("div",{className:"dropdown-container--modal",children:[e6&&(0,t.jsx)(c.RichText,{className:"item-number-container",content:e9(Q)}),(0,t.jsxs)("div",{className:"dropdown-container--container",children:[(0,t.jsx)("div",{className:"dropdown-container--dropdowns",style:{"--columns":Z.length>4?6===Z.length?3:4:Z.length},children:eO?Z?.filter(A).map((e,a)=>{let{label:i,filterName:r,selectOptions:l,placeHolderTxt:o}=e,d=void 0===r?"":r;return(0,t.jsxs)("div",{className:"dropdown-container--dropdowns_dropdown",children:[(0,t.jsxs)("div",{className:"dropdown-labels",children:[(0,t.jsxs)("div",{className:"dropdown-title",children:[i?(0,t.jsx)(c.RichText,{className:"title",content:i??"&nbsp;"}):(0,t.jsx)(c.RichText,{className:"title",content:" "}),eT?.[d]?.length&&!o?(0,t.jsxs)("span",{className:"dropdown-select-count",children:["(",eT?.[d]?.length,")"]}):(0,t.jsx)("div",{})]}),eT?.[d]?.length?(0,t.jsx)("span",{className:"unselect-filter","aria-hidden":"true",onClick:()=>ts(d),role:"button",tabIndex:1,children:e$}):(0,t.jsx)("div",{})]}),o?(0,t.jsx)(s.DatePicker,{dataPlaceHolder:o,value:"field_start_date"===d?ek:"field_end_date"===d?eI:"",name:`${d}-${a}`,setValue:e=>ei?.(d,e),timeFormat:"HH:mm:ss:SSS"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("label",{id:`dropdown-label-${d.replace(/_/g,"-")}`,className:"sr-only",children:i}),(0,t.jsx)(n.CustomDropDown,{...l,isCleared:eQ,intialValue:eT?.[d]??[],onValueChange:e=>ei?.(d,e),simpleDropDownLabel:!0,disableSearch:l?.disableSearch,maxCharLength:l?.maxCharLength,ariaLabel:`dropdown-label-${d.replace(/_/g,"-")}`})]})]},i)}):Z?.map((e,a)=>{let{label:i,filterName:r,selectOptions:l,placeHolderTxt:o}=e,d=void 0===r?"":r;return(0,t.jsxs)("div",{className:"dropdown-container--dropdowns_dropdown",children:[(0,t.jsxs)("div",{className:"dropdown-labels",children:[(0,t.jsxs)("div",{className:"dropdown-title",children:[i?(0,t.jsx)(c.RichText,{className:"title",content:i??"&nbsp;"}):(0,t.jsx)(c.RichText,{className:"title",content:" "}),eT?.[d]?.length&&!o?(0,t.jsxs)("span",{className:"dropdown-select-count",children:["(",eT?.[d]?.length,")"]}):(0,t.jsx)("div",{})]}),eT?.[d]?.length?(0,t.jsx)("span",{className:"unselect-filter","aria-hidden":"true",onClick:()=>ts(d),role:"button",tabIndex:1,children:e$}):(0,t.jsx)("div",{})]}),o?(0,t.jsx)(s.DatePicker,{dataPlaceHolder:o,value:"field_start_date"===d?ek:"field_end_date"===d?eI:"",name:`${d}-${a}`,setValue:e=>ei?.(d,e),timeFormat:"HH:mm:ss:SSS"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("label",{id:`dropdown-label-${d.replace(/_/g,"-")}`,className:"sr-only",children:i}),(0,t.jsx)(n.CustomDropDown,{...l,isCleared:eQ,intialValue:eT?.[d]??[],onValueChange:e=>ei?.(d,e),simpleDropDownLabel:!0,disableSearch:l?.disableSearch,maxCharLength:l?.maxCharLength,ariaLabel:`dropdown-label-${d.replace(/_/g,"-")}`})]})]},i)})}),(0,t.jsxs)("div",{className:"dropdown-container--buttons",children:[(0,t.jsx)(i.Button,{type:"button",className:"search-button",tabindex:1,onClick:tt,isDisabled:ef,children:(0,t.jsxs)("span",{className:"apply",children:[eU,(0,t.jsx)(l.Icon,{iconName:"CheckMark"})]})}),Object.values(eT).flat(1).length?(0,t.jsxs)("div",{className:"clear-btn",children:[(0,t.jsx)("span",{className:"clear-filter","aria-hidden":"true",tabIndex:0,role:"button",onClick:ta,children:eH}
35),(0,t.jsx)(l.Icon,{iconName:"closeBlue"})]}):null]})]}),es&&e6&&eV&&el&&(0,t.jsx)("div",{className:"sort-container",children:(0,t.jsxs)("div",{className:"search-filter-options",children:[(0,t.jsxs)("div",{className:"sort-dropdown-container",children:[(0,t.jsx)(i.Button,{type:"button",className:"sort-results-button btn-light",tabindex:1,onClick:ti,icon:(0,t.jsx)(l.Icon,{iconName:"SortByIcon"}),iconPosition:e5?"right":"",children:eG}),eJ&&(0,t.jsx)("div",{className:"sort-dropdown-content",children:Object.entries(eV)?.map(e=>{let[a,i]=e;return(0,t.jsxs)("button",{type:"button",className:"list-group-item",value:i,onClick:()=>tr(a),children:[(0,t.jsx)("span",{className:a===eu?.column?"checkMark":"noCheckMark",children:a===eu?.column?(0,t.jsx)(l.Icon,{iconName:"CheckMark"}):""}),(0,t.jsx)("span",{className:a===eu?.column?"selcted-sort":"",children:i})]},a)})})]}),(0,t.jsx)(o.IconButton,{tabindex:0,onClick:tn,className:`search-container--toggle_icon ${eZ||es&&!e6} ${eu?.order==="DESC"?"highlight-sort":""}`,icon:eu?.order==="DESC"?(0,t.jsx)(l.Icon,{iconName:"SortZA1"}):(0,t.jsx)(l.Icon,{iconName:"SortAZ1"})})]})})]})});K[72]!==eV||K[73]!==eg||K[74]!==eP||K[75]!==tr||K[76]!==ti||K[77]!==tn||K[78]!==es||K[79]!==e6||K[80]!==e5||K[81]!==eu?.column||K[82]!==eu?.order||K[83]!==eJ||K[84]!==eG?($=eg&&!es&&eP&&e6&&eV&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"sort-container",children:(0,t.jsxs)("div",{className:"search-filter-options",children:[(0,t.jsxs)("div",{className:"sort-dropdown-container",children:[(0,t.jsx)(i.Button,{type:"button",className:"sort-results-button btn-light",tabindex:1,onClick:ti,icon:(0,t.jsx)(l.Icon,{iconName:"SortByIcon"}),iconPosition:e5?"right":"",children:eG}),eJ&&(0,t.jsx)("div",{className:"sort-dropdown-content",children:Object.entries(eV)?.map(e=>{let[a,i]=e;return(0,t.jsxs)("button",{type:"button",className:"list-group-item",value:i,onClick:()=>tr(a),children:[(0,t.jsx)("span",{className:a===eu?.column?"checkMark":"noCheckMark",children:a===eu?.column?(0,t.jsx)(l.Icon,{iconName:"CheckMark"}):""}),(0,t.jsx)("span",{className:a===eu?.column?"selcted-sort":"",children:i})]},a)})})]}),(0,t.jsx)(o.IconButton,{tabindex:0,onClick:tn,className:`search-container--toggle_icon ${eu?.order==="DESC"?"highlight-sort":""}`,icon:eu?.order==="DESC"?(0,t.jsx)(l.Icon,{iconName:"SortZA1"}):(0,t.jsx)(l.Icon,{iconName:"SortAZ1"})})]})})}),K[72]=eV,K[73]=eg,K[74]=eP,K[75]=tr,K[76]=ti,K[77]=tn,K[78]=es,K[79]=e6,K[80]=e5,K[81]=eu?.column,K[82]=eu?.order,K[83]=eJ,K[84]=eG,K[85]=$):$=K[85],K[86]!==eL||K[87]!==eZ||K[88]!==e9||K[89]!==e6||K[90]!==Q||K[91]!==ej?(G=(!(e6&&eZ)||ej)&&!eL&&(0,t.jsx)("div",{children:(0,t.jsx)(c.RichText,{className:"item-number-container",content:e9(Q)})}),K[86]=eL,K[87]=eZ,K[88]=e9,K[89]=e6,K[90]=Q,K[91]=ej,K[92]=G):G=K[92];let tv=eH&&Object.values(eT).flat(1).length?(0,t.jsxs)("div",{className:"clear-btn",onClick:ta,tabIndex:0,role:"button",onKeyDown:tl,children:[(0,t.jsx)("span",{className:"filter-clear",children:eH}),(0,t.jsx)(l.Icon,{iconName:"Close2"})]}):(0,t.jsx)(t.Fragment,{});K[93]!==tv?(W=(0,t.jsx)("div",{children:tv}),K[93]=tv,K[94]=W):W=K[94],K[95]!==G||K[96]!==W?(Y=(0,t.jsxs)("div",{className:"item-number",children:[G,W]}),K[95]=G,K[96]=W,K[97]=Y):Y=K[97];let tA=Object.values(eT).flat(1).length?(0,t.jsx)("div",{className:"chips-container",children:Object.entries(eT).map(e=>{let[a,i]=e;return i.length?i.map(e=>(0,t.jsx)(r.Chips,{content:e.label,handleClick:()=>er(a,e),className:`${(eD===p.CUST_USER||eD===p.CUST_ADMIN)&&eO&&"company_id"===a?"hide-close":""}`},e.value)):null})}):null;return K[98]!==t_||K[99]!==H||K[100]!==tx||K[101]!==$||K[102]!==Y||K[103]!==tA?(z=(0,t.jsx)("section",{children:(0,t.jsxs)("form",{className:tb,onSubmit:t_,children:[H,tx,$,Y,tA]})}),K[98]=t_,K[99]=H,K[100]=tx,K[101]=$,K[102]=Y,K[103]=tA,K[104]=z):z=K[104],K[105]!==tm||K[106]!==tg||K[107]!==z?(V=(0,t.jsxs)("div",{children:[tm,tg,z]}),K[105]=tm,K[106]=tg,K[107]=z,K[108]=V):V=K[108],V};function g(e){return"string"==typeof e&&e.endsWith("_tooltip_text")}function b(e){return"string"==typeof e&&!e.endsWith("_tooltip_text")}function _(e,t){let a=Object.values(t).find(g),i=Object.values(t).find(b);return a&&i?{...e,[a]:i}:e}function y(e){return"company_id"===e.filterName}function x(e){return"company_id"===e.filterName}function v(e){return e.preventDefault()}function A(e){return"company_id"!==e.filterName}},3275,(e,t,a)=>{t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},2063,(e,t,a)=>{var i=e.r(47663);t.exports=function(){return i.Date.now()}},95217,(e,t,a)=>{var i=/\s/;t.exports=function(e){for(var t=e.length;t--&&i.test(e.charAt(t)););return t}},47843,(e,t,a)=>
35{var i=e.r(95217),r=/^\s+/;t.exports=function(e){return e?e.slice(0,i(e)+1).replace(r,""):e}},49057,(e,t,a)=>{var i=e.r(12904),r=e.r(32836),n="[object Symbol]";t.exports=function(e){return"symbol"==typeof e||r(e)&&i(e)==n}},92921,(e,t,a)=>{var i=e.r(47843),r=e.r(3275),n=e.r(49057),s=0/0,l=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.exports=function(e){if("number"==typeof e)return e;if(n(e))return s;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var a=o.test(e);return a||c.test(e)?d(e.slice(2),a?2:8):l.test(e)?s:+e}},79021,(e,t,a)=>{var i=e.r(3275),r=e.r(2063),n=e.r(92921),s="Expected a function",l=Math.max,o=Math.min;t.exports=function(e,t,a){var c,d,u,h,f,p,m=0,g=!1,b=!1,_=!0;if("function"!=typeof e)throw TypeError(s);function y(t){var a=c,i=d;return c=d=void 0,m=t,h=e.apply(i,a)}function x(e){return m=e,f=setTimeout(w,t),g?y(e):h}function v(e){var a=e-p,i=e-m,r=t-a;return b?o(r,u-i):r}function A(e){var a=e-p,i=e-m;return void 0===p||a>=t||a<0||b&&i>=u}function w(){var e=r();if(A(e))return E(e);f=setTimeout(w,v(e))}function E(e){return(f=void 0,_&&c)?y(e):(c=d=void 0,h)}function S(){return void 0===f?h:E(r())}function C(){var e=r(),a=A(e);if(c=arguments,d=this,p=e,a){if(void 0===f)return x(p);if(b)return clearTimeout(f),f=setTimeout(w,t),y(p)}return void 0===f&&(f=setTimeout(w,t)),h}return t=n(t)||0,i(a)&&(g=!!a.leading,u=(b="maxWait"in a)?l(n(a.maxWait)||0,t):u,_="trailing"in a?!!a.trailing:_),C.cancel=function(){void 0!==f&&clearTimeout(f),m=0,c=p=d=f=void 0},C.flush=S,C}},27279,(e,t,a)=>{t.exports=function(){this.__data__=[],this.size=0}},98373,(e,t,a)=>{t.exports=function(e,t){return e===t||e!=e&&t!=t}},98053,(e,t,a)=>{var i=e.r(98373);t.exports=function(e,t){for(var a=e.length;a--;)if(i(e[a][0],t))return a;return -1}},79104,(e,t,a)=>{var i=e.r(98053),r=Array.prototype.splice;t.exports=function(e){var t=this.__data__,a=i(t,e);return!(a<0)&&(a==t.length-1?t.pop():r.call(t,a,1),--this.size,!0)}},95185,(e,t,a)=>{var i=e.r(98053);t.exports=function(e){var t=this.__data__,a=i(t,e);return a<0?void 0:t[a][1]}},33127,(e,t,a)=>{var i=e.r(98053);t.exports=function(e){return i(this.__data__,e)>-1}},82058,(e,t,a)=>{var i=e.r(98053);t.exports=function(e,t){var a=this.__data__,r=i(a,e);return r<0?(++this.size,a.push([e,t])):a[r][1]=t,this}},69644,(e,t,a)=>{var i=e.r(27279),r=e.r(79104),n=e.r(95185),s=e.r(33127),l=e.r(82058);function o(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var i=e[t];this.set(i[0],i[1])}}o.prototype.clear=i,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=s,o.prototype.set=l,t.exports=o},28163,(e,t,a)=>{var i=e.r(69644);t.exports=function(){this.__data__=new i,this.size=0}},47546,(e,t,a)=>{t.exports=function(e){var t=this.__data__,a=t.delete(e);return this.size=t.size,a}},92815,(e,t,a)=>{t.exports=function(e){return this.__data__.get(e)}},85050,(e,t,a)=>{t.exports=function(e){return this.__data__.has(e)}},38299,(e,t,a)=>{var i=e.r(12904),r=e.r(3275),n="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",o="[object Proxy]";t.exports=function(e){if(!r(e))return!1;var t=i(e);return t==s||t==l||t==n||t==o}},15986,(e,t,a)=>{t.exports=e.r(47663)["__core-js_shared__"]},52230,(e,t,a)=>{var i=e.r(15986),r=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();t.exports=function(e){return!!r&&r in e}},42186,(e,t,a)=>{var i=Function.prototype.toString;t.exports=function(e){if(null!=e){try{return i.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},84539,(e,t,a)=>{var i=e.r(38299),r=e.r(52230),n=e.r(3275),s=e.r(42186),l=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,c=Object.prototype,d=Function.prototype.toString,u=c.hasOwnProperty,h=RegExp("^"+d.call(u).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return!(!n(e)||r(e))&&(i(e)?h:o).test(s(e))}},6394,(e,t,a)=>{t.exports=function(e,t){return null==e?void 0:e[t]}},89346,(e,t,a)=>{var i=e.r(84539),r=e.r(6394);t.exports=function(e,t){var a=r(e,t);return i(a)?a:void 0}},96138,(e,t,a)=>{t.exports=e.r(89346)(e.r(47663),"Map")}
35,98749,(e,t,a)=>{t.exports=e.r(89346)(Object,"create")},73931,(e,t,a)=>{var i=e.r(98749);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},32358,(e,t,a)=>{t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},4400,(e,t,a)=>{var i=e.r(98749),r="__lodash_hash_undefined__",n=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(i){var a=t[e];return a===r?void 0:a}return n.call(t,e)?t[e]:void 0}},88170,(e,t,a)=>{var i=e.r(98749),r=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},75942,(e,t,a)=>{var i=e.r(98749),r="__lodash_hash_undefined__";t.exports=function(e,t){var a=this.__data__;return this.size+=+!this.has(e),a[e]=i&&void 0===t?r:t,this}},48436,(e,t,a)=>{var i=e.r(73931),r=e.r(32358),n=e.r(4400),s=e.r(88170),l=e.r(75942);function o(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var i=e[t];this.set(i[0],i[1])}}o.prototype.clear=i,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=s,o.prototype.set=l,t.exports=o},79419,(e,t,a)=>{var i=e.r(48436),r=e.r(69644),n=e.r(96138);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(n||r),string:new i}}},95330,(e,t,a)=>{t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},37807,(e,t,a)=>{var i=e.r(95330);t.exports=function(e,t){var a=e.__data__;return i(t)?a["string"==typeof t?"string":"hash"]:a.map}},23788,(e,t,a)=>{var i=e.r(37807);t.exports=function(e){var t=i(this,e).delete(e);return this.size-=!!t,t}},70364,(e,t,a)=>{var i=e.r(37807);t.exports=function(e){return i(this,e).get(e)}},40138,(e,t,a)=>{var i=e.r(37807);t.exports=function(e){return i(this,e).has(e)}},32058,(e,t,a)=>{var i=e.r(37807);t.exports=function(e,t){var a=i(this,e),r=a.size;return a.set(e,t),this.size+=+(a.size!=r),this}},33571,(e,t,a)=>{var i=e.r(79419),r=e.r(23788),n=e.r(70364),s=e.r(40138),l=e.r(32058);function o(e){var t=-1,a=null==e?0:e.length;for(this.clear();++t<a;){var i=e[t];this.set(i[0],i[1])}}o.prototype.clear=i,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=s,o.prototype.set=l,t.exports=o},14745,(e,t,a)=>{var i=e.r(69644),r=e.r(96138),n=e.r(33571),s=200;t.exports=function(e,t){var a=this.__data__;if(a instanceof i){var l=a.__data__;if(!r||l.length<s-1)return l.push([e,t]),this.size=++a.size,this;a=this.__data__=new n(l)}return a.set(e,t),this.size=a.size,this}},98620,(e,t,a)=>{var i=e.r(69644),r=e.r(28163),n=e.r(47546),s=e.r(92815),l=e.r(85050),o=e.r(14745);function c(e){var t=this.__data__=new i(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=n,c.prototype.get=s,c.prototype.has=l,c.prototype.set=o,t.exports=c},29549,(e,t,a)=>{var i="__lodash_hash_undefined__";t.exports=function(e){return this.__data__.set(e,i),this}},30357,(e,t,a)=>{t.exports=function(e){return this.__data__.has(e)}},50119,(e,t,a)=>{var i=e.r(33571),r=e.r(29549),n=e.r(30357);function s(e){var t=-1,a=null==e?0:e.length;for(this.__data__=new i;++t<a;)this.add(e[t])}s.prototype.add=s.prototype.push=r,s.prototype.has=n,t.exports=s},97560,(e,t,a)=>{t.exports=function(e,t){for(var a=-1,i=null==e?0:e.length;++a<i;)if(t(e[a],a,e))return!0;return!1}},33483,(e,t,a)=>{t.exports=function(e,t){return e.has(t)}},36712,(e,t,a)=>{var i=e.r(50119),r=e.r(97560),n=e.r(33483),s=1,l=2;t.exports=function(e,t,a,o,c,d){var u=a&s,h=e.length,f=t.length;if(h!=f&&!(u&&f>h))return!1;var p=d.get(e),m=d.get(t);if(p&&m)return p==t&&m==e;var g=-1,b=!0,_=a&l?new i:void 0;for(d.set(e,t),d.set(t,e);++g<h;){var y=e[g],x=t[g];if(o)var v=u?o(x,y,g,t,e,d):o(y,x,g,e,t,d);if(void 0!==v){if(v)continue;b=!1;break}if(_){if(!r(t,function(e,t){if(!n(_,t)&&(y===e||c(y,e,a,o,d)))return _.push(t)})){b=!1;break}}else if(!(y===x||c(y,x,a,o,d))){b=!1;break}}return d.delete(e),d.delete(t),b}},84742,(e,t,a)=>{t.exports=e.r(47663).Uint8Array},92152,(e,t,a)=>{t.exports=function(e){var t=-1,a=Array(e.size);return e.forEach(function(e,i){a[++t]=[i,e]}),a}},31853,(e,t,a)=>{t.exports=function(e){var t=-1,a=Array(e.size);return e.forEach(function(e){a[++t]=e}),a}},17744,(e,t,a)=>{var i=e.r(80783),r=e.r(84742),n=e.r(98373),s=e.r(36712),l=e.r(92152),o=e.r(31853),c=1,d=2,u="[object Boolean]",h="[object Date]",f="[object Error]",p="[object Map]",m="[object Number]",g="[object RegExp]",b="[object Set]",_="[object String]",y="[object Symbol]",x="[object ArrayBuffer]",v="[object DataView]",A=i?i.prototype:void 0,w=A?A.valueOf:void 0;t.exports=function(e,t,a,i,A,E,S){switch(a){case v:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case x:if(e.byteLength!=t.byteLength||!E(new r(e),new r(t)))break;return!0;case u:case h:case m:return n(+e,+t);case f:return e.name==t.name&&e.message==t.message;case g:case _:return e==t+"";case p:var C=l;case b:var T=i&c;if(C||(C=o),e.size!=t.size&&!T)break;var N=S.get(e);if(N)return N==t;i|=d,S.set(e,t);var k=s(C(e),C(t),i,A,E,S);return S.delete(e),k;case y:if(w)return w.call(e)==w.call(t)}return!1}},76723,(e,t,a)=>{t.exports=function(e,t){for(var a=-1,i=t.length,r=e.length;++a<i;)e[r+a]=t[a];return e}},38916,(e,t,a)=>{var i=e.r(76723),r=e.r(48684);t.exports=function(e,t,a){var n=t(e);return r(e)?n:i(n,a(e))}},56408,(e,t,a)=>{t.exports=function(e,t){for(var a=-1,i=null==e?0:e.length,r=0,n=[];++a<i;){var s=e[a];t(s,a,e)&&(n[r++]=s)}return n}},1107,(e,t,a)=>{t.exports=function(){return[]}},40811,(e,t,a)=>{var i=e.r(56408),r=e.r(1107),n=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;t.exports=s?function(e){return null==e?[]:i(s(e=Object(e)),function(t){return n.call(e,t)})}:r},66726,(e,t,a)=>{t.exports=function(e,t){for(var a=-1,i=Array(e);++a<e;)i[a]=t(a);return i}},66855,(e,t,a)=>{var i=e.r(12904),r=e.r(32836),n="[object Arguments]";t.exports=function(e){return r(e)&&i(e)==n}},45897,(e,t,a)=>{var i=e.r(66855),r=e.r(32836),n=Object.prototype,s=n.hasOwnProperty,l=n.propertyIsEnumerable;t.exports=i(function(){return arguments}())?i:function(e){return r(e)&&s.call(e,"callee")&&!l.call(e,"callee")}},4974,(e,t,a)=>{t.exports=function(){return!1}},13272,(e,t,a)=>{var i=e.r(47663),r=e.r(4974),n=a&&!a.nodeType&&a,s=n&&t&&!t.nodeType&&t,l=s&&s.exports===n?i.Buffer:void 0;t.exports=(l?l.isBuffer:void 0)||r},5251,(e,t,a)=>{var i=0x1fffffffffffff,r=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var a=typeof e;return!!(t=null==t?i:t)&&("number"==a||"symbol"!=a&&r.test(e))&&e>-1&&e%1==0&&e<t}},57279,(e,t,a)=>{var i=0x1fffffffffffff;t.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}},19745,(e,t,a)=>{var i=e.r(12904),r=e.r(57279),n=e.r(32836),s="[object Arguments]",l="[object Array]",o="[object Boolean]",c="[object Date]",d="[object Error]",u="[object Function]",h="[object Map]",f="[object Number]",p="[object Object]",m="[object RegExp]",g="[object Set]",b="[object String]",_="[object WeakMap]",y="[object ArrayBuffer]",x="[object DataView]",v="[object Float64Array
35]",A="[object Int8Array]",w="[object Int16Array]",E="[object Int32Array]",S="[object Uint8Array]",C="[object Uint8ClampedArray]",T="[object Uint16Array]",N="[object Uint32Array]",k={};k["[object Float32Array]"]=k[v]=k[A]=k[w]=k[E]=k[S]=k[C]=k[T]=k[N]=!0,k[s]=k[l]=k[y]=k[o]=k[x]=k[c]=k[d]=k[u]=k[h]=k[f]=k[p]=k[m]=k[g]=k[b]=k[_]=!1,t.exports=function(e){return n(e)&&r(e.length)&&!!k[i(e)]}},63115,(e,t,a)=>{t.exports=function(e){return function(t){return e(t)}}},95047,(e,t,a)=>{var i=e.r(29380),r=a&&!a.nodeType&&a,n=r&&t&&!t.nodeType&&t,s=n&&n.exports===r&&i.process;t.exports=function(){try{var e=n&&n.require&&n.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}()},75299,(e,t,a)=>{var i=e.r(19745),r=e.r(63115),n=e.r(95047),s=n&&n.isTypedArray;t.exports=s?r(s):i},19188,(e,t,a)=>{var i=e.r(66726),r=e.r(45897),n=e.r(48684),s=e.r(13272),l=e.r(5251),o=e.r(75299),c=Object.prototype.hasOwnProperty;t.exports=function(e,t){var a=n(e),d=!a&&r(e),u=!a&&!d&&s(e),h=!a&&!d&&!u&&o(e),f=a||d||u||h,p=f?i(e.length,String):[],m=p.length;for(var g in e)(t||c.call(e,g))&&!(f&&("length"==g||u&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||l(g,m)))&&p.push(g);return p}},34274,(e,t,a)=>{var i=Object.prototype;t.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||i)}},58705,(e,t,a)=>{t.exports=function(e,t){return function(a){return e(t(a))}}},17059,(e,t,a)=>{t.exports=e.r(58705)(Object.keys,Object)},58629,(e,t,a)=>{var i=e.r(34274),r=e.r(17059),n=Object.prototype.hasOwnProperty;t.exports=function(e){if(!i(e))return r(e);var t=[];for(var a in Object(e))n.call(e,a)&&"constructor"!=a&&t.push(a);return t}},79858,(e,t,a)=>{var i=e.r(38299),r=e.r(57279);t.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},22335,(e,t,a)=>{var i=e.r(19188),r=e.r(58629),n=e.r(79858);t.exports=function(e){return n(e)?i(e):r(e)}},77256,(e,t,a)=>{var i=e.r(38916),r=e.r(40811),n=e.r(22335);t.exports=function(e){return i(e,n,r)}},4191,(e,t,a)=>{var i=e.r(77256),r=1,n=Object.prototype.hasOwnProperty;t.exports=function(e,t,a,s,l,o){var c=a&r,d=i(e),u=d.length;if(u!=i(t).length&&!c)return!1;for(var h=u;h--;){var f=d[h];if(!(c?f in t:n.call(t,f)))return!1}var p=o.get(e),m=o.get(t);if(p&&m)return p==t&&m==e;var g=!0;o.set(e,t),o.set(t,e);for(var b=c;++h<u;){var _=e[f=d[h]],y=t[f];if(s)var x=c?s(y,_,f,t,e,o):s(_,y,f,e,t,o);if(!(void 0===x?_===y||l(_,y,a,s,o):x)){g=!1;break}b||(b="constructor"==f)}if(g&&!b){var v=e.constructor,A=t.constructor;v!=A&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof A&&A instanceof A)&&(g=!1)}return o.delete(e),o.delete(t),g}},25106,(e,t,a)=>{t.exports=e.r(89346)(e.r(47663),"DataView")},41298,(e,t,a)=>{t.exports=e.r(89346)(e.r(47663),"Promise")},40682,(e,t,a)=>{t.exports=e.r(89346)(e.r(47663),"Set")},78166,(e,t,a)=>{t.exports=e.r(89346)(e.r(47663),"WeakMap")},68829,(e,t,a)=>{var i=e.r(25106),r=e.r(96138),n=e.r(41298),s=e.r(40682),l=e.r(78166),o=e.r(12904),c=e.r(42186),d="[object Map]",u="[object Object]",h="[object Promise]",f="[object Set]",p="[object WeakMap]",m="[object DataView]",g=c(i),b=c(r),_=c(n),y=c(s),x=c(l),v=o;(i&&v(new i(new ArrayBuffer(1)))!=m||r&&v(new r)!=d||n&&v(n.resolve())!=h||s&&v(new s)!=f||l&&v(new l)!=p)&&(v=function(e){var t=o(e),a=t==u?e.constructor:void 0,i=a?c(a):"";if(i)switch(i){case g:return m;case b:return d;case _:return h;case y:return f;case x:return p}return t}),t.exports=v},58056,(e,t,a)=>{var i=e.r(98620),r=e.r(36712),n=e.r(17744),s=e.r(4191),l=e.r(68829),o=e.r(48684),c=e.r(13272),d=e.r(75299),u=1,h="[object Arguments]",f="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;t.exports=function(e,t,a,g,b,_){var y=o(e),x=o(t),v=y?f:l(e),A=x?f:l(t);v=v==h?p:v,A=A==h?p:A;var w=v==p,E=A==p,S=v==A;if(S&&c(e)){if(!c(t))return!1;y=!0,w=!1}if(S&&!w)return _||(_=new i),y||d(e)?r(e,t,a,g,b,_):n(e,t,v,a,g,b,_);if(!(a&u)){var C=w&&m.call(e,"__wrapped__"),T=E&&m.call(t,"__wrapped__");
35if(C||T){var N=C?e.value():e,k=T?t.value():t;return _||(_=new i),b(N,k,a,g,_)}}return!!S&&(_||(_=new i),s(e,t,a,g,b,_))}},90835,(e,t,a)=>{var i=e.r(58056),r=e.r(32836);function n(e,t,a,s,l){return e===t||(null!=e&&null!=t&&(r(e)||r(t))?i(e,t,a,s,n,l):e!=e&&t!=t)}t.exports=n},49125,(e,t,a)=>{var i=e.r(90835);t.exports=function(e,t){return i(e,t)}},886,e=>{"use strict";e.s(["Pagination",()=>t.default]);var t=e.i(36762)},75891,e=>{"use strict";e.s(["default",()=>L]);var t=e.i(91398),a=e.i(91788),i=e.i(68489);e.i(48756);var r=e.i(17419),n=e.i(66196),s=e.i(55439),l=e.i(22276),o=e.i(46662),c=e.i(65560),d=e.i(79021),u=e.i(49125),h=e.i(85077);e.i(35958);var f=e.i(886),p=e.i(97268),m=e.i(3828),g=e.i(76223),b=e.i(90305),_=e.i(65225),y=e.i(1710),x=e.i(75425),v=e.i(92507),A=e.i(22038),w=e.i(31808);let E=(0,i.default)(()=>e.A(68664),{loadableGenerated:{modules:[54099]},ssr:!1}),S=(0,i.default)(()=>e.A(58103),{loadableGenerated:{modules:[76687]},ssr:!1}),C=(0,i.default)(()=>e.A(7369),{loadableGenerated:{modules:[50866]},ssr:!1}),T=(0,i.default)(()=>e.A(98020),{loadableGenerated:{modules:[64478]},ssr:!1}),N=(0,i.default)(()=>e.A(21884),{loadableGenerated:{modules:[75984]},ssr:!1}),k=(0,i.default)(()=>e.A(47883),{loadableGenerated:{modules:[57917]},ssr:!1}),I=e=>{let[i,o]=(0,a.useState)(!0),[I,j]=(0,a.useState)(x.default.ZERO),{type:P,advancedFilterData:L,user:O,filterData:D}=e,{advanceFilters:M,currentPage:R,advanceSearchText:F,blockType:B}=L,U=(0,A.default)("(max-width: 991px)"),[H,$]=(0,a.useState)([]),[G,W]=(0,a.useState)(!1),[Y,z]=(0,a.useState)(0),[V,K]=(0,a.useState)(""),[q,Q]=(0,a.useState)([]),[Z,X]=(0,a.useState)([]),J=(0,m.useRouter)(),ee=(0,l.useDispatch)(),et=(0,a.useCallback)((0,d.default)(t=>e.addUpdateAdvanceFilter(t),500),[ee]),ea=(0,a.useCallback)(t=>e.updatePagination(t),[ee]),ei=(0,a.useCallback)(t=>e.updateAdvanceSearchText(t),[ee]),er=(0,a.useCallback)((t,a,i,r)=>e.updateAllAdvanceFilters(t,a,i,r),[ee]),en=(0,a.useCallback)(e=>ee((0,w.updatePaywall3Roles)(e)),[ee]),es=(0,a.useCallback)(e=>ee((0,w.updatePaywallContent)(e)),[ee]),el=(e,t,a=!1)=>{let i="";return e?.length&&!a?"created"===t?e?.length>1?e?.forEach((e,t)=>{i+=`&views-argument[${t}]=${e.value}`}):e?.length===1?i+=`&views-argument[0]=${e[0].value}`:i+="&views-argument[0]=All":e?.length>1?e?.forEach((e,a)=>{i+=`&views-filter[${t}][${a}]=${e.id}`}):i+=`&views-filter[${t}][0]=${e[0].id}`:"created"===t?i+="&views-argument[0]=All":"filter[flag]"==t?i+="&filter=filter_in_cm":i+=`&views-filter[${t}]=All`,i},eo=(e,t)=>(e?decodeURIComponent(e).split(","):[]).includes(t);(0,a.useEffect)(()=>{let e=J?.query?.filter==="filter_in_cm",t={},a=Object.keys(t=e?{...J?.query,"filter[flag]":"filter_in_cm"}:J?.query);if(1===a.length&&"slug"===a[0])er(D?.advanceFilterData?.filtersOptions?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}})),0,"",P);else{let a=D?.advanceFilterData?.filtersOptions?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(a=>({...a,isSelected:t?.[e?.filterName]&&!!eo(t?.[e?.filterName],a?.value?.toString())}))}})),i=a;er(i=e?[...a,{filterName:"filter[flag]",selectOptions:{options:[{id:0,value:"filter_in_cm",label:"filter_in_cm",isSelected:!0}],ariaLabel:"Select Element",name:"select",isMulti:!0,placeHolder:""}}]:a,Number(t?.page??0),t?.search||"",P),K(t?.search||"")}W(!0)},[]);let ec=({filterName:e,selectedOptions:t})=>{let a=M?.find(t=>t?.filterName===e)?.selectOptions?.options;return el(t,e,t?.length===a?.length)},ed=(e,t,a)=>{let i=a+e?.substring(t?.length+a?.length),r=i?.indexOf("?"),n=i?.indexOf("#");if(-1!==r&&(i=i?.substring(0,r)),-1!==n){let e=i?.indexOf("/",n);-1!==e&&(i=i?.substring(0,e+1))}return i?.endsWith("/")||(i+="/"),i};(0,a.useEffect)(()=>{let e=async()=>{o(!0);let e=M?.length&&M?.map(e=>({filterName:e?.filterName,selectedOptions:e?.selectOptions.options?.filter(e=>e?.isSelected)})),t=e?.length&&e?.map(e=>ec(e)).join("")||"&views-argument[0]=All",a=e=>F?`&views-filter[${e}]=${F}`:"";if("education"===P){let{educationCards:e,totalCount:i,itemsPerPage:r,fieldPaywallRoles:n}=await (0,h.getFormattedEduCardsData)(`/jsonapi/views/education_overview_page/education_overview_block?views-filter[langcode]=All${t}${a("combine")}&page=${R}`);$(e),j(i),z(r),o(!1),X(n)}if("events"===P){let{eventCards:e,totalCount:i,itemsPerPage:r,fieldPaywallRoles:n}=await (0,b.getFormattedEventCardsData)(`/jsonapi/views/event_overview_list/event_vertical_cards?views-filter[langcode]=All${t}${a("combine")}&page=${R}`);$(e),j(i),z(r),o(!1),X(n)}if("therapy-areas"===P){let{therapyCards:e,totalCount:i,itemsPerPage:r,fieldPaywallRoles:n}=await (0,_.getFormattedTherapyCardsData)(`/jsonapi/views/therapy_areas_overview/therapy_cards?views-filter[langcode]=All${t}${a("search")}&page=${R}`);$(e),j(i),z(r),o(!1),X(n)}if("news"===P){let{latestNewsStoriesCards:e,totalCount:i,itemsPerPage:r,fieldPaywallRoles:n}=await (0,g.getFormattedNewsCardsData)(`/jsonapi/views/latest_news_stories/o_nas?views-filter[langcode]=All${t}${a("combine")}&page=${R}`);$(e),j(i),z(r),o(!1),X(n)}if("sandoz_academy_block"===P){let{flexibleCards:e,totalCount:i,itemsPerPage:r,fieldPaywallRoles:n}=await (0,y.getFormattedFlexibleCardData)(`/jsonapi/views/sandoz_academy_code_listing_view/sandoz_academy_block?views-filter[langcode]=All${t}${a("combine")}&page=${R}`);$(e),j(i),z(r),o(!1),X(n)}};G&&B===P&&e().then(()=>{let e=em(),t={};Object.entries(e).forEach(([e,a])=>{t[e]=a.length?a.map(e=>e.value).join(","):""});let{protocol:a,host:i,href:r,origin:n,pathname:s}=window.location,l="";Object.entries(t).forEach(([e,t])=>{l+=`&${e}=${encodeURIComponent(t)}`});let o=J?.query?.acc?`acc=${J.query.acc}`:J?.query?.tab?`tab=${J.query.tab}`:"",c=ed(r,n,s),d=`${a}//${i}${c}?${l.substring(1)}&page=${R}&search=${F||""}&${o||""}`;window.history.replaceState({path:d},"",d)})},[L,G]),(0,a.useEffect)(()=>{i||!Z.length||O?.isLoggedIn||(en(Array.from(new Set(Z))),es(!0))},[i,Z,O]);let eu=e=>{ei(e)},eh=e=>{ea(e/Y)},ef=(e,t)=>t.findIndex(t=>t.id===e.id)>-1,ep=(e,t)=>{U?Q(q?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:ef(e,t)}))}}:a)):et(M?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:ef(e,t)}))}}:a))},em=()=>{let e={};return M?.forEach(t=>{e[`${t.filterName}`]=t?.filterName=="filter[flag]"?[]:t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e},eg=()=>{et(q)},eb=(e,t)=>"education"===P?(0,a.createElement)(E,{...e,key:t}):"events"===P?(0,a.createElement)(S,{...e,key:t}):"therapy-areas"===P?(0,a.createElement)(C,{...e,key:t}):"news"===P?(0,a.createElement)(T,{...e,key:t}):"product-list"===P?(0,a.createElement)(N,{...e,key:t,desktopColumns:4,tabletColumns:6}):"sandoz_academy_block"===P?(0,a.createElement)(k,{...e,key:t,desktopColumns:4,tabletColumns:6}):void 0,e_=(0,t.jsx)(n.Row,{className:"advanced-filter-card-row",children:H?.length>0?(0,t.jsxs)(t.Fragment,{children:[H?.map((e,a)=>eb(e,a)||(0,t.jsx)(t.Fragment,{})),(0,t.jsx)(n.Row,{className:"pagination-wrapper",children:(0,t.jsx)(f.Pagination,{itemsCount:I,itemsPerPage:Y,onClick:eh,offSet:R})})]}
35):(0,t.jsx)(v.default,{title:D?.advanceFilterData?.filtersLabels?.noResultsFoundLabel,description:D?.advanceFilterData?.filtersLabels?.noResultsFoundDescription,searchKey:V})}),ey=()=>{er(D?.advanceFilterData?.filtersOptions?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}})),0,F||"",P)},ex=(e,t)=>{et(M?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>e.id===t?.id?{...e,isSelected:!1}:e)}}:a))},ev=()=>{let e={};return q?.forEach(t=>{e[`${t.filterName}`]=t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e},eA=()=>{Q(M)};return(0,t.jsx)(t.Fragment,{children:i?(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(p.default,{display:!0})}):(0,t.jsxs)(r.Column,{className:"advanced-filter-container scroll-top",mobile:12,tablet:12,desktop:12,children:[(0,t.jsx)(c.default,{filtersOptions:D?.advanceFilterData?.filtersOptions,filterLabels:D?.advanceFilterData?.filtersLabels,isCareerSearch:D?.advanceFilterData?.filtersLabels?.enableToggle===1,handleAdditionalFilters:ep,handleSearch:eu,handleUnselectAll:()=>{ey()},selectedFilters:U?ev():em(),applyAdditionalFilters:eg,currentSearchText:V,handleRemoveItem:ex,handleSearchText:K,noOfResults:I,resetLocalFilterWithReducer:eA,isDisabled:(0,u.default)(M,q)}),(0,t.jsx)(t.Fragment,{children:!U&&(0,t.jsx)(s.Seperator,{className:"data-separator"})}),e_]})})},j={addUpdateAdvanceFilter:e=>(0,o.addUpdateAdvanceFilter)(e),updatePagination:e=>(0,o.updatePagination)(e),updateAdvanceSearchText:e=>(0,o.updateAdvanceSearchText)(e),updateAllAdvanceFilters:(e,t,a,i)=>(0,o.updateAllAdvanceFilters)(e,t,a,i)},P=e=>({advancedFilterData:e.advanceFilter,user:e.user}),L=(0,l.connect)(P,j)(I)},25427,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(17419),n=e.i(66196),s=e.i(33999),l=e.i(22038);let o=e=>{let o,c,d,u,h,f,p,m,g=(0,a.c)(33),[b,_]=(0,i.useState)(!1),[y,x]=(0,i.useState)(!1),{advanceFilterData:v,filterTitle:A,filterText:w,isCareerSearch:E,labelItemsSelected:S,handleSearch:C,setClear:T,applyFiltertext:N,clearAllText:k,handleAdditionalFilters:I,applyAdditionalFilters:j,selectedFilters:P,currentSearchText:L}=e;g[0]!==P?(o=void 0===P?{}:P,g[0]=P,g[1]=o):o=g[1];let O=o,D=void 0===L?"":L,M=(0,l.default)("(max-width: 991px)");g[2]!==y||g[3]!==T?(c=()=>{x(!y),T?.(y)},g[2]=y,g[3]=T,g[4]=c):c=g[4];let R=c;g[5]===Symbol.for("react.memo_cache_sentinel")?(d=e=>{_(e)},g[5]=d):d=g[5];let F=d,B=E?"anchor-no-underline":"anchor";g[6]!==w||g[7]!==A?(u=A&&(0,t.jsx)(n.Row,{className:"search-filter-head",children:(0,t.jsx)(r.Column,{desktop:12,tablet:12,mobile:12,className:"search-filter-head-container search-filter-top",children:A?(0,t.jsxs)("div",{className:"filter-title",children:[(0,t.jsx)("h4",{children:A}),(0,t.jsxs)("p",{children:[w," "]})]}):(0,t.jsx)(t.Fragment,{})})}),g[6]=w,g[7]=A,g[8]=u):u=g[8];let U=`search-filter-clear ${!b&&M&&E?"hideFilters":""}`;g[9]!==k||g[10]!==R||g[11]!==B?(h=(0,t.jsx)(r.Column,{desktop:12,tablet:12,mobile:12,className:"search-filter-clear-container search-filter-top",children:k?(0,t.jsx)("div",{className:"filter-clear",children:(0,t.jsx)("span",{tabIndex:0,role:"button",className:B,onClick:R,children:k})}):(0,t.jsx)(t.Fragment,{})}),g[9]=k,g[10]=R,g[11]=B,g[12]=h):h=g[12],g[13]!==U||g[14]!==h?(f=(0,t.jsx)(n.Row,{className:U,children:h}),g[13]=U,g[14]=h,g[15]=f):f=g[15];let H=!!E;return g[16]!==v||g[17]!==j||g[18]!==N||g[19]!==k||g[20]!==D||g[21]!==I||g[22]!==R||g[23]!==C||g[24]!==y||g[25]!==S||g[26]!==O||g[27]!==H?(p=(0,t.jsx)(n.Row,{className:"search-filter-action",children:(0,t.jsx)(r.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsx)(s.default,{...v,labelItemsSelected:S,handleFilterBtnToggle:F,handleSearch:C,isCleared:y,isCareerSearch:H,handleClear:R,applyFiltertext:N,clearAllText:k,handleAdditionalFilters:I,selectedFilters:O,applyAdditionalFilters:j,currentSearchText:D})})}),g[16]=v,g[17]=j,g[18]=N,g[19]=k,g[20]=D,g[21]=I,g[22]=R,g[23]=C,g[24]=y,g[25]=S,g[26]=O,g[27]=H,g[28]=p):p=g[28],g[29]!==p||g[30]!==u||g[31]!==f?(m=(0,t.jsxs)("div",{className:"search-filter-section scroll-top",children:[u,f,p]}),g[29]=p,g[30]=u,g[31]=f,g[32]=m):m=g[32],m}},75366,e=>{"use strict";var t=e.i(68543);e.s(["CheckBox",()=>t.default])},98601,e=>{"use strict";e.s(["default",()=>b]);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(22276),n=e.i(31808);e.i(48756);var s=e.i(38233),l=e.i(75366),o=e.i(17419),c=e.i(60832),d=e.i(5223),u=e.i(66196),h=e.i(3828),f=e.i(33999),p=e.i(22038),m=e.i(18221),g=e.i(17503);let b=e=>{let b,x,v,A,w,E,S,C,T,N,k,I,j,P,L,O,D,M,R=(0,a.c)(72),{searchFieldData:F,clearFilterText:B,labelItemsSelected:U,handleSearch:H,filterData:$,applyFiltertext:G,handleAdditionalFilters:W,applyAdditionalFilters:Y,searchArgs:z,currentSearchText:V,handleSearchText:K}=e,q=void 0===V?"":V,[Q,Z]=(0,i.useState)(!1),[X,J]=(0,i.useState)(!1),[ee,et]=(0,i.useState)(q);R[0]===Symbol.for("react.memo_cache_sentinel")?(b=[],R[0]=b):b=R[0];let[ea,ei]=(0,i.useState)(b);R[1]===Symbol.for("react.memo_cache_sentinel")?(x={},R[1]=x):x=R[1];let[er,en]=(0,i.useState)(x),es=(0,r.useSelector)(_,r.shallowEqual),el=(0,r.useDispatch)(),eo=(0,h.useRouter)(),ec=(0,p.default)("(max-width: 991px)");R[2]!==el?(v=e=>el((0,n.updateProductFilter)(e)),R[2]=el,R[3]=v):v=R[3];let ed=v;R[4]!==X||R[5]!==eo||R[6]!==ee||R[7]!==ed?(A=()=>{J(!X),ed(0),eo.push({pathname:window.location.pathname,query:{category:"",search:ee}},void 0,{shallow:!0})},R[4]=X,R[5]=eo,R[6]=ee,R[7]=ed,R[8]=A):A=R[8];let eu=A;R[9]===Symbol.for("react.memo_cache_sentinel")?(w=e=>{Z(e)},R[9]=w):w=R[9];let eh=w;R[10]!==e.resultLabels?.resultsFoundText?(E=t=>e?.resultLabels?.resultsFoundText.replace("@product_list_count_val",t.toString()),R[10]=e.resultLabels?.resultsFoundText,R[11]=E):E=R[11];let ef=E;R[12]!==Y||R[13]!==ee?(S=()=>{Y(ee),eh(!1)},R[12]=Y,R[13]=ee,R[14]=S):S=R[14];let ep=S;R[15]!==ea||R[16]!==$||R[17]!==H||R[18]!==eo||R[19]!==ee||R[20]!==ed?(C=(e,t,a)=>{let i=[...ea];i=e.target?.checked&&!i.includes(a.id)?[...i,a.id]:ea.filter(e=>e!==a.id),H(ee),$.forEach((e,a)=>{e.label===t&&ed(a)}),eo.push({pathname:window.location.pathname,query:{category:i.join(","),search:ee}},void 0,{shallow:!0})},R[15]=ea,R[16]=$,R[17]=H,R[18]=eo,R[19]=ee,R[20]=ed,R[21]=C):C=R[21];let em=C;R[22]!==H?(T=e=>{et(e),H(e)},R[22]=H,R[23]=T):T=R[23];let eg=T;R[24]!==K?(N=e=>{K?.(e),et(e)},R[24]=K,R[25]=N):N=R[25];let eb=N;R[26]!==$||R[27]!==eo.query?.category?(k=()=>{let e=eo?.query?.category||"",t=e?.split(",");en($?.reduce((e,a)=>{let{label:i,taxonomies:r}=a;return{...e,[i]:r.filter(e=>
35t.includes(e?.id))}},{})),ei(t)},R[26]=$,R[27]=eo.query?.category,R[28]=k):k=R[28];let e_=eo?.query;R[29]!==e_?(I=[e_],R[29]=e_,R[30]=I):I=R[30],(0,i.useEffect)(k,I),R[31]!==ea||R[32]!==$||R[33]!==em?(j=$?.map(e=>({title:e.label,content:e.taxonomies?.map(a=>(0,t.jsx)(l.CheckBox,{value:a?.id,label:a?.label,isChecked:ea.includes(a?.id),onChange:t=>em(t,e.label,a)},a?.id))})),R[31]=ea,R[32]=$,R[33]=em,R[34]=j):j=R[34],R[35]!==j?(P={accordionArray:j},R[35]=j,R[36]=P):P=R[36];let ey=P;R[37]!==G||R[38]!==ep?(L=(0,t.jsx)("div",{className:"search-filter-bar-hcontrol search-filter-bar-modal-element-applyBox",children:(0,t.jsx)(s.Button,{type:"button",className:"search-button",tabindex:1,onClick:ep,children:G})}),R[37]=G,R[38]=ep,R[39]=L):L=R[39];let ex=L;return R[40]!==ey||R[41]!==B||R[42]!==q||R[43]!==ef||R[44]!==eu||R[45]!==H||R[46]!==ec||R[47]!==e.resultLength||R[48]!==z||R[49]!==es||R[50]!==eb?(O=!ec&&(0,t.jsxs)("div",{className:"advanceSearchFilterWithAccordion-sidebar scroll-top",children:[(0,t.jsx)(g.default,{...z,handleTextSearch:H,handleTextChange:eb,currentSearchText:q,buttonType:"button",className:"advanceSearchFilterWithAccordion-search"}),(0,t.jsxs)("div",{className:"group-result-and-filter",children:[(0,t.jsx)("h5",{className:"advanceSearchFilterWithAccordion-resultcount",tabIndex:0,children:ef(e?.resultLength)}),(0,t.jsx)("span",{className:"search-filter-bar-modal-element-filter-clear advanceSearchFilterWithAccordion-clearFilter",children:(0,t.jsx)("span",{"aria-hidden":"true",onClick:eu,children:B})})]}),(0,t.jsx)("div",{className:"advanceSearchFilterWithAccordion-accordion",children:(0,t.jsx)(m.default,{selectedIndex:es,...ey})})]}),R[40]=ey,R[41]=B,R[42]=q,R[43]=ef,R[44]=eu,R[45]=H,R[46]=ec,R[47]=e.resultLength,R[48]=z,R[49]=es,R[50]=eb,R[51]=O):O=R[51],R[52]!==ex||R[53]!==B||R[54]!==Q||R[55]!==$||R[56]!==ef||R[57]!==W||R[58]!==eg||R[59]!==eu||R[60]!==K||R[61]!==X||R[62]!==ec||R[63]!==U||R[64]!==e.resultLength||R[65]!==F||R[66]!==ee||R[67]!==er?(D=ec&&(0,t.jsxs)("div",{className:"search-filter-section scroll-top",children:[(0,t.jsx)(u.Row,{className:`search-filter-clear ${!Q&&ec?"hideFilters":""}`,children:(0,t.jsxs)(o.Column,{desktop:12,tablet:12,mobile:12,className:"search-filter-clear-container search-filter-top",children:[(0,t.jsx)("span",{className:"search-filter-bar-modal-overlay",children:" "}),(0,t.jsxs)("div",{className:"search-filter-bar-modal-element",children:[$?.map(e=>{let{label:a,taxonomies:i}=e;return(0,t.jsxs)("div",{className:`search-filter-bar-element ${!Q&&ec?"hideFilters":""}`,children:[(0,t.jsx)(d.RichText,{className:"title",content:a}),(0,t.jsx)(c.DropDown,{options:i.map(y),name:a,ariaLabel:a,intialValue:er?.[a]||[],isMulti:!0,labelItemsSelected:U,onValueChange:e=>W(a,e),isCleared:X})]},a)}),ex,(0,t.jsx)("div",{className:"search-filter-bar-modal-element-filter-clear",children:(0,t.jsx)("span",{"aria-hidden":"true",onClick:eu,children:B})})]})]})}),(0,t.jsx)(u.Row,{className:"search-filter-action",children:(0,t.jsxs)(o.Column,{desktop:12,tablet:12,mobile:12,children:[(0,t.jsx)(f.default,{...F,labelItemsSelected:U,handleFilterBtnToggle:eh,handleSearch:eg,isCleared:X,handleAdditionalFilters:W,currentSearchText:ee,handleSearchText:K}),(0,t.jsx)("h5",{className:"advanceSearchFilterWithAccordion-resultcount",tabIndex:0,children:ef(e?.resultLength)})]})})]}),R[52]=ex,R[53]=B,R[54]=Q,R[55]=$,R[56]=ef,R[57]=W,R[58]=eg,R[59]=eu,R[60]=K,R[61]=X,R[62]=ec,R[63]=U,R[64]=e.resultLength,R[65]=F,R[66]=ee,R[67]=er,R[68]=D):D=R[68],R[69]!==O||R[70]!==D?(M=(0,t.jsxs)(t.Fragment,{children:[O,D]}),R[69]=O,R[70]=D,R[71]=M):M=R[71],M};function _(e){return e?.common?.accordianProductFilterIndex}function y(e){return{id:e?.id,value:e?.id,label:e?.label}}},14755,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(49266);let n=e=>{let n,l,o,c,d,u,h,f=(0,a.c)(16),{trigger:p,children:m,overlayContent:g,closeIconName:b}=e,_=void 0===b?"CloseOverlay":b,[y,x]=(0,i.useState)(!1);return f[0]!==y?(n=()=>{if(!y)return;let e=e=>{"Escape"===e.key&&x(!1)};return document.body.classList.add("overlay-viewer-enabled"),document.addEventListener("keydown",e),()=>{document.body.classList.remove("overlay-viewer-enabled"),document.removeEventListener("keydown",e)}},l=[y],f[0]=y,f[1]=n,f[2]=l):(n=f[1],l=f[2]),(0,i.useEffect)(n,l),f[3]===Symbol.for("react.memo_cache_sentinel")?(o=()=>x(!0),f[3]=o):o=f[3],f[4]!==p?(c=(0,t.jsx)("button",{type:"button",className:"overlay-viewer-trigger",onClick:o,children:p}),f[4]=p,f[5]=c):c=f[5],f[6]!==m||f[7]!==c?(d=(0,t.jsxs)("div",{className:"overlay-viewer",children:[m,c]}),f[6]=m,f[7]=c,f[8]=d):d=f[8],f[9]!==_||f[10]!==y||f[11]!==g?(u=y&&(0,t.jsx)("div",{className:"overlay-viewer-overlay",onClick:()=>x(!1),children:(0,t.jsxs)("div",{className:"overlay-viewer-content",onClick:s,children:[(0,t.jsx)("button",{type:"button",className:"overlay-viewer-close",onClick:()=>x(!1),children:(0,t.jsx)(r.Icon,{iconName:_})}),(0,t.jsx)("div",{className:"overlay-viewer-body",children:g})]})}),f[9]=_,f[10]=y,f[11]=g,f[12]=u):u=f[12],f[13]!==d||f[14]!==u?(h=(0,t.jsxs)(t.Fragment,{children:[d,u]}),f[13]=d,f[14]=u,f[15]=h):h=f[15],h};function s(e){return e.stopPropagation()}},67589,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(70184),n=e.i(49266),s=e.i(14755);let l=e=>{let l,o,c,d,u,h,f=(0,a.c)(13),{imageProps:p,overlayImageProps:m}=e;f[0]!==m?.imageUrl?(l=()=>{m?.imageUrl&&(new Image().src=m?.imageUrl)},f[0]=m?.imageUrl,f[1]=l):l=f[1];let g=m?.imageUrl;f[2]!==g?(o=[g],f[2]=g,f[3]=o):o=f[3],(0,i.useEffect)(l,o),f[4]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(n.Icon,{iconName:"ZoomImageButton"}),f[4]=c):c=f[4];let b=m?.imageUrl,_=m?.alt;
35return f[5]!==b||f[6]!==_?(d=(0,t.jsx)("img",{className:"image-magnifier-image",src:b,alt:_}),f[5]=b,f[6]=_,f[7]=d):d=f[7],f[8]!==p?(u=(0,t.jsx)(r.Img,{...p}),f[8]=p,f[9]=u):u=f[9],f[10]!==d||f[11]!==u?(h=(0,t.jsx)(s.default,{trigger:c,overlayContent:d,children:u}),f[10]=d,f[11]=u,f[12]=h):h=f[12],h}},28614,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398);e.i(48756);var a=e.i(17419),i=e.i(6271),r=e.i(49266),n=e.i(70184),s=e.i(91788),l=e.i(75957),o=e.i(75842),c=e.i(90356);e.i(41871);var d=e.i(87612),u=e.i(67589);let h=({isImageMagnifierEnabled:e,articleTeaserMagnifierImage:h,articleTeaserContent:f,articleTeaserImage:p,compositionType:m,imagePosition:g,containerDefault:b,className:_})=>{let y=m===c.EArticleTeaserCompositionType.CONTACT_TEASER,x=g===c.EArticleTeaserImagePosition.IMAGE_RIGHT,v={width:b===c.EArticleTeaserContainerDefault.CONTAINER_NARROW?"374":"568",height:b===c.EArticleTeaserContainerDefault.CONTAINER_NARROW?"255":"379"},A=_?`article-teaser ${_}`:"article-teaser";Object.assign(p?.desktopImage??{},{...v});let w=(0,d.useMediaQuery)("(max-width: 767px)"),E=(0,s.useMemo)(()=>!w||w&&!p?.mobileImage?.src,[p?.mobileImage,w]),S=(0,s.useMemo)(()=>{let i=p?.desktopImage?.styledimage,r=p?.mobileImage?.styledimage,s=w?"article_Teaser_product_range_plp":"article_teaser_latest_articles",l=(r?!p?.desktopImage?.src?.includes("isPaywall=true"):p?.mobileImage?.src?.includes("isPaywall=true"))?p?.mobileImage?.src:p?.desktopImage?.src,o=r?p?.mobileImage?.alt:p?.desktopImage?.alt,{height:c,width:d}=p?.desktopImage,f=w?p?.mobileImage?.width:d,m=w?p?.mobileImage?.height:c,g={...h,imageUrl:h?.imageUrl??(w?p?.mobileImage?.src??p?.desktopImage?.src:p?.desktopImage?.src),alt:h?.alt??(w?p?.mobileImage?.alt??p?.desktopImage?.alt:p?.desktopImage?.alt)},b=(0,t.jsx)(a.Column,{desktop:6,tablet:6,mobile:12,className:"article-teaser-image",children:e?(0,t.jsx)(u.default,{imageProps:{className:"article-teaser-image-content",type:s,styledimage:!E&&(r||p?.mobileImage?.src?.includes("isPaywall=true"))?r:i,src:l??null,alt:o??"",width:f??358,height:m??220},overlayImageProps:{...g}}):(0,t.jsx)(n.Img,{className:"article-teaser-image-content",type:s,styledimage:!E&&(r||p?.mobileImage?.src?.includes("isPaywall=true"))?r:i,src:l??null,alt:o??"",width:f??358,height:m??220})});return i||r?b:(0,t.jsx)(a.Column,{desktop:6,tablet:6,mobile:12,className:"article-teaser-fluid-image",children:e?(0,t.jsx)(u.default,{imageProps:{className:"article-teaser-image-content",type:"default",width:"358",height:"220",...p?.desktopImage},overlayImageProps:{...g}}):(0,t.jsx)(n.Img,{className:"article-teaser-image-content",type:"default",width:358,height:220,...p?.desktopImage})})},[p,E,w]);return(0,t.jsx)(i.Container,{className:"no-section-padding",narrow:b===c.EArticleTeaserContainerDefault.CONTAINER_NARROW,children:(0,t.jsx)("div",{className:A,dir:(0,l.default)(),children:(0,t.jsxs)("div",{className:"row",children:[!x&&p?S:(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(a.Column,{desktop:6,tablet:6,mobile:12,className:`article-teaser-content-${x?"left":"right"}`,children:(0,t.jsx)(o.default,{...f,buttonIcon:y&&(0,t.jsx)(r.Icon,{iconName:"MapIcon"})})}),x&&p?S:(0,t.jsx)(t.Fragment,{})]})})})}},99213,e=>{"use strict";e.s(["default",()=>d],99213);var t=e.i(91398),a=e.i(91788),i=e.i(90356);e.i(48756);var r=e.i(66196),n=e.i(17419),s=e.i(6271),l=e.i(70184);e.i(35958);var o=e.i(75842),o=o;e.i(41871);var c=e.i(87612);let d=e=>{let d=(0,c.useMediaQuery)("(max-width: 767px)"),u=(0,a.useMemo)(()=>!d||d&&!e?.articleTeaserImage?.mobileImage?.src,[e.articleTeaserImage.mobileImage,d]),h=e.articleTeaserContent,f=e.imagePosition===i.EArticleTeaserImagePosition.IMAGE_RIGHT,p=()=>e.className&&!e.subTheme?`article-teaser-fluid ${e.className} `:e.subTheme?`article-teaser-subTheme ${e.className}`:"article-teaser-fluid ",m=(0,a.useMemo)(()=>{let a=e?.articleTeaserImage?.desktopImage?.styledimage,i=e?.articleTeaserImage?.mobileImage?.styledimage,r=d?"article_Teaser_product_range_plp":"article_teaser_support_material",s=(i?!e?.articleTeaserImage?.desktopImage?.src?.includes("isPaywall=true"):e?.articleTeaserImage?.mobileImage?.src?.includes("isPaywall=true"))?e?.articleTeaserImage?.mobileImage?.src:e?.articleTeaserImage?.desktopImage?.src,o=i?e?.articleTeaserImage?.mobileImage?.alt:e?.articleTeaserImage?.desktopImage?.alt,{height:c,width:h}=e?.articleTeaserImage?.desktopImage,f=d?e?.articleTeaserImage?.mobileImage?.
35width:h,p=d?e?.articleTeaserImage?.mobileImage?.height:c,m=(0,t.jsx)(n.Column,{desktop:6,tablet:6,mobile:12,className:"article-teaser-fluid-image",children:(0,t.jsx)(l.Img,{className:"article-teaser-image-content",type:r,styledimage:!u&&(i||e?.articleTeaserImage?.mobileImage?.src?.includes("isPaywall=true"))?i:a,src:s??null,alt:o??"",width:f??358,height:p??220})});return a||i?m:(0,t.jsx)(n.Column,{desktop:6,tablet:6,mobile:12,className:"article-teaser-fluid-image",children:(0,t.jsx)(l.Img,{className:"article-teaser-image-content",type:"default",width:358,height:220,...e?.articleTeaserImage?.desktopImage})})},[e?.articleTeaserImage?.desktopImage,e?.articleTeaserImage?.mobileImage,u,d]);return(0,t.jsx)(s.Container,{fluid:!0,background:e.subTheme?"subTheme-colBg":"",children:(0,t.jsx)("div",{className:p(),children:(0,t.jsxs)(r.Row,{className:"article-teaser-fluid-blockAlign",children:[!f&&e?.articleTeaserImage?m:(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(n.Column,{desktop:6,tablet:6,mobile:12,className:`article-teaser-fluid-content-${f?"left":"right"}`,children:(0,t.jsx)(o.default,{...h})}),f&&e?.articleTeaserImage?m:(0,t.jsx)(t.Fragment,{})]})})})}},68422,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(75842);let n=e=>{let i,r,n=(0,a.c)(5),l=e.articleTeaserSingleContentGroup;if(l&&l?.length<=0){let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),n[0]=e):e=n[0],e}return n[1]!==l?(i=l&&l.map(s),n[1]=l,n[2]=i):i=n[2],n[3]!==i?(r=(0,t.jsx)(t.Fragment,{children:i}),n[3]=i,n[4]=r):r=n[4],r};function s(e,a){return(0,t.jsx)(i.Column,{mobile:12,tablet:6,desktop:6,className:"articleTeaserGroup-teaserCol",children:(0,t.jsx)(r.default,{...e},a)},a)}},62467,e=>{"use strict";e.s(["default",()=>m]);var t=e.i(91398),a=e.i(91788),i=e.i(3828);e.i(48756);var r=e.i(38233),n=e.i(49266),s=e.i(28203),l=e.i(75425),o=e.i(15315),c=e.i(79021),d=e.i(82108),u=e.i(10828),h=e.i(97268),f=e.i(82054),p=e.i(43927);let m=e=>{let[m,g]=(0,a.useState)({}),b=(0,a.useContext)(f.default);(0,a.useEffect)(()=>{(()=>{let e=b.applicationConfiguration.siteConfig;g({auto_no_result_text:e?.search_no_results_text_autosuggest??null,search_title:e?.search_title??null,search_help_text:e?.search_help_text??null,search_results_found_text:e?.rss_alt??null})})()},[b.applicationConfiguration.siteConfig]);let{className:_,isDisabled:y,handleTextSearch:x}=e,[v,A]=(0,a.useState)(""),[w,E]=(0,a.useState)(!0),[S,C]=(0,a.useState)(!1),[T,N]=(0,a.useState)([]),{isDataReady:k,...I}=(0,p.default)(),j=(0,i.useRouter)(),P={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",border:"0"},L=l.default.ONE,O=l.default.FIVE,D=async e=>{if(e.length>L){let t=await (0,o.getApi)(`solarapi/search/autosuggest/search_autocomplete?display=suggester&filter=search&q=${e}`);N(t?.length>O?t.slice(l.default.ZERO,O):t)}else N([]);E(!1)},M=(0,a.useCallback)((0,c.default)(e=>D(e),500),[]);(0,a.useEffect)(()=>{v&&(E(!0),M(v))},[v]);let R=e=>{let a=e.split(RegExp(`(${v})`,"gi"));return(0,t.jsx)("span",{children:a.map((e,a)=>e.toLowerCase()===v.toLowerCase()?e:(0,t.jsx)("b",{children:e},a))})},F=e=>""!==v&&e?R(e):e,B=()=>{C(!1)},U=(e,t)=>{C(!1),t!==v&&A(t),x(t||v,e);let a={search_term:v,search_filters:t,intractionName:u.EVENTS.SEARCH,...I};k&&(0,d.dataLayerPush)(u.EVENTS.SEARCH,a),j.push({pathname:"/search",query:{search:t}})},H=(e,t)=>{"Enter"===e.key&&U(e,t)},$=()=>{C(!0)};return(0,t.jsx)("div",{className:`auto-search-group-no-padding ${_}`,children:(0,t.jsxs)("form",{role:m.search_title,className:"auto-search-group",onSubmit:e=>U(e,v),children:[(0,t.jsxs)("div",{className:"search-content-bar",children:[(0,t.jsx)("label",{htmlFor:"site-search-input",style:P,children:m.search_help_text}),(0,t.jsx)(s.Input,{id:"site-search-input",className:`search-group-input-align search-box ${""===v?"search-group-input-align search-box-searchicon":""}`,value:v,useStateValue:!1,type:"search",placeholder:m.search_help_text,setTextInput:A,onFocus:$,onChange:$,"aria-label":m.search_help_text}),(0,t.jsx)("div",{id:"suggestion-status",role:"status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:S&&!w&&v.length>L&&`${T?.length} ${m.search_results_found_text}`}),S&&v.length>L&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("div",{className:"search-output",id:"suggestion-list",role:"listbox",children:(0,t.jsxs)("ul",{children:[w&&(0,t.jsx)("li",{role:"option",tabIndex:0,children:(0,t.jsx)(h.default,{display:w})}),!w&&(T?.length>0?(0,t.jsx)(t.Fragment,{children:T.map((e,a)=>(0,t.jsx)("li",{className:"search-output-item",role:"option",tabIndex:0,onKeyDown:t=>H(t,e),children:(0,t.jsx)("button",{onClick:t=>
35U(t,e),type:"button","aria-label":e,tabIndex:-1,children:F(e)})},`${a+e}`))}):(0,t.jsx)("li",{role:"option",tabIndex:0,children:m.auto_no_result_text}))]})}),(0,t.jsx)("div",{className:"blanket",onClick:B})]})]}),(0,t.jsx)("div",{className:"search-group-space-between"}),(0,t.jsx)(r.Button,{className:"search-group-button-align",tabindex:1,type:"submit",isDisabled:!!y&&v?.trim().length<l.default.THREE,icon:!!e?.showIconOnCTA&&(0,t.jsx)(n.Icon,{iconName:"Search1",color:"currentColor",className:"search-group-button-icon"}),iconPosition:"right",ariaLabel:m.search_title,children:m.search_title})]})})}},74750,33751,e=>{"use strict";e.s(["GoBackButton",()=>l],74750),e.s(["default",()=>l],33751);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(49266),r=e.i(17626),n=e.i(6271),s=e.i(66196);let l=e=>{let l,c,d=(0,a.c)(10),{refererUrl:u,goback_details_button_label_text:h,goback_details_target_url:f,className:p}=e;d[0]!==p?(l=()=>{let e=[];return e.push("goBackButton"),p&&e.push(p),e.join(" ")},d[0]=p,d[1]=l):l=d[1];let m=l,{host:g}=globalThis.location,b=f?.split(","),_=o,y=[];b.map(e=>{if(e){let t=_(e);t?y.push(t):y.push(e)}});let x=new URL(u).host;if(y?.includes(e=>e===x)&&x!==g){let e,a,l,o=m(),c=u??"";return d[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(i.Icon,{iconName:"
35chevronLeftIconGo"}),d[2]=e):e=d[2],d[3]!==h||d[4]!==c?(a=(0,t.jsx)(r.AnchorButton,{href:c,tabindex:0,isSecondary:!0,isExternal:!1,icon:e,children:h}),d[3]=h,d[4]=c,d[5]=a):a=d[5],d[6]!==o||d[7]!==a?(l=(0,t.jsx)(n.Container,{children:(0,t.jsx)(s.Row,{children:(0,t.jsx)("div",{className:o,children:a})})}),d[6]=o,d[7]=a,d[8]=l):l=d[8],l}return d[9]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(t.Fragment,{}),d[9]=c):c=d[9],c};function o(e){try{return new URL(e).host}catch{return null}}},14694,e=>{"use strict";let t={TOP:"top",BOTTOM:"bottom",BOTH:"both"};e.s(["default",0,t])},62423,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(6271),n=e.i(74750),s=e.i(49266),l=e.i(14694);let o=e=>{let o,c,d,u,h,f,p=(0,a.c)(15),{breadcrumbs:m,selectedTitle:g,referer:b}=e;p[0]!==b?(o=b&&b?.refererUrl!==""&&b?.goback_details_enable===1&&(b?.goback_details_button_position===l.default.TOP||b?.goback_details_button_position===l.default.BOTH)&&(0,t.jsx)(n.GoBackButton,{refererUrl:b?.refererUrl??document?.referrer,goback_details_target_url:b?.goback_details_target_url,goback_details_button_label_text:b?.goback_details_button_label_text,className:"top-margin"}),p[0]=b,p[1]=o):o=p[1],p[2]!==o?(c=(0,t.jsx)(t.Fragment,{children:o}),p[2]=o,p[3]=c):c=p[3];let _=c;return p[4]!==m?(d=m?.map((e,a)=>(0,t.jsxs)("p",{children:[(0,t.jsx)(i.Anchor,{href:e.path,className:e?.path=="route:<nolink>"?"breadcrumbs-link non-clickable":"breadcrumbs-link",tabindex:1,noUnderline:!0,children:e.title}),a<m?.length-1&&(0,t.jsx)(s.Icon,{iconName:"ChevronRightIcon5",height:18,width:18,className:"breadcrumbs-icon"})]},`${e.path}-${a}`)),p[4]=m,p[5]=d):d=p[5],p[6]!==m?.length||p[7]!==g?(u=g&&(0,t.jsxs)("p",{className:"breadcrumbs-active",children:[m?.length>0&&(0,t.jsx)(s.Icon,{iconName:"ChevronRightIcon5",height:18,width:18,className:"breadcrumbs-icon"}),g]}),p[6]=m?.length,p[7]=g,p[8]=u):u=p[8],p[9]!==d||p[10]!==u?(h=(0,t.jsx)(r.Container,{children:(0,t.jsxs)("div",{className:"breadcrumbs",children:[d,u]})}),p[9]=d,p[10]=u,p[11]=h):h=p[11],p[12]!==_||p[13]!==h?(f=(0,t.jsxs)(t.Fragment,{children:[_,h]}),p[12]=_,p[13]=h,p[14]=f):f=p[14],f}},85360,(e,t,a)=>{function i(e){this.options=e,e.deferSetup||this.setup()}i.prototype={constructor:i,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},t.exports=i},64564,(e,t,a)=>{t.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var a=0,i=e.length;a<i&&!1!==t(e[a],a);a++);}}},4495,(e,t,a)=>{var i=e.r(85360),r=e.r(64564).each;function n(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var a=this;this.listener=function(e){a.mql=e.currentTarget||e,a.assess()},this.mql.addListener(this.listener)}n.prototype={constuctor:n,addHandler:function(e){var t=new i(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;r(t,function(a,i){if(a.equals(e))return a.destroy(),!t.splice(i,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";r(this.handlers,function(t){t[e]()})}},t.exports=n},31309,(e,t,a)=>{var i=e.r(4495),r=e.r(64564),n=r.each,s=r.isFunction,l=r.isArray;
35function o(){if(!window.matchMedia)throw Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}o.prototype={constructor:o,register:function(e,t,a){var r=this.queries,o=a&&this.browserIsIncapable;return r[e]||(r[e]=new i(e,o)),s(t)&&(t={match:t}),l(t)||(t=[t]),n(t,function(t){s(t)&&(t={match:t}),r[e].addHandler(t)}),this},unregister:function(e,t){var a=this.queries[e];return a&&(t?a.removeHandler(t):(a.clear(),delete this.queries[e])),this}},t.exports=o},90017,(e,t,a)=>{t.exports=new(e.r(31309))},9417,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,a.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},25016,(e,t,a)=>{var i="Expected a function",r=0/0,n="[object Symbol]",s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt,u=e.g&&e.g.Object===Object&&e.g,h="object"==typeof self&&self&&self.Object===Object&&self,f=u||h||Function("return this")(),p=Object.prototype.toString,m=Math.max,g=Math.min,b=function(){return f.Date.now()};function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){return!!e&&"object"==typeof e}function x(e){return"symbol"==typeof e||y(e)&&p.call(e)==n}function v(e){if("number"==typeof e)return e;if(x(e))return r;if(_(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=_(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var a=o.test(e);return a||c.test(e)?d(e.slice(2),a?2:8):l.test(e)?r:+e}t.exports=function(e,t,a){var r,n,s,l,o,c,d=0,u=!1,h=!1,f=!0;if("function"!=typeof e)throw TypeError(i);function p(t){var a=r,i=n;return r=n=void 0,d=t,l=e.apply(i,a)}function y(e){return d=e,o=setTimeout(w,t),u?p(e):l}function x(e){var a=e-c,i=e-d,r=t-a;return h?g(r,s-i):r}function A(e){var a=e-c,i=e-d;return void 0===c||a>=t||a<0||h&&i>=s}function w(){var e=b();if(A(e))return E(e);o=setTimeout(w,x(e))}function E(e){return(o=void 0,f&&r)?p(e):(r=n=void 0,l)}function S(){return void 0===o?l:E(b())}function C(){var e=b(),a=A(e);if(r=arguments,n=this,c=e,a){if(void 0===o)return y(c);if(h)return o=setTimeout(w,t),p(c)}return void 0===o&&(o=setTimeout(w,t)),l}return t=v(t)||0,_(a)&&(u=!!a.leading,s=(h="maxWait"in a)?m(v(a.maxWait)||0,t):s,f="trailing"in a?!!a.trailing:f),C.cancel=function(){void 0!==o&&clearTimeout(o),d=0,r=c=n=o=void 0},C.flush=S,C}},72043,(e,t,a)=>{!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=n(e,r(a)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)a.call(e,r)&&e[r]&&(t=n(t,r));return t}function n(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)i.default=i,t.exports=i;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd){let t;void 0!==(t=i)&&e.v(t)}else window.classNames=i}()},99511,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=r(e.r(91788));function r(e){return e&&e.__esModule?e:{default:e}}a.default={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1}},56956,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.checkSpecKeys=a.checkNavigable=a.changeSlide=a.canUseDOM=a.canGoNext=void 0,a.clamp=h,a.extractObject=void 0,a.filterSettings=R,a.validSettings=a.swipeStart=a.swipeMove=a.swipeEnd=a.slidesOnRight=a.slidesOnLeft=a.slideHandler=a.siblingDirection=a.safePreventDefault=a.lazyStartIndex=a.lazySlidesOnRight=a.lazySlidesOnLeft=a.lazyEndIndex=a.keyHandler=a.initializedState=a.getWidth=a.getTrackLeft=a.getTrackCSS=a.getTrackAnimateCSS=a.getTotalSlides=a.getSwipeDirection=a.getSlideCount=a.getRequiredLazySlides=a.getPreClones=a.getPostClones=a.getOnDemandLazySlides=a.getNavigableIndexes=a.getHeight=void 0;var i=n(e.r(91788)),r=n(e.r(99511));
35function n(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function o(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach(function(t){c(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function c(e,t,a){return(t=d(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function d(e){var t=u(e,"string");return"symbol"==s(t)?t:String(t)}function u(e,t){if("object"!=s(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=s(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function h(e,t,a){return Math.max(t,Math.min(e,a))}var f=a.safePreventDefault=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},p=a.getOnDemandLazySlides=function(e){for(var t=[],a=m(e),i=g(e),r=a;r<i;r++)0>e.lazyLoadedList.indexOf(r)&&t.push(r);return t};a.getRequiredLazySlides=function(e){for(var t=[],a=m(e),i=g(e),r=a;r<i;r++)t.push(r);return t};var m=a.lazyStartIndex=function(e){return e.currentSlide-b(e)},g=a.lazyEndIndex=function(e){return e.currentSlide+_(e)},b=a.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+ +(parseInt(e.centerPadding)>0):0},_=a.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+ +(parseInt(e.centerPadding)>0):e.slidesToShow},y=a.getWidth=function(e){return e&&e.offsetWidth||0},x=a.getHeight=function(e){return e&&e.offsetHeight||0},v=a.getSwipeDirection=function(e){var t,a,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t=e.startX-e.curX,(a=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(a=360-Math.abs(a)),a<=45&&a>=0||a<=360&&a>=315)return"left";if(a>=135&&a<=225)return"right";if(!0===i)if(a>=35&&a<=135)return"up";else return"down";return"vertical"},A=a.canGoNext=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t};a.extractObject=function(e,t){var a={};return t.forEach(function(t){return a[t]=e[t]}),a},a.initializedState=function(e){var t,a=i.default.Children.count(e.children),r=e.listRef,n=Math.ceil(y(r)),s=Math.ceil(y(e.trackRef&&e.trackRef.node));if(e.vertical)t=n;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=n/100),t=Math.ceil((n-l)/e.slidesToShow)}var c=r&&x(r.querySelector('[data-index="0"]')),d=c*e.slidesToShow,u=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(u=a-1-e.initialSlide);var h=e.lazyLoadedList||[],f=p(o(o({},e),{},{currentSlide:u,lazyLoadedList:h})),m={slideCount:a,slideWidth:t,listWidth:n,trackWidth:s,currentSlide:u,slideHeight:c,listHeight:d,lazyLoadedList:h=h.concat(f)};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m},a.slideHandler=function(e){var t=e.waitForAnimate,a=e.animating,i=e.fade,r=e.infinite,n=e.index,s=e.slideCount,l=e.lazyLoad,c=e.currentSlide,d=e.centerMode,u=e.slidesToScroll,f=e.slidesToShow,m=e.useCSS,g=e.lazyLoadedList;if(t&&a)return{};var b,_,y,x=n,v={},w={},E=r?n:h(n,0,s-1);if(i){if(!r&&(n<0||n>=s))return{};n<0?x=n+s:n>=s&&(x=n-s),l&&0>g.indexOf(x)&&(g=g.concat(x)),v={animating:!0,currentSlide:x,lazyLoadedList:g,targetSlide:x},w={animating:!1,targetSlide:x}}else b=x,x<0?(b=x+s,r?s%u!=0&&(b=s-s%u):b=0):!A(e)&&x>c?x=b=c:d&&x>=s?(x=r?s:s-1,b=r?0:s-1):x>=s&&(b=x-s,r?s%u!=0&&(b=0):b=s-f),!r&&x+f>=s&&(b=s-f),_=k(o(o({},e),{},{slideIndex:x})),y=k(o(o({},e),{},{slideIndex:b})),r||(_===y&&(x=b),_=y),l&&(g=g.concat(p(o(o({},e),{},{currentSlide:x})))),m?(v={animating:!0,currentSlide:b,trackStyle:N(o(o({},e),{},{left:_})),lazyLoadedList:g,targetSlide:E},w={animating:!1,currentSlide:b,trackStyle:T(o(o({},e),{},{left:y})),swipeLeft:null,targetSlide:E}):v={currentSlide:b,trackStyle:T(o(o({},e),{},{left:y})),lazyLoadedList:g,targetSlide:E};return{state:v,nextState:w}},a.changeSlide=function(e,t){var a,i,r,n,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,d=e.currentSlide,u=e.targetSlide,h=e.lazyLoad,f=e.infinite;if(a=c%s!=0?0:(c-d)%s,"previous"===t.message)n=d-(r=0===a?s:l-a),h&&!f&&(n=-1==(i=d-r)?c-1:i),f||(n=u-s);else if("next"===t.message)n=d+(r=0===a?s:a),h&&!f&&(n=(d+s)%c+a),f||(n=u+s);
35else if("dots"===t.message)n=t.index*t.slidesToScroll;else if("children"===t.message){if(n=t.index,f){var p=L(o(o({},e),{},{targetSlide:n}));n>t.currentSlide&&"left"===p?n-=c:n<t.currentSlide&&"right"===p&&(n+=c)}}else"index"===t.message&&(n=Number(t.index));return n},a.keyHandler=function(e,t,a){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?a?"next":"previous":39===e.keyCode?a?"previous":"next":""},a.swipeStart=function(e,t,a){return("IMG"===e.target.tagName&&f(e),t&&(a||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:""},a.swipeMove=function(e,t){var a=t.scrolling,i=t.animating,r=t.vertical,n=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,c=t.currentSlide,d=t.edgeFriction,u=t.edgeDragged,h=t.onEdge,p=t.swiped,m=t.swiping,g=t.slideCount,b=t.slidesToScroll,_=t.infinite,y=t.touchObject,x=t.swipeEvent,w=t.listHeight,E=t.listWidth;if(!a){if(i)return f(e);r&&n&&s&&f(e);var S,C={},N=k(t);y.curX=e.touches?e.touches[0].pageX:e.clientX,y.curY=e.touches?e.touches[0].pageY:e.clientY,y.swipeLength=Math.round(Math.sqrt(Math.pow(y.curX-y.startX,2)));var I=Math.round(Math.sqrt(Math.pow(y.curY-y.startY,2)));if(!s&&!m&&I>10)return{scrolling:!0};s&&(y.swipeLength=I);var j=(l?-1:1)*(y.curX>y.startX?1:-1);s&&(j=y.curY>y.startY?1:-1);var P=Math.ceil(g/b),L=v(t.touchObject,s),O=y.swipeLength;return!_&&(0===c&&("right"===L||"down"===L)||c+1>=P&&("left"===L||"up"===L)||!A(t)&&("left"===L||"up"===L))&&(O=y.swipeLength*d,!1===u&&h&&(h(L),C.edgeDragged=!0)),!p&&x&&(x(L),C.swiped=!0),S=r?N+w/E*O*j:l?N-O*j:N+O*j,s&&(S=N+O*j),C=o(o({},C),{},{touchObject:y,swipeLeft:S,trackStyle:T(o(o({},t),{},{left:S}))}),Math.abs(y.curX-y.startX)<.8*Math.abs(y.curY-y.startY)||y.swipeLength>10&&(C.swiping=!0,f(e)),C}},a.swipeEnd=function(e,t){var a=t.dragging,i=t.swipe,r=t.touchObject,n=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,u=t.scrolling,h=t.onSwipe,p=t.targetSlide,m=t.currentSlide,g=t.infinite;if(!a)return i&&f(e),{};var b=l?c/s:n/s,_=v(r,l),y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(u||!r.swipeLength)return y;if(r.swipeLength>b){f(e),h&&h(_);var x,A,w=g?m:p;switch(_){case"left":case"up":A=w+S(t),x=d?E(t,A):A,y.currentDirection=0;break;case"right":case"down":A=w-S(t),x=d?E(t,A):A,y.currentDirection=1;break;default:x=w}y.triggerSlideHandler=x}else{var C=k(t);y.trackStyle=N(o(o({},t),{},{left:C}))}return y};var w=a.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,a=e.infinite?-1*e.slidesToShow:0,i=e.infinite?-1*e.slidesToShow:0,r=[];a<t;)r.push(a),a=i+e.slidesToScroll,i+=Math.min(e.slidesToScroll,e.slidesToShow);return r},E=a.checkNavigable=function(e,t){var a=w(e),i=0;if(t>a[a.length-1])t=a[a.length-1];else for(var r in a){if(t<a[r]){t=i;break}i=a[r]}return t},S=a.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(!e.swipeToSlide)return e.slidesToScroll;var a,i=e.listRef;if(Array.from(i.querySelectorAll&&i.querySelectorAll(".slick-slide")||[]).every(function(i){if(e.vertical){if(i.offsetTop+x(i)/2>-1*e.swipeLeft)return a=i,!1}else if(i.offsetLeft-t+y(i)/2>-1*e.swipeLeft)return a=i,!1;return!0}),!a)return 0;var r=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(a.dataset.index-r)||1},C=a.checkSpecKeys=function(e,t){return t.reduce(function(t,a){return t&&e.hasOwnProperty(a)},!0)?null:console.error("Keys Missing:",e)},T=a.getTrackCSS=function(e){C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,a,i=e.slideCount+2*e.slidesToShow;e.vertical?a=i*e.slideHeight:t=P(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var n=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=o(o({},r),{},{WebkitTransform:n,transform:s,msTransform:l})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),a&&(r.height=a),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},N=a.getTrackAnimateCSS=function(e){C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=T(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},k=a.getTrackLeft=function(e){if(e.unslick)return 0;C(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,a=e.trackRef,i=e.infinite,r=e.centerMode,n=e.slideCount,s=e.slidesToShow,l=e.slidesToScroll,o=e.slideWidth,c=e.listWidth,d=e.variableWidth,u=e.slideHeight,h=e.fade,f=e.vertical,p=0,m=0;if(h||1===e.slideCount)return 0;var g=0;if(i?(g=-I(e),n%l!=0&&t+l>n&&(g=-(t>n?s-(t-n):n%l)),r&&(g+=parseInt(s/2))):(n%l!=0&&t+l>n&&(g=s-n%l),r&&(g=parseInt(s/2))),p=g*o,m=g*u,b=f?-(t*u*1)+m:-(t*o*1)+p,!0===d){var b,_,y,x=a&&a.node;if(y=t+I(e),b=(_=x&&x.childNodes[y])?-1*_.offsetLeft:0,!0===r){y=i?t+I(e):t,_=x&&x.children[y],b=0;for(var v=0;v<y;v++)b-=x&&x.children[v]&&x.children[v].offsetWidth;b-=parseInt(e.centerPadding),b+=_&&(c-_.offsetWidth)/2}}return b},I=a.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+ +!!e.centerMode},j=a.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},P=a.getTotalSlides=function(e){return 1===e.slideCount?1:I(e)+e.slideCount+j(e)},L=a.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+O(e)?"left":"right":e.targetSlide<e.currentSlide-D(e)?"right":"left"},O=a.slidesOnRight=function(e){var t=e.slidesToShow,a=e.centerMode,i=e.rtl,r=e.centerPadding;if(a){var n=(t-1)/2+1;return parseInt(r)>0&&(n+=1),i&&t%2==0&&(n+=1),n}return i?0:t-1},D=a.slidesOnLeft=function(e){var t=e.slidesToShow,a=e.centerMode,i=e.rtl,r=e.centerPadding;if(a){var n=(t-1)/2+1;return parseInt(r)>0&&(n+=1),i||t%2!=0||(n+=1),n}return i?t-1:0};a.canUseDOM=function(){return!!("u">typeof window&&window.document&&window.document.createElement)};var M=a.validSettings=Object.keys(r.default);function R(e){return M.reduce(function(t,a){return e.hasOwnProperty(a)&&(t[a]=e[a]),t},{})}},69036,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.Track=void 0;var i=s(e.r(91788)),r=s(e.r(72043)),n=e.r(56956);
35function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign.bind()).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function d(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,A(i.key),i)}}function u(e,t,a){return t&&d(e.prototype,t),a&&d(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=b();return function(){var a,i=_(e);return a=t?Reflect.construct(i,arguments,_(this).constructor):i.apply(this,arguments),m(this,a)}}function m(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach(function(t){v(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function v(e,t,a){return(t=A(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function A(e){var t=w(e,"string");return"symbol"==l(t)?t:String(t)}function w(e,t){if("object"!=l(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=l(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var E=function(e){var t,a,i,r,n;return i=(n=e.rtl?e.slideCount-1-e.index:e.index)<0||n>=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),a=(n-e.currentSlide)%e.slideCount==0,n>e.currentSlide-r-1&&n<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=n&&n<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":a,"slick-cloned":i,"slick-current":n===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},S=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=+(e.currentSlide===e.index),t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},C=function(e,t){return e.key||t},T=function(e){var t,a=[],s=[],l=[],o=i.default.Children.count(e.children),c=(0,n.lazyStartIndex)(e),d=(0,n.lazyEndIndex)(e);return(i.default.Children.forEach(e.children,function(u,h){var f,p={message:"children",index:h,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(h)>=0?u:i.default.createElement("div",null);var m=S(x(x({},e),{},{index:h})),g=f.props.className||"",b=E(x(x({},e),{},{index:h}));if(a.push(i.default.cloneElement(f,{key:"original"+C(f,h),"data-index":h,className:(0,r.default)(b,g),tabIndex:"-1","aria-hidden":!b["slick-active"],style:x(x({outline:"none"},f.props.style||{}),m),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}})),e.infinite&&!1===e.fade){var _=o-h;_<=(0,n.getPreClones)(e)&&((t=-_)>=c&&(f=u),b=E(x(x({},e),{},{index:t})),s.push(i.default.cloneElement(f,{key:"precloned"+C(f,t),"data-index":t,tabIndex:"-1",className:(0,r.default)(b,g),"aria-hidden":!b["slick-active"],style:x(x({},f.props.style||{}),m),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))),(t=o+h)<d&&(f=u),b=E(x(x({},e),{},{index:t})),l.push(i.default.cloneElement(f,{key:"postcloned"+C(f,t),"data-index":t,tabIndex:"-1",className:(0,r.default)(b,g),"aria-hidden":!b["slick-active"],style:x(x({},f.props.style||{}),m),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))}}),e.rtl)?s.concat(a,l).reverse():s.concat(a,l)};a.Track=function(e){h(a,e);var t=p(a);function a(){var e;c(this,a);for(var i=arguments.length,r=Array(i),n=0;n<i;n++)r[n]=arguments[n];return v(g(e=t.call.apply(t,[this].concat(r))),"node",null),v(g(e),"handleRef",function(t){e.node=t}),e}return u(a,[{key:"render",value:function(){var e=T(this.props),t=this.props,a={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return i.default.createElement("div",o({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},a),e)}}]),a}(i.default.PureComponent)},69946,(e,t,a)=>{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(a,"__esModule",{value:!0}),a.Dots=void 0;var r=l(e.r(91788)),n=l(e.r(72043)),s=e.r(56956);
35function l(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?o(Object(a),!0).forEach(function(t){d(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function d(e,t,a){return(t=p(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function u(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function h(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,p(i.key),i)}}function f(e,t,a){return t&&h(e.prototype,t),a&&h(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e){var t=m(e,"string");return"symbol"==i(t)?t:String(t)}function m(e,t){if("object"!=i(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t||"default");if("object"!=i(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function g(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _(e){var t=v();return function(){var a,i=A(e);return a=t?Reflect.construct(i,arguments,A(this).constructor):i.apply(this,arguments),y(this,a)}}function y(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return x(e)}function x(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1};a.Dots=function(e){g(a,e);var t=_(a);function a(){return u(this,a),t.apply(this,arguments)}return f(a,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,a=e.onMouseOver,i=e.onMouseLeave,l=e.infinite,o=e.slidesToScroll,d=e.slidesToShow,u=e.slideCount,h=e.currentSlide,f=w({slideCount:u,slidesToScroll:o,slidesToShow:d,infinite:l}),p={onMouseEnter:t,onMouseOver:a,onMouseLeave:i},m=[],g=0;g<f;g++){var b=(g+1)*o-1,_=l?b:(0,s.clamp)(b,0,u-1),y=_-(o-1),x=l?y:(0,s.clamp)(y,0,u-1),v=(0,n.default)({"slick-active":l?h>=x&&h<=_:h===x}),A={message:"dots",index:g,slidesToScroll:o,currentSlide:h},E=this.clickHandler.bind(this,A);m=m.concat(r.default.createElement("li",{key:g,className:v},r.default.cloneElement(this.props.customPaging(g),{onClick:E})))}return r.default.cloneElement(this.props.appendDots(m),c({className:this.props.dotsClass},p))}}]),a}(r.default.PureComponent)},17535,(e,t,a)=>{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(a,"__esModule",{value:!0}),a.PrevArrow=a.NextArrow=void 0;var r=l(e.r(91788)),n=l(e.r(72043)),s=e.r(56956);function l(e){return e&&e.__esModule?e:{default:e}}function o(){return(o=Object.assign.bind()).apply(this,arguments)}function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
35t%2?c(Object(a),!0).forEach(function(t){u(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function u(e,t,a){return(t=m(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function h(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function f(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,m(i.key),i)}}function p(e,t,a){return t&&f(e.prototype,t),a&&f(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){var t=g(e,"string");return"symbol"==i(t)?t:String(t)}function g(e,t){if("object"!=i(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t||"default");if("object"!=i(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function b(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}function _(e,t){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=A();return function(){var a,i=w(e);return a=t?Reflect.construct(i,arguments,w(this).constructor):i.apply(this,arguments),x(this,a)}}function x(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return v(e)}function v(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A=function(){return!!e})()}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}a.PrevArrow=function(e){b(a,e);var t=y(a);function a(){return h(this,a),t.apply(this,arguments)}return p(a,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var a={key:"0","data-role":"none",className:(0,n.default)(e),style:{display:"block"},onClick:t},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.default.cloneElement(this.props.prevArrow,d(d({},a),i)):r.default.createElement("button",o({key:"0",type:"button"},a)," ","Previous")}}]),a}(r.default.PureComponent),a.NextArrow=function(e){b(a,e);var t=y(a);function a(){return h(this,a),t.apply(this,arguments)}return p(a,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,s.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var a={key:"1","data-role":"none",className:(0,n.default)(e),style:{display:"block"},onClick:t},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.default.cloneElement(this.props.nextArrow,d(d({},a),i)):r.default.createElement("button",o({key:"1",type:"button"},a)," ","Next")}}]),a}(r.default.PureComponent)},51870,e=>{"use strict";var t=function(){if("u">typeof Map)return Map;function e(e,t){var a=-1;return e.some(function(e,i){return e[0]===t&&(a=i,!0)}),a}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var a=e(this.__entries__,t),i=this.__entries__[a];return i&&i[1]},t.prototype.set=function(t,a){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=a:this.__entries__.push([t,a])},t.prototype.delete=function(t){var a=this.__entries__,i=e(a,t);~i&&a.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var a=0,i=this.__entries__;a<i.length;a++){var r=i[a];e.call(t,r[1],r[0])}},t}()}(),a="u">typeof window&&"u">typeof document&&window.document===document,i=function(){return e.g.Math===Math?e.g:"u">typeof self&&self.Math===Math?self:"u">typeof window&&window.Math===Math?window:Function("return this")()}(),r=function(){return"function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),n=2;function s(e,t){var a=!1,i=!1,s=0;function l(){a&&(a=!1,e()),i&&c()}function o(){r(l)}function c(){var e=Date.now();if(a){if(e-s<n)return;i=!0}else a=!0,i=!1,setTimeout(o,t);s=e}return c}var l=20,o=["top","right","bottom","left","width","height","size","weight"],c="u">typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,a=t.indexOf(e);~a&&t.splice(a,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,a=void 0===t?"":t;o.some(function(e){return!!~a.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
vendor: 1,580 bytes, line 35
35w e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var a=0,i=Object.keys(t);a<i.length;a++){var r=i[a];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=w(0,0,0,0);function p(e){return parseFloat(e)||0}function m(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];return t.reduce(function(t,a){return t+p(e["border-"+a+"-width"])},0)}function g(e){for(var t=["top","right","bottom","left"],a={},i=0,r=t;i<r.length;i++){var n=r[i],s=e["padding-"+n];a[n]=p(s)}return a}function b(e){var t=e.getBBox();return w(0,0,t.width,t.height)}function _(e){var t=e.clientWidth,a=e.clientHeight;if(!t&&!a)return f;var i=h(e).getComputedStyle(e),r=g(i),n=r.left+r.right,s=r.top+r.bottom,l=p(i.width),o=p(i.height);if("border-box"===i.boxSizing&&(Math.round(l+n)!==t&&(l-=m(i,"left","right")+n),Math.round(o+s)!==a&&(o-=m(i,"top","bottom")+s)),!x(e)){var c=Math.round(l+n)-t,d=Math.round(o+s)-a;1!==Math.abs(c)&&(l-=c),1!==Math.abs(d)&&(o-=d)}return w(r.left,r.top,l,o)}var y=function(){return"u">typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"==typeof e.getBBox}}();function x(e){return e===h(e).document.documentElement}function v(e){return a?y(e)?b(e):_(e):f}function A(e){var t=e.x,a=e.y,i=e.width,r=e.height,n=Object.create(("u">typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype);return u(n,{x:t,y:a,width:i,height:r,top:a,right:t+i,bottom:r+a,left
35:t}),n}function w(e,t,a,i){return{x:e,y:t,width:a,height:i}}var E=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=w(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),S=function(){return function(e,t){u(this,{target:e,contentRect:A(t)})}}(),C=function(){function e(e,a,i){if(this.activeObservations_=[],this.observations_=new t,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=a,this.callbackCtx_=i}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if(!("u"<typeof Element)&&Element instanceof Object){if(!(e instanceof h(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new E(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if(!("u"<typeof Element)&&Element instanceof Object){if(!(e instanceof h(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new S(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),T="u">typeof WeakMap?new WeakMap:new t,N=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var a=new C(t,d.getInstance(),this);T.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){N.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}});let k=function(){return void 0!==i.ResizeObserver?i.ResizeObserver:N}();e.s(["default",0,k])},90106,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.InnerSlider=void 0;var i=h(e.r(91788)),r=h(e.r(9417)),n=h(e.r(25016)),s=h(e.r(72043)),l=e.r(56956),o=e.r(69036),c=e.r(69946),d=e.r(17535),u=h(e.r(51870));function h(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign.bind()).apply(this,arguments)}function m(e,t){if(null==e)return{};var a,i,r=g(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function g(e,t){if(null==e)return{};var a,i,r={},n=Object.keys(e);for(i=0;i<n.length;i++)a=n[i],t.indexOf(a)>=0||(r[a]=e[a]);return r}function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?b(Object(a),!0).forEach(function(t){k(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEac
35h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function y(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function x(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,I(i.key),i)}}function v(e,t,a){return t&&x(e.prototype,t),a&&x(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function A(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}function w(e,t){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=T();return function(){var a,i=N(e);return a=t?Reflect.construct(i,arguments,N(this).constructor):i.apply(this,arguments),S(this,a)}}function S(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return C(e)}function C(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(T=function(){return!!e})()}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t,a){return(t=I(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function I(e){var t=j(e,"string");return"symbol"==f(t)?t:String(t)}function j(e,t){if("object"!=f(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=f(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}a.InnerSlider=function(e){A(a,e);var t=E(a);function a(e){y(this,a),k(C(h=t.call(this,e)),"listRefHandler",function(e){return h.list=e}),k(C(h),"trackRefHandler",function(e){return h.track=e}),k(C(h),"adaptHeight",function(){if(h.props.adaptiveHeight&&h.list){var e=h.list.querySelector('[data-index="'.concat(h.state.currentSlide,'"]'));h.list.style.height=(0,l.getHeight)(e)+"px"}}),k(C(h),"componentDidMount",function(){if(h.props.onInit&&h.props.onInit(),h.props.lazyLoad){var e=(0,l.getOnDemandLazySlides)(_(_({},h.props),h.state));e.length>0&&(h.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),h.props.onLazyLoad&&h.props.onLazyLoad(e))}var t=_({listRef:h.list,trackRef:h.track},h.props);h.updateState(t,!0,function(){h.adaptHeight(),h.props.autoplay&&h.autoPlay("update")}),"progressive"===h.props.lazyLoad&&(h.lazyLoadTimer=setInterval(h.progressiveLazyLoad,1e3)),h.ro=new u.default(function(){h.state.animating?(h.onWindowResized(!1),h.callbackTimers.push(setTimeout(function(){return h.onWindowResized()},h.props.speed))):h.onWindowResized()}),h.ro.observe(h.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=h.props.pauseOnFocus?h.onSlideFocus:null,e.onblur=h.props.pauseOnFocus?h.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",h.onWindowResized):window.attachEvent("onresize",h.onWindowResized)}),k(C(h),"componentWillUnmount",function(){h.animationEndCallback&&clearTimeout(h.animationEndCallback),h.lazyLoadTimer&&clearInterval(h.lazyLoadTimer),h.callbackTimers.length&&(h.callbackTimers.forEach(function(e){return clearTimeout(e)}),h.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",h.onWindowResized):window.detachEvent("onresize",h.onWindowResized),h.autoplayTimer&&clearInterval(h.autoplayTimer),h.ro.disconnect()}),k(C(h),"componentDidUpdate",function(e){if(h.checkImagesLoad(),h.props.onReInit&&h.props.onReInit(),h.props.lazyLoad){var t=(0,l.getOnDemandLazySlides)(_(_({},h.props),h.state));t.length>0&&(h.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),h.props.onLazyLoad&&h.props.onLazyLoad(t))}h.adaptHeight();var a=_(_({listRef:h.list,trackRef:h.track}
vendor: 6,958 bytes, line 35
35,h.props),h.state),r=h.didPropsChange(e);r&&h.updateState(a,r,function(){h.state.currentSlide>=i.default.Children.count(h.props.children)&&h.changeSlide({message:"index",index:i.default.Children.count(h.props.children)-h.props.slidesToShow,currentSlide:h.state.currentSlide}),h.props.autoplay?h.autoPlay("update"):h.pause("paused")})}),k(C(h),"onWindowResized",function(e){h.debouncedResize&&h.debouncedResize.cancel(),h.debouncedResize=(0,n.default)(function(){return h.resizeWindow(e)},50),h.debouncedResize()}),k(C(h),"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(h.track&&h.track.node){var t=_(_({listRef:h.list,trackRef:h.track},h.props),h.state);h.updateState(t,e,function(){h.props.autoplay?h.autoPlay("update"):h.pause("paused")}),h.setState({animating:!1}),clearTimeout(h.animationEndCallback),delete h.animationEndCallback}}),k(C(h),"updateState",function(e,t,a){var r=(0,l.initializedState)(e);e=_(_(_({},e),r),{},{slideIndex:r.currentSlide});var n=(0,l.getTrackLeft)(e);e=_(_({},e),{},{left:n});var s=(0,l.getTrackCSS)(e);(t||i.default.Children.count(h.props.children)!==i.default.Children.count(e.children))&&(r.trackStyle=s),h.setState(r,a)}),k(C(h),"ssrInit",function(){if(h.props.variableWidth){var e=0,t=0,a=[],r=(0,l.getPreClones)(_(_(_({},h.props),h.state),{},{slideCount:h.props.children.length})),n=(0,l.getPostClones)(_(_(_({},h.props),h.state),{},{slideCount:h.props.children.length}));h.props.children.forEach(function(t){a.push(t.props.style.width),e+=t.props.style.width});for(var s=0;s<r;s++)t+=a[a.length-1-s],e+=a[a.length-1-s];for(var o=0;o<n;o++)e+=a[o];for(var c=0;c<h.state.currentSlide;c++)t+=a[c];var d={width:e+"px",left:-t+"px"};if(h.props.centerMode){var u="".concat(a[h.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(u,") / 2 ) ")}return{trackStyle:d}}var f=i.default.Children.count(h.props.children),p=_(_(_({},h.props),h.state),{},{slideCount:f}),m=(0,l.getPreClones)(p)+(0,l.getPostClones)(p)+f,g=100/h.props.slidesToShow*m,b=100/m,y=-b*((0,l.getPreClones)(p)+h.state.currentSlide)*g/100;return h.props.centerMode&&(y+=(100-b*g/100)/2),{slideWidth:b+"%",trackStyle:{width:g+"%",left:y+"%"}}}),k(C(h),"checkImagesLoad",function(){var e=h.list&&h.list.querySelectorAll&&h.list.querySelectorAll(".slick-slide img")||[],t=e.length,a=0;Array.prototype.forEach.call(e,function(e){var i=function(){return++a&&a>=t&&h.onWindowResized()};if(e.onclick){var r=e.onclick;e.onclick=function(t){r(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(h.props.lazyLoad?e.onload=function(){h.adaptHeight(),h.callbackTimers.push(setTimeout(h.onWindowResized,h.props.speed))}:(e.onload=i,e.onerror=function(){i(),h.props.onLazyLoadError&&h.props.onLazyLoadError()}))})}),k(C(h),"progressiveLazyLoad",function(){for(var e=[],t=_(_({},h.props),h.state),a=h.state.currentSlide;a<h.state.slideCount+(0,l.getPostClones)(t);a++)if(0>h.state.lazyLoadedList.indexOf(a)){e.push(a);break}for(var i=h.state.currentSlide-1;i>=-(0,l.getPreClones)(t);i--)if(0>h.state.lazyLoadedList.indexOf(i)){e.push(i);break}e.length>0?(h.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),h.props.onLazyLoad&&h.props.onLazyLoad(e)):h.lazyLoadTimer&&(clearInterval(h.lazyLoadTimer),delete h.lazyLoadTimer)}),k(C(h),"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=h.props,i=a.asNavFor,r=a.beforeChange,n=a.onLazyLoad,s=a.speed,o=a.afterChange,c=h.state.currentSlide,d=(0,l.slideHandler)(_(_(_({index:e},h.props),h.state),{},{trackRef:h.track,useCSS:h.props.useCSS&&!t})),u=d.state,f=d.nextState;if(u){r&&r(c,u.currentSlide);var p=u.lazyLoadedList.filter(function(e){return 0>h.state.lazyLoadedList.indexOf(e)});n&&p.length>0&&n(p),!h.props.waitForAnimate&&h.animationEndCallback&&(clearTimeout(h.animationEndCallback),o&&o(c),delete h.animationEndCallback),h.setState(u,function(){i&&h.asNavForIndex!==e&&(h.asNavForIndex=e,i.innerSlider.slideHandler(e)),f&&(h.animationEndCallback=setTimeout(function(){var e=f.animating,t=m(f,["animating"]);h.setState(t,function(){h.callbackTimers.push(setTimeout(function(){return h.setState({animating:e})},10)),o&&o(u.currentSlide),delete h.animationEndCallback})},s))})}}),k(C(h),"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=_(_({},h.props),h.state),i=(0,l.changeSlide)(a,e);if((0===i||i)&&(!0===t?h.slideHandler(i,t):h.slideHandler(i),h.props.autoplay&&h.autoPlay("update"),h.props.focusOnSelect)){var r=h.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}}),k(C(h),"clickHandler",function(e){!1===h.clickable&&(e.stopPropagation(),e.preventDefault()),h.clickable=!0}),k(C(h),"keyHandler",function(e){var t=(0,l.keyHandler)(e,h.props.accessibility,h.props.rtl);""!==t&&h.changeSlide({message:t})}),k(C(h),"selectHandler",function(e){h.changeSlide(e)}),k(C(h),"disableBodyScroll",function(){var e=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1};window.ontouchmove=e}),k(C(h),"enableBodyScroll",function(){window.ontouchmove=null}),k(C(h),"swipeStart",function(e){h.props.verticalSwiping&&h.disableBodyScroll();var t=(0,l.swipeStart)(e,h.props.swipe,h.props.draggable);""!==t&&h.setState(t)}),k(C(h),"swipeMove",function(e){var t=(0,l.swipeMove)(e,_(_(_({},h.props),h.state),{},{trackRef:h.track,listRef:h.list,slideIndex:h.state.currentSlide}));t&&(t.swiping&&(h.clickable=!1),h.setState(t))}),k(C(h),"swipeEnd",function(e){var t=(0,l.swipeEnd)(e,_(_(_({},h.props),h.state),{},{trackRef:h.track,listRef:h.list,slideIndex:h.state.currentSlide}));if(t){var a=t.triggerSlideHandler;delete t.triggerSlideHandler,h.setState(t),void 0!==a&&(h.slideHandler(a),h.props.verticalSwiping&&h.enableBodyScroll())}}),k(C(h),"touchEnd",function(e){h.swipeEnd(e),h.clickable=!0}),k(C(h),"slickPrev",function(){h.callbackTimers.push(setTimeout(function(){return h.changeSlide({message:"previous"})},0))}),k(C(h),"slickNext",function(){h.callbackTimers.push(setTimeout(function(){return h.changeSlide({message:"next"})},0))}),k(C(h),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";h.callbackTimers.push(setTimeout(function(){return h.changeSlide({message:"index",index:e,currentSlide:h.state.currentSlide},t)},0))}),k(C(h),"play",function(){var e;if(h.props.rtl)e=h.state.currentSlide-h.props.slidesToScroll;else{if(!(0,l.canGoNext)(_(_({},h.props),h.state)))return!1;e=h.state.currentSlide+h.props.slidesToScroll}h.slideHandler(e)}),k(C(h),"autoPlay",function(e){h.autoplayTimer&&clearInterval(h.autoplayTimer);var t=h.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;h.autoplayTimer=setInterval(h.play,h.props.autoplaySpeed+50),h.setState({auto
35playing:"playing"})}),k(C(h),"pause",function(e){h.autoplayTimer&&(clearInterval(h.autoplayTimer),h.autoplayTimer=null);var t=h.state.autoplaying;"paused"===e?h.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&h.setState({autoplaying:"focused"}):"playing"===t&&h.setState({autoplaying:"hovered"})}),k(C(h),"onDotsOver",function(){return h.props.autoplay&&h.pause("hovered")}),k(C(h),"onDotsLeave",function(){return h.props.autoplay&&"hovered"===h.state.autoplaying&&h.autoPlay("leave")}),k(C(h),"onTrackOver",function(){return h.props.autoplay&&h.pause("hovered")}),k(C(h),"onTrackLeave",function(){return h.props.autoplay&&"hovered"===h.state.autoplaying&&h.autoPlay("leave")}),k(C(h),"onSlideFocus",function(){return h.props.autoplay&&h.pause("focused")}),k(C(h),"onSlideBlur",function(){return h.props.autoplay&&"focused"===h.state.autoplaying&&h.autoPlay("blur")}),k(C(h),"render",function(){var e,t,a,r=(0,s.default)("slick-slider",h.props.className,{"slick-vertical":h.props.vertical,"slick-initialized":!0}),n=_(_({},h.props),h.state),u=(0,l.extractObject)(n,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),f=h.props.pauseOnHover;if(u=_(_({},u),{},{onMouseEnter:f?h.onTrackOver:null,onMouseLeave:f?h.onTrackLeave:null,onMouseOver:f?h.onTrackOver:null,focusOnSelect:h.props.focusOnSelect&&h.clickable?h.selectHandler:null}),!0===h.props.dots&&h.state.slideCount>=h.props.slidesToShow){var m=(0,l.extractObject)(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=h.props.pauseOnDotsHover;m=_(_({},m),{},{clickHandler:h.changeSlide,onMouseEnter:g?h.onDotsLeave:null,onMouseOver:g?h.onDotsOver:null,onMouseLeave:g?h.onDotsLeave:null}),e=i.default.createElement(c.Dots,m)}var b=(0,l.extractObject)(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);b.clickHandler=h.changeSlide,h.props.arrows&&(t=i.default.createElement(d.PrevArrow,b),a=i.default.createElement(d.NextArrow,b));var y=null;h.props.vertical&&(y={height:h.state.listHeight});var x=null;!1===h.props.vertical?!0===h.props.centerMode&&(x={padding:"0px "+h.props.centerPadding}):!0===h.props.centerMode&&(x={padding:h.props.centerPadding+" 0px"});var v=_(_({},y),x),A=h.props.touchMove,w={className:"slick-list",style:v,onClick:h.clickHandler,onMouseDown:A?h.swipeStart:null,onMouseMove:h.state.dragging&&A?h.swipeMove:null,onMouseUp:A?h.swipeEnd:null,onMouseLeave:h.state.dragging&&A?h.swipeEnd:null,onTouchStart:A?h.swipeStart:null,onTouchMove:h.state.dragging&&A?h.swipeMove:null,onTouchEnd:A?h.touchEnd:null,onTouchCancel:h.state.dragging&&A?h.swipeEnd:null,onKeyDown:h.props.accessibility?h.keyHandler:null},E={className:r,dir:"ltr",style:h.props.style};return h.props.unslick&&(w={className:"slick-list"},E={className:r}),i.default.createElement("div",E,h.props.unslick?"":t,i.default.createElement("div",p({ref:h.listRefHandler},w),i.default.createElement(o.Track,p({ref:h.trackRefHandler},u),h.props.children)),h.props.unslick?"":a,h.props.unslick?"":e)}),h.list=null,h.track=null,h.state=_(_({},r.default),{},{currentSlide:h.props.initialSlide,targetSlide:h.props.initialSlide?h.props.initialSlide:0,slideCount:i.default.Children.count(h.props.children)}),h.callbackTimers=[],h.clickable=!0,h.debouncedResize=null;var h,f=h.ssrInit();return h.state=_(_({},h.state),f),h}return v(a,[{key:"didPropsChange",value:function(e){for(var t=!1,a=0,r=Object.keys(this.props);a<r.length;a++){var n=r[a];if(!e.hasOwnProperty(n)||!("object"===f(e[n])||"function"==typeof e[n]||isNaN(e[n]))&&e[n]!==this.props[n]){t=!0;break}}return t||i.default.Children.count(this.props.children)!==i.default.Children.count(e.children)}}]),a}(i.default.Component)},64908,(e,t,a)=>{t.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},67404,(e,t,a)=>{var i=e.r(64908),r=function(e){return/[height|width]$/.test(e)},n=function(e){var t="",a=Object.keys(e);return a.forEach(function(n,s){var l=e[n];r(n=i(n))&&"number"==typeof l&&(l+="px"),!0===l?t+=n:!1===l?t+="not "+n:t+="("+n+": "+l+")",
35s<a.length-1&&(t+=" and ")}),t};t.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(a,i){t+=n(a),i<e.length-1&&(t+=", ")}),t):n(e)}},36853,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=o(e.r(91788)),r=e.r(90106),n=o(e.r(67404)),s=o(e.r(99511)),l=e.r(56956);function o(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return(d=Object.assign.bind()).apply(this,arguments)}function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach(function(t){w(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function f(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,E(i.key),i)}}function m(e,t,a){return t&&p(e.prototype,t),a&&p(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function g(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _(e){var t=v();return function(){var a,i=A(e);return a=t?Reflect.construct(i,arguments,A(this).constructor):i.apply(this,arguments),y(this,a)}}function y(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return x(e)}function x(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,a){return(t=E(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function E(e){var t=S(e,"string");return"symbol"==c(t)?t:String(t)}function S(e,t){if("object"!=c(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=c(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var C=(0,l.canUseDOM)()&&e.r(90017);a.default=function(e){g(a,e);var t=_(a);function a(e){var i;return f(this,a),w(x(i=t.call(this,e)),"innerSliderRefHandler",function(e){return i.innerSlider=e}),w(x(i),"slickPrev",function(){return i.innerSlider.slickPrev()}),w(x(i),"slickNext",function(){return i.innerSlider.slickNext()}),w(x(i),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return i.innerSlider.slickGoTo(e,t)}),w(x(i),"slickPause",function(){return i.innerSlider.pause("paused")}),w(x(i),"slickPlay",function(){return i.innerSlider.autoPlay("play")}),i.state={breakpoint:null},i._responsiveMediaHandlers=[],i}return m(a,[{key:"media",value:function(e,t){C.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(a,i){var r;r=0===i?(0,n.default)({minWidth:0,maxWidth:a}):(0,n.default)({minWidth:t[i-1]+1,maxWidth:a}),(0,l.canUseDOM)()&&e.media(r,function(){e.setState({breakpoint:a})})});var a=(0,n.default)({minWidth:t.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(a,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEac
35h(function(e){C.unregister(e.query,e.handler)})}},{key:"render",value:function(){var e,t,a=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===a.state.breakpoint}))[0].settings?"unslick":h(h(h({},s.default),this.props),t[0].settings):h(h({},s.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var n=i.default.Children.toArray(this.props.children);n=n.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var o=[],c=null,u=0;u<n.length;u+=e.rows*e.slidesPerRow){for(var f=[],p=u;p<u+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var m=[],g=p;g<p+e.slidesPerRow&&(e.variableWidth&&n[g].props.style&&(c=n[g].props.style.width),!(g>=n.length));g+=1)m.push(i.default.cloneElement(n[g],{key:100*u+10*p+g,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));f.push(i.default.createElement("div",{key:10*u+p},m))}e.variableWidth?o.push(i.default.createElement("div",{key:u,style:{width:c}},f)):o.push(i.default.createElement("div",{key:u},f))}if("unslick"===e){var b="regular slider "+(this.props.className||"");return i.default.createElement("div",{className:b},n)}return o.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),i.default.createElement(r.InnerSlider,d({style:this.props.style,ref:this.innerSliderRefHandler},(0,l.filterSettings)(e)),o)}}]),a}(i.default.Component)},71091,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,a.default=function(e){return e&&e.__esModule?e:{default:e}}(e.r(36853)).default},83919,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576),i=e.i(71091);e.i(48756);var r=e.i(49266),n=e.i(697),s=e.i(66196),l=e.i(75957);e.i(41871);var o=e.i(87612);let c=e=>{let r,n,c,h,f,p,m,g,b,_=(0,a.c)(26),y=e.className,x=d,v=u,A=e?.slideToShow||3,w=e?.slideToShow||1;_[0]===Symbol.for("react.memo_cache_sentinel")?(r="rtl"===(0,l.default)()?(0,t.jsx)(x,{}):(0,t.jsx)(v,{}),n="rtl"===(0,l.default)()?(0,t.jsx)(v,{}):(0,t.jsx)(x,{}),_[0]=r,_[1]=n):(r=_[0],n=_[1]);let E=e?.infinite??!0;_[2]===Symbol.for("react.memo_cache_sentinel")?(c=(0,l.default)(),_[2]=c):c=_[2];let S=e?.slideToShow||3,C=e?.slideToShow||3;_[3]!==S||_[4]!==C?(h={breakpoint:2560,settings:{slidesToShow:S,slidesToScroll:C,dots:!0,arrow:!1}},_[3]=S,_[4]=C,_[5]=h):h=_[5];let T=e?.slideToShowTablet||2,N=e?.slideToShowTablet||2;_[6]!==N||_[7]!==T?(f={breakpoint:991,settings:{slidesToShow:T,slidesToScroll:N,dots:!0,arrow:!1}},_[6]=N,_[7]=T,_[8]=f):f=_[8],_[9]===Symbol.for("react.memo_cache_sentinel")?(p={breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,dots:!0,arrow:!1}},_[9]=p):p=_[9],_[10]!==f||_[11]!==h?(m=[h,f,p],_[10]=f,_[11]=h,_[12]=m):m=_[12],_[13]!==A||_[14]!==w||_[15]!==m||_[16]!==E?(g={dots:!0,slidesToShow:A,slidesToScroll:w,prevArrow:r,nextArrow:n,arrow:!1,infinite:E,swipeToSlide:!0,accessibility:!0,rtl:"rtl"===c,useTransform:!1,responsive:m},_[13]=A,_[14]=w,_[15]=m,_[16]=E,_[17]=g):g=_[17];let k=g,I=parseInt(e?.children?.length)||0,j=parseInt(e.slideToShow)||3,P=(0,o.useMediaQuery)("(max-width: 767px)")?I>1:e.enableCarousel||I>j,L=1===e.slideToShow;if(P){let a,r,n=`slider-container ${y||""} ${L?"single":""} is-enabled`,s=e?.children;return _[18]!==k||_[19]!==s?(a=(0,t.jsx)(i.default,{...k,children:s}),_[18]=k,_[19]=s,_[20]=a):a=_[20],_[21]!==n||_[22]!==a?(r=(0,t.jsx)("div",{className:n,children:a}),_[21]=n,_[22]=a,_[23]=r):r=_[23],r}let O=e?.children;return _[24]!==O?(b=(0,t.jsx)(s.Row,{children:O}),_[24]=O,_[25]=b):b=_[25],b};function d(e){let{className:a,style:i,onClick:s,className2:l}=e;return(0,t.jsx)("div",{className:`carouselWrapper ${a} ${l}`,style:{...i},onClick:s,children:(0,t.jsx)("div",{className:"slider-container-right-arrow-box","aria-label":"next-btn",children:(0,t.jsx)(n.IconButton,{tabindex:0,icon:(0,t.jsx)(r.Icon,{iconName:"ArrowRightIcon"}),ariaLabel:"carousel button"})})})}function u(e){let{className:a,style:i,onClick:s,className2:l}=e;return(0,t.jsx)("div",{className:`${a} ${l}`,style:{...i},onClick:s,children:(0,t.jsx)("div",{className:"slider-container-left-arrow-box","aria-label":"left-btn",children:(0,t.jsx)(n.IconButton,{tabindex:0,icon:(0,t.jsx)(r.Icon,{iconName:"ArrowLeftIcon"}),ariaLabel:"carousel button"})})})}},42316,e=>{"use strict";e.s(["default",()=>g]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17419),n=e.i(49266),s=e.i(70184),l=e.i(5223),o=e.i(17626),c=e.i(82108),d=e.i(10828);e.i(41871);var u=e.i(87612),h=e.i(23216),f=e.i(34848),p=e.i(22748),m=e.i(41764);let g=e=>{let g,b,_,y,x,v,A,w,E,S,C,T,N=(0,a.c)(40),{contactCardImage:k,title:I,designation:j,paragraph:P,address:L,phone:O,email:D,cardAlignment:M,fax:R,ctaLink:F,ctaTitle:B,ctaTarget:U}=e,H=(0,u.useMediaQuery)("(max-width: 991px)"),$="card "+M;return N[0]!==k?(g=k&&(0,t.jsx)(s.Img,{styledimage:k?.styledimage,src:k?.src,alt:k?.alt,width:k?.width,height:k?.height,islazyloaded:!1}),N[0]=k,N[1]=g):g=N[1],N[2]!==H||N[3]!==I?(b=I&&(0,t.jsx)("h3",{className:`contact-card-title bold ${H?"contact-card-header":""}`,children:(0,f.trimText)(I,h.default.TITLE)}),N[2]=H,N[3]=I,N[4]=b):b=N[4],N[5]!==j?(_=j&&(0,t.jsx)("p",{children:j}),N[5]=j,N[6]=_):_=N[6],N[7]!==P?(y=P&&(0,t.jsx)(l.RichText,{className:"contact-card-text",content:P,characterLimit:h.default.DESCRIPTION}),N[7]=P,N[8]=y):y=N[8],N[9]!==b||N[10]!==_||N[11]!==y?(x=(0,t.jsxs)("div",{className:"card-body",children:[b,_,y]}),N[9]=b,N[10]=_,N[11]=y,N[12]=x):x=N[12],N[13]!==L||N[14]!==M?(v=(0,t.jsx)("div",{className:"contact-card-icon-spacing",children:L?(0,t.jsx)(p.default,{icon:(0,t.jsx)(n.Icon,{iconName:"homeIcon",width:24,height:24}),cardAlignment:M||"",children:(0,t.jsx)("span",{children:L})}):(0,t.jsx)("span",{className:"contact-card-address hidden",children:"-"})}),N[13]=L,N[14]=M,N[15]=v):v=N[15],N[16]!==M||N[17]!==O?(A=(0,t.jsx)("div",{className:"contact-card-icon-spacing",children:O?(0,t.jsx)(p.default,{icon:(0,t.jsx)(n.Icon,{iconName:"phoneIcon",width:24,height:24}),cardAlignment:M||"",children:(0,t.jsx)(i.Anchor,{className:"contact-card-anchor phone",href:`tel:${O}`,tabindex:1,isExternal:!0,onClick:()=>{let e={telephone_number:`${O}`};(0,c.dataLayerPush)(d.EVENTS.TELEPHONE,e)},noUnderline:!0,children:O})}):(0,t.jsx)("span",{className:"contact-card-phone hidden",children:"-"})}),N[16]=M,N[17]=O,N[18]=A):A=N[18],N[19]!==M||N[20]!==D?(w=(0,t.jsx)("div",{className:"contact-card-icon-align",children:D?(0,t.jsx)(p.default,{icon:(0,t.jsx)(n.Icon,{iconName:"mailIcon",width:24,height:24}),cardAlignment:M||"",children:(0,t.jsx)(i.Anchor,{className:"contact-card-anchor email",href:`mailto:${D}`,tabindex:1,isExternal:!0,onClick:()=>{let e={mail_to_address:`${D}`};(0,c.dataLayerPush)(d.EVENTS.MAIL_TO_CLICK,e)},noUnderline:!1,children:D})}):(0,t.jsx)("span",{className:"contact-card-ancho hidden",children:"-"})}),N[19]=M,N[20]=D,N[21]=w):w=N[21],N[22]!==M||N[23]!==R?(E=(0,t.jsx)("div",{className:"contact-card-icon-spacing",children:R?(0,t.jsx)(p.default,{icon:(0,t.jsx)(n.Icon,{iconName:"faxIcon",width:24,height:24}),cardAlignment:M||"",children:(0,t.jsx)(i.Anchor,{className:"contact-card-anchor fax",href:`fax:${R}`,tabindex:1,isExternal:!0,onClick:()=>{let e={fax:`${R}`};(0,c.dataLayerPush)(d.EVENTS.FAX,e)},noUnderline:!0,children:R})}):(0,t.jsx)("span",{className:"contact-card-fax hidden",children:"-"})}),N[22]=M,N[23]=R,N[24]=E):E=N[24],N[25]!==F||N[26]!==U||N[27]!==B?(S=F&&U&&(0,t.jsx)(o.AnchorButton,{className:"contact-card-cta",href:F,tabindex:1,isExternal:U===m.URL_TARGET.BLANK,children:B}),N[25]=F,N[26]=U,N[27]=B,N[28]=S):S=N[28],N[29]!==E||N[30]!==S||N[31]!==v||N[32]!==A||N[33]!==w?(C=(0,t.jsxs)("div",{className:"card-footer",children:[v,A,w,E,S]}),N[29]=E,N[30]=S,N[31]=v,N[32]=A,N[33]=w,N[34]=C):C=N[34],N[35]!==$||N[36]!==C||N[37]!==g||N[38]!==x?(T=(0,t.jsx)(r.Column,{desktop:4,tablet:6,mobile:12,className:"contact-card card-strech",children:(0,t.jsxs)("div",{className:$,children:[g,x,C]})}),N[35]=$,N[36]=C,N[37]=g,N[38]=x,N[39]=T):T=N[39],T}},438,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(70184),n=e.i(66196),s=e.i(93931),l=e.i(83919);let o=e=>{let o,c,d,u,h=(0,a.c)(11),{id:f,carouselData:p,contentData:m,isLandscape:g}=e;return h[0]!==p||h[1]!==g?(o=p?.map((e,a)=>(0,t.jsx)(r.Img,{type:"teaser_block_carousel",alt:e?.alt,src:e?.src,width:g?390:368,height:g?280:354,styledimage:e?.styledimage},a)),h[0]=p,h[1]=g,h[2]=o):o=h[2],h[3]!==o?(c=(0,t.jsx)(i.Column,{desktop:6,tablet:12,mobile:12,children:(0,t.jsx)(l.default,{slideToShow:1,slideToShowTablet:1,className:"detail-block-wrapper",children:o})}),h[3]=o,h[4]=c):c=h[4],h[5]!==m||h[6]!==f?(d=(0,t.jsx)(i.Column,{desktop:6,tablet:12,mobile:12,className:"detail-block--container",children:(0,t.jsx)(s.default,{...m,nodeId:f})}
35),h[5]=m,h[6]=f,h[7]=d):d=h[7],h[8]!==c||h[9]!==d?(u=(0,t.jsx)("div",{children:(0,t.jsxs)(n.Row,{className:"detail-block",children:[c,d]})}),h[8]=c,h[9]=d,h[10]=u):u=h[10],u}},62281,e=>{"use strict";let t=e=>{if(!e.hasOwnProperty("taxonomyLabel"))return e;{let{taxonomyLabel:t,...a}=e;return{...a,taxonomies:[{taxonomyLabel:e?.taxonomyLabel}]}}};e.s(["modifyRelatedContentData",0,t])},48023,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17419),n=e.i(70184),s=e.i(58097),l=e.i(49708),o=e.i(62281);let c=e=>{let c,d,u,h,f,p,m=(0,a.c)(21);m[0]!==e.educationCardContent||m[1]!==e.relatedContentFlag?(c=e?.relatedContentFlag?(0,o.modifyRelatedContentData)(e?.educationCardContent):e?.educationCardContent,m[0]=e.educationCardContent,m[1]=e.relatedContentFlag,m[2]=c):c=m[2];let g=c,b=e.relatedContentFlag?12:4,_=e.relatedContentFlag?12:6;return m[3]!==e.educationCardContent||m[4]!==e.imageSrc||m[5]!==e.imgAlt||m[6]!==e.relatedContentFlag||m[7]!==e.styledimage?(d=e?.imageSrc&&(0,t.jsx)("div",{className:"image-section",children:(0,t.jsx)(i.Anchor,{href:e?.educationCardContent.buttonUrl,tabindex:0,noUnderline:!0,isExternal:e?.educationCardContent.buttonUrlExternal,children:(0,t.jsx)(n.Img,{type:"card",styledimage:e?.styledimage,src:e?.imageSrc,alt:e?.imgAlt,width:369,height:277,islazyloaded:!e?.relatedContentFlag})})}),m[3]=e.educationCardContent,m[4]=e.imageSrc,m[5]=e.imgAlt,m[6]=e.relatedContentFlag,m[7]=e.styledimage,m[8]=d):d=m[8],m[9]!==e.videoUrl?(u=e?.videoUrl&&(0,t.jsx)(s.Video,{src:e?.videoUrl}),m[9]=e.videoUrl,m[10]=u):u=m[10],m[11]!==g?(h=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsx)(l.default,{...g})}),m[11]=g,m[12]=h):h=m[12],m[13]!==d||m[14]!==u||m[15]!==h?(f=(0,t.jsxs)("div",{className:"card",children:[d,u,h]}),m[13]=d,m[14]=u,m[15]=h,m[16]=f):f=m[16],m[17]!==b||m[18]!==_||m[19]!==f?(p=(0,t.jsx)(r.Column,{desktop:b,tablet:_,mobile:12,className:"education-card",children:f}),m[17]=b,m[18]=_,m[19]=f,m[20]=p):p=m[20],p}},14168,e=>{"use strict";e.s(["default",()=>u],14168);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(17419),n=e.i(70184),s=e.i(18090),l=e.i(8593),o=e.i(84897);e.i(35958);var c=e.i(87651),c=c,d=e.i(41764);let u=e=>{let u,h,f,p,m,g,b,_,y,x=(0,a.c)(37),v=e.eventCardHorizontalContent,{primaryButtonUrl:A,primaryButtonLabel:w,primaryIsExternalUrl:E,secondaryButtonLabel:S,secondaryButtonUrl:C,secondaryIsExternalUrl:T,heading:N,text:k,startDate:I,endDate:j,contentText:P,eventType:L,scoutData:O}=v,{eventCardHorizontalImage:D}=e,M=e.eventCardHTabletColumn?e.eventCardHTabletColumn:e.eventCardHDesktopColumn,R=e.eventCardHMobileColumn?e.eventCardHMobileColumn:12;x[0]!==v?(u=(0,t.jsx)(r.Column,{desktop:9,tablet:12,mobile:12,className:"event-card-horizontal-content-left",children:(0,t.jsx)(l.default,{...v})}),x[0]=v,x[1]=u):u=x[1];let F=D?.styledimage;return x[2]!==D.alt||x[3]!==D.src||x[4]!==F?(h=(0,t.jsx)(r.Column,{desktop:3,tablet:12,mobile:12,className:"event-card-horizontal-image",children:(0,t.jsx)(n.Img,{className:"event-card-horizontal-image-content",type:"card",styledimage:F,src:D.src,alt:D.alt,width:368,height:220})}),x[2]=D.alt,x[3]=D.src,x[4]=F,x[5]=h):h=x[5],x[6]!==u||x[7]!==h?(f=(0,t.jsxs)("div",{className:"event-card-horizontal-col",children:[u,h]}),x[6]=u,x[7]=h,x[8]=f):f=x[8],x[9]!==L||x[10]!==w||x[11]!==A||x[12]!==E||x[13]!==O?(p=L&&L===d.EVENT_TYPE.SCOUT_EVENT&&O?(0,t.jsx)(c.default,{...O}):A&&w?(0,t.jsx)(i.AnchorButton,{tabindex:1,href:A,isExternal:E,children:w}):(0,t.jsx)(t.Fragment,{}),x[9]=L,x[10]=w,x[11]=A,x[12]=E,x[13]=O,x[14]=p):p=x[14],x[15]!==S||x[16]!==C||x[17]!==T?(m=(C||T)&&S?(0,t.jsx)(i.AnchorButton,{tabindex:2,href:C,isExternal:T,isSecondary:!0,children:S}):(0,t.jsx)(t.Fragment,{}),x[15]=S,x[16]=C,x[17]=T,x[18]=m):m=x[18],x[19]!==P||x[20]!==j||x[21]!==N||x[22]!==I||x[23]!==k?(g=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(o.default,{eventTitle:N,eventDescription:k,startDate:I,endDate:j,location:P})}),x[19]=P,x[20]=j,x[21]=N,x[22]=I,x[23]=k,x[24]=g):g=x[24],x[25]!==p||x[26]!==m||x[27]!==g?(b=(0,t.jsx)(r.Column,{desktop:12,tablet:12,mobile:12,className:"event-card-horizontal-content-button",children:(0,t.jsxs)(s.default,{children:[p,m,g]})}),x[25]=p,x[26]=m,x[27]=g,x[28]=b):b=x[28],x[29]!==f||x[30]!==b?(_=(0,t.jsxs)("div",{className:"event-card-horizontal-block",children:[f,b]}),x[29]=f,x[30]=b,x[31]=_):_=x[31],x[32]!==e.eventCardHDesktopColumn||x[33]!==M||x[34]!==R||x[35]!==_?(y=(0,t.jsx)("div",{className:"event-card-horizontal",children:(0,t.jsx)(r.Column,{desktop:e.eventCardHDesktopColumn,tablet:M,mobile:R,className:"card",children:_})}),x[32]=e.eventCardHDesktopColumn,x[33]=M,x[34]=R,x[35]=_,x[36]=y):y=x[36],y}},63344,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17419),n=e.i(70184),s=e.i(40149),l=e.i(62281);let o=e=>{let o,c,d,u,h,f=(0,a.c)(19);f[0]!==e.eventCardVerticalContent||f[1]!==e.relatedContentFlag?(o=e?.relatedContentFlag?(0,l.modifyRelatedContentData)(e.eventCardVerticalContent):e.eventCardVerticalContent,f[0]=e.eventCardVerticalContent,f[1]=e.relatedContentFlag,f[2]=o):o=f[2];let p=o,{eventCardVerticalImage:m}=e,g=e.eventCardVTabletColumn?e.eventCardVTabletColumn:e.eventCardVDesktopColumn,b=e.eventCardVMobileColumn?e.eventCardVMobileColumn:12;
35return f[3]!==m?.alt||f[4]!==m?.src||f[5]!==m?.styledimage||f[6]!==e.eventCardVerticalContent||f[7]!==e.relatedContentFlag?(c=m?.src&&(0,t.jsx)("div",{className:"image-section",children:(0,t.jsx)(i.Anchor,{href:e?.eventCardVerticalContent.primaryButtonUrl,noUnderline:!0,tabindex:0,isExternal:e?.eventCardVerticalContent.primaryIsExternalUrl,children:(0,t.jsx)(n.Img,{className:"event-card-vertical-image",type:"card",styledimage:m?.styledimage,src:m?.src,alt:m?.alt,width:369,height:277,islazyloaded:!e?.relatedContentFlag})})}),f[3]=m?.alt,f[4]=m?.src,f[5]=m?.styledimage,f[6]=e.eventCardVerticalContent,f[7]=e.relatedContentFlag,f[8]=c):c=f[8],f[9]!==p?(d=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsx)(s.default,{...p})}),f[9]=p,f[10]=d):d=f[10],f[11]!==c||f[12]!==d?(u=(0,t.jsxs)("div",{className:"card",children:[c,d]}),f[11]=c,f[12]=d,f[13]=u):u=f[13],f[14]!==e.eventCardVDesktopColumn||f[15]!==g||f[16]!==b||f[17]!==u?(h=(0,t.jsx)(r.Column,{desktop:e.eventCardVDesktopColumn,tablet:g,mobile:b,className:"event-card-vertical",children:u}),f[14]=e.eventCardVDesktopColumn,f[15]=g,f[16]=b,f[17]=u,f[18]=h):h=f[18],h}},26067,e=>{"use strict";e.s(["default",()=>d]);var t=e.i(91398),a=e.i(91788),i=e.i(68489);e.i(48756);var r=e.i(17419),n=e.i(99523),s=e.i(14168),l=e.i(83919),o=e.i(15315);let c=(0,i.default)(()=>e.A(83126).then(e=>
35e.Calendar),{loadableGenerated:{modules:[34632]},ssr:!1}),d=e=>{let i={year:new Date().getFullYear(),month:new Date().getMonth()+1,day:new Date().getDate()},[d,u]=(0,a.useState)(i),[h,f]=(0,a.useState)([]),{lang:p}=(0,o.getApiDomainAndLang)();(0,a.useEffect)(()=>{if(d){let{day:t,month:a,year:i}=d;f(e.events.filter(e=>e?.eventCardHorizontalContent?.startDate?.substring(0,e?.eventCardHorizontalContent?.startDate?.indexOf("T"))===`${i}-${a.toString().padStart(2,"0")}-${t.toString().padStart(2,"0")}`))}if(!d){let{day:e,month:t,year:a}=m((0,n.default)().locale(p).format("YYYY-MM-DDTHH:mm:ss+00:00"));u({day:e,month:t,year:a})}},[d]);let m=e=>{let t=new Date(e),a=t.getFullYear(),i=t.getMonth()+1,r={day:t.getDate(),month:i,year:a};return{...r,className:JSON.stringify(d)===JSON.stringify(r)?"event-selected":"event-unselected"}},g=()=>{if(h.length>0)return h?.map((e,a)=>(0,t.jsx)(s.default,{eventCardHorizontalContent:e.eventCardHorizontalContent,eventCardHorizontalImage:e.eventCardHorizontalImage,eventCardHDesktopColumn:12},a))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Column,{desktop:4,tablet:12,mobile:12,children:(0,t.jsx)("div",{className:"event-datepicker",children:(0,t.jsx)(c,{calendarClassName:"custom-cal",value:d,onChange:e=>u(e),calendarTodayClassName:"current-date",customDaysClassName:e.events.map((e,t)=>m(e.eventCardHorizontalContent.startDate))})})}),(0,t.jsx)(r.Column,{desktop:8,tablet:12,mobile:12,className:"event-datepicker-carousel",children:h.length>0?(0,t.jsx)(l.default,{className:"event-datepicker-carousel",slideToShow:e.slideToShow,slideToShowTablet:1,children:g()}):(0,t.jsx)("div",{className:"no-events",children:"No events found ..."})})]})}},34713,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(50859),r=e.i(26012),n=e.i(14006);e.i(35958);var s=e.i(60384);let l=e=>{let l,d,u,h,f,p,m,g=(0,a.c)(20),{header:b,content:_,footer:y,onClose:x,onAction:v,className:A}=e,w=void 0===x?o:x,E=void 0===v?c:v;g[0]!==w?(l=()=>{w()},g[0]=w,g[1]=l):l=g[1];let S=l;g[2]!==E?(d=()=>{E()},g[2]=E,g[3]=d):d=g[3];let C=d;g[4]!==S||g[5]!==b?(u=(0,t.jsx)(i.ModalHeader,{...b,isHCP:!0,onClose:S}),g[4]=S,g[5]=b,g[6]=u):u=g[6],g[7]!==_?(h=(0,t.jsx)(r.ModalBody,{..._}),g[7]=_,g[8]=h):h=g[8],g[9]!==y||g[10]!==C||g[11]!==S?(f=(0,t.jsx)(n.ModalFooter,{...y,onClose:S,onAction:C}),g[9]=y,g[10]=C,g[11]=S,g[12]=f):f=g[12],g[13]!==u||g[14]!==h||g[15]!==f?(p=(0,t.jsxs)(t.Fragment,{children:[u,h,f]}),g[13]=u,g[14]=h,g[15]=f,g[16]=p):p=g[16];let T=p;return g[17]!==A||g[18]!==T?(m=(0,t.jsx)(s.ModalPortal,{modalContent:T,wrapperId:"react-portal-wrapper",className:A}),g[17]=A,g[18]=T,g[19]=m):m=g[19],m};function o(){return null}function c(){return null}},86052,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788);let r=e=>{let r,s,l,o,c,d,u,h,f,p,m,g,b,_=(0,a.c)(42),[y,x]=(0,i.useState)(!1);_[0]!==e.className?(r=()=>{let t=[];return t.push("language-switch"),e.className&&t.push(e.className),t.join(" ")},_[0]=e.className,_[1]=r):r=_[1];let v=r;_[2]!==y||_[3]!==e?(s=()=>{x(n),e.onClick&&e.onClick(y)},_[2]=y,_[3]=e,_[4]=s):s=_[4];let A=s,w="desktop-view "+v(),E=e?.href?.includes("javascript:void(0)")?"#":e?.href;_[5]!==e.regionicon?(l=(0,t.jsx)("span",{className:"globe-icon",children:e.regionicon}),_[5]=e.regionicon,_[6]=l):l=_[6],_[7]!==e.country?(o=(0,t.jsx)("span",{className:"country-info",children:e.country}),_[7]=e.country,_[8]=o):o=_[8],_[9]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("span",{className:"seperator",children:"|"}),_[9]=c):c=_[9],_[10]!==e.lang?(d=(0,t.jsx)("span",{className:"language-info",children:e.lang}),_[10]=e.lang,_[11]=d):d=_[11],_[12]!==e.closeIcon||_[13]!==e.displayActive||_[14]!==e.stateIcon?(u=e.displayActive?(0,t.jsx)("span",{className:"close-icon",children:e.closeIcon}):(0,t.jsx)("span",{className:"icon",children:e.stateIcon}),_[12]=e.closeIcon,_[13]=e.displayActive,_[14]=e.stateIcon,_[15]=u):u=_[15],_[16]!==e.ariaLabel||_[17]!==E||_[18]!==l||_[19]!==o||_[20]!==d||_[21]!==u?(h=(0,t.jsxs)("a",{href:E,className:"language-switch-elem","aria-label":e.ariaLabel,children:[l,o,c,d,u]}),_[16]=e.ariaLabel,_[17]=E,_[18]=l,_[19]=o,_[20]=d,_[21]=u,_[22]=h):h=_[22],_[23]!==A||_[24]!==w||_[25]!==h?(f=(0,t.jsx)("div",{className:w,onClick:A,children:h}),_[23]=A,_[24]=w,_[25]=h,_[26]=f):f=_[26];let S="mobile-view "+v(),C=e?.href?.includes("javascript:void(0)")?"#":e?.href;return _[27]!==e.closeIcon||_[28]!==e.displayActive||_[29]!==e.regionicon?(p=e.displayActive?(0,t.jsx)("span",{className:"close-icon",children:e.closeIcon}):(0,t.jsx)("span",{className:"globe-icon",children:e.regionicon}),_[27]=e.closeIcon,_[28]=e.displayActive,_[29]=e.regionicon,_[30]=p):p=_[30],_[31]!==e.ariaLabel||_[32]!==C||_[33]!==p?(m=(0,t.jsx)("a",{href:C,"aria-label":e.ariaLabel,children:p}),_[31]=e.ariaLabel,_[32]=C,_[33]=p,_[34]=m):m=_[34],_[35]!==A||_[36]!==S||_[37]!==m?(g=(0,t.jsx)("div",{className:S,onClick:A,children:m}),_[35]=A,_[36]=S,_[37]=m,_[38]=g):g=_[38],_[39]!==f||_[40]!==g?(b=(0,t.jsxs)(t.Fragment,{children:[f,g]}),_[39]=f,_[40]=g,_[41]=b):b=_[41],b};function n(e){return!e}e.s(["default",0,r])},91456,e=>{"use strict";var t=e.i(86052);e.s(["LanguageSwitch",()=>t.default])},40702,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(49266),r=e.i(55439),n=e.i(97268),s=e.i(62532),l=e.i(91788);let o=e=>{let o,c,d,u,h,f,p,m=(0,a.c)(23),{loading:g,tabsData:b,isMicrositeEnabled:_,micrositeL1List:y,selectedItem:x,onSelect:v}=e,[,A]=(0,l.useState)(x??null);m[0]!==v?(o=e=>{A(e),v&&v(e)},m[0]=v,m[1]=o):o=m[1];let w=o;if(!e.display){let e;return m[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),m[2]=e):e=m[2],e}m[3]!==w||m[4]!==_||m[5]!==y||m[6]!==x||m[7]!==b?(c=()=>
35{if(!_)return(0,t.jsx)(s.default,{...b});let e=y?.filter(e=>e.title!==x);return(0,t.jsx)("ul",{className:"language-switcher-country",children:e?.map((e,a)=>(0,t.jsx)("li",{onClick:()=>w(e.title),children:(0,t.jsx)("a",{className:"language-switcher-country-list",href:e.uri,children:e.title})},a))})},m[3]=w,m[4]=_,m[5]=y,m[6]=x,m[7]=b,m[8]=c):c=m[8];let E=c;return m[9]!==e?(d=e?.displayClose&&(0,t.jsxs)("span",{children:[" ",(0,t.jsx)(i.Icon,{iconName:"simplifiedMenuCloseIcon",onClick:()=>e?.setIsLangSwitcherActive(!1),className:"simplifiedHeader-close"})]}),m[9]=e,m[10]=d):d=m[10],m[11]!==e.title?(u=(0,t.jsx)("h3",{className:"language-switcher-title bold",children:e.title}),m[11]=e.title,m[12]=u):u=m[12],m[13]!==e.divider.className?(h=(0,t.jsx)(r.Seperator,{className:e.divider.className}),m[13]=e.divider.className,m[14]=h):h=m[14],m[15]!==E||m[16]!==g?(f=g?(0,t.jsx)(n.default,{display:!0}):E(),m[15]=E,m[16]=g,m[17]=f):f=m[17],m[18]!==d||m[19]!==u||m[20]!==h||m[21]!==f?(p=(0,t.jsxs)("div",{className:"language-switcher-popup",children:[d,u,h,f]}),m[18]=d,m[19]=u,m[20]=h,m[21]=f,m[22]=p):p=m[22],p}},68316,e=>{"use strict";e.s(["default",()=>d]);var t=e.i(91398);e.i(48756);var a=e.i(45861),i=e.i(17626),r=e.i(49266),n=e.i(91456),s=e.i(41282),l=e.i(91788),o=e.i(40702),c=e.i(70218);let d=({logo:e,links:d,topPosition:u,scrollAmount:h,invertColorBackground:f,enableCountrySwitcher:p,ctaWebsiteData:m,languageSelected:g,languageList:b,eyebrowMenuAlignment:_="right",loading:y})=>{let{ctaWebsiteLink:x,ctaWebsiteTarget:v,ctaWebsiteTitle:A,ctaWebsitePosition:w="left"}=m??{},E=(0,l.useRef)(null),[S,C]=(0,l.useState)(!1),[T,N]=(0,l.useState)(!1),[k,I]=(0,l.useState)(!1),j=h??0,P=()=>{let e=E.current;e&&(N(e.scrollWidth>e.clientWidth&&e.scrollLeft<e.scrollWidth-e.clientWidth),C(e.scrollLeft>0))},L=e=>{let t=E.current;t&&(t.scrollLeft+="left"===e?-j:j,P())},O=()=>{I(e=>!e),(0,s.handleDataLayerNavigationHeader)("Language Switcher")},D=!1,M=!1,R=()=>{M=!0,B()},F=(0,c.useOutsideClick)(R),B=()=>{I(!1),D=!1,M=!1};(0,l.useEffect)(()=>(P(),window.addEventListener("resize",P),()=>{window.removeEventListener("resize",P)}),[]);let U="left"===_,H="left"===w&&!U,[$,G]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{(()=>{E.current&&(E?.current?.offsetWidth>609?(G(!0),P()):G(!1))})()},[$]),(0,t.jsx)("div",{className:`eyebrow-menu ${1===f?"eyebrow-invert":""}`,style:{top:`${u}px`},children:(0,t.jsx)("div",{className:"eyebrow-menu-container",children:H?(0,t.jsxs)("div",{className:"navigation",children:[(0,t.jsxs)("div",{className:"navigation content",children:[e&&(0,t.jsx)("img",{src:e,alt:"",className:`eyebrow-menu-logo ${1===f?"white-filter":""}`}),!!A&&!!x&&(0,t.jsx)(i.AnchorButton,{tabindex:0,isSecondary:!0,className:"eyebrow-menu-hcp",href:x??"",isExternal:!1,target:v,children:A})]}),(0,t.jsxs)("div",{className:"navigation content",children:[S&&(0,t.jsxs)("div",{className:"eyebrow-menu-button-container",children:[(0,t.jsx)("div",{className:"eyebrow-menu-bg eyebrow-menu-bg-left"}),(0,t.jsx)("button",{className:"btn btn-icon btn-icon",onClick:()=>L("left"),type:"button","aria-label":"Scroll left",children:(0,t.jsx)(r.Icon,{iconName:"ChevronLefttIcon"})})]}),(0,t.jsx)("div",{className:`eyebrow-menu-links ${$?"carousel":""}`,ref:E,onScroll:P,children:d?.map((e,i)=>(0,t.jsx)(a.Anchor,{tabindex:i,noUnderline:!0,isExternal:"externalLink"==e.type,href:"email"===e.type?`mailto:${e.href}`:e.href,dataLayerOnClick:()=>(0,s.handleDataLayerNavigationHeader)(e.name),children:e.name},`${e.name}${i}`))}),T&&(0,t.jsxs)("div",{className:"eyebrow-menu-button-container",children:[(0,t.jsx)("div",{className:"eyebrow-menu-bg"}),(0,t.jsx)("button",{className:"btn btn-icon",onClick:()=>{L("right")},type:"button","aria-label":"Scroll right",children:(0,t.jsx)(r.Icon,{iconName:"ChevronRightIcon2"})})]}),!!p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.LanguageSwitch,{...g,closeIcon:(0,t.jsx)(r.Icon,{iconName:"CollapseUpIcon",className:"language-switch-close-icon"}),onClick:O,displayActive:k,className:"switcher"}),(0,t.jsx)("div",{className:"header-langswitcher-popup",ref:F,children:(0,t.jsx)(o.default,{...b,loading:y,display:k})})]})]})]}):(0,t.jsxs)("div",{className:"navigation",children:[(0,t.jsxs)("div",{className:"navigation content",children:[e&&(0,t.jsx)("img",{src:e,alt:"Sandoz Logo",className:`eyebrow-menu-logo ${1===f?"white-filter":""}`}),S&&(0,t.jsxs)("div",{className:"eyebrow-menu-button-container",children:[(0,t.jsx)("div",{className:"eyebrow-menu-bg eyebrow-menu-bg-left"}),(0,t.jsx)("button",{className:"btn btn-icon btn-icon",onClick:()=>{L("left")},type:"button","aria-label":"Scroll left",children:(0,t.jsx)(r.Icon,{iconName:"ChevronLefttIcon"})})]}),(0,t.jsx)("div",{className:`eyebrow-menu-links ${$?"carousel":""}`,ref:E,onScroll:P,children:d?.map((e,i)=>(0,t.jsx)(a.Anchor,{tabindex:i,noUnderline:!0,isExternal:"externalLink"==e.type,href:"email"===e.type?`mailto:${e.href}`:e.href,dataLayerOnClick:()=>(0,s.handleDataLayerNavigationHeader)(e.name),children:e.name},`${e.name}${i}`))}),T&&(0,t.jsxs)("div",{className:"eyebrow-menu-button-container",children:[(0,t.jsx)("div",{className:"eyebrow-menu-bg"}),(0,t.jsx)("button",{className:"btn btn-icon",onClick:()=>{L("right")},type:"button","aria-label":"Scroll right",children:(0,t.jsx)(r.Icon,{iconName:"ChevronRightIcon2"})})]})]}),(0,t.jsxs)("div",{className:"navigation content",children:[!!A&&!!x&&(0,t.jsx)(i.AnchorButton,{tabindex:0,isSecondary:!0,className:"eyebrow-menu-hcp",href:x??"",isExternal:!1,target:v,children:A}),!!p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.LanguageSwitch,{...g,closeIcon:(0,t.jsx)(r.Icon,{iconName:"CollapseUpIcon",className:"language-switch-close-icon"}),onClick:O,displayActive:k,className:"switcher"}),(0,t.jsx)("div",{className:"header-langswitcher-popup",ref:F,children:(0,t.jsx)(o.default,{...b,loading:y,display:k})})]})]})]})})})}},96788,e=>{"use strict";e.s(["MicrositeLinks",()=>t.default]);var t=e.i(42858)},79285,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576),i=e.i(41282);e.i(48756);var r=e.i(45861),n=e.i(70184);function s(e,a){return(0,t.jsx)(r.Anchor,{href:e.link,tabindex:0,noUnderline:!0,"aria-label":e.altText,isExternal:!0,dataLayerOnClick:()=>(0,i.handleDataLayerNavigationFooter)(e.title),children:(0,t.jsx)(n.Img,{alt:e?.altText??"logo",src:e.logoUrl,width:24,height:24,type:"icon"})},a+2)}let l=function(e){let i,r,n,l,o=(0,a.c)(9),{socialIconData:c,followUs:d}=e;return o[0]!==d?(i=d&&(0,t.jsx)("div",{className:"footer-socialIcon-follow",children:(0,t.jsx)("span",{children:d})}),o[0]=d,o[1]=i):i=o[1],o[2]!==c?(r=c?.length?c.map(s):(0,t.jsx)("div",{}),o[2]=c,o[3]=r):r=o[3],o[4]!==r?(n=(0,t.jsx)("div",{className:"footer-socialIcon-icon",children:r}),o[4]=r,o[5]=n):n=o[5],o[6]!==i||o[7]!==n?(l=(0,t.jsxs)("div",{className:"footer-socialIcon",children:[i,n]}),o[6]=i,o[7]=n,o[8]=l):l=o[8],l}},77444,e=>{"use strict";e.s(["default",()=>g]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(45861),n=e.i(17419),s=e.i(6271),l=e.i(70184),o=e.i(5223),c=e.i(66196),d=e.i(41282);e.i(35958);var u=e.i(96788),h=e.i(67552),f=e.i(79285),p=e.i(93268),m=e.i(82054);let g=e=>{let d,p,g,v,A,w,E,S,C,T,N,k,I,j,P,L,O,D,M,R,F=(0,a.c)(55),B=(0,i.useContext)(m.default),U=B?.applicationConfiguration?.mlrID?B?.applicationConfiguration?.mlrID:"",H=e?.footerBottomSection?.logoLink,$=B?.applicationConfiguration?.siteConfig?.footer_logo_link,G=e?.footerBottomSection?.logoHref,W=e?.footerBottomSection?.logoAlt??e?.footerBottomSection?.footer_logo_alt??"";F[0]!==$||F[1]!==G?(d=G&&G?.length>1?G:$?.length>1?$:(0,h.getHomepageurl)(),F[0]=$,F[1]=G,F[2]=d):d=F[2],F[3]!==W||F[4]!==H||F[5]!==e.footerBottomSection.logoLink?(p=H&&(0,t.jsx)(l.Img,{alt:W&&W?.length>1?W:"logo",src:e?.footerBottomSection?.logoLink,width:200,height:100,className:"img-fluid",type:"icon"}),F[3]=W,F[4]=H,F[5]=e.footerBottomSection.logoLink,F[6]=p):p=F[6],F[7]!==d||F[8]!==p?(g=(0,t.jsx)(r.Anchor,{href:d,tabindex:0,noUnderline:!0,className:"logo",dataLayerOnClick:b,children:p}),F[7]=d,F[8]=p,F[9]=g):g=F[9];let Y=`paragraph footer-text ${!H?"no-img":""}`,z=e?.footerBottomSection?.paragraph;F[10]!==Y||F[11]!==z?(v=(0,t.jsx)("li",{className:"description",children:(0,t.jsx)(o.RichText,{className:Y,content:z})}),F[10]=Y,F[11]=z,F[12]=v):v=F[12];let V=e?.footerBottomSection?.socialIconData,K=e?.footerBottomSection?.follow_us;F[13]!==V||F[14]!==K?(A=(0,t.jsx)("li",{children:(0,t.jsx)(f.default,{socialIconData:V,followUs:K})}),F[13]=V,F[14]=K,F[15]=A):A=F[15],F[16]!==v||F[17]!==A?(w=(0,t.jsxs)("ul",{className:"list-unstyled small",children:[v,A]}),F[16]=v,F[17]=A,F[18]=w):w=F[18],F[19]!==g||F[20]!==w?(E=(0,t.jsxs)(n.Column,{mobile:12,tablet:12,desktop:3,children:[g,w]}),F[19]=g,F[20]=w,F[21]=E):E=F[21],F[22]!==e.footerNavigation?(S=e.footerNavigation?.map(_),F[22]=e.footerNavigation,F[23]=S):S=F[23],F[24]!==S?(C=(0,t.jsx)(n.Column,{mobile:12,tablet:9,desktop:9,className:"row footer-footerNavigation footer-desktop",children:S}),F[24]=S,F[25]=C):C=F[25],F[26]!==E||F[27]!==C?(T=(0,t.jsxs)("div",{className:"row footer-top",children:[E,C]}),F[26]=E,F[27]=C,F[28]=T):T=F[28],F[29]!==e.footerNavigation?(N=e.footerNavigation?.map(y),F[29]=e.footerNavigation,F[30]=N):N=F[30],F[31]!==N?(k=(0,t.jsx)("div",{className:"accordion accordion-flush  footer-mobile",id:"accordionFlushFo
35oterMobile",children:N}),F[31]=N,F[32]=k):k=F[32],F[33]!==e.footerMicrosite?(I=e?.footerMicrosite?.microFooterFlag?(0,t.jsx)("div",{className:"micrositeFooter",children:(0,t.jsx)(u.MicrositeLinks,{microData:e.footerMicrosite.microFooterData,title:e?.footerMicrosite?.microFooterTitle})}):(0,t.jsx)(t.Fragment,{}),F[33]=e.footerMicrosite,F[34]=I):I=F[34],F[35]!==U?(j=(0,t.jsx)(t.Fragment,{children:U}),F[35]=U,F[36]=j):j=F[36];let q=e?.footerBottomSection?.copyRightText;return F[37]!==q?(P=(0,t.jsx)(o.RichText,{className:"footer-first footer-text",content:q}),F[37]=q,F[38]=P):P=F[38],F[39]!==e.footerSecondaryMenu?(L=e?.footerSecondaryMenu?.map(x),F[39]=e.footerSecondaryMenu,F[40]=L):L=F[40],F[41]!==L?(O=(0,t.jsx)("span",{className:"footer-middle",children:L}),F[41]=L,F[42]=O):O=F[42],F[43]!==e.footerBottomSection.footerText?(D=(0,t.jsx)(o.RichText,{className:"footer-last footer-text",content:e.footerBottomSection.footerText}),F[43]=e.footerBottomSection.footerText,F[44]=D):D=F[44],F[45]!==P||F[46]!==O||F[47]!==D?(M=(0,t.jsxs)("div",{className:"footer-bottom",children:[P,O,D]}),F[45]=P,F[46]=O,F[47]=D,F[48]=M):M=F[48],F[49]!==T||F[50]!==k||F[51]!==I||F[52]!==j||F[53]!==M?(R=(0,t.jsx)("div",{className:"footer",children:(0,t.jsx)(s.Container,{children:(0,t.jsxs)(c.Row,{children:[T,k,I,j,M]})})}),F[49]=T,F[50]=k,F[51]=I,F[52]=j,F[53]=M,F[54]=R):R=F[54],R};function b(){return(0,d.handleDataLayerNavigationFooter)("logo")}function _(e,a){return(0,t.jsx)(p.default,{title:e.title,child:e.child},a)}function y(e,a){return(0,t.jsxs)("div",{className:"accordion-item",children:[(0,t.jsx)("h2",{className:"accordion-header",id:`footer-flush-headingOne${a}`,children:(0,t.jsx)("button",{className:"accordion-button collapsed ",type:"button","data-bs-toggle":"collapse","data-bs-target":`#footer-flush-collapseOne${a}`,"aria-expanded":"false","aria-controls":`footer-flush-collapseOne${a}`,children:e.title})}),(0,t.jsx)("div",{id:`footer-flush-collapseOne${a}`,className:"accordion-collapse collapse","aria-labelledby":`footer-flush-headingOne${a}`,"data-bs-parent":"#accordionFlushFooterMobile",children:(0,t.jsx)("div",{className:"accordion-body",children:(0,t.jsx)(p.default,{title:e.title,child:e.child},a)})})]},a)}function x(e,a){return(0,t.jsx)(r.Anchor,{className:"footer-text",href:e.link,tabindex:0,noUnderline:!0,target:e?.targetType,dataLayerOnClick:()=>(0,d.handleDataLayerNavigationFooter)(e.title),children:(0,t.jsx)("p",{children:e.title})},a)}},86387,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(49266),n=e.i(5223),s=e.i(41764),l=e.i(23216),o=e.i(88298),c=e.i(3828);let d=e=>{let i,s,o,c,d=(0,a.c)(12),{field_quick_link_card_title:u,body:h,field_card_title:f,cardAlignment:p}=e;return d[0]!==p||d[1]!==u?(i=u&&(0,t.jsx)("h3",{className:"text-description-heading bold "+p,children:u}),d[0]=p,d[1]=u,d[2]=i):i=d[2],d[3]!==h||d[4]!==p?(s=h&&(0,t.jsx)(n.RichText,{className:"text-description-description "+p,content:h,characterLimit:l.default.DESCRIPTION}),d[3]=h,d[4]=p,d[5]=s):s=d[5],d[6]!==f?(o=f&&(0,t.jsxs)("div",{className:"list-links",children:[(0,t.jsx)("span",{className:"list-links-text bold",children:f}),(0,t.jsx)("div",{className:"list-links-icon",children:(0,t.jsx)(r.Icon,{iconName:"RightExpandIcon1"})})]}),d[6]=f,d[7]=o):o=d[7],d[8]!==i||d[9]!==s||d[10]!==o?(c=(0,t.jsxs)("div",{className:"quick-link-content-container",children:[i,s,o]}),d[8]=i,d[9]=s,d[10]=o,d[11]=c):c=d[11],c},u=e=>{let r,n,l,u,h=(0,a.c)(15),{cardInfo:f,cardAlignment:p}=e,m=(0,c.useRouter)(),g="quick-link-card "+p,b=f?.field_card_link==="route:<nolink>"?"javascript:void(0)":f?.field_card_link,_=f?.field_link_target===s.URL_TARGET.BLANK;h[0]!==f?.field_card_link||h[1]!==f?.referenceId||h[2]!==m?(r=()=>(0,o.handleClick)(m,f?.referenceId||f?.field_card_link),h[0]=f?.field_card_link,h[1]=f?.referenceId,h[2]=m,h[3]=r):r=h[3];let y=f?.link_title??"";h[4]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("hr",{className:"list-item-bar"}),h[4]=n):n=h[4];let x=p||"";return h[5]!==f||h[6]!==x?(l=(0,t.jsx)(d,{...f,cardAlignment:x}),h[5]=f,h[6]=x,h[7]=l):l=h[7],h[8]!==g||h[9]!==b||h[10]!==_||h[11]!==r||h[12]!==y||h[13]!==l?(u=(0,t.jsxs)(i.Anchor,{className:g,href:b,tabindex:1,noUnderline:!0,isExternal:_,onClick:r,ariaLabel:y,children:[n,l]}),h[8]=g,h[9]=b,h[10]=_,h[11]=r,h[12]=y,h[13]=l,h[14]=u):u=h[14],u}},29813,e=>{"use strict";e.s(["default",()=>g]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(38233),n=e.i(17626),s=e.i(6271),l=e.i(66196),o=e.i(17419),c=e.i(70184),d=e.i(75425),u=e.i(82054),h=e.i(62532),f=e.i(36762),p=e.i(86387),m=e.i(15464);let g=e=>{let c,g,b,_,A,w,E,S,C,T,N,k,I=(0,a.c)(21),{searchResults:j,searchedPhrase:P,itemsPerPage:L,countResults:O}=e,D=void 0===j?[]:j;I[0]===Symbol.for("react.memo_cache_sentinel")?(c={num:0},I[0]=c):c=I[0];let[M,R]=(0,i.useState)(c);I[1]!==L?(g={start:0,end:L},I[1]=L,I[2]=g):g=I[2];let[F,B]=(0,i.useState)(g),U=(0,i.useContext)(u.default);I[3]!==L?(b=e=>{B({start:e,end:e+L})},I[3]=L,I[4]=b):b=I[4];let H=b;I[5]===Symbol.for("react.memo_cache_sentinel")?(_=e=>{R({num:e})},I[5]=_):_=I[5];let $=_;I[6]===Symbol.for("react.memo_cache_sentinel")?(A={},I[6]=A):A=I[6];let[G,W]=(0,i.useState)(A);I[7]!==U.applicationConfiguration.siteConfig?(w=()=>{(async()=>{let e=U.applicationConfiguration.siteConfig;W({search_go_to_result_global_text:e?.search_go_to_result_global_text??null,search_show_more_results_text:e?.search_show_more_results_text??null,search_results_for:e?.search_results_for??null,search_all:e?.search_all??null})})()},E=[U.applicationConfiguration.siteConfig],I[7]=U.applicationConfiguration.siteConfig,I[8]=w,I[9]=E):(w=I[8],E=I[9]),(0,i.useEffect)(w,E);let Y=y;I[10]===Symbol.for("react.memo_cache_sentinel")?(S=()=>{Y()},I[10]=S):S=I[10],(0,i.useEffect)(S,[D,M]);let z=P.toLowerCase(),V=RegExp(z,"g");I[11]!==P?(C=P.charAt(0).toUpperCase(),I[11]=P,I[12]=C):C=I[12],I[13]!==P?(T=P.slice(1).toLowerCase(),I[13]=P,I[14]=T):T=I[14];let K=C+T,q=RegExp(K,"g"),Q=e=>({__html:String(e).replaceAll(V,`<span class="globalSearchResult__spanSearchedPhrase">${z}</span>`).replaceAll(q,`<span class="globalSearchResult__spanSearchedPhrase">${K}</span>`)}),Z=[{children:`${G.search_all} (${O})`,itemID:G.search_all,tabDesign:"wide"}].concat(D.map(x)),X=(e,a)=>{let i=Array?.isArray(e?.prodImages)&&e?.prodImages?.length>0;
35return(0,t.jsxs)(l.Row,{className:"globalSearchResult__productContainer",children:[i&&(0,t.jsx)(o.Column,{mobile:12,tablet:3,desktop:3,children:(0,t.jsx)("div",{className:"globalSearchResult__productImg",children:Array.isArray(e?.prodImages)&&e?.prodImages?.map(v)})}),(0,t.jsxs)(o.Column,{mobile:12,tablet:i?9:12,desktop:i?9:12,className:i?"globalSearchResult__productContent":"globalSearchResult__productContentwithoutImage",children:[(0,t.jsx)("h3",{className:"globalSearchResult__productTitle",dangerouslySetInnerHTML:Q((0,m.DOMSanitizer)(e?.articleTitle)),tabIndex:0}),(0,t.jsxs)("div",{className:"globalSearchResult__productButton",children:[e?.basistextAnchoredLink&&e?.basistextAnchoredLabel&&(0,t.jsx)(n.AnchorButton,{tabindex:1,isSecondary:!0,href:e?.basistextAnchoredLink,isExternal:!1,ariaLabel:e.basistextAnchoredLabel,children:e.basistextAnchoredLabel}),(0,t.jsx)(n.AnchorButton,{tabindex:1,isSecondary:!1,href:e?.path,isExternal:!1,ariaLabel:e?.productCtaLabel||"Product",children:e?.productCtaLabel||"Product"})]})]})]},`product-${a}`)},J=(e,a)=>(0,t.jsxs)("div",{className:"globalSearchResult__searchResultContainer",children:[(0,t.jsx)("h3",{className:"globalSearchResult__searchResultHeader",dangerouslySetInnerHTML:Q((0,m.DOMSanitizer)(e?.articleTitle)),tabIndex:0}),(0,t.jsx)("p",{className:"globalSearchResult__searchResultDesc",dangerouslySetInnerHTML:Q((0,m.DOMSanitizer)(e?.articleDesc)),tabIndex:e?.articleDesc?0:-1}),(0,t.jsx)(p.default,{cardInfo:{field_card_title:G?.search_go_to_result_global_text,field_card_link:e?.path,field_link_target:"_self",link_title:`${G?.search_go_to_result_global_text} ${e?.articleTitle}`}})]},`default-${a}`),ee=[(0,t.jsx)("div",{children:D?.map((e,a)=>(0,t.jsxs)("div",{className:"globalSearchResult__resultsCategoryContainer",children:[(0,t.jsx)("h2",{className:"globalSearchResult__resultsCategory",tabIndex:0,children:`${e?.category} (${e?.results?.length})`}),e?.results?.slice(0,4)?.map((t,a)=>e?.isProductCategory?X(t,a):J(t,a)),e?.results?.length>d.default.FOUR&&(0,t.jsx)("div",{className:"globalSearchResult__showMoreButtonContainer",children:(0,t.jsx)(r.Button,{tabindex:0,isSecondary:!1,className:"globalSearchResult__searchResultButton padding-button",onClick:()=>$(a+1),ariaLabel:G?.search_show_more_results_text,children:G?.search_show_more_results_text})})]},`category-${a}`))},"initial-results"),...D?.map((e,a)=>(0,t.jsxs)("div",{className:"globalSearchResult__resultsCategoryContainer",children:[e?.results?.slice(F?.start,F?.end)?.map((t,a)=>e?.isProductCategory?X(t,a):J(t,a)),e?.results?.length>10&&(0,t.jsx)(f.default,{className:`pagination-item-${a}`,itemsPerPage:L,itemsCount:e?.results?.length,onClick:H})]},`paginated-${a}`))],et=G?.search_results_for;return I[15]!==P?(N=(0,t.jsxs)("span",{className:"globalSearchResult__searchedPhrase",children:["“",P,"”"]}),I[15]=P,I[16]=N):N=I[16],I[17]!==O||I[18]!==et||I[19]!==N?(k=(0,t.jsx)("div",{"aria-live":"polite","aria-atomic":"true",children:(0,t.jsxs)("h1",{className:"globalSearchResult__header",tabIndex:0,children:[O," ",et,N]})}),I[17]=O,I[18]=et,I[19]=N,I[20]=k):k=I[20],(0,t.jsx)(s.Container,{children:(0,t.jsxs)("div",{className:"globalSearchResult__container",children:[k,(0,t.jsx)(h.default,{tabHeadClassName:"globalSearchResult__tabsContainer",tabHeadItems:Z,tabContents:ee,activeItem:M})]})})};function b(e){e.setAttribute("tabindex","-1")}function _(e){e.querySelectorAll("a, button").forEach(b)}function y(){document.querySelectorAll(".globalSearchResult__searchResultDesc").forEach(_)}function x(e){return{children:`${e.category} (${e.results.length})`,itemID:e.category,tabDesign:"wide"}}function v(e,a){return(0,t.jsx)(c.Img,{type:"plp_list",styledimage:e?.styledimage??e?.image_style_uri,alt:e?.alt,src:e?.src,width:268,height:135},a)}},43633,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(70184);let n=e=>{let n,s,l=(0,a.c)(7);if(!e.href){let e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),l[0]=e):e=l[0],e}return l[1]!==e.alt||l[2]!==e.image?(n=e.image?(0,t.jsx)(r.Img,{type:"default",width:1727,height:264,src:e.image,alt:e.alt}):(0,t.jsx)(t.Fragment,{}),l[1]=e.alt,l[2]=e.image,l[3]=n):n=l[3],l[4]!==e.href||l[5]!==n?(s=(0,t.jsx)(i.Anchor,{href:e.href,tabindex:0,noUnderline:!0,isExternal:!0,className:"google-map",children:n}),l[4]=e.href,l[5]=n,l[6]=s):s=l[6],s}},39936,e=>{"use strict";
35var t=e.i(61576),a=e.i(91788),i=t,r=a;let n=a.useLayoutEffect,s=function(e,t,a,s){let l,o,c,d,u=(0,i.c)(11),h=(0,r.useRef)(t);u[0]!==t?(l=()=>{h.current=t},o=[t],u[0]=t,u[1]=l,u[2]=o):(l=u[1],o=u[2]),n(l,o),u[3]!==a?.current||u[4]!==e||u[5]!==s?(c=()=>{let t=a?.current??window;if(!(t&&t.addEventListener))return;let i=e=>h.current(e);return t.addEventListener(e,i,s),()=>{t.removeEventListener(e,i,s)}},u[3]=a?.current,u[4]=e,u[5]=s,u[6]=c):c=u[6],u[7]!==a||u[8]!==e||u[9]!==s?(d=[e,a,s],u[7]=a,u[8]=e,u[9]=s,u[10]=d):d=u[10],(0,r.useEffect)(c,d)},l=function(){let e,i,r,l,o,c=(0,t.c)(11),[d,u]=(0,a.useState)(null);c[0]===Symbol.for("react.memo_cache_sentinel")?(e={width:0,height:0},c[0]=e):e=c[0];let[h,f]=(0,a.useState)(e);c[1]!==d?.offsetHeight||c[2]!==d?.offsetWidth?(i=()=>{f({width:d?.offsetWidth||0,height:d?.offsetHeight||0})},c[1]=d?.offsetHeight,c[2]=d?.offsetWidth,c[3]=i):i=c[3],d?.offsetHeight,d?.offsetWidth;let p=i;s("resize",p),c[4]!==p?(r=()=>{p()},c[4]=p,c[5]=r):r=c[5];let m=d?.offsetHeight,g=d?.offsetWidth;return c[6]!==m||c[7]!==g?(l=[m,g],c[6]=m,c[7]=g,c[8]=l):l=c[8],n(r,l),c[9]!==h?(o=[u,h],c[9]=h,c[10]=o):o=c[10],o};e.s(["default",0,l],39936)},37707,e=>{"use strict";e.s(["FloatingBanner",()=>t.default]);var t=e.i(3731)},11375,50153,e=>{"use strict";e.s(["HeaderMenu",()=>t.default],11375);var t=e.i(67212);e.s(["MenuImage",()=>a.default],50153);var a=e.i(16950)},87374,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(45861),n=e.i(38233),s=e.i(55439),l=e.i(22276),o=e.i(67552),c=e.i(63712),d=e.i(82054);let u=(e,a,i)=>(0,t.jsx)("ul",{className:"user-menu-list",role:"menu","aria-label":"menulist",children:e?.filter((e,t)=>t<=6).map((e,n)=>{if(e?.title){let l=e.link;return e?.isGlobalLink?l=a(e.link):e?.appendRedirectUrl&&(l=i(e.link)),(0,t.jsxs)("li",{role:"menuitem",tabIndex:n+1,children:[(0,t.jsx)(r.Anchor,{className:"user-menu-list-nav-item",href:l,tabindex:n+1,noUnderline:!0,isExternal:e.link_type,"aria-label":e.title,children:(0,t.jsx)("h5",{className:"link-list-text bold",children:e.title})}),(0,t.jsx)(s.Seperator,{className:"separator","aria-hidden":"true"})]},n)}return null})}),h=e=>{let r,s,h,_,y,x,v,A,w,E=(0,a.c)(32),{userName:S,userMenuDetails:C,makeUserLogout:T,isBtnPrimary:N}=e,k=void 0!==N&&N;E[0]!==C?(r=C??{},E[0]=C,E[1]=r):r=E[1];let{user_menu_logged_in:I,ctaMenuLink:j,user_menu_logged_out:P}=r;E[2]!==j?(s=void 0===j?[]:j,E[2]=j,E[3]=s):s=E[3];let L=s,O=(0,l.useSelector)(f);E[4]!==O?(h=(0,o.isDocCheckUser)(O),E[4]=O,E[5]=h):h=E[5];let D=!h,M=(0,l.useSelector)(p),R=(0,l.useSelector)(m),{applicationConfiguration:F}=(0,i.useContext)(d.default),{getUrlWithParams:B,appendEncodedReturnUrl:U}=(0,c.default)(F);E[6]!==F?.siteConfig?.cob_behalf_of_label||E[7]!==R?(_=()=>{let e=F?.siteConfig?.cob_behalf_of_label,[a,i]=e?.split("@cust"),r=void 0===i?"":i,n=g,s=n(void 0===a?"":a),l=n(r);return(0,t.jsxs)("p",{className:"user-menu-cob-username",children:[s.opening&&(0,t.jsx)("span",{className:"behalf-bracket",children:s?.opening}),s.content&&(0,t.jsxs)("span",{className:"behalf-text",children:[s?.content," "]}),(0,t.jsx)("span",{className:"behalf-name",children:R}),l.content&&(0,t.jsx)("span",{className:"behalf-text",children:l?.content}),l.closing&&(0,t.jsx)("span",{className:"behalf-bracket",children:l?.closing})]})},E[6]=F?.siteConfig?.cob_behalf_of_label,E[7]=R,E[8]=_):_=E[8];let H=_;E[9]!==R||E[10]!==M||E[11]!==D||E[12]!==H||E[13]!==S||E[14]!==I?(y=D&&(0,t.jsxs)("div",{className:"user-menu-login cursor-default","aria-labelledby":"user-menu-login",onClick:b,children:[(0,t.jsx)("h5",{className:"user-menu-greetings",id:"user-menu-login",children:I}),(0,t.jsx)("h5",{className:"user-menu-username",children:S}),M&&""!==R&&H()]}),E[9]=R,E[10]=M,E[11]=D,E[12]=H,E[13]=S,E[14]=I,E[15]=y):y=E[15],E[16]!==U||E[17]!==L||E[18]!==B||E[19]!==D?(x=Array.isArray(L)&&L.length>0&&D&&(0,t.jsx)("nav",{className:"mt-4","aria-label":"menulist",children:u(L,B,U)}),E[16]=U,E[17]=L,E[18]=B,E[19]=D,E[20]=x):x=E[20];let $=!k;return E[21]!==P?(v=(0,t.jsx)("span",{className:"user-menu-logoff",children:P}),E[21]=P,E[22]=v):v=E[22],E[23]!==T||E[24]!==v||E[25]!==$||E[26]!==P?(A=(0,t.jsx)(n.Button,{className:"mb-0",tabindex:0,isSecondary:$,onClick:T,"aria-label":P,children:v}),E[23]=T,E[24]=v,E[25]=$,E[26]=P,E[27]=A):A=E[27],E[28]!==A||E[29]!==y||E[30]!==x?(w=(0,t.jsxs)("div",{className:"user-menu","aria-expanded":!0,children:[y,x,A]}),E[28]=A,E[29]=y,E[30]=x,E[31]=w):w=E[31],w};function f(e){return e.user}function p(e){return e?.eshop?.EcommFlag}function m(e){return e?.eshop?.hcoUser}function g(e){let t=e?.trim(),a=new RegExp(/^[([{]/).exec(t),i=new RegExp(/[)\]}]$/).exec(t);return{opening:a?a[0]:"",closing:i?i[0]:"",content:t.replace(/^[([{]/,"").replace(/[)\]}]$/,"").trim()}}function b(e){return e.stopPropagation()}},98765,e=>{"use strict";e.s(["UserMenu",()=>t.default]);var t=e.i(87374)},33462,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(6271),r=e.i(49266),n=e.i(62467),s=e.i(17503);let l=e=>{let l,o,c,d,u,h=(0,a.c)(17);h[0]!==e.className?(l=()=>{let t=[];return t.push("search-bar"),e.className&&t.push(e.className),t.join(" ")},h[0]=e.className,h[1]=l):l=h[1];let f=l,p=e.searchContent,m=f(),g=`card ${e?.isTypeAhead?"overlay":""}`;return h[2]!==e?(o=e?.displayClose&&(0,t.jsxs)("span",{children:[" ",(0,t.jsx)(r.Icon,{iconName:"simplifiedMenuCloseIcon",onClick:()=>e?.setIsSearchOpen(!1),className:"simplifiedHeader-close"})]}),h[2]=e,h[3]=o):o=h[3],h[4]!==e.isTypeAhead||h[5]!==e.showIconOnCTA||h[6]!==p.buttonText||h[7]!==p.handleTextSearch||h[8]!==p.inputDataContent?(c=(0,t.jsx)(i.Container,{children:e?.isTypeAhead?(0,t.jsx)(n.default,{inputDataContent:p.inputDataContent,buttonText:p.buttonText,handleTextSearch:p.handleTextSearch,showIconOnCTA:e?.showIconOnCTA??!1}):(0,t.jsx)(s.default,{inputDataContent:p.inputDataContent,buttonText:p.buttonText,handleTextSearch:p.handleTextSearch})}),h[4]=e.isTypeAhead,h[5]=e.showIconOnCTA,h[6]=p.buttonText,h[7]=p.handleTextSearch,h[8]=
35p.inputDataContent,h[9]=c):c=h[9],h[10]!==g||h[11]!==o||h[12]!==c?(d=(0,t.jsxs)("div",{className:g,children:[o,c]}),h[10]=g,h[11]=o,h[12]=c,h[13]=d):d=h[13],h[14]!==m||h[15]!==d?(u=(0,t.jsx)("div",{className:m,children:d}),h[14]=m,h[15]=d,h[16]=u):u=h[16],u}},66558,e=>{"use strict";e.s(["default",()=>q]);var t=e.i(91398),a=e.i(91788),i=e.i(3828),r=e.i(22276),n=e.i(15315),s=e.i(20549),l=e.i(72094),o=e.i(70218),c=e.i(39936);e.i(48756);var d=e.i(17626),u=e.i(6271),h=e.i(49266),f=e.i(70184),p=e.i(91456),m=e.i(5223),g=e.i(66196);e.i(35958);var b=e.i(37707),_=e.i(11375),y=e.i(50153),x=e.i(76988),v=e.i(31407),A=e.i(41282),w=e.i(75425),E=e.i(82108),S=e.i(10828),C=e.i(62869),T=e.i(68489),N=e.i(67552),k=e.i(82054);e.i(62179);var I=e.i(98765),j=e.i(33462),P=e.i(40702),L=e.i(60626),O=e.i(31808),D=e.i(97268),M=e.i(21672),R=e.i(63712),F=e.i(49720),B=e.i(41764);e.i(41871);var U=e.i(87612),H=e.i(17020),$=e.i(43927),G=e.i(1803),W=e.i(58372),Y=e.i(61601),z=e.i(82725);let V=(0,T.default)(()=>e.A(43318),{loadableGenerated:{modules:[48765]},ssr:!1}),K=(0,T.default)(()=>e.A(92237),{loadableGenerated:{modules:[68585]},ssr:!1}),q=({loading:e,topSection:T,languageSelected:q,userData:Q,languageList:Z,megaMenu:X,loginPopup:J,floatingBanner:ee,eyebrowMenu:et,isDisabled:ea,micrositeConfig:ei,onFloatingBannerClose:er})=>{let[en,es]=(0,a.useState)(!1),[el,eo]=(0,a.useState)(!1),[ec,ed]=(0,a.useState)(!1),[eu,eh]=(0,a.useState)(!1),[ef,ep]=(0,a.useState)(!1),[em,eg]=(0,a.useState)(0),[eb,e_]=(0,a.useState)(""),[ey,ex]=(0,a.useState)(!0),[ev,eA]=(0,a.useState)(!1),[ew,eE]=(0,a.useState)(!1),[eS,eC]=(0,a.useState)(!1),{applicationConfiguration:eT}=(0,a.useContext)(k.default),{handleLoginRedirection:eN,getCurrentAppId:ek,appendEncodedReturnUrl:eI}=(0,R.default)(eT),ej=eT?.headerConfiguration,eP=(0,r.useSelector)(e=>e.user,r.shallowEqual),eL=(0,r.useSelector)(e=>e.webshop),eO=(0,r.useSelector)(e=>e?.common),{session:eD,csrf:eM}=(0,r.useSelector)(e=>e.appSession),eR=(0,r.useSelector)(e=>e?.eshop?.EcommFlag),eF=(0,a.useRef)(null),eB=(0,U.useMediaQuery)("(max-width: 767px)"),eU=(0,U.useMediaQuery)("(max-width: 991px)"),{isDataReady:eH,clientId:e$,...eG}=(0,$.default)(),eW=(0,G.usePreviousRoute)(),eY=()=>{eF.current&&eC(eF.current.getBoundingClientRect().top<0)},ez=(0,r.useDispatch)(),[eV,{height:eK}]=(0,c.default)(),eq=(0,a.useCallback)(()=>ez((0,W.clearSession)()),[ez]),{clearUserSessionData:eQ}=(0,F.default)(),eZ=()=>{es(e=>!e),(0,A.handleDataLayerNavigationHeader)("Language Switcher")},eX=X&&X.length>0?X[0].menuImageData:[],eJ=!!eT?.siteConfig?.webstore_enable_non_loggedin_users&&eL?.productsInCart?.length>0,{floating_banner_is_sticky:e0,hcp_website_link:e1,hcp_website_target:e2,hcp_website_position:e3,invert_color_background:e4,enable_country_switcher:e6,hcp_website_title:e5,eyebrow_menu_alignment:e8}=eT?.siteConfig,e7={ctaWebsiteLink:e1,ctaWebsiteTarget:e2,ctaWebsitePosition:e3,ctaWebsiteTitle:e5},e9=(0,i.useRouter)(),te=!1,tt=!1,ta=(0,a.useCallback)(e=>ez((0,O.setRefApplicationID)(e)),[ez]),ti=(0,a.useCallback)(e=>ez((0,O.updateReloadContent)(e)),[ez]);(0,a.useEffect)(()=>{tn(),eo(!1)},[e9.query]);let tr=e=>{"Enter"===e.key&&eh(!eu)},tn=()=>{tu.current&&(tu.current.className="navbar-toggler collapsed"),tc.current&&(tc.current.className="collapse"),eo(!1),te=!1,tt=!1},ts={inputDataContent:{type:"primary",placeholder:"How can we help today?"},buttonText:"Search",handleTextSearch:(e,t)=>{t&&t.preventDefault(),e.length>0&&("/search"===e9.pathname?e9.push({pathname:"/search",query:{search:`${e}`}},void 0,{shallow:!0}):e9.push({pathname:"/search",query:{search:`${e}`}}))}},tl=()=>{te&&tn()},to=()=>{te=!0,tl()},tc=(0,o.useOutsideClick)(to),td=()=>{tt=!0,tl()},tu=(0,o.useOutsideClick)(td),th=()=>{ed(!1)},tf=(0,o.useOutsideClick)(th),tp=()=>{t_=!0,tx()},tm=(0,o.useOutsideClick)(tp),tg=()=>{ty=!0,tx()},tb=(0,o.useOutsideClick)(tg),t_=!1,ty=!1,tx=()=>{t_&&ty&&(es(!1),t_=!1,ty=!1)},[tv,tA]=(0,a.useState)(ee?.display),tw=(0,a.useMemo)(()=>({floatingBanner:ee,eyebrowMenu:et,displayFloatingBanner:tv,setDisplayFloatingBanner:tA}),[tv]);(0,a.useEffect)(()=>(ex("false"!==sessionStorage.getItem("showBanner")),!1!==tv)?eg(eK):tv?void 0:eg(w.default.ZERO),[eK,tv]);let tE=(0,a.useCallback)(e=>ez((0,s.resetUser)(e)),[ez]),tS=(0,a.useCallback)((e,t)=>ez((0,O.setUserStateGlobally)(e,t)),[ez]),tC=(0,a.useCallback)(e=>ez((0,M.resetRatings)(e)),[ez]),tT=async()=>
35{if(eA(!0),localStorage.removeItem("Key"),(0,N.isDocCheckUser)(eP))eq(),tE({}),eQ(),tS(!1,"");else{let e=eT?.isSandozIDEnabled?l.config.onPrem.LOGOUT_API_URL_SANDOZ_ID:l.config.onPrem.LOGOUT_API_URL,t=eT?.isSandozIDEnabled?{app_id:ek()}:{};try{eR&&(0,H.default)({session:eD,csrf:eM})}catch(e){console.error("E-shop logout failed, continuing with main logout",e)}let a=await (0,n.middlewarePostAPI)(e,t);if(eq(),tE({}),eQ(),tS(!1,""),z.default.remove(Y.COOKIE_KEYS.GQL_TOKEN),z.default.remove(Y.COOKIE_KEYS.HCP_GQL_TOKEN),eT?.isSandozIDEnabled&&a){let e=new URL(window.location.href);eT?.isGlobalSite&&(ta(""),sessionStorage.setItem("redirection",JSON.stringify(0)),e=eO?.feUrl?new URL(`${window.location.protocol}//${eO.feUrl}`):e),e.searchParams.delete("t"),e.searchParams.delete("s"),e.searchParams.delete("status_code"),e.searchParams.delete("gql_token"),e.searchParams.delete("error_message");let{siteConfig:t}=eT,a=!0;t&&"azure_logout_return_url_flag"in t&&(a=t?.azure_logout_return_url_flag!==w.default.ZERO);let i=eT?.sandozLogoutUrl||"",r="";if(a)r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e.toString())}`;else if(i?.includes("post_logout_redirect_uri"))r=i;else{let e=window.location.origin;r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e)}`}r&&(window.location.href=r)}}eA(!1),ti(!1);let e=eP?.user?.response?.session_data?.user_data?.current_user?.name,t={user_id:(0,C.encodeString)(e)},a=eW&&`${window.location.origin}${eW}`,i=window.location.href,r={login_system:B.LOGIN_TYPES.SOLAR,eventType:S.EVENTS.LOGIN,...eG,interactionName:S.EVENTS.LOGIN,sessionStartDate:sessionStorage.getItem("loginDate"),sessionEndDate:new Date().toISOString(),user_id:(0,C.encodeString)(e),page_location:i,...a&&{page_referrer:a}};tS(!1,""),(0,E.dataLayerPush)(S.EVENTS.LOGOUT,t),(0,E.dataLayerPush)(S.EVENTS.LOGIN,r),sessionStorage.removeItem("loginDate"),e_(`<p>${T.toastMessages.logoutMessage}</p>`),setTimeout(()=>{e9.push("/",void 0,{shallow:!0}).then(()=>e9.reload())},1e4),setTimeout(()=>{e_("")},5e3);let s=JSON.parse(sessionStorage.getItem("feDomainData")),o=`${s}_disclaimerModal`;(0,N.removeSessionItem)(o)},tN=e=>{let t=e?.profile?.response?.profile,a=t?.records?.[0]?.FirstName,i=t?.records?.[0]?.LastName,r=a&&i?`${a} ${i}`:"";return{firstName:a,lastName:i,fullName:r}};(0,a.useEffect)(()=>{ew&&eP.isLoggedIn&&(!eP.isLoggedIn||eP.profile)&&(e_(`<p>${T.toastMessages.loginMessage} ${tN(eP).fullName}</p>`),setTimeout(()=>{e_(""),eE(!1)},5e3))},[ew,eP]);let tk=()=>(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,N.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})}),tI=(0,a.useRef)(null),tj=(0,a.useRef)(null),[tP,tL]=(0,a.useState)(!1),[tO,tD]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=e=>{tI.current&&!tI.current.contains(e.target)&&tL(!1),tj.current&&!tj.current.contains(e.target)&&tD(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,a.useEffect)(()=>(window.addEventListener("scroll",eY),()=>window.removeEventListener("scroll",eY)),[]);let tM=e=>{("ArrowDown"===e.key||"Enter"===e.key)&&tL(!0)},tR=()=>{e9.push("/order-materials/cart")},tF=e=>{"Enter"===e.key&&tR()};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(v.default.Provider,{value:tw,children:[ee?.display&&!1!==tv&&ey&&(0,t.jsx)("div",{ref:eF,children:(0,t.jsx)("div",{className:B.ENABLE_DISABLE_VALUE[e0]&&eS?"sticky-banner":"floatingBanner",ref:eV,children:(0,t.jsx)(b.FloatingBanner,{display:ee.display,id:"floatingBannerId",onClose:er,children:ee.children})})}),et&&et?.enabled===1&&!eB&&!eU&&(0,t.jsx)(K,{logo:et?.logo,links:et?.links||[],topPosition:B.ENABLE_DISABLE_VALUE[e0]&&eS?em:0,ctaWebsiteData:e7,scrollAmount:w.default.SCROLL_AMOUNT,invertColorBackground:e4,enableCountrySwitcher:e6,eyebrowMenuAlignment:e8,languageSelected:q,languageList:Z,loading:e})]}),!ej?.isHeaderDisabled&&(0,t.jsx)("header",{className:"header",children:(0,t.jsxs)(u.Container,{children:[(0,t.jsx)("nav",{className:"navbar navbar-expand-lg",children:(0,t.jsxs)("div",{className:"header-parent",children:[!ej?.isLogoDisabled&&(0,t.jsx)("div",{className:"header-logo",children:(0,t.jsx)(V,{tabindex:0,href:(0,N.getHomepageurl)(),dataLayerOnClick:()=>(0,A.handleDataLayerNavigationHeader)("logo"),children:(0,t.jsx)(f.Img,{src:T?.logo?.src,width:206,height:24,alt:T?.logo?.alt,type:"logo"})})}),!ej?.isSloganDisabled&&(0,t.jsx)(m.RichText,{className:"header-text",content:T?.tagLine}),(0,t.jsx)("div",{className:"header-menu-section header-menu-desktop",children:(0,t.jsxs)("ul",{className:"navbar-nav header-list",children:[!ej?.isCartDisabled&&eT?.isWebStoreEnabled&&(Q.loginStatus||eJ)&&(0,t.jsx)("li",{className:"cart-item",children:(0,t.jsxs)("div",{className:"nav-item",tabIndex:0,"aria-hidden":"true",onClick:tR,onKeyDown:tF,children:[(0,t.jsx)(h.Icon,{iconName:"
35cartIcon"}),eL?.productsInCart?.length>0&&(eL?.productsInCart?.length<10?(0,t.jsx)("span",{className:"item-count",children:eL?.productsInCart?.length}):(0,t.jsx)("span",{className:"item-count",children:`${w.default.TEN}+`}))]})}),!ej?.isLangSwitcherDisabled&&eT?.isLanguageEnabled&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"nav-item",children:(0,t.jsx)(p.LanguageSwitch,{...q,onClick:eZ,displayActive:en})}),(0,t.jsx)("div",{className:"header-langswitcher-popup",ref:tb,children:(0,t.jsx)(P.default,{...Z,loading:e,display:en})})]}),!ej?.isLoginRegisterDisabled&&Q.profileLoading?(0,t.jsx)(D.default,{display:Q.profileLoading}):(0,t.jsx)(t.Fragment,{children:T?.login_register_enable&&(Q.loginStatus?(0,t.jsx)("li",{tabIndex:0,className:"nav-item",onClick:()=>tL(!tP),onKeyDown:tM,children:(0,t.jsxs)("div",{ref:tI,children:[(0,t.jsx)("div",{className:"nav-item user-menu-hover",children:(0,t.jsxs)("div",{className:"profile-name",children:[(0,t.jsx)("span",{className:"header-userIcon",children:(0,t.jsx)(h.Icon,{iconName:"Profilefill"})}),(0,t.jsx)("p",{className:"mb-0",children:(0,N.isDocCheckUser)(eP)?eT?.doccheck_user_name:tN(eP).firstName})]})}),tP&&(0,t.jsx)(I.UserMenu,{userName:Q?.name,userMenuDetails:T?.userMenuDetails,makeUserLogout:tT})]})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"nav-item",children:(0,t.jsxs)("div",{className:"nav-item",onClick:()=>{eT?.isSandozIDEnabled?eN():eh(!0),(0,A.handleDataLayerNavigationHeader)(T?.loginText)},role:"button",onKeyDown:e=>{tr(e),(0,A.handleDataLayerNavigationHeader)(T?.loginText)},tabIndex:0,children:[(0,t.jsx)("span",{className:"header-userIcon",children:(0,t.jsx)(h.Icon,{iconName:"ProfileOutline"})}),(0,t.jsx)("p",{className:"login bold",children:T?.loginText})]})}),(0,t.jsxs)("li",{className:"nav-item",children:[(0,t.jsx)("span",{className:"divider",children:" | "}),(0,t.jsx)(V,{href:eT?.isSandozIDEnabled?eI(T?.registerLink,"register"):T?.registerLink,tabindex:0,className:"register-link external",noUnderline:!0,dataLayerOnClick:()=>(0,A.handleDataLayerNavigationHeader)(T?.registerText),children:(0,t.jsxs)("p",{className:"register bold",children:[" ",T?.registerText]})})]})]}))})]})}),(0,t.jsxs)("div",{className:"header-menu-mobile",children:[!ej?.isMegaMenuDisabled||et?.enabled===1&&et?.links.length>0?(0,t.jsxs)("button",{className:"navbar-toggler collapsed mobile-close-icon",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarHeader","aria-controls":"navbarHeader","aria-expanded":"false","aria-label":"Toggle navigation",ref:tu,onClick:()=>te=!1,tabIndex:0,children:[!el&&(0,t.jsx)(h.Icon,{iconName:"HamburgerIcon2",onClick:()=>eo(!0),className:"hamburger-icon"}),el&&(0,t.jsx)(h.Icon,{iconName:"Close2",onClick:()=>eo(!1)})]}):(0,t.jsx)(t.Fragment,{}),!ej?.isLangSwitcherDisabled&&eT?.isLanguageEnabled&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"language-switcher-mob",children:(0,t.jsx)(p.LanguageSwitch,{...q,onClick:eZ,displayActive:en})}),(0,t.jsx)("div",{className:"header-langswitcher-popup",ref:tm,children:(0,t.jsx)(P.default,{...Z,display:e
35n})})]}),!ej?.isLoginRegisterDisabled&&T?.login_register_enable&&(Q.loginStatus?(0,t.jsx)("div",{onClick:()=>tD(!tO),onKeyDown:()=>tD(!tO),children:(0,t.jsxs)("div",{ref:tj,role:"button",tabIndex:1,className:"profile-ico",children:[(0,t.jsx)("span",{role:"button",tabIndex:1,className:"navbar-toggler collapsed ",children:(0,t.jsx)(h.Icon,{iconName:"Profilefill"})}),tO&&(0,t.jsx)(I.UserMenu,{userName:Q?.name,userMenuDetails:T?.userMenuDetails,makeUserLogout:tT})]})}):(0,t.jsx)("span",{onClick:()=>{eT?.isSandozIDEnabled?eN():eh(!0)},onKeyDown:tr,role:"button",tabIndex:1,className:"navbar-toggler collapsed ",children:(0,t.jsx)(h.Icon,{iconName:"ProfileOutline"})})),!ej?.isCartDisabled&&eT?.isWebStoreEnabled&&(Q.loginStatus||eJ)&&(0,t.jsx)("div",{className:"cart-item",children:(0,t.jsx)("div",{className:"cart-icon",role:"button",tabIndex:0,onClick:tR,children:(0,t.jsxs)("span",{role:"button",tabIndex:0,className:"",children:[(0,t.jsx)(h.Icon,{iconName:"cartIcon"}),eL?.productsInCart?.length>0&&(eL?.productsInCart?.length<10?(0,t.jsx)("span",{className:"item-count",children:eL?.productsInCart?.length}):(0,t.jsx)("span",{className:"item-count",children:`${w.default.TEN}+`}))]})})}),!ej?.isSearchDisabled&&(0,t.jsxs)("span",{className:"navbar-toggler collapsed mobile-close-icon",children:[!ec&&(0,t.jsx)(h.Icon,{iconName:"Search2",onClick:()=>ed(!0),className:"search-icon"}),ec&&(0,t.jsx)(h.Icon,{iconName:"Close2",onClick:()=>ed(!1)})," "]})]})]})}),ej?.isMegaMenuDisabled&&ej?.isSearchDisabled?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("nav",{className:"navbar navbar-expand-lg header-child",children:[!ej?.isMegaMenuDisabled&&(0,t.jsx)("div",{className:"navbar-nav",children:X?.map((e,a)=>(0,t.jsx)(_.HeaderMenu,{title:e.title,link:e.link,menuImageData:e.menuImageData,child:e.child,subTheme:e.subTheme,targetType:e.targetType,icon_uri:e?.icon_uri,distinctive:e?.distinctive},a))}),!ej?.isSearchDisabled&&(0,t.jsxs)("div",{className:"header-list-item search",children:[!ec&&(0,t.jsx)(h.Icon,{iconName:"Search2",className:"search-ico",onClick:()=>ed(!0)}),ec&&(0,t.jsx)(h.Icon,{iconName:"Close2",className:"close-ico",onClick:()=>ed(!1)})]})]}),ej?.isMegaMenuDisabled?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("div",{className:"collapse",id:"navbarHeader",ref:tc,children:[(0,t.jsx)("div",{className:`accordion accordionFlush ${et?.enabled===1?"eyebrow-bottom":""}`,id:"accordionFlushHeaderMobile",children:X?.map((e,a)=>(0,t.jsxs)("div",{className:"accordion-item","data-theme-hover":e.subTheme,children:[(0,t.jsx)("div",{className:"accordion-header",id:`flush-heading_${a}`,children:e.child?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(V,{tabindex:0,noUnderline:!0,href:e.link,dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title),children:e.title}),(0,t.jsx)("button",{className:"accordion-button collapsed ",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${a}`,"aria-expanded":"false","aria-controls":`flush-collapse_${a}`,"aria-label":e?.title,children:(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(h.Icon,{iconName:"ChevronHeaderAccordion",width:32,height:32})})})]}):(0,t.jsx)(V,{tabindex:0,noUnderline:!0,href:e.link,className:" collapsed menu-link",dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title),children:e.title})}),(0,t.jsx)("div",{id:`flush-collapse_${a}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${a}`,"data-bs-parent":"#accordionFlushHeaderMobile",children:(0,t.jsx)("div",{className:"accordion-body child",children:(0,t.jsxs)("div",{className:`accordion accordion-flush menu-child ${e?.distinctive?"distinctive":""}`,id:`accordionFlush${a}`,children:[(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(V,{tabindex:0,noUnderline:!0,href:e.link,className:`accordion-button collapsed menu-link menu-head ${e?.distinctive?"distinctive":""}`,dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title),children:e.title})})}),e.child?.map((i,r)=>(0,t.jsxs)("div",{className:"accordion-item","data-theme-hover":i?.subTheme,children:[(0,t.jsx)("div",{className:"accordion-header",id:`flush-heading_${a}${r}`,children:i.subChild?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(V,{href:i.link,tabindex:0,noUnderline:!0,dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title,i.title),children:i.title}),(0,t.jsx)("button",{className:"accordion-button collapsed ",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${a}${r}`,"aria-expanded":"false","aria-controls":`flush-collapse_${a}${r}`,"aria-label":i?.title,children:(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(h.Icon,{iconName:"ChevronHeaderAccordion",width:32,height:32})})})]}):(0,t.jsx)(V,{href:i.link,tabindex:0,noUnderline:!0,className:" collapsed menu-link",dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title,i.title),children:i.title})}),(0,t.jsx)("div",{id:`flush-collapse_${a}${r}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${a}${r}`,"data-bs-parent":`#accordionFlush${a}`,children:(0,t.jsx)("div",{className:"accordion-body subchild",children:(0,t.jsxs)("div",{className:`accordion accordion-flush menu-child ${i?.distinctive?"distinctive":""}`,id:`accordionFlush${a}${r}`,children:[(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(V,{href:i.link,tabindex:0,noUnderline:!0,className:"accordion-button collapsed menu-link",dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title,i.title),children:i.title})})}),i.subChild?.map((n,s)=>(0,t.jsxs)("div",{className:"accordion-item","data-theme-hover":n?.subTheme,children:[(0,t.jsx)("div",{className:"accordion-header",id:`flush-heading_${a}${r}${s}`,children:n.grandChild?(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)(V,{href:n.link,tabindex:0,noUnderline:!0,dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title,i.title,n.title),children:n.title}),(0,t.jsx)("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${a}${r}${s}`,"aria-expanded":"false","aria-controls":`flush-collapse_${a}${r}${s}`,"aria-label":n?.title,children:(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(h.Icon,{iconName:"ChevronHeaderAccordion",width:32,height:32})})})]}):(0,t.jsx)(V,{href:n.link,tabindex:0,noUnderline:!0,className:" collapsed menu-link",dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title,i.title,n.title),children:n.title})}),(0,t.jsx)("div",{id:`flush-collapse_${a}${r}${s}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${a}${r}${s}`,"data-bs-parent":`#accordionFlush${a}${r}`,children:(0,t.jsx)("div",{className:"accordion-body grandSubchild",children:(0,t.jsxs)("div",{className:"accordion accordion-flush",id:`accordionFlush${a}${r}${s}`,children:[(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(V,{href:n.link,tabindex:0,noUnderline:!0,className:"accordion-button collapsed menu-link menu-head",dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title,i.title,n.title),children:n.title})})}),n.grandChild?.map((l,o)=>(0,t.jsx)("div",{className:"accordion-item","data-theme-hover":n?.subTheme,children:(0,t.jsx)("div",{className:"accordion-header",id:`flush-heading_${a}${r}${s}${o}
35`,children:"#"==l.link?(0,t.jsxs)("button",{className:"accordion-button collapsed",type:"button","aria-label":l?.title,children:[l.title,(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(h.Icon,{iconName:"ChevronHeaderAccordion",width:32,height:32})})]}):(0,t.jsx)(V,{href:l.link,tabindex:0,noUnderline:!0,className:"collapsed menu-link",dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.title,i.title,n.title,l.title),children:l.title})})},o))]})})})]},s))]})})})]},r))]})})})]},a))}),(0,t.jsx)("div",{className:"accordion accordionFlush eyebrowMenu eyebrow-bottom",children:ei?.isMicrositeEnabled&&et&&et?.enabled===1&&et?.links.length>0||et&&et?.enabled===1&&et?.links.length>0?et?.links?.map((e,a)=>(0,t.jsx)("div",{className:"accordion-item eyebrowMenu-item",children:(0,t.jsx)("div",{className:"accordion-header ",children:(0,t.jsx)(V,{tabindex:0,noUnderline:!0,isExternal:e?.type=="externalLink",href:e?.type==="email"?`mailto:${e?.href}`:e?.href,className:" collapsed menu-link",dataLayerOnClick:()=>(0,A.handleDataLayerNavigationMenu)(e.name),children:e.name})})},a)):(0,t.jsx)(t.Fragment,{})}),(eB||eU)&&et?.enabled===1&&(0,t.jsx)("div",{className:`accordion accordionFlush eyebrowWithLogo ${et?.enabled===1?"eyebrow-bottom":""}`,id:"accordionFlushHeaderMobile",children:(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsxs)("div",{className:"accordion-header eyebrow-mobile",children:[et?.logo&&(0,t.jsx)("img",{src:et?.logo,alt:"Sandoz Logo",className:"eyebrow-menu-logo"}),e5&&e2&&(0,t.jsx)(d.AnchorButton,{tabindex:0,className:"eyebrow-menu-hcp",href:e1??"",target:e2,isExternal:!1,children:e5})]})})}),eX?.length>w.default.ZERO&&(0,t.jsx)("div",{className:"product-list",children:(0,t.jsx)(g.Row,{children:eX.map((e,a)=>(0,t.jsx)(y.MenuImage,{imageLink:e.imageLink,title:e.title,paragraph:e.paragraph,redirectLink:e.redirectLink,alt:e.alt},a))})})]}),ej?.isLoginRegisterDisabled?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(L.default,{showPopup:eu,id:"login-popup",form:J.form,bannerCTA:J.bannerCTA,handlePopupShow:e=>{tC({id:void 0}),eh(e)},handleForgotPasswordShow:e=>ep(e),popup:J.popup,loginConfirmation:()=>eE(!0)})]})}),!ej?.isSearchDisabled&&ec&&(0,t.jsx)("div",{ref:tf,children:(0,t.jsx)(j.default,{isTypeAhead:!0,searchContent:ts,className:"header-modal"})}),!!eb&&(0,t.jsx)(x.Notification,{notificationType:"success",displayTxt:eb,onClose:()=>{e_("")}}),ev&&tk()]})}},81420,e=>{"use strict";var t=e.i(41173);e.s(["SimpleVideo",()=>t.default])},3634,(e,t,a)=>{var i=e.i(21168);!function(t){t.parser=function(e,t){return new n(e,t)},t.SAXParser=n,t.SAXStream=u,t.createStream=d,t.MAX_BUFFER_LENGTH=65536;var a,r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function n(e,a){if(!(this instanceof n))return new n(e,a);var i=this;l(i),i.q=i.c="",i.bufferCheckPosition=t.MAX_BUFFER_LENGTH,i.opt=a||{},i.opt.lowercase=i.opt.lowercase||i.opt.lowercasetags,i.looseCase=i.opt.lowercase?"toLowerCase":"toUpperCase",i.tags=[],i.closed=i.closedRoot=i.sawRoot=!1,i.tag=i.error=null,i.strict=!!e,i.noscript=!!(e||i.opt.noscript),i.state=C.BEGIN,i.strictEntities=i.opt.strictEntities,i.ENTITIES=i.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),i.attribList=[],i.opt.xmlns&&(i.ns=Object.create(g)),void 0===i.opt.unquotedAttributeValues&&(i.opt.unquotedAttributeValues=!e),i.trackPosition=!1!==i.opt.position,i.trackPosition&&(i.position=i.line=i.column=0),N(i,"onready")}function s(e){for(var a=Math.max(t.MAX_BUFFER_LENGTH,10),i=0,n=0,s=r.length;n<s;n++){var l=e[r[n]].length;if(l>a)switch(r[n]){case"textNode":I(e);break;case"cdata":k(e,"oncdata",e.cdata),e.cdata="";break;case"script":k(e,"onscript",e.script),e.script="";break;default:P(e,"Max buffer length exceeded: "+r[n])}i=Math.max(i,l)}e.bufferCheckPosition=t.MAX_BUFFER_LENGTH-i+e.position}function l(e){for(var t=0,a=r.length;t<a;t++)e[r[t]]=""}function o(e){I(e),""!==e.cdata&&(k(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(k(e,"onscript",e.script),e.script="")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];
vendor: 4,094 bytes, line 35
35for(var a in e)e.hasOwnProperty(a)&&t.push(a);return t}),n.prototype={end:function(){L(this)},write:G,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){o(this)}};try{a=e.r(60186).Stream}catch(e){a=function(){}}a||(a=function(){});var c=t.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});function d(e,t){return new u(e,t)}function u(e,t){if(!(this instanceof u))return new u(e,t);a.apply(this),this._parser=new n(e,t),this.writable=!0,this.readable=!0;var i=this;this._parser.onend=function(){i.emit("end")},this._parser.onerror=function(e){i.emit("error",e),i._parser.error=null},this._decoder=null,c.forEach(function(e){Object.defineProperty(i,"on"+e,{get:function(){return i._parser["on"+e]},set:function(t){if(!t)return i.removeAllListeners(e),i._parser["on"+e]=t,t;i.on(e,t)},enumerable:!0,configurable:!1})})}u.prototype=Object.create(a.prototype,{constructor:{value:u}}),u.prototype.write=function(e){return"function"==typeof i.Buffer&&"function"==typeof i.Buffer.isBuffer&&i.Buffer.isBuffer(e)&&(this._decoder||(this._decoder=new TextDecoder("utf8")),e=this._decoder.decode(e,{stream:!0})),this._parser.write(e.toString()),this.emit("data",e),!0},u.prototype.end=function(e){if(e&&e.length&&this.write(e),this._decoder){var t=this._decoder.decode();t&&(this._parser.write(t),this.emit("data",t))}return this._parser.end(),!0},u.prototype.on=function(e,t){var i=this;return i._parser["on"+e]||-1===c.indexOf(e)||(i._parser["on"+e]=function(){var t=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),i.emit.apply(i,t)}),a.prototype.on.call(i,e,t)};var h="[CDATA[",f="DOCTYPE",p="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",g={xml:p,xmlns:m},b=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,_=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,y=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,x=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function v(e){return" "===e||"\n"===e||"\r"===e||"	"===e}function A(e){return'"'===e||"'"===e}function w(e){return">"===e||v(e)}function E(e,t){return e.test(t)}function S(e,t){return!E(e,t)}var C=0;for(var T in t.STATE={BEGIN:C++,BEGIN_WHITESPACE:C++,TEXT:C++,TEXT_ENTITY:C++,OPEN_WAKA:C++,SGML_DECL:C++,SGML_DECL_QUOTED:C++,DOCTYPE:C++,DOCTYPE_QUOTED:C++,DOCTYPE_DTD:C++,DOCTYPE_DTD_QUOTED:C++,COMMENT_STARTING:C++,COMMENT:C++,COMMENT_ENDING:C++,COMMENT_ENDED:C++,CDATA:C++,CDATA_ENDING:C++,CDATA_ENDING_2:C++,PROC_INST:C++,PROC_INST_BODY:C++,PROC_INST_ENDING:C++,OPEN_TAG:C++,OPEN_TAG_SLASH:C++,ATTRIB:C++,ATTRIB_NAME:C++,ATTRIB_NAME_SAW_WHITE:C++,ATTRIB_VALUE:C++,ATTRIB_VALUE_QUOTED:C++,ATTRIB_VALUE_CLOSED:C++,ATTRIB_VALUE_UNQUOTED:C++,ATTRIB_VALUE_ENTITY_Q:C++,ATTRIB_VALUE_ENTITY_U:C++,CLOSE_TAG:C++,CLOSE_TAG_SAW_WHITE:C++,SCRIPT:C++,SCRIPT_ENDING:C++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:1
vendor: 4,084 bytes, line 35
3574,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(e){var a=t.ENTITIES[e],i="number"==typeof a?String.fromCharCode(a):a;t.ENTITIES[e]=i}),t.STATE)t.STATE[t.STATE[T]]=T;function N(e,t,a){e[t]&&e[t](a)}function k(e,t,a){e.textNode&&I(e),N(e,t,a)}function I(e){e.textNode=j(e.opt,e.textNode),e.textNode&&N(e,"ontext",e.textNode),e.textNode=""}function j(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function P(e,t){return I(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),e.error=t=Error(t),N(e,"onerror",t),e}function L(e){return e.sawRoot&&!e.closedRoot&&O(e,"Unclosed root tag"),e.state!==C.BEGIN&&e.state!==C.BEGIN_WHITESPACE&&e.state!==C.TEXT&&P(e,"Unexpected end"),I(e),e.c="",e.closed=!0,N(e,"onend"),n.call(e,e.strict,e.opt),e}function O(e,t){if("object"!=typeof e||!(e instanceof n))throw Error("bad call to strictFail");e.strict&&P(e,t)}function D(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,a=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(a.ns=t.ns),e.attribList.length=0,k(e,"onopentagstart",a)}function M(e,t){var a=0>e.indexOf(":")?["",e]:e.split(":"),i=a[0],r=a[1];return t&&"xmlns"===e&&(i="xmlns",r=""),{prefix:i,local:r}}function R(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue="";return}if(e.opt.xmlns){var t=M(e.attribName,!0),a=t.prefix,i=t.local;if("xmlns"===a)if("xml"===i&&e.attribValue!==p)O(e,"xml: prefix must be bound to "+p+"\nActual: "+e.attribValue);else if("xmlns"===i&&e.attribValue!==m)O(e,"xmlns: prefix must be bound to "+m+"\nActual: "+e.attribValue);else{var r=e.tag,n=e.tags[e.tags.length-1]||e;r.ns===n.ns&&(r.ns=Object.create(n.ns)),r.ns[i]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,k(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function F(e,t){if(e.opt.xmlns){var a=e.tag,i=M(e.tagName);a.prefix=i.prefix,a.local=i.local,a.uri=a.ns[i.prefix]||"",a.prefix&&!a.uri&&(O(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),a.uri=i.prefix);var r=e.tags[e.tags.length-1]||e;
35a.ns&&r.ns!==a.ns&&Object.keys(a.ns).forEach(function(t){k(e,"onopennamespace",{prefix:t,uri:a.ns[t]})});for(var n=0,s=e.attribList.length;n<s;n++){var l=e.attribList[n],o=l[0],c=l[1],d=M(o,!0),u=d.prefix,h=d.local,f=""===u?"":a.ns[u]||"",p={name:o,value:c,prefix:u,local:h,uri:f};u&&"xmlns"!==u&&!f&&(O(e,"Unbound namespace prefix: "+JSON.stringify(u)),p.uri=u),e.tag.attributes[o]=p,k(e,"onattribute",p)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),k(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=C.TEXT:e.state=C.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function B(e){if(!e.tagName){O(e,"Weird empty close tag."),e.textNode+="</>",e.state=C.TEXT;return}if(e.script){if("script"!==e.tagName){e.script+="</"+e.tagName+">",e.tagName="",e.state=C.SCRIPT;return}k(e,"onscript",e.script),e.script=""}var t=e.tags.length,a=e.tagName;e.strict||(a=a[e.looseCase]());for(var i=a;t--;)if(e.tags[t].name!==i)O(e,"Unexpected close tag");else break;if(t<0){O(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",e.state=C.TEXT;return}e.tagName=a;for(var r=e.tags.length;r-- >t;){var n=e.tag=e.tags.pop();e.tagName=e.tag.name,k(e,"onclosetag",e.tagName);var s={};for(var l in n.ns)s[l]=n.ns[l];var o=e.tags[e.tags.length-1]||e;e.opt.xmlns&&n.ns!==o.ns&&Object.keys(n.ns).forEach(function(t){var a=n.ns[t];k(e,"onclosenamespace",{prefix:t,uri:a})})}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=C.TEXT}function U(e){var t,a=e.entity,i=a.toLowerCase(),r="";return e.ENTITIES[a]?e.ENTITIES[a]:e.ENTITIES[i]?e.ENTITIES[i]:("#"===(a=i).charAt(0)&&(r="x"===a.charAt(1)?(t=parseInt(a=a.slice(2),16)).toString(16):(t=parseInt(a=a.slice(1),10)).toString(10)),a=a.replace(/^0+/,""),isNaN(t)||r.toLowerCase()!==a||t<0||t>1114111)?(O(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t)}function H(e,t){"<"===t?(e.state=C.OPEN_WAKA,e.startTagPosition=e.position):v(t)||(O(e,"Non-whitespace before first tag."),e.textNode=t,e.state=C.TEXT)}function $(e,t){var a="";return t<e.length&&(a=e.charAt(t)),a}function G(e){var a=this;if(this.error)throw this.error;if(a.closed)return P(a,"Cannot write after close. Assign an onready handler.");if(null===e)return L(a);"object"==typeof e&&(e=e.toString());for(var i=0,r="";a.c=r=$(e,i++),r;)switch(a.trackPosition&&(a.position++,"\n"===r?(a.line++,a.column=0):a.column++),a.state){case C.BEGIN:if(a.state=C.BEGIN_WHITESPACE,"\uFEFF"===r)continue;H(a,r);continue;case C.BEGIN_WHITESPACE:H(a,r);continue;case C.TEXT:if(a.sawRoot&&!a.closedRoot){for(var n=i-1;r&&"<"!==r&&"&"!==r;)(r=$(e,i++))&&a.trackPosition&&(a.position++,"\n"===r?(a.line++,a.column=0):a.column++);a.textNode+=e.substring(n,i-1)}"<"!==r||a.sawRoot&&a.closedRoot&&!a.strict?(v(r)||a.sawRoot&&!a.closedRoot||O(a,"Text data outside of root node."),"&"===r?a.state=C.TEXT_ENTITY:a.textNode+=r):(a.state=C.OPEN_WAKA,a.startTagPosition=a.position);continue;case C.SCRIPT:"<"===r?a.state=C.SCRIPT_ENDING:a.script+=r;continue;case C.SCRIPT_ENDING:"/"===r?a.state=C.CLOSE_TAG:(a.script+="<"+r,a.state=C.SCRIPT);continue;case C.OPEN_WAKA:"!"===r?(a.state=C.SGML_DECL,a.sgmlDecl=""):v(r)||(E(b,r)?(a.state=C.OPEN_TAG,a.tagName=r):"/"===r?(a.state=C.CLOSE_TAG,a.tagName=""):"?"===r?(a.state=C.PROC_INST,a.procInstName=a.procInstBody=""):(O(a,"Unencoded <"),a.startTagPosition+1<a.position&&(r=Array(a.position-a.startTagPosition).join(" ")+r),a.textNode+="<"+r,a.state=C.TEXT));continue;case C.SGML_DECL:if(a.sgmlDecl+r==="--"){a.state=C.COMMENT,a.comment="",a.sgmlDecl="";continue}a.doctype&&!0!==a.doctype&&a.sgmlDecl?(a.state=C.DOCTYPE_DTD,a.doctype+="<!"+a.sgmlDecl+r,a.sgmlDecl=""):(a.sgmlDecl+r).toUpperCase()===h?(k(a,"onopencdata"),a.state=C.CDATA,a.sgmlDecl="",a.cdata=""):(a.sgmlDecl+r).toUpperCase()===f?(a.state=C.DOCTYPE,(a.doctype||a.sawRoot)&&O(a,"Inappropriately located doctype declaration"),a.doctype="",a.sgmlDecl=""):">"===r?(k(a,"onsgmldeclaration",a.sgmlDecl),a.sgmlDecl="",a.state=C.TEXT):(A(r)&&(a.state=C.SGML_DECL_QUOTED),a.sgmlDecl+=r);continue;case C.SGML_DECL_QUOTED:r===a.q&&(a.state=C.SGML_DECL,a.q=""),a.sgmlDecl+=r;continue;case C.DOCTYPE:">"===r?(a.state=C.TEXT,k(a,"ondoctype",a.doctype),a.doctype=!0):(a.doctype+=r,"["===r?a.state=C.DOCTYPE_DTD:A(r)&&(a.state=C.DOCTYPE_QUOTED,a.q=r));continue;case C.DOCTYPE_QUOTED:a.doctype+=r,r===a.q&&(a.q="",a.state=C.DOCTYPE);continue;case C.DOCTYPE_DTD:"]"===r?(a.doctype+=r,a.state=C.DOCTYPE):"<"===r?(a.state=C.OPEN_WAKA,a.startTagPosition=a.position):A(r)?(a.doctype+=r,a.state=C.DOCTYPE_DTD_QUOTED,a.q=r):a.doctype+=r;continue;case C.DOCTYPE_DTD_QUOTED:a.doctype+=r,r===a.q&&(a.state=C.DOCTYPE_DTD,a.q="");continue;case C.COMMENT:"-"===r?a.state=C.COMMENT_ENDING:a.comment+=r;continue;case C.COMMENT_ENDING:"-"===r?(a.state=C.COMMENT_ENDED,a.comment=j(a.opt,a.comment),a.comment&&k(a,"oncomment",a.comment),a.comment=""):(a.comment+="-"+r,a.state=C.COMMENT);continue;case C.COMMENT_ENDED:">"!==r?(O(a,"Malformed comment"),a.comment+="--"+r,a.state=C.COMMENT):a.doctype&&!0!==a.doctype?a.state=C.DOCTYPE_DTD:a.state=C.TEXT;continue;case C.CDATA:for(var n=i-1;r&&"]"!==r;)(r=$(e,i++))&&a.trackPosition&&(a.position++,"\n"===r?(a.line++,a.column=0):a.column++);a.cdata+=e.substring(n,i-1),"]"===r&&(a.state=C.CDATA_ENDING);continue;case C.CDATA_ENDING:"]"===r?a.state=C.CDATA_ENDING_2:(a.cdata+="]"
35+r,a.state=C.CDATA);continue;case C.CDATA_ENDING_2:">"===r?(a.cdata&&k(a,"oncdata",a.cdata),k(a,"onclosecdata"),a.cdata="",a.state=C.TEXT):"]"===r?a.cdata+="]":(a.cdata+="]]"+r,a.state=C.CDATA);continue;case C.PROC_INST:"?"===r?a.state=C.PROC_INST_ENDING:v(r)?a.state=C.PROC_INST_BODY:a.procInstName+=r;continue;case C.PROC_INST_BODY:!a.procInstBody&&v(r)||("?"===r?a.state=C.PROC_INST_ENDING:a.procInstBody+=r);continue;case C.PROC_INST_ENDING:">"===r?(k(a,"onprocessinginstruction",{name:a.procInstName,body:a.procInstBody}),a.procInstName=a.procInstBody="",a.state=C.TEXT):(a.procInstBody+="?"+r,a.state=C.PROC_INST_BODY);continue;case C.OPEN_TAG:E(_,r)?a.tagName+=r:(D(a),">"===r?F(a):"/"===r?a.state=C.OPEN_TAG_SLASH:(v(r)||O(a,"Invalid character in tag name"),a.state=C.ATTRIB));continue;case C.OPEN_TAG_SLASH:">"===r?(F(a,!0),B(a)):(O(a,"Forward-slash in opening tag not followed by >"),a.state=C.ATTRIB);continue;case C.ATTRIB:v(r)||(">"===r?F(a):"/"===r?a.state=C.OPEN_TAG_SLASH:E(b,r)?(a.attribName=r,a.attribValue="",a.state=C.ATTRIB_NAME):O(a,"Invalid attribute name"));continue;case C.ATTRIB_NAME:"="===r?a.state=C.ATTRIB_VALUE:">"===r?(O(a,"Attribute without value"),a.attribValue=a.attribName,R(a),F(a)):v(r)?a.state=C.ATTRIB_NAME_SAW_WHITE:E(_,r)?a.attribName+=r:O(a,"Invalid attribute name");continue;case C.ATTRIB_NAME_SAW_WHITE:if("="===r)a.state=C.ATTRIB_VALUE;else{if(v(r))continue;O(a,"Attribute without value"),a.tag.attributes[a.attribName]="",a.attribValue="",k(a,"onattribute",{name:a.attribName,value:""}),a.attribName="",">"===r?F(a):E(b,r)?(a.attribName=r,a.state=C.ATTRIB_NAME):(O(a,"Invalid attribute name"),a.state=C.ATTRIB)}continue;case C.ATTRIB_VALUE:v(r)||(A(r)?(a.q=r,a.state=C.ATTRIB_VALUE_QUOTED):(a.opt.unquotedAttributeValues||P(a,"Unquoted attribute value"),a.state=C.ATTRIB_VALUE_UNQUOTED,a.attribValue=r));continue;case C.ATTRIB_VALUE_QUOTED:if(r!==a.q){"&"===r?a.state=C.ATTRIB_VALUE_ENTITY_Q:a.attribValue+=r;continue}R(a),a.q="",a.state=C.ATTRIB_VALUE_CLOSED;continue;case C.ATTRIB_VALUE_CLOSED:v(r)?a.state=C.ATTRIB:">"===r?F(a):"/"===r?a.state=C.OPEN_TAG_SLASH:E(b,r)?(O(a,"No whitespace between attributes"),a.attribName=r,a.attribValue="",a.state=C.ATTRIB_NAME):O(a,"Invalid attribute name");continue;case C.ATTRIB_VALUE_UNQUOTED:if(!w(r)){"&"===r?a.state=C.ATTRIB_VALUE_ENTITY_U:a.attribValue+=r;continue}R(a),">"===r?F(a):a.state=C.ATTRIB;continue;case C.CLOSE_TAG:a.tagName?">"===r?B(a):E(_,r)?a.tagName+=r:a.script?(a.script+="</"+a.tagName+r,a.tagName="",a.state=C.SCRIPT):(v(r)||O(a,"Invalid tagname in closing tag"),a.state=C.CLOSE_TAG_SAW_WHITE):v(r)||(S(b,r)?a.script?(a.script+="</"+r,a.state=C.SCRIPT):O(a,"Invalid tagname in closing tag."):a.tagName=r);continue;case C.CLOSE_TAG_SAW_WHITE:if(v(r))continue;">"===r?B(a):O(a,"Invalid characters in closing tag");continue;case C.TEXT_ENTITY:case C.ATTRIB_VALUE_ENTITY_Q:case C.ATTRIB_VALUE_ENTITY_U:switch(a.state){case C.TEXT_ENTITY:l=C.TEXT,o="textNode";break;case C.ATTRIB_VALUE_ENTITY_Q:l=C.ATTRIB_VALUE_QUOTED,o="attribValue";break;case C.ATTRIB_VALUE_ENTITY_U:l=C.ATTRIB_VALUE_UNQUOTED,o="attribValue"}if(";"===r){var l,o,c=U(a);a.opt.unparsedEntities&&!Object.values(t.XML_ENTITIES).includes(c)?(a.entity="",a.state=l,a.write(c)):(a[o]+=c,a.entity="",a.state=l)}else E(a.entity.length?x:y,r)?a.entity+=r:(O(a,"Invalid character in entity name"),a[o]+="&"+a.entity+r,a.entity="",a.state=l);continue;default:throw Error(a,"Unknown state: "+a.state)}return a.position>=a.bufferCheckPosition&&s(a),a}C=t.STATE,String.fromCodePoint||function(){var e=String.fromCharCode,t=Math.floor,a=function(){var a,i,r=16384,n=[],s=-1,l=arguments.length;if(!l)return"";for(var o="";++s<l;){var c=Number(arguments[s]);if(!isFinite(c)||c<0||c>1114111||t(c)!==c)throw RangeError("Invalid code point: "+c);c<=65535?n.push(c):(c-=65536,a=(c>>10)+55296,i=c%1024+56320,n.push(a,i)),(s+1===l||n.length>r)&&(o+=e.apply(null,n),n.length=0)}return o};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:a,configurable:!0,writable:!0}):String.fromCodePoint=a}()}(a)},17829,(e,t,a)=>{t.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},75915,(e,t,a)=>{var i=e.r(17829).isArray;t.exports={copyOptions:function(e){var t,a={};for(t in e)e.hasOwnProperty(t)&&(a[t]=e[t]);return a},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)}
vendor: 5,642 bytes, line 35
35,ensureSpacesExists:function(e){"spaces"in e&&("number"==typeof e.spaces||"string"==typeof e.spaces)||(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||i(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},26656,(e,t,a)=>{var i,r,n=e.r(3634),s=e.r(75915),l=e.r(17829).isArray;function o(e){return i=s.copyOptions(e),s.ensureFlagExists("ignoreDeclaration",i),s.ensureFlagExists("ignoreInstruction",i),s.ensureFlagExists("ignoreAttributes",i),s.ensureFlagExists("ignoreText",i),s.ensureFlagExists("ignoreComment",i),s.ensureFlagExists("ignoreCdata",i),s.ensureFlagExists("ignoreDoctype",i),s.ensureFlagExists("compact",i),s.ensureFlagExists("alwaysChildren",i),s.ensureFlagExists("addParent",i),s.ensureFlagExists("trim",i),s.ensureFlagExists("nativeType",i),s.ensureFlagExists("nativeTypeAttributes",i),s.ensureFlagExists("sanitize",i),s.ensureFlagExists("instructionHasAttributes",i),s.ensureFlagExists("captureSpacesBetweenElements",i),s.ensureAlwaysArrayExists(i),s.ensureKeyExists("declaration",i),s.ensureKeyExists("instruction",i),s.ensureKeyExists("attributes",i),s.ensureKeyExists("text",i),s.ensureKeyExists("comment",i),s.ensureKeyExists("cdata",i),s.ensureKeyExists("doctype",i),s.ensureKeyExists("type",i),s.ensureKeyExists("name",i),s.ensureKeyExists("elements",i),s.ensureKeyExists("parent",i),s.checkFnExists("doctype",i),s.checkFnExists("instruction",i),s.checkFnExists("cdata",i),s.checkFnExists("comment",i),s.checkFnExists("text",i),s.checkFnExists("instructionName",i),s.checkFnExists("elementName",i),s.checkFnExists("attributeName",i),s.checkFnExists("attributeValue",i),s.checkFnExists("attributes",i),i}function c(e){var t=Number(e);if(!isNaN(t))return t;var a=e.toLowerCase();return"true"===a||"false"!==a&&e}function d(e,t){var a;if(i.compact){if(!r[i[e+"Key"]]&&(l(i.alwaysArray)?-1!==i.alwaysArray.indexOf(i[e+"Key"]):i.alwaysArray)&&(r[i[e+"Key"]]=[]),r[i[e+"Key"]]&&!l(r[i[e+"Key"]])&&(r[i[e+"Key"]]=[r[i[e+"Key"]]]),e+"Fn"in i&&"string"==typeof t&&(t=i[e+"Fn"](t,r)),"instruction"===e&&("instructionFn"in i||"instructionNameFn"in i)){for(a in t)if(t.hasOwnProperty(a))if("instructionFn"in i)t[a]=i.instructionFn(t[a],a,r);else{var n=t[a];delete t[a],t[i.instructionNameFn(a,n,r)]=n}}l(r[i[e+"Key"]])?r[i[e+"Key"]].push(t):r[i[e+"Key"]]=t}else{r[i.elementsKey]||(r[i.elementsKey]=[]);var s={};if(s[i.typeKey]=e,"instruction"===e){for(a in t)if(t.hasOwnProperty(a))break;s[i.nameKey]="instructionNameFn"in i?i.instructionNameFn(a,t,r):a,i.instructionHasAttributes?(s[i.attributesKey]=t[a][i.attributesKey],"instructionFn"in i&&(s[i.attributesKey]=i.instructionFn(s[i.attributesKey],a,r))):("instructionFn"in i&&(t[a]=i.instructionFn(t[a],a,r)),s[i.instructionKey]=t[a])}else e+"Fn"in i&&(t=i[e+"Fn"](t,r)),s[i[e+"Key"]]=t;i.addParent&&(s[i.parentKey]=r),r[i.elementsKey].push(s)}}function u(e){if("attributesFn"in i&&e&&(e=i.attributesFn(e,r)),(i.trim||"attributeValueFn"in i||"attributeNameFn"in i||i.nativeTypeAttributes)&&e){var t;for(t in e)if(e.hasOwnProperty(t)&&(i.trim&&(e[t]=e[t].trim()),i.nativeTypeAttributes&&(e[t]=c(e[t])),"attributeValueFn"in i&&(e[t]=i.attributeValueFn(e[t],t,r)),"attributeNameFn"in i)){var a=e[t];delete e[t],e[i.attributeNameFn(t,e[t],r)]=a}}return e}function h(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||i.instructionHasAttributes)){for(var a,n=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(a=n.exec(e.body));)t[a[1]]=a[2]||a[3]||a[4];t=u(t)}if("xml"===e.name.toLowerCase()){if(i.ignoreDeclaration)return;r[i.declarationKey]={},Object.keys(t).length&&(r[i.declarationKey][i.attributesKey]=t),i.addParent&&(r[i.declarationKey][i.parentKey]=r)}else{if(i.ignoreInstruction)return;i.trim&&(e.body=e.body.trim());var s={};i.instructionHasAttributes&&Object.keys(t).length?(s[e.name]={},s[e.name][i.attributesKey]=t):s[e.name]=e.body,d("instruction",s)}}function f(e,t){var a,n;if("object"==typeof e&&(t=e.attributes,e=e.name),t=u(t),"elementNameFn"in i&&(e=i.elementNameFn(e,r)),i.compact){if(a={},!i.ignoreAttributes&&t&&Object.keys(t).length)for(n in a[i.attributesKey]={},t)t.hasOwnProperty(n)&&(a[i.attributesKey][n]=t[n]);e in r||(l(i.alwaysArray)?-1===i.alwaysArray.indexOf(e):!i.alwaysArray)||(r[e]=[]),r[e]&&!l(r[e])&&(r[e]=[r[e]]),l(r[e])?r[e].push(a):r[e]=a}else r[i.elementsKey]||(r[i.elementsKey]=[]),(a={})[i.typeKey]="element",a[i.nameKey]=e,!i.ignoreAttributes&&t&&Object.keys(t).length&&(a[i.attributesKey]=t),i.alwaysChildren&&(a[i.elementsKey]=[]),r[i.elementsKey].push(a);a[i.parentKey]=r,r=a}function p(e){i.ignoreText||(e.trim()||i.captureSpacesBetweenElements)&&(i.trim&&(e=e.trim()),i.nativeType&&(e=c(e)),i.sanitize&&(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),d("text",e))}function m(e){i.ignoreComment||(i.trim&&(e=e.trim()),d("comment",e))}function g(e){var t=r[i.parentKey];i.addParent||delete r[i.parentKey],r=t}function b(e){i.ignoreCdata||(i.trim&&(e=e.trim()),d("cdata",e))}function _(e){i.ignoreDoctype||(e=e.replace(/^ /,""),i.trim&&(e=e.trim()),d("doctype",e))}function y(e){e.note=e}t.exports=function(e,t){var a=n.parser(!0,{}),s={};if(r=s,i=o(t),a.opt={strictEntities:!0},a.onopentag=f,a.ontext=p,a.oncomment=m,a.onclosetag=g,a.onerror=y,a.oncdata=b,a.ondoctype=_,a.onprocessinginstruction=h,a.write(e).close(),s[i.elementsKey]){var l=s[i.elementsKey];delete s[i.elementsKey],s[i.elementsKey]=l,delete s.text}return s}},10650,(e,t,a)=>{var i=e.r(75915),r=e.r(26656);function n(e){var t=i.copyOptions(e);
35return i.ensureSpacesExists(t),t}t.exports=function(e,t){var a,i,s,l;return i=r(e,a=n(t)),l="compact"in a&&a.compact?"_parent":"parent",(s="addParent"in a&&a.addParent?JSON.stringify(i,function(e,t){return e===l?"_":t},a.spaces):JSON.stringify(i,null,a.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},87754,(e,t,a)=>{var i,r,n=e.r(75915),s=e.r(17829).isArray;function l(e){var t=n.copyOptions(e);return n.ensureFlagExists("ignoreDeclaration",t),n.ensureFlagExists("ignoreInstruction",t),n.ensureFlagExists("ignoreAttributes",t),n.ensureFlagExists("ignoreText",t),n.ensureFlagExists("ignoreComment",t),n.ensureFlagExists("ignoreCdata",t),n.ensureFlagExists("ignoreDoctype",t),n.ensureFlagExists("compact",t),n.ensureFlagExists("indentText",t),n.ensureFlagExists("indentCdata",t),n.ensureFlagExists("indentAttributes",t),n.ensureFlagExists("indentInstruction",t),n.ensureFlagExists("fullTagEmptyElement",t),n.ensureFlagExists("noQuotesForNativeAttributes",t),n.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),n.ensureKeyExists("declaration",t),n.ensureKeyExists("instruction",t),n.ensureKeyExists("attributes",t),n.ensureKeyExists("text",t),n.ensureKeyExists("comment",t),n.ensureKeyExists("cdata",t),n.ensureKeyExists("doctype",t),n.ensureKeyExists("type",t),n.ensureKeyExists("name",t),n.ensureKeyExists("elements",t),n.checkFnExists("doctype",t),n.checkFnExists("instruction",t),n.checkFnExists("cdata",t),n.checkFnExists("comment",t),n.checkFnExists("text",t),n.checkFnExists("instructionName",t),n.checkFnExists("elementName",t),n.checkFnExists("attributeName",t),n.checkFnExists("attributeValue",t),n.checkFnExists("attributes",t),n.checkFnExists("fullTagEmptyElement",t),t}function o(e,t,a){return(!a&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function c(e,t,a){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,r,i));var n,s,l,c,d=[];for(n in e)e.hasOwnProperty(n)&&null!==e[n]&&void 0!==e[n]&&(c=t.noQuotesForNativeAttributes&&"string"!=typeof e[n]?"":'"',s=(s=""+e[n]).replace(/"/g,"&quot;"),l="attributeNameFn"in t?t.attributeNameFn(n,s,r,i):n,d.push(t.spaces&&t.indentAttributes?o(t,a+1,!1):" "),d.push(l+"="+c+("attributeValueFn"in t?t.attributeValueFn(s,n,r,i):s)+c));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&d.push(o(t,a,!1)),d.join("")}function d(e,t,a){return i=e,r="xml",t.ignoreDeclaration?"":"<?xml"+c(e[t.attributesKey],t,a)+"?>"}function u(e,t,a){if(t.ignoreInstruction)return"";for(n in e)if(e.hasOwnProperty(n))break;var n,s="instructionNameFn"in t?t.instructionNameFn(n,e[n],r,i):n;if("object"==typeof e[n])return i=e,r=s,"<?"+s+c(e[n][t.attributesKey],t,a)+"?>";var l=e[n]?e[n]:"";return"instructionFn"in t&&(l=t.instructionFn(l,n,r,i)),"<?"+s+(l?" "+l:"")+"?>"}function h(e,t){return t.ignoreComment?"":"<!--"+("commentFn"in t?t.commentFn(e,r,i):e)+"-->"}function f(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,r,i):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function p(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,r,i):e)+">"}function m(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&amp;/g,"&")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in t?t.textFn(e,r,i):e)}function g(e,t){var a;if(e.elements&&e.elements.length)for(a=0;a<e.elements.length;++a)switch(e.elements[a][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;default:return!0}return!1}function b(e,t,a){i=e,r=e.name;var n=[],s="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;n.push("<"+s),e[t.attributesKey]&&n.push(c(e[t.attributesKey],t,a));var l=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return l||(l="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),l?(n.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(n.push(_(e[t.elementsKey],t,a+1)),i=e,r=e.name),n.push(t.spaces&&g(e,t)?"\n"+Array(a+1).join(t.spaces):""),n.push("</"+s+">")):n.push("/>"),n.join("")}function _(e,t,a,i){return e.reduce(function(e,r){var n=o(t,a,i&&!e);switch(r.type){case"element":return e+n+b(r,t,a);case"comment":return e+n+h(r[t.commentKey],t);case"doctype":return e+n+p(r[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?n:"")+f(r[t.cdataKey],t);case"text":return e+(t.indentText?n:"")+m(r[t.textKey],t);case"instruction":var s={};return s[r[t.nameKey]]=r[t.attributesKey]?r:r[t.instructionKey],e+(t.indentInstruction?n:"")+u(s,t,a)}},"")}function y(e,t,a){var i;for(i in e)if(e.hasOwnProperty(i))switch(i){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||a)return!0;break;case t.cdataKey:if(t.indentCdata||a)return!0;break;case t.instructionKey:if(t.indentInstruction||a)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function x(e,t,a,n,s){i=e,r=t;var l="elementNameFn"in a?a.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in a&&a.fullTagEmptyElementFn(t,e)||a.fullTagEmptyElement?"<"+l+"></"+l+">":"<"+l+"/>";var d=[];if(t){if(d.push("<"+l),"object"!=typeof e)return d.push(">"+m(e,a)+"</"+l+">"),d.join("");e[a.attributesKey]&&d.push(c(e[a.attributesKey],a,n));var u=y(e,a,!0)||e[a.attributesKey]&&"preserve"===e[a.attributesKey]["xml:space"];if(u||(u="fullTagEmptyElementFn"in a?a.fullTagEmptyElementFn(t,e):a.fullTagEmptyElement),!u)return d.push("/>"),d.join("");d.push(">")}return d.push(v(e,a,n+1,!1)),i=e,r=t,t&&d.push((s?o(a,n,!1):"")+"</"+l+">"),d.join("")}function v(e,t,a,i){var r,n,l,c=[];for(n in e)if(e.hasOwnProperty(n))for(r=0,l=s(e[n])?e[n]:[e[n]];r<l.length;++r){switch(n){case t.declarationKey:c.push(d(l[r],t,a));break;case t.instructionKey:c.push((t.indentInstruction?o(t,a,i):"")+u(l[r],t,a));break;case t.attributesKey:case t.parentKey:break;case t.textKey:c.push((t.indentText?o(t,a,i):"")+m(l[r],t));break;case t.cdataKey:c.push((t.indentCdata?o(t,a,i):"")+f(l[r],t));break;case t.doctypeKey:c.push(o(t,a,i)+p(l[r],t));break;case t.commentKey:c.push(o(t,a,i)+h(l[r],t));break;default:c.push(o(t,a,i)+x(l[r],n,t,a,y(l[r],t)))}i=i&&!c.length}return c.join("")}t.exports=function(e,t){t=l(t);var a=[];return i=e,r="_root_",t.compact?a.push(v(e,t,0,!0)):(e[t.declarationKey]&&a.push(d(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&a.push(_(e[t.elementsKey],t,0,!a.length))),a.join("")}},24383,(e,t,a)=>{var i=e.i(21168),r=e.r(87754);t.exports=function(e,t){e instanceof i.Buffer&&(e=e.toString());var a=null;if("string"==typeof e)try{a=JSON.parse(e)}
35catch(e){throw Error("The JSON structure is invalid")}else a=e;return r(a,t)}},29874,(e,t,a)=>{t.exports={xml2js:e.r(26656),xml2json:e.r(10650),js2xml:e.r(87754),json2xml:e.r(24383)}},75635,e=>{"use strict";e.s(["default",()=>c],75635);var t=e.i(91398),a=e.i(91788),i=e.i(15315),r=e.i(29874),n=e.i(82036);e.i(35958);var s=e.i(26285),s=s,l=e.i(97268),o=e.i(34467);let c=({fieldCstKeyAttrValues:e,cstXMLLink:c,field_refresh_period:d,field_stock_ticker_position:u})=>{let[h,f]=(0,a.useState)([]),[p,m]=(0,a.useState)(!0);(0,a.useEffect)(()=>{let t=1e3*Number(d)||25e3,a=async()=>{if(m(!0),c)try{let t=await (0,i.thirdPartyGETAPI)(c),a=JSON.parse((0,r.xml2json)(t,{spaces:2,compact:!0})),s=(0,n.default)(a,"docs.shareinfo.share")||[],l=Array.isArray(s)?s:[s];f((0,o.filterByReference)(l,e))}catch(e){}finally{m(!1)}};a();let s=setInterval(a,t);return()=>clearInterval(s)},[e,c,d,u]);let g=()=>(0,t.jsx)(t.Fragment,{children:Array.isArray(h)&&h.map((e,a)=>(0,t.jsx)("div",{className:`heroBanner-stock ${"left_side"===u?"stockTickerLeft":"stockTickerRight"}`,children:(0,t.jsx)("div",{className:"row compact-stock-ticker",children:(0,t.jsx)(s.default,{cardData:e})})},a))});return(0,t.jsx)("div",{className:"stock-ticker-container",children:p?(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(l.default,{display:p})}):g()})}},48346,(e,t,a)=>{t.exports=function(e,t){for(var a=-1,i=null==e?0:e.length,r=Array(i);++a<i;)r[a]=t(e[a],a,e);return r}},25055,(e,t,a)=>{var i=e.r(80783),r=e.r(48346),n=e.r(48684),s=e.r(49057),l=1/0,o=i?i.prototype:void 0,c=o?o.toString:void 0;function d(e){if("string"==typeof e)return e;if(n(e))return r(e,d)+"";if(s(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}t.exports=d},82346,(e,t,a)=>{var i=e.r(25055);t.exports=function(e){return null==e?"":i(e)}},49554,(e,t,a)=>{t.exports=function(e,t,a){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(a=a>r?r:a)<0&&(a+=r),r=t>a?0:a-t>>>0,t>>>=0;for(var n=Array(r);++i<r;)n[i]=e[i+t];return n}},96351,(e,t,a)=>{var i=e.r(49554);t.exports=function(e,t,a){var r=e.length;return a=void 0===a?r:a,!t&&a>=r?e:i(e,t,a)}},34464,(e,t,a)=>{var i=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(e){return i.test(e)}},11293,(e,t,a)=>{t.exports=function(e){return e.split("")}},97323,(e,t,a)=>{var i="\\ud800-\\udfff",r="["+i+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",s="\\ud83c[\\udffb-\\udfff]",l="[^"+i+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",d="(?:"+n+"|"+s+")?",u="[\\ufe0e\\ufe0f]?",h="(?:\\u200d(?:"+[l,o,c].join("|")+")"+u+d+")*",f=u+d+h,p=RegExp(s+"(?="+s+")|"+("(?:"+[l+n+"?",n,o,c,r].join("|"))+")"+f,"g");t.exports=function(e){return e.match(p)||[]}},91475,(e,t,a)=>{var i=e.r(11293),r=e.r(34464),n=e.r(97323);t.exports=function(e){return r(e)?n(e):i(e)}},88166,(e,t,a)=>{var i=e.r(96351),r=e.r(34464),n=e.r(91475),s=e.r(82346);t.exports=function(e){return function(t){var a=r(t=s(t))?n(t):void 0,l=a?a[0]:t.charAt(0),o=a?i(a,1).join(""):t.slice(1);return l[e]()+o}}},70915,(e,t,a)=>{t.exports=e.r(88166)("toUpperCase")},88411,(e,t,a)=>{var i=e.r(82346),r=e.r(70915);t.exports=function(e){return r(i(e).toLowerCase())}},47266,e=>{"use strict";var t=e.i(97268);e.s(["Loader",()=>t.default])},43209,e=>{"use strict";e.s(["default",()=>v],43209);var t=e.i(91398),a=e.i(91788),i=e.i(3828),r=e.i(88411);e.i(48756);var n=e.i(49266),s=e.i(47266),l=e.i(67552),o=e.i(15464),c=e.i(41764),d=e.i(83315),u=e.i(30559);async function h(e,t,a,i,r){return e&&t?(await u.default.post(`${d.KALTURA_API_LIST_USER_ENTRY}`,{filter:{objectType:"KalturaViewHistoryUserEntryFilter",entryIdEqual:a,extendedStatusIn:i,userIdEqual:t,type:d.KALTURA_USER_ENTRY_TYPE_VIEW_HISTORY},pager:r},{headers:c.HEADER_APPLICATION_JSON,params:{ks:e}})).data:{error:!0,message:"Invalid parameters"}}async function f(e,t,a){return e&&t&&a?(await u.default.post(d.KALTURA_API_ADD_USER_ENTRY,{userEntry:{objectType:"KalturaViewHistoryUserEntry",entryId:e,userId:a}},{headers:c.HEADER_APPLICATION_JSON,params:{ks:t}})).data:{error:!0,message:"Invalid parameters"}}async function p(e,t,a){return e&&t&&a?(await u.default.post(d.KALTURA_ASYNC_API_UPDATE_USER_ENTRY,{id:e,userEntry:{objectType:"KalturaViewHistoryUserEntry",...a}},{headers:c.HEADER_APPLICATION_JSON,params:{ks:t}})).data:{error:!0,message:"Invalid parameters"}}var m=d,g=e.i(50461),b=d,_=u;async function y(e){let t=x(e);return await _.default.post(`${t}${b.API_RENEW_KS}`,{serverData:e})}function x(e){let t=e?.feUrl?e?.feUrl.split("/")?.[0]:"",a="dev"===g.default.env.NEXT_PUBLIC_ENV?"http":"https";return t?`${a}://${t}`:""}let v=({PARTNER_ID:e,UICONF_ID:c,ks:d,videoLabels:u,videoDetailData:g,videoEntryId:b,uploadType:_,isHero:x,serverData:v,isLoggedIn:A="",userEmail:w=""})=>{let E=(0,i.useRouter)(),[S,C]=(0,a.useState)(!0),[T,N]=(0,a.useState)(!1),[k,I]=(0,a.useState)(!1),j=(0,a.useRef)(null),P=(0,a.useRef)(0),L=(0,a.useRef)(d??null),O=(0,a.useRef)({}),{media_id:D,media_type:M}=(0,a.useMemo)(()=>{let e=E.query.entry_id??b,t=E.query.playlist_id,a="",i="";return"string"==typeof e?(a=e,i="entry"):Array.isArray(e)?(a=e[0],i="entry"):"string"==typeof t?(a=t,i="playlist"):Array.isArray(t)&&(a=t[0],i="playlist"),{media_id:a.replace(/\/$/,""),media_type:i}},[E.query.entry_id,E.query.playlist_id]),R=(0,a.useCallback)(async(e,t)=>{if(A&&!x&&t){let a=await h(L.current,t,e,`${m.KALTURA_PLAYBACK_STARTED},${m.KALTURA_PLAYBACK_COMPLETE},${m.KALTURA_VIEWED}`);if(a?.totalCount!==0)return O.current[e]=a?.objects?.[0]?.id,a;{let a=await f(e,L.current,t);a?.status===1?O.current[e]=a?.id:console.error("[NFH]: User entry add failed")}}},[A,x,L.current]),F=(0,a.useCallback)(async(e,t,a,i=m.KALTURA_PLAYBACK_STARTED)=>{L.current&&A&&!x&&a&&O.current?.[e]&&p(O.current[e],L.current,{extendedStatus:i,lastTimeReached:t}).then(e=>{e?.code===m.KALTURA_INVALID_KS&&v?.feUrl&&y(v).then(e=>{e?.data?.ks&&(L.current=e.data.ks)})})},[A,x,L.current,O.current]);(0,a.useEffect)(()=>
35{if(!D||!M||!j.current){N(!0),C(!1);return}if(j.current.dataset.initialized)return;j.current.dataset.initialized="true";let t=document.createElement("script");return t.src=`https://cdnapisec.kaltura.com/p/${e}/embedPlaykitJs/uiconf_id/${c}`,t.async=!0,t.onload=()=>{setTimeout(()=>{if(window?.KalturaPlayer&&j.current?.id)try{let t=window.KalturaPlayer.setup({targetId:j.current.id,provider:{partnerId:e,uiConfId:c,ks:L.current}});if("entry"===M?t.loadMedia({entryId:D}).then(()=>t.ready()).then(()=>{t.currentTime=Number(E.query.t)??0}):t.loadPlaylist({playlistId:D}),t.addEventListener("error",e=>{console.error("Kaltura player error:",e),C(!1)}),t.addEventListener("mediaLoaded",()=>{C(!1)}),t.addEventListener("playlistLoaded",()=>{C(!1)}),A&&!x){let e=w,a=m.KALTURA_WATCH_PROGRESS_INTERVAL<5?5:m.KALTURA_WATCH_PROGRESS_INTERVAL;t.addEventListener(t.Event.TIME_UPDATE,function(){let i=t.getVideoElement().currentTime;if(i>=P.current+a){let a=t.getMediaInfo();F(a.entryId,i,e),P.current=i}}),t.addEventListener(t.Event.SOURCE_SELECTED,async function(){P.current=0;let a=t.getMediaInfo();await R(a?.entryId??"",e)}),t.addEventListener(t.Event.ENDED,function(){let a=t.getVideoElement();P.current=0;let i=t.getMediaInfo();F(i.entryId,a?.duration??0,e,m.KALTURA_PLAYBACK_COMPLETE)})}}catch(e){console.error("catch",e),N(!0),C(!1)}else N(!0),C(!1);C(!1)},1e3)},document.body.appendChild(t),()=>{document.body.contains(t)&&document.body.removeChild(t)}},[D,M,e,c]);let B=u?.video_desc_word_limit??30,U=g?.description??"",{displayedText:H,shouldShowButton:$}=(0,l.getTruncatedText)(U,B,k),G=(0,a.useMemo)(()=>g?.createdAt?new Date(1e3*parseInt(g.createdAt,10)).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"",[g?.createdAt]),{firstName:W,lastName:Y}=(0,a.useMemo)(()=>{let[e="",t=""]=(g?.userId??"").split("@")[0].split(".");return{firstName:(0,r.default)(e),lastName:(0,r.default)(t)}},[g?.userId]),z="kaltura_media"===_;return(0,t.jsxs)("div",{className:`mb-5 kaltura-media-player ${!z?"rounded p-3 br-3 bg-white":"w-100 hero-banner-kaltura-video"}`,children:[S&&!z&&(0,t.jsx)("div",{className:"text-center pt-5 mt-5",children:(0,t.jsx)(s.Loader,{display:S})}),!T&&(0,t.jsx)("div",{ref:j,id:`kaltura-player-${D}`,className:`player-wrapper ${_||""}`}),T&&(0,t.jsx)("div",{className:"text-center py-2",children:u?.video_failed_load_label??"Error: Failed to load video"}),!D&&(0,t.jsx)("div",{className:"text-center py-2",children:u?.video_not_found_label??"Error: Wrong Entry/Playlist ID"}),g?.videoTitle&&!z&&(0,t.jsx)("div",{className:"pt-4 mt-2 mb-0 kaltura-media-title",dangerouslySetInnerHTML:{__html:g.videoTitle?(0,o.DOMSanitizer)(g.videoTitle):"&nbsp;"}}),G&&!z&&(0,t.jsx)("p",{className:"pt-2 mt-2 mb-0 kaltura-media-date",children:G}),(U||g?.userId)&&!z&&(0,t.jsxs)("div",{className:"mt-4 kaltura-media-desc",children:[(0,t.jsxs)("div",{className:"kaltura-media-author d-flex gap-2",children:[(0,t.jsx)("div",{children:(0,t.jsx)(n.Icon,{iconName:"Profilefill"})}),(0,t.jsxs)("div",{className:"ml-2 author-info",children:[(0,t.jsx)("p",{className:"mb-0",children:u?.author_participant_label}),g?.userId&&(0,t.jsxs)("p",{className:"pt-1 mb-0",children:[W," ",Y]})]})]}),U&&(0,t.jsx)("div",{className:"pt-4 media-description mb-0",children:(0,t.jsxs)("p",{className:"mb-0",children:[(0,t.jsx)("div",{className:"d-inline",dangerouslySetInnerHTML:{__html:H?(0,o.DOMSanitizer)(H):"&nbsp;"}}),$&&(0,t.jsx)("button",{onClick:()=>I(!k),children:k?`${u?.read_less_label}`:`${u?.read_more_label}`})]})})]})]})}},11462,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576),i=e.i(75957),r=e.i(23652),n=e.i(28911),s=e.i(79557);e.i(48756);var l=e.i(5223),o=e.i(81420),c=e.i(75635),d=e.i(43209);let u=e=>{let u,h,f,p,m,g,b,_,y,x=(0,a.c)(39),{eventBannerContent:v,heroBannerContent:A,heroBannerImage:w,heroBannerVideoFallBackImage:E,heroBannerVideoURL:S,internalLayout:C,isEventBanner:T,referenceField:N,uploadType:k,fieldSoundControls:I,fieldSoundControlPosition:j,stockTickerData:P,stock_ticker_position:L,kalturaMediaId:O,kalturaPlayerId:D,partnerID:M}=e;x[0]!==C?(u=()=>{let e=["heroBanner"];return C&&e.push("internal-layout"),e.join(" ")},x[0]=C,x[1]=u):u=x[1];let R=u,F=P?.field_cst_key_attr_values||null,B=P?.field_cst_xml_link?.value||null,U=P?.field_refresh_period||null,H=L||null;x[2]!==F||x[3]!==B||x[4]!==U||x[5]!==H?(h={fieldCstKeyAttrValues:F,cstXMLLink:B,field_refresh_period:U,field_stock_ticker_position:H},x[2]=F,x[3]=B,x[4]=U,x[5]=H,x[6]=h):h=x[6];let $=h,G=R();return x[7]===Symbol.for("react.memo_cache_sentinel")?(f=(0,i.default)(),x[7]=f):f=x[7],x[8]!==v||x[9]!==A||x[10]!==w||x[11]!==T||x[12]!==k?(p="image"===k&&w&&(0,t.jsxs)("div",{className:"heroBanner-wrapper",children:[(0,t.jsx)("div",{className:"heroBanner-image",children:(0,t.jsx)(s.default,{...w})}),T&&v?(0,t.jsx)(n.default,{...v}):(0,t.jsx)(r.default,{...A})]}),x[8]=v,x[9]=A,x[10]=w,x[11]=T,x[12]=k,x[13]=p):p=x[13],x[14]!==j||x[15]!==I||x[16]!==A||x[17]!==E||x[18]!==S||x[19]!==k?(m="video"===k&&S&&(0,t.jsxs)("div",{className:"heroBanner-video-wrapper container-fluid",children:[(0,t.jsx)(o.SimpleVideo,{muted:!0,autoPlay:!0,loop:!0,playsInl
35ine:!0,videoURL:S,poster:E,fieldSoundControls:I,fieldSoundControlPosition:j}),(0,t.jsx)(r.default,{...A})]}),x[14]=j,x[15]=I,x[16]=A,x[17]=E,x[18]=S,x[19]=k,x[20]=m):m=x[20],x[21]!==A||x[22]!==O||x[23]!==D||x[24]!==M||x[25]!==k?(g="kaltura_media"===k&&O&&D&&(0,t.jsxs)("div",{className:`heroBanner-video-wrapper ${k} container-fluid`,children:[(0,t.jsx)(d.default,{videoEntryId:O,UICONF_ID:D,PARTNER_ID:M,uploadType:k,isHero:!0}),(0,t.jsx)(r.default,{cssClassName:"my-auto",...A})]}),x[21]=A,x[22]=O,x[23]=D,x[24]=M,x[25]=k,x[26]=g):g=x[26],x[27]!==T||x[28]!==N?(b=!T&&N&&(0,t.jsx)("div",{className:"heroBanner-annotation container",children:(0,t.jsx)(l.RichText,{className:"heroBanner-annotation-text",content:N})}),x[27]=T,x[28]=N,x[29]=b):b=x[29],x[30]!==$?(_=$?.cstXMLLink&&(0,t.jsx)(c.default,{...$}),x[30]=$,x[31]=_):_=x[31],x[32]!==m||x[33]!==g||x[34]!==b||x[35]!==_||x[36]!==G||x[37]!==p?(y=(0,t.jsxs)("div",{className:G,dir:f,children:[p,m,g,b,_]}),x[32]=m,x[33]=g,x[34]=b,x[35]=_,x[36]=G,x[37]=p,x[38]=y):y=x[38],y}},68730,e=>{"use strict";let t={GRID:"grid",PARAGRAPH:"paragraph",MINILIST:"minilist",LEFT:"left",ABOVE:"above",ONE_COLUMN:"one_column",TWO_COLUMN:"two_column",THREE_COLUMN:"three_column"};e.s(["default",0,t])},97111,e=>{"use strict";e.s(["default",()=>m]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17626),n=e.i(17419),s=e.i(70184),l=e.i(5223),o=e.i(23216),c=e.i(41764),d=e.i(68730);e.i(41871);var u=e.i(87612);e.i(35958);var h=e.i(91814),f=e.i(75957),p=e.i(34848);let m=e=>{let m,g,b,_,y,x,v,A,w,E=(0,a.c)(77),{imageSrc:S,imageAlt:C,title:T,paragraph:N,link:k,linkIsExternal:I,linkText:j,columnTablet:P,columnDesktop:L,cardAlignment:O,subtitle:D,view:M,layout:R,secondaryLinkText:F,secondaryLink:B,secondaryLinkIsExternal:U,bulletPointsAlignment:H,linkTarget:$}=e,G=void 0!==U&&U,W=(0,u.useMediaQuery)("(max-width: 767px)"),Y=(0,u.useMediaQuery)("(max-width: 991px)"),z=M===d.default.GRID,V=M===d.default.PARAGRAPH,K=M===d.default.MINILIST,q=H===d.default.LEFT,Q=H===d.default.ABOVE;E[0]!==z||E[1]!==q||E[2]!==V?(m=()=>{let e=[];return z&&e.push("icon-card-left-grid"),V&&e.push("icon-card-left-para"),(z||V)&&q&&e.push("auto-width"),e.join(" ")},E[0]=z,E[1]=q,E[2]=V,E[3]=m):m=E[3];let Z=m;E[4]!==z||E[5]!==q||E[6]!==K||E[7]!==V?(g=()=>{let e=[];return V&&q?e.push("card-info left-aligned-para"):z&&q?e.push("card-info left-aligned-grid"):K&&q&&e.push("card-info"),e.join(" ")},E[4]=z,E[5]=q,E[6]=K,E[7]=V,E[8]=g):g=E[8];let X=g;b=W?40:Y?48:K?24:64,E[9]!==C||E[10]!==S||E[11]!==b?(_=(0,t.jsx)("span",{className:"icon-card-icon",children:(0,t.jsx)(s.Img,{src:S,width:b,height:b,alt:C,type:"icon"})}),E[9]=C,E[10]=S,E[11]=b,E[12]=_):_=E[12];let J=_,ee=!!(k||B);E[13]!==ee||E[14]!==k||E[15]!==I||E[16]!==$||E[17]!==j||E[18]!==B||E[19]!==G||E[20]!==F?(y=ee?(0,t.jsxs)(t.Fragment,{children:[k&&(0,t.jsx)(r.AnchorButton,{tabindex:0,href:k,target:$,isExternal:I,children:j}),B&&(0,t.jsx)(r.AnchorButton,{isSecondary:!0,tabindex:0,href:B,isExternal:G,children:F})]}):null,E[13]=ee,E[14]=k,E[15]=I,E[16]=$,E[17]=j,E[18]=B,E[19]=G,E[20]=F,E[21]=y):y=E[21];let et=y;return E[22]!==O||E[23]!==L||E[24]!==P||E[25]!==ee||E[26]!==Q||E[27]!==z||E[28]!==K||E[29]!==V||E[30]!==R||E[31]!==k||E[32]!==$||E[33]!==N||E[34]!==et||E[35]!==J||E[36]!==D||E[37]!==T?(x=Q&&(0,t.jsx)(n.Column,{desktop:z?L||c.COLUMN_DESKTOP_LAYOUT[R]||4:12,tablet:z?P||c.COLUMN_TABLET_LAYOUT[R]||6:12,mobile:12,className:"icon-card",children:(0,t.jsxs)("div",{className:"card "+O,dir:(0,f.default)(),children:[(0,t.jsxs)("div",{className:"card-body",children:[J,D&&!K&&(0,t.jsx)("h4",{className:"icon-card-subtitle",children:D}),T&&!K&&(k?(0,t.jsx)(i.Anchor,{href:k,tabindex:0,noUnderline:!0,target:$,title:(0,p.trimText)(T,o.default.TITLE),children:(0,t.jsx)("h4",{className:"icon-card-title bold",children:(0,p.trimText)(T,o.default.TITLE)})}):(0,t.jsx)("h4",{className:"icon-card-title bold",children:(0,p.trimText)(T,o.default.TITLE)})),N&&(0,t.jsx)(l.RichText,{className:"card-text icon-card-desc",content:N})]}),z&&ee&&(0,t.jsx)(h.ButtonGroup,{className:"card-footer icon-card-custom "+O,children:et}),V&&ee&&(0,t.jsx)("div",{className:"card-footer-above-para",children:(0,t.jsx)(h.ButtonGroup,{className:O,children:et})})]})}),E[22]=O,E[23]=L,E[24]=P,E[25]=ee,E[26]=Q,E[27]=z,E[28]=K,E[29]=V,E[30]=R,E[31]=k,E[32]=$,E[33]=N,E[34]=et,E[35
35]=J,E[36]=D,E[37]=T,E[38]=x):x=E[38],E[39]!==L||E[40]!==P||E[41]!==X||E[42]!==Z||E[43]!==z||E[44]!==q||E[45]!==K||E[46]!==V||E[47]!==Y||E[48]!==R||E[49]!==k||E[50]!==$||E[51]!==N||E[52]!==et||E[53]!==J||E[54]!==D||E[55]!==T?(v=q&&(0,t.jsxs)(n.Column,{desktop:z?L||c.COLUMN_DESKTOP_LAYOUT[R]||4:12,tablet:z?P||c.COLUMN_TABLET_LAYOUT[R]||6:12,mobile:12,className:"icon-card",children:[(0,t.jsx)(n.Column,{desktop:z?3:1,tablet:z?3:2,mobile:z?3:1,className:K?"icon-card-left-minilast":V&&Y?`${Z()} auto-width`:`${Z()}`,children:J}),(0,t.jsxs)(n.Column,{desktop:z?9:11,tablet:z?9:10,mobile:z?9:11,className:X(),children:[(0,t.jsxs)("div",{className:K?"card-body-left-minilist":"card-body-left",children:[D&&!K&&(0,t.jsx)("span",{className:"icon-card-subtitle",children:D}),T&&!K&&(k?(0,t.jsx)(i.Anchor,{href:k,tabindex:0,noUnderline:!0,target:$,title:(0,p.trimText)(T,o.default.TITLE),children:(0,t.jsx)("h4",{className:"icon-card-title bold",children:(0,p.trimText)(T,o.default.TITLE)})}):(0,t.jsx)("h4",{className:"icon-card-title bold",children:(0,p.trimText)(T,o.default.TITLE)})),N&&(0,t.jsx)(l.RichText,{className:"card-text icon-card-desc",content:N})]}),K?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(h.ButtonGroup,{className:V?"card-footer-left-para":"card-footer-left",children:et})]})]}),E[39]=L,E[40]=P,E[41]=X,E[42]=Z,E[43]=z,E[44]=q,E[45]=K,E[46]=V,E[47]=Y,E[48]=R,E[49]=k,E[50]=$,E[51]=N,E[52]=et,E[53]=J,E[54]=D,E[55]=T,E[56]=v):v=E[56],E[57]!==O||E[58]!==L||E[59]!==P||E[60]!==ee||E[61]!==C||E[62]!==S||E[63]!==Q||E[64]!==q||E[65]!==k||E[66]!==$||E[67]!==N||E[68]!==et||E[69]!==b||E[70]!==D||E[71]!==T?(A=!Q&&!q&&(0,t.jsx)(n.Column,{desktop:L||4,tablet:P||6,mobile:12,className:"icon-card",children:(0,t.jsxs)("div",{className:"card "+O,dir:(0,f.default)(),children:[(0,t.jsxs)("div",{className:"card-body",children:[(0,t.jsx)("span",{className:"icon-card-icon",children:(0,t.jsx)(s.Img,{src:S||"",width:b,height:b,alt:C,type:"icon"})}),D&&(0,t.jsx)("h4",{className:"icon-card-subtitle",children:D}),T&&(k?(0,t.jsx)(i.Anchor,{href:k,tabindex:0,noUnderline:!0,target:$,title:(0,p.trimText)(T,o.default.TITLE),children:(0,t.jsx)("h4",{className:"icon-card-title bold",children:(0,p.trimText)(T,o.default.TITLE)})}):(0,t.jsx)("h4",{className:"icon-card-title bold",children:(0,p.trimText)(T,o.default.TITLE)})),N&&(0,t.jsx)(l.RichText,{className:"card-text icon-card-desc",content:N})]}),ee&&(0,t.jsx)(h.ButtonGroup,{className:"card-footer icon-card-custom "+O,children:et})]})}),E[57]=O,E[58]=L,E[59]=P,E[60]=ee,E[61]=C,E[62]=S,E[63]=Q,E[64]=q,E[65]=k,E[66]=$,E[67]=N,E[68]=et,E[69]=b,E[70]=D,E[71]=T,E[72]=A):A=E[72],E[73]!==x||E[74]!==v||E[75]!==A?(w=(0,t.jsxs)(t.Fragment,{children:[x,v,A]}),E[73]=x,E[74]=v,E[75]=A,E[76]=w):w=E[76],w}},20672,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(70184),n=e.i(75957),s=e.i(10096);let l=e=>{let l,o,c,d,u=(0,a.c)(10),{interestingTeaserCardImage:h}=e,{interestingTeaserCardContent:f}=e;return u[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.default)(),u[0]=l):l=u[0],u[1]!==h.alt||u[2]!==h.src||u[3]!==h.styledimage?(o=h.src?(0,t.jsx)(r.Img,{className:"interesting-teaser-card-image",type:"card",styledimage:h.styledimage,src:h.src,alt:h.alt,width:368,height:215,islazyloaded:!1}):(0,t.jsx)("div",{className:"img-placeholder",children:" "}),u[1]=h.alt,u[2]=h.src,u[3]=h.styledimage,u[4]=o):o=u[4],u[5]!==f?(c=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsx)(s.default,{...f})}),u[5]=f,u[6]=c):c=u[6],u[7]!==o||u[8]!==c?(d=(0,t.jsx)(i.Column,{desktop:4,tablet:4,mobile:12,className:"interesting-teaser-card",children:(0,t.jsxs)("div",{className:"card",dir:l,children:[o,c]})}),u[7]=o,u[8]=c,u[9]=d):d=u[9],d}},88772,e=>{"use strict";e.s(["default",()=>d],88772);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(38233);let r=(e,t)=>{"u">typeof Storage&&window.localStorage.setItem(e,t)},n=e=>{if("u">typeof Storage)return window.localStorage.getItem(e)};var s=e.i(18090),l=e.i(95104);let o=(e,t)=>{location.href=t,r(e,"true")},c=(e,t)=>{location.href=t,r(e,"false")},d=e=>{let r,d,h,f,p,m,g,b,_,y=(0,a.c)(25),{title:x,content:v,yesButton:A,noButton:w,localStorageKey:E,yesPath:S,noPath:C}=e;if(n(E))return null;if(y[0]!==x?(r=(0,t.jsx)("h4",{children:x}),y[0]=x,y[1]=r):r=y[1],y[2]!==v?(d=v.map(u),y[2]=v,y[3]=d):d=y[3],y[4]!==d?(h=(0,t.jsx)("div",{className:"modal-text",children:d}),y[4]=d,y[5]=h):h=y[5],y[6]!==E||y[7]!==C?(f=()=>c(E,C),y[6]=E,y[7]=C,y[8]=f):f=y[8],y[9]!==w||y[10]!==f?(p=(0,t.jsx)(i.Button,{tabindex:1,isSecondary:!0,onClick:f,children:w}),y[9]=w,y[10]=f,y[11]=p):p=y[11],y[12]!==E||y[13]!==S?(m=()=>o(E,S),y[12]=E,y[13]=S,y[14]=m):m=y[14],y[15]!==m||y[16]!==A?(g=(0,t.jsx)(i.Button,{tabindex:2,onClick:m,children:A}),y[15]=m,y[16]=A,y[17]=g):g=y[17],y[18]!==p||y[19]!==g?(b=(0,t.jsx)("div",{className:"modal-buttons-container",children:(0,t.jsxs)(s.default,{className:"modal-buttons-group",children:[p,g]})}),y[18]=p,y[19]=g,y[20]=b):b=y[20],y[21]!==r||y[22]!==h||y[23]!==b){let e=(0,t.jsxs)("div",{className:"modal-content-wrapper",children:[r,h,b]});_=(0,t.jsx)(l.default,{modalContent:e,wrapperId:"react-portal-wrapper"}),y[21]=r,y[22]=h,y[23]=b,y[24]=_}else _=y[24];return _};function u(e,a){return(0,t.jsx)("p",{children:e},a)}},51956,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(70184),n=e.i(75957),s=e.i(26735);let l=e=>{let l,o,c,d,u=(0,a.c)(8),{materialTeaserCardImage:h}=e,{materialTeaserCardContent:f}=e;return u[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.default)(),u[0]=l):l=u[0],u[1]!==h?(o=h&&(0,t.jsx)(r.Img,{className:"material-teaser-card-image",type:"article_teaser_support_material",styledimage:h?.styledimage,src:h.src,alt:h.alt,width:368,height:207,islazyloaded:!1}),u[1]=h,u[2]=o):o=u[2],u[3]!==f?(c=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsx)(s.default,{...f})}),u[3]=f,u[4]=c):c=u[4],u[5]!==o||u[6]!==c?(d=(0,t.jsx)(i.Column,{desktop:4,tablet:6,mobile:12,className:"material-teaser-card",children:(0,t.jsxs)("div",{className:"card",dir:l,children:[o,c]})}),u[5]=o,u[6]=c,u[7]=d):d=u[7],d}},15934,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17419),n=e.i(70184),s=e.i(22276),l=e.i(21672),o=e.i(75957),c=e.i(20251),d=e.i(62281);let u=e=>{let u,h,f,p,m,g,b,_,y,x=(0,a.c)(27),{styledimage:v,imageSrc:A,imgAlt:w,newsStoriesContent:E,relatedContentFlag:S}=e,C=void 0!==S&&S;x[0]!==E||x[1]!==C?(u=C?(0,d.modifyRelatedContentData)(E):E,x[0]=E,x[1]=C,x[2]=u):u=x[2];let T=u,N=(0,s.useDispatch)();x[3]!==N?(h=e=>N((0,l.addRatings)(e)),x[3]=N,x[4]=h):h=x[4];let k=h;x[5]!==T.id||x[6]!==k?(f=e=>{k({id:T.id,state:e})},x[5]=T.id,x[6]=k,x[7]=f):f=x[7];let I=f,j=C?12:4,P=C?12:6;return x[8]===Symbol.for("react.memo_cache_sentinel")?(p=(0,o.default)(),x[8]=p):p=x[8],x[9]!==A||x[10]!==w||x[11]!==E?.buttonUrl||x[12]!==E?.isButtonUrlExter
35nal||x[13]!==v?(m=A&&(0,t.jsx)("div",{className:"image-section",children:E?.buttonUrl?(0,t.jsx)(i.Anchor,{noUnderline:!0,href:E?.buttonUrl,tabindex:0,isExternal:E?.isButtonUrlExternal,children:(0,t.jsx)(n.Img,{type:"card",styledimage:v,src:A,alt:w,width:368,height:220,islazyloaded:!1})}):(0,t.jsx)(n.Img,{type:"card",styledimage:v,src:A,alt:w,width:368,height:220,islazyloaded:!1})}),x[9]=A,x[10]=w,x[11]=E?.buttonUrl,x[12]=E?.isButtonUrlExternal,x[13]=v,x[14]=m):m=x[14],x[15]!==m?(g=(0,t.jsx)("div",{className:"card-image",children:m}),x[15]=m,x[16]=g):g=x[16],x[17]!==I||x[18]!==T?(b=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsx)(c.default,{...T,bookmarkCallback:I})}),x[17]=I,x[18]=T,x[19]=b):b=x[19],x[20]!==b||x[21]!==g?(_=(0,t.jsxs)("div",{className:"card",dir:p,children:[g,b]}),x[20]=b,x[21]=g,x[22]=_):_=x[22],x[23]!==_||x[24]!==j||x[25]!==P?(y=(0,t.jsx)(r.Column,{desktop:j,tablet:P,mobile:12,className:"news-stories-card",children:_}),x[23]=_,x[24]=j,x[25]=P,x[26]=y):y=x[26],y}},44630,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(70184),n=e.i(75957),s=e.i(95312);let l=e=>{let l,o,c,d,u=(0,a.c)(10),{opinionLeadersCardImage:h}=e,{opinionLeadersCardContent:f}=e;return u[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.default)(),u[0]=l):l=u[0],u[1]!==h.alt||u[2]!==h.src||u[3]!==h.styledimage?(o=h.src?(0,t.jsx)(r.Img,{type:"card",styledimage:h?.styledimage,src:h.src,alt:h.alt,width:368,height:220,className:"opinion-leaders-card-image"}):(0,t.jsx)("div",{className:"img-placeholder",children:" "}),u[1]=h.alt,u[2]=h.src,u[3]=h.styledimage,u[4]=o):o=u[4],u[5]!==f?(c=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsx)(s.default,{...f})}),u[5]=f,u[6]=c):c=u[6],u[7]!==o||u[8]!==c?(d=(0,t.jsx)(i.Column,{desktop:4,tablet:4,mobile:12,className:"opinion-leaders-card",children:(0,t.jsxs)("div",{className:"card",dir:l,children:[o,c]})}),u[7]=o,u[8]=c,u[9]=d):d=u[9],d}},39938,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17626),n=e.i(17419),s=e.i(70184),l=e.i(23216),o=e.i(34848),c=e.i(31808),d=e.i(22276);let u=e=>{let u,h,f,p,m,g,b,_=(0,a.c)(25),{ourProductCardImage:y}=e,x=(0,d.useDispatch)();_[0]!==x?(u=e=>x((0,c.updateProductCatalogTitle)(e)),_[0]=x,_[1]=u):u=_[1];let v=u;_[2]!==e.path||_[3]!==v?(h=()=>{v(e.path)},_[2]=e.path,_[3]=v,_[4]=h):h=_[4];let A=h;return _[5]!==y.alt||_[6]!==y.src||_[7]!==y.styledimage||_[8]!==A||_[9]!==e.path?(f=y.src&&(0,t.jsx)(i.Anchor,{href:e.path??"#",tabindex:1,noUnderline:!0,onClick:A,className:"our-product-card-hyperlink",isExternal:!1,children:(0,t.jsx)(s.Img,{type:"card",src:y.src,alt:y.alt,styledimage:y.styledimage,width:368,height:220,className:"our-product-card-image"})}),_[5]=y.alt,_[6]=y.src,_[7]=y.styledimage,_[8]=A,_[9]=e.path,_[10]=f):f=_[10],_[11]!==A||_[12]!==e.path||_[13]!==e.title?(p=e.title&&(0,t.jsx)(i.Anchor,{href:e.path??"#",tabindex:1,onClick:A,noUnderline:!0,isExternal:!1,className:"our-product-card-hyperlink",children:(0,t.jsx)("h5",{className:"our-product-card-header",children:(0,o.trimText)(e.title,l.default.TITLE)})}),_[11]=A,_[12]=e.path,_[13]=e.title,_[14]=p):p=_[14],_[15]!==p?(m=(0,t.jsx)("div",{className:"card-body",children:p}),_[15]=p,_[16]=m):m=_[16],_[17]!==A||_[18]!==e.buttonLabel||_[19]!==e.path?(g=(0,t.jsx)("div",{className:"card-footer",children:(0,t.jsx)(r.AnchorButton,{tabindex:1,href:e.path,isExternal:!1,onClick:A,isSecondary:!0,children:e.buttonLabel})}),_[17]=A,_[18]=e.buttonLabel,_[19]=e.path,_[20]=g):g=_[20],_[21]!==f||_[22]!==m||_[23]!==g?(b=(0,t.jsx)(n.Column,{desktop:4,tablet:6,mobile:12,className:"our-product-card",children:(0,t.jsxs)("div",{className:"card",children:[f,m,g]})}),_[21]=f,_[22]=m,_[23]=g,_[24]=b):b=_[24],b}},4279,e=>{"use strict";e.s(["default",()=>_]);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(38233),r=e.i(17419),n=e.i(6271),s=e.i(70184),l=e.i(5223),o=e.i(66196);e.i(35958);var c=e.i(76988),d=e.i(60044),u=e.i(41764),h=e.i(3828),f=e.i(97100),p=e.i(82054),m=e.i(63712),g=e.i(67552),b=e.i(10828);let _=e=>{let{publicTeaserType:_,isOrganism:y,descriptionText:x,specificDescriptionText:v,registerBlock:A,loginBlock:w,form:E,isInvalidToken:S,tokenInvalidMessage:C,showCredentialsError:T,wrongCredentialsText:N}=e,[k,I]=(0,a.useState)(!1),[j,P]=(0,a.useState)(!1),L=(0,h.useRouter)(),{authForm:O}=w,{fields:D,submitButton:M,forgotPassword:R}=O,{navigationURL:F,registerDescription:B,registerButtonText:U}=A,{applicationConfiguration:H}=(0,a.useContext)(p.default),{isSandozIDEnabled:$=!1}=H,{handleLoginRedirection:G}=(0,m.default)(H),W={...E?.formLogin},Y={...E?.docCheckLoginForm};(0,a.useEffect)(()=>{let e=document.getElementsByClassName("paywall")[0]?.parentElement;e&&!y&&(e.style.position="relative")},[]);let z=(0,a.useMemo)(()=>{let e=0;return{num:e=W.isLoginFormDisabled&&Y.isLoginFormDisabled?0:+!W.isLoginFormDisabled}},[e]),V=e=>{window.location.assign(e)},K=t=>{t.preventDefault(),e.onSubmit(t)},q=async e=>{e.preventDefault(),"/"!==L.asPath&&(sessionStorage.source=L.asPath),document?.paywall_login_form_doccheck.submit();let t={login_system:u.LOGIN_TYPES.DOC_CHECK,sessionStartDate:sessionStorage.getItem("loginDate")??new Date().toISOString()};sessionStorage.setItem("loginEvent",JSON.stringify({event:b.EVENTS.LOGIN,data:t}))},Q=e=>{e.preventDefault()},Z=(0,t.jsxs)("div",{children:[(0,t.jsxs)(o.Row,{className:"paywall-cta",children:[(0,t.jsxs)(r.Column,{mobile:12,tablet:6,desktop:6,className:"paywall-cta-register",children:[(0,t.jsx)(l.RichText,{className:"paywall-cta-paragraph",content:B}),(0,t.jsx)("div",{children:(0,t.jsx)(i.Button,{type:"button",tabindex:0,onClick:()=>{window.location.assign(F)},children:U})})]}),(0,t.jsx)(r.Column,{mobile:12,tablet:6,desktop:6,className:"paywall-cta-login",children:(0,t.jsx)(f.default,{isPaywallForm:!0,fields:D,submitButton:M,forgotPassword:R,onSubmit:K,title:`<h2>${W?.title}<h2/>`,wrongCredentialsText:N,showCredentialsError:T,noValidate:!0,formType:u.LOGIN_TYPES.SOLAR,registerLink:W?.registerLink})})]}),S&&(0,t.jsx)(c.Notification,{notificationType:"error",displayTxt:C}),(0,t.jsx)("div",{})]}),X=(0,t.jsxs)("div",{children:[(0,t.jsxs)(o.Row,{className:"paywall-cta",children:[(0,t.jsx)(r.Column,{mobile:12,tablet:6,desktop:6,className:"paywall-cta-login",children:(0,t.jsx)(f.default,{isPaywallForm:!0,fields:Y?.fields,submitButton:M,forgotPassword:Y?.forgotPassword,title:`<h2>${Y?.title}<h2/>`,wrongCredentialsText:N,showCredentialsError:T,onForgotPassword:V,isInvalidPassword:j,isInvalidEmail:k,noValidate:!0,formType:u.LOGIN_TYPES.DOC_CHECK,registerLink:Y?.registerLink,onSubmit:q,onChange:Q})}),(0,t.jsx)(r.Column,{mobile:12,tablet:6,desktop:6,className:"paywall-cta-register",children:(0,t.jsx)("div",{className:"paywall-dockcheck-image",children:(0,t.jsx)(s.Img,{src:(0,g.getAssetPrefixUrl)("/assets/images/Vector.svg"),width:272,height:421,alt:"Vector.svg",className:"paywall-img"})})})]}),S&&(0,t.jsx)(c.Notification,{notificationType:"error",displayTxt:C}),(0,t.jsx)("div",{})]}),J=(0,t.jsxs)("div",{children:[(0,t.jsxs)(o.Row,{className:"paywall-cta paywall-cta-sandozID",children:[(0,t.jsxs)(r.Column,{mobile:12,tablet:6,desktop:6,className:"paywall-cta-register",children:[(0,t.jsx)(l.RichText,{className:"paywall-cta-paragraph",content:B}),(0,t.jsx)("div",{children:(0,t.jsx)(i.Button,{type:"button",tabindex:0,onClick:()=>{window.location.assign(F)},children:U})})]}),(0,t.jsxs)(r.Column,{mobile:12,tablet:6,desktop:6,className:"paywall-cta-login",children:[(0,t.jsx)(l.RichText,{className:"paywall-cta-paragraph",content:"<p>Please login to access this page content</p>"}),(0,t.jsx)("div",{children:(0,t.jsx)(i.Button,{type:"button",tabindex:0,onClick:()=>{G()},children:"Login"})})]})]}),S&&(0,t.jsx)(c.Notification,{notificationType:"error",displayTxt:C})]}
35),ee=[{isEnabled:W.isLoginFormDisabled,tabName:W?.title,itemID:W?.title,active:!0},{isEnabled:Y.isLoginFormDisabled,tabName:Y?.title,itemID:Y?.title,active:!1}],et=E?ee.map(e=>e.isEnabled?{isFormDisabled:e.isEnabled,children:`${e.tabName}`,itemID:e.tabName,tabDesign:"wide"}:{isFormDisabled:e.isEnabled,children:`${e.tabName}`,itemID:null,tabDesign:"wide"}):null,ea=ee.map((e,a)=>{if(!e.isEnabled)return(0,t.jsx)(t.Fragment,{});switch(e.tabName){case Y.title:return X;case W.title:return Z;default:return(0,t.jsx)("div",{children:e.tabName},a)}}),ei=()=>$?J:et?(0,t.jsx)(d.Tabs,{activeItem:z,tabHeadItems:et,tabContents:ea,tabHeadClassName:"tabHeadClass"}):(0,t.jsx)(t.Fragment,{});return(0,t.jsx)(n.Container,{children:(0,t.jsxs)("div",{className:`paywall ${"enable"===_?"paywall-enable":"paywall-disable"}`,children:[(0,t.jsxs)(n.Container,{narrow:!0,className:"paywall-publicTeaser",children:[v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.RichText,{content:v})," ",(0,t.jsx)("hr",{})," "]}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(l.RichText,{content:x})]}),(0,t.jsx)(n.Container,{background:"grey",children:ei()})]})})}},4177,8942,e=>{"use strict";e.s(["SpecificationItem",()=>c],4177),e.s(["default",()=>c],8942);var t=e.i(91398),a=e.i(61576),i=e.i(81352),r=e.i(65884),n=e.i(82054),s=e.i(23216),l=e.i(91788);e.i(48756);var o=e.i(45861);let c=e=>{let c,u,h,f=(0,a.c)(14),{title:p,description:m,className:g,full_row_display:b,format:_}=e,y=void 0===g?"":g,x=void 0===_?"":_,[v,A]=(0,l.useState)(!1),{applicationConfiguration:w}=(0,l.useContext)(n.default);f[0]!==y||f[1]!==b?(c=()=>{let e=1==b?["specification-item productCardListViewContent-padding row-display"]:["specification-item productCardListViewContent-padding"];return y&&e.push(y),e.join(" ")},f[0]=y,f[1]=b,f[2]=c):c=f[2];let E=c,S=d;return f[3]!==w?.siteConfig?.currency_code||f[4]!==w?.siteConfig?.fes_show_less_text||f[5]!==w?.siteConfig?.fes_show_more_text||f[6]!==m||f[7]!==x||f[8]!==E||f[9]!==v||f[10]!==p?(u=m&&m?.trim()&&(0,t.jsxs)("div",{className:`${E()}`,tabIndex:0,children:[p?(0,t.jsx)("h5",{className:"specification-title",children:p}):(0,t.jsx)("h5",{className:"specification-title",children:" "}),(0,t.jsx)(i.default,{className:m.length>s.default.PRODUCTDESCRIPTION?`specification-desc show-btn ${v?"read-more-content":""}`:`specification-desc ${v?"read-more-content":""}`,characterLimit:m.length>s.default.PRODUCTDESCRIPTION&&!v?s.default.PRODUCTDESCRIPTION:0,content:x?(0,r.default)(m,w?.siteConfig?.currency_code??x):S(m)}),m.length>s.default.PRODUCTDESCRIPTION&&(0,t.jsx)(o.Anchor,{href:"route:<nolink>",onClick:()=>A(!v),tabindex:0,noUnderline:!0,className:"shopcard-description--image",children:v?w?.siteConfig?.fes_show_less_text:w?.siteConfig?.fes_show_more_text})]}),f[3]=w?.siteConfig?.currency_code,f[4]=w?.siteConfig?.fes_show_less_text,f[5]=w?.siteConfig?.fes_show_more_text,f[6]=m,f[7]=x,f[8]=E,f[9]=v,f[10]=p,f[11]=u):u=f[11],f[12]!==u?(h=(0,t.jsx)(t.Fragment,{children:u}),f[12]=u,f[13]=h):h=f[13],h};function d(e){let t=document.createElement("div");t.innerHTML=e;let a=t.getElementsByTagName("p");for(;a.length>0;){let e=a[0].parentNode;e&&e.replaceChild(a[0].firstChild,a[0])}return t.innerHTML}},64821,e=>{"use strict";e.s(["default",()=>A],64821);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17419),n=e.i(70184),s=e.i(25675),l=e.i(75957),o=t,c=a,d=e.i(22276),u=e.i(21672),h=i,f=e.i(17626),p=e.i(5223),m=e.i(4177),g=e.i(65218),b=e.i(23216),_=e.i(34848),y=e.i(9283);let x=e=>{let t,a,i,r,n,s,l,x,v,A,w,E,S,C=(0,c.c)(44),T=(0,d.useDispatch)();C[0]!==T?(t=e=>T((0,u.addRatings)(e)),C[0]=T,C[1]=t):t=C[1];let N=t;C[2]!==e.id||C[3]!==N?(a=t=>{N({id:e?.id,state:t})},C[2]=e.id,C[3]=N,C[4]=a):a=C[4];let k=a;return C[5]!==e.taxonomies?(i=e?.taxonomies&&e?.taxonomies?.length>0&&(0,o.jsx)(g.Taxonomy,{taxonomies:e.taxonomies}),C[5]=e.taxonomies,C[6]=i):i=C[6],C[7]!==i?(r=(0,o.jsx)("span",{children:i}),C[7]=i,C[8]=r):r=C[8],C[9]!==k||C[10]!==e.id||C[11]!==e.relatedContent?(n=e?.relatedContent?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(y.default,{id:e.id,bookmarkStatus:!1,isButton:!1,addText:"",removeText:"",bookmarkCallback:k}),C[9]=k,C[10]=e.id,C[11]=e.relatedContent,C[12]=n):n=C[12],C[13]!==r||C[14]!==n?(s=(0,o.jsxs)("div",{className:"productCardContent-top",children:[r,n]}),C[13]=r,C[14]=n,C[15]=s):s=C[15],C[16]!==e.heading||C[17]!==e.href||C[18]!==e.isLinkExternal?(l=e?.heading&&(0,o.jsx)(h.Anchor,{href:e?.href??"",tabindex:0,noUnderline:!0,isExternal:e.isLinkExternal,children:(0,o.jsx)("h4",{className:"productCardContent-header bold",children:(0,_.trimText)(e.heading,b.default.TITLE)})}),C[16]=e.heading,C[17]=e.href,C[18]=e.isLinkExternal,C[19]=l):l=C[19],C[20]!==e.content?(x="string"==typeof e?.content?(0,o.jsx)(p.RichText,{className:"productCardContent-content",content:e.content,characterLimit:b.default.DESCRIPTION}):(0,o.jsx)("div",{className:"productCardContent-content",children:e?.content?.map((t,a)=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m.SpecificationItem,{...t},a),a<e?.content?.length-1&&t?.description&&(0,o.jsx)("div",{className:"productCardContent-separator"})]}))}),C[20]=e.content,C[21]=x):x=C[21],C[22]!==e.basisTextLabel||C[23]!==e.basisTextPath||C[24]!==e.isLinkExternal?(v=e?.basisTextPath&&(0,o.jsx)(f.AnchorButton,{tabindex:1,isSecondary:!0,className:"productCardContent-button-basis-text",href:e?.basisTextPath,isExternal:e?.isLinkExternal,children:e?.basisTextLabel}),C[22]=e.basisTextLabel,C[23]=e.basisTextPath,C[24]=e.isLinkExternal,C[25]=v):v=C[25],C[26]!==e.attachmentLabel||C[27]!==e.attachmentPath||C[28]!==e.isLinkExternal?(A=e?.attachmentPath&&(0,o.jsx)(f.AnchorButton,{tabindex:1,isSecondary:!0,className:"productCardContent-button-basis-text",href:e?.attachmentPath,isExternal:e?.isLinkExternal,children:e?.attachmentLabel}),C[26]=e.attachmentLabel,C[27]=e.attachmentPath,C[28]=e.isLinkExternal,C[29]=A):A=C[29],C[30]!==e.buttonLabel||C[31]!==e.content||C[32]!==e.href||C[33]!==e.isLinkExternal?(w=e?.href&&(0,o.jsx)(f.AnchorButton,{tabindex:1,isSecondary:"string"==typeof e?.content,className:"productCardContent-button",href:e.href,isExternal:e?.isLinkExternal,children:e?.buttonLabel}),C[30]=e.buttonLabel,C[31]=e.content,C[32]=e.href,C[33]=e.isLinkExternal,C[34]=w):w=C[34],C[35]!==w||C[36]!==v||C[37]!==A?(E=(0,o.jsxs)("div",{className:"productCardContent-group",children:[v,A,w]}),C[35]=w,C[36]=v,C[37]=A,C[38]=E):E=C[38],C[39]!==E||C[40]!==s||C[41]!==l||C[42]!==x?(S=(0,o.jsxs)("div",{className:"productCardContent",children:[s,l,x,E]}),C[39]=E,C[40]=s,C[41]=l,C[42]=x,C[43]=S):S=C[43],S};var v=e.i(62281);let A=e=>{let o,c,d,u,h,f,p,m=(0,a.c)(21),{className:g,withBorder:b,productCardImage:_,productCardContent:y,desktopColumns:A,tabletColumns:w,view:E,relatedContentFlag:S}=e,C=void 0===A?3:A,T=void 0===w?6:w;m[0]!==y||m[1]!==S?(o=S?(0,v.modifyRelatedContentData)(y):y,m[0]=y,m[1]=S,m[2]=o):o=m[2];let N=o;m[3]!==g||m[4]!==E?(c=()=>{let e=["productCard"];return g&&e.push(g),E===s.default.GRID_VIEW?e.push("card-list-view"):e.push("card-grid-view"),e.join(" ")},m[3]=g,m[4]=E,m[5]=c):c=m[5];let k=c(),I=`${b?"border-card":"card"}`;return m[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,l.default)(),m[6]=d):d=m[6],m[7]!==y||m[8]!==_?(u=_?.src&&(0,t.jsx)("div",{className:"image-section",children:(0,t.jsx)(i.Anchor,{noUnderline:!0,tabindex:0,href:y?.href??"",isExternal:y.isLinkExternal,children:(0,t.jsx)(n.Img,{type:"plp_list",styledimage:_?.src?null:_?.styledimage,src:_.src||"",alt:_.alt||"",width:240,height:240,className:"productCard-image",islazyloaded:!1})})}),m[7]=y,m[8]=_,m[9]=u):u=m[9],m[10]!==N?(h=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsx)(x,{...N})}),m[10]=N,m[11]=h):h=m[11],m[12]!==I||m[13]!==u||m[14]!==h?(f=(0,t.jsxs)("div",{className:I,dir:d,children:[u,h]}),m[12]=I,m[13]=u,m[14]=h,m[15]=f):f=m[15],m[16]!==C||m[17]!==f||m[18]!==k||m[19]!==T?(p=(0,t.jsx)(r.Column,{desktop:C,tablet:T,mobile:12,className:k,children:f}),m[16]=C,m[17]=f,m[18]=k,m[19]=T,m[20]=p):p=m[20],p}},46624,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n=(0,a.c)(4);
35n[0]!==e.className?(i=()=>{let t=[];return t.push("profile-infographics"),e.className&&t.push(e.className),t.join(" ")},n[0]=e.className,n[1]=i):i=n[1];let s=i();return n[2]!==s?(r=(0,t.jsx)("div",{className:"pattern-bg",children:(0,t.jsx)("div",{className:s})}),n[2]=s,n[3]=r):r=n[3],r};e.s(["default",0,i])},25911,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398);e.i(48756);var a=e.i(5223),i=e.i(62494),r=e.i(91788);let n=({type:e,icon:n,label:s,inputField:l,passwordValidationErrorMessage:o})=>{let[c,d]=(0,r.useState)(!1),[u,h]=(0,r.useState)({}),[f,p]=(0,r.useState)(""),[m,g]=(0,r.useState)(""),b=o,[_,y]=(0,r.useState)({length:`<li>${b[0]}</li>`,upperCase:`<li>${b[1]}</li>`,lowerCase:`<li>${b[2]}</li>`,number:`<li>${b[3]}</li>`,specialChar:`<li>${b[4]}</li>`});u.password=Object.values(_).join("");let x=e=>{let t=e.target.value.trim(),a={};t.length<8?a.length=`<li>${b[0]}</li>`:a.length=`<li class="valid">${b[0]}</li>`,/[A-Z]/.test(t)?a.upperCase=`<li class="valid">${b[1]}</li>`:a.upperCase=`<li>${b[1]}</li>`,/[a-z]/.test(t)?a.lowerCase=`<li class="valid">${b[2]}</li>`:a.lowerCase=`<li>${b[2]}</li>`,/[0-9]/.test(t)?a.number=`<li class="valid">${b[3]}</li>`:a.number=`<li>${b[3]}</li>`,/[`!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~]/.test(t)?a.specialChar=`<li class="valid">${b[4]}</li>`:a.specialChar=`<li>${b[4]}</li>`,y(a),u.password=Object.values(a).join("")},v=e=>{let t=`${e.target.name}`,a=e.target.value.trim(),i={...u};a?delete i[t]:i[t]=`Please enter your ${t}.`,h(i);let r=e.target;a.length<=0?r.classList.add("invalid"):r.classList.remove("invalid")},A=()=>{f!==m?u.confirmPassword="Passwords do not match.":u.confirmPassword="",Object.keys(u).length&&h(u)},w=()=>{let e=[];return e.push("input"),l?.disabled?e.push("disabled"):e.push("enable"),e.join(" ")},E=()=>"password"===e?c?"text":"password":e,S=()=>(0,t.jsxs)("span",{onClick:()=>d(!c),className:"inputBox-withIcon",children:[c?(0,t.jsx)("img",{src:n?.iconOpen}):(0,t.jsx)("img",{src:n?.iconClose}),n?.message?(0,t.jsx)("span",{className:"tooltiptext",children:n.message}):null]}),C=()=>(0,t.jsxs)("label",{"aria-required":l.required,className:"inputBox-withLabel",children:[s,l.required&&"*"]}),T=u.confirmPassword?u.confirmPassword:"";return(0,t.jsxs)("div",{className:"input-box-with-label",children:[s&&C(),n&&S(),"password"===l.name?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{...l,className:w(),type:E(),value:f,onChange:e=>p(e.target.value),onBlur:v,onKeyUp:x}),(0,t.jsx)(a.RichText,{className:"error",content:`${u.password}`&&`<ul class="validation">${u.password}</ul>`})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{...l,className:w(),type:E(),value:m,onChange:e=>g(e.target.value),onBlur:v,onKeyUp:A}),(0,t.jsx)(a.RichText,{className:"error",content:T})]})]})}},10015,(e,t,a)=>{var i=e.r(89346);t.exports=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},98629,(e,t,a)=>{var i=e.r(10015);t.exports=function(e,t,a){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:a,writable:!0}):e[t]=a}},73694,(e,t,a)=>{var i=e.r(98629),r=e.r(98373);t.exports=function(e,t,a){(void 0===a||r(e[t],a))&&(void 0!==a||t in e)||i(e,t,a)}},15470,(e,t,a)=>{t.exports=function(e){return function(t,a,i){for(var r=-1,n=Object(t),s=i(t),l=s.length;l--;){var o=s[e?l:++r];if(!1===a(n[o],o,n))break}return t}}},64353,(e,t,a)=>{t.exports=e.r(15470)()},13278,(e,t,a)=>{var i=e.r(47663),r=a&&!a.nodeType&&a,n=r&&t&&!t.nodeType&&t,s=n&&n.exports===r?i.Buffer:void 0,l=s?s.allocUnsafe:void 0;t.exports=function(e,t){if(t)return e.slice();var a=e.length,i=l?l(a):new e.constructor(a);return e.copy(i),i}},96921,(e,t,a)=>{var i=e.r(84742);t.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},74935,(e,t,a)=>{var i=e.r(96921);t.exports=function(e,t){var a=t?i(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}},38402,(e,t,a)=>{t.exports=function(e,t){var a=-1,i=e.length;for(t||(t=Array(i));++a<i;)t[a]=e[a];return t}},13043,(e,t,a)=>{var i=e.r(3275),r=Object.create;t.exports=function(){function e(){}return function(t){if(!i(t))return{};if(r)return r(t);e.prototype=t;var a=new e;return e.prototype=void 0,a}}()},61978,(e,t,a)=>{t.exports=e.r(58705)(Object.getPrototypeOf,Object)},31785,(e,t,a)=>{var i=e.r(13043),r=e.r(61978),n=e.r(34274);t.exports=function(e){return"function"!=typeof e.constructor||n(e)?{}:i(r(e))}},63098,(e,t,a)=>{var i=e.r(79858),r=e.r(32836);t.exports=function(e){return r(e)&&i(e)}},7402,(e,t,a)=>{var i=e.r(12904),r=e.r(61978),n=e.r(32836),s="[object Object]",l=Object.prototype,o=Function.prototype.toString,c=l.hasOwnProperty,d=o.call(Object);t.exports=function(e){if(!n(e)||i(e)!=s)return!1;var t=r(e);if(null===t)return!0;var a=c.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&o.call(a)==d}},43514,(e,t,a)=>{t.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},93035,(e,t,a)=>{var i=e.r(98629),r=e.r(98373),n=Object.prototype.hasOwnProperty;t.exports=function(e,t,a){var s=e[t];
35n.call(e,t)&&r(s,a)&&(void 0!==a||t in e)||i(e,t,a)}},78649,(e,t,a)=>{var i=e.r(93035),r=e.r(98629);t.exports=function(e,t,a,n){var s=!a;a||(a={});for(var l=-1,o=t.length;++l<o;){var c=t[l],d=n?n(a[c],e[c],c,a,e):void 0;void 0===d&&(d=e[c]),s?r(a,c,d):i(a,c,d)}return a}},84288,(e,t,a)=>{t.exports=function(e){var t=[];if(null!=e)for(var a in Object(e))t.push(a);return t}},11824,(e,t,a)=>{var i=e.r(3275),r=e.r(34274),n=e.r(84288),s=Object.prototype.hasOwnProperty;t.exports=function(e){if(!i(e))return n(e);var t=r(e),a=[];for(var l in e)"constructor"==l&&(t||!s.call(e,l))||a.push(l);return a}},73140,(e,t,a)=>{var i=e.r(19188),r=e.r(11824),n=e.r(79858);t.exports=function(e){return n(e)?i(e,!0):r(e)}},78749,(e,t,a)=>{var i=e.r(78649),r=e.r(73140);t.exports=function(e){return i(e,r(e))}},75614,(e,t,a)=>{var i=e.r(73694),r=e.r(13278),n=e.r(74935),s=e.r(38402),l=e.r(31785),o=e.r(45897),c=e.r(48684),d=e.r(63098),u=e.r(13272),h=e.r(38299),f=e.r(3275),p=e.r(7402),m=e.r(75299),g=e.r(43514),b=e.r(78749);t.exports=function(e,t,a,_,y,x,v){var A=g(e,a),w=g(t,a),E=v.get(w);if(E)return void i(e,a,E);var S=x?x(A,w,a+"",e,t,v):void 0,C=void 0===S;if(C){var T=c(w),N=!T&&u(w),k=!T&&!N&&m(w);S=w,T||N||k?c(A)?S=A:d(A)?S=s(A):N?(C=!1,S=r(w,!0)):k?(C=!1,S=n(w,!0)):S=[]:p(w)||o(w)?(S=A,o(A)?S=b(A):(!f(A)||h(A))&&(S=l(w))):C=!1}C&&(v.set(w,S),y(S,w,_,x,v),v.delete(w)),i(e,a,S)}},99398,(e,t,a)=>{var i=e.r(98620),r=e.r(73694),n=e.r(64353),s=e.r(75614),l=e.r(3275),o=e.r(73140),c=e.r(43514);function d(e,t,a,u,h){e!==t&&n(t,function(n,o){if(h||(h=new i),l(n))s(e,t,o,a,d,u,h);else{var f=u?u(c(e,o),n,o+"",e,t,h):void 0;void 0===f&&(f=n),r(e,o,f)}},o)}t.exports=d},25975,(e,t,a)=>{t.exports=function(e){return e}},17823,(e,t,a)=>{t.exports=function(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2])}return e.apply(t,a)}},99491,(e,t,a)=>{var i=e.r(17823),r=Math.max;t.exports=function(e,t,a){return t=r(void 0===t?e.length-1:t,0),function(){for(var n=arguments,s=-1,l=r(n.length-t,0),o=Array(l);++s<l;)o[s]=n[t+s];s=-1;for(var c=Array(t+1);++s<t;)c[s]=n[s];return c[t]=a(o),i(e,this,c)}}},65359,(e,t,a)=>{t.exports=function(e){return function(){return e}}},51365,(e,t,a)=>{var i=e.r(65359),r=e.r(10015),n=e.r(25975);t.exports=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:n},17035,(e,t,a)=>{var i=800,r=16,n=Date.now;t.exports=function(e){var t=0,a=0;return function(){var s=n(),l=r-(s-a);if(a=s,l>0){if(++t>=i)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},24607,(e,t,a)=>{var i=e.r(51365);t.exports=e.r(17035)(i)},23428,(e,t,a)=>{var i=e.r(25975),r=e.r(99491),n=e.r(24607);t.exports=function(e,t){return n(r(e,t,i),e+"")}},22986,(e,t,a)=>{var i=e.r(98373),r=e.r(79858),n=e.r(5251),s=e.r(3275);t.exports=function(e,t,a){if(!s(a))return!1;var l=typeof t;return("number"==l?!!(r(a)&&n(t,a.length)):"string"==l&&t in a)&&i(a[t],e)}},44115,(e,t,a)=>{var i=e.r(23428),r=e.r(22986);t.exports=function(e){return i(function(t,a){var i=-1,n=a.length,s=n>1?a[n-1]:void 0,l=n>2?a[2]:void 0;for(s=e.length>3&&"function"==typeof s?(n--,s):void 0,l&&r(a[0],a[1],l)&&(s=n<3?void 0:s,n=1),t=Object(t);++i<n;){var o=a[i];o&&e(t,o,i,s)}return t})}},8378,(e,t,a)=>{var i=e.r(99398);t.exports=e.r(44115)(function(e,t,a){i(e,t,a)})},61878,e=>{"use strict";e.s(["default",()=>v]);var t=e.i(91398),a=e.i(91788),i=e.i(46624),r=e.i(1901),n=e.i(25911);e.i(48756);var s=e.i(38233),l=e.i(75366),o=e.i(17419),c=e.i(49266),d=e.i(92822),u=e.i(5223),h=e.i(66196),f=e.i(22276),p=e.i(92915),m=e.i(67552),g=e.i(15315),b=e.i(82036),_=e.i(72094),y=e.i(41282),x=e.i(8378);let v=e=>{let{title:v,topDescription:A,fields:w,submitButton:E,cancelButton:S,changeButton:C,info_box:T,legal_consent:N,recaptchaSiteKey:k,error_box:I}=e,[j,P]=(0,a.useState)({}),[L,O]=(0,a.useState)({}),[D,M]=(0,a.useState)(!1),[R,F]=(0,a.useState)(!1),[B,U]=(0,a.useState)(!1),[H,$]=(0,a.useState)("view"),G=(0,f.useSelector)(e=>e.user),[W,Y]=(0,a.useState)(),[z,V]=(0,a.useState)(!1),[K,q]=(0,a.useState)(""),[Q,Z]=(0,a.useState)(""),[X,J]=(0,a.useState)(!1),{checkForDCR:ee}=(0,p.default)();(0,a.useMemo)(async()=>
35{w.forEach(e=>{"dropDown"===e.type&&"Profession"===e.label&&(e.dropDownOption.options=[])}),w.forEach(e=>{"dropDown"===e.type&&"Speciality"===e.label&&(e.dropDownOption.options=[])});let e=await (0,g.middlewarePostAPI)(_.config.onPrem.PROFESSION_DROPDOWN_URL,{type:"Type"}),t=await (0,g.middlewarePostAPI)(_.config.onPrem.PROFESSION_DROPDOWN_URL,{type:"SCT_Primary_Specialty__c"});e.fail||w.forEach(t=>{if("dropDown"===t.type&&t?.dropDownOption?.name?.includes("profession")){let a=(e?.response).list_data.values.map((e,t)=>({id:t,isDisabled:!1,isSelected:!1,label:e.label,value:e.value}));t.dropDownOption.options=[...a]}}),t.fail||(w.forEach(e=>{if("dropDown"===e.type&&e?.dropDownOption?.name?.includes("speciality")){let a=(t?.response).list_data.values.map((e,t)=>({id:t,isDisabled:!1,isSelected:!1,label:e.label,value:e.value}));e.dropDownOption.options=[...a]}}),U(!0))},[w]);let et=(0,a.useMemo)(()=>JSON.parse(JSON.stringify(w)),[w,B]),ea=()=>(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,m.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})}),ei=(e,t)=>{let a=`${e.target.name}`,i=e.target.required,r="checkbox"===e.target.type&&e.target?.checked?"true":e.target.value.trim(),n={...W};r||!0!==i?delete n[a]:n[a]=t,Y(n);let s=e.target;r.length<=0&&!0===i?s.classList.add("invalid"):s.classList.remove("invalid")},er=e=>{e&&F(!0)},en=async e=>{e.preventDefault();let t=w.filter(e=>"dropDown"===e.type&&e.inputField.required),a={...W};t.forEach(e=>{let t=e?.dropDownOption?.name||"",i=j[t];if(i)delete a[t];else{a[t]=e?.validationErrorMessage;let r=document.getElementById(t);""===i?r?.classList.add("invalid"):r?.classList.remove("invalid")}}),N?.forEach(e=>{let t=e?.id||"",i=j[t]||"";if(!i&&e?.required){a[t]=e?.validationErrorMessage;let r=document.getElementById(t);""===i?r?.classList.add("invalid"):r?.classList.remove("invalid")}else delete a[t]});let i=document.getElementsByClassName("profile-recaptcha");if(R?i[0].classList.remove("invalid"):i[0].classList.add("invalid"),Object.keys(a).length>0||!1===R)return void Y(a);Y({});let{first_name:r,last_name:n,email:s,title:l,professional_number_hpcsa_or_bapc_p_:o,speciality:c,profession:d,phone:u,birthdate:h}=j||{},f={title:"",profession:"",speciality:""};try{et.map(e=>{e?.inputField?.name==="title"&&(f.title=e.dropDownOption?.options?.filter(e=>e?.label===l)?.[0]?.value),e?.inputField?.name==="profession"&&(f.profession=e.dropDownOption?.options?.filter(e=>e?.label===d)?.[0]?.value),e?.inputField?.name==="speciality"&&(f.speciality=e.dropDownOption?.options?.filter(e=>e?.label===c)?.[0]?.value)})}catch(e){console.error("Falied to transform translated text for Speciality & profession")}let p={email:s,title:f.title,firstName:r,lastName:n,phone:u||null,birthdate:h||null,profession:f.profession,speciality:f.speciality,professionalNum:o,practice:j.practice_pharmacy_hospital_established_medical_name};if(j.hasOwnProperty("my_profile_basic_information--marketing_consent")){let e={emailConsent:+("true"===j["my_profile_basic_information--marketing_consent"])};(0,x.default)(p,e)}if(j.hasOwnProperty("my_profile_basic_information--confirmation_for_hcp")){let e={terms:+("true"===j["my_profile_basic_information--confirmation_for_hcp"])};(0,x.default)(p,e)}if(j.hasOwnProperty("my_profile_basic_information--consent_for_tu_pp")){let e={heatlthCareConfimation:+("true"===j["my_profile_basic_information--consent_for_tu_pp"])};(0,x.default)(p,e)}try{M(!0);let e=await (0,g.middlewarePostAPI)(_.config.onPrem.UPDATE_PROFILE_API,p);if(e.fail){M(!1),Z(I||""),(0,y.handleDataLayerError)("Profile form submission failed","Profile Form");return}let t=(0,b.default)(e,"response.register_data.error_code")??"",a=(0,b.default)(e,"response.register_data.results")??"";if(t){M(!1),Z(I||""),(0,y.handleDataLayerError)("Profile form submission failed","Profile Form");return}let i=`${T} ${a?.[0]?.id}`;q(i),V(!0),$("view"),eo()}catch(e){}M(!1)};(0,a.useEffect)(()=>{W&&0!==Object.entries(W).length?Z(I||""):Z("")},[W]);let es=e=>{let t="checkbox"===e.target.type,a=`${e.target.name}`,i=t&&e.target?.checked?"true":e.target.value.trim();N?.map(e=>{e.id===a&&(e.isChecked=!!i)});let r={...j};r[a]=i,P(r)},el=(e,t)=>
35{let a={...j};a[t]=e??"",P(a)};(0,a.useEffect)(()=>{if(!G||!G.isLoggedIn||!B)return;let e=G.profile?.response?.profile?.records?.[0]??{};for(let[t,a]of(w.map(t=>{if(t?.inputField?.name==="title"){let a=t.dropDownOption?.options?.filter(t=>t?.value===e?.Salutation?t.isSelected=!0:t.isSelected=!1)?.[0]?.label;t.dropDownOption?.options?.map(e=>e.value=e?.label),e.Salutation=a}if(t?.inputField?.name==="profession"){let a=t.dropDownOption?.options?.filter(t=>t.value===e?.Type?t.isSelected=!0:t.isSelected=!1)?.[0]?.label;t.dropDownOption?.options?.map(e=>e.value=e?.label),e.Type=a}if(t?.inputField?.name==="speciality"){let a=t.dropDownOption?.options?.filter(t=>t.value===e?.SCT_Primary_Specialty__c?t.isSelected=!0:t.isSelected=!1)?.[0]?.label;t.dropDownOption?.options?.map(e=>e.value=e?.label),e.SCT_Primary_Specialty__c=a}}),Object.entries({FirstName:"first_name",LastName:"last_name",PersonEmail:"email",Salutation:"title",BillingState:"region",SCT_National_ID__c:"professional_number_hpcsa_or_bapc_p_",SCT_Primary_Specialty__c:"speciality",Type:"profession",SCT_Primary_Parent__r:"practice_pharmacy_hospital_established_medical_name",Phone:"phone",PersonBirthdate:"birthdate"}))){let i=e[t],r=("object"==typeof i?i?.Name:i)??"";j[a]=r}P(j),O(j),eo()},[G,B]),(0,a.useMemo)(()=>{if(!G||!G.isLoggedIn)return;let e=G.profile?.response?.profile??{};if(e&&N){let t={...j};N.forEach(a=>{a?.id==="my_profile_basic_information--consent_for_tu_pp"&&(a.isChecked=!!parseInt(e?.terms)),a?.id==="my_profile_basic_information--confirmation_for_hcp"&&(a.isChecked=!!parseInt(e?.hcp_confirmation)),t[a?.id]=a.isChecked}),P(t)}},[N,G]);let eo=()=>{let e=G.profile?.response?.profile?.records?.[0]??{};e?.PersonEmail&&ee(e.PersonEmail).then(e=>{e.status&&($("view"),J(!0),q(`${T} ${e.dcrId}`),V(!0))})};return G&&G.isLoggedIn&&Object.keys(j).length>0&&(0,t.jsxs)("div",{className:"profile-section",children:[D&&ea(),(0,t.jsxs)(h.Row,{children:[(0,t.jsx)(o.Column,{mobile:12,tablet:12,desktop:6,className:"form-section",children:(0,t.jsxs)("form",{onSubmit:en,children:[(0,t.jsxs)("div",{className:"profile-description",children:[v&&(0,t.jsx)(u.RichText,{className:"profile-title",content:v||""}),A&&(0,t.jsx)(u.RichText,{className:"top-description",content:A}),z&&K?(0,t.jsxs)("div",{className:"profile-pending-msg",children:[(0,t.jsx)("div",{children:(0,t.jsx)(c.Icon,{iconName:"WarningIcon"})}),(0,t.jsx)("div",{children:K})]}):null,Q?(0,t.jsxs)("div",{className:"profile-error-msg",children:[(0,t.jsx)("div",{children:(0,t.jsx)(c.Icon,{iconName:"WarningIcon"})}),(0,t.jsx)("div",{children:Q})]}):null]}),(0,t.jsx)("div",{className:"profile-fileds",children:w&&w.map((e,t)=>"password"==e.type?(0,a.createElement)(n.default,{...e,key:t,name:e.inputField.name,value:j[e.inputField.name],onblurHandler:t=>ei(t,e.validationErrorMessage),error:W&&Object.entries(W).map(([t,a])=>e.inputField.name===t?a:"").join("")}):e.inputField.name&&(0,a.createElement)(r.default,{...e,key:t,name:e.inputField.name,value:j[e.inputField.name],disabled:"view"===H,onChangehandler:es,dropDownShowPlaceholder:!0,optionText:w[t]?.dropDownOption?.optionText||"",onBlurhandler:t=>ei(t,e.validationErrorMessage),error:W&&Object.entries(W).map(([t,a])=>e.inputField.name===t?a:"").join(""),getDropdownInfo:el}))}),N&&"edit"===H&&(0,t.jsx)("div",{className:"profile-concents",children:N.map((e,a)=>e?.id&&(0,t.jsx)(l.CheckBox,{label:(0,t.jsx)(u.RichText,{content:e.label}),id:e.id,value:"",name:e.id,isChecked:e.isChecked,onChange:e=>{ei(e,""),es(e)},error:W&&Object.entries(W).map(([t,a])=>e.id===t?a:"").join("")},a))}),k&&"edit"===H&&(0,t.jsx)("div",{className:"profile-recaptcha",children:(0,t.jsx)(d.Recaptcha,{sitekey:k,onChange:er})}),(0,t.jsxs)("div",{className:"profile-submit",children:["view"===H&&C&&(0,t.jsx)(s.Button,{className:"submit-button",type:"button",tabindex:2,isDisabled:X,onClick:()=>$("edit"),children:C.text}),"edit"===H&&E&&(0,t.jsx)(s.Button,{onClick:()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},className:"submit-button",type:"submit",tabindex:2,isDisabled:!1,children:E.text}),"edit"===H&&S&&(0,t.jsx)(s.Button,{type:"button",tabindex:2,onClick:()=>{$("view"),P(L),Y({})},children:S.text})]})]})}),(0,t.jsx)(o.Column,{mobile:0,tablet:0,desktop:6,className:"pattern-img",children:(0,t.jsx)(i.default,{})})]})]})}},41040,e=>{"use strict";var t=e.i(99523),a=e.i(3265),i=e.i(15315);let r=(e,t)=>{let a=[];for(let i=0;i<t?.length;i++)null!==e[t[i]]&&void 0!==e[t[i]]&&a.push({title:e[t[i]]?.title??null,description:e[t[i]]?.vid??null});return a},n=e=>({data:e?.data?.map(e=>({educationCardContent:{id:parseInt(e.node_id,10),taxonomyLabel:e.tag,heading:e.title,text:e.body,time:e.duration,contentType:e.tag,buttonLabel:e.cta_lable,buttonUrl:e.path_alias,bookmark:!0,buttonUrlExter
35nal:!0},imageSrc:e.image,imgAlt:"sss"})),itemsPerPage:e.items_per_page,totalCount:e.total_cnt}),s=e=>({data:e?.data.map(e=>({eventCardVerticalContent:{id:parseInt(e.node_id,10),text:e.body,heading:e.title,startDate:e.event_start_date,endDate:e.event_start_date,contentText:e.location,primaryButtonLabel:e.cta_lable,primaryButtonUrl:e.primery_link,primaryIsExternalUrl:(0,a.isExternalLink)(e.primery_link),secondaryButtonLabel:e.secondary_link_cta,secondaryButtonUrl:e.secondary_link,secondaryIsExternalUrl:(0,a.isExternalLink)(e.secondary_link),taxonomyLabel:e.tag,time:e.duration,bookmark:!0},eventCardVerticalImage:{src:e.image},eventCardVDesktopColumn:12})),itemsPerPage:e.items_per_page,totalCount:e.total_cnt}),l=(e,t,i)=>({data:e?.data.map(e=>({id:parseInt(e.node_id,10)??null,taxonomyLabel:e?.product_catgeogry?.[0]?.vid??null,heading:e?.product_title??"",description:e?.body??"",prodInfoTaxonomies:[],packInfoTaxonomies:[],productListViewImage:{src:e?.image??null,alt:e?.image_alt??""},productCardImage:{src:e?.image??null,alt:e?.image_alt??""},specifications:r(e,i),buttonLabel:t?.data?.product_list_button_label_text??null,isLinkExternal:(0,a.isExternalLink)(e.path_alias),href:e?.path_alias||null,bookmark:!0})),itemsPerPage:e.items_per_page,totalCount:e.total_cnt}),o=(e,t,i)=>({data:e?.data?.map(e=>({id:parseInt(e.node_id,10)??null,taxonomyLabel:e?.product_catgeogry?.[0]?.vid??null,heading:e?.product_title??"",description:e?.body??"",prodInfoTaxonomies:[],packInfoTaxonomies:[],productListViewImage:{src:e?.image&&e?.image[0]?.src,alt:e?.image&&e?.image[0]?.alt},productCardImage:{src:e?.image&&e?.image[0]?.src,alt:e?.image&&e?.image[0]?.alt},specifications:r(e,i),buttonLabel:t?.data?.product_list_button_label_text??null,isLinkExternal:(0,a.isExternalLink)(e.path_alias),href:e?.path_alias||null,bookmark:!0})),itemsPerPage:e.items_per_page,totalCount:e.total_cnt}),c=e=>({data:e?.data?.map(e=>({imageSrc:e.image,newsStoriesContent:{id:parseInt(e.node_id,10),text:e.body,heading:e.title,buttonLabel:e.cta_lable,buttonUrl:e.path_alias,bookmark:{addText:"Add Bookmark",removeText:"Remove Bookmark",bookmarkStatus:!1,isButton:!1},isButtonUrlExternal:(0,a.isExternalLink)(e.path_alias),taxonomies:{taxonomyLabel:e.Specialty||e.tag},date:e.created}})),itemsPerPage:e.items_per_page,totalCount:e.total_cnt}),d=(e,a)=>({data:e?.data?.map(e=>({id:parseInt(e.node_id,10),magImage:{src:e.image,alt:e.title},isVideo:e.magz_type,taxonomy:e.taxonomy,href:e.path_alias,title:e.title,subtitle:e.subtitle,desc:"",createdDate:(0,t.default)(e.magz_date).locale(a).format("YYYY-MM-DDTHH:mm:ss+00:00"),time:e.time,bookmark:{addText:"Add to Bookmark",removeText:"Remove from Bookmark",bookmarkStatus:!0,isButton:!1}})),itemsPerPage:e.items_per_page,totalCount:e.total_cnt}),u=e=>e?{data:e?.data?.map(e=>{let t=e?.image?.absolute_uri??null,a=e?.image?.image_style?.image_style_uri??null,i={label:e?.field_course_suggestion?.label||null,icon:e?.field_course_suggestion?.icon||"academyBarcodeIcon"},r={label:e?.field_course_category?.label||null,icon:e?.field_course_category?.icon||null},n=e?.course_topics?.map(e=>({taxonomyLabel:e??null,taxonomyID:null})),s=[{taxonomyLabel:`${e?.course_credits||""} ${e?.course_credits_label||""}`}],l={label:e?.field_course_difficulty_level?.label||null,icon:e?.field_course_difficulty_level?.icon||null},o={label:e?.duration||null,icon:"TimeIcon"};return{id:parseInt(e.node_id,10),taxonomies:n,title:e?.title??null,desc:e?.body?e?.body:null,time:e?.duration??null,difficultyLevel:l,courseDuration:o??null,fromLabel:e?.from_label?e?.from_label:null,toLabel:e?.to_label?e?.to_label:null,credits:s??null,enableCredits:!!e?.course_credits,fromDate:e?.course_commencement_date,toDate:e?.field_course_expiration_date,cardImage:{src:t,styledimage:a,alt:e?.image?.img_alt},isRatingsAvailable:!!e?.course_avg_rating||e?.course_avg_rating==0,avgRating:e?.course_avg_rating??null,courseSuggestion:i,subTitle:e?.sub_title??null,courseCategory:r||null,detailsPath:e?.path_alias||"",enableOverlay:e?.course_status==1&&e?.enable_disable_course_completion_overlay==1,overlayLabel:e?.overlay_label??"",enableStatus:e?.enable_disable_course_completion_status==1,completionStatusLabel:e?.course_status_label??"",dispStatAbove:!1,completionStatus:e?.course_status??null,isStarRatingDisabled:!0,primeColor:"var(--brand-primary-color-eight)",bookmarkContent:!0,type:e?.type}}),itemsPerPage:e.items_per_page,totalCount:e.total_cnt}:null,h=e=>({data:e?.data?.map(e=>({moduleTitle:e?.field_module_heading??"",title:e?.title??"",desc:e?.body??"",desktopColumns:3,tabletColumns:6,id:p
35arseInt(e.node_id,10),credits:e?.field_training_time?[{taxonomyLabel:e?.field_training_time}]:null,enableCredits:!1,detailsPath:e?.path_alias?`${e.path_alias}/?cid=${e?.course_id_of_module}&mid=${e.node_id}`:"",tag:e?.field_training_time??"",cardType:"modules",author:e?.field_key_opinion_leaders??"",moduleLinkTitle:e?.show_lessions_cta_label??"",ctaLabel:e?.show_lessions_cta_label??"",topic_label:e?.sandoz_academy_heading_label_cta_text??"",isCourseModule:!0,enableStatus:e?.enable_disable_course_completion_status==1,completionStatusLabel:e?.module_status_label??"",dispStatAbove:!1,completionStatus:e?.module_status??null,path_alias:e?.show_lessions??"",bookmarkContent:!0})),itemsPerPage:e.items_per_page,totalCount:e.total_cnt}),f=async(e,t)=>await (0,i.getApi)(e,!1,t),p=e=>{let t={};for(let a in e)if(e.hasOwnProperty(a)){let{total_cnt:i,items_per_page:r,data:n}=e[a];n.forEach(e=>{let a=e.type;t[a]||(t[a]={total_cnt:i,items_per_page:r,data:[]}),t[a].data.push(e)})}return t},m=e=>{let t=[];for(let a in e)if(e.hasOwnProperty(a)){let{data:i}=e[a];if(i.length>0){let e=i[0].type;t.push({tabLabel:a,type:e,id:e})}}return t},g=(e,t,a,i)=>{let r={},f=p(e),g=m(e);for(let e in f)if(f.hasOwnProperty(e))switch(e){case"Education":r.educations=n(f?.[e]);break;case"Event":r.events=s(f?.[e]);break;case"CSV Product":r.products=l(f?.[e],a,t);break;case"PIM CSV Product":r.pimProducts=o(f?.[e],a,t);break;case"News and Stories":r.newsAndStories=c(f?.[e]);break;case"Magazine":r.magazine=d(f?.[e],i);break;case"Sandoz Academy Course":r.MyCourse=u(f?.[e]);break;case"Sandoz Academy Modules":r.MyCourseModules=h(f?.[e])}return{finalResult:r,tabHeader:g}};e.s(["default",0,g,"getCourseCards",0,u,"getEducationCard",0,n,"getEventCardData",0,s,"getMagazineData",0,d,"getModuleCards",0,h,"getNewsStoriesData",0,c,"getProductCsvData",0,l,"getProfileData",0,f])},49214,e=>{"use strict";var t=e.i(61576),a=e.i(82108),i=e.i(10828),r=e.i(43927),n=e.i(67552),s=e.i(22276),l=e.i(15315);function o(){let e,o,d,u,h,f,p,m,g,b,_,y,x=(0,t.c)(37),v=(0,r.default)();x[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,l.getApiDomainAndLang)(),x[0]=e):e=x[0];let{feDomain:A}=e,w=(0,s.useSelector)(c,s.shallowEqual);x[1]!==w?(o=(0,n.getProfileDetails)(w),x[1]=w,x[2]=o):o=x[2];let{b2c_id:E}=o,S=E,C=A??"";x[3]===Symbol.for("react.memo_cache_sentinel")?(d=new Date().toISOString(),x[3]=d):d=x[3];let T=d;x[4]!==v||x[5]!==S?(u=e=>{let{course_id:t,module_id:r,module_name:n}=e,s={...v,user_id:S,course_id:t,module_id:r,module_name:n,timestamp:T,domain:C,locale:v.Region};(0,a.dataLayerPush)(i.EVENTS.MODULE_START,s)},x[4]=v,x[5]=S,x[6]=u):u=x[6];let N=u;x[7]!==v||x[8]!==S?(h=e=>{let{course_id:t,course_name:r,course_category:n,difficulty:s,date:l}=e,o={...v,user_id:S,course_id:t,course_name:r,course_category:n,difficulty:s,timestamp:T,domain:C,date:l,locale:v.Region};(0,a.dataLayerPush)(i.EVENTS.START_COURSE,o)},x[7]=v,x[8]=S,x[9]=h):h=x[9];let k=h;x[10]!==v||x[11]!==S?(f=e=>{let{course_id:t,module_id:r,module_name:n,completion_timestamp:s,duration:l}=e,o={...v,user_id:S,course_id:t,module_id:r,module_name:n,completion_timestamp:s,duration:l,domain:C,timestamp:T,locale:v.Region};(0,a.dataLayerPush)(i.EVENTS.MODULE_COMPLETE,o)},x[10]=v,x[11]=S,x[12]=f):f=x[12];let I=f;x[13]!==v||x[14]!==S?(p=e=>{let{course_id:t,course_name:r,course_category:n,course_status:s,difficulty:l,duration:o}=e,c={...v,user_id:S,course_id:t,course_name:r,course_category:n,course_status:s,domain:C,timestamp:T,duration:o??"0h",difficulty:l};(0,a.dataLayerPush)(i.EVENTS.COURSE_COMPLETE,c)},x[13]=v,x[14]=S,x[15]=p):p=x[15];let j=p;x[16]!==v||x[17]!==S?(m=e=>{let{course_id:t,certificate_id:r,download_timestamp:n}=e,s={...v,user_id:S,course_id:t,certificate_id:r,download_timestamp:n};(0,a.dataLayerPush)(i.EVENTS.CERTIFICATE_DOWNLOAD,s)},x[16]=v,x[17]=S,x[18]=m):m=x[18];let P=m;x[19]!==v||x[20]!==S?(g=e=>{let{course_id:t,module_id:r,module_name:n,total_activities:s,completed_activities:l,percentage_completed:o,module_status:c}=e,d={...v,user_id:S,course_id:t,module_id:r,module_name:n,total_activities:s,completed_activities:l,percentage_completed:o,module_status:c,timestamp:T,domain:C};(0,a.dataLayerPush)(i.EVENTS.MODULE_PROGRESS_UPDATE,d)},x[19]=v,x[20]=S,x[21]=g):g=x[21];let L=g;x[22]!==v||x[23]!==S?(b=e=>{let{course_id:t,total_activities:r,completed_activities:n,percentage_completed:s}=e,l={...v,user_id:S,course_id:t,total_activities:r,completed_activities:n,percentage_completed:s,timestamp:new Date().toISOString(),last_updated:new Date().toISOString(),domain:C};(0,a.dataLayerPush)(i.EVENTS.COURSE_PROGRESS_UPDATE,l)},x[22]=v,x[23]=S,x[24]=b):b=x[24];let O=b;x[25]!==v||x[26]!==S?(_=e=>{let{course_id:t,module_id:r,module_name:n,configured_module_duration:s,date:l}=e,o={...v,user_id:S,course_id:t,module_id:r,module_name:n,configured_module_duration:s,timestamp:T,date:l,domain:C,locale:v.Region}
35;(0,a.dataLayerPush)(i.EVENTS.LEARNING_TIME_UPDATE,o)},x[25]=v,x[26]=S,x[27]=_):_=x[27];let D=_;return x[28]!==P||x[29]!==j||x[30]!==O||x[31]!==D||x[32]!==I||x[33]!==L||x[34]!==N||x[35]!==k?(y={startCourse:k,moduleComplete:I,courseComplete:j,certificateDownload:P,setMaskAsComplete:N,moduleProgressUpdate:L,courseProgressUpdate:O,learningTimeUpdate:D},x[28]=P,x[29]=j,x[30]=O,x[31]=D,x[32]=I,x[33]=L,x[34]=N,x[35]=k,x[36]=y):y=x[36],y}function c(e){return e.user}e.s(["useAcademyGtmEvents",0,o])},98409,e=>{"use strict";var t=e.i(91398),a=e.i(87882),i=e.i(79988),r=e.i(41764),n=e.i(15315),s=e.i(49214);let l=({classname:e,certificatePath:l,ctaLabel:o,isDisabled:c,setDownloadCtaId:d,courseId:u})=>{let{certificateDownload:h}=(0,s.useAcademyGtmEvents)(),f=async()=>{try{let e=await (0,n.getApi)(l,!1);if(Object.keys(e)?.length&&e?.file_path&&(window.open(e?.file_path,r.URL_TARGET.BLANK,"noopener,noreferrer"),e?.file_path)){let t=e?.file_path?.split("/").pop().replace(".pdf","").split("_").pop()??"";d&&d(t);let a=new Date().toISOString();h({course_id:u??"",certificate_id:t,download_timestamp:a})}}catch(e){console.error("Something went wrong while downloading data",e)}};return(0,t.jsx)(a.default,{tabindex:1,className:e,icon:(0,t.jsx)(i.default,{iconName:"functionalDownload"}),onClick:()=>
35f(),isSecondary:!0,isDisabled:c,children:o})};e.s(["default",0,l])},94827,35644,e=>{"use strict";e.s(["default",()=>S],94827);var t=e.i(91398);e.i(48756);var a=e.i(45861),i=e.i(38233),r=e.i(17419),n=e.i(98409);e.s(["DownloadCertificate",()=>n.default],35644);var n=n,s=e.i(161),l=e.i(49266),o=e.i(70184),c=e.i(5223),d=e.i(65218),u=e.i(23216),h=e.i(41764),f=e.i(9283),p=e.i(22748),m=e.i(14554),g=e.i(82054),b=e.i(15315),_=e.i(34848),y=e.i(99523),x=e.i(91788),v=e.i(22276),A=e.i(21672),w=e.i(3828);let{lang:E}=(0,b.getApiDomainAndLang)(),S=e=>{let{desktopColumns:S=3,tabletColumns:C=6,title:T,id:N,desc:k,className:I,cardImage:j,taxonomies:P,bookmarkContent:L,isRatingsAvailable:O=!1,avgRating:D,difficultyLevel:M,courseDuration:R,credits:F,courseCategory:B,courseSuggestion:U,subTitle:H,fromDate:$,fromLabel:G,toDate:W,toLabel:Y,avgRatingTitle:z,enableCredits:V,detailsPath:K,moduleTitle:q,tag:Q,author:Z,moduleLinkTitle:X,isCourseModule:J,btnClickTabChange:ee,moduleChangeId:et,course_id:ea,module_id:ei,enableOverlay:er,overlayLabel:en,enableStatus:es,completionStatusLabel:el,dispStatAbove:eo,isActivityCard:ec,completionStatus:ed,isStarRatingDisabled:eu=!1,primeColor:eh,cardType:ef="",certificateLabel:ep,certificateTitle:em,certificateDate:eg,certificateCta:eb,certificatePath:e_,sequentialActivityFlowFlag:ey=!1,enabledActivityTab:ex,path_alias:ev="",isProfile:eA=!1,bookmarkCourseCard:ew}=e,eE=(0,v.useSelector)(e=>e.user),eS=(0,v.useSelector)(e=>e?.ratings?.liveCount?.favourite),eC=(0,v.useSelector)(e=>e?.user?.profile?.response?.favourite),[eT,eN]=(0,x.useState)(!1),ek=(0,v.useDispatch)(),[eI,ej]=(0,x.useState)(!1),eP=(0,x.useCallback)(e=>ek((0,A.addRatings)(e)),[ek]),eL=(0,v.useSelector)(e=>e?.academyCourseReducer?.academyCompletedFlag),{applicationConfiguration:eO}=(0,x.useContext)(g.default),eD=W&&eO?.siteConfig?.date_format?(0,y.default)(W,!0).locale(E).format(eO?.siteConfig?.date_format):null,eM=$&&eO?.siteConfig?.date_format?(0,y.default)($,!0).locale(E).format(eO?.siteConfig?.date_format):null,eR=t=>{eP({id:e?.id,state:t})},eF=()=>{let e=[];return eL?.module_need_to_complete&&ey&&(ex?e.push(""):e.push("disable-anchor")),e.join(" ")},eB=0,eU=eS?.filter(e=>parseInt(e.node_id)===N);eB=eU?.length>0?eU?.[0]?.count:0,(0,x.useMemo)(()=>{for(let e in eC)parseInt(eC[e].node_id)===N&&eN(!0)},[eC]),(0,x.useMemo)(()=>{for(let e in eC)parseInt(eC[e].node_id)===N&&eN(!0)},[eC]);let eH=(0,w.useRouter)(),e$=e=>{ee({btnClickTabChanged:!0}),et({moduleId:e})},eG=(e,t)=>{et({moduleId:String(e)}),eH.push(`${t}/?tabchange=true`)},eW=e=>e.replace(/<[^>]*>/g,"").replace(/"/g,""),eY=async()=>{try{let e=await (0,b.getApi)(e_??"",!1);Object.keys(e)?.length&&e?.file_path&&window.open(e?.file_path,h.URL_TARGET.BLANK,"noopener,noreferrer")}catch(e){console.error("Something went wrong while downloading data",e)}},ez=(0,t.jsxs)("div",{className:"flex-card-body",children:[(0,t.jsxs)("div",{className:"flex-card-body-head",children:["certificate"===ef?(0,t.jsx)("div",{className:"certificate-card",children:(0,t.jsxs)("div",{className:"certificate-card-content",children:[(0,t.jsx)("div",{className:"certificate-img",children:(0,t.jsx)(l.Icon,{iconName:"fileIcon",height:64,width:64,className:"course-duration"})}),(0,t.jsxs)("div",{className:"certificate-details",children:[(0,t.jsx)("p",{className:"certificate-label",children:ep}),(0,t.jsx)("h3",{className:`certificate-title ${!e_?"disable-pointer":""}`,onClick:eY,children:em}),(0,t.jsx)("h4",{className:"certificate-date bold",children:eg})]})]})}):(0,t.jsx)(t.Fragment,{}),(0,t.jsxs)("div",{className:`flex-card-body-head-star-taxonomy ${J?"modules-star-taxonomy":""}`,children:[q&&(0,t.jsx)(r.Column,{desktop:J?12:7,tablet:J?12:7,mobile:J?12:7,children:q?(0,t.jsx)(a.Anchor,{href:ec?`${K}?cid=${ea}&mid=${ei}&aid=${N}`:K,tabindex:2,isExternal:!1,noUnderline:!0,children:J?(0,t.jsx)("h3",{className:"flex-card-body-title bold",children:(0,_.trimText)(q,u.default.TITLE)}):(0,t.jsx)("h4",{className:"flex-card-body-title",children:(0,_.trimText)(q,u.default.TITLE)})}):(0,t.jsx)(t.Fragment,{})}),V&&F?.length&&(0,t.jsx)(r.Column,{desktop:5,tablet:5,mobile:5,className:"flex-card-body-head-credit",children:F?.length?(0,t.jsx)(d.Taxonomy,{taxonomies:F}):(0,t.jsx)(t.Fragment,{})}),!J&&(0,t.jsxs)(r.Column,{desktop:4,tablet:4,mobile:4,className:"flex-card-body-icon-wrap",children:[L?(0,t.jsx)("div",{className:"flex-card-body-bookmark",children:(0,t.jsx)(f.default,{id:N,...L,bookmarkCallback:eR})}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)("div",{className:"flex-card-body-favourite",children:(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"flex-card-body-favourite-section",children:(0,t.jsx)("span",{children:eO?.isFavouriteEnabled&&(0,t.jsx)(s.FavoriteIcon,{id:N,totalFavoriteCount:eB,favouriteStatus:eT,favoriteHandlerCallback:eR})})})})})]}),(Q?.length||L)&&J&&(0,t.jsxs)("div",{className:"flex-card-body-tag-section",children:[Q?.length?(0,t.jsx)(r.Column,{desktop:4,tablet:J?12:4,mobile:J?12:4,className:"flex-card-body-head-tag",children:Q?.length?(0,t.jsxs)("span",{children:[" ",Q," "]}):(0,t.jsx)(t.Fragment,{})}):(0,t.jsx)(t.Fragment,{}),L?(0,t.jsx)(r.Column,{desktop:4,tablet:4,mobile:4,className:"flex-card-body-tag-bookmark",children:(0,t.jsx)(f.default,{id:N,...L,bookmarkCallback:eR})}):(0,t.jsx)(t.Fragment,{})]})]})]}),es&&eo&&el?(0,t.jsx)("div",{className:"flex-card-body-enable-status",children:(0,t.jsx)("p",{className:`flex-card-body-head-status ${h.COMPLETION_STATUS[ed]}`,children:el})}):(0,t.jsx)(t.Fragment,{}),H||U?.label?(0,t.jsxs)("div",{className:"flex-card-body-recommand",children:[U?.icon&&U?.label?(0,t.jsx)(p.default,{icon:(0,t.jsx)(l.Icon,{iconName:U?.icon}),children:U?.label}):(0,t.jsx)(t.Fragment,{}),H?(0,t.jsx)("h6",{className:"flex-card-body-recommand-subTitle",children:H}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsx)(t.Fragment,{}),T&&(0,t.jsx)(a.Anchor,{href:ec?`${K}?cid=${ea}&mid=${ei}&aid=${N}`:K,tabindex:2,isExternal:!1,noUnderline:!0,className:ec?eF():"",children:(0,t.jsx)("h4",{className:`flex-card-body-title ${J?"bold":""}`,children:(0,_.trimText)(T,u.default.TITLE)})}),!J&&(eM&&G||eD&&Y)&&(0,t.jsxs)("div",{className:"flex-card-body-head-fromToText",children:[eM&&G&&(0,t.jsx)("h6",{children:`${G} ${eM} `}),eD&&Y&&(0,t.jsx)("h6",{children:`${Y} ${eD}`})]}
35),k&&(0,t.jsx)(c.RichText,{content:"certificate"===ef?(0,_.trimText)(eW(k??""),u.default.CERTIFICATEDESC):k||"",className:"flex-card-body-desc"}),J&&Z&&(0,t.jsx)(c.RichText,{content:Z,className:"flex-card-body-author"}),O&&(D||0==D)?(0,t.jsx)(m.default,{avgRating:D??4,setShowLoginPopUp:()=>ej(!0),title:z,isDisabled:eu,primeColor:eh}):(0,t.jsx)(t.Fragment,{}),es&&el&&!eo?(0,t.jsx)("p",{className:`flex-card-body-head-status ${h.COMPLETION_STATUS[ed]}`,children:el}):(0,t.jsx)(t.Fragment,{}),(0,t.jsxs)("div",{className:"flex-card-body-bottom",children:[M?.label?(0,t.jsx)(p.default,{cardAlignment:"left",icon:(0,t.jsx)(l.Icon,{iconName:M?.icon}),className:"difficult-level",children:M?.label}):(0,t.jsx)(t.Fragment,{}),"certificate"===ef?(0,t.jsx)("div",{className:"certificate-card-cta",children:e_&&eb?(0,t.jsx)(n.default,{certificatePath:e_,ctaLabel:eb,classname:"certificate-anchor"}):(0,t.jsx)(t.Fragment,{})}):(0,t.jsx)(t.Fragment,{}),R?.label?(0,t.jsx)(p.default,{cardAlignment:"middle",icon:(0,t.jsx)(l.Icon,{iconName:R?.icon}),className:"course-duration",children:R?.label}):(0,t.jsx)(t.Fragment,{})]})]});return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.Column,{desktop:J?6:eA?12:S,tablet:eA?12:C,mobile:12,className:`${J?"academy-modules-cols":I} ${ew?"h-100":""}`,children:(0,t.jsxs)("div",{className:"flex-card",children:[j?.src&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"flex-card-img-section",children:[(0,t.jsx)("div",{className:"flex-card-img",children:(0,t.jsx)(a.Anchor,{noUnderline:!0,tabindex:0,href:ec?`${K}?cid=${ea}&mid=${ei}&aid=${N}`:K,isExternal:!1,children:(0,t.jsx)(o.Img,{type:"card",styledimage:j?.styledimage,src:j?.src,alt:j?.alt,width:344,height:246,islazyloaded:!1})})}),(0,t.jsx)("div",{className:"flex-card-img-wrapper",children:(0,t.jsx)(a.Anchor,{noUnderline:!0,tabindex:0,href:ec?`${K}?cid=${ea}&mid=${ei}&aid=${N}`:K,isExternal:!1,className:ec?eF():"",children:(0,t.jsxs)("div",{className:`flex-card-img-overlay ${er?"greyout":""}`,children:[(0,t.jsxs)("div",{className:"flex-card-img-tax-icon",children:[P?.length?(0,t.jsx)(d.Taxonomy,{taxonomies:P,className:"start-0"}):(0,t.jsx)(t.Fragment,{}),B?.icon?(0,t.jsx)("div",{className:"icon-bg end-0",children:(0,t.jsx)(l.Icon,{iconName:B?.icon})}):(0,t.jsx)(t.Fragment,{})]}),er?(0,t.jsx)("div",{className:"overlay-content",children:(0,t.jsx)(p.default,{icon:(0,t.jsx)(l.Icon,{iconName:"CheckMarkIconFilled"}),children:en})}):(0,t.jsx)(t.Fragment,{})]})})})]})}),(0,t.jsxs)("div",{className:"flex-card-body-section",children:[ez,J&&X&&eE&&eE.isLoggedIn&&!ev&&(0,t.jsx)("div",{className:"module-link-button",children:(0,t.jsxs)(i.Button,{tabindex:0,isSecondary:!0,onClick:()=>e$(N),isDisabled:!!eL?.module_need_to_complete&&!e?.isEnabled,children:[X?(0,t.jsx)("span",{children:X}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(l.Icon,{iconName:"ArrowForward1"})]})}),J&&ev&&X&&eE&&eE?.isLoggedIn&&(0,t.jsx)("div",{className:"module-link-button-profile",children:(0,t.jsxs)(i.Button,{tabindex:0,isSecondary:!0,onClick:()=>eG(N,ev),children:[X?(0,t.jsx)("span",{children:X}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(l.Icon,{iconName:"ArrowForward1"})]})})]})]})})})}},22854,14915,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(59158);let n=e=>{let n,s,l,o,c=(0,a.c)(8),[d,u]=(0,i.useState)(!0);c[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,r.default)(),c[0]=n):n=c[0];let h=n;c[1]===Symbol.for("react.memo_cache_sentinel")?(s={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",border:"0"},c[1]=s):s=c[1];let f=s,p=e.id?e.id:`accord-${h}`;return c[2]!==d||c[3]!==e?(l=e.accordionArray?.map((a,i)=>{let n=(0,r.default)();return a?.selectionCount!="(0)"&&(0,t.jsxs)("div",{id:a?.referrerId,className:"accordion-item",children:[(0,t.jsx)("h2",{className:"accordion-header",id:`accord-heading_${i+1}_${n}`,children:(0,t.jsx)("button",{className:`accordion-button ${i!==e.selectedIndex?"collapsed":""}`,type:"button","data-bs-toggle":"collapse","data-bs-target":`#collapse${i+1}_${n}`,"aria-expanded":i===e?.selectedIndex,"aria-controls":`collapse${i+1}_${n}`,"aria-label":a?.title,onClick:()=>{e?.resetState("reset"),u(!d)},tabIndex:0,children:(0,t.jsxs)("div",{className:"cat-name-count",children:[(0,t.jsx)("span",{className:"cat-name",children:a?.title}),(0,t.jsx)("span",{className:"cat-selection",children:a?.selectionCount})]})})}),(0,t.jsx)("div",{id:`collapse${i+1}_${n}`,className:`accordion-collapse collapse ${i===e.selectedIndex?"
35show":""}`,"aria-labelledby":`accord-heading_${i+1}_${n}`,"data-bs-parent":e.id?`#${e.id}`:`#accord-${h}`,role:"region",children:(0,t.jsxs)("fieldset",{children:[(0,t.jsx)("legend",{style:f,children:a.title}),(0,t.jsx)("div",{className:"category-filter",children:a?.categoryFilterBox}),a?.unselectCat,(0,t.jsx)("div",{className:"accordion-body",children:a?.content&&a.content})]})})]},i)}),c[2]=d,c[3]=e,c[4]=l):l=c[4],c[5]!==p||c[6]!==l?(o=(0,t.jsx)("div",{className:"accordion-flex",children:(0,t.jsx)("div",{className:"accordion",id:p,children:l})}),c[5]=p,c[6]=l,c[7]=o):o=c[7],o},s=(0,i.memo)(n);e.s(["default",0,s],22854);let l=(e,t)=>{let a=`section-bg-wrapper ${t}`;return e?.length===1?(e?.[0]?.type==="hero_banner"||e?.[0]?.type==="rotating_hero_banner"||e?.[0]?.type==="sandoz_academy_hero_banner_block"||e?.[0]?.type==="article_teaser_banner"||e?.[0]?.type==="article_teaser_composition")&&(a+=" only-banner-child"):e?.map((t,i)=>{(t?.type==="hero_banner"||t?.type==="rotating_hero_banner"||t?.type==="sandoz_academy_hero_banner_block"||t?.type==="article_teaser_banner"||t?.type==="article_teaser_composition")&&(0===i?a+=" first-banner-child":i===e?.length-1?a+=" last-banner-child":a+="")}),a},o=e=>({header:{titleText:e?.popup_title??""},content:{content:e?.popup_desc?.value??"",isRichText:!0},footer:{closeBtn:{children:e?.popup_cancel_cta_label??"",href:"javascript:void(0);"},actionBtn:{children:e?.popup_confirm_cta_label??""}}}),c=(e,t,a)=>e?.replace(a,t);e.s(["getSectionClassName",0,l,"popupDetail",0,o,"replacePlaceHolderWithText",0,c],14915)},61105,e=>{"use strict";e.s(["LoginPopup",()=>t.default]);var t=e.i(60626)},6597,e=>{"use strict";e.s(["default",()=>S]);var t=e.i(91398),a=e.i(61576),i=e.i(22276),r=e.i(91788),n=e.i(21672);e.i(48756);var s=e.i(45861),l=e.i(17626),o=e.i(17419),c=e.i(49266),d=e.i(70184),u=e.i(5223),h=e.i(66196),f=e.i(4177),p=e.i(65218),m=e.i(23216),g=e.i(9283),b=e.i(82054),_=e.i(22854),y=e.i(18090);e.i(41871);var x=e.i(87612),v=e.i(14915),A=e.i(63712),w=e.i(67552);e.i(62179);var E=e.i(61105);let S=e=>{let f,y,S,C,k,I,j,P,L,O,D,M,R,F,B,U,H,$,G,W,Y,z,V,K,q,Q,Z,X,J,ee,et,ea,ei,er,en,es,el,eo,ec,ed,eu,eh,ef,ep,em,eg,eb=(0,a.c)(172),{id:e_,className:ey,taxonomies:ex,heading:ev,specifications:eA,href:ew,hrefFamily:eE,productLinkText:eS,familyLinkText:eC,isLinkExternal:eT,buttonLabel:eN,productCardImage:ek,bookmark:eI,description:ej,relatedContentFlag:eP,view:eL,pimCTADisplay:eO,pimCTADetails:eD,basisCTALabel:eM,basisTextPath:eR,attachmentLabel:eF,attachmentPath:eB,isTaxSelectedForOL:eU,isRXProduct:eH,overlayMessage:e$,moreAboutProductTextCta:eG,moreAboutProductFamilyTextCta:eW}=e,eY=(0,i.useDispatch)();eb[0]!==eY?(f=e=>eY((0,n.addRatings)(e)),eb[0]=eY,eb[1]=f):f=eb[1];let ez=f,{applicationConfiguration:eV,applicationHeaderData:eK}=(0,r.useContext)(b.default),{isPimProduct:eq,siteConfig:eQ,isSandozIDEnabled:eZ}=eV,eX=void 0!==eq&&eq,{login_text:eJ}=eQ,e0=void 0===eJ?"":eJ,e1=void 0!==eZ&&eZ,{handleLoginRedirection:e2}=(0,A.default)(eV),[e3,e4]=(0,r.useState)(!1),[e6,e5]=(0,r.useState)(String),[e8,e7]=(0,r.useState)(!1),e9=(0,x.useMediaQuery)("(max-width: 991px)"),te=eU&&eH;eb[2]!==e_||eb[3]!==ez?(y=e=>{ez({id:e_,state:e})},eb[2]=e_,eb[3]=ez,eb[4]=y):y=eb[4];let tt=y,ta=parseInt(e_);eb[5]!==ey?(S=()=>{let e=["card product-card"];return ey&&e.push(ey),e.join(" ")},eb[5]=ey,eb[6]=S):S=eb[6];let ti=S;eb[7]!==e3?(C=e=>{e4(!e&&!e3)},eb[7]=e3,eb[8]=C):C=eb[8];let tr=C;eb[9]!==e_||eb[10]!==e0||eb[11]!==e$?(k=()=>{if(e$&&e0){let e=`<span id="${e_}"><a class="anchor" role="button">${e0}</a></span>`;e5((0,v.replacePlaceHolderWithText)(e$,e,"@[LOGIN_LINK]@")??"")}},eb[9]=e_,eb[10]=e0,eb[11]=e$,eb[12]=k):k=eb[12],eb[13]!==e$?(I=[e$],eb[13]=e$,eb[14]=I):I=eb[14],(0,r.useEffect)(k,I);let tn=()=>{e1?e2():e7(!0)};setTimeout(()=>{let e=document.getElementById(e_.toString());e&&e.addEventListener("click",function(){tn()})},10),eb[15]===Symbol.for("react.memo_cache_sentinel")?(j=(0,w.getAssetPrefixUrl)("/assets/icons/spinner.svg"),P={url:(0,w.getAssetPrefixUrl)("/assets/icons/close.svg"),altText:"close icon"},eb[15]=j,eb[16]=P):(j=eb[15],P=eb[16]),eb[17]!==e8?(L={showPopup:e8,showOverlay:e8,children:"",spinnerIcon:j,closeIcon:P,handlePopupShow:e7},eb[17]=e8,eb[18]=L):L=eb[18];let ts=L,tl=eK?.headerData?.loginFormData;eb[19]===Symbol.for("react.memo_cache_sentinel")?(O=()=>{e7(!1)},eb[19]=O):O=eb[19];let to=O;eb[20]===Symbol.for("react.memo_cache_sentinel")?(D=()=>{e7(!1)},eb[20]=D):D=eb[20];let tc=D,td=T;eb[21]!==e6?(M=()=>(0,t.jsx)("div",{className:"overlay",children:(0,t.jsxs)("div",{className:"overlay-content",children:[(0,t.jsx)(c.Icon,{iconName:"WarningAcademy",width:40,height:40}),(0,t.jsx)(u.RichText,{content:e6??""})]})}),eb[21]=e6,eb[22]=M):M=eb[22];let tu=M,th=ti();eb[23]===Symbol.for("react.memo_cache_sentinel")?(R={position:"relative"},eb[23]=R):R=eb[23],eb[24]!==tu||eb[25]!==te?(F=te&&(0,t.jsx)(tu,{}
35),eb[24]=tu,eb[25]=te,eb[26]=F):F=eb[26];let tf=`card-body ${te?"blur":""}`;eb[27]!==ew||eb[28]!==eT||eb[29]!==eX||eb[30]!==ek||eb[31]!==eP?(B=(0,t.jsx)("div",{className:"productCardListViewContent-image-view",children:ek?.styledimage||ek?.src?(0,t.jsx)(s.Anchor,{href:ew??"",tabindex:0,noUnderline:!0,isExternal:eT,children:(0,t.jsx)(d.Img,{type:"plp_list",styledimage:ek?.src&&eX?null:ek.styledimage,src:ek.src??"",alt:ek.alt??"",width:236,height:236,className:"productCardListViewContent-image",islazyloaded:!eP})}):(0,t.jsx)(t.Fragment,{})}),eb[27]=ew,eb[28]=eT,eb[29]=eX,eb[30]=ek,eb[31]=eP,eb[32]=B):B=eb[32],eb[33]!==ex?(U=ex&&(0,t.jsx)(p.Taxonomy,{itemsToDisplay:2,taxonomies:ex}),eb[33]=ex,eb[34]=U):U=eb[34],eb[35]!==U?(H=(0,t.jsx)(o.Column,{className:"productCardListViewContent-taxo",desktop:10,tablet:10,mobile:10,children:(0,t.jsx)(t.Fragment,{children:U})}),eb[35]=U,eb[36]=H):H=eb[36],eb[37]!==eI||eb[38]!==tt||eb[39]!==ta||eb[40]!==eP?($=eP?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(g.default,{id:ta,...eI,bookmarkCallback:tt}),eb[37]=eI,eb[38]=tt,eb[39]=ta,eb[40]=eP,eb[41]=$):$=eb[41],eb[42]!==ew||eb[43]!==eT||eb[44]!==eX?(G=ew&&!eX&&(0,t.jsx)(s.Anchor,{href:ew,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link list",isExternal:eT,children:(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})}),eb[42]=ew,eb[43]=eT,eb[44]=eX,eb[45]=G):G=eb[45],eb[46]!==G?(W=(0,t.jsx)("span",{className:"productCardListViewContent-arrow",children:G}),eb[46]=G,eb[47]=W):W=eb[47],eb[48]!==$||eb[49]!==W?(Y=(0,t.jsxs)(o.Column,{className:"productCardListViewContent-cta",desktop:2,tablet:2,mobile:2,children:[$,W]}),eb[48]=$,eb[49]=W,eb[50]=Y):Y=eb[50],eb[51]!==B||eb[52]!==H||eb[53]!==Y?(z=(0,t.jsxs)(h.Row,{className:"productCardListViewContent-image-wrapper",children:[B,H,Y]}),eb[51]=B,eb[52]=H,eb[53]=Y,eb[54]=z):z=eb[54],eb[55]!==ev||eb[56]!==ew||eb[57]!==eT?(V=ev&&(0,t.jsx)(s.Anchor,{noUnderline:!0,href:ew??"",tabindex:0,isExternal:eT,children:(0,t.jsx)("h3",{className:"productCardListViewContent-header bold",children:ev})}),eb[55]=ev,eb[56]=ew,eb[57]=eT,eb[58]=V):V=eb[58],eb[59]!==V?(K=(0,t.jsx)(h.Row,{className:"productCardListViewContent-header-wrapper",children:(0,t.jsx)(o.Column,{desktop:12,tablet:12,mobile:12,className:"productCardListViewContent-header-block",children:(0,t.jsx)(t.Fragment,{children:V})})}),eb[59]=V,eb[60]=K):K=eb[60],eb[61]!==ek?(q=ek?.styledimage||ek?.src?(0,t.jsx)("div",{className:"productCardListViewContent-image-padding",children:(0,t.jsx)(d.Img,{className:"productCardListViewContent-list-image",type:"plp_list",styledimage:ek.styledimage,src:ek.src??"",alt:ek.alt??"",width:80,height:60})}):(0,t.jsx)(t.Fragment,{}),eb[61]=ek,eb[62]=q):q=eb[62],eb[63]!==ej?(Q=ej&&(0,t.jsx)("p",{className:"productCardListViewContent-desc",children:(0,t.jsx)(u.RichText,{content:ej,characterLimit:m.default.DESCRIPTION})}),eb[63]=ej,eb[64]=Q):Q=eb[64],eb[65]!==Q?(Z=(0,t.jsx)(t.Fragment,{children:Q}),eb[65]=Q,eb[66]=Z):Z=eb[66],eb[67]!==eX||eb[68]!==ek?(X=ek?.styledimage||ek?.src?(0,t.jsx)("div",{className:"list-img",children:(0,t.jsx)(d.Img,{type:"plp_list",styledimage:ek.src&&eX?null:ek.styledimage,src:ek.src,alt:ek.alt??"",width:56,height:56})}):(0,t.jsx)(t.Fragment,{}),eb[67]=eX,eb[68]=ek,eb[69]=X):X=eb[69],eb[70]!==eA?(J=eA?.length?eA?.map(N):(0,t.jsx)(t.Fragment,{}),eb[70]=eA,eb[71]=J):J=eb[71],eb[72]!==X||eb[73]!==J?(ee=(0,t.jsxs)("div",{className:"productCardListViewContent-card",children:[X,J]}),eb[72]=X,eb[73]=J,eb[74]=ee):ee=eb[74],eb[75]!==q||eb[76]!==Z||eb[77]!==ee?(et=(0,t.jsxs)(o.Column,{desktop:8,tablet:8,mobile:12,className:"productCardListViewContent-column",children:[q,Z,ee]}),eb[75]=q,eb[76]=Z,eb[77]=ee,eb[78]=et):et=eb[78],eb[79]!==eF||eb[80]!==eB||eb[81]!==eM||eb[82]!==eR||eb[83]!==eN||eb[84]!==eC||eb[85]!==ev||eb[86]!==ew||eb[87]!==eE||eb[88]!==eT||eb[89]!==eX||eb[90]!==eW||eb[91]!==eG||eb[92]!==eD?.length||eb[93]!==eO||eb[94]!==eS?(ea=eX&&(0,t.jsx)(o.Column,{desktop:4,tablet:4,mobile:12,className:"productCardListViewContent-bottom-link",children:(0,t.jsxs)("div",{className:"productCardListViewContent-arrow-bottom",children:[ew&&(void 0===eO?.listing_page_leaflet_ctas_flag||eD?.length===0&&1===eO.listing_page_leaflet_ctas_flag||eD?.length===0&&0===eO.listing_page_leaflet_ctas_flag)&&(0,t.jsxs)(s.Anchor,{href:ew,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link",isExternal:eT,ariaLabel:eX?eG&&ev?`${eG} ${ev}`:eG||"":"",children:[(0,t.jsx)("span",{className:"product-detail-link-text",children:eX?eS:eN}
35),(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})]}),eE&&eX&&(void 0===eO?.listing_page_leaflet_ctas_flag||eD?.length===0&&1===eO.listing_page_leaflet_ctas_flag||eD?.length===0&&0===eO.listing_page_leaflet_ctas_flag)?(0,t.jsxs)(s.Anchor,{href:eE,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link",isExternal:eT,ariaLabel:eW?eW&&ev?`${eW} ${ev}`:eW||"":"",children:[(0,t.jsx)("span",{className:"product-detail-link-text",children:eC}),(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})]}):(0,t.jsx)(t.Fragment,{}),eR&&eX&&(void 0===eO?.listing_page_leaflet_ctas_flag||eD?.length===0&&eO?.listing_page_leaflet_ctas_flag===1||eD?.length===0&&eO?.listing_page_leaflet_ctas_flag===0)?(0,t.jsxs)(s.Anchor,{href:eR,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link",isExternal:eT,children:[(0,t.jsx)("span",{className:"product-detail-link-text",children:eM}),(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})]}):(0,t.jsx)(t.Fragment,{}),eB&&eX&&(void 0===eO?.listing_page_leaflet_ctas_flag||eD?.length===0&&eO?.listing_page_leaflet_ctas_flag===1||eD?.length===0&&eO?.listing_page_leaflet_ctas_flag===0)?(0,t.jsxs)(s.Anchor,{href:eB,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link",isExternal:eT,children:[(0,t.jsx)("span",{className:"product-detail-link-text",children:eF}),(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})]}):(0,t.jsx)(t.Fragment,{})]})}),eb[79]=eF,eb[80]=eB,eb[81]=eM,eb[82]=eR,eb[83]=eN,eb[84]=eC,eb[85]=ev,eb[86]=ew,eb[87]=eE,eb[88]=eT,eb[89]=eX,eb[90]=eW,eb[91]=eG,eb[92]=eD?.length,eb[93]=eO,eb[94]=eS,eb[95]=ea):ea=eb[95],eb[96]!==ea?(ei=(0,t.jsx)(t.Fragment,{children:ea}),eb[96]=ea,eb[97]=ei):ei=eb[97],eb[98]!==et||eb[99]!==ei?(er=(0,t.jsxs)(h.Row,{className:"productCardListViewContent-spec-wrapper",children:[et,ei]}),eb[98]=et,eb[99]=ei,eb[100]=er):er=eb[100],eb[101]!==eF||eb[102]!==eB||eb[103]!==eM||eb[104]!==eR||eb[105]!==eN||eb[106]!==eC||eb[107]!==ev||eb[108]!==ew||eb[109]!==eE||eb[110]!==eT||eb[111]!==eX||eb[112]!==eW||eb[113]!==eG||eb[114]!==eD||eb[115]!==eO?.listing_page_leaflet_ctas_flag||eb[116]!==eS||eb[117]!==eL?(en=eX&&"grid"!==eL&&eO?.listing_page_leaflet_ctas_flag===1&&eD?.length!==0&&(0,t.jsxs)(h.Row,{children:[(0,t.jsx)(o.Column,{desktop:eD&&eD?.length<4?8:12,tablet:eD&&eD?.length<4?8:12,mobile:12,className:"productCardListViewContent-column-button",children:td(eD)}),(0,t.jsx)(t.Fragment,{children:eX&&(0,t.jsx)(o.Column,{desktop:eD&&eD?.length<4?4:12,tablet:eD&&eD?.length<4?4:12,mobile:12,className:"productCardListViewContent-center-link",children:(0,t.jsxs)("div",{className:"productCardListViewContent-arrow-bottom",children:[ew&&(0,t.jsxs)(s.Anchor,{href:ew,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link",isExternal:eT,ariaLabel:eX?eG&&ev?`${eG} ${ev}`:eG||"":"",children:[(0,t.jsx)("span",{className:"product-detail-link-text",children:eX?eS:eN}),(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})]}),eE&&eX?(0,t.jsxs)(s.Anchor,{href:eE,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link",isExternal:eT,ariaLabel:eW?eW&&ev?`${eW} ${ev}`:eW||"":"",children:[(0,t.jsx)("span",{className:"product-detail-link-text",children:eC}),(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})]}):(0,t.jsx)(t.Fragment,{}),eR?(0,t.jsxs)(s.Anchor,{href:eR,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link",isExternal:eT,children:[(0,t.jsx)("span",{className:"product-detail-link-text",children:eM}),(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})]}):(0,t.jsx)(t.Fragment,{}),eB?(0,t.jsxs)(s.Anchor,{href:eB,tabindex:1,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link",isExternal:eT,children:[(0,t.jsx)("span",{className:"product-detail-link-text",children:eF}
35),(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowForward1"})})]}):(0,t.jsx)(t.Fragment,{})]})})})]}),eb[101]=eF,eb[102]=eB,eb[103]=eM,eb[104]=eR,eb[105]=eN,eb[106]=eC,eb[107]=ev,eb[108]=ew,eb[109]=eE,eb[110]=eT,eb[111]=eX,eb[112]=eW,eb[113]=eG,eb[114]=eD,eb[115]=eO?.listing_page_leaflet_ctas_flag,eb[116]=eS,eb[117]=eL,eb[118]=en):en=eb[118],eb[119]!==e9||eb[120]!==eD||eb[121]!==eO||eb[122]!==ta||eb[123]!==tr?(es=eD?.length&&eO&&1===eO.leaflet_cta_accordion_flag?(0,t.jsx)(_.default,{selectedIndex:ta,resetState:tr,accordionArray:[{title:e9?eO.leaflet_cta_accordion_label_mobile:eO?.leaflet_cta_accordion_label_desktop,content:(0,t.jsx)(t.Fragment,{children:td(eD)})}]}):td(eD),eb[119]=e9,eb[120]=eD,eb[121]=eO,eb[122]=ta,eb[123]=tr,eb[124]=es):es=eb[124],eb[125]!==eN||eb[126]!==ew||eb[127]!==eT||eb[128]!==eX||eb[129]!==eS?(el=ew&&(0,t.jsx)(l.AnchorButton,{tabindex:1,href:ew,isExternal:eT,children:eX?eS:eN}),eb[125]=eN,eb[126]=ew,eb[127]=eT,eb[128]=eX,eb[129]=eS,eb[130]=el):el=eb[130],eb[131]!==eC||eb[132]!==eE||eb[133]!==eT||eb[134]!==eX?(eo=eE&&eX?(0,t.jsx)(l.AnchorButton,{tabindex:1,isSecondary:!0,href:eE,isExternal:eT,children:eC}):(0,t.jsx)(t.Fragment,{}),eb[131]=eC,eb[132]=eE,eb[133]=eT,eb[134]=eX,eb[135]=eo):eo=eb[135],eb[136]!==eM||eb[137]!==eR||eb[138]!==eT||eb[139]!==eX?(ec=eR&&eX?(0,t.jsx)(l.AnchorButton,{tabindex:1,isSecondary:!0,href:eR,isExternal:eT,children:eM}):(0,t.jsx)(t.Fragment,{}),eb[136]=eM,eb[137]=eR,eb[138]=eT,eb[139]=eX,eb[140]=ec):ec=eb[140],eb[141]!==eF||eb[142]!==eB||eb[143]!==eT||eb[144]!==eX?(ed=eB&&eX?(0,t.jsx)(l.AnchorButton,{tabindex:1,isSecondary:!0,href:eB,isExternal:eT,children:eF}):(0,t.jsx)(t.Fragment,{}),eb[141]=eF,eb[142]=eB,eb[143]=eT,eb[144]=eX,eb[145]=ed):ed=eb[145],eb[146]!==es||eb[147]!==el||eb[148]!==eo||eb[149]!==ec||eb[150]!==ed?(eu=(0,t.jsx)(h.Row,{children:(0,t.jsx)(o.Column,{desktop:12,tablet:12,mobile:12,className:"productCardListViewContent-column",children:(0,t.jsxs)("div",{className:"productCardListViewContent-button",children:[es,el,eo,ec,ed]})})}),eb[146]=es,eb[147]=el,eb[148]=eo,eb[149]=ec,eb[150]=ed,eb[151]=eu):eu=eb[151],eb[152]!==tf||eb[153]!==z||eb[154]!==K||eb[155]!==er||eb[156]!==en||eb[157]!==eu?(eh=(0,t.jsxs)("div",{className:tf,children:[z,K,er,en,eu]}),eb[152]=tf,eb[153]=z,eb[154]=K,eb[155]=er,eb[156]=en,eb[157]=eu,eb[158]=eh):eh=eb[158],eb[159]!==th||eb[160]!==F||eb[161]!==eh?(ef=(0,t.jsxs)("div",{className:th,style:R,children:[F,eh]}),eb[159]=th,eb[160]=F,eb[161]=eh,eb[162]=ef):ef=eb[162];let tp=tl?.banner;return eb[163]===Symbol.for("react.memo_cache_sentinel")?(ep=(e,t)=>{e7(e)},eb[163]=ep):ep=eb[163],eb[164]!==ts||eb[165]!==tl||eb[166]!==e8||eb[167]!==tp?(em=(0,t.jsx)(E.LoginPopup,{popup:ts,form:tl,bannerCTA:tp,showPopup:e8,handlePopupShow:ep,handleForgotPasswordShow:to,loginConfirmation:tc}),eb[164]=ts,eb[165]=tl,eb[166]=e8,eb[167]=tp,eb[168]=em):em=eb[168],eb[169]!==ef||eb[170]!==em?(eg=(0,t.jsxs)(t.Fragment,{children:[ef,em]}),eb[169]=ef,eb[170]=em,eb[171]=eg):eg=eb[171],eg};function C(e,a){return(0,t.jsx)(l.AnchorButton,{tabindex:1,href:e?.url,icon:(0,t.jsx)(c.Icon,{iconName:"DownloadIcon"}),className:"product-list-cta",download:!0,isExternal:!1,isSecondary:!0,children:e?.label},a)}function T(e){return(0,t.jsx)(y.default,{className:"btn_group",children:e&&e?.map(C)})}function N(e,a){return(0,t.jsx)(f.SpecificationItem,{className:"productCardListViewContent-padding plp-view",...e},a)}},64026,e=>{"use strict";e.s(["FlexibleCard",()=>t.default]);var t=e.i(94827)},84016,e=>{"use strict";var t=e.i(22740);let a=e=>c([{type:t.UPDATE_TAB,tabSelected:e.tabSelected}]),i=e=>c([{type:t.CHANGE_TAB,tabChanged:e.tabChanged}]),r=e=>c([{type:t.CHANGE_TAB_BTN,btnClickTabChanged:e.btnClickTabChanged}]),n=e=>c([{type:t.MODULE_ID,moduleId:e.moduleId}]),s=e=>c([{type:t.ACADEMY_COMPLETED_FLAG,academyCompletedFlag:e.academyCompletedFlag}]),l=e=>c([{type:t.MODULE_COMPLETE,durationhours:e.durationhours,courseId:e.courseId,moduleId:e.moduleId}]),o=e=>c([{type:t.ADD_COURSE_DATA,courseId:e.courseId,moduleId:e.moduleId,course_name:e.course_name,course_category:e.course_category,difficulty:e.difficulty,course_start_Time:e.course_start_Time,course_status:e.course_status}]),c=e=>t=>
35{e.forEach(e=>{t(e)})};e.s(["addAcademyCourseFlags",0,s,"btnClickTabChange",0,r,"changeTab",0,i,"moduleId",0,n,"setCourseData",0,o,"setModuleComplete",0,l,"updateTab",0,a])},32112,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(91398);e.i(48756);var a=e.i(38233),i=e.i(49266),r=e.i(75425);e.i(35958);var n=e.i(64026),s=e.i(91788),l=e.i(22276),o=e.i(84016),c=e.i(59158);let d=e=>{let o=(0,l.useSelector)(e=>e.user),d=(0,c.default)(),u=(0,l.useDispatch)(),h=(0,s.useCallback)(t=>e?.btnClickTabChange(t),[u]),f=(0,s.useCallback)(t=>e?.moduleId(t),[u]),p=()=>{h({btnClickTabChanged:!0})};return(0,t.jsxs)("div",{className:"academy-modules-wrapper",children:[(0,t.jsx)("h2",{className:"academy-modules-wrapper-title",children:e?.cardsArray?.[r.default.ZERO]?.topic_label}),(0,t.jsx)("div",{className:"academy-modules-wrapper-container",children:e?.cardsArray?.map((e,a)=>(0,t.jsx)("div",{id:d,className:"card-item",children:(0,t.jsx)(n.FlexibleCard,{detailsPath:"",...e,btnClickTabChange:h,moduleChangeId:f})},a))}),e?.cardsArray[r.default?.ZERO]?.ctaLabel&&o&&o?.isLoggedIn?(0,t.jsx)("div",{className:"academy-modules-wrapper-cta",children:(0,t.jsx)(a.Button,{tabindex:0,onClick:()=>p(),icon:(0,t.jsx)(i.Icon,{iconName:"ArrowForward1"}),iconPosition:"right",children:e?.cardsArray[r.default?.ZERO]?.ctaLabel})}):(0,t.jsx)(t.Fragment,{})]})},u={btnClickTabChange:e=>(0,o.btnClickTabChange)(e),moduleId:e=>(0,o.moduleId)(e)},h=e=>({academyCourseFilterData:e.academyCourseReducer}),f=(0,l.connect)(h,u)(d)},29658,e=>{"use strict";e.s(["AcademyModules",()=>t.default]);var t=e.i(32112)},56995,e=>{"use strict";e.s(["EducationCard",()=>t.default]);var t=e.i(48023)},98822,e=>{"use strict";e.s(["EventCardVertical",()=>t.default]);var t=e.i(63344)},35868,e=>{"use strict";e.s(["BookmarkWithButton",()=>t.default]);var t=e.i(9283)},81675,e=>{"use strict";e.s(["default",()=>x]);var t=e.i(91398);e.i(48756);var a=e.i(45861),i=e.i(17419),r=e.i(161),n=e.i(49266),s=e.i(70184),l=e.i(5223),o=e.i(66196),c=e.i(65218),d=e.i(99523);e.i(35958);var u=e.i(35868),h=e.i(22276),f=e.i(23216),p=e.i(91788),m=e.i(21672),g=e.i(82054);e.i(41871);var b=e.i(87612),_=e.i(15315);let y=({id:e,magImage:y,isVideo:x,taxonomies:v,title:A,subtitle:w,desc:E,createdDate:S="",time:C="",bookmark:T,href:N,row:k})=>{let I=(0,b.useMediaQuery)("(max-width: 767px)"),j=(0,b.useMediaQuery)("(max-width: 991px)"),P=(0,p.useContext)(g.default),[L,O]=(0,p.useState)(!1),D=(0,h.useDispatch)(),M=t=>{R({id:e,state:t})},R=(0,p.useCallback)(e=>D((0,m.addRatings)(e)),[D]),F=(0,h.useSelector)(e=>e?.ratings?.liveCount?.favourite),B=(0,h.useSelector)(e=>e?.user?.profile?.response?.favourite),U=0,H=F?.filter(t=>parseInt(t.node_id)===e);U=H?.length>0?H?.[0]?.count:0;let{applicationConfiguration:$}=(0,p.useContext)(g.default);(0,p.useMemo)(()=>{for(let t in B)parseInt(B[t].node_id)===e&&O(!0)},[B]);let G=t=>{R({id:e,state:t})},W=()=>{let e="";return 1===k?e="magazine_one_column":2===k?e="magazine_two_column":3===k&&(e="card"),I?"card":e},Y=e=>{let{lang:t}=(0,_.getApiDomainAndLang)();return(0,d.default)(e,!0).locale(t).format($?.siteConfig?.date_format)},z=()=>{if(I)return"276px";if(j)if(k>2)return"280px";else if(2===k)return"278px";else return"290px";return k>2?"350px":"322px"},V=e=>{let t=document.getElementById(e);if(t){t.style.minHeight="initial";let e=t.children[0].firstElementChild;e&&(e.style.display="flex",e.style.height=z())}};return(0,t.jsxs)("div",{className:"mag-card",id:e.toString(),style:{minHeight:z()},children:[(0,t.jsx)("div",{className:"mag-card-image",children:y?.src&&(0,t.jsx)(s.Img,{className:"event-card-horizontal-image-content",layout:"fill",type:W(),styledimage:y?.styledimage,src:y?.src,alt:y?.alt,width:1440,height:720,onLoad:V(e.toString())})}),(0,t.jsx)("span",{className:"mag-card-shader"}),(0,t.jsxs)("div",{className:"mag-card-content",children:[v&&(0,t.jsx)("div",{className:"mag-card-taxonomy",children:(0,t.jsx)(c.Taxonomy,{taxonomies:v})}),(0,t.jsxs)(o.Row,{className:"mag-card-content-info",children:[(0,t.jsx)(i.Column,{desktop:8,tablet:12,mobile:12,className:"mag-card-content-info-text",children:(0,t.jsxs)(a.Anchor,{href:N,tabindex:2,children:[(0,t.jsxs)(t.Fragment,{children:[w?(0,t.jsx)(l.RichText,{content:w,className:"mag-card-content-info-text-subtitle",characterLimit:f.default.TITLE}):(0,t.jsx)(t.Fragment,{}),A?(0,t.jsx)(l.RichText,{content:A,className:"mag-card-content-info-text-title",characterLimit:f.default.TITLE}):(0,t.jsx)(t.Fragment,{})]}),E?(0,t.jsx)(l.RichText,{content:E,className:"mag-card-content-info-text-desc",characterLimit:f.default.DESCRIPTION}):(0,t.jsx)(t.Fragment,{})]})}),(0,t.jsxs)(i.Column,{desktop:4,tablet:12,mobile:12,className:"mag-card-content-info-meta",children:[S&&(0,t.jsx)("div",{className:"mag-card-content-info-meta-date",children:Y(S)}),C&&(0,t.jsxs)("div",{className:"mag-card-content-info-meta-time",children:[(0,t.jsx)(n.Icon,{iconName:"TimeIcon"}),C]}),(0,t.jsxs)("div",{className:"mag-card-content-info-meta-bookmark-favorite",children:[P?.applicationConfiguration?.isBookmarkEnabled&&T&&(0,t.jsx)(u.BookmarkWithButton,{id:e,...T,bookmarkCallback:M}),P?.applicationConfiguration?.isFavouriteEnabled&&(0,t.jsx)(r.FavoriteIcon,{id:e,totalFavoriteCount:U,favouriteStatus:L,favoriteHandlerCallback:G})]})]})]})]}),x&&(0,t.jsx)(a.Anchor,{href:N,tabindex:2,children:(0,t.jsx)("div",{className:"mag-card-playicon-overlay",children:(0,t.jsx)(n.Icon,{iconName:"PlayIcon"})})})]})},x=(0,p.memo)(y)},25532,e=>{"use strict";e.s(["MagazineCard",()=>t.default]);var t=e.i(81675)},91967,e=>{"use strict";e.s(["NewsStoriesCard",()=>t.default]);var t=e.i(15934)},6818,52437,86463,16397,e=>{"use strict";e.s(["default",()=>P],6818);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(6271),r=e.i(47266),n=e.i(75425),s=e.i(41040),l=e.i(92915);e.i(35958);var o=e.i(886),c=e.i(94827),d=e.i(6597),u=e.i(62532);e.i(62179);var h=e.i(29658),f=e.i(56995),p=e.i(98822),m=e.i(25532),g=e.i(91967),b=e.i(82054),_=e.i(15315),y=e.i(72094);e.i(67552);var x=e.i(22276),v=e.i(84016),A=e.i(20549),w=e.i(31808),E=e.i(21672),S=e.i(3828),C=e.i(91236),T=function(e){return e.EVENT="Event",e.CSV_PRODUCT="CSV Product",e.NEWS_AND_STORIES="News and Stories",e.PIM_CSV_PRODUCT="PIM CSV Product",e.EDUCATION="Education",e.MAGAZINE="Magazine",e.SANDOZ_ACADEMY_COURSE="Sandoz Academy Course",e.SANDOZ_MODULES="Sandoz Academy Modules",e}(T||{});let N=n.default.NINE,k=e=>{let{ratings:n,resetUserAndProfile:v,updateRatingsCount:A,resetRatings:w,user:E,setUserProfile:T,labels:k,show_in_card:I,setUserStateGlobally:j,isFavourite:P=!1}=e,[L,O]=(0,a.useState)([]),[D,M]=(0,a.useState)([]),[R,F]=(0,a.useState)([]),[B,U]=(0,a.useState)([]),[H,$]=(0,a.useState)([]),[G,W]=(0,a.useState)([]),[Y,z]=(0,a.useState)({}),V=(0,a.useContext)(b.default),[K,q]=(0,a.useState)([]),[Q,Z]=(0,a.useState)([]),[X,J]=(0,a.useState)(!0),[ee,et]=(0,a.useState)(!0),[ea,ei]=(0,a.useState)(0),[er,en]=(0,a.useState)({}),[es,el]=(0,a.useState)({}),[eo,ec]=(0,a.useState)(0),[ed,eu]=(0,a.useState)(""),eh=(0,x.useDispatch)(),ef=(0,S.useRouter)(),ep=ef?.query?.secLevelTab,em={sandoz_academy_course:"Sandoz Academy Course",sandoz_academy_modules:"Sandoz Academy Modules"},eg=()=>ep&&Object.keys(em).includes(ep)&&Q?.length>0&&!P?Q.findIndex(e=>e.id===em[ep]):0,[eb,e_]=(0,a.useState)(eg()),ey=(0,a.useCallback)(t=>e?.moduleId(t),[eh]),{lang:ex}=(0,_.getApiDomainAndLang)(),ev=V?.applicationConfiguration?.isPimProduct,{fetchUserProfile:eA,fetchUserRatingsCount:ew}=(0,l.default)(),eE=async()=>{let e=await ew();e.fail||A(e.response)};(0,a.useEffect)(()=>{let e=async()=>{J(!0);
35let e=P?`${y.config.onPrem.FAVOURITE_URL}`:`${y.config.onPrem.BOOKMARK_URL}`,t=await (0,s.getProfileData)(e);t&&(P?el(t?.favourite):en(t?.bookmark)),J(!1),eu(""),ei(0)};E?.isLoggedIn&&e()},[]),(0,a.useEffect)(()=>{if(Q.length>0&&ep&&!P){let e=eg();e_(e),ec(e)}},[ep,Q,P]),(0,a.useMemo)(()=>{let e=async()=>{et(!0);let e=P?`${y.config.onPrem.FAVOURITE_URL}?type=${Q[eo]?.tabLabel}&page=${ea}`:`/${y.config.onPrem.BOOKMARK_URL}?type=${Q[eo]?.tabLabel}&page=${ea}`,t=await (0,s.getProfileData)(e);t&&(P?el(t?.favourite):en(t?.bookmark)),eu(Q[eo]?.type),et(!1)};E?.isLoggedIn&&e()},[ea,eo,E?.isLoggedIn,Q,eb]);let eS=async(e,t,a)=>{let i=await (0,_.middlewarePostAPI)(y.config.onPrem.RATINGS_API_URL,{entity_id:e,entity_type:"path_alias",flag_id:t,flag_action:a?"unflag":"flag"});if(w({id:void 0}),!i.fail){let e=await eA(C.PROFILE_API.FULL);e.fail?(v({}),j(!1,"")):(T(e),eE())}};(0,a.useEffect)(()=>{n.ratings&&n.ratings?.id&&E&&E.isLoggedIn&&eS(n.ratings?.id,n.ratings?.state?.type,n.ratings?.state.isChecked)},[n]),(0,a.useEffect)(()=>{z(V.applicationConfiguration.siteConfig)},[V.applicationConfiguration.siteConfig]),(0,a.useEffect)(()=>{if(er&&!P&&""===ed){let{finalResult:e,tabHeader:t}=(0,s.default)(er,I,Y,ex);O(e?.events),M(e?.newsAndStories),U(e?.educations),F(ev?e?.pimProducts:e?.products),W(e?.magazine),$(e?.MyCourse),q(e?.MyCourseModules),Z(t)}else if(P&&es&&""===ed){let{finalResult:e,tabHeader:t}=(0,s.default)(es,I,Y,ex);O(e?.events),M(e?.newsAndStories),U(e?.educations),F(ev?e?.pimProducts:e?.products),W(e?.magazine),$(e?.MyCourse),q(e?.MyCourseModules),Z(t)}else if(er&&!P&&""!=ed){let{finalResult:e}=(0,s.default)(er,I,Y,ex);O(t=>"Event"===ed?e?.events:t),M(t=>"News and Stories"===ed?e?.newsAndStories:t),U(t=>"Education"===ed?e?.educations:t),F(ev?e?.pimProducts:e?.products),W(t=>"Magazine"===ed?e?.magazine:t),$(t=>"Sandoz Academy Course"===ed?e?.MyCourse:t),q(t=>"Sandoz Academy Modules"===ed?e?.MyCourseModules:t)}else if(es&&P&&""!=ed){let{finalResult:e}=(0,s.default)(es,I,Y,ex);O(t=>"Event"===ed?e?.events:t),M(t=>"News and Stories"===ed?e?.newsAndStories:t),U(t=>"Education"===ed?e?.educations:t),F(ev?e?.pimProducts:e?.products),W(t=>"Magazine"===ed?e?.magazine:t),$(t=>"Sandoz Academy Course"===ed?e?.MyCourse:t),q(t=>"Sandoz Academy Modules"===ed?e?.MyCourseModules:t)}},[er,es,ed,eb]);let eC=()=>{let e=[];return e.push("profileBookmarksCategory"),e.join(" ")},eT={Event:k.events,Education:k.education},eN=Q.map(e=>({children:eT[e?.tabLabel]||e?.tabLabel||"",itemID:e?.type,tabDesign:"wide",id:e?.id,active:!1})).filter((e,t,a)=>t===a.findIndex(t=>t.itemID===e.itemID)),ek=(e,t)=>{let a=e/t;ei(e=>e!==a?a:e)},eI=(e,i,r)=>"isMagazine"===r?e?.map((e,r)=>(0,t.jsx)("div",{className:"profile-bookmark-mag-card",children:(0,a.createElement)(i,{...e,key:r})},r)):"isFlexibleCard"===r?e?.map((e,t)=>(0,a.createElement)(i,{...e,key:t,isProfile:!0})):"isAcademyModules"===r?e?.map((e,a)=>(0,t.jsx)("div",{id:e?.id,className:"card-item",children:(0,t.jsx)(c.default,{...e,moduleChangeId:ey,isProfile:!0})},a)):e?.map((e,t)=>(0,a.createElement)(i,{...e,key:t})),ej=(e,a,i,r)=>a>e?(0,t.jsx)(o.Pagination,{className:`${r}-${P?"fav":"bm"}-${i}`,itemsPerPage:e??N,itemsCount:a,onClick:t=>ek(t,e),offSet:ea}):(0,t.jsx)(t.Fragment,{}),eP=eN?.map((e,a)=>{if(ee)return(0,t.jsx)("div",{className:"tab-content",children:(0,t.jsx)(r.Loa
35der,{display:!0})},a);let i=null;switch(e?.id){case"Event":i=(0,t.jsxs)("div",{className:"flex-grid",children:[eI(L?.data,p.EventCardVertical),L?.data?.length>0?ej(L?.itemsPerPage,L?.totalCount,a,"EventCardVertical"):(0,t.jsx)(t.Fragment,{})]});break;case"PIM CSV Product":i=(0,t.jsxs)("div",{className:"event-grid",children:[eI(R?.data,d.default),R?.data.length>0?ej(R?.itemsPerPage,R?.totalCount,a,"ProductCardListViewContent"):(0,t.jsx)(t.Fragment,{})]});break;case"Education":i=(0,t.jsxs)("div",{className:"flex-grid",children:[eI(B?.data,f.EducationCard),B?.data.length>0?ej(B?.itemsPerPage,B?.totalCount,a,"EducationCard"):(0,t.jsx)(t.Fragment,{})]});break;case"CSV Product":i=(0,t.jsxs)("div",{className:"flex-grid",children:[eI(R?.data,d.default),R?.data.length>0?ej(R?.itemsPerPage,R?.totalCount,a,"ProductCardListViewContent"):(0,t.jsx)(t.Fragment,{})]});break;case"Magazine":i=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"event-grid",children:eI(G?.data,m.MagazineCard,"isMagazine")}),G?.data.length>0?ej(G?.itemsPerPage,G?.totalCount,a,"MagazineCard"):(0,t.jsx)(t.Fragment,{})]});break;case"News and Stories":i=(0,t.jsxs)("div",{className:"flex-grid",children:[eI(D?.data,g.NewsStoriesCard),D?.data.length>0?ej(D?.itemsPerPage,D?.totalCount,a,"NewsStoriesCard"):(0,t.jsx)(t.Fragment,{})]});break;case"Sandoz Academy Course":i=(0,t.jsxs)("div",{className:`flex-grid course-cards ${H?.data?.length===1?"single-course-card":H?.data?.length===2?"two-course-cards":""}`,children:[eI(H?.data,c.default,"isFlexibleCard"),H?.data.length>0?ej(H?.itemsPerPage,H?.totalCount,a,"AcademyCourseCard"):(0,t.jsx)(t.Fragment,{})]});break;case"Sandoz Academy Modules":i=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`module-card-grid ${K?.data?.length===1?"single-module-card":""}`,children:eI(K?.data,h.AcademyModules,"isAcademyModules")}),K?.data.length>0?ej(K?.itemsPerPage,K?.totalCount,a,"AcademyModules"):(0,t.jsx)(t.Fragment,{})]});break;default:return null}return i}),eL=e=>{eo!==e&&(ec(e),ei(0),P||e_(e))};return(0,t.jsxs)(i.Container,{className:eC(),children:[(0,t.jsx)("h1",{className:"section-heading",children:P?k.myFavLabel:k.myBookMarks}),X?(0,t.jsx)("div",{className:"tab-content",children:(0,t.jsx)(r.Loa
35der,{display:!0})}):(0,t.jsx)("div",{className:"BookmarksTab",children:(0,t.jsx)(u.default,{tabHeadItems:eN,tabContents:eP,tabHeadClassName:"tabHeadBookmarkClass",setActiveTab:eL,isProfileTab:!0,tabHeadID:"profile-bookmark",activeItem:{num:P?0:eb}})})]})},I={resetRatings:e=>(0,E.resetRatings)(e),setUserProfile:e=>(0,A.setUserProfile)(e),resetUserAndProfile:e=>(0,A.resetUser)(e),updateRatingsCount:e=>(0,E.getRatingsCount)(e),setUserStateGlobally:(e,t)=>(0,w.setUserStateGlobally)(e,t),moduleId:e=>(0,v.moduleId)(e)},j=e=>({user:e.user,ratings:e.ratings,academyCourseFilterData:e.academyCourseReducer}),P=(0,x.connect)(j,I)(k);e.s(["ChangePassword",()=>B],86463),e.s(["default",()=>B],52437);var L=t,O=e.i(61576),D=e.i(6561),M=e.i(46047),R=e.i(81352),F=e.i(64752);let B=e=>{let t,a,i,r,n,s=(0,O.c)(13),{title:l,description:o,link:c,cta_text:d}=e;return s[0]!==l?(t=l&&(0,L.jsx)(R.default,{className:"title",content:l||""}),s[0]=l,s[1]=t):t=s[1],s[2]!==o?(a=o&&(0,L.jsx)(R.default,{className:"description",content:o?.value}),s[2]=o,s[3]=a):a=s[3],s[4]!==t||s[5]!==a?(i=(0,L.jsxs)("div",{className:"content",children:[t,a]}),s[4]=t,s[5]=a,s[6]=i):i=s[6],s[7]!==d||s[8]!==c?(r=(0,L.jsx)("div",{className:"changepassword-submit",children:(0,L.jsx)(D.default,{href:c,isExternal:!0,tabindex:2,children:d})}),s[7]=d,s[8]=c,s[9]=r):r=s[9],s[10]!==i||s[11]!==r?(n=(0,L.jsx)("div",{className:"change-password",children:(0,L.jsx)(F.default,{children:(0,L.jsxs)(M.default,{mobile:12,tablet:12,desktop:6,className:"form-section",children:[i,r]})})}),s[10]=i,s[11]=r,s[12]=n):n=s[12],n};e.s(["default",()=>z],16397);var U=t,H=e.i(17626),$=e.i(97268),G=x,W=a,Y=b;let z=()=>{let[e,t]=(0,W.useState)(void 0),[a,i]=(0,W.useState)(""),r=(0,G.useSelector)(e=>e.user),n=(0,W.useContext)(Y.default);return(0,W.useMemo)(()=>{i(r.profile?.response?.profile?.records?.[0]?.PITCHER__Portal_URL__c??{})},[r]),(0,W.useEffect)(()=>{!function(){t(n.applicationConfiguration.siteConfig)}()},[n.applicationConfiguration.siteConfig]),(0,U.jsxs)("div",{children:[(0,U.jsx)($.default,{display:!e}),e?.marketing_consent_title&&(0,U.jsx)("h4",{children:e?.marketing_consent_title}),e?.marketing_consent_description&&(0,U.jsx)("p",{children:e?.marketing_consent_description}),e?.marketing_consent_cta_text&&a&&(0,U.jsx)(H.AnchorButton,{tabindex:1,href:a,isExternal:!0,children:e?.marketing_consent_cta_text})]})}},41734,e=>{"use strict";e.s(["TextBlock",()=>t.default]);var t=e.i(9049)},64637,20190,21369,87378,46439,e=>{"use strict";e.s(["SuggestionBar",()=>_],64637),e.s(["default",()=>_],20190);var t=e.i(91398);e.i(48756);var a=e.i(38233),i=e.i(17419),r=e.i(49266),n=e.i(28203),s=e.i(5223),l=e.i(97268),o=t,c=e.i(61576),d=e.i(75366),u=e.i(91788);let h=e=>{let t,a,i,r,n,s,l,h,p,m=(0,c.c)(25),{product_data:g,asset_attributes_list:b,handleProductTableChange:_,productFamilyName:y,attributeData:x}=e;m[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],m[0]=t):t=m[0];let[v,A]=(0,u.useState)(t);m[1]!==_||m[2]!==v?(a=(e,t,a)=>{if(!e||!t)return;let i=[...v],r=i?.findIndex(t=>t?.drupal_internal__nid===e);if(a)-1===r?i?.push({drupal_internal__nid:e,asset_attributes_val:[t]}):i[r]?.asset_attributes_val?.push(t);else if(-1!==r){let e=i[r]?.asset_attributes_val?.indexOf(t);-1!==e&&(i[r]?.asset_attributes_val?.splice(e,1),i[r]?.asset_attributes_val?.length===0&&i.splice(r,1))}_&&_(i),A(i)},m[1]=_,m[2]=v,m[3]=a):a=m[3];let w=a,E=x?.length>0?"fixed-column":"fixed-column single-column";return m[4]!==y?(i=(0,o.jsx)("p",{children:y}),m[4]=y,m[5]=i):i=m[5],m[6]!==E||m[7]!==i?(r=(0,o.jsx)("th",{className:E,children:i}),m[6]=E,m[7]=i,m[8]=r):r=m[8],m[9]!==b?(n=b?.map(f),m[9]=b,m[10]=n):n=m[10],m[11]!==r||m[12]!==n?(s=(0,o.jsx)("thead",{children:(0,o.jsxs)("tr",{children:[r,n]})}),m[11]=r,m[12]=n,m[13]=s):s=m[13],m[14]!==b||m[15]!==x?.length||m[16]!==w||m[17]!==g||m[18]!==v?(l=g?.map((e,t)=>(0,o.jsxs)("tr",{children:[(0,o.jsx)("td",{className:x?.length>0?"fixed-column":"fixed-column single-column",children:(0,o.jsx)("a",{href:"#",children:(0,o.jsx)("p",{children:e?.title})})}),b?.map((t,a)=>(0,o.jsx)("td",{className:"center-cell",children:(0,o.jsx)(d.CheckBox,{label:"",value:t,isChecked:v.some(a=>a.drupal_internal__nid===e?.drupal_internal__nid&&a.asset_attributes_val?.includes(t)),isDisabled:!1,onChange:a=>w(e?.drupal_internal__nid,t,a?.target?.checked)})},a))]},t)),m[14]=b,m[15]=x?.length,m[16]=w,m[17]=g,m[18]=v,m[19]=l):l=m[19],m[20]!==l?(h=(0,o.jsx)("tbody",{children:l}),m[20]=l,m[21]=h):h=m[21],m[22]!==s||m[23]!==h?(p=(0,o.jsx)("div",{className:"table-container",children:(0,o.jsxs)("table",{className:"products-table",children:[s,h]})}),m[22]=s,m[23]=h,m[24]=p):p=m[24],p};function f(e,t){return(0,o.jsx)("th",{children:(0,o.jsx)("p",{children:e})},t)}var p=e.i(75425),m=e.i(15315),g=e.i(79021),b=u;let _=e=>{let{searchLabel:o,placeholder:c,buttonLabel:d,fieldsData:u,handleSearchText:f,fieldName:_,productFoundText:y="",handleSearchAction:x,productTableData:v,handleProductTableChange:A,isClear:w,isLoading:E,validations:S,errors:C,setErrors:T}=e,[N,k]=(0,b.useState)(""),[I,j]=(0,b.useState)(!1),[P,L]=(0,b.useState)(!0),[O,D]=(0,b.useState)(!1),[M,R]=(0,b.useState)([]),[F,B]=(0,b.useState)(""),[U,H]=(0,b.useState)(""),[$,G]=(0,b.useState)([]),W=p.default.TWO,Y=_?.[0],{soi_2_channel:z,soi_2_country:V,smart_mi_country:K,smart_med_enq_channel:q}=u,Q=_?.[0]??"",Z=async(e,t,a,i,r)=>{if(e?.length>W){let n="smart_med_enq_product"!==Q?`/restapi/pim/sendout-autosuggest?text_search=${e}&channel=${t}&country=${a}`:`/restapi/pim/smenq-prod-list?country_code=${i}&prod_name=${e}&channel=${r}`,s=await (0,m.getApi)(n);R("smart_med_enq_product"!==Q?s:Object.entries(s?.product_data??{}).map(([e,t])=>({id:e,name:t}))),H(s?.message)}else R([]);L(!1)},X=(0,b.useCallback)((0,g.default)((e,t,a,i,r)=>Z(e,t,a,i,r),500),[]);(0,b.useEffect)(()=>{k("")},[w,z?.[0],V?.[0],K?.[0],q?.[0]]),(0,b.useEffect)(()=>{G(v)},[v]),(0,b.useEffect)(()=>{N&&I&&(L(!0),X(N,z?.[0]??"",V?.[0]??"",K?.[0]??"",q?.[0]??""),G([])),N?.length<p.default.THREE&&D(!1)},[N]);let J=()=>{j(!0)},ee=()=>{j(!1)},et=e=>""!==N&&e?.name?(0,t.jsx)("span",{id:e?.id,children:e?.name}):(0,t.jsx)(t.Fragment,{}),ea=e=>{B(e?.id),j(!1),D(!0),k(e?.name),f(e?.name,e?.id,Y,y);let t=["smart_med_enq_product"];T(Object.fromEntries(Object.entries(C)?.filter(([e])=>
35!t?.includes(e))))},ei=(e,t)=>e?.find(e=>e.name===t)||null,er=()=>{let e=ei(M,N);N.length>W&&null===e&&M?f("","",Y,y):N.length>W&&null!==e&&f(N,"",Y,y),setTimeout(()=>{j(!1)},200)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"suggestion-bar",children:(0,t.jsxs)(i.Column,{desktop:12,tablet:12,mobile:12,className:`suggestion-bar-group ${"smart_med_enq_product"===Q?"no-right-padding":""}`,children:[(0,t.jsxs)(i.Column,{desktop:"smart_med_enq_product"!==Q?10:12,tablet:12,mobile:12,className:"content-bar",children:[(0,t.jsxs)("label",{className:"label","aria-required":S?.mandatory?.required,children:[o,S?.mandatory?.required&&"*"]}),(0,t.jsx)(n.Input,{className:`input-align search-box${C[Q]?" invalid":""}`,value:N,useStateValue:!1,type:"search",placeholder:c,setTextInput:k,onFocus:J,onChange:J,onBlur:er,required:S?.mandatory?.required||!1}),C?.[Q]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(s.RichText,{content:C[Q]??""})}),I&&N?.length>W?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"suggestion-list",id:"suggestion-list",children:(0,t.jsxs)("ul",{children:[P&&(0,t.jsx)("li",{children:(0,t.jsx)(l.default,{display:P})}),!P&&(M?.length>0?(0,t.jsx)(t.Fragment,{children:M.map((e,a)=>(0,t.jsx)(t.Fragment,{children:e?.id&&e?.name&&(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"button",onClick:()=>ea(e),children:et(e)})},`${a+e?.id}`)}))}):(0,t.jsx)("li",{children:U}))]})}),(0,t.jsx)("div",{className:"blanket",onClick:ee})]}):(0,t.jsx)(t.Fragment,{})]}),"smart_med_enq_product"!==Q?(0,t.jsx)(i.Column,{desktop:2,tablet:2,mobile:12,className:"search-group",children:(0,t.jsx)(a.Button,{className:"search-button",tabindex:0,type:"button",isDisabled:!O,onClick:()=>x(F,V?.[0],z?.[0]),icon:(0,t.jsx)(r.Icon,{iconName:"SearchIcon2"}),iconPosition:"right",children:d})}):(0,t.jsx)(t.Fragment,{})]})}),O&&$&&$?.product_data?.length>0&&z?.[0]&&V?.[0]?(0,t.jsx)("div",{className:v?"product-bar":"",children:(0,t.jsx)(h,{product_data:v?.product_data,total_product_count:v?.total_product_count,asset_attributes_list:v?.asset_attributes_list,handleProductTableChange:A,productFamilyName:N,attributeData:$?.asset_attributes_list})}):(0,t.jsx)(t.Fragment,{children:E&&(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(l.default,{display:!0})})})]})};var y=t,x=c,v=u,A=e.i(79988);let w=e=>{let t,a,i,r,n,s=(0,x.c)(8),{tooltipContent:l}=e,[o,c]=(0,v.useState)(!1),d=(0,v.useRef)(null);s[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{c(!0)},s[0]=t):t=s[0];let u=t;s[1]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{c(!1)},s[1]=a):a=s[1];let h=a;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,y.jsx)(A.default,{iconName:"QuestionmarkIcon"}),s[2]=i):i=s[2],s[3]!==l||s[4]!==o?(r=o&&(0,y.jsx)("div",{className:"tooltip-wrapper",children:(0,y.jsx)("span",{children:l})}),s[3]=l,s[4]=o,s[5]=r):r=s[5],s[6]!==r?(n=(0,y.jsx)("div",{className:"tooltip-trigger",ref:d,children:(0,y.jsxs)("div",{onMouseEnter:u,onMouseLeave:h,children:[i,r]})}),s[6]=r,s[7]=n):n=s[7],n};e.s(["default",0,w],21369),e.s(["Tooltip",0,w],87378);var E=t,S=u,C=e.i(99523);let T=({className:e,id:t,inputLabel:a,isDisabled:i,name:r,onChange:n})=>{let s=()=>["input-time","input-box-with-label",e,i?"input-time-disabled":""].filter(Boolean).join(" "),[l,o]=(0,S.useState)(""),c=e=>{let t=e.target.value??"",a="";try{let e=(0,C.default)(t,"HH:mm:ss");e.isValid()?(a=e.format("hh:mm:ss A"),o(t),n&&n(a)):console.error("Invalid time format")}catch(e){console.error("Error parsing time:",e)}};return(0,E.jsxs)("div",{className:s(),children:[(0,E.jsx)("label",{className:"inputWith-label",htmlFor:"timePicker",children:a}),(0,E.jsx)("input",{className:"input-time-format",type:"time",id:t,name:r,value:l,onChange:c,step:2,"data-testid":"time-input"})]})};e.s(["default",0,T],46439)},89861,85281,81331,e=>{"use strict";e.s(["default",()=>K],89861);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(38233),r=e.i(75366),n=e.i(17419),s=e.i(86789),l=e.i(60832),o=e.i(49266),c=e.i(70184),d=e.i(92822),u=e.i(5223),h=e.i(64637),f=e.i(87378),p=e.i(46198),m=e.i(46439),g=e.i(75425),b=e.i(92915),_=e.i(7684),y=t,x=e.i(62494),v=a,A=u;
35let w=({name:e,value:t,email:a,confirmEmail:i,isRequired:r,isDisabled:n,validationErrorMessage:s,onChange:l,handleError:o,error:c,validations:d,checkForError:u,helpDescriptionText:h})=>{let[f,p]=(0,v.useState)({}),m=()=>{let e=[];return e.push("input"),c&&e.push("invalid"),e.join(" ")},g=a=>{let r=a.target,n=`${r.name}`,l=r.value.trim(),c={...f},h=u(l,d);h?h===d?.mandatory?.message?c[n]="confirmEmail"===n&&i?.confirmEmailReqMsg?i.confirmEmailReqMsg:h:c[n]=h:delete c[n],t?.email!==t?.confirmEmail&&t.email&&t.confirmEmail?c.matchError=s:delete c.matchError,p(c),Object.keys(c).length?o(e,Object.values(c).join(" ")):o(e,null),l.length<=0?r.classList.add("invalid"):r.classList.remove("invalid")},b=(e,t)=>(0,y.jsxs)("label",{"aria-required":r,className:"inputBox-withLabel",htmlFor:t,children:[e,r&&"*"]}),_=(e,a)=>{let i=e.target.name??"",r=e.target.value??"",n={...t};n[i]=r,l(a,n)},w=e=>{e.preventDefault()};return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)("div",{className:"input-box-with-label",children:[a.label&&b(a.label,"emailField"),(0,y.jsx)(x.default,{...a.inputField,className:m(),id:"emailField",name:"email",type:"email",value:t?.email??"","aria-invalid":f?.email||f?.matchError||c,onChange:e=>_(e,a.inputField.name),onBlur:g,onCut:w,onCopy:w,onPaste:w,disabled:n}),f?.email&&(0,y.jsx)(A.RichText,{className:"error",content:f?.email})]}),(0,y.jsxs)("div",{className:"input-box-with-label",children:[i.label&&b(i.label,"confirmEmailField"),(0,y.jsx)(x.default,{...i.inputField,className:m(),id:"confirmEmailField",name:"confirmEmail",type:"email",value:t?.confirmEmail??"","aria-invalid":f?.email||f?.matchError||c,onChange:e=>_(e,a.inputField.name),onBlur:g,onCut:w,onCopy:w,onPaste:w,disabled:n}),h||(0,y.jsx)(y.Fragment,{}),f?.confirmEmail&&(0,y.jsx)(A.RichText,{className:"error",content:f?.confirmEmail}),f?.matchError&&(0,y.jsx)(A.RichText,{className:"error",content:s}),!Object.keys(f).length&&c&&(0,y.jsx)(A.RichText,{className:"error",content:c})]})]})};var E=e.i(1901),S=t,C=e.i(61576),T=i,N=o,k=a,I=e.i(18090),j=g;let P=e=>{let t,a,i,r,n,s,l,o,c,d,u=(0,C.c)(26),{options:h,onSelect:f,isCleared:p,isDisabled:m,isMulti:g,initialValue:b}=e,_=void 0!==g&&g;u[0]!==b?(t=void 0===b?[]:b,u[0]=b,u[1]=t):t=u[1];let y=t,[x,v]=(0,k.useState)(y),A=(0,k.useRef)(!0);u[2]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{A.current&&(A.current=!1)},u[2]=a):a=u[2],u[3]!==y||u[4]!==x?(i=[y,x],u[3]=y,u[4]=x,u[5]=i):i=u[5],(0,k.useEffect)(a,i),u[6]!==f||u[7]!==x?(r=e=>{let t=[...x];f(t=x.find(t=>t.id===e.id)?x.filter(t=>t.id!==e.id):[...t,e]),v(t)},u[6]=f,u[7]=x,u[8]=r):r=u[8];let w=r;u[9]!==x?(n=e=>!!x.find(t=>t.id===e.id),u[9]=x,u[10]=n):n=u[10];let E=n;u[11]!==_||u[12]!==E||u[13]!==x?(s=e=>_?`button show ${E(e)?"selected":""}`:x.length===j.default.ZERO||E(e)?"show":"hide",u[11]=_,u[12]=E,u[13]=x,u[14]=s):s=u[14];let P=s;return u[15]!==p?(o=()=>{!A.current&&p&&v([])},l=[p],u[15]=p,u[16]=l,u[17]=o):(l=u[16],o=u[17]),(0,k.useEffect)(o,l),u[18]!==P||u[19]!==w||u[20]!==m||u[21]!==E||u[22]!==h?(c=h?.map(e=>(0,S.jsx)(T.Button,{tabindex:0,isDisabled:m,icon:!!E(e)&&(0,S.jsx)(N.Icon,{iconName:"CloseFloatingbanner",height:14,width:14}),isGhost:!1,onClick:()=>w(e),className:P(e),iconPosition:"right",children:e.label},e.id)),u[18]=P,u[19]=w,u[20]=m,u[21]=E,u[22]=h,u[23]=c):c=u[23],u[24]!==c?(d=(0,S.jsx)("div",{className:"webform-button",children:(0,S.jsx)(I.default,{className:"webform-button--group",children:c})}),u[24]=c,u[25]=d):d=u[25],d};var L=e.i(82054),O=e.i(15315),D=e.i(72094),M=e.i(10828),R=e.i(41282),F=e.i(82108),B=e.i(67552),U=e.i(3828),H=e.i(22276),$=e.i(43927),G=t,W=C,Y=e.i(24005);let z=e=>{let t,a,i,r,n=(0,W.c)(18),{handleDropdownChange:s,value:l,isRequired:o,isDisabled:c,item:d,customClearIndicator:u,customDownIndicator:h}=e,f=d?.name;n[0]!==d.options?(t=d?.options?.sort(V),n[0]=d.options,n[1]=t):t=n[1];let p=d?.placeholder;return n[2]!==s||n[3]!==d.isMulti||n[4]!==d.key?(a=e=>{s([e],d.key,d.isMulti)},n[2]=s,n[3]=d.isMulti,n[4]=d.key,n[5]=a):a=n[5],n[6]!==u||n[7]!==h?(i={ClearIndicator:u,DropdownIndicator:h},n[6]=u,n[7]=h,n[8]=i):i=n[8],n[9]!==c||n[10]!==o||n[11]!==f||n[12]!==t||n[13]!==p||n[14]!==a||n[15]!==i||n[16]!==l?(r=(0,G.jsx)(Y.default,{className:"basic-single",classNamePrefix:"select",backspaceRemovesValue:!1,value:l,isDisabled:c,required:o,isClearable:!0,name:f,options:t,placeholder:p,onChange:a,closeMenuOnScroll:!1,tabSelectsValue:!1,components:i}),n[9]=c,n[10]=o,n[11]=f,n[12]=t,n[13]=p,n[14]=a,n[15]=i,n[16]=l,n[17]=r):r=n[17],r};function V(e,t){return e.label<t.label?-1:+(e.label>t.label)}e.s(["default",0,z],85281);let K=({fields:e,notificationMessages:y,initFormValues:x=null,webformAlignment:v,handleOnSubmit:A,handleOnCancel:S,categoryType:C,redirectUrl:T,scrollToEle:N,theme:k,prefetchUrl:I,hideForm:j=!1})=>{let[G,W]=(0,a.useState)({}),[Y,V]=(0,a.useState)({}),[K,q]=(0,a.useState)({}),[Q,Z]=(0,a.useState)(!1),[X,J]=(0,a.useState)(!1),[ee,et]=(0,a.useState)([]),[ea,ei]=(0,a.useState)(""),[er,en]=(0,a.useState)(!0),[es,el]=(0,a.useState)(""),[eo,ec]=(0,a.useState)({asset_attributes_list:[],product_data:[],total_product_count:0,productFamilyName:"",attributeData:[]}),[ed,eu]=(0,a.useState)([]),[eh,ef]=(0,a.useState)(),[ep,em]=(0,a.useState)(!1),[eg,eb]=(0,a.useState)(!1),[e_,ey]=(0,a.useState)(!1),ex=(0,a.useRef)(null),[ev,eA]=(0,a.useState)(!1),[ew,eE]=(0,a.useState)(!1),[eS,eC]=(0,a.useState)(!1),[eT,eN]=(0,a.useState)(!1),[ek,eI]=(0,a.useState)(!1),[ej,eP]=(0,a.useState)(!1),[eL,eO]=(0,a.useState)([]),eD=e?.[0]?.formName,eM=e=>e.wrapper_attributes&&"object"==typeof e.wrapper_attributes&&e.wrapper_attributes.class?.join(" ")||"",eR=e.some(e=>"object"==typeof e.wrapper_attributes&&e.wrapper_attributes?.class?.s
35ome(e=>e.startsWith("col"))),eF=e.filter(e=>"consent_checkbox"===e.type),eB=eF.reduce((e,t)=>{let a=t?.customGroupAttr?.tag;return a&&(e[a]||(e[a]={tag:a,titles:[],messages:[],checkboxes:[]}),t?.customGroupAttr?.title&&!e[a].titles.includes(t.customGroupAttr.title)&&e[a].titles.push(t.customGroupAttr.title),t?.customGroupAttr?.message&&!e[a].messages.includes(t.customGroupAttr.message)&&e[a].messages.push(t.customGroupAttr.message),e[a].checkboxes.push(t)),e},{}),eU=e=>eB?.[e]?.titles?.join(" ")||"",eH=e=>eB?.[e]?.messages?.join(" ")||"",e$=D.config?.onPrem?.WEBFORM_SUBMIT,eG=(0,H.useSelector)(e=>e?.user),eW=(0,U.useRouter)(),{applicationConfiguration:eY}=(0,a.useContext)(L.default),{feDomain:ez}=(0,O.getApiDomainAndLang)(),eV=eY?.siteConfig?.enable_smart_med_mandatory_email_phone,eK=(0,H.useSelector)(e=>e?.common?.refAppId),{isDataReady:eq,user_id:eQ,Region:eZ,...eX}=(0,$.default)(),{checkForDCR:eJ}=(0,b.default)();!function(e){e.EDIT="edit",e.VIEW="view"}({});let[e0,e1]=(0,a.useState)(!1),[e2,e3]=(0,a.useState)(""),[e4,e6]=(0,a.useState)("edit"),[e5,e8]=(0,a.useState)(!1),[e7,e9]=(0,a.useState)(null),[te,tt]=(0,a.useState)([]),[ta,ti]=(0,a.useState)({}),tr=eW?.query?.cu_id??null;(0,a.useEffect)(()=>((async()=>{if(e7)try{let e=(await (0,O.getApi)(`/restapi/pim/sendout-channel?country=${e7}`)).map((e,t)=>({id:t,label:e.name,value:e.id}));tt(e)}catch(e){console.error(e)}})(),()=>{tt([])}),[e7]),(0,a.useEffect)(()=>{if(eV&&!eT&&(ew||ev)){let e=["smart_med_enq_email","smart_med_enq_ph_num"];W(Object.fromEntries(Object.entries(G).filter(([t])=>!e.includes(t))))}},[ev,ew,eS]),(0,a.useEffect)(()=>{if(x){let t={...Y};e?.forEach(e=>{e.key&&Object.keys(x).indexOf(e.key)>=0&&(t[e.key]=x[e.key])}),V(t),q(t)}let t=e?.find(e=>e?.key==="smart_mi_country")??null,a=t?.defaultValue;if(a){let e={...Y,smart_mi_country:["smart_medical_enquiry"===C?a?.value:a]},t={...Y,smart_mi_country:a?.value};ey(!0),V(e),q(t)}"company_onboarding"==C?(e8(!0),ti(x)):e8(!1),("user_profile_dcr"===C||"customer_connect_dcr"===C)&&eI(!0)},[]),(0,a.useEffect)(()=>{!1===Q&&e?.map(e=>{"checkbox"===e.type&&(V(t=>({...t,[`${e.key}`]:e.isChecked})),q(t=>({...t,[`${e.key}`]:e.isChecked})))})},[X]);let tn=()=>"sample_ordering"===C?"sample_ordering":`free-web-form ${eR?"row gap-0":""} ${v?`free-web-form-${v}`:""} ${"tyruko"===k?"free-web-form-full-bleed":""}`,ts=async()=>{let{location:e}=window,t=!!e.hostname.includes("localhost"),a=(0,B.getAssetPrefixUrl)("/api/data-provider/?id=recaptcha",t);return(await fetch(a)).json()};(0,a.useEffect)(()=>{let t=e?.find(e=>"custom_recaptcha_element"===e.type);t&&!t.isDisabled&&(t.recaptchaSiteKey?el(t.recaptchaSiteKey):ts().then(e=>{el(e.recaptchaSiteKey||"")}),en(!1))},[]);let tl=t=>{let a=(0,B.getProfileDetails)(eG),{first_name:i,last_name:r,email_address:n}=a,s=["first_name","last_name","email_address"],l="customer_connect_dcr"===C||"user_profile_dcr"===C?t:a,o={},c={};"dcr"===C||"hcp_callback"===C||"customer_connect_dcr"===C||"user_profile_dcr"===C?(e?.map(e=>{if(e.scoutFieldName&&e.key){let t=l?.[e.scoutFieldName];switch(e.type){case"select":case"webform_term_select":let a=t?e?.options?.find(a=>"select"===e.type?a.value==t:a.label==t):null;a&&(o[e.key]=[a],c[e.key]=e.isMulti?[a.value]:a.value);break;default:o[e.key]=t,c[e.key]=t}s.push(e.key)}}),V({...o}),q({...c})):(V({...Y,first_name:i,last_name:r,email_address:n}),q({...K,first_name:i,last_name:r,email_address:n})),W({...G,first_name:void 0,last_name:void 0,email_address:void 0});let d={...G};s.forEach(e=>{e in d&&delete d[e]}),W({...d})},to=()=>{let e=eG.profile?.response?.profile?.records?.[0]??{},t=y?.warning_message||"warning";if(e?.PersonEmail&&"dcr"===C){let a=eY?.isGlobalSite?eW?.query?.app_id||eK:void 0;eJ(e.PersonEmail,a).then(e=>{e.status&&(e6("view"),e3(`${t} ${e.dcrId}`),e1(!0))})}},tc=async()=>{try{let e=eW?.query;eI(!0);let t=await (0,O.postApi)(I??"",{cid:e?.cid});t&&(tl(t?.records?.[0]),ti(t?.records?.[0])),eI(!1)}catch(e){}};(0,a.useEffect)(()=>{eG&&eG.isLoggedIn&&C&&("customer_connect_dcr"===C?(async()=>{let e=tr?`${I}?company_id=${tr}`:eG?.profile?.response?.profile?.company_id?`${I}?company_id=${eG?.profile?.response?.profile?.company_id}`:I;try{let t=await (0,O.getApi)(e),a=t?.records?.length?t?.records?.[0]:null;a&&(tl(a),ti(a)),eI(!1)}catch(e){}})():"user_profile_dcr"===C?tc():"company_onboarding"===C?(V(x),q(x)):(tl(),"dcr"===C&&to()))},[eG,Q]);let td=["processed_text","button","webform_actions"],tu=t=>(e?.filter(e=>!(!e?.conditionalShow?.conditions||td.includes(e.type))&&!!e?.conditionalShow?.conditions?.filter(e=>e?.selector?.indexOf(t)>=g.default.ZERO)?.length)).map(e=>e.key),th=e?.reduce((e,t)=>
35{let a={...e},i=tu(t.key);return Object.entries(e).forEach(([e,r])=>{let n=r;r.includes(t.key)&&i?.forEach(e=>!n.includes(e)&&n.push(e)),a={...a,[e]:n}}),{...a,[t.key]:i}},{}),tf=(e,t,a,i)=>{let r=th[e];if(!r?.length)return;let n={...t},s={...a},l=i?{...i}:{...G},o=[];r.forEach(e=>{delete n[e],delete s[e],delete l[e],o.push(e)}),et(o),V(n),q(s),W(l)},tp=e=>{let t=eB[e];return!!t&&t.checkboxes.some(e=>{let t=Y[e.key];return!!t&&("boolean"==typeof t?t:"object"==typeof t&&Object.values(t).some(Boolean))})},tm=e=>eL.includes(e),tg=(e,t,a)=>{let{mandatory:i,pattern:r,counter:n}=t;return e?.length<=g.default.ZERO&&i?.required?(eN(!1),i.message):e.length>g.default.ZERO&&r?.required&&r?.regEx&&!RegExp(r?.regEx).test(e)?(eN(!0),r.message):n?.counterMaximum&&["smart_med_enq_f_name","smart_med_enq_l_name","smart_med_enq_req_street","smart_med_enq_city","smart_med_enq_req_state","smart_med_enq_req_post_code","smart_med_enq_ln_kanji","smart_med_enq_fn_kanji","smart_med_enq_ln_katakana","smart_med_enq_fn_katakana"].includes(a)&&e.length>n.counterMaximum?n.counterMaximumMessage:null},tb=(e,t)=>{let a={...G};t?a[e]=t:delete a[e],W(a)},t_=(e,t)=>{e.preventDefault();let a=`${e.target.name}`,i=e.target.value.trim(),r={...G},n=tg(i,t,a);if(n?r[a]=n:delete r[a],eV&&!eT){if(r?.smart_med_enq_email&&ew||r?.smart_med_enq_ph_num&&ev)return void W(Object.keys(G).filter(e=>e!==a).reduce((e,t)=>(e[t]=G[t],e),{}));W(r)}else W(r);eC(!eS),tf(a,Y,K,r)},ty=e=>{eu(e)},tx=(e,t)=>!!eV&&("smart_med_enq_ph_num"===e&&!!ev||"smart_med_enq_email"===e&&!!ew)&&{mandatory:{required:!1,message:""},pattern:t?.pattern},tv=(e,t)=>!!eV&&("smart_med_enq_ph_num"===e&&!!ev||"smart_med_enq_email"===e&&!!ew)&&{name:t.name,placeholder:t.placeholder,required:!1},tA=(e,t=null)=>{let a=`${e.target.name}`,i=e.target.value.trim();"smart_med_enq_ph_num"===a&&(i.length>0?eE(!0):eE(!1)),"smart_med_enq_email"===a&&(i.length>0?eA(!0):eA(!1));let r={...Y};r[a]=i,V(r);let n={...K};if(n[a]=i,q(n),J(!1),t){let e={...G},r=tg(i,t,a);r?e[a]=r:delete e[a],W(e)}},tw=e=>{let t=`${e.target.name}`,a=e.target.value,i={...Y};i[t]=a,V(i);let r={...K};r[t]=a.trim(),q(r),J(!1),tf(t,i,r)},tE=(e,t,a,i="",r=null)=>{let n,s;"group"===t?(n=Y[a]?{...Y[a],[i]:e.target.checked}:{[i]:e.target.checked},s=e.target.checked?K[a]?[...K[a],i]:[i]:K[a].filter(e=>e!==i)):(n=e.target.checked,s=e.target.checked),"company_onboarding"==C&&n?e8(!1):"company_onboarding"!=C||n||e8(!0);let l={...Y};l[a]=n,V(l);let o={...K};o[a]=s;let c={...G};if(r){let e=tg("group"===t||s?s:[],r,a);e?c[a]=e:delete c[a],W(c)}if(a.startsWith("consent_checkbox")){eP(!0);let e=eF.find(e=>e.key===a),t=e?.customGroupAttr?.tag||a;eO(e=>e.includes(t)?e:[...e,t])}q(o),J(!1),tf(a,l,o,c)},tS=(e,t)=>{let a={...Y};a[t]=e,V(a);let i={...K};i[t]=e,q(i),J(!1)},tC=e=>{if(ex.current){let t=ex?.current?.querySelector(`#${e} .clear-selected-button`);t&&t.click()}},tT=async(t,a,i)=>{let r=t?.length?t?.map(e=>e?.value):[],n={...Y};(!e_||e_&&"smart_mi_country"!==a)&&(n[a]=r);let s={...K};("soi_2_country"===a||"country"===a)&&(e9(r),n.soi_2_channel=[],s.soi_2_channel=[],n.channel=[],s.channel=[],tC("soi_2_country"===a?"soi_2_channel":"channel")),i?s[a]=r:r?.length?s[a]=r[g.default.ZERO]:delete s[a],V(n),q(s),J(!1),delete G[a],tf(a,n,s);let l=e?.filter(e=>e?.logoFieldValue?.length>0?e:null),o=l?.[0]?.logoFieldValue?.filter(e=>e?.label===t?.[0]?.label);ef(o?.[0]?.field_logo)},tN=(e,t)=>{let a={...Y};a[e]=t,V(a);let i={...K};i[e]=t?.email,q(i),J(!1),tf(e,a,i)},tk=e=>{e?en(!0):en(!1)},tI=(e=!0)=>{if(Z(!1),et([]),S&&e&&S(),!S){let e,t;if(e_){let{smart_mi_country:a}=Y;e={smart_mi_country:a},t={smart_mi_country:a?.[0]}}else e={},t={};V(e),q(t),J(!0),em(e=>!e),ec({asset_attributes_list:[],product_data:[],total_product_count:0,productFamilyName:"",attributeData:[]})}("customer_connect_dcr"===C||"user_profile_dcr"===C)&&tl(ta),("dcr"===C||"hcp_callback"===C)&&(tl(),"dcr"===C&&to()),"company_onboarding"==C&&(e8(!0),V(x),q(x)),eO([]),eP(!1),W({}),setTimeout(()=>{N?document?.getElementsByClassName(N)[0]?.scrollIntoView():window?.scrollTo({left:g.default.ZERO,top:g.default.ZERO,behavior:"smooth"})},g.default.HUNDRED)},tj=(e,t,a,i)=>{let r=a,n={id:t,value:e,productFoundText:i},s={...Y};s[r]="smart_med_enq_product"===r||"soi_2_search_autocomplete"===r?e:n,V(s);let l={...K};l[r]="smart_med_enq_product"===r||"soi_2_search_autocomplete"===r?e:n,q(l),J(!1),tf(r,s,l)},tP=async(e,t,a)=>{eb(!0);try{let i=await (0,O.getApi)(`/restapi/pim/csv-product-listing-sendout?pim_brand=${e}&country=${t}&channel=${a}&page=all`);ec(i),eb(!1)}catch(e){console.error("Error fetching data:",e),ec({asset_attributes_list:[],product_data:[],total_product_count:0,productFamilyName:"",attributeData:[]})}},tL=e=>{ei(e),setTimeout(()=>{y?.[`message_close_${e}`]||ei("")},g.default.TEN_THOUSAND)},tO=()=>{ei("")},tD=Object.keys(eB).every(e=>tp(e)),tM=!!Y?.smart_med_enq_email?.trim?.()||!!Y?.smart_med_enq_ph_num?.trim?.(),tR=e.some(e=>{if(!e?.validations?.mandatory?.required)return!1;if(eV&&("smart_med_enq_email"===e.key||"smart_med_enq_ph_num"===e.key))return!tM;if("consent_checkbox"===e.type||e.conditionalShow&&!tW(e.conditionalShow,e.key))return!1;let t=Y[e.key];return null==t||""===t||Array.isArray(t)&&0===t.length});(0,a.useEffect)(()=>{tD&&eP(!1)},[tD]);let tF=t=>{t.preventDefault();let a={...G};
35e?.forEach(e=>{let t=e.key??"",i=Y[t]??"";if("consent_checkbox"!==e.type){if(eV&&("smart_med_enq_ph_num"===t||"smart_med_enq_email"===t)&&(ev||ew))delete a[t];else if(e.validations&&!G[t]){let r;(r="checkbox"!==e.type||e.conditionalShow?e?.type==="webform_email_confirm"&&i?.email!==i?.confirmEmail?e?.validationErrorMessage:!!(!e.conditionalShow||e.conditionalShow&&tW(e.conditionalShow,e.key))&&tg(i,e.validations,e.fieldName):tg(i||[],e.validations,e.fieldName))?a[t]=r:delete a[t]}}});let i=Object.keys(eB).filter(e=>!tp(e));if(i.length>0)return eP(!0),eO(i),"window";let r=document.getElementsByClassName("generic-webform-recaptcha");er?r?.[0]?.classList.remove("invalid"):r?.[0]?.classList.add("invalid");let n=Object.keys(a).length;return(!!n||!1===er)&&((W(a),n&&Object.keys(a)?.[0])?Object.keys(a)?.[0]??"window":"window")},tB=(e,t)=>{let a={...e,soi_2_search_autocomplete:e?.soi_2_search_autocomplete??""};return t.length>0&&(a.product_data=t),a},tU=async t=>{t.preventDefault();let a=!0,i=tF(t);if(i){let e="window"!==i?document.getElementById(i):null,t=e?e.offsetLeft:g.default.ZERO,a=e&&e.offsetTop>g.default.FORTY?e.offsetTop-g.default.FORTY:g.default.ZERO;setTimeout(()=>{window?.scrollTo({left:t,top:a,behavior:"smooth"})},g.default.HUNDRED)}else{try{Z(!0);let t="pim_sendout_interface_two"===eD?tB({...K},ed):"user_detail"===eD?{...K,scout_id:eW?.query?.cid}:{...K};if(Object.keys(t).forEach(e=>{e.startsWith("consent_checkbox")&&Array.isArray(t[e])&&(t[e]=t[e].length>0)}),"dcr"===C||"hcp_callback"===C){let e=(0,B.getProfileDetails)(eG);t.scout_id=e?.scout_id??"",t.app_id=eW?.query?.app_id||""}e?.find(e=>"wde_number"===e.key)&&eW?.query?.wde&&(t.wde_number=window.location.href);let{fail:i,error:r}=await (0,O.middlewarePostAPI)(e$,{webform_id:eD,...t});if("user_profile_dcr"===C&&tc(),Z(!1),a=!1,i)tL("error"),requestAnimationFrame(()=>{window?.scrollTo({left:g.default.ZERO,top:g.default.ZERO,behavior:"smooth"})});else{if(tL("success"),tI(!1),A&&A(y.success_message??"success"),T)return eW.push(T),T;ec({asset_attributes_list:[],product_data:[],total_product_count:0,productFamilyName:"",attributeData:[]})}let n={form_name:eD,form_error:i?`${Object.keys(r?.data?.error)?.join(", ")} missing`:"",form_status:i?"error":"submitted",formId:"",formFields:t??"",...eX,interactionName:M.EVENTS.FORM_SUBMISSION};(0,F.dataLayerPush)(M.EVENTS.FORM_SUBMISSION,n)}catch(t){Z(!1),t&&tL("error");let e={form_name:eD,form_error:t,form_status:"error"};(0,F.dataLayerPush)(M.EVENTS.FORM_SUBMISSION,e),(0,R.handleDataLayerError)(`${eD} form submission failed`,`${eD} Form`)}"user_profile_dcr"===C&&setTimeout(()=>{N?document?.getElementsByClassName(N)[0]?.scrollIntoView():window?.scrollTo({left:g.default.ZERO,top:g.default.ZERO,behavior:"smooth"})},g.default.HUNDRED),eA(!1),eE(!1)}},tH=e=>(0,t.jsxs)(t.Fragment,{children:[e?.description&&(0,t.jsx)("div",{className:"description",children:(0,t.jsx)(u.RichText,{content:e.description})}),e?.helpText&&(0,t.jsx)("div",{className:"help-text",children:(0,t.jsx)(u.RichText,{content:e.helpText})}),e?.helpDescription&&(0,t.jsx)("div",{className:"help-text",children:(0,t.jsx)(u.RichText,{content:e.helpDescription})})]}),t$=()=>
35(0,t.jsx)("div",{children:(0,t.jsx)(o.Icon,{iconName:"chevronDownBuyNow"})}),tG=()=>(0,t.jsx)("div",{onClick:()=>{V({...Y,smart_mi_country:[]}),tT([],"smart_mi_country",!1)},onTouchStart:()=>{V({...Y,smart_mi_country:[]}),tT([],"smart_mi_country",!1)},children:(0,t.jsx)(o.Icon,{iconName:"CrossIcon"})}),tW=(e,t)=>{let{isMultiCheck:a=!1,multiCheckOperator:i=null,conditions:r=[]}=e,n=r.map(e=>{let a=e?.selector;try{let i=a?.indexOf("[")>g.default.ZERO,r=a?.split("[")??[],n=e?.value,s=e?.operator,l=i?Y[r[g.default.ZERO]]:Y[a];if(l)switch(s){case"equal":if("object"==typeof l)return l.indexOf(n)>=g.default.ZERO;if(l===n)return!0;delete Y[t];break;case"checked":if(i){if(l?.[r[1]])return!0;delete Y[t];break}return!0;default:delete Y[t]}}catch(e){}return!1});return a&&"and"===i?!n.filter(e=>!e).length:!!n.filter(Boolean).length},tY=e=>Object.entries(G).map(([t,a])=>e===t?a:"").join(""),tz=(e,n)=>(e?.type==="button"&&"submit"===e.role&&(e$=e.url),(0,t.jsxs)(t.Fragment,{children:[e?.type==="processed_text"&&(0,t.jsx)("div",{className:`plain-text ${eM(e)}`,children:(0,t.jsx)(u.RichText,{content:e?.text})},n),(e?.type==="textfield"||e?.type==="tel"||e?.type==="email"||e?.type==="number")&&(e?.readOnly?(0,t.jsx)(t.Fragment,{children:Y[e?.inputField?.name]&&(0,t.jsxs)("div",{className:"key-value-pair",children:[(0,t.jsx)("div",{className:"key-value-pair-label",children:e?.label}),(0,t.jsx)("div",{className:"key-value-pair-data",children:Y[e.inputField.name]})]})}):(0,t.jsxs)(t.Fragment,{children:[e?.toolTipText&&(0,t.jsx)("div",{className:"tooltip-icon",children:(0,t.jsx)(f.Tooltip,{tooltipContent:e?.toolTipText})}),(0,t.jsx)("div",{id:e.key,className:eM(e),children:(0,a.createElement)(E.default,{...e,inputField:tv(e?.key,e?.inputField)||e?.inputField,value:Y[e.inputField.name],key:n,name:e.key,disabled:e.isDisabled||"view"===e4,onBlurhandler:t=>t_(t,tx(e.key,e.validations)||e.validations),onChangehandler:tA,error:tY(e.inputField.name),helpDescriptionText:e.description||e.helpText?tH(e):"",maxLength:e.maxLength,validations:tx(e.key,e.validations)||e.validations})})]})),e?.type==="webform_email_confirm"&&(0,t.jsx)("div",{id:e.key,className:`${eM(e)}`,children:(0,t.jsx)(w,{name:e.key,...e,isDisabled:e.isDisabled||"view"===e4,isRequired:e.validations.mandatory.required,value:Y[e.key],onChange:tN,validationErrorMessage:e.validationErrorMessage,handleError:tb,checkForError:tg,error:G[e.key],helpDescriptionText:e.description||e.helpText?tH(e):""},n)}),e?.type==="checkbox"&&(0,t.jsxs)("div",{className:`input-checkbox ${eM(e)}`,id:e.key,children:[e?.label&&(0,t.jsx)("div",{className:"inputCheckBox-withLabel",children:(0,t.jsx)(u.RichText,{content:e?.isRequired?`${e?.label}*`:e?.label})})||"smart_med_enq_consent"===e.key&&e?.title&&(0,t.jsx)("div",{className:"inputCheckBox-withLabel",children:(0,t.jsx)(u.RichText,{content:e?.isRequired?`${e?.title}*`:e?.title})}),(0,t.jsx)(r.CheckBox,{label:"smart_med_enq_consent"===e.key?(0,t.jsx)(u.RichText,{content:e?.description}):e?.label?e?.title:e?.isRequired?`${e?.title}*`:e?.title,id:e.key,required:e.isRequired,isDisabled:e.isDisabled||"view"===e4,value:e.value,error:G[e.key],isChecked:Y[e.key]??!1,onChange:t=>tE(t,null,e.key,"",e.validations)}),"smart_med_enq_consent"!==e.key&&(0,t.jsx)("div",{className:"checkbox-description",children:tH(e)})]},n),e?.type==="webform_time"&&(0,t.jsxs)("div",{className:`input-timepicker ${eM(e)}`,id:e.key,children:[(0,t.jsx)(m.default,{inputLabel:e.isRequired?`${e.label}*`:e.label,value:e.value,id:e.key,isDisabled:e.isDisabled||"view"===e4,onChange:t=>tS(t,e.key)}),tH(e),G[e.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(u.RichText,{content:G[e.key]})})]},n),e?.type==="radios"&&(0,t.jsxs)("fieldset",{className:`input-radio-group ${eM(e)}`,"aria-labelledby":e.key,"aria-required":e.validations.mandatory.required,id:e.key,children:[(0,t.jsxs)("label",{htmlFor:e.key,"aria-required":e.validations.mandatory.required,className:"inputWith-label",children:[e.label,e.validations.mandatory.required&&"*"]}),e?.options?.map(a=>(0,t.jsx)(p.default,{label:a.label,id:`${e.key}-${a.id}`,value:a.value,name:e.key,isChecked:Y?.[e.key]===a.value,isDisabled:e.isDisabled||"view"===e4,required:e.validations.mandatory.required,onChange:t=>tA(t,e.validations)},`${e.key}-${a.id}`)),tH(e),G[e.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(u.RichText,{content:G[e.key]})})]},n),e?.type==="checkboxes"&&(0,t.jsxs)("fieldset",{className:`input-checkbox-group ${eM(e)}`,"aria-required":e.validations.mandatory.required,id:e.key,children:[(0,t.jsxs)("label",{htmlFor:e.key,"aria-required":e.validations.mandatory.required,
35className:"inputWith-label",children:[e.label,e.validations.mandatory.required&&"*"]}),e?.options?.map(a=>(0,t.jsx)(r.CheckBox,{label:a.label,id:`${e.key}-${a.id}`,value:a.value,name:e.key,isDisabled:e.isDisabled||"view"===e4,isChecked:Y?.[e.key]?.[a.value]??!1,onChange:t=>tE(t,"group",e.key,a.value,e.validations)},`${e.key}-${a.id}`)),tH(e),G[e.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(u.RichText,{content:G[e.key]})})]},n),e?.type==="consent_checkbox"&&e?.customGroupAttr&&eF.length>0&&(0,t.jsxs)(t.Fragment,{children:[e.key===eB[e.customGroupAttr.tag]?.checkboxes?.[0]?.key&&eU(e.customGroupAttr.tag)&&(0,t.jsx)("div",{className:"input-box-with-label mb-2",children:(0,t.jsx)("p",{className:"inputBox-withLabel",children:`${eU(e.customGroupAttr.tag)}${e.isRequired?"*":""}`})}),(0,t.jsxs)("fieldset",{className:`input-checkbox-group consent-checkbox ${eM(e)}`,"aria-required":e.validations.mandatory.required,id:e.key,children:[(0,t.jsx)(r.CheckBox,{label:e.description,id:`${e.key}`,value:e.value,name:e.key,isDisabled:e.isDisabled||"view"===e4,isChecked:Y?.[e.key]?.[e.value]??!1,onChange:t=>tE(t,"group",e.key,e.value,e.validations)},`${e.key}`),e.key===eB[e?.customGroupAttr?.tag]?.checkboxes?.[eB[e?.customGroupAttr?.tag]?.checkboxes?.length-1]?.key&&ej&&tm(e.customGroupAttr?.tag||e.key)&&!tp(e.customGroupAttr?.tag||e.key)&&eH(e.customGroupAttr?.tag)&&(0,t.jsx)("div",{className:"error mt-2",children:(0,t.jsx)(u.RichText,{content:eH(e.customGroupAttr?.tag)})})]},n)]}),e?.type==="date"&&(0,t.jsxs)("div",{className:`input-datepicker ${eM(e)}`,id:e.key,children:[e.label&&(0,t.jsxs)("label",{htmlFor:`date-${e.key}`,"aria-required":e.validations.mandatory.required,className:"inputWith-label",children:[e.label,e.validations.mandatory.required&&"*"]}),(0,t.jsx)(s.DatePicker,{className:G[e.key]?"":"invalid",name:e.key,isDisabled:e.isDisabled||"view"===e4,value:Y[e.key]??"",setValue:t=>tS(t,e.key)},`date-${e.key}`),tH(e),G[e.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(u.RichText,{content:G[e.key]})})]},n),(e?.type==="select"&&!e?.isBtnStyled||e?.type==="webform_term_select")&&"smart_mi_country"!=e.key&&(0,t.jsxs)("div",{ref:ex,className:`${eM(e)} input-select${G[e.key]?" invalid-select":""}${"smart_mi_country"===e.key&&e_?" smart-readonly":""}`,id:e.key,children:[e.label&&(0,t.jsxs)("label",{htmlFor:`dropdown-${e.key}`,"aria-required":e.validations.mandatory.required,className:"inputWith-label",children:[e.label,e.validations.mandatory.required&&"*"]}),(0,t.jsx)(l.DropDown,{id:`dropdown-${e.key}`,ariaLabel:e.label||"",options:"soi_2_channel"===e.key||"channel"===e.key?te:e.options||[],name:e.key,placeHolder:e.placeholder,isCleared:("smart_mi_country"!==e.key||!e_)&&(X||ee?.indexOf(e.key)>=g.default.ZERO),showPlaceholder:!!e.placeholder,intialValue:Y?.[e.key]&&Array.isArray(Y[e.key])&&"string"!=typeof Y[e.key]?.[0]?Y[e.key]:e.options.filter(t=>Y[e.key]?.includes(t?.value))??[],isDisabled:e.isDisabled||"view"===e4||"smart_mi_country"===e.key&&e_,shouldToggleOnHover:"smart_mi_country"!==e.key||!e_,isRequired:e?.validations?.mandatory?.required||!1,onValueChange:t=>tT(t,e.key,e.isMulti),isMulti:e.isMulti||!1,resetWithInitVal:"dcr"===C||"hcp_callback"===C}),tH(e),G[e.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(u.RichText,{content:G[e.key]})})]},n),e?.type==="webform_term_select"&&"smart_mi_country"===e.key&&(0,t.jsxs)("div",{ref:ex,className:`${eM(e)} input-select${G[e.key]?" invalid-select":""}${"smart_mi_country"===e.key&&e_?" smart-readonly":""}`,id:e.key,children:[e.label&&(0,t.jsxs)("label",{htmlFor:`dropdown-${e.key}`,"aria-required":e.validations.mandatory.required,className:"inputWith-label",children:[e.label,e.validations.mandatory.required&&"*"]}),(0,t.jsx)(z,{value:e.options.filter(t=>Y[e.key]?.includes(t?.value))??[],handleDropdownChange:tT,isRequired:e?.validations?.mandatory?.required||!1,isDisabled:e.isDisabled||"view"===e4||"smart_mi_country"===e.key&&e_,item:e,customClearIndicator:tG,customDownIndicator:t$}),tH(e),G[e.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(u.RichText,{content:G[e.key]})})]},n),e?.type==="select"&&e?.isBtnStyled&&(0,t.jsxs)("div",{className:`${eM(e)} select-styled input-select${G[e.key]?" invalid-select":""}`,id:e.key,children:[e.label&&(0,t.jsxs)("label",{htmlFor:`dropdown-${e.key}
35`,"aria-required":e.validations.mandatory.required,className:"inputWith-label",children:[e.label,e.validations.mandatory.required&&"*"]}),(0,t.jsx)(P,{options:e.options||[],isCleared:X,isDisabled:e.isDisabled||"view"===e4,isMulti:e.isMulti||!1,initialValue:[],onSelect:t=>tT(t,e.key,e.isMulti)},e.key),tH(e),G[e.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(u.RichText,{content:G[e.key]})})]},n),e?.type==="textarea"&&(0,t.jsxs)("div",{className:`${eM(e)} input-textarea`,id:e.key,children:[e.label&&(0,t.jsxs)("label",{htmlFor:`textarea-${e.key}`,"aria-required":e.validations.mandatory.required,className:"inputWith-label",children:[e.label,e.validations.mandatory.required&&"*"]}),(0,t.jsx)("textarea",{id:`textarea-${e.key}`,name:e.key,value:Y[e.key]??"",disabled:e.isDisabled||"view"===e4,className:G[e.key]?"invalid":"",maxLength:e.maxLength??void 0,required:e.validations.mandatory.required||!1,onBlur:t=>t_(t,e.validations),onChange:tw}),tH(e),G[e.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(u.RichText,{content:G[e.key]})})]},n),e?.type==="custom_recaptcha_element"&&!e?.isDisabled&&es&&(0,t.jsx)("div",{className:"generic-webform-recaptcha",children:(0,t.jsx)(d.Recaptcha,{sitekey:es,onChange:tk})},n),e?.type==="button"&&"submit"===e.role&&(0,t.jsx)(i.Button,{type:e.role,tabindex:g.default.TWO,isDisabled:!!Object.keys(G).length||tR||!tD||!er||"view"===e4||e5,className:`submit-btn ${eR?"w-auto":""}`,onClick:tU,children:e.text},n),e?.type==="button"&&e?.role==="reset"&&(0,t.jsx)(i.Button,{type:e.role,tabindex:g.default.TWO,isSecondary:!0,onClick:()=>tI(),isDisabled:"view"===e4,className:`reset-btn ${eR?"w-auto":""}`,children:e.text},n),e?.type==="webform_autocomplete"&&(0,t.jsx)(h.SuggestionBar,{...e,fieldsData:Y,handleSearchText:tj,handleSearchAction:tP,productTableData:eo,handleProductTableChange:ty,isClear:ep,isLoading:eg,errors:G,setErrors:W})]})),tV=()=>(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,B.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})});return(0,t.jsxs)("div",{className:"container",children:[ek&&tV(),Q&&tV(),e0&&e2?(0,t.jsx)(_.default,{displayMessageType:"warning",displayTxt:e2}):null,(0,t.jsxs)("form",{className:tn(),autoComplete:"off",onSubmit:tU,children:[!!ea&&(0,t.jsx)(_.default,{displayMessageType:ea,onClose:y?.[`message_close_${ea}`]&&tO,messageClose:y?.[`message_close_${ea}`]??!1,displayTxt:y?.[`${ea}_message`]??ea}),eh?.src&&(0,t.jsx)("div",{className:"field-logo",children:(0,t.jsx)(c.Img,{src:eh?.src,width:80,height:80,alt:"logoImage",type:"logo"})}),!j&&e?.map((e,a)=>"tyruko"===k?e?.type==="checkbox"||e?.type==="processed_text"?(0,t.jsx)(n.Column,{desktop:10,tablet:12,mobile:12,children:(0,t.jsx)(t.Fragment,{children:e.conditionalShow?tW(e.conditionalShow,e.key)&&tz(e,a):tz(e,a)})},a):(0,t.jsx)(n.Column,{desktop:4,tablet:8,mobile:12,children:(0,t.jsx)(t.Fragment,{children:e.conditionalShow?tW(e.conditionalShow,e.key)&&tz(e,a):tz(e,a)})},a):e.conditionalShow?tW(e.conditionalShow,e.key)&&tz(e,a):tz(e,a))]})]})},q={BOOKMARKS:"bookmarks",FAVOURITES:"favourites",CUSTOM_BLOCK:"custom_block",WEBFORM:"webform",CONSENT:"consent",CERTIFICATES:"certifications",ORDER_HISTORY:"ecomm_order_history",WISHLIST:"ecomm_my_wishlist"};e.s(["default",0,q],81331)},73688,e=>{"use strict";e.s(["default",()=>p]);var t=e.i(91398);e.i(48756);var a=e.i(38233),i=e.i(6271),r=e.i(47266),n=e.i(94827),s=e.i(22276),l=e.i(91788),o=e.i(72094),c=e.i(42616),d=e.i(36762),u=e.i(92507),h=e.i(3828);let f=4,p=e=>{let{certificationBlockTitle:p,certificationBlockDesc:m,certificationBlockCtaLabel:g,showAllCerts:b=!1}=e,[_,y]=(0,l.useState)(!0),[x,v]=(0,l.useState)(0),[A,w]=(0,l.useState)([]),[E,S]=(0,l.useState)(0),[C,T]=(0,l.useState)(f),N=(0,s.useSelector)(e=>e.user),k=(0,h.useRouter)();(0,l.useMemo)(()=>{let e=async()=>{y(!0);let e=await (0,c.getCertificationInfo)(`${o.config.onPrem.CERTIFICATE_API_URL}?page=${x}`);if(e){let t=e?.totalCount,a=Number(e?.itemsPerPage)??f;w(b?e?.certificates:e?.certificates.slice(0,4)??[]),T(a),S(t)}y(!1)};N?.isLoggedIn&&e()},[x]);let I=e=>{v(e/C)},j=()=>{k.push("/my-profile?tab=certifications-tab")},P=()=>m?.replace("@cert_count",E?.toString());return N?.isLoggedIn&&A.length>0?(0,t.jsxs)("div",{className:"certifications-container",children:[(0,t.jsx)("div",{className:"certificate-header",children:(0,t.jsx)(u.default,{title:p,description:P(),searchKey:""})}),(0,t.jsx)(i.Container,{children:_?(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(r.Loa
35der,{display:!0})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"certification-list",children:A?.map((e,a)=>(0,t.jsx)(n.default,{detailsPath:"",cardType:"certificate",certificateLabel:e?.certificateLabel,certificateTitle:e?.certificateTitle,certificateDate:e?.certificateDate,desc:e.desc,certificateCta:e.certificateCta,desktopColumns:e?.desktopColumns,tabletColumns:e?.tabletColumns,certificatePath:e?.certificatePath},a))}),(0,t.jsx)("div",{className:"search-filter-pagination",children:E>C&&b&&(0,t.jsx)("div",{className:"search-filter-pagination",children:(0,t.jsx)(d.default,{itemsPerPage:C,itemsCount:E,onClick:I,offSet:x})})})]})}),!b&&(0,t.jsx)("div",{children:(0,t.jsx)(a.Button,{tabindex:0,onClick:()=>j(),children:g})})]}):(0,t.jsx)(t.Fragment,{})}},16164,68244,26,38386,42496,76709,e=>{"use strict";e.s(["default",()=>al],16164);var t=e.i(91398),a=e.i(91788),i=e.i(61878),r=e.i(6818),n=e.i(22276);e.i(48756);var s=e.i(86463),l=e.i(49266),o=e.i(47266),c=e.i(16397),d=e.i(1803),u=e.i(67552),h=e.i(82108),f=e.i(10828),p=e.i(62532);e.i(35958);var m=e.i(41734),g=e.i(89861),b=e.i(81331),_=e.i(73688),y=t,x=a,v=n,A=e.i(31808),w=l,E=e.i(5223),S=e.i(97268);e.i(41871);var C=e.i(87612),T=e.i(76988);e.s(["TitleDescription",()=>N.default],68244);var N=e.i(92507),N=N;e.s(["default",()=>ey],26);var k=t,I=a,j=n,P=e.i(82054),L=e.i(45861),O=l,D=e.i(70184),M=t,R=e.i(61576),F=e.i(81352),B=e.i(67985),U=e.i(91934),H=a,$=e.i(7113),G=n,W=e.i(61601),Y=e.i(47864),z=e.i(89160),V=P,K=e.i(40139),q=e.i(74811),Q=t;let Z=(e,t,a,i)=>!e||["Available","Wishlist","Add to Cart","Quantity","Quantity In Cart Text","WholeSaler Only"].includes(e)||1===t||a&&"net_price"===i?null:(0,Q.jsx)("span",{className:"specification-title-eshop",children:e});var X=t,J=R,ee=e.i(91083),et=e.i(28301),ea=e.i(48471),ei=e.i(71085);let er=e=>{if("string"==typeof e||"boolean"==typeof e)return e},en=e=>{let t,a,i,r,n,s,l,o,c=(0,J.c)(22),{description:d,labels:u,notify_me:h,isSoldOutIconClicked:f,isNotified:p,onSoldOutIconClick:m}=e;if(c[0]!==d||c[1]!==u||c[2]!==h){let e=er(d);t=e?"dot-green":"dot-red",a=(0,et.getAvailabilityLabel)(e,u),i=(0,ea.getAvailabilityShape)(e),r=1===h&&(!e||(0,ea.isBackOrderStatus)(e)),c[0]=d,c[1]=u,c[2]=h,c[3]=t,c[4]=a,c[5]=i,c[6]=r}else t=c[3],a=c[4],i=c[5],r=c[6];let g=r,b=`availability-shape ${i?.shape==="circle-with-clock"?"has-clock":""} ${g?"has-notify":""}`;return c[7]!==t||c[8]!==p||c[9]!==f||c[10]!==m||c[11]!==i||c[12]!==g?(n=i?(0,X.jsx)(ei.ShapeRenderer,{shape:i.shape,color:i.color,clockColor:i?.clockColor,showNotifyMe:g,onNotifyClick:m,notifyIconName:f||p?"SoldOutFill":"SoldOutIcon"}):(0,X.jsx)("div",{className:`dot ${t}`}),c[7]=t,c[8]=p,c[9]=f,c[10]=m,c[11]=i,c[12]=g,c[13]=n):n=c[13],c[14]!==b||c[15]!==n?(s=(0,X.jsx)("div",{className:b,children:n}),c[14]=b,c[15]=n,c[16]=s):s=c[16],c[17]!==a?(l=(0,X.jsx)("div",{className:"availability-tooltip-wrapper",children:(0,X.jsx)(ee.default,{value:a,tooltipPosition:"top"})}),c[17]=a,c[18]=l):l=c[18],c[19]!==s||c[20]!==l?(o=(0,X.jsx)("div",{className:"productCardListViewContent-availability",children:(0,X.jsx)("div",{className:"specification-title-eshop availability-container",children:(0,X.jsxs)("div",{className:"availability-tooltip-container",children:[s,l]})})}),c[19]=s,c[20]=l,c[21]=o):o=c[21],o};var es=ea,el=et,eo=e.i(5914),ec=e.i(94516);let ed=e=>{let t,a,i,r,n,s,l,o=(0,R.c)(50),{title:c,description:d,className:u,onWishlistClick:h,onAddToCartClick:f,labels:p,productId:m,wishlistId:g,onQuantityChange:b,fieldKey:_,quantityValue:y,isWishlistValue:x,isTemporarilyAdded:v,isActive:A,notify_me:w,isNotified:E,onSoldOutIconClick:S,isSoldOutIconClicked:C,isLabelHidden:T,hasNetPrice:N,productStatusIndicator:k,isPriceEqual:I,wholeSalerText:j,isListPriceZero:P,currencyValue:L,heading:O,discountHoverText:D,listPriceExist:Q,showStrikeThrough:X}=e,J=void 0===u?W.EMPTY_STRING:u,ee=void 0===T?0:T,{applicationConfiguration:et}=(0,H.useContext)(V.default),[ea,ei]=(0,H.useState)(x??!1),{setAddToWishlistEventDataLayer:er}=(0,eo.useEshopCartGtmEvents)(),ed=(0,G.useSelector)(eu),em=ed?.productsInCart,eg=em?.map(eh),eb=et?.siteConfig?.number_format,e_=(0,G.useSelector)(ef),ey=(0,G.useSelector)(ep);if(o[0]!==e_||o[1]!==m?(t=()=>{e_&&0!==Object.keys(e_).length&&(void 0!==m&&e_?.[m]?ei(!0):ei(!1))},o[0]=e_,o[1]=m,o[2]=t):t=o[2],o[3]!==ey||o[4]!==e_||o[5]!==m?(a=[ey,e_,m],o[3]=ey,o[4]=e_,o[5]=m,o[6]=a):a=o[6],(0,H.useEffect)(t,a),c===Y.PRODUCT_LABELS.SPEC_ID||c===Y.PRODUCT_LABELS.WISHLIST_ITEM_ID||c===Y.PRODUCT_LABELS.IS_ACTIVE||c===Y.PRODUCT_LABELS.IS_NOTIFIED||c===Y.PRODUCT_LABELS?.LIST_PRICE_ASTERISK||c===Y.PRODUCT_LABELS?.NET_PRICE_ASTERISK)return null;o[7]!==O||o[8]!==ea||o[9]!==h||o[10]!==m||o[11]!==er||o[12]!==g?(i=()=>{let e=!ea;ei(e),h&&m&&h(m.toString(),!e,g),e&&er({productId:m,heading:O})},o[7]=O,o[8]=ea,o[9]=h,o[10]=m,o[11]=er,o[12]=g,o[13]=i):i=o[13];let ex=i;o[14]!==f?(r=()=>{f?.()},o[14]=f,o[15]=r):r=o[15];let ev=r;o[16]!==S||o[17]!==m?(n=()=>{S&&m&&S(m.toString())},o[16]=S,o[17]=m,o[18]=n):n=o[18];let eA=n;o[19]!==d||o[20]!==em||o[21]!==m?(s=em?.find(e=>e.productId===m)?.selectedQty.toString()??d,o[19]=d,o[20]=em,o[21]=m,o[22]=s):s=o[22];let ew=s,eE="string"==typeof k?(0,es.normalizeStatus)(k):"",eS=["Available","Quantity","Add to Cart","Wishlist","Quantity In Cart Text"],eC=P&&eS.includes(c),eT=P&&"Add to Cart"===c;if(eC&&!eT)return null;if(eT){let e,t,a,i,r,n=_||W.EMPTY_STRING;o[23]!==J||o[24]!==n||o[25]!==c?(e=(0,q.getClasses)(n,c,J),o[23]=J,o[24]=n,o[25]=c,o[26]=e):e=o[26],o[27]!==_||o[28]!==ee||o[29]!==P||o[30]!==c?(t=Z(c,ee,P,_),o[27]=_,o[28]=ee,o[29]=P,o[30]=c,o[31]=t):t=o[31];let s=_||W.EMPTY_STRING;o[32]!==N||o[33]!==I||o[34]!==s?(a=(0,q.getClassName)(s,N,I),o[32]=N,o[33]=I,o[34]=s,o[35]=a):a=o[35];let l=`eplp-unavailable-msg ${a}`,d=p?.notification_details?.no_price_available_msg||W.EMPTY_STRING;return o[36]!==l||o[37]!==d?(i=(0,M.jsx)("div",{className:"specification-desc-eshop-wrapper",children:(0,M.jsx)(F.default,{className:l,content:d})}),o[36]=l,o[37]=d,o[38]=i):i=o[38],o[39]!==t||o[40]!==i||o[41]!==e?(r=(0,M.jsxs)("div",{className:e,children:[t,i]}),o[39]=t,o[40]=i,o[41]=e,o[42]=r):r=o[42],r}let eN=()=>{let t="field_exfactory_price"===e.fieldKey||e.fieldKey===Y.PRODUCT_FIELDS?.NET_PRICE||e.fieldKey===Y.PRODUCT_FIELDS.LIST_PRICE?(0,K.eshopFormatCurrency)(Number(`${d}`),eb,`${L}`):`${d}`,a=(0,q.appendAsterisk)(e?.fieldKey||W.EMPTY_STRING,t,e?.listPriceAsteriskFlag,e?.netPriceAsteriskFlag,e?.listPriceAsteriskValue,e?.netPriceAsterriskValue,X);switch(c){case"Available":return(0,M.jsx)(en,{description:d,labels:p,notify_me:w,isSoldOutIconClicked:C,isNotified:E,onSoldOutIconClick:eA});case"Quantity":return(0,M.jsx)(B.default,{value:String(y)??d,quantity_det:p?.quantity_det,handleQuantity:b});case"Add to Cart":return(0,M.jsx)(U.default,{value:!!eg?.find(e=>e===m),onAddToCartClick:ev,add_to_cart_label:p?.add_to_cart_label,added_to_cart_label:p?.added_to_cart_label,quantityVal:y,quantityInCart:ew,isTemporarilyAdded:v,isPLPWishlist:!0,isWishlistInactive:!A,productStatusIndicator:k});case"Wishlist":return(0,M.jsx)($.default,{isWishlistSelected:ea,handleClickWishlist:ex,wishlist_det:p?.wishlist_det});case"Quantity In Cart Text":return parseInt(ew)>0&&(0,M.jsx)("span",{className:"eshop-cart-quantity-status-text",children:p?.notification_details?.tot_num_of_items_in_cart_msg?.replace("@tot",(0,K.eshopFormatInteger)(Number(ew),eb))});case"WholeSaler Only":if(!Y.distributorTexts.includes(eE))return null;return(0,M.jsx)("span",{className:"eshop-wholesaler-text",style:{width:"max-content"},children:j});default:{let t=e?.fieldKey===W.FIELD_LIST_PRICE,i=e?.rebatePercentage;if(t&&!e?.description&&Q||e?.fieldKey===W.NET_PRICE&&!e?.description||e?.fieldKey===W.NET_PRICE&&!e?.description&&i)return(0,M.jsxs)("div",{className:"specification-desc-eshop-wrapper",children:[(0,M.jsx)(ec.default,{show:e?.showDiscountIndicator,tooltipText:D,tooltipPosition:"bottom",tooltipContainerClass:"discount-indicator-tooltip",tooltipIconClass:"discount-indicator-icon"}),i&&(0,M.jsx)(F.default,{className:(0,q.getClassName)(e.fieldKey||W.EMPTY_STRING),content:`${e?.rebatePercentage}%`})]});if(P&&(_===Y.PRODUCT_FIELDS.LIST_PRICE||_===Y.PRODUCT_FIELDS.NET_PRICE))return null;let r=(0,z.removePTag)(a);return e?.fieldKey==="net_price"&&e?.rebatePercentage&&(r+=` (${e?.rebatePercentage}%)`),(0,M.jsxs)("div",{className:"specification-desc-eshop-wrapper",children:[(0,M.jsx)(F.default,{className:(0,q.getClassName)(e.fieldKey||W.EMPTY_STRING,N,I),content:r}
35),e?.fieldKey==="field_list_price_ecomm"&&(0,M.jsx)(ec.default,{show:e?.showDiscountIndicator,tooltipText:D,tooltipPosition:"bottom",tooltipContainerClass:"discount-indicator-tooltip",tooltipIconClass:"discount-indicator-icon"})]})}}};if(Y.distributorTexts.includes(eE)&&["Available","Wishlist","Add to Cart","Quantity","Quantity In Cart Text"].includes(c))return null;let ek=el.BACK_ORDER_STATUSES.includes(eE)&&["Add to Cart","Quantity","Quantity In Cart Text"].includes(c),eI=(0,q.getClasses)(_||W.EMPTY_STRING,c,J,k,ek);if(!d&&!P){let e;return o[43]!==_||o[44]!==ee||o[45]!==P||o[46]!==c?(e=Z(c,ee,P,_),o[43]=_,o[44]=ee,o[45]=P,o[46]=c,o[47]=e):e=o[47],(0,M.jsx)(M.Fragment,{children:(0,M.jsxs)("div",{className:eI,children:[e,eN()]})})}let ej=`${d}`?.trim()&&eI&&(0,M.jsxs)("div",{className:eI,children:[Z(c,ee,P,_),eN()]});return o[48]!==ej?(l=(0,M.jsx)(M.Fragment,{children:ej}),o[48]=ej,o[49]=l):l=o[49],l};function eu(e){return e.eshop}function eh(e){return e.productId}function ef(e){return e?.wishlist?.myWishlistItems}function ep(e){return e?.wishlist?.isErrorOccured}var em=W,eg=Y,eb=eo;let e_=(e,t)=>{if(void 0===e||t&&!e)return!1;if(!t||0===e||null===e)return!0;if("string"==typeof e){let t=e.trim();if("0"===t||""===t)return!0}let a=Number(e);return!isNaN(a)&&0===a},ey=({id:e,className:t,heading:a,specifications:i,href:r,isLinkExternal:n,buttonLabel:s,productCardImage:l,onAddToCartClick:o,onWishlistClick:c,isWishlistPage:d=!1,UpdatingCartId:u,isTemporarilyAddedData:h,onQuantityChange:f,productUrl:p,notify_me:m,onSoldOutIconClick:g,soldOutClicked:b,isWishlistAddedtoCart:_,wholeSalerText:y,discountHoverText:x})=>{let{applicationConfiguration:{isPimProduct:v=!1}}=(0,I.useContext)(P.default),[A,w]=(0,I.useState)({}),E=(0,j.useSelector)(e=>e.eshop),S=E?.productsInCart,C=i?.some(e=>e.some(e=>"net_price"===e.fieldKey)),T=()=>{let e=["card product-card eShop layout-new"];return t&&e.push(t),e.join(" ")},N=(e,t)=>{w(a=>({...a,[e]:t})),f&&f(e,t)},{setSelectItemDataLayer:M}=(0,eb.useEshopCartGtmEvents)(),R=(e,t)=>e.find(e=>e.title===t)?.description,F=(e,t)=>A[e]??S?.find(t=>t.productId===e)?.selectedQty??Number(R(t,eg.PRODUCT_LABELS.QUANTITY)),B=async(e,t)=>{await o?.({productId:e,quantity:F(e,t),productUrl:p,specifications:i,productName:a})&&w(t=>{let{[e]:a,...i}=t;return i})},U=()=>{M({item_name:a,item_id:e})};(0,I.useEffect)(()=>{_&&w({})},[_]);let H="/assets/images/Paywall-Grey-Overlay.svg",[$,G]=(0,I.useState)(!1),W=$||!l||l.src?.includes("Default_Packshot.jpg")?H:l.src;return(0,k.jsx)("div",{className:T(),children:(0,k.jsx)("div",{className:"productCardListViewContent",children:(0,k.jsxs)("div",{className:"productCardListViewContent-row",children:[(0,k.jsx)("div",{children:l?.styledimage||l?.src?(0,k.jsxs)("div",{className:"list-img-eshop",children:[(0,k.jsx)(D.Img,{type:"plp_list",styledimage:l.src&&v?em.NULL_VALUE:l.styledimage,src:W,alt:l.alt??em.EMPTY_STRING,width:110,height:75}),l?.src&&(0,k.jsx)("img",{src:l.src,style:{display:"none"},onError:()=>G(!0)})]}):(0,k.jsx)(k.Fragment,{})}),(0,k.jsxs)("div",{className:"productCardListViewContent-header-block-eshop",children:[(0,k.jsxs)("div",{className:"productCardListViewContent-header-block-eshop-container",children:[(0,k.jsx)("div",{className:"productCardListViewContent-header-block-eshop-row",children:a&&(0,k.jsx)(L.Anchor,{href:r,tabindex:0,noUnderline:!0,className:"productCardListViewContent-header-eshop-title",isExternal:n,dataLayerOnClick:()=>U(),children:(0,k.jsx)("span",{className:"productCardListViewContent-header-eshop bold",children:a})})}),(0,k.jsx)("div",{className:"productCardListViewContent-specification-eshop",children:i?.length?i?.map((e,t)=>{let i=e?.find(e=>"field_list_price_ecomm"===e.fieldKey)?.description,r=e?.find(e=>"net_price"===e.fieldKey)?.description,n=e?.find(e=>"field_list_price_ecomm"===e.fieldKey)?.listPriceExist,s=e_(i,n),l=i===r,o=e?.find(e=>"WishlistItemId"===e.title)?.description,f=e?.find(e=>e.title===eg.PRODUCT_LABELS.SPEC_ID)?.description,p=e?.find(e=>e.title===eg.PRODUCT_LABELS.WISHLIST)?.description,_=e?.find(e=>e.title===eg.PRODUCT_LABELS.AVAILABLE)?.description,v=e?.find(e=>"IsActive"===e.title)?.description??!0,w=e?.find(e=>e.title===eg.PRODUCT_LABELS.IS_NOTIFIED)?.description,E=A[f]??Number(e?.find(e=>e.title===eg.PRODUCT_LABELS.QUANTITY)?.description),S=e?.find(e=>e.title===eg.PRODUCT_LABELS.LIST_PRICE_ASTERISK)?.description,T=e?.find(e=>e.title===eg.PRODUCT_LABELS.LIST_PRICE_ASTERISK)?.isLabelHidden,I=e?.find(e=>e.title===eg.PRODUCT_LABELS.NET_PRICE_ASTERISK)?.description,j=e?.find(e=>e.title===eg.PRODUCT_LABELS.NET_PRICE_ASTERISK)?.isLabelHidden,P=!!(i&&r);return(0,k.jsxs)("div",{className:"specification-group",children:[!!u?.find(e=>e===f)&&(0,k.jsx)("div",{className:"eshop-loading-overlay",children:(0,k.jsx)("div",{className:"eshop-loader"})}),e?.map((i,r)=>(0,k.jsx)(ed,{...i,onAddToCartClick:()=>B(String(f),e),onWishlistClick:c,productId:f,wishlistId:o,onQuantityChange:e=>N(f,e),quantityValue:E,isWishlistValue:p,isTemporarilyAdded:h?.[f]&&h[f]>Date.now()||!1,isWishlistPage:d,notify_me:m,isActive:v,isNotified:w,onSoldOutIconClick:g,isSoldOutIconClicked:b?.[f]??!1,hasNetPrice:C,productStatusIndicator:_,isPriceEqual:l,wholeSalerText:y,isListPriceZero:s,listPriceAsteriskValue:S,listPriceAsteriskFlag:T,netPriceAsterriskValue:I,netPriceAsteriskFlag:j,heading:a,discountHoverText:x,listPriceExist:n,showStrikeThrough:P},`spec-${t}-${r}`))]},`group-${f}`)}):(0,k.jsx)(k.Fragment,{})})]}),r&&!d&&(0,k.jsxs)(L.Anchor,{href:r,tabindex:0,noUnderline:!0,className:"productCardListViewContent-arrow-link product-detail-link-eshop",isExternal:n,dataLayerOnClick:()=>U(),children:[(0,k.jsx)("span",{className:"product-detail-link-eshop-text",children:s}),(0,k.jsx)(O.Icon,{iconName:"ChevronRightBlue",width:20,height:20})]})]})]})})})};e.s(["default",()=>e6],38386);var ex=t,ev=R,eA=a,ew=n,eE=L,eS=e.i(17419),eC=l,eT=e.i(66196),eN=B,ek=$,eI=W,ej=P,eP=K,eL=t,eO=
35R,eD=e.i(79988),eM=W,eR=et,eF=ea,eB=ei;let eU=e=>{if("string"==typeof e||"boolean"==typeof e)return e},eH=e=>{let t,a,i,r,n,s,l=(0,eO.c)(18),{isAvailable:o,labels:c,notify_me:d,isNotified:u,soldOutClicked:h,onSoldOutIconClick:f,variantId:p,selectedVariantIndex:m}=e;if(l[0]!==o||l[1]!==c||l[2]!==d){n=Symbol.for("react.early_return_sentinel");e:{if(void 0===(t=eU(o))||"string"==typeof t&&t.trim()===eM.EMPTY_STRING){n=null;break e}a=(0,eR.getAvailabilityLabel)(t,c),i=(0,eF.getAvailabilityShape)(t),r=1===d&&(!t||(0,eF.isBackOrderStatus)(t))}l[0]=o,l[1]=c,l[2]=d,l[3]=t,l[4]=a,l[5]=i,l[6]=r,l[7]=n}else t=l[3],a=l[4],i=l[5],r=l[6],n=l[7];if(n!==Symbol.for("react.early_return_sentinel"))return n;let g=r;return l[8]!==t||l[9]!==u||l[10]!==a||l[11]!==f||l[12]!==m||l[13]!==i||l[14]!==g||l[15]!==h||l[16]!==p?(s=(0,eL.jsx)("div",{className:"availability","aria-live":"polite",children:t?(0,eL.jsxs)("div",{className:"available",style:{color:i?.color},children:[(0,eL.jsx)("div",{className:`availability-shape-mobile ${i?.shape==="circle-with-clock"?"has-clock":""}`,children:i?(0,eL.jsx)(eB.ShapeRenderer,{shape:i.shape,color:i.color,clockColor:i?.clockColor}):(0,eL.jsx)("div",{className:"available-dot","aria-hidden":!0})}),a,g&&(0,eL.jsx)("div",{onClick:()=>{f?.(p??eM.EMPTY_STRING)},children:(0,eL.jsx)(eD.default,{iconName:u||h?.[p??eM.EMPTY_STRING]?"SoldOutFill":"SoldOutIcon",width:18,height:17})})]},`${m}-${p}-available`):(0,eL.jsxs)("div",{className:"unavailable",children:[(0,eL.jsx)("div",{className:`availability-shape-mobile ${i?.shape==="circle-with-clock"?"has-clock":""}`,children:i?(0,eL.jsx)(eB.ShapeRenderer,{shape:i.shape,color:i.color,clockColor:i?.clockColor}):(0,eL.jsx)("div",{className:"unavailable-dot","aria-hidden":!0})}),a,g&&(0,eL.jsx)("div",{onClick:()=>{h?.[p??eM.EMPTY_STRING]||f?.(p??eM.EMPTY_STRING)},children:(0,eL.jsx)(eD.default,{iconName:u||h?.[p??eM.EMPTY_STRING]?"SoldOutFill":"SoldOutIcon",width:18,height:17})})]},`${m}-${p}-unavailable`)}),l[8]=t,l[9]=u,l[10]=a,l[11]=f,l[12]=m,l[13]=i,l[14]=g,l[15]=h,l[16]=p,l[17]=s):s=l[17],s};var e$=q;let eG=(e,t=0)=>{if("number"==typeof e)return Number.isNaN(e)?t:Math.trunc(e);if("string"==typeof e){let a=Number.parseInt(e,10);return Number.isNaN(a)?t:a}return t},eW=(e,t=[],a)=>{if(!e)return eG(a,0);let i=t.find(t=>t.productId===e);return i?eG(i?.selectedQty||i?.qty,0):eG(a,0)},eY=(e,t)=>!!(t&&e?.[t]&&e[t]>Date.now()),ez=e=>{if(!e)return 0;if("object"==typeof e.value&&e.value?.Price!=null){let t=Number(e.value.Price);return Number.isNaN(t)?0:t}let t=Number(e.value);return Number.isNaN(t)?0:t},eV=(e,t)=>{if(void 0===e||t&&!e)return!1;if(!t||null===e||"string"==typeof e&&""===e.trim())return!0;let a=Number(e);return!Number.isNaN(a)&&0===a};var eK=t,eq=R,eQ=W;let eZ=function(e){let t,a,i=(0,eq.c)(9),{variants:r,selectedIndex:n,onSelect:s}=e;if(!r||r.length<=1)return eQ.NULL_VALUE;if(i[0]!==s||i[1]!==n||i[2]!==r){let e;i[4]!==s||i[5]!==n?(e=(e,t)=>(0,eK.jsx)("button",{type:"button",className:t===n?"dot active":"dot","aria-pressed":t===n,"aria-label":`Select variant ${t+1}`,onClick:()=>s(t)},`pdtCardPLP-${e?.Id??t}`),i[4]=s,i[5]=n,i[6]=e):e=i[6],t=r.map(e),i[0]=s,i[1]=n,i[2]=r,i[3]=t}else t=i[3];return i[7]!==t?(a=(0,eK.jsx)("div",{className:"dots",role:"tablist","aria-label":"Variant selector",children:t}),i[7]=t,i[8]=a):a=i[8],a};var eX=t,eJ=R,e0=ea,e1=W,e2=l;let e3=function(e){let t,a,i,r,n,s,l,o=(0,eJ.c)(21),{currentVariant:c,isAdded:d,selectedQty:u,cart_det:h,onAddToCart:f,isTemporarilyAddedData:p}=e,m=c?.isAvailable;o[0]!==m?(t=(0,e0.isAddToCartEnabled)(m),o[0]=m,o[1]=t):t=o[1];let g=t;o[2]!==c?.Id||o[3]!==c?.isActive||o[4]!==d||o[5]!==u||o[6]!==g?(a=d(c?.Id)||0===u||!(c?.isActive??!0)||!g,o[2]=c?.Id,o[3]=c?.isActive,o[4]=d,o[5]=u,o[6]=g,o[7]=a):a=o[7];let b=a;e:{if(eY(p,c?.Id)){i=h?.added_to_cart_label?.isHidden===0?h?.added_to_cart_label?.label??e1.EMPTY_STRING:e1.EMPTY_STRING;break e}i=h?.add_to_cart_label?.isHidden===0?h?.add_to_cart_label?.label??e1.EMPTY_STRING:e1.EMPTY_STRING}let _=i,y=d(c?.Id),x="var(--brand-primary-color-one)";y?x="var(--brand-secondary-color-one, #FFF)":!(u<=0)&&(c?.isActive??!0)&&g||(x="var(--brand-grey-color-three)");let v=d(c?.Id)?"add-to-cart-btn-active":"add-to-cart-btn";return o[8]!==c?.Id||o[9]!==f?(r=()=>f?.(c?.Id??e1.EMPTY_STRING),o[8]=c?.Id,o[9]=f,o[10]=r):r=o[10],o[11]!==x?(n=(0,eX.jsx)(e2.Icon,{iconName:"FunctionalCart",color:x}),o[11]=x,o[12]=n):n=o[12],o[13]!==_?(s=(0,eX.jsx)("span",{className:"add-to-cart-label",children:_}),o[13]=_,o[14]=s):s=o[14],o[15]!==b||o[16]!==v||o[17]!==r||o[18]!==n||o[19]!==s?(l=(0,eX.jsx)("div",{className:"add-to-cart",children:(0,eX.jsxs)("button",{type:"button",className:v,"aria-label":"Add to cart",disabled:b,onClick:r,children:[n,s]})}),o[15]=b,o[16]=v,o[17]=r,o[18]=n,o[19]=s,o[20]=l):l=o[20],l};var e4=ec;let e6=e=>{let t,a,i,r,n,s,l,o,c,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P,L,O,D,M,R,F,B,U=(0,ev.c)(165),{imageUrls:H,title:$,variants:G,variationInfo:W,onAddToCart:Y,onDetailsClick:z,onWishlistClick:V,ProductURL:K,ProductURLLabel:q,quantity_det:Q,wishlist_det:Z,availability_det:X,cart_det:J,isWishlistPage:ee,UpdatingCartId:et,isTemporarilyAddedData:ea,productUrl:ei,notify_me:er,onQuantityChange:en,onSoldOutIconClick:es,soldOutClicked:el,qtyInCartTitle:eo,isWishlistAddedtoCart:ec,wholeSalerMessage:ed,noPriceMsg:eu,netPriceAsteriskFlag:eh,netPriceAsterriskValue:ef,listPriceAsteriskFlag:ep,listPriceAsteriskValue:em,discountHoverText:eg}=e;U[0]!==H?(t=void 0===H?[]:H,U[0]=H,U[1]=t):t=U[1];let eb=t,e_=void 0===G?[]:G,ey=void 0===W?[]:W,eL=void 0!==ee&&ee,{applicationConfiguration:eO}=(0,eA.useContext)(ej.default),[eD,eM]=(0,eA.useState)(0);U[2]===Symbol.for("react.memo_cache_sentinel")?(a=[],U[2]=a):a=U[2];let[eR,eF]=(0,eA.useState)(a),[eB,eU]=(0,eA.useState)(!1),[eK,eq]=(0,eA.useState)(1),eQ=(0,eA.useRef)(eI.NULL_VALUE),eX=eO?.siteConfig?.number_format,eJ=(0,ew.useSelector)(e5),e0=eJ?.productsInCart??[],e1=(0,ew.useSelector)(e8),e2=(0,ew.useSelector)(e7),e6=e_[eD],[ti,tr]=(0,eA.useState)(e6?.isAddedToWishlist??!1),tn=eW(e6?.Id,e0,Q?.quantity),ts=eo?.replace("@tot",(0,eP.eshopFormatInteger)(tn,eX));U[3]!==et||U[4]!==e6?.Id?(i=!!Array.isArray(et)&&et.includes(e6?.Id??eI.EMPTY_STRING),U[3]=et,U[4]=e6?.Id,U[5]=i):i=U[5];let tl=i,to=(ey[eD]??[]).find(e9),tc=eV(to?ez(to):void 0,to?.listPriceExist),td=e6?.isAvailable;U[6]!==td?(r=(0,e$.isDistributorOrder)(td),U[6]=td,U[7]=r):r=U[7];let tu=r,th=e6?.isAvailable;U[8]!==th?(n=(0,e$.isBackOrder)(th),U[8]=th,U[9]=n):n=U[9];let tf=n,tp=tu||tc;
35U[10]!==e6||U[11]!==e1||U[12]!==tr?(s=()=>{e1&&0!==Object.keys(e1).length&&(e6?.Id!==void 0&&e1?.[e6.Id]?tr(!0):tr(!1))},U[10]=e6,U[11]=e1,U[12]=tr,U[13]=s):s=U[13];let tm=e6?.Id;U[14]!==e2||U[15]!==e1||U[16]!==tm?(l=[e2,e1,tm],U[14]=e2,U[15]=e1,U[16]=tm,U[17]=l):l=U[17],(0,eA.useEffect)(s,l),U[18]!==ec||U[19]!==eF?(o=()=>{ec&&eF([])},U[18]=ec,U[19]=eF,U[20]=o):o=U[20],U[21]!==ec?(c=[ec],U[21]=ec,U[22]=c):c=U[22],(0,eA.useEffect)(o,c),U[23]!==eU||U[24]!==eq?(d=()=>{let e=e=>{eQ.current&&!eQ.current.contains(e.target)&&(eU(!1),eq(1))};return globalThis.addEventListener("click",e),globalThis.addEventListener("touchend",e),()=>{globalThis.removeEventListener("click",e),globalThis.removeEventListener("touchend",e)}},U[23]=eU,U[24]=eq,U[25]=d):d=U[25],U[26]===Symbol.for("react.memo_cache_sentinel")?(u=[],U[26]=u):u=U[26],(0,eA.useEffect)(d,u),U[27]!==e1||U[28]!==tr||U[29]!==eM||U[30]!==e_?(h=e=>{eM(e),tr(!!e1?.[e_[e]?.Id])},U[27]=e1,U[28]=tr,U[29]=eM,U[30]=e_,U[31]=h):h=U[31];let tg=h;U[32]!==e6?.Id||U[33]!==e6?.isAddedToWishlist||U[34]!==e6?.wishlistItemId||U[35]!==ti||U[36]!==V||U[37]!==tr||U[38]!==eU||U[39]!==eq||U[40]!==eK?(f=e=>{if(e.preventDefault(),eq(te),1===eK)eU(!0);else if(2===eK){eU(!1);let e=ti??e6?.isAddedToWishlist??!1;tr(!ti),V?.(e6?.Id,e,e6?.wishlistItemId),eq(1)}},U[32]=e6?.Id,U[33]=e6?.isAddedToWishlist,U[34]=e6?.wishlistItemId,U[35]=ti,U[36]=V,U[37]=tr,U[38]=eU,U[39]=eq,U[40]=eK,U[41]=f):f=U[41];let tb=f;U[42]!==en||U[43]!==eF?(p=(e,t)=>{let a=t??eI.EMPTY_STRING;eF(t=>{let i=t.findIndex(e=>e.productId===a);if(-1!==i){let r=[...t];return r[i]={productId:a,qty:e},r}return[...t,{productId:a,qty:e}]}),en?.(a,e)},U[42]=en,U[43]=eF,U[44]=p):p=U[44];let t_=p;U[45]!==e6||U[46]!==Y||U[47]!==ei||U[48]!==eR||U[49]!==Q?.quantity||U[50]!==eF?(m=async e=>{let t=eW(e6?.Id,eR,Q?.quantity);await Y?.({variant:e6,quantity:eG(t,0),productUrl:ei})&&eF(e=>e.filter(e=>e.productId!==e6?.Id))},U[45]=e6,U[46]=Y,U[47]=ei,U[48]=eR,U[49]=Q?.quantity,U[50]=eF,U[51]=m):m=U[51];let ty=m;U[52]!==ea?(g=e=>eY(ea,e),U[52]=ea,U[53]=g):g=U[53];let tx=g,[tv,tA]=(0,eA.useState)(!1);U[54]!==eb||U[55]!==tv?(b=tv||!eb[0]||eb[0]?.includes("Default_Packshot.jpg")?"/assets/images/Paywall-Grey-Overlay.svg":eb[0],U[54]=eb,U[55]=tv,U[56]=b):b=U[56];let tw=b;U[57]!==tl?(_=tl&&(0,ex.jsx)("div",{className:"eshop-loading-overlay","aria-hidden":!0,children:(0,ex.jsx)("div",{className:"eshop-loader"})}),U[57]=tl,U[58]=_):_=U[58],U[59]!==eb?.[0]||U[60]!==tw||U[61]!==$?(y=eb?.[0]&&(0,ex.jsx)("img",{src:tw,alt:`${$}-0`,"aria-label":"Product image",className:"product-image",onError:()=>tA(!0)}),U[59]=eb?.[0],U[60]=tw,U[61]=$,U[62]=y):y=U[62],U[63]!==y?(x=(0,ex.jsx)("div",{className:"image-section",children:y}),U[63]=y,U[64]=x):x=U[64],U[65]!==tg||U[66]!==eD||U[67]!==e_?(v=e_?.length>1?(0,ex.jsx)("button",{type:"button","aria-label":"Previous variant",className:"carousel-arrow",onClick:()=>tg((eD-1+e_.length)%e_.length),children:(0,ex.jsx)(eC.Icon,{iconName:"ChevronLefttIcon",width:20,height:20})}):(0,ex.jsx)("div",{className:"carousel-arrow","aria-hidden":!0}),U[65]=tg,U[66]=eD,U[67]=e_,U[68]=v):v=U[68];let tE=`Open product ${$}`;U[69]!==$?(A=(0,ex.jsx)("h2",{className:"title",children:$}),U[69]=$,U[70]=A):A=U[70],U[71]!==K||U[72]!==tE||U[73]!==A?(w=(0,ex.jsx)(eE.Anchor,{href:K,tabindex:0,noUnderline:!0,isExternal:!1,className:"top-info-section-anchor-title","aria-label":tE,children:A}),U[71]=K,U[72]=tE,U[73]=A,U[74]=w):w=U[74],U[75]!==X||U[76]!==e6?.Id||U[77]!==e6?.isAddedToWishlist||U[78]!==e6?.isAvailable||U[79]!==e6?.isNotified||U[80]!==eg||U[81]!==tb||U[82]!==ti||U[83]!==to?.showDiscountIndicator||U[84]!==er||U[85]!==es||U[86]!==eD||U[87]!==tp||U[88]!==eB||U[89]!==el||U[90]!==Z?(E=(0,ex.jsx)("div",{className:"top-info-section-actions",children:tp?(0,ex.jsx)("div",{className:"top-info-section-row-placeholder","aria-hidden":!0}):(0,ex.jsxs)(eT.Row,{className:"top-info-section-row",children:[(0,ex.jsx)(eS.Column,{mobile:8,tablet:8,desktop:8,children:(0,ex.jsx)(eH,{isAvailable:e6?.isAvailable,labels:X,notify_me:er,isNotified:e6?.isNotified,soldOutClicked:el,onSoldOutIconClick:es,variantId:e6?.Id,selectedVariantIndex:eD})}),(0,ex.jsx)(eS.Column,{mobile:2,tablet:2,desktop:2,className:"mobile-discount-indicator",children:(0,ex.jsx)(e4.default,{show:to?.showDiscountIndicator,tooltipText:eg,tooltipPosition:"bottom",tooltipContainerClass:"discount-indicator-tooltip",tooltipIconClass:"discount-indicator-icon"})}),(0,ex.jsx)(eS.Column,{mobile:2,tablet:2,desktop:2,className:"mobile-discount-indicator",children:(0,ex.jsx)("div",{ref:eQ,className:"wishlistProductCard","aria-label":"Wishlist control container",children:(0,ex.jsx)(ek.default,{isWishlistSelected:ti??e6?.isAddedToWishlist,handleClickWishlist:tb,wishlist_det:Z,showTooltip:eB,tooltipPosition:"top-right"})})})]})}),U[75]=X,U[76]=e6?.Id,U[77]=e6?.isAddedToWishlist,U[78]=e6?.isAvailable,U[79]=e6?.isNotified,U[80]=eg,U[81]=tb,U[82]=ti,U[83]=to?.showDiscountIndicator,U[84]=er,U[85]=es,U[86]=eD,U[87]=tp,U[88]=eB,U[89]=el,U[90]=Z,U[91]=E):E=U[91],U[92]!==w||U[93]!==E?(S=(0,ex.jsxs)("div",{className:"top-info-section",children:[w,E]}),U[92]=w,U[93]=E,U[94]=S):S=U[94];let tS=`translate(-${100*eD}%)`;U[95]!==tS?(C={transform:tS},U[95]=tS,U[96]=C):C=U[96],U[97]!==tf||U[98]!==e6?.Id||U[99]!==t_||U[100]!==ep||U[101]!==em||U[102]!==eh||U[103]!==ef||U[104]!==eX||U[105]!==eR||U[106]!==Q||U[107]!==eD||U[108]!==tp||U[109]!==e_||U[110]!==ey?(T=e_?.map((e,t)=>(0,ex.jsxs)("div",{className:"bottom-info-section",children:[(0,ex.jsx)("div",{className:"bottom-info-section-row",children:(ey[t]??[])?.map((a,i)=>{if(!a?.label||!a?.value)return eI.NULL_VALUE;let r=ey[eD]??[],n=r.find(tt),s=ez(n),l=eV(s,n?.listPriceExist),o=!l&&!!n?.value?.Price,c=r.find(ta),d=ez(c);if(l&&"list price"===a.title||!o&&"list price"===a.title||l&&"net price"===a.title||"net price"===a.title&&!d&&!c?.rebatePercentage)return null;let u=s===d;return(0,ex.jsxs)(eS.Column,{mobile:6,tablet:6,desktop:6,children:[a?.isLabelHidden===0?(0,ex.jsx)("div",{className:"info-title",children:a.label}):(0,ex.jsx)("div",{}),"price"===a.title?(0,ex.jsx)("div",{className:"info-value",children:(0,ex.jsx)("div",{className:"info-price",children:"object"==typeof a.value?(0,eP.eshopFormatCurrency)(Number(a.value.Price),eX,a.value.Currency):(0,eP.eshopFormatCurrency)(Number(a.value),eX)})}):"net price"===a.title?u?(0,ex.jsx)(ex.Fragment,{}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{className:"info-title",children:a.label}),(0,ex.jsx)("div",{className:"info-value",children:(0,ex.jsx)("div",{className:"info-net-price",children:!d&&c?.rebatePercentage?`${c.rebatePercentage}%`:(0,ex.jsxs)(ex.Fragment,{children:["object"==typeof a.value?(0,eP.eshopFormatCurrency)(Number(a.value?.Price),eX,a.value?.Currency):(0,eP.eshopFormatCurrency)(Number(a.value),eX),0===eh?ef:"",c?.rebatePercentage&&` (${c.rebatePercentage}%)`]})})})]}):"list price"!==a.title||l?"discount percentage"===a.title?(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{className:"info-title",children:a.label}),(0,ex.jsx)("div",{className:"info-value",children:(0,ex.jsx)("div",{className:"info-price",children:"object"==typeof a.value?(0,eP.eshopFormatCurrency)(Number(a.value.Price),eX,a.value.Currency):(0,eP.eshopFormatCurrency)(Number(a.value),eX)})})]}):(0,ex.jsx)("div",{className:"info-value",children:"string"==typeof a.value?a.value:String(a.value)}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{className:"info-title",children:a.label}),(0,ex.jsx)("div",{className:"info-value",children:(0,ex.jsxs)("div",{className:`${u?"":"exfactory-price"}`,children:["object"==typeof a.value?(0,eP.eshopFormatCurrency)(Number(a.value.Price),eX,a.value.Currency):(0,eP.eshopFormatCurrency)(Number(a.value),eX),0===ep?em:""]})})]})]},`${e?.Id??t}-${a.label}-${i}`)})}),(0,ex.jsx)("div",{className:`quantity-section ${tf?"backorder-hidden":""}`,children:tp?(0,ex.jsx)("div",{style:{minHeight:"1rem"}}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("div",{className:"info-title",children:Q?.quantity_label}),(0,ex.jsx)(eN.default,{value:String(eW(e6?.Id,eR,Q?.quantity)),quantity_det:Q,handleQuantity:e=>t_(e,e6?.Id)})]})})]},e?.Id??`variant-${t}`)),U[97]=tf,U[98]=e6?.Id,U[99]=t_,U[100]=ep,U[101]=em,U[102]=eh,U[103]=ef,U[104]=eX,U[105]=eR,U[106]=Q,U[107]=eD,U[108]=tp,U[109]=e_,U[110]=ey,U[111]=T):T=U[111],U[112]!==C||U[113]!==T?(N=(0,ex.jsx)("div",{className:"info-section-carousel-wrapper",children:(0,ex.jsx)("div",{className:"info-section-carousel",style:C,children:T})}),U[112]=C,U[113]=T,U[114]=N):N=U[114],U[115]!==S||U[116]!==N?(k=(0,ex.jsxs)("div",{className:"info-section",children:[S,N]}),U[115]=S,U[116]=N,U[117]=k):k=U[117],U[118]!==tg||U[119]!==eD||U[120]!==e_?(I=e_?.length>1?(0,ex.jsx)("button",{type:"button","aria-label":"Next variant",className:"carousel-arrow",onClick:()=>tg((eD+1)%e_.length),children:(0,ex.jsx)(eC.Icon,{iconName:"ChevronRightIcon3",width:20,height:20})}):(0,ex.jsx)("div",{className:"carousel-arrow","aria-hidden":!0}
35),U[118]=tg,U[119]=eD,U[120]=e_,U[121]=I):I=U[121],U[122]!==v||U[123]!==k||U[124]!==I?(j=(0,ex.jsxs)("div",{className:"info-nav",children:[v,k,I]}),U[122]=v,U[123]=k,U[124]=I,U[125]=j):j=U[125],U[126]!==tg||U[127]!==eD||U[128]!==e_?(P=(0,ex.jsx)(eZ,{variants:e_,selectedIndex:eD,onSelect:tg}),U[126]=tg,U[127]=eD,U[128]=e_,U[129]=P):P=U[129],U[130]!==j||U[131]!==P?(L=(0,ex.jsxs)("div",{className:"info-nav-container",children:[j,P]}),U[130]=j,U[131]=P,U[132]=L):L=U[132];let tC=`addtocart-qty-div ${tf?"backorder-hidden":""}`;return U[133]!==J||U[134]!==ts||U[135]!==e6||U[136]!==ty||U[137]!==tx||U[138]!==ea||U[139]!==tc||U[140]!==eu||U[141]!==eR||U[142]!==Q?.quantity||U[143]!==tn||U[144]!==tp||U[145]!==ed||U[146]!==tu?(O=tp?(0,ex.jsxs)("div",{className:"eplp-unavailable-msg-bottom",children:[tc&&!tu&&(0,ex.jsx)("span",{className:"eshop-no-price",children:eu||eI.EMPTY_STRING}),tu&&!tc&&(0,ex.jsx)("span",{className:"eshop-wholesaler-message",children:ed}),tc&&tu&&(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)("span",{className:"eshop-no-price",children:eu||eI.EMPTY_STRING}),(0,ex.jsx)("span",{className:"eshop-wholesaler-message",children:ed})]})]}):(0,ex.jsxs)(ex.Fragment,{children:[(0,ex.jsx)(e3,{currentVariant:e6,isAdded:tx,selectedQty:eW(e6?.Id,eR,Q?.quantity),cart_det:J,onAddToCart:ty,isTemporarilyAddedData:ea}),(0,ex.jsx)("div",{"aria-label":"products in cart",className:"products-in-cart-mobile-tablate",children:tn>0&&(0,ex.jsx)("span",{children:ts})})]}),U[133]=J,U[134]=ts,U[135]=e6,U[136]=ty,U[137]=tx,U[138]=ea,U[139]=tc,U[140]=eu,U[141]=eR,U[142]=Q?.quantity,U[143]=tn,U[144]=tp,U[145]=ed,U[146]=tu,U[147]=O):O=U[147],U[148]!==tC||U[149]!==O?(D=(0,ex.jsx)("div",{className:tC,children:O}),U[148]=tC,U[149]=O,U[150]=D):D=U[150],U[151]!==L||U[152]!==D?(M=(0,ex.jsxs)("div",{className:"info-carousel",children:[L,D]}),U[151]=L,U[152]=D,U[153]=M):M=U[153],U[154]!==_||U[155]!==x||U[156]!==M?(R=(0,ex.jsxs)("div",{className:"product-card",children:[_,x,M]}),U[154]=_,U[155]=x,U[156]=M,U[157]=R):R=U[157],U[158]!==q||U[159]!==eL||U[160]!==z?(F=!eL&&(0,ex.jsxs)("button",{type:"button",className:"details-btn",onClick:z,"aria-label":"View details",children:[q,(0,ex.jsx)(eC.Icon,{iconName:"ChevronRightIcon3",width:20,height:20})]}),U[158]=q,U[159]=eL,U[160]=z,U[161]=F):F=U[161],U[162]!==R||U[163]!==F?(B=(0,ex.jsxs)("div",{className:"product-card-wrapper",children:[R,F]}),U[162]=R,U[163]=F,U[164]=B):B=U[164],B};function e5(e){return e?.eshop}function e8(e){return e?.wishlist?.myWishlistItems}function e7(e){return e?.wishlist?.isErrorOccured}function e9(e){return"list price"===e.title}function te(e){return e+1}function tt(e){return"list price"===e.title}function ta(e){return"net price"===e.title}var ti=e.i(15315),tr=e.i(54456),tn=e.i(21984),ts=W,tl=Y,to=e.i(82725);let tc="wishlist",td="Drupal Wishlist",tu="GetWishlistProduct",th=[ts.FIELD_EXFACTORY_PRICE,ts.FIELD_LIST_PRICE,ts.FIELD_NET_PRICE],tf=[...ts.DEFAULT_PRODUCT_ATTRIBUTES],tp=["Id","IsAddedToCart","IsActive","WishlistItemId",...ts.DEFAULT_VARIATION_ATTRIBUTES];function tm(e){let t=(e,t)=>{t&&(e.includes(t)||e.push(t))},a=[];tf.forEach(e=>t(a,e));let i=[];for(let a of(tp.forEach(e=>t(i,e)),e?.product_card_details?.card_attributes||[]))a?.attribute_name&&"discount_percentage"!==a.attribute_name&&t(i,a.attribute_name);return{productsTopLevel:a,variationFields:i,defaultValuesFields:ts.DEFAULT_VALUES_FIELDS}}function tg(e){let t=e.variationFields.map(e=>th.includes(e)?`${e} {
36              Price
37              Currency
38            }`:e),a=e.productsTopLevel.join("\n            "),i=e.defaultValuesFields.join("\n          ");return`query GetWishlistProduct {
39    getWishlistProduct {
40      success
41      statusCode
42      message
43      data {
44        productData {
45          ${a}
46          variationInfo {
47            ${t.join("\n          ")}
48          }
49        }
50        defaultValues {
51          ${i}
52        }
53      }
54    }
55  }
56`}function tb(e){return tg(tm(e))}let t_=async({labelUrl:e,gqlToken:t,session:a,csrf:i,accountId:r,caching:n})=>{let s,l=e.split("/");l[l.length-1]=tc;let o=l.join("/"),c={},d=JSON.parse(sessionStorage.getItem(ts.SESSION_STORAGE_KEYS.DOMAIN_LANG)),u={[ts.HEADER_KEY
56S.API_KEY]:ts.GQL_API_KEY,[ts.HEADER_KEYS.SANDOZ_TOKEN]:to.default.get(ts.COOKIE_KEYS.GQL_TOKEN),[ts.HEADER_KEYS.SANDOZ_LOCALE]:d,[ts.HEADER_KEYS.SANDOZ_SESSION]:a,[ts.HEADER_KEYS.SANDOZ_CSRF]:i,[ts.HEADER_KEYS.SANDOZ_ACCOUNTID]:r??ts.EMPTY_STRING,[ts.HEADER_KEYS.CACHING]:n},h=!1,f=ts.EMPTY_STRING,p=Date.now();try{s=await (0,ti.getApi)(o),h=!0}catch(t){let e=t;f=e?.message||String(t),s={}}finally{let e=Date.now()-p;(0,tn.logFrontendEvent)(h?`${td} API Success`:`${td} API Error`,h?ts.NEW_RELIC_KEYS.LOG_LEVEL_INFO:ts.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:td,drupalUrl:o,duration:`${e}ms`,message:f,timestamp:new Date().toISOString()})}let m=Date.now();try{let{product_card_details:e,wishlist_det:t,plp_alias:a,notification_details:i,is_hidden_discount_applicable:r,price_label_asterisk:n,hide_price_label_asterisk:l,price_label_double_asterisk:o,hide_price_label_double_asterisk:d}=s||{},{available_label:h,out_of_stock_label:f,quantity_det:p,add_to_cart_label:g,added_to_cart_label:b,briefly_unavailable_text:_,back_order_text:y,discontinued_text:x,order_via_your_distributor_text:v,avail_shelf_life_9_6:A,avail_shelf_life_5_3:w,avail_shelf_life_2:E}=e||{},S=e?.card_attributes||[],C=tb(s),T=await (0,tr.default)(ts.GQL_API_URL,C,c,u),N=Date.now()-m,k=T?.getWishlistProduct?.message,I=T?.getWishlistProduct?.statusCode,j=T?.getWishlistProduct?.data?.productData||[],P=T?.getWishlistProduct?.data?.defaultValues,L=T?.getWishlistProduct?.success;if((0,tn.logFrontendEvent)(L?`${tu} GQL Success`:`${tu} GQL Failure`,L?ts.NEW_RELIC_KEYS.LOG_LEVEL_INFO:ts.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:{LOG_EVENT_SOURCE:tu},duration:`${N}ms`,statusCode:I,message:k,productCount:j.length,timestamp:new Date().toISOString()}),!j.length)return{eShopWishListDesktopData:[],eShopWishListMobileData:[],drupalResponse:s,successResponseFlag:L,isUnauthorized:!1,statusCode:I};let O=j.map((e,s)=>({id:String(s),heading:e?.field_san_at_productname,productCardImage:{src:e?.field_primaryproductimage,alt:"Product Image"},specifications:Array.isArray(e?.variationInfo)?e.variationInfo.map(e=>{let a=[];return S.forEach(t=>{let i;switch(t.attribute_name){case tl.PRODUCT_FIELDS.EXFACTORY_PRICE:i={title:t.label,description:e[`${t.attribute_name}`]?.Price??ts.EMPTY_STRING,currencyValue:e.field_exfactory_price?.Currency??ts.EMPTY_STRING,fieldKey:t.attribute_name||ts.EMPTY_STRING,isLabelHidden:t.is_label_hidden??0};break;case tl.PRODUCT_FIELDS.NET_PRICE:r||t.is_attribute_hidden||(i={title:t?.label,description:e[`${t.attribute_name}`]?.Price??ts.EMPTY_STRING,currencyValue:e?.net_price?.Currency??ts.EMPTY_STRING,fieldKey:t?.attribute_name||ts.EMPTY_STRING,isLabelHidden:t?.is_label_hidden??0,rebatePercentage:e?.rebate_percentage??null});break;case tl.PRODUCT_FIELDS.LIST_PRICE:i={title:t?.label,description:e[`${t.attribute_name}`]?.Price??ts.EMPTY_STRING,currencyValue:e?.field_list_price_ecomm?.Currency??ts.EMPTY_STRING,fieldKey:t?.attribute_name||ts.EMPTY_STRING,isLabelHidden:t?.is_label_hidden??0,showDiscountIndicator:e?.discount_indicator,listPriceExist:e?.islistpriceavailable??null};break;case tl.PRODUCT_FIELDS.DISCOUNT_PERCENTAGE:r||t.is_attribute_hidden||(i={title:t.label,description:"80%",fieldKey:t.attribute_name||ts.EMPTY_STRING,isLabelHidden:t.is_label_hidden??0});break;default:i={title:t.label,description:e[`${t.attribute_name}`]??ts.EMPTY_STRING,fieldKey:t.attribute_name||ts.EMPTY_STRING,isLabelHidden:t.is_label_hidden??0}}void 0!==i&&a.push(i)}),[...a,{title:tl.PRODUCT_LABELS.WISHLIST,description:e.AddedToWishlist??!0,labels:{wishlist_det:{...t||{},isHidden:0}}},{title:tl.PRODUCT_LABELS.AVAILABLE,description:e.productStatusIndicator??ts.EMPTY_STRING,labels:{available_label:h,out_of_stock_label:f,briefly_unavailable_text:_,back_order_text:y,discontinued_text:x,order_via_your_distributor_text:v,avail_shelf_life_9_6:A,avail_shelf_life_5_3:w,avail_shelf_life_2:E}},{title:tl.PRODUCT_LABELS.QUANTITY,description:P?.quantity??ts.EMPTY_STRING,labels:{quantity_det:{...p,...P}}},{title:tl.PRODUCT_LABELS.ADD_TO_CART,description:e.IsAddedToCart??!1,labels:{add_to_cart_label:g,added_to_cart_label:b}},{title:tl.PRODUCT_LABELS.QUANTITY_IN_CART_TEXT,labels:{notification_details:i}},{title:tl.PRODUCT_LABELS.SPEC_ID,description:e.Id||ts.EMPTY_STRING},{title:tl.PRODUCT_LABELS.WISHLIST_ITEM_ID,description:e.WishlistItemId||ts.EMPTY_STRING},{title:tl.PRODUCT_LABELS.IS_ACTIVE,description:e.IsActive},{title:tl.PRODUCT_LABELS.IS_NOTIFIED,description:e.IsNotified??!1},{title:tl.PRODUCT_LABELS?.LIST_PRICE_ASTERISK,description:n,isLabelHidden:l},{title:tl.PRODUCT_LABELS?.NET_PRICE_ASTERISK,description:o,isLabelHidden:d}]}):[],href:`${a}/${e?.field_san_at_producturl}`,productUrl:e?.field_san_at_producturl})),D=j.map((e,i)=>({Id:String(i),Name:e?.field_san_at_productname,ProductURL:`${a}/${e?.field_san_at_producturl}`,PrimaryProductImage:e?.field_primaryproductimage,VariationInfo:Array.isArray(e?.variationInfo)?e.variationInfo.map(e=>{let t=[];
56return S.forEach(a=>{let i;switch(a.attribute_name){case tl.PRODUCT_FIELDS.EXFACTORY_PRICE:i={label:a.label,value:{Price:e[`${a.attribute_name}`]?.Price||ts.EMPTY_STRING,Currency:e[`${a.attribute_name}`]?.Currency||ts.EMPTY_STRING},title:tl.PRODUCT_LABELS.PRICE,isLabelHidden:a.is_label_hidden??0};break;case tl.PRODUCT_FIELDS.LIST_PRICE:i={label:a.label,value:{Price:e[`${a.attribute_name}`]?.Price||ts.EMPTY_STRING,Currency:e[`${a.attribute_name}`]?.Currency||ts.EMPTY_STRING},title:tl.PRODUCT_LABELS.LIST_PRICE,isLabelHidden:a.is_label_hidden??0,showDiscountIndicator:e?.discount_indicator,listPriceExist:e?.islistpriceavailable??null};break;case tl.PRODUCT_FIELDS.NET_PRICE:r||a.is_attribute_hidden||(i={label:a.label,value:{Price:e[`${a.attribute_name}`]?.Price??ts.EMPTY_STRING,Currency:e[`${a.attribute_name}`]?.Currency??ts.EMPTY_STRING},title:tl.PRODUCT_LABELS.NET_PRICE,isLabelHidden:a.is_label_hidden??0,rebatePercentage:e?.rebate_percentage??null});break;case tl.PRODUCT_FIELDS.DISCOUNT_PERCENTAGE:r||a.is_attribute_hidden||(i={label:a.label,value:"80%",isLabelHidden:a.is_label_hidden??0});break;default:i={label:a.label,value:e[`${a.attribute_name}`]??ts.EMPTY_STRING,isLabelHidden:a.is_label_hidden??0}}void 0!==i&&t.push(i)}),[...t]}):[],variants:Array.isArray(e?.variationInfo)?e.variationInfo.map(e=>({pack:e?.field_san_at_packagesize||void 0,Id:e?.Id,price:{Price:e?.field_exfactory_price?.Price,Currency:e?.field_exfactory_price?.Currency||ts.EMPTY_STRING},isProductInCart:e?.IsAddedToCart,isAddedToWishlist:e?.AddedToWishlist??!0,isAvailable:e?.productStatusIndicator,attribute1:"1",attribute2:e?.field_e_gtin,wishlistItemId:e?.WishlistItemId,isActive:e?.IsActive,isNotified:e?.IsNotified})):[],quantity_det:{...p,...P},wishlist_det:{...t||{},isHidden:0,add_to_wishlist_hover_text:"Add to Wishlist"},availability_det:{available_label:h,out_of_stock_label:f,briefly_unavailable_text:_,back_order_text:y,discontinued_text:x,order_via_your_distributor_text:v,avail_shelf_life_9_6:A,avail_shelf_life_5_3:w,avail_shelf_life_2:E},cart_det:{add_to_cart_label:g,added_to_cart_label:b},productUrl:e?.field_san_at_producturl}));return{eShopWishListDesktopData:O,drupalResponse:s,eShopWishListMobileData:D,successResponseFlag:L,isUnauthorized:!1,statusCode:I,...T?.getWishlistProduct}}catch(a){let e=Date.now()-m;console.error("Error fetching eShop wish list data:",a),(0,tn.logFrontendEvent)(`${tu} GQL Error`,ts.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:{LOG_EVENT_SOURCE:tu},errorMessage:a,duration:`${e}ms`,timestamp:new Date().toISOString()});let t=JSON.parse(JSON.stringify(a));return{eShopWishListDesktopData:[],drupalResponse:s,eShopWishListMobileData:[],isUnauthorized:t?.response?.errors[0]?.extensions?.response?.status===403||t?.response?.errors[0]?.extensions?.response?.status===401,statusCode:""}}};var ty=e.i(89884),tx=e.i(42823),tv=e.i(21587),tA=e.i(25835),tw=P,tE=e.i(63712);e.s(["default",()=>tO],42496);var tS=t,tC=R,tT=e.i(38233),tN=l,tk=E,tI=a,tj=P,tP=tE,tL=n;let tO=e=>{let t,a,i,r,n,s,l,o,c=(0,tC.c)(22),{paywallNotice:d,roles:u,loginHandler:h,isEshopPaywall:f}=e,p=void 0!==f&&f,{applicationConfiguration:m}=(0,tI.useContext)(tj.default),{handleLoginRedirection:g}=(0,tP.default)(m),[b,_]=(0,tI.useState)(""),y=(0,tL.useSelector)(tD);c[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],c[0]=t):t=c[0],(0,tI.useEffect)(()=>{let e=document.getElementById("login-paywall-notice");e&&(e.onclick=()=>x())},t);let x=()=>{m?.isSandozIDEnabled?g():h()};c[1]!==y?.paywall3Roles||c[2]!==u?(a=()=>{let e="string"==typeof u?u.split(",").map(tM).filter(tR):[],t=Array.isArray(y?.paywall3Roles)&&y?.paywall3Roles.length>0?[...e,...y?.paywall3Roles]:e;_((t=Array.from(new Set(t?.filter(tF)))).join(", "))},c[1]=y?.paywall3Roles,c[2]=u,c[3]=a):a=c[3];let v=y?.paywall3Roles;c[4]!==u||c[5]!==v?(i=[v,u],c[4]=u,c[5]=v,c[6]=i):i=c[6],(0,tI.useEffect)(a,i);let A=`<span id='login-paywall-notice'><a class="anchor" role="button">${d.loginText}</a></span>`,w=`<a class="anchor" role="button" href=${d.registerLink}>${d.registerText}</a>`;c[7]!==b||c[8]!==A||c[9]!==d.description||c[10]!==w?(r=d.description?.replace("@[LOGIN_LINK]@",A)?.replace("@[REGIST
56ER_LINK]@",w)?.replace("@[ROLES]@",b),c[7]=b,c[8]=A,c[9]=d.description,c[10]=w,c[11]=r):r=c[11];let E=r;return c[12]===Symbol.for("react.memo_cache_sentinel")?(n=(0,tS.jsx)("span",{className:"notifications-container-icon",children:(0,tS.jsx)(tN.Icon,{iconName:"NotifyIcon"})}),c[12]=n):n=c[12],c[13]!==E?(s=(0,tS.jsxs)("div",{className:"notifications-desc",children:[n,(0,tS.jsx)("div",{className:"notifications-container-richtext",children:(0,tS.jsx)(tk.RichText,{content:E})})]}),c[13]=E,c[14]=s):s=c[14],c[15]!==x||c[16]!==p||c[17]!==d.ctaLabel?(l=!p&&(0,tS.jsx)(tT.Button,{tabindex:0,isSecondary:!1,onClick:x,children:d.ctaLabel}),c[15]=x,c[16]=p,c[17]=d.ctaLabel,c[18]=l):l=c[18],c[19]!==s||c[20]!==l?(o=(0,tS.jsx)("div",{className:"notifications",children:(0,tS.jsxs)("div",{className:"notifications-container",children:[s,l]})}),c[19]=s,c[20]=l,c[21]=o):o=c[21],o};function tD(e){return e.common}function tM(e){return e.trim()}function tR(e){return e}function tF(e){return void 0!==e||null!==e||""!==e}var tB=e.i(9159),tU=W,tH=e.i(10694),t$=W,tG=tn,tW=e.i(95414);let tY=tW.gql`
57  mutation AddWishlistProductToCart($input: AddWishlistItemsToCartInput!) {
58    addWishlistProductToCart(input: $input) {
59      success
60      statusCode
61      message
62      data {
63        cartId
64        failedWishlistToCartItems {
65          productId
66          reason
67          existingQuantity
68        }
69        productsFailedCount
70        productsRequestedCount
71        productsSucceededCount
72        succeededWishlistToCartItems {
73          cartItemId
74          productId
75          quantity
76        }
77      }
78    }
79  }
80`;var tz=to;let tV="AddWishlistProductToCart",tK=async({cartItems:e,session:t,csrf:a,accountId:i,caching:r})=>{let n=Date.now();if(!t$.GQL_API_URL)throw Error("GraphQL API URL is not defined");try{let s=tz.default.get(t$.COOKIE_KEYS.GQL_TOKEN),l={input:{wishlistItems:e}},o={[t$.HEADER_KEYS.API_KEY]:t$.GQL_API_KEY,[t$.HEADER_KEYS.SANDOZ_TOKEN]:s,[t$.HEADER_KEYS.SANDOZ_SESSION]:t,[t$.HEADER_KEYS.SANDOZ_CSRF]:a,[t$.HEADER_KEYS.SANDOZ_ACCOUNTID]:i??t$.EMPTY_STRING,[t$.HEADER_KEYS.CACHING]:r},c=await (0,tH.request)(t$.GQL_API_URL,tY,l,o),d=Date.now()-n,u=c?.addWishlistProductToCart,h=u?.data;return(0,tG.logFrontendEvent)(u?.success?`${tV} GQL Success`:`${tV} GQL Failure`,u?.success?t$.NEW_RELIC_KEYS.LOG_LEVEL_INFO:t$.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:{LOG_EVENT_SOURCE:tV},duration:`${d}ms`,statusCode:u?.statusCode,message:u?.message,successCount:h?.productsSucceededCount,failedCount:h?.productsFailedCount,totalRequested:h?.productsRequestedCount,timestamp:new Date().toISOString()}),{...u,isUnauthorized:!1}}catch(a){let e=Date.now()-n;(0,tG.logFrontendEvent)(`${tV} GQL Error`,t$.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:{LOG_EVENT_SOURCE:tV},duration:`${e}ms`,errorMessage:a,timestamp:new Date().toISOString()});let t=JSON.parse(JSON.stringify(a));return{success:!1,data:null,message:"Error",isUnauthorized:t?.response?.errors[0]?.extensions?.response?.status===401||t?.response?.errors[0]?.extensions?.response?.status===403,maxCartItemQty:void 0}}};var tq=Y,tQ=ea,tZ=e.i(3828),tX=to,tJ=e.i(5991),t0=e.i(8754),t1=e.i(22740);let t2=e=>t7({type:t1.UPDATE_ESHOP_SEARCH_TEXT,filter:e}),t3=e=>t7({type:t1.UPDATE_ESHOP_SORT_ORDER,filter:e}),t4=e=>t7({type:t1.UPDATE_ESHOP_WISHLIST_PRODUCT_SORT_ORDER,filter:e}),t6=e=>t7({type:t1.UPDATE_ESHOP_DROP_DOWN_FILTERS,filter:e}),t5=e=>t7({type:t1.UPDATE_ESHOP_ALPHABETS,filter:e}),t8=e=>t7({type:t1.UPDATE_ESHOP_SEARCH_INPUT_VALUE,filter:e}),t7=e=>t=>{t(e)};e.s(["updateEshopSearchInputValue",0,t8,"updateEshopSearchTerm",0,t2,"updateEshopSelectedAlphabets",0,t5,"updateEshopSelectedFilters",0,t6,"updateEshopSortOrder",0,t3,"updateEshopWishListProductSort",0,t4],76709);var t9=e.i(18713),ae=e.i(43103),at=eo;let aa=()=>{let[e,t]=(0,x.useState)([]),[a,i]=(0,x.useState)([]),[r,n]=(0,x.useState)({}),[s,l]=(0,x.useState)(!1),[o,c]=(0,x.useState)(tU.EMPTY_STRING),[d,u]=(0,x.useState)([]),[h,f]=(0,x.useState)(!1),[p,m]=(0,x.useState)(),[g,b]=(0,x.useState)({}),[_,A]=(0,x.useState)({}),[k,I]=(0,x.useState)(!1),[j,P]=(0,x.useState)({}),{applicationConfiguration:L}=(0,x.useContext)(tw.default),{handleLoginRedirection:O}=(0,tE.default)(L),D=(0,v.useSelector)(e=>e.eshop.EcommFlag),M=(0,v.useSelector)(e=>e.eshop.EcommToken),{session:R,csrf:F}=(0,v.useSelector)(e=>e.appSession),B=(0,v.useSelector)(e=>e.eshop),U=B?.productsInCart,H=(0,x.useRef)(null),$=(0,C.useMediaQuery)("(max-width: 991px)"),{setAddCartEventDataLayer:G,setAddAllToCartEventDataLayer:W}=(0,at.useEshopCartGtmEvents)(),Y=tX.default.get(tU.COOKIE_KEYS.GQL_TOKEN),z=B?.eShopUserData?.email,V=!!L?.siteConfig?.ecomm_site_status,K=!!L?.siteConfig?.cob_enabled,q="/restapi/solar/ecomm-labels/wishlist",Q=(0,v.useDispatch)(),Z=String(L?.siteConfig?.cache_settings?.isCacheEnabled),[X,J]=(0,x.useState)(),ee=B?.accountId,{wishlist_page_title:et,wishlist_page_desc:ea,add_entire_wishlist_to_cart_button_label:ei,notification_details:er,notify_me:en,legal_disc_details:es}=(0,x.useMemo)(()=>r||{},[r]),el=(0,tZ.useRouter)(),eo=(0,x.useCallback)(e=>{Q((0,tx.addEshopProductToCart)(e))},[Q]),ec=(0,x.useCallback)(e=>{Q((0,tx.updateEshopProductInCart)(e))},[Q]),ed=(0,x.useCallback)(e=>Q((0,tx.updateEshopProductInCart)(e)),[Q]),eu=(0,v.useSelector)(e=>e.eShopPlpFilter.eShopWishListProductSortOrder),[eh,ef]=(0,x.useState)(eu??{id:tq.SORT_DROPDOWN_ID.NAME,order:tU.SORT_ORDER.ASC}),ep=(0,x.useCallback)(e=>Q(t4(e)),[Q]),em=(e,t,a="ASC")=>[...e].sort((e,i)=>{let r=String(e[t]),n=String(i[t]),s=r.localeCompare(n,void 0,{sensitivity:"base"});return"ASC"===a?s:-s}),eg=()=>{let e=r.sort?r.sort.sort_options.reduce((e,t)=>
80{let[a,i]=Object.entries(t)[0];return e[a]=i,e},{}):{};return[{value:tq.SORT_OPTIONS.A_TO_Z,label:e[t9.DRUPAL_SORT_KEYS.NAME_ASC]??t9.SORT_LABELS.NAME_ASC},{value:tq.SORT_OPTIONS.Z_TO_A,label:e[t9.DRUPAL_SORT_KEYS.NAME_DESC]??t9.SORT_LABELS.NAME_DESC}]},eb=()=>{let t=!!(ae.default.isEmpty(a)||ae.default.isEmpty(e));if(!ae.default.isEmpty(r))return(0,y.jsx)(t0.default,{value:Object.keys(tq.SORT_VALUE_MAP).find(e=>tq.SORT_VALUE_MAP[e].id===eh.id&&tq.SORT_VALUE_MAP[e].order===eh.order)??tq.SORT_OPTIONS.A_TO_Z,onSortChange:e_,sortLabels:r.sort,customOptions:eg(),isDisabled:t})},e_=r=>{let n=tq.SORT_VALUE_MAP[r]??{id:tq.SORT_DROPDOWN_ID.NAME,order:tU.SORT_ORDER.ASC};t(em([...e],"heading",n.order)),i(em([...a],"Name",n.order)),ef(n),ep(n)};(0,x.useEffect)(()=>{let e=localStorage.getItem(tq.TEMP_CART_KEY);e&&A(JSON.parse(e))},[]),(0,x.useEffect)(()=>{let e=setInterval(()=>{let e=Date.now(),t={},a=!1;for(let[i,r]of Object.entries(_))r>e?t[i]=r:a=!0;a&&(A(t),localStorage.setItem(tq.TEMP_CART_KEY,JSON.stringify(t)))},1e3);return()=>clearInterval(e)},[_]);let ex=async()=>{l(!0),f(!1),m(null);try{let{eShopWishListDesktopData:e,drupalResponse:a,eShopWishListMobileData:r,successResponseFlag:s,isUnauthorized:l,statusCode:o,data:c}=await t_({labelUrl:q,gqlToken:Y,session:R,csrf:F,accountId:ee,caching:Z});if(s){t(em(e,"heading",eh?.order)),i(em(r,"Name",eh?.order));let a=(c?.productData||[]).map(e=>({field_san_at_productname:e.field_san_at_productname,field_primaryproductimage:e.field_primaryproductimage,variationInfo:e.variationInfo.map(e=>({Id:e.Id,field_san_at_packagesize:e.field_san_at_packagesize||tU.EMPTY_STRING,field_exfactory_price:{Price:Number(e.field_exfactory_price?.Price||0),Currency:e.field_exfactory_price?.Currency||tU.EMPTY_STRING},IsAvailable:e.IsAvailable,field_e_gtin:e.field_e_gtin,IsAddedToCart:e.IsAddedToCart,WishlistItemId:e.WishlistItemId}))}));Q((0,tv.addWishlistInStore)(a))}else!1===s&&("500"===o||"404"===o)?(t([]),i([]),f(!1),m(null)):l?(f(!0),m({errorMessage:L.siteConfig.timeout_logout_failure_msg||tU.EMPTY_STRING})):(f(!0),m({errorMessage:a?.notification_details?.unexpected_err_msg}));n(a)}catch(e){console.error("Error fetching Wishlist data:",e)}finally{l(!1)}},ev=async()=>{I(!0),f(!1),m(null);let t=eA();try{let a=await tK({cartItems:t,session:R,csrf:F,accountId:ee,caching:Z});if(a.success&&a.data){ew(a.data);let i="",r=a.data.succeededWishlistToCartItems.map(a=>{let r=e.find(e=>e?.specifications?.some(e=>e?.some(e=>e?.title==="Spec ID"&&e?.description===a?.productId))),n=0;if(r?.specifications){let e=r.specifications.find(e=>e.some(e=>"Spec ID"===e.title&&e.description===a.productId)),t=e?.find(e=>"field_exfactory_price"===e.fieldKey),s=e?.find(e=>"net_price"===e.fieldKey);t?(n=Number(t.description)||0,i=t.currencyValue||""):s&&(n=Number(s.description)||0,i=s.currencyValue||"")}let s=t.find(e=>e.productId===a.productId);return{item_id:a.productId,item_name:r?.heading??"",price:n,quantity:ae.default.toNumber(s?.quantity??0)}}),n=r.reduce((e,t)=>e+t.price*t?.quantity,0);W(i,n,r)}else eS()}catch(e){eC(e)}finally{I(!1)}},eA=()=>{let t={...g};return e?.flatMap(e=>e.specifications?.flatMap(e=>{let a=e.find(e=>e.title===tq.PRODUCT_LABELS.SPEC_ID)?.description,i=e.find(e=>e.title===tq.PRODUCT_LABELS.QUANTITY)?.description,r=e.find(e=>"Available"===e.title)?.description,n=(t?.[a]??i)?.toString();return n&&"0"!==n&&(0,tQ.isAddToCartEnabled)(r)?[{productId:a,quantity:n}]:[]}))||[]},ew=e=>{e.succeededWishlistToCartItems?.length>0&&(e.succeededWishlistToCartItems.forEach(e=>ec({productId:e?.productId,selectedQty:Number(e?.quantity),cartItemId:e?.cartItemId})),b({})),e.productsFailedCount&&e.productsFailedCount>0?eE(e):c(er?.add_entire_wishlist_to_cart_msg)},eE=e=>{let t=e.failedWishlistToCartItems||[],a=t.filter(e=>e.reason===tU.QTY_LIMIT_EXCEEDED),i=t.filter(e=>e.reason!==tU.QTY_LIMIT_EXCEEDED);if(f(!0),a.length>0){let e=a.map(e=>e.productId).join(", "),t=er?.qty_exceeded_msg_with_pids?.replace("@pids",e),i=t?.replace("@maxqty",X??"");m({errorMessage:i}),m({errorMessage:i})}else{let t=i.map(e=>e.productId).join(", ");m({errorMessage:er?.failed_to_add_to_cart_msg?.replace("@failed_items_cnt",String(e.productsFailedCount))?.replace("@total_items",String(e.productsRequestedCount))?.replace("@item_ids",t)})}b({})},eS=()=>{f(!0),m({errorMessage:r?.notification_details?.something_went_wrong_msg})},eC=e=>{let t=JSON.parse(JSON.stringify(e)),a=t?.response?.errors[0]?.extensions?.response?.status===401||t?.response?.errors[0]?.extensions?.response?.status===403;f(!0),a&&m({errorMessage:L.siteConfig.timeout_logout_failure_msg||tU.EMPTY_STRING})},eT=async({productId:e,quantity:t,productUrl:a,specifications:i,productName:n})=>{f(!1),m(null),u(t=>[...t,e]);let s=U?.find(t=>t.productId===e),{success:l,data:o,isUnauthorized:d,message:h}=await (0,ty.default)({product:{productId:e,qty:Number(t)},productUrl:a,session:R,csrf:F,accountId:ee,caching:Z}),p=Object.fromEntries(h?.split(tU.PIPE)?.map(e=>e?.split(tU.COLON)));if(l){G({productId:e,selectedQty:t,specifications:i,productName:n}),s?ed({productId:e,selectedQty:s?.selectedQty+t,cartItemId:o?.cartItemId}):eo({productId:e,selectedQty:t,cartItemId:o?.cartItemId});let a=Date.now()+tU.NOTIFICATION_DURATION_FIVE_SEC;A(t=>{let i={...t,[e]:a};return localStorage.setItem(tq.TEMP_CART_KEY,JSON.stringify(i)),i}),b(t=>{let{[e]:a,...i}=t;return i})}if(l&&c(er?.added_to_cart_msg),u(t=>t.filter(t=>t!==e)),d)f(!0),m({errorMessage:L.siteConfig.timeout_logout_failure_msg||tU.EMPTY_STRING});else if(l||p?.reason!==tU.QTY_LIMIT_EXCEEDED)l||(f(!0),m({errorMessage:r?.notification_details?.something_went_wrong_msg}));else{f(!0);let e=X,t=r?.notification_details?.qty_exceeded_msg||tU.EMPTY_STRING;m({errorMessage:t&&e?t.replace("@maxqty",String(e)):t})}return l},eN=async({variant:e,quantity:t,productUrl:a})=>{f(!1),m(null),u(t=>[...t,e.Id]);let i=U?.find(t=>t.productId===e.Id),{success:n,data:s,isUnauthorized:l,message:o}=await (0,ty.default)({product:{productId:e.Id,qty:Number(t)},productUrl:a,session:R,csrf:F,accountId:ee,caching:Z}),d=Object.fromEntries(o?.split(tU.PIPE)?.map(e=>e?.split(tU.COLON)));if(n){i?ed({productId:e.Id,selectedQty:i?.selectedQty+t,cartItemId:s?.cartItemId}):eo({productId:e.Id,selectedQty:t,cartItemId:s?.cartItemId});let a=Date.now()+tU.NOTIFICATION_DURATION_FIVE_SEC;A(t=>{let i={...t,[e.Id]:a};return localStorage.setItem(tq.TEMP_CART_KEY,JSON.stringify(i)),i}),b(t=>{let{[e.Id]:a,...i}=t;return i})}if(n&&c(er?.added_to_cart_msg),u(t=>t.filter(t=>t!==e.Id)),l)f(!0),m({errorMessage:L.siteConfig.timeout_logout_failure_msg||tU.EMPTY_STRING});else if(n||d?.reason!==tU.QTY_LIMIT_EXCEEDED)n||(f(!0),m({errorMessage:r?.notification_details?.something_went_wrong_msg}));else{f(!0);let e=X,t=r?.notification_details?.qty_exceeded_msg||tU.EMPTY_STRING;m({errorMessage:t&&e?t.replace("@maxqty",String(e)):t})}return n},ek=async(e,t,a,i)=>{if(f(!1),m(null),a){let e=await (0,tA.removeFromWishlist)({wishlistItemId:a,productUrl:i,session:R,csrf:F,accountId:ee,caching:Z});e?.success?(Q((0,tv.removeFromWishlistSuccess)(a)),c(er?.removed_from_wishlist_msg),await ex()):e?.isUnauthorized?(f(!0),m({errorMessage:L.siteConfig.timeout_logout_failure_msg||tU.EMPTY_STRING})):(Q((0,tv.addToWishlistFailure)()),f(!0),m({errorMessage:r?.notification_details?.something_went_wrong_msg}))}},eI=async(e,t)=>{let a=JSON.parse(sessionStorage.getItem("feDomainData")),i=`${a}${t}`;try{let t=await (0,tB.eShopNotifyMeSoldOut)({productId:e,email:z,pdpUrl:i,session:R,csrf:F,caching:Z});if(t?.success)return P(t=>({...t,[e]:!0})),c(er?.notify_me_success_msg??tU.EMPTY_STRING),t.success;if(!t?.success&&t?.statusCode===tU.STATUS_CODE_200)return f(!0),m({errorMessage:er?.subscription_exists??tU.EMPTY_STRING}),!1;t?.isUnauthorized?(f(!0),m({errorMessage:L.siteConfig.timeout_logout_failure_msg||tU.EMPTY_STRING})):(f(!0),m({errorMessage:r?.notification_details?.something_went_wrong_msg}))}catch(e){f(!0),m({errorMessage:r?.notification_details?.something_went_wrong_msg}),console.error("Notify me in plp:",e)}},ej=async()=>{await ev()},eP=e?.some(e=>e.specifications?.some(e=>{let t=e.find(e=>e.title===tq.PRODUCT_LABELS.SPEC_ID)?.description,a=e.find(e=>e.title===tq.PRODUCT_LABELS.QUANTITY)?.description,i=e.find(e=>e.title===tq.PRODUCT_LABELS.AVAILABLE)?.description;return Number(g?.[t]??a)>0&&(0,tQ.isAddToCartEnabled)(i)})),eL=async()=>{f(!1),m(null);let e=!1,t=await (0,tJ.default)({csrf:F,session:R,caching:Z});J(t?.maxCartItemQty);let a=r?.notification_details?.max_qty_updated_msg,i=a&&t?.maxCartItemQty?a.replace("@maxqty",String(t.maxCartItemQty)):a;
80U.forEach(a=>{a.selectedQty>t?.maxCartItemQty&&(e=!0)}),e&&a&&(m({errorMessage:i}),f(!0))};(0,x.useEffect)(()=>{r&&eL()},[r]);let eO=()=>(0,y.jsx)(y.Fragment,{children:e?.length?(0,y.jsxs)("div",{className:$?"product-card-mobile-container":"eshop-wishlist-card-container list-view",children:[!$&&eb(),$?a?.map((e,t)=>{let{variants:a,VariationInfo:i,PrimaryProductImage:n,Name:s,ProductURL:l,ProductURLLabel:o,productUrl:c,...u}=e;return(0,y.jsx)(e6,{imageUrls:[e?.PrimaryProductImage??tU.EMPTY_STRING],title:e?.Name,variants:e?.variants,variationInfo:e?.VariationInfo,onAddToCart:eN,onQuantityChange:(e,t)=>{b(a=>({...a,[e]:t}))},onWishlistClick:(e,t,a)=>ek(e,t,a,c),ProductURL:e?.ProductURL??tU.EMPTY_STRING,ProductURLLabel:e?.ProductURLLabel,...u,isWishlistPage:!0,UpdatingCartId:d,isTemporarilyAddedData:_,qtyInCartTitle:r?.notification_details?.tot_num_of_items_in_cart_msg,productUrl:c,notify_me:en,onSoldOutIconClick:t=>eI(t,e?.ProductURL??tU.EMPTY_STRING),soldOutClicked:j,isWishlistAddedtoCart:!k,listPriceAsteriskValue:r?.price_label_asterisk,listPriceAsteriskFlag:r?.hide_price_label_asterisk,netPriceAsterriskValue:r?.price_label_double_asterisk,netPriceAsteriskFlag:r?.hide_price_label_double_asterisk,discountHoverText:r?.discount_applied_hover_text},`wishlistMobile-${e?.Id+t}`)}):e?.map((e,t)=>(0,y.jsx)(ey,{...e,onAddToCartClick:eT,onQuantityChange:(e,t)=>
80{b(a=>({...a,[e]:t}))},onWishlistClick:(t,a,i)=>ek(t,a,i,e?.productUrl),isWishlistPage:!0,UpdatingCartId:d,isTemporarilyAddedData:_,productUrl:e?.productUrl??tU.EMPTY_STRING,notify_me:en,onSoldOutIconClick:t=>eI(t,e?.href??tU.EMPTY_STRING),soldOutClicked:j,isWishlistAddedtoCart:!k,discountHoverText:r?.discount_applied_hover_text},`desktopWishlist-${t+e?.id}`))]},$?"mobile-view":"desktop-view"):(0,y.jsxs)(y.Fragment,{children:[!$&&eb(),(0,y.jsx)("div",{className:"eshop-titleDescription",children:(0,y.jsx)(N.default,{title:er?.no_results_found,description:tU.EMPTY_STRING,className:"no-result"})})]})}),eD=(0,x.useRef)(!1);if((0,x.useEffect)(()=>{D&&!eD.current&&(eD.current=!0,V&&ex())},[D,Q]),D&&V&&M)return(0,y.jsxs)("div",{ref:H,className:"eshop-wishlist-parent",children:[k&&(0,y.jsx)("div",{className:"eshop-loading-overlay",children:(0,y.jsx)("div",{className:"eshop-loader"})}),(0,y.jsxs)("div",{className:"eshop-wishlist-header-container",children:[h?(0,y.jsx)("div",{className:"eshop-notification",children:(0,y.jsx)(T.Notification,{notificationType:"error",displayTxt:p?.errorMessage,autoCloseTimer:tU.NOTIFICATION_DURATION,onClose:()=>{m(null),f(!1)}})}):(0,y.jsx)(y.Fragment,{}),(0,y.jsx)("div",{className:"eshop-title-section",children:et}),(0,y.jsx)("div",{className:"eshop-text-content",children:(0,y.jsx)(E.RichText,{content:ea})})]}),$&&eb(),(0,y.jsxs)("div",{className:"eshop-product-card-container",children:[s?(0,y.jsx)(S.default,{display:s}):eO(),(0,y.jsx)("div",{className:"eshop-add-to-cart",children:(0,y.jsxs)("button",{className:"eshop-add-to-cart-btn",onClick:ej,disabled:e?.length===0||a?.length===0||!eP,children:[(0,y.jsx)(w.Icon,{iconName:"FunctionalCart",color:e?.length!==0&&a?.length!==0&&eP?"var(--brand-primary-color-one)":"var(--brand-grey-color-three)"})," ",ei]})})]}),es?.is_hidden?(0,y.jsx)(y.Fragment,{}):(0,y.jsx)("div",{className:"eshop-wishlist-legal-disclaimer-wrapper",children:(0,y.jsx)(E.RichText,{content:es?.legal_dis_desc||tU.EMPTY_STRING,className:"eshop-wishlist-legal-disclaimer-text-style"})}),r?.mlr_number&&(0,y.jsx)("div",{className:"eshop-mlr-wishlist-container",children:(0,y.jsx)(E.RichText,{content:r.mlr_number,className:"eshop-mlr-text"})}),(0,y.jsx)("div",{className:"eshop-notification",children:o&&(0,y.jsx)(T.Notification,{notificationType:"success",displayTxt:o,autoCloseTimer:tU.NOTIFICATION_DURATION,onClose:()=>c(tU.EMPTY_STRING)})})]});if(D&&V&&!M&&K&&L?.siteConfig?.customer_on_behalf_alias){let e=el.asPath;return el.push({pathname:L?.siteConfig?.customer_on_behalf_alias||"/",query:{redirect:e}}),null}return D&&V&&!M&&!K&&L?.eshopCobPaywallNotice?.loginText&&L?.eshopCobPaywallNotice?.description?(0,y.jsx)(tO,{paywallNotice:L?.eshopCobPaywallNotice,roles:tU.EMPTY_STRING,loginHandler:()=>O(),isEshopPaywall:!0}):(0,y.jsx)(tO,{paywallNotice:L.eshopPaywallNotice,roles:tU.EMPTY_STRING,loginHandler:()=>O(),isEshopPaywall:!0})},ai={updatePaywallContent:e=>(0,A.updatePaywallContent)(e)},ar=(0,v.connect)(null,ai)(aa);var an=e.i(43927);let as=(0,e.i(68489).default)(()=>e.A(13220),{loadableGenerated:{modules:[9443]},ssr:!1,loading:()=>(0,t.jsx)(o.Loader,{display:!0})}),al=({profileContent:e=[],className:o,scrollAmount:y=24,profileForm:x,labels:v,show_in_card:A})=>{let[w,E]=(0,a.useState)(null),{registerFormData:S}=x,C=(0,n.useSelector)(e=>e.user),{isDataReady:T,...N}=(0,an.default)(),k=()=>["profile-categories",o].filter(Boolean).join(" "),I=e.map(e=>({children:`${e.tabName}`,itemID:e.tabType,tabDesign:"wide"})),j=(0,d.usePreviousRoute)();(0,a.useEffect)(()=>{let e=window.location.href,t=j&&`${window.location.origin}${j}`;C?.user?.response?.session_data?.user_data?.current_user?.name;let a=C?.profile?.response?.profile?.records?.[0]?.SCT_Primary_Specialty__c,i={...N,page_location:e,...t&&{page_referrer:t},roles:a,area_of_expertise:a,eventType:f.EVENTS.PAGE_READY,interactionName:f.EVENTS.PAGE_READY};(0,u.loadGTMPageView)().then(e=>{e&&(0,h.dataLayerPush)(f.EVENTS.PAGE_READY,i)})},[document,T]);let P=(e,t,a)=>{let i=e.getBoundingClientRect(),r=document.querySelector(".floatingBanner"),n=document.querySelector(".eyebrow-menu"),s=r?r.getBoundingClientRect().height:0,l=n?n.getBoundingClientRect().height:0,o=Math.min(Math.max(i.top+window.scrollY-(s+l),0),document.documentElement.scrollHeight-window.innerHeight);if(window.scrollTo({left:i.left+window.scrollX,top:o,behavior:"smooth"}),t?.includes("acc")){let t=e?.getAttribute("class");if(t?.includes("accordion")||t?.includes("accordion-item")){let t=e?.children[0]?.children[0];t?.classList.remove("collapsed");let a=e?.children[1];a?.classList.add("show")}}if(t?.includes("tab")){let e=document.getElementById(a);if(e){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});e.dispatchEvent(t)}}};(0,a.useLayoutEffect)(()=>
80{if(I.length){let{location:e}=window,t=e?.hash||"",a="";if(t)a=t?.includes("#")?t?.split("#")?.[1]?.split("/")?.[0]:t?.split("/")?.[0];else{let t=e?.search;a=t&&(new URLSearchParams(t).get("acc")||new URLSearchParams(t).get("tab"))||"",a=a?.includes("/")?a?.split("/")?.[0]:a}let i=document.getElementById(a);i&&(new ResizeObserver(t=>{for(let r of t)r?.target===i&&P(i,e?.search,a)}).observe(i),setTimeout(()=>{P(i,e?.search,a)},100))}},[I]),(0,a.useEffect)(()=>{let{hash:e,search:t}=window.location,a="";e?a=e.replace("#",""):t&&(a=new URLSearchParams(t).get("tab")||""),a&&E(a)},[]);let L=e.map((e,a)=>{switch(e.tabType){case v.bookmarks:case b.default.BOOKMARKS:return(0,t.jsx)(r.default,{labels:v,show_in_card:A},a);case b.default.CERTIFICATES:return(0,t.jsx)(_.default,{certificationBlockTitle:e.content.title,certificationBlockDesc:e.content.desc,certificationBlockCtaLabel:"",certificateInfo:e.content.certificates,showAllCerts:!0});case b.default.FAVOURITES:return(0,t.jsx)(r.default,{labels:v,show_in_card:A,isFavourite:!0},a);case v.basicInformation:return(0,t.jsx)(i.default,{...S},a);case v.basicFlexibleInformation:case b.default.CUSTOM_BLOCK:return(0,t.jsx)(m.TextBlock,{...e.content},a);case v.password_title:return(0,t.jsx)(s.ChangePassword,{...v?.change_password});case b.default.WEBFORM:return(0,t.jsx)(g.default,{...e.content},a);case b.default.CONSENT:case v.consent:return(0,t.jsx)(c.default,{});case b.default.ORDER_HISTORY:case v.myOrder:return(0,t.jsx)(as,{});case b.default.WISHLIST:case v.wishlist:return(0,t.jsx)(ar,{});default:return(0,t.jsx)("div",{children:e.tabType},a)}}),O=(0,a.useRef)(null),[D,M]=(0,a.useState)(!1),[R,F]=(0,a.useState)(!1),B=()=>{let e=O.current;e&&(F(!1),M(e.scrollLeft>0))},U=e=>{let t=O.current;t&&(t.scrollLeft+="left"===e?-y:y,B())};(0,a.useEffect)(()=>(B(),window.addEventListener("resize",B),()=>{window.removeEventListener("resize",B)}),[]);let H=e=>{if(window.location?.search?.includes("tab=")){var t=window.location.protocol+"//"+window.location.host+window.location.pathname;window.history.replaceState({path:t},"",t)}};return C&&C.isLoggedIn&&(0,t.jsxs)("div",{className:k(),children:[D&&(0,t.jsx)("button",{type:"button",onClick:()=>{U("left")},"aria-label":"Scroll left",children:(0,t.jsx)(l.Icon,{iconName:"ChevronUp1"})}),(0,t.jsx)("div",{ref:O,children:(0,t.jsx)(p.default,{tabHeadItems:I,tabContents:L,tabHeadClassName:"tabHeadClass",selectedTabCallBack:H,isProfileTab:!0,defaultActiveTabId:w??""})}),R&&(0,t.jsx)("button",{type:"button",onClick:()=>{U("right")},"aria-label":"Scroll right",children:(0,t.jsx)(l.Icon,{iconName:"ChevronDown1"})})]})}},28884,e=>{"use strict";e.s(["default",()=>s]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(49266);let n=e=>(0,t.jsx)("ul",{className:"link-list",children:e?.map((e,a)=>e.referencePath&&e.referenceTitle?(0,t.jsxs)("li",{children:[(0,t.jsxs)(i.Anchor,{href:e.referencePath,tabindex:a,noUnderline:!0,children:[(0,t.jsxs)("span",{className:"link-list-text",children:[" ",e.referenceTitle]}),(0,t.jsx)(r.Icon,{iconName:"ChevronRightIcon5",className:"link-list-icon arrow",width:32,height:32})]}),(0,t.jsx)("hr",{className:"link-list-bar"})]},a):(0,t.jsx)(t.Fragment,{}))}),s=e=>{let i,r,s,l,o=(0,a.c)(9),{rightPanelTitle:c,rightSidePanelInfo:d}=e;return o[0]!==c?(i=(0,t.jsx)("h3",{className:"header",children:c}),r=c&&(0,t.jsx)("hr",{className:"bar"}),o[0]=c,o[1]=i,o[2]=r):(i=o[1],r=o[2]),o[3]!==d?(s=!!d?.length&&n(d),o[3]=d,o[4]=s):s=o[4],o[5]!==i||o[6]!==r||o[7]!==s?(l=(0,t.jsxs)("div",{className:"right-panel",children:[i,r,s]}),o[5]=i,o[6]=r,o[7]=s,o[8]=l):l=o[8],l}},32228,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(91788),i=e.i(61576),r=e.i(71091),n=e.i(11462),s=e.i(75425),l=e.i(41764),o=e.i(82054),
80c=e.i(13088);let d=e=>e.filter(e=>"video"!==e.uploadType).map((e,t)=>(0,a.createElement)(n.default,{...e,key:t})),u=e=>{let n,u,f,b,_,y,x,v,A,w,E,S,C,T,N,k=(0,i.c)(33),{slidesInfo:I,duration:j,className:P,enablePlayPause:L}=e,O=void 0===j?s.default.TWO_THOUSAND:j,D=(0,a.useRef)(null),[M,R]=(0,a.useState)(!1),F=!!L;k[0]!==P?(n=()=>["rotating-banner-container",P].filter(Boolean).join(" "),k[0]=P,k[1]=n):n=k[1];let B=n,U=(0,a.useContext)(o.default),H=U?.applicationConfiguration?.siteConfig?.carousel_btn_cta_text?.length?U.applicationConfiguration.siteConfig.carousel_btn_cta_text:l.GO_TO_NEXT_SLIDE,$=U?.applicationConfiguration?.siteConfig?.carousel_play_btn_txt?.length?U.applicationConfiguration.siteConfig.carousel_play_btn_txt:l.PLAY_BTN,G=U?.applicationConfiguration?.siteConfig?.carousel_pause_btn_txt?.length?U.applicationConfiguration.siteConfig.carousel_pause_btn_txt:l.PAUSE_BTN;k[2]!==M?(u=()=>{M?D?.current?.slickPause():D?.current?.slickPlay(),R(!M)},k[2]=M,k[3]=u):u=k[3];let W=u;k[4]===Symbol.for("react.memo_cache_sentinel")?(f=(e,t)=>{let a=D.current?.innerSlider?.list;if(!a)return;let i=a.querySelectorAll(".slick-slide");if(i.length<=1){let t=i[e];t&&t.querySelectorAll(".heroBannerContent-title, .heroBannerContent-text-style, a").forEach(h);return}i.forEach(p);let r=i[e+1];if(r){let e=r.querySelectorAll(".heroBannerContent-title, .heroBannerContent-text-style, a");if(e.forEach(m),e.length>0&&!t){let t=document.activeElement,i=a.contains(t),r=!!t?.closest(".slick-dots");(i||r)&&e[0].focus({preventScroll:!0})}}},k[4]=f):f=k[4];let Y=f;if(k[5]===Symbol.for("react.memo_cache_sentinel")){let e=new Uint32Array(1);b=crypto.getRandomValues(e),k[5]=b}else b=k[5];let z="rhb_"+b[0],V=!F&&(I?.length||s.default.ZERO)>s.default.ONE;k[6]!==H?(_=e=>(0,t.jsx)("button",{type:"button","aria-label":`${H} ${e+1}`,className:"custom-dot"}),k[6]=H,k[7]=_):_=k[7],k[8]!==G||k[9]!==$||k[10]!==M||k[11]!==F||k[12]!==W?(y=e=>(0,t.jsxs)("div",{className:"dots-wrapper",children:[F&&(0,t.jsx)("button",{id:"custom-play-pause",onClick:W,"aria-label":M?G:$,children:M?(0,c.default)("rebranding","carouselPlayIcon"):(0,c.default)("rebranding","carouselPauseIcon")}),(0,t.jsx)("ul",{children:e})]}),k[8]=G,k[9]=$,k[10]=M,k[11]=F,k[12]=W,k[13]=y):y=k[13],k[14]===Symbol.for("react.memo_cache_sentinel")?(v=()=>{setTimeout(()=>Y(0,!0),0)},x=e=>{Y(e,!1)},k[14]=x,k[15]=v):(x=k[14],v=k[15]),k[16]!==O||k[17]!==V||k[18]!==_||k[19]!==y?(A={dots:!0,slidesToShow:s.default.ONE,slidesToScroll:s.default.ONE,arrow:!1,infinite:!0,accessibility:!0,autoplaySpeed:O,pauseOnHover:!0,rtl:!1,autoplay:V,customPaging:_,appendDots:y,onInit:v,afterChange:x},k[16]=O,k[17]=V,k[18]=_,k[19]=y,k[20]=A):A=k[20];let K=A;k[21]!==I?(w=()=>{let e=document.getElementById(z),t=e?.querySelector(".slick-dots"),a=e?.querySelector(".heroCarouselIndicator");if(a&&t&&I.length>s.default.ONE){let e=I.some(g),i=t;i.style.marginTop=e?"-11.5rem":"0",a.appendChild(i)}},E=[I],k[21]=I,k[22]=w,k[23]=E):(w=k[22],E=k[23]),(0,a.useEffect)(w,E);let q=B();return k[24]!==I?(S=d(I),k[24]=I,k[25]=S):S=k[25],k[26]!==K||k[27]!==S?(C=(0,t.jsx)(r.default,{ref:D,...K,children:S}),k[26]=K,k[27]=S,k[28]=C):C=k[28],k[29]===Symbol.for("react.memo_cache_sentinel")?(T=(0,t.jsx)("div",{className:"container heroCarouselIndicator"}),k[29]=T):T=k[29],k[30]!==q||k[31]!==C?(N=(0,t.jsxs)("div",{className:q,id:z,children:[C,T]}),k[30]=q,k[31]=C,k[32]=N):N=k[32],N};function h(e){return e.setAttribute("tabindex","0")}function f(e){return e.setAttribute("tabindex","-1")}function p(e){return e.querySelectorAll("a, button, h1, div, [tabindex]").forEach(f)}function m(e){let t=e.textContent;"string"==typeof t&&""!==t.trim()&&e.setAttribute("tabindex","0")}function g(e){return e.referenceField}},83747,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(70184),n=e.i(75957),s=e.i(37880);let l=e=>{let l,o,c,d,u=(0,a.c)(8),{serviceTeaserCardImage:h}=e,{serviceTeaserCardContent:f}=e;return u[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.default)(),u[0]=l):l=u[0],u[1]!==h?(o=h&&(0,t.jsx)(r.Img,{className:"service-teaser-card-image",type:"card",styledimage:h?.styledimage,src:h.src,alt:h.alt,width:372,height:215,islazyloaded:!1}),u[1]=h,u[2]=o):o=u[2],u[3]!==f?(c=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsx)(s.default,{...f})}),u[3]=f,u[4]=c):c=u[4],u[5]!==o||u[6]!==c?(d=(0,t.jsx)(i.Column,{desktop:4,tablet:6,mobile:12,className:"service-teaser-card",children:(0,t.jsxs)("div",{className:"card",dir:l,children:[o,c]})}),u[5]=o,u[6]=c,u[7]=d):d=u[7],d}},62971,46863,e=>{"use strict";e.s(["default",()=>c],62971);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(6271),r=e.i(49266),n=t,s=a,l=e.i(41158);let o=e=>{let t,a,i,r,o=(0,s.c)(11);o[0]!==e.active||o[1]!==e.className?(t=()=>{let t=[];return t.push("nav-item"),e.active&&t.push("active"),e.className&&t.push(e.className),t.join(" ")},o[0]=e.active,o[1]=e.className,o[2]=t):t=o[2];let c=t();return o[3]!==e.children?(a=(0,n.jsx)("a",{className:"nav-link",children:e.children}),o[3]=e.children,o[4]=a):a=o[4],o[5]!==e.href||o[6]!==a?(i=(0,n.jsx)(l.default,{href:e.href,legacyBehavior:!0,children:a}),o[5]=e.href,o[6]=a,o[7]=i):i=o[7],o[8]!==c||o[9]!==i?(r=(0,n.jsx)("li",{className:c,children:i}),o[8]=c,o[9]=i,o[10]=r):r=o[10],r};e.s(["default",0,o],46863);let c=e=>{let r,n,s,l,o,c,d,h,f,p=(0,a.c)(22),{sitemapData:m}=e;p[0]!==m?(r=void 0===m?[]:m,p[0]=m,p[1]=r):r=p[1];let g=r;p[2]!==e.className?(n=()=>{let t=[];return t.push("sitemapContent"),e.className&&t.push(e.className),t.join(" ")},p[2]=e.className,p[3]=n):n=p[3];let b=n();return p[4]!==g.subtitle?(s=(0,t.jsx)("h3",{children:g.subtitle}),p[4]=g.subtitle,p[5]=s):s=p[5],p[6]!==g.title?(l=(0,t.jsx)("h3",{children:g.title}),p[6]=g.title,p[7]=l):l=p[7],p[8]!==g.description?(o=(0,t.jsx)("p",{children:g.description}),p[8]=g.description,p[9]=o):o=p[9],p[10]!==s||p[11]!==l||p[12]!==o?(c=(0,t.jsxs)("div",{className:"sitemapContent__header",children:[s,l,o]}),p[10]=s,p[11]=l,p[12]=o,p[13]=c):c=p[13],p[14]!==g.pageHeaders?(d=g.pageHeaders.map(u),p[14]=g.pageHeaders,p[15]=d):d=p[15],p[16]!==d?(h=(0,t.jsx)("div",{className:"sitemapContent__categories",children:d}),p[16]=d,p[17]=h):h=p[17],p[18]!==b||p[19]!==c||p[20]!==h?(f=(0,t.jsxs)(i.Container,{className:b,children:[c,h]}),p[18]=b,p[19]=c,p[20]=h,p[21]=f):f=p[21],f};function d(e,a){return(0,t.jsx)(o,{href:e.link,className:"sitemapContent__navLink",children:e.text},a)}function u(e,a){return(0,t.jsxs)("div",{className:"sitemapContent__category",children:[(0,t.jsxs)("div",{className:"sitemapContent__category-header",children:[(0,t.jsx)("h4",{children:e.text}),e.headersContent.length>0&&(0,t.jsx)(r.Icon,{iconName:"CollapseUpIcon"})]}),(0,t.jsx)("div",{className:"sitemapContent__subpages",children:e.headersContent.map(d)})]},a)}},87560,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(38233),r=e.i(17419),n=e.i(70184),s=e.i(5223),l=e.i(91788),o=e.i(83919);let c=e=>{let c,d,u,h,f,p,m,g=(0,a.c)(23),{readMoretitle:b,readMore:_,className:y,imageUrl:x,showMoreButtonLabel:v,showLessButtomLabel:A,imageHeight:w,isReadMoreEnabled:E}=e,S=b||" ",C=_||" ",[T,N]=(0,l.useState)(E),k=(0,l.useRef)(null);g[0]!==T?(c=()=>{N(!T),T&&k?.current?.scrollIntoView({behavior:"smooth"})},g[0]=T,g[1]=c):c=g[1];let I=c;g[2]===Symbol.for("react.memo_cache_sentinel")?(d=/<.+p>(.*?)<\/.*p>/,g[2]=d):d=g[2];let j=d;g[3]!==C?(u=j.exec(C),g[3]=C,g[4]=u):u=g[4];let P=u,L=P?P[0]:"",O=y||"";return g[5]!==w||g[6]!==x?(h=x?.map((e,a)=>(0,t.jsx)(n.Img,{type:"therapy_details",styledimage:e?.styledimage,alt:e.alt,src:e.src,width:1e3,height:w||500,caption:e.caption},a)),g[5]=w,g[6]=x,g[7]=h):h=g[7],g[8]!==O||g[9]!==h?(f=(0,t.jsx)(o.default,{slideToShow:1,slideToShowTablet:1,slide:!0,className:O,children:h}),g[8]=O,g[9]=h,g[10]=f):f=g[10],g[11]!==L||g[12]!==T||g[13]!==E||g[14]!==C||g[15]!==S||g[16]!==A||g[17]!==v||g[18]!==I?(p=C&&(0,t.jsx)("div",{className:"content",ref:k,children:(0,t.jsxs)("div",{className:"text-block",children:[(0,t.jsx)("h5",{children:S}),T?(0,t.jsx)(s.RichText,{content:L}):(0,t.jsx)(s.RichText,{content:C}),(v||A)&&E&&(0,t.jsx)(i.Button,{className:"show-more",onClick:I,tabindex:1,isSecondary:!0,children:T?v:A})]})}),g[11]=L,g[12]=T,g[13]=E,g[14]=C,g[15]=S,g[16]=A,g[17]=v,g[18]=I,g[19]=p):p=g[19],g[20]!==f||g[21]!==p?(m=(0,t.jsx)(r.Column,{desktop:12,mobile:12,tablet:12,className:"sliderWithContent",children:(0,t.jsxs)("div",{children:[f,p]})}),g[20]=f,g[21]=p,g[22]=m):m=g[22],m}},51236,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576),i=e.i(9049),r=e.i(87560),n=e.i(99523),s=e.i(82054),l=e.i(91788),o=e.i(15315);let c=e=>{let c,d,u,h,f,p,m,g=(0,a.c)(16),{titleNewsAndStoriesDetails:b,detailNewsAndStories:_}=e;g[0]!==b?({subTitle:d,...c}=b,g[0]=b,g[1]=c,g[2]=d):(c=g[1],d=g[2]);let{applicationConfiguration:y}=(0,l.useContext)(s.default);if(g[3]!==y?.siteConfig?.date_format||g[4]!==d){let{lang:e}=(0,o.getApiDomainAndLang)();u=i.default,h=d?(0,n.default)(d,!0).locale(e).format(y?.siteConfig?.date_format):"",g[3]=y?.siteConfig?.date_format,g[4]=d,g[5]=u,g[6]=h}else u=g[5],h=g[6];return g[7]!==u||g[8]!==c||g[9]!==h?(f=(0,t.jsx)(u,{subTitle:h,...c}),g[7]=u,g[8]=c,g[9]=h,g[10]=f):f=g[10],g[11]!==_?(p=(0,t.jsx)(r.default,{..._}),g[11]=_,g[12]=p):p=g[12],g[13]!==f||g[14]!==p?(m=(0,t.jsxs)(t.Fragment,{children:[f,p]}
80),g[13]=f,g[14]=p,g[15]=m):m=g[15],m}},60338,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17419),n=e.i(70184),s=e.i(78150),l=e.i(62281);let o=e=>{let o,c,d,u,h,f=(0,a.c)(18);f[0]!==e.relatedContentFlag||f[1]!==e.therapyCardContent?(o=e?.relatedContentFlag?(0,l.modifyRelatedContentData)(e?.therapyCardContent):e?.therapyCardContent,f[0]=e.relatedContentFlag,f[1]=e.therapyCardContent,f[2]=o):o=f[2];let p=o,m=e.relatedContentFlag?12:4,g=e.relatedContentFlag?12:6;return f[3]!==e.image?.alt||f[4]!==e.image?.src||f[5]!==e.image?.styledimage||f[6]!==e.relatedContentFlag||f[7]!==e.therapyCardContent?(c=e?.image?.src&&(0,t.jsx)("div",{className:"image-section",children:(0,t.jsx)(i.Anchor,{noUnderline:!0,tabindex:0,href:e?.therapyCardContent.buttonUrl,isExternal:e?.therapyCardContent.isButtonUrlExternal,children:(0,t.jsx)(n.Img,{type:"card",styledimage:e?.image?.styledimage,src:e?.image?.src,alt:e?.image?.alt,width:368,height:220,className:"card-img-top",islazyloaded:!e?.relatedContentFlag})})}),f[3]=e.image?.alt,f[4]=e.image?.src,f[5]=e.image?.styledimage,f[6]=e.relatedContentFlag,f[7]=e.therapyCardContent,f[8]=c):c=f[8],f[9]!==p?(d=(0,t.jsx)("div",{className:"card-body text-center",children:(0,t.jsx)(s.default,{...p})}),f[9]=p,f[10]=d):d=f[10],f[11]!==c||f[12]!==d?(u=(0,t.jsxs)("div",{className:"card text-center",children:[c,d]}),f[11]=c,f[12]=d,f[13]=u):u=f[13],f[14]!==m||f[15]!==g||f[16]!==u?(h=(0,t.jsx)(r.Column,{desktop:m,tablet:g,mobile:12,className:"therapy-area-card",children:u}),f[14]=m,f[15]=g,f[16]=u,f[17]=h):h=f[17],h}},40182,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(49266),n=e.i(70184),s=e.i(58097),l=e.i(75957),o=e.i(91788),c=e.i(55613),d=e.i(67400);let u=e=>{let u,h,f,p,m,g=(0,a.c)(15),[b,_]=(0,o.useState)(!1);g[0]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{_(!1)},g[0]=u):u=g[0];let y=u,x=e.videoTeaserCardContent;return g[1]===Symbol.for("react.memo_cache_sentinel")?(h=(0,l.default)(),g[1]=h):h=g[1],g[2]!==e.image?.alt||g[3]!==e.image?.src||g[4]!==e.image?.styledimage||g[5]!==e.videoUrl||g[6]!==e.video_configuration||g[7]!==b||g[8]!==x?(f=e?.video_configuration?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"video-teaser-card-image-wrapper",onClick:()=>_(!0),children:[e?.image?.src&&(0,t.jsx)(n.Img,{type:"card",styledimage:e?.image?.styledimage,src:e?.image?.src,alt:e?.image?.alt,width:372,height:215,className:"video-teaser-card-image"}),(0,t.jsx)("div",{className:"overlay-icon",onClick:()=>_(!0),children:(0,t.jsx)(r.Icon,{iconName:"PlayIcon"})})]}),b&&(0,t.jsx)(c.default,{titleText:x?.heading,src:e?.videoUrl,onClose:y})]}):(0,t.jsx)(s.Video,{src:e?.videoUrl},x.id),g[2]=e.image?.alt,g[3]=e.image?.src,g[4]=e.image?.styledimage,g[5]=e.videoUrl,g[6]=e.video_configuration,g[7]=b,g[8]=x,g[9]=f):f=g[9],g[10]!==x?(p=(0,t.jsx)(d.default,{...x}),g[10]=x,g[11]=p):p=g[11],g[12]!==f||g[13]!==p?(m=(0,t.jsx)(i.Column,{desktop:4,tablet:4,mobile:12,className:"video-teaser-card",children:(0,t.jsxs)("div",{className:"card",dir:h,children:[f,p]})}),g[12]=f,g[13]=p,g[14]=m):m=g[14],m},h=(0,o.memo)(u)},74571,e=>{"use strict";e.s(["default",()=>s]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(5223),n=e.i(58097);let s=e=>{let s,l,o,c=(0,a.c)(7),d=e?.videoUrl;return c[0]!==d?(s=(0,t.jsx)(n.Video,{src:d}),c[0]=d,c[1]=s):s=c[1],c[2]!==e.content?(l=(0,t.jsx)(r.RichText,{className:"content",content:e.content}),c[2]=e.content,c[3]=l):l=c[3],c[4]!==s||c[5]!==l?(o=(0,t.jsx)(i.Column,{desktop:12,mobile:12,tablet:12,className:"videoWithContent",children:(0,t.jsxs)("div",{children:[s,l]})}),c[4]=s,c[5]=l,c[6]=o):o=c[6],o}},33901,e=>{"use strict";e.s(["default",()=>m],33901);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(38233),n=e.i(49266),s=t,l=a,o=n,c=e.i(26012),d=e.i(50859);e.i(35958);var u=e.i(60384),h=e.i(88007),h=h;let f=e=>{let t,a,i,r,n=(0,l.c)(12),{modalTitle:f,sharingPlatforms:p,pageLinkLabel:m,copiedLabel:g,onClose:b,copyBtnLabel:_}=e;if(n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.jsx)(o.Icon,{iconName:"CloseIcon2"}),n[0]=t):t=n[0],n[1]!==f||n[2]!==b?(a=(0,s.jsx)(d.ModalHeader,{titleText:f,closeIcon:t,onClose:b}
80),n[1]=f,n[2]=b,n[3]=a):a=n[3],n[4]!==g||n[5]!==_||n[6]!==m||n[7]!==p?(i=(0,s.jsx)(c.ModalBody,{content:(0,s.jsx)(h.default,{sharingPlatforms:p,pageLinkLabel:m,copiedLabel:g,copyBtnLabel:_})}),n[4]=g,n[5]=_,n[6]=m,n[7]=p,n[8]=i):i=n[8],n[9]!==a||n[10]!==i){let e=(0,s.jsxs)("div",{className:"social-share-modal",children:[a,i]});r=(0,s.jsx)(u.ModalPortal,{modalContent:e,wrapperId:"react-portal-wrapper",className:"social-sharing"}),n[9]=a,n[10]=i,n[11]=r}else r=n[11];return r};var p=e.i(75425);let m=e=>{let s,l,o,c,d,u=(0,a.c)(16),{btnLabel:h,sharingPlatforms:m,pageLinkLabel:g,copiedLabel:b,tabIndex:_,copyBtnLabel:y,buttonGroupBackgroundColor:x}=e,v=void 0===_?p.default.ZERO:_,[A,w]=(0,i.useState)(!1);return u[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(n.Icon,{iconName:"ShareIcon"}),u[0]=s):s=u[0],u[1]===Symbol.for("react.memo_cache_sentinel")?(l=()=>w(!0),u[1]=l):l=u[1],u[2]!==h||u[3]!==x||u[4]!==v?(o=(0,t.jsx)(r.Button,{className:"social-share-cta",tabindex:v,icon:s,isSecondary:!0,onClick:l,buttonGroupBackgroundColor:x,children:h}),u[2]=h,u[3]=x,u[4]=v,u[5]=o):o=u[5],u[6]!==h||u[7]!==b||u[8]!==y||u[9]!==g||u[10
80]!==m||u[11]!==A?(c=A&&(0,t.jsx)(f,{modalTitle:h,sharingPlatforms:m,pageLinkLabel:g,copiedLabel:b,onClose:()=>w(!1),copyBtnLabel:y}),u[6]=h,u[7]=b,u[8]=y,u[9]=g,u[10]=m,u[11]=A,u[12]=c):c=u[12],u[13]!==o||u[14]!==c?(d=(0,t.jsxs)("div",{className:"social-share",children:[o,c]}),u[13]=o,u[14]=c,u[15]=d):d=u[15],d}},9278,e=>{"use strict";e.s(["TestimonialCardContent",()=>t.default]);var t=e.i(69943)},34993,e=>{"use strict";e.s(["CarouselWrapper",()=>t.default]);var t=e.i(83919)},78947,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(70184),n=e.i(66196);e.i(35958);var s=e.i(9278);e.i(62179);var l=e.i(34993),o=e.i(75957),c=e.i(75425);let d=e=>{let l,o,c,d,u,h,f,p,m,g,b,_,y=(0,a.c)(26);y[0]!==e?({logoImageUrl:h,logoImageAlt:u,alt:l,image:d,styledimage:p,className:o,hideQuotes:c,...f}=e,y[0]=e,y[1]=l,y[2]=o,y[3]=c,y[4]=d,y[5]=u,y[6]=h,y[7]=f,y[8]=p):(l=y[1],o=y[2],c=y[3],d=y[4],u=y[5],h=y[6],f=y[7],p=y[8]);let x=`testimonial ${o}`;y[9]!==c||y[10]!==u||y[11]!==h||y[12]!==f.testimonialContent?(m=(0,t.jsx)(i.Column,{mobile:12,tablet:12,desktop:6,className:"testimonial-content-left",children:(0,t.jsx)(s.TestimonialCardContent,{...f.testimonialContent,logoImageUrl:h,logoImageAlt:u,hideQuotes:c})}),y[9]=c,y[10]=u,y[11]=h,y[12]=f.testimonialContent,y[13]=m):m=y[13];let v=c?"testimonial-content-auto-right":"testimonial-content-right";return y[14]!==l||y[15]!==d||y[16]!==p?(g=(0,t.jsx)(r.Img,{className:"testimonial-image-content",type:"testimonials",styledimage:p,alt:l,src:d,width:"548",height:"370"}),y[14]=l,y[15]=d,y[16]=p,y[17]=g):g=y[17],y[18]!==v||y[19]!==g?(b=(0,t.jsx)(i.Column,{mobile:12,tablet:12,desktop:6,className:v,children:g}),y[18]=v,y[19]=g,y[20]=b):b=y[20],y[21]!==f.testimonialContent.name||y[22]!==x||y[23]!==m||y[24]!==b?(_=(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(n.Row,{className:x,children:[m,b]},f.testimonialContent.name)}),y[21]=f.testimonialContent.name,y[22]=x,y[23]=m,y[24]=b,y[25]=_):_=y[25],_},u=e=>{let i,r,n,s,u,h=(0,a.c)(12),{slidesInfo:f,title:p,hideQuotes:m}=e,g=void 0!==m&&m;return h[0]!==g||h[1]!==p?(i=g?(0,t.jsx)("h2",{className:"testimonial-heading bold",children:p}):(0,t.jsx)(t.Fragment,{}),h[0]=g,h[1]=p,h[2]=i):i=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,o.default)(),h[3]=r):r=h[3],h[4]!==g||h[5]!==f?(n=f?.map((e,a)=>(0,t.jsx)(d,{...e,className:f.length===c.default.ONE?"single-slide":"",hideQuotes:g},a)),h[4]=g,h[5]=f,h[6]=n):n=h[6],h[7]!==n?(s=(0,t.jsx)(l.CarouselWrapper,{className:"testimonial-caraousel",slideToShow:1,slideToShowTablet:1,dir:r,children:n}),h[7]=n,h[8]=s):s=h[8],h[9]!==i||h[10]!==s?(u=(0,t.jsxs)(t.Fragment,{children:[i,s]}),h[9]=i,h[10]=s,h[11]=u):u=h[11],u}},35074,24671,84213,34641,e=>{"use strict";e.s(["default",()=>D],35074);var t,a,i,r=e.i(91398),n=e.i(91788),s=n,l=Object.defineProperty,o=new Map,c=new WeakMap,d=0;function u(e){return e?(c.has(e)||(d+=1,c.set(e,d.toString())),c.get(e)):"0"}function h(e){return Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>`${t}_${"root"===t?u(e.root):e[t]}`).toString()}function f(e){let t=h(e),a=o.get(t);if(!a){let i,r=new Map,n=new IntersectionObserver(t=>{t.forEach(t=>{var a;let n=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=n),null==(a=r.get(t.target))||a.forEach(e=>{e(n,t)})})},e);i=n.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:t,observer:n,elements:r},o.set(t,a)}return a}function p(e,a,i={},r=t){if(void 0===window.IntersectionObserver&&void 0!==r){let t=e.getBoundingClientRect();return a(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:t,intersectionRect:t,rootBounds:t}),()=>{}}let{id:n,observer:s,elements:l}=f(i),c=l.get(e)||[];return l.has(e)||l.set(e,c),c.push(a),s.observe(e),function(){c.splice(c.indexOf(a),1),0===c.length&&(l.delete(e),s.unobserve(e)),0===l.size&&(s.disconnect(),o.delete(n))}}function m({threshold:e,delay:t,trackVisibility:a,rootMargin:i,root:r,triggerOnce:n,skip:l,initialInView:o,fallbackInView:c,onChange:d}={}){var u;let[h,f]=s.useState(null),g=s.useRef(d),b=s.useRef(o),[_,y]=s.useState({inView:!!o,entry:void 0});g.current=d,s.useEffect(()=>{let s;if(void 0===b.current&&(b.current=o),!l&&h)return s=p(h,(e,t)=>{let a=b.current;b.current=e,(void 0!==a||e)&&(y({inView:e,entry:t}),g.current&&g.current(e,t),t.isIntersecting&&n&&s&&(s(),s=void 0))},{root:r,rootMargin:i,threshold:e,trackVisibility:a,delay:t},c),()=>{s&&s()}},[Array.isArray(e)?e.toString():e,h,r,i,n,l,a,c,t]);let x=null==(u=_.entry)?void 0:u.target,v=s.useRef(void 0);h||!x||n||l||v.current===x||(v.current=x,y({inView:!!o,entry:void 0}),b.current=o);let A=[f,_.inView,_.entry];return A.ref=A[0],A.inView=A[1],A.entry=A[2],A}s.Component,null!=(i=null!=(a="useInsertionEffect"in s?s.useInsertionEffect:void 0)?a:s.useLayoutEffect)||s.useEffect,e.s(["useInView",0,m],24671),e.i(48756);var g=e.i(17419),b=e.i(49266);e.i(41871);var _=e.i(87612),y=e.i(70218),x=e.i(55164),v=e.i(3828),A=r,w=e.i(61576),E=e.i(81352);e.i(35958),e.s(["Accordion",()=>S.default],84213);var S=e.i(38290),S=S;let C=e=>{let t,a,i,r,n=(0,w.c)(14),{title:s,description:l,border:o,isAccordian:c,
80className:d,megaTitle:u}=e;n[0]!==u?(t=u&&(0,A.jsxs)("div",{children:[" ",(0,A.jsx)(E.default,{className:"floatingContent-title",content:u})]}),n[0]=u,n[1]=t):t=n[1];let h=o?"floatingContent fine-print":"floatingContent";return n[2]!==o||n[3]!==d||n[4]!==l||n[5]!==c||n[6]!==s?(a=c?(0,A.jsx)(S.default,{accordionArray:[{title:s?.content,content:l?.content}]}):(0,A.jsxs)(A.Fragment,{children:[s&&(0,A.jsx)(E.default,{className:o?"fine-print-title":"floatingContent-title",content:s?.content}),l&&(0,A.jsx)(E.default,{className:"floatingContent-desc "+d,content:l?.content})]}),n[2]=o,n[3]=d,n[4]=l,n[5]=c,n[6]=s,n[7]=a):a=n[7],n[8]!==h||n[9]!==a?(i=(0,A.jsx)("div",{className:h,children:a}),n[8]=h,n[9]=a,n[10]=i):i=n[10],n[11]!==t||n[12]!==i?(r=(0,A.jsxs)("div",{className:"floating-container",children:[t,i]}),n[11]=t,n[12]=i,n[13]=r):r=n[13],r};var T=e.i(22740);let N=e=>k({type:T.ADD_ISI_BANNER,isiBannerData:e}),k=e=>t=>{t(e)};e.s(["addISIBanner",0,N],34641);var I=e.i(22276),j=e.i(75425);let P=({data:e,className:t,addISIBanner:a,isiBanner:i})=>{let{title:s,bannerData:l,nodeTitle:o,expandCoverage:c,preExpandCoverage:d,nodeRibbionColor:u}=e,h=window.location.href,[f,p]=(0,n.useState)(!1),[A,w]=(0,n.useState)(!1),[E,S]=(0,n.useState)(!1),T=(0,v.useRouter)(),[N,k]=(0,n.useState)(d),I=(0,n.useRef)(null),P=(0,_.useMediaQuery)("(max-width: 767px)"),{applicationTheme:L}=(0,n.useContext)(x.ApplicationThemeContext),O=[{range:[48,50],value:"eight"},{range:[45,47],value:"seven"},{range:[42,44],value:"six"},{range:[38,41],value:"five"},{range:[35,37],value:"four"},{range:[33,34],value:"three"},{range:[30,32],value:"two"},{range:[25,29],value:"one"}],D=[{range:[48,50],value:"twelve"},{range:[45,47],value:"eleven"},{range:[42,44],value:"ten"},{range:[39,41],value:"nine"},{range:[36,38],value:"eight"},{range:[33,35],value:"seven"},{range:[30,32],value:"six"},{range:[28,29],value:"five"},{range:[25,27],value:"four"}],M=()=>{let e=["floating-module"];return t&&e.push(t),e.join(" ")},R=()=>!("u"<typeof document)&&null!==document.querySelector("html"),F=()=>{setTimeout(()=>{if(!R())return;let e=window.location.href;e?.includes("#isi")&&!f&&Y||(w(!1),e?.includes("#isi")?p(!0):p(!1))},j.default.HUNDRED)},B=e=>["rebranding","rebranding-japan","jubbonti","wyost","biosimilarsinbone","vagidonna"].includes(e)?"rebranding":"default",U=()=>{let e=("rebranding"===B(L??"default")?O:D).find(({range:e})=>d>=e[0]&&d<=e[1]);return e?e.value:""},H=e=>{let t=window,a=document,i=a.documentElement,r=a.getElementsByTagName("body")[0];return 100*e/(t.innerHeight||i.clientHeight||r.clientHeight)},$=()=>{w(!0),k(H(I?.current?.clientHeight)),i?.isiBannerData&&i?.isiBannerData?.length>0&&a(i?.isiBannerData?.map(e=>e.nodeTitle===o?{...e,bannerInteractionFlag:1}:e)),f&&h.includes("#isi")&&T.push({pathname:window.location.pathname},void 0,{shallow:!0}),p(!f)},G=(0,y.useOutsideClick)(F),{ref:W,inView:Y,entry:z}=m({threshold:0});(0,n.useEffect)(()=>{if(!R())return;let e=document.querySelector("html"),t=()=>{let t=window.location.href,a=t?.includes("#isi");e&&(f||Y&&a)?e?.classList.add("hiddenScroll"):e?.classList.remove("hiddenScroll")};return t(),window.addEventListener("hashchange",t),()=>{window.removeEventListener("hashchange",t),e&&e?.classList.remove("hiddenScroll")}},[f,Y]),(0,n.useEffect)(()=>{if(i?.isiBannerData&&i?.isiBannerData?.length>0){let e=i?.isiBannerData?.find(e=>e.nodeTitle===o)??null;e?.bannerInteractionFlag===1?k(H(I?.current?.clientHeight)):k(d)}},[T?.query]),(0,n.useEffect)(()=>{z&&(z.boundingClientRect.bottom<0?S(!0):S(!1))},[Y]),(0,n.useEffect)(()=>{if(!R())return;let e=window.location.href,t=e?.includes("#isi");t&&!f&&Y?(p(!0),w(!0)):!t||f||Y?t||!f||A||p(!1):p(!0)},[T.asPath,Y]);let V=()=>{let e=[],t=l?.find(e=>e?.type==="indications"),a=l?.find(e=>e?.type==="warning_box"),i=l?.find(e=>e?.type==="important_safety_information");return t&&a?(P?(e.push(a),e.push(t)):(e.push(t),e.push(a)),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"text-2-columns floating-module-width",children:e?.map((e,t)=>(0,r.jsx)(r.Fragment,{children:e?.title?.content&&e?.description?.content&&(0,r.jsx)(g.Column,{mobile:12,tablet:6,desktop:6,className:P?"bottom-sp
80ace":"",children:(0,r.jsx)(C,{...e,className:P?0===t?"lines-desc-three":"lines-desc-four":""},t)})}))})})):i&&a&&!t?(P?(e.push(a),e.push(i)):(e.push(i),e.push(a)),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"text-2-columns floating-module-width",children:e?.map((e,t)=>(0,r.jsx)(r.Fragment,{children:e?.title?.content&&e?.description?.content&&(0,r.jsx)(g.Column,{mobile:12,tablet:6,desktop:6,className:P?"bottom-space":"",children:(0,r.jsx)(C,{...e,className:P?0===t?"lines-desc-three":"lines-desc-four":""},t)})}))})})):i&&!a&&t?(P?(e.push(t),e.push(i)):(e.push(i),e.push(t)),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"text-2-columns floating-module-width",children:e?.map((e,t)=>(0,r.jsx)(r.Fragment,{children:e?.title?.content&&e?.description?.content&&(0,r.jsx)(g.Column,{mobile:12,tablet:6,desktop:6,className:P?"bottom-space":"",children:(0,r.jsx)(C,{...e,className:P?0===t?"lines-desc-three":"lines-desc-four":""},t)})}))})})):(!P||!i||a||t)&&(i||a||!t)&&(i||!a||t)?l?.map((e,t)=>(0,r.jsx)("div",{className:"text-2-columns floating-module-width",children:(0,r.jsx)(C,{...e})},`banner-data-${t}`)):(i&&e.push(i),t&&e.push(t),a&&e.push(a),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"text-2-columns floating-module-width",children:e?.[0]?.title?.content&&e?.[0]?.description?.content&&(0,r.jsx)(g.Column,{mobile:12,tablet:6,desktop:6,className:"bottom-space",children:(0,r.jsx)(C,{...e?.[0],className:P?`lines-desc-${U()}`:""})})})}))},K=()=>l?.map((e,t)=>(0,r.jsx)(C,{title:e?.title,description:e?.description,border:e?.border,isAccordian:e?.isAccordian,megaTitle:e?.megaTitle},t));return(0,n.useLayoutEffect)(()=>{N!==H(I?.current?.clientHeight)||f||"default"!==u?I?.current?.classList?.remove("non-expanded"):I?.current?.classList?.add("non-expanded")}),(0,r.jsxs)(r.Fragment,{children:[Y&&!f||E?null:(0,r.jsxs)("div",{ref:G,style:{height:f?`${c}vh`:`${N}vh`},className:N!==H(I?.current?.clientHeight)||f?"floating-module sticky show":"floating-module sticky show p-0",children:[(0,r.jsx)("div",{ref:I,className:N!==H(I?.current?.clientHeight)||f||"default"!==u?"header":"header non-expanded",children:(0,r.jsxs)("div",{className:`${N===H(I?.current?.clientHeight)&&!f&&"default"===u&&"non-expanded"} header-content floating-module-width ${f&&"floating-module-width-expand"}`,children:[(0,r.jsx)("div",{children:s}),(0,r.jsx)("div",{className:"header-icon-container",children:f?(0,r.jsx)(b.Icon,{iconName:"ChevronDown",className:"header-icon",onClick:$}):(0,r.jsx)(b.Icon,{iconName:"ChevronUp",className:"header-icon",onClick:$})})]})}),f?(0,r.jsx)("div",{className:"text text-sticky sticky expanded floating-module-width floating-module-width-expand",children:K()}):(0,r.jsx)("div",{className:"text text-sticky",children:V()})]}),(0,r.jsxs)("div",{className:M(),ref:W,children:[(0,r.jsx)("div",{className:"header",children:(0,r.jsx)("div",{className:"header-content floating-module-width floating-module-width--static",children:(0,r.jsx)("div",{children:s})})}),(0,r.jsx)("div",{className:"text floating-module-width floating-module-width--static",children:K()})]})]})},L={addISIBanner:e=>N(e)},O=e=>({isiBanner:e.isiBanner}),D=(0,I.connect)(O,L)(P)},66562,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(91398),a=e.i(61576),i=e.i(86387);let r=e=>{let i,r,s,l,o=(0,a.c)(11),{cardInfo:c,quickLinkTitle:d,cardGroupAlignment:u}=e;return o[0]!==u||o[1]!==d?(i=d&&(0,t.jsx)("h4",{className:`quick-links-title quick-links-${u}`,children:d}),o[0]=u,o[1]=d,o[2]=i):i=o[2],o[3]!==u||o[4]!==c?(r=!!c?.length&&(0,t.jsx)("ul",{className:`list-item card-group-alignment-${u}`,children:c?.map(n)}),o[3]=u,o[4]=c,o[5]=r):r=o[5],o[6]!==r?(s=(0,t.jsx)("div",{className:"panel",children:r}),o[6]=r,o[7]=s):s=o[7],o[8]!==i||o[9]!==s?(l=(0,t.jsxs)("div",{className:"quick-links",children:[i,s]}),o[8]=i,o[9]=s,o[10]=l):l=o[10],l};function n(e,a){return(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{cardInfo:e,cardAlignment:e?.cardAlignment||""})},a)}},50915,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(91398),a=e.i(61576),i=e.i(6561);e.i(48756);var r=e.i(49266),n=e.i(5223),s=e.i(51236),l=e.i(99523),o=e.i(27389);e.i(41871);var c=e.i(87612),d=e.i(15315),u=e.i(82054),h=e.i(91788);let f=e=>{let f,p,m,g,b,_,y,x,v,A,w=(0,a.c)(30),{date:E,title:S,body:C,alignment:T,fieldMediaSubHeading:N,fieldSubHeadingDescription:k,newsAndStories:I,taxonomyLabel:j,mediaLibConfig:P,fileSize:L}=e,{applicationConfiguration:O}=(0,h.useContext)(u.default),D=(0,c.useMediaQuery)("(max-width: 575px)"),M=(0,c.useMediaQuery)("(min-width: 576px) and (max-width: 991px)"),R=432;if(D?R=185:M&&(R=285),w[0]!==O?.siteConfig?.date_format||w[1]!==E){let{lang:e}=(0,d.getApiDomainAndLang)();f=(0,l.default)(E,!0).locale(e).format(O?.siteConfig?.date_format),w[0]=O?.siteConfig?.date_format,w[1]=E,w[2]=f}else f=w[2];let F=`<h6>${f}</h6><h1>${S}</h1><p>${C}</p>`;w[3]!==T||w[4]!==F?(p={paragraph:F,alignment:T},w[3]=T,w[4]=F,w[5]=p):p=w[5];let B=p,U=`<h3>${N}</h3><p>${k}</p>`;w[6]!==U||w[7]!==R||w[8]!==I?(m={...I,imageDescriptionParagraph:U,imageHeight:R},w[6]=U,w[7]=R,w[8]=I,w[9]=m):m=w[9];let H=m;return w[10]!==H||w[11]!==B?(g=(0,t.jsx)("div",{className:"media-details",children:(0,t.jsx)(s.default,{titleNewsAndStoriesDetails:B,detailNewsAndStories:H})}),w[10]=H,w[11]=B,w[12]=g):g=w[12],w[13]!==U?(b=(0,t.jsx)(n.RichText,{className:"snac-desc",content:U}),w[13]=U,w[14]=b):b=w[14],w[15]!==L||w[16]!==j?(_=!!j&&!!L&&(0,t.jsx)("p",{className:"snac-desc-type",children:`${j.split(".").pop()?.toUpperCase()}, ${(0,o.convertFromBytes)(L)}`}),w[15]=L,w[16]=j,w[17]=_):_=w[17],w[18]!==b||w[19]!==_?(y=(0,t.jsxs)("div",{className:"bottom-content",children:[b,_]}),w[18]=b,w[19]=_,w[20]=y):y=w[20],w[21]!==P||w[22]!==j?(x=j&&(0,t.jsx)(i.default,{isExternal:!0,href:j||"",tabindex:1,download:!0,isSecondary:!0,icon:(0,t.jsx)(r.Icon,{iconName:"DownloadIcon"}),children:P.download_text_cta}),w[21]=P,w[22]=j,w[23]=x):x=w[23],w[24]!==x?(v=(0,t.jsx)("div",{className:"bottom-button",children:x}),w[24]=x,w[25]=v):v=w[25],w[26]!==g||w[27]!==y||w[28]!==v?(A=(0,t.jsxs)("div",{className:"media-details-wrapper",children:[g,y,v]}),w[26]=g,w[27]=y,w[28]=v,w[29]=A):A=w[29],A}},80338,e=>{"use strict";e.s(["default",()=>h],80338);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(6271),n=e.i(49266),s=e.i(70184);e.i(62179);var l=e.i(34993);e.i(35958);var o=e.i(71059),o=o;let c="367",d="276",u=e=>{let l,u,h,f,p,m=(0,a.c)(12),{relatedItemImage:g,relatedItemContent:b}=e;m[0]!==g?(l=g?.src&&(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,className:"related-item-image",children:(0,t.jsx)(s.Img,{className:"related-item-image-content",src:g.src,alt:g.alt,width:c,height:d})}),m[0]=g,m[1]=l):l=m[1];let _=g?.src?6:12,y=g?.src?6:12;return m[2]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(n.Icon,{iconName:"DownloadIcon"}),m[2]=u):u=m[2],m[3]!==b?(h=(0,t.jsx)(o.default,{...b,buttonIcon:u}),m[3]=b,m[4]=h):h=m[4],m[5]!==_||m[6]!==y||m[7]!==h?(f=(0,t.jsx)(i.Column,{desktop:_,tablet:y,mobile:12,className:"related-item-content-right",children:h}
80),m[5]=_,m[6]=y,m[7]=h,m[8]=f):f=m[8],m[9]!==l||m[10]!==f?(p=(0,t.jsx)(r.Container,{narrow:!0,children:(0,t.jsx)("div",{className:"related-item",children:(0,t.jsxs)("div",{className:"row",children:[l,f]})})}),m[9]=l,m[10]=f,m[11]=p):p=m[11],p},h=e=>{let i,r,n,s,o=(0,a.c)(9),{slidesInfo:c,relatedItemsTitle:d}=e;return o[0]!==d?(i=(0,t.jsx)("div",{className:"related-items-title container container-narrow",children:(0,t.jsx)("h2",{className:"bold",children:d})}),o[0]=d,o[1]=i):i=o[1],o[2]!==c?(r=c.map(f),o[2]=c,o[3]=r):r=o[3],o[4]!==r?(n=(0,t.jsx)(l.CarouselWrapper,{className:"related-item-container testimonial-caraousel",slideToShow:1,slideToShowTablet:1,children:r}),o[4]=r,o[5]=n):n=o[5],o[6]!==i||o[7]!==n?(s=(0,t.jsxs)(t.Fragment,{children:[i,n]}),o[6]=i,o[7]=n,o[8]=s):s=o[8],s};function f(e,a){return(0,t.jsx)(u,{...e},a)}},99830,e=>{"use strict";e.s(["SearchGroup",()=>t.default]);var t=e.i(17503)},24342,e=>{"use strict";e.s(["default",()=>O],24342);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(22038);e.i(35958);var n=e.i(886),s=e.i(60044),l=e.i(68244),o=t,c=a;e.i(48756);var d=e.i(45861),u=e.i(70184),h=t,f=a,p=e.i(99523),m=d,g=e.i(17626),b=e.i(49266),_=e.i(5223),y=e.i(65218),x=e.i(25675),v=e.i(27389),A=e.i(23216),w=e.i(34848),E=e.i(15315),S=e.i(82054),C=i;let T=e=>{let t,a,i,r,n,s,l,o,c,d,u,T,N,k,I,j=(0,f.c)(46),{view:P,fieldMediaSpecialty:L,title:O,changedDate:D,body:M,readMore:R,mediaLibConfig:F,downloadFileLink:B,fileSize:U,taxonomies:H}=e,{download_text_cta:$,read_more_text_cta:G}=F,W=P===x.default.GRID_VIEW;j[0]!==W?(t=e=>W?e:`${e} ${e}-list`,j[0]=W,j[1]=t):t=j[1];let Y=t,{lang:z}=(0,E.getApiDomainAndLang)(),{applicationConfiguration:V}=(0,C.useContext)(S.default);j[2]!==Y?(a=Y("media-lib-card-content"),j[2]=Y,j[3]=a):a=j[3];let K="media-lib-card-content-container";j[4]!==L||j[5]!==H?(i=L&&(0,h.jsx)("div",{className:"media-lib-card-content-card-title",children:(0,h.jsx)(y.Taxonomy,{taxonomies:H})}),j[4]=L,j[5]=H,j[6]=i):i=j[6],j[7]!==Y?(r=Y("media-lib-card-content-header bold"),j[7]=Y,j[8]=r):r=j[8],j[9]!==O?(n=(0,w.trimText)(O,A.default.TITLE),j[9]=O,j[10]=n):n=j[10],j[11]!==r||j[12]!==n?(s=(0,h.jsx)("h4",{className:r,children:n}),j[11]=r,j[12]=n,j[13]=s):s=j[13],j[14]!==R||j[15]!==s?(l=(0,h.jsx)(m.Anchor,{href:R,tabindex:0,children:s}),j[14]=R,j[15]=s,j[16]=l):l=j[16];let q=D&&(0,h.jsx)("h5",{className:"media-lib-card-content-time-section",children:(0,p.default)(Date.parse(D)).locale(z).format(V?.siteConfig?.date_format)});return j[17]!==M||j[18]!==Y?(o=M&&(0,h.jsx)(_.RichText,{className:Y("media-lib-card-content-text"),content:M||"",characterLimit:A.default.DESCRIPTION}),j[17]=M,j[18]=Y,j[19]=o):o=j[19],j[20]!==B||j[21]!==U?(c=B&&U&&(0,h.jsxs)("h5",{className:"media-lib-card-content-file-size",children:[(0,h.jsx)("div",{children:`${B.split(".").pop()?.toUpperCase()}, `}),(0,h.jsx)("div",{children:(0,v.convertFromBytes)(U)})]}),j[20]=B,j[21]=U,j[22]=c):c=j[22],j[23]!==o||j[24]!==c||j[25]!==i||j[26]!==l||j[27]!==q?(d=(0,h.jsxs)("div",{className:K,children:[i,l,q,o,c]}),j[23]=o,j[24]=c,j[25]=i,j[26]=l,j[27]=q,j[28]=d):d=j[28],j[29]!==Y?(u=Y("media-lib-card-content-button"),j[29]=Y,j[30]=u):u=j[30],j[31]!==B||j[32]!==$||j[33]!==U?(T=B&&U&&(0,h.jsx)(g.AnchorButton,{href:B,className:"dwnld",isExternal:!0,tabindex:2,icon:(0,h.jsx)(b.Icon,{iconName:"DownloadIcon"}),isSecondary:!0,download:!0,children:$}),j[31]=B,j[32]=$,j[33]=U,j[34]=T):T=j[34],j[35]!==R||j[36]!==G?(N=R&&(0,h.jsx)(g.AnchorButton,{href:R,isExternal:!1,className:"read-more",tabindex:2,isSecondary:!0,children:G}),j[35]=R,j[36]=G,j[37]=N):N=j[37],j[38]!==u||j[39]!==T||j[40]!==N?(k=(0,h.jsxs)("div",{className:u,children:[T,N]}),j[38]=u,j[39]=T,j[40]=N,j[41]=k):k=j[41],j[42]!==d||j[43]!==k||j[44]!==a?(I=(0,h.jsxs)("div",{className:a,children:[d,k]}),j[42]=d,j[43]=k,j[44]=a,j[45]=I):I=j[45],I};var N=x;let k=e=>{let t,a,i,r,n=(0,c.c)(14),{className:s,view:l,imageUrl:h,alt:f,readMore:p}=e;n[0]!==s||n[1]!==h||n[2]!==l?(t=()=>{let e=["card"];return s&&e.push(s),l===N.default.GRID_VIEW?e.push("card-grid"):e.push("card-list"),h||e.push("no-image"),e.join(" ")},n[0]=s,n[1]=h,n[2]=l,n[3]=t):t=n[3];let m=t();return n[4]!==f||n[5]!==h||n[6]!==p?(a=h&&(0,o.jsx)("div",{className:"media-card-image",children:(0,o.jsx)(d.Anchor,{href:p,tabindex:0,children:(0,o.jsx)(u.Img,{src:h,width:426,height:284,alt:f})})}),n[4]=f,n[5]=h,n[6]=p,n[7]=a):a=n[7],n[8]!==e?(i=(0,o.jsx)("div",{className:"card-body",children:(0,o.jsx)(T,{...e})}),n[8]=e,n[9]=i):i=n[9],n[10]!==m||n[11]!==a||n[12]!==i?(r=(0,o.jsxs)("div",{className:m,children:[a,i]}),n[10]=m,n[11]=a,n[12]=i,n[13]=r):r=n[13],r};var I=x,j=e.i(75425),P=e.i(75957),L=S;let O=e=>{let o,c,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E=(0,a.c)(74),{searchResults:S,searchedPhrase:C,itemsPerPage:T,allCardsData:N,mediaLibConfig:O,handleSort:M,trigger:R}=e;E[0]!==S?(o=void 0===S?[]:S,E[0]=S,E[1]=o):o=E[1];
80let F=o,{GRID_CONFIGURATOR_TEXT:B,GRID_VIEW:U,LIST_VIEW:H}=I.default,$=O.default_view===B?U:H;E[2]!==T?(c={start:0,end:T},E[2]=T,E[3]=c):c=E[3];let[G,W]=(0,i.useState)(c),[Y,z]=(0,i.useState)($),[V,K]=(0,i.useState)(!1),q=(0,r.default)("(max-width: 991px)"),Q=q?"grid":Y,Z=O?.old_to_new_text,X=O?.new_to_old_text,J=O?.default_media_sort,ee=O?.sort_cta_text,et=O?.list_view_text,ea=O?.grid_view_text;E[4]!==Z||E[5]!==X||E[6]!==J||E[7]!==ee||E[8]!==et||E[9]!==ea?(d={old_to_new_text:Z,new_to_old_text:X,default_sort:J,sort_cta_text:ee,list_view_text:et,grid_view_text:ea},E[4]=Z,E[5]=X,E[6]=J,E[7]=ee,E[8]=et,E[9]=ea,E[10]=d):d=E[10];let ei=d,er="rtl"===(0,P.default)()?`(${N.length}) ${O.all_category_text}`:`${O.all_category_text} (${N.length})`,en=`${O.all_category_text}`;if(E[11]!==er||E[12]!==en?(u=[{children:er,itemID:en,tabDesign:"wide"}],E[11]=er,E[12]=en,E[13]=u):u=E[13],E[14]!==F||E[15]!==u){let e;E[17]!==F?(e=F.map(D),E[17]=F,E[18]=e):e=E[18],h=u.concat(e),E[14]=F,E[15]=u,E[16]=h}else h=E[16];let es=h;E[19]!==N.length||E[20]!==O.search_results_found?(f=()=>{let e={count_val:N.length.toString(),search_txt:""};return O?.search_results_found?.replaceAll("@","").replace(/count_val|search_txt/gi,t=>e[t])},E[19]=N.length,E[20]=O.search_results_found,E[21]=f):f=E[21];let el=f;E[22]!==V?(p=(e,a,i,r,s)=>(0,t.jsx)(n.Pagination,{itemsPerPage:e,itemsCount:a,onClick:i,resetOffset:V,className:`${r}-${s}`}),E[22]=V,E[23]=p):p=E[23];let eo=p;E[24]!==Y?(m=()=>{let e=Y===U?H:U;return z(e),e},E[24]=Y,E[25]=m):m=E[25];let ec=m;E[26]!==T||E[27]!==V?(g=e=>{0===e?K(!0):0!==e&&V&&K(!1),W({start:e,end:e+T})},E[26]=T,E[27]=V,E[28]=g):g=E[28];let ed=g;E[29]!==N||E[30]!==eo||E[31]!==ed||E[32]!==T||E[33]!==O||E[34]!==G.end||E[35]!==G.start||E[36]!==Q?(b=()=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:`mediaLibrarySearchResult__searchResultContainer__${Q}`,children:N.slice(G.start,G.end).map((e,a)=>(0,t.jsx)(k,{...e,view:Q,mediaLibConfig:O},a))}),N.length>T&&eo(T,N.length,ed,"All",j.default.ZERO)]},0),E[29]=N,E[30]=eo,E[31]=ed,E[32]=T,E[33]=O,E[34]=G.end,E[35]=G.start,E[36]=Q,E[37]=b):b=E[37];let eu=b;E[38]!==eo||E[39]!==ed||E[40]!==T||E[41]!==O||E[42]!==G.end||E[43]!==G.start||E[44]!==F||E[45]!==Q?(_=()=>F.map((e,a)=>(0,t.jsxs)("div",{className:"mediaLibrarySearchResult__resultsCategoryContainer",children:[(0,t.jsx)("div",{className:`mediaLibrarySearchResult__searchResultContainer__${Q}`,children:e.results.slice(G.start,G.end).map((e,a)=>(0,t.jsx)(k,{view:Q,mediaLibConfig:O,...e},a))},a),e.results.length>T&&eo(T,e.results.length,ed,e.category,a+j.default.ONE)]},a+1)),E[38]=eo,E[39]=ed,E[40]=T,E[41]=O,E[42]=G.end,E[43]=G.start,E[44]=F,E[45]=Q,E[46]=_):_=E[46];let eh=_,{applicationConfiguration:ef}=(0,i.useContext)(L.default);if(E[47]!==eu?(y=[eu()],E[47]=eu,E[48]=y):y=E[48],E[49]!==eh||E[50]!==y){let e;E[52]!==eh?(e=eh(),E[52]=eh,E[53]=e):e=E[53],x=y.concat(e),E[49]=eh,E[50]=y,E[51]=x}else x=E[51];let ep=x,em=ef?.siteConfig?.label_key_value_pair;E[54]!==N.length||E[55]!==el||E[56]!==C?(v=C&&N.length>j.default.ZERO&&(0,t.jsx)(l.TitleDescription,{title:el(),description:"",searchKey:C,className:"mediaLibrarySearchResult__header"}),E[54]=N.length,E[55]=el,E[56]=C,E[57]=v):v=E[57];let eg=!!q,eb=!O.show_view_cta,e_=!O.show_sort_cta;return E[58]!==ed||E[59]!==M||E[60]!==em||E[61]!==ei||E[62]!==Y||E[63]!==ec||E[64]!==eg||E[65]!==eb||E[66]!==e_||E[67]!==ep||E[68]!==es||E[69]!==R?(A=(0,t.jsx)(s.Tabs,{tabHeadClassName:"mediaLibrarySearchResult__tabsContainer",tabHeadItems:es,tabContents:ep,isMobileDisplay:eg,onSaveIdHandler:ec,view:Y,handleSort:M,label:ei,trigger:R,hideViewTypeCTA:eb,hideSortCTA:e_,handlePagination:ed,labelKeyValuePair:em}),E[58]=ed,E[59]=M,E[60]=em,E[61]=ei,E[62]=Y,E[63]=ec,E[64]=eg,E[65]=eb,E[66]=e_,E[67]=ep,E[68]=es,E[69]=R,E[70]=A):A=E[70],E[71]!==v||E[72]!==A?(w=(0,t.jsxs)("div",{className:"mediaLibrarySearchResult__container scroll-top",children:[v,A]}),E[71]=v,E[72]=A,E[73]=w):w=E[73],w};function D(e){return{children:"rtl"===(0,P.default)()?`(${e.results.length}) ${e.category}`:`${e.category} (${e.results.length})`,itemID:e.category,tabDesign:"wide"}}},61101,e=>{"use strict";e.s(["default",()=>p]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(35958);var r=e.i(99830),n=e.i(68244),s=e.i(39612),l=e.i(24342);e.i(48756);var o=e.i(6271),c=e.i(75425),d=e.i(97268),u=e.i(3828);let h=e=>(e.mediaLibConfig.default_media_sort===e.mediaLibConfig.new_to_old_text?e.allCards.sort((e,t)=>
80Date.parse(t.changedDate)-Date.parse(e.changedDate)):e.allCards.sort((e,t)=>Date.parse(e.changedDate)-Date.parse(t.changedDate)),[...e.allCards]),f=e=>(e.searchResults.forEach(e=>(e.results.sort((e,t)=>Date.parse(t.changedDate)-Date.parse(e.changedDate)),e)),[...e.searchResults]),p=e=>{let p,_,v,w,E,S,C,T,N,k,I,j,P,L,O=(0,a.c)(37),{mediaData:D}=e,[M,R]=(0,i.useState)(""),[F,B]=(0,i.useState)(0),[U,H]=(0,i.useState)(!1);O[0]!==D?(p=()=>h(D),O[0]=D,O[1]=p):p=O[1];let[$,G]=(0,i.useState)(p);O[2]!==D?(_=()=>f(D),O[2]=D,O[3]=_):_=O[3];let[W,Y]=(0,i.useState)(_);O[4]===Symbol.for("react.memo_cache_sentinel")?(v=u.default?.query?.search?.toString(),O[4]=v):v=O[4];let z=v;O[5]===Symbol.for("react.memo_cache_sentinel")?(w=()=>{(async()=>{if(z){H(!0);let e=await (0,s.default)(`/views/media_library_search/media_library_search?search-media=${z}`);B(m),G([...e.allCards]),Y([...e.searchResults]),R(z),H(!1)}})()},E=[],O[5]=w,O[6]=E):(w=O[5],E=O[6]),(0,i.useEffect)(w,E),O[7]===Symbol.for("react.memo_cache_sentinel")?(S=async(e,t)=>{t&&t.preventDefault(),H(!0);let a=await (0,s.default)(`/views/media_library_search/media_library_search?search-media=${e}`);B(g),G([...a.allCards]),Y([...a.searchResults]),R(e),H(!1)},O[7]=S):S=O[7];let V=S,K=D?.mediaLibConfig.search_placeholder_text;O[8]!==K?(C={type:"primary",placeholder:K},O[8]=K,O[9]=C):C=O[9];let q=D?.mediaLibConfig.search_cta_text;O[10]!==C||O[11]!==q?(T={inputDataContent:C,buttonText:q,handleTextSearch:V},O[10]=C,O[11]=q,O[12]=T):T=O[12];let Q=T;O[13]!==$||O[14]!==D.mediaLibConfig.new_to_old_text||O[15]!==D.searchResults||O[16]!==W?(N=e=>(e===D.mediaLibConfig.new_to_old_text?($.sort(b),D.searchResults.forEach(y)):($.sort(x),D.searchResults.forEach(A)),Y([...W]),G([...$]),e),O[13]=$,O[14]=D.mediaLibConfig.new_to_old_text,O[15]=D.searchResults,O[16]=W,O[17]=N):N=O[17];let Z=N;O[18]!==D.mediaLibConfig.no_results_found_title?(k=()=>D?.mediaLibConfig?.no_results_found_title?.replace("@search_txt",""),O[18]=D.mediaLibConfig.no_results_found_title,O[19]=k):k=O[19];let X=k;O[20]!==$||O[21]!==X||O[22]!==Z||O[23]!==D||O[24]!==W||O[25]!==M||O[26]!==F?(I=()=>$.length>c.default.ZERO?(0,t.jsx)(l.default,{...D,handleSort:Z,allCardsData:$,searchResults:W,searchedPhrase:M,trigger:F}):(0,t.jsx)(o.Container,{children:(0,t.jsx)(n.TitleDescription,{title:X(),description:D?.mediaLibConfig?.no_results_found_body,searchKey:M.toString()})}),O[20]=$,O[21]=X,O[22]=Z,O[23]=D,O[24]=W,O[25]=M,O[26]=F,O[27]=I):I=O[27];let J=I;return O[28]!==Q.buttonText||O[29]!==Q.inputDataContent?(j=(0,t.jsx)(r.SearchGroup,{inputDataContent:Q.inputDataContent,buttonText:Q.buttonText,handleTextSearch:V,isDisabled:!0,isMedia:!0}),O[28]=Q.buttonText,O[29]=Q.inputDataContent,O[30]=j):j=O[30],O[31]!==J||O[32]!==U?(P=U?(0,t.jsx)("div",{className:"search-loader",children:(0,t.jsx)(d.default,{display:U})}):J(),O[31]=J,O[32]=U,O[33]=P):P=O[33],O[34]!==j||O[35]!==P?(L=(0,t.jsxs)(t.Fragment,{children:[j,P]}),O[34]=j,O[35]=P,O[36]=L):L=O[36],L};function m(e){return e+1}function g(e){return e+1}function b(e,t){return Date.parse(t.changedDate)-Date.parse(e.changedDate)}function _(e,t){return Date.parse(t.changedDate)-Date.parse(e.changedDate)}function y(e){return e.results.sort(_),e}function x(e,t){return Date.parse(e.changedDate)-Date.parse(t.changedDate)}function v(e,t){return Date.parse(e.changedDate)-Date.parse(t.changedDate)}function A(e){return e.results.sort(v),e}},55794,99049,e=>{"use strict";e.s(["default",()=>m],55794);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(35958),e.s(["SearchableDropdown",()=>r.default],99049);var r=e.i(20682),r=r,n=e.i(68244),s=e.i(18221),l=t,o=a;e.i(48756);var c=e.i(5223),d=e.i(34467);let u=e=>{let t,a,i,r=(0,o.c)(7),{addressData:n,addressLabels:s}=e;if(r[0]!==n||r[1]!==s){let e=(0,d.default)(n,"city"),i=Object.keys(e),o=[];i.forEach(t=>{let a={};a.category=t,a.results=e[t],o.push(a)}),t="location-address-block",a=o?.map((e,t)=>(0,l.jsxs)("div",{className:"location-address",children:[(0,l.jsx)("h2",{children:e.category}),(0,l.jsx)("div",{className:"location-address-card",children:e.results?.map((e,t)=>(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"location-address-card-title",children:e?.fieldOfficeTitle}),(0,l.jsx)(c.RichText,{className:"location-address-detail",content:e?.address}),e?.fieldOfficePhoneNumber&&(0,l.jsxs)("p",{className:"location-address-contact",children:[(0,l.jsx)("span",{children:`${s.phone}: `}),(0,l.jsxs)("span",{className:"location-address-contact-number",children:[" ",e?.fieldOfficePhoneNumber]})]}),e?.fieldOfficeFax&&(0,l.jsxs)("p",{className:"location-address-contact",children:[(0,l.jsx)("span",{children:`${s.fax}: `}),(0,l.jsx)("span",{className:"location-address-contact-number",children:e?.fieldOfficeFax})]}),e.fieldOfficeWebsite&&(0,l.jsx)(c.RichText,{content:e?.fieldOfficeWebsite})]},t))})]},t)),r[0]=n,r[1]=s,r[2]=t,r[3]=a}else t=r[2],a=r[3];return r[4]!==t||r[5]!==a?(i=(0,l.jsx)("div",{className:t,children:a}),r[4]=t,r[5]=a,r[6]=i):i=r[6],i};var h=e.i(75425),f=d,p=e.i(97268);let m=e=>{let l,o,c,d,m,g,b,_,y,x,v=(0,a.c)(50),{allCountry:A,allDivision:w,locationGroupData:E,locationConfig:S}
80=e,[C,T]=(0,i.useState)(E),[N,k]=(0,i.useState)(!0),[I,j]=(0,i.useState)(),[P,L]=(0,i.useState)();v[0]===Symbol.for("react.memo_cache_sentinel")?(l=(e,t)=>{"country"===t?j(e):L(e)},v[0]=l):l=v[0];let O=l;if(v[1]!==E||v[2]!==I||v[3]!==P?(o=()=>{(()=>{k(!0),T(E.filter(e=>{let t=I?.value&&e.countryName===I.value,a=P?.value&&e.divisionName===P.value;return I?.value&&P?.value?t&&a:t||a})),k(!1)})()},v[1]=E,v[2]=I,v[3]=P,v[4]=o):o=v[4],v[5]!==I||v[6]!==P?(c=[I,P],v[5]=I,v[6]=P,v[7]=c):c=v[7],(0,i.useEffect)(o,c),v[8]!==C||v[9]!==A||v[10]!==w||v[11]!==N||v[12]!==S.address_labels||v[13]!==S.country_dropdown||v[14]!==S.default_country||v[15]!==S.display_division_dropdown||v[16]!==S.division_dropdown||v[17]!==S.no_results_text||v[18]!==S.results_found_text){let e,a,i={accordionArray:[]};v[24]!==S.no_results_text||v[25]!==S.results_found_text?(e=e=>e>h.default.ZERO?S?.results_found_text.replace("@count_loc_val",e.toString()):S?.no_results_text,v[24]=S.no_results_text,v[25]=S.results_found_text,v[26]=e):e=v[26];let l=e;v[27]!==C?(a=(0,f.default)(C,"divisionName"),v[27]=C,v[28]=a):a=v[28];let o=a,c=Object.keys(o),y=h.default.ZERO;c.forEach(e=>{let a={},r=o[e];y+=r.length,a.title=w?.find(t=>t?.value===Number(e))?.label,a.content=(0,t.jsx)(u,{addressData:r,addressLabels:S.address_labels}),i.accordionArray.push(a)});let x=w;if(S.division_dropdown.default){let e,t;v[29]!==S.division_dropdown.default?(e={id:0,value:0,label:S.division_dropdown.default},v[29]=S.division_dropdown.default,v[30]=e):e=v[30],v[31]!==w||v[32]!==e?(t=[e,...w],v[31]=w,v[32]=e,v[33]=t):t=v[33],x=t}g="location-filter",v[34]!==x||v[35]!==S.display_division_dropdown||v[36]!==S.division_dropdown?(b=S?.display_division_dropdown&&(0,t.jsx)(r.default,{dropdownData:x,handleDropdownChange:O,type:"division",labels:S.division_dropdown}),v[34]=x,v[35]=S.display_division_dropdown,v[36]=S.division_dropdown,v[37]=b):b=v[37],v[38]!==A||v[39]!==S.country_dropdown||v[40]!==S.default_country?(_=(0,t.jsx)(r.default,{dropdownData:A,handleDropdownChange:O,type:"country",labels:S.country_dropdown,defaultValue:S.default_country}),v[38]=A,v[39]=S.country_dropdown,v[40]=S.default_country,v[41]=_):_=v[41],d="location-container",m=N?(0,t.jsx)("div",{className:"locations-loader",children:(0,t.jsx)("p",{children:(0,t.jsx)(p.default,{display:N})})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.TitleDescription,{title:l(y)??"",description:"",searchKey:"",className:"location-filter-result-text"}),(0,t.jsx)(s.default,{...i})]}),v[8]=C,v[9]=A,v[10]=w,v[11]=N,v[12]=S.address_labels,v[13]=S.country_dropdown,v[14]=S.default_country,v[15]=S.display_division_dropdown,v[16]=S.division_dropdown,v[17]=S.no_results_text,v[18]=S.results_found_text,v[19]=d,v[20]=m,v[21]=g,v[22]=b,v[23]=_}else d=v[19],m=v[20],g=v[21],b=v[22],_=v[23];return v[42]!==d||v[43]!==m?(y=(0,t.jsx)("div",{className:d,children:m}),v[42]=d,v[43]=m,v[44]=y):y=v[44],v[45]!==g||v[46]!==b||v[47]!==_||v[48]!==y?(x=(0,t.jsxs)("div",{className:g,children:[b,_,y]}),v[45]=g,v[46]=b,v[47]=_,v[48]=y,v[49]=x):x=v[49],x}},25518,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(91788),i=e.i(3828);e.i(48756);var r=e.i(45861),n=e.i(6271),s=e.i(49266),l=e.i(70184),o=e.i(40525),c=e.i(33462),d=e.i(70218);let u=({topSection:e,megaMenu:u,topValue:h,searchData:f})=>{let[p,m]=(0,a.useState)(!1),[g,b]=(0,a.useState)(!1),_=(0,a.useRef)(null),y=(0,i.useRouter)();(0,a.useEffect)(()=>{w(),m(!1)},[y.query]);let x=()=>(0,t.jsxs)("div",{className:"header-menu-mobile",children:[(0,t.jsxs)("button",{className:"navbar-toggler collapsed mobile-close-icon",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarHeader","aria-controls":"navbarHeader","aria-expanded":"false","aria-label":"Toggle navigation",ref:I,onClick:()=>S=!1,children:[!p&&(0,t.jsx)(s.Icon,{iconName:"HamburgerIcon1",onClick:()=>m(!0),className:"hamburger-icon"}),p&&(0,t.jsx)(s.Icon,{iconName:"Close1",onClick:()=>m(!1)})]}),(0,t.jsxs)("span",{className:"navbar-toggler collapsed mobile-close-icon",children:[!g&&(0,t.jsx)(s.Icon,{iconName:"Search1",onClick:()=>b(!0),className:"search-icon"}),g&&(0,t.jsx)(s.Icon,{iconName:"Close1",onClick:()=>b(!1)})," "]})]}),v=e=>(0,t.jsxs)("div",{className:"accordion-item",children:[(0,t.jsx)("div",{className:"accordion-header",id:`flush-heading_${e._key}${e.childKey}`,children:e.subChild?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Anchor,{href:e.link,tabindex:0,noUnderline:!0,children:e?.title}),(0,t.jsx)("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${e._key}${e.childKey}`,"aria-expanded":"false","aria-controls":`flush-collapse_${e._key}${e.childKey}`})]}):(0,t.jsx)(r.Anchor,{href:e.link,tabindex:0,noUnderline:!0,className:" collapsed menu-link",children:e?.title})}),(0,t.jsx)("div",{id:`flush-collapse_${e._key}${e.childKey}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${e._key}${e.childKey}`,"data-bs-parent":`#accordionFlush${e._key}`,children:(0,t.jsx)("div",{className:"accordion-body subchild",children:(0,t.jsx)("div",{className:"accordion accordion-flush menu-child",id:`accordionFlush${e._key}${e.childKey}`,children:(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(r.Anchor,{href:e.link,tabindex:0,noUnderline:!0,className:"accordion-button collapsed menu-link",children:e?.title})})})})})})]},e.childKey),A=(e,t)=>
80{t&&t.preventDefault(),e.length>0&&("/search"===y.pathname?y.push({pathname:"/search",query:{search:`${e}`}},void 0,{shallow:!0}):y.push({pathname:"/search",query:{search:`${e}`}}))},w=()=>{I.current&&(I.current.className="navbar-toggler accordion-button collapsed"),N.current&&(N.current.className="collapse"),m(!1),S=!1},E={inputDataContent:{type:"primary",placeholder:f?.placeholder??""},buttonText:f?.buttonText??"",handleTextSearch:A},S=!1,C=()=>{S&&w()},T=()=>{S=!0,C()},N=(0,d.useOutsideClick)(T),k=()=>{C()},I=(0,d.useOutsideClick)(k),j=()=>{b(!1)},P=(0,d.useOutsideClick)(j);return(0,t.jsxs)("header",{className:"header stickyMenu",ref:_,style:{top:h},children:[(0,t.jsxs)(n.Container,{children:[(0,t.jsx)("nav",{className:"navbar navbar-expand-lg",children:(0,t.jsxs)("div",{className:"header-parent",children:[(0,t.jsx)("div",{className:"sticky-logo",children:(0,t.jsx)(r.Anchor,{tabindex:0,href:e?.logo?.href,children:(0,t.jsx)(l.Img,{src:e?.logo?.src,width:167,height:88,alt:e?.logo?.alt,type:"icon"})})}),(0,t.jsx)("div",{className:"header-menu-section header-menu-desktop",children:(0,t.jsxs)("div",{className:"navbar-nav",children:[u?.map((e,a)=>(0,t.jsx)(o.default,{title:e.title,link:e.link,child:e.child},a)),(0,t.jsxs)("div",{className:"header-list-item search",children:[!g&&(0,t.jsx)(s.Icon,{iconName:"Search1",onClick:()=>b(!0)}),g&&(0,t.jsx)(s.Icon,{iconName:"Close1",onClick:()=>b(!1)})]})]})}),(0,t.jsx)(x,{})]})}),(0,t.jsx)("div",{className:"collapse",id:"navbarHeader",ref:N,children:(0,t.jsx)("div",{className:"accordion accordionFlush",id:"accordionFlushHeaderMobile",children:u?.map((e,a)=>(0,t.jsxs)("div",{className:"accordion-item",children:[(0,t.jsx)("div",{className:"accordion-header",id:`flush-heading_${a}`,children:e.child?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Anchor,{tabindex:0,noUnderline:!0,href:e.link,children:e?.title}),(0,t.jsx)("button",{className:"accordion-button collapsed ",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${a}`,"aria-expanded":"false","aria-controls":`flush-collapse_${a}`,"aria-label":e?.title})]}):(0,t.jsx)(r.Anchor,{tabindex:0,noUnderline:!0,href:e.link,className:" collapsed menu-link",children:e?.title})}),(0,t.jsx)("div",{id:`flush-collapse_${a}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${a}`,"data-bs-parent":"#accordionFlushHeaderMobile",children:(0,t.jsx)("div",{className:"accordion-body child",children:(0,t.jsxs)("div",{className:"accordion accordion-flush menu-child",id:`accordionFlush${a}`,children:[(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(r.Anchor,{tabindex:0,noUnderline:!0,href:e.link,className:"accordion-button collapsed menu-link menu-head",children:e?.title})})}),e.child?.map((e,a)=>(0,t.jsx)(v,{...e},a))]})})})]},a))})})]}),g&&(0,t.jsx)("div",{ref:P,children:(0,t.jsx)(c.default,{isTypeAhead:!0,searchContent:E,className:"header-modal"})})]})}},29892,(e,t,a)=>{t.exports=function(e,t,a,i){var r=-1,n=null==e?0:e.length;for(i&&n&&(a=e[++r]);++r<n;)a=t(a,e[r],r,e);return a}},6882,(e,t,a)=>{t.exports=function(e){return function(t){return null==e?void 0:e[t]}}},40195,(e,t,a)=>{t.exports=e.r(6882)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},40928,(e,t,a)=>{var i=e.r(40195),r=e.r(82346),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
807f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(e){return(e=r(e))&&e.replace(n,i).replace(s,"")}},47850,(e,t,a)=>{var i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(e){return e.match(i)||[]}},13716,(e,t,a)=>{var i=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(e){return i.test(e)}},70541,(e,t,a)=>{var i="\\ud800-\\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",s="A-Z\\xc0-\\xd6\\xd8-\\xde",l="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="['’]",c="["+l+"]",d="\\d+",u="["+r+"]",h="["+n+"]",f="[^"+i+l+d+r+n+s+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",g="["+s+"]",b="(?:"+h+"|"+f+")",_="(?:"+g+"|"+f+")",y="(?:"+o+"(?:d|ll|m|re|s|t|ve))?",x="(?:"+o+"(?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",A="[\\ufe0e\\ufe0f]?",w="(?:\\u200d(?:"+["[^"+i+"]",p,m].join("|")+")"+A+v+")*",E="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",S="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",C=A+v+w,T="(?:"+[u,p,m].join("|")+")"+C,N=RegExp([g+"?"+h+"+"+y+"(?="+[c,g,"$"].join("|")+")",_+"+"+x+"(?="+[c,g+b,"$"].join("|")+")",g+"?"+b+"+"+y,g+"+"+x,S,E,d,T].join("|"),"g");t.exports=function(e){return e.match(N)||[]}},27708,(e,t,a)=>{var i=e.r(47850),r=e.r(13716),n=e.r(82346),s=e.r(70541);t.exports=function(e,t,a){return(e=n(e),void 0===(t=a?void 0:t))?r(e)?s(e):i(e):e.match(t)||[]}},22471,(e,t,a)=>{var i=e.r(29892),r=e.r(40928),n=e.r(27708),s=RegExp("['’]","g");t.exports=function(e){return function(t){return i(n(r(t).replace(s,"")),e,"")}}},25917,(e,t,a)=>{var i=e.r(88411);t.exports=e.r(22471)(function(e,t,a){return t=t.toLowerCase(),e+(a?i(t):t)})},2710,22183,e=>{"use strict";e.s(["default",()=>v],2710);var t=e.i(91398),a=e.i(61576);e.s(["SearchFilterContent",()=>b,"default",()=>y],22183);var i=t,r=a,n=e.i(91788),s=e.i(1335),l=e.i(69047);e.i(41871);var o=e.i(87612);e.i(48756);var c=e.i(45861),d=e.i(49266),u=e.i(5223),h=e.i(25917),f=e.i(99523),p=e.i(41764),m=e.i(15315),g=e.i(82054);let b=e=>{let t,a,s,l=(0,r.c)(17),{applicationConfiguration:o}=(0,n.useContext)(g.default),d=e?.desc;if(e?.type==="date"){let t;if(l[0]!==o?.siteConfig?.date_format||l[1]!==e.isNotCareerSearch||l[2]!==d){let{lang:a}=(0,m.getApiDomainAndLang)();t=e?.isNotCareerSearch?(0,f.default)(d,"DD-MM-YYYY").locale(a).format(`${o?.siteConfig?.date_format}_HMS`):(0,f.default)(d,"DD-MM-YYYY").locale(a).format(o?.siteConfig?.date_format),l[0]=o?.siteConfig?.date_format,l[1]=e.isNotCareerSearch,l[2]=d,l[3]=t}else t=l[3];d=t}if(e?.type==="actions"){let t;return l[4]!==e.linkIcon?(t=e?.linkIcon??(0,i.jsx)(i.Fragment,{}),l[4]=e.linkIcon,l[5]=t):t=l[5],t}return l[6]!==e.link||l[7]!==e.linkIcon||l[8]!==e.title||l[9]!==e.type?(t=e?.title?(0,i.jsx)(c.Anchor,{className:"search-filter-title",href:e?.link,tabindex:0,noUnderline:!0,icon:e?.linkIcon||"",isExternal:!0,download:e?.type==="download",target:e?.type==="download"||e?.type==="actionUrl"?"_blank":"_self",children:"download"!==e.type?e?.title:""}):null,l[6]=e.link,l[7]=e.linkIcon,l[8]=e.title,l[9]=e.type,l[10]=t):t=l[10],l[11]!==e.type||l[12]!==d?(a="richtext"!==e.type?(0,i.jsx)("p",{className:"search-filter-desc",children:d}):(0,i.jsx)(u.RichText,{className:"search-filter-desc",content:d}),l[11]=e.type,l[12]=d,l[13]=a):a=l[13],l[14]!==t||l[15]!==a?(s=(0,i.jsxs)("div",{children:[t,a]}),l[14]=t,l[15]=a,l[16]=s):s=l[16],s},_=(0,s.createColumnHelper)(),y=e=>{let{filterData:t,columnsList:a,tableColumns:r,handleSort:c,sortValue:u,isNotCareerSearch:f=!1,disableSortColumnList:m=[],isDynamicHeaderTable:y=!1,isPoListing:x=!1,isProductPipeline:A=!0}=e,[w,E]=(0,n.useState)(t),[S,C]=(0,n.useState)(""),T=(0,o.useMediaQuery)("(max-width: 991px)"),{applicationConfiguration:N}=(0,n.useContext)(g.default),{job_table_ascending_text:k="ascending",job_table_descending_text:I="descending",job_table_sort_table_text:j="sort table"}=N?.siteConfig,P=k,L=I,O=j,D=a&&a.length&&!y?a.map(e=>_.accessor((0,h.default)(e),{header:()=>e,cell:e=>
80(0,i.jsx)(b,{title:e.getValue()?.title,desc:e.getValue()?.desc,link:e.getValue()?.link,type:e.getValue()?.type,isNotCareerSearch:e.getValue()?.isNotCareerSearch,linkIcon:e.getValue()?.linkIcon}),sortingFn:(e,t,a)=>{c(a);let i="desc";"jobTitle"===a&&(i="title");let r=e.getValue(a)[i],n=t.getValue(a)[i];return r<n?1:r>n?-1:0}})):y?Object.entries(a||[]).map(([e,t])=>({accessorKey:t.accessor,header:()=>t.title,cell:e=>(0,i.jsx)(b,{title:e.getValue()?.title,desc:e.getValue()?.desc,link:e.getValue()?.link,type:e.getValue()?.type,linkIcon:e.getValue()?.linkIcon}),sortingFn:(a,i)=>{c(e);let r=a.getValue(t.accessor),n=i.getValue(t.accessor);return r<n?-1:+(r>n)}})):[];(0,n.useEffect)(()=>{E(t)},[t]);let M=e=>m?.includes(e),R=(0,l.useReactTable)({data:w,columns:D,getCoreRowModel:(0,s.getCoreRowModel)(),debugTable:!0,manualPagination:!0}),F=(e,t)=>e===u?.column&&"DESC"===t?(0,i.jsx)(d.Icon,{iconName:"SortZA2","aria-hidden":"true",role:"presentation"}):(0,i.jsx)(d.Icon,{iconName:"SortAZ2","aria-hidden":"true",role:"presentation"}),B=e=>e.getCanSort()?"search-filter-sort":"",U=()=>(0,i.jsxs)("table",{children:[(0,i.jsx)("thead",{className:"search-filter-header",children:R?.getHeaderGroups()?.map(e=>(0,i.jsx)("tr",{className:"search-filter-row",children:e?.headers?.map(e=>A?(0,i.jsx)("th",{colSpan:e.colSpan,onMouseEnter:()=>C(e.column.id),onMouseLeave:()=>C(""),className:`search-filter-hd-row ${e.column.id===S?"column-highlight":""}`,onClick:()=>M(e.column.id)?null:c(e.column.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),M(e.column.id)||c(e.column.id))},tabIndex:0,"aria-sort":u?.column===e.column.id?u?.order==="ASC"?P:L:"none","aria-label":`${"string"==typeof e.column.columnDef.header?e.column.columnDef.header:e.column.id} ${O}`,children:e.isPlaceholder?null:(0,i.jsxs)("div",{"aria-hidden":"true",role:"presentation",className:B(e.column),onClick:e.column.getToggleSortingHandler(),children:[(0,l.flexRender)(e.column.columnDef.header,e.getContext()),!M(e.column.id)&&(0,i.jsx)("span",{"aria-hidden":"true",role:"presentation",children:u?.column&&(f?p.COLUMN_KEYS[e?.column?.id]:e.column.id)===u?.column?F(f?p.COLUMN_KEYS[e?.column?.id]:e.column.id,u?.column?u?.order:"ASC"):(0,i.jsx)(d.Icon,{iconName:"SortZA2","aria-hidden":"true",role:"presentation"})})]})},e.id):(0,i.jsx)("th",{colSpan:e.colSpan,className:"search-filter-hd-row",style:{cursor:"auto"},children:e.isPlaceholder?null:(0,i.jsxs)("div",{"aria-hidden":"true",onClick:e.column.getToggleSortingHandler(),children:[(0,l.flexRender)(e.column.columnDef.header,e.getContext()),A&&!M(e.column.id)&&(0,i.jsx)("span",{children:u?.column&&(f?p.COLUMN_KEYS[e?.column?.id]:e.column.id)===u?.column?F(f?p.COLUMN_KEYS[e?.column?.id]:e.column.id,u?.column?u?.order:"ASC"):(0,i.jsx)(d.Icon,{iconName:"SortZA2"})})]})},e.id))},e.id))}),(0,i.jsx)("tbody",{children:R?.getRowModel().rows?.map(e=>(0,i.jsx)("tr",{className:"search-filter-row-detail",children:e?.getVisibleCells()?.map(e=>(0,i.jsx)("td",{className:`search-filter-row-detail-td ${e.column.id===S?"column-highlight":""}`,children:(0,l.flexRender)(e.column.columnDef.cell,e.getContext())},e.id))},e.id))})]}),H=()=>w?.map((e,t)=>(0,i.jsx)("div",{className:"mobile-view",children:(0,i.jsx)(v,{values:e,columnsList:r})},t));return(0,i.jsx)("div",{className:"search-filter",children:T?x?U():H():U()})},x=(e,a)=>(0,t.jsxs)("div",{className:"search-filter-card-body-detail",children:[(0,t.jsx)("div",{className:"search-filter-card-header",children:e}),(0,t.jsx)("div",{className:"search-filter-card-detail",children:a})]}),v=e=>{let i,r=(0,a.c)(3),{values:n,columnsList:s}=e;return r[0]!==s||r[1]!==n?(i=(0,t.jsx)("div",{className:"search-filter-card card-strech",children:(0,t.jsx)("div",{className:"card",children:(0,t.jsx)("div",{className:"card-body",children:Object.entries(s).map(e=>{let[a,i]=e;return x(i,(0,t.jsx)(b,{...n[a]}))})})})}),r[0]=s,r[1]=n,r[2]=i):i=r[2],i}},38412,88277,e=>{"use strict";e.s(["default",()=>d],38412);var t=e.i(91398),a=e.i(61576);e.i(35958);var i=e.i(29907),i=i,r=e.i(88298),n=e.i(3828),s=e.i(41158),l=e.i(91788);e.i(41871);var o=e.i(87612);e.i(48756);var c=e.i(49266);let d=e=>{let d,u,h,f,p,m,g=(0,a.c)(17),{linkWithIconContent:b,fieldMenuLinksPosition:_,fieldMenuLinksSticky:y,fieldMenuLinksStyle:x,fieldMenuLinksTitle:v,isInpageNav:A,fieldQuickNavLabelStyle:w}
80=e,E=void 0===_?"left":_,S=void 0!==y&&y,C=void 0===v?"Menu":v,T=void 0!==A&&A,N=(0,n.useRouter)(),[k,I]=(0,l.useState)(""),[j,P]=(0,l.useState)(C),[L,O]=(0,l.useState)(!1),D=(0,l.useRef)(null),M=(0,l.useRef)(null),[R,F]=(0,l.useState)(!1),[B,U]=(0,l.useState)(!0),H=(0,o.useMediaQuery)("(max-width: 991px)"),$=(0,l.useRef)(window.scrollY),[G,W]=(0,l.useState)(!1),[Y,z]=(0,l.useState)(0),V=e=>{let t=e.replace(/^#/,""),a=document.getElementById(t);return!!a&&(setTimeout(()=>{M.current?.focus()},100),a.setAttribute("tabindex","-1"),a.scrollIntoView({behavior:"smooth",block:"start"}),a.focus({preventScroll:!0}),I(t),!0)},K=(e,t)=>{if(t){if(t.startsWith("#")){if(V(t)){U(!1);let{pathname:e,search:a}=window.location,i=t;history.replaceState(null,"",`${e}${a}${i}`)}return}t.includes("/")&&e.push(t)}};g[0]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{let e=e=>{if("Tab"===e.key&&document.activeElement===M.current){let e=window.location.hash.replace(/^#/,""),t=document.getElementById(e);setTimeout(()=>{t?.focus()},0)}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},u=[],g[0]=d,g[1]=u):(d=g[0],u=g[1]),(0,l.useEffect)(d,u);let[q,Q]=(0,l.useState)(0);return g[2]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{let e=document.querySelector(".header");e&&Q(e.offsetHeight+20);let t=()=>{e&&Q(e.offsetHeight+20)};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},f=[],g[2]=h,g[3]=f):(h=g[2],f=g[3]),(0,l.useEffect)(h,f),g[4]!==k||g[5]!==j||g[6]!==C||g[7]!==G||g[8]!==R||g[9]!==b||g[10]!==Y?(p=()=>{if(!D.current)return;let e=window.matchMedia("(max-width: 768px)"),t=()=>{let t=e.matches,a=window.scrollY,i=a>$.current,r=a<$.current;$.current=a;let n=D.current?.getBoundingClientRect();if(n&&n?.top<=10&&a>Y?(R||Y||z(a),F(!0),U(!1)):t||(F(!1),U(!0),P(j),W(!1)),t){let e=n&&n.top<=10,t=a>Y;r&&e&&t?G||(F(!0),P(j),W(!0)):r&&a<Y&&(F(!1),P(C??"Menu"),W(!1)),i&&G&&(W(!1),F(!1))}let s=!1;b?.forEach(e=>{let t=e?.linkWithIconContent?.refrenceId;if(t&&t.startsWith("#")){let a=document.querySelector(t);if(a){let i=a.getBoundingClientRect();if(i.top<=200&&i.bottom>=200){s=!0;let a=t.replace(/^#/,"");P(e?.linkWithIconContent?.title),a!==k&&I(a)}}}}),s||(""!==k&&I(""),j!==C&&P(C))};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},g[4]=k,g[5]=j,g[6]=C,g[7]=G,g[8]=R,g[9]=b,g[10]=Y,g[11]=p):p=g[11],g[12]!==k||g[13]!==G||g[14]!==R||g[15]!==b?(m=[R,G,k,b],g[12]=k,g[13]=G,g[14]=R,g[15]=b,g[16]=m):m=g[16],(0,l.useEffect)(p,m),T?(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:`inpage-nav-outer-box ${R?"sticky":""}`,ref:D,style:{top:G&&R&&S?`${q}px`:void 0},children:[!H&&S&&R&&!B&&(0,t.jsxs)("div",{ref:M,role:"button",tabIndex:0,"aria-expanded":!1,"aria-controls":"inpage-nav-container","aria-label":"show navigation menu",className:`inpage-nav-desktop-menu 
81            ${"left"===E?"inpage-nav-desktop-menu-left":"inpage-nav-desktop-menu-right"}
82              ${"icon_only"===w?"inpage-nav-desktop-menu-icon-only":""}`,onClick:()=>{U(!0)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),U(!0))},children:["   ","icon_only"!==w&&(0,t.jsx)("div",{className:"in-page-nav-menu-lable",children:j||"Menu"})," ",(0,t.jsx)("span",{children:(0,t.jsx)(c.Icon,{iconName:"ArrowRightIcon"})})]}),!H&&B&&(0,t.jsx)("nav",{className:"inpage-nav-box","aria-label":"In-page-navigation",role:"navigation",id:"inpage-nav-container",children:(0,t.jsx)("ul",{className:"inpage-nav-ul",role:"navbar",children:b&&b.map((e,a)=>{let r=e?.linkWithIconContent?.refrenceId,n=r&&r.startsWith("#")&&k===r.replace(/^#/,"");return(0,t.jsx)("li",{role:"none",className:`inpage-nav-li ${n?"active-nav":""}`,style:n?{borderBottom:"solid 2px #1C59B5",color:"#1C59B5"}:{},children:(0,t.jsx)("a",{role:"menuitem",href:e?.linkWithIconContent?.refrenceId,className:"inpage-nav-anchor",onClick:t=>{t.preventDefault(),t.stopPropagation(),K(N,e?.linkWithIconContent?.refrenceId)},children:(0,t.jsx)("div",{className:"inpage-nav-items",children:(0,t.jsx)(i.default,{imgsrc:e?.linkWithIconContent?.imgsrc,title:e?.linkWithIconContent?.title,fieldMenuLinksStyle:x,...b,isInpageNav:!0})})})},`${e?.linkWithIconContent?.refrenceId}`)})})}
82),H&&(0,t.jsxs)("nav",{className:`inpage-nav-box ${G&&R&&S?"in-page-nav-mobile-sticky":""}`,"aria-label":"In-page-navigation",role:"navigation",id:"inpage-nav-container",children:[(0,t.jsxs)("div",{className:"mobile-menu-toggle",onClick:()=>O(!L),children:[(0,t.jsx)("div",{className:"mobile-menu-title",children:j||"Menu"}),(0,t.jsx)("div",{className:"mobile-menu-icon-container",children:L?(0,t.jsx)(c.Icon,{iconName:"ChevronUp2",className:"header-icon",color:"#000"}):(0,t.jsx)(c.Icon,{iconName:"ChevronDown2",className:"header-icon",color:"#000"})})]}),(0,t.jsx)("ul",{className:`inpage-nav-ul ${L?"open":"closed"}`,role:"navbar",children:b&&b.map((e,a)=>{let r=e?.linkWithIconContent?.refrenceId,n=r&&r.startsWith("#")&&k===r.replace(/^#/,"");return(0,t.jsx)("li",{role:"none",className:`inpage-nav-li ${n?"active-nav":""}`,style:n?{borderBottom:"solid 2px #1C59B5",color:"#1C59B5"}:{},children:(0,t.jsx)("a",{role:"menuitem",href:e?.linkWithIconContent?.refrenceId,className:"inpage-nav-anchor",onClick:t=>{t.preventDefault(),t.stopPropagation(),K(N,e?.linkWithIconContent?.refrenceId),O(!L)},children:(0,t.jsx)("div",{className:"inpage-nav-items",children:(0,t.jsx)(i.default,{imgsrc:e?.linkWithIconContent?.imgsrc,title:e?.linkWithIconContent?.title,...b,isInpageNav:!0})})})},`${e?.linkWithIconContent?.refrenceId}`)})})]})]})}):(0,t.jsx)("div",{className:"link-with-icon",children:(0,t.jsx)("div",{className:"link-with-icon-list",children:b&&b.map((e,a)=>e?.linkWithIconContent?.refrenceId?(0,t.jsx)(s.default,{href:e?.linkWithIconContent?.refrenceId.includes("/")?e?.linkWithIconContent?.refrenceId:"javascript:void(0)",legacyBehavior:!0,children:(0,t.jsx)("a",{className:"link-with-icon-list-button",onClick:()=>(0,r.handleClick)(N,e?.linkWithIconContent?.refrenceId),children:(0,t.jsx)("div",{className:"link-with-icon-list-item",children:(0,t.jsx)(i.default,{imgsrc:e?.linkWithIconContent?.imgsrc,title:e?.linkWithIconContent?.title,...b})})})},`${e?.linkWithIconContent?.refrenceId}`):(0,t.jsx)("div",{className:"link-with-icon-list-item",children:(0,t.jsx)(i.default,{imgsrc:e?.linkWithIconContent?.imgsrc,title:e?.linkWithIconContent?.title,...b})},a))})})};e.s(["default",()=>E],88277);var u=t,h=a,f=t,p=a,m=e.i(45861),g=c;let b=e=>{let t,a,i,r,n=(0,p.c)(8),s=_,l=x;n[0]===Symbol.for("react.memo_cache_sentinel")?(t=e=>{let{columnData:t,fieldCellAlignment:a}=l(e);return(0,f.jsx)("div",{style:{textAlign:a},children:t&&t?.map((e,t)=>e?.isLink?(0,f.jsx)("span",{children:(0,f.jsx)(m.Anchor,{href:e?.value??"#",tabindex:1,noUnderline:!0,isExternal:!0,children:e?.title})},`${e?.title}-${t}`):s(e?.title,t))})},n[0]=t):t=n[0];let o=t,c=e?.rowtitle;return n[1]!==c?(a=(0,f.jsx)("td",{children:c}),n[1]=c,n[2]=a):a=n[2],n[3]!==e.rowColumnValue?(i=e?.rowColumnValue&&e?.rowColumnValue?.map((e,t)=>t<=3?(0,f.jsx)("td",{className:"table-col",children:o(e)},t):null),n[3]=e.rowColumnValue,n[4]=i):i=n[4],n[5]!==a||n[6]!==i?(r=(0,f.jsxs)("tr",{children:[a,i]}),n[5]=a,n[6]=i,n[7]=r):r=n[7],r};function _(e,t){return e?.toUpperCase()==="TRUE"?(0,f.jsx)("span",{children:(0,f.jsx)(g.Icon,{className:"table-check-icon",iconName:"CheckIcon"})}):e?.toUpperCase()==="FALSE"?(0,f.jsx)("span",{children:(0,f.jsx)(g.Icon,{iconName:"CloseIcon"})}):(0,f.jsx)("span",{children:e},`${e}-${t}`)}function y(e){let t={};return t.title=e?.title,t.value=e?.uri??null,t.isLink=!e?.uri?.includes("nolink"),t}function x(e){let{field_table_cell_link:t,field_cell_alignment:a}=e,i=void 0===a?"center":a,r=t;return{columnData:r=r?.map(y),fieldCellAlignment:i?.toLowerCase()}}var v=e.i(70184),A=e.i(5223),w=e.i(66196);let E=e=>{let t,a,i,r,n,s,l=(0,h.c)(14),{tableData:o,discription:c}=e;l[0]!==o?(t=()=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("tr",{children:[(0,u.jsx)("td",{}),o?.map(S)]}),(0,u.jsxs)("tr",{children:[(0,u.jsx)("th",{}),o?.map(C)]})]}),l[0]=o,l[1]=t):t=l[1];let d=t;return l[2]!==d?(a=d(),l[2]=d,l[3]=a):a=l[3],l[4]!==o?(i=o?.map(T),l[4]=o,l[5]=i):i=l[5],l[6]!==a||l[7]!==i?(r=(0,u.jsx)("div",{className:"comparisonColoumn",children:(0,u.jsx)("table",{className:"table comparisonColoumn-tablediv ",children:(0,u.jsxs)("tbody",{children:[a,i]})})}),l[6]=a,l[7]=i,l[8]=r):r=l[8],l[9]!==c?(n=(0,u.jsx)(A.RichText,{className:"comparisonTable-content",content:c}),l[9]=c,l[10]=n):n=l[10],l[11]!==r||l[12]!==n?(s=(0,u.jsx)("div",{className:"comparisonTable",children:(0,u.jsxs)(w.Row,{children:[r,n]})}),l[11]=r,l[12]=n,l[13]=s):s=l[13],s};function S(e,t){return t<=3?(0,u.jsx)("td",{children:(0,u.jsx)(v.Img,{type:"table_enhancement",styledimage:e?.styledimage,src:e?.rowimage,alt:e?.imagealt,width:268,height:215},t+10)},t):null}function C(e,t){return t<=3?(0,u.jsx)("th",{children:e?.coltitle},t+t):null}function T(e,t){return t<=4?(0,u.jsx)(b,{...e},t):null}},8137,e=>{"use strict";e.s(["default",()=>m],8137);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(66196),n=e.i(17419),s=e.i(5223),l=t,o=a,c=s,d=e.i(23216),u=e.i(34848);let h=e=>{let t,a,i,r=(0,o.c)(8),{title:n,description:s,cardAlignment:h}=e,f="feature-card-content "+h;return r[0]!==n?(t=n&&(0,l.jsx)("h4",{className:"feature-card-title bold",children:(0,u.trimText)(n,d.default.TITLE)}),r[0]=n,r[1]=t):t=r[1],r[2]!==s?(a=s&&(0,l.jsx)("div",{className:"feature-card-desc",children:(0,l.jsx)(c.RichText,{content:s,characterLimit:d.default.DESCRIPTION})}),r[2]=s,r[3]=a):a=r[3],r[4]!==f||r[5]!==t||r[6]!==a?(i=(0,l.jsxs)("div",{className:f,children:[t,a]}),r[4]=f,r[5]=t,r[6]=a,r[7]=i):i=r[7],i};var f=d,p=u;let m=e=>{let l=(0,a.c)(20),{allFeatureCards:o,ctaLabel:c,ctaLink:d,linkIsExternal:u}=e;if(o.length>1){let e,a,s,h,f;return l[0]!==o?(e=o&&o?.map(g),l[0]=o,l[1]=e):e=l[1],l[2]!==e?(a=(0,t.jsx)(r.Row,{className:"feature-cards",children:e}),l[2]=e,l[3]=a):a=l[3],l[4]!==c||l[5]!==d||l[6]!==u?(s=d&&c&&(0,t.jsx)(i.AnchorButton,{isSecondary:!0,tabindex:0,href:d,isExternal:u,children:c}),l[4]=c,l[5]=d,l[6]=u,l[7]=s):s=l[7],l[8]!==s?(h=(0,t.jsx)(r.Row,{className:"feature-cards-action",children:(0,t.jsx)(n.Column,{mobile:12,tablet:12,desktop:12,children:s})}),l[8]=s,l[9]=h):h=l[9],l[10]!==a||l[11]!==h?(f=(0,t.jsxs)("div",{className:"feature-cards-wrapper multi",children:[a,h]}),l[10]=a,l[11]=h,l[12]=f):f=l[12],f}{let e,a;return l[13]!==o||l[14]!==c||l[15]!==d||l[16]!==u?(e=o&&o?.map((e,a)=>(0,t.jsx)(n.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsxs)("div",{className:"feature-card-content",children:[e?.title&&(0,t.jsx)("div",{className:"feature-card-title",children:(0,p.trimText)(e.title,f.default.TITLE)}),e?.description&&(0,t.jsxs)("div",{className:"feature-card-desc",children:[(0,t.jsx)(s.RichText,{content:e?.de
82scription,characterLimit:f.default.DESCRIPTION}),d&&c&&(0,t.jsx)(i.AnchorButton,{isSecondary:!0,tabindex:0,href:d,isExternal:u,children:c})]})]})},a)),l[13]=o,l[14]=c,l[15]=d,l[16]=u,l[17]=e):e=l[17],l[18]!==e?(a=(0,t.jsx)("div",{className:"feature-cards-wrapper single",children:(0,t.jsx)(r.Row,{className:"feature-cards",children:e})}),l[18]=e,l[19]=a):a=l[19],a}};function g(e,a){return(0,t.jsx)(n.Column,{desktop:4,tablet:4,mobile:12,children:(0,t.jsx)(h,{...e})},a)}},38445,24861,e=>{"use strict";e.s(["FeatureCards",()=>t.default],38445);var t=e.i(8137);e.s(["IconCard",()=>a.default],24861);var a=e.i(97111)},46416,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17626),n=e.i(17419),s=e.i(70184),l=e.i(5223),o=e.i(65662),c=e.i(23216),d=e.i(75957),u=e.i(34848);let h=e=>{let h,f,p,m,g,b,_,y,x,v,A=(0,a.c)(35),{styledimage:w,imageSrc:E,imageAlt:S,title:C,paragraph:T,link:N,linkIsExternal:k,linkText:I,columnTablet:j,columnDesktop:P,cardAlignment:L,isImageClickable:O}=e,D=E||"";A[0]!==S||A[1]!==w||A[2]!==D?(h=(0,t.jsx)("div",{className:"teaser-card-image",children:(0,t.jsx)(s.Img,{type:"card",styledimage:w,src:D,width:368,height:272,alt:S,islazyloaded:!0})}),A[0]=S,A[1]=w,A[2]=D,A[3]=h):h=A[3];let M=h;A[4]!==N||A[5]!==I||A[6]!==C?(f=C?(0,t.jsx)("h3",{className:"teaser-card-title",children:N&&I?(0,t.jsx)(i.Anchor,{href:N,tabindex:0,noUnderline:!0,className:"inherit-fontsize",title:C,ariaLabel:C,children:(0,u.trimText)(C,c.default.TITLE)}):(0,u.trimText)(C,c.default.TITLE)}):(0,t.jsx)(o.PlaceholderBlock,{style:{minHeight:"1rem"}}),A[4]=N,A[5]=I,A[6]=C,A[7]=f):f=A[7];let R=f;A[8]!==T?(p=T?(0,t.jsx)(l.RichText,{className:"teaser-card-desc",content:T}):(0,t.jsx)(o.PlaceholderBlock,{style:{minHeight:"1rem"}}),A[8]=T,A[9]=p):p=A[9];let F=p;A[10]!==N||A[11]!==k||A[12]!==I||A[13]!==C?(m=N&&I?(0,t.jsx)("div",{className:"teaser-card-action",children:(0,t.jsx)(r.AnchorButton,{isSecondary:!0,tabindex:0,href:N,isExternal:k,ariaLabel:C?`${I} ${(0,u.trimText)(C,c.default.TITLE)}`:"",children:I})}):(0,t.jsx)(o.PlaceholderBlock,{style:{minHeight:"2rem"}}),A[10]=N,A[11]=k,A[12]=I,A[13]=C,A[14]=m):m=A[14];let B=m,U=P||4,H=j||4,$=`teaser-card ${L}`;return A[15]===Symbol.for("react.memo_cache_sentinel")?(g=(0,d.default)(),A[15]=g):g=A[15],A[16]!==M||A[17]!==O||A[18]!==N||A[19]!==k?(b=O&&N?(0,t.jsx)(i.Anchor,{href:N,tabindex:0,noUnderline:!0,isExternal:k,children:M}):M,A[16]=M,A[17]=O,A[18]=N,A[19]=k,A[20]=b):b=A[20],A[21]!==F||A[22]!==R?(_=(0,t.jsxs)("div",{className:"teaser-card-info",children:[R,F]}),A[21]=F,A[22]=R,A[23]=_):_=A[23],A[24]!==b||A[25]!==_?(y=(0,t.jsxs)("div",{className:"card-body",children:[b,_]}),A[24]=b,A[25]=_,A[26]=y):y=A[26],A[27]!==B||A[28]!==y||A[29]!==$?(x=(0,t.jsxs)("div",{className:$,dir:g,children:[y,B]}),A[27]=B,A[28]=y,A[29]=$,A[30]=x):x=A[30],A[31]!==x||A[32]!==U||A[33]!==H?(v=(0,t.jsx)(n.Column,{desktop:U,tablet:H,mobile:12,className:"teaser-card-wrapper",children:x}),A[31]=x,A[32]=U,A[33]=H,A[34]=v):v=A[34],v}},75698,e=>{"use strict";e.s(["TeaserCard",()=>t.default]);var t=e.i(46416)},57111,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(17419),n=e.i(70184),s=e.i(5223),l=e.i(23216),o=e.i(75957);e.i(41871);var c=e.i(87612),d=e.i(34848);let u=e=>{let u,h,f,p,m,g,b,_,y,x=(0,a.c)(29),{styledimage:v,imageSrc:A,imageAlt:w,title:E,paragraph:S,link:C,linkIsExternal:T,linkText:N,gridType:k,columnTablet:I,columnDesktop:j,isSingleCard:P,cardAlignment:L}=e,O=void 0!==P&&P,D=(0,c.useMediaQuery)("(max-width: 991px)")?324:176,M=j||4,R=I||6,F=k?"teaser-feature-card grid-view":"teaser-feature-card "+L;x[0]===Symbol.for("react.memo_cache_sentinel")?(u=(0,o.default)(),x[0]=u):u=x[0];let B=`teaser-feature-card-image${O?" single-teaser-feature-card":""}`;return x[1]!==w||x[2]!==A||x[3]!==D||x[4]!==v?(h=A&&(0,t.jsx)(n.Img,{type:"card",styledimage:v,src:A,width:D,height:200,alt:w}),x[1]=w,x[2]=A,x[3]=D,x[4]=v,x[5]=h):h=x[5],x[6]!==B||x[7]!==h?(f=(0,t.jsx)("div",{className:B,children:h}),x[6]=B,x[7]=h,x[8]=f):f=x[8],x[9]!==E?(p=E&&(0,t.jsx)("h4",{className:"teaser-feature-card-title bold",children:(0,d.trimText)(E,l.default.TITLE)}),x[9]=E,x[10]=p):p=x[10],x[11]!==S?(m=S&&(0,t.jsx)(s.RichText,{className:"card-text teaser-feature-card-desc",content:S,characterLimit:l.default.DESCRIPTION}),x[11]=S,x[12]=m):m=x[12],x[13]!==C||x[14]!==T||x[15]!==N?(g=C&&(0,t.jsx)("div",{className:"teaser-feature-card-action",children:(0,t.jsx)(i.AnchorButton,{isSecondary:!0,tabindex:0,href:C,isExternal:T,children:N})}),x[13]=C,x[14]=T,x[15]=N,x[16]=g):g=x[16],x[17]!==m||x[18]!==g||x[19]!==p?(b=(0,t.jsx)("div",{className:"card-body",children:(0,t.jsxs)("div",{className:"teaser-feature-card-info",children:[p,m,g]})}),x[17]=m,x[18]=g,x[19]=p,x[20]=b):b=x[20],x[21]!==b||x[22]!==F||x[23]!==f?(_=(0,t.jsxs)("div",{className:F,dir:u,children:[f,b]}),x[21]=b,x[22]=F,x[23]=f,x[24]=_):_=x[24],x[25]!==_||x[26]!==M||x[27]!==R?(y=(0,t.jsx)(r.Column,{desktop:M,tablet:R,mobile:12,className:"teaser-feature-card-wrapper",children:_}),x[25]=_,x[26]=M,x[27]=R,x[28]=y):y=x[28],y}},72936,e=>{"use strict";e.s(["TeaserFeatureCard",()=>t.default]);var t=e.i(57111)},58684,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(70184),n=e.i(5223),s=e.i(66196),l=e.i(23216);let o=e=>{let o,c,d,u,h,f=(0,a.c)(16),{styledimage:p,imageSrc:m,imageAlt:g,imgCaption:b,title:_,description:y,cardAlignment:x}=e,v="teaser-snackbite "+x;return f[0]!==g||f[1]!==m||f[2]!==b||f[3]!==p?(o=(0,t.jsx)(i.Column,{desktop:12,tablet:12,mobile:12,className:"teaser-snackbite-img",children:(0,t.jsx)(r.Img,{type:"teaser_block_carousel",styledimage:p,src:m,alt:g,caption:b,width:768,height:432})}),f[0]=g,f[1]=m,f[2]=b,f[3]=p,f[4]=o):o=f[4],f[5]!==_?(c=_&&(0,t.jsx)("h3",{className:"teaser-snackbite-title",children:_}),f[5]=_,f[6]=c):c=f[6],f[7]!==y?(d=(0,t.jsx)(n.RichText,{content:y,characterLimit:l.default.DESCRIPTION,className:"teaser-snackbite-desc"}),f[7]=y,f[8]=d):d=f[8],f[9]!==c||f[10]!==d?(u=(0,t.jsxs)(i.Column,{desktop:12,tablet:12,mobile:12,className:"teaser-snackbite-info",children:[c,d]}
82),f[9]=c,f[10]=d,f[11]=u):u=f[11],f[12]!==v||f[13]!==o||f[14]!==u?(h=(0,t.jsxs)(s.Row,{className:v,children:[o,u]}),f[12]=v,f[13]=o,f[14]=u,f[15]=h):h=f[15],h}},85261,e=>{"use strict";e.s(["default",()=>d],85261);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(66196);e.i(62179);var r=e.i(34993),n=e.i(38445),s=e.i(24861),l=e.i(75698),o=e.i(72936),c=e.i(58684),c=c;let d=e=>{let n,s=(0,a.c)(15),{displayOption:l,cardType:o,teaserData:c,columnDesktop:d,columnTablet:h,cardCountInDesk:f,cardCountInTab:p}=e,m=u;s[0]!==o||s[1]!==d||s[2]!==h||s[3]!==c?(n=m(o,c,d,h),s[0]=o,s[1]=d,s[2]=h,s[3]=c,s[4]=n):n=s[4];let g=n;switch(l){case"carousel":{let e,a=5===f||5===p?"teaser-block-carousel pow-of-five":"teaser-block-carousel";return s[5]!==f||s[6]!==p||s[7]!==g||s[8]!==a?(e=(0,t.jsx)(r.CarouselWrapper,{slideToShow:f,slideToShowTablet:p,className:a,children:g}),s[5]=f,s[6]=p,s[7]=g,s[8]=a,s[9]=e):e=s[9],e}case"rail":{let e;return s[10]!==g?(e=(0,t.jsx)(i.Row,{className:"teaser-block-rail",children:g}),s[10]=g,s[11]=e):e=s[11],e}case"tile":{let e;return s[12]!==g?(e=(0,t.jsx)(i.Row,{className:"teaser-block-tile",children:g}),s[12]=g,s[13]=e):e=s[13],e}default:{let e;return s[14]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{}),s[14]=e):e=s[14],e}}};function u(e,a,i,r){return Array.isArray(a)&&0!==a.length?a.map((a,d)=>{let u={key:d,columnDesktop:i,columnTablet:r,...a};switch(e){case"icon_cards":return(0,t.jsx)(s.IconCard,{...u,cardAlignment:a?.cardAlignment});case"teaser_description_card":return(0,t.jsx)(n.FeatureCards,{...u});case"teaser_snacbite":return(0,t.jsx)(c.default,{...u});case"teaser_block_card":return(0,t.jsx)(l.TeaserCard,{...u});case"teaser_feature_block":return(0,t.jsx)(o.TeaserFeatureCard,{...u});default:return(0,t.jsx)("div",{},d)}}):(0,t.jsx)("div",{})}},62343,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(35958);var i=e.i(99830),r=e.i(3828);let n=e=>{let n,s,l,o,c=(0,a.c)(13),d=(0,r.useRouter)();c[0]!==d||c[1]!==e.field_search_cta_link?(n=(t,a)=>{a&&a.preventDefault(),e?.field_search_cta_link&&d.push({pathname:e?.field_search_cta_link,query:{search:`${t}`}})},c[0]=d,c[1]=e.field_search_cta_link,c[2]=n):n=c[2];let u=n,h=e?.field_seach_input;c[3]!==h?(s={type:"primary",placeholder:h},c[3]=h,c[4]=s):s=c[4];let f=e?.field_search_cta_text;c[5]!==u||c[6]!==s||c[7]!==f?(l={inputDataContent:s,buttonText:f,handleTextSearch:u},c[5]=u,c[6]=s,c[7]=f,c[8]=l):l=c[8];let p=l;return c[9]!==u||c[10]!==p.buttonText||c[11]!==p.inputDataContent?(o=(0,t.jsx)("div",{children:(0,t.jsx)(i.SearchGroup,{inputDataContent:p.inputDataContent,buttonText:p.buttonText,handleTextSearch:u,isDisabled:!0})}),c[9]=u,c[10]=p.buttonText,c[11]=p.inputDataContent,c[12]=o):o=c[12],o}},59537,e=>{"use strict";e.s(["default",()=>g]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(49266),n=e.i(70184),s=e.i(5223),l=e.i(66196),o=e.i(65218),c=e.i(45861),d=e.i(34848),u=e.i(23216),h=e.i(99523),f=e.i(82054),p=e.i(91788),m=e.i(15315);let g=e=>{let g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P,L,O,D,M,R,F,B=(0,a.c)(71),{title:U,magImage:H,row:$,desc:G,createdDate:W,taxonomies:Y,time:z,nodeUrl:V}=e,{applicationConfiguration:K}=(0,p.useContext)(f.default);if(B[0]!==K?.siteConfig?.date_format||B[1]!==W||B[2]!==G||B[3]!==H?.alt||B[4]!==H?.src||B[5]!==H?.styledimage||B[6]!==V||B[7]!==e.row||B[8]!==$||B[9]!==Y||B[10]!==U){let a,{lang:f}=(0,m.getApiDomainAndLang)();g=i.Column,y=$,x=e.row,v=e.row??12,A="magazine-card-vertical",k="card",B[26]!==H?.alt||B[27]!==H?.src||B[28]!==H?.styledimage||B[29]!==V?(a=H?.src&&(V?(0,t.jsx)(c.Anchor,{href:V,tabindex:0,noUnderline:!0,children:(0,t.jsx)(n.Img,{className:"magazine-card-vertical-image",type:"card",styledimage:H?.styledimage,src:H?.src,alt:H?.alt,width:368,height:220})}):(0,t.jsx)(n.Img,{className:"magazine-card-vertical-image",type:"card",styledimage:H?.styledimage,src:H?.src,alt:H?.alt,width:368,height:220})),B[26]=H?.alt,B[27]=H?.src,B[28]=H?.styledimage,B[29]=V,B[30]=a):a=B[30],B[31]!==a?(I=(0,t.jsx)("div",{className:"image-section",children:a}),B[31]=a,B[32]=I):I=B[32],N="card-body",E="magazine-card-vertical-content",B[33]!==Y?(S=(0,t.jsx)(l.Row,{children:(0,t.jsx)(i.Column,{desktop:9,tablet:9,mobile:9,children:Y?(0,t.jsx)(o.Taxonomy,{taxonomies:Y}):(0,t.jsx)(t.Fragment,{})})}),B[33]=Y,B[34]=S):S=B[34],B[35]!==V||B[36]!==U?(C=U&&(V?(0,t.jsx)(c.Anchor,{href:V,tabindex:0,noUnderline:!0,children:(0,t.jsx)("h4",{className:"magazine-card-vertical-content-header bold",children:(0,d.trimText)(U,u.default.TITLE)})}):(0,t.jsx)("h4",{className:"magazine-card-vertical-content-header bold",children:(0,d.trimText)(U,u.default.TITLE)})),B[35]=V,B[36]=U,B[37]=C):C=B[37],B[38]!==G?(T=G&&(0,t.jsx)(s.RichText,{className:"magazine-card-vertical-content-text magazine-card-vertical-content-text-h",content:G,characterLimit:u.default.DESCRIPTION}),B[38]=G,B[39]=T):T=B[39],b="magazine-card-vertical-content-bottom",B[40]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)("span",{className:"magazine-card-vertical-content-bottom-icon",children:(0,t.jsx)(r.Icon,{iconName:"
82calenderIcon",width:24,height:24})}),B[40]=_):_=B[40],w=W&&(0,t.jsx)("div",{className:"magazine-card-vertical-content-event-date",children:(0,h.default)(W,!0).locale(f).format(K?.siteConfig?.date_format)}),B[0]=K?.siteConfig?.date_format,B[1]=W,B[2]=G,B[3]=H?.alt,B[4]=H?.src,B[5]=H?.styledimage,B[6]=V,B[7]=e.row,B[8]=$,B[9]=Y,B[10]=U,B[11]=g,B[12]=b,B[13]=_,B[14]=y,B[15]=x,B[16]=v,B[17]=A,B[18]=w,B[19]=E,B[20]=S,B[21]=C,B[22]=T,B[23]=N,B[24]=k,B[25]=I}else g=B[11],b=B[12],_=B[13],y=B[14],x=B[15],v=B[16],A=B[17],w=B[18],E=B[19],S=B[20],C=B[21],T=B[22],N=B[23],k=B[24],I=B[25];return B[41]!==b||B[42]!==_||B[43]!==w?(j=(0,t.jsxs)("div",{className:b,children:[_,w]}),B[41]=b,B[42]=_,B[43]=w,B[44]=j):j=B[44],B[45]===Symbol.for("react.memo_cache_sentinel")?(P=(0,t.jsx)(r.Icon,{iconName:"TimeIcon"}),B[45]=P):P=B[45],B[46]!==z?(L=z&&(0,t.jsx)("div",{className:"magazine-card-vertical-content-time-section-time",children:z}),B[46]=z,B[47]=L):L=B[47],B[48]!==L?(O=(0,t.jsxs)("div",{className:"magazine-card-vertical-content-time-section",children:[P,L]}),B[48]=L,B[49]=O):O=B[49],B[50]!==j||B[51]!==O||B[52]!==E||B[53]!==S||B[54]!==C||B[55]!==T?(D=(0,t.jsxs)("div",{className:E,children:[S,C,T,j,O]}),B[50]=j,B[51]=O,B[52]=E,B[53]=S,B[54]=C,B[55]=T,B[56]=D):D=B[56],B[57]!==D||B[58]!==N?(M=(0,t.jsx)("div",{className:N,children:D}),B[57]=D,B[58]=N,B[59]=M):M=B[59],B[60]!==M||B[61]!==k||B[62]!==I?(R=(0,t.jsxs)("div",{className:k,children:[I,M]}),B[60]=M,B[61]=k,B[62]=I,B[63]=R):R=B[63],B[64]!==g||B[65]!==y||B[66]!==x||B[67]!==v||B[68]!==A||B[69]!==R?(F=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(g,{desktop:y,tablet:x,mobile:v,className:A,children:R})}),B[64]=g,B[65]=y,B[66]=x,B[67]=v,B[68]=A,B[69]=R,B[70]=F):F=B[70],F}},65353,e=>{"use strict";e.s(["MagazineVerticalCard",()=>t.default]);var t=e.i(59537)},67631,e=>{"use strict";e.s(["ProductCard",()=>t.default]);var t=e.i(64821)},69023,e=>{"use strict";e.s(["default",()=>M],69023);var t=e.i(91398),a=e.i(91788),i=e.i(61576);e.i(62179);var r=e.i(34993),n=e.i(56995),s=e.i(98822),l=e.i(65353),o=e.i(91967),c=e.i(67631),d=e.i(60338),d=d,u=e.i(22276),h=e.i(6597),f=e.i(15315);e.i(48756);var p=e.i(6271),m=e.i(66196),g=e.i(75425),b=e.i(61312),_=function(e){return e.EVENT="event",e.PRODUCT="product",e.EDUCATION="education",e.NEWS="news_and_stories",e.THERAPY="therapy_areas_disease_group",e.CSV_PRODUCT="csv_product",e.MAGAZINE="magazine",e}({}),y=e.i(99523),x=e.i(41764),v=e.i(82036),A=e.i(3265),w=f,E=g;let S=e=>{let t=(0,b.getAllRoles)(e),{lang:a}=(0,w.getApiDomainAndLang)(),i=e?.event_dates&&e?.event_dates?.length>0?e?.event_dates[0]?.value:"",r=e?.event_dates&&e?.event_dates?.length>0?e?.event_dates[0]?.end_value:"",n=(0,b.isPaywallProtected)((0,v.default)(e,"image_details"));return{eventCardVerticalContent:{id:parseInt(e.nid,10),text:(0,v.default)(e,"description")?.[0]?.value,heading:(0,b.isPaywallProtected)((0,v.default)(e,"title")).isPaywallProtectedFlag?null:(0,v.default)(e,"title"),startDate:(0,b.isPaywallProtected)(e.event_dates).isPaywallProtectedFlag?null:i,endDate:(0,b.isPaywallProtected)(e.event_dates).isPaywallProtectedFlag?null:r,contentText:(0,b.isPaywallProtected)((0,v.default)(e,"location")).isPaywallProtectedFlag?null:(0,v.default)(e,"location"),primaryButtonLabel:(0,v.default)(e,"primary_cta")?.[0]?.title,primaryButtonUrl:(0,A.filterURL)((0,v.default)(e,"primary_cta")?.[0]?.uri),primaryIsExternalUrl:(0,A.isExternalLink)((0,v.default)(e,"primary_cta")[0]?.uri),secondaryButtonLabel:(0,v.default)(e,"secondary_cta")?.[0]?.title,secondaryButtonUrl:(0,A.filterURL)((0,v.default)(e,"secondary_cta")?.[0]?.uri),secondaryIsExternalUrl:(0,A.isExternalLink)((0,v.default)(e,"secondary_cta")?.[0]?.uri),taxonomyLabel:(0,v.default)(e,"tags")?.[0],time:(0,b.isPaywallProtected)((0,v.default)(e,"duration")).isPaywallProtectedFlag?null:(0,v.default)(e,"duration"),bookmark:!1},eventCardVerticalImage:{src:n?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(n?.errorObj)?.imageUrl:(0,v.default)(e,"image_details")?.[0]?.src},eventCardVDesktopColumn:12,type:(0,b.isPaywallProtected)((0,v.default)(e,"type")).isPaywallProtectedFlag?null:(0,v.default)(e,"type"),rank:(0,b.isPaywallProtected)((0,v.default)(e,"rank")).isPaywallProtectedFlag?null:(0,v.default)(e,"rank"),fieldPaywallRoles:t}},C=e=>{let t=(0,b.getAllRoles)(e),{lang:a}=(0,w.getApiDomainAndLang)(),i=e.event_dates&&e.event_dates.length>0?(0,y.default)(e.event_dates?.[0].values).locale(a).format(x.DATE_FORMATS.MMMM_DD_YYYY)??"":"",r=(0,b.isPaywallProtected)((0,v.default)(e,"image_details"));return{productCardImage:r?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(r?.errorObj)?.imageUrl:(0,v.default)(e,"image_details")?.[0],productCardContent:{id:parseInt(e.nid,10),content:(0,v.default)(e,"description")?.[0]?.value,heading:(0,b.isPaywallProtected)((0,v.default)(e,"title")).isPaywallProtectedFlag?null:(0,v.default)(e,"title"),buttonLabel:(0,v.default)(e,"secondary_cta")?.[0]?.title,taxonomyLabel:(0,v.default)(e,"tags"),href:(0,A.filterURL)((0,v.default)(e,"secondary_cta")?.[0]?.uri),isLinkExternal:(0,A.isExternalLink)((0,v.default)(e,"secondary_cta")?.[0]?.uri),taxonomies:{taxonomyLabel:(0,v.default)(e,"tags")?.[0]},date:(0,b.isPaywallProtected)(e.event_dates).isPaywallProtectedFlag?null:i,bookmark:!1,relatedContent:!0},desktopColumns:12,tabletColumns:12,type:(0,b.isPaywallProtected)((0,v.default)(e,"type")).isPaywallProtectedFlag?null:(0,v.default)(e,"type"),fieldPaywallRoles:t}},T=e=>{let t=(0,b.getAllRoles)(e),a=(0,b.isPaywallProtected)((0,v.default)(e,"image_details"));return{id:parseInt(e.nid,10),taxonomyLabel:(0,v.default)(e,"tags")?.[0],heading:(0,b.isPaywallProtected)((0,v.default)(e,"title")).isPaywallProtectedFlag?null:(0,v.default)(e,"title"),description:(0,v.default)(e,"description")?.[0]?.value,prodInfoTaxonomies:[],packInfoTaxonomies:[],productListViewImage:{src:a?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(a?.errorObj)?.imageUrl:(0,v.default)(e,"image_details")?.[0]?.src,alt:(0,v.default)(e,"image_details")?.[0]?.alt??""},productCardImage:{src:a?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(a?.errorObj)?.imageUrl:(0,v.default)(e,"image_details")?.[0]?.src,alt:(0,v.default)(e,"image_details")?.[0]?.alt??"",styledimage:a?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(a?.errorObj)?.imageStyledUrl:(0,v.default)(e,"image_details")?.[0]?.image_style_uri},specifications:(0,b.isPaywallProtected)((0,v.default)(e,"specification")).isPaywallProtectedFlag?null:(0,v.default)(e,"specification"),buttonLabel:(0,v.default)(e,"primary_cta")?.[0]?.title,isLinkExternal:(0,A.isExternalLink)((0,v.default)(e,"node_url")),href:(0,b.isPaywallProtected)((0,v.default)(e,"node_url")).isPaywallProtectedFlag?null:(0,v.default)(e,"node_url"),type:(0,b.isPaywallProtected)((0,v.default)(e,"type")).isPaywallProtectedFlag?null:(0,v.default)(e,"type"),fieldPaywallRoles:t}},N=e=>{let t=(0,b.getAllRoles)(e),{lang:a}=(0,w.getApiDomainAndLang)(),i=e.event_dates&&e.event_dates.length>0?(0,y.default)(e.event_dates?.[0]?.values).locale(a).format(x.DATE_FORMATS.MMMM_DD_YYYY)??"":"",r=(0,b.isPaywallProtected)((0,v.default)(e,"image_details"));return{imageSrc:r?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(r?.errorObj)?.imageUrl:(0,v.default)(e,"image_details")?.[0]?.src,newsStoriesContent:{id:parseInt(e.nid,10),text:(0,v.default)(e,"description")?.[0]?.value,heading:(0,b.isPaywallProtected)((0,v.default)(e,"title")).isPaywallProtectedFlag?null:(0,v.default)(e,"title"),buttonLabel:(0,v.default)(e,"primary_cta")?.[0]?.title,buttonUrl:(0,A.filterURL)((0,v.default)(e,"primary_cta")?.[0]?.uri),bookmark:!1,isButtonUrlExter
82nal:(0,A.isExternalLink)((0,v.default)(e,"primary_cta")?.[0]?.uri),taxonomies:{taxonomyLabel:(0,v.default)(e,"tags")},date:(0,b.isPaywallProtected)(e.event_dates).isPaywallProtectedFlag?null:i},type:(0,b.isPaywallProtected)((0,v.default)(e,"type")).isPaywallProtectedFlag?null:(0,v.default)(e,"type"),rank:(0,b.isPaywallProtected)((0,v.default)(e,"rank")).isPaywallProtectedFlag?null:(0,v.default)(e,"rank"),fieldPaywallRoles:t}},k=e=>{let t=(0,b.getAllRoles)(e),a=(0,b.isPaywallProtected)((0,v.default)(e,"image_details"));return{educationCardContent:{id:parseInt(e.nid,10),taxonomyLabel:(0,v.default)(e,"tags")?.[0],heading:(0,b.isPaywallProtected)((0,v.default)(e,"title")).isPaywallProtectedFlag?null:(0,v.default)(e,"title"),text:(0,v.default)(e,"description")?.[0]?.value,time:(0,v.default)(e,"duration"),contentType:(0,v.default)(e,"tags")?.[0],buttonLabel:(0,v.default)(e,"primary_cta")?.[0]?.title,buttonUrl:(0,A.filterURL)((0,v.default)(e,"primary_cta")?.[0]?.uri),bookmark:!1,buttonUrlExternal:(0,A.isExternalLink)((0,v.default)(e,"primary_cta")?.[0]?.uri)},imageSrc:a?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(a?.errorObj)?.imageUrl:(0,v.default)(e,"image_details")?.[0]?.src,imgAlt:(0,v.default)(e,"image_details")?.[0]?.alt??"",type:(0,b.isPaywallProtected)((0,v.default)(e,"type")).isPaywallProtectedFlag?null:(0,v.default)(e,"type"),rank:(0,b.isPaywallProtected)((0,v.default)(e,"rank")).isPaywallProtectedFlag?null:(0,v.default)(e,"rank"),fieldPaywallRoles:t}},I=e=>{let t=(0,b.getAllRoles)(e),a=(0,b.isPaywallProtected)((0,v.default)(e,"image_details"));return{id:parseInt(e.nid,10),image:a?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(a?.errorObj)?.imageUrl:(0,v.default)(e,"image_details")?.[0],therapyCardContent:{heading:(0,b.isPaywallProtected)((0,v.default)(e,"title")).isPaywallProtectedFlag?null:(0,v.default)(e,"title"),text:(0,v.default)(e,"description")?.[0]?.value,buttonUrl:(0,b.isPaywallProtected)((0,v.default)(e,"node_url")).isPaywallProtectedFlag?null:(0,v.default)(e,"node_url"),isButtonUrlExternal:!1,buttonLabel:(0,b.isPaywallProtected)((0,v.default)(e,"read_more_button_text")).isPaywallProtectedFlag?null:(0,v.default)(e,"read_more_button_text"),taxonomyLabel:(0,v.default)(e,"tags")?.[0],relatedContent:!0},bookmarkCallback:!1,type:(0,b.isPaywallProtected)((0,v.default)(e,"type")).isPaywallProtectedFlag?null:(0,v.default)(e,"type"),rank:(0,b.isPaywallProtected)((0,v.default)(e,"rank")).isPaywallProtectedFlag?null:(0,v.default)(e,"rank"),fieldPaywallRoles:t}},j=e=>{let t=(0,b.getAllRoles)(e),a=(0,b.isPaywallProtected)((0,v.default)(e,"image_details")),{lang:i}=(0,w.getApiDomainAndLang)(),r=e=>{let t=[];return e?.map(e=>{let a={taxonomyLabel:e};t.push(a)}),t},n=(0,b.isPaywallProtected)(e?.topics).isPaywallProtectedFlag?null:r(e?.topics)??null,s=e?.date&&e?.date?.length>0?e?.date[0]?.value:"";return{id:parseInt(e.nid,10)??"",magImage:a?.isPaywallProtectedFlag?(0,b.getPaywalledImgData)(a?.errorObj):(0,v.default)(e,"image_details")?.[0]??null,taxonomies:n??[],title:(0,b.isPaywallProtected)((0,v.default)(e,"title")).isPaywallProtectedFlag?null:(0,v.default)(e,"title")??null,desc:(0,b.isPaywallProtected)((0,v.default)(e,"description")).isPaywallProtectedFlag?null:(0,v.default)(e,"description")?.[0]?.value??null,createdDate:(0,b.isPaywallProtected)(e?.date)?.isPaywallProtectedFlag?null:s,time:(0,v.default)(e,"reading_time")??null,nodeUrl:(0,v.default)(e,"node_url")??null,row:E.default.THREE,type:(0,b.isPaywallProtected)((0,v.default)(e,"type")).isPaywallProtectedFlag?null:(0,v.default)(e,"type"),rank:(0,b.isPaywallProtected)((0,v.default)(e,"rank")).isPaywallProtectedFlag?null:(0,v.default)(e,"rank")??null,fieldPaywallRoles:t}},P=e=>e?.map(e=>{switch(e?.type){case _.EDUCATION:return k(e);case _.EVENT:return S(e);case _.THERAPY:return I(e);case _.NEWS:return N(e);case _.PRODUCT:return C(e);case _.CSV_PRODUCT:return T(e);case _.MAGAZINE:return j(e)}}).sort((e,t)=>e.rank-t.rank);var L=e.i(74807);let O=(e,i)=>{switch(e.type){case _.EVENT:return(0,t.jsx)(s.EventCardVertical,{eventCardVerticalContent:e?.eventCardVerticalContent,eventCardVerticalImage:e?.eventCardVerticalImage,eventCardVDesktopColumn:e?.eventCardVDesktopColumn,bookmarkCallback:()=>!1,relatedContentFlag:!0},i);case _.EDUCATION:return(0,a.createElement)(n.EducationCard,{...e,key:i,relatedContentFlag:!0});case _.THERAPY:return(0,a.createElement)(d.default,{...e,key:i,bookmarkCallback:()=>!1,relatedContentFlag:!0});case _.NEWS:return(0,a.createElement)(o.NewsStoriesCard,{...e,key:i,bookmarkCallback:()=>!1,relatedContentFlag:!0});case _.PRODUCT:return(0,t.jsx)(c.ProductCard,{...e,bookmark:!1,relatedContentFlag:!0},i);case _.CSV_PRODUCT:return(0,t.jsx)(h.default,{...e,bookmark:!1,relatedContentFlag:!0},i);case _.MAGAZINE:return(0,t.jsx)(l.MagazineVerticalCard,{...e},i)}},D=e=>{let a,r,n=(0,i.c)(5),{slide:s,_key:l}=e;return n[0]!==l||n[1]!==s?(a=O(s,l),n[0]=l,n[1]=s,n[2]=a):a=n[2],n[3]!==a?(r=(0,t.jsx)("div",{className:"relatedContent-slide",children:a}),n[3]=a,n[4]=r):r=n[4],r},M=e=>{let n,s,l,o,c,d,h=(0,i.c)(17),{url:f,background:b}=e,_=(0,u.useSelector)(R);h[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],h[0]=n):n=h[0];let[y,x]=(0,a.useState)(n),v=g.default.THREE,A=F,w=B;h[1]!==f||h[2]!==_?(s=A(f,_),h[1]=f,h[2]=_,h[3]=s):s=h[3],h[4]!==f||h[5]!==_?(l=async()=>{try{return await w(`/jsonapi${A(f,_)}`)}catch(e){}},h[4]=f,h[5]=_,h[6]=l):l=h[6];let{data:E}=(0,L.default)(`/jsonapi${s}`,l);return h[7]!==E?(o=()=>{E&&x(P(E?.content))},c=[E],h[7]=E,h[8]=o,h[9]=c):(o=h[8],c=h[9]),(0,a.useEffect)(o,c
82),h[10]!==b||h[11]!==y||h[12]!==E?.background_color||h[13]!==E?.title_anon_user||h[14]!==E?.title_auth_user||h[15]!==_?.isLoggedIn?(d=y?.length>0?(0,t.jsx)(p.Container,{background:b||E?.background_color||"white",bleed:!0,children:(0,t.jsx)(m.Row,{isTemplateWrapper:!0,children:(0,t.jsxs)("div",{className:"relatedContent-row",children:[_?.isLoggedIn?(0,t.jsx)("h2",{className:"relatedContent-title bold",children:E?.title_auth_user}):(0,t.jsx)("h2",{className:"relatedContent-title bold",children:E?.title_anon_user}),y?.length>v?(0,t.jsx)(r.CarouselWrapper,{slideToShow:v,className:E?.background_color==="white"?"relatedContent-caraouselWhite":"relatedContent-caraousel",children:y?.map(U)}):(0,t.jsx)("div",{className:"relatedContent-grid",children:y?.map(H)})]})})}):(0,t.jsx)(t.Fragment,{}),h[10]=b,h[11]=y,h[12]=E?.background_color,h[13]=E?.title_anon_user,h[14]=E?.title_auth_user,h[15]=_?.isLoggedIn,h[16]=d):d=h[16],d};function R(e){return e.user}function F(e,t){let a=t?.user?.response?.session_data?.user_data?.current_user?.uid;return e.includes("solar_related_content")&&a&&(e=e.replace("/0","")+`/${a}`),e}async function B(e){return(await (0,f.middlewareGETAPI)(e)).response}function U(e,a){return e&&(0,t.jsx)(D,{slide:e,_key:a},a)}function H(e,a){return e&&(0,t.jsx)(D,{slide:e,_key:a},a)}},44889,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(75425),n=e.i(45335);let s=e=>{let s,l,o,c,d,u=(0,a.c)(13),{iconFile:h,tooltip:f,className:p}=e,[m,g]=(0,i.useState)(!1);u[0]!==p?(s=()=>{let e=["icon-tag"];return p&&e.push(p),e.join(" ")},u[0]=p,u[1]=s):s=u[1];let b=s;u[2]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{g(!0),setTimeout(()=>g(!1),r.default.TWO_THOUSAND)},u[2]=l):l=u[2];let _=l,y=b();return u[3]!==h||u[4]!==f?(o=(0,t.jsx)("span",{className:"icon",onClick:_,children:(0,t.jsx)(n.default,{src:h,alt:f,height:64,width:64,type:"icon"})}),u[3]=h,u[4]=f,u[5]=o):o=u[5],u[6]!==m||u[7]!==f?(c=m&&(0,t.jsx)("div",{className:"icon-tag-tooltip",children:(0,t.jsx)("span",{className:"icon-tag-tooltip-text",children:f})}),u[6]=m,u[7]=f,u[8]=c):c=u[8],u[9]!==y||u[10]!==o||u[11]!==c?(d=(0,t.jsxs)("div",{className:y,children:[o,c]}),u[9]=y,u[10]=o,u[11]=c,u[12]=d):d=u[12],d};e.s(["default",0,s])},12557,e=>{"use strict";var t=e.i(44889);e.s(["IconTag",()=>t.default])},30733,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(58678),r=e.i(2476),n=e.i(15464);let s=e=>{let s,c,d,u,h,f,p,m,g,b,_=(0,a.c)(29),y=window.location;_[0]!==e.open_graph?(s=e?.open_graph||{},_[0]=e.open_graph,_[1]=s):s=_[1],_[2]!==s?(c=(0,r.productMetaTagURL)(s,y),_[2]=s,_[3]=c):c=_[3];let x=c;_[4]!==e.twitter_cards?(d=e?.twitter_cards||{},_[4]=e.twitter_cards,_[5]=d):d=_[5],_[6]!==d?(u=(0,r.productMetaTagURL)(d,y),_[6]=d,_[7]=u):u=_[7];let v=u;if(_[8]!==x||_[9]!==e.schema_meta||_[10]!==e.title||_[11]!==v){let a=(0,r.productMetaTagURL)(e?.schema_meta||{},y);h=i.default,_[17]!==e.title?(f=e?.title&&(0,t.jsx)("title",{children:e.title}),_[17]=e.title,_[18]=f):f=_[18],_[19]!==x?(p=x&&Object.entries(x).map(l),_[19]=x,_[20]=p):p=_[20],_[21]!==v?(m=v&&Object.entries(v).map(o),_[21]=v,_[22]=m):m=_[22],g=a&&(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,n.ldJsonSanitizer)(JSON.stringify(a))}}),_[8]=x,_[9]=e.schema_meta,_[10]=e.title,_[11]=v,_[12]=h,_[13]=f,_[14]=p,_[15]=m,_[16]=g}else h=_[12],f=_[13],p=_[14],m=_[15],g=_[16];return _[23]!==h||_[24]!==f||_[25]!==p||_[26]!==m||_[27]!==g?(b=(0,t.jsxs)(h,{children:[f,p,m,g]}),_[23]=h,_[24]=f,_[25]=p,_[26]=m,_[27]=g,_[28]=b):b=_[28],b};function l(e){let[a,i]=e;return(0,t.jsx)("meta",{property:`${a}`,content:i},a)}function o(e){let[a,i]=e;return(0,t.jsx)("meta",{name:`${a}`,content:i},a)}e.s(["default",0,s])},34609,e=>{"use strict";var t=e.i(30733);e.s(["ProductSeo",()=>t.default])},46430,e=>{"use strict";e.s(["BarcodeCollection",()=>t.default]);var t=e.i(53186)},58336,e=>{"use strict";e.s(["ContentWithScroll",()=>t.default]);var t=e.i(4100)},22508,e=>{"use strict";e.s(["ImageGrid",()=>t.default]);var t=e.i(27170)},41864,65002,e=>{"use strict";var t=e.i(1938);e.s(["TableWithScroll",()=>t.default],41864),e.s(["ExternalLinkModal",()=>a.default],65002);var a=e.i(34713)},33469,9135,e=>{"use strict";e.s(["Paywall",()=>t.default],33469);var t=e.i(4279);e.s(["PaywallNotification",()=>a.default],9135);var a=e.i(42496)},34391,e=>{"use strict";e.s(["default",()=>ee]);var t=e.i(91398),a=e.i(91788),i=e.i(22276);e.i(48756);var r=e.i(45861),n=e.i(17626),s=e.i(38233),l=e.i(17419),o=e.i(6271),c=e.i(161),d=e.i(49266),u=e.i(12557),h=e.i(70184),f=e.i(5223),p=e.i(66196),m=e.i(55439),g=e.i(4177),b=e.i(65218),_=e.i(34609),y=e.i(41764),x=e.i(85394);e.i(41871);var v=e.i(87612),A=e.i(92915);e.i(35958);var w=e.i(46430),E=e.i(35868),S=e.i(91814),C=e.i(58336),T=e.i(22508),N=e.i(41864),k=e.i(41734);e.i(62179);
82var I=e.i(34993),j=e.i(65002),P=e.i(61105),L=e.i(33469),O=e.i(9135),D=e.i(82054),M=e.i(15315),R=e.i(72094),F=e.i(10828),B=e.i(82108),U=e.i(67552),H=e.i(61312),$=e.i(15472),G=e.i(83575),W=e.i(3828),Y=e.i(20549),z=e.i(31808),V=e.i(21672),K=e.i(58372),q=e.i(91236),Q=e.i(43927);let Z=e=>{let{prodImages:Y,tabletImages:z,tabletImageTitle:K,productCategory:Z,title:X,iconTags:J,description:ee,prodInfoHeading:et,prodInfoTaxonomies:ea,packInfoHeading:ei,packInfoTaxonomies:er,headeractiveIngredientInfo:en,byInfoHeading:es,byInfoTaxonomies:el,stInfoHeading:eo,stInfoTaxonomies:ec,wdInfoHeading:ed,wdInfoTaxonomies:eu,otherInfoTaxonomies:eh,imageGrid:ef,showInCard:ep,downloadGridImages:em,variousCodes:eg,ctaButtonGroup:eb,latestUpdates:e_,notesAboutProduct:ey,barCodes:ex,productOverViewHeading:ev,sandozVersion:eA,originalVersion:ew,primaryButtonUrl:eE,primaryButtonLabel:eS,primaryIsExternalUrl:eC,secondaryButtonLabel:eT,secondaryButtonUrl:eN,secondaryIsExternalUrl:ek,tertiaryButtonLabel:eI,tertiaryButtonUrl:ej,tertiaryIsExternalUrl:eP,downloadTabletXLS:eL,finePrintAnchorId:eO,pdfButtonGroup:eD,pdfButtonGroupHeading:eM,bookmark:eR,id:eF,productManager:eB,footerHeading:eU,footerDescription:eH,activeIngredientDescription:e$,activeIngredientHeading:eG,ratings:eW,user:eY,resetRatings:ez,setUserProfile:eV,resetUserAndProfile:eK,updateRatingsCount:eq,fieldPaywallRoles:eQ,fieldPaywallRolesOTC:eZ,finePrint:eX,showInCardStatus:eJ,barcodeDetails:e0,sanImgAddImages:e1,productID:e2,basistextLabel:e3,paywall:e4,addUserData:e6,setSession:e5,setUserStateGlobally:e8,resetUserData:e7,referenceText:e9,product_info_label:te,tablet_info_label:tt,basistextLabelOTC:ta,label_product_link:ti,label_product_tablet_link:tr,setTarget:tn,internalPopupDetail:ts,externalPopupDetail:tl,enablePdpBasisTextTitle:to}=e,{isDataReady:tc,...td}=(0,Q.default)(),tu=e=>(0,H.isPaywallProtected)(e).isPaywallProtectedFlag?"":e,th=e=>(0,v.useMediaQuery)("(max-width: 767px)")||e?.length>5?"grid":"default";(0,a.useEffect)(()=>{if(eb?.records&&!(0,H.isPaywallProtected)(eb?.records).isPaywallProtectedFlag){let e={},t={},a={};a.attributes={},a.attributes.target="_self",e.uri=em?.url??"",e.title=em?.cta_label??"",e.options=a,t.uri=eL?.url??"",t.title=eL?.cta_label??"",t.options=a,em?.url&&eb?.records?.push(e),eL?.url&&eb?.records?.push(t)}},[]);let tf=e=>{let t=e?.getBoundingClientRect(),a=document?.querySelector(".floatingBanner"),i=document?.querySelector(".eyebrow-menu"),r=a?a?.getBoundingClientRect()?.height:0,n=i?i?.getBoundingClientRect()?.height:0,s=t?.top+window?.scrollY-(r+n),l=document?.documentElement?.scrollHeight-window?.innerHeight,o=Math?.min(Math?.max(s,0),l);window.scrollTo({left:t?.left+window?.scrollX,top:o,behavior:"auto"})};(0,a.useEffect)(()=>{let e=window?.location?.hash.toLowerCase(),t=e?.includes("#")?e?.split("#")?.[1]?.split("/")?.[0]:e?.split("/")?.[0],a="#fineprint"===e&&(0,U.isFinePrintPaywalled)(eX)?"paywall":t,i=document?.querySelector(`[id^="${a}"]`);if(i){let e=new ResizeObserver(e=>{for(let t of e)t?.target===i&&tf(i)});e?.observe(i),setTimeout(()=>{tf(i)},0)}},[]);let tp=ee,tm=(0,a.useContext)(D.default),{applicationHeaderData:tg,applicationConfiguration:tb}=(0,a.useContext)(D.default),t_=tm?.applicationConfiguration?.isPimProduct,ty=tb?.siteConfig?.content_protection_position??"top",[tx,tv]=(0,a.useState)(!1),[tA,tw]=(0,a.useState)(!1),[tE,tS]=(0,a.useState)(!1),[tC,tT]=(0,a.useState)(!1),[tN,tk]=(0,a.useState)(""),[tI,tj]=(0,a.useState)(!1),[tP,tL]=(0,a.useState)({}),[tO,tD]=(0,a.useState)([]),tM=0,tR=(0,i.useDispatch)(),tF=(0,a.useCallback)(e=>tR((0,V.addRatings)(e)),[tR]),tB=(0,i.useSelector)(e=>e?.ratings?.liveCount?.favourite),tU=(0,i.useSelector)(e=>e?.user?.profile?.response?.favourite),tH=(0,i.useSelector)(e=>e?.appSession?.applicationId),[t$,tG]=(0,a.useState)(!1),tW=tB?.filter(e=>parseInt(e.node_id)===Number(eF));tM=tW?.length>0?tW?.[0]?.count:0,(0,a.useMemo)(()=>{for(let e in tU)parseInt(tU[e].node_id)===Number(eF)&&tw(!0)},[tU]);let tY=e=>{tF({id:eF,state:e})},{fetchUserProfile:tz,fetchUserRatingsCount:tV}=(0,A.default)(),tK=async(e,t,a)=>{let i=await (0,M.middlewarePostAPI)(R.config?.onPrem?.RATINGS_API_URL,{entity_id:e,entity_type:"path_alias",flag_id:t,flag_action:a?"unflag":"flag"});if(ez({id:void 0}),!i.fail){let e=await tz(q.PROFILE_API.FULL);e?.fail?eK({}):(eV(e),tq())}},tq=async()=>{let e=await tV();e.fail||eq(e.response)};(0,a.useEffect)(()=>{eW?.ratings&&eW?.ratings?.id&&(eY&&eY.isLoggedIn?tK(eW.ratings?.id,eW.ratings?.state?.type,eW.ratings?.state?.isChecked):(0,U.checkForLoginModal)(!0).then(e=>{e&&tv(!0)}))},[eW,eY]),(0,a.useEffect)(()=>{tq(),eQ?.length&&!eY?.isLoggedIn&&e?.updatePaywallContent(!0),Array.isArray(eD)&&eD?.length&&tD(eD?.map(e=>{let t={...e};if(e?.legal_popup?.length===1){let a=(t9?.split("/")).filter(e=>ae!==e).join("/"),i=e?.url?.includes(a),r=e?.legal_popup?.[0];"internal"===r&&i?(tL(ts),t={...t,showPopup:!0,isInternal:!0,isExternal:!1}):"external"!==r||i||(tL(tl),t={...t,showPopup:!0,isInternal:!1,isExternal:!0})}return t}))},[]),(0,a.useEffect)(()=>{eZ?.length||eY?.isLoggedIn||e.updatePaywallContent(!0)},[]);let tQ=e=>{eF&&(eY.isLoggedIn?tK(eF,e?.type,e.isChecked):tv(!0))},tZ=tg?.headerData?.loginFormData,tX={showPopup:tx,showOverlay:tx,children:"",spinnerIcon:(0,U.getAssetPrefixUrl)("/assets/icons/spinner.svg"),closeIcon:{url:(0,U.getAssetPrefixUrl)("/assets/icons/close.svg"),altText:"close icon"},handlePopupShow:tv},tJ={banner:{heading:"New Customer",content:"<p>Relationships matter.</p><p>We are happy to connect with you</p>",buttonLabel:"Sign up",link:"#",linkExternal:!0},articleBannerImage:{desktopImage:{src:(0,U.getAssetPrefixUrl)("/assets/images/Desktop_Quiz_Article_Teaser_Image.jpg"),alt:"Sandoz Logo Desktop",width:1440,height:800},mobileImage:{src:(0,U.getAssetPrefixUrl)("/assets/images/Sandoz_Images/Article Teaser (Quiz)/Mobile_Quiz_Article_Teaser_Image.jpg"),alt:"Sandoz Logo Mobile",width:390,height:280}}},t0=()=>{tv(!1)},t1=()=>{tv(!1)},t2=JSON.stringify(Array.from(new Set(eQ))).replace(/[^.,a-zA-Z0-9]/g," "),t3=e=>Array.isArray(e)?e?.every(e=>
82e?.description?.every(e=>e?.error_code===410)):e?.rowsvalues?.every(e=>e?.every(e=>e?.value==="")),t4=()=>(0,t.jsx)(t.Fragment,{children:t3(ep)?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(N.TableWithScroll,{...ep,tableHeaderClass:"productFamilyCardContent-table-col",tableColumnClass:"productFamilyCardContent-table-td"})}),t6=(e,t)=>e?.every(e=>e?.[t]===null),[t5,t8]=(0,a.useState)(null),{feDomain:t7,apiDomain:t9,lang:ae}=(0,M.getApiDomainAndLang)();(0,a.useMemo)(async()=>{t8(await (0,x.default)(tb))},[e4]);let at=async e=>{e?.preventDefault(),tS(!0);let t={username:e.target?.elements?.email?.value,password:e.target?.elements?.password?.value},a=await (0,M.middlewarePostAPI)(R.config?.onPrem?.LOGIN_API_URL,t);if(a.fail)e7(a),tT(!0);else{tT(!1);let{clientId:e,...t}=td,i={...t,interactionName:F.EVENTS.LOGIN,sessionStartDate:sessionStorage.getItem("loginDate")??new Date().toISOString(),eventType:F.EVENTS.LOGIN};(0,B.dataLayerPush)(F.EVENTS.LOGIN,i),e6({...a,loginType:y.LOGIN_TYPES.SOLAR}),e8(!0,y.LOGIN_TYPES.SOLAR);let r=a?.response?.session_data?.csrf_token,n=a?.response?.session_data?.hashedSessionId;e5(n,r);let s="SoLAR",l=!!location.hostname.includes("localhost"),o=(0,U.getAssetPrefixUrl)(`/api/data-provider/?id=user&appid=${tH}`,l),c=await fetch(o,{headers:{sessionId:G.AES.encrypt(n,s).toString(),csrfToken:G.AES.encrypt(r,s).toString(),domainPath:(0,$.getApplicationPathFromURL)(),fedomain:t7}});await c.json();let d=await tz(q.PROFILE_API.BASIC);d?.fail||eV(d),W.default.reload()}tS(!1)},aa=y.ENABLE_DISABLE_VALUE[tn],ai=()=>{tj(!1)},ar=()=>{window.open(tN,y.URL_TARGET.BLANK,"noopener,noreferrer"),ai()},an=e=>{tk(e?.url),tj(!0)},as=e=>Array.isArray(e)?e?.filter(e=>{try{if(!e||"object"!=typeof e)return!1;let t=e?.description;if(null==t)return!1;return!(0,H.isPaywallProtected)(t)?.isPaywallProtectedFlag}catch(e){return console.error("Error processing item:",e),!1}}):[],al=()=>{eY?.user?.response?.session_data?.user_data?.current_user?.name;let{Region:e,user_id:t,...a}=td,i={...a,eventType:F.EVENTS.WEBSITE_ITEM,interactionName:F.EVENTS.WEBSITE_ITEM,event_name:"website_product_views",product_id:e2,product_name:X,product_category:Z};(0,U.loadGTMPageView)().then(e=>{(0,B.dataLayerPush)(F.EVENTS.WEBSITE_ITEM,i)}),tG(!0)};return(0,a.useEffect)(()=>{let e;return t$||(e=setTimeout(()=>{al()},3500)),()=>clearTimeout(e)},[t$,tc]),(0,t.jsxs)("div",{children:[e?.metaTags&&(0,t.jsx)(_.ProductSeo,{...e?.metaTags}),e4?t5?(0,t.jsx)(L.Paywall,{onSubmit:at,form:tZ,showCredentialsError:t5?.showCredentialsError,wrongCredentialsText:t5?.wrongCredentialsText,publicTeaserType:t5?.publicTeaserType,specificDescriptionText:t5?.specificDescriptionText,descriptionText:t5?.descriptionText,loginBlock:t5?.loginBlock,registerBlock:t5?.registerBlock}):(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)(t.Fragment,{children:[tI?(0,t.jsx)(j.ExternalLinkModal,{...tP,onClose:ai,onAction:ar,className:"disclaimer-popup"}):(0,t.jsx)(t.Fragment,{}),!eY?.isLoggedIn&&("top"===ty||"both"===ty)&&eQ&&eQ?.length>0&&(0,t.jsx)(t.Fragment,{children:tm?.applicationConfiguration?.paywallNotice&&(0,t.jsx)(o.Container,{id:"paywall",children:(0,t.jsx)(p.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(O.PaywallNotification,{paywallNotice:tm?.applicationConfiguration?.paywallNotice,roles:t2,loginHandler:()=>tv(!0)})})})}),(0,t.jsxs)(o.Container,{narrow:!0,children:[Y&&(0,t.jsxs)(p.Row,{className:"product-detail",children:[(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsx)(I.CarouselWrapper,{slideToShow:1,slideToShowTablet:1,className:"product-detail-images",children:Array.isArray(Y)&&Y?.map((e,a)=>(0,t.jsx)(h.Img,{type:"pdp",styledimage:e?.src&&t_?null:e?.styledimage??e?.image_style_uri,alt:e?.alt,src:e?.src,caption:t_?"":e?.caption,width:768,height:432,className:"product-detail-actual-image"},a))})}),te&&ti?(0,t.jsxs)("div",{className:"product-detail-image-link",children:[(0,t.jsx)("h5",{children:`${ti}\xa0`}),(0,t.jsx)(r.Anchor,{href:`/product-info/?id=${e2}&attr=p-img`,className:"product-detail-image-link-style",tabindex:0,isExternal:!0,children:te})]}):(0,t.jsx)(t.Fragment,{})]}),(0,t.jsxs)(p.Row,{children:[(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"product-detail-meta",children:[(0,t.jsxs)(p.Row,{children:[(0,t.jsx)(l.Column,{desktop:8,tablet:8,mobile:8,className:"product-detail-meta",children:Z&&(0,t.jsx)("div",{className:"product-detail-taxonomy",children:(0,t.jsx)(b.Taxonomy,{itemsToDisplay:2,taxonomies:e?.pdTagsTaxonomies})})}),t_?(0,t.jsxs)(l.Column,{desktop:4,tablet:4,mobile:4,className:"material-teaser-card-content-icon-container",children:[eR&&(0,t.jsx)("div",{className:"event-card-vertical-content-icon",children:(0,t.jsx)(E.BookmarkWithButton,{id:eF,...eR,bookmarkCallback:tQ})}),(0,t.jsx)("div",{className:"event-card-vertical-content-icon",children:(0,t.jsx)("div",{className:"material-teaser-card-content-favorite-section",children:(0,t.jsx)("span",{className:"favorite-icon",children:tm?.applicationConfiguration?.isFavouriteEnabled&&(0,t.jsx)(c.FavoriteIcon,{id:eF,totalFavoriteCount:tM,favouriteStatus:tA,favoriteHandlerCallback:tY})})})})]}):(0,t.jsx)(t.Fragment,{})]}),t_&&eB?(0,t.jsx)("h4",{className:"product-detail-manager",children:eB}
82):(0,t.jsx)(t.Fragment,{})]}),(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"product-detail-meta",children:[X&&(0,t.jsx)("h1",{className:"product-detail-title",tabIndex:0,children:X}),t_?(0,t.jsx)(t.Fragment,{children:en?.length>0&&en?.map((e,a)=>(0,t.jsxs)("div",{className:"product-detail-ingredient-group",children:[tu(e?.title)&&tu(e?.description)&&(0,t.jsxs)("h3",{className:`product-detail-active-ingredient ${e.full_row_display?"product-detail-ingredient-full":""}`,tabIndex:0,children:[tu(e.title),": "," "]}),e?.description&&(0,t.jsx)("h3",{className:"product-detail-active-ingredient-desc",tabIndex:0,children:(0,t.jsx)(f.RichText,{className:"product-detail-active-ingredient-desc",content:tu(e.description)})})]},a))}):(0,t.jsx)(t.Fragment,{}),t_&&(!en||en?.length==0)&&eG&&e$?(0,t.jsxs)("h3",{className:"product-detail-active-ingredient",tabIndex:0,children:[eG,": "]}):(0,t.jsx)(t.Fragment,{}),t_&&(!en||en?.length==0)&&e$?(0,t.jsx)("h3",{className:"product-detail-active-ingredient-desc",tabIndex:0,children:(0,t.jsx)(f.RichText,{className:"product-detail-active-ingredient-desc",content:e$})}):(0,t.jsx)(t.Fragment,{}),tp&&(0,t.jsx)("div",{className:"product-detail-desc",tabIndex:0,children:(0,t.jsx)(f.RichText,{content:tp})})]})]})]}),(0,t.jsx)(o.Container,{className:"product-detail-specification-data",narrow:!0,children:(0,t.jsxs)(p.Row,{children:[J&&(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-meta",children:(0,t.jsx)("div",{className:"product-detail-icontags",children:J?.map((e,a)=>(0,t.jsx)(u.IconTag,{...e},a))})}),z&&z?.length>0?(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-tablet-image",children:[K?(0,t.jsx)("h2",{className:"product-detail-prod-info-title",tabIndex:0,children:K}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(T.ImageGrid,{imageData:z,disableStyledImg:!0,disableCaption:!0,gridType:"grid"}),(0,t.jsxs)("div",{className:"product-detail-tablet-link",children:[tr&&(0,t.jsx)("h5",{children:`${tr}`}),tt&&(0,t.jsx)(r.Anchor,{href:`/product-info/?id=${e2}&attr=t-img`,className:"product-detail-tablet-link-style",tabindex:0,isExternal:!0,children:tt})]})]}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-overview-title",children:ev?(0,t.jsx)("h2",{className:"product-detail-header",children:ev}):(0,t.jsx)(t.Fragment,{})}),eA?.records&&eA?.records?.length>0?(0,t.jsxs)(l.Column,{desktop:6,tablet:6,mobile:12,className:"pdp-col product-detail-overview-sandoz",children:[eA?.label&&(0,t.jsx)("h3",{className:"product-detail-overview-sandoz-title",children:eA?.label}),(0,t.jsx)("div",{className:"product-detail-overview-sandoz-spec",children:eA?.records.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:e?.question,description:e?.answer},a))})]}):(0,t.jsx)(t.Fragment,{}),ew?.records&&ew?.records?.length>0?(0,t.jsxs)(l.Column,{desktop:6,tablet:6,mobile:12,className:"pdp-col product-detail-overview-org",children:[ew?.label&&(0,t.jsx)("h3",{className:"product-detail-overview-sandoz-title",children:ew?.label}),(0,t.jsx)("div",{className:"product-detail-overview-org-spec",children:ew?.records.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:e?.question,description:e?.answer},a))})]}):(0,t.jsx)(t.Fragment,{}),eA?.records&&eA?.records?.length>0||ew?.records&&ew?.records?.length>0||ev?(0,t.jsx)(m.Seperator,{}):(0,t.jsx)(t.Fragment,{}),ea?.length>0?(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-prod-info",children:[as(ea)?.length>0&&et?(0,t.jsx)("h2",{className:"product-detail-prod-info-title",tabIndex:0,children:et}):(0,t.jsx)(t.Fragment,{}),ea?.length>0?(0,t.jsx)("div",{className:"product-detail-prod-info-tax",children:ea?.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:tu(e?.title),description:tu(e?.description),full_row_display:e?.full_row_display,format:e?.format},a))}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsx)(t.Fragment,{}),er?.length>0&&!t6(er,"description")?(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-pack-info",children:[as(er)?.length>0&&ei?(0,t.jsx)("h2",{className:"product-detail-pack-info-title",tabIndex:0,children:ei}):(0,t.jsx)(t.Fragment,{}),er?.length>0?(0,t.jsx)("div",{className:"product-detail-pack-info-tax",children:er?.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:tu(e?.title),description:tu(e?.description),full_row_display:e?.full_row_display,format:e?.format},a))}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsx)(t.Fragment,{}),ec?.length>0?(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-stor-info",children:[eo&&(0,t.jsx)("h2",{className:"product-detail-prod-stor-title",children:eo}),ec?.length>0?(0,t.jsx)("div",{className:"product-detail-prod-stor-tax",children:ec?.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:tu(e?.title),description:tu(e?.description),full_row_display:e?.full_row_display,format:e?.format},a))}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsx)(t.Fragment,{}),el?.length>0?(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-buy-info",children:[es&&(0,t.jsx)("h2",{className:"product-detail-prod-buy-title",children:es}),el?.length>0?(0,t.jsx)("div",{className:"product-detail-prod-buy-tax",children:el?.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:tu(e?.title),description:tu(e?.description),full_row_display:e?.full_row_display,format:e?.format},a))}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsx)(t.Fragment,{}),eu?.length>0?(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-wholesale-info",children:[ed&&(0,t.jsx)("h2",{className:"product-detail-prod-wholesale-title",children:ed}),eu?.length>0?(0,t.jsx)("div",{className:"product-detail-prod-wholesale-tax",children:eu?.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:tu(e?.title),description:tu(e?.description),full_row_display:e?.full_row_display,format:e?.format},a))}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsx)(t.Fragment,{}),eh&&(0,t.jsx)(t.Fragment,{children:eh.map((e,a)=>(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col pim-product-detail-prod-info",children:[e?.group&&e?.groupvalues&&(0,t.jsx)("h2",{className:"product-detail-prod-info-title",tabIndex:0,children:e?.group}),e?.groupvalues?.length>0?(0,t.jsx)("div",{className:"product-detail-prod-info-tax pim-info",children:e?.groupvalues?.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:tu(e?.title),description:tu(e?.description),full_row_display:e?.full_row_display,format:e?.format},a))}):(0,t.jsx)(t.Fragment,{})]},a))})]})}),t_&&e0?.length>0&&(0,t.jsxs)(o.Container,{className:"product-detail-codes",narrow:!0,children:[(0,t.jsx)("hr",{}),(0,t.jsx)(p.Row,{children:(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-codes-bar",children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Seperator,{}),e0?.map((e,a)=>(0,t.jsx)(l.Column,{desktop:4,tablet:4,mobile:4,children:(0,t.jsx)(w.BarcodeCollection,{...e,isPimProduct:!0},a)},a))]})})})]}),t_&&e1?.length>0&&(0,t.jsx)("div",{className:"bg-grey product-detail-image-gallery",children:(0,t.jsx)(o.Container,{className:"product-detail-image-gallery-wrapper",children:(0,t.jsx)(p.Row,{children:(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsx)(T.ImageGrid,{imageData:e1,gridType:th(e1),isPimProduct:!0})})})})}),!t_&&ef&&(0,t.jsx)("div",{className:"bg-grey product-detail-image-gallery",children:(0,t.jsx)(o.Container,{className:"product-detail-image-gallery-wrapper",children:(0,t.jsx)(p.Row,{children:(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsx)(T.ImageGrid,{imageData:ef,gridType:th(ef)})})})})}),eg&&eg?.records?.length>0||ex&&ex?.length>0?(0,t.jsx)(o.Container,{className:"product-detail-codes",narrow:!0,children:(0,t.jsxs)(p.Row,{children:[eg&&eg?.records?.length>0?(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-codes-various",children:[eg?.label&&(0,t.jsx)("h3",{className:"product-detail-various-code-title",children:eg?.label}),(0,t.jsx)("div",{className:"product-detail-overview-org-spec",children:eg?.records.map((e,a)=>(0,t.jsx)(g.SpecificationItem,{title:e?.question,description:e?.answer},a))})]}):(0,t.jsx)(t.Fragment,{}),ex&&ex?.length>0?(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-codes-bar",children:ex?.map((e,a)=>(0,t.jsx)(w.BarcodeCollection,{...e},a))}):(0,t.jsx)(t.Fragment,{})]})}):(0,t.jsx)(t.Fragment,{}),y.ENABLE_DISABLE_VALUE[eJ]&&(0,t.jsx)(o.Container,{children:(0,t.jsx)("div",{className:"scrollable-content product-detail-table",children:ep?t4():(0,t.jsx)(t.Fragment,{})})}),eb&&eb?.records?.length>0?(0,t.jsx)("div",{className:"bg-grey product-detail-cta-collections",children:(0,t.jsx)(o.Container,{id:`attachid_${eF}`,className:"product-detail-cta-wrapper",narrow:!0,children:(0,t.jsx)(p.Row,{children:(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-action-area",children:[(0,t.jsx)("h3",{className:"product-detail-cta-collections-label",children:eb?.materialButtonsHeading}),(0,t.jsx)(S.ButtonGroup,{children:eb?.records?.map((e,a)=>(0,t.jsx)(n.AnchorButton,{tabindex:1,href:e?.uri,isExternal:e?.options?.attributes?.target!=="_self",icon:e?.options?.attributes?.target==="_self"?(0,t.jsx)(d.Icon,{iconName:"DownloadIcon"}):(0,t.jsx)(d.Icon,{iconName:"ArrowAngledIconLeft"}),className:"product-detail-cta",download:e?.options?.attributes?.target==="_self",isSecondary:!0,children:e?.title},a))})]})})})}):(0,t.jsx)(t.Fragment,{}),tO&&tO?.length>0?(0,t.jsx)("div",{className:"bg-grey product-detail-cta-collections",children:(0,t.jsx)(o.Container,{id:`attachid_${eF}`,className:"product-detail-cta-wrapper",narrow:!0,children:(0,t.jsx)(p.Row,{children:(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-action-area",children:[eM&&(0,t.jsx)("h5",{className:"product-detail-cta-collections-label",children:eM}),(0,t.jsx)(S.ButtonGroup,{children:tO?.map((e,a)=>e?.url?e?.showPopup?(0,t.jsx)(s.Button,{className:"product-detail-cta",tabindex:0,type:"button",onClick:()=>an(e),icon:(0,t.jsx)(d.Icon,{iconName:"DownloadIcon"}),isSecondary:!0,children:e?.label},a):(0,t.jsx)(n.AnchorButton,{tabindex:1,href:e?.url,icon:e?.symbol==="external-link"?(0,t.jsx)(d.Icon,{iconName:"ArrowAngledIconLeft"}):(0,t.jsx)(d.Icon,{iconName:"DownloadIcon"}),className:"product-detail-cta",download:e?.symbol!=="external-link"||!!e?.url?.endsWith(".pdf"),isExternal:!!aa,isSecondary:!0,target:aa?"_blank":"_self",children:e?.label},a):(0,t.jsx)(t.Fragment,{}))})]})})})}):(0,t.jsx)(t.Fragment,{}),ey?.value||e_?(0,t.jsx)(o.Container,{className:"product-detail-foot-info",narrow:!0,children:(0,t.jsxs)(p.Row,{children:[e_&&e_?.value?.value?(0,t.jsxs)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-latest-news",children:[e_?.label?(0,t.jsx)("h3",{className:"product-detail-latest-news-title",children:e_?.label}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(C.ContentWithScroll,{content:e_?.value?.value})]}):(0,t.jsx)(t.Fragment,{}),ey?.value?(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-notes",children:(0,t.jsx)(k.TextBlock,{className:"product-detail-notes-content",paragraph:ey?.value,alignment:"left",finePrint:!0})}):(0,t.jsx)(t.Fragment,{})]})}):(0,t.jsx)(t.Fragment,{}),eE||eN||ej?(0,t.jsx)(o.Container,{className:"product-detail-cta-group",narrow:!0,children:(0,t.jsx)(p.Row,{children:(0,t.jsx)(l.Column,{desktop:12,tablet:12,mobile:12,className:"pdp-col product-detail-util-btns cta-print",children:(0,t.jsxs)(S.ButtonGroup,{children:[eE?(0,t.jsx)(n.AnchorButton,{tabindex:1,href:eE,isExternal:eC,icon:(0,t.jsx)(d.Icon,{iconName:"ArrowAngledIconLeft"}),className:"product-detail-cta",isSecondary:!0,children:eS}):(0,t.jsx)(t.Fragment,{}),eN?(0,t.jsx)(n.AnchorButton,{tabindex:2,href:eN,isExternal:ek,icon:(0,t.jsx)(d.Icon,{iconName:"PrintIcon"}),className:"product-detail-cta pdp-print",isSecondary:!0,children:eT}):(0,t.jsx)(t.Fragment,{}),ej?(0,t.jsx)(n.AnchorButton,{tabindex:3,href:ej,isExternal:eP,icon:(0,t.jsx)(d.Icon,{iconName:"DownloadIcon"}),className:"product-detail-cta pdp-download",isSecondary:!0,children:eI}
82):(0,t.jsx)(t.Fragment,{})]})})})}):(0,t.jsx)(t.Fragment,{}),eU||eH?(0,t.jsx)(o.Container,{children:(0,t.jsxs)(t.Fragment,{children:[eU&&(0,t.jsx)("h4",{className:"product-detail-fine-print-title",children:eU}),eH&&(0,t.jsx)("h4",{className:"product-detail-fine-print-desc",children:eH})]})}):(0,t.jsx)(t.Fragment,{}),!eY?.isLoggedIn&&("bottom"===ty||"both"===ty)&&eQ&&eQ.length>0&&(0,t.jsx)(t.Fragment,{children:tm?.applicationConfiguration?.paywallNotice&&(0,t.jsx)(o.Container,{children:(0,t.jsx)(p.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(O.PaywallNotification,{paywallNotice:tm?.applicationConfiguration?.paywallNotice,roles:t2,loginHandler:()=>tv(!0)})})})}),eX&&eX?.length>0&&!(0,U.isFinePrintPaywalled)(eX)&&(0,t.jsx)(o.Container,{id:eO?`${eO}_${eF}`:`fineprint_${eF}`,children:(0,t.jsx)(p.Row,{isTemplateWrapper:!0,className:"pdp-col product-detail-fine-print",children:eX?.map((e,a)=>(0,t.jsx)(t.Fragment,{children:e?.title||e?.description?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"product-detail-product-fine-print",children:[e?.title?(0,t.jsx)(f.RichText,{className:"product-detail-fine-print-title",content:tu(e.title)}):(0,t.jsx)(t.Fragment,{}),e?.description?(0,t.jsx)(f.RichText,{className:"product-detail-fine-print-desc",content:tu(e.description)}):(0,t.jsx)(t.Fragment,{})]},a),(tu(e.title)||tu(e.description))&&e?.id.split("_")?.[1]==="hcp"&&e3?(0,t.jsx)(r.Anchor,{href:`/product-info/?id=${e2}&attr=b-hcp${!0===to?"&display=family":""}`,className:"product-detail-basis-link-style",tabindex:0,isExternal:!0,children:(0,t.jsx)("h4",{className:"legacy-basis-text",children:e3})}):(0,t.jsx)(t.Fragment,{}),(tu(e.title)||tu(e.description))&&e?.id.split("_")?.[1]==="otc"&&ta?(0,t.jsx)(r.Anchor,{href:`/product-info/?id=${e2}&attr=b-otc${!0===to?"&display=family":""}`,className:"product-detail-basis-link-style",tabindex:0,isExternal:!0,children:(0,t.jsx)("h4",{className:"legacy-basis-text",children:ta})}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsx)(t.Fragment,{})}))})}),e9&&(0,t.jsx)("div",{className:"container product-detail-reference-text",children:(0,t.jsx)(f.RichText,{content:e9})}),(0,t.jsx)(P.LoginPopup,{popup:tX,form:tZ,bannerCTA:tJ,showPopup:tx,handlePopupShow:(e,t)=>{tv(e)},handleForgotPasswordShow:t0,loginConfirmation:t1})]})]})},X={setSession:(e,t)=>(0,K.setSession)(e,t),addUserData:e=>(0,Y.addUser)(e),resetUserData:e=>(0,Y.resetUser)(e),resetRatings:e=>(0,V.resetRatings)(e),setUserProfile:e=>(0,Y.setUserProfile)(e),resetUserAndProfile:e=>(0,Y.resetUser)(e),updateRatingsCount:e=>(0,V.getRatingsCount)(e),updatePaywallContent:e=>(0,z.updatePaywallContent)(e),setUserStateGlobally:(e,t)=>(0,z.setUserStateGlobally)(e,t)},J=e=>({user:e.user,ratings:e.ratings}),ee=(0,i.connect)(J,X)(Z)},88019,15752,e=>{"use strict";e.s(["default",()=>w],88019);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(41158);e.i(44314);var n=e.i(6858),s=e.i(22276),l=t,o=a,c=i;e.i(41871);var d=e.i(87612),u=e.i(82054),h=e.i(24005),f=e.i(96968);let p=e=>{let t,a,i,r,n,s,c=(0,o.c)(14),{isSelected:d,label:u,isDisabled:h,isFocused:p}=e;c[0]===Symbol.for("react.memo_cache_sentinel")?(t={display:"flex",alignItems:"center",gap:8},c[0]=t):t=c[0];let m=d||p,g="string"==typeof u?u:void 0;return c[1]===Symbol.for("react.memo_cache_sentinel")?(a={margin:0,width:18,height:18,cursor:"pointer",accentColor:"#2563eb",borderRadius:4,flexShrink:0},c[1]=a):a=c[1],c[2]!==m||c[3]!==g?(i=(0,l.jsx)("input",{type:"checkbox",checked:m,readOnly:!0,tabIndex:-1,"aria-label":g,style:a}),c[2]=m,c[3]=g,c[4]=i):i=c[4],c[5]!==u?(r=(0,l.jsx)("span",{children:u}),c[5]=u,c[6]=r):r=c[6],c[7]!==h||c[8]!==i||c[9]!==r?(n=(0,l.jsxs)("div",{style:t,"aria-disabled":h,children:[i,r]}),c[7]=h,c[8]=i,c[9]=r,c[10]=n):n=c[10],c[11]!==e||c[12]!==n?(s=(0,l.jsx)(f.components.Option,{...e,children:n}),c[11]=e,c[12]=n,c[13]=s):s=c[13],s};function m(e="Select All",t="Clear",a=!1){return function(i){let{children:r,selectProps:n}=i,s=n.options??[],o=n.value??[],c=s.filter(e=>!e.disabled),d=c.length>0&&c.every(e=>o?.some(t=>t.value===e.value));o&&o.length;let u=()=>{d?n.onChange?.([],{action:"deselect-option"}):n.onChange?.(c,{action:"select-option"})};return(0,l.jsxs)(f.components.MenuList,{...i,children:[a&&(0,l.jsx)("div",{style:{display:"flex",justifyContent:"space-between",padding:"6px 8px",borderBottom:"1px solid var(--ms-border, #e5e7eb)",position:"sticky",top:0,background:"var(--ms-bg, #fff)",zIndex:1},children:(0,l.jsx)("button",{type:"button",onClick:u,style:{fontSize:12,padding:"4px 8px",borderRadius:4,border:"1px solid var(--ms-border, #d1d5db)",background:"#fff",cursor:"pointer"},children:d?t:e})}),r]})}}let g={control:(e,t)=>({...e,minHeight:48,borderRadius:4,borderColor:t.isFocused?"#2684FF":"#d1d5db",boxShadow:"none",cursor:"pointer","&:hover":{borderColor:"#9ca3af"}}),valueContainer:e=>({...e,display:"flex",flexWrap:"nowrap",alignItems:"center",overflow:"hidden",
82whiteSpace:"nowrap",padding:"2px 8px",gap:0}),placeholder:e=>({...e,fontSize:"18px",color:"#6b7280"}),input:e=>({...e,margin:0,padding:0,width:2,minWidth:2}),container:e=>({...e,width:"100%"}),singleValue:e=>({...e,fontSize:"18px",color:"#6b7280"}),multiValue:e=>({...e,backgroundColor:"transparent",margin:0,maxWidth:"100%"}),multiValueRemove:e=>({...e,display:"none",":hover":{backgroundColor:"transparent",color:"#111827"}}),menu:e=>({...e,zIndex:9999,borderRadius:4,overflow:"hidden",marginTop:4}),menuList:e=>({...e,paddingTop:0,paddingBottom:0}),option:(e,t)=>({...e,display:"flex",alignItems:"center",fontSize:"18px",fontWeight:400,padding:"10px 12px",minHeight:"50px",backgroundColor:t.isSelected?"transparent":t.isFocused?"#1C59B5":"transparent",color:t.isFocused&&!t.isSelected?"#fff":"#111827",cursor:t.isDisabled?"not-allowed":"pointer",borderBottom:"1px solid #e5e7eb",":active":{backgroundColor:"#e5e7eb"}}),indicatorSeparator:()=>({display:"none"}),dropdownIndicator:e=>({...e,color:"#6b7280",":hover":{color:"#374151"}}),clearIndicator:()=>({display:"none"})},b=e=>{let t,a,i,r,n,s,d,u,h,p,m=(0,o.c)(21),{children:g}=e;m[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],m[0]=t):t=m[0];let b=t,_=null;if(Array.isArray(g)){let[e,t]=g;if(Array.isArray(e))b=e;else if(c.default.isValidElement(e)){let t;m[1]!==e?(t=[e],m[1]=e,m[2]=t):t=m[2],b=t}_=t}m[3]!==b?(a=b.slice(0,1),m[3]=b,m[4]=a):a=m[4];let y=a,x=Math.max(0,b.length-1);return m[5]===Symbol.for("react.memo_cache_sentinel")?(i={display:"flex",alignItems:"center",flexWrap:"nowrap",overflow:"hidden",width:"100%",minWidth:0},r={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,display:"flex",alignItems:"center",flexShrink:1},m[5]=i,m[6]=r):(i=m[5],r=m[6]),m[7]!==y?(n=(0,l.jsx)("div",{style:r,children:y}),m[7]=y,m[8]=n):n=m[8],m[9]!==x?(s=x>0&&(0,l.jsxs)("div",{style:{marginLeft:4,whiteSpace:"nowrap",flexShrink:0,fontSize:18},children:["...(",x,")"]}),m[9]=x,m[10]=s):s=m[10],m[11]===Symbol.for("react.memo_cache_sentinel")?(d={width:2,minWidth:2,flexShrink:0},m[11]=d):d=m[11],m[12]!==_?(u=(0,l.jsx)("div",{style:d,children:_}),m[12]=_,m[13]=u):u=m[13],m[14]!==n||m[15]!==s||m[16]!==u?(h=(0,l.jsxs)("div",{style:i,children:[n,s,u]}),m[14]=n,m[15]=s,m[16]=u,m[17]=h):h=m[17],m[18]!==e||m[19]!==h?(p=(0,l.jsx)(f.components.ValueContainer,{...e,children:h}),m[18]=e,m[19]=h,m[20]=p):p=m[20],p},_=({options:e,isMulti:t,isCleared:a,simpleDropDownLabel:i,placeHolder:r,onValueChange:n,isDisabled:s,intialValue:o=[],showPlaceholder:f,ariaLabel:_,shouldToggleOnHover:y=!0,showValueWithPlaceholder:x=!1,...v})=>{let[A,w]=(0,c.useState)(o),{applicationConfiguration:E}=(0,c.useContext)(u.default),S=E?.siteConfig?.webstore_list_filters_placeholder_text,C=(0,c.useRef)(!0),T=(0,d.useMediaQuery)("(max-width: 991px)");(0,c.useEffect)(()=>{C.current?C.current=!1:T||w(o),T&&w(o)},[o,A]);let N=e=>{if(t)w(e),n?.(e);else{let t=[...A],a=t.length>0?e.filter(e=>e.value!==t[0].value):[...e];w(a),n?.(a)}};(0,c.useEffect)(()=>{w([])},[a]);let k=!0,I="Select...",j={control:e=>({...e,minHeight:40}),valueContainer:e=>({...e,overflow:"hidden"})},P=A?.length??0,L=k&&P>0?`${P} selected`:r||I,O={...g,multiValue:e=>({...e,borderRadius:9999,backgroundColor:"transparent",boxShadow:"none"}),multiValueLabel:e=>({...e,fontSize:"18px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"220px",padding:0}),multiValueRemove:e=>({...e,display:t?"flex":"none"}),...j??{}};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{id:_??"input_select","aria-hidden":"true",className:"item-renderer-hidden-label",children:(0,l.jsx)("p",{children:i||f?r:S})}),(0,l.jsx)(h.default,{className:"basic-single select__control dropdown-content",classNamePrefix:"select",isMulti:!0,isDisabled:s,options:e,value:A,onChange:e=>N(e),placeholder:L,getOptionValue:e=>e.value,getOptionLabel:e=>e.label,isOptionDisabled:e=>!!e.disabled,closeMenuOnSelect:!t,hideSelectedOptions:!1,menuPosition:"fixed",menuPortalTarget:"u">typeof document?document.body:void 0,components:{Option:p,MenuList:m("Select All","Clear All",t),ValueContainer:b,MultiValueRemove:()=>null,ClearIndicator:()=>null},styles:O})]})};e.s(["default",0,_],15752);var y=e.i(87882),x=e.i(81352),v=e.i(79988);e.i(48756);var A=e.i(17626);let w=e=>{let l,o,c,d,u,h,f,p,m,g=(0,a.c)(45),{quantityOptions:b,quantityLabels:w,isProductInCart:S,handleAddToCart:C,handleLogin:T,isDetailPage:N,selectedQty:k,noLoginRequired:I,downloadDetails:j,isfieldQuantityAvailable:P,fieldEnableQuantityAndAddTo:L}=e,O=void 0!==S&&S,D=void 0!==N&&N;g[0]===Symbol.for("react.memo_cache_sentinel")?(l=[],g[0]=l):l=g[0];let[M,R]=(0,i.useState)(l),[F,B]=(0,i.useState)(""),[U,H]=(0,i.useState)(!1),[$,G]=(0,i.useState)(""),[W,Y]=(0,i.useState)(""),[z,V]=(0,i.useState)("/");g[1]===Symbol.for("react.memo_cache_sentinel")?(o=e=>{H(!1),R(e),B("")},g[1]=o):o=g[1];let K=o,q=()=>{if(Q&&Q.isLoggedIn){if(!M?.length)return void B(w.quantityErrorMessage);C(Number(M?.[0]?.value)),H(!0)}else if(I){if(!M?.length)return void B(w.quantityErrorMessage);C(Number(M?.[0]?.value)),H(!0)}else M?.length&&C(Number(M?.[0]?.value),!0),T&&T()}
82,Q=(0,s.useSelector)(E);g[2]!==w.addedToCartText?(c=()=>{let e=n.load(w.addedToCartText),t=e("p")?.text()??"",a=e("a"),i=a?.[0]?.attribs?.href??"/";Y(t),G(a?.text()??""),V(i)},g[2]=w.addedToCartText,g[3]=c):c=g[3],g[4]===Symbol.for("react.memo_cache_sentinel")?(d=[],g[4]=d):d=g[4],(0,i.useEffect)(c,d),g[5]!==D||g[6]!==k?(u=()=>{if(D){let e={label:k?.toString(),value:k?.toString()};R(k?[e]:[])}},g[5]=D,g[6]=k,g[7]=u):u=g[7],g[8]!==k?(h=[k],g[8]=k,g[9]=h):h=g[9],(0,i.useEffect)(u,h),g[10]!==$||g[11]!==z||g[12]!==w.addedToCartText||g[13]!==W?(f=()=>{let e=""!==$?W?.split($):[];return 2===e.length?(0,t.jsxs)("span",{className:"success-msg",children:[(0,t.jsx)("span",{children:`${e[0]} `}),(0,t.jsx)(r.default,{className:"success-msg-link",href:z,legacyBehavior:!0,children:$}),e[1]&&(0,t.jsx)("span",{children:`${e[1]}`})]}):(0,t.jsx)(x.default,{className:"success-msg",content:w.addedToCartText})},g[10]=$,g[11]=z,g[12]=w.addedToCartText,g[13]=W,g[14]=f):f=g[14];let Z=f;g[15]!==j?.downloadEnabled||g[16]!==j?.downloadLabel||g[17]!==j?.downloadUrl||g[18]!==j?.enableDownloadAnonymous||g[19]!==Q?(p=()=>{if(j?.downloadUrl&&(j?.enableDownloadAnonymous===1&&j?.downloadEnabled||j?.downloadEnabled&&Q&&Q?.isLoggedIn))return(0,t.jsx)(A.AnchorButton,{className:"download-cta",href:j?.downloadUrl,isExternal:!0,tabindex:0,isSecondary:!0,download:!0,children:j?.downloadLabel})},g[15]=j?.downloadEnabled,g[16]=j?.downloadLabel,g[17]=j?.downloadUrl,g[18]=j?.enableDownloadAnonymous,g[19]=Q,g[20]=p):p=g[20];let X=p;if(D&&Q&&Q.isLoggedIn||!D||I){let e,a,i,r;return g[21]!==F||g[22]!==L||g[23]!==Z||g[24]!==U||g[25]!==D||g[26]!==O||g[27]!==P||g[28]!==q||g[29]!==M||g[30]!==w.addToCartLabel||g[31]!==w.outOfStock||g[32]!==w.quantityLabel||g[33]!==b?(e=P&&L?(0,t.jsxs)("div",{className:"added-to-cart-text out-of-stock",children:[(0,t.jsx)(v.default,{iconName:"errorIcon",width:20,height:20}),(0,t.jsx)(x.default,{className:"success-msg",content:w.outOfStock})]}):(0,t.jsxs)(t.Fragment,{children:[O&&!D?(0,t.jsxs)("div",{className:"added-to-cart-text",children:[(0,t.jsx)(v.default,{iconName:"SuccessIcon",width:20,height:20}),Z()]}):b.length>0&&(0,t.jsxs)("div",{className:"quantity-button-cart",children:[(0,t.jsx)(_,{ariaLabel:"product_quantity",options:b,name:"quantityLabel",isCleared:U,isMulti:!1,simpleDropDownLabel:!0,onValueChange:K,placeHolder:w.quantityLabel,shouldToggleOnHover:!1,showValueWithPlaceholder:!0,intialValue:M||[]}),(0,t.jsx)(y.default,{tabindex:0,isSecondary:!0,onClick:q,className:"add-to-cart-btn",children:w.addToCartLabel})]}),F&&(0,t.jsx)(x.default,{className:"quantity-error",content:F})]}),g[21]=F,g[22]=L,g[23]=Z,g[24]=U,g[25]=D,g[26]=O,g[27]=P,g[28]=q,g[29]=M,g[30]=w.addToCartLabel,g[31]=w.outOfStock,g[32]=w.quantityLabel,g[33]=b,g[34]=e):e=g[34],g[35]!==X?(a=X(),g[35]=X,g[36]=a):a=g[36],g[37]!==a?(i=(0,t.jsx)("div",{children:a}),g[37]=a,g[38]=i):i=g[38],g[39]!==e||g[40]!==i?(r=(0,t.jsxs)("div",{className:"quantity-button-cart-container",children:[e,i]}),g[39]=e,g[40]=i,g[41]=r):r=g[41],r}let J=w?.orderNowLabel;return g[42]!==T||g[43]!==J?(m=(0,t.jsx)("div",{className:"button-container",children:(0,t.jsx)(y.default,{className:"order-now-cta",tabindex:0,onClick:T,isSecondary:!0,children:J})}),g[42]=T,g[43]=J,g[44]=m):m=g[44],m};function E(e){return e.user}},13989,e=>{"use strict";e.s(["QuatityButtonCart",()=>t.default]);var t=e.i(88019)},28149,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576),i=e.i(3828);e.i(48756);var r=e.i(45861),n=e.i(49266),s=e.i(697),l=e.i(70184),o=e.i(5223);let c=e=>{let c,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E=(0,a.c)(43),S=(0,i.useRouter)(),{title:C,subTitle:T,description:N,detailUrl:k,type:I,productImgUrl:j,productStyledImgUrl:P,productAltText:L}=e;E[0]!==I?(c=()=>{let e=["shopcard-description"];return I&&e.push(`shopcard-description-${I}`),e.join(" ")},E[0]=I,E[1]=c):c=E[1];let O=c;E[2]!==k||E[3]!==S?(d=()=>{S.push(k)},E[2]=k,E[3]=S,E[4]=d):d=E[4];let D=d,M=O(),R=`image-order-material-${I}`;return E[5]!==k||E[6]!==L||E[7]!==j||E[8]!==P?(u=(P||j)&&(0,t.jsx)(r.Anchor,{href:k,tabindex:0,noUnderline:!0,className:"shopcard-description--image",title:"shopcard-description",children:(0,t.jsx)(l.Img,{type:"product_catalogue",styledimage:P,src:j??"",alt:L||"",height:366,width:366}
82)}),E[5]=k,E[6]=L,E[7]=j,E[8]=P,E[9]=u):u=E[9],E[10]!==R||E[11]!==u?(h=(0,t.jsx)("div",{className:R,children:u}),E[10]=R,E[11]=u,E[12]=h):h=E[12],E[13]!==k||E[14]!==j||E[15]!==P?(f=(P||j)&&(0,t.jsx)(r.Anchor,{href:k,tabindex:0,noUnderline:!0,className:"shopcard-description--head-image",children:(0,t.jsx)(l.Img,{type:"product_catalogue",styledimage:P,src:j??"",alt:"product-image",height:50,width:50})}),E[13]=k,E[14]=j,E[15]=P,E[16]=f):f=E[16],E[17]!==T?(p=T&&(0,t.jsx)("span",{className:"shopcard-description--subtitle",children:T}),E[17]=T,E[18]=p):p=E[18],E[19]!==C?(m=(0,t.jsx)("h4",{className:"shopcard-description--title",children:C}),E[19]=C,E[20]=m):m=E[20],E[21]!==k||E[22]!==m?(g=(0,t.jsx)(r.Anchor,{href:k,tabindex:0,noUnderline:!0,children:m}),E[21]=k,E[22]=m,E[23]=g):g=E[23],E[24]!==p||E[25]!==g?(b=(0,t.jsxs)("div",{className:"shopcard-description--container",children:[p,g]}),E[24]=p,E[25]=g,E[26]=b):b=E[26],E[27]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)(n.Icon,{iconName:"ArrowRightIcon"}),E[27]=_):_=E[27],E[28]!==D?(y=(0,t.jsx)("div",{className:"shopcard-description--button","aria-label":"shopcard button",children:(0,t.jsx)(s.IconButton,{tabindex:0,icon:_,"aria-label":"shopcard button",onClick:D,title:"shopcard button"})}),E[28]=D,E[29]=y):y=E[29],E[30]!==b||E[31]!==y||E[32]!==f?(x=(0,t.jsxs)("div",{className:"shopcard-description--head",children:[f,b,y]}),E[30]=b,E[31]=y,E[32]=f,E[33]=x):x=E[33],E[34]!==N?(v=N&&(0,t.jsx)(o.RichText,{className:"shopcard-description--desc",content:N}),E[34]=N,E[35]=v):v=E[35],E[36]!==x||E[37]!==v?(A=(0,t.jsxs)("div",{className:"shopcard-description--head-box",children:[x,v]}),E[36]=x,E[37]=v,E[38]=A):A=E[38],E[39]!==A||E[40]!==M||E[41]!==h?(w=(0,t.jsxs)("div",{className:M,children:[h,A]}),E[39]=A,E[40]=M,E[41]=h,E[42]=w):w=E[42],w}},38427,e=>{"use strict";e.s(["default",()=>c],38427);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(13989),n=e.i(28149),n=n,s=e.i(82054),l=e.i(91788),o=e.i(22276);let c=e=>{let c,u,h,f,p,m,g,b=(0,a.c)(37),{isProductInCart:_,productImgUrl:y,productStyledImgUrl:x,productAltText:v,detailLabels:A,quantityBtnProps:w,quantityLabels:E,viewType:S,addToCartEnabled:C,handleLoginTrigger:T,handleAddToCart:N,isfieldQuantityAvailable:k,fieldEnableQuantityAndAddTo:I}=e,[j,P]=(0,l.useState)(null),{applicationConfiguration:L}=(0,l.useContext)(s.default),O=(0,o.useSelector)(d),D=e?.enableDownloadAnonymous,M=e?.downloadEnabled,R=e?.downloadUrl,F=e?.downloadLabel;b[0]!==D||b[1]!==M||b[2]!==R||b[3]!==F?(c={enableDownloadAnonymous:D,downloadEnabled:M,downloadUrl:R,downloadLabel:F},b[0]=D,b[1]=M,b[2]=R,b[3]=F,b[4]=c):c=b[4];let B=c;b[5]!==L.siteConfig?(u=()=>{(()=>{P(L.siteConfig)})()},h=[L.siteConfig],b[5]=L.siteConfig,b[6]=u,b[7]=h):(u=b[6],h=b[7]),(0,l.useEffect)(u,h),b[8]!==B?.downloadUrl||b[9]!==e.downloadEnabled||b[10]!==e.downloadLabel||b[11]!==e.downloadUrl||b[12]!==e.enableDownloadAnonymous||b[13]!==O?(f=()=>{if(B?.downloadUrl&&(e?.enableDownloadAnonymous===1&&e?.downloadEnabled||e?.downloadEnabled&&O&&O?.isLoggedIn))return(0,t.jsx)(i.AnchorButton,{className:"download-cta-wsi",href:e?.downloadUrl??"",isExternal:!0,tabindex:0,isSecondary:!0,download:!0,children:e?.downloadLabel})},b[8]=B?.downloadUrl,b[9]=e.downloadEnabled,b[10]=e.downloadLabel,b[11]=e.downloadUrl,b[12]=e.enableDownloadAnonymous,b[13]=O,b[14]=f):f=b[14];let U=f,H=`shop-card shop-card-${S}`;return b[15]!==A||b[16]!==v||b[17]!==y||b[18]!==x||b[19]!==S?(p=(0,t.jsx)(n.default,{...A,type:S,productImgUrl:y,productStyledImgUrl:x,productAltText:v}),b[15]=A,b[16]=v,b[17]=y,b[18]=x,b[19]=S,b[20]=p):p=b[20],b[21]!==C||b[22]!==j?.webstore_enable_non_loggedin_users||b[23]!==B||b[24]!==U||b[25]!==I||b[26]!==N||b[27]!==T||b[28]!==_||b[29]!==k||b[30]!==w||b[31]!==E?(m=j?.webstore_enable_non_loggedin_users&&k?(0,t.jsx)(r.QuatityButtonCart,{...w,quantityLabels:E,isProductInCart:_,handleAddToCart:N,noLoginRequired:!0,downloadDetails:B,isfieldQuantityAvailable:k,fieldEnableQuantityAndAddTo:I}):(0,t.jsx)(t.Fragment,{children:j?.webstore_enable_non_loggedin_users&&w?.quantityOptions?.length>0&&C?(0,t.jsx)(r.QuatityButtonCart,{...w,quantityLabels:E,isProductInCart:_,handleAddToCart:N,noLoginRequired:!0,downloadDetails:B,isfieldQuantityAvailable:k,fieldEnableQuantityAndAddTo:I}):w?.quantityOptions?.length>0&&C?(0,t.jsx)(r.QuatityButtonCart,{...w,quantityLabels:E,isProductInCart:_,handleAddToCart:N,handleLogin:T,downloadDetails:B,isfieldQuantityAvailable:k,fieldEnableQuantityAndAddTo:I}):w?.quantityOptions?.length===0?U():null}),b[21]=C,b[22]=j?.webstore_enable_non_loggedin_users,b[23]=B,b[24]=U,b[25]=I,b[26]=N,b[27]=T,b[28]=_,b[29]=k,b[30]=w,b[31]=E,b[32]=m):m=b[32],b[33]!==m||b[34]!==H||b[35]!==p?(g=(0,t.jsxs)("div",{className:H,children:[p,m]}),b[33]=m,b[34]=H,b[35]=p,b[36]=g):g=b[36],g};function d(e){return e.user}},39069,e=>{"use strict";e.s(["default",()=>x]);var t=e.i(91398),a=e.i(91788),i=e.i(1901);e.i(48756);var r=e.i(38233),n=e.i(75366),s=e.i(60832),l=e.i(49266),o=e.i(92822),c=e.i(5223),d=e.i(22276),u=e.i(75425),h=e.i(15315),f=e.i(82108),p=e.i(10828),m=e.i(72094),g=e.i(67552),b=e.i(41282),_=e.i(3828),y=e.i(7684);let x=e=>{let{sections:x,notificationMessages:v}=e,[A,w]=(0,a.useState)({}),[E,S]=(0,a.useState)({}),[C,T]=(0,a.useState)({}),[N,k]=(0,a.useState)([]),[I,j]=(0,a.useState)(!1),[P,L]=(0,a.useState)(""),[O,D]=(0,a.useState)(!1),M=(0,d.useSelector)(e=>e.user),R=x?.[0]?.[0]?.formName,F=m.config.onPrem.WEBFORM_SUBMIT,[B,U]=(0,a.useState)(""),[H,$]=(0,a.useState)(!0);(0,_.useRouter)();let G=(e,t)=>{e.preventDefault();let a=`${e.target.name}
82`,i=e.target.value.trim(),r={...A},{mandatory:n,pattern:s,minLength:l}=t;i.length<=u.default.ZERO&&n.required?r[a]=n.message:i.length>u.default.ZERO?s.required&&s.regEx&&!RegExp(s.regEx).test(i)?r[a]=s.message:i.length>u.default.ZERO&&l.required&&i.length<l.length?r[a]=l.message:delete r[a]:delete r[a],w(r)},W=e=>{let t=`${e.target.name}`,a=e.target.value.trim(),i={...E};i[t]=a,S(i)},Y=(e,t,a)=>{let i={};N.length===a&&(i[t]=e?.[0]?.key,k([...N,i]))},z=()=>{if(k([]),M&&M.isLoggedIn){let{first_name:e,last_name:t,email_address:a}=(0,g.getProfileDetails)(M);S({first_name:e,last_name:t,email_address:a}),T({first_name:e,last_name:t,email_address:a})}else S({}),T({});w({}),j(!1),window?.scrollTo(u.default.ZERO,u.default.ZERO)},V=e=>{L(e),setTimeout(()=>{L("")},1e4)},K=async e=>{e.preventDefault();let t=document.getElementsByClassName("generic-webform-recaptcha");if(!H)return void t?.[0]?.classList.add("invalid");if(t?.[0]?.classList.remove("invalid"),Object.keys(A).length)w(A);else try{D(!0);let e=Object.assign([],N);if("[{}]"!==JSON.stringify(N)){e?.shift();let t=e?.[0]?.topics?.filter(e=>e!==u.default.NEWSLETTER_SIGNUP_VALUE);e[0].topics=t}let{fail:t,error:a}=await (0,h.middlewarePostAPI)(F,{webform_id:R,...E,..."[{}]"!==JSON.stringify(N)?Object.assign({},...e):{},consent_checkbox:!0,re_captcha:!0}),i={form_name:R,form_error:t?`${Object.keys(a?.data?.error)?.join(", ")} missing`:"",form_status:t?"error":"submitted"};if((0,f.dataLayerPush)(p.EVENTS.FORM_SUBMISSION,i),"submitted"===i.form_status){let e="/newsletter-verification/?result=success";window.location.href=e,setTimeout(()=>{D(!1)},2e4)}}catch(t){D(!1),t&&V("error");let e={form_name:R,form_error:t,form_status:"error"};(0,f.dataLayerPush)(p.EVENTS.FORM_SUBMISSION,e),(0,b.handleDataLayerError)("NewsLetterSignup form submission failed","NewsLetterSignup Form")}},q=(e,t,a,i)=>{let r=N,n={};if(N.length===e)if("All"===t.value){let e=[];i.map(t=>e.push(t.key)),n[a]=e,k([...N,n])}else n[a]=[t.key],k([...N,n]);else{let n=N[e][a];if(t.key===u.default.NEWSLETTER_SIGNUP_VALUE&&n.includes(t.key)){r.splice(1,1),k([...r]);return}if(t.key===u.default.NEWSLETTER_SIGNUP_VALUE&&!n.includes(t.key)){n=[],i.map(e=>n.push(e.key)),r[e][a]=n,k([...r]);return}if(n?.includes(t.key)){let i=n.includes(u.default.NEWSLETTER_SIGNUP_VALUE)?N[e][a].filter(e=>e!==t.key&&e!=u.default.NEWSLETTER_SIGNUP_VALUE):N[e][a].filter(e=>e!==t.key);0===i.length?r.splice(1,1):r[e][a]=i,k([...r])}else r[e][a]=n?[...n,t.key]:[t.key],k([...r])}},Q=(e,t,a)=>{let i=N,r={};N.length===e?(r[a]=t.key,k([...N,r])):(i[e][a]=t.key,k(i=i.slice(u.default.ZERO,e)))},Z=()=>{j(!I)},X=(e,t,a)=>N.length<=e?"show":N[e]?.[a]===t.key?"show updateColor":"hide";(0,a.useEffect)(()=>{if(M&&M.isLoggedIn){let{first_name:e,last_name:t,email_address:a}=(0,g.getProfileDetails)(M);S({...E,first_name:e,last_name:t,email_address:a}),w({...A,first_name:void 0,last_name:void 0,email_address:void 0}),T({...C,first_name:e,last_name:t,email_address:a});let i={...A};["first_name","last_name","email_address"].forEach(e=>{e in i&&delete i[e]}),w({...i})}},[M]);let J=async()=>{let{location:e}=window,t=!!e.hostname.includes("localhost"),a=(0,g.getAssetPrefixUrl)("/api/data-provider/?id=recaptcha",t);return(await fetch(a)).json()};(0,a.useEffect)(()=>{let e=x?.flat();e?.map(e=>{"custom_recaptcha_element"===e.type&&(e.recaptchaSiteKey?U(e.recaptchaSiteKey):J().then(e=>{U(e.recaptchaSiteKey||"")}),$(!1))})},[]);let ee=e=>{e?$(!0):$(!1)},et=()=>(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,g.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})});return(0,t.jsxs)("div",{className:"container",children:[O&&et(),(0,t.jsxs)("form",{className:"newsLetterSignUp-form",onSubmit:K,children:[!!P&&(0,t.jsx)(y.default,{displayMessageType:P,displayTxt:v?.[`${P}_message`]??P}),x?.map((e,d)=>(0,t.jsx)("div",{className:` ${N.length<d?"hide":"show"} ${e.filter(e=>"textfield"===e.type).length?"form-fields":"step"}`,children:e?.map((e,h)=>(e?.type==="button"&&"submit"===e.role&&(F=e.url),(0,t.jsxs)(t.Fragment,{children:[e?.type==="text"&&(0,t.jsx)(c.RichText,{className:"title",content:e?.title}),(e?.type==="textfield"||e?.type==="tel"||e?.type==="email")&&(0,a.createElement)(i.default,{...e,value:E[e.inputField.name],key:d+h,onBlurhandler:t=>G(t,e.validations),onChangehandler:W,error:Object.entries(A).map(([t,a])=>e.inputField.name===t?a:"").join(""),maxLength:e.maxLength,id:e.id}),e?.type==="checkbox"&&(d==N.length||d==x.length-1)&&(0,t.jsx)("div",{children:(0,t.jsx)(n.CheckBox,{label:(0,t.jsx)(c.RichText,{content:e?.label}),id:e.id,value:e.value,isChecked:I,onChange:Z,onKeyPress:Z,tabIndex:0},d+h)}),e?.type==="button"&&"submit"===e.role&&(d==N.length||d==x.length-1)&&(0,t.jsx)(r.Button,{type:e.role,tabindex:u.default.TWO,isDisabled:"[{}]"!==JSON.stringify(N)?!I||!!Object.keys(A).length||N.length<2:!I||!!Object.keys(A).length,className:"submit-btn",children:e.text}),e?.type==="button"&&"reset"===e.role&&(d==N.length||d==x.length-1)&&(0,t.jsx)(r.Button,{type:e.role,tabindex:u.default.TWO,isSecondary:!0,onClick:z,className:"reset-btn",children:e.text}),e?.type==="select"&&e?.class&&(0,t.jsx)("div",{className:"buttonsGroup",children:e.options.map(a=>(0,t.jsx)(r.Button,{tabindex:u.default.TWO,icon:N[d]?.[e.key]===a.key?(0,t.jsx)(l.Icon,{iconName:"
82closeDarkBlue"}):(0,t.jsx)(t.Fragment,{}),isGhost:!1,iconPosition:"right",onClick:()=>Q(d,a,e.key),className:X(d,a,e.key),children:a.value},a.index))}),e?.type==="select"&&!e?.class&&(0,t.jsxs)("div",{className:"select-dropdown",children:[(0,t.jsx)("label",{htmlFor:`dropdown-${e.key}`,"aria-required":e?.validations,className:"inputWith-label",id:e.key,children:e?.label}),(0,t.jsx)(s.DropDown,{id:`dropdown-${e.key}`,ariaLabel:e.key,options:e?.options,name:e.key,placeHolder:e.placeholder,showPlaceholder:!!e.placeholder,intialValue:[],isCleared:!0,onValueChange:t=>Y(t,e.key,d),isMulti:e.isMulti||!1,shouldToggleOnHover:!1})]}),e?.type==="webform_term_select"&&(0,t.jsx)("div",{className:"buttonsGroup",children:e.options.map(a=>(0,t.jsx)(r.Button,{tabindex:u.default.TWO,icon:N[d]?.[e.key]?.includes(a.key)?(0,t.jsx)(l.Icon,{iconName:"closeDarkBlue"}):(0,t.jsx)(t.Fragment,{}),isGhost:!1,iconPosition:"right",onClick:()=>q(d,a,e.key,e.options),className:N[d]?.[e.key]?.includes(a.key)?"updateColor":"",children:a.label},a.index))}),e?.type==="custom_recaptcha_element"&&e?.recaptchaSiteKey&&(d==N.length||d==x.length-1)&&(0,t.jsx)("div",{className:"generic-webform-recaptcha",children:(0,t.jsx)(o.Recaptcha,{sitekey:e.recaptchaSiteKey,onChange:ee})},d)]})))},e.type))]})]},1)}},32683,59536,e=>{"use strict";e.s(["default",()=>_],32683);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(38233),r=e.i(17419),n=e.i(60832),s=e.i(5223),l=e.i(66196),o=e.i(15315),c=e.i(72094),d=e.i(75425),u=e.i(10828),h=e.i(41282),f=e.i(82108),p=e.i(46198),m=e.i(67552);e.i(35958),e.s(["DisplayMessage",()=>g.default],59536);var g=e.i(7684),g=g,b=e.i(1901),b=b;let _=e=>{let{fields:_,notificationMessages:y}=e,[x,v]=(0,a.useState)({}),[A,w]=(0,a.useState)({}),[E,S]=(0,a.useState)(),[C,T]=(0,a.useState)({}),[N,k]=(0,a.useState)(!1),[I,j]=(0,a.useState)(!1),[P,L]=(0,a.useState)(null),[O,D]=(0,a.useState)(""),[M,R]=(0,a.useState)([]),F=_?.[0]?.formName,B=c.config.onPrem.WEBFORM_SUBMIT,U=["select","dropdown","radios","button"],H=(e,t)=>{let{mandatory:a}=t;return e?.length<=d.default.ZERO&&a.required?a.message:null},$=e=>{e.preventDefault();let t={...x};_?.forEach(e=>{let a=e.key??"",i=A[a]??"";if(e.validations&&!x[a]){let r=H(i,e.validations);r?t[a]=r:delete t[a]}});let a=Object.keys(t).length;return!!a&&((v(t),a&&Object.keys(t)?.[0])?Object.keys(t)?.[0]??"window":"window")},G=(e=!0)=>{if(k(!1),e){w({}),T({}),j(!0),L(null),R([]);let e=document.querySelector(".updateColor");e?.classList.remove("updateColor"),setTimeout(()=>{window?.scrollTo({left:0,top:0,behavior:"smooth"})},d.default.HUNDRED),S(null)}else S(null)},W=e=>{D(e),setTimeout(()=>{window?.scrollTo({left:0,top:0,behavior:"smooth"})},d.default.HUNDRED),v({})},Y=async e=>{e.preventDefault();let t=!0,a=$(e);if(a){let e="window"!==a?document.getElementById(a):null,t=e?e.offsetLeft:d.default.ZERO,i=e&&e.offsetTop>d.default.FORTY?e.offsetTop-d.default.FORTY:d.default.ZERO;setTimeout(()=>{window?.scrollTo({left:t,top:i,behavior:"smooth"})},d.default.HUNDRED)}else try{k(!0);let{fail:e,error:a,response:i}=await (0,o.middlewarePostAPI)(B,{webform_id:F,...C}),r=Object.values(i);if(t=!1,e)W("error");else{let e=(await (0,o.getApi)(`/solarapi/${F}/${r}`)).result;S(e),k(!1)}let n={form_name:F,form_error:e?`${Object.keys(a?.data?.error)?.join(", ")} missing`:"",form_status:e?"error":"submitted",formId:"",formFields:M??""};(0,f.dataLayerPush)(u.EVENTS.FORM_SUBMISSION,n)}catch(t){k(!1),t&&W("error");let e={form_name:F,form_error:t,form_status:"error"};(0,f.dataLayerPush)(u.EVENTS.FORM_SUBMISSION,e),(0,h.handleDataLayerError)(`${F} form submission failed`,`${F} Form`)}},z=(e,t)=>{e.preventDefault();let a=`${e.target.name}`,i=e.target.value.trim(),r={...x},n=H(i,t);n?r[a]=n:delete r[a],v(r)},V=e=>(0,t.jsxs)(t.Fragment,{children:[e?.description&&(0,t.jsx)("div",{className:"description",children:(0,t.jsx)(s.RichText,{content:e.description})}),e?.helpText&&(0,t.jsx)("div",{className:"help-text",children:(0,t.jsx)(s.RichText,{content:e.helpText})})]}),K=e=>Object.entries(x).map(([t,a])=>e===t?a:"").join(""),q=e=>{let t=`${e.target.name}`,a=e.target.value.trim(),i={...A};i[t]=a,w(i);let r={...C};r[t]=a,T(r),j(!1),delete x[t]},Q=(e,t,a,i)=>{let r=[];r.push(a);let n=r.map(e=>e.value),s={...A};s[i]=n;let l={...C};l[i]=n[d.default.ZERO],w(s),T(l),R(l),j(!1),delete x[i],setTimeout(()=>{let t=document.querySelector(".updateColor");t?.classList.remove("updateColor"),e.target.classList.add("updateColor"),P===a?e.target.classList.remove("updateColor"):e.target.classList.add("updateColor")},d.default.HUNDRED)},Z=()=>(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,m.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})}),X=(e,t,a)=>{let i=e.map(e=>e.value),r={...A};r[t]=i;let n={...C};a?n[t]=i:i?.length?n[t]=i[d.default.ZERO]:delete n[t],w(r),T(n),j(!1),delete x[t]},J=(e,t,a)=>M.length<=e?"show":Object.values(M)[0]===t.value?"show updateColor":"show",ee=(e,r,l)=>("button"===r.type&&"submit"===r.role&&(B=r.url),(0,t.jsxs)(t.Fragment,{children:["select"===e&&!r?.wrapper_attributes.class&&(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:`input-select${x[r.index]?" invalid-select":""}`,id:r.key,children:[r.label&&(0,t.jsx)("h1",{children:(0,t.jsxs)("label",{htmlFor:`dropdown-${r.key}`,"aria-required":r.validations.mandatory,children:[r.label,r.validations.mandatory.required&&"*"]})}),(0,t.jsx)(n.DropDown,{id:`dropdown-${r.key}`,ariaLabel:`dropdown-${r.key}`,options:r.options,name:r.key,placeHolder:r.placeHolder,isCleared:I,showPlaceholder:!!r.placeholder,intialValue:[],isRequired:r.validations.mandatory.required||!1,onValueChange:e=>X(e,r.key,!1),isMulti:r.isMulti||!1}),V(r),x[r.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(s.RichText,{content:x[r.key]})})]},r.index)}),r?.type==="textfield"&&(0,t.jsx)("div",{id:r.key,children:(0,a.createElement)(b.default,{...r,value:A[r.inputField.name],key:l,name:r.key,onBlurhandler:e=>z(e,r.validations),onChangehandler:q,error:K(r.inputField.name),helpDescriptionText:r.description||r.helpText?V(r):"",maxLength:r.maxLength})}),r?.type==="radios"&&(0,t.jsxs)("fieldset",{className:"input-radio-group","aria-labelledby":r.key,"aria-required":r.validations.mandatory.required,id:r.key,children:[(0,t.jsx)("h1",{children:(0,t.jsxs)("label",{htmlFor:r.key,"aria-required":r.validations.mandatory.required,
82children:[r.label,r.validations.mandatory.required&&"*"]})}),(0,t.jsx)("div",{className:"radioGroup",children:r?.options?.map(e=>(0,t.jsx)(p.default,{label:e.label,id:`${r.key}-${e.id}`,value:e.value,name:r.key,required:r.validations.mandatory.required,isChecked:A?.[r.key]===e.value,onChange:e=>q(e)},`${r.key}-${e.id}`))}),V(r),x[r.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(s.RichText,{content:x[r.key]})})]},l),r?.type==="select"&&r?.wrapper_attributes.class&&(0,t.jsx)("fieldset",{className:"input-radio-group","aria-labelledby":r.key,"aria-required":r.validations.mandatory.required,id:r.key,children:(0,t.jsxs)("div",{id:r.key,children:[r.label&&(0,t.jsx)("h1",{children:(0,t.jsxs)("label",{htmlFor:`dropdown-${r.key}`,"aria-required":r.validations,children:[r.label,r.validations.mandatory.required&&"*"]})}),(0,t.jsx)("div",{className:"buttonsGroup",children:r.options?.map((e,a)=>(0,t.jsx)(i.Button,{tabindex:d.default.TWO,isGhost:!1,iconPosition:"right",onClick:t=>Q(t,r.key,e,r.key),className:J(a,e,r.key),children:e.value},e.key))}),V(r),x[r.key]&&(0,t.jsx)("div",{className:"error",children:(0,t.jsx)(s.RichText,{content:x[r.key]})})]},r.index)},l),r?.type==="button"&&"submit"===r.role&&!E&&(0,t.jsx)(i.Button,{isDisabled:!!Object.keys(x).length,type:r.role,tabindex:d.default.TWO,className:"submit-btn",children:r?.text?r?.text:"Submit"},l),r?.type==="button"&&"reset"===r.role&&E&&(0,t.jsx)(i.Button,{type:r.role,tabindex:d.default.TWO,isSecondary:!0,onClick:e=>G(!0),className:"reset-btn",children:r?.text?r?.text:"Reset"},r.key)]}));return(0,t.jsxs)("div",{children:[(0,t.jsx)(l.Row,{className:"dosage-calculator",children:(0,t.jsx)(r.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsxs)("div",{children:[N&&Z(),(0,t.jsxs)("form",{className:"free-web-form",autoComplete:"off","data-testid":"free-web-form",onSubmit:Y,children:[!!O&&(0,t.jsx)(g.default,{displayMessageType:O,displayTxt:y?.[`${O}_message`]??O}),_.map((e,a)=>(0,t.jsxs)("div",{className:"dosage-calculator-block",children:["processed_text"===e.type&&(0,t.jsx)(s.RichText,{className:"dosage-calculator-block-head",content:e.text||""}),"processed_text"!==e.type&&U.includes(e.type)&&(0,t.jsxs)("div",{className:"dosage-calculator-block-option",children:[ee(e.type,e,a),-1!==U.indexOf(e.type)&&"button"!==e.type&&(0,t.jsx)("hr",{className:"dosage-calculator-block-line"})]})]},a))]})]})})}),null!=E&&(0,t.jsx)(l.Row,{className:"dosage-calculator",children:(0,t.jsx)(r.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsxs)("div",{className:"results",children:[(0,t.jsx)("h1",{children:"Results"}),E&&(0,t.jsx)(s.RichText,{content:E||""})]})})})]})}},66749,59132,e=>{"use strict";e.s(["CheckoutCard",()=>t.default],66749);var t=e.i(46349),a=e.i(22740);let i=e=>h({type:a.ADD_UPDATE_WEBSHOP_FILTERS,webshopFilters:e}),r=e=>h({type:a.UPDATE_WEBSHOP_PAGE_NUMBER,currentPage:e}),n=e=>h({type:a.UPDATE_WEBSHOP_SEARCH_TEXT,searchText:e}),s=(e,t,i)=>h({type:a.UPDATE_ALL_WEBSHOP_FILTERS,webshopFilters:e,currentPage:t,searchText:i}),l=(e,t=!1)=>h({type:t?a.ADD_PRODUCT_TO_CART_TEMPORARY:a.ADD_PRODUCT_TO_CART,product:e}),o=e=>h({type:a.UPDATE_PRODUCT_IN_CART,product:e}),c=e=>h({type:a.DELETE_PRODUCT_FROM_CART,productId:e}),d=()=>h({type:a.EMPTY_CART}),u=()=>h({type:a.ADD_PRODUCT_TO_CART_FROM_TEMP}),h=e=>t=>{t(e)};e.s(["addProductToCart",0,l,"addProductToCartFromTemp",0,u,"addUpdateWebshopFilter",0,i,"deleteProductFromCart",0,c,"emptyCart",0,d,"updateAllWebshopFilters",0,s,"updateProductInCart",0,o,"updateWebshopPagination",0,r,"updateWebshopSearchText",0,n],59132)},81735,e=>{"use strict";e.s(["default",()=>s]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(49266),n=e.i(5223);let s=e=>{let s,l,o,c,d=(0,a.c)(11),{empty_cart_title:u,empty_cart_desc:h,back_to_product_list_label:f,back_to_product_list_url:p}=e;d[0]!==u?(s=(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:"first-line",children:u})}),d[0]=u,d[1]=s):s=d[1];let m=h?.value;return d[2]!==m?(l=(0,t.jsx)("div",{children:(0,t.jsx)(n.RichText,{className:"second-line",content:m})}),d[2]=m,d[3]=l):l=d[3],d[4]!==f||d[5]!==p?(o=p&&f&&(0,t.jsxs)("div",{className:"bottom-section",children:[(0,t.jsx)(r.Icon,{iconName:"ArrowLeftIcon",className:"arrow-icon"}),(0,t.jsx)(i.Anchor,{href:p,tabindex:0,noUnderline:!1,children:(0,t.jsx)("span",{className:"text-with-arrow",children:f})}),(0,t.jsx)("div",{})]}),d[4]=f,d[5]=p,d[6]=o):o=d[6],d[7]!==s||d[8]!==l||d[9]!==o?(c=(0,t.jsxs)("div",{className:"empty-cart",children:[s,l,o]}),d[7]=s,d[8]=l,d[9]=o,d[10]=c):c=d[10],c}},29878,28791,83183,e=>{"use strict";e.s(["default",()=>
82k],29878);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(9003),n=e.i(38233),s=e.i(6271),l=e.i(49266),o=e.i(66196);e.i(35958);var c=e.i(66749),d=e.i(22276),u=e.i(59132),h=e.i(91788),f=e.i(81735),p=e.i(3828),m=e.i(62423),g=a,b=e.i(3265),_=e.i(15315),y=e.i(81577);let x=async(e,t,a)=>{if(!e&&!t)throw(0,y.consoleError)(`URL parameter is undefined in ${x.name}.`);let i=t??await (0,_.getApi)(`/jsonapi/solar/breadcrumb?path=${e}`),r=i?.data?.attributes?.filter(e=>void 0!==e.link),n=r?.map(e=>({title:e.title?e.title:null,path:e.link?(0,b.filterURL)(e.link):null})),s=i?.data?.attributes?.filter(e=>void 0===e.link);return{breadcrumbs:n??null,selectedTitle:s?.length>0?s?.[0]?.title:null,referer:a??null}},v=x;e.s(["default",0,v],28791);var A=e.i(15097);let w=()=>{let e,t=(0,g.c)(1),a=E,i=S;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={fetchBillingFormFields:a,getPageBreadcrumbs:i},t[0]=e):e=t[0],e};async function E(){return await (0,A.default)("/solarapi/checkout_form/fields")}async function S(e,t){return await v("",e,t)}e.s(["default",0,w],83183);let C=e=>{let i,r=(0,a.c)(12),{detailLabels:n,productImgUrl:s,selectedQty:l,quantityBtnProps:o,productStyledImgUrl:d}=e?.item,u=n?.title,h=n?.subTitle??"",f=n?.detailUrl,p=e?.quantityLabel,m=o?.quantityOptions,g=e?.handleQuantity,b=e?.handleDeleteProduct,_=e?.quantityError;return r[0]!==s||r[1]!==d||r[2]!==l||r[3]!==u||r[4]!==h||r[5]!==f||r[6]!==p||r[7]!==m||r[8]!==g||r[9]!==b||r[10]!==_?(i=(0,t.jsx)(c.CheckoutCard,{title:u,subTitle:h,detailUrl:f,quantity:l,productImgUrl:s,productStyledImgUrl:d,quantityLabel:p,isEditable:!0,quantityOptions:m,handleUpdateQuantity:g,handleDeleteProduct:b,quantityErrorMessage:_}),r[0]=s,r[1]=d,r[2]=l,r[3]=u,r[4]=h,r[5]=f,r[6]=p,r[7]=m,r[8]=g,r[9]=b,r[10]=_,r[11]=i):i=r[11],i},T=e=>{let a=(0,d.useSelector)(e=>e.webshop),[c,u]=(0,h.useState)(),g=a?.productsInCart||[],b=(0,p.useRouter)(),{title:_,empty_cart_title:y,empty_cart_desc:x,back_to_product_list_label:v,back_to_product_list_url:A,cancel_label:E,checkout_cta_label:S,cart_page_label:T,homeTitle:N,homeLink:k,listingPageTitle:I,quantityErrorMessage:j,quantityLabel:P}=e?.displayLabels,L=(0,d.useDispatch)(),{getPageBreadcrumbs:O}=w(),D=(0,h.useCallback)(t=>{e?.updateProductInCart(t)},[L]),M=(0,h.useCallback)(t=>{e?.deleteProductFromCart(t)},[L]),R=(0,h.useCallback)(t=>{e?.emptyCart(t)},[L]),F=(e,t)=>{D({...t,selectedQty:Number(e)})},B=()=>{R(),window.scrollTo(0,0)},U=()=>{b.push("/order-materials/checkout")};(0,h.useEffect)(()=>{(async()=>{if(!k||!A)return u(null);try{let t={data:{attributes:[{title:N,link:k},{title:I,link:A},{title:T}]}},a=await O(t,e?.referer);u(a)}catch(e){}})()},[]);let H=(0,t.jsxs)("div",{children:[(0,t.jsx)(r.BrandingPattern,{}),(0,t.jsx)(m.default,{...c})]});return(0,t.jsxs)(t.Fragment,{children:[c&&H,(0,t.jsx)(s.Container,{children:(0,t.jsx)(o.Row,{isTemplateWrapper:!0,children:(0,t.jsxs)("div",{className:"shopping-cart-list",children:[(0,t.jsx)("h1",{className:g?.length>0?"title bold":"empty-cart-title bold",children:_}),g?.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:g.map(e=>(0,t.jsx)("div",{children:(0,t.jsx)(C,{item:e,handleQuantity:t=>F(t,e),handleDeleteProduct:()=>M(e?.productId),quantityError:j,quantityLabel:P})},e?.productId))}),(0,t.jsxs)("div",{className:"bottom-section",children:[(0,t.jsx)(l.Icon,{iconName:"ArrowLeftIcon",className:"arrow-icon"}),(0,t.jsx)(i.Anchor,{href:A,tabindex:0,noUnderline:!1,children:(0,t.jsx)("span",{className:"text-with-arrow",children:v})}),(0,t.jsxs)("div",{className:"button-container",children:[(0,t.jsx)(n.Button,{tabindex:0,isSecondary:!0,className:"secondary-btn",onClick:B,children:E}),(0,t.jsx)(n.Button,{tabindex:1,type:"submit",className:"primary-btn",isDisabled:g.some(e=>!e.selectedQty),onClick:U,children:S})]}),(0,t.jsx)("div",{})]})]}):(0,t.jsx)("div",{children:(0,t.jsx)(f.default,{empty_cart_title:y,empty_cart_desc:x,back_to_product_list_label:v,back_to_product_list_url:A})})]})})})]})},N={updateProductInCart:e=>(0,u.updateProductInCart)(e),deleteProductFromCart:e=>(0,u.deleteProductFromCart)(e),emptyCart:e=>(0,u.emptyCart)()},k=(0,d.connect)(null,N)(T)},96458,e=>{"use strict";e.s(["default",()=>n],96458);var t=e.i(91398),a=e.i(61576);e.i(35958);var i=e.i(29227),i=i,r=e.i(60044);let n=e=>{let n,s,l,o,c=(0,a.c)(12),{tabContent:d,setMagazineParentTab:u,setMagazineChildTab:h}=e;c[0]!==u?(n=e=>{u(e)},c[0]=u,c[1]=n):n=c[1];let f=n;if(c[2]!==h){let e=e=>{h(e)};s=a=>
82{if(a)return a.map((a,r)=>(0,t.jsx)(i.default,{links:a?.links,selectedRotatatingTabCallback:e},`ic-${r}`))},c[2]=h,c[3]=s}else s=c[3];let p=s,m=d?.tabHeadItems,g=d?.activeItem,b=d?.tabContents;return c[4]!==p||c[5]!==b?(l=p(b),c[4]=p,c[5]=b,c[6]=l):l=c[6],c[7]!==f||c[8]!==m||c[9]!==g||c[10]!==l?(o=(0,t.jsx)("div",{className:"magazine-tabs-container",children:(0,t.jsx)(r.Tabs,{tabHeadItems:m,activeItem:g,tabContents:l,selectedTabCallBack:f,isProfileTab:!0})}),c[7]=f,c[8]=m,c[9]=g,c[10]=l,c[11]=o):o=c[11],o}},18219,(e,t,a)=>{t.exports=function(e,t,a,i){for(var r=e.length,n=a+(i?1:-1);i?n--:++n<r;)if(t(e[n],n,e))return n;return -1}},81954,(e,t,a)=>{var i=e.r(98620),r=e.r(90835),n=1,s=2;t.exports=function(e,t,a,l){var o=a.length,c=o,d=!l;if(null==e)return!c;for(e=Object(e);o--;){var u=a[o];if(d&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<c;){var h=(u=a[o])[0],f=e[h],p=u[1];if(d&&u[2]){if(void 0===f&&!(h in e))return!1}else{var m=new i;if(l)var g=l(f,p,h,e,t,m);if(!(void 0===g?r(p,f,n|s,l,m):g))return!1}}return!0}},81673,(e,t,a)=>{var i=e.r(3275);t.exports=function(e){return e==e&&!i(e)}},61994,(e,t,a)=>{var i=e.r(81673),r=e.r(22335);t.exports=function(e){for(var t=r(e),a=t.length;a--;){var n=t[a],s=e[n];t[a]=[n,s,i(s)]}return t}},19939,(e,t,a)=>{t.exports=function(e,t){return function(a){return null!=a&&a[e]===t&&(void 0!==t||e in Object(a))}}},8554,(e,t,a)=>{var i=e.r(81954),r=e.r(61994),n=e.r(19939);t.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?n(t[0][0],t[0][1]):function(a){return a===e||i(a,e,t)}}},70923,(e,t,a)=>{var i=e.r(48684),r=e.r(49057),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(e,t){if(i(e))return!1;var a=typeof e;return!!("number"==a||"symbol"==a||"boolean"==a||null==e||r(e))||s.test(e)||!n.test(e)||null!=t&&e in Object(t)}},76116,(e,t,a)=>{var i=e.r(33571),r="Expected a function";function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError(r);var a=function(){var i=arguments,r=t?t.apply(this,i):i[0],n=a.cache;if(n.has(r))return n.get(r);var s=e.apply(this,i);return a.cache=n.set(r,s)||n,s};return a.cache=new(n.Cache||i),a}n.Cache=i,t.exports=n},59762,(e,t,a)=>{var i=e.r(76116),r=500;t.exports=function(e){var t=i(e,function(e){return a.size===r&&a.clear(),e}),a=t.cache;return t}},42774,(e,t,a)=>{var i=e.r(59762),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g;t.exports=i(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,a,i,r){t.push(i?r.replace(n,"$1"):a||e)}),t})},78969,(e,t,a)=>{var i=e.r(48684),r=e.r(70923),n=e.r(42774),s=e.r(82346);t.exports=function(e,t){return i(e)?e:r(e,t)?[e]:n(s(e))}},98921,(e,t,a)=>{var i=e.r(49057),r=1/0;t.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}},28267,(e,t,a)=>{var i=e.r(78969),r=e.r(98921);t.exports=function(e,t){t=i(t,e);for(var a=0,n=t.length;null!=e&&a<n;)e=e[r(t[a++])];return a&&a==n?e:void 0}},58568,(e,t,a)=>{var i=e.r(28267);t.exports=function(e,t,a){var r=null==e?void 0:i(e,t);return void 0===r?a:r}},80171,(e,t,a)=>{t.exports=function(e,t){return null!=e&&t in Object(e)}},77697,(e,t,a)=>{var i=e.r(78969),r=e.r(45897),n=e.r(48684),s=e.r(5251),l=e.r(57279),o=e.r(98921);t.exports=function(e,t,a){t=i(t,e);for(var c=-1,d=t.length,u=!1;++c<d;){var h=o(t[c]);if(!(u=null!=e&&a(e,h)))break;e=e[h]}return u||++c!=d?u:!!(d=null==e?0:e.length)&&l(d)&&s(h,d)&&(n(e)||r(e))}},17217,(e,t,a)=>{var i=e.r(80171),r=e.r(77697);t.exports=function(e,t){return null!=e&&r(e,t,i)}},92384,(e,t,a)=>{var i=e.r(90835),r=e.r(58568),n=e.r(17217),s=e.r(70923),l=e.r(81673),o=e.r(19939),c=e.r(98921),d=1,u=2;t.exports=function(e,t){return s(e)&&l(t)?o(c(e),t):function(a){var s=r(a,e);return void 0===s&&s===t?n(a,e):i(t,s,d|u)}}},43054,(e,t,a)=>{t.exports=function(e){return function(t){return null==t?void 0:t[e]}}},2503,(e,t,a)=>{var i=e.r(28267);t.exports=function(e){return function(t){return i(t,e)}}},22025,(e,t,a)=>{var i=e.r(43054),r=e.r(2503),n=e.r(70923),s=e.r(98921);t.exports=function(e){return n(e)?i(s(e)):r(e)}},5792,(e,t,a)=>{var i=e.r(8554),r=e.r(92384),n=e.r(25975),s=e.r(48684),l=e.r(22025);t.exports=function(e){return"function"==typeof e?e:null==e?n:"object"==typeof e?s(e)?r(e[0],e[1]):i(e):l(e)}},35190,(e,t,a)=>{var i=e.r(92921),r=1/0,n=17976931348623157e292;
82t.exports=function(e){return e?(e=i(e))===r||e===-r?(e<0?-1:1)*n:e==e?e:0:0===e?e:0}},72285,(e,t,a)=>{var i=e.r(35190);t.exports=function(e){var t=i(e),a=t%1;return t==t?a?t-a:t:0}},70940,(e,t,a)=>{var i=e.r(18219),r=e.r(5792),n=e.r(72285),s=Math.max;t.exports=function(e,t,a){var l=null==e?0:e.length;if(!l)return -1;var o=null==a?0:n(a);return o<0&&(o=s(l+o,0)),i(e,r(t,3),o)}},32176,e=>{"use strict";e.s(["default",()=>V],32176);var t=e.i(91398);e.i(48756);var a=e.i(38233),i=e.i(49266),r=e.i(66196);e.i(62179);var n=e.i(96458),n=n,s=t,l=r,o=e.i(3265),c=t,d=e.i(61576),u=e.i(17419),h=e.i(25532),f=e.i(91788);let p=e=>{let t,a,i,r,n,s,l=(0,d.c)(19),{row:o,cardData:f,cardImage:p,taxonomies:m}=e;o>0&&o<=6?(t=`<h${o}>`,a=`</h${o}>`):(t="<p>",a="</p>");let g=f?.attributes?.drupal_internal__nid??"",b=f?.attributes?.field_magz_type==="video"||f?.attributes?.field_magz_type==="podcast",_=f?.attributes?.path?.alias??null,y=t+f?.attributes?.title+a||"",x=f?.attributes?.field_magz_subtitle?.processed??null,v=f?.attributes?.body?.processed??"",A=f?.attributes?.field_magz_date??null,w=f?.attributes?.field_magz_reading_time?.processed??null;l[0]===Symbol.for("react.memo_cache_sentinel")?(i={addText:"Add to Bookmark",removeText:"Remove from Bookmark",bookmarkStatus:!1,isButton:!1},l[0]=i):i=l[0],l[1]!==p||l[2]!==o||l[3]!==g||l[4]!==b||l[5]!==_||l[6]!==y||l[7]!==x||l[8]!==v||l[9]!==A||l[10]!==w||l[11]!==m?(r={id:g,magImage:p,isVideo:b,taxonomies:m,href:_,title:y,subtitle:x,desc:v,createdDate:A,time:w,totalFavoriteCount:150,bookmark:i,row:o},l[1]=p,l[2]=o,l[3]=g,l[4]=b,l[5]=_,l[6]=y,l[7]=x,l[8]=v,l[9]=A,l[10]=w,l[11]=m,l[12]=r):r=l[12];let E=r;return l[13]!==f?.type||l[14]!==E||l[15]!==o?(n=f?.type&&(0,c.jsx)(u.Column,{desktop:Math.round(12/o),tablet:3===o?6:12/o,mobile:12,children:(0,c.jsx)(h.MagazineCard,{...E})}),l[13]=f?.type,l[14]=E,l[15]=o,l[16]=n):n=l[16],l[17]!==n?(s=(0,c.jsx)(c.Fragment,{children:n}),l[17]=n,l[18]=s):s=l[18],s},m=(0,f.memo)(p);var g=e.i(15315),b=e.i(81577),_=e.i(67552),y=f,x=e.i(59158);let v=()=>{let[e,t]=(0,y.useState)(!1),[a,i]=(0,y.useState)(!1),[r,n]=(0,y.useState)(0),[c,d]=(0,y.useState)([]),[u,h]=(0,y.useState)(),f=(0,_.getDomainLangFromSessionStorage)(),p=(0,y.useCallback)(async e=>{try{let t=await (0,g.getApi)(`/restapi/magazine/categories?masonry_uuid=${e}`);t?.category_details?.sort((e,t)=>Number(e?.order)>Number(t?.order)?1:-1),t&&h(t)}catch(e){(0,b.consoleError)(`failed to fetch magazine taxonomy! - ${e}`)}},[]);return{isLoading:e,isPaginatedLoading:a,magazineDataSource:c,getMagazineTaxonomy:p,getMagazineData:(0,y.useCallback)(async(e,a,r,s,l)=>{try{l(!0),e>0?i(!0):t(!0);let o=await (0,g.getApi)(`/jsonapi/views/magz_listing/magazine?page=${e}&items_per_page=${s}&views-filter[field_magz_tabs_target_id]=${a}&views-filter[field_magz_topics_target_id]=${r}&views-filter[langcode]=${f}`);o&&o?.data&&d(o.data),o&&o?.meta?.count&&n(Number(o.meta.count)),e>0?i(!1):t(!1),l(!1)}catch(a){e>0?i(!1):t(!1),l(!1),(0,b.consoleError)(`failed to fetch magazine data! - ${a}`)}},[]),updateMagazineWithLayout:(e,t)=>{let a,i=[],r=[],n=[],s=[];try{e.forEach(e=>{if("1"===e){let a=i.length;r=(0,_.prepareMagazineWithLayout)(a,a+1,e,t),i=i.concat(r)}if("2"===e){let a=i.length;n=(0,_.prepareMagazineWithLayout)(a,a+2,e,t),i=i.concat(n)}if("3"===e){let a=i.length;s=(0,_.prepareMagazineWithLayout)(a,a+3,e,t),i=i.concat(s)}})}catch(e){(0,b.consoleError)("Failed to add layout in Magazine data array!")}finally{a=i}return a},createMagazineWithLayout:async(e,a,r)=>{let n=[],c=[],d=[],u=[];if(!e.length)return u;r>0?t(!1):t(!0),i(!0),await Promise.all(e.map(async(e,t)=>{let a=Number((e?.col?.split(" - "))[0]),{imageUrl:i,alt:r,imageStyledUrl:l}=(0,o.getImageMeta)(e?.relationships?.field_magz_image),u=await (0,o.getTaxonomy)(e?.relationships?.field_magz_topics?.links?.related?.href),h={src:i,alt:r||"",styledimage:l??null},f=(0,s.jsx)(m,{row:a,cardData:e,cardImage:h,taxonomies:u},t);1===a&&n.push(f),2===a&&c.push(f),3===a&&d.push(f),n.sort((e,t)=>Number(e.key)-Number(t.key)),c.sort((e,t)=>Number(e.key)-Number(t.key)),d.sort((e,t)=>Number(e.key)-Number(t.key))}
82)),t(!1),i(!1);let h=a;if(0===r)h=a;else for(let e=0;e<r;e++)h=h.concat(a);return h.forEach((e,t)=>{let a=(0,x.default)();if("1"===e){let e=(0,s.jsx)(l.Row,{className:"mag-row row-one",children:n.slice(t,t+1).map(e=>(0,s.jsx)(s.Fragment,{children:e}))},`row-${t}-${a}`);u.push(e)}if("2"===e){let e=(0,x.default)(),a=(0,s.jsx)(l.Row,{className:"mag-row row-two",children:c.slice(2*t,2*t+2).map(e=>(0,s.jsx)(s.Fragment,{children:e}))},`row-${t}-${e}`);u.push(a)}if("3"===e){let e=(0,x.default)(),a=(0,s.jsx)(l.Row,{className:"mag-row row-three",children:d.slice(3*t,3*t+3).map((e,t)=>(0,s.jsx)(s.Fragment,{children:e}))},`row-${t}-${e}`);u.push(a)}}),u},formatMagazineTaxonomy:e=>{let t=[],a=[];if(e?.category_details){let i=e?.sub_category_all_label??"";e.category_details.forEach(e=>{if(t.push({children:e?.label,id:e?.tid?.toString(),itemID:`pills-${e?.tid}`,active:!1,tabDesign:"pills"}),e?.sub_category_details?.sort((e,t)=>Number(e?.order)>Number(t?.order)?1:-1),e?.sub_category_details){let t=[{name:i,id:"All",selected:!0}];e.sub_category_details.forEach(e=>{t.push({name:e?.label,id:e.tid,selected:!1})}),a.push({links:t})}})}return{tabHeadItems:t,tabContents:a,tabContentClassName:"generic-tab",tabContentID:"pills-tabContent",activeItem:{}}},totalCount:r,magazineTaxonomy:u}};var A=e.i(82054),w=f,E=e.i(97268),S=e.i(22276),C=e.i(22740);let T=e=>O({type:C.ADD_MAGAZINE_TAXONOMY,taxonomy:e}),N=(e,t)=>O({type:C.MAGAZINE_LAYOUT,layout:e,initialItemToLoad:t}),k=e=>O({type:C.MAGAZINE_DATA,magazineDataSource:e}),I=e=>O({type:C.MAGAZINE_TEMP_DATA,magazineTempDataSource:e}),j=()=>O({type:C.CLEAR_MAGAZINE_TEMP_DATA,magazineTempDataSource:[]}),P=e=>O({type:C.MAGAZINE_PARENT_TAB,parentTab:e}),L=e=>O({type:C.MAGAZINE_CHILD_TAB,childTab:e}),O=e=>t=>{t(e)};var D=e.i(70940),M=e.i(74807),R=g,F=b,B=e.i(82036),U=e.i(61312);let H=async e=>{if(!e)throw(0,F.consoleError)(`URL parameter is undefined in ${H.name}.`);let t=await (0,R.getApi)(`/jsonapi${e}`),a=(0,U.getAllRoles)(t),i=(0,B.default)(t,"magz_items_count_per_load")||9;t=t?.data;let r=(0,U.isPaywallProtected)((0,B.default)(t,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag;return{masonryId:t?.id||"",layout:(0,B.default)(t,"attributes.field_magazine_masonry_page_layo")?.split("-")??[],enableLoadMore:(0,B.default)(t,"attributes.field_enable_load_more_button")??!1,loadMoreLabel:(0,B.default)(t,"attributes.field_load_more_button_label")??"",initialItemLoadForMagazine:i,fieldPaywallRoles:a,isParentPaywalled:r}},$=H;var G=e.i(31808);let W=e=>{let{applicationConfiguration:s}=(0,w.useContext)(A.default),[l,o]=(0,w.useState)([]),[c,d]=(0,w.useState)(!1),[u,h]=(0,w.useState)(),[f,p]=(0,w.useState)(0),[m,g]=(0,w.useState)(!1),{url:b,magazine:_,user:y,setMagazineLayout:x,updateMagazineDataSource:S,updateMagazineTempDataSource:C,clearMagazineTempDataSource:T,setMagazineParentTab:N,setMagazineChildTab:k,updatePaywallContent:I,updatePaywall3Roles:j}=e,{data:P,isLoading:L}=(0,M.default)(b,async()=>{try{return await $(b)}catch(e){}});(0,w.useMemo)(()=>{if(!L&&P.fieldPaywallRoles){let e=P?.fieldPaywallRoles??[];e?.length&&!y?.isLoggedIn&&(j(Array.from(new Set(e))),I(!0))}},[L,P,y]);let{isLoading:O,isPaginatedLoading:R,magazineDataSource:F,getMagazineTaxonomy:B,getMagazineData:U,updateMagazineWithLayout:H,createMagazineWithLayout:G,formatMagazineTaxonomy:W,totalCount:Y,magazineTaxonomy:z}=v();(0,w.useEffect)(()=>{!L&&P?.masonryId&&B(P.masonryId)},[L,P]);let V=(e,t)=>(e?.forEach(e=>{e?.links?.forEach(e=>{e.selected=e.id===t})}),e),K=(e,t,a,i,r=!0)=>{let n=a.find(t=>t.id===e)?.children||"",s=i.flatMap(e=>e.links).find(e=>e.id===t)?.name||"All",l=new URLSearchParams(window.location.search);l.set("filter",n),l.set("category",s);let o=`${window.location.pathname}?${l.toString()}`;r?window.history.replaceState({},"",o):window.history.pushState({},"",o)};(0,w.useEffect)(()=>{if(L||!z)return;x(P.layout,P.initialItemLoadForMagazine);let e=W(z),t=new URLSearchParams(window.location.search),a=t.get("filter"),i=t.get("category"),{parentTab:r,childTab:n}=_;a&&i&&!c&&(r=e.tabHeadItems.find(e=>e.children===a)?.id||r,n=e.tabContents.flatMap(e=>e.links).find(e=>e.name===i)?.id||n),r||(r=e.tabHeadItems[0]?.id||""),n||(n="All");let s=(0,D.default)(e.tabHeadItems,e=>e.id===r,0);!c&&(a||i||c)||K(r,n,e.tabHeadItems,e.tabContents,!0),e.activeItem={num:s},e.tabContents=V(e.tabContents,n),h(e),q(f,r,n)},[z,_.parentTab,_.childTab,f,L,c]),(0,w.useEffect)(()=>
82{if(F.length&&_.layout){let e=H(_.layout,F);C(e),S(e)}},[F]),(0,w.useMemo)(async()=>{let e=[];c?(T(),C(_.magazineDataSource),e=await G(_.magazineDataSource,_.layout,f)):e=await G(_.magazineTempDataSource,_.layout,f),o(e)},[_.magazineDataSource]);let q=(e,t,a)=>{m||U(e,t,a,_.initialItemToLoad,g)},Q=()=>{let e=f+1;d(!1),p(e)},Z=e=>{N(e),k(""),p(0),d(!0)},X=e=>{k(e),p(0),d(!0)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"container container-fluid-to-xl",children:[(0,t.jsx)(n.default,{tabContent:u,setMagazineParentTab:e=>Z(e),setMagazineChildTab:e=>X(e)}),!O&&l.length&&z?(0,t.jsx)(t.Fragment,{children:!P?.isParentPaywalled&&(0,t.jsxs)("div",{className:"mag-container",children:[l.map(e=>e),!R&&(f+1)*Number(_.initialItemToLoad)<Y?(0,t.jsx)(r.Row,{className:"mag-load-more",children:(0,t.jsx)(a.Button,{className:"mag-load-more-btn",type:"button",isSecondary:!0,icon:(0,t.jsx)(i.Icon,{iconName:"RefreshIcon"}),iconPosition:"right",isDisabled:R,onClick:()=>Q(),tabindex:1,children:`${s?.siteConfig?.magz_load_more_cta_label}`})}):(0,t.jsx)(E.default,{display:R})]})}):(0,t.jsx)(E.default,{display:O})]})})},Y={updateMagazineTaxonomy:e=>T(e),setMagazineLayout:(e,t)=>N(e,t),updateMagazineDataSource:e=>k(e),setMagazineParentTab:e=>P(e),setMagazineChildTab:e=>L(e),updateMagazineTempDataSource:e=>I(e),clearMagazineTempDataSource:()=>j(),updatePaywallContent:e=>(0,G.updatePaywallContent)(e),updatePaywall3Roles:e=>(0,G.updatePaywall3Roles)(e)},z=e=>({magazine:e.magazine,user:e.user}),V=(0,S.connect)(z,Y)(W)},1564,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(91788),i=e.i(24671);e.i(48756);var r=e.i(49266),n=e.i(5223);e.i(35958);var s=e.i(84213);e.i(41871);var l=e.i(87612),o=e.i(70218),c=e.i(91567),d=e.i(3828);let u=({data:e,className:c})=>{let{title:u,section1:h,section2:f,section3:p,copyrightBottomText:m,accordionData:g,expandedCoverageNumber:b}=e,_=window.location.href,[y,x]=(0,a.useState)(!1),[v,A]=(0,a.useState)(!1),[w,E]=(0,a.useState)(!1),S=(0,d.useRouter)(),C=(0,a.useRef)(null),T=(0,l.useMediaQuery)("(max-width: 991px)"),N=(0,l.useMediaQuery)("(min-width: 768px) and (max-width: 991px)"),k=!0;g?.forEach(e=>{k=null!==e.title&&null!==e.content});let I=()=>N?C?.current?.clientHeight-8:T?C?.current?.clientHeight-2:C?.current?.clientHeight-20,j=()=>{let e=["floating-module-legacy"];return c&&e.push(c),e.join(" ")},P=()=>{let e=window.location.href;A(!1),e.includes("#isi")||x(!1)},L=()=>{A(!0),y&&_.includes("#isi")&&S.push({pathname:window.location.pathname},void 0,{shallow:!0}),x(!y)},O=(0,o.useOutsideClick)(P);(0,a.useEffect)(()=>{let e=document.querySelector("html");e&&y&&e.classList.add("hiddenScroll"),e&&!y&&e.classList.remove("hiddenScroll")},[y]);let{ref:D,inView:M,entry:R}=(0,i.useInView)({threshold:0});return(0,a.useEffect)(()=>{R&&(R.boundingClientRect.bottom<0?E(!0):E(!1))},[M]),(0,a.useEffect)(()=>{if(!v){let e=_.includes("#isi");y||x(e)}}),(0,t.jsxs)(t.Fragment,{children:[M&&!y||w?null:(0,t.jsxs)("div",{ref:O,style:{height:y?`${b||"75"}vh`:"196px"},className:"floating-module-legacy sticky show",children:[(0,t.jsx)("div",{ref:C,className:"header",children:(0,t.jsxs)("div",{className:`header-content floating-module-legacy-width ${y&&"floating-module-legacy-width-expand"}`,children:[(0,t.jsx)("div",{children:u}),(0,t.jsx)("div",{className:"header-icon-container",children:y?(0,t.jsx)(r.Icon,{iconName:"ChevronDown",className:"header-icon",onClick:L}):(0,t.jsx)(r.Icon,{iconName:"ChevronUp",className:"header-icon",onClick:L})})]})}),y?(0,t.jsxs)("div",{className:"text text-sticky sticky expanded floating-module-legacy-width floating-module-legacy-width-expand",style:{height:`calc(100% - ${I()}px)`},children:[h?.richText&&(0,t.jsx)("div",{className:"text-section1",children:(0,t.jsx)(n.RichText,{content:h?.richText})}),f?.richText&&(0,t.jsx)("div",{className:"text-section2",children:(0,t.jsx)(n.RichText,{content:f?.richText})}),(0,t.jsxs)("div",{className:"text-section-accordion",children:[p?.richText&&(0,t.jsx)(n.RichText,{content:p?.richText}),k&&(0,t.jsx)(s.Accordion,{accordionArray:g}),m&&(0,t.jsx)(n.RichText,{content:m})]})]}):(0,t.jsxs)("div",{className:"text text-sticky",children:[(0,t.jsxs)("div",{className:"text-2-columns floating-module-legacy-width",children:[h?.richText&&(0,t.jsx)("div",{className:"text-section1",children:(0,t.jsx)(n.RichText,{content:h?.richText})}),f?.richText&&(0,t.jsx)("div",{className:"text-section2",children:(0,t.jsx)(n.RichText,{content:f?.richText})})]}),(0,t.jsxs)("div",{className:"text-section-accordion floating-module-legacy-width",children:[p?.richText&&(0,t.jsx)(n.RichText,{content:p?.richText}),k&&(0,t.jsx)(s.Accordion,{accordionArray:g}),m&&(0,t.jsx)(n.RichText,{content:m})]})]})]}),(0,t.jsxs)("div",{className:j(),ref:D,children:[(0,t.jsx)("div",{className:"header",children:(0,t.jsx)("div",{className:"header-content floating-module-legacy-width floating-module-legacy-width--static",children:(0,t.jsx)("div",{children:u})})}),(0,t.jsxs)("div",{className:"text",children:[h?.richText&&(0,t.jsx)("div",{className:"text-section1 floating-module-legacy-width floating-module-legacy-width--static",children:(0,t.jsx)(n.RichText,{content:h?.richText})}),f?.richText&&(0,t.jsx)("div",{className:"text-section2 no-space",children:(0,t.jsx)("div",{className:"floating-module-legacy-width",children:(0,t.jsx)(n.RichText,{content:f?.richText})})}),(0,t.jsxs)("div",{className:"text-section-accordion floating-module-legacy-width floating-module-legacy-width--static",children:[p?.richText&&(0,t.jsx)(n.RichText,{content:p?.richText}),k&&(0,t.jsx)(s.Accordion,{accordionArray:g}),m&&(0,t.jsx)(n.RichText,{content:m})]})]})]})]})};u.propTypes={data:c.default.object};let h=u},38050,e=>{"use strict";e.s(["SmartImage",()=>t.default]);var t=e.i(79557)},74631,e=>{"use strict";e.s(["default",()=>s]);var t=e.i(91398),a=e.i(61576),i=e.i(75957);e.i(35958);var r=e.i(38050),n=e.i(44376);let s=e=>{let s,l,o,c,d=(0,a.c)(10),{videoBannerContent:u,videoBannerImage:h,internalLayout:f,reference:p}=e;d[0]!==f?(s=()=>{let e=[];return e.push("videoBanner"),f&&e.push("internal-layout"),e.join(" ")},d[0]=f,d[1]=s):s=d[1];let m=s();return d[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,i.default)(),d[2]=l):l=d[2],d[3]!==u||d[4]!==h?(o=h&&(0,t.jsxs)("div",{className:"videoBanner-wrapper",children:[(0,t.jsx)("div",{className:"videoBanner-image",children:(0,t.jsx)(r.SmartImage,{...h})}),u?(0,t.jsx)(n.default,{...u}):(0,t.jsx)(t.Fragment,{})]}),d[3]=u,d[4]=h,d[5]=o):o=d[5],d[6]!==p||d[7]!==m||d[8]!==o?(c=(0,t.jsx)("div",{className:m,dir:l,ref:p,children:o}),d[6]=p,d[7]=m,d[8]=o,d[9]=c):c=d[9],c}},92722,e=>{"use strict";e.s(["default",()=>C],92722);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(46198);e.i(48756);var n=e.i(17626),s=e.i(38233),l=e.i(75366),o=e.i(6271),c=e.i(66196);e.i(35958);var d=e.i(91814),u=e.i(74807),h=e.i(81577),f=e.i(15315),p=e.i(14802),m=e.i(3265),g=e.i(82036);let b=async e=>{if(!e)throw(0,h.consoleError)(`URL parameter is undefined in ${b.name}.`);let t=await (0,f.getApi)(e),a=t?.questions?.map(e=>({options:e?.options??[],correctAnswerIndex:e?.correct_answer_index??[],correct_message:e?.correct_message??[],incorrect_message:e?.incorrect_message??[],answer_type:e?.answer_type??null,question_flexible:(0,p.fetchTabContent)([e?.question_references])??null}));return{introPageContent:{introFlexibleDescriptionBlocks:(0,p.fetchTabContent)([t?.description_references])??null,introFlexibleBlocks:(0,p.fetchTabContent)([t?.introduction_references])??null,startQuizLabel:t?.start_quiz_cta_label??null},title:t?.quiz_qus_count_msg??null,questions:a??null,resultPageContent:{congrats_message:t?.quiz_result_message??[]},restartQuizLabel:t?.quiz_restart_cta_label??null,ctaPrevious:t?.previous_cta_label??null,ctaNext:t?.next_cta_label??null,ctaShowResult:t?.show_result_cta_label??null,ctaSubmit:t?.submit_cta_label??null,takeAnotherQuizBtnLabel:t?.another_quiz_cta?.title??null,takeAnotherQuizBtnLink:(0,m.filterURL)((0,g.default)(t,"another_quiz_cta.uri"))??"",linkExternal:t?.options?.attributes?.target?(0,m.isExternalLink)(t?.options?.attributes?.target):null,quiz_count_symbol:t?.quiz_count_symbol??null,message_type:t?.message_type??null,quiz_result_message:t?.quiz_result_message??[],pass_range_value:t?.quiz_pass_range??2}},_=b;var y=e.i(97268),x=e.i(92331),v=e.i(28134),A=e.i(75425),w=f,E=e.i(3828);let S=e=>{let i,r,n=(0,a.c)(6),{cardContent:s,children:l}=e;n[0]!==s?(i=async()=>{try{return{blocks:await (0,x.getAllFleixbleBlocksData)(s)}}catch(e){console.error("Intro content error",e)}},n[0]=s,n[1]=i):i=n[1];let{data:o,isLoading:c}=(0,u.default)(s,i);return n[2]!==l||n[3]!==o||n[4]!==c?(r=(0,t.jsx)(t.Fragment,{children:c?(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(y.default,{display:!0})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.default,{...o,isPaywall3Hidden:!0}),l]})}),n[2]=l,n[3]=o,n[4]=c,n[5]=r):r=n[5],r},C=e=>{let{url:a,submission_url:h,setIsMandatory:f,setActivityCompleted:p,activityId:m,isSandozAcademy:g=!1}=e,{data:b,isLoading:x}=(0,u.default)(a,async()=>{try{return await _(a)}catch(e){console.error("Error in fetching user quiz data")}}),[v,C]=(0,i.useState)(-1),[T,N]=(0,i.useState)(!1),[k,I]=(0,i.useState)([]),[j,P]=(0,i.useState)([]),[L,O]=(0,i.useState)(0),[D,M]=(0,i.useState)(!1),[R,F]=(0,i.useState)(null),B=!!(b?.message_type!=="simple"&&g),U=b?.message_type==="simple"&&!!g,H=e?.payload??{};(0,i.useEffect)(()=>{B&&f&&f(!0)},[B,b,R]),(0,i.useEffect)(()=>{U&&f&&f(!0)},[U,b]),(0,i.useEffect)(()=>{T||F(null)},[T]),(0,i.useEffect)(()=>{Y(),C(-1),I(Array(b?.questions?.length).fill([])),P(Array(b?.questions?.length).fill(!1)),N(!1),O(0)},[m]);let $=b?.questions?.length,G=(0,i.useRef)(null);(0,i.useEffect)(()=>{b?.questions&&(I(Array(b.questions.length).fill([])),P(Array(b.questions.length).fill(!1)))},[b?.questions]);let W=()=>{C(0),Y()},Y=()=>{setTimeout(()=>{G.current?.scrollIntoView({behavior:"smooth",block:"center",inline:"start"})},A.default.FIVE*A.default.HUNDRED)},z=async()=>
82{if(j[v])if(v<b?.questions?.length-1)C(e=>e+1);else{if(B){let e={course_id:H?.cid,module_id:H?.mid,activity_id:H?.aid,score:L},t=await (0,w.postApi)(h||a?.split("?")?.[0],e);t&&(F(t?.message),t?.quiz_result&&(M(!0),p&&p(!0),E.default.reload()))}else if(U){let e={course_id:H?.cid,module_id:H?.mid,activity_id:H?.aid,score:L},t=await (0,w.postApi)(h||a?.split("?")?.[0],e);t?.quiz_result===null&&(M(!0),p&&p(!0),E.default.reload())}N(!0)}Y()},V=()=>{v>0&&C(e=>e-1),Y()},K=e=>{if(!j[v]){let t=[...k];b?.questions[v]?.answer_type==="multiple"?t[v]=t[v].includes(e)?t[v].filter(t=>t!==e):[...t[v],e]:t[v]=[e],I(t)}},q=()=>{if(!j[v]){let e=[...j];e[v]=!0,P(e);let t=b?.questions[v]?.correctAnswerIndex,a=k[v];t.every(e=>a.includes(e))&&t.length===a.length&&O(e=>e+1)}},Q=()=>{Y(),C(0),I(Array(b?.questions?.length).fill([])),P(Array(b?.questions?.length).fill(!1)),N(!1),O(0)},Z=({content:e})=>{let a=b?.questions[v]?.answer_type;return e.map((e,i)=>{let n=b?.questions[v]?.correctAnswerIndex.includes(i),s=k[v].includes(i),o=j[v];return"multiple"===a?(0,t.jsxs)("div",{className:`user-quiz-checkBox ${!s&&o?"submitted":""}`,children:[(0,t.jsx)(l.CheckBox,{className:o?n?"user-quiz-correct":s?"user-quiz-incorrect":"":"",id:`${i}`,name:i.toString(),value:e,label:e,isChecked:s,onChange:()=>K(i)}),o&&(0,t.jsx)("span",{className:s?n?"user-quiz-checkbox-correct":"user-quiz-checkbox-incorrect":n?"user-quiz-checkbox-correct":"",children:s?n?b?.questions[v]?.correct_message[i]:b?.questions[v]?.incorrect_message[0]:n?b?.questions[v]?.correct_message[i]:""})]},i):(0,t.jsxs)("div",{className:`user-quiz-radioButton ${!s&&o?"submitted":""}`,children:[(0,t.jsx)(r.default,{id:`${i}`,name:i.toString(),value:e,label:e,isChecked:s,onChange:()=>K(i)}),j[v]&&(0,t.jsx)("span",{className:s?n?"user-quiz-correct":"user-quiz-incorrect":n?"user-quiz-correct":"",children:s?n?b?.questions[v]?.correct_message[0]:b?.questions[v]?.incorrect_message[0]:n?b?.questions[v]?.correct_message[0]:""})]},i)})};if(x)return(0,t.jsx)(y.default,{display:!0});let X=()=>{try{let e=`${L}${b?.quiz_count_symbol}${b?.questions.length}`;if(b?.message_type==="simple")return b?.quiz_result_message[0].replace("@quiz_result",e);if(b?.message_type==="range"||b?.message_type==="percentage"){if(R)return R;let t=L/$*A.default.HUNDRED,a=(t=parseFloat(t.toFixed(2)))%1==0?t.toFixed(0):t.toFixed(2),i=b?.quiz_result_message?.find(e=>{let a=parseInt(e.min_score),i=parseInt(e.max_score),r=b?.message_type==="range"?L:t;return r>=a&&r<=i});if(!i)return"No matching result message found.";{let t=b?.message_type==="percentage"?a:e;return i.message.replace("@quiz_result",`${t}`)}}}catch(e){return console.error("Error in getResultMessage:",e),"An error occurred while generating the result message."}},J=()=>(0,t.jsx)(t.Fragment,{children:!x&&(0,t.jsx)(S,{cardContent:b?.introPageContent?.introFlexibleDescriptionBlocks})});return(0,t.jsx)("div",{className:"user-quiz",children:(0,t.jsx)(o.Container,{children:(0,t.jsx)(c.Row,{className:"user-quiz-questions-wrapper",children:T?(0,t.jsxs)(t.Fragment,{children:[b?.introPageContent&&(0,t.jsx)("div",{className:"user-quiz-intro",children:J()}),(0,t.jsx)("div",{className:"user-quiz-score",children:b?.resultPageContent&&(0,t.jsx)("h1",{className:"bold user-quiz-score",ref:G,children:X()})}),(0,t.jsx)("div",{className:"user-quiz-actions",children:(0,t.jsxs)(d.ButtonGroup,{className:"user-quiz-results-button",children:[b?.restartQuizLabel&&!D?(0,t.jsx)(s.Button,{onClick:Q,tabindex:0,children:b?.restartQuizLabel}):(0,t.jsx)(t.Fragment,{}),b?.takeAnotherQuizBtnLabel?(0,t.jsx)(n.AnchorButton,{href:b?.takeAnotherQuizBtnLink,tabindex:0,isExternal:b?.linkExternal,children:b?.takeAnotherQuizBtnLabel}):(0,t.jsx)(t.Fragment,{})]})})]}):(0,t.jsxs)(t.Fragment,{children:[b?.introPageContent&&(0,t.jsxs)("div",{className:"user-quiz-intro",children:[J(),-1===v&&(0,t.jsx)("div",{children:!x&&(0,t.jsx)(S,{cardContent:b?.introPageContent?.introFlexibleBlocks,children:(0,t.jsx)("div",{className:"user-quiz-start-btn",children:(0,t.jsx)(s.Button,{onClick:W,tabindex:0,children:b?.introPageContent?.startQuizLabel})})})})]}),v>=0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"user-quiz-title bold",ref:G,children:b?.title?.replace("@qus_count",`${v+1}${b?.quiz_count_symbol}${$}`)}),(0,t.jsxs)(S,{cardContent:b?.questions[v]?.question_flexible,children:[(0,t.jsx)(Z,{content:b?.questions[v]?.options}),(0,t.jsx)("div",{className:"user-quiz-navigation",children:(0,t.jsxs)(d.ButtonGroup,{className:"user-quiz-navigation-button",children:[v>0?(0,t.jsx)(s.Button,{onClick:V,tabindex:0,children:b?.ctaPrevious}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(s.Button,{isDisabled:0===k[v].length||j[v],onClick:q,tabindex:0,children:b?.ctaSubmit}),(0,t.jsx)(s.Button,{isDisabled:!j[v],onClick:z,tabindex:0,children:v<b?.questions.length-1?b?.ctaNext:b?.ctaShowResult})]})})]})]})]})})})})}},35566,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(38233),n=e.i(6271),s=e.i(5223),l=e.i(89861),o=e.i(3828);let c=e=>{let c,d,u,h,f,p,m,g,b,_,y=(0,a.c)(24),{fieldTitle:x,fieldSubtitle:v,sectionTitle:A,webFormData:w}=e,[E,S]=(0,i.useState)(null);y[0]!==E?(c=e=>{null!==E&&(sessionStorage.setItem("pin_protection_for",JSON.stringify(E)),o.default.push(e))},y[0]=E,y[1]=c):c=y[1];let C=c;return y[2]!==x?(d=x&&(0,t.jsx)(s.RichText,{className:"field-title bold",content:x}),y[2]=x,y[3]=d):d=y[3],y[4]!==v?(u=v&&(0,t.jsx)(s.RichText,{className:"field-subtitle-paragraph",content:v}),y[4]=v,y[5]=u):u=y[5],y[6]!==d||y[7]!==u?(h=(0,t.jsxs)("div",{className:"field-section",children:[d,u]}
82),y[6]=d,y[7]=u,y[8]=h):h=y[8],y[9]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("div",{className:"vl"}),y[9]=f):f=y[9],y[10]!==A?(p=A&&(0,t.jsx)(s.RichText,{className:"section-title-paragraph",content:A}),y[10]=A,y[11]=p):p=y[11],y[12]!==C||y[13]!==E||y[14]!==w?(m=w?.map((e,a)=>{let{id:i,buttonLabels:n,webFormContent:s,redirectionUrl:o}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Button,{className:"patient-button",tabindex:a,onClick:()=>S(e=>e===i?null:i),children:n},i),i===E&&(0,t.jsx)("div",{className:"patient-webform",children:(0,t.jsx)(l.default,{...s,handleOnSubmit:()=>C(o),scrollToEle:"message-box"})},i)]})}),y[12]=C,y[13]=E,y[14]=w,y[15]=m):m=y[15],y[16]!==m?(g=(0,t.jsx)("div",{className:"button-container",children:m}),y[16]=m,y[17]=g):g=y[17],y[18]!==p||y[19]!==g?(b=(0,t.jsxs)("div",{className:"role-section",children:[f,p,g]}),y[18]=p,y[19]=g,y[20]=b):b=y[20],y[21]!==h||y[22]!==b?(_=(0,t.jsx)(n.Container,{children:(0,t.jsxs)("div",{className:"pin-protection",id:"pin-protection",children:[h,b]})}),y[21]=h,y[22]=b,y[23]=_):_=y[23],_}},34255,e=>{"use strict";e.s(["default",()=>F],34255);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(55439);e.i(41871);var r=e.i(87612),n=e.i(22183);e.i(35958);var s=e.i(886),l=e.i(68244),o=e.i(3828),c=e.i(99523),d=e.i(15315),u=e.i(97268),h=e.i(75425),f=e.i(65560),p=e.i(22276),m=e.i(22740);let g=e=>v({type:m.ADD_UPDATE_INTERFACE_SEARCH,interfaceFilters:e}),b=e=>v({type:m.UPDATE_INTERFACE_PAGE_NUMBER,currentPage:e}),_=e=>v({type:m.UPDATE_INTERFACE_SEARCH_TEXT,searchText:e}),y=(e,t,a,i)=>v({type:m.UPDATE_ALL_INTERFACE_SEARCH,interfaceFilters:e,currentPage:t,searchText:a,sort:i}),x=e=>v({type:m.UPDATE_INTERFACE_SORT,sort:e}),v=e=>t=>{t(e)};var A=d,w=e.i(81577),E=e.i(82036);let S=e=>Object?.entries(e).map(([e,t])=>({id:e,value:t,label:t??""})),C=async e=>e?{searchLabel:(0,E.default)(e?.filterConfig,"search_box_title"),searchPlaceholder:(0,E.default)(e?.filterConfig,"search_box_placeholder"),channelLabel:(0,E.default)(e?.filterLabels,"channel"),channelPlaceholderText:(0,E.default)(e?.filterConfig,"select_option_text"),attributesLabel:(0,E.default)(e?.filterLabels,"attributes"),attributesPlaceholderText:(0,E.default)(e?.filterConfig,"select_option_text"),searchCTALabel:(0,E.default)(e?.filterConfig,"search_button_label"),sentEmailLabel:(0,E.default)(e?.filterLabels,"sent_email"),startDateLabel:(0,E.default)(e?.filterLabels,"start_date"),endDateLabel:(0,E.default)(e?.filterLabels,"end_date"),clearLabel:(0,E.default)(e?.filterConfig,"clear_all_filters"),countryLabel:(0,E.default)(e?.filterLabels,"country"),tableColumns:[`${(0,E.default)(e?.filterLabels,"record_number")}`,`${(0,E.default)(e?.filterLabels,"channel")}`,`${(0,E.default)(e?.filterLabels,"country")}`,`${(0,E.default)(e?.filterLabels,"attributes")}`,`${(0,E.default)(e?.filterLabels,"sent_email")}`,`${(0,E.default)(e?.filterLabels,"created")}`],resultsLabel:(0,E.default)(e?.filterConfig,"showing_results"),noResultsLabel:(0,E.default)(e?.filterConfig,"no_results_found"),dropdownPlaceHolder:(0,E.default)(e?.filterConfig,"select_option_text")}:{searchLabel:"",searchPlaceholder:"",channelLabel:"",channelPlaceholderText:"",attributesLabel:"",attributesPlaceholderText:"",searchCTALabel:"",sentEmailLabel:"",startDateLabel:"",endDateLabel:"",clearLabel:"",tableColumns:[],resultsLabel:"",noResultsLabel:"",paginationCount:0,dropdownPlaceHolder:"",countryLabel:""},T=async e=>e?{searchLabel:(0,E.default)(e?.filterConfig,"search_box_title"),searchPlaceholder:(0,E.default)(e?.filterConfig,"search_box_placeholder"),channelLabel:(0,E.default)(e?.filterLabels,"channel"),channelPlaceholderText:(0,E.default)(e?.filterConfig,"select_option_text"),searchCTALabel:(0,E.default)(e?.filterConfig,"search_button_label"),sentEmailLabel:(0,E.default)(e?.filterLabels,"sent_email"),startDateLabel:(0,E.default)(e?.filterLabels,"start_date"),endDateLabel:(0,E.default)(e?.filterLabels,"end_date"),clearLabel:(0,E.default)(e?.filterConfig,"clear_all_filters"),countryLabel:(0,E.default)(e?.filterLabels,"country"),tableColumns:[`${(0,E.default)(e?.filterLabels,"record_number")}`,`${(0,E.default)(e?.filterLabels,"channel")}`,`${(0,E.default)(e?.filterLabels,"country")}`,`${(0,E.default)(e?.filterLabels,"sent_email")}`,`${(0,E.default)(e?.filterLabels,"created")}`],resultsLabel:(0,E.default)(e?.filterConfig,"showing_results"),noResultsLabel:(0,E.default)(e?.filterConfig,"no_results_found"),dropdownPlaceHolder:(0,E.default)(e?.filterConfig,"select_option_text")}:{searchLabel:"",searchPlaceholder:"",channelLabel:"",channelPlaceholderText:"",searchCTALabel:"",sentEmailLabel:"",startDateLabel:"",endDateLabel:"",clearLabel:"",tableColumns:[],resultsLabel:"",noResultsLabel:"",paginationCount:0,dropdownPlaceHolder:"",countryLabel:""},N=(e,t)=>e?.map(e=>({recordNumber:{title:"",desc:e?.attributes?.serial??"",type:"text",link:""},channel:{title:"",link:"",desc:e?.attributes?.submission_data?.channel??"",type:"text"},country:{title:"",link:"",desc:e?.attributes?.submission_data?.country??"",type:"text"},attributes:{title:"",link:"",desc:e?.attributes?.submission_data?.attributes??"",type:"text"},sentToEmailAddress:{title:"",link:"",desc:e?.attributes?.submission_data?.email??"",type:"text"},dateOfSubmission:{title:"",link:"",type:"date",desc:e?.attributes?.created??"",isNotCareerSearch:!0}}))??{},k=(e,t)=>e?.map(e=>({recordNumber:{title:"",desc:e?.attributes?.serial??"",type:"text",link:""},channel:{title:"",link:"",desc:e?.attributes?.submission_data?.soi_2_channel??"",type:"text"},country:{title:"",link:"",desc:e?.attributes?.submission_data?.soi_2_country??"",type:"text"},sentToEmailAddress:{title:"",link:"",desc:e?.attributes?.submission_data?.soi_2_email??"",type:"text"},dateOfSubmission:{title:"",link:"",type:"date",desc:e?.attributes?.created??"",isNotCareerSearch:!0}}))??{},I=e=>e.sort((e,t)=>
82e.label.localeCompare(t.label)),j=async e=>{if(!e)throw(0,w.consoleError)(`Url parameter is undefined in ${j.name}.`);return await (0,A.getApi)(e,!1)};var P=e.i(41764),L=e.i(74807),O=e.i(49125);let D=e=>{let{interfacetSearchFilterData:m}=e,{interfaceFilters:g,currentPage:b,searchText:_,sort:y}=m,[x,v]=(0,a.useState)(""),[A,w]=(0,a.useState)(!0),[E,D]=(0,a.useState)({value:"",order:0}),[M,R]=(0,a.useState)([]),[F,B]=(0,a.useState)([]),[U,H]=(0,a.useState)({}),[$,G]=(0,a.useState)(0),[W,Y]=(0,a.useState)(g),[z,V]=(0,a.useState)(0),[K,q]=(0,a.useState)(""),[Q,Z]=(0,a.useState)(""),X=(0,r.useMediaQuery)("(max-width: 991px)"),J=(0,o.useRouter)(),ee=E?F:M,{lang:et}=(0,d.getApiDomainAndLang)(),ea=async e=>(await (0,d.middlewareGETAPI)(e)).response,{data:ei,isLoading:er}=(0,L.default)(e?.blockUrl,async()=>{try{return await ea(e?.blockUrl)}catch(e){}}),en=(0,p.useDispatch)(),es=(0,a.useCallback)(t=>{e.addUpdateInterfaceSearch(t)},[en]),el=(0,a.useCallback)(t=>e.updateInterfacePagination(t),[en]),eo=(0,a.useCallback)(t=>e.updateInterfaceSearchText(t),[en]),ec=(0,a.useCallback)((t,a,i,r)=>e.updateAllInterfaceSearch(t,a,i,r),[en]),ed=(0,a.useCallback)(t=>e.updateInterfaceSort(t),[en]),eu=(e,t)=>(e?e.split(","):[]).includes(t),eh=()=>{let e=g?.filter(e=>e?.filterName==="field_start_date")?.[0]?.value,t=g?.filter(e=>e?.filterName==="field_end_date")?.[0]?.value,a=(e,t)=>{let a=new Date(e);return t===P.ARITHMETIC_KEYS.ADDITION?a.setFullYear(a.getFullYear()+100):a.setFullYear(a.getFullYear()-100),(0,c.default)(a,!0).locale(et).format(P.DATE_FORMATS.YYYY_MM_DD)};if(e)if(t)return`&views-filter[created][min]=${(0,c.default)(e).format(P.DATE_FORMATS.YYYY_MM_DD)}&views-filter[created][max]=${(0,c.default)(t).format(P.DATE_FORMATS.YYYY_MM_DD)}`;else return`&views-filter[created][min]=${(0,c.default)(e).format(P.DATE_FORMATS.YYYY_MM_DD)}&views-filter[created][max]=${a(e,P.ARITHMETIC_KEYS.ADDITION)}`;return t?`&views-filter[created][min]=${a(t,P.ARITHMETIC_KEYS.SUBSTRACTION)}&views-filter[created][max]=${(0,c.default)(t).format(P.DATE_FORMATS.YYYY_MM_DD)}`:""},ef=(e,t)=>{let a=g?.filter(e=>e?.filterName===t)?.[0]?.selectOptions?.options?.filter(e=>!!e?.isSelected),i=a?.length?a?.map((a,i)=>{let r=a?.id;return"field_sent_email"!==t?`&views-filter[${e}][${i}]=${r?encodeURIComponent(r):r}`:`&views-filter[${e}]=${r}`}):[];return i?.length?i?.join(""):""};(0,a.useEffect)(()=>{if(!ei)return;let t=async()=>{let e=S(ei?.filterValues?.channel),t=S(ei?.filterValues?.country),a=S(ei?.filterValues?.attributes),i=S(ei.filterValues?.sent_to_email_add),r=await C(ei),n={searchLabel:r.searchLabel,searchPlaceholder:r.searchPlaceholder,SearchCTAText:r.searchCTALabel,unselectFiltersCTA:r.clearLabel,resultsFoundLabel:r.resultsLabel,noResultsFoundLabel:r.noResultsLabel},s=[{label:r.channelLabel,filterName:"field_channel",selectOptions:{isCleared:!0,isMulti:!0,options:I(e),ariaLabel:"Select Element",name:"select",placeHolder:r?.dropdownPlaceHolder||""}},{label:r.countryLabel,filterName:"field_country",selectOptions:{isCleared:!0,isMulti:!0,options:I(t),ariaLabel:"Select Element",name:"select",placeHolder:r?.dropdownPlaceHolder||""}},{label:r.attributesLabel,filterName:"field_attributes",selectOptions:{isCleared:!0,isMulti:!0,options:I(a),ariaLabel:"Select Element",name:"select",placeHolder:r?.dropdownPlaceHolder||""}},{label:r.sentEmailLabel,filterName:"field_sent_email",selectOptions:{isCleared:!0,isMulti:!1,options:I(i),ariaLabel:r.sentEmailLabel,name:"select",placeHolder:r?.dropdownPlaceHolder||""}}],l={label:r?.startDateLabel,placeHolderTxt:r?.dropdownPlaceHolder,filterName:"field_start_date",value:"",selectOptions:{isCleared:!0,isMulti:!1,options:[],ariaLabel:"",name:"",placeHolder:""}},o={label:r.endDateLabel,placeHolderTxt:r?.dropdownPlaceHolder,filterName:"field_end_date",value:"",selectOptions:{isCleared:!0,isMulti:!1,options:[],ariaLabel:"",name:"",placeHolder:""}};r?.startDateLabel&&s.push(l),r?.endDateLabel&&s.push(o);let c=(e=>{let t={};return Object.entries({recordNumber:"0",channel:"1",country:"2",attributes:"3",sentToEmailAddress:"4",dateOfSubmission:"5"}
82).forEach(([a,i])=>{t[a]=e[i]}),t})(r?.tableColumns),d={careerSearchContent:s,filtersLabels:n,displayConfig:{tableColumns:Object.values(r.tableColumns),resultsLabel:r.resultsLabel,noResultsLabel:r.noResultsLabel},tableColumns:c},u=J?.query,h=s?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(t=>({...t,isSelected:u?.[e?.filterName]&&!!eu(u?.[e?.filterName],t?.value?.toString())}))}})),f={column:u?.sort_field||"created",order:u?.sort_order||"DESC"};ec(h,Number(u?.page??0),u?.search||"",f),H(d)},a=async()=>{let e=S(ei?.filterValues?.channel),t=S(ei?.filterValues?.country),a=S(ei.filterValues?.sent_to_email_add),i=await T(ei),r={searchLabel:i.searchLabel,searchPlaceholder:i.searchPlaceholder,SearchCTAText:i.searchCTALabel,unselectFiltersCTA:i.clearLabel,resultsFoundLabel:i.resultsLabel,noResultsFoundLabel:i.noResultsLabel},n=[{label:i.channelLabel,filterName:"field_channel",selectOptions:{isCleared:!0,isMulti:!0,options:I(e),ariaLabel:"Select Element",name:"select",placeHolder:i?.dropdownPlaceHolder||""}},{label:i.countryLabel,filterName:"field_country",selectOptions:{isCleared:!0,isMulti:!0,options:I(t),ariaLabel:"Select Element",name:"select",placeHolder:i?.dropdownPlaceHolder||""}},{label:i.sentEmailLabel,filterName:"field_sent_email",selectOptions:{isCleared:!0,isMulti:!1,options:I(a),ariaLabel:i.sentEmailLabel,name:"select",placeHolder:i?.dropdownPlaceHolder||""}}],s={label:i?.startDateLabel,placeHolderTxt:i?.dropdownPlaceHolder,filterName:"field_start_date",value:"",selectOptions:{isCleared:!0,isMulti:!1,options:[],ariaLabel:"",name:"",placeHolder:""}},l={label:i.endDateLabel,placeHolderTxt:i?.dropdownPlaceHolder,filterName:"field_end_date",value:"",selectOptions:{isCleared:!0,isMulti:!1,options:[],ariaLabel:"",name:"",placeHolder:""}};i?.startDateLabel&&n.push(s),i?.endDateLabel&&n.push(l);let o=(e=>{let t={};return Object.entries({recordNumber:"0",channel:"1",country:"2",sentToEmailAddress:"3",dateOfSubmission:"4"}).forEach(([a,i])=>{t[a]=e[i]}),t})(i?.tableColumns),c={careerSearchContent:n,filtersLabels:r,displayConfig:{tableColumns:Object.values(i.tableColumns),resultsLabel:i.resultsLabel,noResultsLabel:i.noResultsLabel},tableColumns:o},d=J?.query,u=n?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(t=>({...t,isSelected:d?.[e?.filterName]&&!!eu(d?.[e?.filterName],t?.value?.toString())}))}})),h={column:d?.sort_field||"created",order:d?.sort_order||"DESC"};ec(u,Number(d?.page??0),d?.search||"",h),H(c)};e?.type==="sendout_interface_one"?t():a()},[ei]),(0,a.useEffect)(()=>{let t=async()=>{let t,a=`?views-sort[sort_by]=${y?.column}&views-sort[sort_order]=${y?.order}`,i=_?`&views-filter[combine]=${_}`:"",r=e?.type==="sendout_interface_one"?`${eh()}${ef("country","field_country")}${ef("channel","field_channel")}${ef("attributes","field_attributes")}${ef("email","field_sent_email")}${i}`:`${eh()}${ef("country","field_country")}${ef("channel","field_channel")}${ef("email","field_sent_email")}${i}`;try{if(M?.length||F?.length||r){let r=e?.type==="sendout_interface_one"?"jsonapi/views/pim_sendout_interface_one_submissions/submission":"jsonapi/views/pim_sendout_interface_two_submissions/submission";t=e?.type==="sendout_interface_one"?`${r}${a}${eh()}${ef("country","field_country")}${ef("channel","field_channel")}${ef("attributes","field_attributes")}${ef("email","field_sent_email")}${i}&page=${b}`:`${r}${a}${eh()}${ef("country","field_country")}${ef("channel","field_channel")}${ef("email","field_sent_email")}${i}&page=${b}`}else t=e?.type==="sendout_interface_one"?`jsonapi/views/pim_sendout_interface_one_submissions/submission?views-sort[sort_by]=created&views-sort[sort_order]=${y?.order}&page=${b}`:`jsonapi/views/pim_sendout_interface_two_submissions/submission?views-sort[sort_by]=created&views-sort[sort_order]=${y?.order}&page=${b}`;let{data:n,meta:s,number_of_items_per_page:l}=await j(t);if(n?.length){w(!1);let t=e?.type==="sendout_interface_one"?N(n,ei?.filterLabels):k(n,ei?.filterLabels);R(t),B(t),V(Number(l)??0),G(s?.count||0)}else w(!1),R([]),B([]),V(0),G(0)}catch(e){console.error(e)}};er||(w(!0),t())},[er,g,_,y,b]);let ep=e=>{eo(e)},em=(e,t)=>
82{es(g?.map(a=>{if(a.filterName===e)if(!a?.placeHolderTxt)return{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>e.id===t?.id?{...e,isSelected:!1}:e)}};else return a?.filterName==="field_start_date"&&q(""),a?.filterName==="field_end_date"&&Z(""),{...a,value:""};return a}))},eg=e=>{y?.column===""?ed({column:P.COLUMN_KEYS[e],order:"ASC"}):y?.column&&y?.column===P.COLUMN_KEYS[e]?y?.order==="DESC"?ed({column:P.COLUMN_KEYS[e],order:"ASC"}):y?.order==="ASC"&&ed({column:P.COLUMN_KEYS[e],order:"DESC"}):ed({column:P.COLUMN_KEYS[e],order:"ASC"})},eb=e=>{y?.column===""||y?.column!==e?ed({column:e,order:y?.order}):ed({column:"created",order:y?.order})},e_=()=>{ed({column:y?.column,order:"ASC"===y.order?"DESC":"ASC"})},ey=(e,t)=>t.findIndex(t=>t.id===e.id)>-1,ex=(e,t)=>{if(X){let a=W?.map(a=>{if(a.filterName===e)if(!a?.placeHolderTxt)return{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:ey(e,t)}))}};else return a?.filterName==="field_start_date"&&q(t??""),a?.filterName==="field_end_date"&&Z(t??""),{...a,value:t?(0,c.default)(Date.parse(t)).locale(et).format(P.DATE_FORMATS.YYYY_MM_DDD):""};return a});Y(a),es(a)}else es(g?.map(a=>{if(a.filterName===e)if(!a?.placeHolderTxt)return{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:ey(e,t)}))}};else return a?.filterName==="field_start_date"&&q(t??""),a?.filterName==="field_end_date"&&Z(t??""),{...a,value:t?(0,c.default)(Date.parse(t)).locale(et).format(P.DATE_FORMATS.YYYY_MM_DDD):""};return a}))},ev=()=>{let e={};return g?.forEach(t=>{let a=(0,c.default)(Date.parse(t?.value)).locale(et).format(P.DATE_FORMATS.YYYY_MM_DDD);e[`${t.filterName}`]=t?.placeHolderTxt?t?.value?[{label:a,value:a}]:[]:t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e},eA=()=>{es(W)},ew=e=>{el(e/z)},eE=()=>{ec(g?.map(e=>e?.placeHolderTxt?("field_start_date"===e.filterName&&q(""),"field_end_date"===e.filterName&&Z(""),{...e,value:""}):{...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}}),0,_||""),R([]),B([]),w(!0),eo(""),v("")},eS=()=>{let e={};return W?.forEach(t=>{e[`${t.filterName}`]=t?.placeHolderTxt?t?.value?[{label:(0,c.default)(Date.parse(t?.value)).locale(et).format(P.DATE_FORMATS.YYYY_MM_DDD),value:(0,c.default)(Date.parse(t?.value)).locale(et).format(P.DATE_FORMATS.YYYY_MM_DDD)}]:[]:t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e},eC=e=>e>h.default.ZERO?U?.displayConfig?.resultsLabel.replace("@count_val",e.toString()):U?.displayConfig?.noResultsLabel,eT=()=>{Y(g)};return(0,t.jsx)(t.Fragment,{children:Object.keys(U).length?(0,t.jsxs)("div",{className:"interfaceSearch scroll-top",children:[(0,t.jsx)(f.default,{filtersOptions:U?.careerSearchContent,filterLabels:U.filtersLabels,handleSearch:ep,isCareerSearch:!0,handleUnselectAll:eE,handleAdditionalFilters:ex,selectedFilters:X?eS():ev(),applyAdditionalFilters:eA,currentSearchText:x,handleRemoveItem:em,handleSearchText:v,noOfResults:$,handleSortByKey:eb,handleSortByOrder:e_,sortList:U.tableColumns,selectedSortValue:y,resetLocalFilterWithReducer:eT,isDisabled:(0,O.default)(g,W),enableDatePicker:!0,startDate:K,endDate:Q}),!(X&&!M.length)&&(0,t.jsx)(i.Seperator,{className:"interfaceSearch-separator"}),A&&(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(u.default,{display:!0})}),!A&&(M.length?(0,t.jsxs)("div",{children:[(0,t.jsx)(n.default,{filterData:ee,columnsList:U?.displayConfig.tableColumns,tableColumns:U.tableColumns,handleSort:eg,sortValue:y,isNotCareerSearch:!0}),(0,t.jsx)("div",{className:"search-filter-pagination",children:$>z&&(0,t.jsx)("div",{className:"search-filter-pagination",children:(0,t.jsx)(s.Pagination,{itemsPerPage:z,itemsCount:$,onClick:ew,offSet:b})})})]}):(0,t.jsx)(l.TitleDescription,{title:eC(F.length)??"",description:U.displayConfig?.noResultsDesc?.value??"",searchKey:"",className:"interfaceSearch-no-result"}))]}):(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(u.default,{display:!0})})})},M={addUpdateInterfaceSearch:e=>g(e),updateInterfacePagination:e=>b(e),updateInterfaceSearchText:e=>_(e),updateAllInterfaceSearch:(e,t,a,i)=>y(e,t,a,i),updateInterfaceSort:e=>x(e)},R=e=>({interfacetSearchFilterData:e.interfaceReducer}),F=(0,p.connect)(R,M)(D)},85835,e=>{"use strict";e.s(["LanguageSwitcherPopup",()=>t.default]);var t=e.i(40702)},18414,e=>{"use strict";e.s(["default",()=>$],18414);var t=e.i(91398);e.i(48756);var a=e.i(45861),i=e.i(38233),r=e.i(6271),n=e.i(49266),s=e.i(70184),l=e.i(5223),o=e.i(55439),c=e.i(75425);e.i(41871);var d=e.i(87612),u=e.i(70218),h=e.i(63712),f=e.i(49720);e.i(35958);var p=e.i(37707),m=e.i(76988);e.i(62179);var g=e.i(85835),b=e.i(61105),_=e.i(33462),_=_,y=e.i(82054),x=e.i(15315),v=e.i(72094),A=e.i(10828),w=e.i(41282),E=e.i(82108),S=e.i(67552),C=e.i(62869),T=e.i(3828),N=e.i(91788),k=e.i(22276),I=e.i(20549),j=e.i(31808),P=e.i(21672),L=e.i(31407),O=e.i(17020),D=e.i(41764),M=e.i(43927),R=e.i(1803),F=e.i(58372),B=e.i(61601),U=e.i(82725);let H=e=>{switch(e){case"SEARCH":return"simplifiedMenuSearch";case"LOGIN":return"simplifiedMenuLogin";
82case"REGISTER":return"simplifiedMenuRegister";case"LANGUAGE":return"simplifiedMenuLanguage";case"SWITCH_VIEWS":return"simplifiedMenuView";default:return""}},$=({topSection:e,userData:$,languageList:G,megaMenu:W,loginPopup:Y,micrositeConfig:z,headerConfig:V,brandSwitcherData:K,floatingBanner:q,onFloatingBannerClose:Q})=>{let[Z,X]=(0,N.useState)(!1),[J,ee]=(0,N.useState)(!1),[et,ea]=(0,N.useState)(!1),[ei,er]=(0,N.useState)([]),en=(0,N.useRef)(null),{applicationConfiguration:es,applicationComponentsData:el}=(0,N.useContext)(y.default),eo=es?.siteConfig?es?.siteConfig?.language_switcher_title:null,ec=es?.siteConfig?es?.siteConfig?.language_switcher:null,ed=es?.siteConfig?es?.siteConfig?.Label_field:null,eu=es?.siteConfig?es?.siteConfig?.custom_url:null,eh=es?.siteConfig?es?.siteConfig?.login_register_enable:null,ef=es?.siteConfig?es?.siteConfig?.disable_search:null,ep=es?.siteConfig?es?.siteConfig?.search_label:null,em=es?.siteConfig?es?.siteConfig?.disable_megamenu:null,eg=es?.siteConfig?es?.siteConfig?.disable_cart:null,{floating_banner_is_sticky:eb,floating_banner_show_with_simplified_menu:e_}=es?.siteConfig,{handleLoginRedirection:ey,getCurrentAppId:ex,getUrlWithParams:ev,appendEncodedReturnUrl:eA}=(0,h.default)(es),[ew,eE]=(0,N.useState)(!1),eS=es?.headerConfiguration,eC=(0,k.useDispatch)(),[eT,eN]=(0,N.useState)(!1),[ek,eI]=(0,N.useState)(!1),[ej,eP]=(0,N.useState)(""),[eL,eO]=(0,N.useState)(!1),[eD,eM]=(0,N.useState)(!1),{clearUserSessionData:eR}=(0,f.default)(),[eF,eB]=(0,N.useState)(!1),[eU,eH]=(0,N.useState)(!1),[e$,eG]=(0,N.useState)(!1),[eW,eY]=(0,N.useState)(q?.display),ez=es?.siteConfig?.header_description?.value,eV=(0,k.useSelector)(e=>e.user,k.shallowEqual),eK=(0,k.useSelector)(e=>e.webshop),eq=(0,k.useSelector)(e=>e?.common),{session:eQ,csrf:eZ}=(0,k.useSelector)(e=>e.appSession),eX=(0,k.useSelector)(e=>e?.eshop?.EcommFlag),eJ=(0,T.useRouter)(),e0=(0,d.useMediaQuery)("(max-width: 767px)"),e1=(0,d.useMediaQuery)("(max-width: 991px)"),{isDataReady:e2,clientId:e3,...e4}=(0,M.default)(),e6=(0,R.usePreviousRoute)(),e5=(0,N.useRef)(null),e8=()=>{e5.current&&eG(e5.current.getBoundingClientRect().top<0)},e7=!1,e9=!1,te=()=>{eO(!1)},tt=(0,u.useOutsideClick)(te),ta=()=>{e7&&tP()},ti=!!es?.siteConfig?.webstore_enable_non_loggedin_users&&eK?.productsInCart?.length>0,tr=()=>{eJ.push("/order-materials/cart")},tn=()=>{e7=!0,ta()},ts=e=>{"Enter"===e.key&&tr()},tl=()=>{e9=!0,ta()},to=()=>{td=!0,th()},tc=!1,td=!1,tu=(0,u.useOutsideClick)(to),th=()=>{eB(!1),tc=!1,td=!1},tf=()=>{tc=!0,th()},tp=(0,u.useOutsideClick)(tf),tm=(0,u.useOutsideClick)(tn),tg=(0,u.useOutsideClick)(tl),tb=(0,N.useCallback)(e=>eC((0,P.resetRatings)(e)),[eC]),t_=(0,N.useCallback)(e=>eC((0,j.updateReloadContent)(e)),[eC]),ty=(0,N.useCallback)(()=>eC((0,F.clearSession)()),[eC]),tx=(0,N.useCallback)(e=>eC((0,j.setRefApplicationID)(e)),[eC]),tv=(0,N.useCallback)(e=>eC((0,I.resetUser)(e)),[eC]),tA=(0,N.useCallback)((e,t)=>eC((0,j.setUserStateGlobally)(e,t)),[eC]),tw=(0,k.useSelector)(e=>e?.eshop?.hcoUser);(0,N.useEffect)(()=>{tP(),X(!1),ee(!1),ea(!1),er([{title:ep,link:"",type:"SEARCH",link_type:!1},{title:e?.registerText,link:e?.registerLink,type:"REGISTER",link_type:!1},{title:e?.loginText,link:"",type:"LOGIN",link_type:!1},{title:eo,link:"",type:"LANGUAGE",link_type:!1},{title:ed,link:eu,type:"SWITCH_VIEWS",link_type:!1}])},[]),(0,N.useEffect)(()=>(window.addEventListener("scroll",e8),()=>window.removeEventListener("scroll",e8)),[]),(0,N.useEffect)(()=>{tP(),X(!1),ee(!1),ea(!1),eO(!1)},[eJ.query]);let tE=e=>{let t=e?.profile?.response?.profile,a=t?.records?.[0]?.FirstName,i=t?.records?.[0]?.LastName,r=a&&i?`${a} ${i}`:"";return{firstName:a,lastName:i,fullName:r}};(0,N.useEffect)(()=>{ek&&eV.isLoggedIn&&(!eV.isLoggedIn||eV.profile)&&(eP(`<p>${e.toastMessages.loginMessage} ${tE(eV).fullName}</p>`),setTimeout(()=>{eP(""),eI(!1)},5e3))},[ek,eV]);let tS={inputDataContent:{type:"primary",placeholder:"How can we help today?"},buttonText:"Search",handleTextSearch:(e,t)=>{t&&t.preventDefault(),e.length>0&&("/search"===eJ.pathname?eJ.push({pathname:"/search",query:{search:`${e}`}},void 0,{shallow:!0}):eJ.push({pathname:"/search",query:{search:`${e}`}}))}},tC=()=>{eB(e=>!e),(0,w.handleDataLayerNavigationHeader)("Language Switcher")},tT=(0,t.jsx)("div",{className:"menu-section-right",children:!eS?.isMegaMenuDisabled&&!V?.field_disable_megamenu&&(0,t.jsxs)("button",{className:"navbar-toggler collapsed mobile-close-icon",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarNav","aria-controls":"navbarNav","aria-expanded":!1,"aria-label":"Toggle navigation",ref:tg,onClick:()=>e7=!1,tabIndex:0,children:[!Z&&(0,t.jsx)(n.Icon,{iconName:"HamburgerIcon2",onClick:()=>{X(!0),ee(!1),ea(!1)},className:"hamburger-icon"}),Z&&(0,t.jsx)(n.Icon,{iconName:"simplifiedMenuCloseIcon",onClick:()=>X(!1)})]})}),tN=()=>{let e=es?.siteConfig?.cob_behalf_of_label,[a="",i=""]=e?.split("@cust"),r=e=>{let t=e?.trim(),a=new RegExp(/^[([{]/).exec(t),i=new RegExp(/[)\]}]$/).exec(t);return{opening:a?a[0]:"",closing:i?i[0]:"",content:t.replace(/^[([{]/,"").replace(/[)\]}]$/,"").trim()}},n=r(a),s=r(i);return(0,t.jsxs)("p",{className:"user-menu-cob-username",children:[n.opening&&(0,t.jsx)("span",{className:"behalf-bracket",children:n?.opening}),n.content&&(0,t.jsxs)("span",{className:"behalf-text",children:[n?.content," "]}),(0,t.jsx)("span",{className:"behalf-name",children:tw}),s.content&&(0,t.jsx)("span",{className:"behalf-text",children:s?.content}),s.closing&&(0,t.jsx)("span",{className:"behalf-bracket",children:s?.closing})]})},tk=r=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"switcher",children:[$?.loginStatus&&(0,t.jsxs)("div",{className:"user-menu-login cursor-default","aria-labelledby":"user-menu-login",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("h5",{className:"user-menu-greetings",id:"user-menu-login",children:e?.userMenuDetails?.user_menu_logged_in}),(0,t.jsx)("h5",{className:"user-menu-username",children:$?.name}),eX&&""!==tw&&tN()]}),r&&r?.length>0&&(0,t.jsxs)("ul",{className:"switcher-list",children:[r?.map((e,i)=>(0,t.jsxs)("div",{children:[e?.type==="REGISTER"&&eh&&!$?.loginStatus&&e?.title?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"switcher-dropdown",children:(0,t.jsx)(a.Anchor,{href:es?.isSandozIDEnabled?eA(e.link,"register"):e.link,tabindex:0,className:"switcher-dropdown-list",isExternal:e?.link_type??!1,icon:(0,t.jsx)(n.Icon,{iconName:H(e?.type)??""}),noUnderline:!0,dataLayerOnClick:()=>(0,w.handleDataLayerNavigationHeader)(e?.title),children:(0,t.jsx)("h5",{children:e?.title})})},i),(0,t.jsx)(o.Seperator,{className:"seperator","aria-hidden":"true"})]}):(0,t.jsx)(t.Fragment,{}),e?.type==="LOGIN"&&eh&&!$?.loginStatus&&e?.title?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"switcher-dropdown",children:(0,t.jsxs)("div",{className:"switcher-dropdown-list-button",onClick:()=>{ee(!1),es?.isSandozIDEnabled?ey():eE(!0),(0,w.handleDataLayerNavigationHeader)(e?.title)},role:"button",onKeyDown:t=>{tj(t),(0,w.handleDataLayerNavigationHeader)(e?.title)},tabIndex:0,children:[(0,t.jsx)("span",{className:"",children:(0,t.jsx)(n.Icon,{iconName:H(e?.type)})}),(0,t.jsx)("h5",{className:"login",children:e?.title})]})},i),(0,t.jsx)(o.Seperator,{className:"seperator","aria-hidden":"true"})]}):(0,t.jsx)(t.Fragment,{}),e?.type==="SEARCH"&&!ef&&e?.title?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"switcher-dropdown",children:(0,t.jsxs)("div",{className:"switcher-dropdown-list-button",onClick:tD,role:"button",onKeyDown:t=>{tj(t),(0,w.handleDataLayerNavigationHeader)(e?.title)},tabIndex:0,children:[(0,t.jsx)("span",{className:"",children:(0,t.jsx)(n.Icon,{iconName:H(e.type)??""})}),(0,t.jsx)("h5",{className:"login ",children:e?.title})]})},i),(0,t.jsx)(o.Seperator,{className:"seperator","aria-hidden":"true"})]}):(0,t.jsx)(t.Fragment,{}),e?.type==="SWITCH_VIEWS"&&e?.title?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"switcher-dropdown",children:(0,t.jsx)(a.Anchor,{href:e.link,tabindex:0,className:"switcher-dropdown-list",isExternal:e?.link_type??!1,icon:(0,t.jsx)(n.Icon,{iconName:H(e?.type)??""}),noUnderline:!0,dataLayerOnClick:()=>(0,w.handleDataLayerNavigationHeader)(e?.title),children:(0,t.jsx)("h5",{children:e?.title})})},i),(0,t.jsx)(o.Seperator,{className:"seperator","aria-hidden":"true"})]}):(0,t.jsx)(t.Fragment,{}),e?.type==="LANGUAGE"&&e?.title&&(ec&&!z?.isMicrositeEnabled||z?.isMicrositeEnabled&&z?.pageMenuLvl!=="0"&&V?.field_disable_country_switcher===!1)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"switcher-dropdown",children:(0,t.jsxs)("div",{className:"switcher-dropdown-list-button",onClick:()=>{ee(!1),tC()},role:"button",onKeyDown:t=>{tj(t),(0,w.handleDataLayerNavigationHeader)(e?.title)},tabIndex:0,children:[(0,t.jsx)("span",{className:"",children:(0,t.jsx)(n.Icon,{iconName:H(e?.type)})}),(0,t.jsx)("h5",{className:"login",children:e?.title})]})},i),(0,t.jsx)(o.Seperator,{className:"seperator","aria-hidden":"true"})]}):(0,t.jsx)(t.Fragment,{})]},i)),$?.loginStatus&&e?.userMenuDetails?.ctaMenuLink?.length&&e?.userMenuDetails?.ctaMenuLink.map((e,i)=>{if(e.title){let r=e.link;
82return e?.isGlobalLink?r=ev(e.link):e?.appendRedirectUrl&&(r=eA(e.link)),(0,t.jsxs)("div",{children:[(0,t.jsx)("li",{className:"switcher-dropdown",children:(0,t.jsx)(a.Anchor,{className:"switcher-dropdown-profile",href:r,tabindex:i+1,noUnderline:!0,isExternal:e.link_type,"aria-label":e.title,icon:(0,t.jsx)(n.Icon,{iconName:"simplifiedMenuProfile"}),children:(0,t.jsx)("h5",{className:"profile-option ",children:e.title})})}),(0,t.jsx)(o.Seperator,{className:"divider","aria-hidden":"true"})]},i)}return(0,t.jsx)(t.Fragment,{})}),eh&&$?.loginStatus?(0,t.jsx)("li",{className:"switcher-dropdown",children:(0,t.jsx)(i.Button,{className:"mb-0 logout-btn",tabindex:0,isSecondary:!1,onClick:tM,"aria-label":e?.userMenuDetails?.user_menu_logged_out,children:(0,t.jsx)("h5",{className:"user-menu-logoff",children:e?.userMenuDetails?.user_menu_logged_out})})}):(0,t.jsx)(t.Fragment,{})]})]}),(0,t.jsx)("div",{className:"dropdown-background",onClick:()=>ee(!1),"aria-hidden":"true"})]}),tI=e=>(0,t.jsxs)(t.Fragment,{children:[e&&e?.length>0&&(0,t.jsx)("ul",{className:"switcher",children:e?.map((e,i)=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"switcher-dropdown",children:e?.uri&&(0,t.jsx)(a.Anchor,{href:e?.uri,tabindex:0,className:"switcher-dropdown-list",isExternal:e?.link_type??!1,children:(0,t.jsx)("h5",{className:"profile-option",children:e?.title})})},i),(0,t.jsx)(o.Seperator,{className:"seperator"})]}))}),(0,t.jsx)("div",{className:"dropdown-background",onClick:()=>ea(!1),"aria-hidden":"true"})]}),tj=e=>{"Enter"===e.key&&eE(!ew)},tP=()=>{tg.current&&(tg.current.className="navbar-toggler collapsed"),tm.current&&(tm.current.className="collapse"),X(!1),ee(!1),e7=!1,e9=!1},tL=()=>{ee(!J),ea(!1),X(!1)},tO=()=>{ea(!et),ee(!1),X(!1)},tD=()=>{eO(!0),ee(!1)},tM=async()=>{if(ee(!1),eM(!0),localStorage.removeItem("Key"),(0,S.isDocCheckUser)(eV))ty(),tv({}),eR(),tA(!1,"");else{let e=es?.isSandozIDEnabled?v.config.onPrem.LOGOUT_API_URL_SANDOZ_ID:v.config.onPrem.LOGOUT_API_URL,t=es?.isSandozIDEnabled?{app_id:ex()}:{};try{eX&&(0,O.default)({session:eQ,csrf:eZ})}catch(e){console.error("E-shop logout failed, continuing with main logout",e)}let a=await (0,x.middlewarePostAPI)(e,t);if(ty(),tv({}),eR(),tA(!1,""),U.default.remove(B.COOKIE_KEYS.GQL_TOKEN),U.default.remove(B.COOKIE_KEYS.HCP_GQL_TOKEN),es?.isSandozIDEnabled&&a){let e=new URL(window.location.href);es?.isGlobalSite&&(tx(""),sessionStorage.setItem("redirection",JSON.stringify(0)),e=eq?.feUrl?new URL(`${window.location.protocol}//${eq.feUrl}`):e),e.searchParams.delete("t"),e.searchParams.delete("s"),e.searchParams.delete("status_code"),e.searchParams.delete("gql_token"),e.searchParams.delete("error_message");let{siteConfig:t}=es,a=!0;t&&"azure_logout_return_url_flag"in t&&(a=t?.azure_logout_return_url_flag!==c.default.ZERO);let i=es?.sandozLogoutUrl||"",r="";if(a)r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e.toString())}`;else if(i?.includes("post_logout_redirect_uri"))r=i;else{let e=window.location.origin;r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e)}`}r&&(window.location.href=r)}}eM(!1),t_(!1);let t=eV?.user?.response?.session_data?.user_data?.current_user?.name,a={user_id:(0,C.encodeString)(t)},i=e6&&`${window.location.origin}${e6}`,r=window.location.href,n={login_system:D.LOGIN_TYPES.SOLAR,eventType:A.EVENTS.LOGIN,...e4,interactionName:A.EVENTS.LOGIN,sessionStartDate:sessionStorage.getItem("loginDate"),sessionEndDate:new Date().toISOString(),user_id:(0,C.encodeString)(t),page_location:r,...i&&{page_referrer:i}};tA(!1,""),(0,E.dataLayerPush)(A.EVENTS.LOGOUT,a),(0,E.dataLayerPush)(A.EVENTS.LOGIN,n),sessionStorage.removeItem("loginDate"),eP(`<p>${e.toastMessages.logoutMessage}</p>`),setTimeout(()=>{eJ.push("/",void 0,{shallow:!0}).then(()=>eJ.reload())},1e4),setTimeout(()=>{eP("")},5e3);let s=JSON.parse(sessionStorage.getItem("feDomainData")),l=`${s}_disclaimerModal`;(0,S.removeSessionItem)(l)},tR=()=>(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,S.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})}),tF=()=>(0,t.jsx)("div",{className:"header-logo",children:(0,t.jsx)(a.Anchor,{tabindex:0,href:(0,S.getHomepageurl)(),dataLayerOnClick:()=>(0,w.handleDataLayerNavigationHeader)("logo"),className:"navbar-brand",children:(0,t.jsx)(s.Img,{src:e?.logo?.src,width:154,height:24,alt:e?.logo?.alt,type:"logo"})})}),tB=()=>{eH(!0)},tU=()=>{eH(!1)},tH=()=>(0,t.jsx)("ul",{className:"navbar-nav parent",children:W?.map((e,i)=>(0,t.jsxs)("li",{className:"header-list-item parent-list",onMouseEnter:tB,onMouseLeave:tU,children:[(0,t.jsx)("div",{className:"simplifiedMenu-header-menu",children:(0,t.jsxs)(a.Anchor,{className:"dropdown-item-parent",href:e?.link,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"true","data-bs-toggle":"dropdown",tabindex:0,dataLayerOnClick:()=>(0,w.handleDataLayerNavigationMenu)(e.title),children:[e?.title,e?.child?.length>0&&(0,t.jsx)(n.Icon,{iconName:"ChevronDown",width:16,height:16,className:"ChevronDown-icon"})]})}),e?.child?.length>0?(0,t.jsx)("ul",{className:"dropdown-main",children:e?.child?.map((e,i)=>(0,t.jsxs)("li",{className:"parent-list-child",children:[(0,t.jsx)(a.Anchor,{className:"dropdown-item",href:e?.link,tabindex:0,children:(0,t.jsx)("p",{className:"dropdown-item-text",children:e?.title})},i),(0,t.jsx)(o.Seperator,{className:"seperator"})]},i))}):(0,t.jsx)(t.Fragment,{})]},i))}),t$=()=>(0,t.jsx)("div",{className:"accordion accordionFlush",id:"accordionFlushHeaderMobile",children:W?.map((e,i)=>(0,t.jsxs)("div",{className:"accordion-item","data-theme-hover":e?.subTheme,children:[(0,t.jsx)("div",{className:"accordion-header",id:`flush-heading_${i}`,children:e?.child?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Anchor,{tabindex:0,noUnderline:!0,href:e.link,dataLayerOnClick:()=>(0,w.handleDataLayerNavigationMenu)(e?.title),children:e?.title}),(0,t.jsx)("button",{className:"accordion-button collapsed ",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${i}`,"aria-expanded":"false","aria-label":e?.title,"aria-controls":`flush-collapse_${i}`,children:(0,t.jsx)("p",{className:"menuIndicator",children:(0,t.jsx)(n.Icon,{iconName:"ChevronDown",width:24,height:24,className:"ml-2"})})})]}):(0,t.jsx)(a.Anchor,{tabindex:0,noUnderline:!0,href:e?.link,className:" collapsed menu-link",dataLayerOnClick:()=>(0,w.handleDataLayerNavigationMenu)(e?.title),children:e?.title})}),(0,t.jsx)("div",{id:`flush-collapse_${i}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${i}`,"data-bs-parent":"#accordionFlushHeaderMobile",children:(0,t.jsx)("div",{className:"accordion-body child",children:(0,t.jsxs)("div",{className:"accordion accordion-flush menu-child",id:`accordionFlush${i}`,children:[(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(a.Anchor,{tabindex:0,noUnderline:!0,href:e?.link,className:"accordion-button collapsed menu-link menu-head ",dataLayerOnClick:()=>(0,w.handleDataLayerNavigationMenu)(e?.title),children:e?.title})})}),e?.child?.map((r,n)=>(0,t.jsxs)("div",{className:"accordion-item","data-theme-hover":r?.subTheme,children:[(0,t.jsx)("div",{className:"accordion-header",id:`flush-heading_${i}${n}`,children:r?.subChild?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(a.Anchor,{href:r?.link,tabindex:0,noUnderline:!0,dataLayerOnClick:()=>(0,w.handleDataLayerNavigationMenu)(e?.title,r?.title),children:r?.title})}):(0,t.jsx)(a.Anchor,{href:r?.link,tabindex:0,noUnderline:!0,className:" collapsed menu-link",dataLayerOnClick:()=>(0,w.handleDataLayerNavigationMenu)(e?.title,r?.title),children:r?.title})}),(0,t.jsx)("div",{id:`flush-collapse_${i}${n}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${i}${n}`,"data-bs-parent":`#accordionFlush${i}`,children:(0,t.jsx)("div",{className:"accordion-body subchild",children:(0,t.jsx)("div",{className:"accordion accordion-flush menu-child ",id:`accordionFlush${i}${n}`,children:(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(a.Anchor,{href:r?.link,tabindex:0,noUnderline:!0,className:"accordion-button collapsed menu-link",dataLayerOnClick:()=>(0,w.handleDataLayerNavigationMenu)(e?.title,r?.title),children:r?.title})})})})})})]},n))]})})})]},i))}),tG=(0,N.useMemo)(()=>({floatingBanner:q,displayFloatingBanner:eW,setDisplayFloatingBanner:eY}),[eW]),tW=e=>{let t;return(t=(0,S.isDocCheckUser)(e)?es?.doccheck_user_name:tE(e)?.firstName,t?.length>3&&e0)?t?.slice(0,3)+"...":t};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(L.default.Provider,{value:tG,children:D.ENABLE_DISABLE_VALUE[e_]&&q?.display&&!1!==eW&&(0,t.jsx)("div",{ref:e5,children:(0,t.jsx)("div",{className:D.ENABLE_DISABLE_VALUE[eb]&&e$?"sticky-banner":"floatingBanner",children:(0,t.jsx)(p.FloatingBanner,{display:q.display,id:"floatingBannerId",onClose:Q,children:q.children})})})}),(0,t.jsxs)("header",{className:`header simplified-header ${e?.sticky_menu_enable?"sticky-header":""}`,children:[(0,t.jsx)(r.Container,{children:(0,t.jsxs)("div",{className:"simplifiedMenu-header ",children:[(0,t.jsx)("nav",{className:"navbar navbar-expand-lg navbar-light",children:(0,t.jsxs)("div",{className:`${W?.length>c.default?.THREE?"simplifiedMenu-header-main":"simplifiedMenu-header-mainmenu"}`,children:[(!eS?.isLogoDisabled&&!z?.isMicrositeEnabled||z?.isMicrositeEnabled&&el?.appComponents&&V?.field_disable_logo===!1)&&tF(),ez&&!(e1||e0)&&(0,t.jsx)(l.RichText,{className:"header-site-description",content:ez}),!(e1||e0)&&0===em&&W?.length?tH():(0,t.jsx)("div",{className:"simplifiedMenu-nomenu"}),(0,t.jsx)("div",{className:"ml-lg-auto ml-sm-0",children:(0,t.jsxs)("ul",{className:"simplifiedMenu-header-login",id:"login",children:[(0,t.jsx)("li",{className:"divider"}),(!eS?.isCartDisabled&&es?.isWebStoreEnabled&&!z?.isMicrositeEnabled||z?.isMicrositeEnabled&&!V?.field_disable_cart&&es?.isWebStoreEnabled)&&($?.loginStatus&&0===eg||ti&&0===eg)&&(0,t.jsx)("li",{className:"right-section cart
82-item",children:(0,t.jsxs)("div",{className:"",tabIndex:0,"aria-hidden":"true",onClick:tr,onKeyDown:ts,children:[(0,t.jsx)(n.Icon,{iconName:"cartIcon"}),eK?.productsInCart?.length>0&&(eK?.productsInCart?.length<10?(0,t.jsx)("span",{className:"item-count",children:eK?.productsInCart?.length}):(0,t.jsx)("span",{className:"item-count",children:`${c.default.TEN}+`}))]})}),!!eh&&(0,t.jsxs)("li",{children:[ei?.length&&(0,t.jsxs)("div",{className:"right-section",onClick:tL,"aria-expanded":!0,tabIndex:0,role:"button",children:[(0,t.jsx)("span",{className:"simplifiedMenu-header-login-profileIcon",children:(0,t.jsx)(n.Icon,{iconName:"simplifiedMenuProfileIcon"})}),$?.loginStatus?(0,t.jsx)("p",{className:"mb-lg-0 ms-auto simplifiedMenu-header-login-username",children:tW(eV)}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)("span",{className:"simplifiedMenu-header-login-chevronDown",children:(0,t.jsx)(n.Icon,{iconName:"simplifiedMenuChevronDown"})})]}),J&&!e1&&tk(ei)]}),z?.isMicrositeEnabled&&K?.options?.length&&z?.menuStructure==="two_level"&&z?.pageMenuLvl!=="0"&&z?.pageMenuLvl!=="1"&&V?.field_disable_brand_switcher===!1?(0,t.jsxs)("li",{children:[(0,t.jsxs)("div",{className:"right-section",onClick:tO,"aria-expanded":!0,tabIndex:0,role:"button",children:[(0,t.jsx)("span",{className:"simplifiedMenu-header-login-profileIcon",children:(0,t.jsx)(n.Icon,{iconName:"simplifiedMenuBrandSwitcherIcon"})}),(0,t.jsx)("span",{className:"simplifiedMenu-header-login-chevronDown",children:(0,t.jsx)(n.Icon,{iconName:"simplifiedMenuChevronDown"})})]}),et&&!e1&&tI(K?.options)]}):(0,t.jsx)(t.Fragment,{}),e1&&0===em&&W?.length!==0&&(0,t.jsx)("li",{children:tT})]})})]})}),ez&&e1&&(0,t.jsx)(l.RichText,{className:"header-site-description",content:ez}),e1&&Z?(0,t.jsx)("div",{className:"show",id:"navbarHeader",ref:en,children:t$()}):(0,t.jsx)(t.Fragment,{}),ei&&J&&e1&&tk(ei),K?.options&&et&&e1&&tI(K?.options)]})}),!ef&&eL?(0,t.jsx)("div",{ref:tt,className:"simplifiedHeader-search",children:(0,t.jsx)(_.default,{isTypeAhead:!0,searchContent:tS,className:"header-modal",showIconOnCTA:!0,setIsSearchOpen:eO,displayClose:!0})}):(0,t.jsx)(t.Fragment,{}),ec?(0,t.jsx)("div",{className:"simplifiedHeader-language-switcher",children:(0,t.jsx)("div",{className:"header-langswitcher-popup",ref:e0?tp:tu,children:(0,t.jsx)(g.LanguageSwitcherPopup,{...G,loading:!1,display:eF,setIsLangSwitcherActive:eB,displayClose:!0})})}):(0,t.jsx)(t.Fragment,{})]}),eS?.isLoginRegisterDisabled?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(b.LoginPopup,{showPopup:ew,id:"login-popup",form:Y?.form,bannerCTA:Y?.bannerCTA,handlePopupShow:e=>{tb({id:void 0}),eE(e)},handleForgotPasswordShow:e=>eN(e),popup:Y?.popup,loginConfirmation:()=>eI(!0)}),ej?(0,t.jsx)(m.Notification,{notificationType:"success",displayTxt:ej,onClose:()=>{eP("")}}):(0,t.jsx)(t.Fragment,{}),eD&&tR(),!ef&&eL&&e?.sticky_menu_enable?(0,t.jsx)("div",{ref:tt,className:"simplifiedHeader-search-nonsticky",children:(0,t.jsx)(_.default,{isTypeAhead:!0,searchContent:tS,className:"header-modal",showIconOnCTA:!0,setIsSearchOpen:eO,displayClose:!0})}):(0,t.jsx)(t.Fragment,{})]})}},69223,e=>{"use strict";var t=e.i(15315),a=e.i(81577);let i=async e=>{if(!e)throw(0,a.consoleError)(`URL parameter is undefined in ${i.name}.`);let r=await (0,t.getApi)(e);return{displayLabels:{startBtn:r?.attr?.start_btn_text||"",backBtn:r?.attr?.back_btn_text||""},treeData:r?.decision_tree?Object.values(r?.decision_tree)?.[0]:r?.decision_tree}},r=i;e.s(["default",0,r])},62730,e=>{"use strict";e.s(["default",()=>l],62730);var t=e.i(91398),a=e.i(61576),i=e.i(69223),r=e.i(74807),n=e.i(97268);e.i(35958);var s=e.i(96661),s=s;let l=e=>{let l,o,c=(0,a.c)(6),{url:d}=e;c[0]!==d?(l=async()=>{try{return await (0,i.default)(d)}catch(e){}},c[0]=d,c[1]=l):l=c[1];let{data:u,isLoading:h}=(0,r.default)(d,l);if(h){let e;return c[2]!==h?(e=(0,t.jsx)(n.default,{display:h}),c[2]=h,c[3]=e):e=c[3],e}return c[4]!==u?(o=u?(0,t.jsx)(s.default,{...u,depth:0}):(0,t.jsx)(t.Fragment,{}),c[4]=u,c[5]=o):o=c[5],o}},41775,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(91398),a=e.i(97268),i=e.i(92331),r=e.i(74807),n=e.i(53414),s=e.i(3828),l=e.i(91788),o=e.i(22276),c=e.i(84016);let d=e=>{let{tabHeadItems:c,tabContents:d}=e,[u,h]=(0,l.useState)([]),f=(0,o.useSelector)(e=>e.user),p=(0,o.useDispatch)(),m=(0,s.useRouter)(),g=m?.query?.tabchange,b=new 
82URL(window.location.href),_=(0,l.useCallback)(t=>e?.updateTab(t),[p]),y=(0,l.useCallback)(t=>e?.changeTab(t),[p]),x=(0,l.useCallback)(t=>e?.btnClickTabChange(t),[p]),v=(0,l.useCallback)(t=>e?.moduleId(t),[p]);(0,l.useEffect)(()=>{f?.isLoggedIn?y({tabSelected:!0}):g&&"true"===g&&(window.history.replaceState(null,"",`${b.pathname}`),y({tabSelected:!1}))},[f?.isLoggedIn]);let A=async e=>{try{let t=await Promise.all(await (0,i.getAllFleixbleBlocksData)(e?.blocks));return{...e,blocks:t}}catch(e){return console.error("content error",e),null}},w=async e=>{let t=[];for(let a=0;a<e.length;a++){let i=await A(e[a]);i&&t.push(i)}return t},{data:E,isLoading:S}=(0,r.default)(d,async()=>{let e=await w(d);return h(e),e});return((0,l.useEffect)(()=>{"true"===g&&c&&E&&(_({tabSelected:!0}),x({btnClickTabChanged:!0}))},[g,c,E]),S)?(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(a.default,{display:S})}):(0,t.jsx)(n.default,{activeTab:void 0,tabHeadItems:c,tabContents:E,isToggleTab:!0,updateTab:_,changeTab:y,btnClickTabChange:x,moduleSectionId:v},"course-tabs")},u={updateTab:e=>(0,c.updateTab)(e),changeTab:e=>(0,c.changeTab)(e),btnClickTabChange:e=>(0,c.btnClickTabChange)(e),moduleId:e=>(0,c.moduleId)(e)},h=e=>({academyCourseFilterData:e.academyCourseReducer}),f=(0,o.connect)(h,u)(d)},79978,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(38233),r=e.i(17419),n=e.i(49266),s=e.i(5223),l=e.i(41764);e.i(41871);var o=e.i(87612);e.i(35958);var c=e.i(35868),d=e.i(3828),u=e.i(22276),h=e.i(21672);let f=e=>{let f,m,g,b,_,y,x,v,A,w,E,S,C,T=(0,a.c)(48),{moduleHeading:N,title:k,trainingTime:I,desc:j,keyOpinion:P,ctaLink:L,ctaLabel:O,course_id:D,module_id:M,activity_id:R,enableStatus:F,completionStatusLabel:B,completionStatus:U,bookmarkContent:H,isMyCourses:$,isEnabled:G}=e,W=(0,u.useDispatch)();T[0]!==W?(f=e=>W((0,h.addRatings)(e)),T[0]=W,T[1]=f):f=T[1];let Y=f,z=(0,o.useMediaQuery)("(max-width: 767px)"),V=(0,d.useRouter)(),K=(0,u.useSelector)(p);T[2]!==R||T[3]!==D||T[4]!==$||T[5]!==M||T[6]!==V?(m=e=>{$?V.push(e):V.push(`${e}?cid=${D}&mid=${M}&aid=${R}`)},T[2]=R,T[3]=D,T[4]=$,T[5]=M,T[6]=V,T[7]=m):m=T[7];let q=m;T[8]!==M||T[9]!==Y?(g=e=>{Y({id:M,state:e})},T[8]=M,T[9]=Y,T[10]=g):g=T[10];let Q=g;return T[11]!==I?(b=I?(0,t.jsx)(r.Column,{desktop:10,tablet:10,mobile:10,children:(0,t.jsx)("p",{className:"modulesInfo-top-time",children:I})}):(0,t.jsx)(t.Fragment,{}),T[11]=I,T[12]=b):b=T[12],T[13]!==H||T[14]!==M||T[15]!==Q?(_=H?(0,t.jsx)(r.Column,{desktop:2,tablet:2,mobile:2,className:"modulesInfo-top-bookmark",children:(0,t.jsx)(c.BookmarkWithButton,{id:M,...H,bookmarkCallback:Q})}):(0,t.jsx)(t.Fragment,{}),T[13]=H,T[14]=M,T[15]=Q,T[16]=_):_=T[16],T[17]!==b||T[18]!==_?(y=(0,t.jsxs)("div",{className:"modulesInfo-top",children:[b,_]}),T[17]=b,T[18]=_,T[19]=y):y=T[19],T[20]!==N?(x=N?(0,t.jsx)("h1",{className:"modulesInfo-heading bold",children:N}):(0,t.jsx)(t.Fragment,{}),T[20]=N,T[21]=x):x=T[21],T[22]!==k?(v=k?(0,t.jsx)("h5",{className:"modulesInfo-title bold",children:k}):(0,t.jsx)(t.Fragment,{}),T[22]=k,T[23]=v):v=T[23],T[24]!==j?(A=j?(0,t.jsx)(s.RichText,{className:"modulesInfo-desc bold",content:j}):(0,t.jsx)(t.Fragment,{}),T[24]=j,T[25]=A):A=T[25],T[26]!==P?(w=P?(0,t.jsx)(s.RichText,{className:"modulesInfo-leader bold",content:P}):(0,t.jsx)(t.Fragment,{}),T[26]=P,T[27]=w):w=T[27],T[28]!==U||T[29]!==B||T[30]!==F?(E=F&&B?(0,t.jsx)("div",{className:"modulesInfo-status",children:(0,t.jsx)("p",{className:`modulesInfo-status-courseStatus ${l.COMPLETION_STATUS[U]}`,children:B})}):(0,t.jsx)(t.Fragment,{}),T[28]=U,T[29]=B,T[30]=F,T[31]=E):E=T[31],T[32]!==O||T[33]!==L||T[34]!==q||T[35]!==G||T[36]!==z||T[37]!==$||T[38]!==K?.module_need_to_complete?(S=O&&!z?(0,t.jsx)("div",{className:"modulesInfo-cta",children:(0,t.jsx)(i.Button,{tabindex:0,isSecondary:!0,icon:!!$&&(0,t.jsx)(n.Icon,{iconName:"ArrowForward1"}),iconPosition:"right",onClick:()=>q(L||""),isDisabled:!!K?.module_need_to_complete&&!G,children:O})}):(0,t.jsx)(t.Fragment,{}),T[32]=O,T[33]=L,T[34]=q,T[35]=G,T[36]=z,T[37]=$,T[38]=K?.module_need_to_complete,T[39]=S):S=T[39],T[40]!==w||T[41]!==E||T[42]!==S||T[43]!==y||T[44]!==x||T[45]!==v||T[46]!==A?(C=(0,t.jsxs)("div",{className:"modulesInfo",children:[y,x,v,A,w,E,S]}),T[40]=w,T[41]=E,T[42]=S,T[43]=y,T[44]=x,T[45]=v,T[46]=A,T[47]=C):C=T[47],C};function p(e){return e?.academyCourseReducer?.academyCompletedFlag}},78742,e=>{"use strict";e.s(["ModulesInformation",()=>t.default]);var t=e.i(79978)},89367,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(79988),r=e.i(46047),n=e.i(22748),s=e.i(23216),l=e.i(34848),o=e.i(22276);let c=e=>{let c,u,h,f,p,m,g,b,_,y,x=(0,a.c)(32),v=(0,o.useSelector)(d);x[0]!==e?(c=()=>{e?.handleClickActivity(e?.id)},x[0]=e,x[1]=c):c=x[1];let A=c,w=`course-activity-slide-container ${e?.className} ${v?.activity_need_to_complete&&!e?.activityInfo?.isActivityEnabledDetail?"disable-activity":""}`,E=e?.id,S=`slide-content-wrapper ${e?.isActive?"active":""}`,C=e?.subTitle??"";x[2]!==C?(u=(0,l.trimText)(C,s.default.SESSION),x[2]=C,x[3]=u):u=x[3],x[4]!==u?(h=(0,t.jsx)("div",{className:"info-subtitle",children:u}),x[4]=u,x[5]=h):h=x[5],x[6]!==e.duration?(f=e?.duration?(0,t.jsxs)("div",{className:"time-info",children:[(0,t.jsx)(i.default,{iconName:"TimeIcon",height:24,width:24}),e?.duration]}):(0,t.jsx)(t.Fragment,{}),x[6]=e.duration,x[7]=f):f=x[7],x[8]!==h||x[9]!==f?(p=(0,t.jsxs)("div",{className:"additional-info",children:[h,f]}),x[8]=h,x[9]=f,x[10]=p):p=x[10];let T=e?.title;return x[11]!==T?(m=(0,t.jsx)("div",{className:"text-block",children:T}),x[11]=T,x[12]=m):m=x[12],x[13]!==m||x[14]!==p?(g=(0,t.jsxs)("div",{className:"slide-content ",children:[p,m]}),x[13]=m,x[14]=p,x[15]=g):g=x[15],x[16]!==g||x[17]!==S?(b=(0,t.jsx)("div",{className:S,children:g}),x[16]=g,x[17]=S,x[18]=b):b=x[18],x[19]!==e.activityStatus||x[20]!==e.enableOverlay||x[21]!==e.id||x[22]!==e.isActive||x[23]!==e.overlayLabel||x[24]!==A?(_=e?.enableOverlay&&e?.activityStatus&&(0,t.jsx)("div",{className:`course-activity-slide-container-wrapper ${e?.isActive?"active":""}`,children:(0,t.jsx)("div",{className:`course-activity-slide-container-overlay ${e?.isActive?"active":""}`,onClick:A,id:e?.id,children:(0,t.jsx)(n.default,{icon:(0,t.jsx)(i.default,{iconName:"CheckMarkIconFilled"}),children:e?.overlayLabel})})}),x[19]=e.activityStatus,x[20]=e.enableOverlay,x[21]=e.id,x[22]=e.isActive,x[23]=e.overlayLabel,x[24]=A,x[25]=_):_=x[25],x[26]!==A||x[27]!==w||x[28]!==b||x[29]!==_||x[30]!==E?(y=(0,t.jsx)(r.default,{desktop:3,tablet:6,mobile:12,children:(0,t.jsxs)("div",{className:w,onClick:A,id:E,children:[b,_]})}),x[26]=A,x[27]=w,x[28]=b,x[29]=_,x[30]=E,x[31]=y):y=x[31],y};function d(e){return e?.academyCourseReducer?.academyCompletedFlag}e.s(["default",0,c])},68324,e=>{"use strict";var t=e.i(89367);e.s(["CourseActivitySlide",()=>t.default])},20802,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(45335);e.i(41871);var r=e.i(87612);let n=e=>{let n,s=(0,a.c)(8),{image:l}=e,o=(0,r.useMediaQuery)("(max-width: 767px)");l?.mobileImage;let c=!o||o&&!l?.mobileImage?.src,d=l?.desktopImage?.styledimage,u=l?.mobileImage?.styledimage,h=!c&&u?l?.mobileImage?.src:l?.desktopImage?.src,f=!c&&u?l?.mobileImage?.alt:l?.desktopImage?.alt,p=!c&&o?l?.mobileImage?.
82width:l?.desktopImage?.width,m=!c&&o?l?.mobileImage?.height:l?.desktopImage?.height;if(d||u){let e,a=!c&&u?u:d,r=h??null,n=f??"";return s[0]!==m||s[1]!==a||s[2]!==r||s[3]!==n||s[4]!==p?(e=(0,t.jsx)(i.default,{type:"teaser_block_carousel",styledimage:a,src:r,alt:n,width:p,height:m}),s[0]=m,s[1]=a,s[2]=r,s[3]=n,s[4]=p,s[5]=e):e=s[5],e}let g=l?.desktopImage;return s[6]!==g?(n=(0,t.jsx)(i.default,{type:"default",...g}),s[6]=g,s[7]=n):n=s[7],n};e.s(["default",0,n])},22686,e=>{"use strict";var t=e.i(20802);e.s(["CarouselImage",()=>t.default])},90262,e=>{"use strict";e.s(["RotatingHeroBanner",()=>t.default]);var t=e.i(32228)},89064,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r=(0,a.c)(5),{subTheme:n,children:s}=e;if(n){let e,a=`wrapper-container ${n}`;return r[0]!==s||r[1]!==a?(e=(0,t.jsx)("div",{className:a,children:s}),r[0]=s,r[1]=a,r[2]=e):e=r[2],e}return r[3]!==s?(i=(0,t.jsx)(t.Fragment,{children:s}),r[3]=s,r[4]=i):i=r[4],i};e.s(["default",0,i])},38347,e=>{"use strict";var t=e.i(89064);e.s(["WrapperContainer",()=>t.default])},62548,e=>{"use strict";e.s(["CTAButtonGroup",()=>t.default]);var t=e.i(38906)},11902,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(6271),n=e.i(5223),s=e.i(66196);let l=e=>{let i,n,l,c=(0,a.c)(7),{title:d,courseInfo:u}=e,h=o;return c[0]!==d?(i=(0,t.jsx)("h2",{className:"bold courseInfo-title",children:d}),c[0]=d,c[1]=i):i=c[1],c[2]!==u?(n=(0,t.jsx)(s.Row,{isTemplateWrapper:!0,className:"courseInfo-section",children:u?(0,t.jsx)(t.Fragment,{children:h(u)}):(0,t.jsx)(t.Fragment,{})}),c[2]=u,c[3]=n):n=c[3],c[4]!==i||c[5]!==n?(l=(0,t.jsx)(r.Container,{children:(0,t.jsxs)("div",{className:"courseInfo",children:[i,n]})}),c[4]=i,c[5]=n,c[6]=l):l=c[6],l};function o(e){let a=[];for(let r=0;r<e.length;r++)a.push((0,t.jsxs)(i.Column,{desktop:6,tablet:6,mobile:12,className:"courseInfo-section-detail",children:[e[r].title?(0,t.jsx)(n.RichText,{className:"bold courseInfo-section-detail-title",content:e[r].title}):(0,t.jsx)(t.Fragment,{}),e[r].desc?(0,t.jsx)(n.RichText,{className:"courseInfo-section-detail-desc",content:e[r].desc}):(0,t.jsx)(t.Fragment,{})]},r));return a}},8549,e=>{"use strict";e.s(["CourseInformation",()=>t.default]);var t=e.i(11902)},15883,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(6271),n=e.i(70184),s=e.i(5223),l=e.i(66196);let o=e=>{let o,c,d,u,h,f,p,m,g,b,_,y=(0,a.c)(29),{imagePrimary:x,titlePrimary:v,descriptionPrimary:A,imageSecondary:w,titleSecondary:E,descriptionSecondary:S}=e;y[0]!==v?(o=(0,t.jsx)(s.RichText,{className:"bold course-overview-teaser-fluid-content-title",content:v}),y[0]=v,y[1]=o):o=y[1],y[2]!==A?(c=(0,t.jsx)(s.RichText,{content:A,className:"course-overview-teaser-fluid-content-text"}),y[2]=A,y[3]=c):c=y[3],y[4]!==o||y[5]!==c?(d=(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,className:"course-overview-teaser-fluid-left",children:(0,t.jsxs)("div",{className:"course-overview-teaser-fluid-content",children:[o,c]})}),y[4]=o,y[5]=c,y[6]=d):d=y[6];let C=x?.src,T=x?.alt;y[7]!==C||y[8]!==T?(u=(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,className:"course-overview-teaser-fluid-image",children:(0,t.jsx)(n.Img,{className:"course-overview-teaser-fluid-image-content",type:"default",width:720,height:540,src:C,alt:T})}),y[7]=C,y[8]=T,y[9]=u):u=y[9],y[10]!==d||y[11]!==u?(h=(0,t.jsxs)(l.Row,{isTemplateWrapper:!0,className:"course-overview-teaser-fluid-blockAlign",children:[d,u]}),y[10]=d,y[11]=u,y[12]=h):h=y[12];let N=w?.src,k=w?.alt;return y[13]!==N||y[14]!==k?(f=(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,className:"course-overview-teaser-fluid-image",children:(0,t.jsx)(n.Img,{className:"course-overview-teaser-fluid-image-content",type:"default",width:720,height:540,src:N,alt:k})}),y[13]=N,y[14]=k,y[15]=f):f=y[15],y[16]!==E?(p=(0,t.jsx)(s.RichText,{className:"bold course-overview-teaser-fluid-content-title",content:E}),y[16]=E,y[17]=p):p=y[17],y[18]!==S?(m=(0,t.jsx)(s.RichText,{content:S,className:"course-overview-teaser-fluid-content-text"}),y[18]=S,y[19]=m):m=y[19],y[20]!==p||y[21]!==m?(g=(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,className:"course-overview-teaser
82-fluid-right",children:(0,t.jsxs)("div",{className:"course-overview-teaser-fluid-content",children:[p,m]})}),y[20]=p,y[21]=m,y[22]=g):g=y[22],y[23]!==f||y[24]!==g?(b=(0,t.jsxs)(l.Row,{isTemplateWrapper:!0,className:"course-overview-teaser-fluid-blockAlign",children:[f,g]}),y[23]=f,y[24]=g,y[25]=b):b=y[25],y[26]!==b||y[27]!==h?(_=(0,t.jsx)(r.Container,{fluid:!0,children:(0,t.jsxs)("div",{className:"course-overview-teaser-fluid",children:[h,b]})}),y[26]=b,y[27]=h,y[28]=_):_=y[28],_}},12532,e=>{"use strict";e.s(["CourseOverviewTeaser",()=>t.default]);var t=e.i(15883)},36308,e=>{"use strict";e.s(["default",()=>p]);var t=e.i(91398);e.i(48756);var a=e.i(38233),i=e.i(17419),r=e.i(6271),n=e.i(49266),s=e.i(65218),l=e.i(91788),o=e.i(22276),c=e.i(84016),d=e.i(79557);let u=e=>{let{customBannerImage:c,taxonomies:u,iconValue:h,customBannerTitle:f,ctaLabel:p,credit:m,alt:g,height:b,width:_,changeTab:y,heroBannerImageObj:x}=e,v=(0,o.useSelector)(e=>e.user),A=(0,o.useSelector)(e=>e?.academyCourseReducer),w=(0,o.useDispatch)(),E=(0,l.useCallback)(e=>y(e),[w]),S=()=>{E({tabChanged:!0})};return(0,t.jsx)("div",{className:"customBanner",children:(0,t.jsxs)("div",{className:"customBanner-wrapper",children:[(0,t.jsx)("div",{className:"customBanner-image",children:(0,t.jsx)(d.default,{...x})}),(0,t.jsx)(r.Container,{className:"customBannerContent",children:(0,t.jsxs)(i.Column,{mobile:12,tablet:7,desktop:7,className:"customBannerContent-col",children:[(0,t.jsxs)("div",{className:"customBannerContent-taxonomy",children:[h&&(0,t.jsx)("div",{className:"customBannerContent-taxonomy-icon",children:(0,t.jsx)(n.Icon,{iconName:h})}),m&&(0,t.jsx)(s.Taxonomy,{taxonomies:m}),(0,t.jsx)(s.Taxonomy,{taxonomies:u})]}),f&&(0,t.jsx)("h1",{className:"customBannerContent-title",children:f}),v&&v.isLoggedIn&&p&&(0,t.jsx)(a.Button,{tabindex:0,isSecondary:!0,onClick:()=>S(),className:`${A?.tabSelected||A?.tabChanged||A?.btnClickTabChanged?"customBannerContent-cta":""}`,children:p})]})})]})})},h={changeTab:e=>(0,c.changeTab)(e)},f=e=>({academyCourseFilterData:e.academyCourseReducer}),p=(0,o.connect)(f,h)(u)},55072,e=>{"use strict";e.s(["CustomBanner",()=>t.default]);var t=e.i(36308)},13226,26447,94033,78186,34979,7350,64734,e=>{"use strict";e.s(["default",()=>s],13226);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(74267);let r="100%",n="720px",s=e=>{let s,l=(0,a.c)(4),{mapUrl:o,width:c,height:d}=e,u=c||r,h=d||n;return l[0]!==o||l[1]!==u||l[2]!==h?(s=(0,t.jsx)("div",{className:"embed-map",children:(0,t.jsx)(i.Iframe,{iframeURL:o,width:u,height:h,title:""})}),l[0]=o,l[1]=u,l[2]=h,l[3]=s):s=l[3],s};e.s(["AccordionWithImage",()=>l.default],26447);var l=e.i(13787);e.s(["ComparisonTable",()=>o.default],94033);var o=e.i(88277);e.s(["DosageCalculator",()=>c.default],78186);var c=e.i(32683);e.s(["LinkWithIcon",()=>d.default],34979);var d=e.i(38412);e.s(["MediaLibraryDetails",()=>u.default],7350);var u=e.i(50915);e.s(["default",()=>eS],64734);var h=t,f=a,p=e.i(91788);e.i(35958);var m=e.i(99830),g=e.i(68244),b=e.i(38233),_=e.i(6271),y=e.i(86789),x=e.i(49266),v=e.i(99523),A=t,w=a,E=e.i(75425);e.i(41871);var S=e.i(87612),C=e.i(886),T=e.i(60044),N=g,k=t,I=p,j=a,P=e.i(17419),L=e.i(66196);let O="310",D="468",M={BANNER:"banner",SMALL:"small"};var R=E,F=t,B=a,U=e.i(45861),H=e.i(70184),$=t,G=a,W=U,Y=e.i(5223),z=e.i(65218),V=e.i(15315),K=v,q=e.i(82054),Q=p;let Z=e=>{let t,a,i,r,n,s,l,o,c=(0,G.c)(24),{heading:d,newsDescription:u,newsDate:h,newsTaxonomy:f,newsCategory:p,link:m,cardType:g}=e,b=g===M.SMALL;c[0]!==b?(t=e=>b?`${e} ${e}-${M.SMALL}`:e,c[0]=b,c[1]=t):t=c[1];let _=t,{lang:y}=(0,V.getApiDomainAndLang)(),{applicationConfiguration:x}=(0,Q.useContext)(q.default),v="news-filter-content";c[2]!==_?(a=_("news-filter-content-date-section"),c[2]=_,c[3]=a):a=c[3],c[4]!==p?(i=p&&(0,$.jsx)("span",{children:`${p} / `}),c[4]=p,c[5]=i):i=c[5];let A=h&&(0,$.jsx)("span",{children:(0,K.default)(h,!0).locale(y).format(x?.siteConfig?.date_format)});return c[6]!==a||c[7]!==i||c[8]!==A?(r=(0,$.jsxs)("span",{className:a,children:[i,A]}),c[6]=a,c[7]=i,c[8]=A,c[9]=r):r=c[9],c[10]!==f?(n=f&&(0,$.jsx)(z.Taxonomy,{taxonomies:[{taxonomyLabel:f}]}),c[10]=f,c[11]=n):n=c[11],c[12]!==_||c[13]!==d||c[14]!==m?(s=d&&(0,$.jsx)(W.Anchor,{href:m,tabindex:0,noUnderline:!0,children:(0,$.jsx)("h4",{className:_("news-filter-content-heading bold"),children:d})}),c[12]=_,c[13]=d,c[14]=m,c[15]=s):s=c[15],c[16]!==b||c[17]!==u?(l=!b&&u&&(0,$.jsx)(Y.RichText,{content:u,className:"news-filter-content-description"}),c[16]=b,c[17]=u,c[18]=l):l=c[18],c[19]!==r||c[20]!==n||c[21]!==s||c[22]!==l?(o=(0,$.jsxs)("div",{className:v,children:[r,n,s,l]}),c[19]=r,c[20]=n,c[21]=s,c[22]=l,c[23]=o):o=c[23],o},X=e=>{let t,a,i,r,n,s=(0,B.c)(16),{newsFilterCardsContent:l,newsFilterCardsImage:o,className:c}=e,d=o?.src||null,u=l?.cardType,h=l?.link;s[0]!==u||s[1]!==c?(t=()=>
82{let e=["news-filter",c].filter(Boolean);return u===M.SMALL?e.push("news-filter-small"):e.push("news-filter-banner"),e.join(" ")},s[0]=u,s[1]=c,s[2]=t):t=s[2];let f=t();return s[3]!==u?(a=u===M.SMALL&&(0,F.jsx)("hr",{className:"top-bar"}),s[3]=u,s[4]=a):a=s[4],s[5]!==o||s[6]!==d||s[7]!==h?(i=d&&(0,F.jsx)("div",{className:"news-filter-image",children:(0,F.jsx)(U.Anchor,{href:h,tabindex:0,noUnderline:!0,children:(0,F.jsx)(H.Img,{className:"news-filter-image-content",type:"news_details",styledimage:o.styledimage,src:d,alt:o.alt,width:D,height:O})})}),s[5]=o,s[6]=d,s[7]=h,s[8]=i):i=s[8],s[9]!==l?(r=(0,F.jsx)("div",{className:"news-filter-content-right",children:(0,F.jsx)(Z,{...l})}),s[9]=l,s[10]=r):r=s[10],s[11]!==f||s[12]!==a||s[13]!==i||s[14]!==r?(n=(0,F.jsxs)("div",{className:f,children:[a,i,r]}),s[11]=f,s[12]=a,s[13]=i,s[14]=r,s[15]=n):n=s[15],n};var J=e.i(34467);let ee=e=>{let t,a=(0,j.c)(2),{newsList:i}=e,r=et;if(a[0]!==i){let e=(0,J.groupBy)(i,"monthAndYear"),n=Object.keys(e),s=[];n.forEach(t=>{let a={};a.category=t,a.results=e[t],s.push(a)}),t=(0,k.jsx)(k.Fragment,{children:s.map((e,t)=>(0,k.jsxs)("div",{className:"news-month-group",children:[(0,k.jsx)("h3",{className:"news-month-group__title",children:e.category}),(0,k.jsx)(L.Row,{children:e?.results?.map((e,a)=>a===R.default.ZERO?(0,k.jsx)(P.Column,{mobile:12,tablet:12,desktop:12,children:r(e,`${t}-${a}`,M.BANNER)},a):(0,k.jsx)(P.Column,{mobile:12,tablet:12,desktop:4,children:r(e,`${t}-${a}`,M.SMALL)},a))})]},t))}),a[0]=i,a[1]=t}else t=a[1];return t};function et(e,t,a){let i={newsFilterCardsContent:{newsDate:e.publishedDate,heading:e.title,newsTaxonomy:e.newsTaxonomy,newsCategory:e.newsCategory,cardType:a,link:e.readMore,newsDescription:e.body},newsFilterCardsImage:{alt:e.alt,src:e.imageUrl,styledimage:e?.styledimage}};return(0,I.createElement)(X,{...i,key:t})}var ea=p,ei=e.i(75957),er=q;let en=e=>{let t,a,i,r,n,s,l,o,c,d,u,h,f,p,m,g=(0,w.c)(63),{newsCardData:b,newsSearchConfig:_,searchedPhrase:y,searchCount:x,groupedResult:v,itemsPerPage:k,handleSort:I}=e;g[0]!==k?(t={start:0,end:k},g[0]=k,g[1]=t):t=g[1];let[j,P]=(0,ea.useState)(t),[L,O]=(0,ea.useState)(!1),D=(0,S.useMediaQuery)("(max-width: 991px)"),M=_?.old_to_new_text,R=_?.new_to_old_text,F=_?.default_news_sort,B=_?.sort_cta_text;g[2]!==M||g[3]!==R||g[4]!==F||g[5]!==B?(a={old_to_new_text:M,new_to_old_text:R,default_sort:F,sort_cta_text:B},g[2]=M,g[3]=R,g[4]=F,g[5]=B,g[6]=a):a=g[6];let U=a;g[7]!==b.length||g[8]!==_?.search_results_found?(i=()=>{let e={news_count_val:String(b.length),news_search_txt:""};return _?.search_results_found?.replaceAll("@","").replace(/news_count_val|news_search_txt/gi,t=>e[t])},g[7]=b.length,g[8]=_?.search_results_found,g[9]=i):i=g[9];let H=i;g[10]!==k||g[11]!==L?(r=e=>{0===e?O(!0):0!==e&&L&&O(!1),P({start:e,end:e+k})},g[10]=k,g[11]=L,g[12]=r):r=g[12];let $=r;g[13]!==$||g[14]!==L?(n=(e,t,a,i)=>(0,A.jsx)(A.Fragment,{children:(0,A.jsx)(C.Pagination,{itemsPerPage:e,itemsCount:t,onClick:$,resetOffset:L,className:`${a}-${i}`})}),g[13]=$,g[14]=L,g[15]=n):n=g[15];let G=n;g[16]!==b.length||g[17]!==_?.all_category_text?(s="rtl"===(0,ei.default)()?`(${b.length.toString()}) ${_?.all_category_text}`:`${_?.all_category_text} (${b.length})`,g[16]=b.length,g[17]=_?.all_category_text,g[18]=s):s=g[18];let W=`${_?.all_category_text}`;if(g[19]!==s||g[20]!==W?(l=[{children:s,itemID:W,tabDesign:"wide"}],g[19]=s,g[20]=W,g[21]=l):l=g[21],g[22]!==v||g[23]!==l){let e;g[25]!==v?(e=v.map(es),g[25]=v,g[26]=e):e=g[26],o=l.concat(e),g[22]=v,g[23]=l,g[24]=o}else o=g[24];let Y=o;g[27]!==G||g[28]!==k||g[29]!==b||g[30]!==j.end||g[31]!==j.start?(c=()=>(0,A.jsxs)("div",{children:[(0,A.jsx)("div",{children:(0,A.jsx)(ee,{newsList:b.slice(j.start,j.end)})}),b.length>k&&G(k,b.length,"All",E.default.ZERO)]},0),g[27]=G,g[28]=k,g[29]=b,g[30]=j.end,g[31]=j.start,g[32]=c):c=g[32];let z=c;g[33]!==G||g[34]!==v||g[35]!==k||g[36]!==j.end||g[37]!==j.start?(d=()=>v.map((e,t)=>(0,A.jsxs)("div",{children:[(0,A.jsx)("div",{children:(0,A.jsx)(ee,{newsList:e.results.slice(j.start,j.end)})},t),e.results.length>k&&G(k,e.results.length,e.category,t+E.default.ONE)]},t+1)),g[33]=G,g[34]=v,g[35]=k,g[36]=j.end,g[37]=j.start,g[38]=d):d=g[38];let V=d;if(g[39]!==z?(u=[z()],g[39]=z,g[40]=u):u=g[40],g[41]!==V||g[42]!==u){let e;
82g[44]!==V?(e=V(),g[44]=V,g[45]=e):e=g[45],h=u.concat(e),g[41]=V,g[42]=u,g[43]=h}else h=g[43];let K=h,{applicationConfiguration:q}=(0,ea.useContext)(er.default),Q=q?.siteConfig?.label_key_value_pair;g[46]!==H||g[47]!==x||g[48]!==y?(f=y&&x>E.default.ZERO&&(0,A.jsx)(N.TitleDescription,{title:H()||"",description:"",searchKey:"",className:"news-search-result__header"}),g[46]=H,g[47]=x,g[48]=y,g[49]=f):f=g[49];let Z=!!D,X=!_?.show_sort_cta;return g[50]!==$||g[51]!==I||g[52]!==Q||g[53]!==U||g[54]!==x||g[55]!==Z||g[56]!==X||g[57]!==K||g[58]!==Y?(p=(0,A.jsx)(T.Tabs,{tabHeadClassName:"news-search-result__tabsContainer",tabHeadItems:Y,tabContents:K,isMobileDisplay:Z,handleSort:I,label:U,trigger:x,hideViewTypeCTA:!0,hideSortCTA:X,handlePagination:$,labelKeyValuePair:Q}),g[50]=$,g[51]=I,g[52]=Q,g[53]=U,g[54]=x,g[55]=Z,g[56]=X,g[57]=K,g[58]=Y,g[59]=p):p=g[59],g[60]!==f||g[61]!==p?(m=(0,A.jsxs)("div",{className:"news-search-result scroll-top",children:[f,p]}),g[60]=f,g[61]=p,g[62]=m):m=g[62],m};function es(e){return{children:"rtl"===(0,ei.default)()?`(${e.results.length.toString()}) ${e.category}`:`${e.category} (${e.results.length})`,itemID:e.category,tabDesign:"wide"}}var el=E,eo=e.i(61312),ec=e.i(82036),ed=e.i(81577),eu=J,eh=E,ef=v,ep=e.i(41764),em=e.i(3265),eg=e.i(63137),eb=V;let e_=async()=>{let e=await (0,eg.default)();return e=e?.data,{show_sort_cta:e?.news_sort_cta_toggle===1,sort_cta_text:e?.news_sort_cta_text??null,new_to_old_text:e?.news_new_to_old_text??null,old_to_new_text:e?.news_old_to_new_text??null,default_news_sort:e?.news_default_sort??null,simple_search_label:e?.news_simple_search_label??null,advance_search_label:e?.news_advanced_search_label??null,from_placeholder_text:e?.news_from_text??null,to_placeholder_text:e?.news_to_text??null,search_cta_text:e?.news_search_cta_text??null,search_placeholder_text:e?.news_search_placeholder_text??null,search_results_found:e?.news_search_results_found??null,no_results_found_title:e?.news_no_results_found_title??null,no_results_found_body:e?.news_no_results_found_body?.value??null,all_category_text:e?.news_all_cat_text??null,other_category_text:e?.news_other_category??"",news_cat_tabs_order1:e?.news_cat_tabs_order1??null,news_filter_by_label:e?.news_filter_by_label??null,news_date_range_label:e?.news_date_range_label??null,news_apply_filter_cta_text:e?.news_apply_filter_cta_text??null,news_clear_filter_cta_text:e?.news_clear_filter_cta_text??null,news_archive_placeholder_text:e?.news_archive_placeholder_text??null}},ey=async e=>{if((0,eo.isPaywallProtected)((0,ec.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=(0,eo.isPaywallProtected)((0,ec.default)(e,"relationships.field_nas_image")),{lang:a}=(0,eb.getApiDomainAndLang)(),{imageUrl:i,alt:r,imageStyledUrl:n}=t?.isPaywallProtectedFlag?(0,eo.getPaywalledImgData)(t?.errorObj):(0,em.getImageMeta)(e?.relationships?.field_nas_image),s=(0,ec.default)(e,"attributes.field_news_published_date"),l=s?(0,ef.default)(s,!0).locale(a).format(ep.DATE_FORMATS.MMMM_YYYY)??"":"";return{newsTaxonomy:e?.relationships?.field_category?.data?.[0]?.meta?.term_name??null,newsCategory:e?.relationships?.field_news_category?.data?.[0]?.meta?.term_name??null,title:(0,eo.isPaywallProtected)((0,ec.default)(e,"attributes.title")??null).isPaywallProtectedFlag?null:(0,ec.default)(e,"attributes.title")??null,publishedDate:s??null,monthAndYear:(0,eo.isPaywallProtected)(s).isPaywallProtectedFlag?null:l,readMore:(0,ec.default)(e,"attributes.path.alias")??null,body:(0,ec.default)(e,"attributes.body.value")??(0,ec.default)(e,"attributes.body.processed")??null,imageUrl:i??null,alt:r??null,styledimage:n??null}},ex=async e=>{if(!e)throw(0,ed.consoleError)(`URL parameter is undefined in ${ex.name}.`);let t=await (0,em.getBlockData)(e),a=await e_(),i=Object.values(a?.news_cat_tabs_order1??[])??[],r=t?.data??[],n=(0,eo.getAllRoles)(r),s=await Promise.all(r.map(async e=>ey(e)));a.default_news_sort===a.new_to_old_text?s.sort((e,t)=>Date.parse(t.publishedDate)-Date.parse(e.publishedDate)):s.sort((e,t)=>Date.parse(e.publishedDate)-Date.parse(t.publishedDate));let l=(0,eu.groupBy)(s,"newsCategory"),o=Object.keys(l),c=[];
82return o.forEach(e=>{let t={},r=i.find(t=>t.news_cat===e);t.category="null"!==e?e:a?.other_category_text,t.results=l[e],t.order=r?r.news_cat_tab_weight:null,t.category===a?.other_category_text?c.push(t):c.unshift(t)}),c.sort((e,t)=>parseInt(e.order,10)-parseInt(t.order,10)),{itemsPerPage:eh.default.TWELVE,newsCardData:(0,eo.filterNullValues)(s),newsSearchConfig:a,groupedResult:c,fieldPaywallRoles:n}},ev=ex;var eA=ep,ew=e.i(97268),eE=e.i(3828);let eS=e=>{let t,a,i,r,n,s,l,o,c,d,u,A,w,E,S,C,T,N,k,I,j,P,L,O,D,M=(0,f.c)(85),{url:R}=e,[F,B]=(0,p.useState)(0),[U,H]=(0,p.useState)(),[$,G]=(0,p.useState)(!1),[W,Y]=(0,p.useState)(!1),[z,V]=(0,p.useState)(""),[K,q]=(0,p.useState)(""),[Q,Z]=(0,p.useState)(""),[X,J]=(0,p.useState)(el.default.ZERO),[ee,et]=(0,p.useState)(),[ea,ei]=(0,p.useState)();M[0]!==K||M[1]!==Q?(t={to:Q,from:K},M[0]=K,M[1]=Q,M[2]=t):t=M[2];let[er,es]=(0,p.useState)(t),eo=(0,eE.useRouter)(),[ec,ed]=(0,p.useState)(!1),eu=(0,p.useRef)(null),eh=eo.asPath.replace("/","");M[3]!==$?(a=()=>{let e=async e=>{$&&eu.current&&!eu.current.contains(e.target)&&G(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},i=[$],M[3]=$,M[4]=a,M[5]=i):(a=M[4],i=M[5]),(0,p.useEffect)(a,i),-1!=eh.indexOf("?")&&(eh=eh.split("?")[0]),M[6]!==eh||M[7]!==R?(r=()=>{(async()=>{Y(!0);let{newsCardData:e,newsSearchConfig:t,itemsPerPage:a,groupedResult:i}=await ev(`${R}?page=${eh}`);et(e),ei(i),H(t),B(a),Y(!1)})()},M[6]=eh,M[7]=R,M[8]=r):r=M[8],M[9]!==R?(n=[R],M[9]=R,M[10]=n):n=M[10],(0,p.useEffect)(r,n),M[11]!==eh?(s=async(e,t,a)=>{let i,r=[];e&&r.push(`views-filter[search-news]=${e}`),t&&(r.push(`views-filter[field_news_published_date][min]=${(0,v.default)(t).locale("en").format(eA.DATE_FORMATS.YYYY_MM_DD)} 00:00:00`),a||r.push(`views-filter[field_news_published_date][max]=${(0,v.default)().locale("en").format(eA.DATE_FORMATS.YYYY_MM_DD)} 23:59:59`)),a&&(t||r.push(`views-filter[field_news_published_date][min]=${(0,v.default)(eA.DEFAULT_MIN_DATE).locale("en").format(eA.DATE_FORMATS.YYYY_MM_DD)} 00:00:00`),r.push(`views-filter[field_news_published_date][max]=${(0,v.default)(a).locale("en").format(eA.DATE_FORMATS.YYYY_MM_DD)} 23:59:59`)),i=r.length?`/views/news_search/news_search?${r.join("&")}&page=${eh}`:`/views/news_search/news_search?page=${eh}`;try{let e=await ev(i);et(e.newsCardData),ei(e.groupedResult)}catch(e){Y(!1)}},M[11]=eh,M[12]=s):s=M[12];let ef=s;M[13]!==ef||M[14]!==K||M[15]!==X||M[16]!==Q?(l=async(e,t)=>{t&&t.preventDefault(),V(e),e&&(Y(!0),await ef(e,K,Q),J(X+el.default.ONE),Y(!1))},M[13]=ef,M[14]=K,M[15]=X,M[16]=Q,M[17]=l):l=M[17];let ep=l;M[18]!==ef||M[19]!==K||M[20]!==er.from||M[21]!==er.to||M[22]!==z||M[23]!==Q?(o=async()=>{G(!1),er.to===Q&&er.from===K||K&&Q&&(Y(!0),await ef(z,K,Q),es({from:K,to:Q}),ed(!0),Y(!1))},M[18]=ef,M[19]=K,M[20]=er.from,M[21]=er.to,M[22]=z,M[23]=Q,M[24]=o):o=M[24];let em=o,eg=U?.search_placeholder_text;M[25]!==eg?(c={type:"primary",placeholder:eg},M[25]=eg,M[26]=c):c=M[26];let eb=U?.search_cta_text;M[27]!==ep||M[28]!==c||M[29]!==eb?(d={inputDataContent:c,buttonText:eb,handleTextSearch:ep},M[27]=ep,M[28]=c,M[29]=eb,M[30]=d):d=M[30];let e_=d;M[31]!==ec||M[32]!==ef||M[33]!==z?(u=async()=>{let e=ec;q(""),Z(""),es({from:"",to:""}),ed(!1),e&&(Y(!0),await ef(z,"",""),Y(!1))},M[31]=ec,M[32]=ef,M[33]=z,M[34]=u):u=M[34];let ey=u,ex=`news-search-filter-search-container 
83        news-search-filter-top news-calender-icon 
84        ${$?"news-calender-icon-active":""}`;M[35]===Symbol.for("react.memo_cache_sentinel")?(A={padding:"10px 12px"},M[35]=A):A=M[35],M[36]===Symbol.for("react.memo_cache_sentinel")?(w=e=>{e.stopPropagation(),G(eC)},E=e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),e.stopPropagation(),G(eT))},M[36]=w,M[37]=E):(w=M[36],E=M[37]),M[38]!==$?(S=(0,h.jsx)("div",{className:"filter-search btn-secondary","aria-hidden":"true",children:(0,h.jsx)("span",{className:"search-type",children:$?(0,h.jsx)(x.Icon,{iconName:"CalendarWhite",width:24,height:24}):(0,h.jsx)(x.Icon,{iconName:"CalendarBlue",width:24,height:24})})}),M[38]=$,M[39]=S):S=M[39],M[40]!==ex||M[41]!==S?(C=(0,h.jsx)("div",{className:ex,style:A,role:"button",tabIndex:0,"aria-controls":"calender-filter-panel","aria-haspopup":"dialog","aria-label":"calender-icon",onMouseDown:w,onKeyDown:E,children:S}),M[40]=ex,M[41]=S,M[42]=C):C=M[42],M[43]!==ey||M[44]!==K||M[45]!==em||M[46]!==$||M[47]!==U?.from_placeholder_text||M[48]!==U?.news_apply_filter_cta_text||M[49]!==U?.news_clear_filter_cta_text||M[50]!==U?.news_date_range_label||M[51]!==U?.news_filter_by_label||M[52]!==U?.to_placeholder_text||M[53]!==Q?(T=$&&(0,h.jsxs)("div",{className:"news-search-filter-search-container news-search-filter-top advance-search-modal \r\n        news-calender-container",ref:eu,id:"calender-filter-panel",role:"dialog","aria-modal":"true","aria-label":"calender-container",onMouseDown:eN,children:[(0,h.jsx)("h4",{children:U?.news_filter_by_label}),(0,h.jsx)("div",{className:"divider"}),(0,h.jsxs)("div",{className:"input-date-container",children:[(0,h.jsx)("label",{children:U?.news_date_range_label}),(0,h.jsxs)("div",{className:"date-group",children:[(0,h.jsx)("div",{className:"from-date",children:(0,h.jsx)(y.DatePicker,{dataPlaceHolder:U?.from_placeholder_text,setValue:q,value:K,maxDate:Q,isNewsArchiveGroup:!0}
84)}),(0,h.jsx)("div",{className:"to-date",children:(0,h.jsx)(y.DatePicker,{dataPlaceHolder:U?.to_placeholder_text,setValue:Z,value:Q,minDate:K,isNewsArchiveGroup:!0})})]})]}),(0,h.jsxs)("div",{className:"news-filter-action-buttons",children:[(0,h.jsx)(b.Button,{type:"button",className:"apply-filter-btn",tabindex:0,onClick:em,isDisabled:!K||!Q,ariaLabel:U?.news_apply_filter_cta_text,icon:(0,h.jsx)(x.Icon,{iconName:"CheckMark"}),iconPosition:"right",children:U?.news_apply_filter_cta_text}),(0,h.jsxs)("div",{role:"button",tabIndex:0,className:"clear-filter-btn","aria-label":U?.news_clear_filter_cta_text,onClick:ey,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&ey()},children:[(0,h.jsx)("span",{className:"CloseIconClear-sm",children:(0,h.jsx)(x.Icon,{iconName:"CloseIconClear"})}),U?.news_clear_filter_cta_text,(0,h.jsx)("span",{className:"CloseIconClear-lg",children:(0,h.jsx)(x.Icon,{iconName:"CloseIconClear"})})]})]})]}),M[43]=ey,M[44]=K,M[45]=em,M[46]=$,M[47]=U?.from_placeholder_text,M[48]=U?.news_apply_filter_cta_text,M[49]=U?.news_clear_filter_cta_text,M[50]=U?.news_date_range_label,M[51]=U?.news_filter_by_label,M[52]=U?.to_placeholder_text,M[53]=Q,M[54]=T):T=M[54],M[55]!==C||M[56]!==T?(N=(0,h.jsxs)("div",{className:"news-search-filter-row",children:[C,T]}),M[55]=C,M[56]=T,M[57]=N):N=M[57];let eS=N;M[58]!==ee||M[59]!==ea||M[60]!==U?.new_to_old_text?(k=e=>(e===U?.new_to_old_text?(ee?.sort(ek),ea?.forEach(ej)):(ee?.sort(eP),ea?.forEach(eO)),ee&&et([...ee]),ea&&ei([...ea]),e),M[58]=ee,M[59]=ea,M[60]=U?.new_to_old_text,M[61]=k):k=M[61];let eI=k;M[62]!==ee||M[63]!==ea||M[64]!==eI||M[65]!==F||M[66]!==U||M[67]!==X||M[68]!==z?(I=ee?.length?(0,h.jsx)(en,{newsCardData:ee,newsSearchConfig:U,searchedPhrase:z,searchCount:X,itemsPerPage:F,groupedResult:ea||[],handleSort:eI}):(0,h.jsx)(_.Container,{children:(0,h.jsx)(g.TitleDescription,{title:U?.no_results_found_title||"",description:U?.no_results_found_body,searchKey:""})}),M[62]=ee,M[63]=ea,M[64]=eI,M[65]=F,M[66]=U,M[67]=X,M[68]=z,M[69]=I):I=M[69];let eL=I,eD=e_.buttonText||"";M[70]===Symbol.for("react.memo_cache_sentinel")?(j=e=>V(e),M[70]=j):j=M[70];let eM=U?.news_archive_placeholder_text;return M[71]!==ep||M[72]!==e_.inputDataContent||M[73]!==eD||M[74]!==eM?(P=(0,h.jsx)(m.SearchGroup,{inputDataContent:e_.inputDataContent,buttonText:eD,handleTextSearch:ep,handleTextChange:j,isDisabled:!0,newsArchivePlaceholder:eM,isNewsArchiveGroup:!0}
84),M[71]=ep,M[72]=e_.inputDataContent,M[73]=eD,M[74]=eM,M[75]=P):P=M[75],M[76]!==eS||M[77]!==P?(L=(0,h.jsx)("div",{className:"search-group-wrapper",children:(0,h.jsx)(_.Container,{children:(0,h.jsxs)("div",{className:"search-group-container",children:[P,eS]})})}),M[76]=eS,M[77]=P,M[78]=L):L=M[78],M[79]!==eL||M[80]!==W?(O=(0,h.jsx)("div",{className:"news-list-container",children:(0,h.jsx)(_.Container,{children:W?(0,h.jsx)("div",{className:"news-filter-loader",children:(0,h.jsx)(ew.default,{display:W})}):eL})}),M[79]=eL,M[80]=W,M[81]=O):O=M[81],M[82]!==L||M[83]!==O?(D=(0,h.jsxs)(h.Fragment,{children:[L,O]}),M[82]=L,M[83]=O,M[84]=D):D=M[84],D};function eC(e){return!e}function eT(e){return!e}function eN(e){return e.stopPropagation()}function ek(e,t){return Date.parse(t.publishedDate)-Date.parse(e.publishedDate)}function eI(e,t){return Date.parse(t.publishedDate)-Date.parse(e.publishedDate)}function ej(e){return e.results.sort(eI),e}function eP(e,t){return Date.parse(e.publishedDate)-Date.parse(t.publishedDate)}function eL(e,t){return Date.parse(e.publishedDate)-Date.parse(t.publishedDate)}function eO(e){return e.results.sort(eL),e}},60996,e=>{"use strict";e.s(["LabelGroup",()=>t.default]);var t=e.i(7589)},87036,e=>{"use strict";e.s(["ReadMoreContent",()=>t.default]);var t=e.i(58978)},13752,32307,27883,10519,e=>{"use strict";e.s(["default",()=>d],13752);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(6271),n=e.i(55439);e.i(35958);var s=e.i(60996),l=e.i(87036),o=e.i(38050),c=e.i(26931),c=c;let d=e=>{let d,u,h,f,p,m,g,b,_,y,x,v=(0,a.c)(26),{titleDetails:A,readMoreContent:w,desktopImage:E,mobileImage:S,personalDetails:C,styledimage:T}=e,N=A?.title;v[0]!==N?(d=(0,t.jsx)("div",{className:"patientProfile-heading",children:N}),v[0]=N,v[1]=d):d=v[1];let k=A?.subTitle;v[2]!==k?(u=(0,t.jsx)("div",{className:"patientProfile-subHeading",children:k}),v[2]=k,v[3]=u):u=v[3],v[4]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(n.Seperator,{className:"patientProfile-seperator"}),v[4]=h):h=v[4],v[5]!==A?(f=(0,t.jsx)(c.default,{...A}),v[5]=A,v[6]=f):f=v[6],v[7]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(n.Seperator,{className:"patientProfile-seperator"}),v[7]=p):p=v[7];let I=C;return v[8]!==I?(m=(0,t.jsx)(s.LabelGroup,{personalDetails:I}),v[8]=I,v[9]=m):m=v[9],v[10]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(n.Seperator,{className:"patientProfile-seperator"}),v[10]=g):g=v[10],v[11]!==w?(b=(0,t.jsx)(l.ReadMoreContent,{className:"patientProfile-readMore",...w}),v[11]=w,v[12]=b):b=v[12],v[13]!==d||v[14]!==b||v[15]!==u||v[16]!==f||v[17]!==m?(_=(0,t.jsxs)(i.Column,{desktop:7,tablet:12,mobile:12,className:"patientProfile-divtext",children:[d,u,h,f,p,m,g,b]}),v[13]=d,v[14]=b,v[15]=u,v[16]=f,v[17]=m,v[18]=_):_=v[18],v[19]!==E||v[20]!==S||v[21]!==T?(y=(0,t.jsx)(i.Column,{desktop:5,tablet:12,mobile:12,className:"patientProfile-imagecol",children:(0,t.jsx)("div",{children:(0,t.jsx)(o.SmartImage,{styledimage:T,desktopImage:E,mobileImage:S})})}),v[19]=E,v[20]=S,v[21]=T,v[22]=y):y=v[22],v[23]!==_||v[24]!==y?(x=(0,t.jsx)(r.Container,{children:(0,t.jsx)("div",{className:"patientProfile",children:(0,t.jsxs)("div",{className:"row",children:[_,y]})})}),v[23]=_,v[24]=y,v[25]=x):x=v[25],x};e.s(["default",()=>z],32307);var u=t,h=i,f=r,p=e.i(70184),m=e.i(66196),g=e.i(5223);e.i(41871);var b=e.i(87612),_=t,y=a,x=e.i(45861),v=i,A=e.i(49266),w=p,E=g,S=e.i(23216),C=e.i(34848);let T=e=>{let t,a,i,r,n,s,l=(0,y.c)(16),{display_name:o,phone_number:c,email:d,address:u,image:h}=e;return l[0]!==h?(t=h&&(0,_.jsx)(w.Img,{className:"postcode-contact-card-image",styledimage:h.styledimage,src:h.src,alt:h.alt,width:268,height:268}),l[0]=h,l[1]=t):t=l[1],l[2]!==o?(a=o&&(0,_.jsx)("h4",{className:"postcode-contact-card-title bold",children:(0,C.trimText)(o,S.default.TITLE)}),l[2]=o,l[3]=a):a=l[3],l[4]!==c?(i=(0,_.jsx)("div",{className:"postcode-contact-card-phone-icon-align",children:c?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(A.Icon,{iconName:"phoneIcon",width:24,height:24,color:"var(--brand-primary-color-three)"}),(0,_.jsx)(x.Anchor,{className:"postcode-contact-card-phone",href:`tel:${c}`,tabindex:1,isExternal:!0,noUnderline:!1,children:c})]}):(0,_.jsx)("span",{className:"postcode-contact-card-phone hidden",children:"-"})}),l[4]=c,l[5]=i):i=l[5],l[6]!==d?(r=(0,_.jsx)("div",{className:"postcode-contact-card-email-icon-align",children:d?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(A.Icon,{iconName:"mailIcon",width:24,height:24,color:"var(--brand-primary-color-three)"}),(0,_.jsx)(x.Anchor,{className:"postcode-contact-card-phone",href:`mailto:${d}`,tabindex:1,isExternal:!0,noUnderline:!1,children:d})]}):(0,_.jsx)("span",{className:"postcode-contact-card-phone hidden",children:"-"})}),l[6]=d,l[7]=r):r=l[7],l[8]!==u?(n=(0,_.jsx)("div",{className:"postcode-contact-card-address-icon-align",children:u?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(A.Icon,{iconName:"mapIcon",width:24,height:24,color:"var(--brand-primary-color-three)"}),(0,_.jsx)(E.RichText,{className:"postcode-contact-card-text",content:u,characterLimit:S.default?.DESCRIPTION})]}):(0,_.jsx)("span",{className:"postcode-contact-card-phone hidden",children:"-"})}),l[8]=u,l[9]=n):n=l[9],l[10]!==t||l[11]!==a||l[12]!==i||l[13]!==r||l[14]!==n?(s=(0,_.jsx)(v.Column,{desktop:12,tablet:12,mobile:12,className:"postcode-contact-card",children:(0,_.jsx)("div",{className:"card",children:(0,_.jsxs)("div",{className:"card-body",children:[t,a,i,r,n]})})}
84),l[10]=t,l[11]=a,l[12]=i,l[13]=r,l[14]=n,l[15]=s):s=l[15],s};var N=t,k=e.i(91788),I=e.i(38233),j=e.i(28203),P=e.i(75425),L=e.i(15315),O=e.i(79021),D=e.i(97268),M=e.i(82054),R=C,F=S;let B=e=>{let{handleTextSearch:t,postCodeDefaultValues:a,onSelectSuggestion:i}=e,[r,n]=(0,k.useState)({}),[s,l]=(0,k.useState)(!0),[o,c]=(0,k.useState)(""),[d,u]=(0,k.useState)(!0),[h,f]=(0,k.useState)(!1),[p,m]=(0,k.useState)([]),g=P.default.TWO,{applicationConfiguration:b}=(0,k.useContext)(M.default);(0,k.useEffect)(()=>{let e=async()=>{let e=b.postcodeSearchData;n({postcodesearch_title:e?.postcodesearch_title??null,postcodesearch_subtitle:e?.postcodesearch_subtitle??null,postcodesearch_searchplaceholder:e?.postcodesearch_searchplaceholder??null,postcodesearch_button_details:e?.postcodesearch_button_details??null})};b&&e()},[b]);let _=async(e,t,a)=>{try{if(e?.length>g){let i=e?.split(",")[0];if(isNaN(parseInt(i))){u(!1),m([]);return}let r=a||null,n=await (0,L.getApi)(`/restapi/postcode-search/${i}/${t}/${r}`);if("No record found"===n.message)u(!1),m([]);else{let e=(n?.autosuggest_data).length?n?.autosuggest_data:[];m(e)}}else m([])}catch(e){console.error("Failed to fetch postcode!")}u(!1)},y=(0,k.useCallback)((0,O.default)(e=>_(e,a?.lookupTargetID,a?.specialityTargetID),500),[a]);(0,k.useEffect)(()=>
84{l(o?.trim().length<P.default.THREE)},[o]),(0,k.useEffect)(()=>{o&&(u(!0),y(o))},[y,o]);let x=e=>{let t=e.split(RegExp(`(${o})`,"gi"));return(0,N.jsx)("span",{children:t.map((e,t)=>e.toLowerCase()===o?.toLowerCase()?(0,N.jsx)("b",{children:e},t):e)})},v=e=>{let t="";return e?.postcode&&(t=e.postcode),e?.city&&(t=t.length?`${t}, ${e.city}`:e.city),e?.country&&(t=t.length?`${t}, ${e.country}`:e.country),x(t)},A=()=>{f(!1)},w=async(e,a)=>{e.preventDefault();let r="";if(a){let e=a?.postcode??"",t=a?.city??"",n=a?.country??"";e&&(r+=e,(t||n)&&(r+=`, ${t}`),n&&(r+=`, ${n}`)),i(a)}else r=o;let n="";try{n=r?.split(",")[0].trim()||""}catch(e){console.error("failed to parse postcode!")}finally{n&&/^\d+$/.test(n)&&c(n),t(n,e),r?c(r):t(n,e)}f(!1),m([])},E=e=>{c(e?.target?.value),f(!0)};return(0,N.jsx)("div",{className:"postcode-search",children:(0,N.jsxs)("form",{onSubmit:w,children:[r?.postcodesearch_title&&(0,N.jsx)("h2",{className:"postcode-search-title bold",children:(0,R.trimText)(r?.postcodesearch_title,F.default.TITLE)}),(0,N.jsxs)("div",{className:"postcode-search-content-bar",children:[(0,N.jsx)(j.Input,{className:"postcode-search-input",value:o,useStateValue:!1,"aria-label":"postcode",type:"text",label:r?.postcodesearch_subt
84itle,placeholder:r?.postcodesearch_searchplaceholder,setTextInput:c,onFocus:()=>f(!0),onChange:E}),h&&o?.length>g&&(0,N.jsxs)(N.Fragment,{children:[" ",(0,N.jsx)("div",{className:`postcode-search-output ${p?.length>0?"has-data":"no-data"}`,id:"suggestion-list",children:(0,N.jsxs)("ul",{children:[d&&(0,N.jsx)("li",{children:(0,N.jsx)(D.default,{display:d})}),!d&&(p?.length>0?(0,N.jsx)(N.Fragment,{children:p.map((e,t)=>(0,N.jsx)("li",{className:"postcode-search-output-item",children:(0,N.jsx)("button",{onClick:t=>w(t,e),children:v(e)})},`${t+e}`))}):(0,N.jsx)("li",{}))]})}),(0,N.jsx)("div",{className:"blanket",onClick:A})]})]}),(0,N.jsx)(I.Button,{className:"postcode-search-button",tabindex:1,type:"submit",isDisabled:s,children:r?.postcodesearch_button_details})]})})};var U=e.i(83919),H=M,$=k,G=L,W=e.i(3265),Y=P;let z=({url:e})=>{let[t,a]=(0,$.useState)([]),[i,r]=(0,$.useState)(!1),[n,s]=(0,$.useState)(null),[l,o]=(0,$.useState)({}),[c,d]=(0,$.useState)({lookupTargetID:null,specialityTargetID:null}),[_,y]=(0,$.useState)(""),[x,v]=(0,$.useState)(!1),A=(0,$.useContext)(H.default),{postcodeSearchData:w}=A.applicationConfiguration,E=(0,b.useMediaQuery)("(max-width: 767px)");(0,$.useLayoutEffect)(()=>{let t=async()=>{let t=await (0,W.getBlockData)(e);d({lookupTargetID:t?.data?.relationships?.field_lookup_type?.data?.meta?.drupal_internal__target_id,specialityTargetID:t?.data?.relationships?.field_speciality?.data?.meta?.drupal_internal__target_id})};e&&t()},[e]),(0,$.useEffect)(()=>{let e=async()=>{let e=w;o({postcodesearch_image_src:e?.postcodesearch_default_placeholder_image_url??null,postcodesearch_image_alt:e?.postcode_image_alt??null})};w&&e()},[w]);let S=async e=>{let t=/^[0-9]+$/;try{if(_===e)return;if(e.length!=Y.default.FIVE||!t.test(e)){v(!0),y(e),a([]);return}v(!1),y(e);let{lookupTargetID:i}=c,{specialityTargetID:n}=c,s=`/restapi/postcode-details/${e}/${i}/`;n?s+=`${n}`:s+="null";let l=await (0,G.getApi)(s),o=l?.detailed_data||[];a(o),r(!0)}catch(e){r(!0),console.error("Error fetching data from API:",e),a([])}},C=e=>{let t="";return e?.city&&(t=e.city),e?.country&&(t=t.length?`${t}, ${e.country}`:e.country),e?.address&&(t=t.length?`${t}, ${e.address}`:e.address),t},N=(0,$.useMemo)(()=>{if(!(t.length>0))return(0,u.jsxs)("div",{className:"postcode-search-function-image",children:[x&&(0,u.jsx)("h4",{className:"postcode-contact-card-error",children:(0,u.jsx)(g.RichText,{content:A?.applicationConfiguration?.siteConfig?.postcodesearch_error_msg?.value})}),(0,u.jsx)(p.Img,{type:"default",layout:"intrinsic",alt:l?.postcodesearch_image_alt,src:l?.postcodesearch_image_src,width:702,height:336})]});{let e=[...t];if(n){let t=e.findIndex(e=>e.city===n.city);if(-1!==t){let a=e.splice(t,1)[0];e.unshift(a)}}return(0,u.jsx)(U.default,{slideToShow:1,slideToShowTablet:1,children:e.map((e,t)=>(0,u.jsx)(T,{display_name:e?.display_name,phone_number:e?.phone_number,email:e?.email,address:C(e),image:{src:e?.image_url,alt:e?.image_alt}},t))})}},[t,l,n,x]);return(0,u.jsx)(f.Container,{fluid:E||!1,children:(0,u.jsxs)(m.Row,{className:"postcode-search-function",children:[(0,u.jsx)(h.Column,{desktop:6,tablet:12,mobile:12,className:"postcode-search-function-component",children:(0,u.jsx)(B,{postCodeDefaultValues:c,handleTextSearch:S,onSelectSuggestion:s,...w})}),(0,u.jsx)(h.Column,{desktop:6,tablet:12,mobile:12,children:N})]})})};e.s(["default",()=>es],27883);var V=t,K=k,q=e.i(74807),Q=L,Z=e.i(3828);e.i(62179);var X=e.i(11462),X=X,J=e.i(61312),ee=e.i(22276),et=e.i(31808),ea=M;let ei=e=>{let t=(0,Z.useRouter)(),a=t?.query?.["brand-id"]||t?.query?.["brand-alias"]||t?.query?.slug?.[1]||"",i=(0,ee.useSelector)(e=>e.user),{applicationConfiguration:{isPimProduct:r=!1}}=(0,K.useContext)(ea.default),{data:n}=(0,q.default)(`${e?.blockUrl}/~~~${a}~~~`,async()=>{try{let t=await (0,Q.getApi)(`${e?.blockUrl}/~~~${a}~~~`);if(!t?.banner_data?.brandImages)return null;let r=(0,J.getAllRoles)(t);if(r?.length&&!i?.isLoggedIn&&(e?.updatePaywall3Roles(Array.from(new Set(r))),e?.updatePaywallContent(!0)),t?.banner_data){let e=t?.banner_data,a=(0,J.returnValIfnotPaywalled)(e?.brandImages)&&e?.brandImages?.length?{src:e?.brandImages?.[0]?.src??"",alt:e?.brandImages?.[0]?.alt??"",styledimage:e?.brandImages?.[0]?.image_style_uri??null}:(0,J.getPaywalledImgData)(e?.brandImages);return{heroBannerContent:{title:(0,J.returnValIfnotPaywalled)(e?.brand_title),paragraph:(0,J.returnValIfnotPaywalled)(e?.brand_description)},heroBannerImage:{styledimage:a.styledimage??null,desktopImage:{src:a.src??null,alt:a.alt??null,width:1440,height:540},mobileImage:{src:a.src??null,alt:a.alt??null,width:390,height:240}}}}return null}catch(e){}});return n&&r?(0,V.jsx)(X.default,{...n}):(0,V.jsx)(V.Fragment,{})},er={updatePaywallContent:e=>(0,et.updatePaywallContent)(e),updatePaywall3Roles:e=>(0,et.updatePaywall3Roles)(e)},en=e=>({paywalledContent:e.common.paywallContent,user:e.user}),es=(0,ee.connect)(en,er)(ei);e.s(["default",()=>eN],10519);var el=t,eo=k,ec=i,ed=m,eu=e.i(25675),eh=b,ef=e.i(36762),ep=e.i(6597),em=e.i(10033),eg=e.i(98601),eb=e.i(68244),e_=Z,ey=J,ex=e.i(82036),ev=W,eA=e.i(81577);let ew=async e=>{if(!e)throw(0,eA.consoleError)(`URL parameter is undefined in ${ew.name}.`);let t=await (0,ev.getProductBlockData)(e),a=(0,ey.getAllRoles)(t),i=[];return i=await Promise.all(t?.data?.map(async e=>{if((0,ey.isPaywallProtected)((0,ex.default)(e,"attributes.enable_paywall_block_level"))?.isPaywallProtectedFlag)return null;let t=!!e?.attributes?.status&&e?.attributes?.status,a=(0,ey.isPaywallProtected)(e?.prodImages);return{id:e?.drupal_internal__nid??null,taxonomyLabel:e?.resultTaxonomies?.description??"",heading:(0,ey.isPaywallProtected)(e?.title).isPaywallProtectedFlag?"":e?.title??"",description:(0,ey.isPaywallProtected)(e?.description).isPaywallProtectedFlag?"":e?.description??"",prodInfoTaxonomies:e?.prodInfoTaxonomies?.map(e=>e.tid)??[],packInfoTaxonomies:e?.packInfoTaxonomies?.map(e=>e.tid)??[],category:(0,ey.isPaywallProtected)(e?.category).isPaywallProtectedFlag?"":e?.category??"",productListViewImage:{src:e?.prodImages?.[0]?.src??"",alt:e?.prodImages?.[0]?.alt??"",styledimage:e?.prodImages?.[0]?.image_style_uri??null},productCardImage:{src:a?.isPaywallProtectedFlag?(0,ey.getPaywalledImgData)(a?.errorObj).imageUrl:e?.prodImages?.[0]?.src??"",alt:a?.isPaywallProtectedFlag?"":e?.prodImages?.[0]?.alt??"",styledimage:a?.isPaywallProtectedFlag?null:e?.prodImages?.[0]?.image_style_uri??null},isLinkExternal:!1,buttonLabel:(0,ey.isPaywallProtected)(e?.primaryButtonLabel).isPaywallProtectedFlag?"":e?.primaryButtonLabel??"",href:(0,ey.isPaywallProtected)(e?.primaryButtonUrl).isPaywallProtectedFlag?"":(0,ev.filterURL)(e?.primaryButtonUrl)??"",specifications:[],bookmark:!(0,ey.isPaywallProtected)(e?.attributes?.status).isPaywallProtectedFlag&&t}})),{data:{allCardsData:(0,ey.filterNullValues)(i),filterOptions:[],totalCount:Number(t?.count??"0")},fieldPaywallRoles:a}},eE=ew;var eS=q,eC=D,eT=P;let eN=({blockUrl:e,dispalyData:t})=>{let[a,i]=(0,eo.useState)(""),r=e,n=(0,e_.useRouter)(),s=n?.query?.search??"",l=n?.query?.page?Number(n?.query?.page):eT.default.ONE,o=n?.query?.order??"",{data:c,isLoading:d}=(0,eS.default)(`${r}?page=${l}&search=${s}${o?`&sort_order=${o}`:""}`,async()=>{try{let e=await eE(`${r}?page=${l}&search=${s}${o?`&sort_order=${o}`:""}`);return e?.data}catch(e){}}),u=t?.title,h=t?.label,{GRID_CONFIGURATOR_TEXT:f,GRID_VIEW:p,LIST_VIEW:m}=eu.default,g=h?.default_view===f?p:m,[b,_]=(0,eo.useState)(void 0),[y,x]=(0,eo.useState)(!0),[v,A]=(0,eo.useState)(new Map),[w,E]=(0,eo.useState)([]),[S,C]=(0,eo.useState)(g),T=(0,eh.useMediaQuery)("(max-width: 767px)"),N=T?"grid":S,k={list_view_text:t?.label?.list_view_text,grid_view_text:t?.label?.grid_view_text},I=n?.query?.category||"";(0,eo.useEffect)(()=>{let e=n?.query?.search??"";E(I?I?.split(","):[]),i(e)}
84,[n?.query]),c?.allCardsData?.forEach(e=>{Number(I)&&Number(I)===Number(e.category)&&(u=e.taxonomyLabel)});let j=(e,t)=>{A(new Map(v.set(e,t.map(e=>e.value||e.id))))};(0,eo.useEffect)(()=>{L()},[w]);let P=e=>{let t=o?{order:o}:{};n.push({pathname:window.location.pathname,query:{category:w.join(","),search:e,page:1,...t}},void 0,{shallow:!0})},L=()=>{x(!0),_(c?.allCardsData?.filter(e=>(!a||!a.length||e?.heading?.toLowerCase()?.includes(a.toLowerCase())||e?.description?.toLowerCase()?.includes(a.toLowerCase()))&&(!w.length||e?.prodInfoTaxonomies.concat(e?.packInfoTaxonomies).concat(e?.category).some(e=>w.indexOf(e)>=0)))),x(!1)},O=e=>{x(!0);let t=Array.from(v,([e,t])=>({name:e,value:t})).reduce((e,t)=>[...e,...t.value],[]);n.push({pathname:window.location.pathname,query:{category:t.join(","),search:e}},void 0,{shallow:!0}),i(e)},D={handleSearch:(e,t)=>{t?.preventDefault(),P(e)},handleAdditionalFilters:j,searchFieldData:{buttonText:t?.searchLabels?.buttonText,isCleared:!0},clearFilterText:t?.filterLabels?.clearText,labelItemsSelected:"selected items",applyFiltertext:t?.filterLabels?.applyText,filterData:t?.filterOptions,searchArgs:t?.searchLabels,resultLabels:t?.resultLabels,resultLength:c?.totalCount||0,applyAdditionalFilters:O,currentSearchText:a,handleSearchText:i},M=()=>{let e=S===p?m:p;return C(e),e},R=(e,t,a)=>(0,el.jsx)(ed.Row,{className:"pagination-wrapper",children:(0,el.jsx)(ef.default,{itemsPerPage:e,itemsCount:t,onClick:a,offSet:l-1})}),F=e=>{let i=(e+t.itemsPerPage)/t.itemsPerPage,r=o?{order:o}:{};n.push({pathname:window.location.pathname,query:{category:w.join(","),search:a,page:i,...r}},void 0,{shallow:!0})},B=e=>{n.push({pathname:window.location.pathname,query:{category:w.join(","),search:a,page:l,order:e}},void 0,{shallow:!0})},U=()=>(0,el.jsxs)(el.Fragment,{children:[c?.allCardsData?.length?(0,el.jsxs)("div",{className:`switch-view-button-spaceContainer ${N}-view`,children:[c?.allCardsData.map((e,t)=>(0,el.jsx)(ep.default,{...e,view:N},t))," "]}):(0,el.jsx)(eb.TitleDescription,{title:t?.resultLabels?.noResultsFoundText,description:"",className:"no-result"}),c?.totalCount>t?.itemsPerPage&&R(t?.itemsPerPage,c?.totalCount,F)]});return(0,el.jsx)("div",{children:y?(0,el.jsx)("div",{className:"load-container",children:(0,el.jsx)(eC.default,{display:!0})}):(0,el.jsxs)(el.Fragment,{children:[(0,el.jsxs)(ed.Row,{className:"switch-view-button",children:[(0,el.jsx)(ec.Column,{desktop:6,tablet:6,mobile:12,children:(0,el.jsx)("h3",{className:"plp-title-section",children:""!=u?u:t?.title})}),(0,el.jsx)(ec.Column,{desktop:6,tablet:6,mobile:12,className:"switch-view-button-alignment",children:(0,el.jsx)(em.default,{label:k,hideSortCTA:!0,view:S,hideViewTypeCTA:t?.hideViewCTA,onSaveIdHandler:M,isMobileDisplay:!!T,setOrderSortValue:B,defaultSort:o??"DESC"})})]}),(0,el.jsxs)(ed.Row,{className:"plp-advance-filterdata",children:[(0,el.jsx)(ec.Column,{desktop:3,tablet:12,mobile:12,children:(0,el.jsx)(eg.default,{...D})}),(0,el.jsx)(ec.Column,{desktop:9,tablet:12,mobile:12,children:y||d?(0,el.jsx)("div",{className:"load-container",children:(0,el.jsx)(eC.default,{display:!0})}):U()})]})]})})}},70935,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(24005),n=e.i(96968);let s=e=>{let i,r,s,l,o,c,d=(0,a.c)(14),{isSelected:u,label:h,isDisabled:f,isFocused:p}=e;d[0]===Symbol.for("react.memo_cache_sentinel")?(i={display:"flex",alignItems:"center",gap:8},d[0]=i):i=d[0];let m=u||p,g="string"==typeof h?h:void 0;return d[1]===Symbol.for("react.memo_cache_sentinel")?(r={margin:0,width:18,height:18,cursor:"pointer",accentColor:"#2563eb",borderRadius:4,flexShrink:0},d[1]=r):r=d[1],d[2]!==m||d[3]!==g?(s=(0,t.jsx)("input",{type:"checkbox",checked:m,readOnly:!0,tabIndex:-1,"aria-label":g,style:r}),d[2]=m,d[3]=g,d[4]=s):s=d[4],d[5]!==h?(l=(0,t.jsx)("span",{children:h}),d[5]=h,d[6]=l):l=d[6],d[7]!==f||d[8]!==s||d[9]!==l?(o=(0,t.jsxs)("div",{style:i,"aria-disabled":f,children:[s,l]}),d[7]=f,d[8]=s,d[9]=l,d[10]=o):o=d[10],d[11]!==e||d[12]!==o?(c=(0,t.jsx)(n.components.Option,{...e,children:o}),d[11]=e,d[12]=o,d[13]=c):c=d[13],c};function l(e="Select All",a="Clear",i=!1){return function(r){let{children:s,selectProps:l}=r,o=l.options??[],c=l.value??[],d=o.filter(e=>!e.disabled),u=d.length>0&&d.every(e=>c?.some(t=>t.value===e.value));c&&c.length;let h=()=>{u?l.onChange?.([],{action:"deselect-option"}
84):l.onChange?.(d,{action:"select-option"})};return(0,t.jsxs)(n.components.MenuList,{...r,children:[i&&(0,t.jsx)("div",{style:{display:"flex",justifyContent:"space-between",padding:"6px 8px",borderBottom:"1px solid var(--ms-border, #e5e7eb)",position:"sticky",top:0,background:"var(--ms-bg, #fff)",zIndex:1},children:(0,t.jsx)("button",{type:"button",onClick:h,style:{fontSize:12,padding:"4px 8px",borderRadius:4,border:"1px solid var(--ms-border, #d1d5db)",background:"#fff",cursor:"pointer"},children:u?a:e})}),s]})}}let o={control:(e,t)=>({...e,minHeight:48,borderRadius:4,borderColor:t.isFocused?"#2684FF":"#d1d5db",boxShadow:"none",cursor:"pointer","&:hover":{borderColor:"#9ca3af"}}),valueContainer:e=>({...e,display:"flex",flexWrap:"nowrap",alignItems:"center",overflow:"hidden",whiteSpace:"nowrap",padding:"2px 8px",gap:0}),placeholder:e=>({...e,fontSize:"18px",color:"#6b7280"}),input:e=>({...e,margin:0,padding:0,width:2,minWidth:2}),container:e=>({...e,width:"100%"}),singleValue:e=>({...e,fontSize:"18px",color:"#6b7280"}),multiValue:e=>({...e,backgroundColor:"transparent",margin:0,maxWidth:"100%"}),multiValueRemove:e=>({...e,display:"none",":hover":{backgroundColor:"transparent",color:"#111827"}}),menu:e=>({...e,zIndex:9999,borderRadius:4,overflow:"hidden",marginTop:4}),menuList:e=>({...e,paddingTop:0,paddingBottom:0}),option:(e,t)=>({...e,display:"flex",alignItems:"center",fontSize:"18px",fontWeight:400,padding:"10px 12px",minHeight:"50px",backgroundColor:t.isSelected?"transparent":t.isFocused?"#1C59B5":"transparent",color:t.isFocused&&!t.isSelected?"#fff":"#111827",cursor:t.isDisabled?"not-allowed":"pointer",borderBottom:"1px solid #e5e7eb",":active":{backgroundColor:"#e5e7eb"}}),indicatorSeparator:()=>({display:"none"}),dropdownIndicator:e=>({...e,color:"#6b7280",":hover":{color:"#374151"}}),clearIndicator:()=>({display:"none"})},c=e=>{let r,s,l,o,c,d,u,h,f,p,m=(0,a.c)(21),{children:g}=e;m[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],m[0]=r):r=m[0];let b=r,_=null;if(Array.isArray(g)){let[e,t]=g;if(Array.isArray(e))b=e;else if(i.default.isValidElement(e)){let t;m[1]!==e?(t=[e],m[1]=e,m[2]=t):t=m[2],b=t}_=t}m[3]!==b?(s=b.slice(0,1),m[3]=b,m[4]=s):s=m[4];let y=s,x=Math.max(0,b.length-1);return m[5]===Symbol.for("react.memo_cache_sentinel")?(l={display:"flex",alignItems:"center",flexWrap:"nowrap",overflow:"hidden",width:"100%",minWidth:0},o={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,display:"flex",alignItems:"center",flexShrink:1},m[5]=l,m[6]=o):(l=m[5],o=m[6]),m[7]!==y?(c=(0,t.jsx)("div",{style:o,children:y}),m[7]=y,m[8]=c):c=m[8],m[9]!==x?(d=x>0&&(0,t.jsxs)("div",{style:{marginLeft:4,whiteSpace:"nowrap",flexShrink:0,fontSize:18},children:["...(",x,")"]}),m[9]=x,m[10]=d):d=m[10],m[11]===Symbol.for("react.memo_cache_sentinel")?(u={width:2,minWidth:2,flexShrink:0},m[11]=u):u=m[11],m[12]!==_?(h=(0,t.jsx)("div",{style:u,children:_}),m[12]=_,m[13]=h):h=m[13],m[14]!==c||m[15]!==d||m[16]!==h?(f=(0,t.jsxs)("div",{style:l,children:[c,d,h]}),m[14]=c,m[15]=d,m[16]=h,m[17]=f):f=m[17],m[18]!==e||m[19]!==f?(p=(0,t.jsx)(n.components.ValueContainer,{...e,children:f}),m[18]=e,m[19]=f,m[20]=p):p=m[20],p},d=e=>{let n,d,x,v,A,w,E,S,C,T,N,k,I,j,P=(0,a.c)(38),{options:L,isMulti:O,isCleared:D,placeHolder:M,onValueChange:R,isDisabled:F,intialValue:B,clearCatFlag:U,setClearCatFlag:H,isV3:$}=e;P[0]!==B?(n=void 0===B?[]:B,P[0]=B,P[1]=n):n=P[1];let G=n,[W,Y]=(0,i.useState)(G);P[2]!==U||P[3]!==G||P[4]!==H?(d=()=>{U&&(Y(G),H(!1))},P[2]=U,P[3]=G,P[4]=H,P[5]=d):d=P[5],P[6]!==U?(x=[U],P[6]=U,P[7]=x):x=P[7],(0,i.useEffect)(d,x),P[8]!==G||P[9]!==O||P[10]!==$||P[11]!==R||P[12]!==W?(v=e=>{if(O)if($){let t=G.length>e.length?G.find(t=>!e.find(e=>e.id===t.id)):e.find(e=>!G.find(t=>t.id===e.id));Y(e),R?.(e,t)}else Y(e),R?.(e);else{let t=[...W],a=t.length>0?e.filter(e=>e.value!==t[0].value):[...e];Y(a),R?.(a)}},P[8]=G,P[9]=O,P[10]=$,P[11]=R,P[12]=W,P[13]=v):v=P[13];let z=v;P[14]===Symbol.for("react.memo_cache_sentinel")?(A=()=>{Y([])},P[14]=A):A=P[14],P[15]!==D?(w=[D],P[15]=D,P[16]=w):w=P[16],(0,i.useEffect)(A,w),P[17]===Symbol.for("react.memo_cache_sentinel")?(E={control:u,valueContainer:h},P[17]=E):E=P[17];let V=E,K=W?.length??0,q=K>0?`${K} selected`:M||"Select...";P[18]!==O?(S=e=>({...e,display:O?"flex":"none"}),P[18]=O,P[19]=S):S=P[19],P[20]===Symbol.for("react.memo_cache_sentinel")?(C=V??{},P[20]=C):C=P[20],P[21]!==S?(T={...o,multiValue:f,multiValueLabel:p,multiValueRemove:S,...C},P[21]=S,P[22]=T):T=P[22];let Q=T;P[23]!==z?(N=e=>z(e),P[23]=z,P[24]=N):N=P[24];let Z=!O;return P[25]!==O?(k=l("Select All","Clear All",O),P[25]=O,P[26]=k):k=P[26],P[27]!==k?(I={Option:s,MenuList:k,ValueContainer:c,MultiValueRemove:_,ClearIndicator:y},P[27]=k,P[28]=I):I=P[28],P[29]!==q||P[30]!==F||P[31]!==Q||P[32]!==L||P[33]!==W||P[34]!==N||P[35]!==Z||P[36]!==I?(j=(0,t.jsx)(r.default,{className:"basic-single select__control dropdown-content",classNamePrefix:"select",isMulti:!0,isDisabled:F,options:L,value:W,onChange:N,placeholder:q,getOptionValue:m,getOptionLabel:g,isOptionDisabled:b,closeMenuOnSelect:Z,hideSelectedOptions:!1,menuPosition:"fixed",menuPortalTarget:"u">typeof document?document.body:void 0,components:I,styles:Q}),P[29]=q,P[30]=F,P[31]=Q,P[32]=L,P[33]=W,P[34]=N,P[35]=Z,P[36]=I,P[37]=j):j=P[37],j};function u(e){return{...e,minHeight:40}}function h(e){return{...e,overflow:"hidden"}}function f(e){return{...e,borderRadius:9999,backgroundColor:"transparent",boxShadow:"none"}}function p(e){return{...e,fontSize:"18px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"220px",padding:0}}function m(e){return e.value}function g(e){return e.label}function b(e){return!!e.disabled}function _(){return null}function y(){return null}e.s(["default",0,d])},69550,e=>{"use strict";var t=e.i(70935);e.s(["ProductDropDown",()=>t.default])},80169,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n,s=(0,a.c)(12);s[0]!==e.className||s[1]!==e.icon||s[2]!==e.secondary?(i=()=>{let t=[];return t.push("btn-text"),e.secondary?t.push("btn-secondary"):t.push("btn-primary"),e.icon&&t.push("btn-icon"),e.className&&t.push(e.className),t.join(" ")},s[0]=e.className,s[1]=e.icon,s[2]=e.secondary,s[3]=i):i=s[3];let l=i();return s[4]!==e.icon?(r=e.icon&&(0,t.jsx)("span",{className:"icon",children:e.icon}),s[4]=e.icon,s[5]=r):r=s[5],s[6]!==e.children||s[7]!==e.isDisabled||s[8]!==e.onClick||s[9]!==l||s[10]!==r?(n=(0,t.jsxs)("button",{className:l,disabled:e.isDisabled,onClick:e.onClick,children:[r,e.children]}
84),s[6]=e.children,s[7]=e.isDisabled,s[8]=e.onClick,s[9]=l,s[10]=r,s[11]=n):n=s[11],n};e.s(["default",0,i])},49326,e=>{"use strict";var t=e.i(80169);e.s(["TextButton",()=>t.default])},22681,e=>{"use strict";e.s(["default",()=>v]);var t=e.i(91398),a=e.i(91788),i=e.i(22276),r=e.i(67552),n=e.i(31808);e.i(48756);var s=e.i(38233),l=e.i(75366),o=e.i(17419),c=e.i(49266),d=e.i(28203),u=e.i(69550),h=e.i(66196),f=e.i(49326),p=e.i(97268),m=e.i(33999),g=e.i(22038),b=e.i(22854),_=e.i(17503),y=e.i(82054),x=e.i(75425);let v=e=>{let{searchFieldData:v,labelItemsSelected:A,handleSearch:w,filterData:E,applyFiltertext:S,handleAdditionalFilters:C,applyAdditionalFilters:T,searchArgs:N,currentSearchText:k="",handleSearchText:I,handleCategorySelection:j,handleClearCategorySelection:P,handleAllFilterClear:L,handleClearMobileSelection:O,searchFlag:D,totalProductCount:M,filterText:R,showMoreText:F,showLessText:B,mobileFilterData:U,additionalFilters:H,updateAdditionalFilters:$,getMobileFilterData:G,textSearchLabel:W,availableProductCountText:Y,searchedProductCount:z,unselectAllItemLabel:V,searchPlaceholderMobile:K,catTextMobile:q,unselectItems:Q,productIsLoading:Z,productFilterData:X,setCurrentFilterUrl:J,isV3:ee=!1}=e,[et,ea]=(0,a.useState)(!1),[ei,er]=(0,a.useState)(!1),[en,es]=(0,a.useState)(!1),[el,eo]=(0,a.useState)(""),[ec,ed]=(0,a.useState)(k),[eu,eh]=(0,a.useState)(!1),[ef,ep]=(0,a.useState)(!1),[em,eg]=(0,a.useState)({}),[eb,e_]=(0,a.useState)(""),[ey,ex]=(0,a.useState)(""),{applicationConfiguration:ev}=(0,a.useContext)(y.default),eA=(0,r.getDomainLang)(),ew={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",border:"0"},eE=x.default.ONE,eS=(0,i.useSelector)(e=>e?.common?.accordianProductFilterIndex,i.shallowEqual),eC=(0,i.useDispatch)(),eT=(0,g.default)("(max-width: 991px)"),eN=(0,a.useCallback)(e=>eC((0,n.updateProductFilter)(e)),[eC]),ek=(0,a.useRef)(!0);(0,a.useEffect)(()=>{if(ek.current){ek.current=!1;return}ec||ej()},[ec]),(0,a.useEffect)(()=>{let e=Array.from(H,([e,t])=>({name:e,value:t}))?.reduce((e,t)=>[...e,...t.value],[]);eg(U?.reduce((t,{label:a,taxonomies:i})=>{let r=ee?i.filter(e=>e?.isSelected):i.filter(t=>e?.filter(e=>X?.includes(e)).includes(t?.id));return{...t,[a]:r}},{}))},[U]);let eI=e=>{e&&G&&G(),ea(e)},ej=()=>{es(!en),eI(!1),eN(0),L&&L()},eP=()=>{es(!en),eI(!1),eN(0),O&&O()},eL=(e,a)=>{let i=z?.split("@searchprodcount"),r=Y?.split("@prodcount");return D||"country-ja"===eA?(0,t.jsxs)(t.Fragment,{children:[i&&i[0],(0,t.jsx)("span",{className:"search-count",children:a}),i&&i[1]]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"search-count",children:a}),r&&r[1]]})},eO=k?.length>2&&0===M;function eD(e){for(let t of E)if(t.taxonomies&&Array.isArray(t.taxonomies)){for(let a of t.taxonomies)if(a.id===e)return a.url}return null}(0,a.useEffect)(()=>{ex(eL(e?.resultLength,M)),eO&&w(ec)},[e?.resultLength,M,eO]);let eM=()=>{T&&T(ec),eI(!1)},eR=(e,t,a)=>{let i=e.target?.checked,r=eD(e.target?.value),n=E.map(e=>({...e,taxonomies:e?.taxonomies.map(e=>(e.id===a.id&&(e.isSelected=i),e))}));J?.(r),w(ec),j&&j(n),E.forEach((e,a)=>{e.label===t&&eN(a)})},eF=e=>{ed(e),w(e)},eB=e=>{I(e),ed(e),e||w(e)},eU=e=>{let t=!e&&!ei;e&&(eo(""),e_("")),er(t)},eH=e=>{let a,i=el?e?.taxonomies.filter(e=>e?.label?.toLowerCase()?.includes(el.toLowerCase())):e?.taxonomies,r=i.sort((e,t)=>e.isSelected&&!t.isSelected?-1:!e.isSelected&&t.isSelected?1:0),n=(a=ei?r:r.slice(0,8)).filter(e=>!0===e.isSelected),s=a.filter(e=>!1===e.isSelected);return(0,t.jsxs)(t.Fragment,{children:[n.length>0&&n.map(a=>(0,t.jsx)(l.CheckBox,{id:a?.label,value:a?.id,label:a?.label,isChecked:a?.isSelected,onChange:t=>eR(t,e.label,a)},a?.id)),n.length>0&&s.length>0&&(0,t.jsx)("hr",{}),s.length>0&&s.map(a=>(0,t.jsx)(l.CheckBox,{id:a?.label,value:a?.id,label:a?.label,isChecked:a?.isSelected,onChange:t=>eR(t,e.label,a)},a?.id)),i&&i?.length>8&&(0,t.jsx)("div",{className:"cat-btn-text",children:(0,t.jsx)(f.TextButton,{onClick:()=>eU(),tabindex:1,children:ei?B:`${F} (${i?.length-a?.length})`})})]})},e$=(e,t)=>{let a=ev?.siteConfig?.fes_product_select_count??"";return`(${a.replace(/@selectedprodcount/g,e).replace(/@totalprodcount/g,t)})`},eG=e=>{let t=e?.taxonomies?.filter(e=>!0===e.isSelected);return t?.length>0?e$(t?.length,e?.taxonomies?.length):`(${e?.taxonomies?.length})`},eW=(e,a)=>e.length>0&&(0,t.jsx)("div",{className:"cat-unselect-btn cat-btn-text",children:(0,t.jsx)(f.TextButton,{onClick:()=>P&&P(a),tabindex:1,children:V})}),eY=E?.map(e=>({label:e?.label??"",vid:e?.vid??"",taxonomies:e?.taxonomies?.filter(e=>
84X?.includes(e?.id))})),ez=eY?.find(e=>e?.label===eb),eV=el&&ez?.label===eb?ez?.taxonomies?.filter(e=>e?.label?.toLowerCase()?.includes(el?.toLowerCase())):ez?.taxonomies,eK=e=>{let a=t=>{eo(t.target.value),e_(e?.label)};return(0,t.jsx)(t.Fragment,{children:e?.taxonomies?.length>8?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("label",{htmlFor:e?.vid,style:ew,children:e?.label}),(0,t.jsx)(d.Input,{className:`search-group-input-align search-box search-group-input-align search-icon-category search-field-cross-icon ${ef?"search-box-onkeypress":"search-box-searchicon"}`,value:el,id:e?.vid,type:"search",useStateValue:!1,onChange:a,placeholder:R,onKeyDown:()=>ep(!0),onBlur:()=>ep(!1),"aria-label":R}),(0,t.jsx)("span",{id:"suggestion-status",role:"status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:el.length>eE&&`${eV?.length||0} ${ev?.siteConfig?.product_filter_result_text}`})]}):(0,t.jsx)(t.Fragment,{})})},eq=()=>{let e=E?.map(e=>({label:e?.label??"",vid:e?.vid??"",taxonomies:e?.taxonomies.filter(e=>X?.includes(e.id))}));return e?.map(e=>{let t=e?.taxonomies?.filter(e=>!0===e.isSelected);return{title:e?.label,selectionCount:eG(e),categoryFilterBox:eK(e),unselectCat:eW(t,e?.vid),content:eH(e)}})};(0,a.useEffect)(()=>{eN(0)},[]);let eQ={accordionArray:eq()},eZ=(0,t.jsx)("div",{className:"search-filter-bar-hcontrol search-filter-bar-modal-element-applyBox",children:(0,t.jsx)(s.Button,{type:"button",icon:(0,t.jsx)(c.Icon,{iconName:"CheckedIcon"}),iconPosition:"right",className:"search-button",tabindex:1,onClick:eM,children:S})}),eX=U?.map(e=>({...e,taxonomies:e.taxonomies?.sort((e,t)=>!!t.isSelected-!!e.isSelected)}));return(0,t.jsxs)(t.Fragment,{children:[!eT&&(0,t.jsxs)("div",{className:"advanceSearchFilterWithAccordion-sidebar scroll-top",children:[(0,t.jsx)(_.default,{...N,handleTextSearch:w,handleTextChange:eB,currentSearchText:k,buttonType:"button",className:"advanceSearchFilterWithAccordion-search",inputLabel:W,customButtonText:v?.buttonText??""}),Z?(0,t.jsx)(p.default,{display:Z}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"group-result-and-filter",children:[(0,t.jsx)("h5",{className:"advanceSearchFilterWithAccordion-resultcount",tabIndex:0,children:eL(e?.resultLength,M)}),(0,t.jsx)("span",{id:"announcement",role:"announcement-status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:ey})]}),X?.length>0&&(0,t.jsx)("div",{className:"advanceSearchFilterWithAccordion-accordion",children:(0,t.jsx)(b.default,{selectedIndex:eS,resetState:eU,...eQ})})]})]}),eT&&(0,t.jsxs)("div",{className:"search-filter-section scroll-top",children:[X?.length>0&&(0,t.jsx)(h.Row,{className:`search-filter-clear ${!et&&eT?"hideFilters":""}`,children:(0,t.jsxs)(o.Column,{desktop:12,tablet:12,mobile:12,className:"search-filter-clear-container search-filter-top",children:[(0,t.jsx)("span",{className:"search-filter-bar-modal-overlay",children:" "}),(0,t.jsxs)("div",{className:"search-filter-bar-modal-element",children:[eX?.map(({label:e,isSelected:a,title:i,taxonomies:r})=>r?.length>0?(0,t.jsxs)("div",{className:`search-filter-bar-element ${!et&&eT?"hideFilters":""}`,children:[(0,t.jsx)("div",{className:"mobile-cat-name-count",children:(0,t.jsxs)("span",{className:"cat-selection",children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)("span",{children:i})]})}),(0,t.jsx)(u.ProductDropDown,{options:r.map(e=>({id:e?.id,value:e?.id,label:e?.label,url:e?.url,isSelected:e?.isSelected})),isMulti:!0,isCleared:en,intialValue:em?.[e]??[],onValueChange:ee?(t,a)=>C?.(e,t,a):t=>C?.(e,t),ariaLabel:"",name:"",clearCatFlag:eu,setClearCatFlag:eh,catTextMobile:q,isV3:ee})]},e):(0,t.jsx)(t.Fragment,{})),!ee&&eZ,(0,t.jsx)("div",{className:"search-filter-bar-modal-element-filter-clear",children:(0,t.jsxs)("span",{"aria-hidden":"true",onClick:ee?eP:ej,children:[V,(0,t.jsx)("span",{className:"icon",children:(0,t.jsx)(c.Icon,{iconName:"CrossIcon"})})]})})]})]})}),(0,t.jsx)(h.Row,{className:"search-filter-action",children:(0,t.jsxs)(o.Column,{desktop:12,tablet:12,mobile:12,children:[(0,t.jsx)(m.default,{...v,labelItemsSelected:A,handleFilterBtnToggle:eI,handleSearch:eF,isCleared:en,handleAdditionalFilters:C,
84currentSearchText:ec,handleSearchText:I,inputLabel:W,searchPlaceholderMobile:K}),Z?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h5",{className:"advanceSearchFilterWithAccordion-resultcount",tabIndex:0,children:eL(e?.resultLength,M)}),(0,t.jsx)("span",{id:"announcement-mobile",role:"announcement-status-mobile","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:ey})]})]})})]})]})}},92631,e=>{"use strict";var t=e.i(22740);let a=e=>s({type:t.ADD_PRODUCT_FILTER,productFilter:e}),i=e=>s({type:t.SET_SEARCH_TEXT,searchText:e}),r=e=>s({type:t.SET_ORDER,order:e}),n=e=>s({type:t.SET_PAGE_NUMBER,currentPage:e}),s=e=>t=>{t(e)};e.s(["addProductFilter",0,a,"setCurrentPage",0,n,"setOrderVal",0,r,"setSearchTextVal",0,i])},73179,e=>{"use strict";e.s(["default",()=>N]);var t=e.i(91398),a=e.i(61312);e.i(48756);var i=e.i(17419),r=e.i(66196),n=e.i(34609),s=e.i(25675),l=e.i(74807),o=e.i(91788),c=e.i(22276),d=e.i(3828);e.i(41871);var u=e.i(87612),h=e.i(22681),f=e.i(92631),p=e.i(3265);e.i(35958);var m=e.i(886),g=e.i(68244),b=e.i(6597),_=e.i(79021),y=e.i(97268),x=e.i(10033),v=e.i(82054),A=e.i(75425),w=e.i(31808),E=e.i(41764);let S=({label:e,title:S,hideViewCTA:C,searchLabels:T,filterLabels:N,resultLabels:k,url:I,buttonLabel:j,showInCard:P,type:L,updatePaywallContent:O,sortProductsText:D,moreAboutProductTextCta:M,moreAboutProductFamilyTextCta:R})=>{let F="pim_product_listing"===L?"/restapi/pim/solarapi/v1/csv_product_filter/default":"/restapi/solarapi/v1/csv_product_filter/default",{applicationConfiguration:B,applicationHeaderData:U}=(0,o.useContext)(v.default),H=parseInt(B?.siteConfig?.items_per_page,10)||A.default.NINE,{GRID_CONFIGURATOR_TEXT:$,GRID_VIEW:G,LIST_VIEW:W}=s.default,Y=e?.default_view===$?G:W,[z,V]=(0,o.useState)(""),[K,q]=(0,o.useState)(S),[Q,Z]=(0,o.useState)([]),[X,J]=(0,o.useState)(!1),[ee,et]=(0,o.useState)(!1),[ea,ei]=(0,o.useState)([]),[er,en]=(0,o.useState)([]),[es,el]=(0,o.useState)(0),[eo,ec]=(0,o.useState)({}),ed=(0,o.useRef)(null),[eu,eh]=(0,o.useState)(new Map),[ef,ep]=(0,o.useState)(!1),[em,eg]=(0,o.useState)({listing_page_leaflet_ctas_flag:0,leaflet_cta_accordion_flag:0,leaflet_cta_accordion_label_desktop:"",leaflet_cta_accordion_label_mobile:""}),[eb,e_]=(0,o.useState)(!1),{protocol:ey,host:ex,pathname:ev}=window.location,eA=(0,c.useSelector)(e=>e?.user),ew=(0,c.useSelector)(e=>e?.product.productFilter,c.shallowEqual),eE=(0,c.useSelector)(e=>e?.product?.searchText,c.shallowEqual),eS=(0,c.useSelector)(e=>e?.product?.order,c.shallowEqual),eC=(0,c.useSelector)(e=>e?.product?.currentPage,c.shallowEqual),eT=(0,c.useSelector)(e=>e?.common?.productCatalogTitle,c.shallowEqual),eN=(0,c.useDispatch)(),ek=(0,o.useCallback)(e=>eN((0,f.addProductFilter)(e)),[eN]),eI=(0,o.useCallback)(e=>eN((0,w.updateProductFilter)(e)),[eN]),ej=(0,o.useCallback)(e=>eN((0,f.setSearchTextVal)(e)),[eN]),eP=(0,o.useCallback)(e=>eN((0,f.setOrderVal)(e)),[eN]),eL=(0,o.useCallback)(e=>eN((0,f.setCurrentPage)(e)),[eN]);B?.siteConfig?.login_text;let eO=(0,o.useCallback)(e=>eN((0,w.updateProductCatalogTitle)(e)),[eN]);(0,o.useEffect)(()=>{ef&&!eA.isLoggedIn&&O(!0)},[ef,eA]);let[eD,eM]=(0,o.useState)(Y),eR=(0,u.useMediaQuery)("(max-width: 767px)"),eF=eR?"grid":eD,eB=()=>ed?.current?.scrollIntoView({behavior:"smooth",block:"start"}),eU={list_view_text:e?.list_view_text,grid_view_text:e?.grid_view_text},eH=(0,d.useRouter)(),e$=B?.siteConfig?.label_key_value_pair,{data:eG,isLoading:eW}=(0,l.default)(F,async()=>{try{let e=await (0,p.getProductBlockData)(F);if(e)return e.sort((e,t)=>parseInt(e.order,10)-parseInt(t.order,10)),e?.map(e=>({label:e?.label??"",vid:e?.vid??"",taxonomies:e?.taxonomies?.map(e=>({id:e.tid,label:e.label,isSelected:!1}))??[],show_overlay_for_rx_pdt:E.ENABLE_DISABLE_VALUE[e?.show_overlay_for_rx_pdt]??!1}));return e}catch(e){}}),eY=()=>{let e=eH?.query?.prod_cat_filter||"",t=e?e.split(","):[],a=[];return t?.forEach(e=>{let t=eH?.query[e];a.push(t?.replace(/\[/g,"").replace(/]/g,"").split(","))}),{catIds:a.flat(),catArray:t}},ez=e=>eG?.map(t=>({label:t?.label??"",vid:t?.vid??"",taxonomies:t?.taxonomies?.map(t=>({id:t.id,label:t.label,isSelected:e.includes(t.id)}))??[],show_overlay_for_rx_pdt:t?.show_overlay_for_rx_pdt})),eV=(e,t)=>{let a={};
84e.forEach(e=>{if(t.includes(e.vid)){let t=[];e.taxonomies.forEach(e=>{e.isSelected&&t.push(e.id)}),a[e.label]=t}});let i=new Map;return Object.keys(a).forEach(e=>{i.set(e,a[e])}),i},eK=e=>{let t=null;return eG?.forEach(a=>{let i=a?.taxonomies?.find(t=>t.id===e);i&&(t=i?.label)}),t};(0,o.useEffect)(()=>{if(eH?.query&&eG&&!eW){let{catIds:e,catArray:t}=eY(),a=eH?.query?.text_search??"",i=eH?.query?.order??"ASC",r=eH?.query?.page?Number(eH?.query?.page):0,n=ez(e),s=eV(n,t);if(""!==eT){let e=eH?.query?.prod_cat_filter||"",t=e?e.split(","):[],a=eY(),i=eK(a?.catIds?.[0]);i&&q(i);let r=eG?.findIndex(e=>e?.vid===t[0]);eI(-1===r?0:r)}eh(s),ek(n),ej(a),eP(i),eL(r)}},[eH?.query,eG]),(0,o.useEffect)(()=>{eG&&!eW&&e3()},[eu]);let eq=(e,t)=>{let a=[];e.forEach(e=>{e.taxonomies.forEach(t=>{if(t.isSelected){let i={};i.id=t.id,i.vid=e.vid,i.show_overlay_for_rx_pdt=e?.show_overlay_for_rx_pdt,a.push(i)}})}),e_(a?.find(e=>!0===e.show_overlay_for_rx_pdt)!==void 0&&!t);let i=Array.from(new Set(a.map(e=>e.vid))),r={};return i.forEach(e=>{r[e]=[],a.filter(t=>t.vid==e).forEach(t=>{r[e].push(t.id)})}),i.length>0?`prod_cat_filter=${i.join(",")}&${JSON.stringify(r).replace(/],/g,"]&").replace(/["{}]/g,"").replace(/:/g,"=")}`:"prod_cat_filter="},eQ=(e,t)=>{Z(e?.map(e=>{let i="pim_product_listing"===L?e?.showInCard??[]:[...e?.prodInfoTaxonomies??[],...e?.stInfoTaxonomies??[],...e?.byInfoTaxonomies??[],...e?.wdInfoTaxonomies??[]],r=(0,a.isPaywallProtected)(e?.prodImages);i=i?.map(e=>({description:(0,a.isPaywallProtected)(e?.description).isPaywallProtectedFlag?"":e?.description??"",tid:e?.tid,title:(0,a.isPaywallProtected)(e?.title).isPaywallProtectedFlag?"":e?.title??"",vid:e.vid,format:e?.format??""})),"pim_product_listing"!==L&&(i=i?.filter(e=>P.includes(e.vid))),(0,a.getAllRoles)(e)&&O(!0);let n=e=>e?.map(e=>({taxonomyLabel:e?.description}));return{id:e?.drupal_internal__nid??null,taxonomies:(0,a.isPaywallProtected)(n(e?.pdTagsTaxonomies)).isPaywallProtectedFlag?"":n(e?.pdTagsTaxonomies)??[],heading:(0,a.isPaywallProtected)(e?.title).isPaywallProtectedFlag?"":e?.title??"",description:(0,a.isPaywallProtected)(e?.description).isPaywallProtectedFlag?"":e?.description??"",prodInfoTaxonomies:e?.prodInfoTaxonomies?.map(e=>e.tid)??[],packInfoTaxonomies:e?.packInfoTaxonomies?.map(e=>e.tid)??[],category:(0,a.isPaywallProtected)(e?.category).isPaywallProtectedFlag?"":e?.category??"",productListViewImage:{src:r?.isPaywallProtectedFlag?(0,a.getPaywalledImgData)(r?.errorObj).imageUrl:e?.prodImages?.[0]?.src??"",alt:r?.isPaywallProtectedFlag?"":e?.prodImages?.[0]?.alt??"",styledimage:r?.isPaywallProtectedFlag?null:e?.prodImages?.[0]?.image_style_uri??null},productCardImage:{src:r?.isPaywallProtectedFlag?(0,a.getPaywalledImgData)(r?.errorObj).imageUrl:e?.prodImages?.[0]?.src??"",alt:r?.isPaywallProtectedFlag?"":e?.prodImages?.[0]?.alt??"",styledimage:r?.isPaywallProtectedFlag?null:e?.prodImages?.[0]?.image_style_uri??null},isLinkExternal:!1,buttonLabel:j,href:e?.path??"",hrefFamily:e?.productfamilypath??"",productLinkText:e?.productlinkCTAtext??"",familyLinkText:e?.productfamilyCTAtext??"",specifications:i??[],bookmark:!(0,a.isPaywallProtected)(e?.title).isPaywallProtectedFlag&&e?.attributes?.status,pimCTADetails:(0,a.isPaywallProtected)(e?.title).isPaywallProtectedFlag||(0,a.isPaywallProtected)(e?.san_ir_producttopdf).isPaywallProtectedFlag?[]:e?.san_ir_producttopdf,basisCTALabel:e?.basistext_anchored_link?.label??"",basisTextPath:e?.basistext_anchored_link?.path??"",attachmentLabel:e?.attachment_section_link?.label??"",attachmentPath:e?.attachment_section_link?.path??"",isRXProduct:e?.field_san_at_otcrx=="Rx",overlayMessage:t??""}}))},eZ=async(e,t,i,r,n)=>{et(!0);let s=eq(e,n),l=`${I}?${s}&order=${i}&page=${r}&text_search=${encodeURIComponent(t)}`,o=await (0,p.getProductBlockData)(l);(0,a.getAllRoles)(o)&&ep(!0),ec(o?.metatags),eQ(o?.product_data,o?.show_overlay_message),el(o?.total_product_count),en(o?.filter_data),eg({listing_page_leaflet_ctas_flag:o?.listing_page_leaflet_ctas_flag,leaflet_cta_accordion_flag:o?.leaflet_cta_accordion_flag,leaflet_cta_accordion_label_desktop:o?.leaflet_cta_accordion_label_desktop,leaflet_cta_accordion_label_mobile:o?.leaflet_cta_accordion_label_mobile}),et(!1)},eX=(0,o.useCallback)((0,_.default)((e,t,a,i,r)=>eZ(e,t,a,i,r),500),[]);(0,o.useEffect)(()=>{""===eT&&q(S)},[eT]),(0,o.useEffect)(()=>{(eE||eS)&&(et(!0),ew?.length>0&&eX(ew,eE,eS,eC,eA?.isLoggedIn))},[ew,eE,eS,eC,eA?.isLoggedIn]);let eJ=e=>{e&&e?.length>2&&(""!==e&&eO(""),ej(e),J(!!e))},e0=e=>{let t=Array.from(eu,([e,t])=>({name:e,value:t})).reduce((e,t)=>
84[...e,...t.value],[]),a=ew?.map(e=>({label:e?.label??"",vid:e?.vid??"",taxonomies:e?.taxonomies?.map(e=>({id:e.id,label:e.label,isSelected:t.includes(e.id)}))??[],show_overlay_for_rx_pdt:e?.show_overlay_for_rx_pdt}));ej(e),eO(""),ek(a),J(!0)},e1=e=>{eO(""),ek(e),J(!0)},e2=e=>{let t=ew?.map(t=>t?.vid===e?{label:t?.label??"",vid:t?.vid??"",taxonomies:t?.taxonomies?.map(e=>({id:e.id,label:e.label,isSelected:!1}))??[],show_overlay_for_rx_pdt:t?.show_overlay_for_rx_pdt}:t);eO(""),ek(t),setTimeout(eB,200),J(!0)},e3=()=>{let e=e5(),t=ew?.map(t=>({label:t?.label??"",vid:t?.vid??"",taxonomies:t?.taxonomies.filter(t=>e?.includes(t.id))}));ei(t?.map(t=>{let a=eu.get(t?.label??"")??[];return a=a?.filter(t=>e?.includes(t)),{label:t?.label??"",vid:t?.vid??"",title:a?.length>0?`(${a?.length} of ${t?.taxonomies?.length})`:`(${t?.taxonomies?.length})`,isSelected:a?.length>0,taxonomies:t?.taxonomies?.map(e=>({id:e.id,label:e.label,value:e.id}))??[]}}))},e4=()=>{let e=ew?.map(e=>({label:e?.label??"",vid:e?.vid??"",taxonomies:e?.taxonomies?.map(e=>({id:e.id,label:e.label,isSelected:!1}))??[],show_overlay_for_rx_pdt:e?.show_overlay_for_rx_pdt}));eh(new Map),e3(),ej(""),ek(e),J(!1)},e6=e=>{eh(e),e3()},e5=()=>{let e=[];return er?.forEach(t=>{t?.taxonomies?.forEach(t=>{e?.push(t.tid)})}),e},e8={handleSearch:(e,t)=>{t?.preventDefault(),eJ(e)},handleAdditionalFilters:(e,t)=>{eh(new Map(eu.set(e,t.map(e=>e.value||e.id))))},searchFieldData:{buttonText:N?.searchCTAMobile,isCleared:!0},clearFilterText:N?.clearText,labelItemsSelected:"selected items",applyFiltertext:N?.applyText,filterData:eG&&!eW?ew:[],mobileFilterData:eG&&!eW?ea:[],searchArgs:T,resultLabels:k,resultLength:Q?.length||0,totalProductCount:es,applyAdditionalFilters:e0,currentSearchText:eE,handleSearchText:V,handleCategorySelection:e1,handleClearCategorySelection:e2,handleAllFilterClear:e4,searchFlag:X,searchCTA:N?.searchCTA,filterText:N?.filterText,showMoreText:N?.showMoreText,showLessText:N?.showLessText,additionalFilters:eu,updateAdditionalFilters:e6,getMobileFilterData:e3,textSearchLabel:N?.textSearchLabel,availableProductCountText:N?.availableProductCountText,searchedProductCount:N?.searchedProductCount,unselectAllItemLabel:N?.unselectAllItemLabel,searchCTAMobile:N?.searchCTAMobile,searchPlaceholderMobile:N?.searchPlaceholderMobile,catTextMobile:N?.catTextMobile,unselectItems:N?.unselectItems,productIsLoading:ee,productFilterData:ee?[]:e5()},e7=()=>{let e=eD===G?W:G;return eM(e),e},e9=e=>{eP(e)},te=e=>{setTimeout(eB,200),eL(e/H)},tt=()=>(0,t.jsxs)(t.Fragment,{children:[Q?.length?(0,t.jsx)("div",{className:`switch-view-button-spaceContainer ${eF}-view`,children:Q.map((e,a)=>(0,t.jsx)(b.default,{...e,view:eF,pimCTADisplay:em,isTaxSelectedForOL:eb,moreAboutProductTextCta:M,moreAboutProductFamilyTextCta:R},a))}):(0,t.jsx)(g.TitleDescription,{title:k?.noResultsFoundText,description:"",className:"no-result"}),Q?.length>0&&(0,t.jsx)(r.Row,{className:"pagination-wrapper",children:(0,t.jsx)(m.Pagination,{itemsCount:es,itemsPerPage:H,onClick:te,offSet:eC,cannonicalUrl:`${ey}//${ex}${ev}?&page=pageNo`})})]});return(0,t.jsxs)("div",{ref:ed,children:[eo&&(0,t.jsx)(n.ProductSeo,{...eo}),(0,t.jsxs)(r.Row,{className:"switch-view-button",children:[(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,children:(0,t.jsx)("h3",{className:"plp-title-section",children:K})}),(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,className:"switch-view-button-alignment",children:(0,t.jsx)(x.default,{label:eU,hideSortCTA:!0,view:eD,hideViewTypeCTA:C,onSaveIdHandler:e7,isMobileDisplay:!!eR,setOrderSortValue:e9,labelKeyValuePair:e$,sortProductsText:D})})]}),(0,t.jsxs)(r.Row,{className:"plp-advance-filterdata",children:[(0,t.jsx)(i.Column,{desktop:3,tablet:12,mobile:12,children:eG&&!eW&&(0,t.jsx)(h.default,{...e8})}),eR?(0,t.jsx)(i.Column,{desktop:9,tablet:12,mobile:12,className:"plp-order-mobile",children:(0,t.jsx)(x.default,{label:eU,hideSortCTA:!0,view:"List",hideViewTypeCTA:!0,isMobileDisplay:!1,isOrderByVisible:!0,setOrderSortValue:e9,labelKeyValuePair:e$})}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(i.Column,{desktop:9,tablet:12,mobile:12,children:ee?(0,t.jsx)(y.default,{display:ee}):tt()})]})]})},C={updatePaywallContent:e=>(0,w.updatePaywallContent)(e)},T=e=>({paywalledContent:e.common.paywallContent}),N=(0,c.connect)(T,C)(S)},82790,10317,40349,33070,9566,30472,43360,e=>{"use strict";e.s(["default",()=>eE],82790);var t=e.i(91398);e.i(48756);var a=e.i(55439),i=e.i(97268),r=e.i(41764),n=e.i(75425),s=e.i(28394),l=e.i(60255);e.s(["fetchOpenOrderTableData",()=>g,"fetchTableData",()=>m,"getFilterLabelData",()=>f,"handleExportPDF",()=>p],10317);var o=t,c=e.i(82036),d=e.i(49266),u=e.i(34467),h=e.i(15315);let f=e=>e?{searchLabel:(0,c.default)(e,"cc_po_listing.search_label.search_text_label"),searchPlaceholder:(0,c.default)(e,"cc_po_listing.search_label.search_text_placeholder"),searchCTALabel:(0,c.default)(e,"cc_po_listing.search_label.search_cta"),dateRangeLabel:(0,c.default)(e,"cc_po_listing.search_label.date_range"),dateRangePlaceholder:(0,c.default)(e,"cc_po_listing.search_label.date_range_min_placeholder"),dateRangeToLabel:(0,c.default)(e,"cc_po_listing.search_label.date_range_to_label"),dateRangeToPlaceholder:(0,c.default)(e,"cc_po_listing.search_label.date_range_max_placeholder"),poStatusLabel:(0,c.default)(e,"cc_po_listing.search_label.po_status"),poStatusOptions:(0,c.default)(e,"cc_po_listing.search_label.po_status_options"),clearLabel:(0,c.default)(e,"cc_po_listing.search_label.clear_label"),tableColumns:(0,c.default)(e,"cc_po_listing.header_label"),resultsLabel:(0,c.default)(e,"cc_po_listing.search_label.search_results_text"),noResultsLabel:(0,c.default)(e,"cc_po_listing.search_label.no_search_results_text"),noResultsDesc:"",sortByLabel:(0,c.default)(e,"cc_po_listing.search_label.sortby_label"),applyFiltersCTALabel:(0,c.default)(e,"cc_po_listing.search_label.apply_filter_cta"),showFiltersCTALabel:(0,c.default)(e,"cc_po_listing.search_label.show_filter_cta"),unSelectItemsLabel:(0,c.default)(e,"cc_po_listing.search_label.unselect_items_label"),paginationCount:(0,c.default)(e,"cc_po_listing.items_per_page"),dropdownPlaceHolder:(0,c.default)(e,"cc_po_listing.search_label.po_status_placeholder"),filter_toggle_label:(0,c.default)(e,"cc_po_listing.search_label.filter_toggle_label"),openOrderCTALabel:(0,c.default)(e,"cc_po_listing.open_orders_cta")??"",openOrderCTAText:(0,c.default)(e,"cc_po_listing.open_orders_count_text")??"",openOrderCTALink:(0,c.default)(e,"cc_po_listing.po_listing_open_orders_link")??"",openOrderTitle:(0,c.default)(e,"cc_po_listing.open_orders_title")??"",searchTitle:(0,c.default)(e,"cc_po_listing.search_label.search_title")??"",searchDesc:(0,c.default)(e,"cc_po_listing.search_label.search_description")??"",companyLabel:(0,c.default)(e,"cc_po_listing.search_label.company_dropdown_label")??"",companydropdownPlaceHolder:(0,c.default)(e,"cc_po_listing.search_label.company_dropdown_placeholder"),detailsPageUrl:(0,c.default)(e,"cc_po_details.po_details_link")||""}:{searchLabel:"",searchPlaceholder:"",searchCTALabel:"",divisionLabel:"",dateRangeLabel:"",dateRangePlaceholder:"",dateRangeToLabel:"",dateRangeToPlaceholder:"",poStatusLabel:"",poStatusOptions:"",clearLabel:"",tableColumns:"",resultsLabel:"",noResultsLabel:"",noResultsDesc:"",sortByLabel:"",applyFiltersCTALabel:"",showFiltersCTALabel:"",unSelectItemsLabel:"",paginationCount:0,dropdownPlaceHolder:"",filter_toggle_label:"",openOrderCTALabel:"",openOrderCTAText:"",openOrderCTALink:"/",searchTitle:"",searchDesc:"",openOrderTitle:"",companyLabel:"",companydropdownPlaceHolder:"",detailsPageUrl:""},p=async(e,t,a,i,r=!1)=>{e.preventDefault();let n=i?`/restapi/pdf-generate?co_num=${t}&invoice_no=${a}&type=invoice_detail`:r?`/restapi/pdf-generate?co_num=${t}&so_number=${a}&type=po_detail`:`/restapi/pdf-generate?co_num=${t}&pack_no=${a}&type=delivery_detail`;try{let e=await (0,h.getApi)(n);if(e){let{data:t,filename:a}=e,i=t,r=window.atob(i),n=r.length,s=new Uint8Array(n);for(let e=0;e<n;e++)s[e]=r.charCodeAt(e);let l=new Blob([s],{type:"application/pdf"}),o=window.URL.createObjectURL(l),c=`${o}#${encodeURIComponent(a)}`,d=window.open(c,"_blank");d&&d.focus();let u=document.createElement("a");u.href=o,u.download=a,document.body.appendChild(u),u.click(),document?.body?.removeChild(u)}}catch(e){console.error("Failed to fetch and open PDF:",e)}},m=(e,t,a=0,i,r,n,s)=>{let l=e;return n&&r&&n.column&&r[n.column]&&(l=l.sort((e,t)=>
84{let a=0,i=e[r[n.column]],s=t[r[n.column]];return"date_ordered"===r[n.column]&&new Date(i)<new Date(s)||i<s?a=-1:("date_ordered"===r[n.column]&&new Date(i)>new Date(s)||i>s)&&(a=1),n?.order==="ASC"?a:-a})),(l?.map((e,a)=>{let r=e.shipping_info?.flatMap(e=>e?.tracking_no&&e?.tracking_no?.url?`<a href="${e?.tracking_no?.url}" target="_blank" tabindex={0}>${e?.tracking_no?.text}</a>`:e?.tracking_no&&e?.tracking_no?.text?e?.tracking_no?.text:""),n=e.shipping_info?.flatMap(e=>e?.packing_slip||[]),s=e.shipping_info?.flatMap(e=>e?.invoice_number||[]),l=Object.entries((0,u.default)(e.shipping_info,"date_shipped")),c=l?.map(([e,t],a)=>{let i=e||"",r=t?.length*2,n=a===l?.length-1?null:Array.from({length:r},(e,t)=>(0,o.jsx)("br",{},t));return(0,o.jsxs)("span",{children:[i,n]},a)});return{customerPo:{title:e.po_number,desc:"",type:"actionUrl",link:`${t.detailsPageUrl}/?so_number=${e.so_number}&company_id=${i}`},poStatus:{title:"",desc:e.po_status??"",type:"richtext",link:""},dateOrdered:{title:"",desc:e.date_ordered??"",type:"text",link:""},dateShipped:{title:"",desc:c,type:"text",link:""},trackingNumber:{title:"",desc:r.join("<br/><br/>"),type:"richtext",link:""},packingSlip:{title:n.length>0?n:"",desc:"",type:"download",link:"",linkIcon:n.map((e,t)=>(0,o.jsx)("div",{children:(0,o.jsx)("a",{href:`/restapi/pdf-generate?co_num=${i}&pack_no=${e}&type=delivery_detail`,rel:"noopener noreferrer",onClick:t=>p(t,i,e,!1),children:(0,o.jsx)(d.Icon,{iconName:"downloadPdfIcon"})})},t))},invoice:{title:s.length>0?s:"",desc:"",type:"download",link:"",linkIcon:s.map((e,t)=>(0,o.jsx)("div",{children:(0,o.jsx)("a",{href:`/restapi/pdf-generate?co_num=${i}&pack_no=${e}&type=invoice_detail`,rel:"noopener noreferrer",onClick:t=>p(t,i,e,!0),children:(0,o.jsx)(d.Icon,{iconName:"downloadPdfIcon"})})},t))}}})).slice(a,a+s)},g=e=>e?.data?.map((e,t)=>{let a=e.shipping_info?.flatMap(e=>e?.tracking_no||[]),i=e.shipping_info.flatMap(e=>e?.packing_slip||[]),r=e.shipping_info?.flatMap(e=>e?.invoice_number||[]);e.shipping_info?.flatMap(e=>e?.date_shipped||[]);let n=e.shipping_info?.map((t,a)=>{let i=t?.date_shipped||"",r=t?.tracking_no||[],n=r?.length*2,s=a===e.shipping_info?.length-1?null:Array.from({length:n},(e,t)=>(0,o.jsx)("br",{},t));return(0,o.jsxs)("span",{children:[i,s]},a)});return{customerPo:{title:"",desc:e.po_number??"",type:"richtext",link:""},poStatus:{title:"",desc:e.po_status??"",type:"richtext",link:""},dateOrdered:{title:"",desc:e.date_ordered??"",type:"text",link:""},dateShipped:{title:"",desc:n,type:"text",link:""},trackingNumber:{title:"",desc:a.join("<br/><br/>"),type:"richtext",link:""},packingSlip:{title:i.length>0?i:"",desc:"",type:"download",link:"",linkIcon:i.map((e,t)=>(0,o.jsx)("div",{children:(0,o.jsx)("a",{href:e,rel:"noopener noreferrer",children:(0,o.jsx)(d.Icon,{iconName:"downloadPdfIcon"})})},t))},invoice:{title:r.length>0?r:"",desc:"",type:"download",link:"",linkIcon:r.map((e,t)=>(0,o.jsx)("div",{children:(0,o.jsx)("a",{href:e,rel:"noopener noreferrer",children:(0,o.jsx)(d.Icon,{iconName:"downloadPdfIcon"})})},t))}}});e.i(41871);var b=e.i(87612);e.i(35958);var _=e.i(886),y=e.i(68244),x=e.i(22183),v=e.i(82054),A=h;let w=(e,t)=>{let a={};return Object.keys(e).forEach(i=>{let r=Object.keys(t).find(e=>t?.[e]===i);r&&(a[r]={title:e?.[i],accessor:r})}),a},E=w;e.s(["createDisplayTableColumns",0,w,"default",0,E],40349);var S=e.i(49125),C=e.i(99523),T=e.i(3828),N=e.i(91788),k=e.i(22276),I=e.i(22740);let j=e=>M({type:I.ADD_UPDATE_PO_LIST_FILTERS,poListFilters:e}),P=e=>M({type:I.UPDATE_PO_LIST_PAGE_NUMBER,currentPage:e}),L=e=>M({type:I.UPDATE_PO_LIST_SEARCH_TEXT,searchText:e}),O=(e,t,a,i)=>M({type:I.UPDATE_ALL_PO_LIST_FILTERS,poListFilters:e,currentPage:t,searchText:a,sort:i}),D=e=>M({type:I.UPDATE_PO_LIST_SORT,sort:e}),M=e=>t=>{t(e)};e.s(["addUpdatePOListFilter",0,j,"updateAllPOListFilters",0,O,"updatePOListPagination",0,P,"updatePOListSearchText",0,L,"updatePOListSort",0,D],33070);var R=t,F=e.i(61576),B=e.i(38233),U=e.i(21284),H=e.i(15739),$=e.i(86789),G=d,W=e.i(697),Y=e.i(5223),z=e.i(56793),V=N,K=b,q=s,Q=C,Z=n;let X=e=>{let t,a,i,r,n,s,l,o,c,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P=(0,F.c)(114),{filterLabels:L,noOfResults:O,filtersOptions:D,selectedFilters:M,handleSearch:X,handleSearchNDC:J,handleUnselectAll:ee,applyAdditionalFilters:ec,currentSearchText:ed,currentSearchNDCText:eu,handleAdditionalFilters:eh,handleRemoveItem:ef,handleSearchText:ep,handleSearchNDCText:em,isCareerSearch:eg,handleSortByKey:eb,handleSortByOrder:e_,sortList:ey,selectedSortValue:ex,resetLocalFilterWithReducer:ev,isDisabled:eA,handleViewChange:ew,currentView:eE,disabledAdvanceSearch:eS,isViewTypeEnabled:eC,startDate:eT,endDate:eN,showResultCount:ek,displayMobileSort:eI,disabledSearch:ej,disabledColumnSort:eP,labelKeyValuePair:eL,isPoListing:eO,userType:eD,handleSearchBtnClick:eM}=e,eR=void 0===M?{}:M,eF=void 0!==eC&&eC,eB=void 0===eT?"":eT,eU=void 0===eN?"":eN,eH=void 0!==ek&&ek,e$=void 0!==eI&&eI,eG=void 0!==ej&&ej,eW=void 0!==eO&&eO,eY=void 0===eD?"":eD,{searchLabel:ez,SearchCTAText:eV,resultsFoundLabel:eK,applyFiltersCTA:eq,unselectFiltersCTA:eQ,unSelectItemsLabel:eZ,sortByCTAText:eX,filterIconName:eJ,listViewText:e0,gridViewText:e1}=L;
84P[0]!==eP||P[1]!==ey?(t=ey&&Object?.fromEntries(Object?.entries(ey)?.filter(e=>{let[t]=e;return!eP?.includes(t)})),P[0]=eP,P[1]=ey,P[2]=t):t=P[2];let e2=t,[e3,e4]=(0,V.useState)(ed),[e6,e5]=(0,V.useState)(""),[e8,e7]=(0,V.useState)(eu),[e9]=(0,V.useState)(!1),[te,tt]=(0,V.useState)(eg||eS||!1),[ta,ti]=(0,V.useState)(!1),[tr,tn]=(0,V.useState)(!1),[ts,tl]=(0,V.useState)(!1),to=(0,K.useMediaQuery)("(max-width: 991px)"),tc=(0,K.useMediaQuery)("(max-width: 576px)");P[3]!==X||P[4]!==ep||P[5]!==e3?(a=e=>{e3&&!e&&X?.(e),e4(e),ep?.(e)},P[3]=X,P[4]=ep,P[5]=e3,P[6]=a):a=P[6];let td=a;P[7]!==J||P[8]!==em||P[9]!==e8?(i=e=>{e8&&!e&&J?.(e),e7(e),em?.(e)},P[7]=J,P[8]=em,P[9]=e8,P[10]=i):i=P[10];let tu=i;P[11]!==ed?(r=()=>{e4(ed)},n=[ed],P[11]=ed,P[12]=r,P[13]=n):(r=P[12],n=P[13]),(0,V.useEffect)(r,n),P[14]!==eu?(s=()=>{e7(eu)},l=[eu],P[14]=eu,P[15]=s,P[16]=l):(s=P[15],l=P[16]),(0,V.useEffect)(s,l),P[17]!==te||P[18]!==ev?(o=()=>{tt(!te),ev?.()},P[17]=te,P[18]=ev,P[19]=o):o=P[19];let th=o;P[20]!==eK?(c=e=>eK&&e?`<span>${eK?.replace("@count_val",`<span class="results">${e?.toString()}</span>`)}</span>`:"",P[20]=eK,P[21]=c):c=P[21];let tf=c;P[22]!==eU||P[23]!==X||P[24]!==eM||P[25]!==J||P[26]!==e3||P[27]!==e8||P[28]!==eB?(d=()=>{e3?X(e3):e8&&J(e8),eU&&eB&&(0,Q.default)(eU).diff((0,Q.default)(eB),"months",!0)<Z.default.ZERO?e5("Please select from date less then to date"):eU&&eB&&(0,Q.default)(eU).diff((0,Q.default)(eB),"months",!0)>Z.default.SIX?e5("Please do not select more then 6 Months"):(eM&&eM(!0),e5(""))},P[22]=eU,P[23]=X,P[24]=eM,P[25]=J,P[26]=e3,P[27]=e8,P[28]=eB,P[29]=d):d=P[29];let tp=d;P[30]!==ec?(u=()=>{ec(),tt(!1)},P[30]=ec,P[31]=u):u=P[31];let tm=u;P[32]!==ee?(h=()=>{ee(),tt(!1)},P[32]=ee,P[33]=h):h=P[33];let tg=h;P[34]!==ta?(f=()=>{ti(!ta)},P[34]=ta,P[35]=f):f=P[35];let tb=f;P[36]!==eb||P[37]!==ta?(p=e=>{eb?.(e),ti(!ta),tt(!1)},P[36]=eb,P[37]=ta,P[38]=p):p=P[38];let t_=p;P[39]!==e_||P[40]!==ta?(m=()=>{e_?.(),ti(!ta),tt(!1)},P[39]=e_,P[40]=ta,P[41]=m):m=P[41];let ty=m;P[42]!==eh?(g=e=>{eh?.(e,[])},P[42]=eh,P[43]=g):g=P[43];let tx=g;P[44]!==ee?(b=e=>{e?.key==="Enter"&&(ee(),tt(!1))},P[44]=ee,P[45]=b):b=P[45];let tv=b;P[46]!==eJ?(_=()=>{eJ&&tn(!0)},P[46]=eJ,P[47]=_):_=P[47];let tA=_;P[48]===Symbol.for("react.memo_cache_sentinel")?(y=()=>{tn(!1)},P[48]=y):y=P[48];let tw=y;P[49]!==eJ?(x=()=>{eJ&&tl(!0)},P[49]=eJ,P[50]=x):x=P[50];let tE=x;P[51]===Symbol.for("react.memo_cache_sentinel")?(v=()=>{tl(!1)},P[51]=v):v=P[51];let tS=v;P[52]!==eL?(A=(eL??[]).reduce(et,{}),P[52]=eL,P[53]=A):A=P[53];let tC=A,tT=tC?.list_tooltip_text,tN=tC?.grid_tooltip_text,tk=eW&&eY===q.default.SANDOZ_USER&&D.filter(ea)?.map((e,t)=>{let{label:a,filterName:i,selectOptions:r,placeHolderTxt:n}=e,s=void 0===i?"":i;return(0,R.jsxs)("div",{className:"dropdown-container--dropdowns_dropdown customDD",children:[(0,R.jsxs)("div",{className:"dropdown-labels",children:[(0,R.jsxs)("div",{className:"dropdown-title",children:[a?(0,R.jsx)(Y.RichText,{className:"title",content:a??"&nbsp;"}):(0,R.jsx)(Y.RichText,{className:"title",content:" "}),eR?.[s]?.length&&!n?(0,R.jsxs)("span",{className:"dropdown-select-count",children:["(",eR?.[s]?.length,")"]}):(0,R.jsx)("div",{})]}),eR?.[s]?.length?(0,R.jsx)("span",{className:"unselect-filter","aria-hidden":"true",onClick:()=>tx(s),role:"button",tabIndex:1,children:eZ}):(0,R.jsx)("div",{})]}),!n&&(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("label",{id:`dropdown-label-${s.replace(/_/g,"-")}`,className:"sr-only",children:a}),(0,R.jsx)(H.CustomDropDown,{...r,isCleared:e9,intialValue:eR?.[s]??[],onValueChange:e=>eh?.(s,e),simpleDropDownLabel:!0,disableSearch:r?.disableSearch,maxCharLength:r?.maxCharLength,isMulti:!1,ariaLabel:`dropdown-label-${s.replace(/_/g,"-")}`})]})]},a)}),tI=eW&&(eY===q.default.CUST_USER||eY===q.default.CUST_ADMIN)&&D.filter(ei)?.map((e,t)=>{let{label:a,filterName:i,placeHolderTxt:r}=e,n=void 0===i?"":i;return(0,R.jsxs)("div",{className:"plainText",children:[(0,R.jsx)("div",{className:"plainText-labels",children:(0,R.jsx)("div",{className:"plainText-title",children:a?(0,R.jsx)(Y.RichText,{className:"title",content:a??"&nbsp;"}):(0,R.jsx)(Y.RichText,{className:"title",content:" "})})}),!r&&(0,R.jsx)("input",{id:"InputCompanyId",type:"input",value:eR?.[n]?.[0]?.value,disabled:!0})]},a)}),tj="enhanced-filter enhanced-filter-v2",tP=er,tL=`search-container ${eF?"search-container-withView":""}`,tO=!eG&&(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)("div",{className:"search-container-parent--box",children:[(0,R.jsxs)("div",{className:"search-container--box",children:[(0,R.jsx)("label",{htmlFor:"searchBarInputId",children:(0,R.jsx)(Y.RichText,{className:"title",content:ez})}),(0,R.jsx)(z.SearchBox,{currentSearchText:e3,placeholderText:"PO Number",setSearchText:td,handleSearch:X,isCleared:e9,useStateVal:!1,type:"search"})]}),D?.filter(en).map((e,t)=>{let{label:a,filterName:i,selectOptions:r,placeHolderTxt:n}=e,s=void 0===i?"":i;return(0,R.jsxs)("div",{className:"dropdown-container--dropdowns_dropdown",children:[(0,R.jsxs)("div",{className:"dropdown-labels",children:[(0,R.jsxs)("div",{className:"dropdown-title",children:[a?(0,R.jsx)(Y.RichText,{className:"title",content:a??"&nbsp;"}):(0,R.jsx)(Y.RichText,{className:"title",content:" "}),eR?.[s]?.length&&!n?(0,R.jsxs)("span",{className:"dropdown-select-count",children:["(",eR?.[s]?.length,")"]}):(0,R.jsx)("div",{})]}),eR?.[s]?.length?(0,R.jsx)("span",{className:"unselect-filter","aria-hidden":"true",onClick:()=>tx(s),role:"button",tabIndex:1,children:eZ}):(0,R.jsx)("div",{})]}),!n&&(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("label",{id:`dropdown-label-${s.replace(/_/g,"-")}`,className:"sr-only",children:a}),(0,R.jsx)(H.CustomDropDown,{...r,isCleared:e9,intialValue:eR?.[s]??[],onValueChange:e=>eh?.(s,e),simpleDropDownLabel:!0,disableSearch:r?.disableSearch,maxCharLength:r?.maxCharLength,ariaLabel:`dropdown-label-${s.replace(/_/g,"-")}`})]})]},a)}),(0,R.jsxs)("div",{className:"search-container--box",children:[(0,R.jsx)("label",{htmlFor:"searchBarInputId",children:(0,R.jsx)(Y.RichText,{className:"title",content:"Find NDC or Material Number"})}),(0,R.jsx)(z.SearchBox,{currentSearchText:e8,placeholderText:"NDC or Material Number",setSearchText:tu,handleSearch:J,isCleared:e9,useStateVal:!1,type:"search"})]})]}),(0,R.jsx)("div",{className:"search-container--button",children:(0,R.jsx)(B.Button,{type:"button",className:"search-button",tabindex:1,onClick:tp,iconPosition:"right",icon:(0,R.jsx)(G.Icon,{iconName:"SearchIcon2"}),children:eV})})]});P[54]!==eE||P[55]!==eS||P[56]!==te||P[57]!==eJ||P[58]!==tN||P[59]!==e1||P[60]!==th||P[61]!==tA||P[62]!==tE||P[63]!==ew||P[64]!==eF||P[65]!==tT||P[66]!==e0||P[67]!==tr||P[68]!==ts?(w=!eS&&(0,R.jsx)("div",{className:"search-container--toggle",children:(0,R.jsxs)("div",{className:"search-icons-container",children:[(0,R.jsxs)("div",{className:`search-container--toggle_icon ${te?"search-container--toggle_icon__bg":""}`,onMouseEnter:tA,onMouseLeave:tw,children:[(0,R.jsx)(W.IconButton,{tabindex:0,onClick:th,icon:(0,R.jsx)(G.Icon,{iconName:"FilterIcon"}),title:`${eJ?"":"search-container--toggle_icon"}`}),tr&&(0,R.jsx)("div",{className:"tooltip",children:eJ})]}),eF&&(0,R.jsx)("div",{className:`search-container--toggle_icon ${te?"search-container--toggle_icon__bg":""}`,onMouseEnter:tE,onMouseLeave:tS,children:(0,R.jsx)(W.IconButton,{tabindex:1,onClick:ew,className:"search-container--toggle_icon search-container--toggle_view",icon:"grid"===eE?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(G.Icon,{iconName:"ListView"})," ",(tT||e0)&&ts&&(0,R.jsx)("div",{className:"tooltip",children:tT||e0})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(G.Icon,{iconName:"GridView"})," ",(tN||e1)&&ts&&(0,R.jsx)("div",{className:"tooltip",children:tN||e1})]}),title:`${tT||e0?"":"search-container--toggle_icon"}`})})]})}),P[54]=eE,P[55]=eS,P[56]=te,P[57]=eJ,P[58]=tN,P[59]=e1,P[60]=th,P[61]=tA,P[62]=tE,P[63]=ew,P[64]=eF,P[65]=tT,P[66]=e0,P[67]=tr,P[68]=ts,P[69]=w):w=P[69],P[70]!==tL||P[71]!==tO||P[72]!==w?(E=(0,R.jsxs)("div",{className:tL,children:[tO,w]}),P[70]=tL,P[71]=tO,P[72]=w,P[73]=E):E=P[73];let tD=te&&!eS&&(0,R.jsx)("div",{className:"dropdown-container",children:(0,R.jsxs)("div",{className:"dropdown-container--modal",children:[to&&(0,R.jsx)(Y.RichText,{className:"item-number-container",content:tf(O)}),(0,R.jsxs)("div",{className:"dropdown-container--container",children:[(0,R.jsx)("div",{className:"dropdown-container--dropdowns",style:{"--columns":D.length>4?3:D.length},children:eW?D?.filter(es).map((e,t)=>{let{label:a,filterName:i,selectOptions:r,placeHolderTxt:n}=e,s=void 0===i?"":i;return(0,R.jsxs)("div",{className:"dropdown-container--dropdowns_dropdown",children:[(0,R.jsxs)("div",{className:"dropdown-labels",children:[(0,R.jsxs)("div",{className:"dropdown-title",children:[a?(0,R.jsx)(Y.RichText,{className:"title",content:a??"&nbsp;"}):(0,R.jsx)(Y.RichText,{className:"title",content:" "}),eR?.[s]?.length&&!n?(0,R.jsxs)("span",{className:"dropdown-select-count",children:["(",eR?.[s]?.length,")"]}):(0,R.jsx)("div",{})]}),eR?.[s]?.length?(0,R.jsx)("span",{className:"unselect-filter","aria-hidden":"true",onClick:()=>tx(s),role:"button",tabIndex:1,children:eZ}):(0,R.jsx)("div",{})]}),n?(0,R.jsx)($.DatePicker,{dataPlaceHolder:n,value:"shipped_date_from"===s?eB:"shipped_date_to"===s?eU:"",name:`${s}-${t}`,setValue:e=>eh?.(s,e),timeFormat:"HH:mm:ss:SSS"}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("label",{id:`dropdown-label-${s.replace(/_/g,"-")}`,className:"sr-only",children:a}),(0,R.jsx)(H.CustomDropDown,{...r,isCleared:e9,intialValue:eR?.[s]??[],onValueChange:e=>eh?.(s,e),simpleDropDownLabel:!0,disableSearch:r?.disableSearch,maxCharLength:r?.maxCharLength,ariaLabel:`dropdown-label-${s.replace(/_/g,"-")}`})]})]},a)}):D?.map((e,t)=>{let{label:a,filterName:i,selectOptions:r,placeHolderTxt:n}=e,s=void 0===i?"":i;return(0,R.jsxs)("div",{className:"dropdown-container--dropdowns_dropdown",children:[(0,R.jsxs)("div",{className:"dropdown-labels",children:[(0,R.jsxs)("div",{className:"dropdown-title",children:[a?(0,R.jsx)(Y.RichText,{className:"title",content:a??"&nbsp;"}):(0,R.jsx)(Y.RichText,{className:"title",content:" "}),eR?.[s]?.length&&!n?(0,R.jsxs)("span",{className:"dropdown-select-count",children:["(",eR?.[s]?.length,")"]}):(0,R.jsx)("div",{})]}),eR?.[s]?.length?(0,R.jsx)("span",{className:"unselect-filter","aria-hidden":"true",onClick:()=>tx(s),role:"button",tabIndex:1,children:eZ}):(0,R.jsx)("div",{})]}),n?(0,R.jsx)($.DatePicker,{dataPlaceHolder:n,value:"shipped_date_from"===s?eB:"shipped_date_to"===s?eU:"",name:`${s}-${t}`,setValue:e=>eh?.(s,e),timeFormat:"HH:mm:ss:SSS"}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("label",{id:`dropdown-label-${s.replace(/_/g,"-")}`,className:"sr-only",children:a}),(0,R.jsx)(H.CustomDropDown,{...r,isCleared:e9,intialValue:eR?.[s]??[],onValueChange:e=>eh?.(s,e),simpleDropDownLabel:!0,disableSearch:r?.disableSearch,maxCharLength:r?.maxCharLength,ariaLabel:`dropdown-label-${s.replace(/_/g,"-")}`})]})]},a)})}),(0,R.jsxs)("div",{className:"dropdown-container--buttons",children:[(0,R.jsx)(B.Button,{type:"button",className:"search-button",tabindex:1,onClick:tm,isDisabled:eA,children:(0,R.jsxs)("span",{className:"apply",children:[eq,(0,R.jsx)(G.Icon,{iconName:"CheckMark"})]})}),Object.values(eR).flat(1).length?(0,R.jsxs)("div",{className:"clear-btn",children:[(0,R.jsx)("span",{className:"clear-filter","aria-hidden":"true",tabIndex:0,role:"button",onClick:tg,children:eQ}
84),(0,R.jsx)(G.Icon,{iconName:"closeBlue"})]}):null]})]}),eg&&to&&e2&&(0,R.jsx)("div",{className:"sort-container",children:(0,R.jsxs)("div",{className:"search-filter-options",children:[(0,R.jsxs)("div",{className:"sort-dropdown-container",children:[(0,R.jsx)(B.Button,{type:"button",className:"sort-results-button btn-light",tabindex:1,onClick:tb,icon:(0,R.jsx)(G.Icon,{iconName:"SortByIcon"}),iconPosition:tc?"right":"",children:eX}),ta&&(0,R.jsx)("div",{className:"sort-dropdown-content",children:Object.entries(e2)?.map(e=>{let[t,a]=e;return(0,R.jsxs)("button",{type:"button",className:"list-group-item",value:a,onClick:()=>t_(t),children:[(0,R.jsx)("span",{className:t===ex?.column?"checkMark":"noCheckMark",children:t===ex?.column?(0,R.jsx)(G.Icon,{iconName:"CheckMark"}):""}),(0,R.jsx)("span",{className:t===ex?.column?"selcted-sort":"",children:a})]},t)})})]}),(0,R.jsx)(W.IconButton,{tabindex:0,onClick:ty,className:`search-container--toggle_icon ${te||eg&&!to} ${ex?.order==="DESC"?"highlight-sort":""}`,icon:ex?.order==="DESC"?(0,R.jsx)(G.Icon,{iconName:"SortZA1"}):(0,R.jsx)(G.Icon,{iconName:"SortAZ1"})})]})})]})});P[74]!==e2||P[75]!==eS||P[76]!==e$||P[77]!==t_||P[78]!==tb||P[79]!==ty||P[80]!==eg||P[81]!==to||P[82]!==tc||P[83]!==ex?.column||P[84]!==ex?.order||P[85]!==ta||P[86]!==eX?(S=eS&&!eg&&e$&&to&&e2&&(0,R.jsx)(R.Fragment,{children:(0,R.jsx)("div",{className:"sort-container",children:(0,R.jsxs)("div",{className:"search-filter-options",children:[(0,R.jsxs)("div",{className:"sort-dropdown-container",children:[(0,R.jsx)(B.Button,{type:"button",className:"sort-results-button btn-light",tabindex:1,onClick:tb,icon:(0,R.jsx)(G.Icon,{iconName:"SortByIcon"}),iconPosition:tc?"right":"",children:eX}),ta&&(0,R.jsx)("div",{className:"sort-dropdown-content",children:Object.entries(e2)?.map(e=>{let[t,a]=e;return(0,R.jsxs)("button",{type:"button",className:"list-group-item",value:a,onClick:()=>t_(t),children:[(0,R.jsx)("span",{className:t===ex?.column?"checkMark":"noCheckMark",children:t===ex?.column?(0,R.jsx)(G.Icon,{iconName:"CheckMark"}):""}),(0,R.jsx)("span",{className:t===ex?.column?"selcted-sort":"",children:a})]},t)})})]}),(0,R.jsx)(W.IconButton,{tabindex:0,onClick:ty,className:`search-container--toggle_icon ${ex?.order==="DESC"?"highlight-sort":""}`,icon:ex?.order==="DESC"?(0,R.jsx)(G.Icon,{iconName:"SortZA1"}):(0,R.jsx)(G.Icon,{iconName:"SortAZ1"})})]})})}),P[74]=e2,P[75]=eS,P[76]=e$,P[77]=t_,P[78]=tb,P[79]=ty,P[80]=eg,P[81]=to,P[82]=tc,P[83]=ex?.column,P[84]=ex?.order,P[85]=ta,P[86]=eX,P[87]=S):S=P[87],P[88]!==e6?(C=e6&&(0,R.jsx)("div",{className:"error",children:(0,R.jsx)(Y.RichText,{content:e6})}),P[88]=e6,P[89]=C):C=P[89],P[90]!==eG||P[91]!==te||P[92]!==tf||P[93]!==to||P[94]!==O||P[95]!==eH?(T=(!(to&&te)||eH)&&!eG&&(0,R.jsx)("div",{children:(0,R.jsx)(Y.RichText,{className:"item-number-container",content:tf(O)})}),P[90]=eG,P[91]=te,P[92]=tf,P[93]=to,P[94]=O,P[95]=eH,P[96]=T):T=P[96];let tM=eQ&&(Object.values(eR).flat(1).length>0&&eY===q.default.SANDOZ_USER||Object.values(eR).flat(1).length>1)?(0,R.jsxs)("div",{className:"clear-btn",onClick:tg,tabIndex:0,role:"button",onKeyDown:tv,children:[(0,R.jsx)("span",{className:"filter-clear",children:eQ}),(0,R.jsx)(G.Icon,{iconName:"Close2"})]}):(0,R.jsx)(R.Fragment,{});P[97]!==tM?(N=(0,R.jsx)("div",{children:tM}),P[97]=tM,P[98]=N):N=P[98],P[99]!==T||P[100]!==N?(k=(0,R.jsxs)("div",{className:"item-number",children:[T,N]}),P[99]=T,P[100]=N,P[101]=k):k=P[101];let tR=Object.values(eR).filter(el).flat(1).length?(0,R.jsx)("div",{className:"chips-container",children:Object.entries(eR).filter(eo).map(e=>{let[t,a]=e;return a.length?a.map(e=>!((eY===q.default.CUST_USER||eY===q.default.CUST_ADMIN)&&eW&&"company_id"==t)&&(0,R.jsx)(U.Chips,{content:e.label,handleClick:()=>ef(t,e),className:`${(eY===q.default.CUST_USER||eY===q.default.CUST_ADMIN)&&eW&&"company_id"===t?"hide-close":""}`},e.value)):null})}):null;return P[102]!==tP||P[103]!==E||P[104]!==tD||P[105]!==S||P[106]!==C||P[107]!==k||P[108]!==tR?(I=(0,R.jsx)("section",{children:(0,R.jsxs)("form",{className:tj,onSubmit:tP,children:[E,tD,S,C,k,tR]})}),P[102]=tP,P[103]=E,P[104]=tD,P[105]=S,P[106]=C,P[107]=k,P[108]=tR,P[109]=I):I=P[109],P[110]!==tk||P[111]!==tI||P[112]!==I?(j=(0,R.jsxs)("div",{children:[tk,tI,I]}),P[110]=tk,P[111]=tI,P[112]=I,P[113]=j):j=P[113],j};function J(e){return"string"==typeof e&&e.endsWith("_tooltip_text")}function ee(e){return"string"==typeof e&&!e.endsWith("_tooltip_text")}function et(e,t){let a=Object.values(t).find(J),i=Object.values(t).find(ee);return a&&i?{...e,[a]:i}:e}function ea(e){return"company_id"===e.filterName}function ei(e){return"company_id"===e.filterName}function er(e){return e.preventDefault()}function en(e){return"mat_type"===e.filterName}function es(e){return"company_id"!==e.filterName&&"mat_type"!==e.filterName}function el(e){let[t]=e;return"mat_type"!==t}function eo(e){let[t]=e;return"mat_type"!==t}var ec=I;let ed=e=>eg({type:ec.ADD_UPDATE_PO_DETAIL_FILTERS,poDetailFilters:e}),eu=e=>eg({type:ec.UPDATE_PO_DETAIL_PAGE_NUMBER,currentPage:e}
84),eh=e=>eg({type:ec.UPDATE_PO_DETAIl_SEARCH_TEXT,searchText:e}),ef=e=>eg({type:ec.UPDATE_NDC_SEARCH_TEXT,searchText:e}),ep=(e,t,a,i,r)=>eg({type:ec.UPDATE_ALL_PO_DETAIL_FILTERS,poDetailFilters:e,currentPage:t,searchText:a,searchNDCText:r,sort:i}),em=e=>eg({type:ec.UPDATE_PO_DETAIL_SORT,sort:e}),eg=e=>t=>{t(e)};e.s(["addUpdatePODetailFilter",0,ed,"updateAllPODetailFilters",0,ep,"updateNDSearchText",0,ef,"updatePODetailPagination",0,eu,"updatePODetailSearchText",0,eh,"updatePODetailSort",0,em],9566);let eb=16,e_="YYYY-MM-DD",ey="DD.MM.YYYY",ex={customerPo:"po_number",poStatus:"po_status",dateOrdered:"date_ordered"},ev=e=>{let{poListSearchFilterData:o,blockUrl:c}=e,{poListFilters:d,currentPage:u,searchText:h,sort:p}=o,[g,w]=(0,N.useState)(""),[I,j]=(0,N.useState)(!0),[P,L]=(0,N.useState)(!1),[O,D]=(0,N.useState)({value:"",order:0}),[M,R]=(0,N.useState)([]),[F,B]=(0,N.useState)([]),[U,H]=(0,N.useState)({}),[$,G]=(0,N.useState)(0),[W,Y]=(0,N.useState)(!1),[z,V]=(0,N.useState)(d),[K,q]=(0,N.useState)(eb),[Q,Z]=(0,N.useState)(""),[J,ee]=(0,N.useState)(""),[et,ea]=(0,N.useState)({}),[ei,er]=(0,N.useState)([]),[en,es]=(0,N.useState)(""),[el,eo]=(0,N.useState)(!1),[ec,ed]=(0,N.useState)(!0),eu=(0,k.useSelector)(e=>e?.user?.profile?.response?.profile?.records?.[0]?.Type),eh=(0,k.useSelector)(e=>e?.user?.profile?.response?.profile?.sold_to_number),ef=(0,k.useSelector)(e=>e?.user?.profile?.response?.profile?.company_name),ep=(0,b.useMediaQuery)("(max-width: 991px)"),em=(0,T.useRouter)(),eg=["trackingNumber","packingSlip","invoice","dateShipped"],ev=O?F:M,{lang:eA}=(0,A.getApiDomainAndLang)(),{applicationConfiguration:ew}=(0,N.useContext)(v.default),eE=(0,k.useDispatch)(),eS=(0,N.useCallback)(t=>{e.addUpdatePOListFilter(t)},[eE]),eC=(0,N.useCallback)(t=>e.updatePOListPagination(t),[eE]),eT=(0,N.useCallback)(t=>e.updatePOListSearchText(t),[eE]),eN=(0,N.useCallback)(t=>e.updateNDCSearchText(t),[eE]),ek=(0,N.useCallback)((t,a,i,r)=>e.updateAllPOListFilters(t,a,i,r),[eE]),eI=(0,N.useCallback)(t=>e.updatePOListSort(t),[eE]),ej=(e,t)=>(e?e.split(","):[]).includes(t),eP=(e,t)=>e?.[t],eL=()=>{let e=d?.find(e=>e?.filterName==="shipped_date_from")?.value,t=d?.find(e=>e?.filterName==="shipped_date_to")?.value,a=(e,t,a)=>{let i=new Date(e);return t===r.ARITHMETIC_KEYS.ADDITION?(0,C.default)(i,!0).add(a,"M").format(ey):(0,C.default)(i,!0).subtract(a,"M").format(ey)},i="shipped_date_from",n="shipped_date_to";if(e){let s=(0,C.default)(e).format(ey);if(!t)return`&${i}=${s}&${n}=${a(e,r.ARITHMETIC_KEYS.ADDITION,6)}`;{let e=(0,C.default)(t).format(ey);return`&${i}=${s}&${n}=${e}`}}if(t){let e=(0,C.default)(t).format(ey);return`&${i}=${a(t,r.ARITHMETIC_KEYS.SUBSTRACTION,6)}&${n}=${e}`}{let e=new Date,t=(0,C.default)(e,!0).format(ey);return en||h?"":`&${i}=${a(e,r.ARITHMETIC_KEYS.SUBSTRACTION,6)}&${n}=${t}`}};(0,N.useEffect)(()=>{let e=async()=>{try{let e=await (0,A.getApi)("/restapi/customer-connect/company-listing?autocomplete=1");ea(e?.data||{})}catch(e){console.error(e)}};eu===s.default.SANDOZ_USER?e():eu||j(!1)},[eu]);let eO=e=>Object.entries(e)?.sort(([,e],[,t])=>e.localeCompare(t))?.map(([e,t])=>({id:e,value:t,label:t}))??[];(0,N.useEffect)(()=>{ew?.siteConfig?.cc_po_listing&&(()=>{let e=f(ew.siteConfig),t={searchLabel:e.searchLabel,searchPlaceholder:e.searchPlaceholder,SearchCTAText:e.searchCTALabel,unselectFiltersCTA:e.clearLabel,resultsFoundLabel:e.resultsLabel,noResultsFoundLabel:e.noResultsLabel,applyFiltersCTA:e.applyFiltersCTALabel,unSelectItemsLabel:e.unSelectItemsLabel,sortByCTAText:e.sortByLabel,filterIconName:e.filter_toggle_label,detailsPageUrl:e.detailsPageUrl},a=[];a.push({label:e?.companyLabel,filterName:"company_id",selectOptions:{isCleared:!0,isMulti:!0,options:eO(et),ariaLabel:e?.companyLabel,name:"select",placeHolder:e?.companydropdownPlaceHolder,disableSearch:!1,maxCharLength:37}});let i={label:e?.dateRangeLabel,placeHolderTxt:e?.dateRangePlaceholder,filterName:"shipped_date_from",value:"",selectOptions:{isCleared:!0,isMulti:!1,options:[],ariaLabel:"",name:"",placeHolder:""}},r={label:e.dateRangeToLabel,placeHolderTxt:e?.dateRangeToPlaceholder,filterName:"shipped_date_to",value:"",selectOptions:{isCleared:!0,isMulti:!1,options:[],ariaLabel:"",name:"",placeHolder:""}};e?.dateRangeLabel&&a.push(i),e?.dateRangeToLabel&&a.push(r),a.push({label:e.poStatusLabel,filterName:"po_order_status",selectOptions:{isCleared:!0,isMulti:!0,options:(0,l.getPostedDatesOptions)(e.poStatusOptions),ariaLabel:e.poStatusLabel,name:"select",placeHolder:e?.dropdownPlaceHolder||""}}),a.push({label:"Please Select Type",filterName:"mat_type",selectOptions:{isCleared:!0,isMulti:!1,options:[{id:"EAN_NUM",value:"NDC Number",label:"NDC Number"},{id:"CUST_NUM",value:"Material Number",label:"Material Number"}],ariaLabel:"mat_type",name:"select",placeHolder:"Select Type of Number"}});let n={customerPo:"vbak-bstnk",poStatus:"vbuk-gbstk",dateOrdered:"vbak-bstdk",dateShipped:"likp-wadat_ist",trackingNumber:"likp-bolnr",packingSlip:"lik
84p-vbeln",invoice:"vbrk-vbeln"},s=(e=>{let t={};return Object.entries(n).forEach(([a,i])=>{t[a]=e[i]}),t})(e.tableColumns),o={poSearchContent:a,filtersLabels:t,displayConfig:{tableColumns:E(e.tableColumns,n),resultsLabel:e.resultsLabel,noResultsLabel:e.noResultsLabel,noResultsDesc:e.noResultsDesc,sortByLabel:e.sortByLabel,searchUrl:`${c}`,showFiltersCTALabel:e.showFiltersCTALabel||"Show Filters",applyFiltersCTALabel:e.applyFiltersCTALabel||"Apply the filters",filterIconName:e.filter_toggle_label,searchTitle:e?.searchTitle,searchDesc:e?.searchDesc},tableColumns:s},d=em?.query,u=Object.keys(d);if(1===u.length&&"slug"===u[0])eS(a?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}})));else{let e=a?.map(e=>{let t=eP(d,e?.filterName);if(!e?.placeHolderTxt)return{...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(t=>({...t,isSelected:d?.[e?.filterName]&&!!ej(d?.[e?.filterName],t?.value?.toString())}))}};{let a=t&&t.split(" ")?.[0]?(0,C.default)(t.split(" ")?.[0]).locale(eA).format(e_):void 0;return e?.filterName==="shipped_date_from"&&a&&Z(a),e?.filterName==="shipped_date_to"&&a&&ee(a),{...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(t=>({...t,isSelected:d?.[e?.filterName]&&!!ej(d?.[e?.filterName],t?.value?.toString())}))},value:a}}}),t={column:d?.sort_field||"",order:d?.sort_order||"ASC"};ek(e,Number(d?.page??0),d?.search||"",t)}H(o),Y(!0)})()},[ew,et]);let eD=e=>{eT(e)},eM=(e,t)=>{eS(d?.map(a=>{if(a.filterName===e)if(!a?.placeHolderTxt)return{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>e.id===t?.id?{...e,isSelected:!1}:e)}};else return a?.filterName==="shipped_date_from"&&Z(""),a?.filterName==="shipped_date_to"&&ee(""),{...a,value:""};return a}))},eR=e=>{""===p.column?eI({column:e,order:"ASC"}):p.column&&p.column===e?"ASC"===p.order?eI({column:e,order:"DESC"}):"DESC"===p.order&&eI({column:e,order:"ASC"}):eI({column:e,order:"ASC"})},eF=e=>{""===p.column||p.column!==e?eI({column:e,order:p?.order}):eI({column:"",order:p?.order})},eB=()=>{eI({column:p?.column,order:"ASC"===p.order?"DESC":"ASC"})},eU=(e,t,a=!1)=>{let i="";return e?.length&&!a?e?.length>1?(i+=`&${t}`,e.forEach((e,t)=>{i+=`${0===t?"=":","}${e.id}`})):i+=`&${t}=${e[0].id}`:i+=`&${t}=`,i},eH=(e,t)=>t.findIndex(t=>t.id===e.id)>-1,e$=(e,t)=>{if(L(!1),ep)V(z?.map(a=>{if(a.filterName===e)if(!a?.placeHolderTxt)return{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:eH(e,t)}))}};else{let e=t&&t?.length?t:"";return a?.filterName==="shipped_date_from"&&Z(e),a?.filterName==="shipped_date_to"&&ee(e),{...a,value:e?(0,C.default)(Date.parse(e)).locale(eA).format(e_):""}}return a}));else{let a=d?.map(a=>{if(a.filterName!=e&&"company_id"===e)if(!a?.placeHolderTxt)return{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:!1}))}};else return a?.filterName==="shipped_date_from"&&Z(""),a?.filterName==="shipped_date_to"&&ee(""),{...a,value:""};if(a.filterName===e)if(!a?.placeHolderTxt)return{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:eH(e,t)}))}};else return a?.filterName==="shipped_date_from"&&Z(t??""),a?.filterName==="shipped_date_to"&&ee(t??""),{...a,value:t?(0,C.default)(Date.parse(t)).locale(eA).format(e_):""};return a});"company_id"===e&&(eD(""),w(""),eZ(""),es(""),eo(!0)),eS(a)}},eG=({filterName:e,selectedOptions:t})=>{let a=d.find(t=>t.filterName===e).selectOptions.options;return eU(t,e,t?.length===a?.length)},eW=()=>{let e={};return d?.forEach(t=>{let a=(0,C.default)(Date.parse(t?.value)).locale(eA).format(e_);t?.placeHolderTxt?t?.value?e[`${t.filterName}`]=[{label:a,value:a}]:e[`${t.filterName}`]=[]:"company_id"===t.filterName&&eh&&ef&&(eu===s.default.CUST_ADMIN||eu===s.default.CUST_USER)?e[`${t.filterName}`]=[{id:eh,value:ef,label:ef}]:e[`${t.filterName}`]=t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e};(0,N.useMemo)(()=>{let e=d?.map(e=>"company_id"===e.filterName&&eh&&ef&&(eu===s.default.CUST_ADMIN||eu===s.default.CUST_USER)?{filterName:e.filterName,selectedOptions:[{id:eh,value:ef,label:ef}]}:{filterName:e.filterName,selectedOptions:e.selectOptions.options?.filter(e=>e.isSelected)}),t=e?.map(e=>eG(e)).join("")?.substring(1),a=h?`&po_number=${encodeURIComponent(h)}
84`:"&po_number=",i=en?`&ndc_num=${encodeURIComponent(en)}`:"&ndc_num=",r=async()=>{j(!0);let e=await (0,A.middlewareGETAPI)(`${c}?${t}${a}${i}${eL()}`);if(e&&e.response){let t=Object.values(e?.response?.data||{});er(t);let a=eu===s.default.SANDOZ_USER?ep?eK().company_id?.[n.default.ZERO]?.id:eW().company_id?.[n.default.ZERO]?.id:eh,i=ew?.siteConfig?.cc_po_listing?.items_per_page||eb,r=m(ei,U.filtersLabels,u,a,ex,p,i);R(r),B(r);let l=t.length;q(i),G(l)}j(!1)};if(W&&(eu===s.default.CUST_USER||eu===s.default.CUST_ADMIN)&&eh&&(ec&&eW()?.mat_type.length==0&&eW()?.po_order_status.length==0&&eW()?.shipped_date_from.length==0&&eW()?.shipped_date_to.length==0&&!h&&!en&&!P||P))ec&&ed(!1),P&&L(!1),r().then(()=>{let e=eW(),t={};Object.entries(e).forEach(([e,a])=>{t[e]=a.length?a.map(e=>e.value).join(","):""});let{protocol:a,host:i,pathname:r}=window.location,n="";Object.entries(t).forEach(([e,t])=>{n+=`&${e}=${t}`});let s=`${a}//${i}${r}?${n.substring(1)}`;window.history.replaceState({path:s},"",s),V(d)});else if(W&&eu==s.default.SANDOZ_USER&&eW()?.company_id.length===0){R([]),er([]),B([]),q(n.default.ZERO),G(n.default.ZERO);let e=eW(),t={};Object.entries(e).forEach(([e,a])=>{t[e]=a.length?a.map(e=>e.value).join(","):""});let{protocol:a,host:i,pathname:r}=window.location,s="";Object.entries(t).forEach(([e,t])=>{s+=`&${e}=${t}`});let l=`${a}//${i}${r}?${s.substring(1)}`;window.history.replaceState({path:l},"",l),V(d),j(!1)}else W&&eu==s.default.SANDOZ_USER&&eW()?.company_id.length>0&&(el&&eW()?.mat_type.length==0&&eW()?.po_order_status.length==0&&eW()?.shipped_date_from.length==0&&eW()?.shipped_date_to.length==0&&!h&&!en&&!P||P)&&(el&&eo(!1),P&&L(!1),r().then(()=>{let e=eW(),t={};Object.entries(e).forEach(([e,a])=>{t[e]=a.length?a.map(e=>e.value).join(","):""});let{protocol:a,host:i,pathname:r}=window.location,n="";Object.entries(t).forEach(([e,t])=>{n+=`&${e}=${t}`});let s=`${a}//${i}${r}?${n.substring(1)}`;window.history.replaceState({path:s},"",s),V(d)}))},[d,h,W,P,en]),(0,N.useMemo)(()=>{let e=eu===s.default.SANDOZ_USER?ep?eK&&eK().company_id?.[n.default.ZERO]?.id:eW().company_id?.[n.default.ZERO]?.id:eh,t=ew?.siteConfig?.cc_po_listing?.items_per_page?parseInt(ew?.siteConfig?.cc_po_listing?.items_per_page):eb,a=m(ei,U.filtersLabels,u,e,ex,p,t);R(a),B(a)},[p,u,ei]);let eY=()=>{eS(z)},ez=e=>{eC(e)},eV=()=>{ek(d?.map(e=>e?.placeHolderTxt?("shipped_date_from"===e.filterName&&Z(""),"shipped_date_to"===e.filterName&&ee(""),{...e,value:""}):{...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}}),0,h||""),ec&&ed(!1)},eK=()=>{let e={};return z?.forEach(t=>{t?.placeHolderTxt?t?.value?e[`${t.filterName}`]=[{label:(0,C.default)(Date.parse(t?.value)).locale(eA).format(e_),value:(0,C.default)(Date.parse(t?.value)).locale(eA).format(e_)}]:e[`${t.filterName}`]=[]:"company_id"===t.filterName&&eh&&ef&&(eu===s.default.CUST_ADMIN||eu===s.default.CUST_USER)?e[`${t.filterName}`]=[{id:eh,value:ef,label:ef}]:e[`${t.filterName}`]=t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e},eq=e=>e>n.default.ZERO?U.displayConfig?.resultsLabel.replace("@count_val",e.toString()):U.displayConfig?.noResultsLabel.replace("@search_txt",g),eQ=()=>{V(d)},eZ=e=>{eN(e)};return(0,t.jsxs)(t.Fragment,{children:[(U?.displayConfig?.searchTitle||U?.displayConfig?.searchDesc)&&(0,t.jsx)(y.TitleDescription,{title:U?.displayConfig?.searchTitle,description:U?.displayConfig?.searchDesc}),Object.keys(U).length?(0,t.jsxs)("div",{className:"careerSearchFilter scroll-top",children:[(0,t.jsx)(X,{filtersOptions:U?.poSearchContent,filterLabels:U.filtersLabels,handleSearch:eD,handleSearchNDC:eZ,isCareerSearch:!0,handleUnselectAll:eV,handleAdditionalFilters:e$,selectedFilters:ep?eK():eW(),applyAdditionalFilters:eY,currentSearchText:g,currentSearchNDCText:en,handleRemoveItem:eM,handleSearchText:w,handleSearchNDCText:es,handleSearchBtnClick:()=>L(!0),noOfResults:$,handleSortByKey:eF,handleSortByOrder:eB,sortList:U.tableColumns,selectedSortValue:p,resetLocalFilterWithReducer:eQ,isDisabled:(0,S.default)(d,z),startDate:Q,endDate:J,disabledColumnSort:eg,isPoListing:!0,userType:eu}),!(ep&&!M?.length)&&(0,t.jsx)(a.Seperator,{className:"careerSearchFilter-separator"}),I&&(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(i.default,{display:!0})}),!I&&(ev?.length?(0,t.jsxs)("div",{children:[(0,t.jsx)(x.default,{filterData:ev,columnsList:U?.displayConfig.tableColumns,tableColumns:U.tableColumns,handleSort:eR,sortValue:p,disableSortColumnList:eg,isDynamicHeaderTable:!0,isPoListing:!0}),(0,t.jsx)("div",{className:"search-filter-pagination",children:$>K&&(0,t.jsx)("div",{className:"search-filter-pagination",children:(0,t.jsx)(_.Pagination,{itemsPerPage:K,itemsCount:$,onClick:ez,offSet:u})})})]}):eu===s.default.SANDOZ_USER&&(ep?0==eK().company_id.length:0==eW().company_id.length)?(0,t.jsx)(y.TitleDescription,{title:"Please Select a Company",description:"",searchKey:"",className:"careerSearchFilter-no-result"}):(0,t.jsx)(y.TitleDescription,{title:eq(F?.length)??"",description:U.displayConfig?.noResultsDesc?.value??"",searchKey:"",className:"careerSearchFilter-no-result"}))]}):(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(i.default,{display:!0})})]})},eA={addUpdatePOListFilter:e=>j(e),updatePOListPagination:e=>P(e),updatePOListSearchText:e=>L(e),updateNDCSearchText:e=>ef(e),updateAllPOListFilters:(e,t,a,i)=>O(e,t,a,i),updatePOListSort:e=>D(e)},ew=e=>({poListSearchFilterData:e.poListReducer}),eE=(0,k.connect)(ew,eA)(ev);e.s(["default",()=>tv],43360);var eS=t,eC=N,eT=e.i(17626),eN=B,ek=d,eI=a,ej=b,eP=x,eL=_,eO=y,eD=T,eM=h,eR=c;let eF=e=>{if(e){let t={soldToNumber:(0,eR.default)(e,"company_listing.company_listing_sold_to_no_label"),companyName:(0,eR.default)(e,"company_listing.company_listing_companyname_label"),createdBy:(0,eR.default)(e,"company_listing.company_listing_createdby_label")};return{searchLabel:(0,eR.default)(e,"company_listing.company_listing_search_box_title"),searchPlaceholder:(0,eR.default)(e,"company_listing.company_listing_search_placeholder_text"),searchCTALabel:(0,eR.default)(e,"company_listing.company_listing_search_cta_label"),tableColumns:t,resultsLabel:(0,eR.default)(e,"company_listing.company_listing_search_results_text"),noResultsLabel:(0,eR.default)(e,"company_listing.company_listing_search_no_results_text"),noResultsDesc:"",sortByLabel:(0,eR.default)(e,"company_listing.company_listing_sortby_label")??"",paginationCount:(0,eR.default)(e,"company_listing.company_listing_items_per_page"),exportToCTALabel:(0,eR.default)(e,"company_listing.company_listing_export_to_excel_cta_label")??"",addCompanyCTALabel:(0,eR.default)(e,"company_listing.company_listing_add_company_cta_label")??"",addCompanyCTALink:(0,eR.default)(e,"company_listing.company_listing_add_company_cta_link")??""}}return{searchLabel:"",searchPlaceholder:"",searchCTALabel:"",tableColumns:"",resultsLabel:"",noResultsLabel:"",noResultsDesc:"",sortByLabel:"",paginationCount:"",exportToCTALabel:"",addCompanyCTALabel:"",addCompanyCTALink:""}},eB=e=>e?.data?.map(e=>({soldToNumber:{title:"",desc:e.sold_to_number??"",type:"text",link:""},companyName:{title:"",desc:e.company_name??"",type:"richtext",link:""},createdBy:{title:e.created_by??"",desc:"",type:"text",link:`/user-info/${e.created_by}`}}));var eU=i,eH=n,e$=e.i(65560),eG=k,eW=S,eY=v,ez=I;let eV=e=>eX({type:ez.ADD_UPDATE_CO_LIST_FILTERS,coListFilters:e}),eK=e=>eX({type:ez.UPDATE_CO_LIST_PAGE_NUMBER,currentPage:e}),eq=e=>eX({type:ez.UPDATE_CO_LIST_SEARCH_TEXT,searchText:e}),eQ=(e,t,a,i)=>eX({type:ez.UPDATE_ALL_CO_LIST_FILTERS,coListFilters:e,currentPage:t,searchText:a,sort:i}),eZ=e=>eX({type:ez.UPDATE_CO_LIST_SORT,sort:e}),eX=e=>t=>{t(e)};function eJ(e){return"[object Array]"===Object.prototype.toString.call(e)}function e0(e,t){if(!e)throw Error(t)}function e1(e){return Object.keys(e)}function e2(e){return Object.keys(e).map(function(t){return[t,e[t]]})}function e3(e,t,a){var i="."+t,r=new RegExp("(\\".concat(t,")?$"));return a(e).replace(r,i)}function e4(e){return"555xmlHello .  world!".trim().replace(/^([0-9,;]|(xml))+/,""),e.replace(/[^_a-zA-Z 0-9:\-\.]/g,"").replace(/^([ 0-9-:\-\.]|(xml))+/i,"").replace(/ +/g,"-")}function e6(e){return Array(e+1).join(" ")}function e5(e){return e.replace(/([<>&])/g,function(e,t){switch(t){case"<":return"&lt;";case">":return"&gt;";
84case"&":return"&amp;";default:return""}})}function e8(e,t,a){switch(t){case"txt":var i="text/plain;charset=utf-8";if(a)return URL.createObjectURL(new Blob([e],{type:i}));return"data:,".concat(i)+encodeURIComponent(e);case"css":var i="text/css;charset=utf-8";if(a)return URL.createObjectURL(new Blob([e],{type:i}));return"data:,".concat(i)+encodeURIComponent(e);case"html":var i="text/html;charset=utf-8";if(a)return URL.createObjectURL(new Blob([e],{type:i}));return"data:,".concat(i)+encodeURIComponent(e);case"json":var i="text/json;charset=utf-8";if(a)return URL.createObjectURL(new Blob([e],{type:i}));return"data:,".concat(i)+encodeURIComponent(e);case"csv":var i="text/csv;charset=utf-8";if(a)return URL.createObjectURL(new Blob([e],{type:i}));return"data:,".concat(i)+encodeURIComponent(e);case"xls":var i="text/application/vnd.ms-excel;charset=utf-8";if(a)return URL.createObjectURL(new Blob([e],{type:i}));return"data:,".concat(i)+encodeURIComponent(e);case"xml":var i="text/application/xml;charset=utf-8";if(a)return URL.createObjectURL(new Blob([e],{type:i}));return"data:,".concat(i)+encodeURIComponent(e);default:return""}}function e7(e,t,a,i){void 0===a&&(a="download"),void 0===i&&(i=!0);var r=e8(e,t,i),n=document.createElement("a");n.href=r,n.download=a,n.setAttribute("style","visibility:hidden"),document.body.appendChild(n),n.dispatchEvent(new MouseEvent("click",{bubbles:!1,cancelable:!1,view:window})),document.body.removeChild(n)}var e9=function(){return(e9=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},te=function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;var i,r,n=a.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}return s};function tt(e){if(!e||eJ(e)&&!e.length||!eJ(e)&&!e1(e).length)return function(e){return e};var t=eJ(e)?e.reduce(function(e,t){var a;return e9(e9({},e),((a={})[t]=t,a))},Object.create(null)):e;return function(e){return eJ(e)?e.map(function(e){return e2(e).reduce(function(e,a){var i=te(a,2),r=i[0],n=i[1];return r in t&&(e[t[r]]=n),e},Object.create(null))}).filter(function(e){return e1(e).length}):e2(e).reduce(function(e,a){var i=te(a,2),r=i[0],n=i[1];return r in t&&(e[t[r]]=n),e},Object.create(null))}}function ta(e){var t="Invalid export data. Please provide a valid JSON";try{return"string"==typeof e?JSON.parse(e):e}catch(e){throw Error(t)}}function ti(e,t,a){void 0===t&&(t=null);var i="Invalid export data. Please provide valid JSON object";try{return JSON.stringify(e,t,a)}catch(e){throw Error(i)}}function tr(e){return e.map(e2).reduce(function(t,a,i){return a.reduce(function(t,a){var r=te(a,2),n=r[0],s=r[1],l=t[n]||Array.from({length:e.length}).map(function(e){return""});return l[i]=("string"!=typeof s?JSON.stringify(s):s)||"",t[n]=l,t},t)},Object.create(null))}function tn(e,t){return void 0===t&&(t=function(e){return e}),t(e2(e).map(function(e){var t=te(e,2);return{fieldName:t[0],fieldValues:t[1]}}))}function ts(e,t){var a=new RegExp("".concat(t,'|"|\n')).test(e)?'"':"",i=e.replace(/"/g,'""');return"".concat(a).concat(i).concat(a)}var tl={beforeTableEncode:function(e){return e},delimiter:","};function to(e,t){void 0===t&&(t={});var a=e9(e9({},tl),t),i=a.beforeTableEncode,r=a.delimiter;if(!e.length)return"";var n=tn(tr(e),i);return n.map(function(e){return e.fieldName}).join(r)+"\r\n"+n.map(function(e){return e.fieldValues}).map(function(e){return e.map(function(e){return ts(e,r)})}).reduce(function(e,t){return e.map(function(e,a){return"".concat(e).concat(r).concat(t[a])})}).join("\r\n")}function tc(e,t){e0(e.length>0);var a=tn(tr(e),t),i=a.map(function(e){return e.fieldName}).join("</b></th><th><b>"),r=a.map(function(e){return e.fieldValues}).map(function(e){return e.map(function(e){return"<td>".concat(e,"</td>")})}).reduce(function(e,t){return e.map(function(e,a){return"".concat(e).concat(t[a])})});return"\n    <table>\n      <thead>\n        <tr><th><b>".concat(i,"</b></th></tr>\n      </thead>\n      <tbody>\n        <tr>").concat(r.join("</tr>\n        <tr>"),"</tr>\n      </tbody>\n    </table>\n  ")}var td={beforeTableEncode:function(e){return e}};function tu(e,t){var a=e9(e9({},td),t).beforeTableEncode;return e.length?'<html>\n  <head>\n    <meta charset="UTF-8" />\n  </head >\n  <body>\n    '.concat(tc(e,a),"\n  </body>\n</html >\n"):""}function th(e){return'<?xml version="1.0" encoding="utf-8"?><!DOCTYPE base>\n'.concat(tf(e,"base"),"\n")}function tf(e,t,a,i){void 0===a&&(a="element"),void 0===i&&(i=0);var r=e4(t),n=e6(i);if(null==e)return"".concat(n,"<").concat(r," />");var s=eJ(e)?e.map(function(e){return tf(e,a,a,i+2)}).join("\n"):"object"==typeof e?e2(e).map(function(e){var t=te(e,2),r=t[0];return tf(t[1],r,a,i+2)}).join("\n"):n+"  "+e5(String(e));return"".concat(n,"<").concat(r,">\n").concat(s,"\n").concat(n,"</").concat(r,">")}function tp(e){var t=e.data,a=e.fileName,i=void 0===a?"download":a,r=e.extension,n=e.fileNameFormatter,s=void 0===n?function(e){return e.replace(/\s+/,"_")}:n,l=e.fields,o=e.exportType,c=void 0===o?"txt":o,d=e.replacer,u=void 0===d?null:d,h=e.space,f=void 0===h?4:h,p=e.processor,m=void 0===p?e7:p,g=e.withBOM,b=void 0!==g&&g,_=e.beforeTableEncode,y=void 0===_?function(e){return e}:_,x=e.delimiter,v=void 0===x?",":x,A="Invalid export data. Please provide an array of objects",w="Can't export unknown data type ".concat(c,"."),E="Can't export string data to ".concat(c,".");if("string"==typeof t)switch(c){case"txt":case"css":case"html":return m(t,c,e3(i,null!=r?r:c,s));default:throw Error(E)}var S=tt(l)(ta(t)),C=ti(S,u,f);switch(c){case"txt":case"css":case"html":return m(C,c,e3(i,null!=r?r:c,s));case"json":return m(C,c,e3(i,null!=r?r:"json",s));case"csv":e0(eJ(S),A);var T="\uFEFF",N=to(S,{beforeTableEncode:y,delimiter:v}),k=b?T+N:N;return m(k,c,e3(i,null!=r?r:"csv",s));case"xls":e0(eJ(S),A);var k=tu(S,{beforeTableEncode:y});return m(k,c,e3(i,null!=r?r:"xls",s));case"xml":var k=th(S);return m(k,c,e3(i,null!=r?r:"xml",s));default:throw Error(w)}}tp.types={txt:"txt",css:"css",html:"html",json:"json",csv:"csv",xls:"xls",xml:"xml"},tp.processors={downloadFile:e7};let tm=tp;e.s(["default",0,tm],30472);let tg=eH.default.TEN,tb={soldToNumber:"sold_to_number",companyName:"company_name"},t_=e=>{let{coListSearchFilterData:t,blockUrl:a}=e,{coListFilters:i,currentPage:r,searchText:n,sort:s}=t,[l,o]=(0,eC.useState)(""),[c,d]=(0,eC.useState)(!0),[u,h]=(0,eC.useState)({value:"",order:0}),[f,p]=(0,eC.useState)([]),[m,g]=(0,eC.useState)([]),[b,_]=(0,eC.useState)({}),[y,x]=(0,eC.useState)(0),[v,A]=(0,eC.useState)(!1),[w,E]=(0,eC.useState)(i),[S,C]=(0,eC.useState)(tg),T=(0,ej.useMediaQuery)("(max-width: 991px)"),N=(0,eD.useRouter)(),k=["createdBy"],I=u?m:f,{applicationConfiguration:j}=(0,eC.useContext)(eY.default),P=(0,eG.useDispatch)(),L=(0,eC.useCallback)(t=>{e.addUpdateCOListFilter(t)},[P]),O=(0,eC.useCallback)(t=>e.updateCOListPagination(t),[P]),D=(0,eC.useCallback)(t=>e.updateCOListSearchText(t),[P]),M=(0,eC.useCallback)((t,a,i,r)=>e.updateAllCOListFilters(t,a,i,r),[P]),R=(0,eC.useCallback)(t=>e.updateCOListSort(t),[P]);(0,eC.useEffect)(()=>{j?.siteConfig?.company_listing&&(()=>{let e=eF(j.siteConfig),t={searchLabel:e.searchLabel,searchPlaceholder:e.searchPlaceholder,SearchCTAText:e.searchCTALabel,resultsFoundLabel:e.resultsLabel,noResultsFoundLabel:e.noResultsLabel,sortByCTAText:e.sortByLabel,exportToCTALabel:e.exp
84ortToCTALabel,addCompanyCTALabel:e.addCompanyCTALabel,addCompanyCTALink:e?.addCompanyCTALink},i=[],r=(e=>{let t={};return Object.entries({soldToNumber:"soldToNumber",companyName:"companyName",createdBy:"createdBy"}).forEach(([a,i])=>{t[a]=e[i]}),t})(e.tableColumns),n={filtersLabels:t,jobLocationData:null,displayConfig:{tableColumns:Object.values(e.tableColumns),resultsLabel:e.resultsLabel,noResultsLabel:e.noResultsLabel,noResultsDesc:e.noResultsDesc,sortByLabel:e.sortByLabel,searchUrl:`${a}`},defaultFilter:i,tableColumns:r},s=N?.query,l={column:s?.sort_field||"",order:s?.sort_order||"ASC"};M([],Number(s?.page??0),s?.search||"",l),_(n),A(!0)})()},[j?.siteConfig]);let F=e=>{D(e)},B=(e,t)=>{L(i?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>e.id===t?.id?{...e,isSelected:!1}:e)}}:a))},U=e=>{""===s.column?R({column:e,order:"ASC"}):s.column&&s.column===e?"ASC"===s.order?R({column:e,order:"DESC"}):"DESC"===s.order&&R({column:e,order:"ASC"}):R({column:e,order:"ASC"})},H=e=>{""===s.column||s.column!==e?R({column:e,order:s?.order}):R({column:"",order:s?.order})},$=()=>{R({column:s?.column,order:"ASC"===s.order?"DESC":"ASC"})},G=(e,t)=>t.findIndex(t=>t.id===e.id)>-1,W=(e,t)=>{T?E(w?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:G(e,t)}))}}:a)):L(i?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:G(e,t)}))}}:a))};(0,eC.useMemo)(()=>{let e=n?`&search=${encodeURIComponent(n)}`:"",t=s&&s?.column?tb[s?.column]:"",a=t?`&sort[sort_by]=${t}&sort[sort_order]=${s?.order}`:"",l=async()=>{d(!0);let t=await (0,eM.middlewareGETAPI)(`/restapi/customer-connect/company-listing?${e}&page=${r}${a}`);if(t&&t.response){let e=eB(t?.response);p(e),g(e);let a=t?.response?.meta?.count||0;C(Number(t?.response?.number_of_items_per_page)??0),x(a)}d(!1)};v&&l().then(()=>{let{protocol:e,host:t,pathname:a}=window.location,r=`${e}//${t}${a}`;window.history.replaceState({path:r},"",r),E(i)})},[t,v]);let Y=()=>{L(w)},z=e=>{O(e/S)},V=()=>{M(i?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}})),0,n||"")},K=e=>e>eH.default.ZERO?b?.displayConfig?.resultsLabel?.replace("@count_val",e.toString()):b?.displayConfig?.noResultsLabel?.replace("@search_txt",l),q=()=>{E(i)},Q="company list ",Z="xls",X=async()=>{let e={sold_to_number:j?.siteConfig?.company_listing?.company_listing_sold_to_no_label,company_name:j?.siteConfig?.company_listing?.company_listing_companyname_label,created_by:j?.siteConfig?.company_listing?.company_listing_createdby_label,action:j?.siteConfig?.company_listing?.company_listing_action_label},t=n?`&search=${encodeURIComponent(n)}`:"",i=s&&s?.column?tb[s?.column]:"",r=i?`&sort[sort_by]=${i}&sort[sort_order]=${s?.order}`:"",l=await (0,eM.middlewareGETAPI)(`${a}?${t}${r}`),{data:o}=l?.response,c=o.map(t=>{let a={...t};for(let t in e)null==e[t]&&delete a[t];return a});c&&tm({data:c,fileName:Q,exportType:Z,fields:e})};return(0,eS.jsxs)(eS.Fragment,{children:[I?.length>0&&(0,eS.jsxs)("div",{className:"companylisting_buttons",children:[(0,eS.jsx)(eT.AnchorButton,{tabindex:0,isIconRight:!1,href:b?.filtersLabels?.addCompanyCTALink,isSecondary:!0,icon:(0,eS.jsx)(ek.Icon,{iconName:"add"}),isExternal:!1,children:b?.filtersLabels?.addCompanyCTALabel}),(0,eS.jsx)(eN.Button,{tabindex:0,onClick:X,iconPosition:"left",isSecondary:!0,icon:(0,eS.jsx)(ek.Icon,{iconName:"excelToPrintIcon"}),children:b?.filtersLabels?.exportToCTALabel})]}),Object.keys(b).length?(0,eS.jsxs)("div",{className:"careerSearchFilter scroll-top",children:[(0,eS.jsx)(e$.default,{filtersOptions:[],filterLabels:b.filtersLabels,handleSearch:F,isCareerSearch:!1,handleUnselectAll:V,handleAdditionalFilters:W,selectedFilters:()=>{},applyAdditionalFilters:Y,currentSearchText:l,handleRemoveItem:B,handleSearchText:o,noOfResults:y,handleSortByKey:H,handleSortByOrder:$,sortList:b.tableColumns,selectedSortValue:s,resetLocalFilterWithReducer:q,isDisabled:(0,eW.default)(i,w),disabledAdvanceSearch:!0,showResultCount:!0,displayMobileSort:!0,disabledColumnSort:k}),!(T&&!f?.length)&&(0,eS.jsx)(eI.Seperator,{className:"careerSearchFilter-separator"}),c&&(0,eS.jsx)("div",{className:"load-container",children:(0,eS.jsx)(eU.default,{display:!0})}),!c&&(I?.length?(0,eS.jsxs)("div",{children:[(0,eS.jsx)(eP.default,{filterData:I,columnsList:b?.displayConfig?.tableColumns,tableColumns:b?.tableColumns,handleSort:U,sortValue:s,disableSortColumnList:k}),(0,eS.jsx)("div",{className:"search-filter-pagination",children:y>S&&(0,eS.jsx)("div",{className:"search-filter-pagination",children:(0,eS.jsx)(eL.Pagination,{itemsPerPage:S,itemsCount:y,onClick:z,offSet:r})})})]}):(0,eS.jsx)(eO.TitleDescription,{title:K(m?.length)??"",description:b.displayConfig?.noResultsDesc?.value??"",searchKey:"",className:"careerSearchFilter-no-result"}))]}):(0,eS.jsx)("div",{className:"load-container",children:(0,eS.jsx)(eU.default,{display:!0})})]})},ty={addUpdateCOListFilter:e=>eV(e),updateCOListPagination:e=>eK(e),updateCOListSearchText:e=>eq(e),updateAllCOListFilters:(e,t,a,i)=>eQ(e,t,a,i),updateCOListSort:e=>eZ(e)},tx=e=>({coListSearchFilterData:e.coListReducer}),tv=(0,eG.connect)(tx,ty)(t_)},98430,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(49266);e.i(41871);var r=e.i(87612),n=e.i(15315),s=e.i(67552),l=e.i(3828),o=e.i(91788);let c=e=>{let s,c,u,h,f=(0,a.c)(42),{action_items:p,action_url:m,Id:g,tooltipLabel:b}=e,[_,y]=(0,o.useState)(!1),[x,v]=(0,o.useState)(!1),A=(0,o.useRef)(null),w=(0,r.useMediaQuery)("(max-width: 991px)"),E=d;f[0]!==g||f[1]!==m?(s=async e=>{let t={Status:e,CaseId:g},a=await (0,n.postApi)(m,t);a?.status==="200"&&l.default.reload()},f[0]=g,f[1]=m,f[2]=s):s=f[2];let S=s;f[3]!==S||f[4]!==w||f[5]!==x?(c=async e=>{w&&x?(y(!0),await S(e),y(!1)):w&&!x?v(!0):w||(y(!0),await S(e),y(!1))},f[3]=S,f[4]=w,f[5]=x,f[6]=c):c=f[6];let C=c;f[7]===Symbol.for("react.memo_cache_sentinel")?(u=()=>
84{v(!0)},f[7]=u):u=f[7];let T=u;f[8]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{v(!1)},f[8]=h):h=f[8];let N=h;switch(p){case"lock":{let e,a,r;return f[9]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(i.Icon,{iconName:"LockClose"}),f[9]=e):e=f[9],f[10]!==b?.lockLable||f[11]!==x?(a=x&&(0,t.jsx)("div",{className:"tooltip-wrapper-item ",children:(0,t.jsx)("span",{children:b?.lockLable})}),f[10]=b?.lockLable,f[11]=x,f[12]=a):a=f[12],f[13]!==a?(r=(0,t.jsx)("div",{className:"tooltip-trigger",ref:A,children:(0,t.jsxs)("div",{onMouseEnter:T,onMouseLeave:N,children:[e,a]})}),f[13]=a,f[14]=r):r=f[14],r}case"unlock":{let e,a,r;return f[15]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(i.Icon,{iconName:"LockOpen"}),f[15]=e):e=f[15],f[16]!==b?.unLockLabel||f[17]!==x?(a=x&&(0,t.jsx)("div",{className:"tooltip-wrapper-item ",children:(0,t.jsx)("span",{children:b?.unLockLabel})}),f[16]=b?.unLockLabel,f[17]=x,f[18]=a):a=f[18],f[19]!==a?(r=(0,t.jsx)("div",{className:"tooltip-trigger",ref:A,children:(0,t.jsxs)("div",{onMouseEnter:T,onMouseLeave:N,children:[e,a]})}),f[19]=a,f[20]=r):r=f[20],r}case"Pending Feedback":{let e,a,r,n,s,l,o;if(_){let e;return f[21]===Symbol.for("react.memo_cache_sentinel")?(e=E(),f[21]=e):e=f[21],e}return f[22]!==C?(e=(0,t.jsx)(i.Icon,{iconName:"CheckMark",onClick:()=>C("Approved")}),f[22]=C,f[23]=e):e=f[23],f[24]!==b?.approveLabel||f[25]!==x?(a=x&&(0,t.jsx)("div",{className:"tooltip-wrapper-item ",children:(0,t.jsx)("span",{children:b?.approveLabel})}),f[24]=b?.approveLabel,f[25]=x,f[26]=a):a=f[26],f[27]!==e||f[28]!==a?(r=(0,t.jsx)("div",{className:"tooltip-trigger",ref:A,children:(0,t.jsxs)("div",{onMouseEnter:T,onMouseLeave:N,children:[e,a]})}),f[27]=e,f[28]=a,f[29]=r):r=f[29],f[30]!==C?(n=(0,t.jsx)(i.Icon,{iconName:"Close2",onClick:()=>C("Rejected")}),f[30]=C,f[31]=n):n=f[31],f[32]!==b?.rejectLable||f[33]!==x?(s=x&&(0,t.jsx)("div",{className:"tooltip-wrapper-item",children:(0,t.jsx)("span",{children:b?.rejectLable})}),f[32]=b?.rejectLable,f[33]=x,f[34]=s):s=f[34],f[35]!==n||f[36]!==s?(l=(0,t.jsx)("div",{className:"tooltip-trigger",ref:A,children:(0,t.jsxs)("div",{onMouseEnter:T,onMouseLeave:N,children:[n,s]})}),f[35]=n,f[36]=s,f[37]=l):l=f[37],f[38]!==r||f[39]!==l?(o=(0,t.jsxs)("div",{className:"action-item-feedback",children:[r,l]}),f[38]=r,f[39]=l,f[40]=o):o=f[40],o}default:{let e;return f[41]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),f[41]=e):e=f[41],e}}};function d(){return(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,s.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})})}},58409,63494,363,e=>{"use strict";e.s(["default",()=>V],58409);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(38233),r=e.i(17419),n=e.i(49266),s=e.i(55439);e.i(41871);var l=e.i(87612),o=e.i(22183);e.i(35958);var c=e.i(886),d=e.i(68244),u=e.i(3828),h=e.i(15315),f=t,p=e.i(82036),m=n,g=e.i(98430),g=g;let b=e=>e?{searchLabel:(0,p.default)(e,"user_listing.user_listing_search_box_title"),searchPlaceholder:(0,p.default)(e,"user_listing.user_listing_search_placeholder_text"),searchCTALabel:(0,p.default)(e,"user_listing.user_listing_search_cta_label"),uatTableColumns:(0,p.default)(e,"user_listing.uat_header_label"),ulTableColumns:(0,p.default)(e,"user_listing.ut_header_label"),resultsLabel:(0,p.default)(e,"user_listing.user_listing_search_results_text"),noResultsLabel:(0,p.default)(e,"user_listing.user_listing_search_no_results_text"),noResultsDesc:"",sortByLabel:(0,p.default)(e,"user_listing.user_listing_sortby_label")??"",paginationCount:(0,p.default)(e,"user_listing.user_listing_items_per_page"),exportToCTALabel:(0,p.default)(e,"user_listing.user_listing_export_to_excel_cta_label")??"",addCompanyCTALabel:(0,p.default)(e,"company_listing.company_listing_add_company_cta_label")??"",userDetailsLabel:(0,p.default)(e,"user_listing.user_details_tab_label")??"",userActionLabel:(0,p.default)(e,"user_listing.user_listing_user_action_table_title")??"",userLabel:(0,p.default)(e,"user_listing.user_listing_users_table_title")??"",createNewUserLabel:(0,p.default)(e,"user_listing.user_create_new_user_cta_label")??"",companyListLabel:(0,p.default)(e,"user_listing.user_listing_company_dropdown_label")??"",companyListPalceHolder:(0,p.default)(e,"user_listing.user_listing_company_dropdown_placeholder")??"",clearLabel:(0,p.default)(e,"user_listing.user_listing_clear_cta_abel")??"",applyFilterCTALabel:(0,p.default)(e,"user_listing.user_listing_apply_filter_cta")??""}:{searchLabel:"",searchPlaceholder:"",searchCTALabel:"",uatTableColumns:"",ulTableColumns:"",resultsLabel:"",noResultsLabel:"",noResultsDesc:"",sortByLabel:"",paginationCount:"",exportToCTALabel:"",addCompanyCTALabel:"",userDetailsLabel:"",userActionLabel:"",userLabel:"",createNewUserLabel:"",companyListLabel:"",companyListPalceHolder:"",clearLabel:"",applyFilterCTALabel:""},_=(e,t,a)=>{let i;return t&&Object.values(a)&&(i={approveLabel:a?.approve_label??"",lockLable:a?.lock_label??"",rejectLable:a?.reject_label??"",unLockLabel:a?.unlock_label??""}),e?.data?.map((e,a)=>({lastLogin:{title:"",desc:e.last_login??"",type:"text",link:""},name:{title:"",desc:e.name??"",type:"richtext",link:""},company:{title:"",desc:e.company??"",type:"richtext",link:""},administrator:{title:"",desc:"",type:"actions",link:"",linkIcon:e.administrator?(0,f.jsx)(m.Icon,{iconName:"CheckMark"}):""},status:{title:"",desc:e?.status||null,type:"richtext",link:""},createdBy:{title:"",desc:e?.created_by,type:"text",link:""},actionItems:{title:"",desc:"",type:"actions",link:"",linkIcon:t?(0,f.jsx)(g.default,{...e,...t?{tooltipLabel:i}:{}}):(0,f.jsx)(g.default,{...e})},soldToNumber:{title:"",desc:e?.sold_to_number??"",type:"richtext",link:""},email:{title:"",desc:e?.email_address??"",type:"richtext",link:""}}))};var y=e.i(97268),x=e.i(75425),v=e.i(65560),A=e.i(22276),w=e.i(22740);let E=e=>k({type:w.ADD_UPDATE_USER_DETAILS_FILTERS,userDetailsFilters:e}),S=e=>k({type:w.UPDATE_USER_DETAILS_PAGE_NUMBER,currentPage:e}),C=e=>k({type:w.UPDATE_USER_DETAILS_SEARCH_TEXT,searchText:e}),T=(e,t,a,i)=>k({type:w.UPDATE_ALL_USER_DETAILS_FILTERS,userDetailsFilters:e,currentPage:t,searchText:a,sort:i}),N=e=>k({type:w.UPDATE_USER_DETAILS_SORT,sort:e}),k=e=>t=>{t(e)};var I=w;let j=e=>M({type:I.ADD_UPDATE_USER_ACTION_FILTERS,userActionFilters:e}),P=e=>M({type:I.UPDATE_USER_ACTION_PAGE_NUMBER,currentPage:e}),L=e=>M({type:I.UPDATE_USER_ACTION_SEARCH_TEXT,searchText:e}
84),O=(e,t,a,i)=>M({type:I.UPDATE_ALL_USER_ACTION_FILTERS,userActionFilters:e,currentPage:t,searchText:a,sort:i}),D=e=>M({type:I.UPDATE_USER_ACTION_SORT,sort:e}),M=e=>t=>{t(e)};var R=e.i(49125),F=e.i(30472),B=e.i(82054),U=e.i(72094),H=e.i(40349);let $=x.default.TEN,G={lastLogin:"last_login",name:"name",administrator:"administrator",company:"company",status:"status",actionItems:"action_items",soldToNumber:"sold_to_number"},W=e=>{let{userDetailSearchFilterData:f,userActionFilterData:p,blockUrl:m}=e,{userDetailsFilters:g,currentPage:w,searchText:E,sort:S}=f,{userActionFilters:C,currentPage:T,searchText:N,sort:k}=p,[I,j]=(0,a.useState)(""),[P,L]=(0,a.useState)(!0),[O,D]=(0,a.useState)(!0),[M,W]=(0,a.useState)({value:"",order:0}),[Y,z]=(0,a.useState)([]),[V,K]=(0,a.useState)([]),[q,Q]=(0,a.useState)([]),[Z,X]=(0,a.useState)([]),[J,ee]=(0,a.useState)({}),[et,ea]=(0,a.useState)({}),[ei,er]=(0,a.useState)(0),[en,es]=(0,a.useState)(0),[el,eo]=(0,a.useState)(!1),[ec,ed]=(0,a.useState)(g),[eu,eh]=(0,a.useState)({}),[ef,ep]=(0,a.useState)(C),[em,eg]=(0,a.useState)($),[eb,e_]=(0,a.useState)($),[ey,ex]=(0,a.useState)({}),ev=["administrator","actionItems","createdBy"],eA=(0,l.useMediaQuery)("(max-width: 991px)"),ew=(0,u.useRouter)(),{isLoggedIn:eE}=(0,A.useSelector)(e=>e.user),eS=M?q:Y,eC=M?Z:V,{applicationConfiguration:eT}=(0,a.useContext)(B.default),eN=(0,A.useDispatch)(),ek=(0,a.useCallback)(t=>{e.addUpdateUserDetailsFilter(t)},[eN]),eI=(0,a.useCallback)(t=>e.updateUserDetailsPagination(t),[eN]),ej=(0,a.useCallback)(t=>e.updateUserDetailsSearchText(t),[eN]),eP=(0,a.useCallback)((t,a,i,r)=>e?.updateAllUserDetailsFilters(t,a,i,r),[eN]),eL=(0,a.useCallback)(t=>e.updateUserDetailsSort(t),[eN]),eO=(0,a.useCallback)(t=>e.updateUserActionPagination(t),[eN]),eD=(0,a.useCallback)(t=>e.updateUserActionSearchText(t),[eN]),eM=(0,a.useCallback)((t,a,i,r)=>e?.updateAllUserActionFilters(t,a,i,r),[eN]),eR=(0,a.useCallback)(t=>e.updateUserActionSort(t),[eN]),eF=(0,a.useCallback)(t=>{e.addUpdateUserActionFilter(t)},[eN]),eB=()=>{if(!eE)return!0;if("object"==typeof ey)if(Object.keys(ey)?.length)return!1;else return!0;return!ey?.length&&!0};(0,a.useEffect)(()=>{(async()=>{try{let e=await (0,h.getApi)(U.config.onPrem.COMPANY_LISTING_API);e&&Object.keys(e)?.length&&e?.data&&Object.keys(e?.data)?.length?ex(e?.data):ex({})}catch(e){console.error(e)}})()},[]);let eU=(e,t)=>{let a=e?e?.split(","):[];return a?.includes(t)},eH=e=>e&&Object?.keys(e)?.length?Object.entries(e)?.sort(([,e],[,t])=>e.localeCompare(t))?.map(([e,t])=>({id:e,value:t,label:t,isSelected:!1})):[];(0,a.useEffect)(()=>{eT?.siteConfig?.user_listing&&(()=>{let e=b(eT?.siteConfig);eh(e?.ulTableColumns);let t={searchLabel:e?.searchLabel,searchPlaceholder:e?.searchPlaceholder,SearchCTAText:e?.searchCTALabel,resultsFoundLabel:e?.resultsLabel,noResultsFoundLabel:e?.noResultsLabel,sortByCTAText:e?.sortByLabel,exportToCTALabel:e?.exportToCTALabel,createNewUserLabel:e?.createNewUserLabel,unselectFiltersCTA:e?.clearLabel,applyFiltersCTA:e?.applyFilterCTALabel},a=(e,t)=>{let a={};return Object.entries(t)?.forEach(([t,i])=>{a[t]=e[i]}),a},i={lastLogin:"last_login",name:"name",administrator:"administrator",company:"company",status:"status",actionItems:"action_items",soldToNumber:"sold_to_number"},r=[{label:e?.companyListLabel,filterName:"company_id",selectOptions:{isCleared:!0,isMulti:!0,options:eH(ey)??[],ariaLabel:e?.companyListLabel,name:"select",placeHolder:e?.companyListPalceHolder,disableSearch:!1}}],n={tableColumns:(0,H.createDisplayTableColumns)(e.ulTableColumns,i),resultsLabel:e?.resultsLabel,noResultsLabel:e?.noResultsLabel,noResultsDesc:e?.noResultsDesc,sortByLabel:e?.sortByLabel,userDetailsLabel:e?.userDetailsLabel,userActionLabel:e?.userActionLabel,userLabel:e?.userLabel,searchUrl:`${m}`},s={filtersLabels:t,filterOptions:eB()?[]:r,displayConfig:n,tableColumns:a(e?.ulTableColumns,i)},l=ew?.query,o=Object.keys(l),c={column:l?.sort_field||"",order:l?.sort_order||"ASC"};if(1===o.length&&"slug"===o[0]){let e=r?.map(e=>({...e,selectOptions:{...e?.selectOptions,options:e?.selectOptions?.options?.map(e=>({...e,isSelected:!1}))}}));eP(e),eM(e)}else{let e=r?.map(e=>({...e,selectOptions:{...e?.selectOptions,options:e?.selectOptions?.options?.map(t=>({...t,isSelected:l?.[e?.filterName]&&!!eU(l?.[e?.filterName],t?.value?.toString())}))}}));eP(e,Number(l?.page??0),l?.search||"",c),eM(e,Number(l?.page??0),l?.search||"",c),j(l?.search?.toString()||"")}ee(s),eo(!0);let d={lastLogin:"last_login",name:"name",administrator:"administrator",company:"company",createdBy:"created_by",actionItems:"action_items",soldToNumber:"sold_to_number",email:"email_address"},u={...n,searchUrl:`${m}`,tableColumns:(0,H.createDisplayTableColumns)(e?.uatTableColumns,d)};ea({...s,displayConfig:u,tableColumns:a(e?.uatTableColumns,d)}),eo(!0)})()},[eT?.siteConfig,ey]);let e$=e=>{ej(e),eD(e)},eG=(e,t)=>{let a=g?.map(a=>a?.filterName===e?{...a,selectOptions:{...a?.selectOptions,options:a?.selectOptions?.options?.map(e=>
84e?.id===t?.id?{...e,isSelected:!1}:e)}}:a),i=C?.map(a=>a.filterName===e?{...a,selectOptions:{...a?.selectOptions,options:a?.selectOptions?.options?.map(e=>e?.id===t?.id?{...e,isSelected:!1}:e)}}:a);ek(a),eF(i)},eW=(e,t)=>{"userDetail"===t?""===S.column?eL({column:e,order:"ASC"}):S.column&&S.column===e?"ASC"===S.order?eL({column:e,order:"DESC"}):"DESC"===S.order&&eL({column:e,order:"ASC"}):eL({column:e,order:"ASC"}):""===k.column?eR({column:e,order:"ASC"}):k.column&&k.column===e?"ASC"===k.order?eR({column:e,order:"DESC"}):"DESC"===k.order&&eR({column:e,order:"ASC"}):eR({column:e,order:"ASC"})},eY=(e,t)=>{"userDetail"===t?""===S.column||S.column!==e?eL({column:e,order:S?.order}):eL({column:"",order:S?.order}):""===k.column||k.column!==e?eR({column:e,order:k?.order}):eR({column:"",order:k?.order})},ez=e=>{"userDetail"===e?eL({column:S?.column,order:"ASC"===S.order?"DESC":"ASC"}):eR({column:k?.column,order:"ASC"===k.order?"DESC":"ASC"})},eV=(e,t,a=!1)=>{let i="";return e?.length&&!a&&(e?.length>1?(i+=`&${t}`,e?.forEach((e,t)=>{i+=`${0===t?"=":","}${e?.id}`})):i+=`&${t}=${e[0]?.id}`),i},eK=(e,t)=>t?.findIndex(t=>t?.id===e?.id)>-1,eq=(e,t)=>{if(eA){let a=ec?.map(a=>a?.filterName===e?{...a,selectOptions:{...a?.selectOptions,options:a?.selectOptions?.options?.map(e=>({...e,isSelected:eK(e,t)}))}}:a),i=ef?.map(a=>a?.filterName===e?{...a,selectOptions:{...a?.selectOptions,options:a?.selectOptions?.options?.map(e=>({...e,isSelected:eK(e,t)}))}}:a);ed(a),ep(i)}else{let a=g?.map(a=>a?.filterName==e?{...a,selectOptions:{...a?.selectOptions,options:a?.selectOptions?.options?.map(e=>({...e,isSelected:eK(e,t)}))}}:a),i=C?.map(a=>a?.filterName==e?{...a,selectOptions:{...a?.selectOptions,options:a?.selectOptions?.options?.map(e=>({...e,isSelected:eK(e,t)}))}}:a);ek(a),eF(i)}},eQ=({filterName:e,selectedOptions:t})=>{let a=g?.find(t=>t.filterName===e)?.selectOptions?.options;return eV(t,e,t?.length===a?.length)},eZ=()=>{let e={};return g?.forEach(t=>{e[`${t.filterName}`]=t?.selectOptions?.options?.filter(e=>e.isSelected)?.map(({isSelected:e,...t})=>t)}),e};(0,a.useMemo)(()=>{let e=E?`&search=${encodeURIComponent(E)}`:"",t=S&&S?.column?G[S?.column]:"",a=t?`&sort[sort_by]=${t}&sort[sort_order]=${S?.order}`:"",i=async()=>{L(!0);let t=g?.map(e=>({filterName:e?.filterName,selectedOptions:e?.selectOptions.options?.filter(e=>e?.isSelected)})),i=eB()?"":t?.map(e=>eQ(e)).join(""),r=await (0,h.middlewareGETAPI)(`${U.config.onPrem.USER_LISTING_API}?${e}${a}&page=${w}${i}`);if(r&&r.response){let e=_(r?.response);z(e),Q(e);let t=r?.response?.meta?.count||0;eg(Number(r?.response?.number_of_items_per_page)??0),er(t)}L(!1)};el&&i().then(()=>{let{protocol:e,host:t,pathname:a}=window.location,i=eZ(),r={};Object.entries(i)?.forEach(([e,t])=>{r[e]=t.length?t?.map(e=>e.value).join(","):""});let n="";Object.entries(r).forEach(([e,t])=>{n+=`&${e}=${encodeURIComponent(t)}`}),S?.column&&(S?.column,S?.order);let s="";s=eB()?`${e}//${t}${a}`:`${e}//${t}${a}?${n?.substring(1)}&search=${E||""}`,window.history.replaceState({path:s},"",s),ed(g)})},[f,el]),(0,a.useMemo)(()=>{let e=N?`&search=${encodeURIComponent(N)}`:"",t=k&&k?.column?G[k?.column]:"",a=t?`&sort[sort_by]=${t}&sort[sort_order]=${k?.order}`:"",i=async()=>{D(!0);let t=C?.map(e=>({filterName:e?.filterName,selectedOptions:e?.selectOptions.options?.filter(e=>e?.isSelected)})),i=eB()?"":t?.map(e=>eQ(e)).join(""),r=await (0,h.middlewareGETAPI)(`${m}?${e}${a}&page=${T}${i}`);if(r&&r.response){let e=_(r?.response,!0,eT?.siteConfig?.user_listing);K(e),X(e);let t=r?.response?.meta?.count||0;e_(Number(r?.response?.number_of_items_per_page)??0),es(t)}D(!1)};el&&i().then(()=>{let{protocol:e,host:t,pathname:a}=window.location,i=eZ(),r={};Object.entries(i).forEach(([e,t])=>{r[e]=t.length?t?.map(e=>e.value).join(","):""});let n="";Object.entries(r)?.forEach(([e,t])=>{n+=`&${e}=${encodeURIComponent(t)}`}),k?.column&&(k?.column,k?.order);let s="";s=eB()?`${e}//${t}${a}`:`${e}//${t}${a}?${n?.substring(1)}&search=${E||""}`,window.history.replaceState({path:s},"",s),ep(C)})},[p,el]);let eX=()=>{ek(ec),eF(ef)},eJ=(e,t)=>{"userDetail"===t?eI(e/em):eO(e/eb)},e0=e=>e>x.default.ZERO?J?.displayConfig?.resultsLabel?.replace("@items_count",e.toString()):J?.displayConfig?.noResultsLabel?.replace("@search_txt",I),e1=()=>{ed(g)},e2=()=>{let e={};return ec?.forEach(t=>{e[`${t?.filterName}`]=t?.selectOptions?.options?.filter(e=>e?.isSelected)?.map(({isSelected:e,...t})=>t)}),e},e3=()=>{let e=g?.map(e=>({...e,selectOptions:{...e?.selectOptions,options:e?.selectOptions?.options?.map(e=>({...e,isSelected:!1}))}})),t=C?.map(e=>({...e,selectOptions:{...e?.selectOptions,options:e?.selectOptions?.options?.map(e=>({...e,isSelected:!1}))}}));eP(e,0,E||""),eM(t,0,E||"")},e4="users list",e6="xls",e5=async()=>{let e=E?`&search=${encodeURIComponent(E)}`:"",t=S&&S?.column?G[S?.column]:"",a=t?`&sort[sort_by]=${t}&sort[sort_order]=${S?.order}`:"",i=g?.map(e=>({filterName:e?.filterName,selectedOptions:e?.selectOptions.options?.filter(e=>e?.isSelected)})),r=eB()?"":i?.map(e=>eQ(e)).join(""),n=await (0,h.middlewareGETAPI)(`${U.config.onPrem.USER_LISTING_API}?${e}${a}${r}`),{data:s}=n?.response,l=s?.map(e=>{let t={...e};for(let e in eu)null==eu[e]&&delete t[e];return t});l&&(0,F.default)({data:l,fileName:e4,exportType:e6,fields:eu})};return(0,t.jsxs)(t.Fragment,{children:[J?.displayConfig?.userDetailsLabel&&(0,t.jsx)(d.TitleDescription,{title:J?.displayConfig?.userDetailsLabel,description:""}),Object.keys(et).length?(0,t.jsxs)("div",{className:"careerSearchFilter scroll-top",children:[(0,t.jsx)(v.default,{filtersOptions:et?.filterOptions,filterLabels:et?.filtersLabels,handleSearch:e$,isCareerSearch:!0,handleUnselectAll:e3,handleAdditionalFilters:eq,selectedFilters:eA?e2():eZ(),applyAdditionalFilters:eX,currentSearchText:I,handleRemoveItem:eG,handleSearchText:j,noOfResults:en,handleSortByKey:e=>eY(e,"userAction"),handleSortByOrder:()=>ez("userAction"),sortList:et.tableColumns,selectedSortValue:S,resetLocalFilterWithReducer:e1,isDisabled:(0,R.default)(g,ec),showResultCount:!0,displayMobileSort:!0,disabledColumnSort:ev,disabledAdvanceSearch:eB()}),!(eA&&!eC?.length)&&(0,t.jsx)(s.Seperator,{className:"careerSearchFilter-separator"}),J?.displayConfig?.userActionLabel&&(0,t.jsx)(d.TitleDescription,{title:J?.displayConfig?.userActionLabel,description:""}),O&&(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(y.default,{display:!0})}),!O&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(o.default,{filterData:eC||[],columnsList:et?.displayConfig?.tableColumns,tableColumns:et?.tableColumns,handleSort:e=>eW(e,"userAction"),sortValue:k,disableSortColumnList:ev,isDynamicHeaderTable:!0,isPoListing:!0}),(0,t.jsx)("div",{className:"search-filter-pagination",children:en>eb&&(0,t.jsx)("div",{className:"search-filter-pagination",children:(0,t.jsx)(c.Pagination,{className:"userActionTablePagination",itemsPerPage:eb,itemsCount:en,onClick:e=>eJ(e,"userAction"),offSet:T})})})]}),!eC?.length&&(0,t.jsx)(d.TitleDescription,{title:e0(Z?.length)??"",description:et.displayConfig?.noResultsDesc?.value??"",searchKey:"",className:"careerSearchFilter-no-result h3-title"})]})]}):(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(y.default,{display:!0})}),Object.keys(J).length?(0,t.jsxs)("div",{className:"careerSearchFilter scroll-top",children:[(0,t.jsx)(v.default,{filtersOptions:[],filterLabels:J?.filtersLabels,handleSearch:e$,isCareerSearch:!1,handleUnselectAll:()=>{},handleAdditionalFilters:eq,selectedFilters:()=>{},applyAdditionalFilters:eX,currentSearchText:I,handleRemoveItem:eG,handleSearchText:j,noOfResults:ei,handleSortByKey:e=>eY(e,"userDetail"),handleSortByOrder:()=>ez("userDetail"),sortList:J.tableColumns,selectedSortValue:S,resetLocalFilterWithReducer:e1,isDisabled:(0,R.default)(g,ec),disabledAdvanceSearch:!0,showResultCount:!0,displayMobileSort:!0,disabledColumnSort:ev,disabledSearch:!0}),(0,t.jsx)("div",{className:"user-details-section",children:J?.displayConfig?.userLabel&&(0,t.jsx)(d.TitleDescription,{title:J?.displayConfig?.userLabel,de
84scription:""})}),P&&(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(y.default,{display:!0})}),J?.filtersLabels?.exportToCTALabel&&eS?.length>0?(0,t.jsx)("div",{className:"export-btn",children:(0,t.jsx)(r.Column,{desktop:4,tablet:4,mobile:8,children:(0,t.jsx)(i.Button,{tabindex:0,onClick:e5,iconPosition:"left",isSecondary:!0,icon:(0,t.jsx)(n.Icon,{iconName:"excelToPrintIcon"}),children:J?.filtersLabels?.exportToCTALabel})})}):(0,t.jsx)(t.Fragment,{}),P&&(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(y.default,{display:!0})}),!P&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(o.default,{filterData:eS||[],columnsList:J?.displayConfig?.tableColumns,tableColumns:J?.tableColumns,handleSort:e=>eW(e,"userDetail"),sortValue:S,disableSortColumnList:ev,isDynamicHeaderTable:!0,isPoListing:!0}),(0,t.jsx)("div",{className:"search-filter-pagination",children:ei>em&&(0,t.jsx)("div",{className:"search-filter-pagination",children:(0,t.jsx)(c.Pagination,{className:"userDetailsTablePagination",itemsPerPage:em,itemsCount:ei,onClick:e=>eJ(e,"userDetail"),offSet:w})})})]}),!eS?.length&&(0,t.jsx)(d.TitleDescription,{title:e0(q?.length)??"",description:J.displayConfig?.noResultsDesc?.value??"",searchKey:"",className:"careerSearchFilter-no-result h3-title"})]})]}):(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(y.default,{display:!0})})]})},Y={addUpdateUserDetailsFilter:e=>E(e),updateUserDetailsPagination:e=>S(e),updateUserDetailsSearchText:e=>C(e),updateAllUserDetailsFilters:(e,t,a,i)=>T(e,t,a,i),updateUserDetailsSort:e=>N(e),addUpdateUserActionFilter:e=>j(e),updateUserActionPagination:e=>P(e),updateUserActionSearchText:e=>L(e),updateAllUserActionFilters:(e,t,a,i)=>O(e,t,a,i),updateUserActionSort:e=>D(e)},z=e=>({userDetailSearchFilterData:e.userDetailSearchReducer,userActionFilterData:e.userActionReducer}),V=(0,A.connect)(z,Y)(W);e.s(["default",()=>e_],63494);var K=t,q=a,Q=o,Z=c,X=d,J=u,ee=e.i(99523),et=h,ea=e.i(60255),ei=e.i(10317),er=y,en=x,es=v,el=A,eo=B,ec=e.i(33070),ed=R,eu=H;let eh=20,ef="YYYY-MM-DD",ep={customerPo:"po_number",poStatus:"po_status",dateOrdered:"date_ordered",dateShipped:"date_shipped"},em=e=>{let{poListSearchFilterData:t}=e,{poListFilters:a,currentPage:i,sort:r}=t,[n,s]=(0,q.useState)(""),[l,o]=(0,q.useState)(!0),[c,d]=(0,q.useState)({value:"",order:0}),[u,h]=(0,q.useState)([]),[f,p]=(0,q.useState)([]),[m,g]=(0,q.useState)({}),[b,_]=(0,q.useState)(0),[y,x]=(0,q.useState)(!1),[v,A]=(0,q.useState)(a),[w,E]=(0,q.useState)(eh),[S,C]=(0,q.useState)(0),T=(0,J.useRouter)(),N=["trackingNumber","packingSlip","invoice"],k=c?f:u,{lang:I}=(0,et.getApiDomainAndLang)(),{applicationConfiguration:j}=(0,q.useContext)(eo.default),P=(0,el.useDispatch)(),L=(0,q.useCallback)(t=>{e.addUpdatePOListFilter(t)},[P]),O=(0,q.useCallback)(t=>e.updatePOListPagination(t),[P]),D=(0,q.useCallback)(t=>e.updatePOListSearchText(t),[P]),M=(0,q.useCallback)((t,a,i,r)=>e.updateAllPOListFilters(t,a,i,r),[P]),R=(0,q.useCallback)(t=>e.updatePOListSort(t),[P]);(0,q.useEffect)(()=>{j?.siteConfig?.cc_po_listing&&(()=>{let e=(0,ei.getFilterLabelData)(j.siteConfig),t={searchLabel:e.searchLabel,searchPlaceholder:e.searchPlaceholder,SearchCTAText:e.searchCTALabel,unselectFiltersCTA:e.clearLabel,resultsFoundLabel:e.resultsLabel,noResultsFoundLabel:e.noResultsLabel,applyFiltersCTA:e.applyFiltersCTALabel,unSelectItemsLabel:e.unSelectItemsLabel,sortByCTAText:e.sortByLabel,filterIconName:e.filter_toggle_label,openOrderTitle:e.openOrderTitle},a=[{label:e.poStatusLabel,filterName:"po_status",selectOptions:{isCleared:!0,isMulti:!1,options:(0,ea.getPostedDatesOptions)(e.poStatusOptions),ariaLabel:e.poStatusLabel,name:"select",placeHolder:e?.dropdownPlaceHolder||""}}],i={label:e?.dateRangeLabel,placeHolderTxt:e?.dateRangePlaceholder,filterName:"field_start_date",value:"",selectOptions:{isCleared:!0,isMulti:!1,options:[],ariaLabel:"",name:"",placeHolder:""}},r={label:e.dateRangeToLabel,placeHolderTxt:e?.dateRangeToPlaceholder,filterName:"field_end_date",value:"",selectOptions:{isCleared:!0,isMulti:!1,options:[],ariaLabel:"",name:"",placeHolder:""}};e?.dateRangeToLabel&&a.unshift(r),e?.dateRangeLabel&&a.unshift(i);let n={customerPo:"vbak-bstnk",poStatus:"vbuk-gbstk",dateOrdered:"vbak-bstdk",dateShipped:"likp-wadat_ist",trackingNumber:"likp-bolnr",packingSlip:"lik
84p-vbeln",invoice:"vbrk-vbeln"},s=(e=>{let t={};return Object.entries(n).forEach(([a,i])=>{t[a]=e[i]}),t})(e.tableColumns),l={poSearchContent:a,filtersLabels:t,displayConfig:{tableColumns:(0,eu.default)(e?.tableColumns,n),resultsLabel:e.resultsLabel,noResultsLabel:e.noResultsLabel,noResultsDesc:e.noResultsDesc,sortByLabel:e.sortByLabel,searchUrl:"/restapi/customer-connect/po-listing",showFiltersCTALabel:e.showFiltersCTALabel||"Show Filters",applyFiltersCTALabel:e.applyFiltersCTALabel||"Apply the filters",filterIconName:e.filter_toggle_label,openOrderCTALabel:e?.openOrderCTALabel,openOrderCTAText:e?.openOrderCTAText,searchTitle:e?.searchTitle,searchDesc:e?.searchDesc,openOrderTitle:e?.openOrderTitle},tableColumns:s},o=T?.query,c=Object.keys(o);if(1===c.length&&"slug"===c[0]){let e=a?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}}));L(e);let t={column:o?.sort_field||"",order:o?.sort_order||"ASC"};M(e,Number(o?.page??0),o?.search||"",t)}g(l),x(!0)})()},[j]);let F=e=>{D(e)},B=e=>{""===r.column?R({column:e,order:"ASC"}):r.column&&r.column===e?"ASC"===r.order?R({column:e,order:"DESC"}):"DESC"===r.order&&R({column:e,order:"ASC"}):R({column:e,order:"ASC"})},U=e=>{""===r.column||r.column!==e?R({column:e,order:r?.order}):R({column:"",order:r?.order})},H=()=>{R({column:r?.column,order:"ASC"===r.order?"DESC":"ASC"})},$=(e,t,a=!1)=>{let i="";return e.length&&!a&&(e.length>1?e.forEach((e,a)=>{i+=`&filter[${t}][${a}]=${e.id}`}):i+=`&filter[${t}]=${e[0].id}`),i},G=({filterName:e,selectedOptions:t})=>{let i=a.find(t=>t.filterName===e).selectOptions.options;return $(t,e,t.length===i.length)},W=()=>{let e={};return a?.forEach(t=>{let a=(0,ee.default)(Date.parse(t?.value)).locale(I).format(ef);e[`${t.filterName}`]=t?.placeHolderTxt?t?.value?[{label:a,value:a}]:[]:t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e};(0,q.useMemo)(()=>{let e=a?.map(e=>({filterName:e.filterName,selectedOptions:e.selectOptions.options?.filter(e=>e.isSelected)})),t=e?.map(e=>G(e)).join("")?.substring(1),n=r&&r?.column?ep[r?.column]:"",s=n?`&sort[sort_by]=${n}&sort[sort_order]=${r?.order}`:"",l=async()=>{o(!0);let e=await (0,et.middlewareGETAPI)(`restapi/customer-connect/po-listing?type=open_orders${t}${s}&page=${i}`);if(e&&e.response){let t=(0,ei.fetchOpenOrderTableData)(e?.response);h(t),p(t);let a=e?.response?.meta?.count,i=Number(e?.response?.number_of_items_per_page)??eh,r=e?.response?.meta?.open_orders_count??en.default.ZERO;E(i),_(a),C(r)}o(!1)};y&&l().then(()=>{let e=W(),t={};Object.entries(e).forEach(([e,a])=>{t[e]=a.length?a.map(e=>e.value).join(","):""});let{protocol:n,host:s,pathname:l}=window.location,o="";Object.entries(t).forEach(([e,t])=>{o+=`&${e}=${t}`}),r?.column&&(r?.column,r?.order);let c=`${n}//${s}${l}?${o.substring(1)}&page=${i}`;window.history.replaceState({path:c},"",c),A(a)})},[t,y]);let Y=e=>{O(e/w)},z=e=>e>en.default.ZERO?m.displayConfig?.resultsLabel.replace("@count_val",e.toString()):m.displayConfig?.noResultsLabel.replace("@search_txt",n);return(0,K.jsxs)(K.Fragment,{children:[m?.displayConfig?.openOrderTitle&&(0,K.jsx)(X.TitleDescription,{title:m?.displayConfig?.openOrderTitle,description:""}),Object.keys(m).length?(0,K.jsxs)("div",{className:"careerSearchFilter scroll-top",children:[(0,K.jsx)(es.default,{filtersOptions:[],filterLabels:m.filtersLabels,handleSearch:F,isCareerSearch:!1,handleUnselectAll:()=>{},handleAdditionalFilters:()=>{},selectedFilters:()=>{},applyAdditionalFilters:()=>{},currentSearchText:"",handleRemoveItem:()=>{},handleSearchText:s,noOfResults:b,handleSortByKey:U,handleSortByOrder:H,sortList:m.tableColumns,selectedSortValue:r,resetLocalFilterWithReducer:()=>{},isDisabled:(0,ed.default)(a,v),disabledAdvanceSearch:!0,showResultCount:!1,displayMobileSort:!0,disabledSearch:!0,disabledColumnSort:N}),l&&(0,K.jsx)("div",{className:"load-container",children:(0,K.jsx)(er.default,{display:!0})}),!l&&(k?.length?(0,K.jsxs)("div",{children:[(0,K.jsx)(Q.default,{filterData:k,columnsList:m?.displayConfig.tableColumns,tableColumns:m.tableColumns,handleSort:B,sortValue:r,disableSortColumnList:N,isDynamicHeaderTable:!0,isPoListing:!0}),(0,K.jsx)("div",{className:"search-filter-pagination",children:b>w&&(0,K.jsx)("div",{className:"search-filter-pagination",children:(0,K.jsx)(Z.Pagination,{itemsPerPage:w,itemsCount:b,onClick:Y,offSet:i})})})]}):(0,K.jsx)(X.TitleDescription,{title:z(f?.length)??"",description:m.displayConfig?.noResultsDesc?.value??"",searchKey:"",className:"careerSearchFilter-no-result"}))]}):(0,K.jsx)("div",{className:"load-container",children:(0,K.jsx)(er.default,{display:!0})})]})},eg={addUpdatePOListFilter:e=>(0,ec.addUpdatePOListFilter)(e),updatePOListPagination:e=>(0,ec.updatePOListPagination)(e),updatePOListSearchText:e=>(0,ec.updatePOListSearchText)(e),updateAllPOListFilters:(e,t,a,i)=>(0,ec.updateAllPOListFilters)(e,t,a,i),updatePOListSort:e=>(0,ec.updatePOListSort)(e)},eb=e=>({poListSearchFilterData:e.poListReducer}),e_=(0,el.connect)(eb,eg)(em);e.s(["default",()=>eX],363);var ey=t,ex=a,ev=i,eA=r,ew=n,eE=e.i(5223),eS=s,eC=l,eT=o,eN=d,ek=u,eI=h,ej=t,eP=p,eL=n,eO=ei;let eD=(e,t)=>({searchLabel:(0,eP.default)(e,"po_details_search_field_label"),searchPlaceholder:(0,eP.default)(e,"po_details_search_field_placeholder_label"),searchCTALabel:(0,eP.default)(e,"po_details_search_cta_label"),tableColumns:(0,eP.default)(t,"cc_po_details.header_label"),resultsLabel:(0,eP.default)(t,"cc_po_listing.search_label.search_results_text"),noResultsLabel:(0,eP.default)(e,"po_details_search_no_results_text"),noResultsDesc:"",sortByLabel:(0,eP.default)(e,"po_details_search_sortby_label"),applyFiltersCTALabel:(0,eP.default)(e,"job_apply_filters_text"),showFiltersCTALabel:(0,eP.default)(e,"job_show_filters_text"),unSelectItemsLabel:(0,eP.default)(e,"search_unselect_items"),paginationCount:(0,eP.default)(e,"job_count_for_each_page"),exportToCTALabel:(0,eP.default)(e,"export_to_excel_cta_label"),printCTALabel:(0,eP.default)(e,"print_cta_label"),accountInformation:(0,eP.default)(e,"account_information"),itemsTableColumnLabels:(0,eP.default)(e,"items_table_column_labels"),billTo:(0,eP.default)(e,"bill_to"),shipTo:(0,eP.default)(e,"ship_to"),specialInstructions:(0,eP.default)(e,"special_instructions"),blockTitle:(0,eP.default)(e,"po_details_title")}),eM=(e,t,a,i=0,r,n,s)=>{let l=e;s&&(l=l.filter(e=>
84e.ndc_number?.includes(s)||e.customer_material_number?.includes(s))),n&&r&&n.column&&r[n.column]&&(l=l.sort((e,t)=>{let a=0,i=e[r[n.column]],s=t[r[n.column]];return i<s?a=-1:i>s&&(a=1),n?.order==="ASC"?a:-a}));let o=l?.map(e=>({ndcNumber:{title:"",desc:e.ndc_number??"",type:"text",link:""},customerMaterialNumber:{title:"",desc:e.customer_material_number??"",type:"text",link:""},itemDescription:{title:"",desc:e.item_description??"",type:"text",link:""},quantityOrdered:{title:"",desc:e.quantity_ordered??"",type:"text",link:""},quantityShipped:{title:"",desc:e.quantity_shipped??"",type:"text",link:""},trackingNumber:{title:e.tracking_number?.url&&e.tracking_number?.text||"",desc:!e.tracking_number?.url&&e.tracking_number?.text||"",type:"text",link:e.tracking_number?.url??""},packingSlip:{title:e.packing_slip??"",desc:"",type:"download",link:"",linkIcon:e?.packing_slip?.length>0&&(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{href:`/restapi/pdf-generate?co_num=${t}&pack_no=${e.packing_slip}&type=delivery_detail`,rel:"noopener noreferrer",onClick:a=>(0,eO.handleExportPDF)(a,t,e.packing_slip,!1),children:(0,ej.jsx)(eL.Icon,{iconName:"downloadPdfIcon"})})})},invoice:{title:e.invoice??"",desc:"",type:"download",link:"",linkIcon:e?.invoice?.length>0&&(0,ej.jsx)("div",{children:(0,ej.jsx)("a",{href:`/restapi/pdf-generate?co_num=${t}&pack_no=${e.invoice}&type=invoice_detail`,rel:"noopener noreferrer",onClick:a=>(0,eO.handleExportPDF)(a,t,e.invoice,!0),children:(0,ej.jsx)(eL.Icon,{iconName:"downloadPdfIcon"})})})}}));return o?.slice(i,i+a)};var eR=y,eF=x,eB=v,eU=A,eH=e.i(9566),e$=R,eG=e.i(74807),eW=F,eY=H,ez=B;let eV=eF.default.TEN,eK={ndcNumber:"ndc_number",customerMaterialNumber:"customer_material_number",itemDescription:"item_description",quantityOrdered:"quantity_ordered",quantityShipped:"quantity_shipped",trackingNumber:"tracking_number",packingSlip:"packing_slip",invoice:"invoice"},eq=e=>{let{poDetailSearchFilterData:t,blockUrl:a}=e,{poDetailFilters:i,currentPage:r,searchText:n,sort:s}=t,[l,o]=(0,ex.useState)(""),[c,d]=(0,ex.useState)(!0),[u,h]=(0,ex.useState)([]),[f,p]=(0,ex.useState)([]),[m,g]=(0,ex.useState)({}),[b,_]=(0,ex.useState)(0),[y,x]=(0,ex.useState)(!1),[v,A]=(0,ex.useState)(!1),[w,E]=(0,ex.useState)(!1),[S,C]=(0,ex.useState)(i),[T,N]=(0,ex.useState)(eV),[k,I]=(0,ex.useState)(0),[j,P]=(0,ex.useState)({}),L=["quantityOrdered","quantityShipped","packingSlip","invoice","trackingNumber"],O=(0,eC.useMediaQuery)("(max-width: 991px)"),D=(0,ek.useRouter)(),M=D?.query?.so_number,R=D?.query?.company_id,{applicationConfiguration:F}=(0,ex.useContext)(ez.default),B=`${a.startsWith("/")?a:"/"+a}/?so_number=${M}&company_id=${R}&mat_type=EAN_SUM`,{data:U}=(0,eG.default)(B,async()=>(await (0,eI.middlewareGETAPI)(B)).response),H=(0,eU.useDispatch)(),$=(0,ex.useCallback)(t=>{e.addUpdatePODetailFilter(t)},[H]);(0,ex.useCallback)(t=>e.updatePODetailPagination(t),[H]);let G=(0,ex.useCallback)(t=>e.updatePODetailSearchText(t),[H]),W=(0,ex.useCallback)((t,a,i,r)=>e?.updateAllPODetailFilters(t,a,i,r),[H]),Y=(0,ex.useCallback)(t=>e.updatePODetailSort(t),[H]);(0,ex.useEffect)(()=>{U&&F?.siteConfig?.cc_po_details&&(()=>{let e=eD(U,F?.siteConfig),t={searchLabel:e.searchLabel,searchPlaceholder:e.searchPlaceholder,SearchCTAText:e.searchCTALabel,resultsFoundLabel:e.resultsLabel,noResultsFoundLabel:e.noResultsLabel,applyFiltersCTA:e.applyFiltersCTALabel,unSelectItemsLabel:e.unSelectItemsLabel,sortByCTAText:e.sortByLabel,accountInformation:e.accountInformation,billTo:e.billTo,shipTo:e.shipTo,specialInstructions:e.specialInstructions,exportToCTALabel:e.exportToCTALabel,printCTALabel:e.printCTALabel,itemsTableColumnLabels:e.itemsTableColumnLabels},a=[],i={ndcNumber:"vbap-matwa",customerMaterialNumber:"vbap-kdmat",itemDescription:"vbap-arktx",quantityOrdered:"vbap-kwmeng",quantityShipped:"vbap-lfimg",trackingNumber:"likp-bolnr",packingSlip:"likp-vbeln",invoice:"vbrk-vbeln"};P(e?.tableColumns);let r=(e=>{let t={};return Object.entries(i).forEach(([a,i])=>{t[a]=e[i]}),t})(e?.tableColumns),n={filtersLabels:t,jobLocationData:null,displayConfig:{tableColumns:(0,eY.default)(e?.tableColumns,i),resultsLabel:e.resultsLabel,noResultsLabel:e.noResultsLabel,noResultsDesc:e.noResultsDesc,sortByLabel:e.sortByLabel,searchUrl:B,blockTitle:e.blockTitle},defaultFilter:a,tableColumns:r},s=D?.query,l={column:s?.sort_field||"",order:s?.sort_order||"ASC"};W([],Number(s?.page??0),s?.search||"",l),g(n),x(!0)})()},[U,F?.siteConfig]),(0,ex.useEffect)(()=>{let e=async()=>{d(!0);let e=await (0,eI.middlewareGETAPI)(`restapi/customer-connect/po-details-table?so_number=${M}&company_id=${R}&mat_type=EAN_SUM`);if(e&&e.response){let t=e?.response?.data;h(t);let a=Number(e?.response?.number_of_items_per_page)??0,i=e?.response?.meta?.count||0;p(eM(t,R,i)),N(a),_(i)}d(!1)};y&&e().then(()=>{C(i)})},[y]);let z=e=>{G(e)},V=(e,t)=>{$(i?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>
84e.id===t?.id?{...e,isSelected:!1}:e)}}:a))},K=e=>{""===s.column?Y({column:e,order:"ASC"}):s.column&&s.column===e?"ASC"===s.order?Y({column:e,order:"DESC"}):"DESC"===s.order&&Y({column:e,order:"ASC"}):Y({column:e,order:"ASC"})},q=e=>{""===s.column||s.column!==e?Y({column:e,order:s?.order}):Y({column:"",order:s?.order})},Q=()=>{Y({column:s?.column,order:"ASC"===s.order?"DESC":"ASC"})},Z=(e,t)=>t.findIndex(t=>t.id===e.id)>-1,X=(e,t)=>{O?C(S?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:Z(e,t)}))}}:a)):$(i?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:Z(e,t)}))}}:a))};(0,ex.useMemo)(()=>{let e=eM(u,R,T,r,eK,s,n);p(e),_(e?.length)},[r,s,n]);let J=()=>{$(S)},ee=()=>{W(i?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}})),0,n||"")},et=e=>e>eF.default.ZERO?m?.displayConfig?.resultsLabel?.replace("@po_details_items_count",e.toString()):m?.displayConfig?.noResultsLabel?.replace("@search_txt",l),ea=()=>{C(i)},ei="purchase order details ",er="xls",en=async(e,t)=>{let a=`/restapi/pdf-generate?co_num=${e}&so_number=${t}&type=po_detail`;try{A(!0);let e=await (0,eI.getApi)(a);if(e){A(!1);let{data:t,filename:a}=e,i=t,r=window.atob(i),n=r.length,s=new Uint8Array(n);for(let e=0;e<n;e++)s[e]=r.charCodeAt(e);let l=new Blob([s],{type:"application/pdf"}),o=window.URL.createObjectURL(l),c=`${o}#${encodeURIComponent(a)}`,d=window.open(c,"_blank");d&&d.focus();let u=document.createElement("a");u.href=o,u.download=a,document.body.appendChild(u),u.click(),document.body.removeChild(u)}}catch(e){A(!1),console.error("Failed to fetch and open PDF:",e)}},es=async()=>{E(!0);let e=await (0,eI.middlewareGETAPI)(`restapi/customer-connect/po-details-table?so_number=${M}&company_id=${R}&mat_type=EAN_SUM`),{data:t}=e?.response;n&&(t=t.filter(e=>e.ndc_number?.includes(n)||e.customer_material_number?.includes(n)));let a={ndc_number:"vbap-matnr",customer_material_number:"vbap-kdmat",item_description:"vbap-arktx",quantity_ordered:"vbap-kwmeng",quantity_shipped:"vbap-lfimg",tracking_number:"likp-bolnr",packing_slip:"likp-vbeln",invoice:"vbrk-vbeln"},i=U?.items_table_column_labels;for(let e in i)if(e in a){let t=a[e];t in j&&(i[e]=j[t])}let r=t.map(e=>{let t={...e};for(let e in i)null==i[e]?delete t[e]:Array.isArray(t[e])&&t[e]?.length===0?t[e]="":"tracking_number"===e&&t[e]?.text&&(t[e]=t[e]?.text);return t});E(!1),r&&(0,eW.default)({data:r,fileName:ei,exportType:er,beforeTableEncode:e=>{let t="\n",a=[`${m?.filtersLabels?.accountInformation?.data?.po_number?.label}:
85               ${m?.filtersLabels?.accountInformation?.data?.po_number?.value}<br/>`,`${m?.filtersLabels?.accountInformation?.data?.po_status?.label}:
86               ${m?.filtersLabels?.accountInformation?.data?.po_status?.value}<br/>`,`${m?.filtersLabels?.accountInformation?.data?.date_ordered?.label}:
87               ${m?.filtersLabels?.accountInformation?.data?.date_ordered?.value}`].join(t),i=[`${m?.filtersLabels?.billTo?.data?.bill_to_name}<br/>`,`${m?.filtersLabels?.billTo?.data?.bill_to_address}<br/>`,`${m?.filtersLabels?.billTo?.data?.bill_to_city}`,`${m?.filtersLabels?.billTo?.data?.bill_to_zipcode}`].join(t),n=[`${m?.filtersLabels?.shipTo?.data?.ship_to_name}<br/>`,`${m?.filtersLabels?.shipTo?.data?.ship_to_address}<br/>`,`${m?.filtersLabels?.shipTo?.data?.ship_to_city}`,`${m?.filtersLabels?.shipTo?.data?.ship_to_zipcode}`].join(t);return e[0]={fieldName:`<div style="text-align:left"><b>${m?.filtersLabels?.accountInformation?.label}</b></div>`,fieldValues:[a,"",`<b>${m?.filtersLabels?.itemsTableColumnLabels.ndc_number}</b>`,...r.map(e=>e.ndc_number)]},e[1]={fieldName:`<div style="text-align:left"><b>${m?.filtersLabels?.billTo?.label}</b></div>`,fieldValues:[i,"",`<b>${m?.filtersLabels?.itemsTableColumnLabels.customer_material_number}</b>`,...r.map(e=>e.customer_material_number)]},e[2]={fieldName:`<div style="text-align:left"><b>${m?.filtersLabels?.shipTo?.label}</b></div>`,fieldValues:[n,"",`<b>${m?.filtersLabels?.itemsTableColumnLabels.item_description}</b>`,...r.map(e=>e.item_description)]},e[3]={fieldName:`<div style="text-align:left"><b>${m?.filtersLabels?.specialInstructions?.label}</b></div>`,fieldValues:[m?.filtersLabels?.specialInstructions?.data?m?.filtersLabels?.specialInstructions?.data:"","",`<b>${m?.filtersLabels?.itemsTableColumnLabels.quantity_ordered}</b>`,...r.map(e=>e.quantity_ordered)]},e[4]={fieldName:"",fieldValues:["","",`<b>${m?.filtersLabels?.itemsTableColumnLabels.quantity_shipped}</b>`,...r.map(e=>e.quantity_shipped)]},e[5]={fieldName:"",fieldValues:["","",`<b>${m?.filtersLabels?.itemsTableColumnLabels.tracking_number}</b>`,...r.map(e=>e?.tracking_number)]},e[6]={fieldName:"",fieldValues:["","",`<b>${m?.filtersLabels?.itemsTableColumnLabels.packing_slip}</b>`,...r.map(e=>e.packing_slip)]},e[7]={fieldName:"",fieldValues:["","",`<b>${m?.filtersLabels?.itemsTableColumnLabels.invoice}</b>`,...r.map(e=>e.invoice)]},[...e]}})};return(0,ex.useEffect)(()=>{let e=[];m?.filtersLabels&&(e.push(m?.filtersLabels?.accountInformation,m?.filtersLabels?.billTo,m?.filtersLabels?.shipTo,m?.filtersLabels?.specialInstructions),I(e.length))},[m?.filtersLabels]),(0,ey.jsxs)(ey.Fragment,{children:[m?.displayConfig?.blockTitle&&(0,ey.jsx)("div",{className:"purchase-order-detail-page-title",children:(0,ey.jsx)("h2",{children:m?.displayConfig?.blockTitle})}),f?.length>0&&R&&(0,ey.jsxs)("div",{className:"purchase-order-details-card-detail-btn",children:[(0,ey.jsx)(ev.Button,{tabindex:0,onClick:es,iconPosition:"left",isDisabled:w,icon:(0,ey.jsx)(ew.Icon,{iconName:w?"LoaderIcon":"excelToPrintIcon"}
87),children:m?.filtersLabels?.exportToCTALabel}),(0,ey.jsx)(ev.Button,{tabindex:0,onClick:()=>en(R.toString(),M),iconPosition:"left",isDisabled:v,icon:(0,ey.jsx)(ew.Icon,{iconName:v?"LoaderIcon":"downloadPdfIcon"}),children:m?.filtersLabels?.printCTALabel})]}),(0,ey.jsxs)("div",{className:`purchase-order-details-info-section items-${k}`,children:[m?.filtersLabels?.accountInformation&&(0,ey.jsx)("div",{className:"item item-1",children:(0,ey.jsx)("div",{className:"purchase-order-details card-stretch",children:(0,ey.jsx)("div",{className:"card",children:(0,ey.jsxs)("div",{className:"card-body",children:[(0,ey.jsx)("div",{className:"purchase-order-details-card-header",children:(0,ey.jsx)("h3",{children:m?.filtersLabels?.accountInformation?.label})}),(0,ey.jsxs)("div",{className:"purchase-order-details-card-detail",children:[(0,ey.jsxs)(eA.Column,{desktop:4,tablet:4,mobile:12,children:[(0,ey.jsx)("p",{children:m?.filtersLabels?.accountInformation?.data?.po_number.label}),(0,ey.jsxs)("p",{className:"bold purchase-order-details-card-detail-desc",children:["#",m?.filtersLabels?.accountInformation?.data?.po_number?.value]})]}),(0,ey.jsxs)(eA.Column,{desktop:4,tablet:4,mobile:12,children:[(0,ey.jsx)("p",{children:m?.filtersLabels?.accountInformation?.data?.po_status?.label}),(0,ey.jsx)("p",{className:`bold ${m?.filtersLabels?.accountInformation?.data?.po_status?.value==="Open"?"purchase-order-details-card-detail-poOpen":"purchase-order-details-card-detail-poClosed"}`,children:m?.filtersLabels?.accountInformation?.data?.po_status?.value})]}),(0,ey.jsxs)(eA.Column,{desktop:4,tablet:4,mobile:12,children:[(0,ey.jsx)("p",{children:m?.filtersLabels?.accountInformation?.data?.date_ordered?.label}),(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:m?.filtersLabels?.accountInformation?.data?.date_ordered?.value})]})]})]})})})}),m?.filtersLabels?.billTo&&(0,ey.jsx)("div",{className:"item item-2",children:(0,ey.jsx)("div",{className:"purchase-order-details card-stretch",children:(0,ey.jsx)("div",{className:"card",children:(0,ey.jsxs)("div",{className:"card-body",children:[(0,ey.jsx)("div",{className:"purchase-order-details-card-header",children:(0,ey.jsx)("h3",{children:m?.filtersLabels?.billTo?.label})}),(0,ey.jsxs)("div",{className:"purchase-order-details-card-detail",children:[(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:(0,ey.jsx)("span",{children:m?.filtersLabels?.billTo?.data?.bill_to_name})}),(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:(0,ey.jsx)("span",{children:m?.filtersLabels?.billTo?.data?.bill_to_address})}),(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:(0,ey.jsx)("span",{children:m?.filtersLabels?.billTo?.data?.bill_to_city})}),(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:(0,ey.jsx)("span",{children:m?.filtersLabels?.billTo?.data?.bill_to_zipcode})})]})]})})})}),m?.filtersLabels?.shipTo&&(0,ey.jsx)("div",{className:"item item-3",children:(0,ey.jsx)("div",{className:"purchase-order-details card-stretch",children:(0,ey.jsx)("div",{className:"card",children:(0,ey.jsxs)("div",{className:"card-body",children:[(0,ey.jsx)("div",{className:"purchase-order-details-card-header",children:(0,ey.jsx)("h3",{children:m?.filtersLabels?.shipTo?.label})}),(0,ey.jsxs)("div",{className:"purchase-order-details-card-detail",children:[(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:(0,ey.jsx)("span",{children:m?.filtersLabels?.shipTo?.data?.ship_to_name})}),(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:(0,ey.jsx)("span",{children:m?.filtersLabels?.shipTo?.data?.ship_to_address})}),(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:(0,ey.jsx)("span",{children:m?.filtersLabels?.shipTo?.data?.ship_to_city})}),(0,ey.jsx)("p",{className:"bold purchase-order-details-card-detail-desc",children:(0,ey.jsx)("span",{children:m?.filtersLabels?.shipTo?.data?.ship_to_zipcode})})]})]})})})}),m?.filtersLabels?.specialInstructions&&(0,ey.jsx)("div",{className:"item item-4",children:(0,ey.jsx)("div",{className:"purchase-order-details card-stretch",children:(0,ey.jsx)("div",{className:"card",children:(0,ey.jsxs)("div",{className:"card-body",children:[(0,ey.jsx)("div",{className:"purchase-order-details-card-header",children:(0,ey.jsx)("h3",{children:m?.filtersLabels?.specialInstructions?.label})}),(0,ey.jsx)(eE.RichText,{content:m?.filtersLabels?.specialInstructions?.data})]})})})})]}),Object.keys(m).length?(0,ey.jsxs)("div",{className:"careerSearchFilter scroll-top",children:[(0,ey.jsx)(eB.default,{filtersOptions:[],filterLabels:m.filtersLabels,handleSearch:z,isCareerSearch:!1,handleUnselectAll:ee,handleAdditionalFilters:X,selectedFilters:()=>{},applyAdditionalFilters:J,currentSearchText:l,handleRemoveItem:V,handleSearchText:o,noOfResults:b,handleSortByKey:q,handleSortByOrder:Q,sortList:m.tableColumns,selectedSortValue:s,resetLocalFilterWithReducer:ea,isDisabled:(0,e$.default)(i,S),disabledAdvanceSearch:!0,showResultCount:!0,displayMobileSort:!0,disabledColumnSort:L}),!(O&&!f?.length)&&(0,ey.jsx)(eS.Seperator,{className:"careerSearchFilter-separator"}),c&&(0,ey.jsx)("div",{className:"load-container",children:(0,ey.jsx)(eR.default,{display:!0})}),!c&&(f?.length?(0,ey.jsx)("div",{children:(0,ey.jsx)(eT.default,{filterData:f,columnsList:m?.displayConfig.tableColumns,tableColumns:m.tableColumns,handleSort:K,sortValue:s,disableSortColumnList:L,isDynamicHeaderTable:!0})}):(0,ey.jsx)(eN.TitleDescription,{title:et(f?.length)??"",description:m.displayConfig?.noResultsDesc?.value??"",searchKey:"",className:"careerSearchFilter-no-result"}))]}):(0,ey.jsx)("div",{className:"load-container",children:(0,ey.jsx)(eR.default,{display:!0})})]})},eQ={addUpdatePODetailFilter:e=>(0,eH.addUpdatePODetailFilter)(e),updatePODetailPagination:e=>(0,eH.updatePODetailPagination)(e),updatePODetailSearchText:e=>(0,eH.updatePODetailSearchText)(e),updateAllPODetailFilters:(e,t,a,i)=>(0,eH.updateAllPODetailFilters)(e,t,a,i),updatePODetailSort:e=>(0,eH.updatePODetailSort)(e)},eZ=e=>({poDetailSearchFilterData:e.poDetailReducer}),eX=(0,eU.connect)(eZ,eQ)(eq)},92792,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(38233),n=e.i(49266),s=e.i(5223),l=e.i(15315),o=e.i(91788),c=e.i(22276),d=e.i(3828),u=e.i(49214),h=e.i(84016);let f=e=>{let f,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P=(0,a.c)(59),{durationLabel:L,duration:O,title:D,keyOpinion:M,desc:R,enableMarkAsComp:F,markAsCompCtaLabel:B,downloadCtaDetail
87s:U,completedLabel:H,activityStatus:$,selectedAid:G,setActivityCompleted:W,returnToCourse:Y,returnToCourseBTnClick:z,activityHasQuiz:V}=e,[K,q]=(0,o.useState)($?H??"":B??""),Q=(0,c.useDispatch)(),[Z,X]=(0,o.useState)($??!1),[J,ee]=(0,o.useState)(F??!1),{setMaskAsComplete:et,startCourse:ea,moduleProgressUpdate:ei,courseProgressUpdate:er}=(0,u.useAcademyGtmEvents)();P[0]===Symbol.for("react.memo_cache_sentinel")?(f=window?.location?.search?window.location.search?.replace("?","&"):"",P[0]=f):f=P[0];let en=decodeURI(f);P[1]!==G?(m=()=>{let e=new URL(window.location.href);e.searchParams.set("aid",G);let t=e.toString();d.default.push(t,void 0,{shallow:!1})},P[1]=G,P[2]=m):m=P[2];let es=m,el=p;P[3]===Symbol.for("react.memo_cache_sentinel")?(g=el(en,/[?&]cid=([^&]+)/),P[3]=g):g=P[3];let eo=g;P[4]===Symbol.for("react.memo_cache_sentinel")?(b=el(en,/[?&]mid=([^&]+)/),P[4]=b):b=P[4];let ec=b;P[5]===Symbol.for("react.memo_cache_sentinel")?(_=el(en,/[?&]aid=([^&]+)/),P[5]=_):_=P[5];let ed=_;P[6]!==er||P[7]!==Q||P[8]!==ei||P[9]!==et||P[10]!==ea?(y=e=>{let t=e?.course_id??"",a=e?.module_id??"",i=e?.module_title??"",r=e?.course_title??"",n=e?.course_category??"",s=e?.course_difficulty??"",l=Number(e?.total_activities??0),o=Number(e?.completed_activities??0),c=e?.module_percentage_completed??0,d=Number(e?.current_module_total_activity_count??0),u=Number(e?.current_module_completed_activity_count??0),f=e?.current_module_completion_percentage??0,p=e?.current_module_status??"in-progress",m=o>0,g=new Date().toISOString();m&&1===o&&(ea({course_id:t,course_name:r,course_category:n,difficulty:s,date:g}),Q((0,h.setCourseData)({type:"ADD_COURSE_DATA",courseId:eo,moduleId:ec,course_name:r,course_category:n,difficulty:s,course_start_Time:g,course_status:"in-progress"})),et({course_id:t,module_id:a,module_name:i})),ei({course_id:t,module_id:a,module_name:i,total_activities:d,completed_activities:u,percentage_completed:f,module_status:p}),100==f&&er({course_id:t,module_name:i,total_activities:l,completed_activities:o,percentage_completed:c}),l==o&&Q((0,h.setCourseData)({type:"ADD_COURSE_DATA",courseId:eo,moduleId:ec,course_name:r,course_category:n,difficulty:s,course_start_Time:g,course_status:"Completed"}))},P[6]=er,P[7]=Q,P[8]=ei,P[9]=et,P[10]=ea,P[11]=y):y=P[11];let eu=y;P[12]!==G||P[13]!==W||P[14]!==eu||P[15]!==es?(x=async()=>{let e={course_id:eo,module_id:ec,activity_id:G?`${G}`:ed},t=await (0,l.postApi)("/solarapi/academy/course/module/activity",e);t?(W(!0),es(),eu(t)):W(!1)},P[12]=G,P[13]=W,P[14]=eu,P[15]=es,P[16]=x):x=P[16];let eh=x;return P[17]!==$||P[18]!==H||P[19]!==F||P[20]!==B||P[21]!==W?(v=()=>{W(!1),$?(q(H??""),X(!0)):(q(B??""),X(!1)),F?ee(F):ee(!1)},P[17]=$,P[18]=H,P[19]=F,P[20]=B,P[21]=W,P[22]=v):v=P[22],P[23]!==$||P[24]!==F?(A=[$,F],P[23]=$,P[24]=F,P[25]=A):A=P[25],(0,o.useEffect)(v,A),P[26]!==O||P[27]!==L?(w=L&&O?(0,t.jsx)("p",{className:"activityInfo-duration",children:`${L}: ${O}`}):(0,t.jsx)(t.Fragment,{}),P[26]=O,P[27]=L,P[28]=w):w=P[28],P[29]!==D?(E=D?(0,t.jsx)("h3",{className:"activityInfo-title",children:D}):(0,t.jsx)(t.Fragment,{}),P[29]=D,P[30]=E):E=P[30],P[31]!==M?(S=M?(0,t.jsx)("p",{className:"activityInfo-leader",children:M}):(0,t.jsx)(t.Fragment,{}),P[31]=M,P[32]=S):S=P[32],P[33]!==R?(C=R?(0,t.jsx)(s.RichText,{content:R,className:"activityInfo-desc"}):(0,t.jsx)(t.Fragment,{}),P[33]=R,P[34]=C):C=P[34],P[35]!==V||P[36]!==K||P[37]!==J||P[38]!==eh||P[39]!==Z?(T=K&&J&&!V?(0,t.jsx)(r.Button,{className:"activityInfo-markAsCompleteCta",tabindex:0,onClick:eh,isSecondary:!0,icon:Z?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(n.Icon,{iconName:"CheckIcon"}),iconPosition:"left",isDisabled:Z,children:K}):(0,t.jsx)(t.Fragment,{}),P[35]=V,P[36]=K,P[37]=J,P[38]=eh,P[39]=Z,P[40]=T):T=P[40],P[41]!==Y?.label||P[42]!==Y?.link||P[43]!==z?(N=Y?.label&&Y?.link?(0,t.jsx)("div",{className:"returnToCourse",children:(0,t.jsx)(r.Button,{onClick:()=>z(Y?.link||""),tabindex:0,isSecondary:!0,children:Y?.label})}):(0,t.jsx)(t.Fragment,{}),P[41]=Y?.label,P[42]=Y?.link,P[43]=z,P[44]=N):N=P[44],P[45]!==U?.ctaLabel||P[46]!==U?.ctaLink||P[47]!==U?.title?(k=U?.title&&U?.ctaLabel&&U?.ctaLink?(0,t.jsx)("div",{className:"activityInfo-download",children:(0,t.jsx)(i.AnchorButton,{tabindex:1,href:U?.ctaLink,isExternal:!0,icon:(0,t.jsx)(n.Icon,{iconName:"DownloadIcon"}),className:"activityInfo-download-cta",download:!0,isSecondary:!0,children:U?.ctaLabel})}):(0,t.jsx)(t.Fragment,{}),P[45]=U?.ctaLabel,P[46]=U?.ctaLink,P[47]=U?.title,P[48]=k):k=P[48],P[49]!==T||P[50]!==N||P[51]!==k?(I=(0,t.jsxs)("div",{className:"activityInfo-button-group",children:[T,N,k]}),P[49]=T,P[50]=N,P[51]=k,P[52]=I):I=P[52],P[53]!==w||P[54]!==E||P[55]!==S||P[56]!==C||P[57]!==I?(j=(0,t.jsxs)("div",{className:"activityInfo",children:[w,E,S,C,I]}),P[53]=w,P[54]=E,P[55]=S,P[56]=C,P[57]=I,P[58]=j):j=P[58],j};function p(e,t){let a=e.match(t);return a?.length?a?.[1]:null}},29738,e=>{"use strict";e.s(["default",()=>x],29738);var t=e.i(91398),a=e.i(61576),i=e.i(22276),r=t,n=e.i(91788);e.i(48756);var s=e.i(17419),l=e.i(70184),o=e.i(66196),c=e.i(34357),d=e.i(75227),u=e.i(92792),h=i,f=e.i(3828);e.i(62179);var p=e.i(92722),p=p,m=e.i(49214),g=e.i(84016);let b=e=>{let t=/[?&]aid=([^&]+)/,a=e.match(t);return a?.length?a?.[1]:null},_=(e,t)=>
87e.find(e=>e.id==t),y=e=>{let t,a=decodeURI(window?.location?.search?window.location.search?.replace("?","&"):"");a&&(t=b(a));let i=(e,t)=>{let a=e.match(t);return a?.length?a?.[1]:null},y=i(a,/[?&]cid=([^&]+)/),x=i(a,/[?&]mid=([^&]+)/),v={cid:y,mid:x,aid:i(a,/[?&]aid=([^&]+)/)},{learningTimeUpdate:A,moduleComplete:w,courseComplete:E}=(0,m.useAcademyGtmEvents)(),[S,C]=(0,n.useState)(t??""),[T,N]=(0,n.useState)(_(e?.slides?.slidesInfo,t??"")??{}),[k,I]=(0,n.useState)(e?.slides),[j,P]=(0,n.useState)(!1),[L,O]=(0,n.useState)(!1),D=(0,h.useDispatch)(),M=(0,h.useSelector)(e=>e?.academyCourseReducer),R=(0,f.useRouter)(),F=(e,t)=>{let a=e.findIndex(e=>e.id==t);if(-1!==a){let t=e.splice(0,a);e.push(...t)}return e};(0,n.useEffect)(()=>{if(S){let e=new URL(window.location.href);e.searchParams.set("aid",S);let t=e.toString();window.history.replaceState({path:t},"",t)}},[S]),(0,n.useEffect)(()=>{e?.slides?.slidesInfo?.length>4&&F(e?.slides?.slidesInfo,S)},[]),(0,n.useEffect)(()=>{S?N(_(k?.slidesInfo,S)):k?.slidesInfo?.[0]?.id&&N(_(k?.slidesInfo,k?.slidesInfo?.[0]?.id)),O(!1)},[S]);let B=e=>{R.push(`${e}?tabchange=true`).then(()=>R.reload())},U=()=>{let t=k?.slidesInfo?.map(e=>{if(e?.id==S){let t={...e,activityStatus:!0,enableOverlay:!0,overlayLabel:e?.overlayLabel,activityInfo:{...e?.activityInfo,activityStatus:!0}};return N(t),t}return e});I({...e?.slides,slidesInfo:t}),G(t)},H=e=>{if("string"!=typeof e)return 0;let t=e.trim().toLowerCase(),a=t.match(/(\d+)\s*h/),i=t.match(/(\d+)\s*m/),r=a?Number.parseInt(a[1],10):0,n=i?Number.parseInt(i[1],10):0;return Number.isNaN(r)||Number.isNaN(n)?0:r+n/60},$=e=>e.reduce((e,t)=>e+(t.durationhours??0),0),G=t=>{let a=new Date().toISOString();if(!y||!x)return;let{totalActivities:i,completedActivities:r,totalLearnHours:n}=(Array.isArray(t)?t:[]).reduce((e,t)=>(e.totalActivities+=1,t?.activityStatus&&(e.completedActivities+=1),e.totalLearnHours+=H(t?.duration),e),{totalActivities:0,completedActivities:0,totalLearnHours:0}),s=`${n??0}h`;100===(0===i?0:Math.round(r/i*100))&&(w({course_id:y,module_id:x,module_name:e?.module_name??"",completion_timestamp:a,duration:s}),D((0,g.setModuleComplete)({courseId:y,moduleId:x,durationhours:n})),A({course_id:y,module_id:x,module_name:e?.module_name??"",configured_module_duration:s,date:a}));let l=M?.courseData,o=M?.moduleDurations,c=Array.isArray(l)?l.find(e=>e?.courseId===y&&e?.course_status==="Completed"):{};if(c){let e=n+$(Array.isArray(o)?o.filter(e=>e?.courseId===y):[]);E({course_id:y,course_name:c?.course_name,course_category:c?.course_category,course_status:"Completed",difficulty:c?.difficulty,duration:e?`${e}h`:"0h"})}};return(0,n.useEffect)(()=>{j&&U()},[j]),(0,r.jsxs)("div",{className:"course-activity-slider",children:[(0,r.jsxs)(o.Row,{children:[T?.field_activity_component==="Main activity components"?(0,r.jsx)(s.Column,{mobile:12,tablet:12,desktop:12,children:(0,r.jsx)(d.default,{...T?.media})}):(0,r.jsx)(s.Column,{mobile:12,tablet:12,desktop:12,className:"course-activity-slider-media",children:(0,r.jsx)(l.Img,{alt:T?.image_media?.alt,src:T?.image_media?.src,width:"968",height:"546"})}),T?.quizUrlData&&(0,r.jsx)(p.default,{url:T?.quizUrlData?.[0]?.url,submission_url:T?.quizUrlData?.[0]?.submission_url,title:"",questions:[],ctaPrevious:"",ctaNext:"",ctaSubmit:"",payload:v,setIsMandatory:O,setActivityCompleted:P,activityId:S,isSandozAcademy:!0})]}),(0,r.jsx)(o.Row,{children:(0,r.jsx)(s.Column,{mobile:12,tablet:12,desktop:12,className:"activity-slider-row",children:(0,r.jsx)("div",{className:"activity-slider",children:(0,r.jsx)(c.default,{...k,setAid:C,aId:S})})})}),(0,r.jsx)(o.Row,{children:(0,r.jsx)(s.Column,{mobile:12,tablet:12,desktop:12,className:"activity-slider-row",children:(0,r.jsx)(u.default,{...T?.activityInfo,quizUrlData:T?.quizUrlData,selectedAid:S,setActivityCompleted:P,returnToCourse:T?.returnToCourse,returnToCourseBTnClick:B,activityHasQuiz:!!T?.quizUrlData?.[0]?.url})})})]})},x=e=>{let r=(0,a.c)(14),{headingSection:n,slides:s}=e,l=(0,i.useSelector)(v);if(l?.isLoggedIn){let e,a,i,l,o;r[0]!==n?.moduleHeading?(e=n?.moduleHeading?(0,t.jsx)("p",{className:"activityDetails-header-heading",children:n?.moduleHeading}):(0,t.jsx)(t.Fragment,{}),r[0]=n?.moduleHeading,r[1]=e):e=r[1],r[2]!==n?.moduleTitle?(a=n?.moduleTitle?(0,t.jsx)("h2",{className:"activityDetails-header-title",children:n?.moduleTitle}):(0,t.jsx)(t.Fragment,{}),r[2]=n?.moduleTitle,r[3]=a):a=r[3],r[4]!==e||r[5]!==a?(i=(0,t.jsxs)("div",{className:"activityDetails-header",children:[e,a]}),r[4]=e,r[5]=a,r[6]=i):i=r[6];let c=n?.moduleTitle;return r[7]!==s||r[8]!==c?(l=(0,t.jsx)("div",{className:"activityDetails-media",children:(0,t.jsx)(y,{slides:s,module_name:c})}),r[7]=s,r[8]=c,r[9]=l):l=r[9],r[10]!==i||r[11]!==l?(o=(0,t.jsxs)("div",{className:"activityDetails",children:[i,l]}),r[10]=i,r[11]=l,r[12]=o):o=r[12],o}{let e;return r[13]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),r[13]=e):e=r[13],e}};function v(e){return e.user}},58862,e=>{"use strict";e.s(["default",()=>x]);var t=e.i(91398),a=e.i(91788),i=e.i(22276),r=e.i(67552),n=e.i(31808);e.i(48756);var s=e.i(38233),l=e.i(75366),o=e.i(17419),c=e.i(49266),d=e.i(28203),u=e.i(66196),h=e.i(49326),f=e.i(97268),p=e.i(33999),m=e.i(22038),g=e.i(22854),b=e.i(17503),_=e.i(82054),y=e.i(75425);let x=e=>{let{searchFieldData:x,labelItemsSelected:v,handleSearch:A,filterData:w,handleAdditionalFilters:E,searchArgs:S,currentSearchText:C="",handleSearchText:T,handleCategorySelection:N,handleClearCategorySelection:k,handleAllFilterClear:I,handleClearMobileSelection:j,searchFlag:P,totalProductCount:L,filterText:O,showMoreText:D,showLessText:M,textSearchLabel:R,availableProductCountText:F,searchedProductCount:B,unselectAllItemLabel:U,searchPlaceholderMobile:H,productIsLoading:$,productFilterData:G,currentFilterUrl:W,setCurrentFilterUrl:Y,isV3:z=!1,clearFilterText:V,applyFiltertext:K}=e,[q,Q]=(0,a.useState)(!1),[Z,X]=(0,a.useState)(!1),[J,ee]=(0,a.useState)(!0),[et,ea]=(0,a.useState)(!1),[ei,er]=(0,a.useState)(!1),[en,es]=(0,a.useState)(!1),[el,eo]=(0,a.useState)(""),[ec,ed]=(0,a.useState)(C),[eu,eh]=(0,a.useState)(!1),[ef,ep]=(0,a.useState)(""),[em,eg]=(0,a.useState)(""),{applicationConfiguration:eb}=(0,a.useContext)(_.default),e_=(0,r.getDomainLang)(),ey=y.default.ONE,ex=(0,i.useSelector)(e=>e?.common?.accordianProductFilterIndex,i.shallowEqual),ev=(0,i.useSelector)(e=>e?.common?.accordianProductFilterVid,i.shallowEqual),eA=(0,i.useDispatch)(),ew=(0,m.default)("(max-width: 991px)"),eE=(0,a.useCallback)(e=>eA((0,n.updateProductFilter)(e)),[eA]),eS=(0,a.useCallback)(e=>eA((0,n.updateProductFilterVid)(e)),[eA]),eC=(0,a.useRef)(!0);(0,a.useEffect)(()=>
87{if(eC.current){eC.current=!1;return}ec||eN()},[ec]),(0,a.useEffect)(()=>{let e=W&&W.split("?")[1];for(let t of(e||ee(!0),Array.from(new URLSearchParams(e).keys())))t.includes("f")?ee(!1):ee(!0)},[W]);let eT=e=>{Q(e)},eN=()=>{es(!en),eT(!1),eE(0),eS(""),I&&I()},ek=()=>{X(!0),ea(!1),eT(!0)},eI=()=>{ea(!0),setTimeout(()=>{X(!1),ea(!1),ej()},300)},ej=()=>{es(!en),eT(!1),eE(0),eS(""),j&&j()},eP=(e,a)=>{let i=B?.split("@searchprodcount"),r=F?.split("@prodcount");return P||"country-ja"===e_?(0,t.jsxs)(t.Fragment,{children:[i&&i[0],(0,t.jsx)("span",{className:"search-count",children:a}),i&&i[1]]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"search-count",children:a}),r&&r[1]]})},eL=C?.length>2&&0===L;function eO(e){for(let t of w)if(t.taxonomies&&Array.isArray(t.taxonomies)){for(let a of t.taxonomies)if(a.id===e)return a.url}return null}(0,a.useEffect)(()=>{eg(eP(e?.resultLength,L)),eL&&A(ec)},[e?.resultLength,L,eL]);let eD=()=>{eT(!1)},eM=(e,t,a)=>{let i=e.target?.checked,r=eO(e.target?.value),n=w.map(e=>({...e,taxonomies:e?.taxonomies.map(e=>(e.id===a.id&&(e.isSelected=i),e))}));Y?.(r),A(ec),N&&N(n),w.forEach((e,a)=>{e.label===t&&(eE(a),eS(e.vid))})},eR=e=>{ed(e),A(e)},eF=e=>{T(e),ed(e),e||A(e)},eB=e=>{let t=!e&&!ei;e&&(eo(""),ep("")),er(t)},eU=e=>{let a,i=el?e?.taxonomies.filter(e=>e?.label?.toLowerCase()?.includes(el.toLowerCase())):e?.taxonomies,r=i.sort((e,t)=>e.isSelected&&!t.isSelected?-1:!e.isSelected&&t.isSelected?1:0),n=(a=ei?r:r.slice(0,ew?4:8)).filter(e=>!0===e.isSelected),s=a.filter(e=>!1===e.isSelected);return(0,t.jsxs)(t.Fragment,{children:[n.length>0&&n.map(a=>(0,t.jsx)(l.CheckBox,{id:a?.label,value:a?.id,label:a?.label,isChecked:a?.isSelected,onChange:t=>eM(t,e.label,a)},a?.id)),n.length>0&&s.length>0&&(0,t.jsx)("hr",{}),s.length>0&&s.map(a=>(0,t.jsx)(l.CheckBox,{id:a?.label,value:a?.id,label:a?.label,isChecked:a?.isSelected,onChange:t=>eM(t,e.label,a)},a?.id)),i&&i?.length>(ew?4:8)&&(0,t.jsx)("div",{className:"cat-btn-text",children:(0,t.jsx)(h.TextButton,{onClick:()=>eB(),tabindex:1,children:ei?M:`${D} (${i?.length-a?.length})`})})]})},eH=(e,t)=>{let a=eb?.siteConfig?.fes_product_select_count??"";return`(${a.replace(/@selectedprodcount/g,e).replace(/@totalprodcount/g,t)})`},e$=e=>{let t=e?.taxonomies?.filter(e=>!0===e.isSelected);return t?.length>0?eH(t?.length,e?.taxonomies?.length):`(${e?.taxonomies?.length})`},eG=(e,a)=>e.length>0&&(0,t.jsx)("div",{className:"cat-unselect-btn cat-btn-text",children:(0,t.jsx)(h.TextButton,{onClick:()=>{k&&k(a),eS(a)},tabindex:1,children:U})}),eW=w?.map(e=>({label:e?.label??"",vid:e?.vid??"",taxonomies:e?.taxonomies?.filter(e=>G?.includes(e?.id))})),eY=eW?.find(e=>e?.label===ef),ez=el&&eY?.label===ef?eY?.taxonomies?.filter(e=>e?.label?.toLowerCase()?.includes(el?.toLowerCase())):eY?.taxonomies,eV=e=>{let a=t=>{eo(t.target.value),ep(e?.label)};return(0,t.jsx)(t.Fragment,{children:e?.taxonomies?.length>8?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Input,{className:`search-group-input-align search-box search-group-input-align search-icon-category search-field-cross-icon ${eu?"search-box-onkeypress":"search-box-searchicon"}`,value:el,id:e?.vid,type:"search",useStateValue:!1,onChange:a,placeholder:O,onKeyDown:()=>eh(!0),onBlur:()=>eh(!1),"aria-label":O}),(0,t.jsx)("span",{id:"suggestion-status",role:"status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:el.length>ey&&`${ez?.length||0} ${eb?.siteConfig?.product_filter_result_text}`})]}):(0,t.jsx)(t.Fragment,{})})},eK=()=>{let e=w?.map(e=>({label:e?.label??"",vid:e?.vid??"",taxonomies:e?.taxonomies.filter(e=>G?.includes(e.id))}));return e?.map(e=>{let t=e?.taxonomies?.filter(e=>!0===e.isSelected);return{title:e?.label,selectionCount:e$(e),categoryFilterBox:eV(e),unselectCat:eG(t,e?.vid),content:eU(e)}})};(0,a.useEffect)(()=>{eE(0),eS("")},[]),(0,a.useEffect)(()=>{""===ev?eE(0):(w?.map(e=>({label:e?.label??"",vid:e?.vid??"",taxonomies:e?.taxonomies.filter(e=>G?.includes(e.id))}))).forEach((e,t)=>{e.vid===ev&&eE(t)})},[ev,G]);let eq={accordionArray:eK()},eQ=(0,t.jsx)("div",{className:"search-filter-bar-hcontrol search-filter-bar-modal-element-applyBox",children:(0,t.jsx)(s.Button,{type:"button",isDisabled:J,icon:(0,t.jsx)(c.Icon,{iconName:"CheckedIcon"}),iconPosition:"right",className:"search-button",tabindex:1,onClick:eD,children:K})}),eZ=(0,t.jsx)("div",{className:"search-filter-bar-hcontrol search-filter-bar-modal-element-applyBox",children:(0,t.jsx)(s.Button,{isSecondary:!0,icon:(0,t.jsx)(c.Icon,{iconName:"CheckedIcon"}),iconPosition:"right",className:"search-button",tabindex:1,onClick:eI,children:V})});return(0,t.jsxs)(t.Fragment,{children:[!ew&&(0,t.jsxs)("div",{className:"advanceSearchFilterWithAccordion-sidebar scroll-top",children:[(0,t.jsx)(b.default,{...S,handleTextSearch:A,handleTextChange:eF,currentSearchText:C,buttonType:"button",className:"advanceSearchFilterWithAccordion-search",input
87Label:R,customButtonText:x?.buttonText??""}),$?(0,t.jsx)(f.default,{display:$}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"group-result-and-filter",children:[(0,t.jsx)("h5",{className:"advanceSearchFilterWithAccordion-resultcount",tabIndex:0,children:eP(e?.resultLength,L)}),(0,t.jsx)("span",{id:"announcement",role:"announcement-status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:em})]}),G?.length>0&&(0,t.jsx)("div",{className:"advanceSearchFilterWithAccordion-accordion",children:(0,t.jsx)(g.default,{selectedIndex:ex,resetState:eB,...eq})})]})]}),ew&&(0,t.jsxs)("div",{className:"search-filter-section scroll-top",children:[G?.length>0&&(0,t.jsx)(u.Row,{className:`search-filter-clear ${!q&&ew?"hideFilters":""}`,children:(0,t.jsx)(o.Column,{desktop:12,tablet:12,mobile:12,className:"search-filter-clear-container search-filter-top",children:Z?(0,t.jsxs)("div",{className:"search-filter-bar-modal-element-new",children:[(0,t.jsxs)("div",{className:`search-filter-header-title ${et?"slide-out":""}`,children:[(0,t.jsx)("span",{onClick:eI,children:(0,t.jsx)(c.Icon,{iconName:"ArrowBackward"})}),(0,t.jsx)("h3",{className:"bold",children:"Product Filter"})]}),(0,t.jsxs)("div",{className:"group-result-and-filter",children:[(0,t.jsx)("h5",{className:"advanceSearchFilterWithAccordion-resultcount",tabIndex:0,children:eP(e?.resultLength,L)}),(0,t.jsx)("span",{id:"announcement-mobile",role:"announcement-status-mobile","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:em})]}),(0,t.jsx)("hr",{className:"seperator"}),G?.length>0&&(0,t.jsx)("div",{className:"advanceSearchFilterWithAccordion-accordion",children:(0,t.jsx)(g.default,{selectedIndex:ex,resetState:eB,...eq})}),eQ,eZ]}):(0,t.jsx)(t.Fragment,{})})}),(0,t.jsx)(u.Row,{className:"search-filter-action",children:(0,t.jsxs)(o.Column,{desktop:12,tablet:12,mobile:12,children:[(0,t.jsx)(p.default,{...x,labelItemsSelected:v,handleFilterBtnToggle:ek,handleSearch:eR,isCleared:en,handleAdditionalFilters:E,currentSearchText:ec,handleSearchText:T,inputLabel:R,searchPlaceholderMobile:H}),$?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h5",{className:"advanceSearchFilterWithAccordion-resultcount",tabIndex:0,children:eP(e?.resultLength,L)}),(0,t.jsx)("span",{id:"announcement-mobile1",role:"announcement-status-mobile1","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:em})]})]})})]})]})}},23385,38613,e=>{"use strict";e.s(["default",()=>C],23385);var t=e.i(91398),a=e.i(61312);e.i(48756);var i=e.i(17419),r=e.i(66196),n=e.i(47266),s=e.i(25675),l=e.i(91788),o=e.i(22276),c=e.i(3828);e.i(41871);var d=e.i(87612),u=e.i(58862),h=e.i(92631),f=e.i(3265);e.i(35958);var p=e.i(886),m=e.i(68244);e.s(["ProductCardListViewContent",()=>g.default],38613);var g=e.i(6597),g=g,b=e.i(10033),b=b,_=e.i(79021),y=e.i(82054),x=e.i(31808),v=e.i(75425),A=e.i(41764);let w=({label:e,title:w,hideViewCTA:E,searchLabels:S,filterLabels:C,resultLabels:T,url:N,buttonLabel:k,showInCard:I,type:j,updatePaywallContent:P})=>{let L="/pim-search",[O,D]=(0,l.useState)(L),{applicationConfiguration:M,applicationHeaderData:R}=(0,l.useContext)(y.default),F=parseInt(M?.siteConfig?.items_per_page,10)||v.default.NINE,{GRID_CONFIGURATOR_TEXT:B,GRID_VIEW:U,LIST_VIEW:H}=s.default,$=e?.default_view===B?U:H,[G,W]=(0,l.useState)(""),[Y,z]=(0,l.useState)(w),[V,K]=(0,l.useState)([]),[q,Q]=(0,l.useState)(!1),[Z,X]=(0,l.useState)(!0),[J,ee]=(0,l.useState)([]),[et,ea]=(0,l.useState)([]),[ei,er]=(0,l.useState)(!0),[en,es]=(0,l.useState)(0),el=(0,l.useRef)(null),[eo,ec]=(0,l.useState)(new Map),[ed,eu]=(0,l.useState)(!1),[eh,ef]=(0,l.useState)({listing_page_leaflet_ctas_flag:0,leaflet_cta_accordion_flag:0,leaflet_cta_accordion_label_desktop:"",leaflet_cta_accordion_label_mobile:""}),{protocol:ep,host:em,pathname:eg}=window.location,eb=(0,o.useSelector)(e=>e?.user),e_=(0,o.useSelector)(e=>e?.product.productFilter,o.shallowEqual),ey=(0,o.useSelector)(e=>e?.product?.searchText,o.shallowEqual),ex=(0,o.useSelector)(e=>e?.product?.order,o.shallowEqual),ev=(0,o.useSelector)(e=>e?.product?.currentPage,o.shallowEqual),[eA,ew]=(0,l.useState)(""),[eE,eS]=(0,l.useState)(!1),eC=(0,l.useRef)(!0),eT=(0,o.useSelector)(e=>e?.common?.productCatalogTitle,o.shallowEqual),eN=(0,o.useDispatch)(),ek=(0,l.useCallback)(e=>{eN((0,h.addProductFilter)(e))},[eN]);(0,l.useCallback)(e=>eN((0,x.updateProductFilter)(e)),[eN]);let eI=(0,l.useCallback)(e=>eN((0,h.setSearchTextVal)(e)),[eN]),ej=(0,l.useCallback)(e=>eN((0,h.setOrderVal)(e)),[eN]),eP=(0,l.useCallback)(e=>eN((0,h.setCurrentPage)(e)),[eN]),eL=(0,l.useCallback)(e=>eN((0,x.updateProductCatalogTitle)(e)),[eN]);(0,l.useEffect)(()=>{ed&&!eb.isLoggedIn&&P(!0)},[ed,eb]);let[eO,eD]=(0,l.useState)($),eM=(0,d.useMediaQuery)("(max-width: 767px)"),eR=eM?"grid":eO,eF=()=>el?.current?.scrollIntoView({behavior:"smooth",block:"start"}),eB={list_view_text:e?.list_view_text,grid_view_text:e?.grid_view_text},eU=(0,c.useRouter)(),eH=M?.siteConfig?.label_key_value_pair,e$=e=>{let t=e?.facets?.flatMap(t=>t?.flatMap(t=>Object?.keys(t)?.map(a=>{let i=e?.facets_metadata[a];if(!i)return null;let r=Array?.isArray(t[a])?t[a]:[];return{label:i?.label||a,vid:i?.url_alias||a,weight:i?.weight,taxonomies:r?.map(e=>({id:e?.raw_value,label:e?.values?.value||"",url:e?.url,isSelected:e?.values?.active==="true"})),showOverlayForRXPdt:A.ENABLE_DISABLE_VALUE[i?.show_overlay_for_rx_pdt]??!1}}
87))).filter(Boolean);return t?.sort((e,t)=>e.weight-t.weight)};(0,l.useEffect)(()=>{(async()=>{try{X(!0),er(!0);let e=new URLSearchParams,t=eU?.query;delete t.slug;let a=t?.text_search??"",i=t?.sort_order??"ASC",r=t?.page?Number(t.page):0;Object.entries(t).forEach(([t,a])=>{a&&e.append(t,String(a))});let n="";n=t&&Object.keys(t)?.length?`/pim-search?${e.toString()}`:`${L}?&sort_order=${i}&page=${r}&text_search=${encodeURIComponent(a)}`;let s=await (0,f.getProductBlockData)(n);ew(n),D(n),eG(s?.search_results,s?.show_overlay_message),es(s?.total_product_count);let l=e$(s);ea(l),ee(l),ek(l),X(!1),er(!1),eI(a),ej(i),eP(r),ef({listing_page_leaflet_ctas_flag:s?.listing_page_leaflet_ctas_flag,leaflet_cta_accordion_flag:s?.leaflet_cta_accordion_flag,leaflet_cta_accordion_label_desktop:s?.leaflet_cta_accordion_label_desktop,leaflet_cta_accordion_label_mobile:s?.leaflet_cta_accordion_label_mobile})}catch(e){console.error(e)}finally{X(!1),er(!1)}})()},[]);let eG=(e,t)=>{K(e?.map(e=>{let i=(0,a.isPaywallProtected)(e?.prodImages),r=e?.show_in_card?.length>0?e?.show_in_card:[];return r=r?.map(e=>({description:(0,a.isPaywallProtected)(e?.description).isPaywallProtectedFlag?"":e?.description??"",title:(0,a.isPaywallProtected)(e?.title).isPaywallProtectedFlag?"":e?.title??"",format:e?.format??""})),(0,a.getAllRoles)(e)&&P(!0),{id:e?.nid??null,heading:(0,a.isPaywallProtected)(e?.title).isPaywallProtectedFlag?"":e?.title??"",description:(0,a.isPaywallProtected)(e?.description).isPaywallProtectedFlag?"":e?.description??"",specifications:r??[],productListViewImage:{src:i?.isPaywallProtectedFlag?(0,a.getPaywalledImgData)(i?.errorObj).imageUrl:e?.prodImages?.[0]?.src??"",alt:i?.isPaywallProtectedFlag?"":e?.prodImages?.[0]?.alt??"",styledimage:i?.isPaywallProtectedFlag?null:e?.prodImages?.[0]?.image_style_uri??null},productCardImage:{src:i?.isPaywallProtectedFlag?(0,a.getPaywalledImgData)(i?.errorObj).imageUrl:e?.prodImages?.[0]?.src??"",alt:i?.isPaywallProtectedFlag?"":e?.prodImages?.[0]?.alt??"",styledimage:i?.isPaywallProtectedFlag?null:e?.prodImages?.[0]?.image_style_uri??null},isLinkExternal:!1,buttonLabel:k,href:e?.path??"",hrefFamily:e?.productfamilypath??"",productLinkText:e?.productlinkCTAtext??"",familyLinkText:e?.productfamilyCTAtext??"",bookmark:!(0,a.isPaywallProtected)(e?.title).isPaywallProtectedFlag&&e?.attributes?.status,pimCTADetails:(0,a.isPaywallProtected)(e?.title).isPaywallProtectedFlag||(0,a.isPaywallProtected)(e?.san_ir_producttopdf).isPaywallProtectedFlag?[]:e?.san_ir_producttopdf,basisCTALabel:e?.basistext_anchored_link?.label??"",basisTextPath:e?.basistext_anchored_link?.path??"",attachmentLabel:e?.attachment_section_link?.label??"",attachmentPath:e?.attachment_section_link?.path??"",isRXProduct:e?.field_san_at_otcrx==="Rx",overlayMessage:t??""}}))};(0,l.useMemo)(()=>{let e=new URL(eA,window?.location?.origin).search,t=window?.location?.pathname,a=`${t}${e}`;window.history.replaceState({path:a},"",a)},[eA]);let eW=async(e,t,a,i,r)=>{try{X(!0);let n="",s=[];if(i===L)n=`${i}?&sort_order=${t}&page=${a}&text_search=${encodeURIComponent(e)}`,ew(`${i}?&sort_order=${t}&page=${a}&text_search=${encodeURIComponent(e)}`);else{let r=(e,t)=>{let a=sessionStorage.getItem("domainData"),i=a?JSON.parse(a):"";String(e).startsWith("/")&&(e=e.slice(1)),String(i).endsWith("/")||(i+="/");let r=new URL(e,`${window.location.protocol}//${i}`),n=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>r.searchParams.set(e,t)),["sort_order","page","text_search"].forEach(e=>{r.searchParams.has(e)&&n.set(e,r.searchParams.get(e)||"")}),r.searchParams.forEach((e,t)=>{ex.includes(t)||n.set(t,e)}),r.search=n.toString(),r.toString()};n=r(i,{sort_order:t||"ASC",page:a||0,text_search:e||""}),ew(r(i,{sort_order:t||"ASC",page:a||0,text_search:e||""}))}s=await (0,f.getProductBlockData)(n),eG(s?.search_results||[],s?.show_overlay_message),es(s?.total_product_count);let l=e$(s);ea(l),ee(l),ek(l);let o=[];l?.forEach(e=>{e?.taxonomies?.forEach(t=>{if(t?.isSelected){let a={};a.id=t?.id,a.vid=e?.vid,a.showOverlayForRXPdt=e?.showOverlayForRXPdt,o.push(a)}})});let c=o?.find(e=>!0===e.showOverlayForRXPdt)!==void 0;eS(c&&!r),eI(e),ej(t),eP(a),ef({listing_page_leaflet_ctas_flag:s?.listing_page_leaflet_ctas_flag,leaflet_cta_accordion_flag:s?.leaflet_cta_accordion_flag,leaflet_cta_accordion_label_desktop:s?.leaflet_cta_accordion_label_desktop,leaflet_cta_accordion_label_mobile:s?.leaflet_cta_accordion_label_mobile})}catch(e){console.error("some error occured in fetching product data",e),X(!1)}finally{X(!1)}},eY=(0,l.useCallback)((0,_.default)((e,t,a,i,r)=>eW(e,t,a,i,r),500),[]);(0,l.useEffect)(()=>{""===eT&&z(w)},[eT]),(0,l.useEffect)(()=>
87{if(eC.current){eC.current=!1;return}(ey||ex||O)&&eY(ey,ex,ev,O,eb?.isLoggedIn)},[ey,ex,ev,O,eb?.isLoggedIn]);let ez=e=>{e&&e?.length>2&&(""!==e&&eL(""),W(e),eI(e),Q(!!e))},eV=e=>{eL(""),ek(e),Q(!0)},eK=e=>{let t=O.split("?")[0],a=O.split("?")[1];if(!a)return O;let i=new URLSearchParams(a);for(let t of Array.from(i.keys()))(t.includes(e)||i.get(t)?.includes(e))&&i.delete(t);let r=`${t}${i.toString()?`?${i.toString()}`:""}`;eL(""),setTimeout(eF,200),Q(!0),D(r)},eq=()=>{let e=O.split("?")[0],t=O.split("?")[1];if(!t)return O;let a=new URLSearchParams(t);for(let e of Array.from(a.keys()))e.includes("f")&&a.delete(e);D(`${e}${a.toString()?`?${a.toString()}`:""}`)},eQ=()=>{ec(new Map),eI(""),W(""),Q(!1)},eZ=()=>{let e=[];return e_?.forEach(t=>{t?.taxonomies?.forEach(t=>{e?.push(t.id)})}),e},eX={handleSearch:(e,t)=>{t?.preventDefault(),ez(e)},handleAdditionalFilters:(e,t,a)=>{a&&D(a?.url)},searchFieldData:{buttonText:C?.searchCTAMobile,isCleared:!0},clearFilterText:C?.clearText,labelItemsSelected:"selected items",applyFiltertext:C?.applyText,filterData:et&&!ei?e_:[],searchArgs:S,resultLabels:T,resultLength:V?.length||0,totalProductCount:en,currentSearchText:ey,handleSearchText:W,handleCategorySelection:eV,handleClearCategorySelection:eK,handleAllFilterClear:eQ,handleClearMobileSelection:eq,searchFlag:q,searchCTA:C?.searchCTA,filterText:C?.filterText,showMoreText:C?.showMoreText,showLessText:C?.showLessText,additionalFilters:eo,textSearchLabel:C?.textSearchLabel,availableProductCountText:C?.availableProductCountText,searchedProductCount:C?.searchedProductCount,unselectAllItemLabel:C?.unselectAllItemLabel,searchCTAMobile:C?.searchCTAMobile,searchPlaceholderMobile:C?.searchPlaceholderMobile,productIsLoading:Z,productFilterData:Z?[]:eZ(),currentFilterUrl:O,setCurrentFilterUrl:D,isV3:!0},eJ=()=>{let e=eO===U?H:U;return eD(e),e},e0=e=>{ej(e)},e1=e=>{setTimeout(eF,200),eP(e/F)},e2=()=>(0,t.jsxs)(t.Fragment,{children:[V?.length?(0,t.jsx)("div",{className:`switch-view-button-spaceContainer ${eR}-view`,children:V.map((e,a)=>(0,t.jsx)(g.default,{...e,view:eR,pimCTADisplay:eh,isTaxSelectedForOL:eE},a))}):(0,t.jsx)(m.TitleDescription,{title:T?.noResultsFoundText,description:"",className:"no-result"}),V?.length>0&&(0,t.jsx)(r.Row,{className:"pagination-wrapper",children:(0,t.jsx)(p.Pagination,{itemsCount:en,itemsPerPage:F,onClick:e1,offSet:ev,cannonicalUrl:`${ep}//${em}${eg}?&page=pageNo`})})]});return(0,t.jsxs)("div",{ref:el,children:[(0,t.jsxs)(r.Row,{className:"switch-view-button",children:[(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,children:(0,t.jsx)("h3",{className:"plp-title-section",children:Y})}),(0,t.jsx)(i.Column,{desktop:6,tablet:6,mobile:12,className:"switch-view-button-alignment",children:(0,t.jsx)(b.default,{label:eB,hideSortCTA:!0,view:eO,hideViewTypeCTA:E,onSaveIdHandler:eJ,isMobileDisplay:!!eM,setOrderSortValue:e0,labelKeyValuePair:eH})})]}),(0,t.jsxs)(r.Row,{className:"plp-advance-filterdata",children:[(0,t.jsx)(i.Column,{desktop:3,tablet:12,mobile:12,children:ei?(0,t.jsx)(n.Loader,{display:ei}):(0,t.jsx)(u.default,{...eX})}),eM?(0,t.jsx)(i.Column,{desktop:9,tablet:12,mobile:12,className:"plp-order-mobile",children:(0,t.jsx)(b.default,{label:eB,hideSortCTA:!0,view:"List",hideViewTypeCTA:!0,isMobileDisplay:!1,isOrderByVisible:!0,setOrderSortValue:e0,labelKeyValuePair:eH})}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(i.Column,{desktop:9,tablet:12,mobile:12,children:Z?(0,t.jsx)(n.Loader,{display:Z}):e2()})]})]})},E={updatePaywallContent:e=>(0,x.updatePaywallContent)(e)},S=e=>({paywalledContent:e.common.paywallContent}),C=(0,o.connect)(S,E)(w)},64751,e=>{"use strict";var t=e.i(50461),a=e.i(89280);e.i(39524);var i=e.i(91788),r="-ms-",n="-moz-",s="-webkit-",l="comm",o="rule",c="decl",d="@import",u="@namespace",h="@keyframes",f="@layer",p=Math.abs,m=String.fromCharCode,g=Object.assign;function b(e,t){return 45^A(e,0)?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}function _(e){return e.trim()}function y(e,t){return(e=t.exec(e))?e[0]:e}function x(e,t,a){return e.replace(t,a)}function v(e,t,a){return e.indexOf(t,a)}function A(e,t){return 0|e.charCodeAt(t)}function w(e,t,a){return e.slice(t,a)}function E(e){return e.length}function S(e){return e.length}function C(e,t){return t.push(e),e}function T(e,t){return e.map(t).join("")}function N(e,t){return e.filter(function(e){return!y(e,t)})}var k=1,I=1,j=0,P=0,L=0,O="";function D(e,t,a,i,r,n,s,l){return{value:e,root:t,parent:a,type:i,props:r,children:n,line:k,column:I,length:s,return:"",siblings:l}}function M(e,t){return g(D("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function R(e){for(;e.root;)e=M(e.root,{children:[e]});C(e,e.siblings)}function F(){return L}function B(){return L=P>0?A(O,--P):0,I--,10===L&&(I=1,k--),L}function U(){return L=P<j?A(O,P++):0,I++,10===L&&(I=1,k++),L}function H(){return A(O,P)}function $(){return P}function G(e,t){return w(O,e,t)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y(e){return k=I=1,j=E(O=e),P=0,[]}function z(e){return O="",e}function V(e){return _(G(P-1,Q(91===e?e+2:40===e?e+1:e)))}function K(e){for(;L=H();)if(L<33)U();else break;return W(e)>2||W(L)>3?"":" "}function q(e,t){for(;--t&&U()&&!(L<48)&&!(L>102)&&(!(L>57)||!(L<65))&&(!(L>
vendor: 5,549 bytes, line 87
8770)||!(L<97)););return G(e,$()+(t<6&&32==H()&&32==U()))}function Q(e){for(;U();)switch(L){case e:return P;case 34:case 39:34!==e&&39!==e&&Q(L);break;case 40:41===e&&Q(e);break;case 92:U()}return P}function Z(e,t){for(;U();)if(e+L===57)break;else if(e+L===84&&47===H())break;return"/*"+G(t,P-1)+"*"+m(47===e?e:U())}function X(e){for(;!W(H());)U();return G(e,P)}function J(e,t){for(var a="",i=0;i<e.length;i++)a+=t(e[i],i,e,t)||"";return a}function ee(e,t,a,i){switch(e.type){case f:if(e.children.length)break;case d:case u:case c:return e.return=e.return||e.value;case l:return"";case h:return e.return=e.value+"{"+J(e.children,i)+"}";case o:if(!E(e.value=e.props.join(",")))return""}return E(a=J(e.children,i))?e.return=e.value+"{"+a+"}":""}function et(e,t,a){switch(b(e,t)){case 5103:return s+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return s+e+e;case 4855:return s+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return s+e+n+e+r+e+e;case 5936:switch(A(e,t+11)){case 114:return s+e+r+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return s+e+r+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return s+e+r+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return s+e+r+e+e;case 6165:return s+e+r+"flex-"+e+e;case 5187:return s+e+x(e,/(\w+).+(:[^]+)/,s+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return s+e+r+"flex-item-"+x(e,/flex-|-self/g,"")+(y(e,/flex-|baseline/)?"":r+"grid-row-"+x(e,/flex-|-self/g,""))+e;case 4675:return s+e+r+"flex-line-pack"+x(e,/align-content|flex-|-self/g,"")+e;case 5548:return s+e+r+x(e,"shrink","negative")+e;case 5292:return s+e+r+x(e,"basis","preferred-size")+e;case 6060:return s+"box-"+x(e,"-grow","")+s+e+r+x(e,"grow","positive")+e;case 4554:return s+x(e,/([^-])(transform)/g,"$1"+s+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,s+"$1"),/(image-set)/,s+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,s+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,s+"box-pack:$3"+r+"flex-pack:$3"),/space-between/,"justify")+s+e+e;case 4200:if(!y(e,/flex-|baseline/))return r+"grid-column-align"+w(e,t)+e;break;case 2592:case 3360:return r+x(e,"template-","")+e;case 4384:case 3616:if(a&&a.some(function(e,a){return t=a,y(e.props,/grid-\w+-end/)}))return~v(e+(a=a[t].value),"span",0)?e:r+x(e,"-start","")+e+r+"grid-row-span:"+(~v(a,"span",0)?y(a,/\d+/):y(a,/\d+/)-y(e,/\d+/))+";";return r+x(e,"-start","")+e;case 4896:case 4128:return a&&a.some(function(e){return y(e.props,/grid-\w+-start/)})?e:r+x(x(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,s+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(E(e)-1-t>6)switch(A(e,t+1)){case 109:if(45!==A(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+s+"$2-$3$1"+n+(108==A(e,t+3)?"$3":"$2-$3"))+e;case 115:return~v(e,"stretch",0)?et(x(e,"stretch","fill-available"),t,a)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,a,i,n,s,l,o){return r+a+":"+i+o+(n?r+a+"-span:"+(s?l:l-i)+o:"")+e});case 4949:if(121===A(e,t+6))return x(e,":",":"+s)+e;break;case 6444:switch(A(e,45===A(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+s+(45===A(e,14)?"inline-":"")+"box$3$1"+s+"$2$3$1"+r+"$2box$3")+e;case 100:return x(e,":",":"+r)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function ea(e){var t=S(e);return function(a,i,r,n){for(var s="",l=0;l<t;l++)s+=e[l](a,i,r,n)||"";return s}}function ei(e){return function(t){!t.root&&(t=t.return)&&e(t)}}function er(e,t,a,i){if(e.length>-1&&!e.return)switch(e.type){case c:e.return=et(e.value,e.length,a);return;case h:return J([M(e,{value:x(e.value,"@","@"+s)})],i);case o:if(e.length)return T(a=e.props,function(t){switch(y(t,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":R(M(e,{props:[x(t,/:(read-\w+)/,":"+n+"$1")]})),R(M(e,{props:[t]})),g(e,{props:N(a,i)});break;case"::placeholder":R(M(e,{props:[x(t,/:(plac\w+)/,":"+s+"input-$1")]})),R(M(e,{props:[x(t,/:(plac\w+)/,":"+n+"$1")]})),R(M(e,{props:[x(t,/:(plac\w+)/,r+"input-$1")]})),R(M(e,{props:[t]})),g(e,{props:N(a,i)})}return""})}}function en(e){return z(es("",null,null,null,[""],e=Y(e),0,[0],e))}function es(e,t,a,i,r,n,s,l,o){for(var c=0,d=0,u=s,h=0,f=0,g=0,b=1,_=1,y=1,S=0,T="",N=r,k=n,I=i,j=T;_;)switch(g=S,S=U()){case 40:if(108!=g&&58==A(j,u-1)){-1!=v(j+=x(V(S),"&","&\f"),"&\f",p(c?l[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:j+=V(S);break;case 9:case 10:case 13:case 32:j+=K(g);break;case 92:j+=q($()-1,7);continue;case 47:switch(H()){case 42:case 47:C(eo(Z(U(),$()),t,a,o),o),(5==W(g||1)||5==W(H()||1))&&E(j)&&" "!==w(j,-1,void 0)&&(j+=" ");break;default:j+="/"}break;case 123*b:l[c++]=E(j)*y;case 125*b:case 59:case 0:switch(S){case 0:case 125:_=0;case 59+d:-1==y&&(j=x(j,/\f/g,"")),f>0&&(E(j)-u||0===b&&47===g)&&C(f>32?ec(j+";",i,a,u-1,o):ec(x(j," ","")+";",i,a,u-2,o),o);break;case 59:j+=";";default:if(C(I=el(j,t,a,c,d,r,l,T,N=[],k=[],u,n),n),123===S)if(0===d)es(j,t,I,I,N,n,u,l,k);else{switch(h){case 99:if(110===A(j,3))break;case 108:if(97===A(j,2))break;default:d=0;case 100:case 109:case 115:}
87d?es(e,I,I,i&&C(el(e,I,I,0,0,r,l,T,r,N=[],u,k),k),r,k,u,l,i?N:k):es(j,I,I,I,[""],k,0,l,k)}}c=d=f=0,b=y=1,T=j="",u=s;break;case 58:u=1+E(j),f=g;default:if(b<1){if(123==S)--b;else if(125==S&&0==b++&&125==B())continue}switch(j+=m(S),S*b){case 38:y=d>0?1:(j+="\f",-1);break;case 44:l[c++]=(E(j)-1)*y,y=1;break;case 64:45===H()&&(j+=V(U())),h=H(),d=u=E(T=j+=X($())),S++;break;case 45:45===g&&2==E(j)&&(b=0)}}return n}function el(e,t,a,i,r,n,s,l,c,d,u,h){for(var f=r-1,m=0===r?n:[""],g=S(m),b=0,y=0,v=0;b<i;++b)for(var A=0,E=w(e,f+1,f=p(y=s[b])),C=e;A<g;++A)(C=_(y>0?m[A]+" "+E:x(E,/&\f/g,m[A])))&&(c[v++]=C);return D(e,t,a,0===r?o:l,c,d,u,h)}function eo(e,t,a,i){return D(e,t,a,l,m(F()),w(e,2,-2),0,i)}function ec(e,t,a,i,r){return D(e,t,a,c,w(e,0,i),w(e,i+1,-1),i,r)}var ed=e.i(91855),eu=void 0!==t.default&&void 0!==t.default.env&&(t.default.env.REACT_APP_SC_ATTR||t.default.env.SC_ATTR)||"data-styled",eh="active",ef="data-styled-version",ep="6.3.9",em="/*!sc*/\n",eg="u">typeof window&&"u">typeof document,eb=void 0===i.default.createContext,e_=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==t.default&&void 0!==t.default.env&&void 0!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==t.default.env.REACT_APP_SC_DISABLE_SPEEDY&&t.default.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==t.default&&void 0!==t.default.env&&void 0!==t.default.env.SC_DISABLE_SPEEDY&&""!==t.default.env.SC_DISABLE_SPEEDY&&"false"!==t.default.env.SC_DISABLE_SPEEDY&&t.default.env.SC_DISABLE_SPEEDY),ey=Object.freeze([]),ex=Object.freeze({});function ev(e,t,a){return void 0===a&&(a=ex),e.theme!==a.theme&&e.theme||t||a.theme}var eA=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),ew=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eE=/(^-|-$)/g;function eS(e){return e.replace(ew,"-").replace(eE,"")}var eC=/(a)(d)/gi,eT=function(e){return String.fromCharCode(e+(e>25?39:97))};function eN(e){var t,a="";for(t=Math.abs(e);t>52;t=t/52|0)a=eT(t%52)+a;return(eT(t%52)+a).replace(eC,"$1-$2")}var ek,eI=function(e,t){for(var a=t.length;a;)e=33*e^t.charCodeAt(--a);return e},ej=function(e){return eI(5381,e)};function eP(e){return eN(ej(e)>>>0)}function eL(e){return e.displayName||e.name||"Component"}function eO(e){return"string"==typeof e}var eD="function"==typeof Symbol&&Symbol.for,eM=eD?Symbol.for("react.memo"):60115,eR=eD?Symbol.for("react.forward_ref"):60112,eF={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eB={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eU={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eH=((ek={})[eR]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ek[eM]=eU,ek);function e$(e){var t;return("type"in(t=e)&&t.type.$$typeof)===eM?eU:"$$typeof"in e?eH[e.$$typeof]:eF}var eG=Object.defineProperty,eW=Object.getOwnPropertyNames,eY=Object.getOwnPropertySymbols,ez=Object.getOwnPropertyDescriptor,eV=Object.getPrototypeOf,eK=Object.prototype;function eq(e,t,a){if("string"!=typeof t){if(eK){var i=eV(t);i&&i!==eK&&eq(e,i,a)}
87var r=eW(t);eY&&(r=r.concat(eY(t)));for(var n=e$(e),s=e$(t),l=0;l<r.length;++l){var o=r[l];if(!(o in eB||a&&a[o]||s&&o in s||n&&o in n)){var c=ez(t,o);try{eG(e,o,c)}catch(e){}}}}return e}function eQ(e){return"function"==typeof e}function eZ(e){return"object"==typeof e&&"styledComponentId"in e}function eX(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eJ(e,t){return e.join(t||"")}function e0(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function e1(e,t,a){if(void 0===a&&(a=!1),!a&&!e0(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var i=0;i<t.length;i++)e[i]=e1(e[i],t[i]);else if(e0(t))for(var i in t)e[i]=e1(e[i],t[i]);return e}function e2(e,t){Object.defineProperty(e,"toString",{value:t})}function e3(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var e4=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var t=this._cIndex;if(e>this._cGroup)for(var a=this._cGroup;a<e;a++)t+=this.groupSizes[a];else for(a=this._cGroup-1;a>=e;a--)t-=this.groupSizes[a];return this._cGroup=e,this._cIndex=t,t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var a=this.groupSizes,i=a.length,r=i;e>=r;)if((r<<=1)<0)throw e3(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(a),this.length=r;for(var n=i;n<r;n++)this.groupSizes[n]=0}for(var s=this.indexOfGroup(e+1),l=0,o=(n=0,t.length);n<o;n++)this.tag.insertRule(s,t[n])&&(this.groupSizes[e]++,s++,l++);l>0&&this._cGroup>e&&(this._cIndex+=l)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],a=this.indexOfGroup(e),i=a+t;this.groupSizes[e]=0;for(var r=a;r<i;r++)this.tag.deleteRule(a);t>0&&this._cGroup>e&&(this._cIndex-=t)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var a=this.groupSizes[e],i=this.indexOfGroup(e),r=i+a,n=i;n<r;n++)t+=this.tag.getRule(n)+em;return t},e}(),e6=new Map,e5=new Map,e8=1,e7=function(e){if(e6.has(e))return e6.get(e);for(;e5.has(e8);)e8++;var t=e8++;return e6.set(e,t),e5.set(t,e),t},e9=function(e,t){e8=t+1,e6.set(e,t),e5.set(t,e)},te="style[".concat(eu,"][").concat(ef,'="').concat(ep,'"]'),tt=new RegExp("^".concat(eu,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ta=function(e){return"u">typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},ti=function(e){if(!e)return document;if(ta(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(ta(t))return t}return document},tr=function(e,t,a){for(var i,r=a.split(","),n=0,s=r.length;n<s;n++)(i=r[n])&&e.registerName(t,i)},tn=function(e,t){for(var a,i=(null!=(a=t.textContent)?a:"").split(em),r=[],n=0,s=i.length;n<s;n++){var l=i[n].trim();if(l){var o=l.match(tt);if(o){var c=0|parseInt(o[1],10),d=o[2];0!==c&&(e9(d,c),tr(e,d,o[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(l)}}},ts=function(e){for(var t=ti(e.options.target).querySelectorAll(te),a=0,i=t.length;a<i;a++){var r=t[a];r&&r.getAttribute(eu)!==eh&&(tn(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function tl(){return"u">typeof __webpack_nonce__?__webpack_nonce__:null}var to=function(e){var t=document.head,a=e||t,i=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(eu,"]")));return t[t.length-1]}(a),n=void 0!==r?r.nextSibling:null;i.setAttribute(eu,eh),i.setAttribute(ef,ep);var s=tl();return s&&i.setAttribute("nonce",s),a.insertBefore(i,n),i},tc=function(){function e(e){this.element=to(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var a=null!=(t=e.getRootNode().styleSheets)?t:document.styleSheets,i=0,r=a.length;i<r;i++){var n=a[i];if(n.ownerNode===e)return n}throw e3(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),td=function(){function e(e){this.element=to(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var a=document.createTextNode(t);return this.element.insertBefore(a,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),tu=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(e===this.length?this.rules.push(t):this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),th=eg,tf={isServer:!eg,useCSSOMInjection:!e_},tp=function(){function e(e,t,i){void 0===e&&(e=ex),void 0===t&&(t={});var r=this;this.options=(0,a.__assign)((0,a.__assign)({},tf),e),this.gs=t,this.names=new Map(i),this.server=!!e.isServer,!this.server&&eg&&th&&(th=!1,ts(this)),e2(this,function(){return function(e){for(var t=e.getTag(),a=t.length,i="",r=function(a){var r=function(e){return e5.get(e)}(a);if(void 0===r)return"continue";var n=e.names.get(r);if(void 0===n||!n.size)return"continue";var s=t.getGroup(a);if(0===s.length)return"continue";var l=eu+".g"+a+'[id="'+r+'"]',o="";
87n.forEach(function(e){e.length>0&&(o+=e+",")}),i+=s+l+'{content:"'+o+'"}'+em},n=0;n<a;n++)r(n);return i}(r)})}return e.registerId=function(e){return e7(e)},e.prototype.rehydrate=function(){!this.server&&eg&&ts(this)},e.prototype.reconstructWithOptions=function(t,i){void 0===i&&(i=!0);var r=new e((0,a.__assign)((0,a.__assign)({},this.options),t),this.gs,i&&this.names||void 0);return!this.server&&eg&&t.target!==this.options.target&&ti(this.options.target)!==ti(t.target)&&ts(r),r},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=new e4(function(e){var t=e.useCSSOMInjection,a=e.target;return e.isServer?new tu(a):t?new tc(a):new td(a)}(this.options)))},e.prototype.hasNameForId=function(e,t){var a,i;return null!=(i=null==(a=this.names.get(e))?void 0:a.has(t))&&i},e.prototype.registerName=function(e,t){e7(e);var a=this.names.get(e);a?a.add(t):this.names.set(e,new Set([t]))},e.prototype.insertRules=function(e,t,a){this.registerName(e,t),this.getTag().insertRules(e7(e),a)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(e7(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),tm=/&/g,tg=47,tb=42;function t_(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,a=0,i=0,r=!1,n=0;n<t;n++){var s=e.charCodeAt(n);if(0!==i||r||s!==tg||e.charCodeAt(n+1)!==tb)if(r)s===tb&&e.charCodeAt(n+1)===tg&&(r=!1,n++);else if(34!==s&&39!==s||0!==n&&92===e.charCodeAt(n-1)){if(0===i){if(123===s)a++;else if(125===s&&--a<0)return!0}}else 0===i?i=s:i===s&&(i=0);else r=!0,n++}return 0!==a||0!==i}function ty(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=ty(e.children,t)),e})}function tx(e){var t,a,i,r=void 0===e?ex:e,n=r.options,s=void 0===n?ex:n,l=r.plugins,c=void 0===l?ey:l,d=function(e,i,r){return r.startsWith(a)&&r.endsWith(a)&&r.replaceAll(a,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===o&&e.value.includes("&")&&(i||(i=RegExp("\\".concat(a,"\\b"),"g")),e.props[0]=e.props[0].replace(tm,a).replace(i,d))}),s.prefix&&u.push(er),u.push(ee);var h=[],f=ea(u.concat(ei(function(e){return h.push(e)}))),p=function(e,r,n,l){void 0===r&&(r=""),void 0===n&&(n=""),void 0===l&&(l="&"),t=l,a=r,i=void 0;var o=function(e){if(!t_(e))return e;for(var t=e.length,a="",i=0,r=0,n=0,s=!1,l=0;l<t;l++){var o=e.charCodeAt(l);if(0!==n||s||o!==tg||e.charCodeAt(l+1)!==tb)if(s)o===tb&&e.charCodeAt(l+1)===tg&&(s=!1,l++);else if(34!==o&&39!==o||0!==l&&92===e.charCodeAt(l-1)){if(0===n)if(123===o)r++;else if(125===o){if(--r<0){for(var c=l+1;c<t;){var d=e.charCodeAt(c);if(59===d||10===d)break;c++}c<t&&59===e.charCodeAt(c)&&c++,r=0,l=c-1,i=c;continue}0===r&&(a+=e.substring(i,l+1),i=l+1)}else 59===o&&0===r&&(a+=e.substring(i,l+1),i=l+1)}else 0===n?n=o:n===o&&(n=0);else s=!0,l++}if(i<t){var u=e.substring(i);t_(u)||(a+=u)}return a}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,a=[],i=0,r=0,n=0,s=0;r<t;){var l=e.charCodeAt(r);if(34!==l&&39!==l||0!==r&&92===e.charCodeAt(r-1))if(0===n)if(l===tg&&r+1<t&&e.charCodeAt(r+1)===tb){for(r+=2;r+1<t&&(e.charCodeAt(r)!==tb||e.charCodeAt(r+1)!==tg);)r++;r+=2}else if(40===l&&r>=3&&108==(32|e.charCodeAt(r-1))&&114==(32|e.charCodeAt(r-2))&&117==(32|e.charCodeAt(r-3)))s=1,r++;else if(s>0)41===l?s--:40===l&&s++,r++;else if(l===tb&&r+1<t&&e.charCodeAt(r+1)===tg)r>i&&a.push(e.substring(i,r)),i=r+=2;else if(l===tg&&r+1<t&&e.charCodeAt(r+1)===tg){for(r>i&&a.push(e.substring(i,r));r<t&&10!==e.charCodeAt(r);)r++;i=r}else r++;else r++;else 0===n?n=l:n===l&&(n=0),r++}return 0===i?e:(i<t&&a.push(e.substring(i)),a.join(""))}(e)),c=en(n||r?"".concat(n," ").concat(r," { ").concat(o," }"):o);return s.namespace&&(c=ty(c,s.namespace)),h=[],J(c,f),h};return p.hash=c.length?c.reduce(function(e,t){return t.name||e3(15),eI(e,t.name)},5381).toString():"",p}var tv=new tp,tA=tx(),tw={shouldForwardProp:void 0,styleSheet:tv,stylis:tA},tE=eb?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(tw)}}:i.default.createContext(tw),tS=(tE.Consumer,eb?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:i.default.createContext(void 0));function tC(){return eb?tw:i.default.useContext(tE)}function tT(e){if(eb||!i.default.useMemo)return e.children;var t=tC().styleSheet,a=i.default.useMemo(function(){var a=t;return e.sheet?a=e.sheet:e.target&&(a=a.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(a=a.reconstructWithOptions({useCSSOMInjection:!1})),a},[e.disableCSSOMInjection,e.sheet,e.target,t]),r=i.default.useMemo(function(){return tx({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),n=i.default.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:r}},[e.shouldForwardProp,a,r]);return i.default.createElement(tE.Provider,{value:n},i.default.createElement(tS.Provider,{value:r},e.children))}var tN=function(){function e(e,t){var a=this;this.inject=function(e,t){void 0===t&&(t=tA);var i=a.name+t.hash;e.hasNameForId(a.id,i)||e.insertRules(a.id,i,t(a.rules,i,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,e2(this,function(){throw e3(12,String(a.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=tA),this.name+e.hash},e}();function tk(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in ed.default||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var tI=function(e){return e>="A"&&e<="Z"};function tj(e){for(var t="",a=0;a<e.length;a++){var i=e[a];if(1===a&&"-"===i&&"-"===e[0])return e;tI(i)?t+="-"+i.toLowerCase():t+=i}return t.startsWith("ms-")?"-"+t:t}var tP=function(e){return null==e||!1===e||""===e},tL=function(e){var t=[];for(var i in e){var r=e[i];e.hasOwnProperty(i)&&!tP(r)&&(Array.isArray(r)&&r.isCss||eQ(r)?t.push("".concat(tj(i),":"),r,";"):e0(r)?t.push.apply(t,(0,a.__spreadArray)((0,a.__spreadArray)(["".concat(i," {")],tL(r),!1),["}"],!1)):t.push("".concat(tj(i),": ").concat(tk(i,r),";")))}return t};function tO(e,t,a,i,r){if(void 0===r&&(r=[]),"string"==typeof e)return e&&r.push(e),r;if(tP(e))return r;if(eZ(e))return r.push(".".concat(e.styledComponentId)),r;if(eQ(e)){var n;return!eQ(n=e)||n.prototype&&n.prototype.isReactComponent||!t?(r.push(e),r):tO(e(t),t,a,i,r)}if(e instanceof tN)return a?(e.inject(a,i),r.push(e.getName(i))):r.push(e),r;if(e0(e)){for(var s=tL(e),l=0;l<s.length;l++)r.push(s[l]);return r}if(!Array.isArray(e))return r.push(e.toString()),r;for(l=0;l<e.length;l++)tO(e[l],t,a,i,r);return r}function tD(e){for(var t=0;t<e.length;t+=1){var a=e[t];if(eQ(a)&&!eZ(a))return!1}return!0}var tM=ej(ep),tR=function(){function e(e,t,a){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===a||a.isStatic)&&tD(e),this.componentId=t,this.baseHash=eI(tM,t),this.baseStyle=a,tp.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,a){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,a).className:"";if(this.isStatic&&!a.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))i=eX(i,this.staticRulesId);else{var r=eJ(tO(this.rules,e,t,a)),n=eN(eI(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,n)){var s=a(r,".".concat(n),void 0,this.componentId);t.insertRules(this.componentId,n,s)}i=eX(i,n),this.staticRulesId=n}else{for(var l=eI(this.baseHash,a.hash),o="",c=0;c<this.rules.length;c++){var d=this.rules[c];if("string"==typeof d)o+=d;else if(d){var u=eJ(tO(d,e,t,a));l=eI(eI(l,String(c)),u),o+=u}}if(o){var h=eN(l>>>0);if(!t.hasNameForId(this.componentId,h)){var f=a(o,".".concat(h),void 0,this.componentId);t.insertRules(this.componentId,h,f)}i=eX(i,h)}}return{className:i,css:"u"<typeof window?t.getTag().getGroup(e7(this.componentId)):""}},e}(),tF=eb?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:i.default.createContext(void 0);tF.Consumer;var tB={};function tU(e,t,r){var n=eZ(e),s=e,l=!eO(e),o=t.attrs,c=void 0===o?ey:o,d=t.componentId,u=void 0===d?function(e,t){var a="string"!=typeof e?"sc":eS(e);tB[a]=(tB[a]||0)+1;var i="".concat(a,"-").concat(eP(ep+a+tB[a]));return t?"".concat(t,"-").concat(i):i}(t.displayName,t.parentComponentId):d,h=t.displayName,f=void 0===h?function(e){return eO(e)?"styled.".concat(e):"Styled(".concat(eL(e),")")}(e):h,p=t.displayName&&t.componentId?"".concat(eS(t.displayName),"-").concat(t.componentId):t.componentId||u,m=n&&s.attrs?s.attrs.concat(c).filter(
87Boolean):c,g=t.shouldForwardProp;if(n&&s.shouldForwardProp){var b=s.shouldForwardProp;if(t.shouldForwardProp){var _=t.shouldForwardProp;g=function(e,t){return b(e,t)&&_(e,t)}}else g=b}var y=new tR(r,p,n?s.componentStyle:void 0);function x(e,t){return function(e,t,r){var n=e.attrs,s=e.componentStyle,l=e.defaultProps,o=e.foldedComponentIds,c=e.styledComponentId,d=e.target,u=eb?void 0:i.default.useContext(tF),h=tC(),f=e.shouldForwardProp||h.shouldForwardProp,p=ev(t,u,l)||(eb?void 0:ex),m=function(e,t,i){for(var r,n=(0,a.__assign)((0,a.__assign)({},t),{className:void 0,theme:i}),s=0;s<e.length;s+=1){var l=eQ(r=e[s])?r(n):r;for(var o in l)"className"===o?n.className=eX(n.className,l[o]):"style"===o?n.style=(0,a.__assign)((0,a.__assign)({},n.style),l[o]):n[o]=l[o]}return"className"in t&&"string"==typeof t.className&&(n.className=eX(n.className,t.className)),n}(n,t,p),g=m.as||d,b={};for(var _ in m)void 0===m[_]||"$"===_[0]||"as"===_||"theme"===_&&m.theme===p||("forwardedAs"===_?b.as=m.forwardedAs:f&&!f(_,g)||(b[_]=m[_]));var y=function(e,t){var a=tC();return e.generateAndInjectStyles(t,a.styleSheet,a.stylis)}(s,m),x=y.className,v=y.css,A=eX(o,c);x&&(A+=" "+x),m.className&&(A+=" "+m.className),b[eO(g)&&!eA.has(g)?"class":"className"]=A,r&&(b.ref=r);var w=(0,i.createElement)(g,b);return eb&&v?i.default.createElement(i.default.Fragment,null,i.default.createElement("style",{precedence:"styled-components",href:"sc-".concat(c,"-").concat(x),children:v}),w):w}(v,e,t)}x.displayName=f;var v=i.default.forwardRef(x);return v.attrs=m,v.componentStyle=y,v.displayName=f,v.shouldForwardProp=g,v.foldedComponentIds=n?eX(s.foldedComponentIds,s.styledComponentId):"",v.styledComponentId=p,v.target=n?s.target:e,Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];for(var i=0,r=t;i<r.length;i++)e1(e,r[i],!0);return e}({},s.defaultProps,e):e}}),e2(v,function(){return".".concat(v.styledComponentId)}),l&&eq(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),v}function tH(e,t){for(var a=[e[0]],i=0,r=t.length;i<r;i+=1)a.push(t[i],e[i+1]);return a}var t$=function(e){return Object.assign(e,{isCss:!0})};function tG(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(eQ(e)||e0(e))return t$(tO(tH(ey,(0,a.__spreadArray)([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?tO(r):t$(tO(tH(r,t)))}function tW(e,t,i){if(void 0===i&&(i=ex),!t)throw e3(1,t);var r=function(r){for(var n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];return e(t,i,tG.apply(void 0,(0,a.__spreadArray)([r],n,!1)))};return r.attrs=function(r){return tW(e,t,(0,a.__assign)((0,a.__assign)({},i),{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return tW(e,t,(0,a.__assign)((0,a.__assign)({},i),r))},r}var tY=function(e){return tW(tU,e)},tz=tY;eA.forEach(function(e){tz[e]=tY(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=tD(e),tp.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,a,i){var r=i(eJ(tO(this.rules,t,a,i)),""),n=this.componentId+e;a.insertRules(n,n,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,a,i){e>2&&tp.registerId(this.componentId+e);var r=this.componentId+e;this.isStatic?a.hasNameForId(r,r)||this.createStyles(e,t,a,i):(this.removeStyles(e,a),this.createStyles(e,t,a,i))}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var a=tl(),i=eJ([a&&'nonce="'.concat(a,'"'),"".concat(eu,'="true"'),"".concat(ef,'="').concat(ep,'"')].filter(Boolean)," ");return"<style ".concat(i,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw e3(2);return e._emitSheetCSS()}
87,this.getStyleElement=function(){if(e.sealed)throw e3(2);var t,r=e.instance.toString();if(!r)return[];var n=((t={})[eu]="",t[ef]=ep,t.dangerouslySetInnerHTML={__html:r},t),s=tl();return s&&(n.nonce=s),[i.default.createElement("style",(0,a.__assign)({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tp({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw e3(2);return i.default.createElement(tT,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw e3(3)}}();let tV=tz.div.attrs({className:"section-bg-img"})`
88    opacity: ${e=>e?.opacity||"1"};
89    background-image: url(${e=>e.bgimg||null});
90    background-repeat: no-repeat;
91    background-size: cover;
92    background-position: center;
93    position: absolute;
94    height: 100%;
95    width: 100%;
96    top: 0;
97    z-index: -1;`;e.s(["default",0,tV],64751)},38643,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(24005),r=e.i(91788),n=t,s=a,l=e.i(96968),o=e.i(61601);e.i(41871);var c=e.i(87612);let d=e=>{let t,a=(0,s.c)(4),{children:i,...r}=e,{getValue:d,selectProps:g}=r,b=d(),_=(0,c.useMediaQuery)("(min-width: 375px) and (max-width: 410px)")?18:20,y=b.map(u),x=b.map(h).sort(f),v=x.length,A=g.options.filter(p).map(m);if(y.includes(o.SELECT_ALL_VALUE))return(0,n.jsxs)(l.components.ValueContainer,{...r,children:[`All ...(${A.length})`,i[1]]});let w=0,E=[];if(1===v){let e=x[0];if(e.length>_){let t=e.slice(0,_-3).trimEnd();E.push(`${t}...`)}else E.push(e)}else for(let e=0;e<x.length;e++){let t=x[e],a=t.length+2*(E.length>0);if(0===e&&t.length>_){let e=t.slice(0,_-3).trimEnd();E.push(`${e}...`);break}if(w+a<=_)E.push(t),w+=a;else break}let S=E.length===x.length,C=E.join(", "),T=S?o.EMPTY_STRING:`, ...(${v})`,N=b.length>0?`${C}${T}`:g.placeholder;return a[0]!==i[1]||a[1]!==r||a[2]!==N?(t=(0,n.jsxs)(l.components.ValueContainer,{...r,children:[N,i[1]]}),a[0]=i[1],a[1]=r,a[2]=N,a[3]=t):t=a[3],t};function u(e){return e.value}function h(e){return e.label}function f(e,t){return e.localeCompare(t)}function p(e){return e.value!==o.SELECT_ALL_VALUE}function m(e){return e.value}var g=t,b=a,_=l,y=o;let x=e=>{let t,a,i,r,n,s=(0,b.c)(11),{label:l,isSelected:o,data:c,selectProps:d}=e,u=c.value===y.SELECT_ALL_VALUE?Array.isArray(d.value)&&d.value.length===d.options.length-1:o;return s[0]!==u?(t=(0,g.jsx)("input",{type:"checkbox",checked:u,onChange:v,className:"custom-checkbox"}),s[0]=u,s[1]=t):t=s[1],s[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,g.jsx)("span",{className:"checkmark"}),s[2]=a):a=s[2],s[3]!==t?(i=(0,g.jsxs)("label",{className:"select-dropdown-content",children:[t,a]}),s[3]=t,s[4]=i):i=s[4],s[5]!==l?(r=(0,g.jsx)("span",{className:"custom-label",children:l}),s[5]=l,s[6]=r):r=s[6],s[7]!==e||s[8]!==i||s[9]!==r?(n=(0,g.jsxs)(_.components.Option,{...e,children:[i,r]}),s[7]=e,s[8]=i,s[9]=r,s[10]=n):n=s[10],n};function v(){return null}var A=o;let w=e=>{let n,s,l,o,c,u,h,f,p,m,g,b=(0,a.c)(31),{options:_,value:y,onChange:v,onMenuClose:w,dropdownIndicator:E,isDisabled:S,selectLabel:k,selectAllLabel:I,noOptionsLabel:j}=e,P=void 0!==S&&S,[,L]=(0,r.useState)(!1),O=C;
97b[0]!==_?(n=O(_),b[0]=_,b[1]=n):n=b[1];let D=n,M=I??A.EMPTY_STRING;b[2]!==M?(s={label:M,value:A.SELECT_ALL_VALUE},b[2]=M,b[3]=s):s=b[3];let R=s;b[4]!==D||b[5]!==y?(l=D.length>0&&D.every(e=>y?.some(t=>t.value===e.value)),b[4]=D,b[5]=y,b[6]=l):l=b[6];let F=l;b[7]!==R||b[8]!==D?(o=D.length>1?[R,...D]:D,b[7]=R,b[8]=D,b[9]=o):o=b[9];let B=o;b[10]!==F||b[11]!==v||b[12]!==D?(c=e=>e&&0!==e.length?e.find(T)?void(F?v([]):v(D)):void v(e):v([]),b[10]=F,b[11]=v,b[12]=D,b[13]=c):c=b[13];let U=c,H=F?D:y;return b[14]===Symbol.for("react.memo_cache_sentinel")?(u=()=>L(!0),b[14]=u):u=b[14],b[15]===Symbol.for("react.memo_cache_sentinel")?(h=()=>L(!0),b[15]=h):h=b[15],b[16]!==w?(f=()=>{w?.(),L(!1)},b[16]=w,b[17]=f):f=b[17],b[18]!==j?(p=()=>j||A.EMPTY_STRING,b[18]=j,b[19]=p):p=b[19],b[20]!==E?(m={DropdownIndicator:E,IndicatorSeparator:null,MultiValue:N,ValueContainer:d,Option:x},b[20]=E,b[21]=m):m=b[21],b[22]!==H||b[23]!==B||b[24]!==U||b[25]!==P||b[26]!==k||b[27]!==f||b[28]!==p||b[29]!==m?(g=(0,t.jsx)(i.default,{className:"basic-multi",classNamePrefix:"select",isMulti:!0,value:H,onChange:U,isSearchable:!1,placeholder:k,backspaceRemovesValue:!1,isClearable:!1,isDisabled:P,closeMenuOnScroll:!1,closeMenuOnSelect:!1,blurInputOnSelect:!1,onFocus:u,tabSelectsValue:!1,hideSelectedOptions:!1,onMenuOpen:h,onMenuClose:f,options:B,noOptionsMessage:p,components:m}),b[22]=H,b[23]=B,b[24]=U,b[25]=P,b[26]=k,b[27]=f,b[28]=p,b[29]=m,b[30]=g):g=b[30],g},E=r.default.memo(w);function S(e,t){return e.label.localeCompare(t.label)}function C(e){return[...e].sort(S)}function T(e){return e.value===A.SELECT_ALL_VALUE}function N(){return null}e.s(["default",0,E],38643)},18310,20424,e=>{"use strict";e.s(["default",()=>c],18310);var t=e.i(91398),a=e.i(61576),i=e.i(38643),r=e.i(96968);e.i(48756);var n=e.i(49266),s=e.i(22038),l=e.i(61601),o=e.i(5914);let c=e=>{let r,c,u,h,f=(0,a.c)(25),{labels:p,dropdownOptions:m,selectedFilters:g,handleChange:b,fetchUpdatedOptions:_,handleClear:y,filterDetails:x,selectLabel:v,searchTextGQL:A,handleApplyFilters:w,pageType:E}=e,S=(0,s.default)("(max-width: 991px)"),{setProductFilterEventDataLayer:C}=(0,o.useEshopCartGtmEvents)(),T=d;return f[0]!==p?(r=Object.entries(p),f[0]=p,f[1]=r):r=f[1],f[2]!==m||f[3]!==_||f[4]!==x?.no_options_label||f[5]!==x?.select_all_label||f[6]!==b||f[7]!==S||f[8]!==p||f[9]!==E||f[10]!==A||f[11]!==v||f[12]!==g||f[13]!==C||f[14]!==r?(c=(0,t.jsx)("div",{className:"advance-filter-grid",children:r.map((e,a)=>{let[r,n]=e,s=E===l.PAGE_TYPE.CUST_ON_BEHALF?"lg-col-span-6":E===l.PAGE_TYPE.PLP_PAGE?a<2?"lg-col-span-6":"lg-col-span-3":l.EMPTY_STRING;return(0,t.jsxs)("div",{className:`col-span-12 md-col-span-12 ${s} filter-item`,children:[(0,t.jsx)("label",{children:n}),(0,t.jsx)(i.default,{options:m[r]||[],value:g[r]||[],onChange:e=>{b(r,e),(0,o.fireProductFilterEvent)(r,e,g,p,E,S,C)},onMenuClose:E===l.PAGE_TYPE.PLP_PAGE||l.PAGE_TYPE.CUST_ON_BEHALF?()=>_?.(g,A):void 0,dropdownIndicator:T,selectLabel:v,selectAllLabel:x?.select_all_label,noOptionsLabel:x?.no_options_label})]},r)})}),f[2]=m,f[3]=_,f[4]=x?.no_options_label,f[5]=x?.select_all_label,f[6]=b,f[7]=S,f[8]=p,f[9]=E,f[10]=A,f[11]=v,f[12]=g,f[13]=C,f[14]=r,f[15]=c):c=f[15],f[16]!==x||f[17]!==w||f[18]!==y||f[19]!==S||f[20]!==g?(u=S&&(0,t.jsxs)("div",{className:"advance-filter-dropdown-buttons",children:[(0,t.jsxs)("button",{type:"button",className:"advance-filter-button",disabled:!Object.values(g).flat(1).length,onClick:w,children:[x.apply_all_filters_label,(0,t.jsx)(n.Icon,{iconName:"CheckMark"})]}),Object.values(g).flat(1).length?(0,t.jsxs)("div",{className:"clear-btn",onClick:y,children:[(0,t.jsx)("span",{className:"clear-filter","aria-hidden":"true",tabIndex:0,role:"button",children:x.clear_all_filters_label}),(0,t.jsx)(n.Icon,{iconName:"eShopCloseBlue",className:"clear-filter-icon"})]}):null]}),f[16]=x,f[17]=w,f[18]=y,f[19]=S,f[20]=g,f[21]=u):u=f[21],f[22]!==c||f[23]!==u?(h=(0,t.jsxs)("div",{className:"advance-filter-main-container",children:[c,u]}),f[22]=c,f[23]=u,f[24]=h):h=f[24],h};function d(e){let{menuIsOpen:a}=e.selectProps;return(0,t.jsx)(r.components.DropdownIndicator,{...e,children:(0,t.jsx)("div",{className:`dropdown-arrow ${a?"menu-open":""}`,children:(0,t.jsx)(n.Icon,{iconName:"ChevronDown"})})})}e.s(["default",()=>L],20424);var u=t,h=a,f=e.i(38233),p=n,m=e.i(697),g=e.i(28203),b=e.i(47266);e.i(41871);var _=e.i(87612),y=e.i(75425);e.i(50461);var x=e.i(54456),v=e.i(21984),A=e.i(95414);let w=A.gql`
98  query GetHcoList($input: HcoListFilterInput!) {
99    getHcoList(input: $input) {
100      success
101      statusCode
102      message
103      data {
104        users {
105          account_name
106          accountId
107        }
108      }
109    }
110  }
111`;var E=l,S=e.i(82725);let C=async(e,t,a,i)=>{let r="",n="",s=JSON.parse(sessionStorage.getItem("domainLang")),l=S.default.get(E.COOKIE_KEYS.HCP_GQL_TOKEN),o=Date.now();try{let c={input:{searchTerm:e}},d={"x-api-key":r,"sandoz-locale":s,"sandoz-token":l,"sandoz-s":t,"sandoz-t":a,caching:i},u=await (0,x.default)(n,w,c,d),h=Date.now()-o;if(u?.getHcoList.success){let t=(u?.getHcoList?.data?.users).map(e=>({id:e?.accountId,title:e?.account_name}));return(0,v.logFrontendEvent)("Search Suggestions GQL Success","info",{source:"SearchSuggestions",queryText:e,count:t.length,statusCode:u?.getHcoList?.statusCode,message:u?.getHcoList?.message,duration:`${h}ms`,timestamp:new Date().toISOString()}),t}(0,v.logFrontendEvent)("Search Suggestions GQL Failure","error",{source:"SearchSuggestions",queryText:e,statusCode:u?.getHcoList?.statusCode,message:u?.getHcoList?.message,duration:`${h}ms`,timestamp:new Date().toISOString()})}catch(a){let t=Date.now()-o;(0,v.logFrontendEvent)("Search Suggestions GQL Error","error",{source:"SearchSuggestions",queryText:e,errorMessage:a,duration:`${t}ms`,timestamp:new Date().toISOString()}),console.error("gql call",a)}};var T=e.i(82054),N=e.i(79021),k=e.i(91788),I=e.i(22276);let j=({currentSearchText:e,handleTextSearch:t,handleTextChange:a})=>{let[i,r]=(0,k.useState)(e),[n,s]=(0,k.useState)(!0),[l,o]=(0,k.useState)(!0),[c,d]=(0,k.useState)([]),[u,h]=(0,k.useState)(!1),f=(0,k.useRef)(null),[p,m]=(0,k.useState)(),[g,b]=(0,k.useState)(!1),[_,x]=(0,k.useState)(!1),[v,A]=(0,k.useState)(!1),{session:w,csrf:E}=(0,I.useSelector)(e=>e?.appSession),S=y.default.ONE,{applicationConfiguration:j}=(0,k.useContext)(T.default),P=String(j?.siteConfig?.cache_settings?.isCacheEnabled),L=async e=>{o(!0);let t=await C(e,w,E,P);o(!1),d(t)},O=(0,k.useCallback)((0,N.default)(e=>{L(e)},500),[]);(0,k.useEffect)(()=>{let e=i.trim();v?A(!1):e.length>=3?(o(!0),O(e),h(!0)):(d([]),h(!1))},[i]);let D=e=>{f.current&&!f.current.contains(e.target)&&h(!1)};(0,k.useEffect)(()=>(document.addEventListener("mousedown",D),()=>{document.removeEventListener("mousedown",D)}),[]),(0,k.useEffect)(()=>{let e=i.split(";").map(e=>e.trim()).filter(e=>e.length>0).length>S,t=i.trim().length>0,a=e||p&&t&&i!==p||!p&&!t;b(e&&t),s(a),a&&x(!1)},[i,p]),(0,k.useEffect)(()=>{r(e)},[e]);let M=e=>{e.preventDefault(),h(!1);let a=i.trim();(0!==a.length||p)&&t(p||a,e)},R=e=>{A(!0);let t=e?.title;m(t),r(t),h(!1)},F=e=>{""===e.trim()&&(m(null),a("")),r(e)};return{textInput:i,setTextInput:r,isButtonDisabled:n,loading:l,suggestions:c,displaySuggestions:u,suggestionsRef:f,selectedItems:p,searchError:g,hasSearched:_,handleTextInputChange:F,handleSearch:M,handleItemSelect:R,handleFocus:()=>{h(!0)},closeList:()=>{h(!1)}}};var P=k;let L=e=>{let t,a,i,r,n,s,l,o,c,d,y,x,v,A,w,E,S=(0,h.c)(62),{className:C,buttonType:T,handleTextSearch:N,handleTextChange:k,currentSearchText:I,inputLabel:L,customButtonText:M,handleToggleFilter:R,searchPlaceHolderText:F,noResultFoundText:B,maxProductExceedLabel:U}=e,H=void 0===k?O:k,$=void 0===I?"":I;S[0]!==$||S[1]!==H||S[2]!==N?(t={currentSearchText:$,handleTextSearch:N,handleTextChange:H},S[0]=$,S[1]=H,S[2]=N,S[3]=t):t=S[3];
111let{textInput:G,setTextInput:W,isButtonDisabled:Y,loading:z,suggestions:V,displaySuggestions:K,suggestionsRef:q,selectedItems:Q,searchError:Z,handleTextInputChange:X,handleSearch:J,handleItemSelect:ee,handleFocus:et,closeList:ea}=j(t),ei=(0,_.useMediaQuery)("(max-width: 991px)");S[4]!==J?(a=e=>{"Enter"===e.key&&J(e)},S[4]=J,S[5]=a):a=S[5];let er=a;S[6]!==V?(i=[V],S[6]=V,S[7]=i):i=S[7],(0,P.useEffect)(D,i);let en=`eshop-customer-behalf-search-no-padding ${C}`;return S[8]!==L?(r=(0,u.jsx)("label",{id:"search-input-bar",htmlFor:"search-input-bar","aria-label":"search",children:(0,u.jsx)("div",{className:"eshop-customer-behalf-search-title",children:L})}),S[8]=L,S[9]=r):r=S[9],S[10]!==X?(n=e=>X(e.target.value),S[10]=X,S[11]=n):n=S[11],S[12]!==et||S[13]!==er||S[14]!==F||S[15]!==W||S[16]!==n||S[17]!==G?(s=(0,u.jsx)(g.Input,{id:"search-input-bar",className:"eshop-customer-behalf-search-input-align search-box",value:G,type:"search",useStateValue:!1,placeholder:F,setTextInput:W,onFocus:et,onChange:n,onKeyDown:er}),S[12]=et,S[13]=er,S[14]=F,S[15]=W,S[16]=n,S[17]=G,S[18]=s):s=S[18],S[19]!==ea||S[20]!==K||S[21]!==ee||S[22]!==z||S[23]!==B||S[24]!==Q||S[25]!==V||S[26]!==q||S[27]!==G?(l=K&&G.length>0&&(0,u.jsxs)(u.Fragment,{children:[" ",(0,u.jsx)("div",{className:"search-output",id:"suggestion-list",ref:q,children:(0,u.jsxs)("ul",{children:[z&&(0,u.jsx)("li",{children:(0,u.jsx)(b.Loader,{display:z})}),!z&&(V?.length>0?(0,u.jsx)(u.Fragment,{children:V.map((e,t)=>{let a=Q===e.title;return(0,u.jsx)("li",{className:`search-output-item ${a?"selected":""}`,children:(0,u.jsx)("button",{type:"button",onMouseDown:()=>ee(e),children:(0,u.jsx)("span",{className:a?"bold-text":"",children:e.title})})},`${e?.id+e?.title}`)})}):(0,u.jsx)("li",{children:B}))]})}),(0,u.jsx)("div",{className:"blanket",onClick:ea})]}),S[19]=ea,S[20]=K,S[21]=ee,S[22]=z,S[23]=B,S[24]=Q,S[25]=V,S[26]=q,S[27]=G,S[28]=l):l=S[28],S[29]!==s||S[30]!==l?(o=(0,u.jsxs)("div",{className:"search-content-bar",children:[s,l]}),S[29]=s,S[30]=l,S[31]=o):o=S[31],S[32]!==T||S[33]!==M||S[34]!==J||S[35]!==Y||S[36]!==ei?(c=!ei&&(0,u.jsx)("div",{className:"eshop-customer-behalf-search-search-button",children:(0,u.jsx)(f.Button,{className:"eshop-customer-behalf-search-button-align",tabindex:1,type:T||"submit",onClick:J,isDisabled:Y,icon:(0,u.jsx)(p.Icon,{iconName:"SearchIcon2",color:"currentColor",className:"eshop-customer-behalf-search-button-icon"}),iconPosition:"right",children:M})}),S[32]=T,S[33]=M,S[34]=J,S[35]=Y,S[36]=ei,S[37]=c):c=S[37],S[38]===Symbol.for("react.memo_cache_sentinel")?(d=(0,u.jsx)(p.Icon,{iconName:"FilterIcon","aria-label":"Filter Open / Close"}),S[38]=d):d=S[38],S[39]!==R?(y=(0,u.jsx)("div",{className:"eshop-customer-behalf-search-filter-bar-icon",children:(0,u.jsx)(m.IconButton,{tabindex:0,onClick:R,className:"search-bar-filter-icon",icon:d})}),S[39]=R,S[40]=y):y=S[40],S[41]!==o||S[42]!==c||S[43]!==y?(x=(0,u.jsxs)("div",{className:"eshop-customer-behalf-search-container",children:[o,c,y]}),S[41]=o,S[42]=c,S[43]=y,S[44]=x):x=S[44],S[45]!==T||S[46]!==M||S[47]!==J||S[48]!==Y||S[49]!==ei?(v=ei&&(0,u.jsx)(f.Button,{className:"eshop-customer-behalf-search-button-align",tabindex:1,type:T||"submit",onClick:J,isDisabled:Y,icon:(0,u.jsx)(p.Icon,{iconName:"SearchIcon2",color:"currentColor",className:"eshop-customer-behalf-search-button-icon"}),iconPosition:"right",children:M}),S[45]=T,S[46]=M,S[47]=J,S[48]=Y,S[49]=ei,S[50]=v):v=S[50],S[51]!==x||S[52]!==v?(A=(0,u.jsxs)("div",{className:"eshop-customer-behalf-search",children:[x,v]}),S[51]=x,S[52]=v,S[53]=A):A=S[53],S[54]!==U||S[55]!==Z?(w=Z&&(0,u.jsx)("div",{className:"eshop-customer-behalf-search-error-message",children:U}),S[54]=U,S[55]=Z,S[56]=w):w=S[56],S[57]!==A||S[58]!==w||S[59]!==en||S[60]!==r?(E=(0,u.jsxs)("div",{className:en,children:[r,A,w]}),S[57]=A,S[58]=w,S[59]=en,S[60]=r,S[61]=E):E=S[61],E};function O(e){return null}function D(){let e=document.querySelector("#suggestion-list ul"),t=e&&e.getBoundingClientRect().height>=288;e?.classList.toggle("has-scroll",t)}},77108,e=>{"use strict";var t=e.i(54456),a=e.i(95414),i=e.i(21984),r=e.i(61601),n=a;let s=n.gql`
112  query GetHcoList($input: HcoListFilterInput!) {
113    getHcoList(input: $input) {
114      success
115      statusCode
116      message
117      data {
118        users {
119          scout_id
120          user_role
121          eshop_enabled
122          account_name
123        }
124      }
125    }
126  }
127`;var l=a;let o=l.gql`
128  mutation Login($loginInput: LoginInput!) {
129    login(loginInput: $loginInput) {
130      success
131      statusCode
132      message
133      accessToken
134    }
135  }
136`;var c=e.i(82725);let d="COB User List",u=e=>{let t=Array.from(new Set(["scout_id","user_role","eshop_enabled","accountId",...e?.table_details.map(e=>Object.keys(e)[0]).filter(e=>"action"!==e)])).join("\n");return a.gql`
137   query GetHcoList($input: HcoListFilterInput!) {
138     getHcoList(input: $input) {
139       success
140       statusCode
141       message
142       data {
143         users {
144          ${t}
145         }
146         pageInfo {
147           totalCount
148           pageNumber
149           pageSize
150         }
151       }
152     }
153   }
154 `},h=async({session:e,csrf:a,gqlToken:i,caching:n})=>{let l=c.default.get(r.COOKIE_KEYS.HCP_GQL_TOKEN),o=JSON.parse(sessionStorage.getItem(r.SESSION_STORAGE_KEYS.DOMAIN_LANG)),d={input:{page:"1",size:"10"}},u={[r.HEADER_KEYS.API_KEY]:r.GQL_API_KEY,[r.HEADER_KEYS.SANDOZ_TOKEN]:i??l,[r.HEADER_KEYS.SANDOZ_LOCALE]:o,[r.HEADER_KEYS.SANDOZ_SESSION]:e,[r.HEADER_KEYS.SANDOZ_CSRF]:a,[r.HEADER_KEYS.CACHING]:n};try{let n=await (0,t.default)(r.GQL_API_URL,s,d,u),{success:l}=(n?.getHcoList?.success&&n?.getHcoList?.data?.users[0]&&await f({scout_id:n?.getHcoList?.data?.users[0]?.scout_id,user_role:n?.getHcoList?.data?.users[0]?.user_role,eshop_enabled:n?.getHcoList?.data?.users[0]?.eshop_enabled,session:e,csrf:a,gqlToken:i}))??{};if(l)return n?.getHcoList?.data?.users[0]?.account_name}catch(e){console.error("GQL call failed:",e)}},f=async({scout_id:e,user_role:a,eshop_enabled:i,session:n,csrf:s,gqlToken:l})=>{let d=c.default.get(r.COOKIE_KEYS.HCP_GQL_TOKEN),u=JSON.parse(sessionStorage.getItem(r.SESSION_STORAGE_KEYS.DOMAIN_LANG)),h={[r.HEADER_KEYS.API_KEY]:r.GQL_API_KEY,[r.HEADER_KEYS.SANDOZ_TOKEN]:l??d,[r.HEADER_KEYS.SANDOZ_LOCALE]:u,[r.HEADER_KEYS.SANDOZ_SESSION]:n,[r.HEADER_KEYS.SANDOZ_CSRF]:s}
154,f={loginInput:{scout_id:e,user_role:a,eshop_enabled:i,s:n,t:s}};try{let e=await (0,t.default)(r.GQL_API_URL,o,f,h);if(e?.login?.success&&e?.login?.accessToken&&c.default.set(r.COOKIE_KEYS.GQL_TOKEN,e?.login?.accessToken),e)return e?.login}catch(e){console.error("GQL call failed:",e)}},p=async({currentPage:e,itemsPerPage:a,session:n,csrf:s,sortBy:l=r.EMPTY_STRING,sortOrder:o=r.EMPTY_STRING,filters:h,drupalData:f,caching:p})=>{let m=Date.now(),{searchTerm:g,province:b,customer_number:_,city:y,account_name:x}=h,v=u(f);try{let u=c.default.get(r.COOKIE_KEYS.HCP_GQL_TOKEN),h={input:{size:a,page:String(e+1),searchTerm:g,province:b,customerNumber:_,city:y,accountName:x,...l?{sortBy:l}:{},...o?{sortOrder:o}:{}}},f=JSON.parse(sessionStorage.getItem(r.SESSION_STORAGE_KEYS.DOMAIN_LANG)),A={[r.HEADER_KEYS.API_KEY]:r.GQL_API_KEY,[r.HEADER_KEYS.SANDOZ_TOKEN]:u,[r.HEADER_KEYS.SANDOZ_LOCALE]:f,[r.HEADER_KEYS.SANDOZ_SESSION]:n,[r.HEADER_KEYS.SANDOZ_CSRF]:s,[r.HEADER_KEYS.CACHING]:p},w=await (0,t.default)(r.GQL_API_URL,v,h,A),E=Date.now()-m,S=w?.getHcoList,{users:C=[],pageInfo:T={}}=S?.data,N=S?.success;return(0,i.logFrontendEvent)(N?`${d} GQL Success`:`${d} GQL Failure`,N?r.NEW_RELIC_KEYS.LOG_LEVEL_INFO:r.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:d,duration:`${E}ms`,statusCode:S.statusCode,success:N,message:S.message,timestamp:new Date().toISOString()}),{users:C,successFlag:N,pageInfo:T,isUnauthorized:!1}}catch(t){let e=Date.now()-m;return(0,i.logFrontendEvent)(`${d} GQL Error`,r.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:d,duration:`${e}ms`,errorMessage:t,timestamp:new Date().toISOString()}),console.error("GQL call failed:",t),{users:null,successFlag:!1,pageInfo:{},isUnauthorized:!0}}};e.s(["default",0,p,"getEshopHCOList",0,h,"getHCOLogin",0,f],77108)},49681,81843,9464,85700,e=>{"use strict";e.s(["default",()=>x],49681);var t=e.i(91398),a=e.i(91788),i=e.i(36599);e.i(48756);var r=e.i(47266),n=e.i(66196);e.i(35958);var s=e.i(886),l=e.i(68244),o=e.i(76988),c=e.i(3828),d=e.i(22276),u=e.i(92631),h=e.i(75425),f=e.i(82054),p=e.i(77108),m=e.i(61601),g=t,b=e.i(40139),_=m;function y(e,t,a){let i=(e?.table_details||[]).reduce((e,t)=>{let a=Object.keys(t)[0];return e[a]=t[a],e},{}),r=Object.entries(i).filter(([e])=>"action"!==e).map(([e,t])=>({accessorKey:e,header:t,cell:({row:t})=>(0,g.jsx)("span",{className:`column-${e}`,children:(0,b.formatValue)(t.original[e])})}));return i.action&&r.push({id:"actions",header:i.action,cell:({row:i})=>{let{href:r,isLinkExternal:n,account_name:s,accountId:l,scout_id:o,user_role:c,eshop_enabled:d}=i.original,u=l===a;return(0,g.jsx)("div",{className:"eshop-cob-actions-container",children:(0,g.jsx)("button",{onClick:e=>{e.preventDefault(),t?.(s??_.EMPTY_STRING,l,{scout_id:o,user_role:c,eshop_enabled:d})},className:"product-detail-link-eshop",children:(0,g.jsx)("span",{className:"order-detail-link-eshop-text",children:u?e?.other_details?.resume_label:e?.other_details?.order_label})})})}}),r}let x=({onOrderClick:e,drupalData:g,filters:b,onTotalCountChange:_,clearFiltersClicked:x,applyFiltersClicked:v,currentHCOAccountId:A})=>{let w,{applicationConfiguration:E}=(0,a.useContext)(f.default),S=(0,d.useDispatch)(),C=(0,c.useRouter)(),T=(0,a.useRef)(null),[N,k]=(0,a.useState)([]),[I,j]=(0,a.useState)([]),[P,L]=(0,a.useState)(0),[O,D]=(0,a.useState)(!0),[M,R]=(0,a.useState)(m.EMPTY_STRING),{protocol:F,host:B,pathname:U}=globalThis.location,H=(0,d.useSelector)(e=>e?.product?.currentPage,d.shallowEqual),$=(0,d.useSelector)(e=>e.eshop.EcommFlag),{session:G,csrf:W}=(0,d.useSelector)(e=>e.appSession),[Y,z]=(0,a.useState)(!1),[V,K]=(0,a.useState)(),[q,Q]=(0,a.useState)([]),Z=g?.other_details?.number_of_items_per_page||h.default.TEN,X=!!E?.siteConfig?.ecomm_site_status,J=(0,a.useMemo)(()=>b,[b]),ee=(0,a.useMemo)(()=>q,[q]),et=String(E?.siteConfig?.cache_settings?.isCacheEnabled);(0,a.useEffect)(()=>{if(!g||!X)return;let t=async()=>{D(!0),z(!1),K(null);let t=m.EMPTY_STRING,a=m.EMPTY_STRING;q.length>0&&(t=q[0].id.toUpperCase(),a=q[0].desc?m.SORT_ORDER.DESC:m.SORT_ORDER.ASC);try{let i=await (0,p.default)({currentPage:H,itemsPerPage:Z,session:G,csrf:W,sortBy:t,sortOrder:a,filters:b,drupalData:g,caching:et});if(i?.successFlag){j(i?.users??[]);let e=i?.pageInfo?.totalCount??0;L(e),_?.(e)}else i?.isUnauthorized?(z(!0),K({errorMessage:E.siteConfig.timeout_logout_failure_msg||m.EMPTY_STRING})):(j([]),z(!0),K({errorMessage:g?.other_details?.something_went_wrong_msg}));let r=y(g,e,A);k(r)}catch(e){console.error("Unhandled error fetching order history:",e),z(!0),K({errorMessage:g?.other_details?.something_went_wrong_msg}),j([])}finally{D(!1)}};$&&X&&t()},[H,JSON.stringify(ee),JSON.stringify(J),v,x]);let ea=()=>T?.current?.scrollIntoView({behavior:"smooth",block:"start"}),ei=(0,a.useCallback)(e=>S((0,u.setCurrentPage)(e)),[S]),er=e=>{setTimeout(ea,200),ei(e/Number(Z))};return(0,a.useEffect)(()=>{ei(0)},[C.pathname]),w=O||0!==I.length?O?(0,t.jsx)("div",{className:"eshop-cob-modified-configuration-table",children:(0,t.jsx)(r.Loa
154der,{display:O})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"eshop-cob-modified-configuration-table",children:(0,t.jsx)(i.default,{data:I,columns:N,sortable:!0,sorting:q,onSortingChange:Q,currentHCOAccountId:A})}),(0,t.jsx)("div",{className:"eshop-cob-pagination-main-conatiner",children:(0,t.jsx)(n.Row,{className:"eshop-pagination-wrapper",children:(0,t.jsx)(s.Pagination,{itemsCount:P,itemsPerPage:Number(Z),onClick:er,offSet:H,cannonicalUrl:`${F}//${B}${U}?&page=pageNo`})})})]}):(0,t.jsx)("div",{className:"eshop-cob-error-msg",children:(0,t.jsx)(l.TitleDescription,{title:g?.other_details?.search_no_results_found_text??m.EMPTY_STRING,description:g?.other_details?.no_results_found_desc,className:"no-result"})}),(0,t.jsxs)("div",{ref:T,children:[Y&&(0,t.jsx)("div",{className:"eshop-notification",children:(0,t.jsx)(o.Notification,{notificationType:"error",displayTxt:V?.errorMessage,autoCloseTimer:m.NOTIFICATION_DURATION,onClose:()=>{K(null),z(!1)}})}),w,(0,t.jsx)("div",{className:"eshop-notification",children:M&&(0,t.jsx)(o.Notification,{notificationType:"error",displayTxt:M,autoCloseTimer:m.NOTIFICATION_DURATION,onClose:()=>R(m.EMPTY_STRING)})})]})};var v=e.i(15315),A=e.i(21984);let w=async()=>{let e=Date.now();try{let t=await (0,v.getApi)("/restapi/solar/ecomm-labels/customer_on_behalf"),a=Date.now()-e;return(0,A.logFrontendEvent)("CustomOnBehalf - Drupal Fetch Success","info",{source:"Drupal CustomOnBehalf API",drupalUrl:"/restapi/solar/ecomm-labels/customer_on_behalf",duration:`${a}ms`,timestamp:new Date().toISOString()}),t}catch(a){let t=Date.now()-e;(0,A.logFrontendEvent)("CustomOnBehalf - Drupal Fetch Error","error",{source:"Drupal CustomOnBehalf API",drupalUrl:"/restapi/solar/ecomm-labels/customer_on_behalf",duration:`${t}ms`,message:a,timestamp:new Date().toISOString()})}};e.s(["default",0,w],81843);var E=a;e.i(50461);var S=e.i(95414);let C=S.gql`
155  query Search($searchRequest: SearchRequest!) {
156    search(searchRequest: $searchRequest) {
157      data {
158        products {
159          Id
160        }
161        filters {
162          field_san_at_brandname {
163            label
164            value
165          }
166          field_san_at_dosageform1taxonomy {
167            label
168            value
169          }
170          field_san_at_packagetype {
171            label
172            value
173          }
174          field_san_at_specialistgroupind1 {
175            label
176            value
177          }
178          field_san_at_dosageformch {
179            label
180            value
181          }
182        }
183      }
184      success
185      statusCode
186      message
187    }
188  }
189`;var T=e.i(54456),N=A,k=m,I=e.i(82725);let j="Initial Dropdown",P=async(e,t,a)=>{let i="",r="",n=JSON.parse(sessionStorage.getItem(k.SESSION_STORAGE_KEYS.DOMAIN_LANG)),s=I.default.get(k.COOKIE_KEYS.GQL_TOKEN),l=Date.now();try{let o={searchRequest:{}},c={[k.HEADER_KEYS.API_KEY]:i,[k.HEADER_KEYS.SANDOZ_LOCALE]:n,[k.HEADER_KEYS.SANDOZ_TOKEN]:s,[k.HEADER_KEYS.SANDOZ_SESSION]:e,[k.HEADER_KEYS.SANDOZ_CSRF]:t,[k.HEADER_KEYS.CACHING]:a},d=await (0,T.default)(r,C,o,c),u=Date.now()-l,h=d?.search?.success,f=d?.search?.statusCode,p=d?.search?.message;if(d?.search?.data?.filters)return d?.search?.data?.filters;(0,N.logFrontendEvent)(h?`${j} GQL Success`:`${j} GQL Failure`,h?k.NEW_RELIC_KEYS.LOG_LEVEL_INFO:k.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:j,duration:`${u}ms`,statusCode:f,success:h,message:p,timestamp:new Date().toISOString()})}catch(t){let e=Date.now()-l;(0,N.logFrontendEvent)(`${j} GQL Error`,k.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:j,duration:`${e}ms`,errorMessage:t,timestamp:new Date().toISOString()}),console.error("gql call",t)}};var L=T,O=A,D=m,M=I;let R="Dropdown Filter",F=async(e,t,a,i)=>{let r="",n="",s=JSON.parse(sessionStorage.getItem("domainLang")),l=M.default.get(D.COOKIE_KEYS.GQL_TOKEN),o=Date.now();try{let c={searchRequest:e},d={[D.HEADER_KEYS.API_KEY]:r,[D.HEADER_KEYS.SANDOZ_LOCALE]:s,[D.HEADER_KEYS.SANDOZ_TOKEN]:l,[D.HEADER_KEYS.SANDOZ_SESSION]:t,[D.HEADER_KEYS.SANDOZ_CSRF]:a,[D.HEADER_KEYS.CACHING]:i},u=await (0,L.default)(n,C,c,d),h=Date.now()-o,f=u?.search?.success,p=u?.search?.statusCode,m=u?.search?.message;
189if(u?.search?.data?.filters)return u?.search?.data?.filters??{};(0,O.logFrontendEvent)(f?`${R} GQL Success`:`${R} GQL Failure`,f?D.NEW_RELIC_KEYS.LOG_LEVEL_INFO:D.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:R,duration:`${h}ms`,statusCode:p,success:f,message:m,timestamp:new Date().toISOString()})}catch(t){let e=Date.now()-o;(0,O.logFrontendEvent)(`${R} GQL Error`,D.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:R,duration:`${e}ms`,errorMessage:t,timestamp:new Date().toISOString()}),console.error("gql call",t)}};e.i(41871);var B=e.i(87612),U=d,H=e.i(49125),$=T,G=S,W=A,Y=S;let z=Y.gql`
190  query GetHcoList($input: HcoListFilterInput!) {
191    getHcoList(input: $input) {
192      success
193      statusCode
194      message
195      data {
196        filters {
197          province {
198            label
199            value
200          }
201          customer_number {
202            label
203            value
204          }
205          city {
206            label
207            value
208          }
209          account_name {
210            label
211            value
212          }
213        }
214      }
215    }
216  }
217`;var V=m,K=I;let q="Initial Dropdown",Q="Dropdown Filter",Z=e=>Array.isArray(e)?e.map(e=>{let t=Object.keys(e)[0];return`${t} { label value }`}).join("\n"):"",X=e=>{let t=Z(e);return G.gql`
218    query GetHcoList($input: HcoListFilterInput!) {
219      getHcoList(input: $input) {
220        success
221        statusCode
222        message
223        data {
224          filters {
225            ${t}
226          }
227        }
228      }
229    }
230  `},J=async(e,t,a)=>{let i="",r="",n=JSON.parse(sessionStorage.getItem(V.SESSION_STORAGE_KEYS.DOMAIN_LANG)),s=K.default.get(V.COOKIE_KEYS.HCP_GQL_TOKEN),l=Date.now();try{let o={input:{}},c={[V.HEADER_KEYS.API_KEY]:i,[V.HEADER_KEYS.SANDOZ_LOCALE]:n,[V.HEADER_KEYS.SANDOZ_TOKEN]:s,[V.HEADER_KEYS.SANDOZ_SESSION]:e,[V.HEADER_KEYS.SANDOZ_CSRF]:t,[V.HEADER_KEYS.CACHING]:a},d=await (0,$.default)(r,z,o,c),u=Date.now()-l,h=d?.getHcoList?.success,f=d?.getHcoList?.statusCode,p=d?.getHcoList?.message;if(d?.getHcoList?.data?.filters)return d?.getHcoList?.data?.filters;(0,W.logFrontendEvent)(h?`${q} GQL Success`:`${q} GQL Failure`,h?V.NEW_RELIC_KEYS.LOG_LEVEL_INFO:V.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:q,duration:`${u}ms`,statusCode:f,success:h,message:p,timestamp:new Date().toISOString()})}catch(t){let e=Date.now()-l;(0,W.logFrontendEvent)(`${q} GQL Error`,V.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:q,duration:`${e}ms`,errorMessage:t,timestamp:new Date().toISOString()}),console.error("gql call",t)}},ee=async(e,t,a,i,r)=>{let n="",s="",l=JSON.parse(sessionStorage.getItem(V.SESSION_STORAGE_KEYS.DOMAIN_LANG)),o=K.default.get(V.COOKIE_KEYS.HCP_GQL_TOKEN),c=Date.now(),d=X(i);try{let i={input:e},u={[V.HEADER_KEYS.API_KEY]:n,[V.HEADER_KEYS.SANDOZ_LOCALE]:l,[V.HEADER_KEYS.SANDOZ_TOKEN]:o,[V.HEADER_KEYS.SANDOZ_SESSION]:t,[V.HEADER_KEYS.SANDOZ_CSRF]:a,[V.HEADER_KEYS.CACHING]:r},h=await (0,$.default)(s,d,i,u),f=Date.now()-c,p=h?.getHcoList?.success,m=h?.getHcoList?.statusCode,g=h?.getHcoList?.message;if(h?.getHcoList?.data?.filters)return h?.getHcoList?.data?.filters??{};(0,W.logFrontendEvent)(p?`${Q} GQL Success`:`${Q} GQL Failure`,p?V.NEW_RELIC_KEYS.LOG_LEVEL_INFO:V.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:Q,duration:`${f}ms`,statusCode:m,success:p,message:g,timestamp:new Date().toISOString()})}catch(t){let e=Date.now()-c;(0,W.logFrontendEvent)(`${Q} GQL Error`,V.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:Q,duration:`${e}ms`,errorMessage:t,timestamp:new Date().toISOString()}),console.error("gql call",t)}};var et=e.i(76709),ea=m,ei=f;let er=(e,t,a,i,r)=>{let n=(0,U.useSelector)(e=>e.eShopPlpFilter.eShopSelectedDropDownFilters),[s,l]=(0,E.useState)({}),[o,c]=(0,E.useState)({}),[d,u]=(0,E.useState)(r===ea.PAGE_TYPE.PLP_PAGE?n:{}),[h,f]=(0,E.useState)({}),[p,m]=(0,E.useState)(!0),g=(0,U.useSelector)(e=>e?.eshop?.EcommFlag),b=(0,U.useSelector)(e=>e?.eshop?.EcommToken),{session:_,csrf:y}=(0,U.useSelector)(e=>e?.appSession),{applicationConfiguration:x}=(0,E.useContext)(ei.default),v=String(x?.siteConfig?.cache_settings?.isCacheEnabled),A=(0,E.useRef)(null),w=(0,E.useRef)(!0),S=(0,B.useMediaQuery)("(max-width: 991px)"),C=(0,U.useDispatch)(),T=(0,E.useCallback)(e=>C((0,et.updateEshopSelectedFilters)(e)),[C]);(0,E.useEffect)(()=>
230{if(r===ea.PAGE_TYPE.PLP_PAGE){let t=e?.filter_options||[],a={};t.forEach(e=>{a[e.attribute_name]=e.label}),l(a)}r===ea.PAGE_TYPE.CUST_ON_BEHALF&&Array.isArray(e)&&l(Object.assign({},...e))},[JSON.stringify(e),r]);let N=async()=>{let e;m(!0),r===ea.PAGE_TYPE.PLP_PAGE?e=await P(_,y,String(!!v)):r===ea.PAGE_TYPE.CUST_ON_BEHALF&&(e=await J(_,y,String(!!v))),e&&(c(e),f(e)),m(!1)};(0,E.useEffect)(()=>{(r===ea.PAGE_TYPE.PLP_PAGE&&g&&!t&&b||r!==ea.PAGE_TYPE.PLP_PAGE&&g)&&N()},[g,b]);let k=(e,t,a)=>{if(a===ea.PAGE_TYPE.PLP_PAGE)return{text:t,brands:e.field_san_at_brandname?.map(e=>e.value),therapeuticAreas:e.field_san_at_specialistgroupind1?.map(e=>e.value),waysOfUse:e.field_san_at_dosageformch?.map(e=>e.value),packagingTypes:e.field_san_at_packagetype?.map(e=>e.value),dosageForms:e.field_san_at_dosageform1taxonomy?.map(e=>e.value)};if(a===ea.PAGE_TYPE.CUST_ON_BEHALF)return{searchTerm:t,accountName:e.account_name?.map(e=>e.value),city:e.city?.map(e=>e.value),customerNumber:e.customer_number?.map(e=>e.value),province:e.province?.map(e=>e.value)};throw Error(`Unsupported pageType: ${a}`)},I=async(t,a)=>{let i;if(A.current&&(0,H.default)(t,A.current.filters)&&(0,H.default)(a,A.current.searchTextGQL))return;m(!0);let n=k(t,a,r);if(r===ea.PAGE_TYPE.PLP_PAGE)i=await F(n,_,y,v);else{if(r!==ea.PAGE_TYPE.CUST_ON_BEHALF)return void m(!1);i=await ee(n,_,y,e,v)}c(e=>({...e,...i})),A.current={filters:t,searchTextGQL:a},m(!1)};(0,E.useEffect)(()=>{if(r===ea.PAGE_TYPE.CUST_ON_BEHALF&&w.current){w.current=!1;return}r===ea.PAGE_TYPE.PLP_PAGE&&t?I(d,t):r===ea.PAGE_TYPE.CUST_ON_BEHALF&&I(d,t)},[t]);let j=(0,E.useCallback)((e,t)=>{let a={};u(i=>{let r={...i,[e]:t};return a=r,r}),r===ea.PAGE_TYPE.PLP_PAGE&&T(a)},[u]),L=()=>{I({},t),u({}),r===ea.PAGE_TYPE.PLP_PAGE&&T({}),A.current=null,S&&(a(!0),i(e=>!e),setTimeout(()=>a(!1),100))},O=async e=>{let a=Object.fromEntries(Object.entries(d).map(([t,a])=>[t,a.filter(t=>t.value!==e)]));u(a),r===ea.PAGE_TYPE.PLP_PAGE&&T(a),I(a,t)};return{labels:s,dropdownOptions:o,selectedFilters:d,initialDropdownOptions:h,buildSearchRequest:k,handleChange:j,fetchUpdatedOptions:I,handleClear:L,handleRemove:O}};e.s(["default",0,er],9464);var en=a,es=t,el=en.createContext(void 0),eo=e=>{let t=en.useContext(el);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},ec=({client:e,children:t})=>(en.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,es.jsx)(el.Provider,{value:e,children:t}));e.s(["QueryClientProvider",0,ec,"useQueryClient",0,eo],85700)},53007,e=>{"use strict";var t=e.i(95414);let a=t.gql`
231  query GetWishlistProduct {
232    getWishlistProduct {
233      success
234      statusCode
235      message
236      data {
237        productData {
238          field_san_at_productname
239          field_primaryproductimage
240          field_san_at_producturl
241          variationInfo {
242            Id
243            field_san_at_packagesize
244            field_exfactory_price {
245              Price
246              Currency
247            }
248            productStatusIndicator
249            IsNotified
250            field_san_at_localskucodegtin13
251            field_san_at_localskucodede
252            IsAddedToCart
253            IsActive
254            WishlistItemId
255          }
256        }
257        defaultValues {
258          quantity
259          counterQuantity
260        }
261      }
262    }
263  }
264`;var i=e.i(10694),r=e.i(21984),n=e.i(61601),s=e.i(82725);let l="GetWishlistProduct",o=async({GqlToken:e,session:t,csrf:o,accountId:c,caching:d})=>{let u=Date.now();try{if(!n.GQL_API_URL)throw Error("GraphQL API URL is not defined");let h=e??s.default.get(n.COOKIE_KEYS.GQL_TOKEN);if(!h)throw Error("GqlToken not found in sessionStorage");let f=JSON.parse(sessionStorage.getItem("domainLang")),p={[n.HEADER_KEYS.API_KEY]:n.GQL_API_KEY??n.EMPTY_STRING,[n.HEADER_KEYS.SANDOZ_TOKEN]:h,[n.HEADER_KEYS.SANDOZ_LOCALE]:f,[n.HEADER_KEYS.SANDOZ_SESSION]:t,[n.HEADER_KEYS.SANDOZ_CSRF]:o,[n.HEADER_KEYS.SANDOZ_ACCOUNTID]:c??n.EMPTY_STRING,[n.HEADER_KEYS.CACHING]:d},m=await (0,i.request)(n.GQL_API_URL,a,{},p),g=Date.now()-u,b=m?.getWishlistProduct,_=b?.success;return(0,r.logFrontendEvent)(_?`${l} GQL Success`:`${l} GQL Failure`,_?n.NEW_RELIC_KEYS.LOG_LEVEL_INFO:n.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:{LOG_EVENT_SOURCE:l},duration:`${g}
264ms`,statusCode:b?.statusCode,message:b?.message,productCount:b?.data.productData.length,timestamp:new Date().toISOString()}),{...m?.getWishlistProduct,isUnauthorized:!1}}catch(a){let e=Date.now()-u;(0,r.logFrontendEvent)(`${l} GQL Error`,n.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:{LOG_EVENT_SOURCE:l},duration:`${e}ms`,errorMessage:a,timestamp:new Date().toISOString()}),console.error("Error fetching wishlist products:",a);let t=JSON.parse(JSON.stringify(a));return{success:!1,statusCode:"500",message:"Fetch failed",data:{productData:[],defaultValues:null},isUnauthorized:t?.response?.errors[0]?.extensions?.response?.status===403||t?.response?.errors[0]?.extensions?.response?.status===401}}};e.s(["fetchWishlistProducts",0,o],53007)},91837,e=>{"use strict";e.s(["default",()=>j]);var t=e.i(91398);e.i(48756);var a=e.i(21284),i=e.i(17419),r=e.i(49266),n=e.i(47266),s=e.i(5223),l=e.i(66196),o=e.i(91788);e.i(41871);var c=e.i(87612),d=e.i(18310),u=e.i(22276),h=e.i(20424),f=e.i(49681);e.i(35958);var p=e.i(76988),m=e.i(51023),g=e.i(81843),b=e.i(9464),_=e.i(42823),y=e.i(3828),x=e.i(61601),v=e.i(77108),A=e.i(82054),w=e.i(63712),E=e.i(42496),S=e.i(37916),C=e.i(82725),T=e.i(85700),N=e.i(53007),k=e.i(21587);let I=e=>e?.length?e.map(e=>e.value):void 0,j=()=>{let e="eCOB",[j,P]=(0,o.useState)(!1),[L,O]=(0,o.useState)(!1),[D,M]=(0,o.useState)(!1),[R,F]=(0,o.useState)(),[B,U]=(0,o.useState)(!1),[H,$]=(0,o.useState)(!1),[G,W]=(0,o.useState)(x.EMPTY_STRING),[Y,z]=(0,o.useState)({}),[V,K]=(0,o.useState)(null),[q,Q]=(0,o.useState)(!0),[Z,X]=(0,o.useState)(x.EMPTY_STRING),[J,ee]=(0,o.useState)(0),{session:et,csrf:ea}=(0,u.useSelector)(e=>e.appSession),ei=(0,u.useDispatch)(),er=(0,y.useRouter)(),[en,es]=(0,o.useState)(!1),[el,eo]=(0,o.useState)(null),[ec,ed]=(0,o.useState)(!1),[eu,eh]=(0,o.useState)(x.EMPTY_STRING),ef=(0,u.useSelector)(e=>e?.eshop?.EcommFlag),{applicationConfiguration:ep}=(0,o.useContext)(A.default),em=!!ep?.siteConfig?.ecomm_site_status,eg=!!ep?.siteConfig?.cob_enabled,eb=(0,T.useQueryClient)(),e_=String(ep?.siteConfig?.cache_settings?.isCacheEnabled),{handleLoginRedirection:ey}=(0,w.default)(ep),ex=(0,o.useCallback)(e=>ei((0,_.setEshopToken)(!!e)),[ei]),{labels:ev,dropdownOptions:eA,selectedFilters:ew,handleChange:eE,fetchUpdatedOptions:eS,handleClear:eC,handleRemove:eT}=(0,b.default)(Y?.filter_details,R||x.EMPTY_STRING,O,M,e),eN=(0,o.useRef)(null),ek=(0,c.useMediaQuery)("(max-width: 991px)");(0,o.useEffect)(()=>{Q(!0),(async()=>{z(await (0,g.default)()),Q(!1)})();let e=C.default.get(x.COOKIE_KEYS.GQL_TOKEN)||x.EMPTY_STRING,t=S.default.decode(e);eh(t?.accountId||x.EMPTY_STRING)},[]);let eI=(0,o.useCallback)(()=>{M(e=>!e)},[]),ej=()=>{P(!0),setTimeout(()=>P(!1),100),M(e=>!e)},eP=e=>{F(e)},eL=(e,t)=>{t?.preventDefault?.(),eP(e)},eO=e=>{eL(e)},eD=(e,t,a)=>{W(e),X(t),$(!1),U(!0),K(a)},eM=()=>{U(!1),$(!1),W(x.EMPTY_STRING),K(null)},eR=async()=>{try{let e=await (0,N.fetchWishlistProducts)({session:et,csrf:ea,caching:e_});ei((0,k.addWishlistInStore)(e?.data?.productData||[]))}catch(e){console.error("Wishlist fetch failed:",e)}},eF=async()=>{ex(!1),eM(),es(!1),eo(null),ei((0,_.setEshopCOBAccountId)(Z)),ed(!0);let e=C.default.get(x.COOKIE_KEYS.HCP_GQL_TOKEN),{success:t}=await (0,v.getHCOLogin)({scout_id:V?.scout_id,user_role:V?.user_role,eshop_enabled:V?.eshop_enabled,session:et,csrf:ea,gqlToken:e});if(K(null),t){ex(!0),ei((0,_.setCobUser)(G)),eb.clear(),eR();let e=er.query.redirect;er.push(e||Y?.other_details?.plp_alias)}else C.default.get(x.COOKIE_KEYS.GQL_TOKEN)&&ex(!0),ed(!1),es(!0),eo({errorMessage:Y?.other_details?.something_went_wrong_msg})};if(q)return(0,t.jsx)(n.Loader,{display:q});let eB=Y?.other_details?.search_results_found_text?.split("@cnt");return ef&&em&&eg?(0,t.jsxs)(t.Fragment,{children:[en?(0,t.jsx)("div",{className:"eshop-notification",children:(0,t.jsx)(p.Notification,{notificationType:"error",displayTxt:el?.errorMessage,autoCloseTimer:x.NOTIFICATION_DURATION,onClose:()=>{eo(null),es(!1)}})}):(0,t.jsx)(t.Fragment,{}),(0,t.jsxs)("div",{ref:eN,className:"eshop-cob-parent ",children:[ec&&(0,t.jsx)("div",{className:"eshop-loading-overlay",children:(0,t.jsx)("div",{className:"eshop-loader"})}),(0,t.jsx)(l.Row,{className:"switch-view-button-eshop",children:(0,t.jsx)(i.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsx)("h3",{className:"plp-title-section-eshop",children:Y?.other_details?.page_title})})}),(0,t.jsx)(l.Row,{children:(0,t.jsx)(i.Column,{desktop:12,tablet:12,mobile:12,children:(0,t.jsx)(h.default,{handleTextSearch:eL,handleTextChange:eO,buttonType:"button",searchPlaceHolderText:Y?.other_details?.search_placeholder_label,className:"eshop-customer-behalf-search-bar",inputLabel:Y?.other_details?.what_are_you_looking_for_label,customButtonText:Y?.other_details?.search_btn_label,handleToggleFilter:eI,noResultFoundText:Y?.other_details?.search_no_results_found_text,maxProductExceedLabel:Y?.other_details?.search_limit_exceed_msg})})}),ek&&J>0&&(0,t.jsxs)("span",{className:"item-number-container",children:[eB?.[0],(0,t.jsx)("span",{className:"highlight-count",children:J}),eB?.[1]]}),D&&(0,t.jsx)("div",{className:"eShop-plp-advancedFilter",children:(0,t.jsx)(d.default,{labels:ev,dropdownOptions:eA,selectedFilters:ew,fetchUpdatedOptions:eS,handleChange:eE,handleClear:eC,searchTextGQL:R,filterDetails:Y?.other_details,selectLabel:Y?.other_details?.select_options_placeholder_label,handleApplyFilters:ej,pageType:e})}),(0,t.jsx)("div",{children:!ek&&J>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"clear-all-filter-container",children:[(0,t.jsxs)("span",{className:"item-number-container",children:[eB?.[0],(0,t.jsx)("span",{className:"highlight-count",children:J}),eB?.[1]]}),(0,t.jsx)("span",{className:"clear-all-filter-btn",children:Object.values(ew).flat(1).length?(0,t.jsxs)("button",{className:"clear-btn",onClick:eC,tabIndex:0,children:[(0,t.jsx)("span",{className:"clear-filter",children:Y?.other_details?.clear_all_filters_label}),(0,t.jsx)(r.Icon,{iconName:"eShopCloseBlue",className:"clear-btn-icon"})]}):null})]}),Object.values(ew).flat(1).length?(0,t.jsx)("div",{className:"advance-filter-chips-container",children:Object.entries(ew).map(([e,i])=>i.length?i.map((i,r)=>(0,t.jsx)(a.Chips,{content:i.label,handleClick:()=>eT(i.value)},`${e}-${i.value}-${r}`)):null)}):null,(0,t.jsx)("hr",{})]})}),(0,t.jsx)("div",{className:"plp-product-card-container-eshop",children:(0,t.jsx)(f.default,{onOrderClick:eD,drupalData:Y,filters:{searchTerm:R||x.EMPTY_STRING,province:I(ew.province),customer_number:I(ew.customer_number),city:I(ew.city),account_name:I(ew.account_name)},onTotalCountChange:ee,applyFiltersClicked:j,clearFiltersClicked:L,currentHCOAccountId:eu})}),Y?.mlr_number&&(0,t.jsx)("div",{className:"eshop-mlr-customer-container",children:(0,t.jsx)(s.RichText,{content:Y.mlr_number,className:"eshop-mlr-text"})}),(0,t.jsx)(m.Popup,{showPopup:B,showOverlay:H,headerText:Y?.confirm_order_details?.confirm_order_popup_title,closeIcon:{url:"/assets/icons/close.svg",altText:"close icon"},className:"cob-order-popup-window",spinnerIcon:x.EMPTY_STRING,handlePopupShow:U,children:(0,t.jsxs)("div",{className:"popup-content",children:[(0,t.jsx)("div",{className:"cob-order-text",children:Y?.confirm_order_details?.confirm_order_popup_desc?.replace("@cust",G)}),(0,t.jsxs)("div",{className:"cob-order-action-button",children:[(0,t.jsx)("button",{className:"cob-order-action-button-cancel-button",onClick:eM,children:Y?.confirm_order_details?.cancel_bt
264n_label}),(0,t.jsx)("button",{className:"cob-order-action-button-confirm-button",onClick:eF,children:Y?.confirm_order_details?.confirm_btn_label})]})]})})]})]}):ef&&em&&!eg&&ep?.eshopCobPaywallNotice?.loginText&&ep?.eshopCobPaywallNotice?.description?(0,t.jsx)(E.default,{paywallNotice:ep?.eshopCobPaywallNotice,roles:x.EMPTY_STRING,loginHandler:()=>ey(),isEshopPaywall:!0}):ep.eshopPaywallNotice?.loginText?(0,t.jsx)(E.default,{paywallNotice:ep.eshopPaywallNotice,roles:x.EMPTY_STRING,loginHandler:()=>ey(),isEshopPaywall:!0}):(0,t.jsx)(t.Fragment,{})}},71301,e=>{"use strict";let t=[{value:"1",label:"Video"},{value:"5",label:"Podcast"}];e.s(["KalturaMediaTypes",0,t])},47631,56305,41918,48828,e=>{"use strict";e.s(["default",()=>A],47631);var t=e.i(91398),a=e.i(61576),i=e.i(83919);e.s(["default",()=>b],56305);var r=t,n=a,s=e.i(91788);e.i(48756);var l=e.i(17419),o=e.i(45861),c=e.i(49266),d=e.i(88411),u=e.i(99523),h=e.i(15464),f=e.i(71301);let p=e=>null!=e?u.default.utc(1e3*e).format("m:ss"):"",m=e=>e?u.default.unix(e).fromNow():"",g=(e=0,t="en")=>new Intl.NumberFormat(t,{notation:"compact",compactDisplay:"short"}).format(e),b=e=>{let t,a,i,u,b,y,x,v,A,w,E,S,C,T,N,k,I,j=(0,n.c)(54),{cardData:P,variant:L,viewsText:O}=e,{entryId:D,thumbnailUrl:M,userId:R,description:F,name:B,duration:U,views:H,createdAt:$,entryType:G,detailPageURL:W,langCode:Y,displayItems:z,componentType:V,lastTimeReached:K}=P,[q,Q]=(0,s.useState)("entry_id"),[Z,X]=(0,s.useState)("");j[0]!==D?(t=D?.trim(),j[0]=D,j[1]=t):t=j[1];let J=t;j[2]!==U?(a=p(U),j[2]=U,j[3]=a):a=j[3];let ee=a;j[4]!==$?(i=m($),j[4]=$,j[5]=i):i=j[5];let et=i,ea=_,ei=R??"";if(j[6]!==ei){let[e,t]=ei.split("@")[0].split("."),a=void 0===e?"":e,i=void 0===t?"":t;u=(0,d.default)(a),b=(0,d.default)(i),j[6]=ei,j[7]=u,j[8]=b}else u=j[7],b=j[8];j[9]!==u||j[10]!==b?(y={firstName:u,lastName:b},j[9]=u,j[10]=b,j[11]=y):y=j[11];let{firstName:er,lastName:en}=y;j[12]!==L?(x=()=>{Q("collections"===L?"playlist_id":"entry_id")},v=[L],j[12]=L,j[13]=x,j[14]=v):(x=j[13],v=j[14]),(0,s.useEffect)(x,v),j[15]!==K?(A=()=>{X(`&t=${K}`)},w=[K],j[15]=K,j[16]=A,j[17]=w):(A=j[16],w=j[17]),(0,s.useEffect)(A,w),j[18]!==V||j[19]!==U||j[20]!==ee||j[21]!==K||j[22]!==B||j[23]!==M||j[24]!==L?(E=()=>(0,r.jsxs)("div",{className:"thumbnail",children:[M&&(0,r.jsx)("img",{src:`${M}
264/width/600`,alt:B}),(0,r.jsx)("div",{className:"overlay-icon",children:(0,r.jsx)(c.Icon,{iconName:"PlayIcon"})}),"number"==typeof U&&"collections"!==L&&(0,r.jsx)("span",{className:"duration",children:ee}),"number"==typeof K&&K&&(0,r.jsx)("div",{className:`${V?.includes("grid")} ${L} progress-bar`,children:(0,r.jsx)("div",{className:"total-progress",style:{width:`${ea(K,U??0)}%`}})})]}),j[18]=V,j[19]=U,j[20]=ee,j[21]=K,j[22]=B,j[23]=M,j[24]=L,j[25]=E):E=j[25];let es=E;j[26]!==er||j[27]!==en||j[28]!==R?(S=()=>R&&(0,r.jsxs)("div",{className:"kaltura-media-author d-flex gap-2",children:[(0,r.jsx)("div",{children:(0,r.jsx)(c.Icon,{iconName:"Profilefill"})}),(0,r.jsx)("div",{className:"ml-2 author-info",children:(0,r.jsxs)("span",{children:[er," ",en]})})]}),j[26]=er,j[27]=en,j[28]=R,j[29]=S):S=j[29];let el=S,eo=z<=2&&"collections"!==L?4:"all_videos"===L?3:Math.floor(12/z),ec=W?`${W}/?${q}=${J}${"continue_watching"===L?Z:""}`:"",ed=`kaltura-video-card mb-0 ${V?.includes("grid")?V:`video-card-variant-${L}`}`;return j[30]!==es?(C=es(),j[30]=es,j[31]=C):C=j[31],j[32]!==V||j[33]!==F||j[34]!==G||j[35]!==et||j[36]!==Y||j[37]!==K||j[38]!==B||j[39]!==el||j[40]!==L||j[41]!==H||j[42]!==O?(T=("continue_watching"!==L||!(K>0)||V?.includes("grid"))&&("recommended_videos"!==L||V?.includes("grid"))&&"collections"!==L&&"experts"!==L?"recommended_videos"===L&&V?.includes("grid")||"all_videos"===L||"continue_watching"===L&&K>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"d-flex align-items-center mt-3 justify-content-between",children:G&&(0,r.jsx)("div",{className:"tag",children:f.KalturaMediaTypes.find(e=>e.value===String(G))?.label})}),B&&(0,r.jsx)("div",{className:"title mt-4",dangerouslySetInnerHTML:{__html:B?(0,h.DOMSanitizer)(B):"&nbsp;"}}),(0,r.jsxs)("div",{className:"meta mt-3 mb-0",children:[(0,r.jsx)("span",{className:"createdAt-time",children:et}),(0,r.jsxs)("span",{className:"views",children:[(0,r.jsx)("span",{children:"|"}),g(H,Y)," ",O||""]})]})]}):null:(0,r.jsxs)(r.Fragment,{children:[G&&"collections"!==L&&(0,r.jsx)("span",{className:"tag",children:f.KalturaMediaTypes.find(e=>e.value===String(G))?.label}),B&&(0,r.jsx)("h4",{className:"title",children:B}),"collections"!==L&&void 0!==H&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"meta",children:[(0,r.jsxs)("span",{className:"views",children:[g(H,Y)," ",O||""," | "]}),(0,r.jsx)("span",{className:"createdAt-time",children:et})]}),(0,r.jsx)("div",{className:"description",dangerouslySetInnerHTML:{__html:F?(0,h.DOMSanitizer)(F):"&nbsp;"}}),el()]})]}),j[32]=V,j[33]=F,j[34]=G,j[35]=et,j[36]=Y,j[37]=K,j[38]=B,j[39]=el,j[40]=L,j[41]=H,j[42]=O,j[43]=T):T=j[43],j[44]!==T?(N=(0,r.jsx)("div",{className:"video-info",children:T}),j[44]=T,j[45]=N):N=j[45],j[46]!==ec||j[47]!==ed||j[48]!==C||j[49]!==N?(k=(0,r.jsxs)(o.Anchor,{noUnderline:!0,href:ec,tabindex:0,isExternal:!1,className:ed,children:[C,N]}),j[46]=ec,j[47]=ed,j[48]=C,j[49]=N,j[50]=k):k=j[50],j[51]!==eo||j[52]!==k?(I=(0,r.jsx)(l.Column,{mobile:12,tablet:6,desktop:eo,children:k}),j[51]=eo,j[52]=k,j[53]=I):I=j[53],I};function _(e,t){return t>0?Math.min(Math.max(e/t*100,0),100):0}var y=o,x=e.i(43103),v=e.i(3265);let A=e=>{let r,n,s,l,o,c,d,u,h,f,p=(0,a.c)(42),{listingData:m,componentTitle:g,componentDesc:_,componentCTA:A,detailPageURL:w,langCode:E,displayItems:S,whichComponent:C,componentType:T,hideLoader:N,nfhLabels:k}=e;e:{let e;if("recommended_videos"===C&&m.length>1){let e;p[0]!==m?(e=x.default.shuffle(m||[]),p[0]=m,p[1]=e):e=p[1],r=e;break e}p[2]!==m?(e=m||[],p[2]=m,p[3]=e):e=p[3],r=e}let I=r;p[4]!==T||p[5]!==w||p[6]!==S||p[7]!==E||p[8]!==I||p[9]!==k?.views||p[10]!==C?(n=Array.isArray(I)&&I.map((e,a)=>(0,t.jsx)(b,{cardData:{...e,detailPageURL:w,langCode:E,displayItems:S,componentType:T},variant:C,viewsText:k?.views},e?.entryId??`${e?.name??"item"}-${e?.createdAt??a}`)),p[4]=T,p[5]=w,p[6]=S,p[7]=E,p[8]=I,p[9]=k?.views,p[10]=C,p[11]=n):n=p[11];let j=n;return p[12]!==g||p[13]!==T?(s=g&&!T?.includes("grid")&&(0,t.jsx)("h2",{className:"heading",children:g}),p[12]=g,p[13]=T,p[14]=s):s=p[14],p[15]!==_||p[16]!==T?(l=_&&!T?.includes("grid")&&(0,t.jsx)("p",{className:"description",children:_}),p[15]=_,p[16]=T,p[17]=l):l=p[17],p[18]!==k?(o=k?.nfh_listing_page?.noConfig&&(0,t.jsx)("h4",{className:"text-center",children:k.nfh_listing_page?.noConfig}),p[18]=k,p[19]=o):o=p[19],p[20]!==j||p[21]!==T||p[22]!==S?(c=T?.includes("grid")?(0,t.jsx)("div",{className:"row",children:j}):(0,t.jsx)(i.default,{slideToShow:S,slideToShowTablet:2,children:j}),p[20]=j,p[21]=T,p[22]=S,p[23]=c):c=p[23],p[24]!==T||p[25]!==I||p[26]!==k?.nfh_listing_page?.noConfig||p[27]!==k?.nfh_listing_page?.no_videos_found_label?(d=Array.isArray(I)&&I?.length===0&&!T?.includes("grid")&&!k?.nfh_listing_page?.noConfig&&(0,t.jsx)("p",{className:"text-center",children:k?.nfh_listing_page?.no_videos_found_label}),p[24]=T,p[25]=I,p[26]=k?.nfh_listing_page?.noConfig,p[27]=k?.nfh_listing_page?.no_videos_found_label,p[28]=d):d=p[28],p[29]!==A||p[30]!==T||p[31]!==I?(u=A?.title&&!T?.includes("grid")&&Array.isArray(I)&&I?.length>0&&(0,t.jsx)("div",{className:"text-center mt-5 pt-4 carousel-cta",children:(0,t.jsx)(y.Anchor,{noUnderline:!0,href:(0,v.filterURL)(A.uri),tabindex:0,isExternal:!1,className:"anchor btn btn-primary",children:A.title})}),p[29]=A,p[30]=T,p[31]=I,p[32]=u):u=p[32],p[33]!==c||p[34]!==d||p[35]!==u?(h=(0,t.jsxs)("div",{className:"kaltura-media-carousel video-listing-container",children:[c,d,u]}),p[33]=c,p[34]=d,p[35]=u,p[36]=h):h=p[36],p[37]!==h||p[38]!==s||p[39]!==l||p[40]!==o?(f=(0,t.jsxs)("div",{className:"video-page-container",children:[s,l,o,h]}),p[37]=h,p[38]=s,p[39]=l,p[40]=o,p[41]=f):f=p[41],f};var w=t,E=a,S=s;let C=e=>{let t,a,i,r,n,s=(0,E.c)(8),{title:l,htmlSnippet:o}=e,c=(0,S.useRef)(null);return s[0]!==o?(t=()=>{(async()=>{o&&c.current&&(c.current.innerHTML=o,c.current.querySelectorAll("script").forEach(T))})()},a=[o],s[0]=o,s[1]=t,s[2]=a):(t=s[1],a=s[2]),(0,S.useEffect)(t,a),s[3]!==l?(i=l&&(0,w.jsx)("h2",{className:"title",children:l}),s[3]=l,s[4]=i):i=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(r=(0,w.jsx)("div",{ref:c}),s[5]=r):r=s[5],s[6]!==i?(n=(0,w.jsxs)("div",{className:"html-sni
264ppet-container",children:[i,r]}),s[6]=i,s[7]=n):n=s[7],n};function T(e){let t=document.createElement("script");t.text=e.textContent||"",Array.from(e.attributes).forEach(e=>t.setAttribute(e.name,e.value)),e.replaceWith(t)}e.s(["default",0,C],41918),e.s(["default",()=>ei],48828);var N=t,k=s,I=e.i(55439);e.i(41871);var j=e.i(87612),P=e.i(22183);e.i(35958);var L=e.i(886),O=e.i(68244),D=e.i(3828),M=e.i(15315),R=e.i(4122),F=e.i(97268),B=e.i(75425),U=e.i(65560),H=e.i(22276),$=e.i(22740);let G=e=>K({type:$.ADD_UPDATE_PRODUCT_PIPELINE_FILTERS,productPipelineFilters:e}),W=e=>K({type:$.UPDATE_PRODUCT_PIPELINE_PAGE_NUMBER,currentPage:e}),Y=e=>K({type:$.UPDATE_PRODUCT_PIPELINE_SEARCH_TEXT,searchText:e}),z=(e,t,a,i)=>K({type:$.UPDATE_ALL_PRODUCT_PIPELINE_FILTERS,productPipelineFilters:e,currentPage:t,searchText:a,sort:i}),V=e=>K({type:$.UPDATE_PRODUCT_PIPELINE_SORT,sort:e}),K=e=>t=>{t(e)};var q=e.i(25917),Q=e.i(49125),Z=e.i(82054);let X=B.default.TEN,J={jobTitle:"therapeutic_area",business:"field_job_business_unit",location:"field_job_location_name",site:"field_job_work_location",datePosted:"field_job_posted_date"},ee=e=>{let{productPipelineFilterData:t}=e,{productPipelineFilters:a,currentPage:i,searchText:r,sort:n}=t,[s,l]=(0,k.useState)(""),[o,c]=(0,k.useState)(!0),[d,u]=(0,k.useState)({value:"",order:0}),[h,f]=(0,k.useState)([]),[p,m]=(0,k.useState)([]),[g,b]=(0,k.useState)({}),[_,y]=(0,k.useState)(0),[x,v]=(0,k.useState)(!1),[A,w]=(0,k.useState)(a),[E,S]=(0,k.useState)(X),[C,T]=(0,k.useState)({}),[$,G]=(0,k.useState)([]),[W,Y]=(0,k.useState)([]),z=(0,j.useMediaQuery)("(max-width: 991px)"),V=(0,D.useRouter)(),K="field_job_functional_area",{applicationConfiguration:ee}=(0,k.useContext)(Z.default),et=(0,H.useDispatch)(),ea=(0,k.useCallback)(t=>{e.addUpdateProductPipelineFilter(t)},[et]),ei=(0,k.useCallback)(t=>e.updateProductPipelinePagination(t),[et]),er=(0,k.useCallback)(t=>e.updateProductPipelineSearchText(t),[et]),en=(0,k.useCallback)((t,a,i,r)=>e.updateAllProductPipelineFilters(t,a,i,r),[et]),es=(0,k.useCallback)(t=>e.updateProductPipelineSort(t),[et]),el=(e,t)=>(e?e.split(","):[]).includes(t),eo=(e,t)=>e.map(e=>{let a=e.attributes,i={id:e.id};return t.forEach(e=>{let t,r=(0,q.default)(e.label),n=e.field_key,s=a[n];Array.isArray(s)&&(s=s.join(", "));let l=a[`${n}_prefix`]||"",o=a[`${n}_suffix`]||"";"field_net_sales_targeted"===n?t=null==s||""===s?"NA":`${l} ${s} ${o}`.trim():(null==s&&(s=""),t=String(s));let c={title:"",desc:t,type:"text",link:""};i[r]=c,i[n]=c}),i});(0,k.useEffect)(()=>{(async()=>{c(!0);let t=await (0,R.getProductPipelineLabelData)(e.dynamicUrl);T(t);let a={searchLabel:t?.searchLabel,searchPlaceholder:t?.searchPlaceholder,SearchCTAText:t?.searchCTALabel,fieldViewPath:t?.fieldViewPath,unselectFiltersCTA:t?.clearLabel,resultsFoundLabel:t?.resultsLabel,noResultsFoundLabel:t?.noResultsLabel,applyFiltersCTA:t?.applyFiltersCTALabel,sortByCTAText:t?.sortByLabel,selectOptionText:t?.selectOptionText,alternateTheme:t?.alternateTheme},i=t?.fieldFilterColumns.map(e=>{let a=Object.entries(e.dropdown_options).map(([e,t])=>({id:e,value:e,label:t}));return{label:e.label,filterName:e.field_key,key:e.field_key,selectOptions:{isCleared:!0,isMulti:"multi-select"===e.filter_choice.trim(),options:a,ariaLabel:e.label,name:"select",placeHolder:t.selectOptionText}}}),r=t?.fieldTableDisplayColumns.reduce((e,t)=>(e[t.field_key]=t.label,e),{}),n={pipelineSearchContent:i,filtersLabels:a,displayConfig:{tableColumns:t?.fieldTableDisplayColumns.map(e=>e.label),resultsLabel:t?.resultsLabel,noResultsLabel:t?.noResultsLabel,searchUrl:t?.fieldViewPath,unselectFiltersCTA:t?.clearLabel,showFiltersCTALabel:"Show Filters",applyFiltersCTALabel:"Apply Filters",filterIconName:"filter"},tableColumns:r},s=V?.query,l=Object.keys(s);if(1===l.length&&"slug"===l[0])ea(i?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}})));else{let e=i?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(t=>({...t,isSelected:s?.[e?.filterName]&&!!el(s?.[e?.filterName],t?.value?.toString())}))}})),t={column:s?.sort_field||"",order:s?.sort_order||"ASC"};en(e,Number(s?.page??0),s?.search||"",t)}b(n),v(!0);let o=await (0,M.middlewareGETAPI)(t?.fieldViewPath),d=eo(o?.data||o?.response?.data||[],t?.fieldTableDisplayColumns);G(d),Y(d),S(Number(o?.response?.number_of_items_per_page)??0),y(o?.response?.meta?.count||d.length);let u={};
264i.forEach(e=>{u[e.key]=[]}),c(!1)})()},[]);let ec=e=>{er(e)},ed=(e,t)=>{ea(a?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>e.id===t?.id?{...e,isSelected:!1}:e)}}:a))},eu=e=>{""===n.column?es({column:e,order:"ASC"}):n.column&&n.column===e?"ASC"===n.order?es({column:e,order:"DESC"}):"DESC"===n.order&&es({column:e,order:"ASC"}):es({column:e,order:"ASC"})},eh=e=>{""===n.column||n.column!==e?es({column:e,order:n?.order}):es({column:"",order:n?.order})},ef=()=>{es({column:n?.column,order:"ASC"===n.order?"DESC":"ASC"})},ep=(e,t,a=!1)=>{let i="";return e.length&&!a&&(e.length>1?e.forEach((e,a)=>{i+=`&views-filter[${t}][${a}]=${e.id}`}):i+=t===K?`&views-filter[${t}][0]=${e[0].id}`:`&views-filter[${t}]=${e[0].id}`),i},em=(e,t)=>t.findIndex(t=>t.id===e.id)>-1,eg=(e,t)=>{z?w(A?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:em(e,t)}))}}:a)):ea(a?.map(a=>a.filterName===e?{...a,selectOptions:{...a.selectOptions,options:a.selectOptions.options?.map(e=>({...e,isSelected:em(e,t)}))}}:a))},eb=({filterName:e,selectedOptions:t})=>{let i=a.find(t=>t.filterName===e).selectOptions.options;return ep(t,e,t.length===i.length)},e_=()=>{let e={};return a?.forEach(t=>{e[`${t.filterName}`]=t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e};(0,k.useMemo)(()=>{let e=a?.map(e=>({filterName:e.filterName,selectedOptions:e.selectOptions.options?.filter(e=>e.isSelected)})),t=e?.map(e=>eb(e)).join("")?.substring(1);r&&encodeURIComponent(r),(n&&n?.column?J[n?.column]:"")&&n?.order;let s=async()=>{c(!0);let e=await (0,M.middlewareGETAPI)(`${C.fieldViewPath}&views-filter[${C.searchQueryText}]=${r}&${t}&page=${i}`);if(e&&e?.response){let t=eo(e?.data||e?.response?.data||[],C.fieldTableDisplayColumns);G(t),m(t);let a=e?.response?.meta?.count||0;S(Number(e?.response?.number_of_items_per_page)??0),y(a)}c(!1)};x&&s().then(()=>{let e=e_(),t={};Object.entries(e).forEach(([e,a])=>{t[e]=a.length?a.map(e=>e.value).join(","):""});let{protocol:i,host:r,pathname:n}=window.location,s="";Object.entries(t).forEach(([e,t])=>{s+=`&${e}=${t}`});let l=`${i}//${r}${n}?${s.substring(1)}`;window.history.replaceState({path:l},"",l),w(a)})},[t,x]);let ey=()=>{ea(A)},ex=e=>{ei(e/X)},ev=()=>{en(a?.map(e=>({...e,selectOptions:{...e.selectOptions,options:e.selectOptions.options?.map(e=>({...e,isSelected:!1}))}})),0,r||"")},eA=()=>{let e={};return A?.forEach(t=>{e[`${t.filterName}`]=t.selectOptions.options?.filter(e=>e.isSelected).map(({isSelected:e,...t})=>t)}),e},ew=e=>e>B.default.ZERO?g.displayConfig?.resultsLabel.replace("@job_count_val",e.toString()):g.displayConfig?.noResultsLabel.replace("@job_search_txt",s),eE=()=>{w(a)};return(0,N.jsx)("div",{id:"blue"===C.alternateTheme?"productPipeline-conatiner":"",children:Object.keys(g).length?(0,N.jsxs)("div",{className:"careerSearchFilter scroll-top",children:[(0,N.jsx)(U.default,{filtersOptions:g?.pipelineSearchContent,filterLabels:g.filtersLabels,handleSearch:ec,isCareerSearch:!0,isProductPipeline:!1,handleUnselectAll:ev,handleAdditionalFilters:eg,selectedFilters:z?eA():e_(),applyAdditionalFilters:ey,currentSearchText:s,handleRemoveItem:ed,handleSearchText:l,noOfResults:_,handleSortByKey:eh,handleSortByOrder:ef,sortList:g.tableColumns,selectedSortValue:n,resetLocalFilterWithReducer:eE,isDisabled:(0,Q.default)(a,A)}),!(z&&!h.length)&&(0,N.jsx)(I.Seperator,{className:"careerSearchFilter-separator"}),o&&(0,N.jsx)("div",{className:"load-container",children:(0,N.jsx)(F.default,{display:!0})}),!o&&($.length?(0,N.jsxs)("div",{children:[(0,N.jsx)(P.default,{filterData:$,columnsList:g?.displayConfig?.tableColumns,tableColumns:g?.tableColumns,handleSort:eu,sortValue:n,isProductPipeline:!1}),(0,N.jsx)("div",{className:"search-filter-pagination",children:_>E&&(0,N.jsx)("div",{className:"search-filter-pagination",children:(0,N.jsx)(L.Pagination,{itemsPerPage:E,itemsCount:_,onClick:ex,offSet:i})})})]}):(0,N.jsx)(O.TitleDescription,{title:ew(p.length)??"",description:g.displayConfig?.noResultsDesc?.value??"",searchKey:"",className:"careerSearchFilter-no-result"}))]}):(0,N.jsx)("div",{className:"load-container",children:(0,N.jsx)(F.default,{display:!0})})})},et={addUpdateProductPipelineFilter:e=>G(e),updateProductPipelinePagination:e=>W(e),updateProductPipelineSearchText:e=>Y(e),updateAllProductPipelineFilters:(e,t,a,i)=>z(e,t,a,i),updateProductPipelineSort:e=>V(e)},ea=e=>({productPipelineFilterData:e.productPipeline}),ei=(0,H.connect)(ea,et)(ee)},31947,e=>{"use strict";e.s(["default",()=>d]);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(56793),n=e.i(15739),s=e.i(5223),l=e.i(49266),o=e.i(71301);e.i(41871);var c=e.i(87612);let d=e=>{let d,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P=(0,a.c)(88),{expertListData:L,categoryListData:O,setFilters:D,searchText:M,filters:R,setSearchText:F,nfh_listing_page:B,whichComponent:U}=e,[H,$]=(0,i.useState)(!1),G=(0,c.useMediaQuery)("(max-width: 767px)");P[0]!==F?(d=e=>{F(e)},P[0]=F,P[1]=d):d=P[1];let W=d;if(P[2]!==O||P[3]!==L||P[4]!==R.category||P[5]!==R.expert||P[6]!==R.mediaType||P[7]!==B?.all_type_filter||P[8]!==B?.category_type_filter||P[9]!==B?.media_type_filter||P[10]!==M||P[11]!==D||P[12]!==F||P[13]!==U){let e;if(g=L?.map(u),P[22]!==O||P[23]!==R.category||P[24]!==R.expert.length||P[25]!==R.mediaType||P[26]!==B?.all_type_filter||P[27]!==B?.category_type_filter||P[28]!==B?.media_type_filter||P[29]!==M||P[30]!==D||P[31]!==F||P[32]!==U){let a,i,r,s=O?.map(h);P[38]!==R.category.length||P[39]!==R.expert.length||P[40]!==R.mediaType||P[41]!==M?(a=!R?.mediaType&&0===R.category.length&&0===R.expert.length&&0===M.trim().length,P[38]=R.category.length,P[39]=R.expert.length,P[40]=R.mediaType,P[41]=M,P[42]=a):a=P[42];let l=a,c=!!R?.mediaType,d=R.category.length>0;e=R.expert.length>0,A="nfh-search-filters-box",y="nfh-filters-box";let u=`nfh-filter-all ${l?"active":""}`;P[43]!==D||P[44]!==F?(i=()=>{D({mediaType:"",category:[],expert:[]}),F("")},r=e=>
264{("Enter"===e.key||" "===e.key)&&(D({mediaType:"",category:[],expert:[]}),F(""))},P[43]=D,P[44]=F,P[45]=i,P[46]=r):(i=P[45],r=P[46]);let p=B?.all_type_filter;P[47]!==l||P[48]!==i||P[49]!==r||P[50]!==p||P[51]!==u?(x=(0,t.jsx)("div",{role:"button",tabIndex:0,"aria-pressed":l,className:u,onClick:i,onKeyDown:r,children:p}),P[47]=l,P[48]=i,P[49]=r,P[50]=p,P[51]=u,P[52]=x):x=P[52],v="collections"!==U&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`filter-button ${c?"active":""}`,children:(0,t.jsx)(n.CustomDropDown,{intialValue:R?.mediaType?o.KalturaMediaTypes.filter(e=>e.value===R.mediaType):[],placeHolder:B?.media_type_filter,onValueChange:e=>{let t=e;D(e=>({...e,mediaType:t?.[0]?.value||""}))},simpleDropDownLabel:!0,ariaLabel:B?.media_type_filter,options:o.KalturaMediaTypes,name:B?.media_type_filter,isMulti:!1})}),(0,t.jsx)("div",{className:`filter-button ${d?"active":""}`,children:(0,t.jsx)(n.CustomDropDown,{intialValue:R.category.length?s.filter(e=>R.category.includes(e.value)):[],placeHolder:B?.category_type_filter,onValueChange:e=>{let t=e;D(e=>({...e,category:t.map(f)}))},simpleDropDownLabel:!0,ariaLabel:B?.category_type_filter,options:s,name:B?.category_type_filter,isMulti:!0,"aria-pressed":R.category.length>0})})]}),P[22]=O,P[23]=R.category,P[24]=R.expert.length,P[25]=R.mediaType,P[26]=B?.all_type_filter,P[27]=B?.category_type_filter,P[28]=B?.media_type_filter,P[29]=M,P[30]=D,P[31]=F,P[32]=U,P[33]=e,P[34]=y,P[35]=x,P[36]=v,P[37]=A}else e=P[33],y=P[34],x=P[35],v=P[36],A=P[37];_=`filter-button ${e?"active":""}`,m=n.CustomDropDown,b=R.expert.length?g.filter(e=>R.expert.includes(e.value)):[],P[2]=O,P[3]=L,P[4]=R.category,P[5]=R.expert,P[6]=R.mediaType,P[7]=B?.all_type_filter,P[8]=B?.category_type_filter,P[9]=B?.media_type_filter,P[10]=M,P[11]=D,P[12]=F,P[13]=U,P[14]=m,P[15]=g,P[16]=b,P[17]=_,P[18]=y,P[19]=x,P[20]=v,P[21]=A}else m=P[14],g=P[15],b=P[16],_=P[17],y=P[18],x=P[19],v=P[20],A=P[21];P[53]!==D?(w=e=>{let t=e;D(e=>({...e,expert:t.map(p)}))},P[53]=D,P[54]=w):w=P[54];let Y=B?.expert_type_filter,z=B?.expert_type_filter,V=B?.expert_type_filter,K=R.expert.length>0;P[55]!==m||P[56]!==g||P[57]!==z||P[58]!==V||P[59]!==K||P[60]!==b||P[61]!==w||P[62]!==Y?(E=(0,t.jsx)(m,{intialValue:b,isMulti:!0,onValueChange:w,placeHolder:Y,simpleDropDownLabel:!0,ariaLabel:z,options:g,name:V,"aria-pressed":K}),P[55]=m,P[56]=g,P[57]=z,P[58]=V,P[59]=K,P[60]=b,P[61]=w,P[62]=Y,P[63]=E):E=P[63],P[64]!==E||P[65]!==_?(S=(0,t.jsx)("div",{className:_,children:E}),P[64]=E,P[65]=_,P[66]=S):S=P[66],P[67]!==S||P[68]!==y||P[69]!==x||P[70]!==v?(C=(0,t.jsxs)("div",{className:y,children:[x,v,S]}),P[67]=S,P[68]=y,P[69]=x,P[70]=v,P[71]=C):C=P[71];let q=`nfh-search-box ${H&&!G?"expanded":""}`;P[72]===Symbol.for("react.memo_cache_sentinel")?(T=(0,t.jsx)("label",{htmlFor:"searchBarInputId",children:(0,t.jsx)(s.RichText,{className:"sr-only",content:"searchLabel"})}),P[72]=T):T=P[72],P[73]!==M?(N=!M&&(0,t.jsx)(l.Icon,{iconName:"Search2"}),P[73]=M,P[74]=N):N=P[74];let Q=B?.search_placeholder;return P[75]!==W||P[76]!==M||P[77]!==F||P[78]!==Q?(k=(0,t.jsx)(r.SearchBox,{currentSearchText:M,placeholderText:Q,setSearchText:F,handleSearch:W,isCleared:!0,useStateVal:!1,type:"search",setIsFocused:$}),P[75]=W,P[76]=M,P[77]=F,P[78]=Q,P[79]=k):k=P[79],P[80]!==q||P[81]!==N||P[82]!==k?(I=(0,t.jsxs)("div",{className:q,children:[T,N,k]}),P[80]=q,P[81]=N,P[82]=k,P[83]=I):I=P[83],P[84]!==C||P[85]!==I||P[86]!==A?(j=(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:A,children:[C,I]})}),P[84]=C,P[85]=I,P[86]=A,P[87]=j):j=P[87],j};function u(e){return{value:e.externalId,label:e.name}}function h(e){return{value:e,label:e}}function f(e){return e.value}function p(e){return e.value}},61572,(e,t,a)=>{var i=e.r(58629),r=e.r(68829),n=e.r(45897),s=e.r(48684),l=e.r(79858),o=e.r(13272),c=e.r(34274),d=e.r(75299),u="[object Map]",h="[object Set]",f=Object.prototype.hasOwnProperty;t.exports=function(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||o(e)||d(e)||n(e)))return!e.length;var t=r(e);if(t==u||t==h)return!e.size;if(c(e))return!i(e).length;for(var a in e)if(f.call(e,a))return!1;return!0}},26217,(e,t,a)=>{t.exports=function(e,t){for(var a=-1,i=null==e?0:e.length;++a<i&&!1!==t(e[a],a,e););return e}},4537,(e,t,a)=>{var i=e.r(78649),r=e.r(22335);t.exports=function(e,t){return e&&i(t,r(t),e)}},41933,(e,t,a)=>{var i=e.r(78649),r=e.r(73140);t.exports=function(e,t){return e&&i(t,r(t),e)}},68389,(e,t,a)=>{var i=e.r(78649),r=e.r(40811);t.exports=function(e,t){return i(e,r(e),t)}},2491,(e,t,a)=>{var i=e.r(76723),r=e.r(61978),n=e.r(40811),s=e.r(1107);t.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)i(t,n(e)),e=r(e);return t}:s},38432,(e,t,a)=>{var i=e.r(78649),r=e.r(2491);t.exports=function(e,t){return i(e,r(e),t)}},10845,(e,t,a)=>{var i=e.r(38916),r=e.r(2491),n=e.r(73140);t.exports=function(e){return i(e,n,r)}},13634,(e,t,a)=>{var i=Object.prototype.hasOwnProperty;t.exports=function(e){var t=e.length,a=new e.constructor(t);return t&&"string"==typeof e[0]&&i.call(e,"index")&&(a.index=e.index,a.input=e.input),a}},99486,(e,t,a)=>{var i=e.r(96921);t.exports=function(e,t){var a=t?i(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}},68919,(e,t,a)=>{var i=/\w*$/;t.exports=function(e){var t=new e.constructor(e.source,i.exec(e));return t.lastIndex=e.lastIndex,t}},5815,(e,t,a)=>{var i=e.r(80783),r=i?i.prototype:void 0,n=r?r.valueOf:void 0;t.exports=function(e){return n?Object(n.call(e)):{}}},44043,(e,t,a)=>{var i=e.r(96921),r=e.r(99486),n=e.r(68919),s=e.r(5815),l=e.r(74935),o="[object Boolean]",c="[object Date]",d="[object Map]",u="[object Number]",h="[object RegExp]",f="[object Set]",p="[object String]",m="[object Symbol]",g="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",y="[object Float64Array
264]",x="[object Int8Array]",v="[object Int16Array]",A="[object Int32Array]",w="[object Uint8Array]",E="[object Uint8ClampedArray]",S="[object Uint16Array]",C="[object Uint32Array]";t.exports=function(e,t,a){var T=e.constructor;switch(t){case g:return i(e);case o:case c:return new T(+e);case b:return r(e,a);case _:case y:case x:case v:case A:case w:case E:case S:case C:return l(e,a);case d:return new T;case u:case p:return new T(e);case h:return n(e);case f:return new T;case m:return s(e)}}},5701,(e,t,a)=>{var i=e.r(68829),r=e.r(32836),n="[object Map]";t.exports=function(e){return r(e)&&i(e)==n}},5964,(e,t,a)=>{var i=e.r(5701),r=e.r(63115),n=e.r(95047),s=n&&n.isMap;t.exports=s?r(s):i},11106,(e,t,a)=>{var i=e.r(68829),r=e.r(32836),n="[object Set]";t.exports=function(e){return r(e)&&i(e)==n}},10171,(e,t,a)=>{var i=e.r(11106),r=e.r(63115),n=e.r(95047),s=n&&n.isSet;t.exports=s?r(s):i},59093,(e,t,a)=>{var i=e.r(98620),r=e.r(26217),n=e.r(93035),s=e.r(4537),l=e.r(41933),o=e.r(13278),c=e.r(38402),d=e.r(68389),u=e.r(38432),h=e.r(77256),f=e.r(10845),p=e.r(68829),m=e.r(13634),g=e.r(44043),b=e.r(31785),_=e.r(48684),y=e.r(13272),x=e.r(5964),v=e.r(3275),A=e.r(10171),w=e.r(22335),E=e.r(73140),S=1,C=2,T=4,N="[object Arguments]",k="[object Array]",I="[object Boolean]",j="[object Date]",P="[object Error]",L="[object Function]",O="[object GeneratorFunction]",D="[object Map]",M="[object Number]",R="[object Object]",F="[object RegExp]",B="[object Set]",U="[object String]",H="[object Symbol]",$="[object WeakMap]",G="[object ArrayBuffer]",W="[object DataView]",Y="[object Float32Array]",z="[object Float64Array]",V="[object Int8Array]",K="[object Int16Array]",q="[object Int32Array]",Q="[object Uint8Array]",Z="[object Uint8ClampedArray]",X="[object Uint16Array]",J="[object Uint32Array]",ee={};function et(e,t,a,k,I,j){var P,D=t&S,M=t&C,F=t&T;if(a&&(P=I?a(e,k,I,j):a(e)),void 0!==P)return P;if(!v(e))return e;var B=_(e);if(B){if(P=m(e),!D)return c(e,P)}else{var U=p(e),H=U==L||U==O;if(y(e))return o(e,D);if(U==R||U==N||H&&!I){if(P=M||H?{}:b(e),!D)return M?u(e,l(P,e)):d(e,s(P,e))}else{if(!ee[U])return I?e:{};P=g(e,U,D)}}j||(j=new i);var $=j.get(e);if($)return $;j.set(e,P),A(e)?e.forEach(function(i){P.add(et(i,t,a,i,e,j))}):x(e)&&e.forEach(function(i,r){P.set(r,et(i,t,a,r,e,j))});var G=F?M?f:h:M?E:w,W=B?void 0:G(e);return r(W||e,function(i,r){W&&(i=e[r=i]),n(P,r,et(i,t,a,r,e,j))}),P}ee[N]=ee[k]=ee[G]=ee[W]=ee[I]=ee[j]=ee[Y]=ee[z]=ee[V]=ee[K]=ee[q]=ee[D]=ee[M]=ee[R]=ee[F]=ee[B]=ee[U]=ee[H]=ee[Q]=ee[Z]=ee[X]=ee[J]=!0,ee[P]=ee[L]=ee[$]=!1,t.exports=et},21679,(e,t,a)=>{var i=e.r(59093),r=1,n=4;t.exports=function(e){return i(e,r|n)}},82468,92763,3820,e=>{"use strict";e.s(["default",()=>g],82468);var t=e.i(91398),a=e.i(61576),i=e.i(31947),r=e.i(91788),n=e.i(80343),s=e.i(61572),l=e.i(21679),o=e.i(7402),c=e.i(83315);function d({payloadToKaltura:e,pageSize:t,metadataProfileId:a,mediaListFromBlockData:i,componentType:u,totalResultsCount:h,playlistPayload:f,cmsUrl:p,userData:m,cmsFilters:g,formattedFilterObject:b,whichComponent:_}){let[y,x]=(0,r.useState)({mediaType:"",category:[],expert:[]}),[v,A]=(0,r.useState)(""),[w,E]=(0,r.useState)(""),S=(0,r.useMemo)(()=>""!==v||y?.mediaType!==""||!(0,s.default)(y?.category)||!(0,s.default)(y?.expert),[y,v]);(0,r.useEffect)(()=>{let e=setTimeout(()=>E(v),1e3);return()=>clearTimeout(e)},[v]);let[C,T]=(0,r.useState)([]),[N,k]=(0,r.useState)(h),[I,j]=(0,r.useState)(!1),[P,L]=(0,r.useState)(1),[O,D]=(0,r.useState)(!1),M=(0,r.useCallback)(async(i,r=!1,s="")=>{try{let d=u!==c.COMPONENT_TYPE_COLLECTIONS?e:f,h=(0,l.default)(d);(0,o.default)(h?.filter)||(h.filter={}),String(s).trim()&&(h.filter.nameLike=`*${s}*`),y?.mediaType&&(h.filter.mediaTypeEqual=parseInt(y.mediaType,10));let x=b?.items||[];if(y.category.length>0){let e=y.category.map(e=>({field:"Category",value:e})),t=[];Array.isArray(h?.filter?.advancedSearch?.items)&&(t=[...h.filter.advancedSearch.items]),u!==c.COMPONENT_TYPE_COLLECTIONS?x=x.concat(e):(h.filter=h.filter||{},h.filter.tagsMultiLikeOr=y.expert.join(","))}if(y.expert.length>0){let e=y.expert.map(e=>({field:"Experts",value:e}));u!==c.COMPONENT_TYPE_COLLECTIONS?x=x.concat(e):(h.filter=h.filter||{},h.filter.tagsMultiLikeOr=y.expert.join(","))}u!==c.COMPONENT_TYPE_COLLECTIONS&&h?.filter?.advancedSearch&&(h.filter.advancedSearch.items=[...(0,n.createKalturaMetadataSearchItems)(x,"and"===String(g?.metaDataOperator).toLowerCase()?c.KALTURA_SEARCH_OPERATOR_AND:c.KALTURA_SEARCH_OPERATOR_OR,a)]);let v={payloadToKaltura:h,pageSize:t,pageIndex:i},{videos:A,totalResultsCount:w}=u===c.COMPONENT_TYPE_COLLECTIONS?await (0,n.fetchPlaylistsFromKalturaApi)(f,v,p,m?.serverData||null):await (0,n.fetchVideosFromKalturaApi)(v,p,m?.serverData||null,_);k(w),T(e=>r?A:[...e,...A])}catch(e){console.error("Error fetching videos:",e)}finally{j(!1),D(!1)}},[e,y,w,t,u,m,_]);(0,r.useEffect)(()=>{S?(j(!0),M(1,!0)):(T(i),k(h))},[]),(0,r.useEffect)(()=>{L(1),S?(j(!0),M(1,!0,w)):(T(i),k(h))},[y,w]);let R=(0,r.useCallback)(()=>{let e=P+1;L(e),D(!0),M(e,!1,w)},[P,w,y]);return{filters:y,setFilters:x,searchText:v,setSearchText:A,videos:C,totalResults:N,isLoading:I,isLoadMoreLoading:O,handleLoadMore:R}}e.s(["useNFHVideos",0,d],92763);var u=e.i(47631);e.i(48756);var h=e.i(47266),f=t,p=a;let m=e=>{let t,a=(0,p.c)(4),{onClick:i,isLoading:r,hasMoreResults:n,label:s}
264=e,l=void 0===s?"Load more":s;return n?(a[0]!==r||a[1]!==l||a[2]!==i?(t=(0,f.jsx)("div",{className:"load-more",children:(0,f.jsx)("button",{type:"button",className:"load-more-btn",onClick:i,disabled:r,"aria-busy":r,children:l})}),a[0]=r,a[1]=l,a[2]=i,a[3]=t):t=a[3],t):null};e.s(["default",0,m],3820);let g=e=>{let r,n,s,l,o,c,f,p,g,b=(0,a.c)(52),{listingData:_,expertListData:y,categoryListData:x,totalItems:v,payloadToKaltura:A,nfhLabels:w,componentType:E,cmsFilters:S,totalResultsCount:C,playlistPayload:T,whichComponent:N,cmsUrl:k,userData:I,formattedFilterObject:j}=e,P=v||12;b[0]!==w?(r=w??{},b[0]=w,b[1]=r):r=b[1];let{nfh_listing_page:L,metadataProfileId:O}=r;b[2]!==S||b[3]!==k||b[4]!==E||b[5]!==j||b[6]!==_||b[7]!==O||b[8]!==P||b[9]!==A||b[10]!==T||b[11]!==C||b[12]!==I||b[13]!==N?(n={payloadToKaltura:A,pageSize:P,metadataProfileId:O,mediaListFromBlockData:_,componentType:E,totalResultsCount:C,playlistPayload:T,cmsUrl:k,userData:I,cmsFilters:S,formattedFilterObject:j,whichComponent:N},b[2]=S,b[3]=k,b[4]=E,b[5]=j,b[6]=_,b[7]=O,b[8]=P,b[9]=A,b[10]=T,b[11]=C,b[12]=I,b[13]=N,b[14]=n):n=b[14];let{filters:D,setFilters:M,searchText:R,setSearchText:F,videos:B,totalResults:U,isLoading:H,isLoadMoreLoading:$,handleLoadMore:G}=d(n);return b[15]!==x||b[16]!==E||b[17]!==y||b[18]!==D||b[19]!==L||b[20]!==R||b[21]!==M||b[22]!==F||b[23]!==N?(s=E?.includes("grid")&&(0,t.jsx)(i.default,{expertListData:y,categoryListData:x,searchText:R,filters:D,setSearchText:F,setFilters:M,nfh_listing_page:L,whichComponent:N}),b[15]=x,b[16]=E,b[17]=y,b[18]=D,b[19]=L,b[20]=R,b[21]=M,b[22]=F,b[23]=N,b[24]=s):s=b[24],b[25]!==H?(l=(0,t.jsx)(h.Loader,{display:H}),b[25]=H,b[26]=l):l=b[26],b[27]!==H||b[28]!==e||b[29]!==B?(o=!H&&(0,t.jsx)(u.default,{...e,listingData:B,hideLoader:!0}),b[27]=H,b[28]=e,b[29]=B,b[30]=o):o=b[30],b[31]!==E||b[32]!==L?.no_videos_found_label||b[33]!==U?(c=U<=0&&E?.includes("grid")&&(0,t.jsx)("h4",{className:"text-center",children:L?.no_videos_found_label}),b[31]=E,b[32]=L?.no_videos_found_label,b[33]=U,b[34]=c):c=b[34],b[35]!==$?(f=(0,t.jsx)(h.Loader,{display:$}),b[35]=$,b[36]=f):f=b[36],b[37]!==E||b[38]!==G||b[39]!==$||b[40]!==H||b[41]!==L?.load_more_label||b[42]!==U||b[43]!==B.length?(p=B.length!==U&&!H&&!$&&E?.includes("grid")&&(0,t.jsx)(m,{onClick:G,isLoading:H||$,hasMoreResults:B.length!==U,label:L?.load_more_label}),b[37]=E,b[38]=G,b[39]=$,b[40]=H,b[41]=L?.load_more_label,b[42]=U,b[43]=B.length,b[44]=p):p=b[44],b[45]!==s||b[46]!==l||b[47]!==o||b[48]!==c||b[49]!==f||b[50]!==p?(g=(0,t.jsxs)("div",{className:"nfh-filter-search-container",children:[s,l,o,c,f,p]}),b[45]=s,b[46]=l,b[47]=o,b[48]=c,b[49]=f,b[50]=p,b[51]=g):g=b[51],g}},54310,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n,s,l,o,c,d,u,h=(0,a.c)(21),{onBack:f,onDownload:p,labelConfig:m}=e,g=m?.backToUploadLabel;h[0]!==f||h[1]!==g?(i=(0,t.jsxs)("div",{className:"back-link",onClick:f,children:["← ",g]}),h[0]=f,h[1]=g,h[2]=i):i=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("div",{className:"success-icon",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"84",height:"84",viewBox:"0 0 84 84",fill:"none",children:(0,t.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M41.9992 4.85645C21.4853 4.85645 4.85547 21.4863 4.85547 42.0002C4.85547 62.5141 21.4853 79.1439 41.9992 79.1439C62.5131 79.1439 79.143 62.5141 79.143 42.0002C79.143 21.4863 62.5131 4.85645 41.9992 4.85645ZM37.8754 55.2695L58.162 34.983L54.8209 31.6419L36.2064 50.2564L29.1892 43.2269L25.8452 46.5651L34.5329 55.268C34.9758 55.7117 35.5769 55.9612 36.2039 55.9614C36.8308 55.9617 37.4321 55.7128 37.8754 55.2695Z",fill:"#1A717A"})})}),h[3]=r):r=h[3];let b=m?.successTitle;h[4]!==b?(n=(0,t.jsx)("h2",{className:"title",children:b}),h[4]=b,h[5]=n):n=h[5];let _=m?.successMessage;h[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("br",{}),h[6]=s):s=h[6];let y=m?.clickTextLabel;h[7]!==_||h[8]!==y?(l=(0,t.jsxs)("p",{className:"subtitle",children:[_,s,y]}),h[7]=_,h[8]=y,h[9]=l):l=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("span",{className:"download-icon",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,t.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.673 2.8125V12.8765L15.6982 9.85124L16.6528 10.8058L12.4753 14.9834C12.3487 15.11 12.1769 
26415.1811 11.9978 15.1811C11.8187 15.181 11.647 15.1098 11.5204 14.9831L7.3473 10.8056L8.30239 9.8515L11.323 12.8753V2.8125H12.673ZM3.4877 14.5061V20.3529C3.4877 20.4413 3.55887 20.5125 3.64732 20.5125H20.3531C20.4415 20.5125 20.5127 20.4413 20.5127 20.3529V14.5061H21.8627V20.3529C21.8627 21.1869 21.1871 21.8625 20.3531 21.8625H3.64732C2.81329 21.8625 2.1377 21.1869 2.1377 20.3529V14.5061H3.4877Z",fill:"white"})})}),h[10]=o):o=h[10];let x=m?.downloadLabel;return h[11]!==p||h[12]!==x?(c=(0,t.jsxs)("button",{type:"button",className:"btn btn-primary w-100 cpsia-single-submit-btn",onClick:p,children:[o,x]}),h[11]=p,h[12]=x,h[13]=c):c=h[13],h[14]!==c||h[15]!==n||h[16]!==l?(d=(0,t.jsxs)("div",{className:"cpsia-success-card",children:[r,n,l,c]}),h[14]=c,h[15]=n,h[16]=l,h[17]=d):d=h[17],h[18]!==d||h[19]!==i?(u=(0,t.jsxs)("div",{className:"cpsia-success-wrapper",children:[i,d]}),h[18]=d,h[19]=i,h[20]=u):u=h[20],u},r=i;e.s(["CpsiaCertificateSuccess",0,i,"default",0,r])},59854,32487,e=>{"use strict";e.s(["default",()=>F],59854);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(10024),n=t,s=i,l=e.i(54310),o=t,c=a,d=e.i(15315),u=r,h=function(e){return e.CPSIA_SINGLE="CPSIA_SINGLE",e.CPSIA_BULK="CPSIA_BULK",e}({});let f="single",p="bulk";function m(e,t,a=!1){let i=[];if("CPSIA_SINGLE"!==t||"object"!=typeof e||null===e||Array.isArray(e)||(i=[{ndc:e?.ndc?.trim(),batch:e?.batch?.trim()}]),"CPSIA_BULK"===t&&"string"==typeof e){let t=e.split(/\r?\n/).map(e=>e.trim()).filter(Boolean);for(let e of(a&&t.length>0&&(t=t.slice(1)),t)){let[t,a]=e.split(",").map(e=>e.trim());t&&a&&i.push(g(t,a))}}return"CPSIA_BULK"===t&&Array.isArray(e)&&(i=e.slice(1).map(e=>{if(e.length<2)return null;let[t,a]=e;return g(t?.trim(),a?.trim())}).filter(e=>null!==e&&!!e.ndc&&!!e.batch)),{type:i.length>1?p:f,items:i}}let g=(e,t)=>({ndc:e.replace(/-/g,""),batch:t.toUpperCase()}),b=async(e,t)=>{try{let{response:a,error:i,code:r}=await (0,d.cpsiaPostAPI)(u.DOWNLOAD_CERTIFICATE_URL,e,t);if(404===r&&(a.filename=null),a?.filename)return{success:!0,errors:a.errors||[],data:a?.data,filename:a.filename,zip_path:a.zip_path,code:r};return{success:!1,error:i,code:r}}catch(e){return{success:!1,error:{message:e?.message||"Something went wrong",raw:e}}}},_=e=>e.includes("zip")?"zip":e.includes("pdf")?"pdf":"bin",y=e=>{if(!e?.data||!e?.mime_type)return;let t=atob(e.data),a=Array(t.length);for(let e=0;e<t.length;e++)a[e]=t.charCodeAt(e);let i=new Blob([new Uint8Array(a)],{type:"application/"+e.mime_type}),r=URL.createObjectURL(i),n=document.createElement("a");n.href=r,n.download=e.filename||`download.${_(e.mime_type)}`,document.body.appendChild(n),n.click(),document.body.removeChild(n),setTimeout(()=>URL.revokeObjectURL(r),5e3)},x=e=>{let t,a,i,r,n=(0,c.c)(8),{loaderWaitLabel:s,loaderProcessingLabel:l}=e;return n[0]!==s?(t=(0,o.jsxs)("p",{className:"loader-text",children:[" ",s," "]}),n[0]=s,n[1]=t):t=n[1],n[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,o.jsx)("div",{className:"rotating-loader",children:(0,o.jsx)(v,{name:"icon-loader"})}),n[2]=a):a=n[2],n[3]!==l?(i=(0,o.jsxs)("p",{children:[" ",l," "]}),n[3]=l,n[4]=i):i=n[4],n[5]!==t||n[6]!==i?(r=(0,o.jsx)("div",{className:"loader-overlay",children:(0,o.jsxs)("div",{className:"loader-content",children:[t,a,i]})}),n[5]=t,n[6]=i,n[7]=r):r=n[7],r},v=e=>{let t=(0,c.c)(10),{name:a}=e;switch(a){case"logo-from":{let e,a;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"66",viewBox:"0 0 56 66",fill:"none",children:(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.63296 4.1625C4.37225 4.1625 4.1625 4.37225 4.1625 4.63296V60.8108C4.1625 61.0715 4.37225 61.2812 4.63296 61.2812H50.604C50.8647 61.2812 51.0744 61.0715 51.0744 60.8108V22.0379H35.2803C34.7283 22.0379 34.1989 21.8186 33.8086 21.4283C33.4183 21.038 33.199 20.5086 33.199 19.9566L33.199 4.1625H4.63296ZM37.3615 7.10582L48.1311 17.8754H37.3615L37.3615 7.10582ZM0 4.63296C0 2.07336 2.07336 0 4.63296 0H35.2803C35.8323 0 36.3617 0.219274 36.752 0.609584L54.6273 18.485C55.0176 18.8753 55.2369 19.4046 55.2369 19.9566V60.8108C55.2369 63.3704 53.1636 65.4437 50.604 65.4437H4.63296C2.07336 65.4437 0 63.3704 0 60.8108V4.63296ZM16.0618 37.3481V33.1856H39.1749V37.3481H16.0618ZM39.1749 43.4059V47.5684H16.0618V43.4059H39.1749Z",fill:"#1C59B5"})}),t[0]=e):e=t[0],t[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,o.jsxs)(o.Fragment,{children:[e,(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"11",viewBox:"0 0 100 11",fill:"none",children:(0,o.jsx)("ellipse",{cx:"50",cy:"5.5",rx:"50",ry:"5.5",fill:"#D7EBFF"})})]}),t[1]=a):a=t[1],a}case"icon-clear":{let e;return t[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",{d:"M20.3247 5.36963L13.2739 12.4204L20.3247 19.4712L19.0513 20.7446L12.0005 13.6938L4.94971 20.7446L3.67627 19.4712L10.7271 12.4204L3.67627 5.36963L4.94971 4.09619L12.0005 11.147L19.0513 4.09619L20.3247 5.36963Z",fill:"#1C59B5"})}),t[2]=e):e=t[2],e}case"icon-error":{let e;return t[3]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3596 0C4.63817 0 0 4.63817 0 10.3596C0 16.0811 4.63817 20.7193 10.3596 20.7193C16.0811 20.7193 20.7193 16.0811 20.7193 10.3596C20.7193 4.63817 16.0811 0 10.3596 0ZM13.1293 6.66299L10.3623 9.42994L7.59538 6.66299L6.66353 7.59484L9.43047 10.3618L6.66353 13.1287L7.59538 14.0606L10.3623 11.2936L13.1293 14.0606L14.0611 13.1287L11.2942 10.3618L14.0611 7.59484L13.1293 6.66299Z",fill:"#C63736"})}),t[3]=e):e=t[3],e}case"icon-close-error":{let e;return t[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",children:(0,o.jsx)("path",{d:"M16.6484 1.27344L9.59766 8.32422L16.6484 15.375L15.375 16.6484L8.32422 9.59766L1.27344 16.6484L0 15.375L7.05078 8.32422L0 1.27344L1.27344 0L8.32422 7.05078L15.375 0L16.6484 1.27344Z",fill:"#C63736"})}),t[4]=e):e=t[4],e}case"icon-error-circle":{let e;return t[5]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"29",height:"29",viewBox:"0 0 29 29",fill:"none",children:(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.15 1.8C7.32928 1.8 1.8 7.32928 1.8 14.15C1.8 20.9707 7.32928 26.5 14.15 26.5C20.9707 26.5 26.5 20.9707 26.5 14.15C26.5 7.32928 20.9707 1.8 14.15 1.8ZM0 14.15C0 6.33517 6.33517 0 14.15 0C21.9648 0 28.3 6.33517 28.3 14.15C28.3 21.9648 21.9648 28.3 14.15 28.3C6.33517 28.3 0 21.9648 0 14.15Z
264M14.1529 12.8801L17.9322 9.10083L19.205 10.3736L15.4257 14.1529L19.205 17.9322L17.9322 19.205L14.1529 15.4257L10.3736 19.205L9.10081 17.9322L12.8801 14.1529L9.10081 10.3736L10.3736 9.10083L14.1529 12.8801Z",fill:"#C63736"})}),t[5]=e):e=t[5],e}case"icon-loader":{let e;return t[6]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsxs)("svg",{className:"figma-loader",width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",children:[(0,o.jsx)("circle",{cx:"32",cy:"32",r:"28",stroke:"rgba(255,255,255,0.2)",strokeWidth:"6"}),(0,o.jsx)("circle",{cx:"32",cy:"32",r:"28",stroke:"white",strokeWidth:"6",strokeLinecap:"round",strokeDasharray:"120 60",className:"loader-path"})]}),t[6]=e):e=t[6],e}case"icon-form-upload":{let e;return t[7]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"36",viewBox:"0 0 30 36",fill:"none",children:(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.5043 2.25C2.36338 2.25 2.25 2.36338 2.25 2.5043V32.8707C2.25 33.0116 2.36338 33.125 2.5043 33.125H27.3535C27.4944 33.125 27.6078 33.0116 27.6078 32.8707V11.9124H19.0704C18.772 11.9124 18.4859 11.7938 18.2749 11.5829C18.0639 11.3719 17.9454 11.0857 17.9454 10.7874L17.9454 2.25H2.5043ZM20.1954 3.84098L26.0168 9.66236H20.1954L20.1954 3.84098ZM0 2.5043C0 1.12074 1.12074 0 2.5043 0H19.0704C19.3688 0 19.6549 0.118526 19.8659 0.329505L29.5283 9.99187C29.7393 10.2028 29.8578 10.489 29.8578 10.7874V32.8707C29.8578 34.2543 28.7371 35.375 27.3535 35.375H2.5043C1.12074 35.375 0 34.2543 0 32.8707V2.5043ZM14.2642 15.6258C14.7035 15.1867 15.4157 15.1868 15.8549 15.6261L20.0994 19.8705L18.5084 21.4615L16.1844 19.1375L16.1844 26.7982H13.9344L13.9344 19.1364L11.6078 21.4617L10.0172 19.8703L14.2642 15.6258Z",fill:"#1C59B5"})}),t[7]=e):e=t[7],e}case"icon-radio-button-tick":{let e;return t[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9997 1.3877C6.13858 1.3877 1.38721 6.13907 1.38721 12.0002C1.38721 17.8613 6.13858 22.6127 11.9997 22.6127C17.8608 22.6127 22.6122 17.8613 22.6122 12.0002C22.6122 6.13907 17.8608 1.3877 11.9997 1.3877ZM10.8215 15.7914L16.6176 9.99527L15.663 9.04068L10.3446 14.3591L8.33971 12.3507L7.38428 13.3045L9.86648 15.791C9.99302 15.9178 10.1648 15.989 10.3439 15.9891C10.523 15.9892 10.6948 15.9181 10.8215 15.7914Z",fill:"#1C59B5"})}),t[8]=e):e=t[8],e}case"icon-download":{let e;return t[9]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5353 0V10.064L13.5605 7.03874L14.5151 7.99334L10.3376 12.1709C10.211 12.2975 10.0392 12.3686 9.86012 12.3686C9.68103 12.3685 9.50931 12.2973 9.38274 12.1706L5.2096 7.99309L6.1647 7.039L9.18529 10.0628V0H10.5353ZM1.35 11.6936V17.5404C1.35 17.6288 1.42118 17.7 1.50963 17.7H18.2154C18.3038 17.7 18.375 17.6288 18.375 17.5404V11.6936H19.725V17.5404C19.725 18.3744 19.0494 19.05 18.2154 19.05H1.50963C0.675593 19.05 0 18.3744 0 17.5404V11.6936H1.35Z",fill:"#1C59B5"})}),t[9]=e):e=t[9],e}default:return null}};e.s(["CertType",()=>h,"Icon",0,v,"Loader",0,x,"createCpsiaPayload",0,m,"downloadCertificateFile",0,y,"fetchCertificate",0,b,"normalizeInputs",0,g],32487);let A=({labelConfig:e,serverData:t,onBackToForm:a,onlySingle:i})=>{let{title:r,subtitle:o,ndcLabel:c,batchLabel:d,submitLabel:u,ndcRequiredLabel:f,ndcFormatLabel:p,ndcPlaceholderText:_,batchRequiredLabel:A,batchPlaceholderText:w,messages:E}=e,[S,C]=(0,s.useState)(""),[T,N]=(0,s.useState)(""),[k,I]=(0,s.useState)(!1),[j,P]=(0,s.useState)(null),[L,O]=(0,s.useState)(null),[D,M]=(0,s.useState)({ndc:!1,batch:!1}),R=(0,s.useCallback)(e=>{if(!e)return!1;let t=(e.match(/-/g)||[]).length;if(2!==t)return!1;if(2===t){if(e.startsWith("-")||e.endsWith("-"))return!1;let t=e.split("-");if(3!==t.length)return!1;let[a,i,r]=t;return!!/^\d+$/.test(a)&&!!/^\d+$/.test(i)&&!!/^\d+$/.test(r)&&!(a.length>5)&&!(i.length>4)&&!(r.length>2)}return!1},[]),F=(0,s.useCallback)(e=>{if(!e)return"";if(!R(e))return e;let t=(e.match(/-/g)||[]).length;if(2===t){let[t,a,i]=e.split("-"),r=t.padStart(5,"0"),n=a.padStart(4,"0"),s=i.padStart(2,"0");return`${r}-${n}-${s}`}return 0===t?e.padStart(11,"0"):e},[R]),B=(0,s.useMemo)(()=>R(S.trim()),[S]),U=(0,s.useMemo)(()=>T.trim().length>0,[T]),H=B&&U,$=async e=>{if(e.preventDefault(),!H)return void M({ndc:!0,batch:!0});let{ndc:a,batch:i}
264=g(F(S),T),r=m({ndc:a,batch:i},h.CPSIA_SINGLE,!1);try{I(!0);let e=await b(r,t);e.success?P(e):O(e?.error?.error)}catch(e){O(e?.message||"Something went wrong")}finally{I(!1)}},G=()=>{O(null)},W=e=>{y({data:e.data,mime_type:"pdf",filename:e.filename??""})},Y=()=>{P(null),C(""),N(""),O(null),M({ndc:!1,batch:!1}),a?.(0)};return(0,n.jsx)("div",{className:`cpsia-single-wrapper ${i&&"cpsia-only-single-form"}`,children:j?(0,n.jsx)(l.CpsiaCertificateSuccess,{onBack:()=>Y(),onDownload:()=>W(j),labelConfig:e}):(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("form",{className:"cpsia-single-card",onSubmit:$,children:[k&&(0,n.jsx)(x,{loaderWaitLabel:e?.loaderWaitLabel,loaderProcessingLabel:e?.loaderProcessingLabel}),(0,n.jsx)("div",{className:"icon-container",children:(0,n.jsx)(v,{name:"logo-from"})}),(0,n.jsx)("h2",{className:"title",tabIndex:0,children:r}),(0,n.jsx)("p",{className:"subtitle",tabIndex:0,children:o}),(0,n.jsxs)("div",{className:"form-group",children:[(0,n.jsxs)("label",{htmlFor:c,children:[c," ",(0,n.jsx)("span",{className:"required",children:"*"})]}),(0,n.jsxs)("div",{className:"input-field",children:[(0,n.jsx)("input",{type:"text",placeholder:_,value:S,onChange:e=>{C(e.target.value),L&&O(null)},onBlur:()=>{M(e=>({...e,ndc:!0}))},className:`ndc-label ${D.ndc&&!B?"input-error":""}`,name:c}),S&&(0,n.jsx)("button",{type:"button",className:"clear-btn",onClick:()=>C(""),children:(0,n.jsx)(v,{name:"icon-clear"})})]}),(0,n.jsx)("span",{className:"hint",children:p}),D.ndc&&!B&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("br",{}),(0,n.jsxs)("div",{className:"error-text-container error-text",children:[(0,n.jsx)(v,{name:"icon-error"}),(0,n.jsx)("span",{className:"error-text",children:S?.trim()?.length?E?.[0]?.ndc_format||"Invalid NDC format":f})]})]})]}),(0,n.jsxs)("div",{className:"form-group",children:[(0,n.jsxs)("label",{htmlFor:d,children:[d," ",(0,n.jsx)("span",{className:"required",children:"*"})]}),(0,n.jsxs)("div",{className:"input-field batch-number",children:[(0,n.jsx)("input",{type:"text",placeholder:w,value:T,onChange:e=>{N(e.target.value),L&&O(null)},onBlur:()=>M(e=>({...e,batch:!0})),className:`${D.batch&&!U?"input-error":""}`,name:d}),T&&(0,n.jsx)("button",{type:"button",className:"clear-btn",onClick:()=>N(""),children:(0,n.jsx)(v,{name:"icon-clear"})})]}
264),D.batch&&!U&&(0,n.jsxs)("div",{className:"error-text-container error-text batch-error",children:[(0,n.jsx)(v,{name:"icon-error"}),(0,n.jsx)("div",{className:"error-text batch-error",children:A})]})]}),L&&(0,n.jsxs)("div",{className:"error-box",children:[(0,n.jsx)("span",{children:(0,n.jsx)(v,{name:"icon-error-circle"})}),(0,n.jsx)("span",{children:L}),(0,n.jsx)("button",{type:"button",className:"clear-btn",onClick:()=>G(),children:(0,n.jsx)(v,{name:"icon-close-error"})})]}),(0,n.jsx)("button",{type:"submit",disabled:!H||!!L,className:"btn btn-primary w-100 cpsia-single-submit-btn",children:u})]})})})};var w=t,E=i;e.i(48756);var S=l,C=t,T=a,N=e.i(99523);let k=e=>{let t,a,i,r,n,s,l,o,c,d,u,h,f,p,m,g,b,_,y,x,A,w,E,S,k,j,P,L,O=(0,T.c)(75),{labelConfig:D,errorLogs:M,fileName:R,handleGoBackErrorLogPage:F}=e,{errorLogTitle:B,errorLogFilename:U,errorLogDate:H,errorLogStatus:$,errorLogStatusFailed:G,errorLogErrorCount:W,errorLogDetailsTitle:Y,downloadLogButtonText:z,errorLogDetailsNdc:V,errorLogDetailsLot:K,errorLogDetailsErrorType:q,backToUploadLabel:Q}=D;O[0]!==q||O[1]!==K||O[2]!==V||O[3]!==M||O[4]!==R?(t=()=>{if(!M||!M.length)return;let e=[V,K,q],t=R.split(".")[0],a=new Blob([[e.join(","),...M.map(I)].join("\n")],{type:"text/csv"}),i=URL.createObjectURL(a),r=document.createElement("a");r.href=i,r.download=t+"-error-log.csv",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(i)},O[0]=q,O[1]=K,O[2]=V,O[3]=M,O[4]=R,O[5]=t):t=O[5];let Z=t;O[6]!==Q||O[7]!==F?(a=(0,C.jsxs)("button",{className:"back-to-upload",onClick:F,children:["← ",Q]}),O[6]=Q,O[7]=F,O[8]=a):a=O[8],O[9]!==B?(i=(0,C.jsx)("h2",{className:"error-log-title",children:B}),O[9]=B,O[10]=i):i=O[10],O[11]!==U?(r=(0,C.jsx)("span",{className:"summary-label",children:U}),O[11]=U,O[12]=r):r=O[12];let X=R||"";O[13]!==X?(n=(0,C.jsx)("span",{className:"summary-value",children:X}),O[13]=X,O[14]=n):n=O[14],O[15]!==r||O[16]!==n?(s=(0,C.jsxs)("div",{className:"summary-item",children:[r,n]}),O[15]=r,O[16]=n,O[17]=s):s=O[17],O[18]!==H?(l=(0,C.jsx)("span",{className:"summary-label",children:H}),O[18]=H,O[19]=l):l=O[19],O[20]===Symbol.for("react.memo_cache_sentinel")?(o=(0,C.jsx)("span",{className:"summary-value",children:(0,N.default)().format("DD/MM/YYYY")}),O[20]=o):o=O[20],O[21]!==l?(c=(0,C.jsxs)("div",{className:"summary-item",children:[l,o]}),O[21]=l,O[22]=c):c=O[22],O[23]!==$?(d=(0,C.jsx)("span",{className:"summary-label",children:$}),O[23]=$,O[24]=d):d=O[24],O[25]!==G?(u=(0,C.jsx)("span",{className:"summary-value failed",children:G}),O[25]=G,O[26]=u):u=O[26],O[27]!==d||O[28]!==u?(h=(0,C.jsxs)("div",{className:"summary-item",children:[d,u]}),O[27]=d,O[28]=u,O[29]=h):h=O[29],O[30]!==W?(f=(0,C.jsx)("span",{className:"summary-label",children:W}),O[30]=W,O[31]=f):f=O[31];let J=M?.length;return O[32]!==J?(p=(0,C.jsx)("span",{className:"summary-value",children:J}),O[32]=J,O[33]=p):p=O[33],O[34]!==f||O[35]!==p?(m=(0,C.jsxs)("div",{className:"summary-item",children:[f,p]}),O[34]=f,O[35]=p,O[36]=m):m=O[36],O[37]!==c||O[38]!==h||O[39]!==m||O[40]!==s?(g=(0,C.jsxs)("div",{className:"error-log-summary",children:[s,c,h,m]}),O[37]=c,O[38]=h,O[39]=m,O[40]=s,O[41]=g):g=O[41],O[42]!==Y?(b=(0,C.jsx)("span",{className:"details-title",children:Y}),O[42]=Y,O[43]=b):b=O[43],O[44]===Symbol.for("react.memo_cache_sentinel")?(_=(0,C.jsx)(v,{name:"icon-download"}),O[44]=_):_=O[44],O[45]!==z?(y=(0,C.jsx)("span",{children:z}),O[45]=z,O[46]=y):y=O[46],O[47]!==Z||O[48]!==y?(x=(0,C.jsxs)("button",{className:"download-l
264ink",onClick:Z,children:[_,y]}),O[47]=Z,O[48]=y,O[49]=x):x=O[49],O[50]!==b||O[51]!==x?(A=(0,C.jsxs)("div",{className:"error-details-header",children:[b,x]}),O[50]=b,O[51]=x,O[52]=A):A=O[52],O[53]!==q||O[54]!==K||O[55]!==V||O[56]!==M?(w=M?.map((e,t)=>(0,C.jsxs)("div",{className:"error-table-row",children:[(0,C.jsxs)("div",{className:"cell",children:[(0,C.jsx)("span",{className:"cell-label",children:V}),(0,C.jsx)("span",{className:"cell-value",children:e?.ndc})]}),(0,C.jsxs)("div",{className:"cell",children:[(0,C.jsx)("span",{className:"cell-label",children:K}),(0,C.jsx)("span",{className:"cell-value",children:e?.batch})]}),(0,C.jsxs)("div",{className:"cell",children:[(0,C.jsx)("span",{className:"cell-label",children:q}),(0,C.jsx)("span",{className:"cell-value",children:e?.message})]})]},t)),O[53]=q,O[54]=K,O[55]=V,O[56]=M,O[57]=w):w=O[57],O[58]!==w?(E=(0,C.jsx)("div",{className:"error-table-container",children:w}),O[58]=w,O[59]=E):E=O[59],O[60]===Symbol.for("react.memo_cache_sentinel")?(S=(0,C.jsx)(v,{name:"icon-download"}),O[60]=S):S=O[60],O[61]!==z?(k=(0,C.jsx)("span",{children:z}),O[61]=z,O[62]=k):k=O[62],O[63]!==Z||O[64]!==k?(j=(0,C.jsxs)("button",{className:"download-log-btn",onClick:Z,children:[S,k]}),O[63]=Z,O[64]=k,O[65]=j):j=O[65],O[66]!==g||O[67]!==A||O[68]!==E||O[69]!==j||O[70]!==i?(P=(0,C.jsxs)("div",{className:"error-log-card",children:[i,g,A,E,j]}),O[66]=g,O[67]=A,O[68]=E,O[69]=j,O[70]=i,O[71]=P):P=O[71],O[72]!==a||O[73]!==P?(L=(0,C.jsxs)("div",{className:"error-log-wrapper",children:[a,P]}),O[72]=a,O[73]=P,O[74]=L):L=O[74],L};function I(e){return[e.ndc,e.batch,e.message].join(",")}let j=({serverData:e,onBackToForm:t,onDirtyChange:a=()=>{},labelConfig:i})=>{let{cpsiaFormTitle:r,fileUploadLabel:n,fileUploadSubLabel:s,dragDropLabel:l,browseLabel:o,fileUploadLimitLabel:c,uploadCsvLabel:d,pasteTextLabel:u,pasteTextPlaceholder:f,pasteTextNote:p,fileUploadSuccessMsg:g,removeSelectedFileText:_,viewLogText:A,uploadCsvPasteTextSeparator:C,emptyCsvFileUploadError:T,invalidHeaderCsvFileUploadError:N,invalidFormatRowUploadCsv:I,emptyValueRowUploadCsv:j,csvFileAllowedErrorMsg:P,validRowPasteTextErrorMsg:L,invalidFormatPasteTextErrorMsg:O,apiErrorMsgDefault:D,submitLabel:M}=i,[R,F]=(0,E.useState)("upload"),[B,U]=(0,E.useState)(""),[H,$]=(0,E.useState)(!1),[G,W]=(0,E.useState)(null),[Y,z]=(0,E.useState)(!1),[V,K]=(0,E.useState)(""),[q,Q]=(0,E.useState)([]),[Z,X]=(0,E.useState)(!1),[J,ee]=(0,E.useState)(null),[et,ea]=(0,E.useState)(!1),[ei,er]=(0,E.useState)(""),[en,es]=(0,E.useState)(!1),[el,eo]=(0,E.useState)(""),[ec,ed]=(0,E.useState)(!1),[eu,eh]=(0,E.useState)(!1),[ef,ep]=(0,E.useState)(null),[em,eg]=(0,E.useState)(""),eb=(0,E.useMemo)(()=>"upload"===R&&Z||"paste"===R&&en,[R,Z,en]),e_=(0,E.useCallback)(()=>{W(null),Q([]),X(!1),er(""),K(""),U(""),a?.(!1),er(""),ep(null),eg(""),ed(!1)},[]),ey=e=>(0,w.jsxs)("div",{className:"upload-error-box",children:[(0,w.jsx)("div",{className:"error-top-icon",children:(0,w.jsx)(v,{name:"icon-error"})}),e&&(0,w.jsx)("div",{className:"error-file-name",children:e}),(0,w.jsx)("div",{className:"error-message",children:ei||V}),(0,w.jsxs)("div",{className:"error-actions",children:[(0,w.jsx)("button",{type:"button",onClick:()=>{e_()},children:_}),ec&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("span",{children:"|"}),(0,w.jsx)("button",{onClick:()=>ev(),type:"button",children:A})]})]})]}),ex=e=>{if(e.length<2)return{isValid:!1,error:T};let t=e[0].map(e=>e.trim().toLowerCase());if(2!==t.length||"ndc"!==t[0]||"lot number"!==t[1])return{isValid:!1,error:N};for(let t=1;t<e.length;t++){let a=e[t];if(2!==a.length)return{isValid:!1,error:`${I} ${t+1}`};
264let i=a[0]?.trim(),r=a[1]?.trim();if(!i||!r)return{isValid:!1,error:`${j} ${t+1}`}}return{isValid:!0,error:""}},ev=()=>{eh(!0)},eA=e=>"text/csv"===e.type||e.name.toLowerCase().endsWith(".csv")?(K(""),er(""),W(e),!0):(X(!1),K(P),er(P),W(null),!1),ew=e=>{er("");let t=new FileReader;t.onload=e=>{let t=(e.target?.result).split("\n").map(e=>e.trim()).filter(e=>e.length>0).map(e=>e.split(",")),a=ex(t);if(!a.isValid){X(!1),er(a.error),Q([]);return}er(""),Q(t),X(!0)},t.readAsText(e)},eE=e=>{if(er(""),!eA(e)){K(P),W(null),X(!1);return}K(""),W(e),ew(e)},eS=e=>{F("upload"),er(""),a(!0);let t=e.target.files?.[0];eg(t?.name||""),t&&eE(t)},eC=e=>{let t=e.split("\n").map(e=>e.trim()).filter(e=>e.length>0);if(0===t.length)return{isValid:!1,data:[],error:L};for(let e=0;e<t.length;e++){let a=t[e].split(",").map(e=>e.trim());if(!a?.[0]||!a?.[1]||2!==a.length)return{isValid:!1,data:[],error:`${O} ${e+1}`}}return{isValid:!0,error:""}},eT=async t=>{t.preventDefault();let i=m("paste"===R?B:q,h.CPSIA_BULK,!1),r=i?.items?.length??0;eo(r>1?"zip":1===r?"pdf":"");try{ea(!0);let t=await b(i,e);if(t?.code===404&&t?.error?.errors){ed(!0),ep(t.error?.errors),er(D);return}if(!t.success)return void er(t?.error?.error||D);if(t?.errors&&t?.errors?.length)ed(!0),ep(t.errors),er(D);else{if(t?.zip_path&&t.filename){let e=t?.zip_path?.split("/").pop()||"";t.filename=e}ee(t),a(!1),$(!1),K(""),er("")}}catch(e){}finally{ea(!1)}},eN=e=>{y({data:J?.data,mime_type:el,filename:J.filename})},ek=()=>{Q([]),U(""),K(""),ee(null),eo(""),W(null),er(""),F("upload"),t?.(1)},eI=()=>{eh(!1),er(D)};return(0,w.jsx)(w.Fragment,{children:eu?(0,w.jsx)(k,{errorLogs:ef,fileName:em,handleGoBackErrorLogPage:eI,labelConfig:i}):(0,w.jsx)("div",{className:"cpsia-single-wrapper",children:J?(0,w.jsx)(w.Fragment,{children:(0,w.jsx)(S.default,{onBack:()=>ek(),onDownload:()=>eN(J),labelConfig:i})}):(0,w.jsxs)("form",{className:"cpsia-bulk-card",onSubmit:eT,children:[et&&(0,w.jsx)(x,{loaderWaitLabel:i?.loaderWaitLabel,loaderProcessingLabel:i?.loaderProcessingLabel}),(0,w.jsx)("div",{className:"icon-container",children:(0,w.jsx)(v,{name:"logo-from"})}),(0,w.jsx)("h2",{className:"title",children:r}),(0,w.jsxs)("div",{className:"upload-section",children:[(0,w.jsx)("div",{className:"section-header",children:(0,w.jsxs)("label",{className:"custom-radio",children:[(0,w.jsx)("input",{type:"radio",name:"bulkOption",checked:"upload"===R,onChange:()=>{e_(),F("upload")}}),(0,w.jsx)("span",{className:"radio-icon",children:(0,w.jsx)(v,{name:"icon-radio-button-tick"})}),(0,w.jsx)("span",{className:"upload-label",children:n})]})}),(0,w.jsx)("p",{className:"subtitle-text text-start mt-2 mb-4 ms-0",children:s}),(0,w.jsx)("div",{className:`upload-box
265                                        ${Y?"drag-active":""} 
266                                        ${Z&&!ei?"upload-success":""}
267                                        ${ei&&"upload"===R?"upload-error":""}
268                                    `,onClick:()=>{F("upload"),U(""),K(""),er("")},children:ei&&"upload"===R?ey(G?.name):Z?(0,w.jsxs)("div",{className:"success-content",children:[(0,w.jsx)("div",{className:"success-icon",children:"✓"}),(0,w.jsx)("div",{className:"success-file-name",children:G?.name}),(0,w.jsx)("div",{className:"success-message",children:g}),(0,w.jsx)("button",{type:"button",className:"remove-btn",onClick:()=>{W(null),Q([]),X(!1),er(""),a(!0)},children:_})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("input",{type:"file",accept:".csv",onChange:eS,className:"file-input"}),(0,w.jsxs)("div",{className:"upload-content",children:[(0,w.jsx)(v,{name:"icon-form-upload"}),(0,w.jsxs)("p",{children:[l," ",(0,w.jsx)("span",{className:"browse-text",children:o})]}),(0,w.jsx)("span",{className:"upload-hint",children:c}),(0,w.jsx)("span",{className:"upload-hint",children:d})]})]})})]}),(0,w.jsx)("div",{className:"separator",children:(0,w.jsx)("span",{children:C})}),(0,w.jsxs)("div",{className:"paste-section",children:[(0,w.jsx)("div",{className:"section-header",children:(0,w.jsxs)("label",{className:"custom-radio mb-1",children:[(0,w.jsx)("input",{type:"radio",name:"bulkOption",checked:"paste"===R,onChange:()=>{e_(),F("paste"),a?.(!0)}}),(0,w.jsx)("span",{className:"radio-icon",children:(0,w.jsx)(v,{name:"icon-radio-button-tick"})}),(0,w.jsx)("span",{className:"paste-label",children:u})]})}),ei&&"paste"===R?ey():(0,w.jsx)("textarea",{placeholder:f,value:
268B,onFocus:()=>{"paste"!==R&&e_(),F("paste"),W(null),Q([]),X(!1),er("")},onChange:e=>{let t=e.target.value;if(a?.(!0),U(t),er(""),!t.trim()){K(""),es(!1);return}let{isValid:i,error:r}=eC(t);i?(K(""),es(!0)):(K(r),es(!1))},rows:5}),(0,w.jsx)("span",{className:"hint",children:p})]}),B.trim().length>0&&!en&&"paste"===R&&V&&(0,w.jsxs)("div",{className:"error-alert",children:[(0,w.jsxs)("div",{className:"error-left",children:[(0,w.jsx)("span",{children:(0,w.jsx)(v,{name:"icon-error-circle"})}),(0,w.jsx)("span",{className:"error-text",children:V})]}),(0,w.jsx)("button",{type:"button",className:"error-close",onClick:()=>K(""),children:(0,w.jsx)(v,{name:"icon-close-error"})})]}),(0,w.jsx)("button",{type:"submit",disabled:!eb,className:`btn w-100 cpsia-bulk-submit-btn ${!eb?"disabled-btn":"enabled-btn"}`,children:M})]})})})};var P=e.i(22276),L=e.i(26012),O=e.i(14006),D=e.i(50859);e.i(35958);var M=e.i(60384);let R={CpsiaSingleCertificateForm:A,CpsiaBulkCertificateForm:j},F=e=>{let n,s,l,o,c,d,u,h,f,p,m,g,b,_,y,x,v,w,E,S,C,T,N,k,I=(0,a.c)(68),{serverData:j,labelConfig:F,isBulkCertificateEnabled:U}=e,{profile:H}=(0,P.useSelector)(B);I[0]!==H?.response?.profile?.idp?(n=H?.response?.profile?.idp?.toLowerCase()||"",I[0]=H?.response?.profile?.idp,I[1]=n):n=I[1];let $=n,[G,W]=(0,i.useState)(0),[Y,z]=(0,i.useState)(!1),[V,K]=(0,i.useState)(null),[q,Q]=(0,i.useState)(!1),Z=F?.singleTabLabel;I[2]!==Z?(s={itemID:"0",children:Z},I[2]=Z,I[3]=s):s=I[3];let X=F?.bulkTabLabel;I[4]!==X?(l={itemID:"1",children:X},I[4]=X,I[5]=l):l=I[5],I[6]!==s||I[7]!==l?(o=[s,l],I[6]=s,I[7]=l,I[8]=o):o=I[8];let J=o,ee=[{itemID:"0",component:"CpsiaSingleCertificateForm"},{itemID:"1",component:"CpsiaBulkCertificateForm"}][G],et=R[ee?.component]||null;I[9]!==G||I[10]!==q?(c=e=>{G!==e&&(q&&1===G?(K(e),z(!0)):W(e))},I[9]=G,I[10]=q,I[11]=c):c=I[11];let ea=c;I[12]!==V?(d=(e,t)=>{e||null===V||(W(V),K(null),Q(!1)),z(e)},I[12]=V,I[13]=d):d=I[13];let ei=d;if(I[14]!==U||I[15]!==$?(h=()=>{$===r.INTERNAL_USER_TYPE&&U&&W(1)}
268,u=[$,U],I[14]=U,I[15]=$,I[16]=u,I[17]=h):(u=I[16],h=I[17]),(0,i.useEffect)(h,u),$!==r.INTERNAL_USER_TYPE||!U){let e,a;return I[18]!==G?(e=()=>W(G),I[18]=G,I[19]=e):e=I[19],I[20]!==F||I[21]!==j||I[22]!==e?(a=(0,t.jsx)(A,{onlySingle:!0,labelConfig:F,serverData:j,onBackToForm:e}),I[20]=F,I[21]=j,I[22]=e,I[23]=a):a=I[23],a}I[24]!==F?.switchTabAlertMsg||I[25]!==F?.switchTabConfirmationMsg?(f=()=>(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{children:F?.switchTabAlertMsg}),(0,t.jsx)("p",{children:F?.switchTabConfirmationMsg})]}),I[24]=F?.switchTabAlertMsg,I[25]=F?.switchTabConfirmationMsg,I[26]=f):f=I[26];let er=f,en=F?.switchTabAlertTitle;I[27]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{z(!1)},I[27]=p):p=I[27],I[28]!==en?(m=(0,t.jsx)(D.ModalHeader,{titleText:en,onClose:p}),I[28]=en,I[29]=m):m=I[29],I[30]!==er?(g=(0,t.jsx)(L.ModalBody,{content:er()}),I[30]=er,I[31]=g):g=I[31];let es=F?.switchTabCancelBtnText;I[32]!==es?(b={children:es,href:"javascript:void(0);",tabindex:0},I[32]=es,I[33]=b):b=I[33];let el=F?.switchTabContinueBtnText;I[34]!==el?(_={tabindex:0,children:el},I[34]=el,I[35]=_):_=I[35],I[36]===Symbol.for("react.memo_cache_sentinel")?(y=()=>{z(!1)},I[36]=y):y=I[36],I[37]!==ei?(x=()=>ei(!1),I[37]=ei,I[38]=x):x=I[38],I[39]!==b||I[40]!==_||I[41]!==x?(v=(0,t.jsx)(O.ModalFooter,{closeBtn:b,actionBtn:_,onClose:y,onAction:x}),I[39]=b,I[40]=_,I[41]=x,I[42]=v):v=I[42],I[43]!==m||I[44]!==g||I[45]!==v?(w=(0,t.jsxs)(t.Fragment,{children:[m,g,v]}),I[43]=m,I[44]=g,I[45]=v,I[46]=w):w=I[46];let eo=w;I[47]!==G||I[48]!==ea||I[49]!==J?(E=(0,t.jsx)("div",{className:"certificate-tabs-container",children:(0,t.jsx)("div",{className:"certificate-tabs",children:J.map((e,a)=>(0,t.jsx)("button",{className:`tab-btn ${G===a?"active":""}`,onClick:()=>ea(a),children:e.children},e.itemID))})}),I[47]=G,I[48]=ea,I[49]=J,I[50]=E):E=I[50];let ec=F?.tabsTitle;return I[51]!==ec?(S=(0,t.jsx)("div",{className:"tab-content-text",children:(0,t.jsx)("span",{children:ec})}),I[51]=ec,I[52]=S):S=I[52],I[53]!==et||I[54]!==G||I[55]!==F||I[56]!==j?(C=et&&(0,t.jsx)(et,{labelConfig:F,serverData:j,onBackToForm:()=>W(G),onDirtyChange:1===G?Q:void 0}),I[53]=et,I[54]=G,I[55]=F,I[56]=j,I[57]=C):C=I[57],I[58]!==S||I[59]!==C?(T=(0,t.jsxs)("div",{className:"tab-content",children:[S,C]}),I[58]=S,I[59]=C,I[60]=T):T=I[60],I[61]!==eo||I[62]!==Y?(N=Y&&(0,t.jsx)(M.ModalPortal,{modalContent:eo,className:"cpsia-bulk-warning",wrapperId:"react-portal-wrapper"}),I[61]=eo,I[62]=Y,I[63]=N):N=I[63],I[64]!==E||I[65]!==T||I[66]!==N?(k=(0,t.jsxs)("div",{className:"cpsia-certificate-tab-container",children:[E,T,N]}),I[64]=E,I[65]=T,I[66]=N,I[67]=k):k=I[67],k};function B(e){return e?.user}},21668,e=>{"use strict";let t,a,i;e.s(["default",()=>tU],21668),e.i(50461);var r=e.i(91398),n=e.i(61576);e.i(48756);var s=e.i(6271),l=e.i(49266),o=e.i(38233),c=e.i(92822),d=e.i(82392),u=r,h=n,f=e.i(79988);let p=e=>{let t,a,i,r,n,s,l,o=(0,h.c)(17),{percentage:c,subtitle:d,type:p}=e;return o[0]!==p?(t="spray"==p&&(0,u.jsx)(f.default,{iconName:"zeroTouchCardOffersSpray",width:15.75,height:34.69}),o[0]=p,o[1]=t):t=o[1],o[2]!==p?(a="capsule"==p&&(0,u.jsx)(f.default,{iconName:"zeroTouchCardOffersCapsule",width:38.5,height:38.5}),o[2]=p,o[3]=a):a=o[3],o[4]!==t||o[5]!==a?(i=(0,u.jsxs)("div",{className:"zerotouchcardoffer-card__icon zerotouchcardoffer-icon-circle",children:[t,a]}),o[4]=t,o[5]=a,o[6]=i):i=o[6],o[7]!==c?(r=(0,u.jsxs)("h2",{className:"zerotouchcardoffer-card__value",children:[c,"%"]}),o[7]=c,o[8]=r):r=o[8],o[9]!==d?(n=(0,u.jsx)("p",{className:"zerotouchcardoffer-card__subtitle",children:d}),o[9]=d,o[10]=n):n=o[10],o[11]!==r||o[12]!==n?(s=(0,u.jsxs)("div",{className:"zerotouchcardoffer-card__content",children:[r,n]}),o[11]=r,o[12]=n,o[13]=s):s=o[13],o[14]!==i||o[15]!==s?(l=(0,u.jsxs)("div",{className:"zerotouchcardoffer-card",children:[i,s]}),o[14]=i,o[15]=s,o[16]=l):l=o[16],l};var m=r,g=n,b=e.i(91788);e.i(41871);var _=e.i(87612),y=r,x=b,v=e.i(75425);let A=({value:e,onChange:t,min:a=0,max:i=9999,label:r,tooltipMessage:n,enableInput:s=!1,inputMaxLength:l=4})=>{let o=()=>t(Math.max(a,e-v.default.ONE)),c=()=>t(Math.min(i,e+v.default.ONE)),d=(0,x.useCallback)(e=>{let r=Math.min(i,Number(e.target.value));r<a&&(r=a),"number"!=typeof r||Number.isNaN(r)?t(0):t(Number(r))},[]);return(0,y.jsxs)("div",{className:"stepper",role:"group","aria-label":`Quantity selector for pack size ${r}`,children:[(0,y.jsx)("button",{type:"button",onClick:o,disabled:e<=a,"aria-label":`Decrease quantity for pack size ${r}`,className:"stepper-button",children:(0,y.jsxs)("div",{className:"stepper-button-text",children:[(0,y.jsx)("span",{className:"stepper-button-operator",children:"-"}),(0,y.jsx)("span",{children:v.default.ONE})]})}),s?(0,y.jsx)("input",{maxLength:l,type:"text",name:"stepper-input",value:e,onCh
268ange:d,className:`stepper-input stepper-value ${0==e?"stepper-value-disabled":""} `,"aria-live":"polite"}):(0,y.jsx)("span",{className:`stepper-value ${0==e?"stepper-value-disabled":""} `,"aria-live":"polite",children:e}),(0,y.jsx)("button",{type:"button",onClick:c,disabled:e>=i,"aria-label":`Increase quantity for pack size ${r}`,className:"stepper-button","data-bs-toggle":"tooltip","data-bs-placement":"bottom",title:n,children:(0,y.jsxs)("div",{className:"stepper-button-text",children:[(0,y.jsx)("span",{children:"+"}),(0,y.jsx)("span",{children:v.default.ONE})]})})]})};var w=e.i(5223);let E=e=>{let t,a,i,r,n,s,l,o,c,d,u=(0,g.c)(32),{product:h,tooltipMessage:f,setSelectedQuantity:p,selectedQuantity:y,labelConfig:x,campaignDescription:v}=e,E=(0,_.useMediaQuery)("(max-width: 767px)");u[0]!==h?(t=Array.isArray(h?.packages)?h.packages:[],u[0]=h,u[1]=t):t=u[1];let C=t,[T,N]=(0,b.useState)("");u[2]!==C?(a=C.length>0&&C.some(S),u[2]=C,u[3]=a):a=u[3];let k=a,[I,j]=(0,b.useState)(k?C[0]:null);u[4]!==p?(i=(e,t)=>{p(a=>({...a,[e]:t}))},u[4]=p,u[5]=i):i=u[5];let P=i;if(!h)return null;let L=h?.primaryImage||"",O=h?.productName||"";return u[6]!==L||u[7]!==O?(r=(0,m.jsx)("div",{className:"image-frame",children:(0,m.jsx)("img",{src:L,alt:O,className:"product-image"})}),u[6]=L,u[7]=O,u[8]=r):r=u[8],u[9]!==h?.productName?(n=h?.productName&&(0,m.jsx)("h2",{className:"product-title mt-4 mt-md-0 mb-0",children:h?.productName}),u[9]=h?.productName,u[10]=n):n=u[10],u[11]!==v?(s=v&&(0,m.jsx)(w.RichText,{content:v}),u[11]=v,u[12]=s):s=u[12],u[13]!==s?(l=(0,m.jsx)("span",{className:"top-choice-pill align-self-start",children:s}),u[13]=s,u[14]=l):l=u[14],u[15]!==T||u[16]!==k||u[17]!==E||u[18]!==x||u[19]!==C||u[20]!==I||u[21]!==y||u[22]!==P||u[23]!==f?(o=E&&k?(0,m.jsx)("div",{className:"pack-list gap-3 d-flex flex-column",children:(0,m.jsxs)("div",{className:"row",children:[(0,m.jsx)("div",{className:"field-label",children:x.packSizeLabel}),(0,m.jsx)("div",{className:"col-12 gap-2 d-flex flex-row",children:C?.length>0&&C?.map(e=>(0,m.jsx)("div",{className:I?.pzn===e.pzn?"field-value package-size active":"field-value package-size",onClick:()=>j(e),children:e.packsize},e?.pzn))}),(0,m.jsxs)("div",{className:"col-12 gap-3 d-flex flex-column",children:[(0,m.jsx)("div",{className:"field-label text-uppercase",children:x.pznLabel}),I?.pzn&&(0,m.jsx)("div",{className:"field-value",children:I?.pzn})]}),(0,m.jsxs)("div",{className:"col-12 d-flex flex-column align-items-start gap-3 position-relative",children:[(0,m.jsx)("div",{className:"field-label text-captalize",children:x.quantityLabel}),I?.pzn&&(0,m.jsx)(A,{enableInput:!0,label:String(I?.packsize??""),value:y[I.pzn]||0,onChange:e=>{I?.pzn&&"number"==typeof e&&!Number.isNaN(e)&&(N(I.pzn),P(I.pzn,e))}}),f&&T===I.pzn&&(0,m.jsxs)("div",{className:"rebate-tooltip",children:[(0,m.jsx)("span",{className:"tooltip-arrow"}),(0,m.jsx)("span",{className:"tooltip-msg",children:f})]})]})]})}):(0,m.jsx)("div",{className:"pack-list gap-3 d-flex flex-column",children:k&&C.map((e,t)=>(0,m.jsx)("div",{className:`pack-row align-items-center g-2 p-3 ${t!==C.length-1?"border-bottom":""}`,children:(0,m.jsxs)("div",{className:"row",children:[(0,m.jsxs)("div",{className:"col-4 gap-3 d-flex flex-column",children:[(0,m.jsx)("div",{className:"field-label",children:x.packSizeLabel}),(0,m.jsx)("div",{className:"field-value",children:e.packsize})]}),(0,m.jsxs)("div",{className:"col-4 gap-3 d-flex flex-column",children:[(0,m.jsx)("div",{className:"field-label",children:x.pznLabel}),(0,m.jsx)("div",{className:"field-value",children:e.pzn})]}),(0,m.jsxs)("div",{className:"col-4 d-flex flex-column align-items-start gap-3 position-relative",children:[(0,m.jsx)("div",{className:"field-label",children:x.quantityLabel}),e?.pzn&&(0,m.jsx)(A,{enableInput:!0,label:String(e?.packsize??""),value:y[e.pzn]||0,onChange:t=>{"number"!=typeof t||Number.isNaN(t)||(N(e.pzn),P(e.pzn,t))},tooltipMessage:f}),f&&T===e.pzn&&(0,m.jsxs)("div",{className:"rebate-tooltip",children:[(0,m.jsx)("span",{className:"tooltip-arrow"}),(0,m.jsx)("span",{className:"tooltip-msg",children:f})]})]})]})},e.pzn))}),u[15]=T,u[16]=k,u[17]=E,u[18]=x,u[19]=C,u[20]=I,u[21]=y,u[22]=P,u[23]=f,u[24]=o):o=u[24],u[25]!==o||u[26]!==n||u[27]!==l?(c=(0,m.jsxs)("div",{className:"product-card-info d-flex flex-column gap-3 flex-grow-1",children:[n,l,o]}),u[25]=o,u[26]=n,u[27]=l,u[28]=c):c=u[28],u[29]!==c||u[30]!==r?(d=(0,m.jsxs)("div",{className:"zero-touch-product-card mx-auto",children:[r,c]}),u[29]=c,u[30]=r,u[31]=d):d=u[31],d};function S(e){return e&&"object"==typeof e}var C=r,T=n,N=l,k=_,I=b;let j=e=>{let t,a,i,r,n,s,l,o,c,d,u,h,f,p=(0,T.c)(35),{productData:m,setSelectedQuantity:g,labelConfig:b}=e;p[0]!==m?(t=void 0===m?[]:m,p[0]=m,p[1]=t):t=p[1];let _=t,y=(0,k.useMediaQuery)("(max-width: 767px)"),[,x]=(0,I.useState)("");p[2]===Symbol.for("react.memo_cache_sentinel")?(a={},p[2]=a):a=p[2];let[v,w]=(0,I.useState)(a);p[3]!==_?(i=()=>{w(e=>{let t={...e};return _.forEach((e,a)=>{!t[a]&&e.packages?.length>0&&(t[a]=e.packages[0].pzn)}),t})}
268,p[3]=_,p[4]=i):i=p[4],p[5]!==_.length?(r=[_.length],p[5]=_.length,p[6]=r):r=p[6],(0,I.useEffect)(i,r),p[7]!==_[0]||p[8]!==_.length?(n=()=>{_?.length>0&&_[0]?.packages?.length>0&&x(_[0].packages[0].pzn)},p[7]=_[0],p[8]=_.length,p[9]=n):n=p[9],p[10]!==_?(s=[_],p[10]=_,p[11]=s):s=p[11],(0,I.useEffect)(n,s),p[12]===Symbol.for("react.memo_cache_sentinel")?(l=(e,t)=>{w(a=>({...a,[e]:t.pzn}))},p[12]=l):l=p[12];let E=l;p[13]!==g?(o=(e,t)=>{g(a=>({...a,[t]:e}))},p[13]=g,p[14]=o):o=p[14];let S=o;return _.reduce(L,0),p[15]!==b.formSummaryTitle?(c=(0,C.jsx)("h2",{className:"form-summary-title",children:b.formSummaryTitle}),p[15]=b.formSummaryTitle,p[16]=c):c=p[16],p[17]!==b.formSummaryDescription?(d=(0,C.jsx)("p",{className:"form-summary-description",children:b.formSummaryDescription}),p[17]=b.formSummaryDescription,p[18]=d):d=p[18],p[19]!==c||p[20]!==d?(u=(0,C.jsxs)("div",{className:"form-summary-inner",children:[c,d]}),p[19]=c,p[20]=d,p[21]=u):u=p[21],p[22]!==y||p[23]!==b.emptyCartMessage||p[24]!==b.noItemAddedTitle||p[25]!==b.packSizeLabel||p[26]!==b.pznLabel||p[27]!==b.quantityLabel||p[28]!==_||p[29]!==v||p[30]!==S?(h=_?.length?(0,C.jsxs)("div",{className:"overflow-hidden rounded-lg shadow-sm rounded-block zero-touch-summary-with-products bg-white",children:[(0,C.jsx)("div",{className:"bg-white d-flex flex-column product-row-container",children:Array.isArray(_)&&_.map((e,t)=>(0,C.jsxs)("div",{className:"product-row",children:[(0,C.jsx)("div",{className:"px-0",children:(0,C.jsx)("div",{className:"product-name pb-3",children:(0,C.jsx)("h3",{className:"product-title",children:e?.productName||""})})}),e?.packages?.map((e,t)=>(0,C.jsxs)("div",{className:"row gap-0 pack-row align-items-center",children:[(0,C.jsx)("div",{className:"col-6 col-md-8 px-0",children:(0,C.jsxs)("div",{className:"row gap-3 gap-md-0 align-item-center ",children:[(0,C.jsxs)("div",{className:"col-12 col-md-6 col-lg-7",children:[(0,C.jsxs)("span",{className:"field-label",children:[b.packSizeLabel,":"]}),(0,C.jsx)("span",{className:"field-Value",children:e.packsize})]}),(0,C.jsxs)("div",{className:"col-12 col-md-6 col-lg-5",children:[(0,C.jsxs)("span",{className:"field-label",children:[b.pznLabel,":"]}),(0,C.jsx)("span",{className:"field-Value",children:e.pzn})]})]})},`${e.pzn}-${t}`),(0,C.jsx)("div",{className:"col-6 col-md-4 pe-0",children:(0,C.jsx)("div",{className:"quantity-Stepper",children:(0,C.jsx)(A,{enableInput:!0,label:String(e.packsize),value:e.quantity??0,onChange:t=>S(t,e.pzn)})})})]}))]},`${e.productName}-${t}`))}),(0,C.jsx)("div",{className:"d-none product-card mx-auto",children:(0,C.jsx)("div",{className:"p-6",children:(0,C.jsx)("div",{className:"row space-y-8 m-0 product-inner",children:Array.isArray(_)&&_.map((e,t)=>{let a=e.packages.find(e=>e.pzn===v[t])||e.packages[0];return(0,C.jsx)("div",{className:"col-sm product-items bg-white",children:(0,C.jsxs)("div",{className:"product-info",children:[(0,C.jsx)("h3",{className:"product-title",children:e?.productName||""}),(0,C.jsxs)("div",{className:"d-flex flex-column product-feature",children:[!y&&e?.packages?.map((e,t)=>(0,C.jsxs)("div",{className:"product-attributes",children:[(0,C.jsxs)("div",{className:"field",children:[(0,C.jsxs)("span",{className:"field-label",children:[b.packSizeLabel,":"]}),(0,C.jsx)("span",{className:"field-Value",children:e.packsize})]}),(0,C.jsxs)("div",{className:"field",children:[(0,C.jsxs)("span",{className:"field-label",children:[b.pznLabel,":"]}),(0,C.jsx)("span",{className:"field-Value",children:e.pzn})]}),(0,C.jsxs)("div",{className:"flex items-center quantity-Stepper",children:[(0,C.jsx)(A,{enableInput:!0,label:String(e.packsize),value:e.quantity??0,onChange:t=>S(t,e.pzn)}),(0,C.jsxs)("span",{className:"field-Value gap-1 d-flex",children:[(0,C.jsx)("span",{children:"EUR"}),Number(e.sellPrice||0).toFixed(3)," x ",e.quantity??0]})]})]},`${e.pzn}-${t}`)),y&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("div",{className:"product-lable-value",children:[(0,C.jsx)("div",{className:"field-label text-capitalize",children:b.packSizeLabel}),(0,C.jsx)("div",{className:"col-12 gap-2 d-flex flex-row",children:e.packages.map((e,a)=>(0,C.jsx)("div",{className:`pzn-text packeSize ${v[t]===e.pzn?"active":""}`,onClick:()=>E(t,e),children:e.packsize},`${e.pzn}-${a}
268`))})]}),(0,C.jsxs)("div",{className:"col-12 product-lable-value",children:[(0,C.jsx)("div",{className:"field-label text-uppercase",children:b.pznLabel}),(0,C.jsx)("div",{className:"field-Value",children:a?.pzn})]}),(0,C.jsxs)("div",{className:"col-12 align-items-start product-lable-value",children:[(0,C.jsx)("div",{className:"field-label text-capitalize",children:b.quantityLabel}),a&&(0,C.jsxs)("div",{className:"flex items-center quantity-Stepper gap-2",children:[(0,C.jsx)(A,{enableInput:!0,label:String(a.packsize),value:a.quantity??0,onChange:e=>S(e,a.pzn)}),(0,C.jsxs)("span",{className:"field-Value gap-1 d-flex",children:[(0,C.jsx)("span",{children:"EUR"}),Number(a.sellPrice||0).toFixed(3)," x ",a.quantity??0]})]})]})]})]})]})},`${e.productName}-${t}`)})})})})]}):(0,C.jsxs)("section",{className:"zero-touch-no-form-summary-card mx-auto bg-white",children:[(0,C.jsx)(N.Icon,{iconName:"zeroTouchCardOrderSummaryCart",width:180,height:100}),(0,C.jsxs)("div",{className:"content-section",children:[(0,C.jsx)("div",{className:"content-section-heading",children:b.noItemAddedTitle}),(0,C.jsx)("div",{className:"content-section-summary",children:b.emptyCartMessage})]})]}),p[22]=y,p[23]=b.emptyCartMessage,p[24]=b.noItemAddedTitle,p[25]=b.packSizeLabel,p[26]=b.pznLabel,p[27]=b.quantityLabel,p[28]=_,p[29]=v,p[30]=S,p[31]=h):h=p[31],p[32]!==u||p[33]!==h?(f=(0,C.jsx)("div",{className:"zero-touch-form-summary-card mx-auto",children:(0,C.jsxs)("div",{className:"form-summary-header",children:[u,h]})}),p[32]=u,p[33]=h,p[34]=f):f=p[34],f};function P(e,t){return e+Number(t.sellPrice||0)*Number(t.quantity||0)}function L(e,t){return e+(t.packages??[]).reduce(P,0)}var O=r,D=e.i(8754),M=b;function R(e){return/^(?!.*\.\.)[a-zA-Z0-9._-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/.test(e)}var F=e.i(32487),B=e.i(75366);let U=({configData:e,customerId:t,email:a,setEmail:i,splitOrderFlag:r,setSplitOrderFlag:n,selectedWholesaler:s,setSelectedWholesaler:l,labelConfig:o,isCustomerIdEnabled:c,setCustomerId:d})=>{let[u,h]=(0,M.useState)(""),f=(0,M.useCallback)(e=>{let t=e.target.value;i(t),t?R(t)?h(""):h(o?.emailInvalidText):h(o?.emailRequiredText)},[o]),p=e?.wholesellers_id?.map(e=>({label:e?.name,value:e?.id})),m=e=>{l(e)};return e?.wholesellers_id?.find(e=>e.name===s),(0,O.jsxs)("div",{className:"zero-touch-order-details",children:[(0,O.jsxs)("div",{className:"zero-touch-order-details__header",children:[(0,O.jsx)("h1",{className:"zero-touch-order-details__title",children:o.orderDetailsTitle}),(0,O.jsx)("p",{className:"zero-touch-order-details__description",children:o.orderDetailsDescription})]}),(0,O.jsx)("div",{className:"zero-touch-order-details__card",children:(0,O.jsxs)("div",{className:"zero-touch-order-details__grid",children:[(0,O.jsxs)("div",{className:"form-group",children:[(0,O.jsx)("label",{className:"form-label",children:o.wholesalerLabel}),(0,O.jsx)(D.default,{value:s,onSortChange:m,sortLabels:{sort_title:"",sort_options:[]},placeholder:"Please select",customOptions:p,isDisabled:!1,isSearchable:!0})]}),(0,O.jsxs)("div",{className:"form-group",children:[(0,O.jsx)("label",{className:"form-label required",children:o.emailAddressLabel}),(0,O.jsx)("input",{type:"email",value:a,onChange:f,placeholder:o.emailInputPlaceholder,className:`form-input ${u?"form-input--error":""}`}),u&&(0,O.jsxs)("div",{className:"field-error",children:[(0,O.jsx)(F.Icon,{name:"icon-error"}),u]})]}),c&&(0,O.jsxs)("div",{className:"form-group",children:[(0,O.jsx)("label",{className:"form-label required",children:o.hcoNumberLabel}),(0,O.jsx)("input",{type:"text",value:t,onChange:e=>{d(e?.target?.value?.replace(/[^a-zA-Z0-9]/g,""))},className:"form-input"})]}),(0,O.jsxs)("div",{className:"form-group",children:[(0,O.jsx)("label",{className:"form-label",children:o.splitFlagLabel}),(0,O.jsx)("div",{className:"checkbox-wrapper",children:(0,O.jsx)(B.CheckBox,{label:o.splitOrderAcrossPharmaciesLabel,value:"",isChecked:"1"===r,onChange:e=>n(e.target.checked?"1":"0")})})]})]})})]})};var H=r,$=n;let G=e=>{let t,a,i,r,n,s=(0,$.c)(11),{labelConfig:l}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,H.jsx)("div",{className:"success-icon",children:(0,H.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"84",height:"84",viewBox:"0 0 84 84",fill:"none",children:(0,H.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M41.9992 4.85645C21.4853 4.85645 4.85547 21.4863 4.85547 42.0002C4.85547 62.5141 21.4853 79.1439 41.9992 79.1439C62.5131 79.1439 79.143 62.5141 79.143 42.0002C79.143 21.4863 62.5131 4.85645 41.9992 4.85645ZM37.8754 55.2695L58.162 34.983L54.8209 31.6419L36.2064 50.2564L29.1892 43.2269L25.8452 46.5651L34.5329 55.268C34.9758 55.7117 35.5769 55.9612 36.2039 55.9614C36.8308 55.9617 37.4321 55.7128 37.8754 55.2695Z",fill:"#1A717A"})})}),s[0]=t):t=s[0],s[1]!==l.congratulationsTitle?(a=(0,H.jsx)("h2",{className:"title",children:l.congratulationsTitle}),s[1]=l.congratulationsTitle,s[2]=a):a=s[2],s[3]!==l.orderSuccessMessage?(i=(0,H.jsx)("p",{className:"subtitle",children:l.orderSuccessMessage}),s[3]=l.orderSuccessMessage,s[4]=i):i=s[4],s[5]!==l.placeAnotherOrderButtonText?(r=(0,H.jsx)("button",{type:"button",className:"btn btn-primary w-100 zerotouch-single-submit-btn",onClick:W,children:l.placeAnotherOrderButtonText}),s[5]=l.placeAnotherOrderButtonText,s[6]=r):r=s[6],s[7]!==a||s[8]!==i||s[9]!==r?(n=(0,H.jsx)("div",{className:"zerotouch-success-wrapper zero-touch-hide-parents",children:(0,H.jsxs)("div",{className:"zerotouch-success-card",children:[t,a,i,r]})}),s[7]=a,s[8]=i,s[9]=r,s[10]=n):n=s[10],n};function W(){window.location.reload()}var Y=e.i(7402),z=e.i(15315);let V=async(e,t,a)=>{try{return await (0,z.middlewarePostAPI)(e,t,!1,a)||{}}catch(e){return e}},K=(e,t)=>{let a={};return Object.entries(t).forEach(([t,i])=>{if(0===i)return;let r=e[t];if(!r)return;let n=r.productName;a[n]||(a[n]={productname:n,order_items:[]}),a[n].order_items.push({item_no:t,quantity:i,pack_size:r.packsize,status:""})}),Object.values(a)},q=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,t.packageMaxRebateQty])),Q=e=>{try{let t=JSON.parse(atob(e.split(".")[1]?.replace(/-/g,"+").replace(/_/g,"/")??""));return(0,Y.default)(t)?t:{}}catch{return{}}};
268var Z=e.i(3828),X=r,J=n,ee=b;function et(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}function ea(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function ei(e,t=0){return setTimeout(e,t)}function er(){return Date.now()}function en(e){return window.getComputedStyle(e,null)}function es(e,t="x"){let a=en(e),i=a.transform||a.webkitTransform;if(!i||"none"===i)return 0;let r=new DOMMatrixReadOnly(i);return"x"===t?r.m41:r.m42}function el(e){return"object"==typeof e&&null!==e&&e.constructor===Object&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function eo(e){return!!("u">typeof HTMLElement&&e instanceof HTMLElement)||!!e&&"object"==typeof e&&(1===e.nodeType||11===e.nodeType)}function ec(e,...t){let a=Object(e);for(let e=0;e<t.length;e+=1){let i=t[e];if(null==i||eo(i))continue;let r=i;for(let e of Object.keys(Object(r)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e)){let t=Object.getOwnPropertyDescriptor(r,e);if(!t||!t.enumerable)continue;let i=r[e];el(a[e])&&el(i)?i.__swiper__?a[e]=i:ec(a[e],i):!el(a[e])&&el(i)?(a[e]={},i.__swiper__?a[e]=i:ec(a[e],i)):a[e]=i}}return a}function ed(e,t,a){e.style.setProperty(t,a)}function eu(e,t=""){let a=[...e.children];return e instanceof HTMLSlotElement&&a.push(...e.assignedElements()),t?a.filter(e=>e.matches(t)):a}function eh(e,t){let a=[t];for(;a.length>0;){let t=a.shift();if(e===t)return!0;a.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}return!1}function ef(e,t){let a=t.contains(e);return!a&&t instanceof HTMLSlotElement&&((a=[...t.assignedElements()].includes(e))||(a=eh(e,t))),a}function ep(e){try{console.warn(e)}catch{}}function em(e,t=[]){let a=document.createElement(e);return a.classList.add(...Array.isArray(t)?t:et(t)),a}function eg(e,t){let a=[],i=e.previousElementSibling;for(;i;)(!t||i.matches(t))&&a.push(i),i=i.previousElementSibling;return a}function eb(e,t){let a=[],i=e.nextElementSibling;for(;i;)(!t||i.matches(t))&&a.push(i),i=i.nextElementSibling;return a}function e_(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function ey(e){if(e&&e.parentNode)return[...e.parentNode.children].indexOf(e)}function ex(e,t){let a=[],i=e.parentElement;for(;i;)(!t||i.matches(t))&&a.push(i),i=i.parentElement;return a}function ev(e,t,a){{let a=window.getComputedStyle(e,null);return e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(a.getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(a.getPropertyValue("width"===t?"margin-left":"margin-bottom"))}}function eA(e,t=""){let a=globalThis.trustedTypes;void 0!==a?e.innerHTML=a.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let ew=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function eE(e){if("object"!=typeof e||null===e)return!1;let t=e;return!!t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)&&!t.__swiper__}function eS(e,t){let a=["__proto__","constructor","prototype"],i=e,r=t;return Object.keys(r).filter(e=>0>
268a.indexOf(e)).forEach(e=>{let t=r[e],a=i[e];void 0===a?i[e]=t:eE(t)&&eE(a)&&Object.keys(t).length>0?t.__swiper__?i[e]=t:eS(a,t):i[e]=t}),e}function eC(e={}){let t=e.navigation;return!!t&&(!0===t||void 0===t.nextEl&&void 0===t.prevEl)}function eT(e={}){let t=e.pagination;return!!t&&(!0===t||void 0===t.el)}function eN(e={}){let t=e.scrollbar;return!!t&&(!0===t||void 0===t.el)}function ek(e=""){let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),a=[];return t.forEach(e=>{0>a.indexOf(e)&&a.push(e)}),a.join(" ")}function eI(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function ej(e){let t,a,i,r,n,s,l,o,{nextEl:c,prevEl:d,scrollbarEl:u,paginationEl:h}=e,{swiper:f,slides:p,passedParams:m,changedParams:g}=e,b=g.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:_,pagination:y,navigation:x,scrollbar:v,virtual:A,thumbs:w}=f,E=m,S=_,C=E.thumbs,T=S.thumbs;g.includes("thumbs")&&eE(C)&&C.swiper&&!C.swiper.destroyed&&eE(T)&&(!T.swiper||T.swiper.destroyed)&&(t=!0);let N=E.controller,k=S.controller;g.includes("controller")&&eE(N)&&N.control&&eE(k)&&!k.control&&(a=!0);let I=E.pagination;g.includes("pagination")&&eE(I)&&(I.el||h)&&(S.pagination||!1===S.pagination)&&y&&!y.el&&(i=!0);let j=E.scrollbar;g.includes("scrollbar")&&eE(j)&&(j.el||u)&&(S.scrollbar||!1===S.scrollbar)&&v&&!v.el&&(r=!0);let P=E.navigation;g.includes("navigation")&&eE(P)&&(P.prevEl||d)&&(P.nextEl||c)&&(S.navigation||!1===S.navigation)&&x&&!x.prevEl&&!x.nextEl&&(n=!0);let L=e=>{let t=f[e];if(!t)return;t.destroy();let a=S[e],i=eE(a)?a:void 0;"navigation"===e?(f.isElement&&(t.prevEl?.remove(),t.nextEl?.remove()),i&&(i.prevEl=void 0,i.nextEl=void 0),t.prevEl=void 0,t.nextEl=void 0):(f.isElement&&t.el?.remove(),i&&(i.el=void 0),t.el=void 0)};if(g.includes("loop")&&f.isElement&&(_.loop&&!m.loop?s=!0:!_.loop&&m.loop?l=!0:o=!0),b.forEach(e=>{let t=S[e],a=E[e];eE(t)&&eE(a)?(Object.assign(t,a),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in a&&!a.enabled&&L(e)):(!0===a||!1===a)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===a&&L(e):S[e]=a}),b.includes("controller")&&!a&&f.controller&&f.controller.control&&eE(k)&&k.control&&(f.controller.control=k.control),g.includes("children")&&p&&A&&_.virtual?.enabled?(A.slides=p,A.update(!0)):g.includes("virtual")&&A&&_.virtual?.enabled&&(p&&(A.slides=p),A.update(!0)),g.includes("children")&&p&&_.loop&&(o=!0),t&&w&&w.init()&&w.update(!0),a&&f.controller&&eE(k)&&(f.controller.control=k.control),i&&y){if(f.isElement&&(!h||"string"==typeof h)){let e=document.createElement("div");e.classList.add("swiper-pagination"),e.part.add("pagination"),f.el.appendChild(e),h=e}let e=S.pagination;h&&eE(e)&&(e.el=h),y.init(),y.render(),y.update()}if(r&&v){if(f.isElement&&(!u||"string"==typeof u)){let e=document.createElement("div");e.classList.add("swiper-scrollbar"),e.part.add("scrollbar"),f.el.appendChild(e),u=e}let e=S.scrollbar;u&&eE(e)&&(e.el=u),v.init(),v.updateSize(),v.setTranslate()}if(n&&x){if(f.isElement){if(!c||"string"==typeof c){let e=document.createElement("div");e.classList.add("swiper-button-next"),eA(e,x.arrowSvg),e.part.add("button-next"),f.el.appendChild(e),c=e}if(!d||"string"==typeof d){let e=document.createElement("div");e.classList.add("swiper-button-prev"),eA(e,x.arrowSvg),e.part.add("button-prev"),f.el.appendChild(e),d=e}}let e=S.navigation;c&&eE(e)&&(e.nextEl=c),d&&eE(e)&&(e.prevEl=d),x.init(),x.update()}g.includes("allowSlideNext")&&(f.allowSlideNext=E.allowSlideNext),g.includes("allowSlidePrev")&&(f.allowSlidePrev=E.allowSlidePrev),g.includes("direction")&&f.changeDirection(E.direction,!1),(s||o)&&f.loopDestroy(),(l||o)&&f.loopCreate(),f.update()}function eP(){return"u"<typeof window?{touch:!1}:{touch:"ontouchstart"in window||navigator.maxTouchPoints>0}}function eL(){return t||(t=eP()),t}function eO({userAgent:e}={}){if("u"<typeof window)return{ios:!1,android:!1};let t=eL(),a=navigator.platform,i=e||navigator.userAgent,r={ios:!1,android:!1},n=/(Android);?[\s/]+([\d.]+)?/.test(i),s=/(iPhone\sOS|iOS|iPod)/.test(i),l=/iPad/.test(i),o="MacIntel"===a&&t.touch&&navigator.maxTouchPoints>1,c=l||o,d="Win32"===a;return n&&!d&&(r.os="android",r.android=!0),(c||s)&&(r.os="ios",r.ios=!0),r}function eD(e={}){return a||(a=eO(e)),a}function eM(){if("u"<typeof window)return{isSafari:!1,isWebView:!1,need3dFix:!1};let e=eD(),t=navigator.userAgent,a=t.toLowerCase(),i=a.includes("safari")&&!a.includes("chrome")&&!a.includes("android"),r=/(iPhone|iPod|iPad).*AppleWeb
268Kit(?!.*Safari)/i.test(t),n=i||r&&e.ios;return{isSafari:i,isWebView:r,need3dFix:n}}function eR(){return i||(i=eM()),i}let eF=(e,t)=>{if(!e||e.destroyed||!e.params)return;let a=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,i=t.closest(a());if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{if(i.shadowRoot){let t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`);t&&!t.lazyPreloaderManaged&&t.remove()}})),t&&!t.lazyPreloaderManaged&&t.remove()}},eB=(e,t)=>{if(!e.slides[t])return;let a=e.slides[t].querySelector('[loading="lazy"]');a&&a.removeAttribute("loading")},eU=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,a=e.slides.length;if(!a||!t||t<0)return;t=Math.min(t,a);let i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&(e.params.grid.rows??1)>1){let a=r,n=[a-t];n.push(...Array.from({length:t}).map((e,t)=>a+i+t)),e.slides.forEach((t,a)=>{void 0!==t.column&&n.includes(t.column)&&eB(e,a)});return}let n=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=n+t;i+=1){let t=(i%a+a)%a;(t<r||t>n)&&eB(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(n+t,a-1);i+=1)i!==r&&(i>n||i<r)&&eB(e,i)},eH=(e,t)=>!!(e.grid&&t.grid&&t.grid.rows>1);var e$={setBreakpoint:function(){let e=this,{realIndex:t,initialized:a,params:i,el:r}=e,n=i.breakpoints;if(!n||n&&0===Object.keys(n).length)return;let s="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:document.querySelector(i.breakpointsBase),o=e.getBreakpoint(n,s,l);if(!o||e.currentBreakpoint===o)return;let c=n,d=(o in c?c[o]:void 0)||e.originalParams,u=eH(e,i),h=eH(e,d),f=e.params.grabCursor,p=d.grabCursor,m=i.enabled;u&&!h?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&h&&(r.classList.add(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!p?e.unsetGrabCursor():!f&&p&&e.setGrabCursor();let g=(e,t)=>e[t];["navigation","pagination","scrollbar"].forEach(t=>{let a=g(d,t);if(void 0===a)return;let r=g(i,t),n="object"==typeof r&&null!==r&&r.enabled,s="object"==typeof a&&null!==a&&a.enabled,l=e[t];n&&!s&&l?.disable?.(),!n&&s&&l?.enable?.()});let b=d.direction&&d.direction!==i.direction,_=i.loop&&(d.slidesPerView!==i.slidesPerView||b),y=i.loop;b&&a&&e.changeDirection(),ec(e.params,d);let x=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!x?e.disable():!m&&x&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",d),a&&(_?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&v?(e.loopCreate(t),e.updateSlides()):y&&!v&&e.loopDestroy()),e.emit("breakpoint",d)},getBreakpoint:function(e,t="window",a){if(!e||"container"===t&&!a)return;let i=!1,r="window"===t?window.innerHeight:a.clientHeight,n=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:r*parseFloat(e.substr(1)),point:e}:{value:e,point:e});n.sort((e,t)=>parseInt(String(e.value),10)-parseInt(String(t.value),10));for(let e=0;e<n.length;e+=1){let{point:r,value:s}=n[e];"window"===t?window.matchMedia(`(min-width: ${s}px)`).matches&&(i=r):s<=a.clientWidth&&(i=r)}return i||"max"}},eG={checkOverflow:function(){let e=this,{isLocked:t,params:a}=e,{slidesOffsetBefore:i}=a;if(i){let t=e.slides.length-1,a=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===a.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===a.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}};function eW(e,t){let a=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>
268{e[i]&&a.push(t+i)}):"string"==typeof e&&a.push(t+e)}),a}var eY={addClasses:function(){let e=this,{classNames:t,params:a,rtl:i,el:r,device:n}=e,s=eW(["initialized",a.direction,{"free-mode":e.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:i},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:n.android},{ios:n.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);t.push(...s),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){let e=this,{el:t,classNames:a}=e;t&&"string"!=typeof t&&(t.classList.remove(...a),e.emitContainerClasses())}};let ez={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};var eV={on(e,t,a){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;let r=a?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,a){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;let r=function(...a){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(i,a)};return r.__emitterProxy=t,i.on(e,r,a)},onAny(e,t){let a=this;if(!a.eventsListeners||a.destroyed||"function"!=typeof e)return a;let i=t?"unshift":"push";return 0>a.eventsAnyListeners.indexOf(e)&&a.eventsAnyListeners[i](e),a},offAny(e){let t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;let a=t.eventsAnyListeners.indexOf(e);return a>=0&&t.eventsAnyListeners.splice(a,1),t},off(e,t){let a=this;return a.eventsListeners&&!a.destroyed&&a.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&a.eventsListeners[e].splice(r,1)})}),a},emit(...e){let t,a,i,r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;if("string"==typeof e[0]||Array.isArray(e[0]))t=e[0],a=e.slice(1,e.length),i=r;else{let n=e[0];t=n.events,a=n.data??[],i=n.context||r}return a.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach(e=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEac
268h(t=>{t.apply(i,[e,...a])}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(e=>{e.apply(i,a)})}),r}};function eK(e){let t=this;t.destroyed||t.enabled&&!t.allowClick&&(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function eq(){let e=this;e.destroyed||!e.documentTouchHandlerProceeded&&(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}function eQ(e){let t=this;t.destroyed||(eF(t,e.target),!t.params.cssMode&&("auto"===t.params.slidesPerView||t.params.autoHeight)&&t.update())}function eZ(){let e=this,{params:t,el:a}=e;if(a&&0===a.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:i,allowSlidePrev:r,snapGrid:n}=e,s=e.virtual&&e.params.virtual?.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let l=s&&t.loop;if("auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l)e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{let t=s?e.virtual.slides.length:e.slides.length;e.slideTo(t-1,0,!1,!0)}if(e.autoplay&&e.autoplay.running&&e.autoplay.paused){let t=e.autoplay;clearTimeout(t.resizeTimeout),t.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)}e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&n!==e.snapGrid&&e.checkOverflow()}function eX(){let e,t=this;if(t.destroyed)return;let{wrapperEl:a,rtlTranslate:i,enabled:r}=t;if(!r)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-a.scrollLeft:t.translate=-a.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n=t.maxTranslate()-t.minTranslate();(e=0===n?0:(t.translate-t.minTranslate())/n)!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function eJ(e){let t,a=this;if(a.destroyed)return;let i=a.touchEventsData,r=e.originalEvent??e;if("touchend"===r.type||"touchcancel"===r.type){let e=[...r.changedTouches].find(e=>e.identifier===i.touchId);if(!e||e.identifier!==i.touchId)return}else if(null!==i.touchId||r.pointerId!==i.pointerId)return;if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(a.browser.isSafari||a.browser.isWebView)))return;i.pointerId=null,i.touchId=null;let{params:n,touches:s,rtlTranslate:l,slidesGrid:o,enabled:c}=a;if(!c||!n.simulateTouch&&"mouse"===r.pointerType)return;if(i.allowTouchCallbacks&&a.emit("touchEnd",r),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&n.grabCursor&&a.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}n.grabCursor&&i.isMoved&&i.isTouched&&(!0===a.allowSlideNext||!0===a.allowSlidePrev)&&a.setGrabCursor(!1);let d=er(),u=d-i.touchStartTime;if(a.allowClick){let e=r.path??(r.composedPath&&r.composedPath());a.updateClickedSlide(e&&e[0],e),a.emit("tap click",r),u<300&&d-i.lastClickTime<300&&a.emit("doubleTap doubleClick",r)}if(i.lastClickTime=er(),ei(()=>{a.destroyed||(a.allowClick=!0)}),!i.isTouched||!i.isMoved||!a.swipeDirection||0===s.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,t=n.followFinger?l?a.translate:-a.translate:-(i.currentTranslate??0),n.cssMode)return;if(n.freeMode&&n.freeMode.enabled)return void a.freeMode.onTouchEnd({currentPos:t});let h=t>=-a.maxTranslate()&&!a.params.loop,f=0,p=a.slidesSizesGrid[0];for(let e=0;e<o.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){let a=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==o[e+a]?(h||t>=o[e]&&t<o[e+a])&&(f=e,p=o[e+a]-o[e]):(h||t>=o[e])&&(f=e,p=o[o.length-1]-o[o.length-2])}let m=null,g=null;n.rewind&&(a.isBeginning?g=n.virtual?.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1:a.isEnd&&(m=0));let b=(t-o[f])/p,_=f<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(u>n.longSwipesMs){if(!n.longSwipes)return void a.slideTo(a.activeIndex);"next"===a.swipeDirection&&(b>=n.longSwipesRatio?a.slideTo(n.rewind&&a.isEnd?m:f+_):a.slideTo(f)),"prev"===a.swipeDirection&&(b>1-n.longSwipesRatio?a.slideTo(f+_):null!==g&&b<0&&Math.abs(b)>n.longSwipesRatio?a.slideTo(g):a.slideTo(f))}else{if(!n.shortSwipes)return void a.slideTo(a.activeIndex);a.navigation&&(r.target===a.navigation.nextEl||r.target===a.navigation.prevEl)?r.target===a.navigation.nextEl?a.slideTo(f+_):a.slideTo(f):("next"===a.swipeDirection&&a.slideTo(null!==m?m:f+_),"prev"===a.swipeDirection&&a.slideTo(null!==g?g:f))}}function e0(e){let t,a=this;if(a.destroyed)return;let i=a.touchEventsData,{params:r,touches:n,rtlTranslate:s,enabled:l}=a;if(!l||!r.simulateTouch&&"mouse"===e.pointerType)return;let o=e,c=o.originalEvent??o;if("pointermove"===c.type&&(null!==i.touchId||c.pointerId!==i.pointerId))return;if("touchmove"===c.type){let e=[...c.changedTouches].find(e=>e.identifier===i.touchId);if(!e||e.identifier!==i.touchId)return;t=e}else t=c;if(!i.isTouched){i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",c);return}let d=t.pageX,u=t.pageY;if(c.preventedByNestedSwiper){n.startX=d,n.startY=u;return}if(!a.allowTouchMove){c.target.matches(i.focusableElements)||(a.allowClick=!1),i.isTouched&&(Object.assign(n,{startX:d,startY:u,currentX:d,currentY:u}),i.touchStartTime=er());return}if(r.touchReleaseOnEdges&&!r.loop){if(a.isVertical()){if(u<n.startY&&a.translate<=a.maxTranslate()||u>n.startY&&a.translate>=a.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(s&&(d>n.startX&&-a.translate<=a.maxTranslate()||d<n.startX&&-a.translate>=a.minTranslate()))return;else if(!s&&(d<n.startX&&a.translate<=a.maxTranslate()||d>n.startX&&a.translate>=a.minTranslate()))return}if(document.activeElement&&document.activeElement.matches(i.focusableElements)&&document.activeElement!==c.target&&"mouse"!==c.pointerType&&document.activeElement.blur(),document.activeElement&&c.target===document.activeElement&&c.target.matches(i.focusableElements)){i.isMoved=!0,a.allowClick=!1;return}i.allowTouchCallbacks&&a.emit("touchMove",c),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=d,n.currentY=u;let h=n.currentX-n.startX,f=n.currentY-n.startY;if(a.params.threshold&&Math.sqrt(h**2+f**2)<a.params.threshold)return;if(void 0===i.isScrolling){let e;a.isHorizontal()&&n.currentY===n.startY||a.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,i.isScrolling=a.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&a.emit("touchMoveOpposite",c),void 0===i.startMoving&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(i.startMoving=!0),i.isScrolling||"touchmove"===c.type&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;a.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let p=a.isHorizontal()?h:f,m=a.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(p=Math.abs(p)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),n.diff=p,p*=r.touchRatio,s&&(p=-p,m=-m);let g=a.touchesDirection;a.swipeDirection=p>0?"prev":"next",a.touchesDirection=m>0?"prev":"next";let b=a.params.loop&&!r.cssMode,_="next"===a.touchesDirection&&a.allowSlideNext||"prev"===a.touchesDirection&&a.allowSlidePrev;if(!i.isMoved){if(b&&_&&a.loopFix({direction:a.swipeDirection}),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
268a.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,r.grabCursor&&(!0===a.allowSlideNext||!0===a.allowSlidePrev)&&a.setGrabCursor(!0),a.emit("sliderFirstMove",c)}if(new Date().getTime(),!1!==r._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&g!==a.touchesDirection&&b&&_&&Math.abs(p)>=1){Object.assign(n,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}a.emit("sliderMove",c),i.isMoved=!0;let y=i.startTranslate??0;i.currentTranslate=p+y;let x=!0,v=r.resistanceRatio;if(r.touchReleaseOnEdges&&(v=0),p>0?(b&&_&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?a.minTranslate()-a.slidesSizesGrid[a.activeIndex+1]-("auto"!==r.slidesPerView&&a.slides.length-r.slidesPerView>=2?a.slidesSizesGrid[a.activeIndex+1]+a.params.spaceBetween:0)-a.params.spaceBetween:a.minTranslate())&&a.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>a.minTranslate()&&(x=!1,r.resistance&&(i.currentTranslate=a.minTranslate()-1+(-a.minTranslate()+y+p)**v))):p<0&&(b&&_&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?a.maxTranslate()+a.slidesSizesGrid[a.slidesSizesGrid.length-1]+a.params.spaceBetween+("auto"!==r.slidesPerView&&a.slides.length-r.slidesPerView>=2?a.slidesSizesGrid[a.slidesSizesGrid.length-1]+a.params.spaceBetween:0):a.maxTranslate())&&a.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:a.slides.length-("auto"===r.slidesPerView?a.slidesPerViewDynamic():Math.ceil(parseFloat(String(r.slidesPerView))))}),i.currentTranslate<a.maxTranslate()&&(x=!1,r.resistance&&(i.currentTranslate=a.maxTranslate()+1-(a.maxTranslate()-y-p)**v))),x&&(c.preventedByNestedSwiper=!0),!a.allowSlideNext&&"next"===a.swipeDirection&&(i.currentTranslate??0)<y&&(i.currentTranslate=y),!a.allowSlidePrev&&"prev"===a.swipeDirection&&(i.currentTranslate??0)>y&&(i.currentTranslate=y),a.allowSlidePrev||a.allowSlideNext||(i.currentTranslate=y),r.threshold>0)if(Math.abs(p)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,n.diff=a.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{i.currentTranslate=i.startTranslate;return}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&a.freeMode||r.watchSlidesProgress)&&(a.updateActiveIndex(),a.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&a.freeMode&&a.freeMode.onTouchMove(),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate??0))}function e1(e,t){function a(t){if(!t||t===document||t===window)return null;let i=t;i.assignedSlot&&(i=i.assignedSlot);let r=i.closest(e);if(!r&&!i.getRootNode)return null;let n=i.getRootNode();return r||a(n.host)}return a(t)}function e2(e,t,a){let{params:i}=e,r=i.edgeSwipeDetection,n=i.edgeSwipeThreshold;return!r||!(a<=n)&&!(a>=window.innerWidth-n)||"prevent"===r&&(t.preventDefault(),!0)}function e3(e){let t=this;if(t.destroyed)return;let a=e.originalEvent??e,i=t.touchEventsData;if("pointerdown"===a.type){let e=a;if(null!==i.pointerId&&i.pointerId!==e.pointerId)return;i.pointerId=e.pointerId}else"touchstart"===a.type&&1===a.targetTouches.length&&(i.touchId=a.targetTouches[0].identifier);if("touchstart"===a.type)return void e2(t,a,a.targetTouches[0].pageX);let{params:r,touches:n,enabled:s}=t;if(!s||!r.simulateTouch&&"mouse"===a.pointerType||t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let l=a.target;if("wrapper"===r.touchEventsTarget&&!ef(l,t.wrapperEl))return;let o=a;if("number"==typeof o.which&&3===o.which||"number"==typeof o.button&&o.button>0||i.isTouched&&i.isMoved)return;let c=!!r.noSwipingClass&&""!==r.noSwipingClass,d=a.composedPath?a.composedPath():a.path;c&&a.target&&a.target.shadowRoot&&d&&(l=d[0]);let u=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,h=!!(a.target&&a.target.shadowRoot);if(r.noSwiping&&(h?e1(u,l):l.closest(u))){t.allowClick=!0;return}if(r.swipeHandler&&"string"==typeof r.swipeHandler&&!l.closest(r.swipeHandler))return;let f=a;n.currentX=f.pageX,n.currentY=f.pageY;let p=n.currentX,m=n.currentY;if(!e2(t,a,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=p,n.startY=m,i.touchStartTime=er(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(i.allowThresholdMove=!1);let g=!0;l.matches(i.focusableElements)&&(g=!1,"SELECT"===l.nodeName&&(i.isTouched=!1)),document.activeElement&&document.activeElement.matches(i.focusableElements)&&document.activeElement!==l&&("mouse"===f.pointerType||"mouse"!==f.pointerType&&!l.matches(i.focusableElements))&&document.activeElement.blur();let b=g&&t.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||b)&&!l.isContentEditable&&a.preventDefault(),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",a)}let e4=(e,t)=>{let{params:a,el:i,wrapperEl:r,device:n}=e,s=!!a.nested,l="on"===t?"addEventListener":"removeEventListener",o=t;i&&"string"!=typeof i&&(document[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),document[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),document[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),document[l]("touchend",e.onTouchEnd,{passive:!0}),document[l]("pointerup",e.onTouchEnd,{passive:!0}),document[l]("pointercancel",e.onTouchEnd,{passive:!0}),document[l]("touchcancel",e.onTouchEnd,{passive:!0}),document[l]("pointerout",e.onTouchEnd,{passive:!0}),document[l]("pointerleave",e.onTouchEnd,{passive:!0}),document[l]("contextmenu",e.onTouchEnd,{passive:!0}),(a.preventClicks||a.preventClicksPropagation)&&i[l]("click",e.onClick,!0),a.cssMode&&r[l]("scroll",e.onScroll),(t=>{e[o](t,eZ,!0)})(a.updateOnWindowResize?n.ios||n.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate"),i[l]("load",e.onLoad,{capture:!0}))};function e6(e,t){return function(a={}){let i=Object.keys(a)[0],r=a[i];"object"!=typeof r||null===r||(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in r&&("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}))),ec(t,a)}}let e5=({swiper:e,extendParams:t,on:a})=>{let i=[],r=(t,a={})=>{let r=window.MutationObserver||window.WebkitMutationObserver;if(!r)return;let n=new r(t=>{if(e.__preventObserver__)return;if(1===t.length)return void e.emit("observerUpdate",t[0]);let a=function(){e.emit("observerUpdate",t[0])};window.requestAnimationFrame?window.requestAnimationFrame(a):window.setTimeout(a,0)});n.observe(t,{attributes:void 0===a.attributes||a.attributes,childList:e.isElement||void 0===a.childList||a.childList,characterData:void 0===a.characterData||a.characterData}),i.push(n)},n=()=>
268{if(e.params.observer){if(e.params.observeParents){let t=ex(e.hostEl);for(let e=0;e<t.length;e+=1)r(t[e])}r(e.hostEl,{childList:e.params.observeSlideChildren}),r(e.wrapperEl,{attributes:!1})}},s=()=>{i.forEach(e=>{e.disconnect()}),i.splice(0,i.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",n),a("destroy",s)},e8=({swiper:e,on:t,emit:a})=>{let i=null,r=null,n=()=>{e&&!e.destroyed&&e.initialized&&(a("beforeResize"),a("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver(t=>{r=window.requestAnimationFrame(()=>{let{width:a,height:i}=e,r=a,s=i;t.forEach(({contentBoxSize:t,contentRect:a,target:i})=>{if(i&&i!==e.el)return;let n=Array.isArray(t)?t[0]:t;r=a?a.width:n.inlineSize,s=a?a.height:n.blockSize}),(r!==a||s!==i)&&n()})})).observe(e.el)},l=()=>{r&&window.cancelAnimationFrame(r),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null)},o=()=>{e&&!e.destroyed&&e.initialized&&a("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==window.ResizeObserver?s():(window.addEventListener("resize",n),window.addEventListener("orientationchange",o))}),t("destroy",()=>{l(),window.removeEventListener("resize",n),window.removeEventListener("orientationchange",o)})};function e7({swiper:e,runCallbacks:t,direction:a,step:i}){let{activeIndex:r,previousIndex:n}=e,s=a;s||(s=r>n?"next":r<n?"prev":"reset"),e.emit(`transition${i}`),t&&"reset"===s?e.emit(`slideResetTransition${i}`):t&&r!==n&&(e.emit(`slideChangeTransition${i}`),"next"===s?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}function e9(e){let t,{slidesGrid:a,params:i}=e,r=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<a.length;e+=1)void 0!==a[e+1]?r>=a[e]&&r<a[e+1]-(a[e+1]-a[e])/2?t=e:r>=a[e]&&r<a[e+1]&&(t=e+1):r>=a[e]&&(t=e);return i.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}let te=(e,t,a)=>{t&&!e.classList.contains(a)?e.classList.add(a):!t&&e.classList.contains(a)&&e.classList.remove(a)},tt=(e,t,a)=>{t&&!e.classList.contains(a)?e.classList.add(a):!t&&e.classList.contains(a)&&e.classList.remove(a)},ta={eventsEmitter:eV,update:{updateSize:function(){let e,t,a=this,i=a.el;e=void 0!==a.params.width&&null!==a.params.width?a.params.width:i.clientWidth,t=void 0!==a.params.height&&null!==a.params.height?a.params.height:i.clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(e_(i,"padding-left")||"0",10)-parseInt(e_(i,"padding-right")||"0",10),t=t-parseInt(e_(i,"padding-top")||"0",10)-parseInt(e_(i,"padding-bottom")||"0",10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(a,{width:e,height:t,size:a.isHorizontal()?e:t}))},updateSlides:function(){let e=this;function t(t,a){return parseFloat(t.getPropertyValue(e.getDirectionLabel(a))||"0")}let a=e.params,{wrapperEl:i,slidesEl:r,rtlTranslate:n,wrongRTL:s}=e,l=!!(e.virtual&&a.virtual?.enabled),o=l?e.virtual.slides.length:e.slides.length,c=eu(r,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:c.length,u=[],h=[],f=[],p=t=>"function"==typeof t?t.call(e):t,m=p(a.slidesOffsetBefore),g=p(a.slidesOffsetAfter),b=e.snapGrid.length,_=e.slidesGrid.length,y=e.size-m-g,x=a.spaceBetween,v=-m,A=0,w=0;if(void 0===y)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*y:"string"==typeof x&&(x=parseFloat(x)),e.virtualSize=-x-m-g,c.forEac
268h(e=>{n?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),a.centeredSlides&&a.cssMode&&(ed(i,"--swiper-centered-offset-before",""),ed(i,"--swiper-centered-offset-after","")),a.cssMode&&(ed(i,"--swiper-slides-offset-before",`${m}px`),ed(i,"--swiper-slides-offset-after",`${g}px`));let E=a.grid&&a.grid.rows>1&&e.grid;E?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let S=0,C="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter(e=>{let t=a.breakpoints[e];return void 0!==t?.slidesPerView}).length>0;for(let i=0;i<d;i+=1){S=0;let r=c[i];if(!r||(E&&e.grid.updateSlide(i,r,c),"none"!==e_(r,"display"))){if(l&&"auto"===a.slidesPerView)a.virtual?.slidesPerViewAutoSlideSize&&(S=a.virtual.slidesPerViewAutoSlideSize),S&&r&&(a.roundLengths&&(S=Math.floor(S)),r.style[e.getDirectionLabel("width")]=`${S}px`);else if("auto"===a.slidesPerView){C&&(r.style[e.getDirectionLabel("width")]="");let i=getComputedStyle(r),n=r.style.transform,s=r.style.webkitTransform;if(n&&(r.style.transform="none"),s&&(r.style.webkitTransform="none"),a.roundLengths)S=e.isHorizontal()?ev(r,"width"):ev(r,"height");else{let e=t(i,"width"),a=t(i,"padding-left"),n=t(i,"padding-right"),s=t(i,"margin-left"),l=t(i,"margin-right"),o=i.getPropertyValue("box-sizing");if(o&&"border-box"===o)S=e+s+l;else{let{clientWidth:t,offsetWidth:i}=r;S=e+a+n+s+l+(i-t)}}n&&(r.style.transform=n),s&&(r.style.webkitTransform=s),a.roundLengths&&(S=Math.floor(S))}else S=(y-(a.slidesPerView-1)*x)/a.slidesPerView,a.roundLengths&&(S=Math.floor(S)),r&&(r.style[e.getDirectionLabel("width")]=`${S}px`);r&&(r.swiperSlideSize=S),f.push(S),a.centeredSlides?(v=v+S/2+A/2+x,0===A&&0!==i&&(v=v-y/2-x),0===i&&(v=v-y/2-x),.001>Math.abs(v)&&(v=0),a.roundLengths&&(v=Math.floor(v)),w%a.slidesPerGroup==0&&u.push(v),h.push(v)):(a.roundLengths&&(v=Math.floor(v)),(w-Math.min(e.params.slidesPerGroupSkip,w))%e.params.slidesPerGroup==0&&u.push(v),h.push(v),v=v+S+x),e.virtualSize+=S+x,A=S,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,y)+g,n&&s&&("slide"===a.effect||"coverflow"===a.effect)&&(i.style.width=`${e.virtualSize+x}px`),a.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+x}px`),E&&e.grid.updateWrapperSize(S,u),!a.centeredSlides){let t="auto"!==a.slidesPerView&&a.slidesPerView%1!=0,i=a.snapToSlideEdge&&!a.loop&&("auto"===a.slidesPerView||t),r=u.length;if(i){let e;if("auto"===a.slidesPerView){e=1;let t=0;for(let a=f.length-1;a>=0;a-=1)if((t+=f[a]+(a<f.length-1?x:0))<=y)e=f.length-a;else break}else e=Math.floor(a.slidesPerView);r=Math.max(d-e,0)}let n=[];for(let t=0;t<u.length;t+=1){let s=u[t];a.roundLengths&&(s=Math.floor(s)),i?t<=r&&n.push(s):u[t]<=e.virtualSize-y&&n.push(s)}u=n,Math.floor(e.virtualSize-y)-Math.floor(u[u.length-1])>1&&!i&&u.push(e.virtualSize-y)}if(l&&a.loop){let t=f[0]+x,i=(e.virtual.slidesBefore??0)+(e.virtual.slidesAfter??0);if(a.slidesPerGroup>1){let e=Math.ceil(i/a.slidesPerGroup),r=t*a.slidesPerGroup;for(let t=0;t<e;t+=1)u.push(u[u.length-1]+r)}for(let r=0;r<i;r+=1)1===a.slidesPerGroup&&u.push(u[u.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===u.length&&(u=[0]),0!==x){let t=e.isHorizontal()&&n?"marginLeft":e.getDirectionLabel("marginRight");c.filter((e,t)=>!a.cssMode||!!a.loop||t!==c.length-1).forEach(e=>{e.style[t]=`${x}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let e=0;f.forEach(t=>{e+=t+(x||0)});let t=(e-=x)>y?e-y:0;u=u.map(e=>e<=0?-m:e>t?t+g:e)}if(a.centerInsufficientSlides){let e=0;if(f.forEach(t=>{e+=t+(x||0)}),(e-=x)<y){let t=(y-e)/2;u.forEach((e,a)=>{u[a]=e-t}),h.forEach((e,a)=>{h[a]=e+t})}}if(Object.assign(e,{slides:c,snapGrid:u,slidesGrid:h,slidesSizesGrid:f}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){ed(i,"--swiper-centered-offset-before",`${-u[0]}px`),ed(i,"--swiper-centered-offset-after",`${e.size/2-f[f.length-1]/2}px`);let t=-e.snapGrid[0],a=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+a)}if(d!==o&&e.emit("slidesLengthChange"),u.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==_&&e.emit("slidesGridLengthChange"),a.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!a.cssMode&&("slide"===a.effect||"fade"===a.effect)){let t=`${a.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);d<=a.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){let t,a=this,i=[],r=a.virtual&&a.params.virtual?.enabled,n=0;"number"==typeof e?a.setTransition(e):!0===e&&a.setTransition(a.params.speed);let s=e=>r?a.slides[a.getSlideIndexByData(e)]:a.slides[e];if("auto"!==a.params.slidesPerView&&a.params.slidesPerView>
2681)if(a.params.centeredSlides)(a.visibleSlides||[]).forEach(e=>{i.push(e)});else for(t=0;t<Math.ceil(a.params.slidesPerView);t+=1){let e=a.activeIndex+t;if(e>a.slides.length&&!r)break;let n=s(e);n&&i.push(n)}else{let e=s(a.activeIndex);e&&i.push(e)}for(t=0;t<i.length;t+=1)if(void 0!==i[t]){let e=i[t].offsetHeight;n=e>n?e:n}(n||0===n)&&(a.wrapperEl.style.height=`${n}px`)},updateSlidesOffset:function(){let e=this,t=e.slides,a=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-a-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){let t=this,a=t.params,{slides:i,rtlTranslate:r,snapGrid:n}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;r&&(s=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=a.spaceBetween;"string"==typeof l&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:"string"==typeof l&&(l=parseFloat(l));for(let e=0;e<i.length;e+=1){let o=i[e],c=o.swiperSlideOffset??0;a.cssMode&&a.centeredSlides&&(c-=i[0].swiperSlideOffset??0);let d=o.swiperSlideSize??0,u=(s+(a.centeredSlides?t.minTranslate():0)-c)/(d+l),h=(s-n[0]+(a.centeredSlides?t.minTranslate():0)-c)/(d+l),f=-(s-c),p=f+t.slidesSizesGrid[e],m=f>=0&&f<=t.size-t.slidesSizesGrid[e],g=f>=0&&f<t.size-1||p>1&&p<=t.size||f<=0&&p>=t.size;g&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e)),tt(o,g,a.slideVisibleClass),tt(o,m,a.slideFullyVisibleClass),o.progress=r?-u:u,o.originalProgress=r?-h:h}},updateProgress:function(e){let t=this;if(void 0===e){let a=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*a||0}let a=t.params,i=t.maxTranslate()-t.minTranslate(),{progress:r,isBeginning:n,isEnd:s}=t,l=t.progressLoop,o=n,c=s;if(0===i)r=0,n=!0,s=!0;else{r=(e-t.minTranslate())/i;let a=1>Math.abs(e-t.minTranslate()),l=1>Math.abs(e-t.maxTranslate());n=a||r<=0,s=l||r>=1,a&&(r=0),l&&(r=1)}if(a.loop){let a=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[a],n=t.slidesGrid[i],s=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);(l=o>=r?(o-r)/s:(o+s-n)/s)>1&&(l-=1)}Object.assign(t,{progress:r,progressLoop:l,isBeginning:n,isEnd:s}),(a.watchSlidesProgress||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),n&&!o&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(o&&!n||c&&!s)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){let e,t,a,i=this,{slides:r,params:n,slidesEl:s,activeIndex:l}=i,o=!!(i.virtual&&n.virtual?.enabled),c=i.grid&&n.grid&&n.grid.rows>1,d=e=>eu(s,`.${n.slideClass}${e}, swiper-slide${e}`)[0];if(o)if(n.loop){let t=i.virtual.slides,a=l-(i.virtual.slidesBefore??0);a<0&&(a=t.length+a),a>=t.length&&(a-=t.length),e=d(`[data-swiper-slide-index="${a}"]`)}else e=d(`[data-swiper-slide-index="${l}"]`);else c?(e=r.find(e=>e.column===l),a=r.find(e=>e.column===l+1),t=r.find(e=>e.column===l-1)):e=r[l];e&&!c&&(a=eb(e,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!a&&(a=r[0]),t=eg(e,`.${n.slideClass}, swiper-slide`)[0],n.loop),r.forEach(i=>{te(i,i===e,n.slideActiveClass),te(i,i===a,n.slideNextClass),te(i,i===t,n.slidePrevClass)}),i.emitSlidesClasses()},updateActiveIndex:function(e){let t,a,i=this,r=i.rtlTranslate?i.translate:-i.translate,{snapGrid:n,params:s,activeIndex:l,realIndex:o,snapIndex:c}=i,d=e,u=e=>{let t=i.virtual.slides,a=e-(i.virtual.slidesBefore??0);return a<0&&(a=t.length+a),a>=t.length&&(a-=t.length),a};if(void 0===d&&(d=e9(i)),n.indexOf(r)>=0)t=n.indexOf(r);else{let e=Math.min(s.slidesPerGroupSkip,d);t=e+Math.floor((d-e)/s.slidesPerGroup)}if(t>=n.length&&(t=n.length-1),d===l&&!i.params.loop){t!==c&&(i.snapIndex=t,i.emit("snapIndexChange"));return}if(d===l&&i.params.loop&&i.virtual&&i.params.virtual?.enabled){i.realIndex=u(d);return}let h=i.grid&&s.grid&&s.grid.rows>1;if(i.virtual&&s.virtual?.enabled)a=s.loop?u(d):d;else if(h){let e=i.slides.find(e=>e.column===d),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(i.slides.indexOf(e),0)),a=Math.floor(t/s.grid.rows)}else if(i.slides[d]){let e=i.slides[d].getAttribute("data-swiper-slide-index");a=e?parseInt(e,10):d}else a=d;Object.assign(i,{previousSnapIndex:c,snapIndex:t,previousRealIndex:o,realIndex:a,previousIndex:l,activeIndex:d}),i.initialized&&eU(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&(o!==a&&i.emit("realIndexChange"),i.emit("slideChange"))},updateClickedSlide:function(e,t){let a,i=this,r=i.params,n=e.closest(`.${r.slideClass}, swiper-slide`);!n&&i.isElement&&t&&t.length>
2681&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!n&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(n=e)});let s=!1;if(n){for(let e=0;e<i.slides.length;e+=1)if(i.slides[e]===n){s=!0,a=e;break}}if(n&&s)i.clickedSlide=n,i.virtual&&i.params.virtual?.enabled?i.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}r.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let t=this,{params:a,rtlTranslate:i,translate:r,wrapperEl:n}=t;if(a.virtualTranslate)return i?-r:r;if(a.cssMode)return r;let s=es(n,e);return s+=t.cssOverflowAdjustment(),i&&(s=-s),s||0},setTranslate:function(e,t){let a,i=this,{rtlTranslate:r,params:n,wrapperEl:s,progress:l}=i,o=0,c=0,d=0;i.isHorizontal()?o=r?-e:e:c=e,n.roundLengths&&(o=Math.floor(o),c=Math.floor(c)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?o:c,n.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-o:-c:n.virtualTranslate||(i.isHorizontal()?o-=i.cssOverflowAdjustment():c-=i.cssOverflowAdjustment(),s.style.transform=`translate3d(${o}px, ${c}px, ${d}px)`);let u=i.maxTranslate()-i.minTranslate();(a=0===u?0:(e-i.minTranslate())/u)!==l&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,a=!0,i=!0,r){let n,s=this,{params:l,wrapperEl:o}=s;if(s.animating&&l.preventInteractionOnTransition)return!1;let c=s.minTranslate(),d=s.maxTranslate();if(n=i&&e>c?c:i&&e<d?d:e,s.updateProgress(n),l.cssMode){let e=s.isHorizontal();return 0===t?o[e?"scrollLeft":"scrollTop"]=-n:o.scrollTo({[e?"left":"top"]:-n,behavior:"smooth"}),!0}return 0===t?(s.setTransition(0),s.setTranslate(n),a&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(n),a&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){!s||s.destroyed||e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,a&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){let a=this;a.params.cssMode||(a.wrapperEl.style.transitionDuration=`${e}ms`,a.wrapperEl.style.transitionDelay=0===e?"0ms":""),a.emit("setTransition",e,t)},transitionStart:function(e=!0,t){let a=this,{params:i}=a;i.cssMode||(i.autoHeight&&a.updateAutoHeight(),e7({swiper:a,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){let a=this,{params:i}=a;a.animating=!1,i.cssMode||(a.setTransition(0),e7({swiper:a,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t,a=!0,i,r){let n;"string"==typeof e&&(e=parseInt(e,10));let s=this,l=e;l<0&&(l=0);let{params:o,snapGrid:c,slidesGrid:d,previousIndex:u,activeIndex:h,rtlTranslate:f,wrapperEl:p,enabled:m}=s;if(!m&&!i&&!r||s.destroyed||s.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=s.params.speed);let g=Math.min(s.params.slidesPerGroupSkip,l),b=g+Math.floor((l-g)/s.params.slidesPerGroup);b>=c.length&&(b=c.length-1);let _=-c[b];if(o.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){let t=-Math.floor(100*_),a=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=a&&t<i-(i-a)/2?l=e:t>=a&&t<i&&(l=e+1):t>=a&&(l=e)}if(s.initialized&&l!==h&&(!s.allowSlideNext&&(f?_>s.translate&&_>s.minTranslate():_<s.translate&&_<s.minTranslate())||!s.allowSlidePrev&&_>s.translate&&_>s.maxTranslate()&&(h||0)!==l))return!1;l!==(u||0)&&a&&s.emit("beforeSlideChangeStart"),s.updateProgress(_),n=l>h?"next":l<h?"prev":"reset";let y=s.virtual&&s.params.virtual?.enabled;if(!(y&&r)&&(f&&-_===s.translate||!f&&_===s.translate))return s.updateActiveIndex(l),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==o.effect&&s.setTranslate(_),"reset"!==n&&(s.transitionStart(a,n),s.transitionEnd(a,n)),!1;if(o.cssMode){let e=s.isHorizontal(),a=f?_:-_;return 0===t?(y&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),y&&!s._cssModeVirtualInitialSet&&(s.params.initialSlide??0)>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[e?"scrollLeft":"scrollTop"]=a})):p[e?"scrollLeft":"scrollTop"]=a,y&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})):p.scrollTo({[e?"left":"top"]:a,behavior:"smooth"}),!0}let x=eR().isSafari;return y&&!r&&x&&s.isElement&&s.virtual.update(!1,!1,l),s.setTransition(t),s.setTranslate(_),s.updateActiveIndex(l),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a,n),0===t?s.transitionEnd(a,n):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){!s||s.destroyed||e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(a,n))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,a=!0,i){"string"==typeof e&&(e=parseInt(e,10));let r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);let n=r.grid&&r.params.grid&&r.params.grid.rows>1,s=e;if(r.params.loop)if(r.virtual&&r.params.virtual?.enabled)s+=r.virtual.slidesBefore??0;else{let e,t;if(n){let t=s*r.params.grid.rows,a=r.slides.find(e=>Number(e.getAttribute("data-swiper-slide-index"))===t);e=a?.column??0}else e=r.getSlideIndexByData(s);let a=n?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:l,slidesOffsetBefore:o,slidesOffsetAfter:c}=r.params,d=l||!!o||!!c;"auto"===r.params.slidesPerView?t=r.slidesPerViewDynamic():(t=Math.ceil(parseFloat(String(r.params.slidesPerView))),d&&t%2==0&&(t+=1));let u=a-e<t;if(d&&(u=u||e<Math.ceil(t/2)),i&&d&&"auto"!==r.params.slidesPerView&&!n&&(u=!1),u){let t=d?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";
268r.loopFix({direction:t,slideTo:!0,activeSlideIndex:"next"===t?e+1:e-a+1,slideRealIndex:"next"===t?r.realIndex:void 0})}if(n){let e=s*r.params.grid.rows,t=r.slides.find(t=>Number(t.getAttribute("data-swiper-slide-index"))===e);s=t?.column??0}else s=r.getSlideIndexByData(s)}return requestAnimationFrame(()=>{r.slideTo(s,t,a,i)}),r},slideNext:function(e,t=!0,a){let i=this,{enabled:r,params:n,animating:s}=i;if(!r||i.destroyed)return i;void 0===e&&(e=i.params.speed);let l=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(l=Math.max(i.slidesPerViewDynamic("current",!0),1));let o=i.activeIndex<n.slidesPerGroupSkip?1:l,c=i.virtual&&n.virtual?.enabled;if(n.loop){if(s&&!c&&n.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&n.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+o,e,t,a)}),!0}return n.rewind&&i.isEnd?i.slideTo(0,e,t,a):i.slideTo(i.activeIndex+o,e,t,a)},slidePrev:function(e,t=!0,a){let i=this,{params:r,snapGrid:n,slidesGrid:s,rtlTranslate:l,enabled:o,animating:c}=i;if(!o||i.destroyed)return i;void 0===e&&(e=i.params.speed);let d=i.virtual&&r.virtual?.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=u(l?i.translate:-i.translate),f=n.map(e=>u(e)),p=r.freeMode&&r.freeMode.enabled,m=n[f.indexOf(h)-1];if(void 0===m&&(r.cssMode||p)){let e;
268n.forEach((t,a)=>{h>=t&&(e=a)}),void 0!==e&&(m=p?n[e]:n[e>0?e-1:e])}let g=0;if(void 0!==m&&((g=s.indexOf(m))<0&&(g=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(g=Math.max(g=g-i.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&i.isBeginning){let r=i.params.virtual?.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,a)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(g,e,t,a)}),!0):i.slideTo(g,e,t,a)},slideReset:function(e,t=!0,a){let i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,a)},slideToClosest:function(e,t=!0,a,i=.5){let r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let n=r.activeIndex,s=Math.min(r.params.slidesPerGroupSkip,n),l=s+Math.floor((n-s)/r.params.slidesPerGroup),o=r.rtlTranslate?r.translate:-r.translate;if(o>=r.snapGrid[l]){let e=r.snapGrid[l];o-e>(r.snapGrid[l+1]-e)*i&&(n+=r.params.slidesPerGroup)}else{let e=r.snapGrid[l-1];o-e<=(r.snapGrid[l]-e)*i&&(n-=r.params.slidesPerGroup)}return n=Math.min(n=Math.max(n,0),r.slidesGrid.length-1),r.slideTo(n,e,t,a)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:a,slidesEl:i,clickedSlide:r,clickedIndex:n}=t;if(void 0===r||void 0===n)return;let s="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,l=t.getSlideIndexWhenGrid(n),o=t.isElement?"swiper-slide":`.${a.slideClass}`,c=t.grid&&t.params.grid&&t.params.grid.rows>1;if(a.loop){if(t.animating)return;e=parseInt(r.getAttribute("data-swiper-slide-index"),10),a.centeredSlides?t.slideToLoop(e):l>(c?(t.slides.length-s)/2-(t.params.grid.rows-1):t.slides.length-s)?(t.loopFix(),l=t.getSlideIndex(eu(i,`${o}[data-swiper-slide-index="${e}"]`)[0]),ei(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}},loop:{loopCreate:function(e,t){let a=this,{params:i,slidesEl:r}=a;if(!i.loop||a.virtual&&a.params.virtual?.enabled)return;let n=()=>{eu(r,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",String(t))})},s=()=>{let e=eu(r,`.${i.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(a.recalcSlides(),a.updateSlides())},l=a.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||l)&&s();let o=i.slidesPerGroup*(l?i.grid.rows:1),c=a.slides.length%o!=0,d=l&&a.slides.length%i.grid.rows!=0,u=e=>{for(let t=0;t<e;t+=1){let e=a.isElement?em("swiper-slide",[i.slideBlankClass]):em("div",[i.slideClass,i.slideBlankClass]);a.slidesEl.append(e)}};c?i.loopAddBlankSlides?(u(o-a.slides.length%o),a.recalcSlides(),a.updateSlides()):ep("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):d&&(i.loopAddBlankSlides?(u(i.grid.rows-a.slides.length%i.grid.rows),a.recalcSlides(),a.updateSlides()):ep("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),n();let h=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;a.loopFix({slideRealIndex:e,direction:h?void 0:"next",initial:t})},loopFix:function(e={}){let{slideRealIndex:t,slideTo:a=!0,direction:i,setTranslate:r,activeSlideIndex:n,initial:s,byController:l,byMousewheel:o}=e,c=n,d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");let{slides:u,allowSlidePrev:h,allowSlideNext:f,slidesEl:p,params:m}=d,{centeredSlides:g,slidesOffsetBefore:b,slidesOffsetAfter:_,initialSlide:y}=m,x=g||!!b||!!_;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&m.virtual?.enabled){if(a){let e=d.virtual.slides.length,t=d.virtual.slidesBefore??0;x||0!==d.snapIndex?x&&d.snapIndex<m.slidesPerView?d.slideTo(e+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(t,0,!1,!0):d.slideTo(e,0,!1,!0)}d.allowSlidePrev=h,d.allowSlideNext=f,d.emit("loopFix");return}let v=m.slidesPerView;"auto"===v?v=d.slidesPerViewDynamic():(v=Math.ceil(parseFloat(String(m.slidesPerView))),x&&v%2==0&&(v+=1));let A=m.slidesPerGroupAuto?v:m.slidesPerGroup,w=x?Math.max(A,Math.ceil(v/2)):A;w%A!=0&&(w+=A-w%A),d.loopedSlides=w+=m.loopAdditionalSlides;let E=d.grid&&m.grid&&m.grid.rows>1;u.length<v+w||"cards"===d.params.effect&&u.length<v+2*w?ep("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===m.grid.fill&&ep("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let S=[],C=[],T=E?Math.ceil(u.length/m.grid.rows):u.length,N=s&&T-y<v&&!x,k=N?y:d.activeIndex;void 0===c?c=d.getSlideIndex(u.find(e=>e.classList.contains(m.slideActiveClass))):k=c;let I="next"===i||!i,j="prev"===i||!i,P=0,L=0,O=(E?u[c].column??0:c)+(x&&void 0===r?-v/2+.5:0);if(O<w){P=Math.max(w-O,A);for(let e=0;e<w-O;e+=1){let t=e-Math.floor(e/T)*T;if(E){let e=T-t-1;for(let t=u.length-1;t>=0;t-=1)u[t].column===e&&S.push(t)}else S.push(T-t-1)}}else if(O+v>T-w){L=Math.max(O-(T-2*w),A),N&&(L=Math.max(L,v-T+y+1));for(let e=0;e<L;e+=1){let t=e-Math.floor(e/T)*T;E?u.forEach((e,a)=>{e.column===t&&C.push(a)}):C.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),"cards"===d.params.effect&&u.length<v+2*w&&(C.includes(c)&&C.splice(C.indexOf(c),1),S.includes(c)&&S.splice(S.indexOf(c),1)),j&&S.forEac
268h(e=>{let t=u[e];t.swiperLoopMoveDOM=!0,p.prepend(t),t.swiperLoopMoveDOM=!1}),I&&C.forEach(e=>{let t=u[e];t.swiperLoopMoveDOM=!0,p.append(t),t.swiperLoopMoveDOM=!1}),d.recalcSlides(),"auto"===m.slidesPerView?d.updateSlides():E&&(S.length>0&&j||C.length>0&&I)&&d.slides.forEach((e,t)=>{d.grid.updateSlide(t,e,d.slides)}),m.watchSlidesProgress&&d.updateSlidesOffset(),a){if(S.length>0&&j){if(void 0===t){let e=d.slidesGrid[k],t=d.slidesGrid[k+P]-e;o?d.setTranslate(d.translate-t):(d.slideTo(k+Math.ceil(P),0,!1,!0),r&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(r){let e=E?S.length/m.grid.rows:S.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(C.length>0&&I)if(void 0===t){let e=d.slidesGrid[k],t=d.slidesGrid[k-L]-e;o?d.setTranslate(d.translate-t):(d.slideTo(k-L,0,!1,!0),r&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{let e=E?C.length/m.grid.rows:C.length;d.slideTo(d.activeIndex-e,0,!1,!0)}}d.allowSlidePrev=h,d.allowSlideNext=f;let D=d.controller?.control;if(D&&!l){let e={slideRealIndex:t,direction:i,setTranslate:r,activeSlideIndex:c,byController:!0};Array.isArray(D)?D.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&a})}):D instanceof d.constructor&&D.params.loop&&D.loopFix({...e,slideTo:D.params.slidesPerView===m.slidesPerView&&a})}d.emit("loopFix")},loopDestroy:function(){let e=this,{params:t,slidesEl:a}=e;if(!t.loop||!a||e.virtual&&e.params.virtual?.enabled)return;e.recalcSlides();let i=[];e.slides.forEach(e=>{let t=e;i[void 0===t.swiperSlideIndex?Number(e.getAttribute("data-swiper-slide-index")):t.swiperSlideIndex]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{a.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let a="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),a.style.cursor="move",a.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let e=this,{params:t}=e;e.onTouchStart=e3.bind(e),e.onTouchMove=e0.bind(e),e.onTouchEnd=eJ.bind(e),e.onDocumentTouchStart=eq.bind(e),t.cssMode&&(e.onScroll=eX.bind(e)),e.onClick=eK.bind(e),e.onLoad=eQ.bind(e),e4(e,"on")},detachEvents:function(){let e=this;e4(e,"off")}},breakpoints:e$,checkOverflow:eG,classes:eY},ti={};class tr{static extendedDefaults;static defaults;constructor(...e){let t,a;if(1===e.length&&null!==e[0]&&"object"==typeof e[0]&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?a=e[0]:[t,a]=e,a||(a={}),a=ec({},a),t&&!a.el&&(a.el=t),a.el&&"string"==typeof a.el&&"u">typeof document&&document.querySelectorAll(a.el).length>1){const e=[];return document.querySelectorAll(a.el).forEach(t=>{let i=ec({},a,{el:t});e.push(new tr(i))}),e}const i=this;i.__swiper__=!0,i.support=eL(),i.device=eD({userAgent:a.userAgent??void 0}),i.browser=eR(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__||[]],a.modules&&Array.isArray(a.modules)&&a.modules.forEach(e=>{let t=e;"function"==typeof t&&0>i.modules.indexOf(t)&&i.modules.push(t)});const r={};i.modules.forEach(e=>{e({params:a,swiper:i,extendParams:e6(a,r),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const n=ec({},ez,r);if(i.params=ec({},n,ti,a),i.originalParams=ec({},i.params),i.passedParams=ec({},a),i.params&&i.params.on){const e=i.params.on;Object.keys(e).forEach(t=>{let a=e[t];a&&i.on(t,a)})}return i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>
268"vertical"===i.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}isHorizontal(){return"horizontal"===this.params.direction}isVertical(){return"vertical"===this.params.direction}cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)}getSlideIndex(e){let{slidesEl:t,params:a}=this,i=ey(eu(t,`.${a.slideClass}, swiper-slide`)[0]);return ey(e)-(i??0)}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>Number(t.getAttribute("data-swiper-slide-index"))===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=eu(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let a=this.minTranslate(),i=(this.maxTranslate()-a)*e+a;this.translateTo(i,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){if(!this.params._emitClasses||!this.el)return;let e=this.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(this.params.containerModifierClass));this.emit("_containerClasses",e.join(" "))}getSlideClasses(e){return this.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(this.params.slideClass)).join(" ")}emitSlidesClasses(){if(!this.params._emitClasses||!this.el)return;let e=[];this.slides.forEach(t=>{let a=this.getSlideClasses(t);e.push({slideEl:t,classNames:a}),this.emit("_slideClass",t,a)}),this.emit("_slideClasses",e)}slidesPerViewDynamic(e="current",t=!1){let{params:a,slides:i,slidesGrid:r,slidesSizesGrid:n,size:s,activeIndex:l}=this,o=1;if("number"==typeof a.slidesPerView)return a.slidesPerView;if(a.centeredSlides){let e=i[l]?Math.ceil(i[l].swiperSlideSize??0):0,t=!1;for(let a=l+1;a<i.length;a+=1)i[a]&&!t&&(e+=Math.ceil(i[a].swiperSlideSize??0),o+=1,e>s&&(t=!0));for(let a=l-1;a>=0;a-=1)i[a]&&!t&&(e+=i[a].swiperSlideSize??0,o+=1,e>s&&(t=!0))}else if("current"===e)for(let e=l+1;e<i.length;e+=1)(t?r[e]+n[e]-r[l]<s:r[e]-r[l]<s)&&(o+=1);else for(let e=l-1;e>=0;e-=1)r[l]-r[e]<s&&(o+=1);return o}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:a,params:i}=t;function r(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&eF(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),i.freeMode?.enabled&&!i.cssMode)r(),i.autoHeight&&t.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){let a=t.virtual&&i.virtual?.enabled?t.virtual.slides.length:t.slides.length;e=t.slideTo(a-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||r()}i.watchOverflow&&a!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t=!0){let a=this,i=a.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(a.el.classList.remove(`${a.params.containerModifierClass}${i}`),a.el.classList.add(`${a.params.containerModifierClass}${e}`),a.emitContainerClasses(),a.params.direction=e,a.slides.forEac
268h(t=>{"vertical"===e?t.style.width="":t.style.height=""}),a.emit("changeDirection"),t&&a.update()),a}changeLanguageDirection(e){let t=this;(!t.rtl||"rtl"!==e)&&(t.rtl||"ltr"!==e)&&(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){let t=this;if(t.mounted)return!0;if("u"<typeof document)return!1;let a=e??t.params.el,i=null;if("string"==typeof a?i=document.querySelector(a):a instanceof HTMLElement&&(i=a),!i)return!1;i.swiper=t;let r=i.parentNode;r&&r.host&&r.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,s=i&&i.shadowRoot?i.shadowRoot.querySelector(n()):eu(i,n())[0];!s&&t.params.createElements&&(s=em("div",t.params.wrapperClass),i.append(s),eu(i,`.${t.params.slideClass}`).forEach(e=>{s.append(e)}));let l=t.isElement?i.parentNode.host:null;return Object.assign(t,{el:i,wrapperEl:s,slidesEl:t.isElement&&!l.slideSlots?l:s,hostEl:t.isElement?l:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===e_(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===e_(i,"direction")),wrongRTL:"-webkit-box"===e_(s,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual?.enabled?t.slideTo((t.params.initialSlide??0)+(t.virtual.slidesBefore??0),0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let a=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&a.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),a.forEach(e=>{e.complete?eF(t,e):e.addEventListener("load",e=>{eF(t,e.target)})}),eU(t),t.initialized=!0,eU(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){let a=this,{params:i,el:r,wrapperEl:n,slides:s}=a;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),n&&n.removeAttribute("style"),s&&s.length&&s.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),a.emit("destroy"),Object.keys(a.eventsListeners).forEach(e=>{a.off(e)}),!1!==e&&(a.el&&"string"!=typeof a.el&&(a.el.swiper=null),ea(a)),a.destroyed=!0),null}static extendDefaults(e){ec(ti,e)}static installModule(e){tr.prototype.__modules__||(tr.prototype.__modules__=[]);let t=tr.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>tr.installModule(e)):tr.installModule(e),tr}}Object.defineProperty(tr,"extendedDefaults",{get:()=>ti}),Object.defineProperty(tr,"defaults",{get:()=>ez});let tn=ta,ts=tr.prototype;function tl(e,t,a,i,r){let n=[];if(!t)return n;let s=e=>{0>n.indexOf(e)&&n.push(e)};if(a&&i){let e=i.map(r),t=a.map(r);e.join("")!==t.join("")&&s("children"),i.length!==a.length&&s("children")}return ew.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(a=>{if(a in e&&a in t){let i=e[a],r=t[a];if(eE(i)&&eE(r)){let e=Object.keys(i),t=Object.keys(r);e.length!==t.length?s(a):(e.forEach(e=>{i[e]!==r[e]&&s(a)}),t.forEach(e=>{i[e]!==r[e]&&s(a)}))}else i!==r&&s(a)}}),n}function to(e={},t=!0){let a={on:{}},i={},r={};eS(a,ez),a._emitClasses=!0,a.init=!1;let n={},s=ew.map(e=>e.replace(/_/,""));return Object.keys({...e}).forEach(l=>{let o=e[l];if(void 0!==o)if(s.indexOf(l)>=0)eE(o)?(a[l]={},r[l]={},eS(a[l],o),eS(r[l],o)):(a[l]=o,r[l]=o);else if(0===l.search(/on[A-Z]/)&&"function"==typeof o){let e=`${l[2].toLowerCase()}${l.substring(3)}`,r=o;t?i[e]=r:a.on[e]=r}else n[l]=o}
268),["navigation","pagination","scrollbar"].forEach(e=>{!0===a[e]&&(a[e]={}),!1===a[e]&&delete a[e]}),{params:a,passedParams:r,rest:n,events:i}}function tc(e,t){let{el:a,nextEl:i,prevEl:r,paginationEl:n,scrollbarEl:s,swiper:l}=e;if(eC(t)&&i&&r){let e=l.params.navigation,t=l.originalParams.navigation;e.nextEl=i,t.nextEl=i,e.prevEl=r,t.prevEl=r}eT(t)&&n&&(l.params.pagination.el=n,l.originalParams.pagination.el=n),eN(t)&&s&&(l.params.scrollbar.el=s,l.originalParams.scrollbar.el=s),l.init(a)}Object.keys(tn).forEach(e=>{let t=tn[e];Object.keys(t).forEach(e=>{ts[e]=t[e]})}),tr.use([e8,e5]);let td=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate?.())},tu=(0,ee.createContext)(null),th=(0,ee.createContext)(null);function tf(e){return"object"==typeof e&&null!==e&&"type"in e&&"props"in e}function tp(e){if(!tf(e))return!1;let{type:t}=e;if("function"!=typeof t&&"object"!=typeof t)return!1;let a=t.displayName;return!!a&&a.includes("SwiperSlide")}function tm(e){let t=[];return ee.default.Children.toArray(e).forEach(e=>{tp(e)?t.push(e):tf(e)&&e.props&&e.props.children&&tm(e.props.children).forEach(e=>t.push(e))}),t}function tg(e){let t=[],a={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return ee.default.Children.toArray(e).forEach(e=>{if(tp(e))t.push(e);else if(tf(e)&&e.props&&e.props.slot&&e.props.slot in a)a[e.props.slot].push(e);else if(tf(e)&&e.props&&e.props.children){let i=tm(e.props.children);i.length>0?i.forEach(e=>t.push(e)):a["container-end"].push(e)}else tf(e)&&a["container-end"].push(e)}),{slides:t,slots:a}}function tb(e,t){return"u"<typeof window?(0,ee.useEffect)(e,t):(0,ee.useLayoutEffect)(e,t)}function t_(e,t,a){if(!a||!e)return null;let i=e=>{let a=e;return e<0?a=t.length+e:a>=t.length&&(a-=t.length),a},r=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${a.offset}px`}:{top:`${a.offset}px`},{from:n,to:s}=a,l=e.params.loop?-t.length:0,o=e.params.loop?2*t.length:t.length,c=[];for(let e=l;e<o;e+=1)if(e>=n&&e<=s){let a=t[i(e)];a&&c.push(a)}return c.map((t,a)=>{let i=t.props.virtualIndex;return ee.default.cloneElement(t,{swiper:e,style:r,key:i||t.key||`slide-${a}`})})}let ty=(0,ee.forwardRef)(function(e,t){let{className:a,tag:i="div",wrapperTag:r="div",children:n,onSwiper:s,...l}=e??{},o=!1,[c,d]=(0,ee.useState)("swiper"),[u,h]=(0,ee.useState)(null),[f,p]=(0,ee.useState)(!1),m=(0,ee.useRef)(!1),g=(0,ee.useRef)(null),b=(0,ee.useRef)(null),_=(0,ee.useRef)(null),y=(0,ee.useRef)(null),x=(0,ee.useRef)(null),v=(0,ee.useRef)(null),A=(0,ee.useRef)(null),w=(0,ee.useRef)(null),{params:E,passedParams:S,rest:C,events:T}=to(l),{slides:N,slots:k}=tg(n),I=()=>{p(!f)};Object.assign(E.on,{_containerClasses(e,t){d(t)}});let j=()=>{Object.assign(E.on,T),o=!0;let e={...E};delete e.wrapperClass,b.current=new tr(e);let t=b.current;if(t.virtual&&t.params.virtual?.enabled){t.virtual.slides=N;let e={cache:!1,slides:N,renderExternal:h,renderExternalUpdate:!1};eS(t.params.virtual,e),t.originalParams.virtual&&eS(t.originalParams.virtual,e)}};g.current||j(),b.current&&b.current.on("_beforeBreakpoint",I);let P=()=>{!o&&T&&b.current&&Object.keys(T).forEach(e=>{b.current.on(e,T[e])})},L=()=>{T&&b.current&&Object.keys(T).forEach(e=>{b.current.off(e,T[e])})};function O(){return E.virtual?t_(b.current,N,u):N.map((e,t)=>ee.default.cloneElement(e,{swiper:b.current,swiperSlideIndex:t}))}(0,ee.useEffect)(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",I)}),(0,ee.useEffect)(()=>{!m.current&&b.current&&(b.current.emitSlidesClasses(),m.current=!0)}),tb(()=>{if(t&&("function"==typeof t?t(g.current):t.current=g.current),g.current)return b.current&&b.current.destroyed&&j(),tc({el:g.current,nextEl:x.current,prevEl:v.current,paginationEl:A.current,scrollbarEl:w.current,swiper:b.current},E),s&&b.current&&!b.current.destroyed&&s(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),tb(()=>{P();let e=tl(S,_.current,N,y.current,e=>e.key);return _.current=S,y.current=N,e.length&&b.current&&!b.current.destroyed&&ej({swiper:b.current,slides:N,passedParams:S,changedParams:e,nextEl:x.current,prevEl:v.current,scrollbarEl:w.current,paginationEl:A.current}),()=>{L()}}),tb(()=>{td(b.current)},[u]);let D=i,M=r;return ee.default.createElement(D,{ref:g,className:ek(`${c}${a?` ${a}`:""}`),...C},ee.default.createElement(th.Provider,{value:b.current},k["container-start"],ee.default.createElement(M,{className:eI(E.wrapperClass)},k["wrapper-start"],O(),k["wrapper-end"]),eC(E)&&ee.default.createElement(ee.default.Fragment,null,ee.default.createElement("div",{ref:v,className:"swiper-button-prev"}),ee.default.createElement("div",{ref:x,className:"swiper-button-next"})),eN(E)&&ee.default.createElement("div",{ref:w,className:"swiper-scrollbar"}),eT(E)&&ee.default.createElement("div",{ref:A,className:"swiper-pagination"}),k["container-end"]))});ty.displayName="Swiper";let tx=(0,ee.forwardRef)(function(e,t){let{tag:a="div",children:i,className:r="",swiper:n,zoom:s,lazy:l,virtualIndex:o,swiperSlideIndex:c,...d}=e,u=(0,ee.useRef)(null),[h,f]=(0,ee.useState)("swiper-slide"),[p,m]=(0,ee.useState)(!1);function g(e,t,a){t===u.current&&f(a)}tb(()=>{if(void 0!==c&&u.current&&(u.current.swiperSlideIndex=c),t&&("function"==typeof t?t(u.current):t.current=u.current),u.current&&n){if(n.destroyed){"swiper-slide"!==h&&f("swiper-slide");return}return n.on("_slideClass",g),()=>{n&&n.off("_slideClass",g)}}}),tb(()=>{n&&u.current&&!n.destroyed&&f(n.getSlideClasses(u.current))},[n]);let b={isActive:h.indexOf("swiper-slide-active")>=0,isVisible:h.indexOf("swiper-slide-visible")>=0,isFullyVisible:h.indexOf("swiper-slide-fully-visible")>=0,isPrev:h.indexOf("swiper-slide-prev")>=0,isNext:h.indexOf("swiper-slide-next")>=0},_=()=>"function"==typeof i?i(b):i,y=()=>{m(!0)},x=e=>{e&&(e.lazyPreloaderManaged=!0)},v=a;return ee.default.createElement(v,{ref:u,className:ek(`${h}${r?` ${r}`:""}`),"data-swiper-slide-index":o,onLoad:y,...d},s&&ee.default.createElement(tu.Provider,{value:b},ee.default.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof s?s:void 0},_(),l&&!p&&ee.default.createElement("div",{className:"swiper-lazy-preloader",ref:x}))),!s&&ee.default.createElement(tu.Provider,{value:b},_(),l&&!p&&ee.default.createElement("div",{className:"swiper-lazy-preloader",ref:x})))});function tv(e){let t,a,i,r=(0,J.c)(6),{items:n}=e;r[0]!==n?(t=void 0===n?[]:n,r[0]=n,r[1]=t):t=r[1];let s=t;return s.length?(r[2]!==s?(a=s.map(tA),r[2]=s,r[3]=a):a=r[3],r[4]!==a?(i=(0,X.jsx)(ty,{slidesPerView:1.5,centeredSlides:!0,initialSlide:1,spaceBetween:16,children:a}),r[4]=a,r[5]=i):i=r[5],i):null}function tA(e,t){return(0,X.jsx)(tx,{children:(0,X.jsx)(p,{percentage:e.rebate_value,subtitle:e.rebate_conditions_message,type:"spray"})},`${e.rebate_value}-${t}`)}tx.displayName="SwiperSlide";var tw=_,tE=b,tS=r,tC=d,tT=e.i(67552),tN=b;let tk=({labelConfig:e,campaignStatus:t})=>{let a=(0,tN.useMemo)(()=>{switch(!0){case t===tC.ZERO_TOUCH_CAMPAIGN_STATUS_NOT_STARTED:return{title:e.campaignNotStartedTitle,subtitle:e.campaignNotStartedMessage};case t!==tC.ZERO_TOUCH_CAMPAIGN_STATUS_ACTIVE:return{title:e.campaignExpiredTitle,subtitle:e.campaignExpiredMessage};default:return{title:e.invalidAccessLinkTitle,subtitle:e.invalidAccessLinkMessage}}},[t,e]);return(0,tS.jsx)("div",{className:"invalid-access-page zero-touch-hide-parents",children:(0,tS.jsx)("div",{className:"invalid-access-wrapper",children:(0,tS.jsxs)("div",{className:"invalid-access-content",children:[(0,tS.jsx)("div",{className:"illustration",children:(0,tS.jsxs)("svg",{width:"349",he
268ight:"381",viewBox:"0 0 349 381",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,tS.jsxs)("g",{clipPath:"url(#clip0_8321_34)",children:[(0,tS.jsx)("path",{d:"M164.361 172.027L166.802 205.019C166.883 206.11 167.388 207.122 168.203 207.829C169.018 208.535 170.075 208.871 171.132 208.767C173.347 208.548 175.155 206.843 175.554 204.592L177.842 191.67L203.37 192.477V189.197C203.37 185.249 201.417 181.576 198.187 179.443L177.583 165.836L164.361 172.027Z",fill:"#FAC1AA"}),(0,tS.jsx)("path",{d:"M185.431 167.869L148.265 79.304C147.909 78.4577 147.179 77.8426 146.304 77.655C145.43 77.463 144.517 77.7204 143.859 78.3442L120.238 100.776C119.3 101.666 119.079 103.105 119.707 104.252L161.02 179.521C161.526 180.437 162.455 180.965 163.423 180.965C163.809 180.965 164.195 180.882 164.569 180.708L184.043 171.573C185.41 170.932 186.026 169.287 185.431 167.869Z",fill:"#5495E6"}),(0,tS.jsx)("path",{d:"M123.328 53.6313C139.7 41.4689 136.52 33.826 158.227 21.8643L184.718 25.6029L196.663 28.9925C204.596 43.227 202.117 57.4963 186.217 68.5768C184.15 70.0164 182.299 72.0493 181.577 74.8936C180.928 77.4543 180.228 81.459 176.539 81.5375C173.377 81.6073 172.54 79.2865 167.167 81.5506C161.695 83.8539 158.062 84.6566 149.929 78.6976C144.984 75.0724 131.957 70.7842 121.766 82.2791C111.553 93.8002 111.693 62.2775 123.328 53.6356V53.6313Z",fill:"#FAC1AA"}),(0,tS.jsx)("path",{d:"M165.928 80.6825C165.397 80.6825 164.939 80.2724 164.875 79.7184C164.871 79.6791 164.557 77.2536 162.744 75.7006C162.294 75.3167 162.235 74.6275 162.608 74.165C162.982 73.7026 163.653 73.6416 164.103 74.0255C166.59 76.1543 166.968 79.3345 166.98 79.4697C167.048 80.0674 166.628 80.6083 166.047 80.6781C166.004 80.6825 165.966 80.6868 165.924 80.6868L165.928 80.6825Z",fill:"#D6A592"}),(0,tS.jsx)("path",{d:"M185.636 65.2134C185.5 65.2134 185.36 65.1872 185.229 65.1305L179.753 62.7792C179.214 62.548 178.955 61.9067 179.184 61.3527C179.409 60.7986 180.033 60.5325 180.572 60.7681L183.883 62.1902L182.206 57.0644C182.02 56.493 182.317 55.8735 182.873 55.6816C183.429 55.4896 184.032 55.7993 184.218 56.3665L186.642 63.7738C186.774 64.1795 186.663 64.6288 186.358 64.9211C186.158 65.1131 185.899 65.2134 185.636 65.2134Z",fill:"#D6A592"}),(0,tS.jsx)("path",{d:"M198.038 14.5224C189.455 3.90435 177.498 -1.29126 165.235 0.274835C155.502 1.51375 147.255 6.32984 140.714 14.5835C135.158 21.5982 131.97 29.7733 130.272 35.3965C129.249 38.7904 129.746 42.4417 131.639 45.4081C133.536 48.3789 136.597 50.3027 140.031 50.6866C145.328 51.2756 148.83 48.8195 149.394 44.1125C150.354 36.1162 153.257 30.7549 157.366 29.4025C159.654 28.6478 162.111 29.3415 163.775 31.2086C165.902 33.5904 166.241 37.2897 164.688 41.1025C163.359 44.3655 163.291 49.0464 167.481 51.5024C171.195 53.6792 176.038 52.5101 178.746 48.7803C179.867 47.236 181.02
2681 46.4115 182.278 46.2632C184.298 46.0276 186.382 47.5326 187.443 48.4531C188.623 49.4783 191.166 51.8994 194.795 55.4591C196.183 56.8202 197.987 57.553 199.851 57.553C200.462 57.553 201.082 57.4745 201.697 57.3131C204.172 56.6631 206.107 54.7786 206.88 52.2789C210.522 40.4961 207.05 25.6727 198.03 14.5137L198.038 14.5224Z",fill:"#724233"}),(0,tS.jsx)("path",{d:"M133.227 372.78C132.128 370.371 129.581 367.121 123.681 365.311C110.641 361.302 102.899 355.888 102.823 355.836C102.05 355.286 101.061 355.182 100.195 355.548C84.7956 362.122 74.8971 359.234 74.7231 359.182C73.8869 358.916 72.9828 359.073 72.2782 359.605C71.5693 360.137 71.1533 360.988 71.1533 361.891V377.748C71.1533 379.314 72.3885 380.584 73.9123 380.584H131.427C132.794 380.584 133.953 379.559 134.157 378.171C134.22 377.744 134.467 375.489 133.231 372.784L133.227 372.78Z",fill:"black"}),(0,tS.jsx)("path",{d:"M111.257 231.927L95.9591 152.775C95.7214 151.536 94.7112 150.607 93.4845 150.503C92.2578 150.402 91.1117 151.135 90.6745 152.317L65.9325 218.996C65.7287 219.542 65.6948 220.135 65.8348 220.698L75.5551 260.396C77.2105 267.157 77.7623 274.111 77.1935 281.065L70.4063 363.885C70.3342 364.775 70.6737 365.647 71.3232 366.24C71.8325 366.707 72.4862 366.956 73.1569 366.956C73.3394 366.956 73.5219 366.938 73.7044 366.899L106.791 359.993C108.031 359.736 108.939 358.645 108.999 357.35L113.494 260.666C113.944 251.021 113.188 241.341 111.257 231.927Z",fill:"#8F847A"}),(0,tS.jsx)("path",{d:"M97.8944 372.78C96.7951 370.371 94.2483 367.121 88.3482 365.311C75.3087 361.302 67.5664 355.888 67.49 355.836C66.7175 355.286 65.7285 355.182 64.8626 355.548C49.4205 362.135 39.5135 359.217 39.3862 359.182C38.5542 358.916 37.6459 359.077 36.9412 359.605C36.2324 360.137 35.8164 360.988 35.8164 361.891V377.748C35.8164 379.314 37.0516 380.584 38.5754 380.584H96.0905C97.4572 380.584 98.616 379.559 98.8198 378.167C98.8834 377.744 99.1296 375.484 97.8944 372.78Z",fill:"black"}),(0,tS.jsx)("path",{d:"M96.8841 155.279L30.8798 148.928C29.6658 148.81 28.524 149.525 28.0656 150.686C27.6539 151.724 18.3029 176.175 35.3834 201.748L30.2219 364.033C30.1922 364.923 30.5742 365.774 31.2448 366.332C31.7415 366.742 32.3527 366.96 32.9767 366.96C33.1974 366.96 33.4224 366.934 33.6431 366.877L68.012 358.07C69.226 357.76 70.0834 356.647 70.1046 355.361L71.03 294.575C71.1828 284.441 72.6642 274.368 75.4317 264.64L89.8295 214.002C93.6412 200.6 98.1024 174.587 99.3715 158.333C99.4946 156.789 98.3825 155.428 96.8799 155.284L96.8841 155.279Z",fill:"#A3978B"}),(0,tS.jsx)("path",{d:"M148.38 81.219C148.414 81.1056 148.439 80.9922 148.456 80.8788C148.456 80.8613 148.461 80.8395 148.465 80.8221C148.478 80.7174 148.486 80.6083 148.49 80.4992C148.49 80.4818 148.49 80.46 148.49 80.4425C148.49 80.3247 148.486 80.207 148.469 80.0848C148.469 80.063 148.465 80.0456 148.461 80.0237C148.444 79.9147 148.427 79.8056 148.397 79.6966C148.397 79.6835 148.393 79.6704 148.389 79.6617C148.359 79.5482 148.321 79.4392 148.274 79.3258C148.261 79.2996 148.253 79.2734 148.24 79.2472C148.223 79.2123 148.21 79.1774 148.193 79.1425L131.749 45.7615C131.406 45.0592 130.79 44.5357 130.056 44.3175C129.322 44.0994 128.528 44.2041 127.874 44.6098L121.46 48.5578L18.1626 39.3488C12.1649 38.8035 6.32 41.639 2.91579 46.7474C-0.488426 51.8558 -0.946848 58.4779 1.71455 64.0312L30.4678 123.997C30.9475 124.991 31.9237 125.58 32.9425 125.58C33.2905 125.58 33.6428 125.51 33.9824 125.371L38.834 123.334C34.8568 131.875 31.2404 141.058 28.0059 150.834C27.59 152.09 28.0781 153.473 29.1774 154.163C43.847 163.398 64.7094 167.42 82.5285 167.42C88.1654 167.42 93.4967 167.019 98.2295 166.251C98.9341 166.137 99.5708 165.745 100.004 165.156C125.849 129.93 147.998 82.1177 148.219 81.6378C148.27 81.5288 148.312 81.4153 148.346 81.2976C148.355 81.2714 148.363 81.2452 148.367 81.2234L148.38 81.219ZM63.2323 84.1855C60.8935 86.9643 58.6184 89.8784 56.4111 92.9408C55.1887 94.6378 53.9917 96.3827 52.8117 98.1669L46.1815 80.0761L63.2365 84.1898L63.2323 84.1855Z",fill:"#5DA6FF"}),(0,tS.jsx)("path",{d:"M342.964 305.101H214.041C210.866 305.101 208.286 307.754 208.286 311.017V318.145C208.286 321.404 210.866 324.06 214.041 324.06H214.92L208.307 377.391C208.205 378.198 208.451 379.013 208.973 379.624C209.495 380.235 210.251 380.584 211.045 380.584H218.613C219.916 380.584 221.045 379.646 221.312 378.333L232.45 324.06H320.243L331.376 378.333C331.644 379.646 332.773 380.584 334.076 380.584H341.644C342.438 380.584 343.189 380.235 343.715 379.624C344.242 379.013 344.484 378.198 344.382 377.391L337.769 324.06H342.96C346.135 324.06 348.716 321.408 348.716 318.145V311.017C348.716 307.758 346.135 305.101 342.96 305.101H342.964Z",fill:"#CB862C"}),(0,tS.jsx)("path",{d:"M337.505 277.055C324.486 270.172 299.46 266.93 270.562 268.383C237.208 270.058 217.122 276.685 209.444 282.325C208.718 282.857 208.289 283.717 208.289 284.633V302.296C208.289 303.862 209.524 305.132 211.048 305.132H342.632C345.99 305.132 348.719 302.327 348.719 298.876V292.232C348.719 286.099 344.946 280.99 337.505 277.06V277.055Z",fill:"#73301B"}),(0,tS.jsx)("path",{d:"M246.776 236.738L239.484 201.63C237.807 193.555 230.757 187.696 222.726 187.696H185.
268602C181.786 187.696 178.254 189.472 175.916 192.573C173.611 195.627 172.796 199.684 173.73 203.427L202.364 317.888C203.272 321.521 206.46 324.065 210.115 324.065H213.663C218.074 324.065 221.664 320.374 221.664 315.842V290.055C221.664 285.484 223.21 281.012 226.011 277.466L241.971 257.272C246.534 251.501 248.283 244.019 246.772 236.747L246.776 236.738Z",fill:"#984024"}),(0,tS.jsx)("path",{d:"M66.2376 144.639L59.1957 127.94L50.4942 106.77L38.8426 123.334C38.8426 123.334 33.8042 133.69 30.5273 143.562L52.5401 140.137L58.4996 149.045C59.7093 150.856 62.0014 151.523 63.954 150.638C66.1909 149.626 67.2096 146.947 66.2376 144.644V144.639Z",fill:"#FAC1AA"})]}),(0,tS.jsx)("defs",{children:(0,tS.jsx)("clipPath",{id:"clip0_8321_34",children:(0,tS.jsx)("rect",{width:"348.719",height:"380.584",fill:"white"})})})]})}),(0,tS.jsxs)("div",{className:"content",children:[(0,tS.jsx)("h1",{children:a.title}),(0,tS.jsx)("p",{children:a.subtitle}),(0,tS.jsx)("button",{type:"button",className:"home-btn",onClick:()=>{window.location.href=(0,tT.getHomepageurl)()},children:e.goToHomepageButtonText})]})]})})})};var tI=r,tj=n;let tP=e=>{let t,a,i,r,n,s=(0,tj.c)(12),{labelConfig:l,onClose:o}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,tI.jsx)("div",{className:"failed-icon",children:(0,tI.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"73",height:"73",viewBox:"0 0 73 73",fill:"none",children:(0,tI.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M36.2587 0C16.2336 0 0 16.2336 0 36.2587C0 56.2839 16.2336 72.5175 36.2587 72.5175C56.2839 72.5175 72.5175 56.2839 72.5175 36.2587C72.5175 16.2336 56.2839 0 36.2587 0ZM45.9524 23.3205L36.2681 33.0048L26.5838 23.3205L23.3224 26.582L33.0066 36.2662L23.3224 45.9505L26.5838 49.212L36.2681 39.5277L45.9524 49.212L49.2139 45.9505L39.5296 36.2662L49.2139 26.582L45.9524 23.3205Z",fill:"#C63736"})})}),s[0]=t):t=s[0],s[1]!==l.orderFailedTitle?(a=(0,tI.jsx)("h2",{className:"title",children:l.orderFailedTitle}),s[1]=l.orderFailedTitle,s[2]=a):a=s[2],s[3]!==l.orderFailedMessage?(i=(0,tI.jsx)("p",{className:"subtitle",children:l.orderFailedMessage}),s[3]=l.orderFailedMessage,s[4]=i):i=s[4],s[5]!==l.tryAgainButtonText||s[6]!==o?(r=(0,tI.jsx)("button",{type:"button",className:"btn btn-primary w-100 zerotouch-single-submit-btn",onClick:o,children:l.tryAgainButtonText}),s[5]=l.tryAgainButtonText,s[6]=o,s[7]=r):r=s[7],s[8]!==a||s[9]!==i||s[10]!==r?(n=(0,tI.jsx)("div",{className:"zerotouch-failed-wrapper zero-touch-hide-parents",children:(0,tI.jsxs)("div",{className:"zerotouch-failed-card",children:[t,a,i,r]})}),s[8]=a,s[9]=i,s[10]=r,s[11]=n):n=s[11],n};var tL=e.i(15464),tO=r,tD=n,tM=F;let tR=e=>{let t,a,i,r,n=(0,tD.c)(8),{loaderWaitLabel:s,loaderProcessingLabel:l}=e;return n[0]!==s?(t=(0,tO.jsxs)("p",{className:"loader-text",children:[" ",s," "]}),n[0]=s,n[1]=t):t=n[1],n[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,tO.jsx)("div",{className:"rotating-loader",children:(0,tO.jsx)(tM.Icon,{name:"icon-loader"})}),n[2]=a):a=n[2],n[3]!==l?(i=(0,tO.jsxs)("p",{children:[" ",l," "]}),n[3]=l,n[4]=i):i=n[4],n[5]!==t||n[6]!==i?(r=(0,tO.jsx)("div",{className:"loader-overlay",children:(0,tO.jsxs)("div",{className:"loader-content",children:[t,a,i]})}),n[5]=t,n[6]=i,n[7]=r):r=n[7],r};e.i(35958);var tF=e.i(76988),tB=e.i(61572);let tU=e=>{let t,a,i,u,h,f,m,g,b,_,y,x,v,A,w,S,C,T,N,k,I,P,L,O,D,M,F,B,H=(0,n.c)(101),{serverData:$,campaignDetails:W,isOrderSplitEnabled:Y,configData:z,campaignId:X,campaignStatus:J,labelConfig:ee,isFormSummaryEnabled:et,isCustomerIdEnabled:ea,showCaptcha:ei}=e;H[0]!==W?(t=void 0===W?[]:W,H[0]=W,H[1]=t):t=H[1];let er=t,en=(0,Z.useRouter)(),es=en?.query?.[d.ZERO_TOUCH_CUSTOMER_ID_QUERY_KEY]||"";H[2]!==es?(a=(0,tL.DOMSanitizer)(es),H[2]=es,H[3]=a):a=H[3];let el=a,eo=en?.query?.[d.ZERO_TOUCH_CUSTOMER_ID_EMAIL_QUERY_KEY]||"";H[4]!==eo?(i=Q(eo),H[4]=eo,H[5]=i):i=H[5];let ec=i;ec?.[d.ZERO_TOUCH_SFMC_CUSTOMER_ID_KEY]&&(el=ec?.[d.ZERO_TOUCH_SFMC_CUSTOMER_ID_KEY]||"");let[ed,eu]=(0,tE.useState)(Y),[eh,ef]=(0,tE.useState)(ec?.[d.ZERO_TOUCH_SFMC_EMAIL_KEY]||""),[ep,em]=(0,tE.useState)(""),[eg,eb]=(0,tE.useState)(!1),e_=(0,tE.useRef)(null),[ey,ex]=(0,tE.useState)(el);H[6]===Symbol.for("react.memo_cache_sentinel")?(u=e=>{e?eb(!0):eb(!1)},H[6]=u):u=H[6];let ev=u,eA=tG,ew=tY,[eE,eS]=(0,tE.useState)(!1),[eC,eT]=(0,tE.useState)(!1),[eN,ek]=(0,tE.useState)(!1),[eI,ej]=(0,tE.useState)(!1);H[7]===Symbol.for("react.memo_cache_sentinel")?(h={},H[7]=h):h=H[7];let[eP,eL]=(0,tE.useState)(h),eO=(0,tw.useMediaQuery)("(max-width: 767px)");H[8]!==er?(f={}
268,er.forEach(e=>{let t=e.products.reduce(tz,0),a=Math.max(...e?.rebates?.map(tV)),i=1,r=Math.floor(a/t),n=a%t;e.products?.forEach(a=>{a.packages?.forEach(s=>{let{pzn:l,sellPrice:o,...c}=s,d={};e?.rebates.forEach(e=>{let{rebate_value:t}=e;d[`sellPrice${t}`]=Number(o)-Number(o)*Number(t)*.01}),f[l]={productName:a.productName,primaryImage:a.primaryImage,rebates:e?.rebates||[],sellPrice:Number(o),packageMaxRebateQty:i===t?r+n:r,...c,...d},i+=1})})}),H[8]=er,H[9]=f):f=H[9];let eD=f,eM=tK;H[10]!==er||H[11]!==eD||H[12]!==eP?(m={},er.forEach(e=>{let t=ew(Object.entries(eP).filter(t=>{let[a]=t,i=eD[a];return e.products.some(e=>e.productName===i?.productName)}).reduce(tq,0),e.rebates??[]),a=Number(t?.rebate_value||0);e.products.forEach(e=>{m[e.productName]=a})}),H[10]=er,H[11]=eD,H[12]=eP,H[13]=m):m=H[13];let eR=m;H[14]!==eD||H[15]!==eR||H[16]!==eP?(g=[],Object.entries(eP).forEach(e=>{let[t,a]=e,i=eD[t];if(!i||0>=Number(a))return;let r=eR[i.productName]||0,n=g.find(e=>e.productName===i.productName),s={pzn:t,quantity:Number(a),originalSellPrice:Number(i.sellPrice),sellPrice:eM(i,r),rebatePercentage:r,packageName:i.packageName||i.name,primaryImage:i.primaryImage,currency:i.currency,packsize:i.packsize};n?n.packages.push(s):g.push({productName:i.productName,primaryImage:i.primaryImage,rebatePercentage:r,packages:[s]})}),H[14]=eD,H[15]=eR,H[16]=eP,H[17]=g):g=H[17];let eF=g;H[18]!==ey||H[19]!==eF?.length||H[20]!==eh||H[21]!==eg||H[22]!==ei?(b=eF?.length>0&&R(eh)&&ey&&(!ei||eg),H[18]=ey,H[19]=eF?.length,H[20]=eh,H[21]=eg,H[22]=ei,H[23]=b):b=H[23];let eB=b;H[24]!==X||H[25]!==ey||H[26]!==eh||H[27]!==eg||H[28]!==eD||H[29]!==eP||H[30]!==ep||H[31]!==ei||H[32]!==ed?(_=async()=>{if(ei&&!eg)return;eT(!0),Object.entries(eP).map(tQ);let e={email:eh,wholeseller_id:ep,customer_id:ey,split_order:ed,campaign_id:X,products:K(eD,eP)},t=await V(d.ZERO_TOUCH_SUBMIT_FORM_URL,e,{});t?.response?.status===d.SUBMIT_FORM_SUCCESS?(eT(!1),eS(!0)):(eT(!1),ek(!0))},H[24]=X,H[25]=ey,H[26]=eh,H[27]=eg,H[28]=eD,H[29]=eP,H[30]=ep,H[31]=ei,H[32]=ed,H[33]=_):_=H[33];let eU=_;if(eE){let e;return H[34]!==ee?(e=(0,r.jsx)(G,{labelConfig:ee}),H[34]=ee,H[35]=e):e=H[35],e}if(eN){let e,t;return H[36]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{ek(!1)},H[36]=e):e=H[36],H[37]!==ee?(t=(0,r.jsx)(tP,{onClose:e,labelConfig:ee}),H[37]=ee,H[38]=t):t=H[38],t}if(J!==d.ZERO_TOUCH_CAMPAIGN_STATUS_ACTIVE){let e;return H[39]!==J||H[40]!==ee?(e=(0,r.jsx)(tk,{campaignStatus:J,labelConfig:ee}),H[39]=J,H[40]=ee,H[41]=e):e=H[41],e}H[42]===Symbol.for("react.memo_cache_sentinel")?(y=()=>{ej(!0),setTimeout(()=>{ej(!1)},5e3)},H[42]=y):y=H[42];let eH=y;H[43]!==ee.rebateOptimizationSuccessMessage||H[44]!==eI?(x=eI&&(0,r.jsx)(tF.Notification,{notificationType:"success",displayTxt:ee.rebateOptimizationSuccessMessage}),H[43]=ee.rebateOptimizationSuccessMessage,H[44]=eI,H[45]=x):x=H[45],H[46]!==ee.pleaseWaitTitle||H[47]!==ee.processingRequestMessage||H[48]!==eC?(v=eC&&(0,r.jsx)(tR,{loaderWaitLabel:ee.pleaseWaitTitle,loaderProcessingLabel:ee.processingRequestMessage}),H[46]=ee.pleaseWaitTitle,H[47]=ee.processingRequestMessage,H[48]=eC,H[49]=v):v=H[49],H[50]===Symbol.for("react.memo_cache_sentinel")?(A=(0,r.jsx)(l.Icon,{iconName:"rebateIcon",width:22,height:16}),H[50]=A):A=H[50],H[51]!==eD?(w=()=>{let e=q(eD);eH(),eL({...e})},H[51]=eD,H[52]=w):w=H[52],H[53]!==ee.getMaxRebateButtonText||H[54]!==w?(S=(0,r.jsx)("div",{className:"text-center",children:(0,r.jsx)(o.Button,{className:"mx-auto",type:"button",tabindex:0,isSecondary:!0,iconPosition:"left",icon:A,onClick:w,children:ee.getMaxRebateButtonText})}),H[53]=ee.getMaxRebateButtonText,H[54]=w,H[55]=S):S=H[55],H[56]!==er||H[57]!==eF||H[58]!==eO||H[59]!==ee||H[60]!==eP?(C=er?.map((e,t)=>{let a=eA(e,eF),i=ew(a,e.rebates??[]);eF.reduce((t,a)=>e.products.some(e=>e.productName===a.productName)?t+a.packages.reduce(tZ,0):t,0),i?.rebate_value;let n=(e.rebates??[]).find(e=>a>=Number(e.rebate_hint_min_qty)&&a<Number(e.rebate_cutoff_qty)),s=null;if(n)if(n?.hint_message?.includes(d.ZERO_TOUCH_HINT_NUMBER_PLACEHOLDER)){let e=n?.hint_message?.split(d.ZERO_TOUCH_HINT_NUMBER_PLACEHOLDER),t=Number(n.rebate_cutoff_qty)-a;s=`${e?.[0]||""} ${t} ${e?.[1]||""} `}else s=n?.hint_message||"";let l=eO&&(e?.rebates?.length||0)>2;return(0,r.jsxs)("div",{children:[!!e.rebates?.length&&(0,r.jsx)("div",{className:`zeroTouchCardOffers-container ${l&&"zeroTouchCardOffers-container-mobile"}`,style:{marginBottom:"24px"},children:l?(0,r.jsx)(tv,{items:e.rebates}):(0,r.jsx)(r.Fragment,{children:e.rebates.map((e,t)=>(0,r.jsx)(p,{percentage:e?.rebate_value,subtitle:e?.rebate_conditions_message,type:"spray",isActive:i?.rebate_value===e.rebate_value},e?.id??t))})}),!!e.products?.length&&(0,r.jsx)(r.Fragment,{children:e.products.map(t=>(0,r.jsx)(E,{product:t,tooltipMessage:s,setSelectedQuantity:eL,selectedQuantity:eP,labelConfig:ee,campaignDescription:e.campaignDescription||""},t?.productTitle||t?.productName))})]},t)}),H[56]=er,H[57]=eF,H[58]=eO,H[59]=ee,H[60]=eP,H[61]=C):C=H[61],H[62]!==z||H[63]!==ey||H[64]!==eh||H[65]!==ea||H[66]!==ee||H[67]!==ep||H[68]!==ed?(T=(0,r.jsx)(U,{email:eh,setEmail:ef,configData:z,customerId:ey,splitOrderFlag:ed,setSplitOrderFlag:eu,selectedWholesaler:ep,setSelectedWholesaler:em,labelConfig:ee,isCustomerIdEnabled:ea,setCustomerId:ex}),H[62]=z,H[63]=ey,H[64]=eh,H[65]=ea,H[66]=ee,H[67]=ep,H[68]=ed,H[69]=T):T=H[69],H[70]!==eF||H[71]!==et||H[72]!==ee?(N=et&&(0,r.jsx)(j,{productData:eF,setSelectedQuantity:eL,labelConfig:ee}),H[70]=eF,H[71]=et,H[72]=ee,H[73]=N):N=H[73],H[74]===Symbol.for("react.memo_cache_sentinel")?(k={maxWidth:"968px"},H[74]=k):k=H[74],H[75]!==ey||H[76]!==eP||H[77]!==ei?(I=ei&&!(0,tB.default)(eP)&&ey&&(0,r.jsx)("div",{className:"generic-webform-rec
268aptcha",children:(0,r.jsx)(c.Recaptcha,{ref:e_,sitekey:"6LeXUTYqAAAAADhDD_kYaL6eWaf90-a5bvgaJ4j_",onChange:ev,onExpired:()=>{e_.current.reset(),eb(!1)},onErrored:tX})}),H[75]=ey,H[76]=eP,H[77]=ei,H[78]=I):I=H[78],H[79]!==I?(P=(0,r.jsx)("div",{className:"mb-4",children:I}),H[79]=I,H[80]=P):P=H[80];let e$=!eB;return H[81]!==eU?(L=()=>{eU()},H[81]=eU,H[82]=L):L=H[82],H[83]!==ee.submitFormButtonText?(O=(0,r.jsx)("span",{children:ee.submitFormButtonText}),H[83]=ee.submitFormButtonText,H[84]=O):O=H[84],H[85]===Symbol.for("react.memo_cache_sentinel")?(D=(0,r.jsx)("div",{className:"mt-0.8",children:(0,r.jsx)(l.Icon,{iconName:"ArrowForward2",height:24,width:24})}),H[85]=D):D=H[85],H[86]!==e$||H[87]!==L||H[88]!==O?(M=(0,r.jsxs)("button",{className:"btn btn-primary gap-2",disabled:e$,onClick:L,children:[O,D]}),H[86]=e$,H[87]=L,H[88]=O,H[89]=M):M=H[89],H[90]!==P||H[91]!==M?(F=(0,r.jsx)("div",{className:"d-flex justify-content-center mt-5",children:(0,r.jsxs)("div",{className:"w-100",style:k,children:[P,M]})}),H[90]=P,H[91]=M,H[92]=F):F=H[92],H[93]!==x||H[94]!==v||H[95]!==S||H[96]!==C||H[97]!==T||H[98]!==N||H[99]!==F?(B=(0,r.jsxs)(s.Container,{className:"pt-0",children:[x,v,S,C,T,N,F]}),H[93]=x,H[94]=v,H[95]=S,H[96]=C,H[97]=T,H[98]=N,H[99]=F,H[100]=B):B=H[100],B};function tH(e){return e.productName}function t$(e,t){return e+Number(t.quantity||0)}function tG(e,t){let a=e.products.map(tH);return t.reduce((e,t)=>a.includes(t.productName)?e+t.packages.reduce(t$,0):e,0)}function tW(e,t){return Number(t.rebate_cutoff_qty)-Number(e.rebate_cutoff_qty)}function tY(e,t){return[...t].sort(tW).find(t=>e>=Number(t.rebate_cutoff_qty))}function tz(e,t){return e+t.packages.length}function tV(e){return Number(e.rebate_cutoff_qty)}function tK(e,t){return t?Number(e[`sellPrice${t}`]??e.sellPrice):Number(e.sellPrice)}function tq(e,t){let[,a]=t;return e+Number(a||0)}function tQ(e){let[t,a]=e;return{item_no:t,quantity:a,status:""}}function tZ(e,t){return e+Number(t.sellPrice||0)*Number(t.quantity||0)}function tX(){console.error("ZT-Recaptcha error")}},99657,e=>{"use strict";e.s(["AcademyBadgesBlock",()=>iy,"AcademyCatalogueBlock",()=>aZ,"AcademyCertificationsBlock",()=>ib,"AcademyModulesBlock",()=>ip,"AccordionAdvancedComponent",()=>ar,"AccordionBlock",()=>ai,"ActivityDetailsBlock",()=>im,"ArticleTeaserBannerBlock",()=>tz,"ArticleTeaserCompositionBlock",()=>t4,"ArticleTeaserFluidBlock",()=>t6,"ArticleTeaserGroupBlock",()=>t9,"BreadcrumbsBlock",()=>t8,"ButtonGroupBlock",()=>aD,"BuyNowButtonBlock",()=>a4,"CareerSearchFilterBlock",()=>aS,"CommonSearchBlock",()=>ab,"CommonTabGroupBlock",()=>aO,"CompactStockTickerBlock",()=>a_,"CompanyOnboardBlock",()=>ig,"ContactCardsComponent",()=>tX,"ContactUsBlock",()=>aw,"CourseInformationBlock",()=>ic,"CourseOverviewTeaserBlock",()=>io,"CourseSpeakerBlock",()=>id,"CourseTabBlock",()=>il,"CpsiaCertificateBlock",()=>iA,"CsvProductBlock",()=>aY,"CustomCourseBanner",()=>is,"DecisionTreeBlock",()=>ir,"DynamicChartBlock",()=>a6,"EcommerceBlock",()=>aV,"EducationOverviewBlock",()=>aQ,"EmbedGoogleMapsBlock",()=>a1,"EventCalendarHorizontalBlock",()=>aL,"EventVerticalCardBlock",()=>ak,"FeaturedEventsBlock",()=>aP,"FlexibleCarouselBlock",()=>ia,"GoogleMapBlock",()=>t7,"HeroBannerBlock",()=>tW,"HtmlSnippetBlock",()=>ie,"IconCardsGroupComponent",()=>t0,"IframeWrapperBlock",()=>a9,"ImageBlockBlock",()=>am,"InlineQuotationsBlock",()=>aE,"InterestingTeaserCardBlock",()=>at,"KeyFactBlock",()=>tV,"LocationsBlock",()=>af,"MagazineMasonryBlock",()=>ii,"MediaLibraryDetailBlock",()=>aH,"MediaLibrarySearchBlock",()=>a$,"MediaPlayerBlock",()=>ao,"MediaRelatedItemsBlock",()=>aG,"MenuLinkWithIconGroupBlock",()=>aK,"ModuleInformationSectionBlock",()=>iu,"MyBookmarksTabBlock",()=>i_,"NFHExpertBlock",()=>tq,"NFHMediaBlock",()=>tK,"NFHMediaPlayerBlock",()=>tQ,"NewsSearchBlock",()=>aW,"NewsStoriesCardBlock",()=>an,"OpinionLeadersTeaserComponent",()=>t3,"OtherNewsAndStoriesBlock",()=>aB,"OtherNewsAndStoriesFliterBlock",()=>aN,"PastEventsBlock",()=>aj,"PersonaPatientProfileBlock",()=>aq,"PinProtectionBlock",()=>it,"PostCodeLookupBlock",()=>aR,"PrintButtonBlock",()=>a3,"ProductCardDetailBlock",()=>aM,"ProductCardsComponent",()=>tZ,"ProductCatalogueBlockBlock",()=>ax,"ProductDetailBlockBlock",()=>ay,"ProductPipelineCSVUploadBlock",()=>iv,"ProgressChartBlock",()=>ih,"QuickLinkCardBlock",()=>aA,"QuickLinksBlock",()=>au,"RelatedContentBlock",()=>aX,"RelatedItemsBlock",()=>ah,"RestDataExportLinkBlock",()=>az,"RightPanelBlock",()=>ad,"RotatingHeroBannerBlock",()=>tY,"ScheduleTabsBlock",()=>aT,"ServiceTeaserCardBlock",()=>ae,"SimpleVideoBlock",()=>a5,"SnackbiteBlock",()=>as,"SolarTableBlock",()=>a2,"StockTickerBlock",()=>ap,"SupportMaterialTeaserComponent",()=>t2,"TableReferenceColumnBlock",()=>aU,"TabsBlock",()=>aa,"TeaserBlockBlock",()=>av,"TeaserFeatureCardBlock",()=>ag,"TestimonialBlock",()=>al,"TextBlockBlock",()=>t5,"TherapyCardsBlock",()=>aF,"UpcomingEventsBlock",()=>aI,"UserQuizBlock",()=>a7,"VideoCardsComponent",()=>t1,"VideoGalleryBlock",()=>a8,"WebformBlock",()=>aC,"WebstoreDetails",()=>ac,"WebstoreProductSearchBlock",()=>aJ,"ZeroTouchBlock",()=>tJ,"contentCardBlock",()=>ix,"newsLetterSignUpBlock",()=>a0],99657);var t=e.i(91398),a=e.i(91788),i=e.i(61576);e.i(48756);var r=e.i(6271),n=e.i(49266),s=e.i(5223),l=e.i(66196),o=e.i(38347),c=e.i(65662),d=e.i(75425);e.i(35958);var u=e.i(91814),h=e.i(62548),f=e.i(8549),p=e.i(12532),m=e.i(55072),g=e.i(13226),b=e.i(53414);e.i(62179);var _=e.i(26447),y=e.i(94033),x=e.i(78186),v=e.i(34979),A=e.i(7350),w=e.i(90356),E=e.i(89861),S=e.i(64734),C=e.i(13752),T=e.i(32307),N=e.i(27883),k=e.i(10519),I=e.i(73179),j=e.i(82054),P=e.i(68489),L=e.i(68730),O=e.i(82790),D=e.i(43360),M=e.i(58409),R=e.i(41775),F=e.i(63494),B=e.i(363),U=e.i(29738),H=e.i(23385),$=e.i(22276),G=e.i(72275),W=e.i(64751),Y=e.i(91837),z=e.i(47631),V=e.i(41918),K=e.i(48828),q=e.i(82468),Q=e.i(59854),Z=e.i(21668),X=t,J=e.i(68908),J=J,ee=e.i(83919),et=t,ea=i,ei=a;e.i(41871);var er=e.i(87612),en=e.i(15739),es=e.i(56793),el=n;let eo=e=>{let t,a,i,r,n,s,l,o,c,d,u,h,f,p,m,g=(0,ea.c)(59),{filters:b,setFilters:_,searchText:y,setSearchText:x,filterConfigs:v,visibleFilters:A,allLabel:w,clearAllLabel:E}=e;g[0]!==A?(t=void 0===A?{all:!1,category:!0,location:!0,eventType:!0}:A,g[0]=A,g[1]=t):t=g[1];let S=t,C=void 0===w?"All":w,T=void 0===E?"Clear all filters":E;g[2]!==x?(a=e=>{x(e)},g[2]=x,g[3]=a):a=g[3];let N=a,[k,I]=(0,ei.useState)(!1),j=(0,er.useMediaQuery)("(max-width: 767px)");g[4]!==v||g[5]!==_||g[6]!==x?(i=()=>{let e={};v.forEach(t=>
268{e[t.key]=[]}),_(e),x("")},g[4]=v,g[5]=_,g[6]=x,g[7]=i):i=g[7];let P=i;g[8]!==b||g[9]!==y?(r=Object.values(b).some(ec)||y.trim().length>0,g[8]=b,g[9]=y,g[10]=r):r=g[10];let L=r,O=!L;if(g[11]!==C||g[12]!==P||g[13]!==O||g[14]!==S.all?(n=!1!==S.all&&(0,et.jsx)("div",{role:"button",tabIndex:0,"aria-pressed":O,className:`event-listing-filter__all-btn ${O?"active":""}`,onClick:P,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&P()},children:C}),g[11]=C,g[12]=P,g[13]=O,g[14]=S.all,g[15]=n):n=g[15],g[16]!==v||g[17]!==b||g[18]!==_||g[19]!==S){let e,t;g[21]!==S?(e=e=>!1!==S[e.key],g[21]=S,g[22]=e):e=g[22],g[23]!==b||g[24]!==_?(t=e=>{let t=b?.[e.key]||[];return(0,et.jsx)("div",{className:`event-listing-filter__dropdown ${t.length?"active":""}`,children:(0,et.jsx)(en.CustomDropDown,{intialValue:t.length?e.options.filter(e=>t.includes(e.value)):[],placeHolder:e.label,ariaLabel:e.label,options:e.options,name:e.label,simpleDropDownLabel:!0,isMulti:e.isMulti??!0,"aria-pressed":t.length>0,onValueChange:t=>{let a=t;_(t=>({...t,[e.key]:a.map(ed)}))}})},e.key)},g[23]=b,g[24]=_,g[25]=t):t=g[25],s=v.filter(e).map(t),g[16]=v,g[17]=b,g[18]=_,g[19]=S,g[20]=s}else s=g[20];g[26]!==n||g[27]!==s?(l=(0,et.jsxs)("div",{className:"event-listing-filter__filters",children:[n,s]}),g[26]=n,g[27]=s,g[28]=l):l=g[28];let D=`event-listing-filter__search ${k&&!j?"expanded":""}`;if(g[29]!==y?(o=!y&&(0,et.jsx)(el.Icon,{iconName:"Search2"}),g[29]=y,g[30]=o):o=g[30],g[31]!==N||g[32]!==y||g[33]!==x?(c=(0,et.jsx)(es.SearchBox,{currentSearchText:y,placeholderText:"Search...",setSearchText:x,handleSearch:N,isCleared:!0,useStateVal:!1,type:"search",setIsFocused:I}),g[31]=N,g[32]=y,g[33]=x,g[34]=c):c=g[34],g[35]!==D||g[36]!==o||g[37]!==c?(d=(0,et.jsxs)("div",{className:D,children:[o,c]}),g[35]=D,g[36]=o,g[37]=c,g[38]=d):d=g[38],g[39]!==l||g[40]!==d?(u=(0,et.jsxs)("div",{className:"event-listing-filter__header",children:[l,d]}),g[39]=l,g[40]=d,g[41]=u):u=g[41],g[42]!==v||g[43]!==b||g[44]!==_){let e;g[46]!==b||g[47]!==_?(e=e=>(b?.[e.key]||[]).map(t=>(0,et.jsxs)("div",{className:"event-listing-filter__chip",children:[(0,et.jsx)("span",{children:e?.options?.find(e=>e.value===t)?.label}),(0,et.jsx)("button",{type:"button",onClick:()=>{_(a=>({...a,[e.key]:a[e.key].filter(e=>e!==t)}))},children:(0,et.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,et.jsx)("path",{d:"M13.762 3.7915L9.27368 8.27979L13.762 12.7681L12.4885 14.0415L8.00024 9.55322L3.51196 14.0415L2.23853 12.7681L6.72681 8.27979L2.23853 3.7915L3.51196 2.51807L8.00024 7.00635L12.4885 2.51807L13.762 3.7915Z",fill:"#1C59B5"})})})]},`${e.key}-${t}`)),g[46]=b,g[47]=_,g[48]=e):e=g[48],h=v.map(e),g[42]=v,g[43]=b,g[44]=_,g[45]=h}else h=g[45];return g[49]!==P||g[50]!==T||g[51]!==L?(f=L&&(0,et.jsxs)("button",{type:"button",className:"event-listing-filter__clear",onClick:P,children:[T," ",(0,et.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14.578",height:"14.109",viewBox:"0 0 15 15",fill:"none",children:(0,et.jsx)("path",{d:"M13.9551 0.648438L14.5781 1.29688L8.58691 7.05469L14.5781 12.8125L13.9551 13.4609L13.3311 14.1094L7.28906 8.30176L1.24805 14.1094L0 12.8125L5.99023 7.05469L0 1.29688L1.24805 0L7.28906 5.80664L13.3311 0L13.9551 0.648438Z",fill:"var(--Sandoz-Primary-Primary-600, #001C4A)"})})]}),g[49]=P,g[50]=T,g[51]=L,g[52]=f):f=g[52],g[53]!==h||g[54]!==f?(p=(0,et.jsxs)("div",{className:"event-listing-filter__chips",children:[h,f]}),g[53]=h,g[54]=f,g[55]=p):p=g[55],g[56]!==u||g[57]!==p?(m=(0,et.jsxs)("div",{className:"event-listing-filter",children:[u,p]}),g[56]=u,g[57]=p,g[58]=m):m=g[58],m};function ec(e){return Array.isArray(e)&&e.length>0}function ed(e){return e.value}var eu=a,eh=e.i(38233),ef=e.i(47266),ep=t,em=i,eg=e.i(75699);let eb=e=>{let t,a,i,r,n,s=(0,em.c)(11),{type:l,labelConfig:o}=e,c=o.noFeaturedEventsTitle,d=o.noFeaturedEventsMessage;l===eg.EVENT_LISTING.UPCOMING?(c=o.noUpcomingEventsTitle,d=o.noUpcomingEventsMessage):l===eg.EVENT_LISTING.PAST&&(c=o.noPastEventsTitle,d=o.noPastEventsMessage),s[0]!==d||s[1]!==c?(t={eventTitle:c,eventDesc:d},s[0]=d,s[1]=c,s[2]=t):t=s[2];let{eventTitle:u,eventDesc:h}=t;return s[3]===Symbol.for("react.memo_cache_sentinel")?(a=(0,ep.jsx)("div",{className:"event-icon-wrapper",children:(0,ep.jsx)("img",{src:"/assets/icons/calendar-icon.svg",alt:"Calendar",className:"event-calendar"})}),s[3]=a):a=s[3],s[4]!==u?(i=(0,ep.jsx)("div",{children:(0,ep.jsx)("p",{className:"event-title",children:u})}),s[4]=u,s[5]=i):i=s[5],s[6]!==h?(r=(0,ep.jsx)("div",{children:(0,ep.jsx)("p",{className:"event-description",children:h})}),s[6]=h,s[7]=r):r=s[7],s[8]!==i||s[9]!==r?(n=(0,ep.jsxs)("div",{className:"event-not-available-container",children:[a,(0,ep.jsxs)("div",{className:"event-content text-center",children:[i,r]})]}),s[8]=i,s[9]=r,s[10]=n):n=s[10],n};var e_=t,ey=i;let ex=e=>{let t,a,i,r=(0,ey.c)(7),{labelConfig:n}=e;return r[0]!==n.title?(t=(0,e_.jsx)("h1",{className:"event-listing__title",children:n.title}),r[0]=n.title,r[1]=t):t=r[1],r[2]!==n.description?(a=(0,e_.jsx)("p",{className:"event-listing__description",children:n.description}),r[2]=n.description,r[3]=a):a=r[3],r[4]!==t||r[5]!==a?(i=(0,e_.jsx)("div",{className:"event-listing",children:(0,e_.jsxs)("div",{className:"event-listing__header",children:[t,a]})}),r[4]=t,r[5]=a,r[6]=i):i=r[6],i};var ev=e.i(46405),eA=eg,ew=e.i(15315);let eE=e=>{let{labelConfig:t,type:a}=e,[i,r]=(0,eu.useState)(!1),n=e.data,[s,l]=(0,eu.useState)(n.eventListingCards),[o,c]=(0,eu.useState)([]),[d,u]=(0,eu.useState)(n.totalCount),h=e?.data?.serverData,[f,p]=(0,eu.useState)({year:[],month:[],eventType:[],audience:[],location:[]}),[m,g]=(0,eu.useState)(0),[b,_]=(0,eu.useState)(""),[y,x]=(0,eu.useState)(null),v=(0,eu.useMemo)(()=>[{key:"year",label:t.yearFilterLabel,options:Array.isArray(y?.field_event_year)?y.field_event_year.map(e=>({value:e,label:e})):[],isMulti:!0},{key:"month",label:t.monthFilterLabel,options:Array.isArray(y?.field_event_month)?y.field_event_month:[],isMulti:!0},{key:"eventType",label:t.eventTypeFilterLabel,options:Array.isArray(y?.field_event_tags)?y.field_event_tags.map(({tid:e,name:t})=>({value:e,label:t})):[],isMulti:!0}
268,{key:"audience",label:t.audienceFilterLabel,options:Array.isArray(y?.field_audience)?y.field_audience.map(({tid:e,name:t})=>({value:e,label:t})):[],isMulti:!0},{key:"location",label:t.locationFilterLabel,options:Array.isArray(y?.field_location)?y.field_location.map(e=>({value:e,label:e})):[],isMulti:!0}],[y]),A=e=>(0,X.jsx)(X.Fragment,{children:e.typeDate&&(0,X.jsx)("div",{className:"event-listing-filter-type",children:(0,X.jsx)("div",{className:"event-listing-filter-type-title",children:e.typeDate})})}),w=(0,eu.useCallback)(async()=>{if(a===eA.EVENT_LISTING.FEATURED)return;let e=`${eA.API_GET_EVENT_FILTERS}${a}`,t=await (0,ev.getFilterData)(e,h);if(t.fail)return{};x(t?.response)},[a,h]);(0,eu.useEffect)(()=>{w()},[]),(0,eu.useEffect)(()=>{E(!1)},[b,f]);let E=(0,eu.useCallback)(async(e=!1)=>{r(!0);let t="",i=(0,ev.buildEventsFetchQueryString)(f,b,e?m+1:0);if(a===eA.EVENT_LISTING.UPCOMING?t=`${eA.API_UPCOMING_EVENTS}?${i}`:a===eA.EVENT_LISTING.PAST&&(t=`${eA.API_PAST_EVENTS}?${i}`),t){let a=await (0,ev.getMoreEvents)(t,h);if(a.fail)console.error("Event listing fetch failure");else{let t=await (0,ev.formatEventListingData)(a?.response?.data);e?(g(e=>e+1),l(e=>e.concat(t))):(u(a?.response?.meta?.count),g(0),l(t))}}r(!1)},[m,e,b,f]);return(0,eu.useEffect)(()=>{let{lang:e}=(0,ew.getApiDomainAndLang)();a!==eA.EVENT_LISTING.FEATURED&&c((0,ev.groupEventCards)(s,e))},[s,a]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(ex,{labelConfig:{title:a===eA.EVENT_LISTING.UPCOMING?t.upcomingEventsTitle:a===eA.EVENT_LISTING.PAST?t.archivedEventsTitle:t.featuredEventsTitle,description:a===eA.EVENT_LISTING.UPCOMING?t.upcomingEventsDescription:a===eA.EVENT_LISTING.PAST?t.archivedEventsDescription:t.featuredEventsDescription}}),a===eA.EVENT_LISTING.FEATURED&&(0,X.jsx)(ee.default,{slideToShow:1,slideToShowTablet:1,infinite:!1,children:Array.isArray(s)&&s.length&&s.map(e=>(0,X.jsx)(J.default,{data:e,type:a,labelConfig:t}))}),(a===eA.EVENT_LISTING.UPCOMING||a===eA.EVENT_LISTING.PAST)&&(0,X.jsxs)("div",{children:[(0,X.jsx)(eo,{filters:f,setFilters:p,searchText:b,setSearchText:_,filterConfigs:v,allLabel:t.allFilterLabel,clearAllLabel:t.clearAllFiltersLabel,visibleFilters:{location:a===eA.EVENT_LISTING.UPCOMING,audie
268nce:a===eA.EVENT_LISTING.UPCOMING,eventType:a===eA.EVENT_LISTING.UPCOMING,all:a===eA.EVENT_LISTING.UPCOMING}}),Array.isArray(o)&&o.length?(0,X.jsxs)(X.Fragment,{children:[o.map(e=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(A,{typeDate:e.monthYear}),Array.isArray(e.eventCardContent)&&e.eventCardContent.map((e,i)=>(0,X.jsx)("div",{className:"my-5",children:(0,X.jsx)(J.default,{data:e,type:a,labelConfig:t})},`${a}-${e?.id}-${i}`))]})),(0,X.jsx)("div",{children:i?(0,X.jsx)(ef.Loader,{display:!0}):s?.length<d&&(0,X.jsx)("div",{className:"text-center",children:(0,X.jsx)(eh.Button,{tabindex:0,onClick:()=>E(!0),isSecondary:!0,children:t.showMoreButtonText})})})]}):(0,X.jsx)("div",{children:(0,X.jsx)(eb,{labelConfig:t,type:a})})]})]})},eS=(0,P.default)(()=>e.A(21907),{loadableGenerated:{modules:[39448]}}),eC=(0,P.default)(()=>e.A(58856),{loadableGenerated:{modules:[34002]}}),eT=(0,P.default)(()=>e.A(43457),{loadableGenerated:{modules:[63625]}}),eN=(0,P.default)(()=>e.A(4035),{loadableGenerated:{modules:[16188]}}),ek=(0,P.default)(()=>e.A(10359),{loadableGenerated:{modules:[77894]}}),eI=(0,P.default)(()=>e.A(21884),{loadableGenerated:{modules:[75984]},ssr:!1}),ej=(0,P.default)(()=>e.A(79116),{loadableGenerated:{modules:[31727]},ssr:!1}),eP=(0,P.default)(()=>e.A(42041),{loadableGenerated:{modules:[82925]}}),eL=(0,P.default)(()=>e.A(36280),{loadableGenerated:{modules:[56772]},ssr:!1}),eO=(0,P.default)(()=>e.A(53750),{loadableGenerated:{modules:[42363]}}),eD=(0,P.default)(()=>e.A(62846),{loadableGenerated:{modules:[45324]},ssr:!1}),eM=(0,P.default)(()=>e.A(74113),{loadableGenerated:{modules:[46764]},ssr:!1}),eR=(0,P.default)(()=>e.A(19172),{loadableGenerated:{modules:[17173]},ssr:!1}),eF=(0,P.default)(()=>e.A(7165),{loadableGenerated:{modules:[44616]},ssr:!1}),eB=(0,P.default)(()=>e.A(53183),{loadableGenerated:{modules:[61489]}}),eU=(0,P.default)(()=>e.A(70889),{loadableGenerated:{modules:[27716]}}),eH=(0,P.default)(()=>e.A(53241),{loadableGenerated:{modules:[38619]},ssr:!1}),e$=(0,P.default)(()=>e.A(16267),{loadableGenerated:{modules:[87328]}}),eG=(0,P.default)(()=>e.A(11708),{loadableGenerated:{modules:[30429]}}),eW=(0,P.default)(()=>e.A(40646),{loadableGenerated:{modules:[92900]},ssr:!1}),eY=(0,P.default)(()=>e.A(71610),{loadableGenerated:{modules:[85467]},ssr:!1}),ez=(0,P.default)(()=>e.A(1154),{loadableGenerated:{modules:[7329]}}),eV=(0,P.default)(()=>e.A(35143),{loadableGenerated:{modules:[8299]}}),eK=(0,P.default)(()=>e.A(3036),{loadableGenerated:{modules:[82915]}}),eq=(0,P.default)(()=>e.A(10469),{loadableGenerated:{modules:[94250]},ssr:!1}),eQ=(0,P.default)(()=>e.A(98020),{loadableGenerated:{modules:[64478]},ssr:!1}),eZ=(0,P.default)(()=>e.A(77595),{loadableGenerated:{modules:[12928]},ssr:!1}),eX=(0,P.default)(()=>e.A(40313),{loadableGenerated:{modules:[37122]}}),eJ=(0,P.default)(()=>e.A(64940),{loadableGenerated:{modules:[45417]}}),e0=(0,P.default)(()=>e.A(61455),{loadableGenerated:{modules:[67629]}}),e1=(0,P.default)(()=>
268e.A(61904),{loadableGenerated:{modules:[95867]}}),e2=(0,P.default)(()=>e.A(30119),{loadableGenerated:{modules:[25034]}}),e3=(0,P.default)(()=>e.A(87676),{loadableGenerated:{modules:[10054]}}),e4=(0,P.default)(()=>e.A(90365),{loadableGenerated:{modules:[98814]}}),e6=(0,P.default)(()=>e.A(26743),{loadableGenerated:{modules:[33735]}}),e5=(0,P.default)(()=>e.A(80533),{loadableGenerated:{modules:[41602]}}),e8=(0,P.default)(()=>e.A(1510),{loadableGenerated:{modules:[75694]}}),e7=(0,P.default)(()=>e.A(66073),{loadableGenerated:{modules:[7339]}}),e9=(0,P.default)(()=>e.A(84655),{loadableGenerated:{modules:[19631]}}),te=(0,P.default)(()=>e.A(88837),{loadableGenerated:{modules:[74306]}}),tt=(0,P.default)(()=>e.A(64493),{loadableGenerated:{modules:[34359]}}),ta=(0,P.default)(()=>e.A(24867),{loadableGenerated:{modules:[83377]}}),ti=(0,P.default)(()=>e.A(32468),{loadableGenerated:{modules:[77984]}}),tr=(0,P.default)(()=>e.A(24620),{loadableGenerated:{modules:[94601]}}),tn=(0,P.default)(()=>e.A(35073),{loadableGenerated:{modules:[85210]}}),ts=(0,P.default)(()=>e.A(29259),{loadableGenerated:{modules:[60422]}}),tl=(0,P.default)(()=>e.A(76647),{loadableGenerated:{modules:[90009]}}),to=(0,P.default)(()=>e.A(64370),{loadableGenerated:{modules:[21304]}}),tc=(0,P.default)(()=>e.A(34843),{loadableGenerated:{modules:[72653]}}),td=(0,P.default)(()=>e.A(71171),{loadableGenerated:{modules:[77882]}}),tu=(0,P.default)(()=>e.A(53546),{loadableGenerated:{modules:[74676]}}),th=(0,P.default)(()=>e.A(97428),{loadableGenerated:{modules:[11107]}}),tf=(0,P.default)(()=>e.A(36886),{loadableGenerated:{modules:[39326]}}),tp=(0,P.default)(()=>e.A(19569),{loadableGenerated:{modules:[25271]}}),tm=(0,P.default)(()=>e.A(40580),{loadableGenerated:{modules:[91255]}}),tg=(0,P.default)(()=>e.A(63116),{loadableGenerated:{modules:[44649]}}),tb=(0,P.default)(()=>e.A(49087),{loadableGenerated:{modules:[26874]}}),t_=(0,P.default)(()=>e.A(35688),{loadableGenerated:{modules:[44124]}}),ty=(0,P.default)(()=>e.A(96211),{loadableGenerated:{modules:[41780]}}),tx=(0,P.default)(()=>e.A(86380),{loadableGenerated:{modules:[1559]}}),tv=(0,P.default)(()=>e.A(52243),{loadableGenerated:{modules:[49845]}}),tA=(0,P.default)(()=>e.A(87965),{loadableGenerated:{modules:[78570]}}),tw=(0,P.default)(()=>e.A(21631),{loadableGenerated:{modules:[38672]}}),tE=(0,P.default)(()=>e.A(18658),{loadableGenerated:{modules:[86049]}}),tS=(0,P.default)(()=>e.A(62614),{loadableGenerated:{modules:[95743]},ssr:!1}),tC=(0,P.default)(()=>e.A(35011),{loadableGenerated:{modules:[82757]}}),tT=(0,P.default)(()=>e.A(50546),{loadableGenerated:{modules:[9137]}}),tN=(0,P.default)(()=>e.A(28758),{loadableGenerated:{modules:[80674]}}),tk=(0,P.default)(()=>e.A(30522),{loadableGenerated:{modules:[61386]}}),tI=(0,P.default)(()=>e.A(78627),{loadableGenerated:{modules:[5622]}}),tj=(0,P.default)(()=>e.A(10656),{loadableGenerated:{modules:[55455]}}),tP=(0,P.default)(()=>e.A(70781),{loadableGenerated:{modules:[41647]}}),tL=(0,P.default)(()=>e.A(99043),{loadableGenerated:{modules:[21246]}}),tO=(0,P.default)(()=>e.A(16580),{loadableGenerated:{modules:[26434]}}),tD=(0,P.default)(()=>e.A(4836),{loadableGenerated:{modules:[53925]}}),tM=(0,P.default)(()=>e.A(71331),{loadableGenerated:{modules:[80764]}}),tR=(0,P.default)(()=>e.A(80906),{loadableGenerated:{modules:[95073]}}),tF=(0,P.default)(()=>e.A(68591),{loadableGenerated:{modules:[63063]}}),tB=(0,P.default)(()=>
268e.A(52275),{loadableGenerated:{modules:[9035]}}),tU=(0,P.default)(()=>e.A(78510),{loadableGenerated:{modules:[52644]},ssr:!1}),tH=(0,P.default)(()=>e.A(2414),{loadableGenerated:{modules:[56781]},ssr:!1}),t$=(0,P.default)(()=>e.A(90456),{loadableGenerated:{modules:[36188]}}),tG=(0,P.default)(()=>e.A(80344),{loadableGenerated:{modules:[76109]}}),tW=e=>{let a,r,n=(0,i.c)(5),{internalLayout:s,block:l}=e;return n[0]!==l?.data||n[1]!==s?(a=!l?.data?.isParentPaywalled&&(0,t.jsxs)("div",{children:[(0,t.jsx)(eS,{internalLayout:s,...l?.data}),s&&(0,t.jsx)(eT,{})]}),n[0]=l?.data,n[1]=s,n[2]=a):a=n[2],n[3]!==a?(r=(0,t.jsx)(t.Fragment,{children:a}),n[3]=a,n[4]=r):r=n[4],r},tY=e=>{let a,r,n=(0,i.c)(4),{block:s}=e;return n[0]!==s?.data?(a=!s?.data?.isParentPaywalled&&(0,t.jsxs)("div",{children:[(0,t.jsx)(eC,{...s?.data}),(0,t.jsx)(eT,{})]}),n[0]=s?.data,n[1]=a):a=n[1],n[2]!==a?(r=(0,t.jsx)(t.Fragment,{children:a}),n[2]=a,n[3]=r):r=n[3],r},tz=e=>{let a,r,n=(0,i.c)(4),{block:s}=e;return n[0]!==s?.data?(a=!s?.data?.isParentPaywalled&&(0,t.jsx)("div",{children:(0,t.jsx)(eN,{...s?.data})}),n[0]=s?.data,n[1]=a):a=n[1],n[2]!==a?(r=(0,t.jsx)(t.Fragment,{children:a}),n[2]=a,n[3]=r):r=n[3],r},tV=e=>{let a,n,s=(0,i.c)(4),{block:l}=e;return s[0]!==l?.data?(a=!l?.data?.isParentPaywalled&&(0,t.jsxs)("div",{className:`position-relative ${l?.data?.themeStyle}`,children:[(0,t.jsx)(W.default,{className:"key-fact-bg",bgimg:l?.data?.bgImageSrc?l?.data?.bgImageSrc:""}),(0,t.jsx)(r.Container,{children:(0,t.jsx)("div",{className:"key-fact-section",children:(0,t.jsx)(tM,{...l?.data})})})]}),s[0]=l?.data,s[1]=a):a=s[1],s[2]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[2]=a,s[3]=n):n=s[3],n},tK=({block:e,applicationConfiguration:a})=>{let i=a?.siteConfig?.nfh_settings?.nfh_listing_page?.invalid_env_var_config_message??"";if(e?.data?.isEnvConfigSet===!1)return(0,t.jsx)("h4",{className:"text-center",children:i});if(!e?.data?.whichComponent)return null;let{whichComponent:n,componentType:s,isParentPaywalled:l}=e.data,{enable_video_filter:o}=e?.data?.nfhLabels?.nfh_listing_page||{},{isLoggedIn:c}=(0,$.useSelector)(e=>e.user),d=1===o,u=(()=>{switch(n){case"continue_watching":if(!c)return null;return(0,t.jsx)(t.Fragment,{children:s?.includes("grid")?(0,t.jsx)(q.default,{...e.data}):(0,t.jsx)(z.default,{...e.data})});case"recommended_videos":case"collections":case"experts":return(0,t.jsx)(t.Fragment,{children:s?.includes("grid")?(0,t.jsx)(q.default,{...e.data}):(0,t.jsx)(z.default,{...e.data})});case"all_videos":return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(tR,{...e.data,isAllVideosPage:d})});default:return null}})();return u?l?null:(0,t.jsx)(r.Container,{children:u}):null},tq=e=>{let a,n=(0,i.c)(5),{block:s}=e,{expertCardType:l,isParentPaywalled:o}=s?.data;if("expert_details"===l&&!o){let e,a=s?.data?.expertDetailsData;return n[0]!==a?(e=(0,t.jsx)(r.Container,{children:(0,t.jsx)(tG,{...a})}),n[0]=a,n[1]=e):e=n[1],e}return n[2]!==s||n[3]!==o?(a=o?null:(0,t.jsx)(r.Container,{children:(0,t.jsx)(t$,{...s.data})}),n[2]=s,n[3]=o,n[4]=a):a=n[4],a},tQ=e=>{let a,n=(0,i.c)(5),{block:s,applicationConfiguration:l}=e,o=l?.siteConfig?.nfh_settings?.nfh_listing_page?.invalid_env_var_config_message??"";if(s?.data?.isEnvConfigSet===!1){let e;return n[0]!==o?(e=(0,t.jsx)("h4",{className:"text-center",children:o}),n[0]=o,n[1]=e):e=n[1],e}if(s?.data?.isParentPaywalled){let e;return n[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(c.PlaceholderBlock,{style:{minHeight:"2rem"}}),n[2]=e):e=n[2],e}return n[3]!==s.data?(a=(0,t.jsx)(r.Container,{children:(0,t.jsx)(tF,{...s.data})}),n[3]=s.data,n[4]=a):a=n[4],a},tZ=e=>{let a,n,s,o=(0,i.c)(8),{block:c,colBackground:d,index:u,key:h}=e,f=`${u}-${h}`;return o[0]!==c?.data?.productCards?(a=c?.data?.productCards?.map(iw),o[0]=c?.data?.productCards,o[1]=a):a=o[1],o[2]!==a?(n=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eq,{slideToShow:4,children:a})}),o[2]=a,o[3]=n):n=o[3],o[4]!==d||o[5]!==f||o[6]!==n?(s=(0,t.jsx)(r.Container,{background:d,className:"product-card-gap",children:n},f),o[4]=d,o[5]=f,o[6]=n,o[7]=s):s=o[7],s},tX=e=>
268{let a,n,s,o=(0,i.c)(10),{block:d,colBackground:u,index:h,key:f}=e;if(d?.data?.isParentPaywalled){let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(c.PlaceholderBlock,{style:{minHeight:"2rem"}}),o[0]=e):e=o[0],e}let p=`${h}-${f}`,m=`card-group-alignment-${d?.data?.cardGroupAlignment}`;return o[1]!==d?(a=Array.isArray(d?.data?.contactCardsData)&&d.data.contactCardsData.length>0?d.data.contactCardsData.map(iE):(0,t.jsx)(c.PlaceholderBlock,{style:{minHeight:"2rem"}}),o[1]=d,o[2]=a):a=o[2],o[3]!==m||o[4]!==a?(n=(0,t.jsx)(l.Row,{className:m,isTemplateWrapper:!0,children:a}),o[3]=m,o[4]=a,o[5]=n):n=o[5],o[6]!==u||o[7]!==p||o[8]!==n?(s=(0,t.jsx)(r.Container,{background:u,children:n},p),o[6]=u,o[7]=p,o[8]=n,o[9]=s):s=o[9],s},tJ=e=>{let a,r,n=(0,i.c)(4),{block:s}=e;return n[0]!==s?.data?(a=!s?.data?.isParentPaywalled&&(0,t.jsx)("div",{className:"zero-touch-section",children:(0,t.jsx)(Z.default,{...s?.data})}),n[0]=s?.data,n[1]=a):a=n[1],n[2]!==a?(r=(0,t.jsx)(t.Fragment,{children:a}),n[2]=a,n[3]=r):r=n[3],r},t0=e=>{let n,s,o,d=(0,i.c)(10),{block:u,colBackground:h,index:f,key:p}=e;if(u?.data?.isParentPaywalled){let e;return d[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(c.PlaceholderBlock,{style:{minHeight:"2rem"}}),d[0]=e):e=d[0],e}let m=`${f}-${p}`,g=`card-group-alignment-${u?.data?.cardGroupAlignment} ${u?.data?.view===L.default.MINILIST?"row-minlist":""}`;return d[1]!==u?(n=Array.isArray(u?.data?.iconCards)&&u.data.iconCards.length>0?u.data.iconCards.map((e,t)=>(0,a.createElement)(eL,{...e,key:t,view:u?.data?.view,layout:u?.data?.layout,bulletPointsAlignment:u?.data?.bulletPointsAlignment})):(0,t.jsx)(c.PlaceholderBlock,{style:{minHeight:"2rem"}}),d[1]=u,d[2]=n):n=d[2],d[3]!==g||d[4]!==n?(s=(0,t.jsx)(l.Row,{className:g,isTemplateWrapper:!0,children:n}),d[3]=g,d[4]=n,d[5]=s):s=d[5],d[6]!==h||d[7]!==m||d[8]!==s?(o=(0,t.jsx)(r.Container,{background:h,children:s},m),d[6]=h,d[7]=m,d[8]=s,d[9]=o):o=d[9],o},t1=e=>{let n,s,o=(0,i.c)(9),{block:c,colBackground:d,index:u,key:h,applicationConfiguration:f}=e;return o[0]!==f?.video_configuration||o[1]!==c?.data?.isParentPaywalled||o[2]!==c?.data?.videoTeaserCards||o[3]!==d||o[4]!==u||o[5]!==h?(n=!c?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:d,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eq,{slideToShow:3,infinite:!1,children:c?.data?.videoTeaserCards?.map((e,t)=>(0,a.createElement)(eM,{...e,key:t,video_configuration:f?.video_configuration,cardNumber:e?.id}))})})},`${u}-${h}`),o[0]=f?.video_configuration,o[1]=c?.data?.isParentPaywalled,o[2]=c?.data?.videoTeaserCards,o[3]=d,o[4]=u,o[5]=h,o[6]=n):n=o[6],o[7]!==n?(s=(0,t.jsx)(t.Fragment,{children:n}),o[7]=n,o[8]=s):s=o[8],s},t2=e=>{let a,n,s=(0,i.c)(8),{block:o,colBackground:c,index:d,key:u}=e;return s[0]!==o?.data?.isParentPaywalled||s[1]!==o?.data?.supportMaterialCards||s[2]!==c||s[3]!==d||s[4]!==u?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{className:"material-teaser-card-group-wrapper",background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eq,{slideToShow:3,children:o?.data?.supportMaterialCards?.map(iS)})})},`${d}-${u}`),s[0]=o?.data?.isParentPaywalled,s[1]=o?.data?.supportMaterialCards,s[2]=c,s[3]=d,s[4]=u,s[5]=a):a=s[5],s[6]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[6]=a,s[7]=n):n=s[7],n},t3=e=>{let a,n,s=(0,i.c)(8),{block:o,colBackground:c,index:d,key:u}=e;return s[0]!==o?.data?.isParentPaywalled||s[1]!==o?.data?.opinionCards||s[2]!==c||s[3]!==d||s[4]!==u?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eq,{slideToShow:3,children:o?.data?.opinionCards?.map(iC)})})},`${d}-${u}`),s[0]=o?.data?.isParentPaywalled,s[1]=o?.data?.opinionCards,s[2]=c,s[3]=d,s[4]=u,s[5]=a):a=s[5],s[6]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[6]=a,s[7]=n):n=s[7],n},t4=e=>{let a,n=(0,i.c)(10),{block:s,colBackground:c}=e,{data:d}=s;if(d?.containerDefault===w.EArticleTeaserContainerDefault.CONTAINER_NARROW||d?.containerDefault===w.EArticleTeaserContainerDefault.CONTAINER_NORMAL){let e,a;return n[0]!==s.data||n[1]!==c?(e=!s?.data?.isParentPaywalled&&(0,t.jsx)(o.WrapperContainer,{subTheme:s?.data?.subTheme,children:(0,t.jsx)(r.Container,{background:s?.data?.subTheme?"subTheme-colBg":c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(ej,{...s?.data})})})}),n[0]=s.data,n[1]=c,n[2]=e):e=n[2],n[3]!==e?(a=(0,t.jsx)(t.Fragment,{children:e}),n[3]=e,n[4]=a):a=n[4],a}
268if(d?.containerDefault===w.EArticleTeaserContainerDefault.CONTAINER_FLUID){let e,a;return n[5]!==s.data?(e=!s?.data?.isParentPaywalled&&(0,t.jsx)(o.WrapperContainer,{subTheme:s?.data?.subTheme,children:(0,t.jsx)("div",{children:(0,t.jsx)(eP,{...s?.data})})}),n[5]=s.data,n[6]=e):e=n[6],n[7]!==e?(a=(0,t.jsx)(t.Fragment,{children:e}),n[7]=e,n[8]=a):a=n[8],a}return n[9]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(t.Fragment,{}),n[9]=a):a=n[9],a},t6=e=>{let a,r=(0,i.c)(2),{block:n}=e,s=n?.data;return r[0]!==s?(a=(0,t.jsx)("div",{children:(0,t.jsx)(eP,{...s})}),r[0]=s,r[1]=a):a=r[1],a},t5=e=>{let a,n,s=(0,i.c)(6),{block:o,colBackground:c}=e,d=o?.data?.container?o?.data?.container:"normal";return s[0]!==o?.data||s[1]!==c||s[2]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,narrow:"narrow"===d,fluid:"fluid"===d,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eO,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=d,s[3]=a):a=s[3],s[4]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[4]=a,s[5]=n):n=s[5],n},t8=e=>{let a,r=(0,i.c)(2),{block:n}=e,s=n?.data;return r[0]!==s?(a=(0,t.jsx)("div",{children:(0,t.jsx)(eD,{...s})}),r[0]=s,r[1]=a):a=r[1],a},t7=e=>{let a,r,n=(0,i.c)(4),{block:s}=e;return n[0]!==s?.data?(a=!s?.data?.isParentPaywalled&&(0,t.jsx)(l.Row,{isTemplateWrapper:!0,className:"event-map-snippet component-wrapper",children:(0,t.jsx)(eB,{...s?.data})}),n[0]=s?.data,n[1]=a):a=n[1],n[2]!==a?(r=(0,t.jsx)(t.Fragment,{children:a}),n[2]=a,n[3]=r):r=n[3],r},t9=e=>{let a,n,s=(0,i.c)(8),{block:c,colBackground:d}=e,u=c?.data?.container?c?.data?.container:"normal";return s[0]!==c?.data?.articleTeaserSingleContentGroup||s[1]!==c?.data?.isParentPaywalled||s[2]!==c?.data?.subTheme||s[3]!==d||s[4]!==u?(a=!c?.data?.isParentPaywalled&&(0,t.jsx)(o.WrapperContainer,{subTheme:c?.data?.subTheme,children:(0,t.jsx)(r.Container,{className:"article-teaser-group-wrapper",background:c?.data?.subTheme?"subTheme-colBg":d,narrow:"narrow"===u,fluid:"fluid"===u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eG,{articleTeaserSingleContentGroup:c?.data?.articleTeaserSingleContentGroup})})})}),s[0]=c?.data?.articleTeaserSingleContentGroup,s[1]=c?.data?.isParentPaywalled,s[2]=c?.data?.subTheme,s[3]=d,s[4]=u,s[5]=a):a=s[5],s[6]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[6]=a,s[7]=n):n=s[7],n},ae=e=>{let a,n,s=(0,i.c)(8),{block:o,colBackground:c,index:d,key:u}=e;return s[0]!==o?.data?.isParentPaywalled||s[1]!==o?.data?.serviceCards||s[2]!==c||s[3]!==d||s[4]!==u?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,className:"service-teaser-card-group-wrapper",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eq,{slideToShow:3,children:o?.data?.serviceCards?.map(iT)})})},`${d}-${u}`),s[0]=o?.data?.isParentPaywalled,s[1]=o?.data?.serviceCards,s[2]=c,s[3]=d,s[4]=u,s[5]=a):a=s[5],s[6]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[6]=a,s[7]=n):n=s[7],n},at=e=>{let a,n,s=(0,i.c)(8),{block:o,colBackground:c,index:d,key:u}=e;return s[0]!==o?.data?.contentCards||s[1]!==o?.data?.isParentPaywalled||s[2]!==c||s[3]!==d||s[4]!==u?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eq,{slideToShow:3,children:o?.data?.contentCards?.map(iN)})})},`${d}-${u}`),s[0]=o?.data?.contentCards,s[1]=o?.data?.isParentPaywalled,s[2]=c,s[3]=d,s[4]=u,s[5]=a):a=s[5],s[6]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[6]=a,s[7]=n):n=s[7],n},aa=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==d?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(ez,{...d})}),s[0]=d,s[1]=a):a=s[1],s[2]!==c||s[3]!==a?(n=(0,t.jsx)(r.Container,{background:c,children:a}),s[2]=c,s[3]=a,s[4]=n):n=s[4],n},ai=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:o?.data?.accordionWithImage?(0,t.jsx)(_.AccordionWithImage,{...o?.data}):(0,t.jsx)(eV,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ar=e=>
268{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,d=o?.data;return s[0]!==d?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eK,{...d})}),s[0]=d,s[1]=a):a=s[1],s[2]!==c||s[3]!==a?(n=(0,t.jsx)(r.Container,{background:c,children:a}),s[2]=c,s[3]=a,s[4]=n):n=s[4],n},an=e=>{let a,n,s,o=(0,i.c)(7),{block:c,colBackground:d}=e;return console.error("qqqqqqqqqqqqq",c.data),o[0]!==c.data?.latestNewsStoriesCards?(a=c?.data?.latestNewsStoriesCards.map(ik),o[0]=c.data?.latestNewsStoriesCards,o[1]=a):a=o[1],o[2]!==a?(n=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eq,{slideToShow:3,children:a})}),o[2]=a,o[3]=n):n=o[3],o[4]!==d||o[5]!==n?(s=(0,t.jsx)(r.Container,{background:d,children:n}),o[4]=d,o[5]=n,o[6]=s):s=o[6],s},as=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,narrow:!0,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eJ,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},al=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c??"grey",className:"show-margin",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e1,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ao=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c??"grey",className:"show-margin",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(th,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ac=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c??"grey",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tm,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ad=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e2,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},au=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c??"white",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e3,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ah=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o,u=c??"grey";return s[0]!==d?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e5,{...d})}),s[0]=d,s[1]=a):a=s[1],s[2]!==u||s[3]!==a?(n=(0,t.jsx)(r.Container,{background:u,className:"show-margin",children:a}),s[2]=u,s[3]=a,s[4]=n):n=s[4],n},af=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o,u=c??"white";return s[0]!==d?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e7,{...d})}),s[0]=d,s[1]=a):a=s[1],s[2]!==u||s[3]!==a?(n=(0,t.jsx)(r.Container,{background:u,children:a}),s[2]=u,s[3]=a,s[4]=n):n=s[4],n},ap=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==c||s[1]!==d?(a=!d?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e9,{...d})})}),s[0]=c,s[1]=d,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},am=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==c||s[1]!==d?(a=!d?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(te,{...d})})}),s[0]=c,s[1]=d,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ag=e=>
268{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==c||s[1]!==d?(a=!d?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tc,{...d,isSingleCard:!0})})}),s[0]=c,s[1]=d,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ab=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==c||s[1]!==d?(a=!d?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(to,{...d})})}),s[0]=c,s[1]=d,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},a_=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==c||s[1]!==d?(a=!d?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tl,{...d})})}),s[0]=c,s[1]=d,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ay=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==d?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(ti,{...d})}),s[0]=d,s[1]=a):a=s[1],s[2]!==c||s[3]!==a?(n=(0,t.jsx)(r.Container,{background:c,narrow:!0,children:a}),s[2]=c,s[3]=a,s[4]=n):n=s[4],n},ax=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==d?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tr,{...d})}),s[0]=d,s[1]=a):a=s[1],s[2]!==c||s[3]!==a?(n=(0,t.jsx)(r.Container,{background:c,children:a}),s[2]=c,s[3]=a,s[4]=n):n=s[4],n},av=e=>{let a,n,s=(0,i.c)(6),{block:o,colBackground:c}=e,d=o?.data?.cardType==="teaser_snacbite"?"narrow":"normal";return s[0]!==o?.data||s[1]!==c||s[2]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,narrow:"narrow"===d,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)("div",{children:(0,t.jsx)(ta,{...o?.data})})})}),s[0]=o?.data,s[1]=c,s[2]=d,s[3]=a):a=s[3],s[4]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[4]=a,s[5]=n):n=s[5],n},aA=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c??"white",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e4,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},aw=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==d?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tt,{...d})}),s[0]=d,s[1]=a):a=s[1],s[2]!==c||s[3]!==a?(n=(0,t.jsx)(r.Container,{background:c,children:a}),s[2]=c,s[3]=a,s[4]=n):n=s[4],n},aE=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==c||s[1]!==d?(a=!d?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tn,{...d})})}),s[0]=c,s[1]=d,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},aS=e=>{let a,n,s=(0,i.c)(3),{colBackground:o}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(ts,{})}),s[0]=a):a=s[0],s[1]!==o?(n=(0,t.jsx)(r.Container,{background:o,children:a}),s[1]=o,s[2]=n):n=s[2],n},aC=e=>{let n,s,o=(0,i.c)(12),{block:c,index:d,key:u,colBackground:h}=e,{applicationHeaderData:f}=(0,a.useContext)(j.default),p=f?.headerData?.headerTopSection?.themeName??"";if("calculator"===c.data.categoryType){let e,a,i=`${d}-${u}`,n=c?.data;return o[0]!==n?(e=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(x.DosageCalculator,{...n})}),o[0]=n,o[1]=e):e=o[1],o[2]!==i||o[3]!==e?(a=(0,t.jsx)(r.Container,{background:"white",children:e},i),o[2]=i,o[3]=e,o[4]=a):a=o[4],a}let m=h??"white",g=`${d}-${u}`,b=c?.data;return o[5]!==b||o[6]!==p?(n=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(E.default,{theme:p,...b})}),o[5]=b,o[6]=p,o[7]=n):n=o[7],o[8]!==m||o[9]!==g||o[10]!==n?(s=(0,t.jsx)(r.Container,{background:m,children:n},g),o[8]=m,o[9]=g,o[10]=n,o[11]=s):s=o[11],s},aT=e=>
268{let a,n,s,o=(0,i.c)(11),{block:c,index:d,key:u,colBackground:h}=e,{data:f}=c;return o[0]!==f?.scheduleData?(a=[],f?.scheduleData?.forEach((e,t)=>{a.push({children:e.question,itemID:`schedule-${t}`,active:!0,tabDesign:"pills"})}),o[0]=f?.scheduleData,o[1]=a):a=o[1],o[2]!==c.data?.isParentPaywalled||o[3]!==h||o[4]!==d||o[5]!==u||o[6]!==f?.scheduleData||o[7]!==a?(n=!c?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:h,children:(0,t.jsxs)(l.Row,{isTemplateWrapper:!0,children:[f?.scheduleData?.scheduleHeader&&(0,t.jsx)("h3",{className:"conference-schedule-header",children:f?.scheduleData?.scheduleHeader}),(0,t.jsx)("div",{className:"conference-schedule-tabs",children:(0,t.jsx)(ez,{tabHeadItems:a,tabContentID:"schedule",tabHeadClassName:"tab-nav",tabContentClassName:"event-conf-tabs-content",tabContents:f?.scheduleData?.map(iI)})})]})},`${d}-${u}`),o[2]=c.data?.isParentPaywalled,o[3]=h,o[4]=d,o[5]=u,o[6]=f?.scheduleData,o[7]=a,o[8]=n):n=o[8],o[9]!==n?(s=(0,t.jsx)(t.Fragment,{children:n}),o[9]=n,o[10]=s):s=o[10],s},aN=e=>{let a,n,s=(0,i.c)(6),{block:o,index:c,key:d,colBackground:u}=e,{data:h}=o,{nasFilterData:f}=h,p=`${c}-${d}`;return s[0]!==f?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e0,{type:"news",filterData:f})}),s[0]=f,s[1]=a):a=s[1],s[2]!==u||s[3]!==p||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:u,children:a},p),s[2]=u,s[3]=p,s[4]=a,s[5]=n):n=s[5],n},ak=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e,{data:h}=o,{eventVerticalFilterData:f}=h;return s[0]!==u||s[1]!==f||s[2]!==c||s[3]!==d?(a=!f?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e0,{type:"events",filterData:f})})},`${c}-${d}`),s[0]=u,s[1]=f,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},aI=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eE,{data:o?.data,type:"upcoming",url:o.url,labelConfig:o.data?.labelConfig||{},serverData:o.data?.serverData})})},`${c}-${d}`),s[0]=o,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},aj=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eE,{data:o?.data,type:"past",url:o.url,labelConfig:o.data?.labelConfig||{},serverData:o.data?.serverData})})},`${c}-${d}`),s[0]=o,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},aP=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&Array.isArray(o?.data?.eventListingCards)&&o?.data?.eventListingCards.length&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eE,{data:o?.data,type:"featured",url:o.url,labelConfig:o.data?.labelConfig||{},serverData:o.data?.serverData})})},`${c}-${d}`),s[0]=o,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},aL=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(td,{...o.data})})},`${c}-${d}`),s[0]=o,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},aO=e=>{let a,n,s=(0,i.c)(18),{block:o,index:c,key:d,colBackground:u}=e,{tabHeaderItems:h,tabBodyContents:f,isParentPaywalled:p,tabStyle:m}=o?.data;if("round_tabs"===m){let e,a;return s[0]!==u||s[1]!==c||s[2]!==p||s[3]!==d||s[4]!==f||s[5]!==h?(e=!p&&(0,t.jsx)(r.Container,{fluid:!0,background:u,children:(0,t.jsx)(b.default,{activeTab:void 0,tabHeadItems:h,tabContents:f,isNFHAllListingTabs:!0},`${c}-${d}-tabs`)},`${c}-${d}
268`),s[0]=u,s[1]=c,s[2]=p,s[3]=d,s[4]=f,s[5]=h,s[6]=e):e=s[6],s[7]!==e?(a=(0,t.jsx)(t.Fragment,{children:e}),s[7]=e,s[8]=a):a=s[8],a}return s[9]!==u||s[10]!==c||s[11]!==p||s[12]!==d||s[13]!==f||s[14]!==h?(a=!p&&(0,t.jsx)(r.Container,{fluid:!0,background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(b.default,{activeTab:void 0,tabHeadItems:h,tabContents:f},`${c}-${d}-tabs`)})},`${c}-${d}`),s[9]=u,s[10]=c,s[11]=p,s[12]=d,s[13]=f,s[14]=h,s[15]=a):a=s[15],s[16]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[16]=a,s[17]=n):n=s[17],n},aD=e=>{let a,s,o,c=(0,i.c)(15),{block:f,index:p,key:m,colBackground:g,applicationConfiguration:b,bookmarksNodeId:_,handleBookmarks:y}=e;c[0]===Symbol.for("react.memo_cache_sentinel")?(a={primary_light:"btn-primary",secondary_light:"btn-secondary",primary_secondary_dark:"btn-primary-dark"},c[0]=a):a=c[0];let x=a[f?.data?.buttonGroupBackgroundColor]||"",v=f?.data?.buttonGroupAlignment||"left";return c[1]!==b?.isBookmarkEnabled||c[2]!==b?.isFavouriteEnabled||c[3]!==f?.data?.buttons||c[4]!==f?.data?.isParentPaywalled||c[5]!==_||c[6]!==v||c[7]!==x||c[8]!==g||c[9]!==y||c[10]!==p||c[11]!==m?(s=!f?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:g,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(u.ButtonGroup,{buttonGroupAlignment:v,children:f?.data?.buttons?.map((e,a)=>{let{ctaBtnType:i,ctaBtnData:r,ctaBtnLabel:s}=e;return"bookmark"===i&&b?.isBookmarkEnabled?(0,t.jsx)(eZ,{id:_,bookmarkCallback:y,buttonGroupBackgroundColor:x,...r},a):"calendar"===i?(0,t.jsx)(e$,{...r,btnLabel:s,buttonGroupBackgroundColor:x},a):"favourite"===i&&b?.isFavouriteEnabled?(0,t.jsx)(eU,{className:"common-cta-favourite",isSecondary:!0,buttonGroupBackgroundColor:x,tabindex:m,icon:(0,t.jsx)(n.Icon,{iconName:"FavouriteIcon"}),children:s},a):"medicalinfo"===i?(0,t.jsx)(eU,{className:"common-cta-medicalinfo",isSecondary:!0,tabindex:m,buttonGroupBackgroundColor:x,children:s},a):"download"===i?(0,t.jsx)(eH,{className:"anchor-cta-download",buttonGroupBackgroundColor:x,isExternal:!0,icon:(0,t.jsx)(n.Icon,{iconName:"DownloadIcon"}),...r,isFromHumanRightDownload:!0},a):"print"===i?(0,t.jsx)(eH,{className:"anchor-cta-print",buttonGroupBackgroundColor:x,isExternal:!0,icon:(0,t.jsx)(n.Icon,{iconName:"PrintIcon"}),...r},a):"link"===i?(0,t.jsx)(eH,{className:"anchor-cta-link",buttonGroupBackgroundColor:x,isExternal:!0,...r},a):"social_sharing"===i?(0,t.jsx)(e6,{tabIndex:m,sharingPlatforms:r,btnLabel:s,pageLinkLabel:e.pageLinkLabel,copiedLabel:e.copiedLabel,copyBtnLabel:e?.copyBtnLabel,buttonGroupBackgroundColor:x},a):"cta_button"===i?(0,t.jsx)(h.CTAButtonGroup,{tabIndex:m,buttonGroupBackgroundColor:x,fieldButtonTitle:s,isInline:f?.data?.buttons?.length>d.default.ONE,...r},a):void 0})})})},`${p}-${m}`),c[1]=b?.isBookmarkEnabled,c[2]=b?.isFavouriteEnabled,c[3]=f?.data?.buttons,c[4]=f?.data?.isParentPaywalled,c[5]=_,c[6]=v,c[7]=x,c[8]=g,c[9]=y,c[10]=p,c[11]=m,c[12]=s):s=c[12],c[13]!==s?(o=(0,t.jsx)(t.Fragment,{children:s}),c[13]=s,c[14]=o):o=c[14],o},aM=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o?.data||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eX,{...o?.data})})},`${c}-${d}`),s[0]=o?.data,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},aR=e=>{let a,r=(0,i.c)(2),{block:n}=e,s=n?.data;return r[0]!==s?(a=(0,t.jsx)("div",{children:(0,t.jsx)(T.default,{...s})}),r[0]=s,r[1]=a):a=r[1],a},aF=e=>{let a,n,s=(0,i.c)(6),{block:o,index:c,key:d,colBackground:u}=e,h=`${c}-${d}`,f=o?.data?.therapyFilterData;return s[0]!==f?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e0,{type:"therapy-areas",filterData:f})}),s[0]=f,s[1]=a):a=s[1],s[2]!==u||s[3]!==h||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:u,children:a},h),s[2]=u,s[3]=h,s[4]=a,s[5]=n):n=s[5],n},aB=e=>{let a,n,s=(0,i.c)(8),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o?.data?.isParentPaywalled||s[1]!==o?.data?.newsData||s[2]!==u||s[3]!==c||s[4]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(eq,{slideToShow:1,slideToShowTablet:1,children:o?.data?.newsData?.map(ij)})})},`${c}-${d}`),s[0]=o?.data?.isParentPaywalled,s[1]=o?.data?.newsData,s[2]=u,s[3]=c,s[4]=d,s[5]=a):a=s[5],s[6]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[6]=a,s[7]=n):n=s[7],n},aU=e=>
268{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o?.data||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(y.ComparisonTable,{...o?.data})})},`${c}-${d}`),s[0]=o?.data,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},aH=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o?.data||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(A.MediaLibraryDetails,{...o?.data})})},`${c}-${d}`),s[0]=o?.data,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},a$=e=>{let a,n,s=(0,i.c)(6),{block:l,index:o,key:c,colBackground:d}=e,u=`${o}-${c}`,h=l?.data;return s[0]!==h?(a=(0,t.jsx)(e8,{mediaData:h}),s[0]=h,s[1]=a):a=s[1],s[2]!==d||s[3]!==u||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:d,children:a},u),s[2]=d,s[3]=u,s[4]=a,s[5]=n):n=s[5],n},aG=e=>{let a,n,s=(0,i.c)(6),{block:o,index:c,key:d,colBackground:u}=e,h=u??"grey",f=`${c}-${d}`,p=o?.data;return s[0]!==p?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e5,{...p})}),s[0]=p,s[1]=a):a=s[1],s[2]!==h||s[3]!==f||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:h,className:"show-margin",children:a},f),s[2]=h,s[3]=f,s[4]=a,s[5]=n):n=s[5],n},aW=e=>{let a,r,n,s=(0,i.c)(6),{block:l,index:o,key:c}=e,d=`${o}-${c}`;s[0]===Symbol.for("react.memo_cache_sentinel")?(a={display:"flex",flexDirection:"column"},s[0]=a):a=s[0];let u=l?.data;return s[1]!==u?(r=(0,t.jsx)(S.default,{...u}),s[1]=u,s[2]=r):r=s[2],s[3]!==d||s[4]!==r?(n=(0,t.jsx)("div",{style:a,children:r},d),s[3]=d,s[4]=r,s[5]=n):n=s[5],n},aY=e=>{let a,n,s=(0,i.c)(5),{block:l,colBackground:o}=e,c=l?.data;return s[0]!==c?(a=(0,t.jsx)(ti,{...c}),s[0]=c,s[1]=a):a=s[1],s[2]!==o||s[3]!==a?(n=(0,t.jsx)(r.Container,{background:o,narrow:!0,children:a}),s[2]=o,s[3]=a,s[4]=n):n=s[4],n},az=e=>{let a=(0,i.c)(50),{block:n,applicationConfiguration:s,colBackground:o}=e,{profile:c,isLoggedIn:d}=(0,$.useSelector)(iP),u=c?.response?.user_activity?.course_details;if(n?.data?.type==="product_catalogue"){let e,i,s=n?.data?.data;return a[0]!==s?(e=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tr,{...s})}),a[0]=s,a[1]=e):e=a[1],a[2]!==o||a[3]!==e?(i=(0,t.jsx)(r.Container,{background:o,children:e}),a[2]=o,a[3]=e,a[4]=i):i=a[4],i}if(n?.data?.type==="product_listing"||n?.data?.type==="pim_product_listing"){let e,i,s=n?.data?.data,l=n?.data?.type;return a[5]!==s||a[6]!==l?(e=(0,t.jsx)(I.default,{...s,type:l}),a[5]=s,a[6]=l,a[7]=e):e=a[7],a[8]!==o||a[9]!==e?(i=(0,t.jsx)(r.Container,{background:o,className:"csv-prod-listing",children:e}),a[8]=o,a[9]=e,a[10]=i):i=a[10],i}if(n?.data?.type==="pim_product_listing_v2"){let e,i,s=n?.data?.data,l=n?.data?.type;return a[11]!==s||a[12]!==l?(e=(0,t.jsx)(H.default,{...s,type:l}),a[11]=s,a[12]=l,a[13]=e):e=a[13],a[14]!==o||a[15]!==e?(i=(0,t.jsx)(r.Container,{background:o,className:"csv-prod-listing",children:e}),a[14]=o,a[15]=e,a[16]=i):i=a[16],i}if(n?.data?.type==="simple_product"){let e,i,l=n?.data,c=s?.wave1_product_data;return a[17]!==l||a[18]!==c?(e=(0,t.jsx)(k.default,{...l,dispalyData:c}),a[17]=l,a[18]=c,a[19]=e):e=a[19],a[20]!==o||a[21]!==e?(i=(0,t.jsx)(r.Container,{background:o,className:"prod-listing",children:e}),a[20]=o,a[21]=e,a[22]=i):i=a[22],i}if(n?.data?.type==="pim_family_page"){let e,i,s=o??"white";return a[23]!==n.data?(e=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tg,{...n.data})}),a[23]=n.data,a[24]=e):e=a[24],a[25]!==s||a[26]!==e?(i=(0,t.jsx)(r.Container,{background:s,children:e}),a[25]=s,a[26]=e,a[27]=i):i=a[27],i}if(n?.data?.type==="category_banner"){let e;return a[28]!==n.data?(e=(0,t.jsx)(N.default,{...n.data}),a[28]=n.data,a[29]=e):e=a[29],e}if(n?.data?.type==="sendout_interface_one"){let e;return a[30]!==n.data?(e=(0,t.jsx)(r.Container,{children:(0,t.jsx)(tC,{...n.data})}),a[30]=n.data,a[31]=e):e=a[31],e}if(n?.data?.type==="sendout_interface_two"){let e;return a[32]!==n.data?(e=(0,t.jsx)(r.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tC,{...n.data})})}),a[32]=n.data,a[33]=e):e=a[33],e}if(n?.data?.type==="cc_po_listing"){let e,i=n?.data;return a[34]!==i?(e=(0,t.jsx)(r.Container,{className:"po-listings",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(O.default,{...i})})}),a[34]=i,a[35]=e):e=a[35],e}if(n?.data?.type==="cc_po_details_page"){let e,i=n?.data;return a[36]!==i?(e=(0,t.jsx)(r.Container,{className:"purchase-detail",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(B.default,{...i})})}),a[36]=i,a[37]=e):e=a[37],e}if(n?.data?.type==="cc_company_listing"){let e,i=n?.data;return a[38]!==i?(e=(0,t.jsx)(r.Container,{className:"company-listing",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(D.default,{...i})})}),a[38]=i,a[39]=e):e=a[39],e}if(n?.data?.type==="cc_user_action_listing"){let e,i=n?.data;return a[40]!==i?(e=(0,t.jsx)(r.Container,{className:"user-details",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(M.default,{...i})})}),a[40]=i,a[41]=e):e=a[41],e}if(n?.data?.type==="cc_openorder_listing"){let e,i=n?.data;return a[42]!==i?(e=(0,t.jsx)(r.Container,{className:"open-orders",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(F.default,{...i})})}),a[42]=i,a[43]=e):e=a[43],e}if(n?.data?.type==="my_courses"&&d&&u?.length&&!n?.data?.enableBlockPaywall){let e,i=c?.response?.user_activity;
268a[44]!==i?(e=(0,G.getMyCoursesData)(i),a[44]=i,a[45]=e):e=a[45];let n=e;if(n){let e;return a[46]!==n?(e=(0,t.jsx)(l.Row,{className:"my-courses",children:(0,t.jsx)(r.Container,{children:(0,t.jsx)(tk,{...n,isMyCourses:!0})})}),a[46]=n,a[47]=e):e=a[47],e}{let e;return a[48]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),a[48]=e):e=a[48],e}}{let e;return a[49]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),a[49]=e):e=a[49],e}},aV=e=>{let a=(0,i.c)(19),{block:n,colBackground:s}=e,{profile:l}=(0,$.useSelector)(iL);if(l?.response?.user_activity?.course_details,n?.data?.type==="ecomm_product_listing"){let e,i,l=n?.data,o=n?.data?.type;return a[0]!==l||a[1]!==o?(e=(0,t.jsx)(tU,{...l,type:o}),a[0]=l,a[1]=o,a[2]=e):e=a[2],a[3]!==s||a[4]!==e?(i=(0,t.jsx)(r.Container,{background:s,className:"csv-prod-listing",children:e}),a[3]=s,a[4]=e,a[5]=i):i=a[5],i}if(n?.data?.type==="quick_order"){let e,i,l=n?.data,o=n?.data?.type;return a[6]!==l||a[7]!==o?(e=(0,t.jsx)(tH,{...l,type:o}),a[6]=l,a[7]=o,a[8]=e):e=a[8],a[9]!==s||a[10]!==e?(i=(0,t.jsx)(r.Container,{background:s,className:"csv-prod-listing",children:e}),a[9]=s,a[10]=e,a[11]=i):i=a[11],i}if(n?.data?.type==="customer_on_behalf"){let e,i,l=n?.data,o=n?.data?.type;return a[12]!==l||a[13]!==o?(e=(0,t.jsx)(Y.default,{...l,type:o}),a[12]=l,a[13]=o,a[14]=e):e=a[14],a[15]!==s||a[16]!==e?(i=(0,t.jsx)(r.Container,{background:s,className:"csv-prod-listing",children:e}),a[15]=s,a[16]=e,a[17]=i):i=a[17],i}{let e;return a[18]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),a[18]=e):e=a[18],e}},aK=e=>{let a,n,s=(0,i.c)(14),{block:o,index:c,key:d,colBackground:u}=e;if(o?.secId==="inpage-nav"&&!o?.data?.isParentPaywalled){let e,a;return s[0]!==o?.data||s[1]!==u||s[2]!==c||s[3]!==d?(e=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(v.LinkWithIcon,{...o?.data,isInpageNav:!0})},`${c}-${d}`),s[0]=o?.data,s[1]=u,s[2]=c,s[3]=d,s[4]=e):e=s[4],s[5]!==e?(a=(0,t.jsx)(t.Fragment,{children:e}),s[5]=e,s[6]=a):a=s[6],a}return s[7]!==o?.data||s[8]!==u||s[9]!==c||s[10]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(v.LinkWithIcon,{...o?.data})})},`${c}-${d}`),s[7]=o?.data,s[8]=u,s[9]=c,s[10]=d,s[11]=a):a=s[11],s[12]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[12]=a,s[13]=n):n=s[13],n},aq=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o?.data||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(C.default,{...o?.data})})},`${c}-${d}`),s[0]=o?.data,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},aQ=e=>{let a,n,s=(0,i.c)(6),{block:o,colBackground:c,index:d,key:u}=e,h=`${d}-${u}`,f=o?.data?.educationAdvanceFilterData;return s[0]!==f?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e0,{type:"education",filterData:f})}),s[0]=f,s[1]=a):a=s[1],s[2]!==c||s[3]!==h||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:c,children:a},h),s[2]=c,s[3]=h,s[4]=a,s[5]=n):n=s[5],n},aZ=e=>{let a,n,s=(0,i.c)(7),{block:o,colBackground:c,index:d,key:u}=e,{data:h}=o,{courseCatalogueAdvanceFilterData:f}=h,p=`${d}-${u}`,m=o?.type;return s[0]!==f||s[1]!==m?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(e0,{type:m,filterData:f})}),s[0]=f,s[1]=m,s[2]=a):a=s[2],s[3]!==c||s[4]!==p||s[5]!==a?(n=(0,t.jsx)(r.Container,{background:c,children:a},p),s[3]=c,s[4]=p,s[5]=a,s[6]=n):n=s[6],n},aX=e=>{let a,r=(0,i.c)(3),{block:n,colBackground:s}=e,l=n?.data;return r[0]!==s||r[1]!==l?(a=(0,t.jsx)("div",{className:"component-wrapper",children:(0,t.jsx)(tu,{...l,background:s})}),r[0]=s,r[1]=l,r[2]=a):a=r[2],a},aJ=e=>{let a,n=(0,i.c)(4),{block:s,colBackground:o,applicationConfiguration:c}=e;return n[0]!==c?.isWebStoreEnabled||n[1]!==s?.data||n[2]!==o?(a=c?.isWebStoreEnabled&&(0,t.jsx)(r.Container,{background:o,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tf,{...s?.data})})}),n[0]=c?.isWebStoreEnabled,n[1]=s?.data,n[2]=o,n[3]=a):a=n[3],a}
268,a0=({block:e,index:a,key:i,colBackground:n})=>(0,t.jsx)(r.Container,{background:n??"white",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tp,{...e.data})})},`${a}-${i}`),a1=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o?.data||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u??"white",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(g.default,{...o?.data})})},`${c}-${d}`),s[0]=o?.data,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},a2=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e;return s[0]!==o?.data||s[1]!==c?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c,children:(0,t.jsx)(l.Row,{className:`solar-tbl-${o?.data?.tableAlignment}`,isTemplateWrapper:!0,children:(0,t.jsx)(tb,{...o?.data})})}),s[0]=o?.data,s[1]=c,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},a3=e=>{let a,s=(0,i.c)(11),{block:o,colBackground:c,index:d,key:u}=e;if(o?.type==="print_version_configuration"&&!o?.data?.isParentPaywalled){let e,a,i,h,f=c??"white",p=`${d}-${u}`,m=`print-button ${o?.data?.alignment}`;s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(n.Icon,{iconName:"PrintIcon"}),s[0]=e):e=s[0];let g=o?.data?.title;return s[1]!==g?(a=(0,t.jsx)(eH,{icon:e,href:"javascript:void(0)",isExternal:!1,tabindex:0,isSecondary:!0,onClick:iO,children:g}),s[1]=g,s[2]=a):a=s[2],s[3]!==m||s[4]!==a?(i=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)("div",{className:m,children:a})}),s[3]=m,s[4]=a,s[5]=i):i=s[5],s[6]!==f||s[7]!==p||s[8]!==i?(h=(0,t.jsx)(r.Container,{background:f,children:i},p),s[6]=f,s[7]=p,s[8]=i,s[9]=h):h=s[9],h}return s[10]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(t.Fragment,{}),s[10]=a):a=s[10],a},a4=e=>{let a,n,s=(0,i.c)(6),{block:o,index:c,key:d,colBackground:u}=e,h=u??"white",f=`${c}-${d}`;return s[0]!==o.data?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(t_,{...o.data})}),s[0]=o.data,s[1]=a):a=s[1],s[2]!==h||s[3]!==f||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:h,children:a},f),s[2]=h,s[3]=f,s[4]=a,s[5]=n):n=s[5],n},a6=e=>{let a,n,s,o=(0,i.c)(6),{block:c,colBackground:d}=e,u=d??"white";o[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(t.Fragment,{}),o[0]=a):a=o[0];let h=c?.data;return o[1]!==h?(n=(0,t.jsxs)(l.Row,{isTemplateWrapper:!0,children:[a,(0,t.jsx)(ty,{...h})]}),o[1]=h,o[2]=n):n=o[2],o[3]!==u||o[4]!==n?(s=(0,t.jsx)(r.Container,{background:u,children:n}),o[3]=u,o[4]=n,o[5]=s):s=o[5],s},a5=e=>{let a,n,s=(0,i.c)(6),{block:o,index:c,key:d,colBackground:u}=e,h=u??"white",f=`${c}-${d}`;return s[0]!==o.data?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tx,{...o.data})}),s[0]=o.data,s[1]=a):a=s[1],s[2]!==h||s[3]!==f||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:h,children:a},f),s[2]=h,s[3]=f,s[4]=a,s[5]=n):n=s[5],n},a8=e=>{let a,r=(0,i.c)(2),{block:n}=e;return r[0]!==n.data?(a=(0,t.jsx)("div",{children:(0,t.jsx)(tv,{...n.data})}),r[0]=n.data,r[1]=a):a=r[1],a},a7=e=>{let a,r=(0,i.c)(2),{block:n}=e;return r[0]!==n.data?(a=(0,t.jsx)("div",{className:"component-wrapper",children:(0,t.jsx)(tA,{...n.data})}),r[0]=n.data,r[1]=a):a=r[1],a},a9=e=>{let a,n,s=(0,i.c)(5),{block:o,colBackground:c}=e,{data:d}=o;return s[0]!==c||s[1]!==d?(a=!d?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:c??"white",children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tw,{...d})})}),s[0]=c,s[1]=d,s[2]=a):a=s[2],s[3]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[3]=a,s[4]=n):n=s[4],n},ie=e=>{let a,n=(0,i.c)(2),{block:s}=e,{data:o}=s;return n[0]!==o?(a=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(V.default,{...o})})})}),n[0]=o,n[1]=a):a=n[1],a},it=e=>{let a,r=(0,i.c)(2),{block:n}=e;return r[0]!==n.data?(a=(0,t.jsx)("div",{children:(0,t.jsx)(tE,{...n.data})}),r[0]=n.data,r[1]=a):a=r[1],a},ia=e=>{let a=(0,i.c)(12),{block:n,index:s,key:o,colBackground:c}=e;if(n?.data?.isParentPaywalled||n?.data?.carouselDisplayType!=="rotating_hero_banner")if(n?.data?.isParentPaywalled)return null;else{let e,i,d=c??"white",u=`${s}-${o}`;return a[6]!==n.data?(e=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tS,{...n.data})}),a[6]=n.data,a[7]=e):e=a[7],a[8]!==d||a[9]!==u||a[10]!==e?(i=(0,t.jsx)(r.Container,{background:d,children:e},u),a[8]=d,a[9]=u,a[10]=e,a[11]=i):i=a[11],i}{let e,i,d=c??"white",u=`${s}-${o}`;return a[0]!==n.data?(e=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tS,{...n.data})}),a[0]=n.data,a[1]=e):e=a[1],a[2]!==d||a[3]!==u||a[4]!==e?(i=(0,t.jsx)(r.Container,{fluid:!0,background:d,children:e},u),a[2]=d,a[3]=u,a[4]=e,a[5]=i):i=a[5],i}},ii=e=>{let a,r,n=(0,i.c)(5),{block:s,index:l,key:o}=e,c=`${l}-${o}
268`;return n[0]!==s.data?(a=(0,t.jsx)(tT,{...s.data}),n[0]=s.data,n[1]=a):a=n[1],n[2]!==c||n[3]!==a?(r=(0,t.jsx)("div",{children:a},c),n[2]=c,n[3]=a,n[4]=r):r=n[4],r},ir=e=>{let a,n,s=(0,i.c)(6),{block:l,index:o,key:c,colBackground:d}=e,u=`${o}-${c}`;return s[0]!==l.data?(a=(0,t.jsx)(tN,{...l.data}),s[0]=l.data,s[1]=a):a=s[1],s[2]!==d||s[3]!==u||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:d,children:a},u),s[2]=d,s[3]=u,s[4]=a,s[5]=n):n=s[5],n},is=e=>{let t,r=(0,i.c)(3),{block:n,index:s,key:l}=e,o=`${s}-${l}`;return r[0]!==n.data||r[1]!==o?(t=(0,a.createElement)(m.CustomBanner,{...n.data,key:o}),r[0]=n.data,r[1]=o,r[2]=t):t=r[2],t},il=e=>{let a,n,s=(0,i.c)(6),{block:o,index:c,key:d,colBackground:u}=e,h=`${c}-${d}`,f=o?.data;return s[0]!==f?(a=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(R.default,{...f})}),s[0]=f,s[1]=a):a=s[1],s[2]!==u||s[3]!==h||s[4]!==a?(n=(0,t.jsx)(r.Container,{fluid:!0,background:u,children:a},h),s[2]=u,s[3]=h,s[4]=a,s[5]=n):n=s[5],n},io=e=>{let r,n=(0,i.c)(4),{block:s,index:l,key:o}=e;if(!Object.keys(s?.data)?.length){let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),n[0]=e):e=n[0],e}let c=s?.data,d=`${l}-${o}`;return n[1]!==c||n[2]!==d?(r=(0,a.createElement)(p.CourseOverviewTeaser,{...c,key:d}),n[1]=c,n[2]=d,n[3]=r):r=n[3],r},ic=e=>{let r,n=(0,i.c)(4),{block:s,index:o,key:c}=e;if(!Object.keys(s?.data)?.length){let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),n[0]=e):e=n[0],e}let d=s?.data,u=`${o}-${c}`;return n[1]!==d||n[2]!==u?(r=(0,t.jsx)(l.Row,{className:"course-overview-container",children:(0,a.createElement)(f.CourseInformation,{...d,key:u})}),n[1]=d,n[2]=u,n[3]=r):r=n[3],r},id=e=>{let n,s,o=(0,i.c)(7),{colBackground:c,block:d,index:u,key:h}=e;if(!Object.keys(d?.data)?.length){let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),o[0]=e):e=o[0],e}let f=c??"grey",p=d?.data,m=`${u}-${h}`;return o[1]!==p||o[2]!==m?(n=(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,a.createElement)(e1,{...p,hideQuotes:!0,key:m})}),o[1]=p,o[2]=m,o[3]=n):n=o[3],o[4]!==f||o[5]!==n?(s=(0,t.jsx)(l.Row,{className:"course-speaker-container",children:(0,t.jsx)(r.Container,{background:f,className:"show-margin",children:n})}),o[4]=f,o[5]=n,o[6]=s):s=o[6],s},iu=e=>{let a,n,s,o=(0,i.c)(10),{colBackground:c,block:d,key:u}=e,h=d?.data?.activityHeading;return o[0]!==h?(a=(0,t.jsx)("h2",{className:"activity-heading bold",children:h}),o[0]=h,o[1]=a):a=o[1],o[2]!==d?.data?.course_id||o[3]!==d?.data?.responseData||o[4]!==c||o[5]!==u?(n=d?.data?.responseData&&d?.data?.responseData?.map((e,a)=>(0,t.jsx)(l.Row,{className:`modules-info-sec ${a%2?"":"alternate-bg"}`,children:(0,t.jsx)(r.Container,{background:c??"grey",className:"show-margin",children:(0,t.jsx)(tk,{...e,course_id:d?.data?.course_id,isActivityCard:!0})})},`${a}-${u}`)),o[2]=d?.data?.course_id,o[3]=d?.data?.responseData,o[4]=c,o[5]=u,o[6]=n):n=o[6],o[7]!==a||o[8]!==n?(s=(0,t.jsxs)(t.Fragment,{children:[a,n]}),o[7]=a,o[8]=n,o[9]=s):s=o[9],s},ih=e=>{let a,n,s=(0,i.c)(6),{colBackground:l,block:o,index:c,key:d}=e,u=l??"grey",h=`${c}-${d}`,f=o?.data;return s[0]!==f?(a=(0,t.jsx)(tI,{...f}),s[0]=f,s[1]=a):a=s[1],s[2]!==u||s[3]!==h||s[4]!==a?(n=(0,t.jsx)(r.Container,{background:u,className:"show-margin",children:a},h),s[2]=u,s[3]=h,s[4]=a,s[5]=n):n=s[5],n},ip=e=>{let a,n=(0,i.c)(2),{block:s}=e,o=s?.data;return n[0]!==o?(a=(0,t.jsx)(r.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tj,{...o})})}),n[0]=o,n[1]=a):a=n[1],a},im=e=>{let a,n=(0,i.c)(2),{block:s}=e,o=s?.data;return n[0]!==o?(a=(0,t.jsx)(r.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(U.default,{...o})})}),n[0]=o,n[1]=a):a=n[1],a},ig=e=>{let a,n,s=(0,i.c)(4),{block:o}=e;return s[0]!==o?.data?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tP,{...o?.data})})}),s[0]=o?.data,s[1]=a):a=s[1],s[2]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[2]=a,s[3]=n):n=s[3],n},ib=e=>{let a=(0,i.c)(5),{block:n}=e;if(n?.data?.enableBlockPaywall){let e;return a[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),a[4]=e):e=a[4],e}{let e,i;return a[0]!==n?.data?(e=!n?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tL,{...n?.data,showAllCert:!1})})}),a[0]=n?.data,a[1]=e):e=a[1],a[2]!==e?(i=(0,t.jsx)(t.Fragment,{children:e}),a[2]=e,a[3]=i):i=a[3],i}},i_=e=>{let a=(0,i.c)(6),{block:n}=e,{isLoggedIn:s}=(0,$.useSelector)(iD);if(n?.data?.enableBlockPaywall){let e;return a[5]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),a[5]=e):e=a[5],e}{let e,i;return a[0]!==n?.data||a[1]!==s?(e=!n?.data?.isParentPaywalled&&s&&(0,t.jsx)(r.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(tO,{...n?.data})})}),a[0]=n?.data,a[1]=s,a[2]=e):e=a[2],a[3]!==e?(i=(0,t.jsx)(t.Fragment,{children:e}),a[3]=e,a[4]=i):i=a[4],i}},iy=e=>{let a=(0,i.c)(3),{block:n}=e,{isLoggedIn:s}=(0,$.useSelector)(iM);if(!n?.data?.enableBlockPaywall&&s&&n?.data?.badges?.length){let e,i=n?.data;return a[0]!==i?(e=(0,t.jsx)("div",{className:"my-badges",children:(0,t.jsx)(r.Container,{children:(0,t.jsx)(tD,{...i})})}),a[0]=i,a[1]=e):e=a[1],e}{let e;return a[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(t.Fragment,{}),a[2]=e):e=a[2],e}}
268,ix=({block:e,colBackground:a,index:i,key:r})=>(0,t.jsx)(tB,{...e}),iv=e=>{let a,n,s=(0,i.c)(7),{block:o,index:c,key:d,colBackground:u}=e;return s[0]!==o?.data||s[1]!==u||s[2]!==c||s[3]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{background:u,children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(K.default,{...o?.data})})},`${c}-${d}`),s[0]=o?.data,s[1]=u,s[2]=c,s[3]=d,s[4]=a):a=s[4],s[5]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[5]=a,s[6]=n):n=s[6],n},iA=e=>{let a,n,s=(0,i.c)(6),{block:o,index:c,key:d}=e;return s[0]!==o?.data||s[1]!==c||s[2]!==d?(a=!o?.data?.isParentPaywalled&&(0,t.jsx)(r.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(Q.default,{...o?.data})})},`${c}-${d}`),s[0]=o?.data,s[1]=c,s[2]=d,s[3]=a):a=s[3],s[4]!==a?(n=(0,t.jsx)(t.Fragment,{children:a}),s[4]=a,s[5]=n):n=s[5],n};function iw(e,t){return(0,a.createElement)(eI,{...e,key:t})}function iE(e,t){return(0,a.createElement)(ek,{...e,key:t})}function iS(e,t){return(0,a.createElement)(eR,{...e,key:t})}function iC(e,t){return(0,a.createElement)(eF,{...e,key:t})}function iT(e,a){return(0,t.jsx)(eW,{...e},a)}function iN(e,a){return(0,t.jsx)(eY,{...e},a)}function ik(e,a){return(0,t.jsx)(eQ,{...e},a)}function iI(e,a){return(0,t.jsx)("div",{children:(0,t.jsx)(s.RichText,{content:e?.answer})},a)}function ij(e,a){return(0,t.jsx)(ej,{...e},a)}function iP(e){return e.user}function iL(e){return e.user}function iO(){return window.print()}function iD(e){return e.user}function iM(e){return e.user}},98981,(e,t,a)=>{!function(e,a){e._Highcharts=a(),t.exports=e._Highcharts}("u"<typeof window?e.e:window,()=>(()=>{"use strict";let e,t,a,i,r,n;var s,l,o,c,d,u,h,f,p,m,g,b,_,y,x,v,A,w,E,S,C,T,N,k,I,j,P,L,O={};O.d=(e,t)=>{for(var a in t)O.o(t,a)&&!O.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},O.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var D={};O.d(D,{default:()=>cq}),(s=g||(g={})).SVG_NS="http://www.w3.org/2000/svg",s.product="Highcharts",s.version="12.5.0",s.win="u">typeof window?window:{},s.doc=s.win.document,s.svg=!!s.doc?.createElementNS?.(s.SVG_NS,"svg")?.createSVGRect,s.pageLang=s.doc?.documentElement?.closest("[lang]")?.lang,s.userAgent=s.win.navigator?.userAgent||"",s.isChrome=s.win.chrome,s.isFirefox=-1!==s.userAgent.indexOf("Firefox"),s.isMS=/(edge|msie|trident)/i.test(s.userAgent)&&!s.win.opera,s.isSafari=!s.isChrome&&-1!==s.userAgent.indexOf("Safari"),s.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(s.userAgent),s.isWebKit=-1!==s.userAgent.indexOf("AppleWebKit"),s.deg2rad=2*Math.PI/360,s.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],s.noop=function(){},s.supportsPassiveEvents=function(){let e=!1;if(!s.isMS){let t=Object.defineProperty({},"passive",{get:function(){e=!0}});s.win.addEventListener&&s.win.removeEventListener&&(s.win.addEventListener("testPassive",s.noop,t),s.win.removeEventListener("testPassive",s.noop,t))}return e}(),s.charts=[],s.composed=[],s.dateFormats={},s.seriesTypes={},s.symbolSizes={},s.chartCount=0;let M=g,{charts:R,doc:F,win:B}=M;function U(e,t,a,i){let r=t?"Highcharts error":"Highcharts warning";32===e&&(e=`${r}: Deprecated member`);let n=V(e),s=n?`${r} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(void 0!==i){let e="";n&&(s+="?"),ei(i,function(t,a){e+=`
269 - ${a}: ${t}`,n&&(s+=encodeURI(a)+"="+encodeURI(t))}),s+=e}en(M,"displayError",{chart:a,code:e,message:s,params:i},function(){if(t)throw Error(s);B.console&&-1===U.messages.indexOf(s)&&console.warn(s)}),U.messages.push(s)}function H(e,t){return parseInt(e,t||10)}function $(e){return"string"==typeof e}function G(e){let t=Object.prototype.toString.call(e);return"[object Array]"===t||"[object Array Iterator]"===t}function W(e,t){return!!e&&"object"==typeof e&&(!t||!G(e))}function Y(e){return W(e)&&"number"==typeof e.nodeType}function z(e){let t=e?.constructor;return!!(W(e,!0)&&!Y(e)&&t?.name&&"Object"!==t.name)}function V(e){return"number"==typeof e&&!isNaN(e)&&e<1/0&&e>-1/0}function K(e){return null!=e}function q(e,t,a){let i,r=$(t)&&!K(a),n=(t,a)=>{K(t)?e.setAttribute(a,t):r?(i=e.getAttribute(a))||"class"!==a||(i=e.getAttribute(a+"Name")):e.removeAttribute(a)};return $(t)?n(a,t):ei(t,n),i}function Q(e){return G(e)?e:[e]}function Z(e,t){let a;for(a in e||(e={}),t)e[a]=t[a];return e}function X(){let e=arguments,t=e.length;for(let a=0;a<t;a++){let t=e[a];if(null!=t)return t}}function J(e,t){Z(e.style,t)}function ee(e){return Math.pow(10,Math.floor(Math.log(e)/Math.LN10))}function et(e,t){return e>1e14?e:parseFloat(e.toPrecision(t||14))}(U||(U={})).messages=[],Math.easeInOutSine=function(e){return -.5*(Math.cos(Math.PI*e)-1)};let ea=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){let a,i=e.length;for(a=0;a<i;a++)if(t(e[a],a))return e[a]};function ei(e,t,a){for(let i in e)Object.hasOwnProperty.call(e,i)&&t.call(a||e[i],e[i],i,e)}function er(e,t,a){function i(t,a){let i=e.removeEventListener;i&&i.call(e,t,a,!1)}function r(a){let r,n;e.nodeName&&(t?(r={})[t]=!0:r=a,ei(r,function(e,t){if(a[t])for(n=a[t].length;n--;)i(t,a[t][n].fn)}))}let n="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(n,"hcEvents")){let e=n.hcEvents;if(t){let n=e[t]||[];a?(e[t]=n.filter(function(e){return a!==e.fn}),i(t,a)):(r(e),e[t]=[])}else r(e),delete n.hcEvents}}
vendor: 5,104 bytes, line 269
269function en(e,t,a,i){if(a=a||{},F?.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==M)){let i=F.createEvent("Events");i.initEvent(t,!0,!0),a=Z(i,a),e.dispatchEvent?e.dispatchEvent(a):e.fireEvent(t,a)}else if(e.hcEvents){a.target||Z(a,{preventDefault:function(){a.defaultPrevented=!0},target:e,type:t});let i=[],r=e,n=!1;for(;r.hcEvents;)Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents[t]&&(i.length&&(n=!0),i.unshift.apply(i,r.hcEvents[t])),r=Object.getPrototypeOf(r);n&&i.sort((e,t)=>e.order-t.order),i.forEach(t=>{!1===t.fn.call(e,a)&&a.preventDefault()})}i&&!a.defaultPrevented&&i.call(e,a)}let es=(a=Math.random().toString(36).substring(2,9)+"-",i=0,function(){return"highcharts-"+(e?"":a)+i++});B.jQuery&&(B.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new M[$(e[0])?e.shift():"Chart"](this[0],e[0],e[1]),this):R[q(this[0],"data-highcharts-chart")]});let el={addEvent:function(e,t,a,i={}){let r="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(r,"hcEvents")||(r.hcEvents={});let n=r.hcEvents;M.Point&&e instanceof M.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let s=e.addEventListener;s&&s.call(e,t,a,!!M.supportsPassiveEvents&&{passive:void 0===i.passive?-1!==t.indexOf("touch"):i.passive,capture:!1}),n[t]||(n[t]=[]);let l={fn:a,order:"number"==typeof i.order?i.order:1/0};return n[t].push(l),n[t].sort((e,t)=>e.order-t.order),function(){er(e,t,a)}},arrayMax:function(e){let t=e.length,a=e[0];for(;t--;)e[t]>a&&(a=e[t]);return a},arrayMin:function(e){let t=e.length,a=e[0];for(;t--;)e[t]<a&&(a=e[t]);return a},attr:q,clamp:function(e,t,a){return e>t?e<a?e:a:t},clearTimeout:function(e){K(e)&&clearTimeout(e)},correctFloat:et,createElement:function(e,t,a,i,r){let n=F.createElement(e);return t&&Z(n,t),r&&J(n,{padding:"0",border:"none",margin:"0"}),a&&J(n,a),i&&i.appendChild(n),n},crisp:function(e,t=0,a){let i=t%2/2,r=a?-1:1;return(Math.round(e*r-i)+i)*r},css:J,defined:K,destroyObjectProperties:function(e,t,a){ei(e,function(i,r){i!==t&&i?.destroy&&i.destroy(),(i?.destroy||!a)&&delete e[r]})},diffObjects:function(e,t,a,i){let r={};return!function e(t,r,n,s){let l=a?r:t;ei(t,function(a,o){if(!s&&i&&i.indexOf(o)>-1&&r[o]){a=Q(a),n[o]=[];for(let t=0;t<Math.max(a.length,r[o].length);t++)r[o][t]&&(void 0===a[t]?n[o][t]=r[o][t]:(n[o][t]={},e(a[t],r[o][t],n[o][t],s+1)))}else W(a,!0)&&!a.nodeType?(n[o]=G(a)?[]:{},e(a,r[o]||{},n[o],s+1),0===Object.keys(n[o]).length&&("colorAxis"!==o||0!==s)&&delete n[o]):(t[o]!==r[o]||o in t&&!(o in r))&&"__proto__"!==o&&"constructor"!==o&&(n[o]=l[o])})}(e,t,r,0),r},discardElement:function(e){e?.parentElement?.removeChild(e)},erase:function(e,t){let a=e.length;for(;a--;)if(e[a]===t){e.splice(a,1);break}},error:U,extend:Z,extendClass:function(e,t){let a=function(){};return a.prototype=new e,Z(a.prototype,t),a},find:ea,fireEvent:en,getAlignFactor:(e="")=>({center:.5,right:1,middle:.5,bottom:1})[e]||0,getClosestDistance:function(e,t){let a,i,r,n,s=!t;return e.forEach(e=>{if(e.length>1)for(n=i=e.length-1;n>0;n--)(r=e[n]-e[n-1])<0&&!s?(t?.(),t=void 0):r&&(void 0===a||r<a)&&(a=r)}),a},getMagnitude:ee,getNestedProperty:function(e,t){let a=e.split(".");for(;a.length&&K(t);){let e=a.shift();if(void 0===e||"__proto__"===e)return;if("this"===e){let e;return W(t)&&(e=t["@this"]),e??t}let i=t[e.replace(/[\\'"]/g,"")];if(!K(i)||"function"==typeof i||"number"==typeof i.nodeType||i===B)return;t=i}return t},getStyle:function e(t,a,i){let r;if("width"===a){let a=Math.min(t.offsetWidth,t.scrollWidth),i=t.getBoundingClientRect?.().width;return i<a&&i>=a-1&&(a=Math.floor(i)),Math.max(0,a-(e(t,"padding-left",!0)||0)-(e(t,"padding-right",!0)||0))}if("height"===a)return Math.max(0,Math.min(t.offsetHeight,t.scrollHeight)-(e(t,"padding-top",!0)||0)-(e(t,"padding-bottom",!0)||0));let n=B.getComputedStyle(t,void 0);return n&&(r=n.getPropertyValue(a),X(i,"opacity"!==a)&&(r=H(r))),r},insertItem:function(e,t){let a,i=e.options.index,r=t.length;for(a=e.options.isInternal?r:0;a<r+1;a++)if(!t[a]||V(i)&&i<X(t[a].options.index,t[a]._i)||t[a].options.isInternal){t.splice(a,0,e);break}return a},isArray:G,isClass:z,isDOMElement:Y,isFunction:function(e){return"function"==typeof e},isNumber:V,isObject:W,isString:$,merge:function(e,...t){let a,i=[e,...t],r={},n=function(e,t){return"object"!=typeof e&&(e={}),ei(t,function(a,i){"__proto__"!==i&&"constructor"!==i&&(!W(a,!0)||z(a)||Y(a)?e[i]=t[i]:e[i]=n(e[i]||{},a))}),e};!0===e&&(r=i[1],i=Array.prototype.slice.call(i,2));let s=i.length;for(a=0;a<s;a++)r=n(r,i[a]);return r},normalizeTickInterval:function(e,t,a,i,r){let n,s=e;a=X(a,ee(e));let l=e/a;for(!t&&(t=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===a?t=t.filter(function(e){return e%1==0}):a<=.1&&(t=[1/a]))),n=0;n<t.length&&(s=t[n],(!r||!(s*a>=e))&&(r||!(l<=(t[n]+(t[n+1]||t[n]))/2)));n++);return et(s*a,-Math.round(Math.log(.001)/Math.LN10))},objectEach:ei,offset:function(e){let t=F.documentElement,a=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:a.top+(B.pageYOffset||t.scrollTop)-(t.clientTop||0),left
vendor: 6,448 bytes, line 269
269:a.left+(B.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:a.width,height:a.height}},pad:function(e,t,a){return Array((t||2)+1-String(e).replace("-","").length).join(a||"0")+e},pick:X,pInt:H,pushUnique:function(e,t){return 0>e.indexOf(t)&&!!e.push(t)},relativeLength:function(e,t,a){return/%$/.test(e)?t*parseFloat(e)/100+(a||0):parseFloat(e)},removeEvent:er,replaceNested:function(e,...t){let a,i;do for(i of(a=e,t))e=e.replace(i[0],i[1]);while(e!==a)return e},splat:Q,stableSort:function(e,t){let a,i,r=e.length;for(i=0;i<r;i++)e[i].safeI=i;for(e.sort(function(e,i){return 0===(a=t(e,i))?e.safeI-i.safeI:a}),i=0;i<r;i++)delete e[i].safeI},syncTimeout:function(e,t,a){return t>0?setTimeout(e,t,a):(e.call(0,a),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},ucfirst:function(e){return $(e)?e.substring(0,1).toUpperCase()+e.substring(1):String(e)},uniqueKey:es,useSerialIds:function(t){return e=X(t,e)},wrap:function(e,t,a){let i=e[t];e[t]=function(){let e=arguments,t=this;return a.apply(this,[function(){return i.apply(t,arguments.length?arguments:e)}].concat([].slice.call(arguments)))}}},{pageLang:eo,win:ec}=M,{defined:ed,error:eu,extend:eh,isNumber:ef,isObject:ep,isString:em,merge:eg,objectEach:eb,pad:e_,splat:ey,timeUnits:ex,ucfirst:ev}=el,eA=M.isSafari&&ec.Intl&&!ec.Intl.DateTimeFormat.prototype.formatRange,ew=class{constructor(e,t){this.options={timezone:"UTC"},this.variableTimezone=!1,this.Date=ec.Date,this.update(e),this.lang=t}update(e={}){this.dTLCache={},this.options=e=eg(!0,this.options,e);let{timezoneOffset:t,useUTC:a,locale:i}=e;this.Date=e.Date||ec.Date||Date;let r=e.timezone;ed(a)&&(r=a?"UTC":void 0),t&&t%60==0&&(r="Etc/GMT"+(t>0?"+":"")+t/60),this.variableTimezone="UTC"!==r&&r?.indexOf("Etc/GMT")!==0,this.timezone=r,this.lang&&i&&(this.lang.locale=i),["months","shortMonths","weekdays","shortWeekdays"].forEach(e=>{let t=/months/i.test(e),a=/short/.test(e),i={timeZone:"UTC"};i[t?"month":"weekday"]=a?"short":"long",this[e]=(t?[0,1,2,3,4,5,6,7,8,9,10,11]:[3,4,5,6,7,8,9]).map(e=>this.dateFormat(i,(t?31:1)*24*36e5*e))})}toParts(e){let[t,a,i,r,n,s,l]=this.dateTimeFormat({weekday:"narrow",day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},e,"es").split(/(?:, | |\/|:)/g);return[r,i-1,a,n,s,l,Math.floor(Number(e)||0)%1e3,"DLMXJVS".indexOf(t)].map(Number)}dateTimeFormat(e,t,a=this.options.locale||eo){let i=JSON.stringify(e)+a;em(e)&&(e=this.str2dtf(e));let r=this.dTLCache[i];if(!r){e.timeZone??(e.timeZone=this.timezone);try{r=new Intl.DateTimeFormat(a,e)}catch(t){/Invalid time zone/i.test(t.message)?(eu(34),e.timeZone="UTC",r=new Intl.DateTimeFormat(a,e)):eu(t.message,!1)}}return this.dTLCache[i]=r,r?.format(t)||""}str2dtf(e,t={}){let a={L:{fractionalSecondDigits:3},S:{second:"2-digit"},M:{minute:"numeric"},H:{hour:"2-digit"},k:{hour:"numeric"},E:{weekday:"narrow"},a:{weekday:"short"},A:{weekday:"long"},d:{day:"2-digit"},e:{day:"numeric"},b:{month:"short"},B:{month:"long"},m:{month:"2-digit"},o:{month:"numeric"},y:{year:"2-digit"},Y:{year:"numeric"}};return Object.keys(a).forEach(i=>{-1!==e.indexOf(i)&&eh(t,a[i])}),t}makeTime(e,t,a=1,i=0,r,n,s){let l=this.Date.UTC(e,t,a,i,r||0,n||0,s||0);if("UTC"!==this.timezone){let e=this.getTimezoneOffset(l);if(l+=e,-1!==[2,3,8,9,10,11].indexOf(t)&&(i<5||i>20)){let t=this.getTimezoneOffset(l);e!==t?l+=t-e:e-36e5!==this.getTimezoneOffset(l-36e5)||eA||(l-=36e5)}}return l}parse(e){if(!em(e))return e??void 0;let t=(e=e.replace(/\//g,"-").replace(/(GMT|UTC)/,"")).indexOf("Z")>-1||/([+-][0-9]{2}):?[0-9]{2}$/.test(e),a=/^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(e);t||a||(e+="Z");let i=Date.parse(e);if(ef(i))return i+(!t||a?this.getTimezoneOffset(i):0)}getTimezoneOffset(e){if("UTC"!==this.timezone){let[t,a,i,r,n=0]=this.dateTimeFormat({timeZoneName:"shortOffset"},e,"en").split(/(GMT|:)/).map(Number),s=-(60*(i+n/60)*6e4);if(ef(s))return s}return 0}dateFormat(e,t,a){let i=this.lang;if(!ed(t)||isNaN(t))return i?.invalidDate||"";if(em(e=e??"%Y-%m-%d %H:%M:%S")){let a,r=/%\[([a-zA-Z]+)\]/g;for(;a=r.exec(e);)e=e.replace(a[0],this.dateTimeFormat(a[1],t,i?.locale))}if(em(e)&&-1!==e.indexOf("%")){let a=this,[r,n,s,l,o,c,d,u]=this.toParts(t),h=i?.weekdays||this.weekdays,f=i?.shortWeekdays||this.shortWeekdays,p=i?.months||this.months,m=i?.shortMonths||this.shortMonths;eb(eh({a:f?f[u]:h[u].substr(0,3),A:h[u],d:e_(s),e:e_(s,2," "),w:u,v:i?.weekFrom??"",b:m[n],B:p[n],m:e_(n+1),o:n+1,y:r.toString().substr(2,2),Y:r,H:e_(l),k:l,I:e_(l%12||12),l:l%12||12,M:e_(o),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:e_(c),L:e_(d,3)},M.dateFormats),function(i,r){if(em(e))for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"==typeof i?i.call(a,t):i)})}else if(ep(e)){let a=(this.getTimezoneOffset(t)||0)/36e5,i=this.timezone||"Etc/GMT"+(a>=0?"+":"")+a,{prefix:r="",suffix:n=""}=e;e=r+this.dateTimeFormat(eh({timeZone:i},e),t)+n}return a?ev(e):e}resolveDTLFormat(e){return ep(e,!0)?ep(e,!0)&&void 0===e.main?{main:e}:e:{main:(e=ey(e))[0],from:e[1],to:e[2]}}getDateFormat(e,t,a,i){let r=this.dateFormat("%m-%d %H:%M:%S.%L",t),n="01-01 00:00:00.000",s={millisecond:15,second:12,minute:9,hour:6,day:3},l="millisecond",o=l;for(l in ex){if(e&&e===ex.week&&+this.dateFormat("%w",t)===a&&r.substr(6)===n.substr(6)){l="week";break}if(e&&ex[l]>e){l=o;break}if(s[l]&&r.substr(s[l])!==n.substr(s[l]))break;"week"!==l&&(o=l)}return this.resolveDTLFormat(i[l]).main}},{defined:eE,extend:eS,timeUnits:eC}=el,eT=class extends ew{getTimeTicks(e,t,a,i){let r=this,n=[],s={},{count:l=1,unitRange:o}=e,[c,d,u,h,f,p]=r.toParts(t),m=(t||0)%1e3,g;if(i??(i=1),eE(t)){if(m=o>=eC.second?0:l*Math.floor(m/l),o>=eC.second&&(p=o>=eC.minute?0:l*Math.floor(p/l)),o>=eC.minute&&(f=o>=eC.hour?0:l*Math.floor(f/l)),o>=eC.hour&&(h=o>=eC.day?0:l*Math.floor(h/l)),o>=eC.day&&(u=o>=eC.month?1:Math.max(1,l*Math.floor(u/l))),o>=eC.month&&(d=o>=eC.year?0:l*Math.floor(d/l)),o>=eC.year&&(c-=c%l),o===eC.week){l&&(t=r.makeTime(c,d,u,h,f,p,m));let e=this.dateTimeFormat({timeZone:this.timezone,weekday:"narrow"},t,"es"),a="DLMXJVS".indexOf(e);u+=-a+i+(a<i?-7:0)}t=r.makeTime(c,d,u,h,f,p,m),r.variableTimezone&&eE(a)&&(g=a-t>4*eC.month||r.getTimezoneOffset(t)!==r.getTimezoneOffset(a));let e=t,b=1;for(;e<a;)n.push(e),o===eC.year?e=r.makeTime(c+b*l,0):o===eC.month?e=r.makeTime(c,d+b*l):g&&(o===eC.day||o===eC.week)?e=r.makeTime(c,d,u+b*l*(o===eC.day?1:7)):g&&o===eC.hour&&l>1?e=r.makeTime(c,d,u,h+b*l):e+=o*l,b++;
vendor: 8,372 bytes, line 269
269n.push(e),o<=eC.hour&&n.length<1e4&&n.forEach(e=>{e%18e5==0&&"000000000"===r.dateFormat("%H%M%S%L",e)&&(s[e]="day")})}return n.info=eS(e,{higherRanks:s,totalRange:o*l}),n}},{isTouchDevice:eN}=M,{fireEvent:ek,merge:eI}=el,ej={colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"],symbols:["circle","diamond","square","triangle","triangle-down"],lang:{weekFrom:"week from",chartTitle:"Chart title",locale:void 0,loading:"Loading...",months:void 0,seriesName:"Series {add index 1}",shortMonths:void 0,weekdays:void 0,numericSymbols:["k","M","G","T","P","E"],pieSliceName:"Slice",resetZoom:"Reset zoom",yAxisTitle:"Values",resetZoomTitle:"Reset zoom level 1:1"},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,timezone:"UTC",timezoneOffset:0,useUTC:void 0},chart:{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",margin:15,minScale:.67},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:""},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{color:"#333333",fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:e=>Math.sqrt(1-Math.pow(e-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%[AebHMSL]",second:"%[AebHMS]",minute:"%[AebHM]",hour:"%[AebHM]",day:"%[AebY]",week:"%v %[AebY]",month:"%[BY]",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,position:{x:0,y:3},shared:!1,snap:eN?25:10,headerFormat:'<span style="font-size: 0.8em">{ucfirst point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}},eP=new eT(ej.time,ej.lang),eL={defaultOptions:ej,defaultTime:eP,getOptions:function(){return ej},setOptions:function(e){return ek(M,"setOptions",{options:e}),eI(!0,ej,e),e.time&&eP.update(ej.time),e.lang&&"locale"in e.lang&&eP.update({locale:e.lang.locale}),e.lang?.chartTitle&&(ej.title={...ej.title,text:e.lang.chartTitle}),ej}},{win:eO}=M,{isNumber:eD,isString:eM,merge:eR,pInt:eF,defined:eB}=el,eU=(e,t,a)=>`color-mix(in srgb,${e},${t} ${100*a}%)`,eH=e=>eM(e)&&!!e&&"none"!==e;class e${static parse(e){return e?new e$(e):e$.None}constructor(e){let t,a,i,r;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;const n=M.Color;if(n&&n!==e$)return new n(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map(e=>new e$(e[1]));else if("string"==typeof e)for(this.input=e=e$.names[e.toLowerCase()]||e,i=e$.parsers.length;i--&&!a;)(t=(r=e$.parsers[i]).regex.exec(e))&&(a=r.parse(t));a&&(this.rgba=a)}get(e){let t=this.input,a=this.rgba;if(this.output)return this.output;if("object"==typeof t&&void 0!==this.stops){let a=eR(t);return a.stops=[].slice.call(a.stops),this.stops.forEach((t,i)=>{a.stops[i]=[a.stops[i][0],t.get(e)]}),a}return a&&eD(a[0])?"rgb"!==e&&(e||1!==a[3])?"a"===e?`${a[3]}`:"rgba("+a.join(",")+")":"rgb("+a[0]+","+a[1]+","+a[2]+")":t}brighten(e){let t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(eD(e)&&0!==e)if(eD(t[0]))for(let a=0;a<3;a++)t[a]+=eF(255*e),t[a]<0&&(t[a]=0),t[a]>255&&(t[a]=255);else e$.useColorMix&&eH(this.input)&&(this.output=eU(this.input,e>0?"white":"black",Math.abs(e)));return this}setOpacity(e){return this.rgba[3]=e,this}tweenTo(e,t){let a=this.rgba,i=e.rgba;if(!eD(a[0])||!eD(i[0]))return e$.useColorMix&&eH(this.input)&&eH(e.input)&&t<.99?eU(this.input,e.input,t):e.input||"none";let r=1!==i[3]||1!==a[3],n=(e,i)=>e+(a[i]-e)*(1-t),s=i.slice(0,3).map(n).map(Math.round);return r&&s.push(n(i[3],3)),(r?"rgba(":"rgb(")+s.join(",")+")"}}e$.names={white:"#ffffff",black:"#000000"},e$.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(e){return[eF(e[1]),eF(e[2]),eF(e[3]),parseFloat(e[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(e){return[eF(e[1]),eF(e[2]),eF(e[3]),1]}},{regex:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,parse:function(e){return[eF(e[1]+e[1],16),eF(e[2]+e[2],16),eF(e[3]+e[3],16),eB(e[4])?eF(e[4]+e[4],16)/255:1]}},{regex:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,parse:function(e){return[eF(e[1],16),eF(e[2],16),eF(e[3],16),eB(e[4])?eF(e[4],16)/255:1]}}],e$.useColorMix=eO.CSS?.supports("color","color-mix(in srgb,red,blue 9%)"),e$.None=new e$("");let{parse:eG}=e$,{win:eW}=M,{isNumber:eY,objectEach:ez}=el;class eV{constructor(e,t,a){this.pos=NaN,this.options=t,this.elem=e,this.prop=a}dSetter(){let e=this.paths,t=e?.[0],a=e?.[1],i=this.now||0,r=[];if(1!==i&&t&&a)if(t.length===a.length&&i<1)for(let e=0;e<a.length;e++){let n=t[e],s=a[e],l=[];for(let e=0;e<s.length;e++){let t=n[e],a=s[e];eY(t)&&eY(a)&&("A"!==s[0]||4!==e&&5!==e)?l[e]=t+i*(a-t):l[e]=a}r.push(l)}else r=a;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)}update(){let e=this.elem,t=this.prop,a=this.now,i=this.options.step;this[t+"Setter"]?this[t+"Setter"]():e.attr?e.element&&e.attr(t,a,null,!0):e.style[t]=a+this.unit,i&&i.call(e,a,this)}run(e,t,a){let i=this,r=i.options,n=function(e){return!n.stopped&&i.step(e)},s=eW.requestAnimationFrame||function(e){setTimeout(e,13)},l=function(){for(let e=0;e<eV.timers.length;e++)eV.timers[e]()||eV.timers.splice(e--,1);eV.timers.length&&s(l)};e!==t||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=t,this.unit=a,this.now=this.start,this.pos=0,n.elem=this.elem,n.prop=this.prop,n()&&1===eV.timers.push(n)&&s(l)):(delete r.curAnim[this.prop],r.complete&&0===Object.keys(r.curAnim).length&&r.complete.call(this.elem))}step(e){let t,a,i=+new Date,r=this.options,n=this.elem,s=r.complete,l=r.duration,o=r.curAnim;return n.attr&&!n.element?t=!1:e||i>=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),o[this.prop]=!0,a=!0,ez(o,function(e){!0!==e&&(a=!1)}),a&&s&&s.call(n),t=!1):(this.pos=r.easing((i-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0),t}initPath(e,t,a){let i=e.startX,r=e.endX,n=a.slice(),s=e.isArea,l=s?2:1,o=t&&a.length>t.length&&a.hasStackedCliffs,c,d,u,h,f=t?.slice();if(!f||o)return[n,n];function p(e,t){for(;e.length<d;){let a=e[0],i=t[d-e.length];if(i&&"M"===a[0]&&("C"===i[0]?e[0]=["C",a[1],a[2],a[1],a[2],a[1],a[2]]:e[0]=["L",a[1],a[2]]),e.unshift(a),s){let t=e.pop();e.push(e[e.length-1],t)}}}function m(e){for(;e.length<d;){let t=e[Math.floor(e.length/l)-1].slice();if("C"===t[0]&&(t[1]=t[5],t[2]=t[6]),s){let a=e[Math.floor(e.length/l)].slice();e.splice(e.length/2,0,t,a)}else e.push(t)}}if(i&&r&&r.length){for(u=0;
269u<i.length;u++)if(i[u]===r[0]){c=u;break}else if(i[0]===r[r.length-i.length+u]){c=u,h=!0;break}else if(i[i.length-1]===r[r.length-i.length+u]){c=i.length-u;break}void 0===c&&(f=[])}return f.length&&eY(c)&&(d=n.length+c*l,h?(p(f,n),m(n)):(p(n,f),m(f))),[f,n]}fillSetter(){eV.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,eG(this.start).tweenTo(eG(this.end),this.pos),void 0,!0)}}eV.timers=[];let{defined:eK,getStyle:eq,isArray:eQ,isNumber:eZ,isObject:eX,merge:eJ,objectEach:e0,pick:e1}=el;function e2(e){return eX(e)?eJ({duration:500,defer:0},e):{duration:500*!!e,defer:0}}function e3(e,t){let a=eV.timers.length;for(;a--;)eV.timers[a].elem!==e||t&&t!==eV.timers[a].prop||(eV.timers[a].stopped=!0)}let e4={animate:function(e,t,a){let i,r="",n,s,l;eX(a)||(l=arguments,a={duration:l[2],easing:l[3],complete:l[4]}),eZ(a.duration)||(a.duration=400),a.easing="function"==typeof a.easing?a.easing:Math[a.easing]||Math.easeInOutSine,a.curAnim=eJ(t),e0(t,function(l,o){e3(e,o),s=new eV(e,a,o),n=void 0,"d"===o&&eQ(t.d)?(s.paths=s.initPath(e,e.pathArray,t.d),s.toD=t.d,i=0,n=1):e.attr?i=e.attr(o):(i=parseFloat(eq(e,o))||0,"opacity"!==o&&(r="px")),n||(n=l),"string"==typeof n&&n.match("px")&&(n=n.replace(/px/g,"")),s.run(i,n,r)})},animObject:e2,getDeferredAnimation:function(e,t,a){let i=e2(t),r=a?[a]:e.series,n=0,s=0;return r.forEach(e=>{let a=e2(e.options.animation);n=eX(t)&&eK(t.defer)?i.defer:Math.max(n,a.duration+a.defer),s=Math.min(i.duration,a.duration)}),e.renderer.forExport&&(n=0),{defer:Math.max(0,n-s),duration:Math.min(n,s)}},setAnimation:function(e,t){t.renderer.globalAnimation=e1(e,t.options.chart.animation,!0)},stop:e3},{SVG_NS:e6,win:e5}=M,{attr:e8,createElement:e7,css:e9,error:te,isFunction:tt,isString:ta,objectEach:ti,splat:tr}=el,{trustedTypes:tn}=e5,ts=tn&&tt(tn.createPolicy)&&tn.createPolicy("highcharts",{createHTML:e=>e}),tl=ts?ts.createHTML(""):"";class to{static filterUserAttributes(e){return ti(e,(t,a)=>{let i=!0;-1===to.allowedAttributes.indexOf(a)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(a)&&(i=ta(t)&&to.allowedReferences.some(e=>0===t.indexOf(e))),i||(te(33,!1,void 0,{"Invalid attribute in config":`${a}`}),delete e[a]),ta(t)&&e[a]&&(e[a]=t.replace(/</g,"&lt;"))}),e}static parseStyle(e){return e.split(";").reduce((e,t)=>{let a=t.split(":").map(e=>e.trim()),i=a.shift();return i&&a.length&&(e[i.replace(/-([a-z])/g,e=>e[1].toUpperCase())]=a.join(":")),e},{})}static setElementHTML(e,t){e.innerHTML=to.emptyHTML,t&&new to(t).addToDOM(e)}constructor(e){this.nodes="string"==typeof e?this.parseMarkup(e):e}addToDOM(e){return function e(t,a){let i;return tr(t).forEach(function(t){let r,n=t.tagName,s=t.textContent?M.doc.createTextNode(t.textContent):void 0,l=to.bypassHTMLFiltering;if(n)if("#text"===n)r=s;else if(-1!==to.allowedTags.indexOf(n)||l){let i="svg"===n?e6:a.namespaceURI||e6,o=M.doc.createElementNS(i,n),c=t.attributes||{};ti(t,function(e,t){"tagName"!==t&&"attributes"!==t&&"children"!==t&&"style"!==t&&"textContent"!==t&&(c[t]=e)}),e8(o,l?c:to.filterUserAttributes(c)),t.style&&e9(o,t.style),s&&o.appendChild(s),e(t.children||[],o),r=o}else te(33,!1,void 0,{"Invalid tagName in config":n});r&&a.appendChild(r),i=r}),i}(this.nodes,e)}parseMarkup(e){let t,a=[];e=e.trim().replace(/ style=(["'])/g," data-style=$1");try{t=new DOMParser().parseFromString(ts?ts.createHTML(e):e,"text/html")}catch{}if(!t){let a=e7("div");a.innerHTML=e,t={body:a}}let i=(e,t)=>{let a=e.nodeName.toLowerCase(),r={tagName:a};"#text"===a&&(r.textContent=e.textContent||"");let n=e.attributes;if(n){let e={};[].forEach.call(n,t=>{"data-style"===t.name?r.style=to.parseStyle(t.value):e[t.name]=t.value}),r.attributes=e}if(e.childNodes.length){let t=[];[].forEach.call(e.childNodes,e=>{i(e,t)}),t.length&&(r.children=t)}t.push(r)};return[].forEach.call(t.body.childNodes,e=>i(e,a)),a}}to.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","disabled","dx","dy","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","result","role","rowspan","
269scope","slope","src","startOffset","stdDeviation","stroke-linecap","stroke-width","stroke","style","summary","tabindex","tableValues","target","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],to.allowedReferences=["https://","http://","mailto:","/","../","./","#"],to.allowedTags=["#text","a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","tbody","td","text","textPath","th","thead","title","tr","tspan","u","ul"],to.emptyHTML=tl,to.bypassHTMLFiltering=!1;let{defaultOptions:tc,defaultTime:td}=eL,{pageLang:tu}=M,{extend:th,getNestedProperty:tf,isArray:tp,isNumber:tm,isObject:tg,isString:tb,pick:t_,ucfirst:ty}=el,tx={add:(e,t)=>e+t,divide:(e,t)=>0!==t?e/t:"",eq:(e,t)=>e==t,each:function(e){let t=arguments[arguments.length-1];return!!tp(e)&&e.map((a,i)=>tA(t.body,th(tg(a)?a:{"@this":a},{"@index":i,"@first":0===i,"@last":i===e.length-1}))).join("")},ge:(e,t)=>e>=t,gt:(e,t)=>e>t,if:e=>!!e,le:(e,t)=>e<=t,lt:(e,t)=>e<t,multiply:(e,t)=>e*t,ne:(e,t)=>e!=t,subtract:(e,t)=>e-t,ucfirst:ty,unless:e=>!e},tv={};function tA(e="",t,a){let i=RegExp("\\{([\\p{L}\\d:\\.,;\\-\\/<>\\[\\]%_@+\"'’= #\\(\\)]+)\\}","gu"),r=RegExp("\\(([\\p{L}\\d:\\.,;\\-\\/<>\\[\\]%_@+\"'= ]+)\\)","gu"),n=[],s=/f$/,l=/\.(\d)/,o=a?.options?.lang||tc.lang,c=a?.time||td,d=a?.numberFormatter||tw.bind(a),u=(e="")=>{let a;return"true"===e||"false"!==e&&((a=Number(e)).toString()===e?a:/^["'].+["']$/.test(e)?e.slice(1,-1):tf(e,t))},h,f,p=0,m;for(;null!==(h=i.exec(e));){let a=h,i=r.exec(h[1]);i&&(h=i,m=!0),f?.isBlock||(f={ctx:t,expression:h[1],find:h[0],isBlock:"#"===h[1].charAt(0),start:h.index,startInner:h.index+h[0].length,length:h[0].length});let s=(f.isBlock?a:h)[1].split(" ")[0].replace("#","");tx[s]&&(f.isBlock&&s===f.fn&&p++,f.fn||(f.fn=s));let l="else"===h[1];if(f.isBlock&&f.fn&&(h[1]===`/${f.fn}`||l))if(p)!l&&p--;else{let t=f.startInner,a=e.substr(t,h.index-t);void 0===f.body?(f.body=a,f.startInner=h.index+h[0].length):f.elseBody=a,f.find+=a+h[0],l||(n.push(f),f=void 0)}else f.isBlock||n.push(f);if(i&&!f?.isBlock)break}return n.forEach(i=>{let n,h,{body:f,elseBody:p,expression:m,fn:g}=i;if(g){let e=[i],r=[],s=m.length,l=0,o;for(h=0;h<=s;h++){let e=m.charAt(h);o||'"'!==e&&"'"!==e?o===e&&(o=""):o=e,o||" "!==e&&h!==s||(r.push(m.substr(l,h-l)),l=h+1)}for(h=tx[g].length;h--;)e.unshift(u(r[h+1]));n=tx[g].apply(t,e),i.isBlock&&"boolean"==typeof n&&(n=tA(n?f:p,t,a))}else{let e=/^["'].+["']$/.test(m)?[m]:m.split(":");if(n=u(e.shift()||""),e.length&&"number"==typeof n){let t=e.join(":");if(s.test(t)){let e=parseInt((t.match(l)||["","-1"])[1],10);null!==n&&(n=d(n,e,o.decimalPoint,t.indexOf(",")>-1?o.thousandsSep:""))}else n=c.dateFormat(t,n)}r.lastIndex=0,r.test(i.find)&&tb(n)&&(n=`"${n}"`)}e=e.replace(i.find,t_(n,""))}),m?tA(e,t,a):e}function tw(e,t,a,i){t*=1;let r,n,[s,l]=(e=+e||0).toString().split("e").map(Number),o=this?.options?.lang||tc.lang,c=(e.toString().split(".")[1]||"").split("e")[0].length,d=t,u={};a??(a=o.decimalPoint),i??(i=o.thousandsSep),-1===t?t=Math.min(c,20):tm(t)?t&&l<0&&((n=t+l)>=0?(s=+s.toExponential(n).split("e")[0],t=n):(s=Math.floor(s),e=t<20?+(s*Math.pow(10,l)).toFixed(t):0,l=0)):t=2,l&&(t??(t=2),e=s),tm(t)&&t>=0&&(u.minimumFractionDigits=t,u.maximumFractionDigits=t),""===i&&(u.useGrouping=!1);let h=i||a,f=h?"en":this?.locale||o.locale||tu,p=JSON.stringify(u)+f;return r=(tv[p]??(tv[p]=new Intl.NumberFormat(f,u))).format(e),h&&(r=r.replace(/([,\.])/g,"_$1").replace(/_\,/g,i??",").replace("_.",a??".")),(t||0!=+r)&&(!(l<0)||d)||(r="0"),l&&0!=+r&&(r+="e"+(l<0?"":"+")+l),r}let tE={dateFormat:function(e,t,a){return td.dateFormat(e,t,a)},format:tA,helpers:tx,numberFormat:tw};(l=b||(b={})).rendererTypes={},l.getRendererType=function(e=r){return l.rendererTypes[e]||l.rendererTypes[r]}
vendor: 5,089 bytes, line 269
269,l.registerRendererType=function(e,t,a){l.rendererTypes[e]=t,(!r||a)&&(r=e,M.Renderer=t)};let tS=b,{clamp:tC,pick:tT,pushUnique:tN,stableSort:tk}=el;(_||(_={})).distribute=function e(t,a,i){let r=t,n=r.reducedLen||a,s=(e,t)=>e.target-t.target,l=[],o=t.length,c=[],d=l.push,u,h,f,p=!0,m,g,b=0,_;for(u=o;u--;)b+=t[u].size;if(b>n){for(tk(t,(e,t)=>(t.rank||0)-(e.rank||0)),f=(_=t[0].rank===t[t.length-1].rank)?o/2:-1,h=_?f:o-1;f&&b>n;)m=t[u=Math.floor(h)],tN(c,u)&&(b-=m.size),h+=f,_&&h>=t.length&&(f/=2,h=f);c.sort((e,t)=>t-e).forEach(e=>d.apply(l,t.splice(e,1)))}for(tk(t,s),t=t.map(e=>({size:e.size,targets:[e.target],align:tT(e.align,.5)}));p;){for(u=t.length;u--;)m=t[u],g=(Math.min.apply(0,m.targets)+Math.max.apply(0,m.targets))/2,m.pos=tC(g-m.size*m.align,0,a-m.size);for(u=t.length,p=!1;u--;)u>0&&t[u-1].pos+t[u-1].size>t[u].pos&&(t[u-1].size+=t[u].size,t[u-1].targets=t[u-1].targets.concat(t[u].targets),t[u-1].align=.5,t[u-1].pos+t[u-1].size>a&&(t[u-1].pos=a-t[u-1].size),t.splice(u,1),p=!0)}return d.apply(r,l),u=0,t.some(t=>{let n=0;return(t.targets||[]).some(()=>(r[u].pos=t.pos+n,void 0!==i&&Math.abs(r[u].pos-r[u].target)>i)?(r.slice(0,u+1).forEach(e=>delete e.pos),r.reducedLen=(r.reducedLen||a)-.1*a,r.reducedLen>.1*a&&e(r,a,i),!0):(n+=r[u].size,u++,!1))}),tk(r,s),r};let tI=_,{animate:tj,animObject:tP,stop:tL}=e4,{deg2rad:tO,doc:tD,svg:tM,SVG_NS:tR,win:tF,isFirefox:tB}=M,{addEvent:tU,attr:tH,createElement:t$,crisp:tG,css:tW,defined:tY,erase:tz,extend:tV,fireEvent:tK,getAlignFactor:tq,isArray:tQ,isFunction:tZ,isNumber:tX,isObject:tJ,isString:t0,merge:t1,objectEach:t2,pick:t3,pInt:t4,pushUnique:t6,replaceNested:t5,syncTimeout:t8,uniqueKey:t7}=el;class t9{_defaultGetter(e){let t=t3(this[e+"Value"],this[e],this.element?this.element.getAttribute(e):null,0);return/^-?[\d\.]+$/.test(t)&&(t=parseFloat(t)),t}_defaultSetter(e,t,a){a.setAttribute(t,e)}add(e){let t,a=this.renderer,i=this.element;return e&&(this.parentGroup=e),void 0!==this.textStr&&"text"===this.element.nodeName&&a.buildText(this),this.added=!0,(!e||e.handleZ||this.zIndex)&&(t=this.zIndexSetter()),t||(e?e.element:a.box).appendChild(i),this.onAdd&&this.onAdd(),this}addClass(e,t){let a=t?"":this.attr("class")||"";return(e=(e||"").split(/ /g).reduce(function(e,t){return -1===a.indexOf(t)&&e.push(t),e},a?[a]:[]).join(" "))!==a&&this.attr("class",e),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(e,t,a,i=!0){let r=this.renderer,n=r.alignedObjects,s=!!e;e?(this.alignOptions=e,this.alignByTranslate=t,this.alignTo=a):(e=this.alignOptions||{},t=this.alignByTranslate,a=this.alignTo);let l=!a||t0(a)?a||"renderer":void 0;l&&(s&&t6(n,this),a=void 0);let o=t3(a,r[l],r),c=(o.x||0)+(e.x||0)+((o.width||0)-(e.width||0))*tq(e.align),d=(o.y||0)+(e.y||0)+((o.height||0)-(e.height||0))*tq(e.verticalAlign),u={};return e.align&&(u["text-align"]=e.align),u[t?"translateX":"x"]=Math.round(c),u[t?"translateY":"y"]=Math.round(d),i&&(this[this.placed?"animate":"attr"](u),this.placed=!0),this.alignAttr=u,this}alignSetter(e){let t={left:"start",center:"middle",right:"end"};t[e]&&(this.alignValue=e,this.element.setAttribute("text-anchor",t[e]))}animate(e,t,a){let i=tP(t3(t,this.renderer.globalAnimation,!0)),r=i.defer;return tD.hidden&&(i.duration=0),0!==i.duration?(a&&(i.complete=a),t8(()=>{this.element&&tj(this,e,i)},r)):(this.attr(e,void 0,a||i.complete),t2(e,function(e,t){i.step&&i.step.call(this,e,{prop:t,pos:1,elem:this})},this)),this}applyTextOutline(e){let t=this.element;-1!==e.indexOf("contrast")&&(e=e.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));let a=e.indexOf(" "),i=e.substring(a+1),r=e.substring(0,a);if(r&&"none"!==r&&M.svg){this.fakeTS=!0,r=r.replace(/(^[\d\.]+)(.*?)$/g,function(e,t,a){return 2*Number(t)+a}),this.removeTextOutline();let e=tD.createElementNS(tR,"tspan");tH(e,{class:"highcharts-text-outline",fill:i,stroke:i,"stroke-width":r,"stroke-linejoin":"round"});let a=t.querySelector("textPath")||t;[].forEach.call(a.childNodes,t=>{let a=t.cloneNode(!0);a.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(e=>a.removeAttribute(e)),e.appendChild(a)});let n=0;[].forEach.call(a.querySelectorAll("text tspan"),e=>{n+=Number(e.getAttribute("dy"))});let s=tD.createElementNS(tR,"tspan");s.textContent="​",tH(s,{x:Number(t.getAttribute("x")),dy:-n}),e.appendChild(s),a.insertBefore(e,a.firstChild)}}attr(e,t,a,i){let{element:r}=this,n=t9.symbolCustomAttribs,s,l,o=this,c;return"string"==typeof e&&void 0!==t&&(s=e,(e={})[s]=t),"string"==typeof e?o=(this[e+"Getter"]||this._defaultGetter).call(this,e,r):(t2(e,function(t,a){c=!1,i||tL(this,a),this.symbolName&&-1!==n.indexOf(a)&&(l||(this.symbolAttr(e),l=!0),c=!0),this.rotation&&("x"===a||"y"===a)&&(this.doTransform=!0),c||(this[a+"Setter"]||this._defaultSetter).call(this,t,a,r)},this),this.afterSetters()),a&&a.call(this),o}clip(e){if(e&&!e.clipPath){let t=t7()+"-",a=this.renderer.createElement("clipPath").attr({id:t}).add(this.renderer.defs);tV(e,{clipPath:a,id:t,count:0}),e.add(a)}return this.attr("clip-path",e?`url(${this.renderer.url}#${e.id})`:"none")}
vendor: 7,086 bytes, line 269
269crisp(e,t){t=Math.round(t||e.strokeWidth||0);let a=e.x||this.x||0,i=e.y||this.y||0,r=(e.width||this.width||0)+a,n=(e.height||this.height||0)+i,s=tG(a,t),l=tG(i,t);return tV(e,{x:s,y:l,width:tG(r,t)-s,height:tG(n,t)-l}),tY(e.strokeWidth)&&(e.strokeWidth=t),e}complexColor(e,t,a){let i=this.renderer,r,n,s,l,o,c,d,u,h,f,p=[],m;tK(this.renderer,"complexColor",{args:arguments},function(){if(e.radialGradient?n="radialGradient":e.linearGradient&&(n="linearGradient"),n){if(s=e[n],o=i.gradients,c=e.stops,h=a.radialReference,tQ(s)&&(e[n]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===n&&h&&!tY(s.gradientUnits)&&(l=s,s=t1(s,i.getRadialAttr(h,l),{gradientUnits:"userSpaceOnUse"})),t2(s,function(e,t){"id"!==t&&p.push(t,e)}),t2(c,function(e){p.push(e)}),o[p=p.join(",")])f=o[p].attr("id");else{s.id=f=t7();let e=o[p]=i.createElement(n).attr(s).add(i.defs);e.radAttr=l,e.stops=[],c.forEach(function(t){0===t[1].indexOf("rgba")?(d=(r=e$.parse(t[1])).get("rgb"),u=r.get("a")):(d=t[1],u=1);let a=i.createElement("stop").attr({offset:t[0],"stop-color":d,"stop-opacity":u}).add(e);e.stops.push(a)})}m="url("+i.url+"#"+f+")",a.setAttribute(t,m),a.gradient=p,e.toString=function(){return m}}})}css(e){let t=this.styles,a={},i=this.element,r,n=!t;if(t&&t2(e,function(e,i){t&&t[i]!==e&&(a[i]=e,n=!0)}),n){t&&(e=tV(t,a)),null===e.width||"auto"===e.width?delete this.textWidth:"text"===i.nodeName.toLowerCase()&&e.width&&(r=this.textWidth=t4(e.width)),tV(this.styles,e),r&&!tM&&this.renderer.forExport&&delete e.width;let n=tB&&e.fontSize||null;n&&(tX(n)||/^\d+$/.test(n))&&(e.fontSize+="px");let s=t1(e);i.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","whiteSpace","width"].forEach(e=>s&&delete s[e]),s.color&&(s.fill=s.color,delete s.color)),tW(i,s)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),e.textOutline&&this.applyTextOutline(e.textOutline)),this}dashstyleSetter(e){let t,a=this["stroke-width"];if("inherit"===a&&(a=1),e){let i=(e=e.toLowerCase()).replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=i.length;t--;)i[t]=""+t4(i[t])*t3(a,NaN);e=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",e)}}destroy(){let e=this,{element:t={},renderer:a,stops:i}=e,r=t.ownerSVGElement,n="SPAN"===t.nodeName&&e.parentGroup||void 0,s;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,tL(e),e.clipPath&&r){let t=e.clipPath;[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),function(e){e.getAttribute("clip-path").indexOf(t.element.id)>-1&&e.removeAttribute("clip-path")}),e.clipPath=t.destroy()}if(i){for(let e of i)e.destroy();i.length=0}for(e.safeRemoveChild(t);n?.div&&0===n.div.childNodes.length;)s=n.parentGroup,e.safeRemoveChild(n.div),delete n.div,n=s;e.alignOptions&&tz(a.alignedObjects,e),t2(e,(t,a)=>{(e[a]?.parentGroup===e||-1!==["connector","foreignObject"].indexOf(a))&&e[a]?.destroy?.(),delete e[a]})}dSetter(e,t,a){tQ(e)&&("string"==typeof e[0]&&(e=this.renderer.pathToSegments(e)),this.pathArray=e,e=e.reduce((e,t,a)=>t?.join?(a?e+" ":"")+t.join(" "):(t||"").toString(),"")),/(NaN| {2}|^$)/.test(e)&&(e="M 0 0"),this[t]!==e&&(a.setAttribute(t,e),this[t]=e)}fillSetter(e,t,a){"string"==typeof e?a.setAttribute(t,e):e&&this.complexColor(e,t,a)}hrefSetter(e,t,a){a.setAttributeNS("http://www.w3.org/1999/xlink",t,e)}getBBox(e,t){let a,i,r,{element:n,renderer:s,styles:l,textStr:o}=this,{cache:c,cacheKeys:d}=s,u=n.namespaceURI===this.SVG_NS,h=t3(t,this.rotation,0),f=s.styledMode?n&&t9.prototype.getStyle.call(n,"font-size"):l.fontSize,p=this.getBBoxCacheKey([s.rootFontSize,this.textWidth,this.alignValue,l.fontWeight,l.lineClamp,l.textOverflow,f,h]);if(p&&!e&&(a=c[p]),!a||a.polygon){if(u||s.forExport){try{r=this.fakeTS&&function(e){let t=n.querySelector(".highcharts-text-outline");t&&tW(t,{display:e})},tZ(r)&&r("none"),a=n.getBBox?tV({},n.getBBox()):{width:n.offsetWidth,height:n.offsetHeight,x:0,y:0},tZ(r)&&r("")}catch{}(!a||a.width<0)&&(a={x:0,y:0,width:0,height:0})}else a=this.htmlGetBBox();i=a.height,u&&(a.height=i=({"11px,17":14,"13px,20":16})[`${f||""},${Math.round(i)}`]||i),h&&(a=this.getRotatedBox(a,h));let e={bBox:a};tK(this,"afterGetBBox",e),a=e.bBox}if(p&&(""===o||a.height>0)){for(;d.length>250;)delete c[d.shift()];c[p]||d.push(p),c[p]=a}return a}getBBoxCacheKey(e){if(tY(this.textStr)){let t=""+this.textStr;return -1===t.indexOf("<")&&(t=t.replace(/\d/g,"0")),[t,...e].join(",")}}getRotatedBox(e,t){let{x:a,y:i,width:r,height:n}=e,{alignValue:s,translateY:l,rotationOriginX:o=0,rotationOriginY:c=0}=this,d=tq(s),u=Number(this.element.getAttribute("y")||0)-(l?0:i),h=t*tO,f=(t-90)*tO,p=Math.cos(h),m=Math.sin(h),g=r*p,b=r*m,_=Math.cos(f),y=Math.sin(f),[[x,v],[A,w]]=[o,c].map(e=>[e-e*p,e*m]),E=a+d*(r-g)+x+w+u*_,S=E+g,C=S-n*_,T=C-g,N=i+u-d*b-v+A+u*y,k=N+b,I=k-n*y,j=I-b,P=Math.min(E,S,C,T),L=Math.min(N,k,I,j),O=Math.max(E,S,C,T)-P,D=Math.max(N,k,I,j)-L;return{x:P,y:L,width:O,height:D,polygon:[[E,N],[S,k],[C,I],[T,j]]}}getStyle(e){return tF.getComputedStyle(this.element||this,"").getPropertyValue(e)}hasClass(e){return -1!==(""+this.attr("class")).split(" ").indexOf(e)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(e,t){this.onEvents={},this.opacity=1,this.SVG_NS=tR,this.element="span"===t||"body"===t?t$(t):tD.createElementNS(this.SVG_NS,t),this.renderer=e,this.styles={},tK(this,"afterInit")}on(e,t){let{onEvents:a}=this;return a[e]&&a[e](),a[e]=tU(this.element,e,t),this}opacitySetter(e,t,a){let i=Number(Number(e).toFixed(3));this.opacity=i,a.setAttribute(t,i)}reAlign(){this.alignOptions?.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(e){return this.attr("class",(""+this.attr("class")).replace(t0(e)?RegExp(`(^| )${e}( |$)`):e," ").replace(/ +/g," ").trim())}removeTextOutline(){let e=this.element.querySelector("tspan.highcharts-text-outline");e&&this.safeRemoveChild(e)}safeRemoveChild(e){let t=e.parentNode;t&&t.removeChild(e)}setRadialReference(e){let t=this.element.gradient&&this.renderer.gradients[this.element.gradient]||void 0;return this.element.radialReference=e,t?.radAttr&&t.animate(this.renderer.getRadialAttr(e,t.radAttr)),this}shadow(e){let{renderer:t}=this,a=t1(this.parentGroup?.rotation===90?{offsetX:-1,offsetY:-1}:{},tJ(e)?e:{}),i=t.shadowDefinition(a);return this.attr({filter:e?`url(${t.url}#${i})`:"none"})}show(e=!0){return this.attr({visibility:e?"inherit":"visible"})}"stroke-widthSetter"(e,t,a){this[t]=e,a.setAttribute(t,e)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let e=this.getStyle("stroke-width"),t=0,a;return/px$/.test(e)?t=t4(e):""!==e&&(tH(a=tD.createElementNS(tR,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(a),t=a.getBBox().width,a.parentNode.removeChild(a)),t}symbolAttr(e){let t=this;
vendor: 6,586 bytes, line 269
269t9.symbolCustomAttribs.forEach(function(a){t[a]=t3(e[a],t[a])}),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})}textSetter(e){e!==this.textStr&&(delete this.textPxLength,this.textStr=e,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(e){let t=this.element,a=t.getElementsByTagName("title")[0]||tD.createElementNS(this.SVG_NS,"title");t.insertBefore?t.insertBefore(a,t.firstChild):t.appendChild(a),a.textContent=t5(t3(e,""),[/<[^>]*>/g,""]).replace(/&lt;/g,"<").replace(/&gt;/g,">")}toFront(){let e=this.element;return e.parentNode.appendChild(e),this}translate(e,t){return this.attr({translateX:e,translateY:t})}updateTransform(e="transform"){let{element:t,foreignObject:a,matrix:i,padding:r,rotation:n=0,rotationOriginX:s,rotationOriginY:l,scaleX:o,scaleY:c,text:d,translateX:u=0,translateY:h=0}=this,f=[`translate(${u},${h})`];tY(i)&&f.push("matrix("+i.join(",")+")"),n&&(f.push("rotate("+n+" "+(s??t.getAttribute("x")??this.x??0)+" "+(l??t.getAttribute("y")??this.y??0)+")"),d?.element.tagName!=="SPAN"||d?.foreignObject||d.attr({rotation:n,rotationOriginX:(s||0)-r,rotationOriginY:(l||0)-r})),(tY(o)||tY(c))&&f.push(`scale(${o??1} ${c??1})`),f.length&&!(d||this).textPath&&(a?.element||t).setAttribute(e,f.join(" "))}visibilitySetter(e,t,a){"inherit"===e?a.removeAttribute(t):this[t]!==e&&a.setAttribute(t,e),this[t]=e}xGetter(e){return"circle"===this.element.nodeName&&("x"===e?e="cx":"y"===e&&(e="cy")),this._defaultGetter(e)}zIndexSetter(e,t){let a=this.renderer,i=this.parentGroup,r=(i||a).element||a.box,n=this.element,s=r===a.box,l,o,c,d=!1,u,h=this.added,f;if(tY(e)?(n.setAttribute("data-z-index",e),e*=1,this[t]===e&&(h=!1)):tY(this[t])&&n.removeAttribute("data-z-index"),this[t]=e,h){for((e=this.zIndex)&&i&&(i.handleZ=!0),f=(l=r.childNodes).length-1;f>=0&&!d;f--)u=!tY(c=(o=l[f]).getAttribute("data-z-index")),o!==n&&(e<0&&u&&!s&&!f?(r.insertBefore(n,l[f]),d=!0):(t4(c)<=e||u&&(!tY(e)||e>=0))&&(r.insertBefore(n,l[f+1]),d=!0));d||(r.insertBefore(n,l[3*!!s]),d=!0)}return d}}t9.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],t9.prototype.strokeSetter=t9.prototype.fillSetter,t9.prototype.yGetter=t9.prototype.xGetter,t9.prototype.matrixSetter=t9.prototype.rotationOriginXSetter=t9.prototype.rotationOriginYSetter=t9.prototype.rotationSetter=t9.prototype.scaleXSetter=t9.prototype.scaleYSetter=t9.prototype.translateXSetter=t9.prototype.translateYSetter=t9.prototype.verticalAlignSetter=function(e,t){this[t]=e,this.doTransform=!0};let ae=t9,{defined:at,extend:aa,getAlignFactor:ai,isNumber:ar,merge:an,pick:as,removeEvent:al}=el;class ao extends ae{constructor(e,t,a,i,r,n,s,l,o,c){let d;super(e,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=t,this.x=a,this.y=i,this.anchorX=n,this.anchorY=s,this.baseline=o,this.className=c,this.addClass("button"===c?"highcharts-no-tooltip":"highcharts-label"),c&&this.addClass("highcharts-"+c),this.text=e.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof r&&((d=/^url\((.*?)\)$/.test(r))||this.renderer.symbols[r])&&(this.symbolKey=r),this.bBox=ao.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=e.styledMode||d,this.deferredAttr={},this.alignFactor=0}alignSetter(e){let t=ai(e);this.textAlign=e,t!==this.alignFactor&&(this.alignFactor=t,this.bBox&&ar(this.xSetting)&&this.attr({x:this.xSetting}),this.updateTextPadding())}anchorXSetter(e,t){this.anchorX=e,this.boxAttr(t,Math.round(e)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(e,t){this.anchorY=e,this.boxAttr(t,e-this.ySetting)}boxAttr(e,t){this.box?this.box.attr(e,t):this.deferredAttr[e]=t}css(e){if(e){let t={};e=an(e),ao.textProps.forEach(a=>{void 0!==e[a]&&(t[a]=e[a],delete e[a])}),this.text.css(t),"fontSize"in t||"fontWeight"in t||"width"in t?this.updateTextPadding():"textOverflow"in t&&this.updateBoxSize()}return ae.prototype.css.call(this,e)}destroy(){al(this.element,"mouseenter"),al(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),ae.prototype.destroy.call(this)}fillSetter(e,t){e&&(this.needsBox=!0),this.fill=e,this.boxAttr(t,e)}getBBox(e,t){(this.textStr&&0===this.bBox.width&&0===this.bBox.height||this.rotation)&&this.updateBoxSize();let{padding:a,height:i=0,translateX:r=0,translateY:n=0,width:s=0}=this,l=as(this.paddingLeft,a),o=t??(this.rotation||0),c={width:s,height:i,x:r+this.bBox.x-l,y:n+this.bBox.y-a+this.baselineOffset};return o&&(c=this.getRotatedBox(c,o)),c}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(e){this.heightSetting=e,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:as(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&at(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(e,t){ar(e)?e!==this[t]&&(this[t]=e,this.updateTextPadding()):this[t]=void 0}rSetter(e,t){this.boxAttr(t,e)}strokeSetter(e,t){this.stroke=e,this.boxAttr(t,e)}"stroke-widthSetter"(e,t){e&&(this.needsBox=!0),this["stroke-width"]=e,this.boxAttr(t,e)}"text-alignSetter"(e){this.textAlign=this["text-align"]=e,this.updateTextPadding()}textSetter(e){void 0!==e&&this.text.attr({text:e}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let e,t=this.text,a={},i=this.padding,r=this.bBox=(!ar(this.widthSetting)||!ar(this.heightSetting)||this.textAlign)&&at(t.textStr)?t.getBBox(void 0,0):ao.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||r.height||0)+2*i;let n=this.renderer.fontMetrics(t);if(this.baselineOffset=i+Math.min((this.text.firstLineMetrics||n).b,r.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-n.h)/2),this.needsBox&&!t.textPath){if(!this.box){let e=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();e.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),e.add(this)}a.x=e=this.getCrispAdjust(),a.y=(this.baseline?-this.baselineOffset:0)+e,a.width=Math.round(this.width),a.height=Math.round(this.height),this.box.attr(aa(a,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let e=this.text,t=e.styles.textAlign||this.textAlign;if(!e.textPath){this.updateBoxSize();let a=this.baseline?0:this.baselineOffset,i=(this.paddingLeft??this.padding)+ai(t)*(this.widthSetting??this.bBox.width);
vendor: 4,252 bytes, line 269
269(i!==e.x||a!==e.y)&&(e.attr({align:t,x:i}),void 0!==a&&e.attr("y",a)),e.x=i,e.y=a}}widthSetter(e){this.widthSetting=ar(e)?e:void 0,this.doUpdate=!0}getPaddedWidth(){let e=this.padding,t=as(this.paddingLeft,e),a=as(this.paddingRight,e);return(this.widthSetting||this.bBox.width||0)+t+a}xSetter(e){this.x=e,this.alignFactor&&(e-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.anchorX&&(this["forceAnimate:anchorX"]=!0),this.xSetting=Math.round(e),this.attr("translateX",this.xSetting)}ySetter(e){this.anchorY&&(this["forceAnimate:anchorY"]=!0),this.ySetting=this.y=Math.round(e),this.attr("translateY",this.ySetting)}}ao.emptyBBox={width:0,height:0,x:0,y:0},ao.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineClamp","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"];let{defined:ac,isNumber:ad,pick:au}=el;function ah(e,t,a,i,r){let n=[];if(r){let s=r.start||0,l=r.end||0,o=au(r.r,a),c=au(r.r,i||a),d=2e-4/(r.borderRadius?1:Math.max(o,1)),u=Math.abs(l-s-2*Math.PI)<d;u&&(s=Math.PI/2,l=2.5*Math.PI-d);let h=r.innerR,f=au(r.open,u),p=Math.cos(s),m=Math.sin(s),g=Math.cos(l),b=Math.sin(l),_=au(r.longArc,l-s-Math.PI<d?0:1),y=["A",o,c,0,_,au(r.clockwise,1),e+o*g,t+c*b];y.params={start:s,end:l,cx:e,cy:t},n.push(["M",e+o*p,t+c*m],y),ac(h)&&((y=["A",h,h,0,_,ac(r.clockwise)?1-r.clockwise:0,e+h*p,t+h*m]).params={start:l,end:s,cx:e,cy:t},n.push(f?["M",e+h*g,t+h*b]:["L",e+h*g,t+h*b],y)),f||n.push(["Z"])}return n}function af(e,t,a,i,r){return r?.r?ap(e,t,a,i,r):[["M",e,t],["L",e+a,t],["L",e+a,t+i],["L",e,t+i],["Z"]]}function ap(e,t,a,i,r){let n=r?.r||0;return[["M",e+n,t],["L",e+a-n,t],["A",n,n,0,0,1,e+a,t+n],["L",e+a,t+i-n],["A",n,n,0,0,1,e+a-n,t+i],["L",e+n,t+i],["A",n,n,0,0,1,e,t+i-n],["L",e,t+n],["A",n,n,0,0,1,e+n,t],["Z"]]}let am={arc:ah,callout:function(e,t,a,i,r){let n=Math.min(r?.r||0,a,i),s=n+6,l=r?.anchorX,o=r?.anchorY||0,c=ap(e,t,a,i,{r:n});if(!ad(l)||l<a&&l>0&&o<i&&o>0)return c;if(e+l>a-s)if(o>t+s&&o<t+i-s)c.splice(3,1,["L",e+a,o-6],["L",e+a+6,o],["L",e+a,o+6],["L",e+a,t+i-n]);else if(l<a){let r=o<t+s,d=r?t:t+i;c.splice(r?2:5,0,["L",l,o],["L",e+a-n,d])}else c.splice(3,1,["L",e+a,i/2],["L",l,o],["L",e+a,i/2],["L",e+a,t+i-n]);else if(e+l<s)if(o>t+s&&o<t+i-s)c.splice(7,1,["L",e,o+6],["L",e-6,o],["L",e,o-6],["L",e,t+n]);else if(l>0){let a=o<t+s,r=a?t:t+i;c.splice(a?1:6,0,["L",l,o],["L",e+n,r])}else c.splice(7,1,["L",e,i/2],["L",l,o],["L",e,i/2],["L",e,t+n]);else o>i&&l<a-s?c.splice(5,1,["L",l+6,t+i],["L",l,t+i+6],["L",l-6,t+i],["L",e+n,t+i]):o<0&&l>s&&c.splice(1,1,["L",l-6,t],["L",l,t-6],["L",l+6,t],["L",a-n,t]);return c},circle:function(e,t,a,i){return ah(e+a/2,t+i/2,a/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(e,t,a,i){return[["M",e+a/2,t],["L",e+a,t+i/2],["L",e+a/2,t+i],["L",e,t+i/2],["Z"]]},rect:af,roundedRect:ap,square:af,triangle:function(e,t,a,i){return[["M",e+a/2,t],["L",e+a,t+i],["L",e,t+i],["Z"]]},"triangle-down":function(e,t,a,i){return[["M",e,t],["L",e+a,t],["L",e+a/2,t+i],["Z"]]}},{doc:ag,SVG_NS:ab,win:a_}=M,{attr:ay,extend:ax,fireEvent:av,isString:aA,objectEach:aw,pick:aE}=el,aS=(e,t)=>e.substring(0,t)+"…",aC=class{constructor(e){const t=e.styles;this.renderer=e.renderer,this.svgElement=e,this.width=e.textWidth,this.textLineHeight=t?.lineHeight,this.textOutline=t?.textOutline,this.ellipsis=t?.textOverflow==="ellipsis",this.lineClamp=t?.lineClamp,this.noWrap=t?.whiteSpace==="nowrap"}buildSVG(){let e=this.svgElement,t=e.element,a=e.renderer,i=aE(e.textStr,"").toString(),r=-1!==i.indexOf("<"),n=t.childNodes,s=!e.added&&a.box,l=[i,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),e.styles.lineClamp,this.width].join(",");if(l!==e.textCache){e.textCache=l,delete e.actualWidth;for(let e=n.length;e--;)t.removeChild(n[e]);if(r||this.ellipsis||this.width||e.textPath||-1!==i.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(i))){if(""!==i){s&&s.appendChild(t);let a=new to(i);this.modifyTree(a.nodes),a.addToDOM(t),this.modifyDOM(),this.ellipsis&&-1!==(t.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),s&&s.removeChild(t)}}else t.appendChild(ag.createTextNode(this.unescapeEntities(i)));
vendor: 8,594 bytes, line 269
269aA(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let e,t=this.svgElement,a=ay(t.element,"x");for(t.firstLineMetrics=void 0;e=t.element.firstChild;)if(/^[\s\u200B]*$/.test(e.textContent||" "))t.element.removeChild(e);else break;[].forEach.call(t.element.querySelectorAll("tspan.highcharts-br"),(e,i)=>{e.nextSibling&&e.previousSibling&&(0===i&&1===e.previousSibling.nodeType&&(t.firstLineMetrics=t.renderer.fontMetrics(e.previousSibling)),ay(e,{dy:this.getLineHeight(e.nextSibling),x:a}))});let i=this.width||0;if(!i)return;let r=(e,r)=>{let n=e.textContent||"",s=n.replace(/([^\^])-/g,"$1- ").split(" "),l=!this.noWrap&&(s.length>1||t.element.childNodes.length>1),o=this.getLineHeight(r),c=Math.max(0,i-.8*o),d=0,u=t.actualWidth;if(l){let n=[],l=[];for(;r.firstChild&&r.firstChild!==e;)l.push(r.firstChild),r.removeChild(r.firstChild);for(;s.length;)if(s.length&&!this.noWrap&&d>0&&(n.push(e.textContent||""),e.textContent=s.join(" ").replace(/- /g,"-")),this.truncate(e,void 0,s,0===d&&u||0,i,c,(e,t)=>s.slice(0,t).join(" ").replace(/- /g,"-")),u=t.actualWidth,d++,this.lineClamp&&d>=this.lineClamp){s.length&&(this.truncate(e,e.textContent||"",void 0,0,i,c,aS),e.textContent=e.textContent?.replace("…","")+"…");break}l.forEach(t=>{r.insertBefore(t,e)}),n.forEach(t=>{r.insertBefore(ag.createTextNode(t),e);let i=ag.createElementNS(ab,"tspan");i.textContent="​",ay(i,{dy:o,x:a}),r.insertBefore(i,e)})}else this.ellipsis&&n&&this.truncate(e,n,void 0,0,i,c,aS)},n=e=>{[].slice.call(e.childNodes).forEach(a=>{a.nodeType===a_.Node.TEXT_NODE?r(a,e):(-1!==a.className.baseVal.indexOf("highcharts-br")&&(t.actualWidth=0),n(a))})};n(t.element)}getLineHeight(e){let t=e.nodeType===a_.Node.TEXT_NODE?e.parentElement:e;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(t||this.svgElement.element).h}modifyTree(e){let t=(a,i)=>{let{attributes:r={},children:n,style:s={},tagName:l}=a,o=this.renderer.styledMode;if("b"===l||"strong"===l?o?r.class="highcharts-strong":s.fontWeight="bold":("i"===l||"em"===l)&&(o?r.class="highcharts-emphasized":s.fontStyle="italic"),s?.color&&(s.fill=s.color),"br"===l){r.class="highcharts-br",a.textContent="​";let t=e[i+1];t?.textContent&&(t.textContent=t.textContent.replace(/^ +/gm,""))}else"a"===l&&n&&n.some(e=>"#text"===e.tagName)&&(a.children=[{children:n,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(a.tagName="tspan"),ax(a,{attributes:r,style:s}),n&&n.filter(e=>"#text"!==e.tagName).forEach(t)};e.forEach(t),av(this.svgElement,"afterModifyTree",{nodes:e})}truncate(e,t,a,i,r,n,s){let l,o,c=this.svgElement,{rotation:d}=c,u=[],h=a&&!i?1:0,f=(t||a||"").length,p=f;a||(r=n);let m=function(t,r){let n=r||t,s=e.parentNode;if(s&&void 0===u[n]&&s.getSubStringLength)try{u[n]=i+s.getSubStringLength(0,a?n+1:n)}catch{}return u[n]};if(c.rotation=0,i+(o=m(e.textContent.length))>r){for(;h<=f;)p=Math.ceil((h+f)/2),a&&(l=s(a,p)),o=m(p,l&&l.length-1),h===f?h=f+1:o>r?f=p-1:h=p;0===f?e.textContent="":t&&f===t.length-1||(e.textContent=l||s(t||a,p)),this.ellipsis&&o>r&&this.truncate(e,e.textContent||"",void 0,0,r,n,aS)}a&&a.splice(0,p),c.actualWidth=o,c.rotation=d}unescapeEntities(e,t){return aw(this.renderer.escapes,function(a,i){t&&-1!==t.indexOf(a)||(e=e.toString().replace(RegExp(a,"g"),i))}),e}},{defaultOptions:aT}=eL,{charts:aN,deg2rad:ak,doc:aI,isFirefox:aj,isMS:aP,isWebKit:aL,noop:aO,SVG_NS:aD,symbolSizes:aM,win:aR}=M,{addEvent:aF,attr:aB,createElement:aU,crisp:aH,css:a$,defined:aG,destroyObjectProperties:aW,extend:aY,isArray:az,isNumber:aV,isObject:aK,isString:aq,merge:aQ,pick:aZ,pInt:aX,replaceNested:aJ,uniqueKey:a0}=el;class a1{constructor(e,t,a,i,r,n,s){let l,o;this.x=0,this.y=0;const c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),d=c.element;s||c.css(this.getStyle(i||{})),e.appendChild(d),aB(e,"dir","ltr"),-1===e.innerHTML.indexOf("xmlns")&&aB(d,"xmlns",this.SVG_NS),this.box=d,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(aI.createTextNode("Created with Highcharts 12.5.0")),this.defs=this.createElement("defs").add(),this.allowHTML=n,this.forExport=r,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=c.getStyle("font-size"),this.setSize(t,a,!1),aj&&e.getBoundingClientRect&&((l=function(){a$(e,{left:0,top:0}),o=e.getBoundingClientRect(),a$(e,{left:Math.ceil(o.left)-o.left+"px",top:Math.ceil(o.top)-o.top+"px"})})(),this.unSubPixelFix=aF(aR,"resize",l))}definition(e){return new to([e]).addToDOM(this.defs.element)}getReferenceURL(){if((aj||aL)&&aI.getElementsByTagName("base").length){if(!aG(t)){let e=a0(),a=new to([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(aI.body);a$(a,{position:"fixed",top:0,left:0,zIndex:9e5});let i=aI.elementFromPoint(6,6);t=i?.id==="hitme",aI.body.removeChild(a)}if(t)return aJ(aR.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(e){return this.style=aY({fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif',fontSize:"1rem"},e),this.style}setStyle(e){this.boxWrapper.css(this.getStyle(e))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),aW(this.gradients||{}),this.gradients=null,this.defs=e.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(e){return new this.Element(this,e)}getRadialAttr(e,t){return{cx:e[0]-e[2]/2+(t.cx||0)*e[2],cy:e[1]-e[2]/2+(t.cy||0)*e[2],r:(t.r||0)*e[2]}}shadowDefinition(e){let t=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(e).map(t=>`${t}-${e[t]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),a=aQ({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},e);return this.defs.element.querySelector(`#${t}`)||this.definition({tagName:"filter",attributes:{id:t,filterUnits:a.filterUnits},children:this.getShadowFilterContent(a)}),t}getShadowFilterContent(e){return[{tagName:"feDropShadow",attributes:{dx:e.offsetX,dy:e.offsetY,"flood-color":e.color,"flood-opacity":Math.min(5*e.opacity,1),stdDeviation:e.width/2}}]}buildText(e){new aC(e).buildSVG()}getContrast(e){if("transparent"===e)return"#000000";let t=e$.parse(e).rgba,a=" clamp(0,calc(9e9*(0.5 - (0.2126*r + 0.7152*g + 0.0722*b))),1)";if(aV(t[0])||!e$.useColorMix){let e=t.map(e=>{let t=e/255;return t<=.04?t/12.92:Math.pow((t+.055)/1.055,2.4)}),a=.2126*e[0]+.7152*e[1]+.0722*e[2];return 1.05/(a+.05)>(a+.05)/.05?"#FFFFFF":"#000000"}return"color(from "+e+" srgb"+a+a+a+")"}button(e,t,a,i,r={},n,s,l,o,c){let d=this.label(e,t,a,o,void 0,void 0,c,void 0,"button"),u=this.styledMode,h=arguments,f=0;r=aQ(aT.global.buttonTheme,r),u&&(delete r.fill,delete r.stroke,delete r["stroke-width"]);let p=r.states||{},m=r.style||{};delete r.states,delete r.style;let g=[to.filterUserAttributes(r)],b=[m];return u||["hover","select","disabled"].forEach((e,t)=>{g.push(aQ(g[0],to.filterUserAttributes(h[t+5]||p[e]||{}))),b.push(g[t+1].style),delete g[t+1].style}),aF(d.element,aP?"mouseover":"mouseenter",function(){3!==f&&d.setState(1)}),aF(d.element,aP?"mouseout":"mouseleave",function(){3!==f&&d.setState(f)}),d.setState=(e=0)=>{if(1!==e&&(d.state=f=e),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][e]),!u){d.attr(g[e]);let t=b[e];aK(t)&&d.css(t)}},d.attr(g[0]),!u&&(d.css(aY({cursor:"default"},m)),c&&d.text.css({pointerEvents:"none"})),d.on("touchstart",e=>e.stopPropagation()).on("click",function(e){3!==f&&i?.call(d,e)})}crispLine(e,t){let[a,i]=e;return aG(a[1])&&a[1]===i[1]&&(a[1]=i[1]=aH(a[1],t)),aG(a[2])&&a[2]===i[2]&&(a[2]=i[2]=aH(a[2],t)),e}path(e){let t=this.styledMode?{}:{fill:"none"};return az(e)?t.d=e:aK(e)&&aY(t,e),this.createElement("path").attr(t)}circle(e,t,a){let i=aK(e)?e:void 0===e?{}:{x:e,y:t,r:a},r=this.createElement("circle");return r.xSetter=r.ySetter=function(e,t,a){a.setAttribute("c"+t,e)},r.attr(i)}arc(e,t,a,i,r,n){let s;aK(e)?(t=(s=e).y,a=s.r,i=s.innerR,r=s.start,n=s.end,e=s.x):s={innerR:i,start:r,end:n};let l=this.symbol("arc",e,t,a,a,s);return l.r=a,l}rect(e,t,a,i,r,n){let s=aK(e)?e:void 0===e?{}
vendor: 30,326 bytes, line 269
269:{x:e,y:t,r:r,width:Math.max(a||0,0),height:Math.max(i||0,0)},l=this.createElement("rect");return this.styledMode||(void 0!==n&&(s["stroke-width"]=n,aY(s,l.crisp(s))),s.fill="none"),l.rSetter=function(e,t,a){l.r=e,aB(a,{rx:e,ry:e})},l.rGetter=function(){return l.r||0},l.attr(s)}roundedRect(e){return this.symbol("roundedRect").attr(e)}setSize(e,t,a){this.width=e,this.height=t,this.boxWrapper.animate({width:e,height:t},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:aZ(a,!0)?void 0:0}),this.alignElements()}g(e){let t=this.createElement("g");return e?t.attr({class:"highcharts-"+e}):t}image(e,t,a,i,r,n){let s={preserveAspectRatio:"none"};aV(t)&&(s.x=t),aV(a)&&(s.y=a),aV(i)&&(s.width=i),aV(r)&&(s.height=r);let l=this.createElement("image").attr(s),o=function(t){l.attr({href:e}),n.call(l,t)};if(n){l.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let t=new aR.Image;aF(t,"load",o),t.src=e,t.complete&&o({})}else l.attr({href:e});return l}symbol(e,t,a,i,r,n){let s,l,o,c,d=this,u=/^url\((.*?)\)$/,h=u.test(e),f=!h&&(this.symbols[e]?e:"circle"),p=f&&this.symbols[f];if(p)"number"==typeof t&&(l=p.call(this.symbols,t||0,a||0,i||0,r||0,n)),s=this.path(l),d.styledMode||s.attr("fill","none"),aY(s,{symbolName:f||void 0,x:t,y:a,width:i,height:r}),n&&aY(s,n);else if(h){o=e.match(u)[1];let i=s=this.image(o);i.imgwidth=aZ(n?.width,aM[o]?.width),i.imgheight=aZ(n?.height,aM[o]?.height),c=e=>e.attr({width:e.width,height:e.height}),["width","height"].forEach(e=>{i[`${e}Setter`]=function(e,t){this[t]=e;let{alignByTranslate:a,element:i,width:r,height:s,imgwidth:l,imgheight:o}=this,c="width"===t?l:o,d=1;n&&"within"===n.backgroundSize&&r&&s&&l&&o?(d=Math.min(r/l,s/o),aB(i,{width:Math.round(l*d),height:Math.round(o*d)})):i&&c&&i.setAttribute(t,c),!a&&l&&o&&this.translate(((r||0)-l*d)/2,((s||0)-o*d)/2)}}),aG(t)&&i.attr({x:t,y:a}),i.isImg=!0,i.symbolUrl=e,aG(i.imgwidth)&&aG(i.imgheight)?c(i):(i.attr({width:0,height:0}),aU("img",{onload:function(){let e=aN[d.chartIndex];0===this.width&&(a$(this,{position:"absolute",top:"-999em"}),aI.body.appendChild(this)),aM[o]={width:this.width,height:this.height},i.imgwidth=this.width,i.imgheight=this.height,i.element&&c(i),this.parentNode&&this.parentNode.removeChild(this),d.imgCount--,d.imgCount||!e||e.hasLoaded||e.onload()},src:o}),this.imgCount++)}return s}clipRect(e,t,a,i){return this.rect(e,t,a,i,0)}text(e,t,a,i){let r={};if(i&&(this.allowHTML||!this.forExport))return this.html(e,t,a);r.x=Math.round(t||0),a&&(r.y=Math.round(a)),aG(e)&&(r.text=e);let n=this.createElement("text").attr(r);return i&&(!this.forExport||this.allowHTML)||(n.xSetter=function(e,t,a){let i=a.getElementsByTagName("tspan"),r=a.getAttribute(t);for(let a=0,n;a<i.length;a++)(n=i[a]).getAttribute(t)===r&&n.setAttribute(t,e);a.setAttribute(t,e)}),n}fontMetrics(e){let t=aV(e)?e:aX(ae.prototype.getStyle.call(e,"font-size")||0),a=t<24?t+3:Math.round(1.2*t),i=Math.round(.8*a);return{h:a,b:i,f:t}}rotCorr(e,t,a){let i=e;return t&&a&&(i=Math.max(i*Math.cos(t*ak),4)),{x:-e/3*Math.sin(t*ak),y:i}}pathToSegments(e){let t=[],a=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let r=0;r<e.length;r++)aq(a[0])&&aV(e[r])&&a.length===i[a[0].toUpperCase()]&&e.splice(r,0,a[0].replace("M","L").replace("m","l")),"string"==typeof e[r]&&(a.length&&t.push(a.slice(0)),a.length=0),a.push(e[r]);return t.push(a.slice(0)),t}label(e,t,a,i,r,n,s,l,o){return new ao(this,e,t,a,i,r,n,s,l,o)}alignElements(){this.alignedObjects.forEach(e=>e.align())}}aY(a1.prototype,{Element:ae,SVG_NS:aD,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:am,draw:aO}),tS.registerRendererType("svg",a1,!0);let{composed:a2,isFirefox:a3}=M,{attr:a4,css:a6,createElement:a5,defined:a8,extend:a7,getAlignFactor:a9,isNumber:ie,pInt:it,pushUnique:ia}=el;function ii(e,t,a){let i=this.div?.style;ae.prototype[`${t}Setter`].call(this,e,t,a),i&&(a.style[t]=i[t]=e)}let ir=(e,t)=>{if(!e.div){let a=a4(e.element,"class"),i=e.css,r=a5("div",a?{className:a}:void 0,{position:"absolute",left:`${e.translateX||0}px`,top:`${e.translateY||0}px`,...e.styles,display:e.display,opacity:e.opacity,visibility:e.visibility},e.parentGroup?.div||t);e.classSetter=(e,t,a)=>{a.setAttribute("class",e),r.className=e},e.translateXSetter=e.translateYSetter=(t,a)=>{e[a]=t,r.style["translateX"===a?"left":"top"]=`${t}px`,e.doTransform=!0},e.scaleXSetter=e.scaleYSetter=(t,a)=>{e[a]=t,e.doTransform=!0},e.opacitySetter=e.visibilitySetter=ii,e.css=t=>(i.call(e,t),t.cursor&&(r.style.cursor=t.cursor),t.pointerEvents&&(r.style.pointerEvents=t.pointerEvents),e),e.on=function(){return ae.prototype.on.apply({element:r,onEvents:e.onEvents},arguments),e},e.div=r}return e.div};class is extends ae{static compose(e){ia(a2,this.compose)&&(e.prototype.html=function(e,t,a){return new is(this,"span").attr({text:e,x:Math.round(t),y:Math.round(a)})})}constructor(e,t){super(e,t),is.useForeignObject?this.foreignObject=e.createElement("foreignObject").attr({zIndex:2}):this.css({position:"absolute",...e.styledMode?{}:{fontFamily:e.style.fontFamily,fontSize:e.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(e,t,a){this.xCorr=-e*a,this.yCorr=-t}css(e){let t,{element:a}=this,i="SPAN"===a.tagName&&e&&"width"in e,r=i&&e.width;return i&&(delete e.width,this.textWidth=it(r)||void 0,t=!0),e?.textOverflow==="ellipsis"&&(e.overflow="hidden",e.whiteSpace="nowrap"),e?.lineClamp&&(e.display="-webkit-box",e.WebkitLineClamp=e.lineClamp,e.WebkitBoxOrient="vertical",e.overflow="hidden"),ie(Number(e?.fontSize))&&(e.fontSize+="px"),a7(this.styles,e),a6(a,e),t&&this.updateTransform(),this}htmlGetBBox(){let{element:e}=this;return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}updateTransform(){if(!this.added){this.alignOnAdd=!0;return}let{element:e,foreignObject:t,oldTextWidth:a,renderer:i,rotation:r,rotationOriginX:n,rotationOriginY:s,scaleX:l,scaleY:o,styles:{display:c="inline-block",whiteSpace:d},textAlign:u="left",textWidth:h,translateX:f=0,translateY:p=0,x:m=0,y:g=0}=this,b=()=>this.textPxLength?this.textPxLength:(a6(e,{width:"",whiteSpace:d||"nowrap"}),e.offsetWidth);if(t||a6(e,{marginLeft:`${f}px`,marginTop:`${p}px`}),"SPAN"===e.tagName){let f,p=[r,u,e.innerHTML,h,this.textAlign].join(","),_=-(this.parentGroup?.padding*1)||0;if(h!==a){let t=b(),n=h||0,s=!i.styledMode&&""===e.style.textOverflow&&e.style.webkitLineClamp;(n>a||t>n||s)&&(/[\-\s\u00AD]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(a6(e,{width:(r||l||t>n||s)&&ie(h)?h+"px":"auto",display:c,whiteSpace:d||"normal"}),this.oldTextWidth=h)}t&&(a6(e,{display:"inline-block",verticalAlign:"top"}),t.attr({width:i.width,height:i.height})),p!==this.cTT&&(f=i.fontMetrics(e).b,a8(r)&&!t&&(r!==(this.oldRotation||0)||u!==this.oldAlign)&&a6(e,{transform:`rotate(${r}deg)`,transformOrigin:`${_}% ${_}px`}),this.getSpanCorrection(!a8(r)&&!this.textWidth&&this.textPxLength||e.offsetWidth,f,a9(u)));let{xCorr:y=0,yCorr:x=0}=this,v={left:`${m+y}px`,top:`${g+x}px`,textAlign:u,transformOrigin:`${(n??m)-y-m-_}px ${(s??g)-x-g-_}px`};(l||o)&&(v.transform=`scale(${l??1},${o??1})`),t?(super.updateTransform(),ie(m)&&ie(g)?(t.attr({x:m+y,y:g+x,width:e.offsetWidth+3,height:e.offsetHeight,"transform-origin":e.getAttribute("transform-origin")||"0 0"}),a6(e,{display:c,textAlign:u})):a3&&t.attr({width:0,height:0})):a6(e,v),this.cTT=p,this.oldRotation=r,this.oldAlign=u}}add(e){let{foreignObject:t,renderer:a}=this,i=a.box.parentNode,r=[];if(t)t.add(e),super.add(a.createElement("body").attr({xmlns:"http://www.w3.org/1999/xhtml"}).css({background:"transparent",margin:"0 3px 0 0"}).add(t));else{let t;if(this.parentGroup=e,e&&!(t=e.div)){let a=e;for(;a;)r.push(a),a=a.parentGroup;for(let e of r.reverse())t=ir(e,i)}(t||i).appendChild(this.element)}return this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,to.setElementHTML(this.element,e??""),this.textStr=e,this.doTransform=!0)}alignSetter(e){this.alignValue=this.textAlign=e,this.doTransform=!0}xSetter(e,t){this[t]=e,this.doTransform=!0}}let il=is.prototype;il.visibilitySetter=il.opacitySetter=ii,il.ySetter=il.rotationSetter=il.rotationOriginXSetter=il.rotationOriginYSetter=il.xSetter,(o=y||(y={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%[HMSL]",range:!1},second:{main:"%[HMS]",range:!1},minute:{main:"%[HM]",range:!1},hour:{main:"%[HM]",range:!1},day:{main:"%[eb]"},week:{main:"%[eb]"},month:{main:"%[bY]"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em",textOverflow:"ellipsis"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},o.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:e}=this.axis.chart;return e(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};let io=y,{addEvent:ic,isFunction:id,objectEach:iu,removeEvent:ih}=el;(x||(x={})).registerEventOptions=function(e,t){e.eventOptions=e.eventOptions||{},iu(t.events,function(t,a){e.eventOptions[a]!==t&&(e.eventOptions[a]&&(ih(e,a,e.eventOptions[a]),delete e.eventOptions[a]),id(t)&&(e.eventOptions[a]=t,ic(e,a,t,{order:0})))})};let ip=x,{deg2rad:im}=M,{clamp:ig,correctFloat:ib,defined:i_,destroyObjectProperties:iy,extend:ix,fireEvent:iv,getAlignFactor:iA,isNumber:iw,merge:iE,objectEach:iS,pick:iC}=el,iT=class{constructor(e,t,a,i,r){this.isNew=!0,this.isNewLabel=!0,this.axis=e,this.pos=t,this.type=a||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,iv(this,"init"),a||i||this.addLabel()}addLabel(){let e=this,t=e.axis,a=t.options,i=t.chart,r=t.categories,n=t.logarithmic,s=t.names,l=e.pos,o=iC(e.options?.labels,a.labels),c=t.tickPositions,d=l===c[0],u=l===c[c.length-1],h=(!o.step||1===o.step)&&1===t.tickInterval,f=c.info,p=e.label,m,g,b,_=this.parameters.category||(r?iC(r[l],s[l],l):l);n&&iw(_)&&(_=ib(n.lin2log(_))),t.dateTime&&(f?m=(g=i.time.resolveDTLFormat(a.dateTimeLabelFormats[!a.grid?.enabled&&f.higherRanks[l]||f.unitName])).main:iw(_)&&(m=t.dateTime.getXDateFormat(_,a.dateTimeLabelFormats||{}))),e.isFirst=d,e.isLast=u;let y={axis:t,chart:i,dateTimeLabelFormat:m,isFirst:d,isLast:u,pos:l,tick:e,tickPositionInfo:f,value:_};iv(this,"labelFormat",y);let x=e=>o.formatter?o.formatter.call(e,e):o.format?(e.text=t.defaultLabelFormatter.call(e),tE.format(o.format,e,i)):t.defaultLabelFormatter.call(e),v=x.call(y,y),A=g?.list;A?e.shortenLabel=function(){for(b=0;b<A.length;b++)if(ix(y,{dateTimeLabelFormat:A[b]}),p.attr({text:x.call(y,y)}),p.getBBox().width<t.getSlotWidth(e)-2*(o.padding||0))return;p.attr({text:""})}:e.shortenLabel=void 0,h&&t._addedPlotLB&&e.moveLabel(v,o),i_(p)||e.movedLabel?p&&p.textStr!==v&&!h&&(!p.textWidth||o.style.width||p.styles.width||p.css({width:null}),p.attr({text:v}),p.textPxLength=p.getBBox().width):(e.label=p=e.createLabel(v,o),e.rotation=0)}createLabel(e,t,a){let i=this.axis,{renderer:r,styledMode:n}=i.chart,s=t.style.whiteSpace,l=i_(e)&&t.enabled?r.text(e,a?.x,a?.y,t.useHTML).add(i.labelGroup):void 0;return l&&(n||l.css(iE(t.style)),l.textPxLength=l.getBBox().width,!n&&s&&l.css({whiteSpace:s})),l}destroy(){iy(this,this.axis)}getPosition(e,t,a,i){let r=this.axis,n=r.chart,s=i&&n.oldChartHeight||n.chartHeight,l={x:e?ib(r.translate(t+a,void 0,void 0,i)+r.transB):r.left+r.offset+(r.opposite?(i&&n.oldChartWidth||n.chartWidth)-r.right-r.left:0),y:e?s-r.bottom+r.offset-(r.opposite?r.height:0):ib(s-r.translate(t+a,void 0,void 0,i)-r.transB)};return l.y=ig(l.y,-1e9,1e9),iv(this,"afterGetPosition",{pos:l}),l}getLabelPosition(e,t,a,i,r,n,s,l){let o,c,d=this.axis,u=d.transA,h=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,f=d.staggerLines,p=d.tickRotCorr||{x:0,y:0},m=i||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),g=r.distance,b={};return o=0===d.side?a.rotation?-g:-a.getBBox().height:2===d.side?p.y+g:Math.cos(a.rotation*im)*(p.y-a.getBBox(!1,0).height/2),i_(r.y)&&(o=0===d.side&&d.horiz?r.y+o:r.y),e=e+iC(r.x,[0,1,0,-1][d.side]*g)+m+p.x-(n&&i?n*u*(h?-1:1):0),t=t+o-(n&&!i?n*u*(h?1:-1):0),f&&(c=s/(l||1)%f,d.opposite&&(c=f-c-1),t+=c*(d.labelOffset/f)),b.x=e,b.y=Math.round(t),iv(this,"afterGetLabelPosition",{pos:b,tickmarkOffset:n,index:s}),b}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(e,t,a,i,r=!1,n){return n.crispLine([["M",e,t],["L",e+(r?0:-a),t+(r?a:0)]],i)}handleOverflow(e){let t=this.axis,a=t.options.labels,i=e.x,r=t.chart.chartWidth,n=t.chart.spacing,s=iC(t.labelLeft,Math.min(t.pos,n[3])),l=iC(t.labelRight,Math.max(t.isRadial?0:t.pos+t.len,r-n[1])),o=this.label,c=this.rotation,d=iA(t.labelAlign||o.attr("align")),u=o.getBBox().width,h=t.getSlotWidth(this),f=h,p=1,m;c||"justify"!==a.overflow?c<0&&i-d*u<s?m=Math.round(i/Math.cos(c*im)-s):c>0&&i+d*u>l&&(m=Math.round((r-i)/Math.cos(c*im))):(i-d*u<s?f=e.x+f*(1-d)-s:i+(1-d)*u>l&&(f=l-e.x+f*d,p=-1),(f=Math.min(h,f))<h&&"center"===t.labelAlign&&(e.x+=p*(h-f-d*(h-Math.min(u,f)))),(u>f||t.autoRotation&&o?.styles?.width)&&(m=f)),m&&o&&(this.shortenLabel?this.shortenLabel():o.css(ix({},{width:Math.floor(m)+"px",lineClamp:+!t.isRadial})))}moveLabel(e,t){let a=this,i=a.label,r=a.axis,n=!1,s;i&&i.textStr===e?(a.movedLabel=i,n=!0,delete a.label):iS(r.ticks,function(t){n||t.isNew||t===a||!t.label||t.label.textStr!==e||(a.movedLabel=t.label,n=!0,t.labelPos=a.movedLabel.xy,delete t.label)}),!n&&(a.labelPos||i)&&(s=a.labelPos||i.xy,a.movedLabel=a.createLabel(e,t,s),a.movedLabel&&a.movedLabel.attr({opacity:0}))}render(e,t,a){let i=this.axis,r=i.horiz,n=this.pos,s=iC(this.tickmarkOffset,i.tickmarkOffset),l=this.getPosition(r,n,s,t),o=l.x,c=l.y,d=i.pos,u=d+i.len,h=r?o:c,f=iC(a,this.label?.newOpacity,1);!i.chart.polar&&(ib(h)<d||h>u)&&(a=0),a??(a=1),this.isActive=!0,this.renderGridLine(t,a),this.renderMark(l,a),this.renderLabel(l,t,f,e),this.isNew=!1,iv(this,"afterRender")}renderGridLine(e,t){let a=this.axis,i=a.options,r={},n=this.pos,s=this.type,l=iC(this.tickmarkOffset,a.tickmarkOffset),o=a.chart.renderer,c=this.gridLine,d,u=i.gridLineWidth,h=i.gridLineColor,f=i.gridLineDashStyle;"minor"===this.type&&(u=i.minorGridLineWidth,h=i.minorGridLineColor,f=i.minorGridLineDashStyle),c||(a.chart.styledMode||(r.stroke=h,r["stroke-width"]=u||0,r.dashstyle=f),s||(r.zIndex=1),e&&(t=0),this.gridLine=c=o.path().attr(r).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(a.gridGroup)),c&&(d=a.getPlotLinePath({value:n+l,lineWidth:c.strokeWidth(),force:"pass",old:e,acrossPanes:!1}))&&c[e||this.isNew?"attr":"animate"]({d:d,opacity:t})}renderMark(e,t){let a=this.axis,i=a.options,r=a.chart.renderer,n=this.type,s=a.tickSize(n?n+"Tick":"tick"),l=e.x,o=e.y,c=iC(i["minor"!==n?"tickWidth":"minorTickWidth"],!n&&a.isXAxis?1:0),d=i["minor"!==n?"tickColor":"minorTickColor"],u=this.mark,h=!u;s&&(a.opposite&&(s[0]=-s[0]),!u&&(this.mark=u=r.path().addClass("highcharts-"+(n?n+"-":"")+"tick").add(a.axisGroup),a.chart.styledMode||u.attr({stroke:d,"stroke-width":c})),u[h?"attr":"animate"]({d:this.getMarkPath(l,o,s[0],u.strokeWidth(),a.horiz,r),opacity:t}))}renderLabel(e,t,a,i){let r=this.axis,n=r.horiz,s=r.options,l=this.label,o=s.labels,c=o.step,d=iC(this.tickmarkOffset,r.tickmarkOffset),u=e.x,h=e.y,f=!0;l&&iw(u)&&(l.xy=e=this.getLabelPosition(u,h,l,n,o,d,i,c),(!this.isFirst||this.isLast||s.showFirstLabel)&&(!this.isLast||this.isFirst||s.showLastLabel)?!n||o.step||o.rotation||t||0===a||this.handleOverflow(e):f=!1,c&&i%c&&(f=!1),f&&iw(e.y)?(e.opacity=a,l[this.isNewLabel?"attr":"animate"](e).show(!0),this.isNewLabel=!1):(l.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let e=this.label,t=this.axis;e&&!this.isNew&&(e.animate({opacity:0},void 0,e.destroy),delete this.label),t.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}},{animObject:iN}=e4,{xAxis:ik,yAxis:iI}=io,{defaultOptions:ij}=eL,{registerEventOptions:iP}=ip,{deg2rad:iL}=M,{arrayMax:iO,arrayMin:iD,clamp:iM,correctFloat:iR,defined:iF,destroyObjectProperties:iB,erase:iU,error:iH,extend:i$,fireEvent:iG,getClosestDistance:iW,insertItem:iY,isArray:iz,isNumber:iV,isString:iK,merge:iq,normalizeTickInterval:iQ,objectEach:iZ,pick:iX,relativeLength:iJ,removeEvent:i0,splat:i1,syncTimeout:i2}=el,i3=(e,t)=>iQ(t,void 0,void 0,iX(e.options.allowDecimals,t<.5||void 0!==e.tickAmount),!!e.tickAmount);i$(ij,{xAxis:ik,yAxis:iq(ik,iI)});class i4{constructor(e,t,a){this.init(e,t,a)}init(e,t,a=this.coll){let i="xAxis"===a,r=this.isZAxis||(e.inverted?!i:i);this.chart=e,this.horiz=r,this.isXAxis=i,this.coll=a,iG(this,"init",{userOptions:t}),this.opposite=iX(t.opposite,this.opposite),this.side=iX(t.side,this.side,r?2*!this.opposite:this.opposite?1:3),this.setOptions(t);let n=this.options,s=n.labels;this.type??(this.type=n.type||"linear"),this.uniqueNames??(this.uniqueNames=n.uniqueNames??!0),iG(this,"afterSetType"),this.userOptions=t,this.minPixelPadding=0,this.reversed=iX(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===this.type||!0===n.categories,this.categories=iz(n.categories)&&n.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=iF(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.max=void 0,this.min=void 0;let l=iX(n.crosshair,i1(e.options.tooltip.crosshairs)[+!i]);this.crosshair=!0===l?{}:l,-1===e.axes.indexOf(this)&&(i?e.axes.splice(e.xAxis.length,0,this):e.axes.push(this),iY(this,e[this.coll])),e.orderItems(this.coll),this.series=this.series||[],e.inverted&&!this.isZAxis&&i&&!iF(this.reversed)&&(this.reversed=!0),this.labelRotation=iV(s.rotation)?s.rotation:void 0,iP(this,n),iG(this,"afterInit")}setOptions(e){let t=this.horiz?{labels:{autoRotation:[-45],padding:3},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=iq(t,"yAxis"===this.coll?{title:{text:this.chart.options.lang.yAxisTitle}}:{},ij[this.coll],e),iG(this,"afterSetOptions",{userOptions:e})}defaultLabelFormatter(){let e=this.axis,{numberFormatter:t}=this.chart,a=iV(this.value)?this.value:NaN,i=e.chart.time,r=e.categories,n=this.dateTimeLabelFormat,s=ij.lang,l=s.numericSymbols,o=s.numericSymbolMagnitude||1e3,c=e.logarithmic?Math.abs(a):e.tickInterval,d=l?.length,u,h;if(r)h=`${this.value}`;else if(n)h=i.dateFormat(n,a,!0);else if(d&&l&&c>=1e3)for(;d--&&void 0===h;)c>=(u=Math.pow(o,d+1))&&10*a%u==0&&null!==l[d]&&0!==a&&(h=t(a/u,-1)+l[d]);return void 0===h&&(h=Math.abs(a)>=1e4?t(a,-1):t(a,-1,void 0,"")),h}getSeriesExtremes(){let e,t=this;iG(this,"getSeriesExtremes",null,function(){t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=void 0,t.softThreshold=!t.isXAxis,t.series.forEach(a=>{if(a.reserveSpace()){let i=a.options,r,n=i.threshold,s,l;if(t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=(n||0)&&(n=void 0),t.isXAxis)(r=a.getColumn("x")).length&&(r=t.logarithmic?r.filter(e=>e>0):r,s=(e=a.getXExtremes(r)).min,l=e.max,iV(s)||s instanceof Date||(r=r.filter(iV),s=(e=a.getXExtremes(r)).min,l=e.max),r.length&&(t.dataMin=Math.min(iX(t.dataMin,s),s),t.dataMax=Math.max(iX(t.dataMax,l),l)));else{let e=a.applyExtremes();iV(e.dataMin)&&(s=e.dataMin,t.dataMin=Math.min(iX(t.dataMin,s),s)),iV(e.dataMax)&&(l=e.dataMax,t.dataMax=Math.max(iX(t.dataMax,l),l)),iF(n)&&(t.threshold=n),(!i.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1)}}})}),iG(this,"afterGetSeriesExtremes")}translate(e,t,a,i,r,n){let s=this.linkedParent||this,l=i&&s.old?s.old.min:s.min;if(!iV(l))return NaN;let o=s.minPixelPadding,c=(s.isOrdinal||s.brokenAxis?.hasBreaks||s.logarithmic&&r)&&!!s.lin2val,d=1,u=0,h=i&&s.old?s.old.transA:s.transA,f=0;return h||(h=s.transA),a&&(d*=-1,u=s.len),s.reversed&&(d*=-1,u-=d*(s.sector||s.len)),t?(f=(e=e*d+u-o)/h+l,c&&(f=s.lin2val(f))):(c&&(e=s.val2lin(e)),f=d*(e-l)*h+u+d*o+(iV(n)?h*n:0),s.isRadial||(f=iR(f))),f}toPixels(e,t){return this.translate(this.chart?.time.parse(e)??NaN,!1,!this.horiz,void 0,!0)+(t?0:this.pos)}toValue(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(e){let t=this,a=t.chart,i=t.left,r=t.top,n=e.old,s=e.value,l=e.lineWidth,o=n&&a.oldChartHeight||a.chartHeight,c=n&&a.oldChartWidth||a.chartWidth,d=t.transB,u=e.translatedValue,h=e.force,f,p,m,g,b;function _(e,t,a){return"pass"!==h&&(e<t||e>a)&&(h?e=iM(e,t,a):b=!0),e}let y={value:s,lineWidth:l,old:n,force:h,acrossPanes:e.acrossPanes,translatedValue:u};return iG(this,"getPlotLinePath",y,function(e){f=m=(u=iM(u=iX(u,t.translate(s,void 0,void 0,n)),-1e9,1e9))+d,p=g=o-u-d,iV(u)?t.horiz?(p=r,g=o-t.bottom+(t.options.isInternal?0:a.scrollablePixelsY||0),f=m=_(f,i,i+t.width)):(f=i,m=c-t.right+(a.scrollablePixelsX||0),p=g=_(p,r,r+t.height)):(b=!0,h=!1),e.path=b&&!h?void 0:a.renderer.crispLine([["M",f,p],["L",m,g]],l||1)}),y.path}getLinearTickPositions(e,t,a){let i,r,n,s=iR(Math.floor(t/e)*e),l=iR(Math.ceil(a/e)*e),o=[];if(iR(s+e)===s&&(n=20),this.single)return[t];for(i=s;i<=l&&(o.push(i),(i=iR(i+e,n))!==r);)r=i;return o}getMinorTickInterval(){let{minorTicks:e,minorTickInterval:t}=this.options;return!0===e?iX(t,"auto"):!1!==e?t:void 0}getMinorTickPositions(){let e=this.options,t=this.tickPositions,a=this.minorTickInterval,i=this.pointRangePadding||0,r=(this.min||0)-i,n=(this.max||0)+i,s=this.brokenAxis?.hasBreaks?this.brokenAxis.unitLength:n-r,l=[],o;if(s&&s/a<this.len/3){let i=this.logarithmic;if(i)this.paddedTicks.forEach(function(e,t,r){t&&l.push.apply(l,i.getLogTickPositions(a,r[t-1],r[t],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(a),r,n,e.startOfWeek));else for(o=r+(t[0]-r)%a;o<=n&&o!==l[0];o+=a)l.push(o)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let e=this.options,t=this.logarithmic,a=this.chart.time,{max:i,min:r,minRange:n}=this,s,l,o,c;this.isXAxis&&void 0===n&&!t&&(n=iF(e.min)||iF(e.max)||iF(e.floor)||iF(e.ceiling)?null:Math.min(5*(iW(this.series.map(e=>{let t=e.getColumn("x");return e.xIncrement?t.slice(0,2):t}))||0),this.dataMax-this.dataMin)),iV(i)&&iV(r)&&iV(n)&&i-r<n&&(l=this.dataMax-this.dataMin>=n,s=(n-i+r)/2,o=[r-s,a.parse(e.min)??r-s],l&&(o[2]=t?t.log2lin(this.dataMin):this.dataMin),c=[(r=iO(o))+n,a.parse(e.max)??r+n],l&&(c[2]=t?t.log2lin(this.dataMax):this.dataMax),(i=iD(c))-r<n&&(o[0]=i-n,o[1]=a.parse(e.min)??i-n,r=iO(o))),this.minRange=n,this.min=r,this.max=i}getClosest(){let e,t;if(this.categories)t=1;else{let a=[];this.series.forEach(function(e){let i=e.closestPointRange,r=e.getColumn("x");1===r.length?a.push(r[0]):e.sorted&&iF(i)&&e.reserveSpace()&&(t=iF(t)?Math.min(t,i):i)}),a.length&&(a.sort((e,t)=>e-t),e=iW([a]))}return e&&t?Math.min(e,t):e||t}nameToX(e){let t=iz(this.options.categories),a=t?this.categories:this.names,i=e.options.x,r;return e.series.requireSorting=!1,iF(i)||(i=this.uniqueNames&&a?t?a.indexOf(e.name):iX(a.keys[e.name],-1):e.series.autoIncrement()),-1===i?!t&&a&&(r=a.length):iV(i)&&(r=i),void 0!==r?(this.names[r]=e.name,this.names.keys[e.name]=r):e.x&&(r=e.x),r}updateNames(){let e=this,t=this.names;t.length>0&&(Object.keys(t.keys).forEach(function(e){delete t.keys[e]}),t.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(t=>{t.xIncrement=null,(!t.points||t.isDirtyData)&&(e.max=Math.max(e.max||0,t.dataTable.rowCount-1),t.processData(),t.generatePoints());let a=t.getColumn("x").slice();t.data.forEach((t,i)=>{let r=a[i];t?.options&&void 0!==t.name&&void 0!==(r=e.nameToX(t))&&r!==t.x&&(a[i]=t.x=r)}),t.dataTable.setColumn("x",a)}))}setAxisTranslation(){let e=this,t=e.max-e.min,a=e.linkedParent,i=!!e.categories,r=e.isXAxis,n=e.axisPointRange||0,s,l=0,o=0,c,d=e.transA;(r||i||n)&&(s=e.getClosest(),a?(l=a.minPointOffset,o=a.pointRangePadding):e.series.forEach(function(t){let a=i?1:r?iX(t.options.pointRange,s,0):e.axisPointRange||0,c=t.options.pointPlacement;if(n=Math.max(n,a),!e.single||i){let e=t.is("xrange")?!r:r;l=Math.max(l,e&&iK(c)?0:a/2),o=Math.max(o,e&&"on"===c?0:a)}}),c=e.ordinal?.slope&&s?e.ordinal.slope/s:1,e.minPointOffset=l*=c,e.pointRangePadding=o*=c,e.pointRange=Math.min(n,e.single&&i?1:t),r&&(e.closestPointRange=s)),e.translationSlope=e.transA=d=e.staticScale||e.len/(t+o||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=d*l,iG(this,"afterSetAxisTranslation")}minFromRange(){let{max:e,min:t}=this;return iV(e)&&iV(t)&&e-t||void 0}setTickInterval(e){let{categories:t,chart:a,dataMax:i,dataMin:r,dateTime:n,isXAxis:s,logarithmic:l,options:o,softThreshold:c}=this,d=a.time,u=iV(this.threshold)?this.threshold:void 0,h=this.minRange||0,{ceiling:f,floor:p,linkedTo:m,softMax:g,softMin:b}=o,_=iV(m)&&a[this.coll]?.[m],y=o.tickPixelInterval,x=o.maxPadding,v=o.minPadding,A=0,w,E=iV(o.tickInterval)&&o.tickInterval>=0?o.tickInterval:void 0,S,C,T,N;if(n||t||_||this.getTickAmount(),T=iX(this.userMin,d.parse(o.min)),N=iX(this.userMax,d.parse(o.max)),_?(this.linkedParent=_,w=_.getExtremes(),this.min=iX(w.min,w.dataMin),this.max=iX(w.max,w.dataMax),this.type!==_.type&&iH(11,!0,a)):(c&&iF(u)&&iV(i)&&iV(r)&&(r>=u?(S=u,v=0):i<=u&&(C=u,x=0)),this.min=iX(T,S,r),this.max=iX(N,C,i)),iV(this.max)&&iV(this.min)&&(l&&(this.positiveValuesOnly&&!e&&0>=Math.min(this.min,iX(r,this.min))&&iH(10,!0,a),this.min=iR(l.log2lin(this.min),16),this.max=iR(l.log2lin(this.max),16)),this.range&&iV(r)&&(this.userMin=this.min=T=Math.max(r,this.minFromRange()||0),this.userMax=N=this.max,this.range=void 0)),iG(this,"foundExtremes"),this.adjustForMinRange(),iV(this.min)&&iV(this.max)){if(!iV(this.userMin)&&iV(b)&&b<this.min&&(this.min=T=b),!iV(this.userMax)&&iV(g)&&g>this.max&&(this.max=N=g),t||this.axisPointRange||this.stacking?.usePercentage||_||(A=this.max-this.min)&&(!iF(T)&&v&&(this.min-=A*v),!iF(N)&&x&&(this.max+=A*x)),!iV(this.userMin)&&iV(p)&&(this.min=Math.max(this.min,p)),!iV(this.userMax)&&iV(f)&&(this.max=Math.min(this.max,f)),c&&iV(r)&&iV(i)){let e=u||0;!iF(T)&&this.min<e&&r>=e?this.min=o.minRange?Math.min(e,this.max-h):e:!iF(N)&&this.max>e&&i<=e&&(this.max=o.minRange?Math.max(e,this.min+h):e)}!a.polar&&this.min>this.max&&(iF(o.min)?this.max=this.min:iF(o.max)&&(this.min=this.max)),A=this.max-this.min}if(this.min!==this.max&&iV(this.min)&&iV(this.max)?_&&!E&&y===_.options.tickPixelInterval?this.tickInterval=E=_.tickInterval:this.tickInterval=iX(E,this.tickAmount?A/Math.max(this.tickAmount-1,1):void 0,t?1:A*y/Math.max(this.len,y)):this.tickInterval=1,s&&!e){let e=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach(function(t){t.forceCrop=t.forceCropping?.(),t.processData(e)}),iG(this,"postProcessData",{hasExtremesChanged:e})}this.setAxisTranslation(),iG(this,"initialAxisTranslation"),this.pointRange&&!E&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let k=iX(o.minTickInterval,n&&!this.series.some(e=>!e.sorted)?this.closestPointRange:0);!E&&k&&this.tickInterval<k&&(this.tickInterval=k),n||l||E||(this.tickInterval=i3(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let e=this.options,t=e.tickPositions,a=e.tickPositioner,i=this.getMinorTickInterval(),r=!this.isPanning,n=r&&e.startOnTick,s=r&&e.endOnTick,l=[],o;if(this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.single=this.min===this.max&&iF(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==e.allowDecimals),t)l=t.slice();else if(iV(this.min)&&iV(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))l=[this.min,this.max],iH(19,!1,this.chart);else if(this.dateTime)l=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)l=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let e=this.tickInterval,t=e;for(;t<=2*e;)if(l=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&l.length>this.tickAmount)this.tickInterval=i3(this,t*=1.1);else break}l.length>this.len&&(l=[l[0],l[l.length-1]])[0]===l[1]&&(l.length=1),a&&(this.tickPositions=l,(o=a.apply(this,[this.min,this.max]))&&(l=o))}this.tickPositions=l,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/e.minorTicksPerMajor:i,this.paddedTicks=l.slice(0),this.trimTicks(l,n,s),!this.isLinked&&iV(this.min)&&iV(this.max)&&(this.single&&l.length<2&&!this.categories&&!this.series.some(e=>e.is("heatmap")&&"between"===e.options.pointPlacement)&&(this.min-=.5,this.max+=.5),t||o||this.adjustTickAmount()),iG(this,"afterSetTickPositions")}trimTicks(e,t,a){let i=e[0],r=e[e.length-1],n=!this.isOrdinal&&this.minPointOffset||0;if(iG(this,"trimTicks"),!this.isLinked||!this.grid){if(t&&i!==-1/0)this.min=i;else for(;this.min-n>e[0];)e.shift();if(a)this.max=r;else for(;this.max+n<e[e.length-1];)e.pop();0===e.length&&iF(i)&&!this.options.tickPositions&&e.push((r+i)/2)}}alignToOthers(){let e,t=this,a=t.chart,i=[this],r=t.options,n=a.options.chart,s="yAxis"===this.coll&&n.alignThresholds,l=[];
vendor: 4,113 bytes, line 269
269if(t.thresholdAlignment=void 0,(!1!==n.alignTicks&&r.alignTicks||s)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!t.logarithmic){let r=e=>{let{horiz:t,options:a}=e;return[t?a.left:a.top,a.width,a.height,a.pane].join(",")},n=r(this);a[this.coll].forEach(function(a){let{series:s}=a;s.length&&s.some(e=>e.visible)&&a!==t&&r(a)===n&&(e=!0,i.push(a))})}if(e&&s){i.forEach(e=>{let a=e.getThresholdAlignment(t);iV(a)&&l.push(a)});let e=l.length>1?l.reduce((e,t)=>e+=t,0)/l.length:void 0;i.forEach(t=>{t.thresholdAlignment=e})}return e}getThresholdAlignment(e){if((!iV(this.dataMin)||this!==e&&this.series.some(e=>e.isDirty||e.isDirtyData||e.xAxis?.isDirty))&&this.getSeriesExtremes(),iV(this.threshold)){let e=iM((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(e=1-e),e}}getTickAmount(){let e=this.options,t=e.tickPixelInterval,a=e.tickAmount;iF(e.tickInterval)||a||!(this.len<t)||this.isRadial||this.logarithmic||!e.startOnTick||!e.endOnTick||(a=2),!a&&this.alignToOthers()&&(a=Math.ceil(this.len/t)+1),a<4&&(this.finalTickAmt=a,a=5),this.tickAmount=a}adjustTickAmount(){let e=this,{finalTickAmt:t,max:a,min:i,options:r,tickPositions:n,tickAmount:s,thresholdAlignment:l}=e,o=n?.length,c=iX(e.threshold,e.softThreshold?0:null),d,u,h=e.tickInterval,f,p=()=>n.push(iR(n[n.length-1]+h)),m=()=>n.unshift(iR(n[0]-h));if(iV(l)&&(f=0===l?0:1===l?s-1:Math.round(iM(l*(s-1),1,s-2)),r.reversed&&(f=s-1-f)),e.hasData()&&iV(i)&&iV(a)){let l=()=>{e.transA*=(o-1)/(s-1),e.min=r.startOnTick?n[0]:Math.min(i,n[0]),e.max=r.endOnTick?n[n.length-1]:Math.max(a,n[n.length-1])};if(iV(f)&&iV(e.threshold)){for(;n[f]!==c||n.length!==s||n[0]>i||n[n.length-1]<a;){for(n.length=0,n.push(e.threshold);n.length<s;)void 0===n[f]||n[f]>e.threshold?m():p();if(h>8*e.tickInterval)break;h*=2}l()}else if(o<s){for(;n.length<s;)n.length%2||i===c?p():m();l()}if(iF(t)){for(u=d=n.length;u--;)(3===t&&u%2==1||t<=2&&u>0&&u<d-1)&&n.splice(u,1);e.finalTickAmt=void 0}}}setScale(){let{coll:e,stacking:t}=this,a=!1,i=!1;this.series.forEach(e=>{a=a||e.isDirtyData||e.isDirty,i=i||e.xAxis?.isDirty||!1}),this.setAxisSize();let r=this.len!==this.old?.len;r||a||i||this.isLinked||this.forceRedraw||this.userMin!==this.old?.userMin||this.userMax!==this.old?.userMax||this.alignToOthers()?(t&&"yAxis"===e&&t.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),t&&"xAxis"===e&&t.buildStacks(),this.isDirty||(this.isDirty=r||this.min!==this.old?.min||this.max!==this.old?.max)):t&&t.cleanStacks(),a&&delete this.allExtremes,iG(this,"afterSetScale")}setExtremes(e,t,a=!0,i,r){let n=this.chart;this.series.forEach(e=>{delete e.kdTree}),e=n.time.parse(e),t=n.time.parse(t),iG(this,"setExtremes",r=i$(r,{min:e,max:t}),e=>{this.userMin=e.min,this.userMax=e.max,this.eventArgs=e,a&&n.redraw(i)})}setAxisSize(){let e=this.chart,t=this.options,a=t.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(iJ(iX(t.width,e.plotWidth-a[3]+a[1]),e.plotWidth)),n=this.height=Math.round(iJ(iX(t.height,e.plotHeight-a[0]+a[2]),e.plotHeight)),s=this.top=Math.round(iJ(iX(t.top,e.plotTop+a[0]),e.plotHeight,e.plotTop)),l=this.left=Math.round(iJ(iX(t.left,e.plotLeft+a[3]),e.plotWidth,e.plotLeft));this.bottom=e.chartHeight-n-s,this.right=e.chartWidth-r-l,this.len=Math.max(i?r:n,0),this.pos=i?l:s}getExtremes(){let e=this.logarithmic;return{min:e?iR(e.lin2log(this.min)):this.min,max:e?iR(e.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(e){let t=this.logarithmic,a=t?t.lin2log(this.min):this.min,i=t?t.lin2log(this.max):this.max;return null===e||e===-1/0?e=a:e===1/0?e=i:a>e?e=a:i<e&&(e=i),this.translate(e,0,1,0,1)}autoLabelAlign(e){let t=((e-90*this.side)%360+360)%360,a={align:"center"};return iG(this,"autoLabelAlign",a,function(e){t>15&&t<165?e.align="right":t>195&&t<345&&(e.align="left")}),a.align}tickSize(e){let t=this.options,a=iX(t["tick"===e?"tickWidth":"minorTickWidth"],"tick"===e&&this.isXAxis&&!this.categories?1:0),i=t["tick"===e?"tickLength":"minorTickLength"],r;
vendor: 21,017 bytes, line 269
269a&&i&&("inside"===t[e+"Position"]&&(i=-i),r=[i,a]);let n={tickSize:r};return iG(this,"afterTickSize",n),n.tickSize}labelMetrics(){let e=this.chart.renderer,t=this.ticks,a=t[Object.keys(t)[0]]||{};return this.chart.renderer.fontMetrics(a.label||a.movedLabel||e.box)}unsquish(){let e=this.options.labels,t=e.padding||0,a=this.horiz,i=this.tickInterval,r=this.len/((+!!this.categories+this.max-this.min)/i),n=e.rotation,s=iR(.8*this.labelMetrics().h),l=Math.max(this.max-this.min,0),o=function(e){let a=(e+2*t)/(r||1);return(a=a>1?Math.ceil(a):1)*i>l&&e!==1/0&&r!==1/0&&l&&(a=Math.ceil(l/i)),iR(a*i)},c=i,d,u=Number.MAX_VALUE,h;if(a){if(!e.staggerLines&&(iV(n)?h=[n]:r<e.autoRotationLimit&&(h=e.autoRotation)),h){let e,t;for(let a of h)(a===n||a&&a>=-90&&a<=90)&&(t=(e=o(Math.abs(s/Math.sin(iL*a))))+Math.abs(a/360))<u&&(u=t,d=a,c=e)}}else c=o(.75*s);return this.autoRotation=h,this.labelRotation=iX(d,iV(n)?n:0),e.step?i:c}getSlotWidth(e){let t=this.chart,a=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-!this.categories,1),n=t.margin[3];if(e&&iV(e.slotWidth))return e.slotWidth;if(a&&i.step<2&&!this.isRadial)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!a){let e=i.style.width;if(void 0!==e)return parseInt(String(e),10);if(!this.opposite&&n)return n-t.spacing[3]}return .33*t.chartWidth}renderUnsquish(){let e=this.chart,t=e.renderer,a=this.tickPositions,i=this.ticks,r=this.options.labels,n=r.style,s=this.horiz,l=this.getSlotWidth(),o=Math.max(1,Math.round(l-(s?2*(r.padding||0):r.distance||0))),c={},d=this.labelMetrics(),u=n.lineClamp,h,f=u??(Math.floor(this.len/(a.length*d.h))||1),p=0;iK(r.rotation)||(c.rotation=r.rotation||0),a.forEach(function(e){let t=i[e];t.movedLabel&&t.replaceMovedLabel();let a=t.label?.textPxLength||0;a>p&&(p=a)}),this.maxLabelLength=p,this.autoRotation?p>o&&p>d.h?c.rotation=this.labelRotation:this.labelRotation=0:l&&(h=o),c.rotation&&(h=p>.5*e.chartHeight?.33*e.chartHeight:p,u||(f=1)),this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation||0),this.labelAlign&&(c.align=this.labelAlign),a.forEach(function(e){let t=i[e],a=t?.label,r=n.width,s={};a&&(a.attr(c),t.shortenLabel?t.shortenLabel():h&&!r&&"nowrap"!==n.whiteSpace&&(h<(a.textPxLength||0)||"SPAN"===a.element.tagName)?a.css(i$(s,{width:`${h}px`,lineClamp:f})):!a.styles.width||s.width||r||a.css({width:"auto"}),t.rotation=c.rotation)},this),this.tickRotCorr=t.rotCorr(d.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some(function(e){return e.hasData()})||this.options.showEmpty&&iF(this.min)&&iF(this.max)}addTitle(e){let t,a=this.chart.renderer,i=this.horiz,r=this.opposite,n=this.options.title,s=this.chart.styledMode;this.axisTitle||((t=n.textAlign)||(t=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[n.align]),this.axisTitle=a.text(n.text||"",0,0,n.useHTML).attr({zIndex:7,rotation:n.rotation||0,align:t}).addClass("highcharts-axis-title"),s||this.axisTitle.css(iq(n.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||n.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[e?"show":"hide"](e)}generateTick(e){let t=this.ticks;t[e]?t[e].addLabel():t[e]=new iT(this,e)}createGroups(){let{axisParent:e,chart:t,coll:a,options:i}=this,r=t.renderer,n=(t,n,s)=>r.g(t).attr({zIndex:s}).addClass(`highcharts-${a.toLowerCase()}${n} `+(this.isRadial?`highcharts-radial-axis${n} `:"")+(i.className||"")).add(e);this.axisGroup||(this.gridGroup=n("grid","-grid",i.gridZIndex),this.axisGroup=n("axis","",i.zIndex),this.labelGroup=n("axis-labels","-labels",i.labels.zIndex))}getOffset(){let e=this,{chart:t,horiz:a,options:i,side:r,ticks:n,tickPositions:s,coll:l}=e,o=t.inverted&&!e.isZAxis?[1,0,3,2][r]:r,c=e.hasData(),d=i.title,u=i.labels,h=iV(i.crossing),f=t.axisOffset,p=t.clipOffset,m=[-1,1,1,-1][r],g,b=0,_,y=0,x=0,v,A;if(e.showAxis=g=c||i.showEmpty,e.staggerLines=e.horiz&&u.staggerLines||void 0,e.createGroups(),c||e.isLinked?(s.forEach(function(t){e.generateTick(t)}),e.renderUnsquish(),e.reserveSpaceDefault=0===r||2===r||({1:"left",3:"right"})[r]===e.labelAlign,iX(u.reserveSpace,!h&&null,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach(function(e){x=Math.max(n[e].getLabelSize(),x)}),e.staggerLines&&(x*=e.staggerLines),e.labelOffset=x*(e.opposite?-1:1)):iZ(n,function(e,t){e.destroy(),delete n[t]}),d?.text&&!1!==d.enabled&&(e.addTitle(g),g&&!h&&!1!==d.reserveSpace&&(e.titleOffset=b=e.axisTitle.getBBox()[a?"height":"width"],y=iF(_=d.offset)?0:iX(d.margin,a?5:10))),e.renderLine(),e.offset=m*iX(i.offset,f[r]?f[r]+(i.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},A=0===r?-e.labelMetrics().h:2===r?e.tickRotCorr.y:0,v=Math.abs(x)+y,x&&(v-=A,v+=m*(a?iX(u.y,e.tickRotCorr.y+m*u.distance):iX(u.x,m*u.distance))),e.axisTitleMargin=iX(_,v),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(n,s)),"colorAxis"!==l&&p){let t=this.tickSize("tick");f[r]=Math.max(f[r],(e.axisTitleMargin||0)+b+m*e.offset,v,s?.length&&t?t[0]+m*e.offset:0);let a=!e.axisLine||i.offset?0:e.axisLine.strokeWidth()/2;p[o]=Math.max(p[o],a)}iG(this,"afterGetOffset")}getLinePath(e){let t=this.chart,a=this.opposite,i=this.offset,r=this.horiz,n=this.left+(a?this.width:0)+i,s=t.chartHeight-this.bottom-(a?this.height:0)+i;return a&&(e*=-1),t.renderer.crispLine([["M",r?this.left:n,r?s:this.top],["L",r?t.chartWidth-this.right:n,r?s:t.chartHeight-this.bottom]],e)}renderLine(){!this.axisLine&&(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(e){let t=this.horiz,a=this.left,i=this.top,r=this.len,n=this.options.title,s=t?a:i,l=this.opposite,o=this.offset,c=n.x,d=n.y,u=this.chart.renderer.fontMetrics(e),h=e?Math.max(e.getBBox(!1,0).height-u.h-1,0):0,f={low:s+(t?0:r),middle:s+r/2,high:s+(t?r:0)}[n.align],p=(t?i+this.height:a)+(t?1:-1)*(l?-1:1)*(this.axisTitleMargin||0)+[-h,h,u.f,-h][this.side],m={x:t?f+c:p+(l?this.width:0)+o+c,y:t?p+d-(l?this.height:0)+o:f+d};return iG(this,"afterGetTitlePosition",{titlePosition:m}),m}renderMinorTick(e,t){let a=this.minorTicks;a[e]||(a[e]=new iT(this,e,"minor")),t&&a[e].isNew&&a[e].render(null,!0),a[e].render(null,!1,1)}renderTick(e,t,a){let i=this.isLinked,r=this.ticks;(!i||e>=this.min&&e<=this.max||this.grid?.isColumn)&&(r[e]||(r[e]=new iT(this,e)),a&&r[e].isNew&&r[e].render(t,!0,-1),r[e].render(t))}render(){let e,t,a=this,i=a.chart,r=a.logarithmic,n=i.renderer,s=a.options,l=a.isLinked,o=a.tickPositions,c=a.axisTitle,d=a.ticks,u=a.minorTicks,h=a.alternateBands,f=s.stackLabels,p=s.alternateGridColor,m=s.crossing,g=a.tickmarkOffset,b=a.axisLine,_=a.showAxis,y=iN(n.globalAnimation);if(a.labelEdge.length=0,a.overlap=!1,[d,u,h].forEach(function(e){iZ(e,function(e){e.isActive=!1})}),iV(m)){let e=this.isXAxis?i.yAxis[0]:i.xAxis[0],t=[1,-1,-1,1][this.side];if(e){let i=e.toPixels(m,!0);a.horiz&&(i=e.len-i),a.offset=t*i}}if(a.hasData()||l){let n=a.chart.hasRendered&&a.old&&iV(a.old.min);a.minorTickInterval&&!a.categories&&a.getMinorTickPositions().forEach(function(e){a.renderMinorTick(e,n)}),o.length&&(o.forEach(function(e,t){a.renderTick(e,t,n)}),g&&(0===a.min||a.single)&&(d[-1]||(d[-1]=new iT(a,-1,null,!0)),d[-1].render(-1))),p&&o.forEach(function(n,s){t=void 0!==o[s+1]?o[s+1]+g:a.max-g,s%2==0&&n<a.max&&t<=a.max+(i.polar?-g:g)&&(h[n]||(h[n]=new M.PlotLineOrBand(a,{})),e=n+g,h[n].options={from:r?r.lin2log(e):e,to:r?r.lin2log(t):t,color:p,className:"highcharts-alternate-grid"},h[n].render(),h[n].isActive=!0)}),a._addedPlotLB||(a._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach(function(e){a.addPlotBandOrLine(e)}))}[d,u,h].forEach(function(e){let t=[],a=y.duration;iZ(e,function(e,a){e.isActive||(e.render(a,!1,0),e.isActive=!1,t.push(a))}),i2(function(){let a=t.length;for(;a--;)e[t[a]]&&!e[t[a]].isActive&&(e[t[a]].destroy(),delete e[t[a]])},e!==h&&i.hasRendered&&a?a:0)}),b&&(b[b.isPlaced?"animate":"attr"]({d:this.getLinePath(b.strokeWidth())}),b.isPlaced=!0,b[_?"show":"hide"](_)),c&&_&&(c[c.isNew?"attr":"animate"](a.getTitlePosition(c)),c.isNew=!1),f?.enabled&&a.stacking&&a.stacking.renderStackTotals(),a.old={len:a.len,max:a.max,min:a.min,transA:a.transA,userMax:a.userMax,userMin:a.userMin},a.isDirty=!1,iG(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(e){e.render()})),this.series.forEach(function(e){e.isDirty=!0})}getKeepProps(){return this.keepProps||i4.keepProps}destroy(e){let t=this,a=t.plotLinesAndBands,i=this.eventOptions;if(iG(this,"destroy",{keepEvents:e}),e||i0(t),[t.ticks,t.minorTicks,t.alternateBands].forEach(function(e){iB(e)}),a){let e=a.length;for(;e--;)a[e].destroy()}for(let e in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(e){t[e]&&(t[e]=t[e].destroy())}),t.plotLinesAndBandsGroups)t.plotLinesAndBandsGroups[e]=t.plotLinesAndBandsGroups[e].destroy();iZ(t,function(e,a){-1===t.getKeepProps().indexOf(a)&&delete t[a]}),this.eventOptions=i}drawCrosshair(e,t){let a=this.crosshair,i=a?.snap??!0,r=this.chart,n,s,l,o=this.cross,c;if(iG(this,"drawCrosshair",{e:e,point:t}),e||(e=this.cross?.e),a&&!1!==(iF(t)||!i)){if(i?iF(t)&&(s=iX("colorAxis"!==this.coll?t.crosshairPos:null,this.isXAxis?t.plotX:this.len-t.plotY)):s=e&&(this.horiz?e.chartX-this.pos:this.len-e.chartY+this.pos),iF(s)&&(c={value:t&&(this.isXAxis?t.x:iX(t.stackY,t.y)),translatedValue:s},r.polar&&i$(c,{isCrosshair:!0,chartX:e?.chartX,chartY:e?.chartY,point:t}),n=this.getPlotLinePath(c)||null),!iF(n))return void this.hideCrosshair();l=this.categories&&!this.isRadial,o||(this.cross=o=r.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(l?"category ":"thin ")+(a.className||"")).attr({zIndex:iX(a.zIndex,2)}).add(),!r.styledMode&&(o.attr({stroke:a.color||(l?e$.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":iX(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&o.attr({dashstyle:a.dashStyle}))),o.show().attr({d:n}),l&&!a.width&&o.attr({"stroke-width":this.transA}),this.cross.e=e}else this.hideCrosshair();iG(this,"afterDrawCrosshair",{e:e,point:t})}hideCrosshair(){this.cross&&this.cross.hide(),iG(this,"afterHideCrosshair")}update(e,t){let a=this.chart;e=iq(this.userOptions,e),this.destroy(!0),this.init(a,e),a.isDirtyBox=!0,iX(t,!0)&&a.redraw()}remove(e){let t=this.chart,a=this.coll,i=this.series,r=i.length;for(;r--;)i[r]&&i[r].remove(!1);iU(t.axes,this),iU(t[a]||[],this),t.orderItems(a),this.destroy(),t.isDirtyBox=!0,iX(e,!0)&&t.redraw()}setTitle(e,t){this.update({title:e},t)}setCategories(e,t){this.update({categories:e},t)}}i4.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"];let{addEvent:i6,getMagnitude:i5,normalizeTickInterval:i8,timeUnits:i7}=el;!function(e){function t(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(){if("datetime"!==this.type){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new i(this))}e.compose=function(e){return e.keepProps.includes("dateTime")||(e.keepProps.push("dateTime"),e.prototype.getTimeTicks=t,i6(e,"afterSetType",a)),e};class i{constructor(e){this.axis=e}normalizeTimeTickInterval(e,t){let a=t||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],i=a[a.length-1],r=i7[i[0]],n=i[1],s;for(s=0;s<a.length&&(r=i7[(i=a[s])[0]],n=i[1],!a[s+1]||!(e<=(r*n[n.length-1]+i7[a[s+1][0]])/2));s++);r===i7.year&&e<5*r&&(n=[1,2,5]);let l=i8(e/r,n,"year"===i[0]?Math.max(i5(e/r),1):1);return{unitRange:r,count:l,unitName:i[0]}}getXDateFormat(e,t){let{axis:a}=this,i=a.chart.time;return a.closestPointRange?i.getDateFormat(a.closestPointRange,e,a.options.startOfWeek,t)||i.resolveDTLFormat(t.year).main:i.resolveDTLFormat(t.day).main}}e.Additions=i}(v||(v={}));let i9=v,{addEvent:re,normalizeTickInterval:rt,pick:ra}=el;!function(e){function t(){"logarithmic"!==this.type?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new i(this))}function a(){let e=this.logarithmic;e&&(this.lin2val=function(t){return e.lin2log(t)},this.val2lin=function(t){return e.log2lin(t)})}e.compose=function(e){return e.keepProps.includes("logarithmic")||(e.keepProps.push("logarithmic"),re(e,"afterSetType",t),re(e,"afterInit",a)),e};class i{constructor(e){this.axis=e}getLogTickPositions(e,t,a,i){let r=this.axis,n=r.len,s=r.options,l=[];if(i||(this.minorAutoInterval=void 0),e>=.5)e=Math.round(e),l=r.getLinearTickPositions(e,t,a);else if(e>=.08){let r,n,s,o,c,d,u,h=Math.floor(t);for(r=e>.3?[1,2,4]:e>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],n=h;n<a+1&&!u;n++)for(s=0,o=r.length;s<o&&!u;s++)(c=this.log2lin(this.lin2log(n)*r[s]))>t&&(!i||d<=a)&&void 0!==d&&l.push(d),d>a&&(u=!0),d=c}else{let o=this.lin2log(t),c=this.lin2log(a),d=i?r.getMinorTickInterval():s.tickInterval,u=s.tickPixelInterval/(i?5:1),h=i?n/r.tickPositions.length:n;e=rt(e=ra("auto"===d?null:d,this.minorAutoInterval,(c-o)*u/(h||1))),l=r.getLinearTickPositions(e,o,c).map(this.log2lin),i||(this.minorAutoInterval=e/5)}return i||(r.tickInterval=e),l}lin2log(e){return Math.pow(10,e)}log2lin(e){return Math.log(e)/Math.LN10}}e.Additions=i}(A||(A={}));let ri=A,{erase:rr,extend:rn,isNumber:rs}=el;!function(e){let t;function a(e){return this.addPlotBandOrLine(e,"plotBands")}function i(e,a){let i=this.userOptions,r=new t(this,e);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach(e=>{this.addPlotBandOrLine(e)})),a){let t=i[a]||[];t.push(e),i[a]=t}this.plotLinesAndBands.push(r)}return r}function r(e){return this.addPlotBandOrLine(e,"plotLines")}function n(e,t,a){a=a||this.options;let i=this.getPlotLinePath({value:t,force:!0,acrossPanes:a.acrossPanes}),r=[],n=this.horiz,s=!rs(this.min)||!rs(this.max)||e<this.min&&t<this.min||e>this.max&&t>this.max,l=this.getPlotLinePath({value:e,force:!0,acrossPanes:a.acrossPanes}),o,c=1,d;if(l&&i)for(s&&(d=l.toString()===i.toString(),c=0),o=0;o<l.length;o+=2){let e=l[o],t=l[o+1],a=i[o],s=i[o+1];("M"===e[0]||"L"===e[0])&&("M"===t[0]||"L"===t[0])&&("M"===a[0]||"L"===a[0])&&("M"===s[0]||"L"===s[0])&&(n&&a[1]===e[1]?(a[1]+=c,s[1]+=c):n||a[2]!==e[2]||(a[2]+=c,s[2]+=c),r.push(["M",e[1],e[2]],["L",t[1],t[2]],["L",s[1],s[2]],["L",a[1],a[2]],["Z"])),r.isFlat=d}return r}function s(e){this.removePlotBandOrLine(e)}function l(e){let t=this.plotLinesAndBands,a=this.options,i=this.userOptions;if(t){let r=t.length;for(;r--;)t[r].id===e&&t[r].destroy();[a.plotLines||[],i.plotLines||[],a.plotBands||[],i.plotBands||[]].forEach(function(t){for(r=t.length;r--;)t[r]?.id===e&&rr(t,t[r])})}}function o(e){this.removePlotBandOrLine(e)}e.compose=function(e,c){let d=c.prototype;return d.addPlotBand||(t=e,rn(d,{addPlotBand:a,addPlotLine:r,addPlotBandOrLine:i,getPlotBandPath:n,removePlotBand:s,removePlotLine:o,removePlotBandOrLine:l})),c}}(w||(w={}));let rl=w,{addEvent:ro,arrayMax:rc,arrayMin:rd,defined:ru,destroyObjectProperties:rh,erase:rf,fireEvent:rp,merge:rm,objectEach:rg,pick:rb}=el;class r_{static compose(e,t){return ro(e,"afterInit",function(){this.labelCollectors.push(()=>{let e=[];for(let t of this.axes)for(let{label:a,options:i}of t.plotLinesAndBands)a&&!i?.label?.allowOverlap&&e.push(a);return e})}),rl.compose(r_,t)}constructor(e,t){this.axis=e,this.options=t,this.id=t.id}render(){rp(this,"render");let{axis:e,options:t}=this,{horiz:a,logarithmic:i}=e,{color:r,events:n,zIndex:s=0}=t,{renderer:l,time:o}=e.chart,c={},d=o.parse(t.to),u=o.parse(t.from),h=o.parse(t.value),f=t.borderWidth,p=t.label,{label:m,svgElem:g}=this,b=[],_,y=ru(u)&&ru(d),x=ru(h),v=!g,A={class:"highcharts-plot-"+(y?"band ":"line ")+(t.className||"")},w=y?"bands":"lines";if(!e.chart.styledMode&&(x?(A.stroke=r||"#999999",A["stroke-width"]=rb(t.width,1),t.dashStyle&&(A.dashstyle=t.dashStyle)):y&&(A.fill=r||"#e6e9ff",f&&(A.stroke=t.borderColor,A["stroke-width"]=f))),c.zIndex=s,w+="-"+s,(_=e.plotLinesAndBandsGroups[w])||(e.plotLinesAndBandsGroups[w]=_=l.g("plot-"+w).attr(c).add()),g||(this.svgElem=g=l.path().attr(A).add(_)),ru(h))b=e.getPlotLinePath({value:i?.log2lin(h)??h,lineWidth:g.strokeWidth(),acrossPanes:t.acrossPanes});else{if(!(ru(u)&&ru(d)))return;b=e.getPlotBandPath(i?.log2lin(u)??u,i?.log2lin(d)??d,t)}return!this.eventsAdded&&n&&(rg(n,(e,t)=>{g?.on(t,e=>{n[t].apply(this,[e])})}),this.eventsAdded=!0),(v||!g.d)&&b?.length?g.attr({d:b}):g&&(b?(g.show(),g.animate({d:b})):g.d&&(g.hide(),m&&(this.label=m=m.destroy()))),p&&(ru(p.text)||ru(p.formatter))&&b?.length&&e.width>0&&e.height>0&&!b.isFlat?(p=rm({align:a&&y?"center":void 0,x:a?!y&&4:10,verticalAlign:!a&&y?"middle":void 0,y:a?y?16:10:y?6:-4,rotation:a&&!y?90:0,...y?{inside:!0}:{}},p),this.renderLabel(p,b,y,s)):m&&m.hide(),this}renderLabel(e,t,a,i){let r=this.axis,n=r.chart.renderer,s=e.inside,l=this.label;l||(this.label=l=n.text(this.getLabelText(e),0,0,e.useHTML).attr({align:e.textAlign||e.align,rotation:e.rotation,class:"highcharts-plot-"+(a?"band":"line")+"-label "+(e.className||""),zIndex:i}),r.chart.styledMode||l.css(rm({color:r.chart.options.title?.style?.color,fontSize:"0.8em",textOverflow:a&&!s?"":"ellipsis"},e.style)),l.add());let o=t.xBounds||[t[0][1],t[1][1],a?t[2][1]:t[0][1]],c=t.yBounds||[t[0][2],t[1][2],a?t[2][2]:t[0][2]],d=rd(o),u=rd(c),h=rc(o)-d;l.align(e,!1,{x:d,y:u,width:h,height:rc(c)-u}),l.alignAttr.y-=n.fontMetrics(l).b,(!l.alignValue||"left"===l.alignValue||ru(s))&&l.css({width:(e.style?.width||(a&&s?h:90===l.rotation?r.height-(l.alignAttr.y-r.top):(e.clip?r.width:r.chart.chartWidth)-(l.alignAttr.x-r.left)))+"px"}),l.show(!0)}getLabelText(e){return ru(e.formatter)?e.formatter.call(this):e.text}destroy(){rf(this.axis.plotLinesAndBands,this),delete this.axis,rh(this)}}let{animObject:ry}=e4,{format:rx}=tE,{composed:rv,dateFormats:rA,doc:rw,isSafari:rE}=M,{distribute:rS}=tI,{addEvent:rC,clamp:rT,css:rN,clearTimeout:rk,discardElement:rI,extend:rj,fireEvent:rP,getAlignFactor:rL,isArray:rO,isNumber:rD,isObject:rM,isString:rR,merge:rF,pick:rB,pushUnique:rU,splat:rH,syncTimeout:r$}=el;class rG{constructor(e,t,a){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=e,this.init(e,t),this.pointer=a}bodyFormatter(e){return e.map(e=>{let t=e.series.tooltipOptions,a=e.formatPrefix||"point";return(t[a+"Formatter"]||e.tooltipFormatter).call(e,t[a+"Format"]||"")})}cleanSplit(e){this.chart.series.forEach(function(t){let a=t?.tt;a&&(!a.isActive||e?t.tt=a.destroy():a.isActive=!1)})}defaultFormatter(e){let t,a=this.points||rH(this);return(t=(t=[e.headerFooterFormatter(a[0])]).concat(e.bodyFormatter(a))).push(e.headerFooterFormatter(a[0],!0)),t}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),rI(this.container)),rk(this.hideTimer)}getAnchor(e,t){let a,{chart:i,pointer:r}=this,n=i.inverted,s=i.plotTop,l=i.plotLeft;if(e=rH(e),e[0].series?.yAxis&&!e[0].series.yAxis.options.reversedStacks&&(e=e.slice().reverse()),this.followPointer&&t)void 0===t.chartX&&(t=r.normalize(t)),a=[t.chartX-l,t.chartY-s];else if(e[0].tooltipPos)a=e[0].tooltipPos;else{let i=0,r=0;e.forEach(function(e){let t=e.pos(!0);t&&(i+=t[0],r+=t[1])}),i/=e.length,r/=e.length,this.shared&&e.length>1&&t&&(n?i=t.chartX:r=t.chartY),a=[i-l,r-s]}let o={point:e[0],ret:a};return rP(this,"getAnchor",o),o.ret.map(Math.round)}getClassName(e,t,a){let i=this.options,r=e.series,n=r.options;return[i.className,"highcharts-label",a&&"highcharts-tooltip-header",t?"highcharts-tooltip-box":"highcharts-tooltip",!a&&"highcharts-color-"+rB(e.colorIndex,r.colorIndex),n?.className].filter(rR).join(" ")}getLabel({anchorX:e,anchorY:t}={anchorX:0,anchorY:0}){let a=this,i=this.chart.styledMode,r=this.options,n=this.split&&this.allowShared,s=this.container,l=this.chart.renderer;if(this.label){let e=!this.label.hasClass("highcharts-label");(!n&&e||n&&!e)&&this.destroy()}if(!this.label){if(this.outside){let e=this.chart,t=e.options.chart.style,a=tS.getRendererType();this.container=s=M.doc.createElement("div"),s.className="highcharts-tooltip-container "+(e.renderTo.className.match(/(highcharts[a-zA-Z0-9-]+)\s?/gm)||""),rN(s,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t?.zIndex||0)+3)}),this.renderer=l=new a(s,0,0,t,void 0,void 0,l.styledMode)}if(n?this.label=l.g("tooltip"):(this.label=l.label("",e,t,r.shape||"callout",void 0,void 0,r.useHTML,void 0,"tooltip").attr({padding:r.padding,r:r.borderRadius}),i||this.label.attr({fill:r.backgroundColor,"stroke-width":r.borderWidth||0}).css(r.style).css({pointerEvents:r.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),a.outside){let e=this.label;[e.xSetter,e.ySetter].forEach((t,i)=>{e[i?"ySetter":"xSetter"]=r=>
vendor: 2,014 bytes, line 269
269{t.call(e,a.distance),e[i?"y":"x"]=r,s&&(s.style[i?"top":"left"]=`${r}px`)}})}this.label.attr({zIndex:8}).shadow(r.shadow??!r.fixed).add()}return s&&!s.parentElement&&M.doc.body.appendChild(s),this.label}getPlayingField(){let{body:e,documentElement:t}=rw,{chart:a,distance:i,outside:r}=this;return{width:r?Math.max(e.scrollWidth,t.scrollWidth,e.offsetWidth,t.offsetWidth,t.clientWidth)-2*i-2:a.chartWidth,height:r?Math.max(e.scrollHeight,t.scrollHeight,e.offsetHeight,t.offsetHeight,t.clientHeight):a.chartHeight}}getPosition(e,t,a){let{distance:i,chart:r,outside:n,pointer:s}=this,{inverted:l,plotLeft:o,plotTop:c,polar:d}=r,{plotX:u=0,plotY:h=0}=a,f={},p=l&&a.h||0,{height:m,width:g}=this.getPlayingField(),b=s.getChartPosition(),_=a=>{let s="x"===a;return[a,s?g:m,s?e:t].concat(n?[s?e*b.scaleX:t*b.scaleY,s?b.left-i+(u+o)*b.scaleX:b.top-i+(h+c)*b.scaleY,0,s?g:m]:[s?e:t,s?u+o:h+c,s?o:c,s?o+r.plotWidth:c+r.plotHeight])},y=_("y"),x=_("x"),v,A=!!a.negative;!d&&r.hoverSeries?.yAxis?.reversed&&(A=!A);let w=!this.followPointer&&rB(a.ttBelow,!d&&!l===A),E=function(e,t,a,r,s,l,o){let c=n?"y"===e?i*b.scaleY:i*b.scaleX:i,d=(a-r)/2,u=r<s-i,h=s+i+r<t,m=s-c-a+d,g=s+c-d;if(w&&h)f[e]=g;else if(!w&&u)f[e]=m;else if(u)f[e]=Math.min(o-r,m-p<0?m:m-p);else{if(!h)return f[e]=0,!1;f[e]=Math.max(l,g+p+a>t?g:g+p)}},S=function(e,t,a,r,n){if(n<i||n>t-i)return!1;n<a/2?f[e]=1:n>t-r/2?f[e]=t-r-2:f[e]=n-a/2},C=function(e){[y,x]=[x,y],v=e},T=()=>{!1!==E.apply(0,y)?!1!==S.apply(0,x)||v||(C(!0),T()):v?f.x=f.y=0:(C(!0),T())};return(l&&!d||this.len>1)&&C(),T(),f}getFixedPosition(e,t,a){let i=a.series,{chart:r,options:n,split:s}=this,l=n.position,o=l.relativeTo,c=n.shared||i?.yAxis?.isRadial&&("pane"===o||!o)?"plotBox":o,d="chart"===c?r.renderer:r[c]||r.getClipBox(i,!0);return{x:d.x+(d.width-e)*rL(l.align)+l.x,y:d.y+(d.height-t)*rL(l.verticalAlign)+(!s&&l.y||0)}}hide(e){let t=this;rk(this.hideTimer),e=rB(e,this.options.hideDelay),this.isHidden||(this.hideTimer=r$(function(){let a=t.getLabel();t.getLabel().animate({opacity:0}
vendor: 14,107 bytes, line 269
269,{duration:e?150:e,complete:()=>{a.hide(),t.container&&t.container.remove()}}),t.isHidden=!0},e))}init(e,t){this.chart=e,this.options=t,this.crosshairs=[],this.isHidden=!0,this.split=t.split&&!e.inverted&&!e.polar,this.shared=t.shared||this.split,this.outside=rB(t.outside,!!(e.scrollablePixelsX||e.scrollablePixelsY))}shouldStickOnContact(e){return!!(!this.followPointer&&this.options.stickOnContact&&(!e||this.pointer.inClass(e.target,"highcharts-tooltip")))}move(e,t,a,i){let{followPointer:r,options:n}=this,s=ry(!r&&!this.isHidden&&!n.fixed&&n.animation),l=r||(this.len||0)>1,o={x:e,y:t};l?o.anchorX=o.anchorY=NaN:(o.anchorX=a,o.anchorY=i),s.step=()=>this.drawTracker(),this.getLabel().animate(o,s)}refresh(e,t){let{chart:a,options:i,pointer:r,shared:n}=this,s=rH(e),l=s[0],o=i.format,c=i.formatter||this.defaultFormatter,d=a.styledMode,u=this.allowShared;if(!i.enabled||!l.series)return;rk(this.hideTimer),this.allowShared=!(!rO(e)&&e.series&&e.series.noSharedTooltip),u=u&&!this.allowShared,this.followPointer=!this.split&&l.series.tooltipOptions.followPointer;let h=this.getAnchor(e,t),f=h[0],p=h[1];n&&this.allowShared&&(r.applyInactiveState(s),s.forEach(e=>e.setState("hover")),l.points=s),this.len=s.length;let m=rR(o)?rx(o,l,a):c.call(l,this);l.points=void 0;let g=l.series;if(this.distance=rB(g.tooltipOptions.distance,16),!1===m)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(m,s);else{let e=f,n=p;if(t&&r.isDirectTouch&&(e=t.chartX-a.plotLeft,n=t.chartY-a.plotTop),!(a.polar||!1===g.options.clip||s.some(t=>r.isDirectTouch||t.series.shouldShowTooltip(e,n))))return void this.hide();{let e=this.getLabel(u&&this.tt||{});(!i.style.width||d)&&e.css({width:(this.outside?this.getPlayingField():a.spacingBox).width+"px"}),e.attr({class:this.getClassName(l),text:m&&m.join?m.join(""):m}),this.outside&&e.attr({x:rT(e.x||0,0,this.getPlayingField().width-(e.width||0)-1)}),d||e.attr({stroke:i.borderColor||l.color||g.color||"#666666"}),this.updatePosition({plotX:f,plotY:p,negative:l.negative,ttBelow:l.ttBelow,series:g,h:h[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}rP(this,"refresh")}renderSplit(e,t){let a=this,{chart:i,chart:{chartWidth:r,chartHeight:n,plotHeight:s,plotLeft:l,plotTop:o,scrollablePixelsY:c=0,scrollablePixelsX:d,styledMode:u},distance:h,options:f,options:{fixed:p,position:m,positioner:g},pointer:b}=a,{scrollLeft:_=0,scrollTop:y=0}=i.scrollablePlotArea?.scrollingContainer||{},x=a.outside&&"number"!=typeof d?rw.documentElement.getBoundingClientRect():{left:_,right:_+r,top:y,bottom:y+n},v=a.getLabel(),A=this.renderer||i.renderer,w=!!i.xAxis[0]?.opposite,{left:E,top:S}=b.getChartPosition(),C=g||p,T=o+y,N=0,k=s-c,I=function(e,t,i,r=[0,0],n=!0){let s,l;if(i.isHeader)l=w?0:k,s=rT(r[0]-e/2,x.left,x.right-e-(a.outside?E:0));else if(p&&i){let r=a.getFixedPosition(e,t,i);s=r.x,l=r.y-T}else l=r[1]-T,s=rT(s=n?r[0]-e-h:r[0]+h,n?s:x.left,x.right);return{x:s,y:l}};rR(e)&&(e=[!1,e]);let j=e.slice(0,t.length+1).reduce(function(e,i,r){if(!1!==i&&""!==i){let n=t[r-1]||{isHeader:!0,plotX:t[0].plotX,plotY:s,series:{}},c=n.isHeader,d=c?a:n.series,m=d.tt=function(e,t,i){let r=e,{isHeader:n,series:s}=t,l=s.tooltipOptions||f;if(!r){let e={padding:l.padding,r:l.borderRadius};u||(e.fill=l.backgroundColor,e["stroke-width"]=l.borderWidth??(p&&!n?0:1)),r=A.label("",0,0,l[n?"headerShape":"shape"]||(p&&!n?"rect":"callout"),void 0,void 0,l.useHTML).addClass(a.getClassName(t,!0,n)).attr(e).add(v)}return r.isActive=!0,r.attr({text:i}),u||r.css(l.style).attr({stroke:l.borderColor||t.color||s.color||"#333333"}),r}(d.tt,n,i.toString()),b=m.getBBox(),_=b.width+m.strokeWidth();c&&(N=b.height,k+=N,w&&(T-=N));let{anchorX:y,anchorY:E}=function(e){let t,a,{isHeader:i,plotX:r=0,plotY:n=0,series:c}=e;if(i)t=Math.max(l+r,l),a=o+s/2;else{let{xAxis:e,yAxis:i}=c;t=e.pos+rT(r,-h,e.len+h),c.shouldShowTooltip(0,i.pos-o+n,{ignoreX:!0})&&(a=i.pos+n)}return{anchorX:t=rT(t,x.left-h,x.right+h),anchorY:a}}(n);if("number"==typeof E){let t=b.height+1,i=(g||I).call(a,_,t,n,[y,E]);e.push({align:C?0:void 0,anchorX:y,anchorY:E,boxWidth:_,point:n,rank:rB(i.rank,+!!c),size:t,target:i.y,tt:m,x:i.x})}else m.isActive=!1}return e},[]);!C&&j.some(e=>{let{outside:t}=a,i=(t?E:0)+e.anchorX;return i<x.left&&i+e.boxWidth<x.right||i<E-x.left+e.boxWidth&&x.right-i>i})&&(j=j.map(e=>{let{x:t,y:a}=I.call(this,e.boxWidth,e.size,e.point,[e.anchorX,e.anchorY],!1);return rj(e,{target:a,x:t})})),a.cleanSplit(),rS(j,k);let P={left:E,right:E};j.forEach(function(e){let{x:t,boxWidth:i,isHeader:r}=e;!r&&(a.outside&&E+t<P.left&&(P.left=E+t),!r&&a.outside&&P.left+i>P.right&&(P.right=E+t))}),j.forEach(function(e){let{x:t,anchorX:i,anchorY:r,pos:n,point:{isHeader:s}}=e,l={visibility:void 0===n?"hidden":"inherit",x:t,y:(n||0)+T+(p&&m.y||0),anchorX:i,anchorY:r};if(a.outside&&t<i){let e=E-P.left;e>0&&(s||(l.x=t+e,l.anchorX=i+e),s&&(l.x=(P.right-P.left)/2,l.anchorX=i+e))}e.tt.attr(l)});let{container:L,outside:O,renderer:D}=a;if(O&&L&&D){let{width:e,height:t,x:a,y:i}=v.getBBox();D.setSize(e+a,t+i,!1),L.style.left=P.left+"px",L.style.top=S+"px"}rE&&v.attr({opacity:1===v.opacity?.999:1})}drawTracker(){let e=this;if(!this.shouldStickOnContact()){e.tracker&&(e.tracker=e.tracker.destroy());return}let t=e.chart,a=e.label,i=e.shared?t.hoverPoints:t.hoverPoint;if(!a||!i)return;let r={x:0,y:0,width:0,height:0},n=this.getAnchor(i),s=a.getBBox();n[0]+=t.plotLeft-(a.translateX||0),n[1]+=t.plotTop-(a.translateY||0),r.x=Math.min(0,n[0]),r.y=Math.min(0,n[1]),r.width=n[0]<0?Math.max(Math.abs(n[0]),s.width-n[0]):Math.max(Math.abs(n[0]),s.width),r.height=n[1]<0?Math.max(Math.abs(n[1]),s.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),s.height),e.tracker?e.tracker.attr(r):(e.tracker=a.renderer.rect(r).addClass("highcharts-tracker").add(a),rC(e.tracker.element,"mouseenter",()=>{rk(e.hideTimer)}),t.styledMode||e.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(e){return e.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}headerFooterFormatter(e,t){let a=e.series,i=a.tooltipOptions,r=a.xAxis,n=r?.dateTime,s={isFooter:t,point:e},l=i.xDateFormat||"",o=i[t?"footerFormat":"headerFormat"];return rP(this,"headerFormatter",s,function(t){if(n&&!l&&rD(e.key)&&(l=n.getXDateFormat(e.key,i.dateTimeLabelFormats)),n&&l){if(rM(l)){let e=l;rA[0]=t=>a.chart.time.dateFormat(e,t),l="%0"}(e.tooltipDateKeys||["key"]).forEach(e=>{o=o.replace(RegExp("point\\."+e+"([ \\)}])"),`(point.${e}:${l})$1`)})}a.chart.styledMode&&(o=this.styledModeFormat(o)),t.text=rx(o,e,this.chart)}),s.text||""}update(e){this.destroy(),this.init(this.chart,rF(!0,this.options,e))}updatePosition(e){let{chart:t,container:a,distance:i,options:r,pointer:n,renderer:s}=this,{height:l=0,width:o=0}=this.getLabel(),{fixed:c,positioner:d}=r,{left:u,top:h,scaleX:f,scaleY:p}=n.getChartPosition(),m=(d||c&&this.getFixedPosition||this.getPosition).call(this,o,l,e),g=M.doc,b=(e.plotX||0)+t.plotLeft,_=(e.plotY||0)+t.plotTop,y;if(s&&a){if(d||c){let{scrollLeft:e=0,scrollTop:a=0}=t.scrollablePlotArea?.scrollingContainer||{};m.x+=e+u-i,m.y+=a+h-i}y=(r.borderWidth||0)+2*i+2,s.setSize(rT(o+y,0,g.documentElement.clientWidth)-1,l+y,!1),(1!==f||1!==p)&&(rN(a,{transform:`scale(${f}, ${p})`}),b*=f,_*=p),b+=u-m.x,_+=h-m.y}this.move(Math.round(m.x),Math.round(m.y||0),b,_)}}(c=rG||(rG={})).compose=function(e){rU(rv,"Core.Tooltip")&&rC(e,"afterInit",function(){let e=this.chart;e.options.tooltip&&(e.tooltip=new c(e,e.options.tooltip,this))})};let rW=rG,{animObject:rY}=e4,{defaultOptions:rz}=eL,{format:rV}=tE,{addEvent:rK,crisp:rq,erase:rQ,extend:rZ,fireEvent:rX,getNestedProperty:rJ,isArray:r0,isFunction:r1,isNumber:r2,isObject:r3,merge:r4,pick:r6,syncTimeout:r5,removeEvent:r8,uniqueKey:r7}=el;class r9{constructor(e,t,a){this.formatPrefix="point",this.visible=!0,this.point=this,this.series=e,this.applyOptions(t,a),this.id??(this.id=r7()),this.resolveColor(),this.dataLabelOnNull??(this.dataLabelOnNull=e.options.nullInteraction),e.chart.pointCount++,this.category=e.xAxis?.categories?.[this.x]??this.x,this.key=this.name??this.category,rX(this,"afterInit")}animateBeforeDestroy(){let e=this,t={x:e.startXPos,opacity:0},a=e.getGraphicalProps();a.singular.forEach(function(a){e[a]=e[a].animate("dataLabel"===a?{x:e[a].startXPos,y:e[a].startYPos,opacity:0}:t)}),a.plural.forEach(function(t){e[t].forEach(function(t){t.element&&t.animate(rZ({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))})})}applyOptions(e,t){let a=this.series,i=a.options.pointValKey||a.pointValKey;return rZ(this,e=r9.prototype.optionsToObject.call(this,e)),this.options=this.options?rZ(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,i&&(this.y=r9.prototype.getNestedProperty.call(this,i)),this.selected&&(this.state="select"),"name"in this&&void 0===t&&a.xAxis&&a.xAxis.hasNames&&(this.x=a.xAxis.nameToX(this)),void 0===this.x&&a?this.x=t??a.autoIncrement():r2(e.x)&&a.options.relativeXValue?this.x=a.autoIncrement(e.x):"string"==typeof this.x&&(t??(t=a.chart.time.parse(this.x)),r2(t)&&(this.x=t)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let e=this,t=e.series,a=t.chart,i=t.options.dataSorting,r=a.hoverPoints,n=rY(e.series.chart.renderer.globalAnimation),s=()=>{for(let t in(e.graphic||e.graphics||e.dataLabel||e.dataLabels)&&(r8(e),e.destroyElements()),e)delete e[t]};e.legendItem&&a.legend.destroyItem(e),r&&(e.setState(),rQ(r,e),r.length||(a.hoverPoints=null)),e===a.hoverPoint&&e.onMouseOut(),i?.enabled?(this.animateBeforeDestroy(),r5(s,n.duration)):s(),a.pointCount--}this.destroyed=!0}destroyElements(e){let t=this,a=t.getGraphicalProps(e);a.singular.forEach(function(e){t[e]=t[e].destroy()}),a.plural.forEach(function(e){t[e].forEach(function(e){e?.element&&e.destroy()}),delete t[e]})}firePointEvent(e,t,a){let i=this,r=this.series.options;i.manageEvent(e),"click"===e&&r.allowPointSelect&&(a=function(e){!i.destroyed&&i.select&&i.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),rX(i,e,t,a)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone?.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(e){let t,a,i=this,r=[],n={singular:[],plural:[]};for((e=e||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","connector"),e.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper"),a=r.length;a--;)i[t=r[a]]&&n.singular.push(t);return["graphic","dataLabel"].forEach(function(t){let a=t+"s";e[t]&&i[a]&&n.plural.push(a)}),n}getNestedProperty(e){if(e)return 0===e.indexOf("custom.")?rJ(e,this.options):this[e]}getZone(){let e=this.series,t=e.zones,a=e.zoneAxis||"y",i,r=0;for(i=t[0];this[a]>=i.value;)i=t[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),i?.color&&!this.options.color?this.color=i.color:this.color=this.nonZonedColor,i}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}isValid(){return(r2(this.x)||this.x instanceof Date)&&r2(this.y)}optionsToObject(e){let t=this.series,a=t.options.keys,i=a||t.pointArrayMap||["y"],r=i.length,n={},s,l=0,o=0;if(r2(e)||null===e)n[i[0]]=e;else if(r0(e))for(!a&&e.length>r&&("string"==(s=typeof e[0])?t.xAxis?.dateTime?n.x=t.chart.time.parse(e[0]):n.name=e[0]:"number"===s&&(n.x=e[0]),l++);o<r;)a&&void 0===e[l]||(i[o].indexOf(".")>0?r9.prototype.setNestedProperty(n,e[l],i[o]):n[i[o]]=e[l]),l++,o++;else"object"==typeof e&&(n=e,e.dataLabels&&(t.hasDataLabels=()=>!0),e.marker&&(t._hasPointMarkers=!0));return n}pos(e,t=this.plotY){if(!this.destroyed){let{plotX:a,series:i}=this,{chart:r,xAxis:n,yAxis:s}=i,l=0,o=0;if(r2(a)&&r2(t))return e&&(l=n?n.pos:r.plotLeft,o=s?s.pos:r.plotTop),r.inverted&&n&&s?[s.len-t+o,n.len-a+l]:[a+l,t+o]}}resolveColor(){let e=this.series,t=e.chart.options.chart,a=e.chart.styledMode,i,r,n=t.colorCount,s;delete this.nonZonedColor,e.options.colorByPoint?(a||(i=(r=e.options.colors||e.chart.options.colors)[e.colorCounter],n=r.length),s=e.colorCounter,e.colorCounter++,e.colorCounter===n&&(e.colorCounter=0)):(a||(i=e.color),s=e.colorIndex),this.colorIndex=r6(this.options.colorIndex,s),this.color=r6(this.options.color,i)}setNestedProperty(e,t,a){return a.split(".").reduce(function(e,a,i,r){let n=r.length-1===i;return e[a]=n?t:r3(e[a],!0)?e[a]:{},e[a]},e),e}shouldDraw(){return!this.isNull}tooltipFormatter(e){let{chart:t,pointArrayMap:a=["y"],tooltipOptions:i}=this.series,{valueDecimals:r="",valuePrefix:n="",valueSuffix:s=""}=i;return t.styledMode&&(e=t.tooltip?.styledModeFormat(e)||e),a.forEach(t=>{t="{point."+t,(n||s)&&(e=e.replace(RegExp(t+"}","g"),n+t+"}"+s)),e=e.replace(RegExp(t+"}","g"),t+":,."+r+"f}")}),rV(e,this,t)}update(e,t,a,i){let r,n=this,s=n.series,l=n.graphic,o=s.chart,c=s.options;function d(){n.applyOptions(e);let i=l&&n.hasMockGraphic,d=null===n.y?!i:i;l&&d&&(n.graphic=l.destroy(),delete n.hasMockGraphic),r3(e,!0)&&(l?.element&&e&&e.marker&&void 0!==e.marker.symbol&&(n.graphic=l.destroy()),e?.dataLabels&&n.dataLabel&&(n.dataLabel=n.dataLabel.destroy())),r=n.index;let u={};for(let e of s.dataColumnKeys())u[e]=n[e];s.dataTable.setRow(u,r),c.data[r]=r3(c.data[r],!0)||r3(e,!0)?n.options:r6(e,c.data[r]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(o.isDirtyBox=!0),"point"===c.legendType&&(o.isDirtyLegend=!0),t&&o.redraw(a)}t=r6(t,!0),!1===i?d():n.firePointEvent("update",{options:e},d)}remove(e,t){this.series.removePoint(this.series.data.indexOf(this),e,t)}select(e,t){let a=this,i=a.series,r=i.chart;e=r6(e,!a.selected),this.selectedStaging=e,a.firePointEvent(e?"select":"unselect",{accumulate:t},function(){a.selected=a.options.selected=e,i.options.data[i.data.indexOf(a)]=a.options,a.setState(e&&"select"),t||r.getSelectedPoints().forEac
vendor: 6,806 bytes, line 269
269h(function(e){let t=e.series;e.selected&&e!==a&&(e.selected=e.options.selected=!1,t.options.data[t.data.indexOf(e)]=e.options,e.setState(r.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),e.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(e){let{inverted:t,pointer:a}=this.series.chart;a&&(e=e?a.normalize(e):a.getChartCoordinatesFromPoint(this,t),a.runPointActions(e,this))}onMouseOut(){let e=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(e.hoverPoints||[]).forEach(function(e){e.setState()}),e.hoverPoints=e.hoverPoint=null}manageEvent(e){let t=r4(this.series.options.point,this.options),a=t.events?.[e];r1(a)&&(!this.hcEvents?.[e]||this.hcEvents?.[e]?.map(e=>e.fn).indexOf(a)===-1)?(this.importedUserEvent?.(),this.importedUserEvent=rK(this,e,a),this.hcEvents&&(this.hcEvents[e].userEvent=!0)):this.importedUserEvent&&!a&&this.hcEvents?.[e]&&this.hcEvents?.[e].userEvent&&(r8(this,e),delete this.hcEvents[e],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(e,t){let a=this.series,i=this.state,r=a.options.states[e||"normal"]||{},n=rz.plotOptions[a.type].marker&&a.options.marker,s=n&&!1===n.enabled,l=n?.states?.[e||"normal"]||{},o=!1===l.enabled,c=this.marker||{},d=a.chart,u=n&&a.markerAttribs,h=a.halo,f,p,m,g=a.stateMarkerGraphic,b;if((e=e||"")===this.state&&!t||this.selected&&"select"!==e||!1===r.enabled||e&&(o||s&&!1===l.enabled)||e&&c.states&&c.states[e]&&!1===c.states[e].enabled)return;if(this.state=e,u&&(f=a.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(i&&this.graphic.removeClass("highcharts-point-"+i),e&&this.graphic.addClass("highcharts-point-"+e),!d.styledMode){p=a.pointAttribs(this,e),m=r6(d.options.chart.animation,r.animation);let t=p.opacity;a.options.inactiveOtherPoints&&r2(t)&&(this.dataLabels||[]).forEach(function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},m),e.connector&&e.connector.animate({opacity:t},m))}),this.graphic.animate(p,m)}f&&this.graphic.animate(f,r6(d.options.chart.animation,l.animation,n.animation)),g&&g.hide()}else e&&l&&(b=c.symbol||a.symbol,g&&g.currentSymbol!==b&&(g=g.destroy()),f&&(g?g[t?"animate":"attr"]({x:f.x,y:f.y}):b&&(a.stateMarkerGraphic=g=d.renderer.symbol(b,f.x,f.y,f.width,f.height,r4(n,l)).add(a.markerGroup),g.currentSymbol=b)),!d.styledMode&&g&&"inactive"!==this.state&&g.attr(a.pointAttribs(this,e))),g&&(g[e&&this.isInside?"show":"hide"](),g.element.point=this,g.addClass(this.getClassName(),!0));let _=r.halo,y=this.graphic||g,x=y?.visibility||"inherit";_?.size&&y&&"hidden"!==x&&!this.isCluster?(h||(a.halo=h=d.renderer.path().add(y.parentGroup)),h.show()[t?"animate":"attr"]({d:this.haloPath(_.size)}),h.attr({class:"highcharts-halo highcharts-color-"+r6(this.colorIndex,a.colorIndex)+(this.className?" "+this.className:""),visibility:x,zIndex:-1}),h.point=this,d.styledMode||h.attr(rZ({fill:this.color||a.color,"fill-opacity":_.opacity},to.filterUserAttributes(_.attributes||{})))):h?.point?.haloPath&&!h.point.destroyed&&h.animate({d:h.point.haloPath(0)},null,h.hide),rX(this,"afterSetState",{state:e})}haloPath(e){let t=this.pos();return t?this.series.chart.renderer.symbols.circle(rq(t[0],1)-e,t[1]-e,2*e,2*e):[]}}let ne=r9,{parse:nt}=e$,{charts:na,composed:ni,isTouchDevice:nr}=M,{addEvent:nn,attr:ns,css:nl,extend:no,find:nc,fireEvent:nd,isNumber:nu,isObject:nh,objectEach:nf,offset:np,pick:nm,pushUnique:ng,splat:nb}=el;class n_{applyInactiveState(e=[]){let t=[];for(let a of(e.forEach(e=>{let a=e.series;t.push(a),a.linkedParent&&t.push(a.linkedParent),a.linkedSeries&&t.push.apply(t,a.linkedSeries),a.navigatorSeries&&t.push(a.navigatorSeries),a.boosted&&a.markerGroup&&t.push.apply(t,this.chart.series.filter(e=>e.markerGroup===a.markerGroup))}),this.chart.series)){let e=a.options;e.states?.inactive?.enabled!==!1&&(-1===t.indexOf(a)?a.setState("inactive",!0):e.inactiveOtherPoints&&a.setAllPointsToState("inactive"))}}destroy(){let e=this;this.eventsToUnbind.forEach(e=>e()),this.eventsToUnbind=[],!M.chartCount&&(n_.unbindDocumentMouseUp.forEach(e=>e.unbind()),n_.unbindDocumentMouseUp.length=0,n_.unbindDocumentTouchEnd&&(n_.unbindDocumentTouchEnd=n_.unbindDocumentTouchEnd())),nf(e,function(t,a){e[a]=void 0})}getSelectionMarkerAttrs(e,t){let a={args:{chartX:e,chartY:t},attrs:{},shapeType:"rect"};return nd(this,"getSelectionMarkerAttrs",a,a=>{let i,{chart:r,zoomHor:n,zoomVert:s}=this,{mouseDownX:l=0,mouseDownY:o=0}=r,c=a.attrs;c.x=r.plotLeft,c.y=r.plotTop,c.width=n?1:r.plotWidth,c.height=s?1:r.plotHeight,n&&(c.width=Math.max(1,Math.abs(i=e-l)),c.x=(i>0?0:i)+l),s&&(c.height=Math.max(1,Math.abs(i=t-o)),c.y=(i>0?0:i)+o)}),a}drag(e){let{chart:t}=this,{mouseDownX:a=0,mouseDownY:i=0}=t,{panning:r,panKey:n,selectionMarkerFill:s}=t.options.chart,l=t.plotLeft,o=t.plotTop,c=t.plotWidth,d=t.plotHeight,u=nh(r)?r.enabled:r,h=n&&e[`${n}Key`],f=e.chartX,p=e.chartY,m,g=this.selectionMarker;if((!g||!g.touch)&&(f<l?f=l:f>l+c&&(f=l+c),p<o?p=o:p>o+d&&(p=o+d),this.hasDragged=Math.sqrt(Math.pow(a-f,2)+Math.pow(i-p,2)),this.hasDragged>10)){m=t.isInsidePlot(a-l,i-o,{visiblePlotOnly:!0});let{shapeType:n,attrs:c}=this.getSelectionMarkerAttrs(f,p);this.hasZoom&&m&&!h&&!g&&(this.selectionMarker=g=t.renderer[n](),g.attr({class:"highcharts-selection-marker",zIndex:7}).add(),t.styledMode||g.attr({fill:s||nt("#334eff").setOpacity(.25).get()})),g&&g.attr(c),m&&!g&&u&&t.pan(e,r)}}dragStart(e){let t=this.chart;t.mouseIsDown=e.type,t.cancelClick=!1,t.mouseDownX=e.chartX,t.mouseDownY=e.chartY}getSelectionBox(e){let t={args:{marker:e},result:e.getBBox()};return nd(this,"getSelectionBox",t),t.result}drop(e){let t,{chart:a,selectionMarker:i}=this;for(let e of a.axes)e.isPanning&&(e.isPanning=!1,(e.options.startOnTick||e.options.endOnTick||e.series.some(e=>e.boosted))&&(e.forceRedraw=!0,e.setExtremes(e.userMin,e.userMax,!1),t=!0));if(t&&a.redraw(),i&&e){if(this.hasDragged){let t=this.getSelectionBox(i);a.transform({axes:a.axes.filter(e=>e.zoomEnabled&&("xAxis"===e.coll&&this.zoomX||"yAxis"===e.coll&&this.zoomY)),selection:{originalEvent:e,xAxis:[],yAxis:[],...t},from:t})}nu(a.index)&&(this.selectionMarker=i.destroy())}a&&nu(a.index)&&(nl(a.container,{cursor:a._cursor}),a.cancelClick=this.hasDragged>10,a.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[],this.hasPinchMoved=!1)}findNearestKDPoint(e,t,a){let i;return e.forEach(function(e){var r;let n,s,l,o=!(e.noSharedTooltip&&t)&&0>e.options.findNearestPointBy.indexOf("y"),c=e.searchPoint(a,o);nh(c,!0)&&c.series&&(!nh(i,!0)||(n=(r=i).distX-c.distX,s=r.dist-c.dist,l=c.series.group?.zIndex-r.series.group?.zIndex,(0!==n&&t?n:0!==s?s:0!==l?l:r.series.index>c.series.index?-1:1)>0))&&(i=c)}),i}getChartCoordinatesFromPoint(e,t){let{xAxis:a,yAxis:i}=e.series,r=e.shapeArgs;if(a&&i){let n=e.clientX??e.plotX??0,s=e.plotY||0;
vendor: 8,876 bytes, line 269
269return e.isNode&&r&&nu(r.x)&&nu(r.y)&&(n=r.x,s=r.y),t?{chartX:i.len+i.pos-s,chartY:a.len+a.pos-n}:{chartX:n+a.pos,chartY:s+i.pos}}if(r?.x&&r.y)return{chartX:r.x,chartY:r.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:e}=this.chart,t=np(e);this.chartPosition={left:t.left,top:t.top,scaleX:1,scaleY:1};let{offsetHeight:a,offsetWidth:i}=e;return i>2&&a>2&&(this.chartPosition.scaleX=t.width/i,this.chartPosition.scaleY=t.height/a),this.chartPosition}getCoordinates(e){let t={xAxis:[],yAxis:[]};for(let a of this.chart.axes)t[a.isXAxis?"xAxis":"yAxis"].push({axis:a,value:a.toValue(e[a.horiz?"chartX":"chartY"])});return t}getHoverData(e,t,a,i,r,n){let s=[],l=function(e){return e.visible&&!(!r&&e.directTouch)&&nm(e.options.enableMouseTracking,!0)},o=t,c,d={chartX:n?n.chartX:void 0,chartY:n?n.chartY:void 0,shared:r};nd(this,"beforeGetHoverData",d),c=o&&!o.stickyTracking?[o]:a.filter(e=>e.stickyTracking&&(d.filter||l)(e));let u=i&&e||!n?e:this.findNearestKDPoint(c,r,n);return o=u?.series,u&&(r&&!o.noSharedTooltip?(c=a.filter(function(e){return d.filter?d.filter(e):l(e)&&!e.noSharedTooltip})).forEach(function(e){let t=e.options?.nullInteraction,a=nc(e.points,function(e){return e.x===u.x&&(!e.isNull||!!t)});nh(a)&&(e.boosted&&e.boost&&(a=e.boost.getPoint(a)),s.push(a))}):s.push(u)),nd(this,"afterGetHoverData",d={hoverPoint:u}),{hoverPoint:d.hoverPoint,hoverSeries:o,hoverPoints:s}}getPointFromEvent(e){let t=e.target,a;for(;t&&!a;)a=t.point,t=t.parentNode;return a}onTrackerMouseOut(e){let t=this.chart,a=e.relatedTarget,i=t.hoverSeries;this.isDirectTouch=!1,!i||!a||i.stickyTracking||this.inClass(a,"highcharts-tooltip")||this.inClass(a,"highcharts-series-"+i.index)&&this.inClass(a,"highcharts-tracker")||i.onMouseOut()}inClass(e,t){let a=e,i;for(;a;){if(i=ns(a,"class")){if(-1!==i.indexOf(t))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}a=a.parentElement}}constructor(e,t){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=t,this.chart=e,this.runChartClick=!!t.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),nd(this,"afterInit")}normalize(e,t){let a=e.touches,i=a?a.length?a.item(0):nm(a.changedTouches,e.changedTouches)[0]:e;t||(t=this.getChartPosition());let r=i.pageX-t.left,n=i.pageY-t.top;return no(e,{chartX:Math.round(r/=t.scaleX),chartY:Math.round(n/=t.scaleY)})}onContainerClick(e){let t=this.chart,a=t.hoverPoint,i=this.normalize(e),r=t.plotLeft,n=t.plotTop;!t.cancelClick&&(a&&this.inClass(i.target,"highcharts-tracker")?(nd(a.series,"click",no(i,{point:a})),t.hoverPoint&&a.firePointEvent("click",i)):(no(i,this.getCoordinates(i)),t.isInsidePlot(i.chartX-r,i.chartY-n,{visiblePlotOnly:!0})&&nd(t,"click",i)))}onContainerMouseDown(e){let t=(1&(e.buttons||e.button))==1;e=this.normalize(e),M.isFirefox&&0!==e.button&&this.onContainerMouseMove(e),(void 0===e.button||t)&&(this.zoomOption(e),t&&e.preventDefault?.(),this.dragStart(e))}onContainerMouseLeave(e){let{pointer:t}=na[nm(n_.hoverChartIndex,-1)]||{};e=this.normalize(e),this.onContainerMouseMove(e),t&&!this.inClass(e.relatedTarget,"highcharts-tooltip")&&(t.reset(),t.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(e){let t=this.chart,a=t.tooltip,i=this.normalize(e);this.setHoverChartIndex(e),("mousedown"===t.mouseIsDown||this.touchSelect(i))&&this.drag(i),!t.exporting?.openMenu&&(this.inClass(i.target,"highcharts-tracker")||t.isInsidePlot(i.chartX-t.plotLeft,i.chartY-t.plotTop,{visiblePlotOnly:!0}))&&!a?.shouldStickOnContact(i)&&(this.inClass(i.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(i))}onDocumentTouchEnd(e){this.onDocumentMouseUp(e)}onContainerTouchMove(e){this.touchSelect(e)?this.onContainerMouseMove(e):this.touch(e)}onContainerTouchStart(e){this.touchSelect(e)?this.onContainerMouseDown(e):(this.zoomOption(e),this.touch(e,!0))}onDocumentMouseMove(e){let t=this.chart,a=t.tooltip,i=this.chartPosition,r=this.normalize(e,i);!i||t.isInsidePlot(r.chartX-t.plotLeft,r.chartY-t.plotTop,{visiblePlotOnly:!0})||a?.shouldStickOnContact(r)||r.target!==t.container.ownerDocument&&this.inClass(r.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(e){e?.touches&&this.hasPinchMoved&&e?.preventDefault?.(),na[nm(n_.hoverChartIndex,-1)]?.pointer?.drop(e)}pinch(e){let t=this,{chart:a,hasZoom:i,lastTouches:r}=t,n=[].map.call(e.touches||[],e=>t.normalize(e)),s=n.length,l=1===s&&(t.inClass(e.target,"highcharts-tracker")&&a.runTrackerClick||t.runChartClick),o=a.tooltip,c=1===s&&nm(o?.options.followTouchMove,!0);s>1?t.initiated=!0:c&&(t.initiated=!1),i&&t.initiated&&!l&&!1!==e.cancelable&&e.preventDefault(),"touchstart"===e.type?(t.pinchDown=n,t.res=!0,a.mouseDownX=e.chartX):c?this.runPointActions(t.normalize(e)):r&&(nd(a,"touchpan",{originalEvent:e,touches:n},()=>{let t=e=>{let t=e[0],a=e[1]||t;return{x:t.chartX,y:t.chartY,width:a.chartX-t.chartX,height:a.chartY-t.chartY}};a.transform({axes:a.axes.filter(e=>e.zoomEnabled&&(this.zoomHor&&e.horiz||this.zoomVert&&!e.horiz)),to:t(n),from:t(r),trigger:e.type})}),t.res&&(t.res=!1,this.reset(!1,0))),t.lastTouches=n}reset(e,t){let a=this.chart,i=a.hoverSeries,r=a.hoverPoint,n=a.hoverPoints,s=a.tooltip,l=s?.shared?n:r;e&&l&&nb(l).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?s&&l&&nb(l).length&&(s.refresh(l),s.shared&&n?n.forEach(function(e){e.setState(e.state,!0),e.series.isCartesian&&(e.series.xAxis.crosshair&&e.series.xAxis.drawCrosshair(null,e),e.series.yAxis.crosshair&&e.series.yAxis.drawCrosshair(null,e))}):r&&(r.setState(r.state,!0),a.axes.forEach(function(e){e.crosshair&&r.series[e.coll]===e&&e.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),n&&n.forEach(function(e){e.setState()}),i&&i.onMouseOut(),s&&s.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),a.axes.forEach(function(e){e.hideCrosshair()}),a.hoverPoints=a.hoverPoint=void 0)}runPointActions(e,t,a){let i=this.chart,r=i.series,n=i.tooltip?.options.enabled?i.tooltip:void 0,s=!!n&&n.shared,l=t||i.hoverPoint,o=l?.series||i.hoverSeries,c=(!e||"touchmove"!==e.type)&&(!!t||o?.directTouch&&this.isDirectTouch),d=this.getHoverData(l,o,r,c,s,e);l=d.hoverPoint,o=d.hoverSeries;let u=d.hoverPoints,h=o?.tooltipOptions.followPointer&&!o.tooltipOptions.split,f=s&&o&&!o.noSharedTooltip;if(l&&(a||l!==i.hoverPoint||n?.isHidden)){if((i.hoverPoints||[]).forEach(function(e){-1===u.indexOf(e)&&e.setState()}),i.hoverSeries!==o&&o.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach(function(e){e.setState("hover")}),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!l.series)return;i.hoverPoints=u,i.hoverPoint=l,l.firePointEvent("mouseOver",void 0,()=>{n&&l&&n.refresh(f?u:l,e)})}else if(h&&n&&!n.isHidden){let t=n.getAnchor([{}],e);i.isInsidePlot(t[0],t[1],{visiblePlotOnly:!0})&&n.updatePosition({plotX:t[0],plotY:t[1]})}this.unDocMouseMove||(this.unDocMouseMove=nn(i.container.ownerDocument,"mousemove",e=>na[n_.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(e)),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach(function(t){let a,r=t.crosshair?.snap??!0;r&&((a=i.hoverPoint)&&a.series[t.coll]===t||(a=nc(u,e=>e.series?.[t.coll]===t))),a||!r?t.drawCrosshair(e,a):t.hideCrosshair()})}setDOMEvents(){let e=this.chart.container,t=e.ownerDocument,a=e=>e.parentElement||e.getRootNode()?.host?.parentElement;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(nn(e,"mouseenter",this.onContainerMouseEnter.bind(this)),nn(e,"mouseleave",this.onContainerMouseLeave.bind(this))),n_.unbindDocumentMouseUp.some(e=>e.doc===t)||n_.unbindDocumentMouseUp.push({doc:t,unbind:nn(t,"mouseup",this.onDocumentMouseUp.bind(this))});let i=a(this.chart.renderTo);for(;i&&"BODY"!==i.tagName;)this.eventsToUnbind.push(nn(i,"scroll",()=>{delete this.chartPosition})),i=a(i);this.eventsToUnbind.push(nn(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),nn(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),n_.unbindDocumentTouchEnd||(n_.unbindDocumentTouchEnd=nn(t,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),nn(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!nr)return;let e=this.pointerCaptureEventsToUnbind,t=this.chart,a=t.container,i=nm(t.options.tooltip?.followTouchMove,!0)&&t.series.some(e=>e.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&i?(e.push(nn(a,"pointerdown",e=>{e.target?.hasPointerCapture(e.pointerId)&&e.target?.releasePointerCapture(e.pointerId)}),nn(a,"pointermove",e=>{t.pointer?.getPointFromEvent(e)?.onMouseOver(e)})),t.styledMode||nl(a,{"touch-action":"none"}),a.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!i&&(e.forEach(e
269=>e()),e.length=0,t.styledMode||nl(a,{"touch-action":nm(t.options.chart.style?.["touch-action"],"manipulation")}),a.className=a.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(e){let t=this.chart,a=M.charts[nm(n_.hoverChartIndex,-1)];if(a&&a!==t){let i={relatedTarget:t.container};e&&!e?.relatedTarget&&Object.assign({},e,i),a.pointer?.onContainerMouseLeave(e||i)}a?.mouseIsDown||(n_.hoverChartIndex=t.index)}touch(e,t){let a,{chart:i,pinchDown:r=[]}=this;this.setHoverChartIndex(),1===(e=this.normalize(e)).touches.length?i.isInsidePlot(e.chartX-i.plotLeft,e.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.exporting?.openMenu?(t&&this.runPointActions(e),"touchmove"===e.type&&(this.hasPinchMoved=a=!!r[0]&&Math.pow(r[0].chartX-e.chartX,2)+Math.pow(r[0].chartY-e.chartY,2)>=16),nm(a,!0)&&this.pinch(e)):t&&this.reset():2===e.touches.length&&this.pinch(e)}touchSelect(e){return!!(this.chart.zooming.singleTouch&&e.touches&&1===e.touches.length)}zoomOption(e){let t=this.chart,a=t.inverted,i=t.zooming.type||"",r,n;/touch/.test(e.type)&&(i=nm(t.zooming.pinchType,i)),this.zoomX=r=/x/.test(i),this.zoomY=n=/y/.test(i),this.zoomHor=r&&!a||n&&a,this.zoomVert=n&&!a||r&&a,this.hasZoom=r||n}}n_.unbindDocumentMouseUp=[],(d=n_||(n_={})).compose=function(e){ng(ni,"Core.Pointer")&&nn(e,"beforeRender",function(){this.pointer=new d(this,this.options)})};let ny=n_;(u=E||(E={})).setLength=function(e,t,a){return Array.isArray(e)?(e.length=t,e):e[a?"subarray":"slice"](0,t)},u.splice=function(e,t,a,i,r=[]){if(Array.isArray(e))return Array.isArray(r)||(r=Array.from(r)),{removed:e.splice(t,a,...r),array:e};let n=Object.getPrototypeOf(e).constructor,s=e[i?"subarray":"slice"](t,t+a),l=new n(e.length-a+r.length);return l.set(e.subarray(0,t),0),l.set(r,t),l.set(e.subarray(t+a),t+r.length),{removed:s,array:l}},u.convertToNumber=function(e,t){switch(typeof e){case"boolean":return+!!e;case"number":return isNaN(e)&&!t?null:e;default:return isNaN(e=parseFloat(`${e??""}`))&&!t?null:e}};let{setLength:nx,splice:nv}=E,{fireEvent:nA,objectEach:nw,uniqueKey:nE}=el,nS=class{constructor(e={}){this.autoId=!e.id,this.columns={},this.id=e.id||nE(),this.rowCount=0,this.versionTag=nE();let t=0;nw(e.columns||{},(e,a)=>{this.columns[a]=e.slice(),t=Math.max(t,e.length)}),this.applyRowCount(t)}applyRowCount(e){this.rowCount=e,nw(this.columns,(t,a)=>{t.length!==e&&(this.columns[a]=nx(t,e))})}deleteRows(e,t=1){if(t>0&&e<this.rowCount){let a=0;nw(this.columns,(i,r)=>{this.columns[r]=nv(i,e,t).array,a=i.length}),this.rowCount=a}nA(this,"afterDeleteRows",{rowIndex:e,rowCount:t}),this.versionTag=nE()}getColumn(e,t){return this.columns[e]}getColumns(e,t){return(e||Object.keys(this.columns)).reduce((e,t)=>(e[t]=this.columns[t],e),{})}getRow(e,t){return(t||Object.keys(this.columns)).map(t=>this.columns[t]?.[e])}setColumn(e,t=[],a=0,i){this.setColumns({[e]:t},a,i)}setColumns(e,t,a){let i=this.rowCount;nw(e,(e,t)=>{this.columns[t]=e.slice(),i=e.length}),this.applyRowCount(i),a?.silent||(nA(this,"afterSetColumns"),this.versionTag=nE())}setRow(e,t=this.rowCount,a,i){let{columns:r}=this,n=a?this.rowCount+1:t+1,s=Object.keys(e);if(i?.addColumns!==!1)for(let e=0,t=s.length;e<t;e++){let t=s[e];r[t]||(r[t]=[])}nw(r,(s,l)=>{s||i?.addColumns===!1||(s=Array(n)),s&&(a?s=nv(s,t,0,!0,[e[l]??null]).array:s[t]=e[l]??null,r[l]=s)}),n>this.rowCount&&this.applyRowCount(n),i?.silent||(nA(this,"afterSetRows"),this.versionTag=nE())}getModified(){return this.modified||this}},{extend:nC,merge:nT,pick:nN}=el;var nk=S||(S={});function nI(e,t,a){let i=this.legendItem=this.legendItem||{},{chart:r,options:n}=this,{baseline:s=0,symbolWidth:l,symbolHeight:o}=e,c=this.symbol||"circle",d=o/2,u=r.renderer,h=i.group,f=s-Math.round((e.fontMetrics?.b||o)*(a?.4:.3)),p={},m,g=n.marker,b=0;if(r.styledMode||(p["stroke-width"]=Math.min(n.lineWidth||0,24),n.dashStyle?p.dashstyle=n.dashStyle:"square"!==n.linecap&&(p["stroke-linecap"]="round")),i.line=u.path().addClass("highcharts-graph").attr(p).add(h),a&&(i.area=u.path().addClass("highcharts-area").add(h)),p["stroke-linecap"]&&(b=Math.min(i.line.strokeWidth(),l)/2),l){let e=[["M",b,f],["L",l-b,f]];i.line.attr({d:e}),i.area?.attr({d:[...e,["L",l-b,s],["L",b,s]]})}if(g&&!1!==g.enabled&&l){let e=Math.min(nN(g.radius,d),d);0===c.indexOf("url")&&(g=nT(g,{width:o,height:o}),e=0),i.symbol=m=u.symbol(c,l/2-e,f-e,2*e,2*e,nC({context:"legend"},g)).addClass("highcharts-point").add(h),m.isMarker=!0}}nk.areaMarker=function(e,t){nI.call(this,e,t,!0)},nk.lineMarker=nI,nk.rectangle=function(e,t){let a=t.legendItem||{}
vendor: 21,484 bytes, line 269
269,i=e.options,r=e.symbolHeight,n=i.squareSymbol,s=n?r:e.symbolWidth;a.symbol=this.chart.renderer.rect(n?(e.symbolWidth-r)/2:0,e.baseline-r+1,s,r,nN(e.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(a.group)};let nj=S,{defaultOptions:nP}=eL,{extend:nL,extendClass:nO,merge:nD}=el;var nM=C||(C={});function nR(e,t){let a=nP.plotOptions||{},i=t.defaultOptions,r=t.prototype;return r.type=e,r.pointClass||(r.pointClass=ne),!nM.seriesTypes[e]&&(i&&(a[e]=i),nM.seriesTypes[e]=t,!0)}nM.seriesTypes=M.seriesTypes,nM.registerSeriesType=nR,nM.seriesType=function(e,t,a,i,r){let n=nP.plotOptions||{};if(t=t||"",n[e]=nD(n[t],a),delete nM.seriesTypes[e],nR(e,nO(nM.seriesTypes[t]||M.Series,i)),nM.seriesTypes[e].prototype.type=e,r){class t extends ne{}nL(t.prototype,r),nM.seriesTypes[e].prototype.pointClass=t}return nM.seriesTypes[e]};let nF=C,{animObject:nB,setAnimation:nU}=e4,{defaultOptions:nH}=eL,{registerEventOptions:n$}=ip,{svg:nG,win:nW}=M,{seriesTypes:nY}=nF,{format:nz}=tE,{arrayMax:nV,arrayMin:nK,clamp:nq,correctFloat:nQ,crisp:nZ,defined:nX,destroyObjectProperties:nJ,diffObjects:n0,erase:n1,error:n2,extend:n3,find:n4,fireEvent:n6,getClosestDistance:n5,getNestedProperty:n8,insertItem:n7,isArray:n9,isNumber:se,isString:st,merge:sa,objectEach:si,pick:sr,removeEvent:sn,syncTimeout:ss}=el;class sl{constructor(){this.zoneAxis="y"}init(e,t){let a;n6(this,"init",{options:t}),this.dataTable??(this.dataTable=new nS);let i=e.series;this.eventsToUnbind=[],this.chart=e,this.options=this.setOptions(t);let r=this.options,n=!1!==r.visible;this.linkedSeries=[],this.bindAxes(),n3(this,{name:r.name,state:"",visible:n,selected:!0===r.selected}),n$(this,r);let s=r.events;(s?.click||r.point?.events?.click||r.allowPointSelect)&&(e.runTrackerClick=!0),this.getColor(),this.getSymbol(),this.isCartesian&&(e.hasCartesianSeries=!0),i.length&&(a=i[i.length-1]),this._i=sr(a?._i,-1)+1,this.opacity=this.options.opacity,e.orderItems("series",n7(this,i)),r.dataSorting?.enabled?this.setDataSortingOptions():this.points||this.data||this.setData(r.data,!1),n6(this,"afterInit")}is(e){return nY[e]&&this instanceof nY[e]}bindAxes(){let e,t=this,a=t.options,i=t.chart;n6(this,"bindAxes",null,function(){(t.axisTypes||[]).forEach(function(r){(i[r]||[]).forEach(function(i){e=i.options,(sr(a[r],0)===i.index||void 0!==a[r]&&a[r]===e.id)&&(n7(t,i.series),t[r]=i,i.isDirty=!0)}),t[r]||t.optionalAxis===r||n2(18,!0,i)})}),n6(this,"afterBindAxes")}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.dataTable.rowCount>0}hasMarkerChanged(e,t){let a=e.marker,i=t.marker||{};return a&&(i.enabled&&!a.enabled||i.symbol!==a.symbol||i.height!==a.height||i.width!==a.width)}autoIncrement(e){let t,a=this.options,{pointIntervalUnit:i,relativeXValue:r}=this.options,n=this.chart.time,s=this.xIncrement??n.parse(a.pointStart)??0;if(this.pointInterval=t=sr(this.pointInterval,a.pointInterval,1),r&&se(e)&&(t*=e),i){let e=n.toParts(s);"day"===i?e[2]+=t:"month"===i?e[1]+=t:"year"===i&&(e[0]+=t),t=n.makeTime.apply(n,e)-s}return r&&se(e)?s+t:(this.xIncrement=s+t,s)}setDataSortingOptions(){let e=this.options;n3(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),nX(e.pointRange)||(e.pointRange=1)}setOptions(e){let t,a=this.chart,i=a.options.plotOptions,r=a.userOptions||{},n=sa(e),s=a.styledMode,l={plotOptions:i,userOptions:n};n6(this,"setOptions",l);let o=l.plotOptions[this.type],c=r.plotOptions||{},d=c.series||{},u=nH.plotOptions[this.type]||{},h=c[this.type]||{};o.dataLabels=this.mergeArrays(u.dataLabels,o.dataLabels),this.userOptions=l.userOptions;let f=sa(o,i.series,h,n);this.tooltipOptions=sa(nH.tooltip,nH.plotOptions.series?.tooltip,u?.tooltip,a.userOptions.tooltip,c.series?.tooltip,h.tooltip,n.tooltip),this.stickyTracking=sr(n.stickyTracking,h.stickyTracking,d.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||f.stickyTracking),null===o.marker&&delete f.marker,this.zoneAxis=f.zoneAxis||"y";let p=this.zones=(f.zones||[]).map(e=>({...e}));return(f.negativeColor||f.negativeFillColor)&&!f.zones&&(t={value:f[this.zoneAxis+"Threshold"]||f.threshold||0,className:"highcharts-negative"},s||(t.color=f.negativeColor,t.fillColor=f.negativeFillColor),p.push(t)),p.length&&nX(p[p.length-1].value)&&p.push(s?{}:{color:this.color,fillColor:this.fillColor}),n6(this,"afterSetOptions",{options:f}),f}getName(){return this.options.name??nz(this.chart.options.lang.seriesName,this,this.chart)}getCyclic(e,t,a){let i,r,n=this.chart,s=`${e}Index`,l=`${e}Counter`,o=a?.length||n.options.chart.colorCount;!t&&(nX(r=sr("color"===e?this.options.colorIndex:void 0,this[s]))?i=r:(n.series.length||(n[l]=0),i=n[l]%o,n[l]+=1),a&&(t=a[i])),void 0!==i&&(this[s]=i),this[e]=t}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||nH.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let e=this.options.marker;this.getCyclic("symbol",e.symbol,this.chart.options.symbols)}getColumn(e,t){return(t?this.dataTable.getModified():this.dataTable).getColumn(e,!0)||[]}findPointIndex(e,t){let a,i,r,{id:n,x:s}=e,l=this.points,o=this.options.dataSorting,c=this.cropStart||0;if(n){let e=this.chart.get(n);e instanceof ne&&(a=e)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let t=t=>!t.touched&&t.index===e.index;if(o?.matchByName?t=t=>!t.touched&&t.name===e.name:this.options.relativeXValue&&(t=t=>!t.touched&&t.options.x===e.x),!(a=n4(l,t)))return}return a&&void 0!==(r=a?.index)&&(i=!0),void 0===r&&se(s)&&(r=this.getColumn("x").indexOf(s,t)),-1!==r&&void 0!==r&&this.cropped&&(r=r>=c?r-c:r),!i&&se(r)&&l[r]?.touched&&(r=void 0),r}updateData(e,t){let{options:a,requireSorting:i}=this,r=a.dataSorting,n=this.points,s=[],l=e.length===n.length,o=this.xIncrement,c,d,u,h,f=!0;if(this.xIncrement=null,e.forEach((e,t)=>{let o,d=nX(e)&&this.pointClass.prototype.optionsToObject.call({series:this},e)||{},{id:u,x:f}=d;u||se(f)?(-1===(o=this.findPointIndex(d,h))||void 0===o?s.push(e):n[o]&&e!==a.data?.[o]?(n[o].update(e,!1,void 0,!1),n[o].touched=!0,i&&(h=o+1)):n[o]&&(n[o].touched=!0),(!l||t!==o||r?.enabled||this.hasDerivedData)&&(c=!0)):s.push(e)},this),c)for(d=n.length;d--;)(u=n[d])&&!u.touched&&u.remove?.(!1,t);else l&&!r?.enabled?(e.forEach((e,t)=>{e===n[t].y||n[t].destroyed||n[t].update(e,!1,void 0,!1)}),s.length=0):f=!1;if(n.forEach(e=>{e&&(e.touched=!1)}),!f)return!1;s.forEach(e=>{this.addPoint(e,!1,void 0,void 0,!1)},this);let p=this.getColumn("x");return null!==o&&null===this.xIncrement&&p.length&&(this.xIncrement=nV(p),this.autoIncrement()),!0}dataColumnKeys(){return["x",...this.pointArrayMap||["y"]]}setData(e,t=!0,a,i){let r=this.points,n=r?.length||0,s=this.options,l=this.chart,o=s.dataSorting,c=this.xAxis,d=s.turboThreshold,u=this.dataTable,h=this.dataColumnKeys(),f=this.pointValKey||"y",p=(this.pointArrayMap||[]).length,m=s.keys,g,b,_=0,y=1,x;l.options.chart.allowMutatingData||(s.data&&delete this.options.data,this.userOptions.data&&delete this.userOptions.data,x=sa(!0,e));let v=(e=x||e||[]).length;if(o?.enabled&&(e=this.sortData(e)),l.options.chart.allowMutatingData&&!1!==i&&v&&n&&!this.cropped&&!this.hasGroupedData&&this.visible&&!this.boosted&&(b=this.updateData(e,a)),!b){this.xIncrement=null,this.colorCounter=0;let t=d&&!s.relativeXValue&&v>d;if(t){let a=this.getFirstValidPoint(e),i=this.getFirstValidPoint(e,v-1,-1),r=e=>!!(n9(e)&&(m||se(e[0])));if(se(a)&&se(i)){let t=[],a=[];for(let i of e)t.push(this.autoIncrement()),a.push(i);u.setColumns({x:t,[f]:a})}else if(r(a)&&r(i))if(p){let t=+(a.length===p),i=Array(h.length).fill(0).map(()=>[]);for(let a of e){t&&i[0].push(this.autoIncrement());for(let e=t;e<=p;e++)i[e]?.push(a[e-t])}u.setColumns(h.reduce((e,t,a)=>(e[t]=i[a],e),{}))}else{m&&(_=m.indexOf("x"),y=m.indexOf("y"),_=_>=0?_:0,y=y>=0?y:1),1===a.length&&(y=0);let t=[],i=[];if(_===y)for(let a of e)t.push(this.autoIncrement()),i.push(a[y]);else for(let a of e)t.push(a[_]),i.push(a[y]);u.setColumns({x:t,[f]:i})}else t=!1}if(!t){let t=h.reduce((e,t)=>(e[t]=[],e),{});for(g=0;g<v;g++){let a=this.pointClass.prototype.applyOptions.apply({series:this},[e[g]]);for(let e of h)t[e][g]=a[e]}u.setColumns(t)}for(st(this.getColumn("y")[0])&&n2(14,!0,l),this.data=[],this.options.data=this.userOptions.data=e,g=n;g--;)r[g]?.destroy();c&&(c.minRange=c.userMinRange),this.isDirty=l.isDirtyBox=!0,this.isDirtyData=!!r,a=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),t&&l.redraw(a)}sortData(e){let t=this,a=t.options.dataSorting.sortKey||"y",i=function(e,t){return nX(t)&&e.pointClass.prototype.optionsToObject.call({series:e},t)||{}};return e.forEach(function(a,r){e[r]=i(t,a),e[r].index=r},this),e.concat().sort((e,t)=>{let i=n8(a,e),r=n8(a,t);return r<i?-1:+(r>i)}).forEach(function(e,t){e.x=t},this),t.linkedSeries&&t.linkedSeries.forEach(function(t){let a=t.options,r=a.data;!a.dataSorting?.enabled&&r&&(r.forEach(function(a,n){r[n]=i(t,a),e[n]&&(r[n].x=e[n].x,r[n].index=n)}),t.setData(r,!1))}),e}getProcessedData(e){let t=this,{dataTable:a,isCartesian:i,options:r,xAxis:n}=t,s=r.cropThreshold,l=e||t.getExtremesFromAll,o=n?.logarithmic,c=a.rowCount,d,u,h=0,f,p,m,g=t.getColumn("x"),b=a,_=!1;return n&&(p=(f=n.getExtremes()).min,m=f.max,_=!!(n.categories&&!n.names.length),i&&t.sorted&&!l&&(!s||c>s||t.forceCrop)&&(g[c-1]<p||g[0]>m?b=new nS:t.getColumn(t.pointValKey||"y").length&&(g[0]<p||g[c-1]>m)&&(b=(d=this.cropData(a,p,m)).modified,h=d.start,u=!0))),g=b.getColumn("x")||[],{modified:b,cropped:u,cropStart:h,closestPointRange:n5([o?g.map(o.log2lin):g],()=>t.requireSorting&&!_&&n2(15,!1,t.chart))}}processData(e){let t=this.xAxis,a=this.dataTable;if(this.isCartesian&&!this.isDirty&&!t.isDirty&&!this.yAxis.isDirty&&!e)return!1;let i=this.getProcessedData();a.modified=i.modified,this.cropped=i.cropped,this.cropStart=i.cropStart,this.closestPointRange=this.basePointRange=i.closestPointRange,n6(this,"afterProcessData")}cropData(e,t,a){let i=e.getColumn("x",!0)||[],r=i.length,n={},s,l,o=0,c=r;for(s=0;s<r;s++)if(i[s]>=t){o=Math.max(0,s-1);break}for(l=s;l<r;l++)if(i[l]>a){c=l+1;break}for(let t of this.dataColumnKeys()){let a=e.getColumn(t,!0);a&&(n[t]=a.slice(o,c))}return{modified:new nS({columns:n}),start:o,end:c}}generatePoints(){let e=this.options,t=this.processedData||e.data,a=this.dataTable.getModified(),i=this.getColumn("x",!0),r=this.pointClass,n=a.rowCount,s=this.cropStart||0,l=this.hasGroupedData,o=e.keys,c=[],d=e.dataGrouping?.groupAll?s:0,u=this.pointArrayMap||["y"],h=this.dataColumnKeys(),f,p,m,g,b=this.data,_;if(!b&&!l){let e=[];e.length=t?.length||0,b=this.data=e}for(o&&l&&(this.options.keys=!1),g=0;g<n;g++)p=s+g,l?((m=new r(this,a.getRow(g,h)||[])).dataGroup=this.groupMap?.[d+g],m.dataGroup?.options&&(m.options=m.dataGroup.options,n3(m,m.dataGroup.options),delete m.dataLabels,m.key=m.name??m.category)):(m=b[p],_=t?t[p]:a.getRow(g,u),m||void 0===_?m&&(m.category=this.xAxis?.categories?.[m.x]??m.x,m.key=m.name??m.category):b[p]=m=new r(this,_,i[g])),m&&(m.index=l?d+g:p,c[g]=m);if(this.options.keys=o,b&&(n!==(f=b.length)||l))for(g=0;g<f;g++)g!==s||l||(g+=n),b[g]&&(b[g].destroyElements(),b[g].plotX=void 0);this.data=b,this.points=c,n6(this,"afterGeneratePoints")}getXExtremes(e){return{min:nK(e),max:nV(e)}}getExtremes(e,t){let{xAxis:a,yAxis:i}=this,r=t||this.getExtremesFromAll||this.options.getExtremesFromAll,n=r&&this.cropped?this.dataTable:this.dataTable.getModified(),s=n.rowCount,l=e||this.stackedYData,o=l?[l]:(this.keysAffectYAxis||this.pointArrayMap||["y"])?.map(e=>n.getColumn(e,!0)||[])||[],c=this.getColumn("x",!0),d=[],u=this.requireSorting&&!this.is("column")?1:0,h=!!i&&i.positiveValuesOnly,f=r||this.cropped||!a,p,m,g,b=0,_=0;for(a&&(b=(p=a.getExtremes()).min,_=p.max),g=0;g<s;g++)if(m=c[g],f||(c[g+u]||m)>=b&&(c[g-u]||m)<=_)for(let e of o){let t=e[g];se(t)&&(t>0||!h)&&d.push(t)}let y={activeYData:d,dataMin:nK(d),dataMax:nV(d)};return n6(this,"afterGetExtremes",{dataExtremes:y}),y}applyExtremes(){let e=this.getExtremes();return this.dataMin=e.dataMin,this.dataMax=e.dataMax,e}getFirstValidPoint(e,t=0,a=1){let i=e.length,r=t;for(;r>=0&&r<i;){if(nX(e[r]))return e[r];r+=a}}translate(){this.generatePoints();let e=this.options,t=e.stacking,a=this.xAxis,i=this.enabledDataSorting,r=this.yAxis,n=this.points,s=n.length,l=this.pointPlacementToXValue(),o=!!l,c=e.threshold,d=e.startFromThreshold?c:0,u=e?.nullInteraction&&r.len,h,f,p,m,g=Number.MAX_VALUE;function b(e){return nq(e,-1e9,1e9)}for(h=0;h<s;h++){let e,s=n[h],_=s.x,y,x,v=s.y,A=s.low,w=t&&r.stacking?.stacks[(this.negStacks&&v<(d?0:c)?"-":"")+this.stackKey];s.plotX=se(f=a.translate(_,!1,!1,!1,!0,l))?nQ(b(f)):void 0,t&&this.visible&&w&&w[_]&&(m=this.getStackIndicator(m,_,this.index),!s.isNull&&m.key&&(x=(y=w[_]).points[m.key]),y&&n9(x)&&(A=x[0],v=x[1],A===d&&m.key===w[_].base&&(A=sr(se(c)?c:r.min)),r.positiveValuesOnly&&nX(A)&&A<=0&&(A=void 0),s.total=s.stackTotal=sr(y.total),s.percentage=nX(s.y)&&y.total?s.y/y.total*100:void 0,s.stackY=v,this.irregularWidths||y.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),s.yBottom=nX(A)?b(r.translate(A,!1,!0,!1,!0)):void 0,this.dataModify&&(v=this.dataModify.modifyValue(v,h)),se(v)&&void 0!==s.plotX?e=se(e=r.translate(v,!1,!0,!1,!0))?b(e):void 0:!se(v)&&u&&(e=u),s.plotY=e,s.isInside=this.isPointInside(s),s.clientX=o?nQ(a.translate(_,!1,!1,!1,!0,l)):f,s.negative=(s.y||0)<(c||0),s.isNull||!1===s.visible||(void 0!==p&&(g=Math.min(g,Math.abs(f-p))),p=f),s.zone=this.zones.length?s.getZone():void 0,!s.graphic&&this.group&&i&&(s.isNew=!0)}this.closestPointRangePx=g,n6(this,"afterTranslate")}getValidPoints(e,t,a){let i=this.chart;return(e||this.points||[]).filter(function(e){let{plotX:r,plotY:n}=e;return(!!a||!e.isNull&&!!se(n))&&(!t||!!i.isInsidePlot(r,n,{inverted:i.inverted}))&&!1!==e.visible})}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:e,group:t,markerGroup:a}=this,i=e.sharedClips,r=e.renderer,n=e.getClipBox(this),s=this.getSharedClipKey(),l=i[s];n6(this,"setClip",{clipBox:n}),l?l.animate(n):i[s]=l=r.clipRect(n),t&&t.clip(!1===this.options.clip?void 0:l),a&&a.clip()}animate(e){let{chart:t,group:a,markerGroup:i}=this,r=t.inverted,n=nB(this.options.animation),s=[this.getSharedClipKey(),n.duration,n.easing,n.defer].join(","),l=t.sharedClips[s],o=t.sharedClips[s+"m"];if(e&&a){let e=t.getClipBox(this);if(l)l.attr("height",e.height);else{e.width=0,r&&(e.x=t.plotHeight),l=t.renderer.clipRect(e),t.sharedClips[s]=l;let a={x:-99,y:-99,width:r?t.plotWidth+199:99,height:r?99:t.plotHeight+199};o=t.renderer.clipRect(a),t.sharedClips[s+"m"]=o}a.clip(l),i?.clip(o)}else if(l&&!l.hasClass("highcharts-animating")){let e=t.getClipBox(this),a=n.step;(i?.element.childNodes.length||t.series.length>1)&&(n.step=function(e,t){a&&a.apply(t,arguments),"width"===t.prop&&o?.element&&o.attr(r?"height":"width",e+99)}),l.addClass("highcharts-animating").animate(e,n)}}afterAnimate(){this.setClip(),si(this.chart.sharedClips,(e,t,a)=>{e&&!this.chart.container.querySelector(`[clip-path="url(#${e.id})"]`)&&(e.destroy(),delete a[t])}),this.finishedAnimating=!0,n6(this,"afterAnimate")}drawPoints(e=this.points){let t,a,i,r,n,s,l,o=this.chart,c=o.styledMode,{colorAxis:d,options:u}=this,h=u.marker,f=u.nullInteraction,p=this[this.specialGroup||"markerGroup"],m=this.xAxis,g=sr(h.enabled,!m||!!m.isRadial||null,this.closestPointRangePx>=h.enabledThreshold*h.radius);if(!1!==h.enabled||this._hasPointMarkers)for(t=0;t<e.length;t++){r=(i=(a=e[t]).graphic)?"animate":"attr",n=a.marker||{},s=!!a.marker;let u=a.isNull;if((g&&!nX(n.enabled)||n.enabled)&&(!u||f)&&!1!==a.visible){let e=sr(n.symbol,this.symbol,"rect");l=this.markerAttribs(a,a.selected&&"select"),this.enabledDataSorting&&(a.startXPos=m.reversed?-(l.width||0):m.width);let t=!1!==a.isInside;if(!i&&t&&((l.width||0)>0||a.hasImage)&&(a.graphic=i=o.renderer.symbol(e,l.x,l.y,l.width,l.height,s?n:h).add(p),this.enabledDataSorting&&o.hasRendered&&(i.attr({x:a.startXPos}),r="animate")),i&&"animate"===r&&i[t?"show":"hide"](t).animate(l),i){let e=this.pointAttribs(a,c||!a.selected?void 0:"select");c?d&&i.css({fill:e.fill}):i[r](e)}i&&i.addClass(a.getClassName(),!0)}else i&&(a.graphic=i.destroy())}}markerAttribs(e,t){let a=this.options,i=a.marker,r=e.marker||{},n=r.symbol||i.symbol,s={},l,o,c=sr(r.radius,i?.radius);t&&(l=i.states[t],o=r.states&&r.states[t],c=sr(o?.radius,l?.radius,c&&c+(l?.radiusPlus||0))),e.hasImage=n&&0===n.indexOf("url"),e.hasImage&&(c=0);let d=e.pos();return se(c)&&d&&(a.crisp&&(d[0]=nZ(d[0],e.hasImage?0:"rect"===n?i?.lineWidth||0:1)),s.x=d[0]-c,s.y=d[1]-c),c&&(s.width=s.height=2*c),s}pointAttribs(e,t){let a=this.options,i=a.marker,r=e?.options,n=r?.marker||{},s=r?.color,l=e?.color,o=e?.zone?.color,c,d,u=this.color,h,f,p=sr(n.lineWidth,i.lineWidth),m=e?.isNull&&a.nullInteraction?0:1;return u=s||o||l||u,h=n.fillColor||i.fillColor||u,f=n.lineColor||i.lineColor||u,t=t||"normal",c=i.states[t]||{},p=sr((d=n.states&&n.states[t]||{}).lineWidth,c.lineWidth,p+sr(d.lineWidthPlus,c.lineWidthPlus,0)),h=d.fillColor||c.fillColor||h,{stroke:f=d.lineColor||c.lineColor||f,"stroke-width":p,fill:h,opacity:m=sr(d.opacity,c.opacity,m)}}destroy(e){let t,a,i=this,r=i.chart,n=/AppleWebKit\/533/.test(nW.navigator.userAgent),s=i.data||[];for(n6(i,"destroy",{keepEventsForUpdate:e}),this.removeEvents(e),(i.axisTypes||[]).forEach(function(e){a=i[e],a?.series&&(n1(a.series,i),a.isDirty=a.forceRedraw=!0)}),i.legendItem&&i.chart.legend.destroyItem(i),t=s.length;t--;)s[t]?.destroy?.();for(let e of i.zones)nJ(e,void 0,!0);el.clearTimeout(i.animationTimeout),si(i,function(e,t){e instanceof ae&&!e.survive&&e[n&&"group"===t?"hide":"destroy"]()}),r.hoverSeries===i&&(r.hoverSeries=void 0),n1(r.series,i),r.orderItems("series"),si(i,function(t,a){e&&"hcEvents"===a||delete i[a]})}applyZones(){let{area:e,chart:t,graph:a,zones:i,points:r,xAxis:n,yAxis:s,zoneAxis:l}=this,{inverted:o,renderer:c}=t,d=this[`${l}Axis`],{isXAxis:u,len:h=0,minPointOffset:f=0}=d||{},p=(a?.strokeWidth()||0)/2+1,m=(e,t=0,a=0)=>{o&&(a=h-a);let{translated:i=0,lineClip:r}=e,n=a-i;r?.push(["L",t,Math.abs(n)<p?a-p*(n<=0?-1:1):i])};if(i.length&&(a||e)&&d&&se(d.min)){let t=d.getExtremes().max+f,p=e=>{e.forEach((t,a)=>{("M"===t[0]||"L"===t[0])&&(e[a]=[t[0],u?h-t[1]:t[1],u?t[2]:h-t[2]])})};if(i.forEach(e=>{e.lineClip=[],e.translated=nq(d.toPixels(sr(e.value,t),!0)||0,0,h)}),a&&!this.showLine&&a.hide(),e&&e.hide(),"y"===l&&r.length<n.len)for(let e of r){let{plotX:t,plotY:a,zone:r}=e,n=r&&i[i.indexOf(r)-1];r&&m(r,t,a),n&&m(n,t,a)}let g=[],b=d.toPixels(d.getExtremes().min-f,!0);i.forEach(t=>{let i=t.lineClip||[],r=Math.round(t.translated||0);n.reversed&&i.reverse();let{clip:l,simpleClip:d}=t,h=0,f=0,m=n.len,_=s.len;u?(h=r,m=b):(f=r,_=b);let y=[["M",h,f],["L",m,f],["L",m,_],["L",h,_],["Z"]],x=[y[0],...i,y[1],y[2],...g,y[3],y[4]];g=i.reverse(),b=r,o&&(p(x),e&&p(y)),l?(l.animate({d:x}),d?.animate({d:y})):(l=t.clip=c.path(x),e&&(d=t.simpleClip=c.path(y))),a&&t.graph?.clip(l),e&&t.area?.clip(d)})}else this.visible&&(a&&a.show(),e&&e.show())}plotGroup(e,t,a,i,r){let n=this[e],s=!n,l={visibility:a,zIndex:i||.1};return nX(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(l.opacity=this.opacity),n||(this[e]=n=this.chart.renderer.g().add(r)),n.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(nX(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(n.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),n.attr(l)[s?"attr":"animate"](this.getPlotBox(t)),n}getPlotBox(e){let t=this.xAxis,a=this.yAxis,i=this.chart,r=i.inverted&&!i.polar&&t&&this.invertible&&"series"===e;i.inverted&&(t=a,a=this.xAxis);let n={scale:1,translateX:t?t.left:i.plotLeft,translateY:a?a.top:i.plotTop,name:e};n6(this,"getPlotBox",n);let{scale:s,translateX:l,translateY:o}=n;return{translateX:l,translateY:o,rotation:90*!!r,rotationOriginX:r?s*(t.len-a.len)/2:0,rotationOriginY:r?s*(t.len+a.len)/2:0,scaleX:r?-s:s,scaleY:s}}removeEvents(e){let{eventsToUnbind:t}=this;e||sn(this),t.length&&(t.forEach(e=>{e()}),t.length=0)}render(){let e=this,{chart:t,options:a,hasRendered:i}=e,r=nB(a.animation),n=e.visible?"inherit":"hidden",s=a.zIndex,l=t.seriesGroup,o=e.finishedAnimating?0:r.duration;n6(this,"render"),e.plotGroup("group","series",n,s,l),e.markerGroup=e.plotGroup("markerGroup","markers",n,s,l),!1!==a.clip&&e.setClip(),o&&e.animate?.(!0),e.drawGraph&&(e.drawGraph(),e.applyZones()),e.visible&&e.drawPoints(),e.drawDataLabels?.(),e.redrawPoints?.(),a.enableMouseTracking&&e.drawTracker?.(),o&&e.animate?.(),i||(o&&r.defer&&(o+=r.defer),e.animationTimeout=ss(()=>{e.afterAnimate()},o||0)),e.isDirty=!1,e.hasRendered=!0,n6(e,"afterRender")}redraw(){let e=this.isDirty||this.isDirtyData;this.translate(),this.render(),e&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(e,t){let{xAxis:a,yAxis:i}=this,r=this.chart.inverted;return this.searchKDTree({clientX:r?a.len-e.chartY+a.pos:e.chartX-a.pos,plotY:r?i.len-e.chartX+i.pos:e.chartY-i.pos},t,e)}buildKDTree(e){this.buildingKdTree=!0;let t=this,a=t.options,i=a.findNearestPointBy.indexOf("y")>-1?2:1;delete t.kdTree,ss(function(){t.kdTree=function e(a,i,r){let n,s,l=a?.length;if(l)return n=t.kdAxisArray[i%r],a.sort((e,t)=>
vendor: 13,744 bytes, line 269
269(e[n]||0)-(t[n]||0)),{point:a[s=Math.floor(l/2)],left:e(a.slice(0,s),i+1,r),right:e(a.slice(s+1),i+1,r)}}(t.getValidPoints(void 0,!t.directTouch,a?.nullInteraction),i,i),t.buildingKdTree=!1},a.kdNow||e?.type==="touchstart"?0:1)}searchKDTree(e,t,a,i,r){let n=this,[s,l]=this.kdAxisArray,o=t?"distX":"dist",c=(n.options.findNearestPointBy||"").indexOf("y")>-1?2:1,d=!!n.isBubble,u=i||((e,t,a)=>{let i=e[a]||0,r=t[a]||0;return[i===r&&e.index>t.index||i<r?e:t,!1]}),h=r||((e,t)=>e<t);if(this.kdTree||this.buildingKdTree||this.buildKDTree(a),this.kdTree)return function e(t,a,i,r){let c,f,p,m,g,b,_,y=a.point,x=n.kdAxisArray[i%r],v=y,A=!1;c=t[s],f=y[s],p=nX(c)&&nX(f)?c-f:null,m=t[l],g=y[l],b=nX(m)&&nX(g)?m-g:0,_=d&&y.marker?.radius||0,y.dist=Math.sqrt((p&&p*p||0)+b*b)-_,y.distX=nX(p)?Math.abs(p)-_:Number.MAX_VALUE;let w=(t[x]||0)-(y[x]||0)+(d&&y.marker?.radius||0),E=w<0?"left":"right",S=w<0?"right":"left";return a[E]&&([v,A]=u(y,e(t,a[E],i+1,r),o)),a[S]&&h(Math.sqrt(w*w),v[o],A)&&(v=u(v,e(t,a[S],i+1,r),o)[0]),v}(e,this.kdTree,c,c)}pointPlacementToXValue(){let{options:e,xAxis:t}=this,a=e.pointPlacement;return"between"===a&&(a=t.reversed?-.5:.5),se(a)?a*(e.pointRange||t.pointRange):0}isPointInside(e){let{chart:t,xAxis:a,yAxis:i}=this,{plotX:r=-1,plotY:n=-1}=e;return n>=0&&n<=(i?i.len:t.plotHeight)&&r>=0&&r<=(a?a.len:t.plotWidth)}drawTracker(){let e=this,t=e.options,a=t.trackByArea,i=[].concat((a?e.areaPath:e.graphPath)||[]),r=e.chart,n=r.pointer,s=r.renderer,l=r.options.tooltip?.snap||0,o=()=>{t.enableMouseTracking&&r.hoverSeries!==e&&e.onMouseOver()},c="rgba(192,192,192,"+(nG?1e-4:.002)+")",d=e.tracker;d?d.attr({d:i}):e.graph&&(e.tracker=d=s.path(i).attr({visibility:e.visible?"inherit":"hidden",zIndex:2}).addClass(a?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),r.styledMode||d.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:a?c:"none","stroke-width":e.graph.strokeWidth()+(a?0:2*l)}),[e.tracker,e.markerGroup,...e.dataLabelsGroups||[]].forEach(e=>{e&&(e.addClass("highcharts-tracker").on("mouseover",o).on("mouseout",e=>{n?.onTrackerMouseOut(e)}),t.cursor&&!r.styledMode&&e.css({cursor:t.cursor}),e.on("touchstart",o))})),n6(this,"afterDrawTracker")}addPoint(e,t,a,i,r){let n,s,l=this.options,{chart:o,data:c,dataTable:d,xAxis:u}=this,h=u?.hasNames&&u.names,f=l.data,p=this.getColumn("x");t=sr(t,!0);let m={series:this};this.pointClass.prototype.applyOptions.apply(m,[e]);let g=m.x;if(s=p.length,this.requireSorting&&g<p[s-1])for(n=!0;s&&p[s-1]>g;)s--;d.setRow(m,s,!0,{addColumns:!1}),h&&m.name&&(h[g]=m.name),f?.splice(s,0,e),(n||this.processedData)&&(this.data.splice(s,0,null),this.processData()),"point"===l.legendType&&this.generatePoints(),a&&(c[0]&&c[0].remove?c[0].remove(!1):([c,f].filter(nX).forEach(e=>{e.shift()}),d.deleteRows(0))),!1!==r&&n6(this,"addPoint",{point:m}),this.isDirty=!0,this.isDirtyData=!0,t&&o.redraw(i)}removePoint(e,t,a){let i=this,{chart:r,data:n,points:s,dataTable:l}=i,o=n[e],c=function(){[s?.length===n.length?s:void 0,n,i.options.data].filter(nX).forEach(t=>{t.splice(e,1)}),l.deleteRows(e),o?.destroy(),i.isDirty=!0,i.isDirtyData=!0,t&&r.redraw()};nU(a,r),t=sr(t,!0),o?o.firePointEvent("remove",null,c):c()}remove(e,t,a,i){let r=this,n=r.chart;function s(){r.destroy(i),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(i),sr(e,!0)&&n.redraw(t)}!1!==a?n6(r,"remove",null,s):s()}update(e,t){n6(this,"update",{options:e=n0(e,this.userOptions)});let a=this,i=a.chart,r=a.userOptions,n=a.initialType||a.type,s=i.options.plotOptions,l=nY[n].prototype,o=a.finishedAnimating&&{animation:!1},c={},d,u,h=sl.keepProps.slice(),f=e.type||r.type||i.options.chart.type,p=!(this.hasDerivedData||f&&f!==this.type||void 0!==e.keys||void 0!==e.pointStart||void 0!==e.pointInterval||void 0!==e.relativeXValue||e.joinBy||e.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(e=>a.hasOptionChanged(e)));f=f||n,p?(h.push.apply(h,sl.keepPropsForPoints),!1!==e.visible&&h.push("area","graph"),a.parallelArrays.forEach(function(e){h.push(e+"Data")}),e.data&&(e.dataSorting&&n3(a.options.dataSorting,e.dataSorting),this.setData(e.data,!1))):this.dataTable.modified=this.dataTable,e.dataLabels&&r.dataLabels&&(e.dataLabels=this.mergeArrays(r.dataLabels,e.dataLabels)),e=sa(r,{index:void 0===r.index?a.index:r.index,pointStart:s?.series?.pointStart??r.pointStart??a.getColumn("x")[0]},!p&&{data:a.options.data},e,o),p&&e.data&&(e.data=a.options.data),(h=["dataLabelsGroup","dataLabelsGroups","dataLabelsParentGroups","group","markerGroup","transformGroup"].concat(h)).forEach(function(e){h[e]=a[e],delete a[e]});let m=!1;if(nY[f]){if(m=f!==a.type,a.remove(!1,!1,!1,!0),m)if(i.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(a,nY[f].prototype);else{let e=Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents;for(u in l)a[u]=void 0;n3(a,nY[f].prototype),e?a.hcEvents=e:delete a.hcEvents}}else n2(17,!0,i,{missingModuleFor:f});if(h.forEach(function(e){a[e]=h[e]}),a.init(i,e),p&&this.points)for(let e of(!1===(d=a.options).visible?(c.graphic=1,c.dataLabel=1):(this.hasMarkerChanged(d,r)&&(c.graphic=1),a.hasDataLabels?.()||(c.dataLabel=1)),this.points))e?.series&&(e.resolveColor(),Object.keys(c).length&&e.destroyElements(c),!1===d.showInLegend&&e.legendItem&&i.legend.destroyItem(e));a.initialType=n,i.linkSeries(),i.setSortedData(),m&&a.linkedSeries.length&&(a.isDirtyData=!0),n6(this,"afterUpdate"),sr(t,!0)&&i.redraw(!!p&&void 0)}setName(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0}hasOptionChanged(e){let t=this.chart,a=this.options[e],i=t.options.plotOptions,r=this.userOptions[e],n=sr(i?.[this.type]?.[e],i?.series?.[e]);return r&&!nX(n)?a!==r:a!==sr(n,a)}onMouseOver(){let e=this.chart,t=e.hoverSeries,a=e.pointer;a?.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&n6(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this}onMouseOut(){let e=this.options,t=this.chart,a=t.tooltip,i=t.hoverPoint;t.hoverSeries=null,i&&i.onMouseOut(),this&&e.events.mouseOut&&n6(this,"mouseOut"),a&&!this.stickyTracking&&(!a.shared||this.noSharedTooltip)&&a.hide(),t.series.forEach(function(e){e.setState("",!0)})}setState(e,t){let a=this,{graph:i,options:r}=a,{inactiveOtherPoints:n,states:s}=r,l=sr(s?.[e||"normal"]?.animation,a.chart.options.chart.animation),{lineWidth:o,opacity:c}=r;if(e=e||"",a.state!==e&&([a.group,a.markerGroup,...a.dataLabelsGroups||[]].forEach(function(t){t&&(a.state&&t.removeClass("highcharts-series-"+a.state),e&&t.addClass("highcharts-series-"+e))}),a.state=e,!a.chart.styledMode)){if(s[e]?.enabled===!1)return;if(e&&(o=s[e].lineWidth||o+(s[e].lineWidthPlus||0),c=sr(s[e].opacity,c)),i&&!i.dashstyle&&se(o))for(let e of[i,...this.zones.map(e=>e.graph)])e?.animate({"stroke-width":o},l);n||[a.group,a.markerGroup,...a.dataLabelsGroups||[],a.labelBySeries].forEach(function(e){e?.animate({opacity:c},l)})}t&&n&&a.points&&a.setAllPointsToState(e||void 0)}setAllPointsToState(e){this.points.forEach(function(t){t.setState&&t.setState(e)})}setVisible(e,t){let a=this,i=a.chart,r=i.options.chart.ignoreHiddenSeries,n=a.visible;a.visible=e=a.options.visible=a.userOptions.visible=void 0===e?!n:e;let s=e?"show":"hide";["group","markerGroup","tracker","tt"].forEach(e=>{a[e]?.[s]()}),a.dataLabelsGroups?.forEach(e=>{e?.[s]()}),(i.hoverSeries===a||i.hoverPoint?.series===a)&&a.onMouseOut(),a.legendItem&&i.legend.colorizeItem(a,e),a.isDirty=!0,a.options.stacking&&i.series.forEach(e=>{e.options.stacking&&e.visible&&(e.isDirty=!0)}),a.linkedSeries.forEach(t=>{t.setVisible(e,!1)}),r&&(i.isDirtyBox=!0),n6(a,s),!1!==t&&i.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(e){this.selected=e=this.options.selected=void 0===e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),n6(this,e?"select":"unselect")}shouldShowTooltip(e,t,a={}){return a.series=this,a.visiblePlotOnly=!0,this.chart.isInsidePlot(e,t,a)}drawLegendSymbol(e,t){nj[this.options.legendSymbol||"rectangle"]?.call(this,e,t)}}sl.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:e}=this.series.chart;return"number"!=typeof this.y?"":e(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},sl.types=nF.seriesTypes,sl.registerType=nF.registerSeriesType,sl.keepProps=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],sl.keepPropsForPoints=["data","isDirtyData","isDirtyCanvas","points","dataTable","processedData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"],n3(sl.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:ne,requireSorting:!0,sorted:!0}),nF.series=sl;let so=sl,{animObject:sc,setAnimation:sd}=e4,{registerEventOptions:su}=ip,{composed:sh,marginNames:sf}=M,{distribute:sp}=tI,{format:sm}=tE,{addEvent:sg,createElement:sb,css:s_,defined:sy,discardElement:sx,find:sv,fireEvent:sA,isNumber:sw,merge:sE,pick:sS,pushUnique:sC,relativeLength:sT,stableSort:sN,syncTimeout:sk}=el;class sI{constructor(e,t){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=e,this.setOptions(t),t.enabled&&(this.render(),su(this,t),sg(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),sg(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(e){let t=sS(e.padding,8);this.options=e,this.chart.styledMode||(this.itemStyle=e.itemStyle,this.itemHiddenStyle=sE(this.itemStyle,e.itemHiddenStyle)),this.itemMarginTop=e.itemMarginTop,this.itemMarginBottom=e.itemMarginBottom,this.padding=t,this.initialItemY=t-5,this.symbolWidth=sS(e.symbolWidth,16),this.pages=[],this.proximate="proximate"===e.layout&&!this.chart.inverted,this.baseline=void 0}update(e,t){let a=this.chart;this.setOptions(sE(!0,this.options,e)),"events"in this.options&&su(this,this.options),this.destroy(),a.isDirtyLegend=a.isDirtyBox=!0,sS(t,!0)&&a.redraw(),sA(this,"afterUpdate",{redraw:t})}colorizeItem(e,t){let a=e.color,{area:i,group:r,label:n,line:s,symbol:l}=e.legendItem||{};if((e instanceof so||e instanceof ne)&&(e.color=e.options?.legendSymbolColor||a),r?.[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:a={}}=this,r=a.color,{fillColor:o,fillOpacity:c,lineColor:d,marker:u}=e.options,h=e=>(!t&&(e.fill&&(e.fill=r),e.stroke&&(e.stroke=r)),e);n?.css(sE(t?this.itemStyle:a)),s?.attr(h({stroke:d||e.color})),l&&l.attr(h(u&&l.isMarker?e.pointAttribs():{fill:e.color})),i?.attr(h({fill:o||e.color,"fill-opacity":o?1:c??.75}))}e.color=a,sA(this,"afterColorizeItem",{item:e,visible:t})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(e){let{group:t,x:a=0,y:i=0}=e.legendItem||{},r=this.options,n=r.symbolPadding,s=!r.rtl,l=e.checkbox;if(t?.element){let r={translateX:s?a:this.legendWidth-a-2*n-4,translateY:i},l=()=>{sA(this,"afterPositionItem",{item:e})};t[sy(t.translateY)?"animate":"attr"](r,void 0,l)}l&&(l.x=a,l.y=i)}destroyItem(e){let t=e.legendItem||{};for(let e of["group","label","line","symbol"])t[e]&&(t[e]=t[e].destroy());e.checkbox=sx(e.checkbox),e.legendItem=void 0}destroy(){for(let e of this.getAllItems())this.destroyItem(e);for(let e of["clipRect","up","down","pager","nav","box","title","group"])this[e]&&(this[e]=this[e].destroy());this.display=null}positionCheckboxes(){let e,t=this.group?.alignAttr,a=this.clipHeight||this.legendHeight,i=this.titleHeight;t&&(e=t.translateY,this.allItems.forEach(function(r){let n,s=r.checkbox;s&&(n=e+i+s.y+(this.scrollOffset||0)+3,s_(s,{left:t.translateX+r.checkboxOffset+s.x-20+"px",top:n+"px",display:this.proximate||n>e-6&&n<e+a-6?"":"none"}))},this))}renderTitle(){let e=this.options,t=this.padding,a=e.title,i,r=0;a.text&&(this.title||(this.title=this.chart.renderer.label(a.text,t-3,t-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(a.style),this.title.add(this.group)),a.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(i=this.title.getBBox()).height,this.offsetWidth=i.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r}setText(e){let t=this.options;e.legendItem.label.attr({text:t.labelFormat?sm(t.labelFormat,e,this.chart):t.labelFormatter.call(e)})}renderItem(e){let t=e.legendItem=e.legendItem||{},a=this.chart,i=a.renderer,r=this.options,n="horizontal"===r.layout,s=this.symbolWi
vendor: 2,790 bytes, line 269
269dth,l=r.symbolPadding||0,o=this.itemStyle,c=this.itemHiddenStyle,d=n?sS(r.itemDistance,20):0,u=!r.rtl,h=!e.series,f=!h&&e.series.drawLegendSymbol?e.series:e,p=f.options,m=!!this.createCheckboxForItem&&p&&p.showCheckbox,g=r.useHTML,b=e.options.className,_=t.label,y=s+l+d+20*!!m;!_&&(t.group=i.g("legend-item").addClass("highcharts-"+f.type+"-series highcharts-color-"+e.colorIndex+(b?" "+b:"")+(h?" highcharts-series-"+e.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.label=_=i.text("",u?s+l:-l,this.baseline||0,g),a.styledMode||_.css(sE(e.visible?o:c)),_.attr({align:u?"left":"right",zIndex:2}).add(t.group),!this.baseline&&(this.fontMetrics=i.fontMetrics(_),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,_.attr("y",this.baseline),this.symbolHeight=sS(r.symbolHeight,this.fontMetrics.f),r.squareSymbol&&(this.symbolWidth=sS(r.symbolWidth,Math.max(this.symbolHeight,16)),y=this.symbolWidth+l+d+20*!!m,u&&_.attr("x",this.symbolWidth+l))),f.drawLegendSymbol(this,e),this.setItemEvents&&this.setItemEvents(e,_,g)),m&&!e.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(e),this.colorizeItem(e,e.visible),(a.styledMode||!o.width)&&_.css({width:Math.min(r.itemWidth||this.widthOption||a.spacingBox.width,r.maxWidth?sT(r.maxWidth,a.chartWidth):1/0)-y+"px"}),this.setText(e);let x=_.getBBox(),v=this.fontMetrics?.h||0;e.itemWidth=e.checkboxOffset=r.itemWidth||t.labelWidth||x.width+y,this.maxItemWidth=Math.max(this.maxItemWidth,e.itemWidth),this.totalItemWidth+=e.itemWidth,this.itemHeight=e.itemHeight=Math.round(t.labelHeight||(x.height>1.5*v?x.height:v))}layoutItem(e){let t=this.options,a=this.padding,i="horizontal"===t.layout,r=e.itemHeight,n=this.itemMarginBottom,s=this.itemMarginTop,l=i?sS(t.itemDistance,20):0,o=this.maxLegendWidth,c=t.alignColumns&&this.totalItemWidth>o?this.maxItemWidth:e.itemWidth,d=e.legendItem||{};i&&this.itemX-a+c>o&&(this.itemX=a,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+n),this.lastLineHeight=0),this.lastItemY=s+this.itemY+n,this.lastLineHeight=Math.max(r,this.lastLineHeight),d.x=this.itemX,d.y=this.itemY,i?this.itemX+=c:(this.itemY+=s+r+n,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-a-(e.checkbox?0:l):c)+a,this.offsetWidth)}getAllItems(){let e=[];return this.chart.series.forEach(function(t){let a=t?.options;t&&sS(a.showInLegend,!sy(a.linkedTo)&&void 0,!0)&&(e=e.concat(t.legendItem?.labels||("point"===a.legendType?t.data:t)))}),sA(this,"afterGetAllItems",{allItems:e}),e}getAlignment(){let e=this.options;return this.proximate?e.align.charAt(0)+"tv":e.floating?"":e.align.charAt(0)+e.verticalAlign.charAt(0)+e.layout.charAt(0)}adjustMargins(e,t){let a=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEac
vendor: 1,576 bytes, line 269
269h((n,s)=>{n.test(r)&&!sy(e[s])&&(a[sf[s]]=Math.max(a[sf[s]],a.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*i[s%2?"x":"y"]+(i.margin??12)+t[s]+(a.titleOffset[s]||0)))})}proximatePositions(){let e,t=this.chart,a=[],i="left"===this.options.align;for(let r of(this.allItems.forEach(function(e){let r,n,s=i,l,o;e.yAxis&&(e.xAxis.options.reversed&&(s=!s),e.points&&(r=sv(s?e.points:e.points.slice(0).reverse(),function(e){return sw(e.plotY)})),n=this.itemMarginTop+e.legendItem.label.getBBox().height+this.itemMarginBottom,o=e.yAxis.top-t.plotTop,l=e.visible?(r?r.plotY:e.yAxis.height)+(o-.3*n):o+e.yAxis.height,a.push({target:l,size:n,item:e}))},this),sp(a,t.plotHeight)))e=r.item.legendItem||{},sw(r.pos)&&(e.y=t.plotTop-t.spacing[0]+r.pos)}render(){let e=this.chart,t=e.spacingBox.width,a=e.renderer,i=this.options,r=this.padding,n=this.getAllItems(),s,l,o,c=this.group,d,u=this.box;this.itemX=r,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=sT(i.width,t-r),d=t-2*r-i.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(d/=2),this.maxLegendWidth=this.widthOption||d,c||(this.group=c=a.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=a.g().attr({zIndex:1}).add(c),this.scrollGroup=a.g().add(this.contentGroup)),this.renderTitle(),sN(n,(e,t)=>(e.options?.legendIndex||0)-(t.options?.legendIndex||0)),i.reversed&&n.reverse(),this.allItems=n,this.display=s=!!n.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,n.forEach(this.renderItem,this),n.forEac
vendor: 4,197 bytes, line 269
269h(this.layoutItem,this),l=(i.maxWidth?Math.min(this.widthOption||this.offsetWidth,d,sT(i.maxWidth,e.chartWidth)||1/0):this.widthOption||this.offsetWidth)+r,o=this.lastItemY+this.lastLineHeight+this.titleHeight,o=this.handleOverflow(o)+r,u||(this.box=u=a.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(c)),e.styledMode||u.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),l>0&&o>0&&u[u.placed?"animate":"attr"](u.crisp.call({},{x:0,y:0,width:l,height:o},u.strokeWidth())),c[s?"show":"hide"](),e.styledMode&&"none"===c.getStyle("display")&&(l=o=0),this.legendWidth=l,this.legendHeight=o,s&&this.align(),this.proximate||this.positionItems(),sA(this,"afterRender")}align(e=this.chart.spacingBox){let t=this.chart,a=this.options,i=e.y;/(lth|ct|rth)/.test(this.getAlignment())&&t.titleOffset[0]>0?i+=t.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&t.titleOffset[2]>0&&(i-=t.titleOffset[2]),i!==e.y&&(e=sE(e,{y:i})),t.hasRendered||(this.group.placed=!1),this.group.align(sE(a,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":a.verticalAlign}),!0,e)}handleOverflow(e){let t=this,a=this.chart,i=a.renderer,r=this.options,n=r.y,s="top"===r.verticalAlign,l=this.padding,o=r.maxHeight,c=r.navigation,d=sS(c.animation,!0),u=c.arrowSize||12,h=this.pages,f=this.allItems,p=function(e){"number"==typeof e?A.attr({height:e}):A&&(t.clipRect=A.destroy(),t.contentGroup.clip()),t.contentGroup.div&&(t.contentGroup.div.style.clip=e?"rect("+l+"px,9999px,"+(l+e)+"px,0)":"auto")},m=function(e){return t[e]=i.circle(0,0,1.3*u).translate(u/2,u/2).add(v),a.styledMode||t[e].attr("fill","rgba(0,0,0,0.0001)"),t[e]},g,b,_,y,x=a.spacingBox.height+(s?-n:n)-l,v=this.nav,A=this.clipRect;return"horizontal"!==r.layout||"middle"===r.verticalAlign||r.floating||(x/=2),o&&(x=Math.min(x,o)),h.length=0,e&&x>0&&e>x&&!1!==c.enabled?(this.clipHeight=g=Math.max(x-20-this.titleHeight-l,0),this.currentPage=sS(this.currentPage,1),this.fullHeight=e,f.forEach((e,t)=>{let a=(_=e.legendItem||{}).y||0,i=Math.round(_.label.getBBox().height),r=h.length;(!r||a-h[r-1]>g&&(b||a)!==h[r-1])&&(h.push(b||a),r++),_.pageIx=r-1,b&&y&&(y.pageIx=r-1),t===f.length-1&&a+i-h[r-1]>g&&a>h[r-1]&&(h.push(a),_.pageIx=r),a!==b&&(b=a),y=_}),A||(A=t.clipRect=i.clipRect(0,l-2,9999,0),t.contentGroup.clip(A)),p(g),v||(this.nav=v=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,u,u).add(v),m("upTracker").on("click",function(){t.scroll(-1,d)}),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation"),!a.styledMode&&c.style&&this.pager.css(c.style),this.pager.add(v),this.down=i.symbol("triangle-down",0,0,u,u).add(v),m("downTracker").on("click",function(){t.scroll(1,d)})),t.scroll(0),e=x):v&&(p(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e}scroll(e,t){let a=this.chart,i=this.pages,r=i.length,n=this.clipHeight,s=this.options.navigation,l=this.pager,o=this.padding,c=this.currentPage+e;c>r&&(c=r),c>0&&(void 0!==t&&sd(t,a),this.nav.attr({translateX:o,translateY:n+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(e){e.attr({class:1===c?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),l.attr({text:c+"/"+r}),[this.down,this.downTracker].forEach(function(e){e.attr({x:18+this.pager.getBBox().width,class:c===r?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),a.styledMode||(this.up.attr({fill:1===c?s.inactiveColor:s.activeColor}),this.upTracker.css({cursor:1===c?"default":"pointer"}),this.down.attr({fill:c===r?s.inactiveColor:s.activeColor}),this.downTracker.css({cursor:c===r?"default":"pointer"})),this.scrollOffset=-i[c-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=c,this.positionCheckboxes(),sk(()=>{sA(this,"afterScroll",{currentPage:c})},sc(sS(t,a.renderer.globalAnimation,!0)).duration))}setItemEvents(e,t,a){let i=this,r=e.legendItem||{},n=i.chart.renderer.boxWrapper,s=e instanceof ne,l=e instanceof so,o="highcharts-legend-"+(s?"point":"series")+"-active",c=i.chart.styledMode,d=a?[t,r.symbol]:[r.group],u=t=>
vendor: 3,929 bytes, line 269
269{i.allItems.forEach(a=>{e!==a&&[a].concat(a.linkedSeries||[]).forEach(e=>{e.setState(t,!s)})})};for(let a of d)a&&a.on("mouseover",function(){e.visible&&u("inactive"),e.setState("hover"),e.visible&&n.addClass(o),c||t.css(i.options.itemHoverStyle)}).on("mouseout",function(){i.chart.styledMode||t.css(sE(e.visible?i.itemStyle:i.itemHiddenStyle)),u(""),n.removeClass(o),e.setState()}).on("click",function(t){let a=function(){e.setVisible&&e.setVisible(),u(e.visible?"inactive":"")};n.removeClass(o),sA(i,"itemClick",{browserEvent:t,legendItem:e},a),s?e.firePointEvent("legendItemClick",{browserEvent:t}):l&&sA(e,"legendItemClick",{browserEvent:t})})}createCheckboxForItem(e){e.checkbox=sb("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:e.selected,defaultChecked:e.selected},this.options.itemCheckboxStyle,this.chart.container),sg(e.checkbox,"click",function(t){let a=t.target;sA(e.series||e,"checkboxClick",{checked:a.checked,item:e},function(){e.select()})})}}(h=sI||(sI={})).compose=function(e){sC(sh,"Core.Legend")&&sg(e,"beforeMargins",function(){this.legend=new h(this,this.options.legend)})};let sj=sI,{animate:sP,animObject:sL,setAnimation:sO}=e4,{defaultOptions:sD}=eL,{numberFormat:sM}=tE,{registerEventOptions:sR}=ip,{charts:sF,doc:sB,marginNames:sU,svg:sH,win:s$}=M,{seriesTypes:sG}=nF,{addEvent:sW,attr:sY,createElement:sz,css:sV,defined:sK,diffObjects:sq,discardElement:sQ,erase:sZ,error:sX,extend:sJ,find:s0,fireEvent:s1,getAlignFactor:s2,getStyle:s3,isArray:s4,isNumber:s6,isObject:s5,isString:s8,merge:s7,objectEach:s9,pick:le,pInt:lt,relativeLength:la,removeEvent:li,splat:lr,syncTimeout:ln,uniqueKey:ls}=el;class ll{static chart(e,t,a){return new ll(e,t,a)}constructor(e,t,a){this.sharedClips={};const i=[...arguments];(s8(e)||e.nodeName)&&(this.renderTo=i.shift()),this.init(i[0],i[1])}setZoomOptions(){let e=this.options.chart,t=e.zooming;this.zooming={...t,type:le(e.zoomType,t.type),key:le(e.zoomKey,t.key),pinchType:le(e.pinchType,t.pinchType),singleTouch:le(e.zoomBySingleTouch,t.singleTouch,!1),resetButton:s7(t.resetButton,e.resetZoomButton)}}init(e,t){s1(this,"init",{args:arguments},function(){let a=s7(sD,e),i=a.chart,r=this.renderTo||i.renderTo;this.userOptions=sJ({},e),(this.renderTo=s8(r)?sB.getElementById(r):r)||sX(13,!0,this),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=t,this.isResizing=0,this.options=a,this.axes=[],this.series=[],this.locale=a.lang.locale??this.renderTo.closest("[lang]")?.lang,this.time=new eT(sJ(a.time||{},{locale:this.locale}),a.lang),a.time=this.time.options,this.numberFormatter=(i.numberFormatter||sM).bind(this),this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=sF.length,sF.push(this),M.chartCount++,sR(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),s1(this,"afterInit"),this.firstRender()})}initSeries(e){let t=this.options.chart,a=e.type||t.type,i=sG[a];i||sX(17,!0,this,{missingModuleFor:a});let r=new i;return"function"==typeof r.init&&r.init(this,e),r}setSortedData(){this.getSeriesOrderByLinks().forEach(function(e){e.points||e.data||!e.enabledDataSorting||e.setData(e.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(e,t){return e.linkedSeries.length||t.linkedSeries.length?t.linkedSeries.length-e.linkedSeries.length:0})}orderItems(e,t=0){let a=this[e],i=this.options[e]=lr(this.options[e]).slice(),r=this.userOptions[e]=this.userOptions[e]?lr(this.userOptions[e]).slice():[];if(this.hasRendered&&(i.splice(t),r.splice(t)),a)for(let e=t,n=a.length;e<n;++e){let t=a[e];t&&(t.index=e,t instanceof so&&(t.name=t.getName()),t.options.isInternal||(i[e]=t.options,r[e]=t.userOptions))}}getClipBox(e,t){let a=this.inverted,{xAxis:i,yAxis:r}=e||{},{x:n,y:s,width:l,height:o}=s7(this.clipBox);return e&&(i&&i.len!==this.plotSizeX&&(l=i.len),r&&r.len!==this.plotSizeY&&(o=r.len),a&&!e.invert
vendor: 5,031 bytes, line 269
269ible&&([l,o]=[o,l])),t&&(n+=(a?r:i)?.pos??this.plotLeft,s+=(a?i:r)?.pos??this.plotTop),{x:n,y:s,width:l,height:o}}isInsidePlot(e,t,a={}){let{inverted:i,plotBox:r,plotLeft:n,plotTop:s,scrollablePlotBox:l}=this,{scrollLeft:o=0,scrollTop:c=0}=a.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},d=a.series,u=a.visiblePlotOnly&&l||r,h=a.inverted?t:e,f=a.inverted?e:t,p={x:h,y:f,isInsidePlot:!0,options:a};if(!a.ignoreX){let e=d&&(i&&!this.polar?d.yAxis:d.xAxis)||{pos:n,len:1/0},t=a.paneCoordinates?e.pos+h:n+h;t>=Math.max(o+n,e.pos)&&t<=Math.min(o+n+u.width,e.pos+e.len)||(p.isInsidePlot=!1)}if(!a.ignoreY&&p.isInsidePlot){let e=!i&&a.axis&&!a.axis.isXAxis&&a.axis||d&&(i?d.xAxis:d.yAxis)||{pos:s,len:1/0},t=a.paneCoordinates?e.pos+f:s+f;t>=Math.max(c+s,e.pos)&&t<=Math.min(c+s+u.height,e.pos+e.len)||(p.isInsidePlot=!1)}return s1(this,"afterIsInsidePlot",p),p.isInsidePlot}redraw(e){s1(this,"beforeRedraw");let t=this.hasCartesianSeries?this.axes:this.colorAxis||[],a=this.series,i=this.pointer,r=this.legend,n=this.userOptions.legend,s=this.renderer,l=s.isHidden(),o=[],c,d,u,h=this.isDirtyBox,f=this.isDirtyLegend,p;for(s.rootFontSize=s.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),sO(!!this.hasRendered&&e,this),l&&this.temporaryDisplay(),this.layOutTitles(!1),u=a.length;u--;)if(((p=a[u]).options.stacking||p.options.centerInCategory)&&(d=!0,p.isDirty)){c=!0;break}if(c)for(u=a.length;u--;)(p=a[u]).options.stacking&&(p.isDirty=!0);a.forEach(function(e){e.isDirty&&("point"===e.options.legendType?("function"==typeof e.updateTotals&&e.updateTotals(),f=!0):n&&(n.labelFormatter||n.labelFormat)&&(f=!0)),e.isDirtyData&&s1(e,"updatedData")}),f&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),d&&this.getStacks(),t.forEach(function(e){e.updateNames(),e.setScale()}),this.getMargins(),t.forEach(function(e){e.isDirty&&(h=!0)}),t.forEach(function(e){let t=e.min+","+e.max;e.extKey!==t&&(e.extKey=t,o.push(function(){s1(e,"afterSetExtremes",sJ(e.eventArgs,e.getExtremes())),delete e.eventArgs})),(h||d)&&e.redraw()}),h&&this.drawChartBox(),s1(this,"predraw"),a.forEach(function(e){(h||e.isDirty)&&e.visible&&e.redraw(),e.isDirtyData=!1}),i&&i.reset(!0),s.draw(),s1(this,"redraw"),s1(this,"render"),l&&this.temporaryDisplay(!0),o.forEach(function(e){e.call()})}get(e){let t=this.series;function a(t){return t.id===e||t.options&&t.options.id===e}let i=s0(this.axes,a)||s0(this.series,a);for(let e=0;!i&&e<t.length;e++)i=s0(t[e].points||[],a);return i}createAxes(){let e=this.userOptions;for(let t of(s1(this,"createAxes"),["xAxis","yAxis"]))for(let a of e[t]=lr(e[t]||{}))new i4(this,a,t);s1(this,"afterCreateAxes")}getSelectedPoints(){return this.series.reduce((e,t)=>(t.getPointsCollection().forEach(t=>{le(t.selectedStaging,t.selected)&&e.push(t)}),e),[])}getSelectedSeries(){return this.series.filter(e=>e.selected)}setTitle(e,t,a){this.applyDescription("title",e),this.applyDescription("subtitle",t),this.applyDescription("caption",void 0),this.layOutTitles(a)}applyDescription(e,t){let a=this,i=this.options[e]=s7(this.options[e],t),r=this[e];r&&t&&(this[e]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+e,zIndex:i.zIndex||4}).css({textOverflow:"ellipsis",whiteSpace:"nowrap"}).add()).update=function(t,i){a.applyDescription(e,t),a.layOutTitles(i)},this.styledMode||r.css(sJ("title"===e?{fontSize:this.options.isStock?"1em":"1.2em"}:{},i.style)),r.textPxLength=r.getBBox().width,r.css({whiteSpace:i.style?.whiteSpace}),this[e]=r)}layOutTitles(e=!0){let t=[0,0,0],{options:a,renderer:i,spacingBox:r}=this;["title","subtitle","caption"].forEach(e=>{let a=this[e],n=this.options[e],s=s7(r),l=a?.textPxLength||0;if(a&&n){s1(this,"layOutTitle",{alignTo:s,key:e,textPxLength:l});let r=i.fontMetrics(a),o=r.b,c=r.h,d=n.verticalAlign||"top",u="top"===d,h=u&&n.minScale||1,f="title"===e?u?-3:0:u?t[0]+2:0,p=Math.min(s.width/l,1),m=Math.max(h,p),g=s7({y:"bottom"===d?o:f+o},{align:"title"===e?p<h?"left":"center":this.title?.alignValue},n),b=(n.width||(p>h?this.chartWidth:s.width)/m)+"px";a.alignValue!==g.align&&(a.placed=!1);let _=Math.round(a.css({width:b}).getBBox(n.useHTML).height);if(g.height=_,a.align(g,!1,s).attr({align:g.align,scaleX:m,scaleY:m,"transform-origin":`${s.x+l*m*s2(g.align)} ${c}`}),!n.floating){let e=_*(_<1.2*c?1:m);"top"===d?t[0]=Math.ceil(t[0]+e):"bottom"===d&&(t[2]=Math.ceil(t[2]+e))}}},this),t[0]&&"top"===(a.title?.verticalAlign||"top")&&(t[0]+=a.title?.margin||0),t[2]&&a.caption?.verticalAlign==="bottom"&&(t[2]+=a.caption?.margin||0);let n=!this.titleOffset||this.titleOffset.join(",")!==t.join(",");this.titleOffset=t,s1(this,"afterLayOutTitles"),!this.isDirtyBox&&n&&(this.isDirtyBox=this.isDirtyLegend=n,this.hasRendered&&e&&this.isDirtyBox&&this.redraw())}getContainerBox(){let e=[].map.call(this.renderTo.children,e=>{if(e!==this.container){let t=e.style.display;return e.style.display="none",[e,t]}}),t={width:s3(this.renderTo,"width",!0)||0,height:s3(this.renderTo,"height",!0)||0};
vendor: 9,297 bytes, line 269
269return e.filter(Boolean).forEach(([e,t])=>{e.style.display=t}),t}getChartSize(){let e=this.options.chart,t=e.width,a=e.height,i=this.getContainerBox(),r=i.height<=1||!this.renderTo.parentElement?.style.height&&"100%"===this.renderTo.style.height;this.chartWidth=Math.max(0,t||i.width||600),this.chartHeight=Math.max(0,la(a,this.chartWidth)||(r?400:i.height)),this.containerBox=i}temporaryDisplay(e){let t=this.renderTo,a;if(e)for(;t?.style;)t.hcOrigStyle&&(sV(t,t.hcOrigStyle),delete t.hcOrigStyle),t.hcOrigDetached&&(sB.body.removeChild(t),t.hcOrigDetached=!1),t=t.parentNode;else for(;t?.style&&(sB.body.contains(t)||t.parentNode||(t.hcOrigDetached=!0,sB.body.appendChild(t)),("none"===s3(t,"display",!1)||t.hcOricDetached)&&(t.hcOrigStyle={display:t.style.display,height:t.style.height,overflow:t.style.overflow},a={display:"block",overflow:"hidden"},t!==this.renderTo&&(a.height=0),sV(t,a),t.offsetWidth||t.style.setProperty("display","block","important")),(t=t.parentNode)!==sB.body););}setClassName(e){this.container.className="highcharts-container "+(e||"")}getContainer(){let e,t=this.options,a=t.chart,i="data-highcharts-chart",r=ls(),n=this.renderTo,s=lt(sY(n,i));s6(s)&&sF[s]&&sF[s].hasRendered&&sF[s].destroy(),sY(n,i,this.index),n.innerHTML=to.emptyHTML,a.skipClone||n.offsetWidth||this.temporaryDisplay(),this.getChartSize();let l=this.chartHeight,o=this.chartWidth;sV(n,{overflow:"hidden"}),this.styledMode||(e=sJ({position:"relative",overflow:"hidden",width:o+"px",height:l+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},a.style||{}));let c=sz("div",{id:r},e,n);this.container=c,this.getChartSize(),o!==this.chartWidth&&(o=this.chartWidth,this.styledMode||sV(c,{width:le(a.style?.width,o+"px")})),this.containerBox=this.getContainerBox(),this._cursor=c.style.cursor;let d=a.renderer||!sH?tS.getRendererType(a.renderer):a1;if(this.renderer=new d(c,o,l,void 0,a.forExport,t.exporting?.allowHTML,this.styledMode),sO(void 0,this),this.setClassName(a.className),this.styledMode)for(let e in t.defs)this.renderer.definition(t.defs[e]);else this.renderer.setStyle(a.style);this.renderer.chartIndex=this.index,s1(this,"afterGetContainer")}getMargins(e){let{spacing:t,margin:a,titleOffset:i}=this;this.resetMargins(),i[0]&&!sK(a[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+t[0])),i[2]&&!sK(a[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+t[2])),this.legend?.display&&this.legend.adjustMargins(a,t),s1(this,"getMargins"),e||this.getAxisMargins()}getAxisMargins(){let e=this,t=e.axisOffset=[0,0,0,0],a=e.colorAxis,i=e.margin,r=e=>{e.forEach(e=>{e.visible&&e.getOffset()})};e.hasCartesianSeries?r(e.axes):a?.length&&r(a),sU.forEach((a,r)=>{sK(i[r])||(e[a]+=t[r])}),e.setChartSize()}getOptions(){return sq(this.userOptions,sD)}reflow(e){let t=this,a=t.containerBox,i=t.getContainerBox();delete t.pointer?.chartPosition,!t.exporting?.isPrinting&&!t.isResizing&&a&&i.width&&((i.width!==a.width||i.height!==a.height)&&(el.clearTimeout(t.reflowTimeout),t.reflowTimeout=ln(function(){t.container&&t.setSize(void 0,void 0,!1)},100*!!e)),t.containerBox=i)}setReflow(){let e=this,t=t=>{e.options?.chart.reflow&&e.hasLoaded&&e.reflow(t)};if("function"==typeof ResizeObserver)new ResizeObserver(t).observe(e.renderTo);else{let e=sW(s$,"resize",t);sW(this,"destroy",e)}}setSize(e,t,a){let i=this,r=i.renderer;i.isResizing+=1,sO(a,i);let n=r.globalAnimation;i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==e&&(i.options.chart.width=e),void 0!==t&&(i.options.chart.height=t),i.getChartSize();let{chartWidth:s,chartHeight:l,scrollablePixelsX:o=0,scrollablePixelsY:c=0}=i;(i.isDirtyBox||s!==i.oldChartWidth||l!==i.oldChartHeight)&&(i.styledMode||(n?sP:sV)(i.container,{width:`${s+o}px`,height:`${l+c}px`},n),i.setChartSize(!0),r.setSize(s,l,n),i.axes.forEach(function(e){e.isDirty=!0,e.setScale()}),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(n),i.oldChartHeight=void 0,s1(i,"resize"),setTimeout(()=>{i&&s1(i,"endResize")},sL(n).duration)),i.isResizing-=1}setChartSize(e){let t,a,i,r,{chartHeight:n,chartWidth:s,inverted:l,spacing:o,renderer:c}=this,d=this.clipOffset,u=Math[l?"floor":"round"];this.plotLeft=t=Math.round(this.plotLeft),this.plotTop=a=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-t-(this.marginRight??0))),this.plotHeight=r=Math.max(0,Math.round(n-a-(this.marginBottom??0))),this.plotSizeX=l?r:i,this.plotSizeY=l?i:r,this.spacingBox=c.spacingBox={x:o[3],y:o[0],width:s-o[3]-o[1],height:n-o[0]-o[2]},this.plotBox=c.plotBox={x:t,y:a,width:i,height:r},d&&(this.clipBox={x:u(d[3]),y:u(d[0]),width:u(this.plotSizeX-d[1]-d[3]),height:u(this.plotSizeY-d[0]-d[2])}),e||(this.axes.forEach(function(e){e.setAxisSize(),e.setAxisTranslation()}),c.alignElements()),s1(this,"afterSetChartSize",{skipAxes:e})}resetMargins(){s1(this,"resetMargins");let e=this,t=e.options.chart,a=t.plotBorderWidth||0,i=Math.round(a)/2;["margin","spacing"].forEach(a=>{let i=t[a],r=s5(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach((i,n)=>{e[a][n]=t[`${a}${i}`]??r[n]})}),sU.forEach((t,a)=>{e[t]=e.margin[a]??e.spacing[a]}),e.axisOffset=[0,0,0,0],e.clipOffset=[i,i,i,i],e.plotBorderWidth=a}drawChartBox(){let e=this.options.chart,t=this.renderer,a=this.chartWidth,i=this.chartHeight,r=this.styledMode,n=this.plotBGImage,s=e.backgroundColor,l=e.plotBackgroundColor,o=e.plotBackgroundImage,c=this.plotLeft,d=this.plotTop,u=this.plotWidth,h=this.plotHeight,f=this.plotBox,p=this.clipRect,m=this.clipBox,g=this.chartBackground,b=this.plotBackground,_=this.plotBorder,y,x,v,A="animate";g||(this.chartBackground=g=t.rect().addClass("highcharts-background").add(),A="attr"),r?y=x=g.strokeWidth():(x=(y=e.borderWidth||0)+8*!!e.shadow,v={fill:s||"none"},(y||g["stroke-width"])&&(v.stroke=e.borderColor,v["stroke-width"]=y),g.attr(v).shadow(e.shadow)),g[A]({x:x/2,y:x/2,width:a-x-y%2,height:i-x-y%2,r:e.borderRadius}),A="animate",b||(A="attr",this.plotBackground=b=t.rect().addClass("highcharts-plot-background").add()),b[A](f),!r&&(b.attr({fill:l||"none"}).shadow(e.plotShadow),o&&(n?(o!==n.attr("href")&&n.attr("href",o),n.animate(f)):this.plotBGImage=t.image(o,c,d,u,h).add())),p?p.animate({width:m.width,height:m.height}):this.clipRect=t.clipRect(m),A="animate",_||(A="attr",this.plotBorder=_=t.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),r||_.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),_[A](_.crisp(f,-_.strokeWidth())),this.isDirtyBox=!1,s1(this,"afterDrawChartBox")}propFromSeries(){let e,t,a,i=this,r=i.options.chart,n=i.options.series;["inverted","angular","polar"].forEach(function(s){for(t=sG[r.type],a=r[s]||t&&t.prototype[s],e=n?.length;!a&&e--;)(t=sG[n[e].type])&&t.prototype[s]&&(a=!0);i[s]=a})}linkSeries(e){let t=this,a=t.series;a.forEach(function(e){e.linkedSeries.length=0}),a.forEach(function(e){let{linkedTo:i}=e.options,r=s8(i)&&(":previous"===i?a[e.index-1]:t.get(i));r&&r.linkedParent!==e&&(r.linkedSeries.push(e),e.linkedParent=r,r.enabledDataSorting&&e.setDataSortingOptions(),e.visible=e.options.visible??r.options.visible??e.visible)}),s1(this,"afterLinkSeries",{isUpdating:e})}renderSeries(){this.series.forEach(function(e){e.translate(),e.render()})}render(){let e=this.axes,t=this.colorAxis,a=this.renderer,i=this.options.chart.axisLayoutRuns||2,r=e=>{e.forEach(e=>{e.visible&&e.render()})},n=0,s=!0,l,o=0;for(let t of(this.setTitle(),s1(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),e)){let{options:e}=t,{labels:a}=e;if(this.hasCartesianSeries&&t.horiz&&t.visible&&a.enabled&&t.series.length&&"colorAxis"!==t.coll&&!this.polar){n=e.tickLength,t.createGroups();let i=new iT(t,0,"",!0),r=i.createLabel("x",a);if(i.destroy(),r&&le(a.reserveSpace,!s6(e.crossing))&&(n=r.getBBox().height+a.distance+Math.max(e.offset||0,0)),n){r?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-n,0);(s||l||i>1)&&o<i;){let t=this.plotWidth,a=this.plotHeight;for(let t of e)0===o?t.setScale():(t.horiz&&s||!t.horiz&&l)&&t.setTickInterval(!0);0===o?this.getAxisMargins():this.getMargins(),s=t/this.plotWidth>(o?1:1.1),l=a/this.plotHeight>(o?1:1.05),o++}this.drawChartBox(),this.hasCartesianSeries?r(e):t?.length&&r(t),this.seriesGroup||(this.seriesGroup=a.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(e){let t=this,a=s7(!0,this.options.credits,e);a.enabled&&!this.credits&&(this.credits=this.renderer.text(a.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){a.href&&(s$.location.href=a.href)}).attr({align:a.position.align,zIndex:8}),t.styledMode||this.credits.css(a.style),this.credits.add().align(a.position),this.credits.update=function(e){t.credits=t.credits.destroy(),t.addCredits(e)})}destroy(){let e,t=this,a=t.axes,i=t.series,r=t.container,n=r?.parentNode;for(s1(t,"destroy"),t.renderer.forExport?sZ(sF,t):sF[t.index]=void 0,M.chartCount--,t.renderTo.removeAttribute("data-highcharts-chart"),li(t),e=a.length;e--;)a[e]=a[e].destroy();for(this.scroller?.destroy?.(),e=i.length;e--;)i[e]=i[e].destroy();
vendor: 4,146 bytes, line 269
269["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(e=>{t[e]=t[e]?.destroy?.()}),r&&(r.innerHTML=to.emptyHTML,li(r),n&&sQ(r)),s9(t,function(e,a){delete t[a]})}firstRender(){let e=this,t=e.options;e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.createAxes();let a=s4(t.series)?t.series:[];t.series=[],a.forEach(function(t){e.initSeries(t)}),e.linkSeries(),e.setSortedData(),s1(e,"beforeRender"),e.render(),e.pointer?.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(e){e&&void 0!==this.index&&e.apply(this,[this])},this),s1(this,"load"),s1(this,"render"),sK(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.warnIfCSSNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:e,title:t}=this;e&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(t?.element.textContent||"").replace(/</g,"&lt;")}),e.accessibility&&!1===e.accessibility.enabled||sX('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}warnIfCSSNotLoaded(){this.styledMode&&"0"!==s$.getComputedStyle(this.container).zIndex&&sX(35,!1,this)}addSeries(e,t,a){let i,r=this;return e&&(t=le(t,!0),s1(r,"addSeries",{options:e},function(){i=r.initSeries(e),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(e.data,!1),s1(r,"afterAddSeries",{series:i}),t&&r.redraw(a)})),i}addAxis(e,t,a,i){return this.createAxis(t?"xAxis":"yAxis",{axis:e,redraw:a,animation:i})}addColorAxis(e,t,a){return this.createAxis("colorAxis",{axis:e,redraw:t,animation:a})}createAxis(e,t){let a=new i4(this,t.axis,e);return le(t.redraw,!0)&&this.redraw(t.animation),a}showLoading(e){let t=this,a=t.options,i=a.loading,r=function(){n&&sV(n,{left:t.plotLeft+"px",top:t.plotTop+"px",width:t.plotWidth+"px",height:t.plotHeight+"px"})},n=t.loadingDiv,s=t.loadingSpan;n||(t.loadingDiv=n=sz("div",{className:"highcharts-loading highcharts-loading-hidden"},null,t.container)),s||(t.loadingSpan=s=sz("span",{className:"highcharts-loading-inner"},null,n),sW(t,"redraw",r)),n.className="highcharts-loading",to.setElementHTML(s,le(e,a.lang.loading,"")),!t.styledMode&&(sV(n,sJ(i.style,{zIndex:10})),sV(s,i.labelStyle),t.loadingShown||(sV(n,{opacity:0,display:""}),sP(n,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),t.loadingShown=!0,r()}hideLoading(){let e=this.options,t=this.loadingDiv;t&&(t.className="highcharts-loading highcharts-loading-hidden",this.styledMode||sP(t,{opacity:0},{duration:e.loading.hideDuration||100,complete:function(){sV(t,{display:"none"})}})),this.loadingShown=!1}update(e,t,a,i){let r,n,s,l=this,o={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=e.isResponsiveOptions,d=[];s1(l,"update",{options:e}),c||l.setResponsive(!1,!0),e=sq(e,l.options),l.userOptions=s7(l.userOptions,e);let u=e.chart;u&&(s7(!0,l.options.chart,u),this.setZoomOptions(),"className"in u&&l.setClassName(u.className),("inverted"in u||"polar"in u||"type"in u)&&(l.propFromSeries(),r=!0),"alignTicks"in u&&(r=!0),"events"in u&&sR(this,u),s9(u,function(e,t){-1!==l.propsRequireUpdateSeries.indexOf("chart."+t)&&(n=!0),-1!==l.propsRequireDirtyBox.indexOf(t)&&(l.isDirtyBox=!0),-1!==l.propsRequireReflow.indexOf(t)&&(l.isDirtyBox=!0,c||(s=!0))}),!l.styledMode&&u.style&&l.renderer.setStyle(l.options.chart.style||{})),!l.styledMode&&e.colors&&(this.options.colors=e.colors),s9(e,function(t,a){l[a]&&"function"==typeof l[a].update?l[a].update(t,!1):"function"==typeof l[o[a]]?l[o[a]](t):"colors"!==a&&-1===l.collectionsWithUpdate.indexOf(a)&&s7(!0,l.options[a],e[a]),"chart"!==a&&-1!==l.propsRequireUpdateSeries.indexOf(a)&&(n=!0)}),this.collectionsWithUpdate.forEach(function(t){e[t]&&(lr(e[t]).forEac
vendor: 1,448 bytes, line 269
269h(function(e,i){let r,n=sK(e.id);n&&(r=l.get(e.id)),!r&&l[t]&&(r=l[t][le(e.index,i)])&&(n&&sK(r.options.id)||r.options.isInternal)&&(r=void 0),r&&r.coll===t&&(r.update(e,!1),a&&(r.touched=!0)),!r&&a&&l.collectionsWithInit[t]&&(l.collectionsWithInit[t][0].apply(l,[e].concat(l.collectionsWithInit[t][1]||[]).concat([!1])).touched=!0)}),a&&l[t].forEach(function(e){e.touched||e.options.isInternal?delete e.touched:d.push(e)}))}),d.forEach(function(e){e.chart&&e.remove&&e.remove(!1)}),r&&l.axes.forEach(function(e){e.update({},!1)}),n&&l.getSeriesOrderByLinks().forEach(function(e){e.chart&&e.update({},!1)},this);let h=u?.width,f=u&&(s8(u.height)?la(u.height,h||l.chartWidth):u.height);s||s6(h)&&h!==l.chartWidth||s6(f)&&f!==l.chartHeight?l.setSize(h,f,i):le(t,!0)&&l.redraw(i),s1(l,"afterUpdate",{options:e,redraw:t,animation:i})}setSubtitle(e,t){this.applyDescription("subtitle",e),this.layOutTitles(t)}setCaption(e,t){this.applyDescription("caption",e),this.layOutTitles(t)}showResetZoom(){let e=this,t=sD.lang,a=e.zooming.resetButton,i=a.theme,r="chart"===a.relativeTo||"spacingBox"===a.relativeTo?null:"plotBox";function n(){e.zoomOut()}s1(this,"beforeShowResetZoom",null,function(){e.resetZoomButton=e.renderer.button(t.resetZoom,null,null,n,i).attr({align:a.position.align,title:t.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(a.position,!1,r)}),s1(this,"afterShowResetZoom")}zoomOut(){s1(this,"selection",{resetSelection:!0}
vendor: 2,815 bytes, line 269
269,()=>this.transform({reset:!0,trigger:"zoom"}))}pan(e,t){let a=this,i="object"==typeof t?t:{enabled:t,type:"x"},r=i.type,n=r&&a[({x:"xAxis",xy:"axes",y:"yAxis"})[r]].filter(e=>e.options.panningEnabled&&!e.options.isInternal),s=a.options.chart;s?.panning&&(s.panning=i),s1(this,"pan",{originalEvent:e},()=>{a.transform({axes:n,event:e,to:{x:e.chartX-(a.mouseDownX||0),y:e.chartY-(a.mouseDownY||0)},trigger:"pan"}),sV(a.container,{cursor:"move"})})}transform(e){let{axes:t=this.axes,event:a,from:i={},reset:r,selection:n,to:s={},trigger:l,allowResetButton:o=!0}=e,{inverted:c,time:d}=this;this.hoverPoints?.forEach(e=>e.setState()),s1(this,"transform",e);let u=e.hasZoomed||!1,h,f;for(let e of t){let{horiz:t,len:p,minPointOffset:m=0,options:g,reversed:b}=e,_=t?"width":"height",y=t?"x":"y",x=le(s[_],e.len),v=le(i[_],e.len),A=10>Math.abs(x)?1:x/v,w=(i[y]||0)+v/2-e.pos,E=w-((s[y]??e.pos)+x/2-e.pos)/A,S=b&&!c||!b&&c?-1:1;if(!r&&(w<0||w>e.len))continue;let C=e.chart.polar||e.isOrdinal?0:m*S||0,T=e.toValue(E,!0),N=e.toValue(E+p/A,!0),k=T+C,I=N-C,j=e.allExtremes;if(n&&n[e.coll].push({axis:e,min:Math.min(T,N),max:Math.max(T,N)}),k>I&&([k,I]=[I,k]),1===A&&!r&&"yAxis"===e.coll&&!j){for(let t of e.series){let e=t.getExtremes(t.getProcessedData(!0).modified.getColumn(t.pointValKey||"y")||[],!0);j??(j={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),s6(e.dataMin)&&s6(e.dataMax)&&(j.dataMin=Math.min(e.dataMin,j.dataMin),j.dataMax=Math.max(e.dataMax,j.dataMax))}e.allExtremes=j}let{dataMin:P,dataMax:L,min:O,max:D}=sJ(e.getExtremes(),j||{}),M=d.parse(g.min),R=d.parse(g.max),F=P??M,B=L??R,U=I-k,H=e.categories?0:Math.min(U,B-F),$=F-H*(sK(M)?0:g.minPadding),G=B+H*(sK(R)?0:g.maxPadding),W=e.allowZoomOutside||1===A||"zoom"!==l&&A>1,Y=Math.min(M??$,$,W?O:$),z=Math.max(R??G,G,W?D:G);(!e.isOrdinal||1!==A||r)&&(k<Y&&(k=Y,A>=1&&(I=k+U)),I>z&&(I=z,A>=1&&(k=I-U)),(r||e.series.length&&(k!==O||I!==D)&&k>=Y&&I<=z)&&(n?n[e.coll].push({axis:e,min:k,max:I}):(e.isPanning="zoom"!==l,e.isPanning&&"mousewheel"!==l&&(f=!0),e.setExtremes(r?void 0:k,r?void 0:I,!1,!1,{move:E,trigger:l,scale:A}),!r&&(k>Y||I<z)&&(h=o)),u=!0),this.hasCartesianSeries||r||(h=o),a&&(this[t?"mouseDownX":"mouseDownY"]=a[t?"chartX":"chartY"]))}return u&&(n?s1(this,"selection",n,()=>{delete e.selection,e.trigger="zoom",this.transform(e)}):(!h||f||this.resetZoomButton?!h&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw("zoom"===l&&(this.options.chart.animation??this.pointCount<100)))),u}}sJ(ll.prototype,{callbacks:[],collectionsWithInit:{xAxis:[ll.prototype.addAxis,[!0]],yAxis:[ll.prototype.addAxis,[!1]],series:[ll.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
269dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]});let{stop:lo}=e4,{composed:lc}=M,{addEvent:ld,createElement:lu,css:lh,defined:lf,erase:lp,merge:lm,pushUnique:lg}=el;function lb(){let e=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!e&&(this.scrollablePlotArea=e=new ly(this)),e?.applyFixed()}function l_(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class ly{static compose(e,t,a){lg(lc,this.compose)&&(ld(e,"afterInit",l_),ld(t,"afterSetChartSize",e=>this.afterSetSize(e.target,e)),ld(t,"render",lb),ld(a,"show",l_))}static afterSetSize(e,t){let a,i,r,{minWidth:n,minHeight:s}=e.options.chart.scrollablePlotArea||{},{clipBox:l,plotBox:o,inverted:c,renderer:d}=e;if(!d.forExport)if(n?(e.scrollablePixelsX=a=Math.max(0,n-e.chartWidth),a&&(e.scrollablePlotBox=lm(e.plotBox),o.width=e.plotWidth+=a,l[c?"height":"width"]+=a,r=!0)):s&&(e.scrollablePixelsY=i=Math.max(0,s-e.chartHeight),lf(i)&&(e.scrollablePlotBox=lm(e.plotBox),o.height=e.plotHeight+=i,l[c?"width":"height"]+=i,r=!1)),lf(r)){if(!t.skipAxes)for(let t of e.axes)(t.horiz===r||e.hasParallelCoordinates&&"yAxis"===t.coll)&&(t.setAxisSize(),t.setAxisTranslation())}else delete e.scrollablePlotBox}constructor(e){let t;const a=e.options.chart,i=tS.getRendererType(),r=a.scrollablePlotArea||{},n=this.moveFixedElements.bind(this),s={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};e.scrollablePixelsX&&(s.overflowX="auto"),e.scrollablePixelsY&&(s.overflowY="auto"),this.chart=e;const l=this.parentDiv=lu("div",{className:"highcharts-scrolling-parent"},{position:"relative"},e.renderTo),o=this.scrollingContainer=lu("div",{className:"highcharts-scrolling"},s,l),c=this.innerContainer=lu("div",{className:"highcharts-inner-container"},void 0,o),d=this.fixedDiv=lu("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(a.style?.zIndex||0)+2,top:0},void 0,!0),u=this.fixedRenderer=new i(d,e.chartWidth,e.chartHeight,a.style);this.mask=u.path().attr({fill:a.backgroundColor||"#fff","fill-opacity":r.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),o.parentNode.insertBefore(d,o),lh(e.renderTo,{overflow:"visible"}),ld(e,"afterShowResetZoom",n),ld(e,"afterApplyDrilldown",n),ld(e,"afterLayOutTitles",n),ld(o,"scroll",()=>{let{pointer:a,hoverPoint:i}=e;a&&(delete a.chartPosition,i&&(t=i),a.runPointActions(void 0,t,!0))}),c.appendChild(e.container)}applyFixed(){let{chart:e,fixedRenderer:t,isDirty:a,scrollingContainer:i}=this,{axisOffset:r,chartWidth:n,chartHeight:s,container:l,plotHeight:o,plotLeft:c,plotTop:d,plotWidth:u,scrollablePixelsX:h=0,scrollablePixelsY:f=0}=e,{scrollPositionX:p=0,scrollPositionY:m=0}=e.options.chart.scrollablePlotArea||{},g=n+h,b=s+f;t.setSize(n,s),(a??!0)&&(this.isDirty=!1,this.moveFixedElements()),lo(e.container),lh(l,{width:`${g}px`,height:`${b}px`}),e.renderer.boxWrapper.attr({width:g,height:b,viewBox:["0 0",g,b].join(" ")}),e.chartBackground?.attr({width:g,height:b}),lh(i,{width:`${n}px`,height:`${s}px`}),lf(a)||(i.scrollLeft=h*p,i.scrollTop=f*m);let _=d-r[0]-1,y=c-r[3]-1,x=d+o+r[2]+1,v=c+u+r[1]+1,A=c+u-h,w=d+o-f,E=[["M",0,0]];h?E=[["M",0,_],["L",c-1,_],["L",c-1,x],["L",0,x],["Z"],["M",A,_],["L",n,_],["L",n,x],["L",A,x],["Z"]]:f&&(E=[["M",y,0],["L",y,d-1],["L",v,d-1],["L",v,0],["Z"],["M",y,w],["L",y,s],["L",v,s],["L",v,w],["Z"]]),"adjustHeight"!==e.redrawTrigger&&this.mask.attr({d:E})}moveFixedElements(){let e,{container:t,inverted:a,scrollablePixelsX:i,scrollablePixelsY:r}=this.chart,n=this.fixedRenderer,s=ly.fixedSelectors;if(i&&!a?e=".highcharts-yaxis":i&&a||r&&!a?e=".highcharts-xaxis":r&&a&&(e=".highcharts-yaxis"),e&&!(this.chart.hasParallelCoordinates&&".highcharts-yaxis"===e))for(let t of[`${e}:not(.highcharts-radial-axis)`,`${e}-labels:not(.highcharts-radial-axis-labels)`])lg(s,t);else for(let e of[".highcharts-xaxis",".highcharts-yaxis"])for(let t of[`${e}:not(.highcharts-radial-axis)`,`${e}-labels:not(.highcharts-radial-axis-labels)`])lp(s,t);for(let e of s)[].forEach.call(t.querySelectorAll(e),e=>{(e.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(e),e.style.pointerEvents="auto"})}}ly.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"];let{format:lx}=tE,{series:lv}=nF,{destroyObjectProperties:lA,fireEvent:lw,getAlignFactor:lE,isNumber:lS,pick:lC}=el,lT=class{constructor(e,t,a,i,r){const n=e.chart.inverted,s=e.reversed;this.axis=e;const l=this.isNegative=!!a!=!!s;this.options=t=t||{},this.x=i,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:t.align||(n?l?"left":"right":"center"),verticalAlign:t.verticalAlign||(n?"middle":l?"bottom":"top"),y:t.y,x:t.x},this.textAlign=t.textAlign||(n?l?"right":"left":"center")}destroy(){lA(this,this.axis)}render(e){let t=this.axis.chart,a=this.options,i=a.format,r=i?lx(i,this,t):a.formatter.call(this);if(this.label)this.label.attr({text:r,visibility:"hidden"});else{this.label=t.renderer.label(r,null,void 0,a.shape,void 0,void 0,a.useHTML,!1,"stack-labels");let i={r:a.borderRadius||0,text:r,padding:lC(a.padding,5),visibility:"hidden"};t.styledMode||(i.fill=a.backgroundColor,i.stroke=a.borderColor,i["stroke-width"]=a.borderWidth,this.label.css(a.style||{})),this.label.attr(i),this.label.added||this.label.add(e)}
vendor: 4,497 bytes, line 269
269this.label.labelrank=t.plotSizeY,lw(this,"afterRender")}setOffset(e,t,a,i,r,n){let{alignOptions:s,axis:l,label:o,options:c,textAlign:d}=this,u=l.chart,h=this.getStackBox({xOffset:e,width:t,boxBottom:a,boxTop:i,defaultX:r,xAxis:n}),{verticalAlign:f}=s;if(o&&h){let e=o.getBBox(void 0,0),t=o.padding,a="justify"===lC(c.overflow,"justify"),i;s.x=c.x||0,s.y=c.y||0;let{x:r,y:n}=this.adjustStackPosition({labelBox:e,verticalAlign:f,textAlign:d});h.x-=r,h.y-=n,o.align(s,!1,h),(i=u.isInsidePlot(o.alignAttr.x+s.x+r,o.alignAttr.y+s.y+n))||(a=!1),a&&lv.prototype.justifyDataLabel.call(l,o,s,o.alignAttr,e,h),o.attr({x:o.alignAttr.x,y:o.alignAttr.y,rotation:c.rotation,rotationOriginX:e.width*lE(c.textAlign||"center"),rotationOriginY:e.height/2}),lC(!a&&c.crop,!0)&&(i=lS(o.x)&&lS(o.y)&&u.isInsidePlot(o.x-t+(o.width||0),o.y)&&u.isInsidePlot(o.x+t,o.y)),o[i?"show":"hide"]()}lw(this,"afterSetOffset",{xOffset:e,width:t})}adjustStackPosition({labelBox:e,verticalAlign:t,textAlign:a}){return{x:e.width/2+e.width/2*(2*lE(a)-1),y:e.height/2*2*(1-lE(t))}}getStackBox(e){let t=this.axis,a=t.chart,{boxTop:i,defaultX:r,xOffset:n,width:s,boxBottom:l}=e,o=t.stacking.usePercentage?100:lC(i,this.total,0),c=t.toPixels(o),d=e.xAxis||a.xAxis[0],u=lC(r,d.translate(this.x))+n,h=Math.abs(c-t.toPixels(l||lS(t.min)&&t.logarithmic&&t.logarithmic.lin2log(t.min)||0)),f=a.inverted,p=this.isNegative;return f?{x:(p?c:c-h)-a.plotLeft,y:d.height-u-s+d.top-a.plotTop,width:h,height:s}:{x:u+d.transB-a.plotLeft,y:(p?c-h:c)-a.plotTop,width:s,height:h}}},{getDeferredAnimation:lN}=e4,{series:{prototype:lk}}=nF,{addEvent:lI,correctFloat:lj,defined:lP,destroyObjectProperties:lL,fireEvent:lO,isNumber:lD,objectEach:lM,pick:lR}=el;function lF(){let e=this.inverted;this.axes.forEach(e=>{e.stacking?.stacks&&e.hasVisibleSeries&&(e.stacking.oldStacks=e.stacking.stacks)}),this.series.forEach(t=>{let a=t.xAxis?.options||{};t.options.stacking&&t.reserveSpace()&&(t.stackKey=[t.type,lR(t.options.stack,""),e?a.top:a.left,e?a.height:a.width].join(","))})}function lB(){let e=this.stacking;if(e){let t=e.stacks;lM(t,(e,a)=>{lL(e),delete t[a]}),e.stackTotalGroup?.destroy()}}function lU(){this.stacking||(this.stacking=new lz(this))}function lH(e,t,a,i){return!lP(e)||e.x!==t||i&&e.stackKey!==i?e={x:t,index:0,key:i,stackKey:i}:e.index++,e.key=[a,t,e.index].join(","),e}function l$(){let e,t=this,a=t.yAxis,i=t.stackKey||"",r=a.stacking.stacks,n=t.getColumn("x",!0),s=t.options.stacking,l=t[s+"Stacker"];l&&[i,"-"+i].forEach(a=>{let i=n.length,s,o,c;for(;i--;)s=n[i],e=t.getStackIndicator(e,s,t.index,a),o=r[a]?.[s],(c=o?.points[e.key||""])&&l.call(t,c,o,i)})}function lG(e,t,a){let i=t.total?100/t.total:0;e[0]=lj(e[0]*i),e[1]=lj(e[1]*i),this.stackedYData[a]=e[1]}function lW(e){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&this.chart.series.length>1?lk.setStackedPoints.call(this,e,"group"):e.stacking.resetStacks())}function lY(e,t){let a,i,r,n,s,l,o,c=t||this.options.stacking;if(!c||!this.reserveSpace()||(({group:"xAxis"})[c]||"yAxis")!==e.coll)return;let d=this.getColumn("x",!0),u=this.getColumn(this.pointValKey||"y",!0),h=[],f=u.length,p=this.options,m=p.threshold||0,g=p.startFromThreshold?m:0,b=p.stack,_=t?`${this.type},${c}`:this.stackKey||"",y="-"+_,x=this.negStacks,v=e.stacking,A=v.stacks,w=v.oldStacks;for(v.stacksTouched+=1,o=0;o<f;o++){let t=d[o]||0,f=u[o],p=lD(f)&&f||0;l=(a=this.getStackIndicator(a,t,this.index)).key||"",A[s=(i=x&&p<(g?0:m))?y:_]||(A[s]={}),A[s][t]||(w[s]?.[t]?(A[s][t]=w[s][t],A[s][t].total=null):A[s][t]=new lT(e,e.options.stackLabels,!!i,t,b)),r=A[s][t],null!==f?(r.points[l]=r.points[this.index]=[lR(r.cumulative,g)],lP(r.cumulative)||(r.base=l),r.touched=v.stacksTouched,a.index>0&&!1===this.singleStacks&&(r.points[l][0]=r.points[this.index+","+t+",0"][0])):(delete r.points[l],delete r.points[this.index]);let E=r.total||0;"percent"===c?(n=i?_:y,E=x&&A[n]?.[t]?(n=A[n][t]).total=Math.max(n.total||0,E)+Math.abs(p):lj(E+Math.abs(p))):"group"===c?lD(f)&&E++:E=lj(E+p),"group"===c?r.cumulative=(E||1)-1:r.cumulative=lj(lR(r.cumulative,g)+p),r.total=E,null!==f&&(r.points[l].push(r.cumulative),h[o]=r.cumulative,r.hasValidPoints=!0)}"percent"===c&&(v.usePercentage=!0),"group"!==c&&(this.stackedYData=h),v.oldStacks={}}class lz{constructor(e){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=e}buildStacks(){let e,t,a=this.axis,i=a.series,r="xAxis"===a.coll,n=a.options.reversedStacks,s=i.length;for(this.resetStacks(),this.usePercentage=!1,t=s;t--;
vendor: 4,288 bytes, line 269
269)e=i[n?t:s-t-1],r&&e.setGroupedPoints(a),e.setStackedPoints(a);if(!r)for(t=0;t<s;t++)i[t].modifyStacks();lO(a,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,lM(this.stacks,e=>{lM(e,e=>{e.cumulative=e.total})}))}resetStacks(){lM(this.stacks,e=>{lM(e,(t,a)=>{lD(t.touched)&&t.touched<this.stacksTouched?(t.destroy(),delete e[a]):(t.total=null,t.cumulative=null)})})}renderStackTotals(){let e=this.axis,t=e.chart,a=t.renderer,i=this.stacks,r=lN(t,e.options.stackLabels?.animation||!1),n=this.stackTotalGroup=this.stackTotalGroup||a.g("stack-labels").attr({zIndex:6,opacity:0}).add();n.translate(t.plotLeft,t.plotTop),lM(i,e=>{lM(e,e=>{e.render(n)})}),n.animate({opacity:1},r)}}(T||(T={})).compose=function(e,t,a){let i=t.prototype,r=a.prototype;i.getStacks||(lI(e,"init",lU),lI(e,"destroy",lB),i.getStacks=lF,r.getStackIndicator=lH,r.modifyStacks=l$,r.percentStacker=lG,r.setGroupedPoints=lW,r.setStackedPoints=lY)};let lV=T,{defined:lK,merge:lq,isObject:lQ}=el;class lZ extends so{drawGraph(){let e=this.options,t=(this.gappedPath||this.getGraphPath).call(this),a=this.chart.styledMode;[this,...this.zones].forEach((i,r)=>{let n,s=i.graph,l=s?"animate":"attr",o=i.dashStyle||e.dashStyle;s?(s.endX=this.preventGraphAnimation?null:t.xMap,s.animate({d:t})):t.length&&(i.graph=s=this.chart.renderer.path(t).addClass("highcharts-graph"+(r?` highcharts-zone-graph-${r-1} `:" ")+(r&&i.className||"")).attr({zIndex:1}).add(this.group)),s&&!a&&(n={stroke:!r&&e.lineColor||i.color||this.color||"#cccccc","stroke-width":e.lineWidth||0,fill:this.fillGraph&&this.color||"none"},o?n.dashstyle=o:"square"!==e.linecap&&(n["stroke-linecap"]=n["stroke-linejoin"]="round"),s[l](n).shadow(e.shadow&&lq({filterUnits:"userSpaceOnUse"},lQ(e.shadow)?e.shadow:{}))),s&&(s.startX=t.xMap,s.isArea=t.isArea)})}getGraphPath(e,t,a){let i=this,r=i.options,n=[],s=[],l,o=r.step,c=(e=e||i.points).reversed;return c&&e.reverse(),(o=({right:1,center:2})[o]||o&&3)&&c&&(o=4-o),(e=this.getValidPoints(e,!1,r.nullInteraction||!(r.connectNulls&&!t&&!a))).forEach(function(c,d){let u,h=c.plotX,f=c.plotY,p=e[d-1],m=c.isNull||"number"!=typeof f;(c.leftCliff||p?.rightCliff)&&!a&&(l=!0),m&&!lK(t)&&d>0?l=!r.connectNulls:m&&!t?l=!0:(0===d||l?u=[["M",c.plotX,c.plotY]]:i.getPointSpline?u=[i.getPointSpline(e,c,d)]:o?(u=1===o?[["L",p.plotX,f]]:2===o?[["L",(p.plotX+h)/2,p.plotY],["L",(p.plotX+h)/2,f]]:[["L",h,p.plotY]]).push(["L",h,f]):u=[["L",h,f]],s.push(c.x),o&&(s.push(c.x),2===o&&s.push(c.x)),n.push.apply(n,u),l=!1)}),n.xMap=s,i.graphPath=n,n}}lZ.defaultOptions=lq(so.defaultOptions,{legendSymbol:"lineMarker"}),nF.registerSeriesType("line",lZ);let{seriesTypes:{line:lX}}=nF,{extend:lJ,merge:l0,objectEach:l1,pick:l2}=el;class l3 extends lX{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:e,options:t}=this;[this,...this.zones].forEach((a,i)=>{let r={},n=a.fillColor||t.fillColor,s=a.area,l=s?"animate":"attr";s?(s.endX=this.preventGraphAnimation?null:e.xMap,s.animate({d:e})):(r.zIndex=0,(s=a.area=this.chart.renderer.path(e).addClass("highcharts-area"+(i?` highcharts-zone-area-${i-1} `:" ")+(i&&a.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(r.fill=n||a.color||this.color,r["fill-opacity"]=n?1:t.fillOpacity??.75,s.css({pointerEvents:this.stickyTracking?"none":"auto"})),s[l](r),s.startX=e.xMap,s.shiftUnit=t.step?2:1})}getGraphPath(e){let t,a,i,r=lX.prototype.getGraphPath,n=this.options,s=n.stacking,l=this.yAxis,o=[],c=[],d=this.index,u=l.stacking.stacks[this.stackKey],h=n.threshold,f=Math.round(l.getThreshold(n.threshold)),p=l2(n.connectNulls,"percent"===s),m=function(a,i,r){let n=e[a],p=s&&u[n.x].points[d],m=n[r+"Null"]||0,g=n[r+"Cliff"]||0,b,_,y=!0;g||m?(b=(m?p[0]:p[1])+g,_=p[0]+g,y=!!m):!s&&e[i]&&e[i].isNull&&(b=_=h),void 0!==b&&(c.push({plotX:t,plotY:null===b?f:l.getThreshold(b),isNull:y,isCliff:!0}),o.push({plotX:t,plotY:null===_?f:l.getThreshold(_),doCurve:!1}))};e=e||this.points,s&&(e=this.getStackPoints(e));for(let r=0,n=e.length;r<n;++r)s||(e[r].leftCliff=e[r].rightCliff=e[r].leftNull=e[r].rightNull=void 0),a=e[r].isNull,t=l2(e[r].rectPlotX,e[r].plotX),i=s?l2(e[r].yBottom,f):f,(!a||p)&&(p||m(r,r-1,"left"),a&&!s&&p||(c.push(e[r]),o.push({x:r,plotX:t,plotY:i})),p||m(r,r+1,"right"));let g=r.call(this,c,!0,!0);o.reversed=!0;
vendor: 1,961 bytes, line 269
269let b=r.call(this,o,!0,!0),_=b[0];_&&"M"===_[0]&&(b[0]=["L",_[1],_[2]]);let y=g.concat(b);y.length&&y.push(["Z"]);let x=r.call(this,c,!1,p);return this.chart.series.length>1&&s&&c.some(e=>e.isCliff)&&(y.hasStackedCliffs=x.hasStackedCliffs=!0),y.xMap=g.xMap,this.areaPath=y,x}getStackPoints(e){let t=this,a=[],i=[],r=this.xAxis,n=this.yAxis,s=n.stacking.stacks[this.stackKey],l={},o=n.series,c=o.length,d=n.options.reversedStacks?1:-1,u=o.indexOf(t);if(e=e||this.points,this.options.stacking){for(let t=0;t<e.length;t++)e[t].leftNull=e[t].rightNull=void 0,l[e[t].x]=e[t];l1(s,function(e,t){null!==e.total&&i.push(t)}),i.sort(function(e,t){return e-t});let h=o.map(e=>e.visible);i.forEach(function(e,f){let p=0,m,g;if(l[e]&&!l[e].isNull)a.push(l[e]),[-1,1].forEach(function(a){let r=1===a?"rightNull":"leftNull",n=s[i[f+a]],p=0;if(n){let a=u;for(;a>=0&&a<c;){let i=o[a].index;!(m=n.points[i])&&(i===t.index?l[e][r]=!0:h[a]&&(g=s[e].points[i])&&(p-=g[1]-g[0])),a+=d}}l[e][1===a?"rightCliff":"leftCliff"]=p});else{let t=u;for(;t>=0&&t<c;){let a=o[t].index;if(m=s[e].points[a]){p=m[1];break}t+=d}p=l2(p,0),p=n.translate(p,0,1,0,1),a.push({isNull:!0,plotX:r.translate(e,0,0,0,1),x:e,plotY:p,yBottom:p})}})}return a}}l3.defaultOptions=l0(lX.defaultOptions,{threshold:0,legendSymbol:"areaMarker"}),lJ(l3.prototype,{singleStacks:!1}),nF.registerSeriesType("area",l3);let{line:l4}=nF.seriesTypes,{merge:l6,pick:l5}=el;class l8 extends l4{getPointSpline(e,t,a){let i,r,n,s,l=t.plotX||0,o=t.plotY||0,c=e[a-1],d=e[a+1];function u(e){return e&&!e.isNull&&!1!==e.doCurve&&!t.isCliff}if(u(c)&&u(d)){let e=c.plotX||0,a=c.plotY||0,u=d.plotX||0,h=d.plotY||0,f=0;i=(1.5*l+e)/2.5,r=(1.5*o+a)/2.5,n=(1.5*l+u)/2.5,s=(1.5*o+h)/2.5,n!==i&&(f=(s-r)*(n-l)/(n-i)+o-s),r+=f,s+=f,r>a&&r>o?(r=Math.max(a,o),s=2*o-r):r<a&&r<o&&(r=Math.min(a,o),s=2*o-r),s>h&&s>o?(s=Math.max(h,o),r=2*o-s):s<h&&s<o&&(s=Math.min(h,o),r=2*o-s),t.rightContX=n,t.rightContY=s,t.controlPoints={low:[i,r],high:[n,s]}}
vendor: 4,540 bytes, line 269
269let h=["C",l5(c.rightContX,c.plotX,0),l5(c.rightContY,c.plotY,0),l5(i,l,0),l5(r,o,0),l,o];return c.rightContX=c.rightContY=void 0,h}}l8.defaultOptions=l6(l4.defaultOptions),nF.registerSeriesType("spline",l8);let l7=l8,{area:l9,area:{prototype:oe}}=nF.seriesTypes,{extend:ot,merge:oa}=el;class oi extends l7{}oi.defaultOptions=oa(l7.defaultOptions,l9.defaultOptions),ot(oi.prototype,{getGraphPath:oe.getGraphPath,getStackPoints:oe.getStackPoints,drawGraph:oe.drawGraph}),nF.registerSeriesType("areaspline",oi);let{animObject:or}=e4,{parse:on}=e$,{noop:os}=M,{clamp:ol,crisp:oo,defined:oc,extend:od,fireEvent:ou,isArray:oh,isNumber:of,merge:op,pick:om,objectEach:og}=el;class ob extends so{animate(e){let t,a,i=this,r=this.yAxis,n=r.pos,s=r.reversed,l=i.options,{clipOffset:o,inverted:c}=this.chart,d={},u=c?"translateX":"translateY";e&&o?(d.scaleY=.001,a=ol(r.toPixels(l.threshold||0),n,n+r.len),c?d.translateX=(a+=s?-Math.floor(o[0]):Math.ceil(o[2]))-r.len:d.translateY=a+=s?Math.ceil(o[0]):-Math.floor(o[2]),i.clipBox&&i.setClip(),i.group.attr(d)):(t=Number(i.group.attr(u)),i.group.animate({scaleY:1},od(or(i.options.animation),{step:function(e,a){i.group&&(d[u]=t+a.pos*(n-t),i.group.attr(d))}})))}init(e,t){super.init.apply(this,arguments);let a=this;(e=a.chart).hasRendered&&e.series.forEach(function(e){e.type===a.type&&(e.isDirty=!0)})}getColumnMetrics(){let e=this,t=e.options,a=e.xAxis,i=e.yAxis,r=a.options.reversedStacks,n=a.reversed&&!r||!a.reversed&&r,s={},l,o=0;!1===t.grouping?o=1:e.chart.series.forEach(function(t){let a,r=t.yAxis,n=t.options;t.type===e.type&&t.reserveSpace()&&i.len===r.len&&i.pos===r.pos&&(n.stacking&&"group"!==n.stacking?(void 0===s[l=t.stackKey]&&(s[l]=o++),a=s[l]):!1!==n.grouping&&(a=o++),t.columnIndex=a)});let c=Math.min(Math.abs(a.transA)*(!a.brokenAxis?.hasBreaks&&a.ordinal?.slope||t.pointRange||a.closestPointRange||a.tickInterval||1),a.len),d=c*t.groupPadding,u=(c-2*d)/(o||1),h=Math.min(t.maxPointWidth||a.len,om(t.pointWidth,u*(1-2*t.pointPadding))),f=(e.columnIndex||0)+ +!!n;return e.columnMetrics={width:h,offset:(u-h)/2+(d+f*u-c/2)*(n?-1:1),paddedWidth:u,columnCount:o},e.columnMetrics}crispCol(e,t,a,i){let r=this.borderWidth,n=this.chart.inverted;return i=oo(t+i,r,n)-(t=oo(t,r,n)),this.options.crisp&&(a=oo(e+a,r)-(e=oo(e,r))),{x:e,y:t,width:a,height:i}}adjustForMissingColumns(e,t,a,i){if(!a.isNull&&i.columnCount>1){let r=this.xAxis.series.filter(e=>e.visible).map(e=>e.index),n=0,s=0;og(this.xAxis.stacking?.stacks,e=>{let t="number"==typeof a.x?e[a.x.toString()]?.points:void 0,i=t?.[this.index],l={};if(t&&oh(i)){let e=this.index,a=Object.keys(t).filter(e=>!e.match(",")&&t[e]&&t[e].length>1).map(parseFloat).filter(e=>-1!==r.indexOf(e)).filter(t=>{let a=this.chart.series[t].options,i=a.stacking&&a.stack;if(oc(i)){if(of(l[i]))return e===t&&(e=l[i]),!1;l[i]=t}return!0}).sort((e,t)=>t-e);n=a.indexOf(e),s=a.length}}),n=this.xAxis.reversed?s-1-n:n;let l=(s-1)*i.paddedWidth+t;e=(a.plotX||0)+l/2-t-n*i.paddedWidth}return e}translate(){let e=this,t=e.chart,a=e.options,i=e.dense=e.closestPointRange*e.xAxis.transA<2,r=e.borderWidth=om(a.borderWidth,+!i),n=e.xAxis,s=e.yAxis,l=a.threshold,o=om(a.minPointLength,5),c=e.getColumnMetrics(),d=c.width,u=e.pointXOffset=c.offset,h=e.dataMin,f=e.dataMax,p=e.translatedThreshold=s.getThreshold(l),m=e.barW=Math.max(d,1+2*r);a.pointPadding&&a.crisp&&(m=Math.ceil(m)),so.prototype.translate.apply(e),e.points.forEach(function(i){let r=om(i.yBottom,p),g=999+Math.abs(r),b=i.plotX||0,_=ol(i.plotY,-g,s.len+g),y,x=Math.min(_,r),v=Math.max(_,r)-x,A=d,w=b+u,E=m;o&&Math.abs(v)<o&&(v=o,y=!s.reversed&&!i.negative||s.reversed&&i.negative,of(l)&&of(f)&&i.y===l&&f<=l&&(s.min||0)<l&&(h!==f||(s.max||0)<=l)&&(y=!y,i.negative=!i.negative),x=Math.abs(x-p)>o?r-o:p-(y?o:0)),oc(i.options.pointWidth)&&(w-=Math.round(((A=E=Math.ceil(i.options.pointWidth))-d)/2)),a.centerInCategory&&(w=e.adjustForMissingColumns(w,A,i,c)),i.barX=w,i.pointWidth=A,i.tooltipPos=t.inverted?[ol(s.len+s.pos-t.plotLeft-_,s.pos-t.plotLeft,s.len+s.pos-t.plotLeft),n.len+n.pos-t.plotTop-w-E/2,v]:[n.left-t.plotLeft+w+E/2,ol(_+s.pos-t.plotTop,s.pos-t.plotTop,s.len+s.pos-t.plotTop),v],i.shapeType=e.pointClass.prototype.shapeType||"roundedRect",i.shapeArgs=e.crispCol(w,x,E,i.isNull?0:v)}),ou(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(e,t){let a=this.options,i=this.pointAttrToOptions||{},r=i.stroke||"borderColor",n=i["stroke-width"]||"borderWidth",s,l,o,c=e&&e.color||this.color,d=e&&e[r]||a[r]||
269c,u=e&&e.options.dashStyle||a.dashStyle,h=e&&e[n]||a[n]||this[n]||0,f=e?.isNull&&a.nullInteraction?0:e?.opacity??a.opacity??1;e&&this.zones.length&&(l=e.getZone(),c=e.options.color||l&&(l.color||e.nonZonedColor)||this.color,l&&(d=l.borderColor||d,u=l.dashStyle||u,h=l.borderWidth||h)),t&&e&&(o=(s=op(a.states[t],e.options.states?.[t]||{})).brightness,c=s.color||void 0!==o&&on(c).brighten(s.brightness).get()||c,d=s[r]||d,h=s[n]||h,u=s.dashStyle||u,f=om(s.opacity,f));let p={fill:c,stroke:d,"stroke-width":h,opacity:f};return u&&(p.dashstyle=u),p}drawPoints(e=this.points){let t,a=this,i=this.chart,r=a.options,n=r.nullInteraction,s=i.renderer,l=r.animationLimit||250;e.forEach(function(e){let o=e.plotY,c=e.graphic,d=!!c,u=c&&i.pointCount<l?"animate":"attr";of(o)&&(null!==e.y||n)?(t=e.shapeArgs,c&&e.hasNewShapeType()&&(c=c.destroy()),a.enabledDataSorting&&(e.startXPos=a.xAxis.reversed?-(t&&t.width||0):a.xAxis.width),!c&&(e.graphic=c=s[e.shapeType](t).add(e.group||a.group),c&&a.enabledDataSorting&&i.hasRendered&&i.pointCount<l&&(c.attr({x:e.startXPos}),d=!0,u="animate")),c&&d&&c[u](op(t)),i.styledMode||c[u](a.pointAttribs(e,e.selected&&"select")).shadow(!1!==e.allowShadow&&r.shadow),c&&(c.addClass(e.getClassName(),!0),c.attr({visibility:e.visible?"inherit":"hidden"}))):c&&(e.graphic=c.destroy())})}drawTracker(e=this.points){let t,a=this,i=a.chart,r=i.pointer,n=function(e){r?.normalize(e);let t=r?.getPointFromEvent(e);r&&t&&a.options.enableMouseTracking&&(i.isInsidePlot(e.chartX-i.plotLeft,e.chartY-i.plotTop,{visiblePlotOnly:!0})||r?.inClass(e.target,"highcharts-data-label"))&&(r.isDirectTouch=!0,t.onMouseOver(e))};e.forEach(function(e){t=oh(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach(function(t){(t.div||t.element).point=e})}),a._hasTracking||(a.trackerGroups?.reduce((e,t)=>("dataLabelsGroup"===t?e.push(...a.dataLabelsGroups||[]):e.push(a[t]),e),[]).forEach(e=>{e&&(e.addClass("highcharts-tracker").on("mouseover",n).on("mouseout",function(e){r?.onTrackerMouseOut(e)}).on("touchstart",n),!i.styledMode&&a.options.cursor&&e.css({cursor:a.options.cursor}))}),a._hasTracking=!0),ou(this,"afterDrawTracker")}remove(){let e=this,t=e.chart;t.hasRendered&&t.series.forEach(function(t){t.type===e.type&&(t.isDirty=!0)}),so.prototype.remove.apply(e,arguments)}}ob.defaultOptions=op(so.defaultOptions,{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),od(ob.prototype,{directTouch:!0,getSymbol:os,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),nF.registerSeriesType("column",ob);let o_=ob,{getDeferredAnimation:oy}=e4,{format:ox}=tE,{defined:ov,extend:oA,fireEvent:ow,getAlignFactor:oE,isArray:oS,isString:oC,merge:oT,objectEach:oN,pick:ok,pInt:oI,splat:oj}=el;!function(e){function t(){return o(this).some(e=>e?.enabled)}function a(e,t,a,i,r){let{chart:n,enabledDataSorting:s}=this,l=this.isCartesian&&n.inverted,o=e.plotX,c=e.plotY,d=a.rotation||0,u=ov(o)&&ov(c)&&n.isInsidePlot(o,Math.round(c),{inverted:l,paneCoordinates:!0,series:this}),h=0===d&&"justify"===ok(a.overflow,s?"none":"justify"),f=this.visible&&!1!==e.visible&&ov(o)&&(e.series.forceDL||s&&!h||u||ok(a.inside,!!this.options.stacking)&&i&&n.isInsidePlot(o,l?i.x+1:i.y+i.height-1,{inverted:l,paneCoordinates:!0,series:this})),p=e.pos();if(f&&p){var m;let o=t.getBBox(),c=t.getBBox(void 0,0);if(i=oA({x:p[0],y:Math.round(p[1]),width:0,height:0},i||{}),"plotEdges"===a.alignTo&&this.isCartesian&&(i[l?"x":"y"]=0,i[l?"width":"height"]=this.yAxis?.len||0),oA(a,{width:o.width,height:o.height}),m=i,s&&this.xAxis&&!h&&this.setDataLabelStartPos(e,t,r,u,m),t.align(oT(a,{width:c.width,height:c.height}),!1,i,!1),t.alignAttr.x+=oE(a.align)*(c.width-o.width),t.alignAttr.y+=oE(a.verticalAlign)*(c.height-o.height),t[t.placed?"animate":"attr"]({"text-align":t.alignAttr["text-align"]||"center",x:t.alignAttr.x+(o.width-c.width)/2,y:t.alignAttr.y+(o.height-c.height)/2,rotationOriginX:(t.width||0)/2,rotationOriginY:(t.height||0)/2}),h&&i.height>=0)this.justifyDataLabel(t,a,t.alignAttr,o,i,r);else if(ok(a.crop,!0)){let{x:e,y:a}=t.alignAttr;f=n.isInsidePlot(e,a,{paneCoordinates:!0,series:this})&&n.isInsidePlot(e+o.width-1,a+o.height-1,{paneCoordinates:!0,series:this})}a.shape&&!d&&t[r?"attr":"animate"]({anchorX:p[0],anchorY:p[1]})}r&&s&&(t.placed=!1),f||s&&!h?(t.show(),t.placed=!0):(t.hide(),t.placed=!1)}function i(e,t){ow(this,"initDataLabelsGroup",{index:e,zIndex:t?.zIndex??6}),this.dataLabelsGroup=this.dataLabelsGroups?.[e];let a=this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",t?.zIndex??6,this.dataLabelsParentGroups?.[e]);return this.dataLabelsGroups||(this.dataLabelsGroups=[]),this.dataLabelsGroups[e]=a,this.dataLabelsGroup=this.dataLabelsGroups[0],a}function r(e,t,a){let i=!!this.hasRendered,r=this.initDataLabelsGroup(e,a).attr({opacity:+i});return!i&&r&&(this.visible&&r.show(),this.options.animation?r.animate({opacity:1},t):r.attr({opacity:1})),r}function n(e){let t;e=e||this.points;let a=this,i=a.chart,r=a.options,n=i.renderer,{backgroundColor:s,plotBackgroun
269dColor:c}=i.options.chart,d=n.getContrast(oC(c)&&c||oC(s)&&s||"#000000"),u=o(a),{animation:h,defer:f}=u[0],p=f?oy(i,h,a):{defer:0,duration:0};ow(this,"drawDataLabels"),a.hasDataLabels?.()&&e.forEach(e=>{let s=e.dataLabels||[],o=e.color||a.color;oj(l(u,e.dlOptions||e.options?.dataLabels)).forEach((l,c)=>{t=this.initDataLabels(c,p,l);let u=l.enabled&&(e.visible||e.dataLabelOnHidden)&&(!e.isNull||e.dataLabelOnNull)&&function(e,t){let a=t.filter;if(a){let t=a.operator,i=e[a.property],r=a.value;return">"===t&&i>r||"<"===t&&i<r||">="===t&&i>=r||"<="===t&&i<=r||"=="===t&&i==r||"==="===t&&i===r||"!="===t&&i!=r||"!=="===t&&i!==r||!1}return!0}(e,l),{backgroundColor:h,borderColor:f,distance:m,style:g={}}=l,b,_,y,x={},v=s[c],A=!v,w;u&&(_=ov(b=ok(l[e.formatPrefix+"Format"],l.format))?ox(b,e,i):(l[e.formatPrefix+"Formatter"]||l.formatter).call(e,l),y=l.rotation,!i.styledMode&&(g.color=ok(l.color,g.color,oC(a.color)?a.color:void 0,"#000000"),"contrast"===g.color?("none"!==h&&(w=h),e.contrastColor=n.getContrast("auto"!==w&&oC(w)&&w||(oC(o)?o:"")),g.color=w||!ov(m)&&l.inside||0>oI(m||0)||r.stacking?e.contrastColor:d):delete e.contrastColor,r.cursor&&(g.cursor=r.cursor)),x={r:l.borderRadius||0,rotation:y,padding:l.padding,zIndex:1},i.styledMode||(x.fill="auto"===h?e.color:h,x.stroke="auto"===f?e.color:f,x["stroke-width"]=l.borderWidth),oN(x,(e,t)=>{void 0===e&&delete x[t]})),!v||u&&ov(_)&&!!(v.div||v.text?.foreignObject)==!!l.useHTML&&(v.rotation&&l.rotation||v.rotation===l.rotation)||(v=void 0,A=!0),u&&ov(_)&&""!==_&&(v?x.text=_:(v=n.label(_,0,0,l.shape,void 0,void 0,l.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+e.colorIndex+" "+(l.className||"")+(l.useHTML?" highcharts-tracker":"")),v&&(v.options=l,v.attr(x),i.styledMode?g.width&&v.css({width:g.width,textOverflow:g.textOverflow,whiteSpace:g.whiteSpace}):v.css(g).shadow(l.shadow),ow(v,"beforeAddingDataLabel",{labelOptions:l,point:e}),v.added||v.add(t),a.alignDataLabel(e,v,l,void 0,A),v.isActive=!0,s[c]&&s[c]!==v&&s[c].destroy(),s[c]=v))});let c=s.length;for(;c--;)s[c]?.isActive?s[c].isActive=!1:(s[c]?.destroy(),s.splice(c,1));e.dataLabel=s[0],e.dataLabels=s}),ow(this,"afterDrawDataLabels")}function s(e,t,a,i,r,n){let s=this.chart,l=t.align,o=t.verticalAlign,c=e.box?0:e.padding||0,d=s.inverted?this.yAxis:this.xAxis,u=d?d.left-s.plotLeft:0,h=s.inverted?this.xAxis:this.yAxis,f=h?h.top-s.plotTop:0,{x:p=0,y:m=0}=t,g,b;return(g=(a.x||0)+c+u)<0&&("right"===l&&p>=0?(t.align="left",t.inside=!0):p-=g,b=!0),(g=(a.x||0)+i.width-c+u)>s.plotWidth&&("left"===l&&p<=0?(t.align="right",t.inside=!0):p+=s.plotWidth-g,b=!0),(g=a.y+c+f)<0&&("bottom"===o&&m>=0?(t.verticalAlign="top",t.inside=!0):m-=g,b=!0),(g=(a.y||0)+i.height-c+f)>s.plotHeight&&("top"===o&&m<=0?(t.verticalAlign="bottom",t.inside=!0):m+=s.plotHeight-g,b=!0),b&&(t.x=p,t.y=m,e.placed=!n,e.align(t,void 0,r)),b}function l(e,t){let a=[],i;if(oS(e)&&!oS(t))a=e.map(function(e){return oT(e,t)});else if(oS(t)&&!oS(e))a=t.map(function(t){return oT(e,t)});else if(oS(e)||oS(t)){if(oS(e)&&oS(t))for(i=Math.max(e.length,t.length);i--;)a[i]=oT(e[i],t[i])}else a=oT(e,t);return a}function o(e){let t=e.chart.options.plotOptions;return oj(l(l(t?.series?.dataLabels,t?.[e.type]?.dataLabels),e.options.dataLabels))}function c(e,t,a,i,r){let n=this.chart,s=n.inverted,l=this.xAxis,o=l.reversed,c=((s?t.height:t.width)||0)/2,d=e.pointWidth,u=d?d/2:0;t.startXPos=s?r.x:o?-c-u:l.width-c+u,t.startYPos=s?o?this.yAxis.height-c+u:-c-u:r.y,i?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0}
vendor: 6,188 bytes, line 269
269,void 0,t.hide),n.hasRendered&&(a&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)}e.compose=function(e){let o=e.prototype;o.initDataLabels||(o.initDataLabels=r,o.initDataLabelsGroup=i,o.alignDataLabel=a,o.drawDataLabels=n,o.justifyDataLabel=s,o.mergeArrays=l,o.setDataLabelStartPos=c,o.hasDataLabels=t)}}(N||(N={}));let oP=N,{composed:oL}=M,{series:oO}=nF,{merge:oD,pushUnique:oM}=el;function oR(e,t,a,i,r){let{chart:n,options:s}=this,l=n.inverted,o=this.xAxis?.len||n.plotSizeX||0,c=this.yAxis?.len||n.plotSizeY||0,d=e.dlBox||e.shapeArgs,u=e.below??(e.plotY||0)>(this.translatedThreshold??c),h=a.inside??!!s.stacking;if(d){if(i=oD(d),"allow"!==a.overflow||!1!==a.crop||!1!==s.clip){i.y<0&&(i.height+=i.y,i.y=0);let e=i.y+i.height-c;e>0&&e<i.height-1&&(i.height-=e)}l&&(i={x:c-i.y-i.height,y:o-i.x-i.width,width:i.height,height:i.width}),h||(l?(i.x+=u?0:i.width,i.width=0):(i.y+=u?i.height:0,i.height=0))}a.align??(a.align=!l||h?"center":u?"right":"left"),a.verticalAlign??(a.verticalAlign=l||h?"middle":u?"top":"bottom"),oO.prototype.alignDataLabel.call(this,e,t,a,i,r),a.inside&&e.contrastColor&&t.css({color:e.contrastColor})}(k||(k={})).compose=function(e){oP.compose(oO),oM(oL,"ColumnDataLabel")&&(e.prototype.alignDataLabel=oR)};let oF=k,{extend:oB,merge:oU}=el;class oH extends o_{}oH.defaultOptions=oU(o_.defaultOptions,{}),oB(oH.prototype,{inverted:!0}),nF.registerSeriesType("bar",oH);let{column:o$,line:oG}=nF.seriesTypes,{addEvent:oW,extend:oY,merge:oz}=el;class oV extends oG{applyJitter(){let e=this,t=this.options.jitter,a=this.points.length;t&&this.points.forEach(function(i,r){["x","y"].forEach(function(n,s){if(t[n]&&!i.isNull){let l=`plot${n.toUpperCase()}`,o=e[`${n}Axis`],c=t[n]*o.transA;if(o&&!o.logarithmic){let e,t=Math.max(0,(i[l]||0)-c),d=Math.min(o.len,(i[l]||0)+c);i[l]=t+(d-t)*((e=1e4*Math.sin(r+s*a))-Math.floor(e)),"x"===n&&(i.clientX=i.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}oV.defaultOptions=oz(oG.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),oY(oV.prototype,{drawTracker:o$.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),oW(oV,"afterTranslate",function(){this.applyJitter()}),nF.registerSeriesType("scatter",oV);let{deg2rad:oK}=M,{fireEvent:oq,isNumber:oQ,pick:oZ,relativeLength:oX}=el;(f=I||(I={})).getCenter=function(){let e=this.options,t=this.chart,a=2*(e.slicedOffset||0),i=t.plotWidth-2*a,r=t.plotHeight-2*a,n=e.center,s=Math.min(i,r),l=e.thickness,o,c=e.size,d=e.innerSize||0,u,h;"string"==typeof c&&(c=parseFloat(c)),"string"==typeof d&&(d=parseFloat(d));let f=[oZ(n?.[0],"50%"),oZ(n?.[1],"50%"),oZ(c&&c<0?void 0:e.size,"100%"),oZ(d&&d<0?void 0:e.innerSize||0,"0%")];for(!t.angular||this instanceof so||(f[3]=0),u=0;u<4;++u)h=f[u],o=u<2||2===u&&/%$/.test(h),f[u]=oX(h,[i,r,s,f[2]][u])+(o?a:0);return f[3]>f[2]&&(f[3]=f[2]),oQ(l)&&2*l<f[2]&&l>0&&(f[3]=f[2]-2*l),oq(this,"afterGetCenter",{positions:f}),f},f.getStartAndEndRadians=function(e,t){let a=oQ(e)?e:0,i=oQ(t)&&t>a&&t-a<360?t:a+360;return{start:oK*(a+-90),end:oK*(i+-90)}};let oJ=I,{setAnimation:o0}=e4,{addEvent:o1,defined:o2,extend:o3,isNumber:o4,pick:o6,relativeLength:o5}=el;class o8 extends ne{getConnectorPath(e){let t=e.dataLabelPosition,a=e.options||{},i=a.connectorShape,r=this.connectorShapes[i]||i;return t&&r.call(this,{...t.computed,alignment:t.alignment},t.connectorPosition,a)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(e){let t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:t.r-1,start:t.start,end:t.end,borderRadius:t.borderRadius})}constructor(e,t,a){super(e,t,a),this.half=0,this.name??(this.name=e.chart.options.lang.pieSliceName);const i=e=>{this.slice("select"===e.type)};o1(this,"select",i),o1(this,"unselect",i)}isValid(){return o4(this.y)&&this.y>=0}setVisible(e,t=!0){e!==this.visible&&this.update({visible:e??!this.visible},t,void 0,!1)}slice(e,t,a){let i=this.series;o0(a,i.chart),t=o6(t,!0),this.sliced=this.options.sliced=e=o2(e)?e:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}o3(o8.prototype,{connectorShapes:{fixedOffset:function(e,t,a){let i=t.breakAt,r=t.touchingSliceAt,n=a.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*i.x-r.x,2*i.y-r.y,i.x,i.y]:["L",i.x,i.y];return[["M",e.x,e.y],n,["L",r.x,r.y]]},straight:function(e,t){let a=t.touchingSliceAt;return[["M",e.x,e.y],["L",a.x,a.y]]},crookedLine:function(e,t,a){let{angle:i=this.angle||0,breakAt:r,touchingSliceAt:n}=t,{series:s}=this,[l,o,c]=s.center,d=c/2,{plotLeft:u,plotWidth:h}=s.chart,f="left"===e.alignment,{x:p,y:m}=e,g=r.x;if(a.crookDistance){let e=o5(a.crookDistance,1);g=f?l+d+(h+u-l-d)*(1-e):u+(l-d)*e}else g=l+(o-m)*Math.tan(i-Math.PI/2);let b=[["M",p,m]];return(f?g<=p&&g>=r.x:g>=p&&g<=r.x)&&b.push(["L",g,m]),b.push(["L",r.x,r.y],["L",n.x,n.y]),b}}});let{getStartAndEndRadians:o7}=oJ,{noop:o9}=M,{clamp:ce,extend:ct,fireEvent:ca,merge:ci,pick:cr}=el;class cn extends so{animate(e){let t=this,a=t.points,i=t.startAngleRad;e||a.forEach(function(e){let a=e.graphic,r=e.shapeArgs;a&&r&&(a.attr({r:cr(e.startR,t.center&&t.center[3]/2),start:i,end:i}),a.animate({r:r.r,start:r.start,end:r.end},t.options.animation))})}drawEmpty(){let e,t,a=this.startAngleRad,i=this.endAngleRad,r=this.options;0===this.total&&this.center?(e=this.center[0],t=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(e,t,this.center[1]/2,0,a,i).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:am.arc(e,t,this.center[2]/2,0,{start:a,end:i,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let e=this.chart.renderer;
vendor: 4,176 bytes, line 269
269this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(e,t,a,i){let r=this.center,n=this.radii?this.radii[a.index]||0:r[2]/2,s=i.dataLabelPosition,l=s?.distance||0,o=Math.asin(ce((e-r[1])/(n+l),-1,1));return r[0]+Math.cos(o)*(n+l)*(t?-1:1)+(l>0?(t?-1:1)*(i.padding||0):0)}hasData(){return this.points.some(e=>e.visible)}redrawPoints(){let e,t,a,i,r=this,n=r.chart;this.drawEmpty(),r.group&&!n.styledMode&&r.group.shadow(r.options.shadow),r.points.forEach(function(s){let l={};t=s.graphic,!s.isNull&&t?(i=s.shapeArgs,e=s.getTranslate(),n.styledMode||(a=r.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(t.setRadialReference(r.center).attr(i).attr(e),n.styledMode||t.attr(a).attr({"stroke-linejoin":"round"}),s.delayedRendering=!1):(t.setRadialReference(r.center),n.styledMode||ci(!0,l,a),ci(!0,l,i,e),t.animate(l)),t.attr({visibility:s.visible?"inherit":"hidden"}),t.addClass(s.getClassName(),!0)):t&&(s.graphic=t.destroy())})}sortByAngle(e,t){e.sort(function(e,a){return void 0!==e.angle&&(a.angle-e.angle)*t})}translate(e){ca(this,"translate"),this.generatePoints();let t=this.options,a=t.slicedOffset,i=o7(t.startAngle,t.endAngle),r=this.startAngleRad=i.start,n=(this.endAngleRad=i.end)-r,s=this.points,l=t.ignoreHiddenPoint,o=s.length,c,d,u,h,f,p,m,g=0;for(e||(this.center=e=this.getCenter()),p=0;p<o;p++){m=s[p],c=r+g*n,m.isValid()&&(!l||m.visible)&&(g+=m.percentage/100),d=r+g*n;let t={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:Math.round(1e3*c)/1e3,end:Math.round(1e3*d)/1e3};m.shapeType="arc",m.shapeArgs=t,(u=(d+c)/2)>1.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),m.slicedTranslation={translateX:Math.round(Math.cos(u)*a),translateY:Math.round(Math.sin(u)*a)},h=Math.cos(u)*e[2]/2,f=Math.sin(u)*e[2]/2,m.tooltipPos=[e[0]+.7*h,e[1]+.7*f],m.half=+(u<-Math.PI/2||u>Math.PI/2),m.angle=u}ca(this,"afterTranslate")}updateTotals(){let e=this.points,t=e.length,a=this.options.ignoreHiddenPoint,i,r,n=0;for(i=0;i<t;i++)(r=e[i]).isValid()&&(!a||r.visible)&&(n+=r.y);for(i=0,this.total=n;i<t;i++)(r=e[i]).percentage=n>0&&(r.visible||!a)?r.y/n*100:0,r.total=n}}cn.defaultOptions=ci(so.defaultOptions,{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.isNull?void 0:this.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),ct(cn.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:o_.prototype.drawTracker,getCenter:oJ.getCenter,getSymbol:o9,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:o_.prototype.pointAttribs,pointClass:o8,requireSorting:!1,searchPoint:o9,trackerGroups:["group","dataLabelsGroup"]}),nF.registerSeriesType("pie",cn);let{composed:cs,noop:cl}=M,{distribute:co}=tI,{series:cc}=nF,{arrayMax:cd,clamp:cu,defined:ch,isNumber:cf,pick:cp,pushUnique:cm,relativeLength:cg}=el;!function(e){let t={radialDistributionY:function(e,t){return(t.dataLabelPosition?.top||0)+e.distributeBox.pos},radialDistributionX:function(e,t,a,i,r){let n=r.dataLabelPosition;return e.getX(a<(n?.top||0)+2||a>(n?.bottom||0)-2?i:a,t.half,t,r)},justify:function(e,t,a,i){return i[0]+(e.half?-1:1)*(a+(t.dataLabelPosition?.distance||0))},alignToPlotEdges:function(e,t,a,i){let r=e.getBBox().width;return t?r+i:a-r-i},alignToConnectors:function(e,t,a,i){let r=0,n;return e.forEach(function(e){(n=e.dataLabel.getBBox().width)>r&&(r=n)}),t?r+i:a-r-i}};function a(e,t){let a=Math.PI/2,{start:i=0,end:r=0}=e.shapeArgs||{},n=e.angle||0;t>0&&i<a&&r>a&&n>a/2&&n<1.5*a&&(n=n<=a?Math.max(a/2,(i+a)/2):Math.min(1.5*a,(a+r)/2));let{center:s,options:l}=this,o=s[2]/2,c=Math.cos(n),d=Math.sin(n),u=s[0]+c*o,h=s[1]+d*o,f=Math.min((l.slicedOffset||0)+(l.borderWidth||0),t/5);
vendor: 8,283 bytes, line 269
269return{natural:{x:u+c*t,y:h+d*t},computed:{},alignment:t<0?"center":e.half?"right":"left",connectorPosition:{angle:n,breakAt:{x:u+c*f,y:h+d*f},touchingSliceAt:{x:u,y:h}},distance:t}}function i(){let e=this,t=e.points,a=e.chart,i=a.plotWidth,r=a.plotHeight,n=a.plotLeft,s=Math.round(a.chartWidth/3),l=e.center,o=l[2]/2,c=l[1],d=[[],[]],u=[0,0,0,0],h=e.dataLabelPositioners,f,p,m,g=0;e.visible&&e.hasDataLabels?.()&&(t.forEach(e=>{(e.dataLabels||[]).forEach(e=>{e.shortened&&(e.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),e.shortened=!1)})}),cc.prototype.drawDataLabels.apply(e),t.forEach(e=>{(e.dataLabels||[]).forEach((t,a)=>{let i=l[2]/2,r=t.options,n=cg(r?.distance||0,i);0===a&&d[e.half].push(e),!ch(r?.style?.width)&&t.getBBox().width>s&&(t.css({width:Math.round(.7*s)+"px"}),t.shortened=!0),t.dataLabelPosition=this.getDataLabelPosition(e,n),g=Math.max(g,n)})}),d.forEach((t,s)=>{let d=t.length,f=[],b,_,y=0,x;d&&(e.sortByAngle(t,s-.5),g>0&&(b=Math.max(0,c-o-g),_=Math.min(c+o+g,a.plotHeight),t.forEach(e=>{(e.dataLabels||[]).forEach(t=>{let i=t.dataLabelPosition;i&&i.distance>0&&(i.top=Math.max(0,c-o-i.distance),i.bottom=Math.min(c+o+i.distance,a.plotHeight),y=t.getBBox().height||21,t.lineHeight=a.renderer.fontMetrics(t.text||t).h+2*t.padding,e.distributeBox={target:(t.dataLabelPosition?.natural.y||0)-i.top+t.lineHeight/2,size:y,rank:e.y},f.push(e.distributeBox))})}),co(f,x=_+y-b,x/5)),t.forEach(a=>{(a.dataLabels||[]).forEach(c=>{let d=c.options||{},g=a.distributeBox,b=c.dataLabelPosition,_=b?.natural.y||0,y=d.connectorPadding||0,x=c.lineHeight||21,v=(x-c.getBBox().height)/2,A=0,w=_,E="inherit";if(b){if(f&&ch(g)&&b.distance>0&&(void 0===g.pos?E="hidden":(m=g.size,w=h.radialDistributionY(a,c))),d.justify)A=h.justify(a,c,o,l);else switch(d.alignTo){case"connectors":A=h.alignToConnectors(t,s,i,n);break;case"plotEdges":A=h.alignToPlotEdges(c,s,i,n);break;default:A=h.radialDistributionX(e,a,w-v,_,c)}if(b.attribs={visibility:E,align:b.alignment},b.posAttribs={x:A+(d.x||0)+(({left:y,right:-y})[b.alignment]||0),y:w+(d.y||0)-x/2},b.computed.x=A,b.computed.y=w-v,cp(d.crop,!0)){let e;A-(p=c.getBBox().width)<y&&1===s?(e=Math.round(p-A+y),u[3]=Math.max(e,u[3])):A+p>i-y&&0===s&&(e=Math.round(A+p-i+y),u[1]=Math.max(e,u[1])),w-m/2<0?u[0]=Math.max(Math.round(-w+m/2),u[0]):w+m/2>r&&(u[2]=Math.max(Math.round(w+m/2-r),u[2])),b.sideOverflow=e}}})}))}),(0===cd(u)||this.verifyDataLabelOverflow(u))&&(this.placeDataLabels(),this.points.forEach(t=>{t.dataLabels?.forEach((i,r)=>{let{connectorColor:n,connectorWidth:s=1}=i.options||{},l=i.dataLabelPosition;if(cf(s)){let o;f=i.connector,l&&l.distance>0?(o=!f,f||(i.connector=f=a.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(e.dataLabelsGroups?.[r])),a.styledMode||f.attr({"stroke-width":s,stroke:n||t.color||"#666666"}),f[o?"attr":"animate"]({d:t.getConnectorPath(i)}),f.attr({visibility:l.attribs?.visibility})):f&&(i.connector=f.destroy())}})})))}function r(){this.points.forEach(e=>{(e.dataLabels||[]).forEach(e=>{let t=e.dataLabelPosition;t?(t.sideOverflow&&(e.css({width:Math.max(e.getBBox().width-t.sideOverflow,0)+"px",textOverflow:e.options?.style?.textOverflow||"ellipsis"}),e.shortened=!0),e.attr(t.attribs),e[e.moved?"animate":"attr"](t.posAttribs),e.moved=!0):e&&e.attr({y:-9999})}),delete e.distributeBox},this)}function n(e){let t=this.center,a=this.options,i=a.center,r=a.minSize||80,n=r,s=null!==a.size;return!s&&(null!==i[0]?n=Math.max(t[2]-Math.max(e[1],e[3]),r):(n=Math.max(t[2]-e[1]-e[3],r),t[0]+=(e[3]-e[1])/2),null!==i[1]?n=cu(n,r,t[2]-Math.max(e[0],e[2])):(n=cu(n,r,t[2]-e[0]-e[2]),t[1]+=(e[0]-e[2])/2),n<t[2]?(t[2]=n,t[3]=Math.min(a.thickness?Math.max(0,n-2*a.thickness):Math.max(0,cg(a.innerSize||0,n)),n),this.translate(t),this.drawDataLabels&&this.drawDataLabels()):s=!0),s}e.compose=function(e){if(oP.compose(cc),cm(cs,"PieDataLabel")){let s=e.prototype;s.dataLabelPositioners=t,s.alignDataLabel=cl,s.drawDataLabels=i,s.getDataLabelPosition=a,s.placeDataLabels=r,s.verifyDataLabelOverflow=n}}}(j||(j={}));let cb=j;(p=P||(P={})).getCenterOfPoints=function(e){let t=e.reduce((e,t)=>(e.x+=t.x,e.y+=t.y,e),{x:0,y:0});return{x:t.x/e.length,y:t.y/e.length}},p.getDistanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},p.getAngleBetweenPoints=function(e,t){return Math.atan2(t.x-e.x,t.y-e.y)},p.pointInPolygon=function({x:e,y:t},a){let i=a.length,r,n,s=!1;for(r=0,n=i-1;r<i;n=r++){let[i,l]=a[r],[o,c]=a[n];l>t!=c>t&&e<(o-i)*(t-l)/(c-l)+i&&(s=!s)}return s};let{pointInPolygon:c_}=P,{addEvent:cy,getAlignFactor:cx,fireEvent:cv,objectEach:cA,pick:cw}=el;function cE(e,t){let a,i=!1;return e&&(a=e.newOpacity,e.oldOpacity!==a&&(e.hasClass("highcharts-data-label")?(e[a?"removeClass":"addClass"]("highcharts-data-label-hidden"),i=!0,e[e.isOld?"animate":"attr"]({opacity:a},void 0,function(){t.styledMode||e.css({pointerEvents:a?"auto":"none"})}),cv(t,"afterHideOverlappingLabel")):e.attr({opacity:a})),e.isOld=!0),i}let{defaultOptions:cS}=eL,{noop:cC}=M,{addEvent:cT,extend:cN,isObject:ck,merge:cI,relativeLength:cj}=el,cP={radius:0,scope:"stack",where:void 0},cL=cC,cO=cC;function cD(e,t,a,i,r={}){let n=cL(e,t,a,i,r),{brStart:s=!0,brEnd:l=!0,innerR:o=0,r:c=a,start:d=0,end:u=0}=r;if(r.open||!r.borderRadius)return n;let h=u-d,f=Math.sin(h/2),p=Math.max(Math.min(cj(r.borderRadius||0,c-o),(c-o)/2,c*f/(1+f)),0),m=Math.min(p,h/Math.PI*2*o),g=n.length-1;for(;g--;)(s||0!==g&&3!==g)&&(l||1!==g&&2!==g)&&function(e,t,a){let i,r,n,s=e[t],l=e[t+1];if("Z"===l[0]&&(l=e[0]),("M"===s[0]||"L"===s[0])&&"A"===l[0]?(i=s,r=l,n=!0):"A"===s[0]&&("M"===l[0]||"L"===l[0])&&(i=l,r=s),i&&r&&r.params){let s=r[1],l=r[5],o=r.params,{start:c,end:d,cx:u,cy:h}=o,f=l?s-a:s+a,p=f?Math.asin(a/f):0,m=l?p:-p,g=Math.cos(p)*f;n?(o.start=c+m,i[1]=u+g*Math.cos(c),i[2]=h+g*Math.sin(c),e.splice(t+1,0,["A",a,a,0,0,1,u+s*Math.cos(o.start),h+s*Math.sin(o.start)])):(o.end=d-m,r[6]=u+s*Math.cos(o.end),r[7]=h+s*Math.sin(o.end),e.splice(t+1,0,["A",a,a,0,0,1,u+g*Math.cos(d),h+g*Math.sin(d)])),r[4]=Math.abs(o.end-o.start)<Math.PI?0:1}}(n,g,g>1?m:p);return n}function cM(){if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:e,yAxis:t}=this,a="percent"===e.stacking,i=cS.plotOptions?.[this.type]?.borderRadius,r=cR(e.borderRadius,ck(i)?i:{}),n=t.options.reversed;for(let i of this.points){let{shapeArgs:s}=i;if("roundedRect"===i.shapeType&&s){let{width:l=0,height:o=0,y:c=0}=s,d=c,u=o;if("stack"===r.scope&&i.stackTotal){let r=t.translate(a?100:i.stackTotal,!1,!0,!1,!0),n=t.translate(e.threshold||0,!1,!0,!1,!0),s=this.crispCol(0,Math.min(r,n),0,Math.abs(r-n));d=s.y,u=s.height}let h=(i.negative?-1:1)*(n?-1:1)==-1,f=r.where;!f&&this.is("waterfall")&&Math.abs((i.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(f="all"),f||(f="end");let p=Math.min(cj(r.radius,l),l/2,"all"===f?o/2:1/0)||0;"end"===f&&(h&&(d-=p),u+=p),cN(s,{brBoxHeight:u,brBoxY:d,r:p})}}}}function cR(e,t){return ck(e)||(e={radius:e||0}),cI(cP,t,e)}function cF(){let e=cR(this.options.borderRadius);for(let t of this.points){let a=t.shapeArgs;a&&(a.borderRadius=cj(e.radius,(a.r||0)-(a.innerR||0)))}}function cB(e,t,a,i,r={}){let n=cO(e,t,a,i,r),{r:s=0,brBoxHeight:l=i,brBoxY:o=t}=r,c=t-o,d=o+l-(t+i),u=c-s>-.1?0:s,h=d-s>-.1?0:s,f=Math.max(u&&c,0),p=Math.max(h&&d,0),m=[e+u,t],g=[e+a-u,t],b=[e+a,t+u],_=[e+a,t+i-h],y=[e+a-h,t+i],x=[e+h,t+i],v=[e,t+i-h],A=[e,t+u],w=(e,t)=>Math.sqrt(Math.pow(e,2)-Math.pow(t,2));if(f){let e=w(u,u-f);m[0]-=e,g[0]+=e,b[1]=A[1]=t+u-f}if(i<u-f){let r=w(u,u-f-i);b[0]=_[0]=e+a-u+r,y[0]=Math.min(b[0],y[0]),x[0]=Math.max(_[0],x[0]),v[0]=A[0]=e+u-r,b[1]=A[1]=t+i}if(p){let e=w(h,h-p);y[0]+=e,x[0]-=e,_[1]=v[1]=t+i-h+p}if(i<h-p){let r=w(h,h-p-i);b[0]=_[0]=e+a-h+r,g[0]=Math.min(b[0],g[0]),m[0]=Math.max(_[0],m[0]),v[0]=A[0]=e+h-r,_[1]=v[1]=t}return n.length=0,n.push(["M",...m],["L",...g],["A",u,u,0,0,1,...b],["L",..._],["A",h,h,0,0,1,...y],["L",...x],["A",h,h,0,0,1,...v],["L",...A],["A",u,u,0,0,1,...m],["Z"]),n}let{diffObjects:cU,extend:cH,find:c$,merge:cG,pick:cW,uniqueKey:cY}=el;function cz(e,t){let a=e.condition;(a.callback||function(){return this.chartWidth<=cW(a.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=cW(a.maxHeight,Number.MAX_VALUE)&&this.chartWidth>
vendor: 4,133 bytes, line 269
269=cW(a.minWidth,0)&&this.chartHeight>=cW(a.minHeight,0)}).call(this)&&t.push(e._id)}function cV(e,t){let a=this.options.responsive,i=this.currentResponsive,r=[],n;!t&&a&&a.rules&&a.rules.forEach(e=>{void 0===e._id&&(e._id=cY()),this.matchResponsiveRule(e,r)},this);let s=cG(...r.map(e=>c$(a?.rules||[],t=>t._id===e)).map(e=>e?.chartOptions));s.isResponsiveOptions=!0,r=r.toString()||void 0;let l=i?.ruleIds;r!==l&&(i&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(i.undoOptions,e,!0),this.updatingResponsive=!1),r?((n=cU(s,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:s,undoOptions:n},this.updatingResponsive||this.update(s,e,!0)):this.currentResponsive=void 0)}(L||(L={})).compose=function(e){let t=e.prototype;return t.matchResponsiveRule||cH(t,{matchResponsiveRule:cz,setResponsive:cV}),e};let cK=L;M.AST=to,M.Axis=i4,M.Chart=ll,M.Color=e$,M.DataLabel=oP,M.DataTableCore=nS,M.Fx=eV,M.HTMLElement=is,M.Legend=sj,M.LegendSymbol=nj,M.PlotLineOrBand=r_,M.Point=ne,M.Pointer=ny,M.RendererRegistry=tS,M.Series=so,M.SeriesRegistry=nF,M.StackItem=lT,M.SVGElement=ae,M.SVGRenderer=a1,M.Templating=tE,M.Tick=iT,M.Time=eT,M.Tooltip=rW,M.animate=e4.animate,M.animObject=e4.animObject,M.chart=ll.chart,M.color=e$.parse,M.dateFormat=tE.dateFormat,M.defaultOptions=eL.defaultOptions,M.distribute=tI.distribute,M.format=tE.format,M.getDeferredAnimation=e4.getDeferredAnimation,M.getOptions=eL.getOptions,M.numberFormat=tE.numberFormat,M.seriesType=nF.seriesType,M.setAnimation=e4.setAnimation,M.setOptions=eL.setOptions,M.stop=e4.stop,M.time=eL.defaultTime,M.timers=eV.timers,({compose:function(e,t,a){let i=e.types.pie;if(!t.symbolCustomAttribs.includes("borderRadius")){let r=a.prototype.symbols;cT(e,"afterColumnTranslate",cM,{order:9}),cT(i,"afterTranslate",cF),t.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY","brEnd","brStart"),cL=r.arc,cO=r.roundedRect,r.arc=cD,r.roundedRect=cB}},optionsToObject:cR}).compose(M.Series,M.SVGElement,M.SVGRenderer),oF.compose(M.Series.types.column),oP.compose(M.Series),i9.compose(M.Axis),is.compose(M.SVGRenderer),sj.compose(M.Chart),ri.compose(M.Axis),(n=(m=M.Chart).prototype).hideOverlappingLabels||(n.hideOverlappingLabels=function(e){let t=e.length,a=(e,t)=>!(t.x>=e.x+e.width||t.x+t.width<=e.x||t.y>=e.y+e.height||t.y+t.height<=e.y),i=(e,t)=>{for(let a of e)if(c_({x:a[0],y:a[1]},t))return!0;return!1},r,n,s,l,o,c=!1;for(let a=0;a<t;a++)(r=e[a])&&(r.oldOpacity=r.opacity,r.newOpacity=1,r.absoluteBox=function(e){if(e&&(!e.alignAttr||e.placed)){let t=e.box?0:e.padding||0,a=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},{height:i,polygon:r,width:n}=e.getBBox(),s=cx(e.alignValue)*n;return e.width=n,e.height=i,{x:a.x+(e.parentGroup?.translateX||0)+t-s,y:a.y+(e.parentGroup?.translateY||0)+t,width:n-2*t,height:i-2*t,polygon:r}}}(r));e.sort((e,t)=>(t?.labelrank||0)-(e?.labelrank||0));for(let r=0;r<t;++r){l=(n=e[r])&&n.absoluteBox;let c=l?.polygon;for(let d=r+1;d<t;++d){o=(s=e[d])&&s.absoluteBox;let t=!1;if(l&&o&&n!==s&&n?.newOpacity!==0&&s?.newOpacity!==0&&n?.visibility!=="hidden"&&s?.visibility!=="hidden"){let e=o.polygon;if(c&&e&&c!==e?i(c,e)&&(t=!0):a(l,o)&&(t=!0),t){let e=n?.labelrank<s?.labelrank?n:s,t=e?.text;e&&(e.newOpacity=0),t?.element.querySelector("textPath")&&t.hide()}}}}for(let t of e)t&&cE(t,this)&&(c=!0);c&&cv(this,"afterHideAllOverlappingLabels")},cy(m,"render",function(){let e=this,t=[];for(let a of e.labelCollectors||[])t=t.concat(a());for(let a of e.yAxis||[])a.stacking&&a.options.stackLabels&&!a.options.stackLabels.allowOverlap&&cA(a.stacking.stacks,e=>{cA(e,e=>{e.label&&t.push(e.label)})});for(let a of e.series||[])if(a.visible&&a.hasDataLabels?.()){let i=a=>{for(let i of a)i.visible&&(i.dataLabels||[]).forEach(a=>{let r=a.options||{};a.labelrank=cw(r.labelrank,i.labelrank,i.shapeArgs?.height),r.allowOverlap??Number(r.distance)>0?(a.oldOpacity=a.opacity,a.newOpacity=1,cE(a,e)):t.push(a)})};i(a.nodes||[]),i(a.points)}this.hideOverlappingLabels(t)})),cb.compose(M.Series.types.pie),r_.compose(M.Chart,M.Axis),ny.compose(M.Chart),cK.compose(M.Chart),ly.c
269ompose(M.Axis,M.Chart,M.Series),lV.compose(M.Axis,M.Chart,M.Series),rW.compose(M.Pointer),el.extend(M,el);let cq=M;return D.default})())},99164,(e,t,a)=>{!function(a,i){t.exports=i(e.r(91788))}("u">typeof self?self:e.e,function(e){return function(e){function t(i){if(a[i])return a[i].exports;var r=a[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var a={};return t.m=e,t.c=a,t.d=function(e,a,i){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,a){"use strict";function i(){return(i=Object.assign.bind()).apply(this,arguments)}function r(e){return o(e)||l(e)||s(e)||n()}function n(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return c(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?c(e,t):void 0}}function l(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function o(e){if(Array.isArray(e))return c(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=Array(t);a<t;a++)i[a]=e[a];return i}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),a.d(t,"HighchartsReact",function(){return p});var u=a(1),h=a.n(u),f="u">typeof window?u.useLayoutEffect:u.useEffect,p=Object(u.memo)(Object(u.forwardRef)(function(e,t){var a=Object(u.useRef)(),n=Object(u.useRef)(),s=Object(u.useRef)(e.constructorType),l=Object(u.useRef)(e.highcharts
269);return f(function(){function t(){var t=e.highcharts||"object"===("u"<typeof window?"undefined":d(window))&&window.Highcharts,i=e.constructorType||"chart";t?t[i]?e.options?n.current=t[i](a.current,e.options,e.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(n.current){if(!1!==e.allowChartUpdate)if(e.constructorType!==s.current||e.highcharts!==l.current)s.current=e.constructorType,l.current=e.highcharts,t();else if(!e.immutable&&n.current){var i;(i=n.current).update.apply(i,[e.options].concat(r(e.updateArgs||[!0,!0])))}else t()}else t()},[e.options,e.allowChartUpdate,e.updateArgs,e.containerProps,e.highcharts,e.constructorType]),f(function(){return function(){n.current&&(n.current.destroy(),n.current=null)}},[]),Object(u.useImperativeHandle)(t,function(){return{get chart(){return n.current},container:a}},[]),h.a.createElement("div",i({},e.containerProps,{ref:a}))}));t.default=p},function(t,a){t.exports=e}])})},37234,94999,e=>{"use strict";e.s(["default",()=>u],37234);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17419),r=e.i(65218),n=t,s=a,l=e.i(98981),o=e.i(99164),c=e.i(91788);e.A(27084).then(e=>{let t=e.default||e;"function"==typeof t&&t(l.default)});let d=e=>{let t,a,i,r,d=(0,s.c)(8),{chartData:u,progressLabel:h}=e,f=(0,c.useRef)(null),p=(0,c.useRef)(null);d[0]===Symbol.for("react.memo_cache_sentinel")?(t={},d[0]=t):t=d[0];let[m,g]=(0,c.useState)(t);return d[1]!==u?.data||d[2]!==h?(a=()=>{let e=u?.data?.[0]?.y;g({chart:{type:"pie"},exporting:{enabled:!1},credits:{enabled:!1},title:{text:`<div><p class="bold">${h}</p><h1 class="bold">${e}%</h1></div>`,align:"center",verticalAlign:"middle",useHTML:!0},tooltip:{enabled:!1},accessibility:{enabled:!0,point:{valueSuffix:"%"},description:"This is an accessible chart for screen readers."},plotOptions:{pie:{cursor:"pointer",borderWidth:0,borderRadius:0,dataLabels:{enabled:!1},point:{events:{mouseOver:e=>{let t=e.target.percentage,a=e?.target?.index;f?.current&&f?.current?.chart&&f?.current?.chart.setTitle({text:`<div><h1 class="bold">${Math.round((t??0)*100)/100}%</h1></div>`}),p?.current&&((p?.current.getElementsByTagName("tr"))[a].className="legend-table-data-hovered")},mouseOut:t=>{let a=t?.target?.index;f?.current&&f?.current?.chart&&f?.current?.chart?.setTitle({text:`<div><p class="bold">${h}</p><h1 class="bold">${e}%</h1></div>`}),p?.current&&((p?.current.getElementsByTagName("tr"))[a].className="")}}}}},series:[{type:"pie",name:"Progress Chart",innerSize:"85%",data:u?.data??[]}]})},d[1]=u?.data,d[2]=h,d[3]=a):a=d[3],d[4]!==u?(i=[u],d[4]=u,d[5]=i):i=d[5],(0,c.useEffect)(a,i),d[6]!==m?(r=(0,n.jsx)("figure",{children:(0,n.jsx)(o.default,{highcharts:l.default,options:m,ref:f})}),d[6]=m,d[7]=r):r=d[7],r};e.s(["default",0,d],94999);let u=e=>{let n,s,l,o,c,u,h,f=(0,a.c)(19),{courseLevel:p,courseTopic:m,chartData:g,completedLabel:b,accumulatedPoint:_,levelTotalPoint:y,className:x}=e,v=`progress-meter-card ${x}`;f[0]!==p?(n=(0,t.jsx)("h4",{className:"progress-meter-card-body-level bold",children:p}),f[0]=p,f[1]=n):n=f[1],f[2]!==m?(s=(0,t.jsx)(r.Taxonomy,{taxonomies:m}),f[2]=m,f[3]=s):s=f[3],f[4]!==n||f[5]!==s?(l=(0,t.jsxs)("div",{className:"progress-meter-card-body-top",children:[n,s]}),f[4]=n,f[5]=s,f[6]=l):l=f[6],f[7]!==g||f[8]!==b?(o=(0,t.jsx)("div",{className:"progress-meter-card-body-main",children:(0,t.jsx)(d,{chartData:g,progressLabel:b})}),f[7]=g,f[8]=b,f[9]=o):o=f[9];let A=`${_}/${y}`;return f[10]!==A?(c=(0,t.jsx)("div",{className:"progress-meter-card-body-bottom",children:(0,t.jsx)("h5",{children:A})}),f[10]=A,f[11]=c):c=f[11],f[12]!==l||f[13]!==o||f[14]!==c?(u=(0,t.jsx)("div",{className:"card",children:(0,t.jsx)("div",{className:"progress-meter-card-body",children:(0,t.jsxs)(t.Fragment,{children:[l,o,c]})})}),f[12]=l,f[13]=o,f[14]=c,f[15]=u):u=f[15],f[16]!==v||f[17]!==u?(h=(0,t.jsx)(i.Column,{desktop:3,tablet:6,mobile:12,className:v,children:u}),f[16]=v,f[17]=u,f[18]=h):h=f[18],h}},45989,e=>{"use strict";e.s(["ProgressMeterCard",()=>t.default]);var t=e.i(37234)},74730,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(49266),r=e.i(5223);let n=e=>{let n,s=(0,a.c)(5),{totalAccPoint:l,totalAccPointLabel:o,xpPointsDescription:c,userAlertMsg:d}=e;return s[0]!==l||s[1]!==o||s[2]!==d||s[3]!==c?(n=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"totalXp",children:l?(0,t.jsxs)("div",{className:"totalXp-card",children:[(0,t.jsx)("div",{className:"totalXp-card-score",children:(0,t.jsxs)("h1",{className:"bold",children:[l,o]})}),c?(0,t.jsx)("div",{className:"totalXp-card-desc",children:(0,t.jsx)(r.RichText,{content:c,className:"totalXp-card-desc-content"})}):(0,t.jsx)(t.Fragment,{})]}):(0,t.jsxs)("div",{className:"totalXp-notStarted",children:[(0,t.jsx)(i.Icon,{iconName:"WarningAcademy",width:40,height:40}),d?(0,t.jsx)("div",{className:"totalXp-notStarted-desc",children:(0,t.jsx)("p",{className:"totalXp-notStarted-desc-content",children:d})}):(0,t.jsx)(t.Fragment,{})]})})}),s[0]=l,s[1]=o,s[2]=d,s[3]=c,s[4]=n):n=s[4],n}},34357,e=>{"use strict";e.s(["default",()=>P],34357);var t=e.i(91398),a=e.i(91788),i=e.i(61576);e.i(48756);var r=e.i(45861),n=e.i(68324),s=e.i(49266),l=e.i(697),o=e.i(5223),c=e.i(22686),d=e.i(75957),u=e.i(71091);e.i(62179);var h=e.i(67631),f=e.i(90262),p=e.i(99657);e.i(41871);var m=e.i(87612);e.i(35958);var g=e.i(64026),b=e.i(45989),_=e.i(74730),_=_,y=e.i(22276),x=e.i(61312);let v=e=>{let t={};if(e.length)return e?.map(e=>{t={totalAccPoint:e?.accumulatedPercent??0,totalAccPointLabel:e?.completedLabel??null,xpPointsDescription:e?.xpPointsDescription??null,userAlertMsg:e?.userAlertMsg??null}}),t},A=e=>{let t={};if(e.length)return e?.map(e=>{t={progressLevelTitle:e?.progressLevelTitle??null,progressLevelDesc:e?.progressLevelDesc??null}}),t},w=async e=>{if(!e?.length)return[];{let t=[];return e?.map((e,a)=>{let i={type:e?.type??"",courseTopic:[{taxonomyLabel:e?.courseTopic??""}],courseLevel:e?.courseLevel??"",levelTotalPoint:e?.levelTotalPoint??null,accumulatedPoint:e?.accumulatedPoint??null,accumulatedPercent:e?.accumulatedPercent||e?.total_accumulatedPoint==0?0:e?.total_accumulatedPoint||null,completedLabel:e?.completed_label||e?.total_accumulatedPoint_label||"",chartData:{data:[{name:"completed progress",y:e?.accumulatedPercent??0,color:"#1c59b5",className:""},{name:"remaining progress",y:e?.accumulatedPercent===100?0:100-(e?.accumulatedPercent??0),color:e?.accumulatedPercent===100?"#1c59b5":"#a8d5ff",className:""}]},xpPointsDescription:e?.xp_points_description?.value??null,userAlertMsg:e?.user_alert_notification??null,progressLevelTitle:e?.progress_level_title??null,progressLevelDesc:e?.progress_level_description??null};t.push(i)}),t?.sort((e,t)=>
269e?.type==="total_xps"&&t?.type!=="total_xps"?-1:+(e?.type!=="total_xps"&&t?.type==="total_xps")),(0,x.filterNullValues)(t)}};var E=e.i(67552),S=i,C=a;function T(){let e,t,a,i=(0,S.c)(3),r=(0,C.useRef)(null);i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(e,t)=>{let a=r.current?.innerSlider?.list;if(!a)return;let i=a?.querySelectorAll(".slick-slide");if(i.length<=1){let e=i[0];e&&e.querySelectorAll(t).forEach(I);return}i.forEach(N);let n=i[e+1].querySelectorAll(t);r.current?.props.autoplay&&n.forEach(e=>{e.setAttribute("tabindex","0"),e.addEventListener("focus",()=>r.current?.slickPause()),e.addEventListener("blur",()=>r.current?.slickPlay())})},i[0]=e):e=i[0];let n=e;i[1]===Symbol.for("react.memo_cache_sentinel")?(t=(e,t)=>({...e,onInit:()=>{setTimeout(()=>n(0,t),0),e.onInit?.()},beforeChange:(e,a)=>{n(a,t)}}),i[1]=t):t=i[1];let s=t;return i[2]===Symbol.for("react.memo_cache_sentinel")?(a={accessibilitySliderRef:r,enhanceSettings:s},i[2]=a):a=i[2],a}function N(e){return e.querySelectorAll("a, button, h1, div, [tabindex]").forEach(k)}function k(e){return e?.setAttribute("tabindex","-1")}function I(e){return e.setAttribute("tabindex","0")}var j=function(e){return e.TOTAL_XP="total_xps",e.PROGRESS_LEVEL="progress_level",e}(j||{});let P=e=>{let r,o,c,x,S,C,N,k,I,j,P,B,U,H,$,G,W,Y,z,V,K,q,Q,Z,X,J,ee,et,ea,ei,er,en=(0,i.c)(115),{carouselDisplayType:es,slidesInfo:el,duration:eo,itemPerSlide:ec,carouselBlockType:ed,enableException:eu,slideItemsForTablet:eh,slideItemsForMobile:ef,course_id:ep,module_id:em,setAid:eg,aId:eb,isActivityCard:e_,sequentialActivityFlowFlag:ey}=e,ex=void 0!==eu&&eu,ev=void 0!==e_&&e_,eA=void 0!==ey&&ey,ew=eh||ec,eE=ef||ec,[eS,eC]=(0,a.useState)(eb||el?.[0]?.id);en[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],en[0]=r):r=en[0];let[eT,eN]=(0,a.useState)(r),ek=(0,y.useSelector)(L);en[1]===Symbol.for("react.memo_cache_sentinel")?(o={},en[1]=o):o=en[1];let[eI,ej]=(0,a.useState)(o);en[2]===Symbol.for("react.memo_cache_sentinel")?(c={},en[2]=c):c=en[2];let[eP,eL]=(0,a.useState)(c),{accessibilitySliderRef:eO,enhanceSettings:eD}=T();en[3]!==ek?(x=(e,t)=>{if(e&&t&&e.hasOwnProperty(t)){let{first_name:a,last_name:i}=(0,E.getProfileDetails)(ek);return e[t]=e[t].replace("@firstname",a).replace("@lastname",i),e}},en[3]=ek,en[4]=x):x=en[4];let eM=x;en[5]!==eM||en[6]!==ek?.profile?.response?.user_course_progress?(S=async()=>{let e=await w(ek?.profile?.response?.user_course_progress);eN(e.filter(O));let t=v(e.filter(D)),a=A(e.filter(M));ej(t),eL(eM(a,"progressLevelDesc"))},en[5]=eM,en[6]=ek?.profile?.response?.user_course_progress,en[7]=S):S=en[7];let eR=S;en[8]!==ed||en[9]!==es||en[10]!==eR||en[11]!==ek?.isLoggedIn||en[12]!==ek?.profile?.response?.user_course_progress?.length?(C=()=>{(ed===E.CAROUSEL_BLOCK_TYPE.PROGRESS_METER||es===E.STYLE_TYPE.SANDOZ_ACEDEMY_PROGRESS_METER)&&ek?.profile?.response?.user_course_progress?.length&&ek?.isLoggedIn?eR():eN([])},en[8]=ed,en[9]=es,en[10]=eR,en[11]=ek?.isLoggedIn,en[12]=ek?.profile?.response?.user_course_progress?.length,en[13]=C):C=en[13];let eF=ek?.isLoggedIn;en[14]!==eF?(N=[eF],en[14]=eF,en[15]=N):N=en[15],(0,a.useEffect)(C,N);let eB=e=>{let{className:a,style:i,onClick:r,className2:n}=e;return(0,t.jsx)("div",{className:`carouselWrapper ${e$} ${a} ${n}`,style:{...i},onClick:r,children:(0,t.jsx)("div",{className:"slider-container-right-arrow-box","aria-label":"next-btn",children:(0,t.jsx)(l.IconButton,{tabindex:0,icon:(0,t.jsx)(s.Icon,{iconName:"ArrowRightIcon"}),ariaLabel:"carousel button"})})})},eU=e=>{let{className:a,style:i,onClick:r,className2:n}=e;return(0,t.jsx)("div",{className:`${e$} ${a} ${n}`,style:{...i},onClick:r,children:(0,t.jsx)("div",{className:"slider-container-left-arrow-box","aria-label":"left-btn",children:(0,t.jsx)(l.IconButton,{tabindex:0,icon:(0,t.jsx)(s.Icon,{iconName:"ArrowLeftIcon"}),ariaLabel:"carousel button"})})})};en[16]!==eg?(k=e=>{eg(e),eC(e)},en[16]=eg,en[17]=k):k=en[17];let eH=k,e$=es||void 0,eG=E.STYLE_TYPE.IMAGE_CAROUSEL_WITH_THUMBNAILS,[eW,eY]=(0,a.useState)(null),[ez,eV]=(0,a.useState)(null),eK=(0,m.useMediaQuery)("(max-width: 991px)");en[18]!==eB||en[19]!==eU?(I="rtl"===(0,d.default)()?(0,t.jsx)(eB,{}):(0,t.jsx)(eU,{}),en[18]=eB,en[19]=eU,en[20]=I):I=en[20];let eq=I;en[21]!==eB||en[22]!==eU?(j="rtl"===(0,d.default)()?(0,t.jsx)(eU,{}):(0,t.jsx)(eB,{}),en[21]=eB,en[22]=eU,en[23]=j):j=en[23];let eQ=j,eZ=el?.length>=2&&el?.length<=8?el?.length:8,eX=el?.length>=2&&el?.length<=4?el?.length:4,eJ=!(el?.length<=3),e0=el?.length||eT?.length||0,e1=(el?.length||0)<=(ec||1),e2=(0,E.slidesToShowInTab)(el,eT,e$,es,ew,ed),e3=(el?.length||0)<=e2;en[24]===Symbol.for("react.memo_cache_sentinel")?(P=(0,d.default)(),en[24]=P):P=en[24];let e4={dots:!e1&&e$!==eG,slidesToShow:e$===eG||ex&&eK?1:ec,slidesToScroll:e$===eG||ex&&eK?1:ec,arrow:e$!==eG,prevArrow:e1?void 0:eq,nextArrow:e1?void 0:eQ,swipeToSlide:!1,accessibility:!0,infinite:!e1,rtl:"rtl"===P,autoplay:0!==eo,autoplaySpeed:eo,adaptiveHeight:!0,useTransform:!1,responsive:[{breakpoint:2560,settings:{slidesToShow:(0,E.slidesToShowInDesk)(el,eT,e$,es,ec,ed),slidesToScroll:e$===eG?1:ec,dots:!e1&&e$!==eG,arrow:!1,infinite:es===E.CAROUSEL_BLOCK_TYPE.PRODUCT_TEASER_CARDS?eJ:e0>ec}},{breakpoint:1025,settings:{slidesToShow:(0,E.slidesToShowInTab)(el,eT,e$,es,ew,ed),slidesToScroll:e$===eG||es===E.CAROUSEL_BLOCK_TYPE.PRODUCT_TEASER_CARDS?1:ew,dots:!e3&&e$!==eG,arrow:!0,infinite:es!==E.CAROUSEL_BLOCK_TYPE.PRODUCT_TEASER_CARDS||eJ}},{breakpoint:767,settings:{slidesToShow:e$===eG||es!=E.CAROUSEL_BLOCK_TYPE.MENU_LINK_WITH_ICON?1:eE,slidesToScroll:e$===eG||es!=E.CAROUSEL_BLOCK_TYPE.MENU_LINK_WITH_ICON?1:eE,dots:e$!==eG,arrow:!0}}]};en[25]!==eB||en[26]!==eU?(B="rtl"===(0,d.default)()?(0,t.jsx)(eB,{}):(0,t.jsx)(eU,{}),U="rtl"===(0,d.default)()?(0,t.jsx)(eU,{}):(0,t.jsx)(eB,{}),en[25]=eB,en[26]=eU,en[27]=B,en[28]=U):(B=en[27],U=en[28]);let e6=el?.length>1;en[29]===Symbol.for("react.memo_cache_sentinel")?(H=(0,d.default)(),en[29]=H):H=en[29];let e5=0!==eo;en[30]!==eZ?($={breakpoint:2560,settings:{slidesToShow:eZ,slidesToScroll:1,dots:!1,arrow:!1}},en[30]=eZ,en[31]=$):$=en[31],en[32]!==eX?(G={breakpoint:1025,settings:{slidesToShow:eX,slidesToScroll:1,dots:!1,arrow:!1}},en[32]=eX,en[33]=G):G=en[33],en[34]!==eX?(W={breakpoint:767,settings:{slidesToShow:eX,slidesToScroll:1,dots:!1,arrow:!1}}
269,en[34]=eX,en[35]=W):W=en[35],en[36]!==$||en[37]!==G||en[38]!==W?(Y=[$,G,W],en[36]=$,en[37]=G,en[38]=W,en[39]=Y):Y=en[39],en[40]!==eo||en[41]!==B||en[42]!==U||en[43]!==e6||en[44]!==e5||en[45]!==Y?(z={dots:!1,slidesToShow:8,prevArrow:B,nextArrow:U,centerMode:!1,focusOnSelect:!0,infinite:e6,swipeToSlide:!0,accessibility:!0,rtl:"rtl"===H,autoplay:e5,autoplaySpeed:eo,responsive:Y},en[40]=eo,en[41]=B,en[42]=U,en[43]=e6,en[44]=e5,en[45]=Y,en[46]=z):z=en[46];let e8=z,e7=R,e9=e$===E.STYLE_TYPE.ARTICLE_TEASER_COMPOSITION_CAROUSEL,te=ed===E.CAROUSEL_BLOCK_TYPE.ARTICLE_TEASER_COMPOSITION,tt=e$===E.STYLE_TYPE.MENU_LINK_WITH_CAROUSEL,ta=ed===E.CAROUSEL_BLOCK_TYPE.MENU_LINK_WITH_ICON,ti=e$===E.STYLE_TYPE.ROTATING_HERO_BANNER,tr=e$===E.STYLE_TYPE.IMAGE_CAROUSEL_WITH_THUMBNAILS,tn=ed===E.CAROUSEL_BLOCK_TYPE.HERO_BANNER;en[47]!==ex||en[48]!==eK||en[49]!==el?(V=ex&&eK?el?.slice(0,3):el??[],en[47]=ex,en[48]=eK,en[49]=el,en[50]=V):V=en[50];let ts=V;en[51]!==eK||en[52]!==eT?.length?(K=()=>{let e="";return eT?.length<3&&(eK?eT?.length<2&&(e="width-adjust-mobile"):e="width-adjust-desktop"),e},en[51]=eK,en[52]=eT?.length,en[53]=K):K=en[53];let tl=K;e9&&te?(Q=eD(e4,".article-teaser-content-content, .article-teaser-content-heading, .article-teaser-image img, .article-teaser-content-button a"),q=eO):(Q={...e4},q=eY),en[54]!==e$||en[55]!==eK||en[56]!==eT?.length?(Z=()=>{let e=[];return e.push(`flexible-carousel slider-container flexible-carousel-banner ${e$}`),eT?.length<3&&(eK?e.push("centre-align-mobile"):e.push("centre-align-desktop")),e.join(" ")},en[54]=e$,en[55]=eK,en[56]=eT?.length,en[57]=Z):Z=en[57];let to=Z;if((ed===E.CAROUSEL_BLOCK_TYPE.PROGRESS_METER||es===E.STYLE_TYPE.SANDOZ_ACEDEMY_PROGRESS_METER)&&ek?.isLoggedIn){let e,i,r,n,s;en[58]!==eP?.progressLevelTitle?(e=eP?.progressLevelTitle?(0,t.jsx)("h2",{className:"bold",children:eP?.progressLevelTitle}):(0,t.jsx)(t.Fragment,{}),en[58]=eP?.progressLevelTitle,en[59]=e):e=en[59],en[60]!==eP?.progressLevelDesc?(i=eP?.progressLevelDesc?(0,t.jsx)("p",{children:eP?.progressLevelDesc}):(0,t.jsx)(t.Fragment,{}),en[60]=eP?.progressLevelDesc,en[61]=i):i=en[61],en[62]!==e||en[63]!==i?(r=(0,t.jsxs)("div",{className:"progress-level",children:[e,i]}),en[62]=e,en[63]=i,en[64]=r):r=en[64],en[65]!==eI?(n=Object.keys(eI).length?(0,t.jsx)(_.default,{...eI}):(0,t.jsx)(t.Fragment,{}),en[65]=eI,en[66]=n):n=en[66];let l=eT?.length?(0,t.jsx)("div",{className:to(),children:(0,t.jsx)("div",{className:"slider-for",children:(0,t.jsx)(u.default,{...e4,ref:eY,asNavFor:ez??void 0,children:eT?.map((e,t)=>(0,a.createElement)(b.ProgressMeterCard,{...e,key:t,className:tl()}))})})}):(0,t.jsx)(t.Fragment,{});return en[67]!==r||en[68]!==n||en[69]!==l?(s=(0,t.jsxs)(t.Fragment,{children:[r,n,l]}),en[67]=r,en[68]=n,en[69]=l,en[70]=s):s=en[70],s}en[71]!==ti||en[72]!==el?(X=ti&&(0,t.jsx)(f.RotatingHeroBanner,{slidesInfo:el}),en[71]=ti,en[72]=el,en[73]=X):X=en[73];let tc=`flexible-carousel slider-container ${"image_carousel_with_thumbnails"===e$?"":"flexible-carousel-banner"} ${e$} ${ex&&ts?.length==1&&!eK?"centre-align":""} ${ts?.length<4&&ed==E.CAROUSEL_BLOCK_TYPE.COURSE_ACTIVITY?"activity-detail":""}`,td=`slider-for ${ta?"menu-link-with-icon":""}`,tu=ez??void 0;return en[74]!==e7||en[75]!==te||en[76]!==e9||en[77]!==ed||en[78]!==es||en[79]!==ep||en[80]!==ex||en[81]!==eH||en[82]!==tn||en[83]!==tr||en[84]!==ev||en[85]!==eK||en[86]!==ta||en[87]!==tt||en[88]!==em||en[89]!==eS||en[90]!==eA||en[91]!==ts||en[92]!==ek?.isLoggedIn?(J=ts?.map((e,i)=>{if(es===E.CAROUSEL_BLOCK_TYPE.PRODUCT_TEASER_CARDS)return(0,a.createElement)(h.ProductCard,{...e?.blockdata,key:i});if(es===E.STYLE_TYPE.SANDOZ_ACADEMY_COURSE_CATALOGUE)return(0,a.createElement)(g.FlexibleCard,{...e,className:ek?.isLoggedIn?"flexible-card-carousel reformed-param":"flexible-card-carousel",key:i}
269);switch(ed){case E.CAROUSEL_BLOCK_TYPE.HERO_BANNER:if(tr&&tn)return(0,t.jsx)(e7,{slideInfo:e});return null;case E.CAROUSEL_BLOCK_TYPE.ARTICLE_TEASER_COMPOSITION:if(e9&&te)return(0,t.jsx)(p.ArticleTeaserCompositionBlock,{block:e?.blockdata,index:i,colBackground:void 0,applicationConfiguration:void 0,handleBookmarks:void 0,internalLayout:void 0},i);return null;case E.CAROUSEL_BLOCK_TYPE.MENU_LINK_WITH_ICON:if(tt&&ta)return(0,t.jsx)(p.MenuLinkWithIconGroupBlock,{block:e?.blockdata,index:i,colBackground:void 0,applicationConfiguration:void 0,handleBookmarks:void 0,internalLayout:void 0},i);return null;case E.CAROUSEL_BLOCK_TYPE.CATALOGUE:return(0,t.jsx)(g.FlexibleCard,{...e,className:ex&&ts?.length==1&&!eK&&"width-adjust",course_id:ep,module_id:em,isActivityCard:ev,sequentialActivityFlowFlag:eA});case E.CAROUSEL_BLOCK_TYPE.COURSE_ACTIVITY:return(0,t.jsx)(n.CourseActivitySlide,{...e,isActive:eS==e?.id,handleClickActivity:eH});default:return null}}),en[74]=e7,en[75]=te,en[76]=e9,en[77]=ed,en[78]=es,en[79]=ep,en[80]=ex,en[81]=eH,en[82]=tn,en[83]=tr,en[84]=ev,en[85]=eK,en[86]=ta,en[87]=tt,en[88]=em,en[89]=eS,en[90]=eA,en[91]=ts,en[92]=ek?.isLoggedIn,en[93]=J):J=en[93],en[94]!==q||en[95]!==Q||en[96]!==tu||en[97]!==J?(ee=(0,t.jsx)(u.default,{...Q,ref:q,asNavFor:tu,children:J}),en[94]=q,en[95]=Q,en[96]=tu,en[97]=J,en[98]=ee):ee=en[98],en[99]!==td||en[100]!==ee?(et=(0,t.jsx)("div",{className:td,children:ee}),en[99]=td,en[100]=ee,en[101]=et):et=en[101],en[102]!==e$||en[103]!==eW||en[104]!==eV||en[105]!==el||en[106]!==e8?(ea="image_carousel_with_thumbnails"!==e$&&(E.STYLE_TYPE.ARTICLE_TEASER_COMPOSITION_CAROUSEL||E.STYLE_TYPE.MENU_LINK_WITH_CAROUSEL)?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)("div",{className:"slider-nav",children:(0,t.jsx)(u.default,{...e8,ref:eV,asNavFor:eW??void 0,children:el?.map(F)})}),en[102]=e$,en[103]=eW,en[104]=eV,en[105]=el,en[106]=e8,en[107]=ea):ea=en[107],en[108]!==tc||en[109]!==et||en[110]!==ea?(ei=(0,t.jsxs)("div",{className:tc,children:[et,ea]}),en[108]=tc,en[109]=et,en[110]=ea,en[111]=ei):ei=en[111],en[112]!==X||en[113]!==ei?(er=(0,t.jsxs)(t.Fragment,{children:[X,ei]}),en[112]=X,en[113]=ei,en[114]=er):er=en[114],er};function L(e){return e?.user}function O(e){return"total_xps"!==e.type&&"progress_level"!==e.type}function D(e){return"total_xps"===e.type}function M(e){return"progress_level"===e.type}function R(e){return(0,t.jsx)("div",{className:"heroBanner-flexible",children:(0,t.jsxs)("div",{className:"flexible-carousel-wrapper",children:[(0,t.jsx)("h3",{className:"flexible-carousel-title",children:e?.slideInfo?.heroBannerContent?.title}),e?.slideInfo?.isImageClickable&&e?.slideInfo?.heroBannerContent?.link?(0,t.jsx)(r.Anchor,{href:e?.slideInfo?.heroBannerContent?.link??"",tabindex:0,noUnderline:!0,isExternal:e?.slideInfo?.isExternalLink,children:(0,t.jsx)(c.CarouselImage,{image:e?.slideInfo?.heroBannerImage})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(c.CarouselImage,{image:e?.slideInfo?.heroBannerImage})}),e?.slideInfo?.heroBannerContent?.paragraph?(0,t.jsx)(o.RichText,{className:"flexible-carousel-text",content:e?.slideInfo?.heroBannerContent?.paragraph}):(0,t.jsx)(t.Fragment,{})]})})}function F(e,a){return(0,t.jsx)("div",{children:(0,t.jsx)(c.CarouselImage,{image:e?.heroBannerImage})},a)}},37976,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(17626),r=e.i(17419),n=e.i(49266),s=e.i(66196);e.i(35958);var l=e.i(78742),o=e.i(34357),c=e.i(22276),d=e.i(91788);e.i(41871);var u=e.i(87612);let h=e=>{let h,p,m,g,b,_,y,x=(0,a.c)(25),{carouselData:v,modulesInformation:A,course_id:w,isMyCourses:E,isActivityCard:S}=e,C=void 0!==E&&E,T=void 0!==S&&S,N=(0,d.useRef)(A?.nid),k=(0,u.useMediaQuery)("(max-width: 767px)"),I=(0,c.useSelector)(f);x[0]!==I||x[1]!==A?.nid?(h=()=>{if(I===N?.current){let e=document?.getElementById(`${A?.nid}`);e&&setTimeout(()=>{let t=e?.getBoundingClientRect()?.top+window.scrollY-50;window.scrollTo({top:t})},100)}},x[0]=I,x[1]=A?.nid,x[2]=h):h=x[2],x[3]!==I?(p=[I],x[3]=I,x[4]=p):p=x[4],(0,d.useEffect)(h,p);let j=A?.nid;return x[5]!==v||x[6]!==w||x[7]!==T||x[8]!==k||x[9]!==C||x[10]!==A?(m=k?(0,t.jsx)(r.Column,{desktop:4,tablet:6,mobile:12,className:"info-block",children:(0,t.jsx)(l.ModulesInformation,{...A,course_id:w,module_id:A?.nid,activity_id:v?.slidesInfo?.[0]?.id,isMyCourses:C})}):(0,t.jsx)(r.Column,{desktop:8,tablet:6,mobile:12,className:"carousel-block",children:(0,t.jsx)(o.default,{...v,course_id:w,module_id:A?.nid,isActivityCard:T,sequentialActivityFlowFlag:A?.sequentialActivityFlowFlag})}),g=k?(0,t.jsx)(r.Column,{desktop:8,tablet:6,mobile:12,className:"carousel-block",children:(0,t.jsx)(o.default,{...v,course_id:w,module_id:A?.nid,isActivityCard:T,sequentialActivityFlowFlag:A?.sequentialActivityFlowFlag})}):(0,t.jsx)(r.Column,{desktop:4,tablet:6,mobile:12,className:"info-block",children:(0,t.jsx)(l.ModulesInformation,{...A,course_id:w,module_id:A?.nid,activity_id:v?.slidesInfo?.[0]?.id,isMyCourses:C})}),x[5]=v,x[6]=w,x[7]=T,x[8]=k,x[9]=C,x[10]=A,x[11]=m,x[12]=g):(m=x[11],g=x[12]),x[13]!==k||x[14]!==C||x[15]!==A?.ctaLabel||x[16]!==A?.ctaLink?(b=k&&(0,t.jsx)(t.Fragment,{children:A?.ctaLabel?(0,t.jsx)("div",{className:"view-cta",children:(0,t.jsx)(i.AnchorButton,{href:A?.ctaLink??"/",isExternal:!1,tabindex:0,isSecondary:!0,isIconRight:!0,icon:!!C&&(0,t.jsx)(n.Icon,{iconName:"ArrowF
269orward1"}),children:A?.ctaLabel})}):(0,t.jsx)(t.Fragment,{})}),x[13]=k,x[14]=C,x[15]=A?.ctaLabel,x[16]=A?.ctaLink,x[17]=b):b=x[17],x[18]!==m||x[19]!==g||x[20]!==b?(_=(0,t.jsxs)(t.Fragment,{children:[m,g,b]}),x[18]=m,x[19]=g,x[20]=b,x[21]=_):_=x[21],x[22]!==j||x[23]!==_?(y=(0,t.jsx)(s.Row,{className:"modules-info-sec-body",ref:N,id:j,isTemplateWrapper:!0,children:_}),x[22]=j,x[23]=_,x[24]=y):y=x[24],y};function f(e){return e?.academyCourseReducer?.moduleId}},11302,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(55439),r=e.i(97268);e.i(41871);var n=e.i(87612);e.i(35958);var s=e.i(68244),l=e.i(65560),o=e.i(89861),c=e.i(82054),d=e.i(15315),u=e.i(91788);let h=e=>{let h,y,x,v,A,w,E,S,C=(0,a.c)(28),{searchLabel:T,searchPlaceholder:N,searchCTALabel:k,resultsLabel:I,noResultsLabel:j,noResultsDesc:P,webformBlock:L}=e;C[0]===Symbol.for("react.memo_cache_sentinel")?(h={},C[0]=h):h=C[0];let[O,D]=(0,u.useState)(h),[M,R]=(0,u.useState)("");(0,n.useMediaQuery)("(max-width: 991px)");let[F,B]=(0,u.useState)(!0);C[1]===Symbol.for("react.memo_cache_sentinel")?(y={},C[1]=y):y=C[1];let[U,H]=(0,u.useState)(y),[$,G]=(0,u.useState)(!0),[W,Y]=(0,u.useState)(""),[z,V]=(0,u.useState)(!0),{applicationHeaderData:K}=(0,u.useContext)(c.default),q=K?.headerData?.headerTopSection?.themeName??"";C[2]===Symbol.for("react.memo_cache_sentinel")?(x=async e=>{Y(e),B(!0);let t=await (0,d.getApi)(`/restapi/customer-connect/scout-company-search-by-sap?sap_id=${e}`,!1);t?(B(!1),H(t),G(!1),V(!1)):(B(!1),V(!1),H({}))},C[2]=x):x=C[2];let Q=x;C[3]!==P||C[4]!==j||C[5]!==I||C[6]!==k||C[7]!==T||C[8]!==N?(v=()=>{D({filtersLabels:{searchLabel:T,searchPlaceholder:N,SearchCTAText:k,resultsFoundLabel:I,noResultsFoundLabel:j,noResultsDesc:P}}),B(!1)},C[3]=P,C[4]=j,C[5]=I,C[6]=k,C[7]=T,C[8]=N,C[9]=v):v=C[9],C[10]===Symbol.for("react.memo_cache_sentinel")?(A=[],C[10]=A):A=C[10],(0,u.useEffect)(v,A),C[11]!==O?.filtersLabels?.noResultsFoundLabel||C[12]!==O?.filtersLabels?.resultsFoundLabel||C[13]!==U||C[14]!==W?(w=e=>W&&Object.keys(U)?.length?O?.filtersLabels?.resultsFoundLabel.replace("@count_val",W):O?.filtersLabels?.noResultsFoundLabel,C[11]=O?.filtersLabels?.noResultsFoundLabel,C[12]=O?.filtersLabels?.resultsFoundLabel,C[13]=U,C[14]=W,C[15]=w):w=C[15];let Z=w;C[16]===Symbol.for("react.memo_cache_sentinel")?(E=()=>{G(!0),R(""),Y("")},C[16]=E):E=C[16];let X=E;return C[17]!==M||C[18]!==O||C[19]!==Z||C[20]!==$||C[21]!==z||C[22]!==U||C[23]!==F||C[24]!==W||C[25]!==q||C[26]!==L?(S=(0,t.jsx)(t.Fragment,{children:Object.keys(O).length?(0,t.jsxs)("div",{className:"company-onboard scroll-top",children:[(0,t.jsx)(l.default,{filtersOptions:O?.careerSearchContent,filterLabels:O.filtersLabels,handleSearch:Q,isCareerSearch:!1,handleUnselectAll:f,handleAdditionalFilters:p,selectedFilters:m,applyAdditionalFilters:g,currentSearchText:M,handleRemoveItem:b,handleSearchText:R,noOfResults:W&&Object.keys(U)?.length?W:0,resetLocalFilterWithReducer:_,disabledAdvanceSearch:!0,showResultCount:!0}),W&&(0,t.jsx)(i.Seperator,{className:"company-onboard-separator"}),F&&(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(r.default,{display:!0})}),!F&&L?.fields?.length&&Object.keys(U)?.length?(0,t.jsx)(o.default,{theme:q,...L,initFormValues:U,handleOnSubmit:X,hideForm:$}):!F&&!z&&W&&(0,t.jsx)(s.TitleDescription,{title:Z(W)??"",description:O.filtersLabels?.noResultsDesc??"",searchKey:"",className:"company-onboard-no-result"})]}):(0,t.jsx)(t.Fragment,{})}),C[17]=M,C[18]=O,C[19]=Z,C[20]=$,C[21]=z,C[22]=U,C[23]=F,C[24]=W,C[25]=q,C[26]=L,C[27]=S):S=C[27],S};function f(){}function p(){}function m(){}function g(){}function b(){}function _(){}},14295,e=>{"use strict";e.s(["default",()=>E]);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(17626),r=e.i(17419),n=e.i(41040);e.i(35958);var s=e.i(64026),l=e.i(38613),o=e.i(60044);e.i(62179);var c=e.i(56995),d=e.i(98822),u=e.i(25532),h=e.i(91967),f=e.i(15315),p=e.i(67552),m=e.i(3828),g=e.i(22276),b=e.i(84016),_=e.i(92915),y=e.i(20549),x=e.i(91236);let v=e=>{let{tabContentData:b,tabHeadItems:y,user:v,resetUserAndProfile:A,setUserProfile:w}=e,{lang:E}=(0,f.getApiDomainAndLang)(),{fetchUserProfile:S}=(0,_.default)(),[C,T]=(0,a.useState)([]),[N,k]=(0,a.useState)(0),[I,j]=(0,a.useState)(0),[P,L]=(0,a.useState)(!1),[O,D]=(0,a.useState)([]),[M,R]=(0,a.useState)(""),F=(0,g.useDispatch)(),B=(0,a.useCallback)(t=>e?.moduleId(t),[F]);(0,a.useEffect)(()=>{let e=async()=>{let e=await S(x.PROFILE_API.FULL);e.fail?A({}):w(e)};v?.isLoggedIn&&e()},[v?.isLoggedIn]);let U=[],H=(e,i)=>{let o=i?.reduce((t,a)=>(e?.hasOwnProperty(a?.children)&&(t[a?.children]=e?.[a?.children]),t),{}),f=Object.entries(o)?.map(([e,i],o)=>{switch(i?.data?.[0]?.node_type){case p.BOOKMARK_CARD_TYPE.SANDOZ_ACADEMY_COURSES:{let e=(0,n.getCourseCards)(i),l=e?.data?.slice(0,parseInt(e?.itemsPerPage,10));return U.push({itemPerPage:parseInt(e?.itemsPerPage,10),totalCount:e?.totalCount}),(0,t.jsx)("div",{className:`bookmarked-cards ${l?.length===1?"single-course-card":l?.length===2?"two-course-cards":""}`,children:l?.map((e,i)=>(0,t.jsx)(r.Column,{desktop:4,tablet:6,mobile:12,children:(0,a.createElement)(s.FlexibleCard,{...e,key:o,bookmarkCourseCard:!0})},i))},o)}case p.BOOKMARK_CARD_TYPE.SANDOZ_ACADEMY_MODULES:{let e=(0,n.getModuleCards)(i),l=e?.data?.slice(0,e?.itemsPerPage);return U.push({itemPerPage:parseInt(e?.itemsPerPage,10),totalCount:e?.totalCount}),(0,t.jsx)("div",{className:`bookmarked-cards-modules ${l?.length===1?"single-module-card":""}`,children:l?.map((e,i)=>(0,t.jsx)(r.Column,{desktop:6,tablet:6,mobile:12,children:(0,a.createElement)(s.FlexibleCard,{...e,key:o,module
269ChangeId:B})},i))},o)}case p.BOOKMARK_CARD_TYPE.EVENT:{let e=(0,n.getEventCardData)(i),a=e?.data?.slice(0,e?.itemsPerPage);return U.push({itemPerPage:e?.itemsPerPage,totalCount:e?.totalCount}),(0,t.jsx)("div",{className:"flex-grid",children:a?.map((e,t)=>{d.EventCardVertical})},o)}case p.BOOKMARK_CARD_TYPE.PRODUCT:{let e=(0,n.getProductCsvData)(i),a=e?.data?.slice(0,e?.itemsPerPage);return U.push({itemPerPage:e?.itemsPerPage,totalCount:e?.totalCount}),(0,t.jsx)("div",{className:"flex-grid",children:a?.map((e,t)=>{l.ProductCardListViewContent})},o)}case p.BOOKMARK_CARD_TYPE.EDUCATION:{let e=(0,n.getEducationCard)(i),a=e?.data?.slice(0,e?.itemsPerPage);return U.push({itemPerPage:e?.itemsPerPage,totalCount:e?.totalCount}),(0,t.jsx)("div",{className:"flex-grid",children:a?.map((e,t)=>{c.EducationCard})},o)}case p.BOOKMARK_CARD_TYPE.MAGAZINE:{let e=(0,n.getMagazineData)(i,E),r=e?.data?.slice(0,e?.itemsPerPage);return U.push({itemPerPage:e?.itemsPerPage,totalCount:e?.totalCount}),(0,t.jsx)("div",{className:"event-grid",children:r?.map((e,i)=>(0,t.jsx)("div",{className:"profile-bookmark-mag-card",children:(0,a.createElement)(u.MagazineCard,{...e,key:o})},i))},o)}case p.BOOKMARK_CARD_TYPE.NEWS_AND_STORIES:{let e=(0,n.getNewsStoriesData)(i),a=e?.data?.slice(0,e?.itemsPerPage);return U.push({itemPerPage:e?.itemsPerPage,totalCount:e?.totalCount}),(0,t.jsx)("div",{className:"flex-grid",children:a?.map((e,t)=>{h.NewsStoriesCard})},o)}default:return[]}});return D(U),f};(0,a.useEffect)(()=>{T(H(b,y))},[b]);let $=()=>{m.default.push(`/my-profile?tab=bookmarks-tab&secLevelTab=${M}`)};(0,a.useEffect)(()=>{j(O.reduce((e,t)=>e+t.totalCount,0));let e=O?.[N];e&&(L(e?.itemPerPage<e?.totalCount),R(y?.[N]?.tabToBeSelected??""))},[N,O]);let G=e=>{let t=O?.[N];return e.replace("@count",t?.totalCount)},W=y?.filter(e=>b?.hasOwnProperty(e?.children));return 0!==I?(0,t.jsxs)("div",{className:"academy-boomarks",children:[(0,t.jsxs)("div",{className:"academy-boomarks-head",children:[e?.title?(0,t.jsx)("h2",{className:"bold",children:e?.title}):(0,t.jsx)(t.Fragment,{}),e?.description?(0,t.jsx)("p",{children:G(e?.description)}):(0,t.jsx)(t.Fragment,{})]}),(0,t.jsx)(o.Tabs,{tabContentClassName:"academy-boomarks-tab-container",tabHeadItems:W??[],tabContents:C??[],activeItem:void 0,setTabChangeEvent:k}),P&&(0,t.jsx)(i.AnchorButton,{className:"bookmark-cta",href:e?.href??"",isExternal:!1,tabindex:0,onClick:()=>$(),children:e?.ctaLabel})]}):(0,t.jsx)(t.Fragment,{})},A={moduleId:e=>(0,b.moduleId)(e),setUserProfile:e=>(0,y.setUserProfile)(e),resetUserAndProfile:e=>(0,y.resetUser)(e)},w=e=>({user:e.user}),E=(0,g.connect)(w,A)(v)},81778,e=>{"use strict";e.s(["default",()=>h]);var t=e.i(91398),a=e.i(68489),i=e.i(91788),r=e.i(3265),n=e.i(83919);let s=(0,a.default)(()=>e.A(86978),{loadableGenerated:{modules:[15465]}}),l=(0,a.default)(()=>e.A(79116),{loadableGenerated:{modules:[31727]}}),o=(0,a.default)(()=>e.A(68664),{loadableGenerated:{modules:[54099]}}),c=(0,a.default)(()=>e.A(98020),{loadableGenerated:{modules:[64478]}}),d=(0,a.default)(()=>e.A(58103),{loadableGenerated:{modules:[76687]}}),u=(0,a.default)(()=>e.A(5920),{loadableGenerated:{modules:[49447]}}),h=e=>{let{url:a}=e,[h,f]=(0,i.useState)({});(0,i.useEffect)(()=>{(async()=>{try{let e=await (0,r.getBlockData)(a),t=e?.included||[],i=t.filter(e=>e.type.includes("magazine")),n=t.filter(e=>e.type.includes("article")),s=t.filter(e=>e.type.includes("education")),l=t.filter(e=>e.type.includes("news_and_stories")),o=t.filter(e=>e.type.includes("event")),c=t.filter(e=>e.type.includes("wsi")),d=await Promise.all(i.map(p)),u=n.map(m),h=s.map(g),x=l.map(b),v=o.map(_),A=c.map(y);f({magazine:d,article:u,education:h,newsStories:x,event:v,wsi:A})}catch(e){console.error("Error fetching cards:",e)}})()},[a]);let p=async e=>{let t=e?.col?.split(" - "),a=Number(t?.[0])||1,{imageUrl:i,alt:n,imageStyledUrl:s}=(0,r.getImageMeta)(e?.relationships?.field_magz_image),l={src:i,alt:n||"",styledimage:s??null},o=await (0,r.getTaxonomy)(e?.relationships?.field_magz_topics?.links?.related?.href),c=a>0&&a<=6?`h${a}`:"p";return{id:e?.attributes?.drupal_internal__nid??"",magImage:l,isVideo:e?.attributes?.field_magz_t
269ype==="video"||e?.attributes?.field_magz_type==="podcast",taxonomies:o,href:e?.attributes?.path?.alias??null,title:`<${c}>${e?.attributes?.title??""}</${c}>`,subtitle:e?.attributes?.field_magz_subtitle?.processed??null,desc:e?.attributes?.body?.processed??"",createdDate:e?.attributes?.field_magz_date??null,time:e?.attributes?.field_magz_reading_time?.processed??null,totalFavoriteCount:150,bookmark:{addText:"Add to Bookmark",removeText:"Remove from Bookmark",bookmarkStatus:!1,isButton:!1},row:a}},m=e=>{let{imageUrl:t,alt:a,imageStyledUrl:i}=(0,r.getImageMeta)(e?.relationships?.field_article_image),n={src:t,alt:a||"",styledimage:i??null,width:568,height:379};return{articleTeaserContent:{title:e?.attributes?.title??"",subtitle:e?.attributes?.field_article_subtitle?.processed??"",description:e?.attributes?.body?.processed??"",href:e?.attributes?.path?.alias??"",heading:e?.attributes?.title??"",text:e?.attributes?.body?.processed??"",link:e?.attributes?.path?.alias??"",createdDate:e?.attributes?.field_article_date??"",time:e?.attributes?.field_article_reading_time?.processed??"",bookmark:{addText:"Add to Bookmark",removeText:"Remove from Bookmark",bookmarkStatus:!1,isButton:!1},taxonomies:[]},articleTeaserImage:{desktopImage:n,mobileImage:null},compositionType:"DEFAULT",imagePosition:"IMAGE_LEFT",containerDefault:"CONTAINER_DEFAULT",className:"custom-article-teaser"}},g=e=>{let{imageUrl:t,alt:a,imageStyledUrl:i}=(0,r.getImageMeta)(e?.relationships?.field_education_image);return{educationCardContent:{heading:e?.attributes?.title??"",title:e?.attributes?.title??"",text:e?.attributes?.body?.processed??"",contentType:null,description:e?.attributes?.body?.processed??"",buttonLabel:e?.attributes?.field_education_button_label??"Learn More",buttonUrl:e?.attributes?.field_education_button_url??"",buttonUrlExternal:e?.attributes?.field_education_button_external??!1,taxonomies:[],id:e?.id,time:e?.attributes?.field_time,bookmark:{addText:"Add Bookmark",removeText:"Remove Bookmark",bookmarkStatus:!1,isButton:!1}},imageSrc:t??"",imgAlt:a||"",styledimage:i??null,videoUrl:e?.attributes?.field_education_video_url??"",relatedContentFlag:!1}},b=e=>{let{imageUrl:t,alt:a,imageStyledUrl:i}=(0,r.getImageMeta)(e?.relationships?.field_news_image);return{styledimage:i??null,imageSrc:t??"",imgAlt:a||"",newsStoriesContent:{id:e?.attributes?.drupal_internal__nid??"",title:e?.attributes?.title??"",heading:e?.attributes?.title??"",text:e?.attributes?.body?.processed??"",description:e?.attributes?.body?.processed??"",buttonLabel:e?.attributes?.field_news_button_label??"Read More",buttonUrl:e?.attributes?.field_news_button_url??"",isButtonUrlExternal:e?.attributes?.field_news_button_external??!1,taxonomies:[],avgRating:e?.attributes?.field_news_avg_rating??null,bookmark:{addText:"Add to Bookmark",removeText:"Remove from Bookmark",bookmarkStatus:!1,isButton:!1}},relatedContentFlag:!1}},_=e=>{let{imageUrl:t,alt:a,imageStyledUrl:i}=(0,r.getImageMeta)(e?.relationships?.field_event_image);return{eventCardVerticalContent:{title:e?.attributes?.title??"",heading:e?.attributes?.title??"",text:e?.attributes?.body?.processed??"",description:e?.attributes?.body?.processed??"",primaryButtonLabel:e?.attributes?.field_event_primary_button_label??"Register",primaryButtonUrl:e?.attributes?.field_event_primary_button_url??"",primaryIsExternalUrl:e?.attributes?.field_event_primary_button_external??!1,secondaryButtonLabel:e?.attributes?.field_event_secondary_button_label??"",secondaryButtonUrl:e?.attributes?.field_event_secondary_button_url??"",secondaryIsExternalUrl:e?.attributes?.field_event_secondary_button_external??!1,taxonomies:[],bookmark:{addText:"Add Bookmark",removeText:"Remove Bookmark",bookmarkStatus:!1,isButton:!1,id:e?.id,time:e?.attributes?.field_time}},eventCardVerticalImage:{src:t??"",alt:a||"",styledimage:i??null},eventCardVDesktopColumn:4,eventCardVTabletColumn:6,eventCardVMobileColumn:12,relatedContentFlag:!1}},y=e=>{let{imageUrl:t,alt:a,imageStyledUrl:i}=(0,r.getImageMeta)(e?.relationships?.field_upload_images),n={src:t,alt:a||"",styledimage:i??null,width:568,height:379};return{wsiCardContent:{heading:e?.attributes?.title??"",text:e?.attributes?.body?.processed??"",taxonomies:[],isDownload:e?.attributes?.field_enable_download,field_enable_quantity_and_add_to:e?.attributes?.field_enable_quantity_and_add_to,field_fixed_values:e?.attributes?.field_fixed_values,field_quantity_available:e?.attributes?.field_quantity_available},wsiCardImage:{desktopImage:n},wsiCardDesktopColumn:4,wsiCardTabletColumn:6,wsiCardMobileColumn:12,downloadWsiFile:e?.relationships?.field_file_upload}},x=(e,a)=>{let i,r;if(!a.length)return null;let h=!1,f=1,p=1;switch(e){case"magazine":i=s;break;case"article":default:i=l;break;case"education":i=o;break;case"newsStories":i=c;break;case"event":i=d;break;case"wsi":i=u,f=3,p=2,h=!0,r=!(a.length<=3)&&void 0}return(0,t.jsx)(n.default,{slideToShow:f,slideToShowTablet:p,enableCarousel:h,infinite:r,children:a.map((a,r)=>
269(0,t.jsx)(i,{...a},`${e}-${r}`))})};return(0,t.jsx)("div",{className:"content-card-wrapper",children:Object.entries(h).map(([e,t])=>x(e,t))})}},62179,e=>{"use strict";e.s([]),e.i(2743),e.i(18221),e.i(13787),e.i(84897),e.i(75891),e.i(25427),e.i(98601),e.i(36148),e.i(28614),e.i(99213),e.i(68422),e.i(62467),e.i(62423),e.i(83919),e.i(42316),e.i(438),e.i(48023),e.i(71400),e.i(14168),e.i(63344),e.i(26067),e.i(34713),e.i(68316),e.i(77444),e.i(29813),e.i(43633),e.i(66558),e.i(11462),e.i(97111),e.i(20672),e.i(40702),e.i(88772),e.i(51956),e.i(15934),e.i(44630),e.i(39938),e.i(4279),e.i(64821),e.i(16164),e.i(28884),e.i(32228),e.i(33462),e.i(83747),e.i(62971),e.i(87560),e.i(51236),e.i(79285),e.i(60338),e.i(40182),e.i(74571),e.i(33901),e.i(78947),e.i(35074),e.i(66562),e.i(50915),e.i(80338),e.i(61101),e.i(24342),e.i(55794),e.i(25518),e.i(2710),e.i(22183),e.i(38412),e.i(88277),e.i(75635),e.i(8137),e.i(85261),e.i(58684),e.i(57111),e.i(46416),e.i(62343),e.i(87374),e.i(69023),e.i(34391),e.i(38427),e.i(39069),e.i(32683),e.i(29878),e.i(81735),e.i(81675),e.i(32176),e.i(60626),e.i(42496),e.i(96458),e.i(1564),e.i(74631),e.i(92722),e.i(35566),e.i(59537),e.i(34255),e.i(18414),e.i(62730),e.i(41775),e.i(37976),e.i(32112),e.i(11302),e.i(23385),e.i(14295),e.i(81778),e.i(59854),e.i(67589)},65208,e=>{"use strict";e.s(["FloatingModule",()=>t.default]);var t=e.i(35074)},7995,33083,e=>{"use strict";e.s(["FloatingModuleLegacy",()=>t.default],7995);var t=e.i(1564);e.s(["default",()=>u],33083);var a=e.i(91398),i=e.i(61576),r=e.i(91788),n=e.i(24671);e.i(48756);var s=e.i(49266),l=e.i(5223);e.i(41871);var o=e.i(87612),c=e.i(91567);let d=e=>{let t,c,d,u,f,p,m,g=(0,i.c)(23),{data:b}=e,{title:_,expandedCoverageNumber:y,bannerType:x,legalBannerMobileCtaText:v,disclaimerBannerText:A,nonStickyTitle:w,disclaimerBannerScreenOccupancy:E}=b,S=(0,r.useRef)(null),C=(0,r.useRef)(null),[,T]=(0,r.useState)(!1),N=(0,o.useMediaQuery)("(max-width: 767px)"),k=h;g[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{S.current?.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},g[0]=t):t=g[0];let I=t;g[1]===Symbol.for("react.memo_cache_sentinel")?(c={threshold:0},g[1]=c):c=g[1];let{ref:j,inView:P}=(0,n.useInView)(c);g[2]===Symbol.for("react.memo_cache_sentinel")?(d={threshold:0},g[2]=d):d=g[2];let{ref:L,inView:O,entry:D}=(0,n.useInView)(d);return g[3]!==D?(u=()=>{D&&(D.isIntersecting?T(!0):T(!1))},g[3]=D,g[4]=u):u=g[4],g[5]!==P||g[6]!==O?(f=[P,O],g[5]=P,g[6]=O,g[7]=f):f=g[7],(0,r.useEffect)(u,f),g[8]!==x||g[9]!==E||g[10]!==A||g[11]!==y||g[12]!==P||g[13]!==O||g[14]!==N||g[15]!==v||g[16]!==w||g[17]!==j||g[18]!==L||g[19]!==_?(p=("legal_banner"===x&&_&&w||"disclaimer_banner"===x&&A)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"legal-banner-module sticky show",tabIndex:0,style:{display:O?"none":"block"},children:(0,a.jsx)("div",{className:"header",children:(0,a.jsxs)("div",{className:"disclaimer_banner"===x?"header-content legal-banner-module-width legal-banner-module-width-expand":"header-legal-content legal-banner-module-width legal-banner-module-width-expand",style:{maxHeight:"legal_banner"===x?`${y}vh`:`${E}vh`,display:"disclaimer_banner"===x?"block":""},children:[(0,a.jsxs)("div",{className:"legal_content",children:[(0,a.jsx)("div",{ref:j,children:(0,a.jsx)("div",{children:"legal_banner"===x&&P&&(0,a.jsx)(a.Fragment,{children:N?"":(0,a.jsx)("div",{className:"stickyContent",children:(0,a.jsx)(l.RichText,{className:"legal-banner-module-description",content:_})})})})}),"disclaimer_banner"===x&&(0,a.jsx)("div",{className:"legal-banner-title",children:A&&(0,a.jsx)(l.RichText,{className:"legal-banner-module-description",content:A})})]}),"disclaimer_banner"!==x&&(0,a.jsxs)(a.Fragment,{children:[N&&(0,a.jsx)("div",{onClick:I,className:"view-more-txt",children:v}),(0,a.jsxs)("div",{className:"legal-banner-module-icon-wrapper",tabIndex:0,children:[(0,a.jsx)("div",{className:"legal-banner-module-seperator"}),(0,a.jsx)("div",{className:"header-icon-container",children:(0,a.jsx)(s.Icon,{iconName:"ChevronDown",className:"header-icon",onClick:I})})]})]})]})})}),(0,a.jsx)("div",{className:"legal-banner-module",tabIndex:0,children:(0,a.jsx)("div",{className:"header",ref:S,
269children:(0,a.jsxs)("div",{className:N?"legal-banner-module-text":"header-legal-content legal-banner-module-width legal-banner-module-width-expand",ref:S,children:[(0,a.jsxs)("div",{className:"legal_content",children:[(0,a.jsx)("div",{ref:L,id:"inview-block",children:"legal_banner"===x&&O&&(0,a.jsx)("div",{className:"nonsticky",ref:C,children:w&&(0,a.jsx)(l.RichText,{className:"legal-banner-module-description",content:w})})}),"disclaimer_banner"===x&&(0,a.jsx)("div",{className:"legal-banner-title",children:A&&(0,a.jsx)(l.RichText,{className:"legal-banner-module-description",content:A})})]}),(0,a.jsx)("div",{className:"legal-banner-module-icon-content",children:"disclaimer_banner"!==x&&(0,a.jsxs)(a.Fragment,{children:[N&&(0,a.jsx)("div",{onClick:I,className:"view-more-txt",children:v}),(0,a.jsxs)("div",{className:"legal-banner-module-icon-wrapper",tabIndex:0,children:[(0,a.jsx)("div",{className:"legal-banner-module-seperator"}),(0,a.jsx)("div",{className:"header-icon-container",children:(0,a.jsx)(s.Icon,{iconName:"ChevronUp",className:"header-icon",onClick:k})})]})]})})]})})})]}),g[8]=x,g[9]=E,g[10]=A,g[11]=y,g[12]=P,g[13]=O,g[14]=N,g[15]=v,g[16]=w,g[17]=j,g[18]=L,g[19]=_,g[20]=p):p=g[20],g[21]!==p?(m=(0,a.jsx)(a.Fragment,{children:p}),g[21]=p,g[22]=m):m=g[22],m};d.propTypes={data:c.default.object};let u=d;function h(){window.scrollTo({top:0,behavior:"smooth"})}},95264,e=>{"use strict";var t=e.i(91398),a=e.i(61576);let i=e=>{let i,r,n,s=(0,a.c)(8);s[0]!==e.className?(i=()=>{let t=[];return t.push("language-options"),e.className&&t.push(e.className),t.join(" ")},s[0]=e.className,s[1]=i):i=s[1];let l=i();return s[2]!==e.country?(r=(0,t.jsx)("li",{className:"language-country",children:e.country}),s[2]=e.country,s[3]=r):r=s[3],s[4]!==e.langs||s[5]!==l||s[6]!==r?(n=(0,t.jsxs)("ul",{className:l,children:[r,e.langs]}),s[4]=e.langs,s[5]=l,s[6]=r,s[7]=n):n=s[7],n};e.s(["default",0,i])},26771,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(95264),r=e.i(15315),n=e.i(72094),s=e.i(67552),l=e.i(91788);let o=()=>{let e,t,i,o,c,u=(0,a.c)(9),[h,f]=(0,l.useState)(!1);u[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],u[0]=e):e=u[0];let[p,m]=(0,l.useState)(e);u[1]===Symbol.for("react.memo_cache_sentinel")?(t=[],u[1]=t):t=u[1];let[g,b]=(0,l.useState)(t);u[2]===Symbol.for("react.memo_cache_sentinel")?(i=[],u[2]=i):i=u[2];let[_,y]=(0,l.useState)(i);u[3]===Symbol.for("react.memo_cache_sentinel")?(o=async()=>{f(!0);let e=await (0,r.middlewarePostAPI)(n.config.onPrem.LANGUAGE_SWITCHER_URL,{data:"abc"},!0),t=e?.response?.language_data;if(t=Array.isArray(t)?t[0]:t,f(!1),t){let e=[],a=[],i=[],r=0;for(let n in t){let l=t[n];e.push({id:r++,value:l?.name,label:l?.name}),a.push({children:l?.name,itemID:`pills-${l?.name}`,active:0===r,tabDesign:"pills"});let o=(0,s.getLanguageByCountry)(l),c=o?.map(d);i.push(c)}m(e),b(a),y(i)}},u[3]=o):o=u[3];let x=o;return u[4]!==h||u[5]!==_||u[6]!==g||u[7]!==p?(c={languageLoading:h,fetchLanguageDataSource:x,tabOptions:p,tabHeadItems:g,tabContents:_},u[4]=h,u[5]=_,u[6]=g,u[7]=p,u[8]=c):c=u[8],c};function c(e){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("li",{className:"language-item",children:(0,t.jsx)("a",{href:e?.url,className:"lang-item",children:e?.language})})})}function d(e){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(i.default,{country:e?.country,langs:e?.languages&&e?.languages?.length?e?.languages?.map(c):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("li",{className:"language-item",children:(0,t.jsx)("a",{href:e?.url,className:"lang-item",children:e?.language})})})})})}e.s(["default",0,o])},75207,e=>{"use strict";var t=e.i(61576),a=e.i(91788),i=e.i(82108);function r(){let e,i=(0,t.c)(1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],i[0]=e):e=i[0],(0,a.useEffect)(n,e),null}function n(){return(0,i.initializeConsentTracking)()}e.s(["default",0,r])},12015,e=>{"use strict";var t=e.i(75207);e.s(["ConsentHandler",()=>t.default])},14060,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(6271),r=e.i(5223);let n=e=>{let n,s,l,o=(0,a.c)(7),{title:c,description:d}=e;return o[0]!==c?(n=c&&(0,t.jsx)("h3",{className:"bold",children:c}),o[0]=c,o[1]=n):n=o[1],o[2]!==d?(s=d&&(0,t.jsx)(r.RichText,{content:d}),o[2]=d,o[3]=s):s=o[3],o[4]!==n||o[5]!==s?(l=(0,t.jsx)(i.Container,{children:(0,t.jsxs)("div",{className:"reference-text",children:[n,s]})}),o[4]=n,o[5]=s,o[6]=l):l=o[6],l}},38462,e=>{"use strict";e.s(["ReferenceText",()=>t.default]);var t=e.i(14060)},14722,99729,946,24007,8472,e=>{"use strict";e.s(["default",()=>ed],14722);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(49266),n=e.i(47266),s=e.i(45861),l=t,o=a,c=i,d=t,u=a,h=i,f=r,p=e.i(40139),m=e.i(82054);let g=e=>{let t,a,i,r,n,s,l,o,c,g=(0,u.c)(26),{variant:b,productUrl:_,gtinKey:y,gtinLabel:x,quantityLabel:v,onDelete:A,productName:w}=e,{applicationConfiguration:E}=(0,h.useContext)(m.default),S=E?.siteConfig?.number_format;g[0]!==y||g[1]!==x||g[2]!==b?(t=b?.[y]&&(0,d.jsxs)("p",{className:"eitem-gtin",children:[(0,d.jsx)("span",{className:"eitem-gtin-label",children:x}),(0,d.jsx)("span",{className:"eitem-gtin-value",children:b?.[y]})]}),g[0]=y,g[1]=x,g[2]=b,g[3]=t):t=g[3],g[4]!==v?(a=(0,d.jsx)("span",{className:"eitem-qty-label",children:v}),g[4]=v,g[5]=a):a=g[5];let C=Number(b?.quantity_label);return g[6]!==S||g[7]!==C?(i=(0,p.eshopFormatInteger)(C,S),g[6]=S,g[7]=C,g[8]=i):i=g[8],g[9]!==i?(r=(0,d.jsx)("span",{className:"eitem-qty-value",children:i}),g[9]=i,g[10]=r):r=g[10],g[11]!==a||g[12]!==r?(n=(0,d.jsxs)("p",{className:"eitem-qty",children:[a,r]}),g[11]=a,g[12]=r,g[13]=n):n=g[13],g[14]!==A||g[15]!==w||g[16]!==_||g[17]!==b?(s=()=>A(b?.cartItemId,b?.productId,_,{...b,productName:w}),g[14]=A,g[15]=w,g[16]=_,g[17]=b,g[18]=s):s=g[18],g[19]===Symbol.for("react.memo_cache_sentinel")?(l=(0,d.jsx)(f.Icon,{iconName:"
269closeBlue",width:20,height:20}),g[19]=l):l=g[19],g[20]!==s?(o=(0,d.jsx)("button",{className:"eitem-close-btn",onClick:s,"aria-label":"remove cart item",children:l}),g[20]=s,g[21]=o):o=g[21],g[22]!==t||g[23]!==n||g[24]!==o?(c=(0,d.jsxs)("div",{className:"eitem-variation",children:[t,n,o]}),g[22]=t,g[23]=n,g[24]=o,g[25]=c):c=g[25],c},b=h.default.memo(g);var _=e.i(61601);let y=e=>{let t,a,i,r,n=(0,o.c)(16),{item:s,drupalData:c,onDelete:d}=e;n[0]!==c?.product_card_details?.card_attributes?(t=c?.product_card_details?.card_attributes??[],n[0]=c?.product_card_details?.card_attributes,n[1]=t):t=n[1];let u=t,h=c?.quantity_details?.quantity_label??_.EMPTY_STRING,f=u?.[0]?.label??_.EMPTY_STRING,p=u?.[0]?.attribute_name??"gtin",m=`minicartItem-${s?.field_san_at_productname}`,g=s?.field_san_at_productname;return n[2]!==g?(a=(0,l.jsx)("p",{className:"eitem-name",children:g}),n[2]=g,n[3]=a):a=n[3],n[4]!==p||n[5]!==f||n[6]!==s?.field_san_at_productname||n[7]!==s?.field_san_at_producturl||n[8]!==s?.variationInfo||n[9]!==d||n[10]!==h?(i=s?.variationInfo?.map((e,t)=>(0,l.jsx)(b,{variant:e,productUrl:s?.field_san_at_producturl,gtinKey:p,gtinLabel:f,quantityLabel:h,onDelete:d,productName:s?.field_san_at_productname},`variant-${e?.productId}-${t}`)),n[4]=p,n[5]=f,n[6]=s?.field_san_at_productname,n[7]=s?.field_san_at_producturl,n[8]=s?.variationInfo,n[9]=d,n[10]=h,n[11]=i):i=n[11],n[12]!==m||n[13]!==a||n[14]!==i?(r=(0,l.jsxs)("div",{className:"eitem-details",children:[a,i]},m),n[12]=m,n[13]=a,n[14]=i,n[15]=r):r=n[15],r},x=c.default.memo(y);e.s(["default",()=>T],99729);var v=t,A=a,w=i;e.i(35958);var E=e.i(76988),S=_;let C=e=>{let t,a,i,r=(0,A.c)(11),{toastMessage:n,apiError:s,isInvalid:l,isTenSeconds:o,clearToast:c,clearError:d}=e;return r[0]!==c||r[1]!==n?(t=n&&(0,v.jsx)(E.Notification,{notificationType:"success",displayTxt:n,autoCloseTimer:S.NOTIFICATION_DURATION,onClose:c}),r[0]=c,r[1]=n,r[2]=t):t=r[2],r[3]!==s?.errorMessage||r[4]!==d||r[5]!==l||r[6]!==o?(a=l&&(0,v.jsx)(E.Notification,{notificationType:"error",displayTxt:s?.errorMessage??S.EMPTY_STRING,autoCloseTimer:o?S.NOTIFICATION_DURATION_TEN_SEC:S.NOTIFICATION_DURATION,onClose:d}),r[3]=s?.errorMessage,r[4]=d,r[5]=l,r[6]=o,r[7]=a):a=r[7],r[8]!==t||r[9]!==a?(i=(0,v.jsxs)("div",{className:"eshop-notification",children:[t,a]}),r[8]=t,r[9]=a,r[10]=i):i=r[10],i},T=w.default.memo(C);var N=i,k=e.i(22276),I=m,j=e.i(10694),P=e.i(95414);let L=P.gql`
270mutation RemoveProductFromCart($input: RemoveCartItemInput!) {
271  removeProductFromCart(input: $input) {
272    success
273    statusCode
274    message
275    data {
276      productId
277      cartItemId
278    }
279  }
280}
281`;var O=e.i(21984),D=_,M=e.i(82725);let R="Remove from Cart GQL",F=async({cartItemId:e,productUrl:t,session:a,csrf:i,accountId:r,caching:n})=>{if(!D.GQL_API_URL)throw Error("GraphQL API URL is not defined");let s=Date.now();try{let l=M.default.get(D.COOKIE_KEYS.GQL_TOKEN),o={input:{cartItemId:e,productUrl:t}},c={[D.HEADER_KEYS.API_KEY]:D.GQL_API_KEY,[D.HEADER_KEYS.SANDOZ_TOKEN]:l,[D.HEADER_KEYS.SANDOZ_SESSION]:a,[D.HEADER_KEYS.SANDOZ_CSRF]:i,[D.HEADER_KEYS.SANDOZ_ACCOUNTID]:r??D.EMPTY_STRING,[D.HEADER_KEYS.CACHING]:n};s=Date.now();let d=await (0,j.request)(D.GQL_API_URL,L,o,c),u=Date.now()-s,{success:h,message:f,statusCode:p}=d?.removeProductFromCart;return(0,O.logFrontendEvent)(h?`${R} Success`:`${R} Failed`,h?D.NEW_RELIC_KEYS.LOG_LEVEL_INFO:D.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:R,duration:`${u}ms`,cartItemId:e,statusCode:p,message:f,timestamp:new Date().toISOString()}),{...d.removeProductFromCart,isUnauthorized:!1}}catch(i){let t=Date.now()-s;(0,O.logFrontendEvent)(`${R} Error`,D.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:R,duration:`${t}ms`,cartItemId:e,errorMessage:i,timestamp:new Date().toISOString()}),console.error("Error removing product from cart:",i);let a=JSON.parse(JSON.stringify(i));return{success:!1,isUnauthorized:a?.response?.errors[0]?.extensions?.response?.status===403||a?.response?.errors[0]?.extensions?.response?.status===401}}};e.s(["eShopRemoveFromCart",0,F],946),e.i(50461);var B=e.i(15315),U=e.i(54456),H=O,$=_,G=M;let W="",Y="",z="mini_cart",V="Mini Cart",K="Drupal Mini-Cart API",q=(e,t)=>
281{t&&(e.includes(t)||e.push(t))},Q=[$.FIELD_EXFACTORY_PRICE,$.FIELD_LIST_PRICE,$.FIELD_NET_PRICE],Z=e=>{let t=[],a=[],i=[];for(let r of(["id"," total_amount","productCount"].forEach(e=>q(t,e)),[...$.DEFAULT_PRODUCT_ATTRIBUTES].forEach(e=>q(a,e)),["cartItemId","productId","quantity_label","field_exfactory_price","field_list_price_ecomm","net_price"].forEach(e=>q(i,e)),e?.product_card_details?.card_attributes||[]))r?.attribute_name&&q(i,r.attribute_name);return{dataFields:t,cartItensDataFields:a,variationFields:i}},X=({dataFields:e,cartItensDataFields:t,variationFields:a})=>{let i=Array.from(e).join("\n          "),r=Array.from(a).map(e=>Q.includes(e)?`${e} {
282                  Price
283                  Currency
284}`:e).join("\n                ");return`
285  query Cart {
286    cart {
287      success
288      statusCode
289      message
290      cart {
291        ${i}
292        cartItems {
293         ${t}
294          variationInfo {
295            ${r}
296          }
297        }
298      }
299    }
300  }
301`};function J(e){return X(Z(e))}let ee=async({labelUrl:e,gqlToken:t,session:a,csrf:i,accountId:r,caching:n})=>{let s=Date.now(),l={product_card_details:{card_attributes:[]},minicart_title:$.EMPTY_STRING,go_to_cart_label:$.EMPTY_STRING,empty_minicart_msg:$.EMPTY_STRING,removed_from_cart_msg:$.EMPTY_STRING,something_went_wrong_msg:$.EMPTY_STRING,unexpected_err_msg:$.EMPTY_STRING,qty_exceeded_msg:$.EMPTY_STRING,quantity_details:{isHidden:1,quantity_label:$.EMPTY_STRING}},o=e.split("/");o[o.length-1]=z;let c=o.join("/"),d={},u=JSON.parse(sessionStorage.getItem("domainLang")),h={[$.HEADER_KEYS.API_KEY]:W,[$.HEADER_KEYS.SANDOZ_TOKEN]:G.default.get($.COOKIE_KEYS.GQL_TOKEN)??t,[$.HEADER_KEYS.SANDOZ_LOCALE]:u,[$.HEADER_KEYS.SANDOZ_SESSION]:a,[$.HEADER_KEYS.SANDOZ_CSRF]:i,[$.HEADER_KEYS.SANDOZ_ACCOUNTID]:r??$.EMPTY_STRING,[$.HEADER_KEYS.CACHING]:n},f=!1,p=$.EMPTY_STRING;try{l=await (0,B.getApi)(c),f=!0}catch(e){p=String(e),l={}}finally{let e=Date.now()-s;(0,H.logFrontendEvent)(f?`${V} Drupal Success`:`${V} Drupal Error`,f?$.NEW_RELIC_KEYS.LOG_LEVEL_INFO:$.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:`${K}`,duration:`${e}ms`,drupalUrl:c,message:p,timestamp:new Date().toISOString()})}let m=Date.now(),g=J(l);try{let e=await (0,U.default)(Y,g,d,h),t=Date.now()-m,a=e?.cart?.cart||{},i=a?.productCount||$.EMPTY_STRING,r=a?.cartItems,n=!!e?.cart?.success,s=e?.cart?.statusCode;if((0,H.logFrontendEvent)(n?`${V} GQL Success`:`${V} GQL Failure`,n?$.NEW_RELIC_KEYS.LOG_LEVEL_INFO:$.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:`${V} - SearchAPI`,duration:`${t}ms`,productCount:i,message:e?.cart?.message,statusCode:e?.cart?.statusCode,timestamp:new Date().toISOString()}),!a?.cartItems?.length)return(0,H.logFrontendEvent)(`${V} Empty List`,$.NEW_RELIC_KEYS.LOG_LEVEL_INFO,{source:`${V} - API`,duration:`${t}ms`,productCount:0,message:e?.cart?.message,timestamp:new Date().toISOString()}),{eShopMiniCartData:[],productCount:i,drupalResponse:l,successFlag:n,statusCode:s,isUnauthorized:!1};return{eShopMiniCartData:r,productCount:i,drupalResponse:l,products:a,successFlag:n,statusCode:s,isUnauthorized:!1}}catch(r){let e=m?Date.now()-m:0;(0,H.logFrontendEvent)(`${V} - GQL Fetch Error`,$.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:`${V} - API`,duration:`${e}ms`,message:r,timestamp:new Date().toISOString()});let t=JSON.parse(JSON.stringify(r)),a=t?.response?.errors[0]?.extensions?.response?.status===403||t?.response?.errors[0]?.extensions?.response?.status===401,i={};return{eShopMiniCartData:[],productCount:$.EMPTY_STRING,drupalResponse:l,products:i,successFlag:!1,statusCode:$.EMPTY_STRING,isUnauthorized:a}}};var et=e.i(42823);function ea(e,t){if(e.length!==t.length)return!1;let a=new Map(e.map(e=>[e.productId,e.selectedQty])),i=new Map(t.map(e=>[e.productId,e.selectedQty])),r=Array.from(a.entries());for(let e=0;e<r.length;e++){let[t,a]=r[e];if(!i.has(t)||i.get(t)!==a)return!1}return!0}e.s(["compareProductQty",0,ea],24007);var ei=_,er=M,en=e.i(5914);let es=()=>{let{applicationConfiguration:e}=(0,N.useContext)(I.default),{setRemoveFromCartEventDataLayer:t}=(0,en.useEshopCartGtmEvents)(),a=(0,k.useDispatch)(),{session:i,csrf:r}=(0,k.useSelector)(e=>e.appSession),{productsInCart:n,accountId:s}=(0,k.useSelector)(e=>e.eshop),l=(0,N.useRef)(!1),[o,c]=(0,N.useState)([]),[d,u]=(0,N.useState)({}),[h,f]=(0,N.useState)({}),[p,m]=(0,N.useState)(!1),[g,b]=(0,N.useState)(ei.EMPTY_STRING),[_,y]=(0,N.useState)(ei.NULL_VALUE),[x,v]=(0,N.useState)(!1),[A,w]=(0,N.useState)(!1),E=er.default.get(ei.COOKIE_KEYS.GQL_TOKEN),S="/restapi/solar/ecomm-labels/minicart",C=String(e?.siteConfig?.cache_settings?.isCacheEnabled),T=async()=>
301{if(!l.current){l.current=!0,m(!0);try{let{eShopMiniCartData:t,products:n,drupalResponse:l,successFlag:o,isUnauthorized:d,statusCode:h}=await ee({labelUrl:S,gqlToken:E,session:i,csrf:r,accountId:s,caching:String(!1)});o?(n&&"id"in n&&u(n),c(t),a((0,et.addEshopProductsToCart)(j(t)))):o||h!==ei.STATUS_CODE_INTERNAL_SERVER_ERROR&&h!==ei.HTTP_STATUS_NOT_FOUND?d&&(v(!0),y({errorMessage:e?.siteConfig?.timeout_logout_failure_msg??ei.EMPTY_STRING})):(v(!1),c([]),y(ei.NULL_VALUE),a((0,et.addEshopProductsToCart)([]))),f(l)}catch{v(!0),y({errorMessage:h?.something_went_wrong_msg??ei.EMPTY_STRING})}finally{m(!1),w(!0),l.current=!1}}},j=e=>e.flatMap(e=>e?.variationInfo?.map(e=>({productId:e?.productId,selectedQty:e?.quantity_label,cartItemId:e?.cartItemId}))),P=async(n,l,o,c)=>{m(!0);try{let{currency:d,price:u}=(0,en.getPriceAndCurrencyFromVariant)(c);t([{item_id:c?.productId,item_name:c?.productName,quantity:c?.quantity_label,price:Number(u)}],d);let{success:f,isUnauthorized:p}=await F({cartItemId:n,session:i,csrf:r,accountId:s,productUrl:o,caching:C});f?(a((0,et.deleteEshopProductFromCart)(l)),b(h?.removed_from_cart_msg??ei.EMPTY_STRING)):p&&(v(!0),y({errorMessage:e.siteConfig.timeout_logout_failure_msg??ei.EMPTY_STRING}))}catch{v(!0),y({errorMessage:h?.something_went_wrong_msg??ei.EMPTY_STRING}),m(!1)}};return(0,N.useEffect)(()=>{!A||ea(j(o),n)||T()},[n,A]),{productsCount:n?.length??0,loading:p,drupalData:h,miniCartItems:o,toastMessage:g,apiError:_,isInvalid:x,productInCart:d,handleDelete:P,fetchMiniCart:T,clearToast:()=>b(ei.EMPTY_STRING),clearError:()=>{y(ei.NULL_VALUE),v(!1)}}};e.s(["useMiniCartData",0,es],8472);var el=k,eo=en;let ec=e=>{let l,o,c,d,u,h,f,p,m,g,b=(0,a.c)(36),{isOpen:_,toggleOpen:y}=e,{productsCount:v,loading:A,drupalData:w,miniCartItems:E,toastMessage:S,apiError:C,isInvalid:N,productInCart:k,handleDelete:I,clearError:j,clearToast:P,fetchMiniCart:L}=es(),{EcommToken:O}=(0,el.useSelector)(eu),{setViewCartEventDataLayer:D}=(0,eo.useEshopCartGtmEvents)();b[0]!==O||b[1]!==L?(l=()=>{O&&L()},b[0]=O,b[1]=L,b[2]=l):l=b[2],b[3]!==O?(o=[O],b[3]=O,b[4]=o):o=b[4],(0,i.useEffect)(l,o),b[5]!==w?(c=w??{},b[5]=w,b[6]=c):c=b[6];let{go_to_cart_label:M,minicart_title:R}=c;b[7]!==k||b[8]!==D?(d=()=>{let{currency:e,items:t,totals:a}=(0,eo.getCartItemsWithCurrency)(k);D({currency:e,totals:a,items:t})},b[7]=k,b[8]=D,b[9]=d):d=b[9];let F=d;return b[10]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(r.Icon,{iconName:"
301cartIcon"}),b[10]=u):u=b[10],b[11]!==v?(h=!!v&&(0,t.jsx)("span",{className:"item-count",children:v}),b[11]=v,b[12]=h):h=b[12],b[13]!==w||b[14]!==M||b[15]!==I||b[16]!==F||b[17]!==_||b[18]!==A||b[19]!==E||b[20]!==R||b[21]!==v?(f=_&&(0,t.jsxs)("div",{className:"tooltip-panel",children:[(0,t.jsx)("h3",{className:"tooltip-title",children:R?.replace("@cnt",String(v))}),A?(0,t.jsx)("div",{className:"eshop-loader-margin",children:(0,t.jsx)(n.Loader,{display:A})}):(0,t.jsx)("div",{className:"eminicart-items",children:(0,t.jsx)("div",{className:"eminicart-item",children:E?.map((e,a)=>(0,t.jsx)(x,{item:e,drupalData:w,onDelete:I},`minicartItem-${e?.variationInfo?.[a]?.productId}`))})}),(0,t.jsx)("div",{className:"emincart-go-to-cart-btn",children:(0,t.jsxs)(s.Anchor,{href:"/eshop-order-materials/cart/",noUnderline:!0,tabindex:0,className:"add-to-cart-btn-active",dataLayerOnClick:()=>F(),isExternal:!1,children:[(0,t.jsx)(r.Icon,{iconName:"FunctionalCart",color:"#FFFFFF",width:20,height:20}),(0,t.jsx)("span",{className:"go-to-cart-text",children:M})]})})]}),b[13]=w,b[14]=M,b[15]=I,b[16]=F,b[17]=_,b[18]=A,b[19]=E,b[20]=R,b[21]=v,b[22]=f):f=b[22],b[23]!==h||b[24]!==f||b[25]!==y?(p=(0,t.jsxs)("button",{className:"nav-item cart-tooltip",tabIndex:0,onClick:y,onKeyDown:y,children:[u,h,f]}),b[23]=h,b[24]=f,b[25]=y,b[26]=p):p=b[26],b[27]!==C||b[28]!==j||b[29]!==P||b[30]!==N||b[31]!==S?(m=(0,t.jsx)(T,{toastMessage:S,apiError:C,isInvalid:N,clearToast:P,clearError:j}),b[27]=C,b[28]=j,b[29]=P,b[30]=N,b[31]=S,b[32]=m):m=b[32],b[33]!==p||b[34]!==m?(g=(0,t.jsxs)(t.Fragment,{children:[p,m]}),b[33]=p,b[34]=m,b[35]=g):g=b[35],g},ed=i.default.memo(ec);function eu(e){return e.eshop}},95942,34780,e=>{"use strict";e.s(["default",()=>J],95942);var t=e.i(91398),a=e.i(91788),i=e.i(3828),r=e.i(22276),n=e.i(15315),s=e.i(20549),l=e.i(72094),o=e.i(70218),c=e.i(39936);e.i(48756);var d=e.i(17626),u=e.i(6271),h=e.i(49266),f=e.i(70184),p=e.i(91456),m=e.i(66196);e.i(35958);var g=e.i(37707),b=e.i(11375),_=e.i(50153),y=e.i(76988),x=e.i(31407),v=e.i(41282),A=e.i(75425),w=e.i(82108),E=e.i(10828),S=e.i(62869),C=e.i(68489),T=e.i(67552),N=e.i(82054);e.i(62179);var k=e.i(98765),I=e.i(33462),j=e.i(40702),P=e.i(60626),L=e.i(31808);e.i(41871);var O=e.i(87612),D=e.i(97268),M=e.i(21672),R=e.i(63712),F=e.i(49720),B=e.i(41764),U=e.i(14722),H=e.i(42823),$=e.i(17020),G=e.i(73410),W=e.i(37916),Y=e.i(43927),z=e.i(1803),V=e.i(58372),K=e.i(61601),q=e.i(82725);let Q=(0,C.default)(()=>e.A(43318),{loadableGenerated:{modules:[48765]},ssr:!1}),Z=(0,C.default)(()=>e.A(92237),{loadableGenerated:{modules:[68585]},ssr:!1}),X=(0,C.default)(()=>e.A(88595),{loadableGenerated:{modules:[59842]},ssr:!1}),J=({loading:e,topSection:C,languageSelected:J,userData:ee,languageList:et,megaMenu:ea,loginPopup:ei,floatingBanner:er,eyebrowMenu:en,onFloatingBannerClose:es,micrositeConfig:el,brandSwitcherData:eo,headerConfig:ec})=>{let[ed,eu]=(0,a.useState)(!1),[eh,ef]=(0,a.useState)(!1),[ep,em]=(0,a.useState)(!1),[eg,eb]=(0,a.useState)(!1),[e_,ey]=(0,a.useState)(!1),[ex,ev]=(0,a.useState)(0),[eA,ew]=(0,a.useState)(""),[eE,eS]=(0,a.useState)(!0),[eC,eT]=(0,a.useState)(!1),[eN,ek]=(0,a.useState)(!1),[eI,ej]=(0,a.useState)(!1),[eP,eL]=(0,a.useState)(!1),[eO,eD]=(0,a.useState)(),{applicationConfiguration:eM,applicationComponentsData:eR}=(0,a.useContext)(N.default),{handleLoginRedirection:eF,getCurrentAppId:eB,appendEncodedReturnUrl:eU}=(0,R.default)(eM),{isDataReady:eH,clientId:e$,...eG}=(0,Y.default)(),eW=(0,z.usePreviousRoute)(),eY=(0,O.useMediaQuery)("(max-width: 991px)"),ez=eM?.headerConfiguration,{floating_banner_is_sticky:eV,hcp_website_link:eK,hcp_website_target:eq,hcp_website_position:eQ,invert_color_background:eZ,enable_country_switcher:eX,hcp_website_title:eJ,eyebrow_menu_alignment:e0}=eM?.siteConfig,e1={ctaWebsiteLink:eK,ctaWebsiteTarget:eq,ctaWebsitePosition:eQ,ctaWebsiteTitle:eJ},e2=C?.logo?.href,e3=(0,O.useMediaQuery)("(max-width: 767px)"),e4=(0,r.useSelector)(e=>e.user,r.shallowEqual),e6=(0,r.useSelector)(e=>e.webshop),e5=(0,r.useSelector)(e=>e?.common),e8=(0,r.useSelector)(e=>e?.eshop?.EcommFlag),{session:e7,csrf:e9}=(0,r.useSelector)(e=>e.appSession),te=!!eM?.siteConfig?.ecomm_site_status,tt=(0,r.useDispatch)(),[ta,{height:ti}]=(0,c.default)(),{clearUserSessionData:tr}=(0,F.default)(),tn=()=>{eu(e=>!e),(0,v.handleDataLayerNavigationHeader)("Language Switcher")},ts=ea&&ea.length>0?ea[0].menuImageData:[],tl=1,to=()=>{ej(!0)},tc=()=>{ej(!1)},td=!!eM?.siteConfig?.webstore_enable_non_loggedin_users&&e6?.productsInCart?.length>0,tu=(0,i.useRouter)(),th=!1,tf=!1,tp=(0,a.useCallback)(e=>tt((0,L.setRefApplicationID)(e)),[tt]),tm=(0,a.useCallback)(e=>tt((0,L.updateReloadContent)(e)),[tt]);(0,a.useEffect)(()=>{tb(),ef(!1)},[tu.query]);let tg=e=>{"Enter"===e.key&&eb(!eg)},tb=()=>{tw.current&&(tw.current.className="navbar-toggler collapsed"),tv.current&&(tv.current.className="
301collapse"),ef(!1),th=!1,tf=!1},t_={inputDataContent:{type:"primary",placeholder:"How can we help today?"},buttonText:"Search",handleTextSearch:(e,t)=>{t&&t.preventDefault(),e.length>0&&("/search"===tu.pathname?tu.push({pathname:"/search",query:{search:`${e}`}},void 0,{shallow:!0}):tu.push({pathname:"/search",query:{search:`${e}`}}))}},ty=()=>{th&&tb()},tx=()=>{th=!0,ty()},tv=(0,o.useOutsideClick)(tx),tA=()=>{tf=!0,ty()},tw=(0,o.useOutsideClick)(tA),tE=()=>{em(!1)},tS=(0,o.useOutsideClick)(tE),tC=!1,tT=!1,tN=()=>{tC=!0,tP()},tk=(0,o.useOutsideClick)(tN),tI=()=>{tT=!0,tP()},tj=(0,o.useOutsideClick)(tI),tP=()=>{eu(!1),tC=!1,tT=!1},[tL,tO]=(0,a.useState)(er?.display),tD=(0,a.useMemo)(()=>({floatingBanner:er,eyebrowMenu:en,displayFloatingBanner:tL,setDisplayFloatingBanner:tO}),[tL]);(0,a.useEffect)(()=>(eS("false"!==sessionStorage.getItem("showBanner")),!1!==tL)?ev(ti):tL?void 0:ev(A.default.ZERO),[ti,tL]);let tM=(0,a.useCallback)(()=>tt((0,V.clearSession)()),[tt]),tR=(0,a.useCallback)(e=>tt((0,s.resetUser)(e)),[tt]);(0,a.useCallback)(e=>tt((0,H.addEshopProductsToCart)(e)),[tt]),(0,a.useCallback)(()=>tt((0,H.emptyEshopCart)()),[tt]);let tF=(0,a.useCallback)((e,t)=>tt((0,L.setUserStateGlobally)(e,t)),[tt]),tB=(0,a.useCallback)(e=>tt((0,M.resetRatings)(e)),[tt]),tU=async()=>{if(eT(!0),localStorage.removeItem("Key"),(0,T.isDocCheckUser)(e4))tM(),tR({}),tr(),tF(!1,"");else{let e=eM?.isSandozIDEnabled?l.config.onPrem.LOGOUT_API_URL_SANDOZ_ID:l.config.onPrem.LOGOUT_API_URL,t=eM?.isSandozIDEnabled?{app_id:eB()}:{};try{e8&&(0,$.default)({session:e7,csrf:e9})}catch(e){console.error("E-shop logout failed, continuing with main logout",e)}let a=await (0,n.middlewarePostAPI)(e,t);if(tM(),tR({}),tr(),tF(!1,""),q.default.remove(K.COOKIE_KEYS.GQL_TOKEN),q.default.remove(K.COOKIE_KEYS.HCP_GQL_TOKEN),eM?.isSandozIDEnabled&&a){let e=new URL(window.location.href);eM?.isGlobalSite&&(tp(""),sessionStorage.setItem("redirection",JSON.stringify(0)),e=e5?.feUrl?new URL(`${window.location.protocol}//${e5.feUrl}`):e),e.searchParams.delete("t"),e.searchParams.delete("s"),e.searchParams.delete("status_code"),e.searchParams.delete("gql_token"),e.searchParams.delete("error_message");let{siteConfig:t}=eM,a=!0;t&&"azure_logout_return_url_flag"in t&&(a=t?.azure_logout_return_url_flag!==A.default.ZERO);let i=eM?.sandozLogoutUrl||"",r="";if(a)r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e.toString())}`;else if(i?.includes("post_logout_redirect_uri"))r=i;else{let e=window.location.origin;r=`${i}?post_logout_redirect_uri=${encodeURIComponent(e)}`}r&&setTimeout(()=>{window.location.href=r},4e3)}}eT(!1),tm(!1);let e=e4?.user?.response?.session_data?.user_data?.current_user?.name,t={user_id:(0,S.encodeString)(e)},a=eW&&`${window.location.origin}${eW}`,i=window.location.href,r={login_system:B.LOGIN_TYPES.SOLAR,eventType:E.EVENTS.LOGIN,...eG,interactionName:E.EVENTS.LOGIN,sessionStartDate:sessionStorage.getItem("loginDate"),sessionEndDate:new Date().toISOString(),user_id:(0,S.encodeString)(e),page_location:i,...a&&{page_referrer:a}},{PersonEmail:s}=(0,T.getProfileDetails)(e4);(0,T.endNFHSession)(e5.cmsUrl,s),tF(!1,""),(0,w.dataLayerPush)(E.EVENTS.LOGOUT,t),(0,w.dataLayerPush)(E.EVENTS.LOGIN,r),sessionStorage.removeItem("loginDate"),ew(`<p>${C.toastMessages.logoutMessage}</p>`),setTimeout(()=>{tu.push("/",void 0,{shallow:!0}).then(()=>tu.reload())},1e4),setTimeout(()=>{ew("")},5e3);let o=JSON.parse(sessionStorage.getItem("feDomainData")),c=`${o}_disclaimerModal`;(0,T.removeSessionItem)(c)},tH=e=>{let t=e?.profile?.response?.profile,a=t?.records?.[0]?.FirstName,i=t?.records?.[0]?.LastName,r=a&&i?`${a} ${i}`:"";return{firstName:a,lastName:i,fullName:r}};(0,a.useEffect)(()=>{eN&&e4.isLoggedIn&&(!e4.isLoggedIn||e4.profile)&&(ew(`<p>${C.toastMessages.loginMessage} ${tH(e4).fullName}</p>`),setTimeout(()=>{ew(""),ek(!1)},5e3))},[eN,e4]);let t$=()=>(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,T.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})}),tG=(0,a.useRef)(null),tW=(0,a.useRef)(null),[tY,tz]=(0,a.useState)(!1),[tV,tK]=(0,a.useState)(!1),tq=(0,a.useRef)(null),[tQ,tZ]=(0,a.useState)(!1),tX=()=>{tq.current&&tZ(tq.current.getBoundingClientRect().top<0)};(0,a.useEffect)(()=>{let e=e=>{tG.current&&!tG.current.contains(e.target)&&tz(!1),tW.current&&!tW.current.contains(e.target)&&tK(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,a.useEffect)(()=>(window.addEventListener("scroll",tX),()=>window.removeEventListener("scroll",tX)),[]),(0,a.useEffect)(()=>{let e=[],t=q.default.get(K.COOKIE_KEYS.HCP_GQL_TOKEN)??"",a=q.default.get(K.COOKIE_KEYS.GQL_TOKEN)??"";if(e8&&ee.loginStatus&&a){eL(!1),eD(null);let t=W.default.decode(a),i=Math.floor(Date.now()/A.default.THOUSAND),r=setTimeout(async()=>{let{success:e,error:t}=await (0,G.default)({session:e7,csrf:e9});e||(eL(!0),eD({errorMessage:eM.siteConfig.timeout_logout_failure_msg||""}),setTimeout(()=>tU(),3e3))},((t?.exp?t?.exp-60*A.default.TWO:0)-i)*A.default.THOUSAND);e.push(r)}if(e8&&ee.loginStatus&&t){eL(!1),eD(null);let a=W.default.decode(t),i=Math.floor(Date.now()/A.default.THOUSAND),r=setTimeout(async()=>{let{success:e,error:a}=await (0,G.default)({session:e7,csrf:e9,gqlTokenArg:t});e||(eL(!0),eD({errorMessage:eM.siteConfig.timeout_logout_failure_msg||""}),setTimeout(()=>tU(),3e3))},((a?.exp?a?.exp-60*A.default.TWO:0)-i)*A.default.THOUSAND);e.push(r)}return()=>{e.forEach(clearTimeout)}},[e8,ee.loginStatus,tu.query.gql_token]);let tJ=e=>{("ArrowDown"===e.key||"Enter"===e.key)&&tz(!0)},t0=()=>{tu.push("/order-materials/cart")},t1=e=>{"Enter"===e.key&&t0()},t2=()=>{let e={registration_action:"clicked_by_user",registration_action_time:new Date().toLocaleStr
301ing()};(0,w.dataLayerPush)(E.EVENTS.REGISTRATION,e)},t3=(0,t.jsx)("div",{className:`header-logo${el?.isMicrositeEnabled?" header-logo__microsite":""}`,children:(0,t.jsx)(Q,{tabindex:0,href:e2?.length>1?e2:(0,T.getHomepageurl)(),dataLayerOnClick:()=>(0,v.handleDataLayerNavigationHeader)("logo"),children:(0,t.jsx)(f.Img,{src:C?.logo?.src,width:206,height:24,alt:C?.logo?.alt,type:"logo"})})}),t4=(0,a.useMemo)(()=>(0,t.jsxs)("div",{className:"nav-item",onClick:()=>{eM?.isSandozIDEnabled?eF():eb(!0),(0,v.handleDataLayerNavigationHeader)(C?.loginText)},role:"button",onKeyDown:e=>{tg(e),(0,v.handleDataLayerNavigationHeader)(C?.loginText)},tabIndex:0,children:[!e3&&!eY&&(0,t.jsx)("span",{className:"header-userIcon",children:(0,t.jsx)(h.Icon,{iconName:"ProfileOutline"})}),(0,t.jsx)("p",{className:"login bold",children:C?.loginText})]}),[eM,e3,eY]),t6=(0,a.useMemo)(()=>(0,t.jsx)(Q,{href:eM?.isSandozIDEnabled?eU(C?.registerLink,"register"):C?.registerLink,tabindex:0,className:"register-link external",noUnderline:!0,dataLayerOnClick:()=>t2(),children:(0,t.jsxs)("p",{className:"register bold",children:[" ",C?.registerText]})}),[eM]),t5=(0,t.jsxs)("div",{className:"menu-section-left",children:[C?.login_register_enable&&(!ez?.isLoginRegisterDisabled&&!el?.isMicrositeEnabled||el?.isMicrositeEnabled)&&(ee.loginStatus||eM?.isSandozIDEnabled?(0,t.jsx)("div",{onClick:()=>tK(!tV),onKeyDown:()=>tK(!tV),children:(0,t.jsxs)("div",{ref:tW,role:"button",tabIndex:1,className:"profile-ico",children:[(0,t.jsx)("span",{role:"button",tabIndex:1,className:`navbar-toggler collapsed ${ee?.loginStatus?"profile-fill":"profile-outline"}`,children:(0,t.jsx)(h.Icon,{iconName:ee?.loginStatus?"Profilefill":"ProfileOutline"})}),tV?ee?.loginStatus?(0,t.jsx)(k.UserMenu,{userName:ee?.name,userMenuDetails:C?.userMenuDetails,makeUserLogout:tU,isBtnPrimary:!0}):(0,t.jsxs)("div",{className:"user-menu user-menu__logout","aria-expanded":!0,children:[(0,t.jsx)("nav",{className:"mt-3","aria-label":"menulist",children:t4},0),(0,t.jsx)("nav",{className:"mt-3","aria-label":"menulist",children:t6},1)]}):(0,t.jsx)(t.Fragment,{})]})}):(0,t.jsx)("span",{onClick:()=>{eM?.isSandozIDEnabled?eF():eb(!0),(0,v.handleDataLayerNavigationHeader)(C?.loginText)},onKeyDown:tg,role:"button",tabIndex:1,className:"navbar-toggler collapsed profile-outline",children:(0,t.jsx)(h.Icon,{iconName:"ProfileOutline"})})),(!ez?.isLangSwitcherDisabled&&eM?.isLanguageEnabled&&!el?.isMicrositeEnabled||!ez?.isLangSwitcherDisabled&&el?.isMicrositeEnabled&&ec?.field_disable_country_switcher===!1&&el?.pageMenuLvl!=="0")&&(0,t.jsxs)("div",{className:"language-switcher-align",children:[(0,t.jsx)("div",{className:"language-switcher-mob",children:(0,t.jsx)(p.LanguageSwitch,{...J,closeIcon:(0,t.jsx)(h.Icon,{iconName:"GlobalIcon"}),onClick:tn,displayActive:ed})}),(0,t.jsx)("div",{className:"header-langswitcher-popup",ref:e3?tk:tj,children:(0,t.jsx)(j.default,{...et,loading:e,display:ed})})]}),el?.isMicrositeEnabled&&!e3&&eo&&el?.menuStructure==="two_level"&&el?.pageMenuLvl!=="0"&&el?.pageMenuLvl!=="1"&&ec?.field_disable_brand_switcher===!1&&(0,t.jsx)(X,{className:"brand-switcher",options:eo?.options,onSelect:eo?.handleSelect,selectedItem:eo?.selectedItem}),eI&&1===tl&&(0,t.jsx)("div",{className:"emincart-page-overlay",onClick:tc}),(!ez?.isCartDisabled&&eM?.isWebStoreEnabled&&!el?.isMicrositeEnabled||el?.isMicrositeEnabled&&!ec?.field_disable_cart&&eM?.isWebStoreEnabled)&&(ee.loginStatus||td)&&(e8?e8&&te&&(0,t.jsx)("div",{className:"cart-item eshop",children:(0,t.jsx)(U.default,{isOpen:eI,toggleOpen:to})}):(0,t.jsx)("div",{className:"cart-item",children:(0,t.jsx)("div",{className:"cart-icon",role:"button",tabIndex:0,onClick:t0,children:(0,t.jsxs)("span",{role:"button",tabIndex:0,className:"",children:[(0,t.jsx)(h.Icon,{iconName:"
301cartIcon"}),e6?.productsInCart?.length>0&&(e6?.productsInCart?.length<10?(0,t.jsx)("span",{className:"item-count",children:e6?.productsInCart?.length}):(0,t.jsx)("span",{className:"item-count",children:`${A.default.TEN}+`}))]})})}))]}),t8=(0,t.jsxs)("div",{className:"menu-section-right",children:[!ez?.isSearchDisabled&&!ec?.field_disable_search&&(0,t.jsxs)("span",{className:"navbar-toggler collapsed mobile-close-icon",children:[!ep&&(0,t.jsx)(h.Icon,{iconName:"Search2",onClick:()=>em(!0),className:"search-icon"}),ep&&(0,t.jsx)(h.Icon,{iconName:"Close2",onClick:()=>em(!1)})," "]}),!ez?.isMegaMenuDisabled&&!ec?.field_disable_megamenu||en?.enabled===1&&en?.links.length>0?(0,t.jsxs)("button",{className:"navbar-toggler collapsed mobile-close-icon",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarHeader","aria-controls":"navbarHeader","aria-expanded":"false","aria-label":"Toggle navigation",ref:tw,onClick:()=>th=!1,tabIndex:0,children:[!eh&&(0,t.jsx)(h.Icon,{iconName:"HamburgerIcon2",onClick:()=>ef(!0),className:"hamburger-icon"}),eh&&(0,t.jsx)(h.Icon,{className:"hamburger-icon-close",iconName:"CloseHamburgerMenu",onClick:()=>ef(!1)})]}):(0,t.jsx)(t.Fragment,{})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(x.default.Provider,{value:tD,children:[er?.display&&!1!==tL&&eE&&(0,t.jsx)("div",{ref:tq,children:(0,t.jsx)("div",{className:B.ENABLE_DISABLE_VALUE[eV]&&tQ?"sticky-banner":"floatingBanner",ref:ta,children:(0,t.jsx)(g.FloatingBanner,{display:er.display,id:"floatingBannerId",onClose:es,children:er.children})})}),en&&en?.enabled===1&&!e3&&!eY&&(0,t.jsx)(Z,{logo:en?.logo,links:en?.links||[],topPosition:B.ENABLE_DISABLE_VALUE[eV]&&tQ?ex:0,ctaWebsiteData:e1,scrollAmount:A.default.SCROLL_AMOUNT,invertColorBackground:eZ,enableCountrySwitcher:eX,eyebrowMenuAlignment:e0,languageSelected:J,languageList:et,loading:e})]}),!ez?.isHeaderDisabled&&(0,t.jsx)("header",{className:"header",children:(0,t.jsxs)(u.Container,{children:[(0,t.jsxs)("nav",{className:"navbar navbar-expand-lg logo-section",children:[!eY&&(0,t.jsxs)("div",{className:"header-parent",children:[el?.isMicrositeEnabled&&eo&&el?.menuStructure==="two_level"&&el?.pageMenuLvl!=="0"&&el?.pageMenuLvl!=="1"&&ec?.field_disable_brand_switcher===!1&&(0,t.jsx)(X,{className:"brand-switcher",options:eo?.options,onSelect:eo?.handleSelect,selectedItem:eo?.selectedItem}),(!ez?.isLogoDisabled&&!el?.isMicrositeEnabled||el?.isMicrositeEnabled&&eR?.appComponents&&ec?.field_disable_logo===!1)&&t3,(0,t.jsx)("div",{className:"header-menu-section header-menu-desktop",children:(0,t.jsxs)("ul",{className:"navbar-nav header-list",children:[!eX&&(!ez?.isLangSwitcherDisabled&&eM?.isLanguageEnabled&&!el?.isMicrositeEnabled||!ez?.isLangSwitcherDisabled&&el?.isMicrositeEnabled&&ec?.field_disable_country_switcher===!1&&el?.pageMenuLvl!=="0")&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"nav-item",children:(0,t.jsx)(p.LanguageSwitch,{...J,closeIcon:(0,t.jsx)(h.Icon,{iconName:"CollapseUpIcon",className:"language-switch-close-icon"}),onClick:tn,displayActive:ed})}),(0,t.jsx)("div",{className:"header-langswitcher-popup",ref:tj,children:(0,t.jsx)(j.default,{...et,loading:e,display:ed})})]}),eI&&1===tl&&(0,t.jsx)("div",{className:"emincart-page-overlay",onClick:tc}),(!ez?.isCartDisabled&&eM?.isWebStoreEnabled&&!el?.isMicrositeEnabled||el?.isMicrositeEnabled&&!ec?.field_disable_cart&&eM?.isWebStoreEnabled)&&(ee.loginStatus||td)&&(e8?e8&&te&&(0,t.jsx)("li",{className:"cart-item eshop",children:(0,t.jsx)(U.default,{isOpen:eI,toggleOpen:to})}):(0,t.jsx)("li",{className:"cart-item",children:(0,t.jsxs)("div",{className:"nav-item",tabIndex:0,"aria-hidden":"true",onClick:t0,onKeyDown:t1,children:[(0,t.jsx)(h.Icon,{iconName:"
301cartIcon"}),e6?.productsInCart?.length>0&&(e6?.productsInCart?.length<10?(0,t.jsx)("span",{className:"item-count",children:e6?.productsInCart?.length}):(0,t.jsx)("span",{className:"item-count",children:`${A.default.TEN}+`}))]})})),ee.profileLoading?(0,t.jsx)(D.default,{display:ee.profileLoading}):(0,t.jsx)(t.Fragment,{children:C?.login_register_enable&&(!ez?.isLoginRegisterDisabled&&!el?.isMicrositeEnabled||el?.isMicrositeEnabled)&&(ee.loginStatus?(0,t.jsx)("li",{tabIndex:0,className:"nav-item",onClick:()=>tz(!tY),onKeyDown:tJ,children:(0,t.jsxs)("div",{ref:tG,children:[(0,t.jsx)("div",{className:"nav-item user-menu-hover",children:(0,t.jsxs)("div",{className:"profile-name",children:[(0,t.jsx)("span",{className:"header-userIcon",children:(0,t.jsx)(h.Icon,{iconName:"Profilefill"})}),(0,t.jsx)("p",{className:"mb-0",children:(0,T.isDocCheckUser)(e4)?eM?.doccheck_user_name:tH(e4).firstName})]})}),tY&&(0,t.jsx)(k.UserMenu,{userName:ee?.name,userMenuDetails:C?.userMenuDetails,makeUserLogout:tU,isBtnPrimary:!0})]})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"nav-item",children:t4}),(0,t.jsx)("li",{className:"nav-item divider",children:t6})]}))})]})})]}),eY&&(0,t.jsx)("div",{className:"header-parent-tablet",children:(0,t.jsxs)("div",{className:"header-menu-section header-menu-tablet",children:[(!ez?.isLoginRegisterDisabled||!ez?.isCartDisabled||!ez?.isLangSwitcherDisabled||!ec?.field_disable_cart)&&t5,(!ez?.isLogoDisabled&&!el?.isMicrositeEnabled||el?.isMicrositeEnabled&&eR?.appComponents&&ec?.field_disable_logo===!1)&&t3,(!ez?.isSearchDisabled||!ez?.isMegaMenuDisabled||!ec?.field_disable_megamenu||!ec?.field_disable_search)&&t8]})}),e3&&(0,t.jsxs)("div",{className:`header-parent-mobile ${el?.isMicrositeEnabled?"header-microsite-parent-mobile":""}`,children:[!ez?.isLogoDisabled&&el?.isMicrositeEnabled&&eR?.appComponents&&ec?.field_disable_logo===!1&&t3,el?.isMicrositeEnabled&&eo&&el?.menuStructure==="two_level"&&el?.pageMenuLvl!=="0"&&el?.pageMenuLvl!=="1"&&ec?.field_disable_brand_switcher===!1&&(0,t.jsx)(X,{className:"brand-switcher",options:eo?.options,onSelect:eo?.handleSelect,selectedItem:eo?.selectedItem}),(0,t.jsxs)("div",{className:`header-menu-section header-menu-mobile ${el?.isMicrositeEnabled?"header-microsite-menu-mobile":""}`,children:[(!ez?.isLoginRegisterDisabled||!ez?.isCartDisabled||!ez?.isLangSwitcherDisabled||!ec?.field_disable_cart)&&t5,!ez?.isLogoDisabled&&!el?.isMicrositeEnabled&&t3,(!ez?.isSearchDisabled||!ez?.isMegaMenuDisabled||!ec?.field_disable_search)&&t8]})]})]}),ez?.isMegaMenuDisabled&&ez?.isSearchDisabled&&ec?.field_disable_search?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("nav",{className:"navbar navbar-expand-lg header-child",children:[!ez?.isMegaMenuDisabled&&!ec?.field_disable_megamenu&&(0,t.jsx)("div",{className:"navbar-nav",children:ea?.map((e,a)=>(0,t.jsx)(b.HeaderMenu,{title:e.title,link:e.link,menuImageData:e.menuImageData,child:e.child,subTheme:e.subTheme,targetType:e.targetType,distinctive:e.distinctive,icon_uri:e?.icon_uri},a))}),!ez?.isSearchDisabled&&!ec?.field_disable_search&&(0,t.jsxs)("div",{className:"header-list-item search",children:[!ep&&(0,t.jsx)(h.Icon,{iconName:"Search2",tabIndex:0,role:"button","aria-label":"OpenSearch","aria-expanded":!1,onKeyDown:e=>{"Enter"==e.key&&em(!0)},onClick:()=>em(!0)}),ep&&(0,t.jsx)(h.Icon,{tabIndex:0,role:"button","aria-expanded":!0,onKeyDown:e=>{"Enter"==e.key&&em(!1)},onClick:()=>em(!1),iconName:"CloseSearch",className:"search-close-icon","aria-label":"CloseSearch"})]})]}),ez?.isMegaMenuDisabled&&ec?.field_disable_megamenu?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("div",{className:"collapse",id:"navbarHeader",ref:tv,children:[(0,t.jsx)("div",{className:"accordion accordionFlush",id:"accordionFlushHeaderMobile",children:ea?.map((e,a)=>(0,t.jsxs)("div",{className:"accordion-item",children:[(0,t.jsx)("div",{className:`accordion-header  ${e?.distinctive?"distinctive":""}`,id:`flush-heading_${a}`,children:e.child?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q,{tabindex:0,noUnderline:!0,href:e.link,dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:e?.icon_uri,src:e?.icon_uri||"",alt:e.title,width:24,height:24}),e.title]})}),(0,t.jsx)("button",{className:"accordion-button collapsed ",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${a}`,"aria-expanded":"false","aria-controls":`flush-collapse_${a}`,"aria-label":e?.title,children:(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(h.Icon,{iconName:"ChevronHeaderAccordion",width:32,height:32})})})]}):(0,t.jsx)(Q,{tabindex:0,noUnderline:!0,href:e.link,className:" collapsed menu-link",dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title),children:e.title})}),(0,t.jsx)("div",{id:`flush-collapse_${a}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${a}`,"data-bs-parent":"#accordionFlushHeaderMobile",children:(0,t.jsx)("div",{className:"accordion-body child",children:(0,t.jsxs)("div",{className:`accordion accordion-flush menu-child ${e?.distinctive?"distinctive":""}`,id:`accordionFlush${a}`,children:[(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(Q,{tabindex:0,noUnderline:!0,href:e.link,className:"accordion-button collapsed menu-link menu-head",dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:e?.icon_uri,src:e?.icon_uri||"",alt:e.title,width:24,height:24}),e.title]})})})}),e.child?.map((i,r)=>(0,t.jsxs)("div",{className:"accordion-item",children:[(0,t.jsx)("div",{className:`accordion-header  ${i?.distinctive?"distinctive":""}`,id:`flush-heading_${a}${r}`,children:i.subChild?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q,{href:i.link,tabindex:0,noUnderline:!0,dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title,i.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:i?.icon_uri,src:i?.icon_uri||"",alt:i.title,width:24,height:24}),i.title]})}),(0,t.jsx)("button",{className:"accordion-button collapsed ",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${a}${r}`,"aria-expanded":"false","aria-label":i?.title,"aria-controls":`flush-collapse_${a}${r}`,children:(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(h.Icon,{iconName:"ChevronHeaderAccordion",width:32,height:32})})})]}):(0,t.jsx)(Q,{href:i.link,tabindex:0,noUnderline:!0,className:" collapsed menu-link",dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title,i.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:i?.icon_uri,src:i?.icon_uri||"",alt:i.title,width:24,height:24}),i.title]})})}),(0,t.jsx)("div",{id:`flush-collapse_${a}${r}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${a}${r}`,"data-bs-parent":`#accordionFlush${a}`,children:(0,t.jsx)("div",{className:"accordion-body subchild",children:(0,t.jsxs)("div",{className:`accordion accordion-flush menu-child ${i?.distinctive?"distinctive":""} `,id:`accordionFlush${a}${r}`,children:[(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:"accordion-header remove-for-now",children:(0,t.jsx)(Q,{href:i.link,tabindex:0,noUnderline:!0,className:"accordion-button collapsed menu-link",dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title,i.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:i?.icon_uri,src:i?.icon_uri||"",alt:i.title,width:24,height:24}),i.title]})})})}),i.subChild?.map((n,s)=>(0,t.jsxs)("div",{className:"accordion-item",children:[(0,t.jsx)("div",{className:`accordion-header  ${n?.distinctive?"distinctive":""}`,id:`flush-heading_${a}${r}${s}`,children:n.grandChild?(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)(Q,{href:n.link,tabindex:0,noUnderline:!0,dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title,i.title,n.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:n?.icon_uri,src:n?.icon_uri||"",alt:n.title,width:24,height:24}),n.title]})}),(0,t.jsx)("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#flush-collapse_${a}${r}${s}`,"aria-expanded":"false","aria-label":n?.title,"aria-controls":`flush-collapse_${a}${r}${s}`,children:(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(h.Icon,{iconName:"ChevronHeaderAccordion",width:32,height:32})})})]}):(0,t.jsx)(Q,{href:n.link,tabindex:0,noUnderline:!0,className:" collapsed menu-link",dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title,i.title,n.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:n?.icon_uri,src:n?.icon_uri||"",alt:n.title,width:24,height:24}),n.title]})})}),(0,t.jsx)("div",{id:`flush-collapse_${a}${r}${s}`,className:"accordion-collapse collapse","aria-labelledby":`flush-heading_${a}${r}${s}`,"data-bs-parent":`#accordionFlush${a}${r}`,children:(0,t.jsx)("div",{className:"accordion-body grandSubchild",children:(0,t.jsxs)("div",{className:"accordion accordion-flush",id:`accordionFlush${a}${r}${s}`,children:[(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:`accordion-header remove-for-now ${n?.distinctive?"distinctive":""}`,children:(0,t.jsx)(Q,{href:n.link,tabindex:0,noUnderline:!0,className:"accordion-button collapsed menu-link menu-head",dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title,i.title,n.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:n?.icon_uri,src:n?.icon_uri||"",alt:n.title,width:24,height:24}),n.title]})})})}),n.grandChild?.map((l,o)=>(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsx)("div",{className:`accordion-header  ${l?.distinctive?"distinctive":""}`,id:`flush-heading_${a}${r}${s}${o}
301`,children:"#"==l.link?(0,t.jsxs)("button",{className:"accordion-button collapsed",type:"button",children:[l.title,(0,t.jsx)("p",{className:"MenuIndicator",children:(0,t.jsx)(h.Icon,{iconName:"ChevronHeaderAccordion",width:32,height:32})})]}):(0,t.jsx)(Q,{href:l.link,tabindex:0,noUnderline:!0,className:`collapsed menu-link ${l?.distinctive?"distinctive":""}`,dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.title,i.title,n.title,l.title),children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Img,{type:"icon",image_style_uri:l?.icon_uri,src:l?.icon_uri||"",alt:l.title,width:24,height:24}),l.title]})})})},o))]})})})]},s))]})})})]},r))]})})})]},a))}),(0,t.jsx)("div",{className:"accordion accordionFlush eyebrowMenu",children:el?.isMicrositeEnabled&&en&&en?.enabled===1&&en?.links.length>0||en&&en?.enabled===1&&en?.links.length>0?en?.links?.map((e,a)=>(0,t.jsx)("div",{className:"accordion-item eyebrowMenu-item",children:(0,t.jsx)("div",{className:"accordion-header ",children:(0,t.jsx)(Q,{tabindex:0,noUnderline:!0,isExternal:e?.type=="externalLink",href:e?.type==="email"?`mailto:${e?.href}`:e?.href,className:" collapsed menu-link",dataLayerOnClick:()=>(0,v.handleDataLayerNavigationMenu)(e.name),children:e.name})})},a)):(0,t.jsx)(t.Fragment,{})}),(e3||eY)&&en?.enabled===1&&(0,t.jsx)("div",{className:"accordion accordionFlush eyebrowWithLogo",id:"accordionFlushHeaderMobile",children:(0,t.jsx)("div",{className:"accordion-item",children:(0,t.jsxs)("div",{className:"accordion-header eyebrow-mobile",children:[en?.logo&&(0,t.jsx)("img",{src:en?.logo,alt:"Sandoz Logo",className:"eyebrow-menu-logo"}),eJ&&eq&&(0,t.jsx)(d.AnchorButton,{tabindex:0,className:"eyebrow-menu-hcp",href:eK??"",target:eq,isExternal:!1,children:eJ})]})})}),ts?.length>A.default.ZERO&&(0,t.jsx)("div",{className:"product-list",children:(0,t.jsx)(m.Row,{children:ts.map((e,a)=>(0,t.jsx)(_.MenuImage,{imageLink:e.imageLink,title:e.title,paragraph:e.paragraph,redirectLink:e.redirectLink,alt:e.alt},a))})})]}),ez?.isLoginRegisterDisabled?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(P.default,{showPopup:eg,id:"login-popup",form:ei.form,bannerCTA:ei.bannerCTA,handlePopupShow:e=>{tB({id:void 0}),eb(e)},handleForgotPasswordShow:e=>ey(e),popup:ei.popup,loginConfirmation:()=>ek(!0)})]})}),!ez?.isSearchDisabled&&ep&&(0,t.jsx)("div",{ref:tS,children:(0,t.jsx)(I.default,{isTypeAhead:!0,searchContent:t_,className:"header-modal",showIconOnCTA:!0})}),!!eA&&(0,t.jsx)(y.Notification,{notificationType:"success",displayTxt:eA,onClose:()=>{ew("")}}),eP&&(0,t.jsx)("div",{className:"eshop-notification",children:(0,t.jsx)(y.Notification,{notificationType:"error",displayTxt:eO?.errorMessage,autoCloseTimer:3e3,onClose:()=>{eD(null),eL(!1)}})}),eC&&t$()]})};var ee=e.i(15472),et=r,ea=a,ei=s,er=L,en=N,es=V,el=i;let eo=()=>{let e=(0,et.useDispatch)(),t=(0,et.useSelector)(e=>e.appSession.applicationId),a=(0,et.useSelector)(e=>e.user),i=(0,el.useRouter)(),r=(0,ea.useCallback)(t=>e((0,ei.resetUser)(t)),[e]),n=(0,ea.useCallback)((t,a)=>e((0,er.setUserStateGlobally)(t,a)),[e]),s=(0,ea.useCallback)(()=>e((0,es.clearSession)()),[e]),{applicationConfiguration:l}=(0,ea.useContext)(en.default),o=l?.siteConfig?.webstore_enable_non_loggedin_users===1,c=async()=>{try{if("visible"===document.visibilityState&&(void 0!==o&&!o||a?.isLoggedIn)){let e=`/api/data-provider/?id=check-cookie&appid=${t}`,l=await fetch(e,{headers:{domainPath:(0,ee.getApplicationPathFromURL)()}});if((await l.json()).isExpire){let e=a?.isLoggedIn||!1;r({}),n(!1,""),s(),e&&i.reload()}}}catch(e){}};return(0,ea.useEffect)(()=>(document.addEventListener("visibilitychange",c),()=>{document.removeEventListener("visibilitychange",c)}),[]),null};e.s(["default",0,eo],34780)},24280,e=>{"use strict";var t=e.i(92331),a=e.i(52225),i=e.i(82054),r=e.i(82036),n=e.i(91788);let s=e=>{let{setApplicationComponentsData:s}=(0,n.useContext)(i.default),l=(0,n.useCallback)((t,a)=>{let{footerNavigation:i,footerSecondaryMenu:n,footerBottomSection:s,eyebrowMenu:l,footerMicrosite:o,liteFooter:c,headerTopSection:d,micrositeConfig:u}=a,h=e?.applicationComponentsData?.appComponents,f=h?.find(e=>e.pageAlias===t)?.componentConfig||null,p=(0,r.default)(f,"header.data.headerTopSection")||!1,m=(0,r.default)(f,"header.data.headerTopConfig")||"",g={headerTopSection:!1!==p?{themeName:d?.themeName,countryName:d?.countryName,chooseLocationText:d?.chooseLocationText,tagLine:p?.tagLine,login_register_enable:p?.login_register_enable===void 0?d?.login_register_enable:!p?.login_register_enable,loginText:p?.loginText,loginLink:d?.loginLink,registerText:d?.registerText,registerLink:d?.registerLink,logo:p?.logo,searchDataContent:{placeholder:d?.search_help_text||null,buttonText:d?.search_title||null},sticky_menu_enable:d?.sticky_menu_enable,userMenuDetails:{user_menu_logged_in:(0,r.default)(d,"userMenuDetails.user_menu_logged_in"),ctaMenuLink:(0,r.default)(d,"userMenuDetails.ctaMenuLink"),user_menu_logged_out:(0,r.default)(d,"userMenuDetails.user_menu_logged_out")},toastMessages:{loginMessage:(0,r.default)(d,"toastMessages.loginMessage"),logoutMessage:(0,r.default)(d,"toastMessages.logoutMessage")},favicon:m?.favicon}:{...d,login_register_enable:(!u?.isMicrositeEnabled||!!f)&&d?.login_register_enable},headerTopConfig:{field_disable_cart:m?.field_disable_cart,field_disable_logo:m?.field_disable_logo??!1,field_disable_megamenu:m?.field_disable_megamenu,field_disable_search:m?.field_disable_search,field_disable_slogan:m?.field_disable_slogan,field_disable_brand_switcher:f?.header?m?.field_disable_brand_switcher:(0,r.default)(e,"applicationHeaderData.headerData.headerTopSection.isBrandSwitcherDisabled"),field_disable_country_switcher:f?.header?m?.field_disable_country_switcher:(0,r.default)(e,"applicationHeaderData.headerData.headerTopSection.isCountrySwitcherDisabled")}};
301return{footer:f?.footer?.data?{footerBottomSection:f?.footer?.data?.footerBottomSection,footerNavigation:f?.footer?.data?.footerNavigation,footerSecondaryMenu:f?.footer?.data?.footerSecondaryMenu,footerMicrosite:f?.footer?.data?.footerMicrosite}:{footerBottomSection:{logoLink:s?.logoLink,paragraph:s?.paragraph,copyRightText:s?.copyRightText,footerText:s?.footerText,socialIconData:s?.socialIconData,follow_us:s?.follow_us,footer_logo_alt:s?.footer_logo_alt},footerNavigation:i,footerSecondaryMenu:n,footerMicrosite:o},liteFooter:f?.footer?.data?.liteFooter??c,eyebrowMenu:f?.eyebrow_menu?{logo:f?.eyebrow_menu?.data?.logo,links:f?.eyebrow_menu?.data?.links,enabled:1}:l,banner:f?.isi_legal_disc_banner?.data?.bannerModuleData||null,headerTopSection:g?.headerTopSection||d,headerConfig:{...g?.headerTopConfig,field_disable_search:!!(g?.headerTopConfig?.field_disable_search===void 0&&u?.isMicrositeEnabled)||g?.headerTopConfig?.field_disable_search}}},[e]),o=(0,n.useCallback)(e=>{e&&s&&s({actionType:"APP_COMPONENTS",componentConfig:e})},[e]),c=(0,n.useCallback)(async(e,i)=>{if(i){let r=await Promise.all(Object.entries(i)?.map(async([e,t])=>{let i=t?.[0]?.url??"",r=i?await (0,a.default)(e,i,"",0,0):null;return{[e]:r}}))||[];o({pageAlias:e,componentConfig:(0,t.getMicrositePageConfigData)(r)})}},[]);return{setCurrentPageConfig:o,getCurrentPageConfig:l,fetchMicrositePageConfigData:c}};e.s(["default",0,s])},62269,(e,t,a)=>{var i=e.r(59093),r=4;t.exports=function(e){return i(e,r)}},62604,e=>{"use strict";e.i(50461);var t=e.i(95414);let a=t.gql`
302mutation PlaceOrder($input: PlaceOrderInput!) {
303  placeOrder(input: $input) {
304    success
305    statusCode
306    message
307    orderNumber
308  }
309}`;var i=t;let r=i.gql`
310query GetPoLengthValidation {
311  getPoLengthValidation {
312    success
313    statusCode
314    message
315    poLength
316  }
317}
318`;var n=t;let s=n.gql`
319  query User {
320    user {
321      success
322      statusCode
323      message
324      data {
325        id
326        salutation
327        name
328        last_name
329        user_name
330        email
331        phone_number
332        profession
333        speciality
334        establish_name
335        account_name
336        customer_id
337        isAffiliated
338      }
339    }
340  }
341`;var l=e.i(15315),o=e.i(54456),c=e.i(21984),d=e.i(61601),u=t;let h=u.gql`
342query GetShippingAddressDetails {
343  getShippingAddressDetails {
344    success
345    statusCode
346    message
347    data {
348      id
349      street
350      postal_code
351      city
352      state
353      stateCode
354      country
355      countryCode
356    }
357  }
358}
359`,f="",p="",m="/restapi/solar/ecomm-labels/checkout",g="Drupal Checkout API",b="Profile Data",_="PO Length",y="Place Order",x=async()=>{let e=Date.now();try{let t=await (0,l.getApi)(m),a=Date.now()-e;return(0,c.logFrontendEvent)("Checkout Labels Drupal Success","info",{source:g,drupalUrl:m,duration:`${a}ms`,timestamp:new Date().toISOString()}),t}catch(a){let t=Date.now()-e;(0,c.logFrontendEvent)("Checkout Labels Drupal Error","error",{source:g,drupalUrl:m,duration:`${t}ms`,message:a,timestamp:new Date().toISOString()})}},v=async({gqlToken:e,session:t,csrf:a,caching:i})=>{let r=Date.now();try{let n={},l={[d.HEADER_KEYS.API_KEY]:f,[d.HEADER_KEYS.SANDOZ_TOKEN]:e,[d.HEADER_KEYS.SANDOZ_SESSION]:t,[d.HEADER_KEYS.SANDOZ_CSRF]:a,[d.HEADER_KEYS.CACHING]:i},u=await (0,o.default)(p,s,n,l),h=Date.now()-r,m=u?.user,g=m?.success;return(0,c.logFrontendEvent)(g?`${b} GQL Success`:`${b} GQL Failure`,g?d.NEW_RELIC_KEYS.LOG_LEVEL_INFO:d.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:b,duration:`${h}ms`,statusCode:m.statusCode,success:g,message:m.message,timestamp:new Date().toISOString()}),{...u,isUnauthorized:!1}}catch(i){let e=Date.now()-r;(0,c.logFrontendEvent)(`${b} GQL Error`,d.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:b,duration:`${e}ms`,errorMessage:i,timestamp:new Date().toISOString()});let t=JSON.parse(JSON.stringify(i)),a=t?.response?.errors[0]?.extensions?.response?.status===403||t?.response?.errors[0]?.extensions?.response?.status===401;return{user:{success:!1,statusCode:t?.response?.statusCode,message:t?.message,data:{}},isUnauthorized:a}}},A=async({gqlToken:e,session:t,csrf:a,caching:i})=>{let n=Date.now();try{let s={}
359,l={[d.HEADER_KEYS.API_KEY]:f,[d.HEADER_KEYS.SANDOZ_TOKEN]:e,[d.HEADER_KEYS.SANDOZ_SESSION]:t,[d.HEADER_KEYS.SANDOZ_CSRF]:a,[d.HEADER_KEYS.CACHING]:i},u=await (0,o.default)(p,r,s,l),h=Date.now()-n,m=u?.getPoLengthValidation,g=m?.success;return(0,c.logFrontendEvent)(g?`${_} GQL Success`:`${_} GQL Failure`,g?d.NEW_RELIC_KEYS.LOG_LEVEL_INFO:d.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:_,duration:`${h}ms`,statusCode:m.statusCode,success:g,message:m.message,timestamp:new Date().toISOString()}),{...u,isUnauthorized:!1}}catch(i){let e=Date.now()-n;(0,c.logFrontendEvent)(`${_} GQL Error`,d.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:_,duration:`${e}ms`,errorMessage:i,timestamp:new Date().toISOString()});let t=JSON.parse(JSON.stringify(i)),a=t?.response?.errors[0]?.extensions?.response?.status===403||t?.response?.errors[0]?.extensions?.response?.status===401;return{getPoLengthValidation:{success:!1,statusCode:t?.response?.statusCode,message:t?.message,poLength:0},isUnauthorized:a}}},w=async({gqlToken:e,session:t,csrf:a,caching:i}
359)=>{let r=Date.now();try{let n={[d.HEADER_KEYS.API_KEY]:f,[d.HEADER_KEYS.SANDOZ_TOKEN]:e,[d.HEADER_KEYS.SANDOZ_SESSION]:t,[d.HEADER_KEYS.SANDOZ_CSRF]:a,[d.HEADER_KEYS.CACHING]:i},s=await (0,o.default)(p,h,{},n),l=s?.getShippingAddressDetails,u=l?.success;return(0,c.logFrontendEvent)(u?"Shipping Address GQL Success":"Shipping Address GQL Failure",u?"info":"error",{source:"Shipping Address",statusCode:l?.statusCode,duration:`${Date.now()-r}ms`,success:u,message:l?.message,timestamp:new Date().toISOString()}),{...s,isUnauthorized:!1}}catch(a){let e=JSON.parse(JSON.stringify(a)),t=e?.response?.errors[0]?.extensions?.response?.status===403||e?.response?.errors[0]?.extensions?.response?.status===401;return{getShippingAddressDetails:{success:!1,statusCode:e?.response?.statusCode,message:e?.message,data:{}},isUnauthorized:t}}},E=async({gqlToken:e,billingAdrId:t,shippingAddress:i,checkoutID:r,poNumber:n,domainLang:s,selectedDate:l,session:u,csrf:h,accountId:m,selectedWholesaler:g,caching:b,selectedCustomerId:_,primaryEmail:x,secondaryEmail:v,emailOverride:A=!1})=>{let w=Date.now();try{let E={input:{billingAddressId:t,checkoutId:r,deliveryDate:l,paymentToken:n,shippingAddress:i?{id:i.id??null,street:i.street??null,countryCode:i.countryCode??null,postalCode:i.postal_code??null,city:i.city??null,state:i.state??null,stateCode:i.stateCode??null,country:i.country??null}:null,shipFrom:g,wholesalerCode:_,secondaryMail:v,primaryEmail:x,emailOverride:A}},S={[d.HEADER_KEYS.API_KEY]:f,[d.HEADER_KEYS.SANDOZ_LOCALE]:s,[d.HEADER_KEYS.SANDOZ_TOKEN]:e,[d.HEADER_KEYS.SANDOZ_SESSION]:u,[d.HEADER_KEYS.SANDOZ_CSRF]:h,[d.HEADER_KEYS.SANDOZ_ACCOUNTID]:m??d.EMPTY_STRING,[d.HEADER_KEYS.CACHING]:b},C=await (0,o.default)(p,a,E,S),T=Date.now()-w,N=C?.placeOrder,k=N?.success;return(0,c.logFrontendEvent)(k?`${y} GQL Success`:`${y} GQL Failure`,k?d.NEW_RELIC_KEYS.LOG_LEVEL_INFO:d.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:y,duration:`${T}ms`,statusCode:N.statusCode,success:k,message:N.message,timestamp:new Date().toISOString()}),{...C,isUnauthorized:!1}}catch(i){let e=Date.now()-w;(0,c.logFrontendEvent)(`${y} GQL Error`,d.NEW_RELIC_KEYS.LOG_LEVEL_ERROR,{source:y,duration:`${e}ms`,errorMessage:i,timestamp:new Date().toISOString()});let t=JSON.parse(JSON.stringify(i)),a=t?.response?.errors[0]?.extensions?.response?.status===403||t?.response?.errors[0]?.extensions?.response?.status===401;return{placeOrder:{success:!1,statusCode:t?.response?.statusCode,message:t?.message,orderNumber:d.EMPTY_STRING},isUnauthorized:a}}};e.s(["default",0,x,"eshopPlaceOrder",0,E,"getEshopContactData",0,v,"getEshopPONumberLength",0,A,"getEshopShippingAddress",0,w],62604)},68105,e=>{"use strict";e.s(["default",()=>eu]);var t=e.i(91398),a=e.i(91788),i=e.i(22276);e.i(62179);var r=e.i(65208),n=e.i(7995),s=e.i(33083),l=e.i(3828),o=e.i(92915),c=e.i(20549),d=e.i(34641),u=e.i(67552),h=e.i(68489),f=e.i(75425),p=e.i(26771),m=e.i(15315),g=e.i(65921);e.i(35958);var b=e.i(76988),_=e.i(41764),y=e.i(82054);e.i(48756);var x=e.i(12015),v=e.i(74750),A=e.i(49266),w=e.i(38462),E=e.i(55164),S=e.i(95942),C=e.i(34780),T=e.i(31808),N=e.i(2635),k=e.i(49720),I=e.i(12567),j=e.i(58372),P=e.i(15472),L=e.i(14694),O=e.i(17877),D=e.i(63712),M=e.i(24280),R=e.i(3265),F=e.i(62269),B=e.i(21679),U=e.i(18414),H=e.i(63137),$=e.i(84016),G=e.i(82108),W=e.i(10828),Y=e.i(91236),z=e.i(82725),V=e.i(42823),K=e.i(37916),q=e.i(43927),Q=e.i(41282),Z=e.i(62604),X=e.i(53007),J=e.i(21587),ee=e.i(77108),et=e.i(61601);let ea=(0,h.default)(()=>e.A(55597),{loadableGenerated:{modules:[32002]},ssr:!1}),ei=(0,h.default)(()=>e.A(57277),{loadableGenerated:{modules:[27280]},ssr:!1}),er=(0,h.default)(()=>e.A(28655),{loadableGenerated:{modules:[23537]},ssr:!1}),en=(0,h.default)(()=>e.A(39040),{loadableGenerated:{modules:[95736]},ssr:!1}),es=(0,h.default)(()=>e.A(41317),{loadableGenerated:{modules:[77577]},ssr:!1}),el=(0,h.default)(()=>e.A(75851),{loadableGenerated:{modules:[31392]},ssr:!1}),eo=e=>{let{loading:c,floatingBanner:d,headerMegaMenu:h,headerLightMenu:T,headerTopSection:j,floatingModule:eo,loginFormData:ec,eyebrowMenu:ed,hcpModal:eu,disclaimerModal:eh,setUserProfile:ef,resetUserAndProfile:ep,addUserData:em,setUserStateGlobally:eg,userSession:eb,setUserSession:e_,refererUrl:ey="",pageHcpModal:ex,pageAlias:ev,isDeepLink:eA,isiBannerDetails:ew,addISIBanner:eE,isiBanner:eS,bannerModuleData:eC,updateRefAppID:eT,micrositeConfig:eN,countryAndBrandSwitcherData:ek,updateReloadContent:eI,reloadContent:ej,referenceTextData:eP,isSandozAcademy:eL}=e,eO=(0,a.useContext)(y.default),{applicationConfiguration:eD}=eO,{applicationTheme:eM}=(0,a.useContext)(E.ApplicationThemeContext),{removeQueryParam:eR}=(0,D.default)(eO?.applicationConfiguration),{isDataReady:eF,user_id:eB,...eU}=(0,q.default)(),{host:eH,pathname:e$}=window.location,eG=String(eD?.siteConfig?.cache_settings?.isCacheEnabled),eW=e?.user?.isLoggedIn&&!!e?.appSession?.session&&!!e?.appSession?.csrf,eY={content:{content:"",isRichText:!1},footer:{actionBtn:{children:"",tabindex:1},closeBtn:{children:"",href:"",isSecondary:!1,tabindex:2}},header:{titleText:""}},ez={content:{content:"",isRichText:!1},footer:{actionBtn:{children:"",tabindex:2},logoutBtn:{children:"",href:"",isSecondary:!1,tabindex:1}},header:{titleText:""},warning_triggered_by:""},eV=(0,l.useRouter)(),eK=(0,u.isAzureFormDependent)(eV.asPath),[eq,eQ]=(0,a.useState)(0),eZ=!(0,g.default)()&&"interacted"===sessionStorage.getItem("hcpModal"),[eX,eJ]=(0,a.useState)(eZ),[e0,e1]=(0,a.useState)(""),[e2,e3]=(0,a.useState)(!1),[e4,e6]=(0,a.useState)(null),[e5,e8]=(0,a.useState)(eY),[e7,e9]=(0,a.useState)(ez),[te,tt]=(0,a.useState)(!1),[ta,ti]=(0,a.useState)(!1),[tr,tn]=(0,a.useState)(!0),[ts,tl]=(0,a.useState)(""),[to,tc]=(0,a.useState)(null),[td,tu]=(0,a.useState)(null),[th,tf]=(0,a.useState)(null),[tp,tm]=(0,a.useState)(null),[tg,tb]=(0,a.useState)(!1),[t_,ty]=(0,a.useState)(),tx=(0,i.useSelector)(e=>e.common.paywallContent),tv=(0,i.useSelector)(e=>e.appSession.applicationId),tA=(0,i.useSelector)(e=>e.user),{session:tw,csrf:tE}=(0,i.useSelector)(e=>e.appSession),{getCurrentPageConfig:tS}=(0,M.default)(eO),tC=!!eD?.siteConfig?.cob_enabled,tT=(0,i.useDispatch)(),tN=(0,a.useCallback)(e=>tT((0,$.addAcademyCourseFlags)(e)),[tT]),tk=(0,a.useCallback)(e=>tT((0,V.setEshopFlag)(!!e)),[tT]),tI=(0,a.useCallback)(e=>tT((0,V.setEshopToken)(!!e)),[tT]),tj=(0,a.useCallback)(e=>tT((0,V.setMarket)(e)),[tT]),tP=(0,a.useCallback)(e=>tT((0,V.setCobUser)(e)),[tT]),tL=(0,i.useSelector)(e=>e.eshop.EcommToken),{fetchUserProfile:tO}=(0,o.default)(),{profileLoading:tD,setProfileLoading:tM,isActiveSession:tR,renewUserSession:tF,manageUserSession:tB,profileFailure:tU}=(0,k.default)(),{fetchLanguageDataSource:tH,tabOptions:t$,tabHeadItems:tG,tabContents:tW}=(0,p.default)(),tY=(0,O.default)(ew),tz=eO?.applicationConfiguration?.siteConfig?.isi_version??"0",tV=eN?.isMicrositeEnabled,[tK,tq]=(0,a.useState)(!1),[tQ,tZ]=(0,a.useState)(!1),tX=(0,a.useCallback)(()=>{tK&&(e3(!0),setTimeout(()=>{e3(!1),tq(!1)},5e3))},[tK]),tJ=(0,a.useCallback)(e=>{let t=e||tQ;t&&(e6(t),setTimeout(()=>{e6(null),tZ(null)},5e3))},[tQ]);(0,a.useMemo)(()=>
359{if(eb&&!e?.appSession?.csrf&&!e?.appSession?.session){let e=JSON.parse(eb);e_(e?.session,e?.csrfToken)}},[eb]),(0,a.useEffect)(()=>{let t=async()=>{(0,H.default)().then(e=>{let t=e?.data?(0,I.getHeaderData)(e.data):j;tm(t?.userMenuDetails)})};tA?.isLoggedIn&&!tp&&e?.appSession?.csrf&&e?.appSession?.session&&t(),tA?.isLoggedIn||tm(null)},[tA?.isLoggedIn,e?.appSession,eb]),(0,a.useEffect)(()=>{let e=[25,50,75,100],t=[],a=()=>{let a=Math.floor((window.pageYOffset||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-window.innerHeight)*100);e.forEach(e=>{a>=e&&!t.includes(e)&&eF&&((0,Q.handleDataLayerScrollDepth)(e,eU),t.push(e))})};return window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)}},[eF]),(0,a.useMemo)(async()=>{if(eW&&!0===tx&&eO?.applicationConfiguration?.isSandozIDEnabled&&!ej)try{eI(!0)}catch(e){console.error("Error reloading page:",e)}},[e?.user?.isLoggedIn,tx,eO?.applicationConfiguration?.isSandozIDEnabled]);let t0=async()=>{try{let e=z.default.get(et.COOKIE_KEYS.GQL_TOKEN),t=await (0,Z.getEshopContactData)({gqlToken:e,session:tw,csrf:tE,caching:eG});t?.user.success&&tT((0,V.setEshopUserData)(t?.user?.data))}catch(e){console.error(e)}},t1=async()=>{try{let e=await (0,X.fetchWishlistProducts)({session:tw,csrf:tE,caching:eG});tT((0,J.addWishlistInStore)(e?.data?.productData||[]))}catch(e){console.error("Wishlist fetch failed:",e)}},t2=async e=>{try{tT((0,V.setIsLoggingInHco)(!0));let{gql_token:e}=eV.query,t=e??localStorage.getItem(et.COOKIE_KEYS.HCP_GQL_TOKEN),a=await (0,ee.getEshopHCOList)({session:tw,csrf:tE,gqlToken:t,caching:eG});a&&tT((0,V.setCobUser)(a))}catch(e){console.error(e)}},t3=async e=>{!e?.b2cId&&e?.hcoCount&&e?.hcoCount<=1&&e?.isAffiliated&&tC&&e?.hcoCount&&await t2(e),z.default.get(et.COOKIE_KEYS.GQL_TOKEN)&&(tI(!0),t0(),t1()),tT((0,V.setIsLoggingInHco)(!1))};(0,a.useEffect)(()=>{let e=z.default.get(et.COOKIE_KEYS.GQL_TOKEN),t=z.default.get(et.COOKIE_KEYS.HCP_GQL_TOKEN);if(e){let a=K.default.decode(e),i=K.default.decode(t);i?.isAffiliated&&a?.lastName&&tP(a?.lastName)}},[]),(0,a.useEffect)(()=>{tL&&t0()},[tL]),(0,a.useEffect)(()=>{let{code:e,app_id:t,t:a,s:i,status_code:r,gql_token:n,error_message:s}=eV.query,{protocol:o,host:c,pathname:d}=window.location;if(eO?.applicationConfiguration?.flash_num_msg&&eO?.applicationConfiguration?.error_codes&&(e||a||i||r)){if(r){let e=(0,I.getFlashMessageWithType)(eO.applicationConfiguration,r);if((e&&!tA.isLoggedIn&&e?.error_status==="success"||e&&e?.error_status!="success")&&(tZ(e),tJ(e),e?.error_code==="465"||e?.error_code==="466")){let t=new Date().toLocaleString(),a={registration_action:"result_to_user",registration_status:e?.error_status,registration_message:e?.error_message,registration_message_time:t};(0,G.dataLayerPush)(W.EVENTS.REGISTRATION,a)}}if(eW&&ac(),e)au(e).then(async e=>{let{LoginData:t,Profile:a,Key:i}=e;if(i){localStorage.setItem("Key",JSON.stringify(i));let e=await (0,m.postApi)("/solarapi/doccheck/access_token",{token:i}),t=e?.session_data?.csrf_token,a=e?.session_data?.hashedSessionId;e_(a,t);let r="SoLAR",n=!!location.hostname.includes("localhost"),s=(0,u.getAssetPrefixUrl)(`/api/data-provider/?id=user&appid=${tv}`,n),{feDomain:l}=(0,m.getApiDomainAndLang)(),o=await fetch(s,{headers:{sessionId:N.default.encrypt(a,r).toString(),csrfToken:N.default.encrypt(t,r).toString(),domainPath:(0,P.getApplicationPathFromURL)(),fedomain:l}});await o.json()}let r=(0,I.getFlashMessage)(eO.applicationConfiguration,"DocCheck login message");e1(`<p>${r}</p>`),em(t),ef(a),eg(!0,_.LOGIN_TYPES.DOC_CHECK),setTimeout(()=>{l.default.reload()},1e3)}).catch(e=>{let t=(0,I.getFlashMessage)(eO.applicationConfiguration,"Logout message");e1(`<p>${t}</p>`)}).finally(()=>{e2||tq(!0);let e=`${o}//${c}${d}`;window.history.pushState({path:e},"",e),sessionStorage.removeItem("source")});else if(a&&i&&eO.applicationConfiguration.isSandozIDEnabled){if(n){let e=K.default.decode(n);e?.isAffiliated?z.default.set(et.COOKIE_KEYS.HCP_GQL_TOKEN,n):z.default.set(et.COOKIE_KEYS.GQL_TOKEN,n),e?.eshop_enabled&&tk(n),e?.market&&tj(e?.market),t3(e)}let e=!1;if((async()=>{let t=`/api/data-provider/?id=check-cookie&appid=${tv}`,a=await fetch(t,{headers:{domainPath:(0,P.getApplicationPathFromURL)()}}),i=await a.json();i?.isExpire&&(e=i?.isExpire)})(),eW&&!e)return;tM(!0),(async(e,t,a,i)=>{try{e_(a,i);try{let r=`/api/data-provider/?id=check-cookie&appid=${tv}`,n=await fetch(r,{headers:{domainPath:(0,P.getApplicationPathFromURL)()}});(await n.json()).isExpire&&await (0,P.setupCookies)(a,i,tv);let s=await ac(),l=s?.response,o={code:200,fail:!1,response:{session_data:{hashedSessionId:a,csrf_token:i,b2c_id:"",first_name:l?.profile?.records?.[0]?.FirstName??"",last_name:l?.profile?.records?.[0]?.LastName??"",terms:l?.profile?.terms,hcp_confirmation:l?.profile?.hcp_confirmation,user_data:{current_user:{name:l?.profile?.records?.[0]?.PersonEmail}},scout_data:l?.profile?.records?.[0]}},error:{},loginType:_.LOGIN_TYPES.SOLAR};em(o),tZ({error_status:"success",error_message:`<p>${e}</p>`}),eg(!0,_.LOGIN_TYPES.SOLAR),t&&eO?.applicationConfiguration?.isGlobalSite&&eT(t);let c=new URL(window.location.href),d=(0,u.removeQueryParams)(c.href,_.QUERY_PARAMS_TO_REMOVE);eV.replace(`${c.pathname}${d?`?${d}`:""}${c.hash}`,void 0,{shallow:!0})}catch(e){throw Error(`failed to get user details! ${e}`)}}catch(e){console.error("Error occured: ",e),tZ({error_status:"error",error_message:"Something went wrong! Please try again in sometime"}),eR()}finally{tM(!1)}})((0,I.getFlashMessage)(eO.applicationConfiguration,"Login message"),t,decodeURI(i),decodeURI(a))}}},[eO?.applicationConfiguration?.flash_num_msg,eO?.applicationConfiguration?.isSandozIDEnabled,eV.query]),(0,a.useMemo)(()=>{tU&&setTimeout(()=>{e6({error_status:"error",error_message:"We are logging you out due to some technical reason!!"})},5e3)},[tU]),(0,a.useEffect)(()=>{eO?.applicationConfiguration?.isLanguageEnabled&&!tV&&tH()},[eO?.applicationConfiguration?.isLanguageEnabled,tV]),(0,a.useEffect)(()=>
359{if(1===e7.enabled&&e?.user?.isLoggedIn){let t=e?.user?.profile?.response?.profile,a={};try{a=JSON.parse(e7?.warning_triggered_by||"{}")}catch{}let[i,r]=Object.entries(a)?.[0]||[],n=t&&i&&t[i]?.toString().toLowerCase()===r?.toString().toLowerCase();tt(!!n),n||(tX(),tJ())}else(0===e7.enabled||null===e7.enabled)&&e?.user?.isLoggedIn&&(tX(),tJ())},[e?.user,e7.enabled,e?.user?.isLoggedIn]),(0,a.useEffect)(()=>{tl(localStorage.getItem("showBanner")??""),tN({academyCompletedFlag:{...eL}})},[]),(0,a.useMemo)(()=>{void 0!==tR&&!1===tR&&!1===tF?tB(tF):void 0===tR&&!0===tF&&tB(tF)},[tR,tF]),(0,a.useEffect)(()=>{eW&&e?.user?.user?.loginType===_.LOGIN_TYPES.DOC_CHECK&&(eO.applicationConfiguration.isBookmarkEnabled=!1,eO.applicationConfiguration.isFavouriteEnabled=!1,eO.applicationConfiguration.isRatingEnabled=!1)},[eW,eO.applicationConfiguration]),(0,a.useEffect)(()=>{if(ew){let e={};eS?.isiBannerData&&eS?.isiBannerData?.length>0?eS?.isiBannerData?.some(e=>e.nodeTitle===ew?.node_title?.[0].value)||(e.nodeTitle=ew?.node_title?.[0].value??"",e.bannerInteractionFlag=0,eS?.isiBannerData?.push(e),eE(eS?.isiBannerData)):(e.nodeTitle=ew?.node_title?.[0].value??"",e.bannerInteractionFlag=0,eE([e]))}},[ew]),(0,a.useEffect)(()=>{let e=(d?.display&&"false"!==ts?f.default.FORTY:f.default.ZERO)+(ed?.enabled===f.default.ONE?f.default.FORTY:f.default.ZERO);e>f.default.ZERO&&eQ(e)},[d?.display,ed?.enabled,eq,ts]),(0,a.useEffect)(()=>{let t=(0,u.matchesHCPModalPatterns)(eu?.pattern||"",ev);if(eu&&eu?.enabled!==1&&ex&&ex?.enabled!==1&&!t&&eJ(!0),!(0,g.default)()){let a=JSON.parse(sessionStorage.getItem("feDomainData")),i=`${a}_hcpModal`,r=sessionStorage.getItem(i),n=`${e?.pageAlias}_hcpModal`,s=sessionStorage.getItem(n),l={...ex,pageAlias:ev};t&&ex?.enabled===0&&(eu.enabled=1),"interacted"!==s&&ex&&ex?.enabled===1&&!eA?(e8(l),ti(!0)):"interacted"!==r&&eu&&eu?.enabled===1&&ex?.enabled!==1&&(e8(eu),ti(!0))}},[eu,eu?.enabled,ex,ex?.enabled,ev]),(0,a.useEffect)(()=>{if(!(0,g.default)()){let t=`${eH}${e$}`,a=t?.length;t="/"===t?.at(a-1)?t?.slice(0,a-1):t;let i=JSON.parse(sessionStorage.getItem("feDomainData")),r=`${i}_hcpModal`,n=sessionStorage.getItem(r),s=`${e?.pageAlias}_hcpModal`,l=sessionStorage.getItem(s),o="/"===e$?`${i}_hcpModalOnNo`:`${t}_hcpModalOnNo`,c=sessionStorage.getItem(o),d={...ex,pageAlias:ev},u=`${i}_disclaimerModal`,h=sessionStorage.getItem(u);"interacted"!==l&&ex&&ex?.enabled===1&&!eA?(e8(d),ti(!0)):"interacted"!==n&&eu&&eu?.enabled===1&&ex?.enabled!==1&&"interacted"!==c?(e8(eu),ti(!0)):eh&&"interacted"!==h&&eh?.enabled===1?(e9(eh),tn(!0)):eh?.enabled!==1&&e9({...ez,enabled:0})}},[eu,ex,ev,eh,eh?.enabled,eW]),(0,a.useEffect)(()=>{(ta||tr&&te)&&(document.body.style.overflow="hidden")},[ta,tr]);let t4=e?.user?.profile?.response?.profile,t6={name:t4?.records?.[0]?`${t4?.records?.[0]?.FirstName}
360                    ${t4?.records?.[0]?.LastName}`:"",about:"about user",loginStatus:eW,profileLoading:tD},t5=ec,t8=ec?.banner,t7={showPopup:!1,popup:{showPopup:!1,showOverlay:!1,spinnerIcon:(0,u.getAssetPrefixUrl)("/assets/icons/spinner.svg"),closeIcon:{url:(0,u.getAssetPrefixUrl)("/assets/icons/close.svg"),altText:"close icon"},handlePopupShow:e=>e},form:t5,bannerCTA:t8,handlePopupShow:e=>e,handleForgotPasswordShow:e=>e,loginConfirmation:e=>e};(0,a.useEffect)(()=>{let e=async()=>{let{pageMenuLvl:e,menuStructure:t}=eN,{menuTree:a,l1SwitcherData:i,l2SwitcherData:r}=ek;if("0"===e){let e=a?.[ek.rootNodeId]?.map(e=>{let t=(0,F.default)(e);return t.attributes.parent=null,t})||[];tf(await (0,I.renderMegaMenu)(null,e,eO?.applicationConfiguration?.siteConfig))}else if("1"===e){let e=i?.find(e=>e?.uri?.includes(e$));tc(e);let t=e?.id&&a?.[e.id]?.flatMap(t=>{if(t?.attributes?.parent?.includes(`:${e.id}`)){let e=(0,B.default)(t);return e.attributes.parent=null,e}return t})||[];tf(t&&t?.length?await (0,I.renderMegaMenu)(null,t,eO?.applicationConfiguration?.siteConfig):[])}else{let e=i?.find(e=>!!a?.[e.id]?.some(e=>(e?.attributes?.link?.uri?(0,R.filterURL)(e?.attributes?.link?.uri):"")===`/${ev}`));if(tc(e),"one_level"===t){let t=e?.id&&a?.[e.id]?.flatMap(t=>{if(t?.attributes?.parent?.includes(`:${e.id}`)){let e=(0,B.default)(t);return e.attributes.parent=null,e}return t})||[];tf(t&&t?.length?await (0,I.renderMegaMenu)(null,t,eO?.applicationConfiguration?.siteConfig):[])}if("one_level"===t){let t=e?.id&&a?.[e.id]?.flatMap(t=>{if(t?.attributes?.parent?.includes(`:${e.id}`)){let e=(0,B.default)(t);return e.attributes.parent=null,e}return t})||[];tf(t&&t?.length?await (0,I.renderMegaMenu)(null,t):[])}else if("two_level"===t){let t=eN?.pageMenuLvl==="2"?r?.[e?.id]?.find(e=>e?.uri===`/${ev}`):r?.[e?.id]?.find(e=>
360!!a?.[e.id]?.some(e=>(e?.attributes?.link?.uri?(0,R.filterURL)(e?.attributes?.link?.uri):"")===`/${ev}`));tu(t);let i=t?a?.[t.id]?.flatMap(e=>{if(e?.attributes?.parent?.includes(`:${t.id}`)){let t=(0,B.default)(e);return t.attributes.parent=null,t}return e}):[];tf(i?await (0,I.renderMegaMenu)(null,i,eO?.applicationConfiguration?.siteConfig):[])}}};tV&&ek&&e()},[ev,ek]);let{lang:t9}=(0,m.getApiDomainAndLang)(),ae=(0,a.useMemo)(()=>tS(ev,e),[ev,e,eO?.applicationComponentsData]),at=eN?.disabledInhConfig?.eyebrow_menu?null:ae?.eyebrowMenu,aa=eN?.disabledInhConfig?.header?null:ae?.headerTopSection,ai=eN?.disabledInhConfig?.header?null:{loginPopup:t7,languageSelected:{tabindex:1,regionicon:(0,t.jsx)(A.Icon,{iconName:"GlobalIcon"}),country:tV?to?.title:j?.countryName,lang:t9,href:"javascript:void(0);",stateIcon:(0,t.jsx)(A.Icon,{iconName:"CollapseDownIcon"}),ariaLabel:"Language Switch",closeIcon:(0,t.jsx)(A.Icon,{iconName:"Close2"})},languageList:{title:j?.chooseLocationText,divider:{className:"hr desk-seperator"},tabsData:tV?null:{tabHeadItems:tG,tabHeadClassName:"tab-nav",tabContents:tW,tabContentClassName:"language-switcher-countries",tabContentID:"pills-tabContent",tabWithDropdown:!0,options:t$,ariaLabel:"Select language",name:"language-dropdown"},display:!0,isMicrositeEnabled:tV,micrositeL1List:tV?ek?.l1SwitcherData:void 0,selectedItem:tV?to?.title:j?.countryName},topSection:aa,megaMenu:tV?th:h,userData:t6,floatingBanner:d,eyebrowMenu:at,headerConfig:ae?.headerConfig},ar=eN?.disabledInhConfig?.footer?null:ae?.footer,an=e=>{},as=()=>{tl("false")},al=()=>{eJ(!0)},ao=()=>{tn(!1)},ac=async()=>{let e=await tO(Y.PROFILE_API.BASIC);if(!e.fail)return ef(e),e;ep({}),tO(Y.PROFILE_API.FULL).then(e=>{let t=e;if(!t.fail)return ef(t),t;ep({})})},ad=()=>({LoginData:{sessionId:null,first_name:"Doccheck",last_name:"User",terms:"0",hcp_confirmation:"0",user_data:{current_user:{name:"Doccheck User"},csrf_token:null,logout_token:null},scout_data:null,loginType:_.LOGIN_TYPES.DOC_CHECK},Profile:{bookmark:[],favourite:{},profile:{totalSize:1,done:!0,records:[{Salutation:"Mr",FirstName:"Docheck",LastName:"User",Type:"Doctor",SCT_Primary_Specialty__c:null,SCT_National_ID__c:null,SCT_Primary_Parent__r:null,BillingState:null,SCT_Sharing_Code__c:null,SCT_Email_Consent__c:null}],terms:"0",hcp_confirmation:"0"}}}),au=async e=>{try{let t=eO?.applicationConfiguration?.siteConfig,a=t?.doccheck_login_id,i=t?.doccheck_clientsecret,r=t?.doccheck_base_domain,n=`https://${r}/service/oauth/access_token`,s="";if(e){s=`${n}/?client_id=${a}&client_secret=${i}&code=${e}&grant_type=authorization_code`;let t=await fetch(s,{method:"POST"});if(200!=t.status)throw Error(`Request failed with status: ${t.status}`);let r=(await t.json()).access_token,{LoginData:l,Profile:o}=ad();return{LoginData:l,Profile:o,Key:r}}}catch(e){console.error(e)}},ah=tV&&eN?.menuStructure==="two_level"?{options:ek?.l2SwitcherData?.[to?.id]||[],selectedItem:td||null,handleSelect:e=>{eV.push(e.uri)}}:{},af=(0,t.jsxs)(t.Fragment,{children:["rebranding"==eM||"rebranding-japan"==eM||"jubbonti"==eM||"wyost"==eM||"biosimilarsinbone"===eM||"vagidonna"===eM?(0,t.jsx)(S.default,{...ai,topSection:tA?.isLoggedIn&&ai?{...ai?.topSection,userMenuDetails:tp}:ai?.topSection,brandSwitcherData:ah,micrositeConfig:eN,handleSearchFunctionality:an,isDisabled:j?.sticky_menu_enable,onFloatingBannerClose:as}):(0,t.jsx)(ei,{...ai,topSection:tA?.isLoggedIn&&ai?{...ai?.topSection,userMenuDetails:tp}:ai?.topSection,handleSearchFunctionality:an,isDisabled:j?.sticky_menu_enable,onFloatingBannerClose:as}),j?.sticky_menu_enable&&(0,t.jsx)(ea,{handleSearchFunctionality:an,topSection:ai?.topSection,megaMenu:T?.megaMenu,topValue:eq,searchData:j.searchDataContent})]}),ap=(0,t.jsx)(t.Fragment,{children:ey&&""!==ey&&eO?.applicationConfiguration?.siteConfig?.goback_details_enable===1&&(eO?.applicationConfiguration?.siteConfig?.goback_details_button_position===L.default.BOTTOM||eO?.applicationConfiguration?.siteConfig?.goback_details_button_position===L.default.BOTH)&&(0,t.jsx)(v.GoBackButton,{refererUrl:ey,goback_details_target_url:eO?.applicationConfiguration?.siteConfig?.goback_details_target_url,goback_details_button_label_text:eO?.applicationConfiguration?.siteConfig?.goback_details_button_label_text,className:"bottom-margin"})}),am=eN?.disabledInhConfig?.footer?null:ae?.liteFooter,ag=()=>eN?.disabledInhConfig?.banner?null:!eK&&eo&&"0"===tz&&eo?.bannerType==="isi_banner"?{...eo,bannerType:"isi_banner",isiBannerVersion:tz}:ew&&"1"===tz&&eo?.bannerType==="isi_banner"?{...tY,bannerType:"isi_banner",isiBannerVersion:tz}:eC,ab=ae?.banner??ag(),a_=(0,t.jsxs)(t.Fragment,{children:[ap,!eK&&eo&&"0"===tz&&eo?.bannerType==="isi_banner"&&!tV&&
360(0,t.jsx)(n.FloatingModuleLegacy,{data:eo}),!eK&&ab&&ab?.bannerType==="isi_banner"&&ab?.isiBannerVersion==="0"&&tV&&(0,t.jsx)(n.FloatingModuleLegacy,{data:ab}),ew&&"1"===tz&&eo?.bannerType==="isi_banner"&&!tV&&(0,t.jsx)(r.FloatingModule,{data:tY}),ab?.bannerType==="isi_banner"&&ab?.isiBannerVersion==="1"&&tV&&(0,t.jsx)(r.FloatingModule,{data:ab}),ab&&ab?.bannerType==="legal_banner"&&(0,t.jsx)(s.default,{data:ab}),eP?.referenceTextFlag&&(eP?.referenceTextTitle||eP?.referenceTextDesc)&&(0,t.jsx)(w.ReferenceText,{title:eP?.referenceTextTitle,description:eP?.referenceTextDesc}),am?.liteFooterFlag?am&&(0,t.jsx)(el,{...am}):ar&&(0,t.jsx)(er,{...ar}),ab&&ab?.bannerType==="disclaimer_banner"&&(0,t.jsx)(s.default,{data:ab})]});return eW&&te&&tr?(0,t.jsx)(es,{logoutMsg:tA?.isLoggedIn&&ai?{...ai?.topSection??""}:{},...e7,onClose:()=>{ao(),tX(),tJ()}}):(0,t.jsxs)(t.Fragment,{children:[eO?.applicationConfiguration?.siteConfig?.skip_navigation===1?(0,t.jsx)("a",{tabIndex:0,className:"skip-navigation",href:"#maincontent",children:_.SKIP_NAV}):null,eO?.applicationConfiguration?.siteConfig&&eO?.applicationConfiguration?.siteConfig?.header_exp_style==="simplified"&&ai&&!eV?.query?.id&&!eV?.query?.legacy_id&&(0,t.jsx)(U.default,{...ai,topSection:tA?.isLoggedIn&&ai?{...ai?.topSection,userMenuDetails:tp}:ai?.topSection,micrositeConfig:eN,brandSwitcherData:ah,onFloatingBannerClose:as}),eO?.applicationConfiguration?.siteConfig&&eO?.applicationConfiguration?.siteConfig?.header_exp_style!=="simplified"&&ai&&!eV?.query?.id&&!eV?.query?.legacy_id&&af,ta&&!eV?.query?.id&&!eV?.query?.legacy_id&&(0,t.jsx)(en,{...e5,onClose:al}),e.children,!c&&!eV?.query?.id&&!eV?.query?.legacy_id&&a_,e2&&(0,t.jsx)(b.Notification,{notificationType:"success",displayTxt:e0}),e?.user?.profile?.response?.academy_notification&&(0,t.jsx)(b.Notification,{notificationType:"success",displayTxt:e.user.profile.response.academy_notification}),e4&&(0,t.jsx)(b.Notification,{notificationType:e4?.error_status||"error",displayTxt:e4?.error_message||""}),tg&&(0,t.jsx)("div",{className:"eshop-notification",children:(0,t.jsx)(b.Notification,{notificationType:"error",displayTxt:t_?.errorMessage,autoCloseTimer:3e3,onClose:()=>{ty(null),tb(!1)}})}),(0,t.jsx)(C.default,{}),(0,t.jsx)(x.ConsentHandler,{})]})},ec={setUserProfile:e=>(0,c.setUserProfile)(e),resetUserAndProfile:e=>(0,c.resetUser)(e),addUserData:e=>(0,c.addUser)(e),setUserStateGlobally:(e,t)=>(0,T.setUserStateGlobally)(e,t),setUserSession:(e,t)=>(0,j.setSession)(e,t),addISIBanner:e=>(0,d.addISIBanner)(e),updateRefAppID:e=>(0,T.setRefApplicationID)(e),updateReloadContent:e=>(0,T.updateReloadContent)(e),academyCompletedFlag:e=>(0,$.addAcademyCourseFlags)(e)},ed=e=>({user:e.user,isiBanner:e.isiBanner,appSession:e.appSession,reloadContent:e.common.reloadContent,academyCompletedFlag:e.academyCourseReducer}),eu=(0,i.connect)(ed,ec)(eo)},93485,e=>{"use strict";e.s(["default",()=>d]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(9003),r=e.i(6271),n=e.i(91788),s=e.i(82054),l=e.i(29813),o=e.i(62423),c=e.i(92507);let d=e=>{let d,u,h,f,p,m,g,b=(0,a.c)(15);b[0]===Symbol.for("react.memo_cache_sentinel")?(d={},b[0]=d):d=b[0];let[_,y]=(0,n.useState)(d),x=(0,n.useContext)(s.default);b[1]!==x.applicationConfiguration.siteConfig?(u=()=>{(async()=>{let e=x.applicationConfiguration.siteConfig;y({global_no_result_text:e?.search_no_results_text_global??null})})()},h=[x.applicationConfiguration.siteConfig],b[1]=x.applicationConfiguration.siteConfig,b[2]=u,b[3]=h):(u=b[2],h=b[3]),(0,n.useEffect)(u,h);let{breadcrumbs:v,searchedPhrase:A,countResults:w}=e;return b[4]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(i.BrandingPattern,{}),b[4]=f):f=b[4],b[5]!==v?(p=(0,t.jsx)(r.Container,{children:(0,t.jsx)(o.default,{...v})}),b[5]=v,b[6]=p):p=b[6],b[7]!==w||b[8]!==e||b[9]!==_||b[10]!==A?(m=w?(0,t.jsx)(l.default,{...e}):(0,t.jsx)(r.Container,{children:(0,t.jsx)(c.default,{title:_.global_no_result_text,searchKey:A.toString()})}),b[7]=w,b[8]=e,b[9]=_,b[10]=A,b[11]=m):m=b[11],b[12]!==p||b[13]!==m?(g=(0,t.jsxs)(t.Fragment,{children:[f,(0,t.jsxs)("main",{className:"globalSearchResult",children:[p,m]})]}),b[12]=p,b[13]=m,b[14]=g):g=b[14],g}},24452,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(9003),r=e.i(6271),n=e.i(62423),s=e.i(62971);let l=e=>{let l,o,c,d,u=(0,a.c)(8),{breadcrumbs:h}=e;return u[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(i.BrandingPattern,{}),u[0]=l):l=u[0],u[1]!==h?(o=(0,t.jsx)(r.Container,{children:(0,t.jsx)(n.default,{...h})}),u[1]=h,u[2]=o):o=u[2],u[3]!==e?(c=(0,t.jsx)(s.default,{...e}),u[3]=e,u[4]=c):c=u[4],u[5]!==o||u[6]!==c?(d=(0,t.jsxs)(t.Fragment,{children:[l,(0,t.jsxs)(r.Container,{children:[o,c]})]}),u[5]=o,u[6]=c,u[7]=d):d=u[7],d}}
360,75027,67261,e=>{"use strict";e.s([],75027),e.i(28134),e.i(8215),e.i(68105),e.i(93485),e.i(24452),e.s(["default",()=>n],67261);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(6271),r=e.i(16164);let n=e=>{let n,s=(0,a.c)(2);return s[0]!==e?(n=(0,t.jsx)(i.Container,{children:(0,t.jsx)(r.default,{...e})}),s[0]=e,s[1]=n):n=s[1],n}},96661,e=>{"use strict";e.s(["default",()=>d],96661);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(38233),r=e.i(97268),n=e.i(38589),s=e.i(74807),l=e.i(18090);e.i(75027);var o=e.i(28134),o=o;let c=({displayLabels:e,treeData:d,depth:u,handleBack:h,handleStart:f})=>{let{tid:p,content:m,children:g}=d||{},[b,_]=(0,a.useState)(null),y=g?Object.values(g)?.sort((e,t)=>e?.weight-t?.weight):[],{data:x,isLoading:v}=(0,s.default)(`${p}-content`,async()=>{try{let e=m?.block_content?.length?m?.block_content:[];return await (0,n.fetchTabContent)(e)||{}}catch(e){console.error("Error in fetching node content: ",e)}}),A=(0,t.jsx)(i.Button,{tabindex:0,isSecondary:!0,onClick:()=>{h&&h()},children:e?.backBtn}),w=(0,t.jsx)(i.Button,{tabindex:0,isSecondary:!0,onClick:()=>{f&&f()},children:e?.startBtn}),E=()=>v?(0,t.jsx)(r.default,{display:v}):(0,t.jsx)("div",{className:"decision-tree-node--content",children:x?.blocks?.length!==0&&(0,t.jsx)(o.default,{...x})}),S=()=>{_(null),document?.getElementById(p)?.scrollIntoView({behavior:"smooth"})};return(0,t.jsxs)("div",{className:"decision-tree-node",id:p,children:[0===u&&(0,t.jsx)("h3",{className:"decision-tree-node--title",children:m?.button_label}),E(),!v&&(0,t.jsxs)(l.default,{className:"decision-tree-node--button-grp",children:[u>0&&!b?A:(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(t.Fragment,{children:y?.map((e,a)=>(0,t.jsx)(i.Button,{tabindex:a,isDisabled:!!b&&b!==e?.tid,onClick:()=>_(e?.tid),children:e?.content?.button_label},`${p}-${a}`))}),u>1&&!b?w:(0,t.jsx)(t.Fragment,{})]}),(0,t.jsx)("div",{children:b&&y?.map((a,i)=>a?.tid===b?(0,t.jsx)(c,{displayLabels:e,treeData:a,depth:u+1,handleBack:()=>S(),handleStart:()=>0===u?S():f&&f()},`${a?.tid}-${i}`):(0,t.jsx)(t.Fragment,{}))})]},p)},d=c},4376,e=>{"use strict";e.s(["StarsRating",()=>t.default]);var t=e.i(14554)},65559,e=>{"use strict";e.s(["default",()=>s]);var t=e.i(91398),a=e.i(61576),i=e.i(79988);e.i(35958);var r=e.i(4376),n=e.i(91788);let s=e=>{let s,o,c,d,u,h,f=(0,a.c)(15),{title:p,iconName:m,description:g,avgRating:b}=e,[,_]=(0,n.useState)(!1),y=l;return f[0]!==m?(s=m&&(0,t.jsx)(i.default,{iconName:m,className:"moduleInfoIconCard-icon"}),f[0]=m,f[1]=s):s=f[1],f[2]!==p?(o=(0,t.jsx)("h3",{className:"bold moduleInfoIconCard-title",children:p}),f[2]=p,f[3]=o):o=f[3],f[4]!==g?(c=g&&(0,t.jsx)("h4",{className:"bold moduleInfoIconCard-desc",children:y(g)}),f[4]=g,f[5]=c):c=f[5],f[6]!==b?(d=b&&(0,t.jsx)("div",{className:"moduleInfoIconCard-icondesc",children:(0,t.jsx)(r.StarsRating,{avgRating:b,setShowLoginPopUp:()=>_(!0),title:""})}),f[6]=b,f[7]=d):d=f[7],f[8]!==o||f[9]!==c||f[10]!==d?(u=(0,t.jsxs)("div",{className:"card-body",children:[o,c,d]}),f[8]=o,f[9]=c,f[10]=d,f[11]=u):u=f[11],f[12]!==s||f[13]!==u?(h=(0,t.jsxs)("div",{className:"card moduleInfoIconCard",children:[s,u]}),f[12]=s,f[13]=u,f[14]=h):h=f[14],h};function l(e){return e}},89498,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(45861),r=e.i(17626),n=e.i(6271),s=e.i(70184),l=e.i(66196),o=e.i(65559);let c=e=>{let o,c,u,h,f,p=(0,a.c)(16),{title:m,titleLink:g,altText:b,imageSrc:_,moduleInfoCardData:y,courseDetailsCTALink:x,courseDetailsCTALabel:v}=e;return p[0]!==m||p[1]!==g?(o=m&&g&&(0,t.jsx)(i.Anchor,{className:"moduleInfoCard-title",href:g,tabindex:0,children:(0,t.jsx)("h2",{className:"bold",children:m})}),p[0]=m,p[1]=g,p[2]=o):o=p[2],p[3]!==y?(c=y&&y?.length>0&&(0,t.jsx)("div",{className:"moduleInfoCard-iconcard",children:y?.map(d)}),p[3]=y,p[4]=c):c=p[4],p[5]!==v||p[6]!==x?(u=v&&x&&(0,t.jsx)(r.AnchorButton,{href:x,isExternal:!1,tabindex:0,className:"moduleInfoCard-cta",children:v}),p[5]=v,p[6]=x,p[7]=u):u=p[7],p[8]!==b||p[9]!==_?(h=(0,t.jsx)(s.Img,{alt:b,src:_,type:"image_block",width:1440,height:405}),p[8]=b,p[9]=_,p[10]=h):h=p[10],p[11]!==o||p[12]!==c||p[13]!==u||p[14]!==h?(f=(0,t.jsx)(n.Container,{children:(0,t.jsx)(l.Row,{isTemplateWrapper:!0,children:(0,t.jsxs)("div",{className:"moduleInfoCard",children:[o,c,u,h]})})}),p[11]=o,p[12]=c,p[13]=u,p[14]=h,p[15]=f):f=p[15],f};function d(e,a){return(0,t.jsx)(o.default,{...e},a)}},34103,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(61576),i=e.i(91788),r=e.i(79988);e.i(35958);var n=e.i(51023),s=e.i(15464);let l=e=>{let l,o,c,d,u,h,f,p,m=(0,a.c)(21),{content:g,description:b,popup:_,isLocked:y,isCentered:x}=e,v=void 0!==y&&y,A=void 0!==x&&x,[w,E]=(0,i.useState)(!1);m[0]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{E(!0)},m[0]=l):l=m[0];let S=l;m[1]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{E(!1)},m[1]=o):o=m[1];let C=o,T=`badge ${v?"badge--disabled":""} ${A?"badge--centered":""}`,N=v?"DisabledBadge":"MyBadge";m[2]!==N?(c=(0,t.jsx)("div",{className:"badge__icon",children:(0,t.jsx)(r.default,{iconName:N})}),m[2]=N,m[3]=c):c=m[3];let k=`badge__content ${v?"badge__content--disabled":""}`;return m[4]!==g||m[5]!==k?(d=(0,t.jsx)("h3",{className:k,children:g}),m[4]=g,m[5]=k,m[6]=d):d=m[6],m[7]!==v?(u=v&&(0,t.jsx)("div",{className:"badge__lock",children:(0,t.jsx)(r.default,{iconName:"LockClose"})}
360),m[7]=v,m[8]=u):u=m[8],m[9]!==u||m[10]!==T||m[11]!==c||m[12]!==d?(h=(0,t.jsxs)("div",{className:T,onClick:S,children:[c,d,u]}),m[9]=u,m[10]=T,m[11]=c,m[12]=d,m[13]=h):h=m[13],m[14]!==b||m[15]!==_||m[16]!==w?(f=_&&(0,t.jsx)(n.Popup,{showPopup:w,showOverlay:_?.showOverlay,closeIcon:_?.closeIcon,spinnerIcon:_?.spinnerIcon,className:`login-popup ${_?.className??""}`,handlePopupShow:C,children:(0,t.jsx)("div",{className:"badge-popup-desc",dangerouslySetInnerHTML:{__html:(0,s.DOMSanitizer)(b)}})}),m[14]=b,m[15]=_,m[16]=w,m[17]=f):f=m[17],m[18]!==h||m[19]!==f?(p=(0,t.jsxs)(t.Fragment,{children:[h,f]}),m[18]=h,m[19]=f,m[20]=p):p=m[20],p}},5229,e=>{"use strict";e.s(["default",()=>f],5229);var t=e.i(91398),a=e.i(61576),i=e.i(91788);e.i(48756);var r=e.i(34103),r=r,n=e.i(38233),s=e.i(6271),l=e.i(49266),o=e.i(47266),c=e.i(66196),d=e.i(92507);e.i(41871);var u=e.i(87612),h=e.i(67552);let f=e=>{let f,m,g,b,_,y,x,v,A,w=(0,a.c)(32),{badges:E,badgeListTitle:S,badgeDescription:C,showMoreLabel:T,showLessLabel:N,badgesToShowInitially:k,totalCount:I}=e,[j,P]=(0,i.useState)(!1),[L,O]=(0,i.useState)(!1),[D,M]=(0,i.useState)(!1),R=(0,u.useMediaQuery)("(max-width: 767px)"),F=(0,u.useMediaQuery)("(max-width: 991px)"),B=k;if(L)f=E;else{let e;R?B=6:F&&(B=8),w[0]!==B||w[1]!==E?(e=E?.slice(0,B),w[0]=B,w[1]=E,w[2]=e):e=w[2],f=e}w[3]!==k||w[4]!==R||w[5]!==F||w[6]!==I?(m=()=>I>(R?6:F?8:k),w[3]=k,w[4]=R,w[5]=F,w[6]=I,w[7]=m):m=w[7];let U=m;w[8]!==L?(g=()=>{O(!L)},w[8]=L,w[9]=g):g=w[9];let H=g;w[10]!==E?.length?(b=()=>{P(!0),E?.length&&P(!1),P(!1)},w[10]=E?.length,w[11]=b):b=w[11],w[12]===Symbol.for("react.memo_cache_sentinel")?(_=[],w[12]=_):_=w[12],(0,i.useEffect)(b,_),w[13]===Symbol.for("react.memo_cache_sentinel")?(y=(0,h.getAssetPrefixUrl)("/assets/icons/spinner.svg"),x={url:(0,h.getAssetPrefixUrl)("/assets/icons/close.svg"),altText:"close icon"},w[13]=y,w[14]=x):(y=w[13],x=w[14]),w[15]!==D?(v={showPopup:D,showOverlay:D,children:"",spinnerIcon:y,closeIcon:x,className:"badge-popup",handlePopupShow:M},w[15]=D,w[16]=v):v=w[16];let $=v;if(E?.length>0){let e;return w[17]!==$||w[18]!==C||w[19]!==S||w[20]!==E?.length||w[21]!==f||w[22]!==H||w[23]!==U||w[24]!==j||w[25]!==R||w[26]!==L||w[27]!==F||w[28]!==N||w[29]!==T?(e=(0,t.jsx)(t.Fragment,{children:j?(0,t.jsx)("div",{className:"load-container",children:(0,t.jsx)(o.Loader,{display:!0})}):(0,t.jsx)(c.Row,{isTemplateWrapper:!0,children:(0,t.jsxs)("div",{className:"badges-container",children:[(0,t.jsx)("div",{className:"badges-header",children:(0,t.jsx)(d.default,{title:S,description:C,searchKey:""})}),(0,t.jsx)(s.Container,{className:"list-container",children:(0,t.jsx)("div",{className:"badges-list",children:f?.length&&f?.map((e,a)=>(0,t.jsx)(r.default,{content:e?.badgeTitle,description:e?.badgeDescription,popup:$,handlePopupShow:p,isLocked:e?.isLocked,isCentered:!R&&!F&&E?.length%3==1&&a===E?.length-1},a))})}),U()&&(0,t.jsx)("div",{className:"badges-cta",children:(0,t.jsx)(n.Button,{tabindex:0,onClick:H,icon:(0,t.jsx)(l.Icon,{iconName:L?"ChevronUp":"ChevronDown"}),iconPosition:"right",children:L?N:T})})]})})}),w[17]=$,w[18]=C,w[19]=S,w[20]=E?.length,w[21]=f,w[22]=H,w[23]=U,w[24]=j,w[25]=R,w[26]=L,w[27]=F,w[28]=N,w[29]=T,w[30]=e):e=w[30],e}return w[31]===Symbol.for("react.memo_cache_sentinel")?(A=(0,t.jsx)(t.Fragment,{}),w[31]=A):A=w[31],A};function p(){}},35958,e=>{"use strict";e.s([]),e.i(38290),e.i(33999),e.i(64057),e.i(75842),e.i(68908),e.i(97100),e.i(9283),e.i(18090),e.i(39540),e.i(93931),e.i(49708),e.i(28911),e.i(8593),e.i(40149),e.i(58940),e.i(53414),e.i(93268),e.i(67212),e.i(23652),e.i(22748),e.i(10096),e.i(26735),e.i(16950),e.i(95104),e.i(7613),e.i(20251),e.i(40352),e.i(95312),e.i(36762),e.i(17503),e.i(37880),e.i(79557),e.i(88007),e.i(14554),e.i(62532),e.i(9049),e.i(78150),e.i(92507),e.i(67400),e.i(69943),e.i(39449),e.i(71059),e.i(25018),e.i(20682),e.i(40525),e.i(94767),e.i(7589),e.i(58978),e.i(26931),e.i(46603),e.i(29907),e.i(42858),e.i(26285),e.i(38906),e.i(19993),e.i(75227),e.i(27170),e.i(4100),e.i(53186),e.i(46349),e.i(85526),e.i(73343),e.i(29227),e.i(10033),e.i(3731),e.i(7684),e.i(1901),e.i(1938),e.i(99836),e.i(44376),e.i(83725),e.i(96661),e.i(94827),e.i(89498),e.i(87651),e.i(15883),e.i(36308),e.i(11902),e.i(79978),e.i(92792),e.i(98430),e.i(37234),e.i(6597),e.i(73688),e.i(74730),e.i(5229),e.i(31947),e.i(14755)},85208,(e,t,a)=>{t.exports=function(e){return e!=e}},39960,(e,t,a)=>{t.exports=function(e,t,a){for(var i=a-1,r=e.length;++i<r;)if(e[i]===t)return i;return -1}},91037,(e,t,a)=>{var i=e.r(18219),r=e.r(85208),n=e.r(39960);t.exports=function(e,t,a){return t==t?n(e,t,a):i(e,r,a)}},79617,(e,t,a)=>{var i=e.r(91037);t.exports=function(e,t){return!!(null==e?0:e.length)&&i(e,t,0)>-1}},34403,(e,t,a)=>{t.exports=function(e,t,a){for(var i=-1,r=null==e?0:e.length;++i<r;)if(a(t,e[i]))return!0;return!1}},62119,(e,t,a)=>{t.exports=function(){}},64163,(e,t,a)=>{var i=e.r(40682),r=e.r(62119),n=e.r(31853),s=1/0;t.exports=i&&1/n(new i([,-0]))[1]==s?function(e){return new i(e)}:r},81708,(e,t,a)=>{var i=e.r(50119),r=e.r(79617),n=e.r(34403),s=e.r(33483),l=e.r(64163),o=e.r(31853),c=200;t.exports=function(e,t,a){var d=-1,u=r,h=e.length,f=!0,p=[],m=p;if(a)f=!1,u=n;else if(h>=c){var g=t?null:l(e);if(g)return o(g);f=!1,u=s,m=new i}else m=t?[]:p;t:for(;++d<h;){var b=e[d],_=t?t(b):b;if(b=a||0!==b?b:0,f&&_==_){for(var y=m.length;y--;)if(m[y]===_)continue t;t&&m.push(_),p.push(b)}else u(m,_,a)||(m!==p&&m.push(_),p.push(b))}return p}},7055,(e,t,a)=>{var i=e.r(81708);
360t.exports=function(e){return e&&e.length?i(e):[]}},55300,(e,t,a)=>{var i=e.r(80783),r=e.r(45897),n=e.r(48684),s=i?i.isConcatSpreadable:void 0;t.exports=function(e){return n(e)||r(e)||!!(s&&e&&e[s])}},66762,(e,t,a)=>{var i=e.r(76723),r=e.r(55300);function n(e,t,a,s,l){var o=-1,c=e.length;for(a||(a=r),l||(l=[]);++o<c;){var d=e[o];t>0&&a(d)?t>1?n(d,t-1,a,s,l):i(l,d):s||(l[l.length]=d)}return l}t.exports=n},54527,(e,t,a)=>{var i=e.r(66762),r=1/0;t.exports=function(e){return(null==e?0:e.length)?i(e,r):[]}},28134,e=>{"use strict";e.s(["default",()=>Y]);var t=e.i(91398);e.i(48756);var a=e.i(17419),i=e.i(6271),r=e.i(66196),n=e.i(9247),s=e.i(41764),l=e.i(75425),o=e.i(85394);e.i(41871);var c=e.i(87612),d=e.i(1803),u=e.i(92915);e.i(35958);var h=e.i(4376);e.i(62179);var f=e.i(61105),p=e.i(33469),m=e.i(9135),g=e.i(82054),b=e.i(55164),_=e.i(15315),y=e.i(72094),x=e.i(34467),v=e.i(65921),A=e.i(10828),w=e.i(82108),E=e.i(67552),S=e.i(15472),C=e.i(64751),T=e.i(2635),N=e.i(68489),k=e.i(3828),I=e.i(91788),j=e.i(22276),P=e.i(20549),L=e.i(31808),O=e.i(21672),D=e.i(58372),M=e.i(14915),R=e.i(7055),F=e.i(54527),B=e.i(91236),U=e.i(43927);let H={AccordionAdvancedComponent:(0,N.default)(()=>e.A(42734).then(e=>e.AccordionAdvancedComponent),{loadableGenerated:{modules:[64762]}}),AccordionBlock:(0,N.default)(()=>e.A(42734).then(e=>e.AccordionBlock),{loadableGenerated:{modules:[64762]}}),ArticleTeaserBannerBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ArticleTeaserBannerBlock),{loadableGenerated:{modules:[64762]}}),ArticleTeaserCompositionBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ArticleTeaserCompositionBlock),{loadableGenerated:{modules:[64762]}}),ArticleTeaserGroupBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ArticleTeaserGroupBlock),{loadableGenerated:{modules:[64762]}}),BreadcrumbsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.BreadcrumbsBlock),{loadableGenerated:{modules:[64762]}}),ButtonGroupBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ButtonGroupBlock),{loadableGenerated:{modules:[64762]}}),CareerSearchFilterBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CareerSearchFilterBlock),{loadableGenerated:{modules:[64762]}}),CommonSearchBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CommonSearchBlock),{loadableGenerated:{modules:[64762]}}),CommonTabGroupBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CommonTabGroupBlock),{loadableGenerated:{modules:[64762]}}),CompactStockTickerBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CompactStockTickerBlock),{loadableGenerated:{modules:[64762]}}),ContactCardsComponent:(0,N.default)(()=>e.A(42734).then(e=>e.ContactCardsComponent),{loadableGenerated:{modules:[64762]}}),ContactUsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ContactUsBlock),{loadableGenerated:{modules:[64762]}}),CsvProductBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CsvProductBlock),{loadableGenerated:{modules:[64762]}}),EducationOverviewBlock:(0,N.default)(()=>e.A(42734).then(e=>e.EducationOverviewBlock),{loadableGenerated:{modules:[64762]}}),AcademyCatalogueBlock:(0,N.default)(()=>e.A(42734).then(e=>e.AcademyCatalogueBlock),{loadableGenerated:{modules:[64762]}}),EventCalendarHorizontalBlock:(0,N.default)(()=>e.A(42734).then(e=>e.EventCalendarHorizontalBlock),{loadableGenerated:{modules:[64762]}}),EventVerticalCardBlock:(0,N.default)(()=>e.A(42734).then(e=>e.EventVerticalCardBlock),{loadableGenerated:{modules:[64762]}}),UpcomingEventsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.UpcomingEventsBlock),{loadableGenerated:{modules:[64762]}}),PastEventsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.PastEventsBlock),{loadableGenerated:{modules:[64762]}}),FeaturedEventsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.FeaturedEventsBlock),{loadableGenerated:{modules:[64762]}}),GoogleMapBlock:(0,N.default)(()=>e.A(42734).then(e=>e.GoogleMapBlock),{loadableGenerated:{modules:[64762]}}),HeroBannerBlock:(0,N.default)(()=>e.A(42734).then(e=>e.HeroBannerBlock),{loadableGenerated:{modules:[64762]}}),KeyFactBlock:(0,N.default)(()=>e.A(42734).then(e=>e.KeyFactBlock),{loadableGenerated:{modules:[64762]}}),NFHMediaBlock:(0,N.default)(()=>e.A(42734).then(e=>e.NFHMediaBlock),{loadableGenerated:{modules:[64762]}}),NFHMediaPlayerBlock:(0,N.default)(()=>e.A(42734).then(e=>e.NFHMediaPlayerBlock),{loadableGenerated:{modules:[64762]}}),IconCardsGroupComponent:(0,N.default)(()=>e.A(42734).then(e=>
360e.IconCardsGroupComponent),{loadableGenerated:{modules:[64762]}}),ImageBlockBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ImageBlockBlock),{loadableGenerated:{modules:[64762]}}),InlineQuotationsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.InlineQuotationsBlock),{loadableGenerated:{modules:[64762]}}),InterestingTeaserCardBlock:(0,N.default)(()=>e.A(42734).then(e=>e.InterestingTeaserCardBlock),{loadableGenerated:{modules:[64762]}}),LocationsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.LocationsBlock),{loadableGenerated:{modules:[64762]}}),MediaLibraryDetailBlock:(0,N.default)(()=>e.A(42734).then(e=>e.MediaLibraryDetailBlock),{loadableGenerated:{modules:[64762]}}),MediaLibrarySearchBlock:(0,N.default)(()=>e.A(42734).then(e=>e.MediaLibrarySearchBlock),{loadableGenerated:{modules:[64762]}}),MediaPlayerBlock:(0,N.default)(()=>e.A(42734).then(e=>e.MediaPlayerBlock),{loadableGenerated:{modules:[64762]}}),MediaRelatedItemsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.MediaRelatedItemsBlock),{loadableGenerated:{modules:[64762]}}),MenuLinkWithIconGroupBlock:(0,N.default)(()=>e.A(42734).then(e=>e.MenuLinkWithIconGroupBlock),{loadableGenerated:{modules:[64762]}}),NewsSearchBlock:(0,N.default)(()=>e.A(42734).then(e=>e.NewsSearchBlock),{loadableGenerated:{modules:[64762]}}),NewsStoriesCardBlock:(0,N.default)(()=>e.A(42734).then(e=>e.NewsStoriesCardBlock),{loadableGenerated:{modules:[64762]}}),OpinionLeadersTeaserComponent:(0,N.default)(()=>e.A(42734).then(e=>e.OpinionLeadersTeaserComponent),{loadableGenerated:{modules:[64762]}}),OtherNewsAndStoriesBlock:(0,N.default)(()=>e.A(42734).then(e=>e.OtherNewsAndStoriesBlock),{loadableGenerated:{modules:[64762]}}),OtherNewsAndStoriesFliterBlock:(0,N.default)(()=>e.A(42734).then(e=>e.OtherNewsAndStoriesFliterBlock),{loadableGenerated:{modules:[64762]}}),PersonaPatientProfileBlock:(0,N.default)(()=>e.A(42734).then(e=>e.PersonaPatientProfileBlock),{loadableGenerated:{modules:[64762]}}),ProductCardDetailBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ProductCardDetailBlock),{loadableGenerated:{modules:[64762]}}),ProductCardsComponent:(0,N.default)(()=>e.A(42734).then(e=>e.ProductCardsComponent),{loadableGenerated:{modules:[64762]}}),QuickLinkCardBlock:(0,N.default)(()=>e.A(42734).then(e=>e.QuickLinkCardBlock),{loadableGenerated:{modules:[64762]}}),QuickLinksBlock:(0,N.default)(()=>e.A(42734).then(e=>e.QuickLinksBlock),{loadableGenerated:{modules:[64762]}}),RelatedContentBlock:(0,N.default)(()=>e.A(42734).then(e=>e.RelatedContentBlock),{loadableGenerated:{modules:[64762]}}),RestDataExportLinkBlock:(0,N.default)(()=>e.A(42734).then(e=>e.RestDataExportLinkBlock),{loadableGenerated:{modules:[64762]}}),EcommerceBlock:(0,N.default)(()=>e.A(42734).then(e=>e.EcommerceBlock),{loadableGenerated:{modules:[64762]}}),ProductPipelineCSVUploadBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ProductPipelineCSVUploadBlock),{loadableGenerated:{modules:[64762]}}),RightPanelBlock:(0,N.default)(()=>e.A(42734).then(e=>e.RightPanelBlock),{loadableGenerated:{modules:[64762]}}),RotatingHeroBannerBlock:(0,N.default)(()=>e.A(42734).then(e=>e.RotatingHeroBannerBlock),{loadableGenerated:{modules:[64762]}}),ScheduleTabsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ScheduleTabsBlock),{loadableGenerated:{modules:[64762]}}),ServiceTeaserCardBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ServiceTeaserCardBlock),{loadableGenerated:{modules:[64762]}}),SnackbiteBlock:(0,N.default)(()=>e.A(42734).then(e=>e.SnackbiteBlock),{loadableGenerated:{modules:[64762]}}),StockTickerBlock:(0,N.default)(()=>e.A(42734).then(e=>e.StockTickerBlock),{loadableGenerated:{modules:[64762]}}),SupportMaterialTeaserComponent:(0,N.default)(()=>e.A(42734).then(e=>e.SupportMaterialTeaserComponent),{loadableGenerated:{modules:[64762]}}),TableReferenceColumnBlock:(0,N.default)(()=>e.A(42734).then(e=>e.TableReferenceColumnBlock),{loadableGenerated:{modules:[64762]}}),TeaserBlockBlock:(0,N.default)(()=>e.A(42734).then(e=>e.TeaserBlockBlock),{loadableGenerated:{modules:[64762]}}),TeaserFeatureCardBlock:(0,N.default)(()=>e.A(42734).then(e=>e.TeaserFeatureCardBlock),{loadableGenerated:{modules:[64762]}}),TestimonialBlock:(0,N.default)(()=>e.A(42734).then(e=>e.TestimonialBlock),{loadableGenerated:{modules:[64762]}}),TextBlockBlock:(0,N.default)(()=>e.A(42734).then(e=>e.TextBlockBlock),{loadableGenerated:{modules:[64762]}}),TherapyCardsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.TherapyCardsBlock),{loadableGenerated:{modules:[64762]}}
360),PostCodeLookupBlock:(0,N.default)(()=>e.A(42734).then(e=>e.PostCodeLookupBlock),{loadableGenerated:{modules:[64762]}}),VideoCardsComponent:(0,N.default)(()=>e.A(42734).then(e=>e.VideoCardsComponent),{loadableGenerated:{modules:[64762]}}),WebformBlock:(0,N.default)(()=>e.A(42734).then(e=>e.WebformBlock),{loadableGenerated:{modules:[64762]}}),WebstoreProductSearchBlock:(0,N.default)(()=>e.A(42734).then(e=>e.WebstoreProductSearchBlock),{loadableGenerated:{modules:[64762]}}),WebStoreDetails:(0,N.default)(()=>e.A(42734).then(e=>e.WebstoreDetails),{loadableGenerated:{modules:[64762]}}),newsLetterSignUp:(0,N.default)(()=>e.A(42734).then(e=>e.newsLetterSignUpBlock),{loadableGenerated:{modules:[64762]}}),EmbedGoogleMapsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.EmbedGoogleMapsBlock),{loadableGenerated:{modules:[64762]}}),SolarTableBlock:(0,N.default)(()=>e.A(42734).then(e=>e.SolarTableBlock),{loadableGenerated:{modules:[64762]}}),PrintButtonBlock:(0,N.default)(()=>e.A(42734).then(e=>e.PrintButtonBlock),{loadableGenerated:{modules:[64762]}}),BuyNowButtonBlock:(0,N.default)(()=>e.A(42734).then(e=>e.BuyNowButtonBlock),{loadableGenerated:{modules:[64762]}}),DynamicChartBlock:(0,N.default)(()=>e.A(42734).then(e=>e.DynamicChartBlock),{loadableGenerated:{modules:[64762]}}),SimpleVideoBlock:(0,N.default)(()=>e.A(42734).then(e=>e.SimpleVideoBlock),{loadableGenerated:{modules:[64762]}}),VideoGalleryBlock:(0,N.default)(()=>e.A(42734).then(e=>e.VideoGalleryBlock),{loadableGenerated:{modules:[64762]}}),UserQuizBlock:(0,N.default)(()=>e.A(42734).then(e=>e.UserQuizBlock),{loadableGenerated:{modules:[64762]}}),IframeWrapperBlock:(0,N.default)(()=>e.A(42734).then(e=>e.IframeWrapperBlock),{loadableGenerated:{modules:[64762]}}),HtmlSnippetBlock:(0,N.default)(()=>e.A(42734).then(e=>e.HtmlSnippetBlock),{loadableGenerated:{modules:[64762]}}),PinProtectionBlock:(0,N.default)(()=>e.A(42734).then(e=>e.PinProtectionBlock),{loadableGenerated:{modules:[64762]}}),FlexibleCarouselBlock:(0,N.default)(()=>e.A(42734).then(e=>e.FlexibleCarouselBlock),{loadableGenerated:{modules:[64762]}}),MagazineMasonryBlock:(0,N.default)(()=>e.A(42734).then(e=>e.MagazineMasonryBlock),{loadableGenerated:{modules:[64762]}}),DecisionTreeBlock:(0,N.default)(()=>e.A(42734).then(e=>e.DecisionTreeBlock),{loadableGenerated:{modules:[64762]}}),CustomCourseBanner:(0,N.default)(()=>e.A(42734).then(e=>e.CustomCourseBanner),{loadableGenerated:{modules:[64762]}}),CourseTabBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CourseTabBlock),{loadableGenerated:{modules:[64762]}}),CourseOverviewTeaserBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CourseOverviewTeaserBlock),{loadableGenerated:{modules:[64762]}}),CourseInformationBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CourseInformationBlock),{loadableGenerated:{modules:[64762]}}),CourseSpeakerBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CourseSpeakerBlock),{loadableGenerated:{modules:[64762]}}),ModuleInformationSectionBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ModuleInformationSectionBlock),{loadableGenerated:{modules:[64762]}}),ProgressChartBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ProgressChartBlock),{loadableGenerated:{modules:[64762]}}),AcademyModulesBlock:(0,N.default)(()=>e.A(42734).then(e=>e.AcademyModulesBlock),{loadableGenerated:{modules:[64762]}}),ActivityDetailsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ActivityDetailsBlock),{loadableGenerated:{modules:[64762]}}),CompanyOnboardBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CompanyOnboardBlock),{loadableGenerated:{modules:[64762]}}),AcademyCertificationsBlock:(0,N.default)(()=>e.A(42734).then(e=>e.AcademyCertificationsBlock),{loadableGenerated:{modules:[64762]}}),MyBookmarksTabBlock:(0,N.default)(()=>e.A(42734).then(e=>e.MyBookmarksTabBlock),{loadableGenerated:{modules:[64762]}}),AcademyBadgesBlock:(0,N.default)(()=>e.A(42734).then(e=>e.AcademyBadgesBlock),{loadableGenerated:{modules:[64762]}}),ContentCards:(0,N.default)(()=>e.A(42734).then(e=>e.contentCardBlock),{loadableGenerated:{modules:[64762]}}),ExpertListing:(0,N.default)(()=>e.A(42734).then(e=>e.NFHExpertBlock),{loadableGenerated:{modules:[64762]}}),CpsiaCertificateBlock:(0,N.default)(()=>e.A(42734).then(e=>e.CpsiaCertificateBlock),{loadableGenerated:{modules:[64762]}}),ZeroTouchBlock:(0,N.default)(()=>e.A(42734).then(e=>e.ZeroTouchBlock),{loadableGenerated:{modules:[64762]}})},$=e=>{let{nid:N,blocks:P=[],isHomepage:L,seoData:O,user:D,paywall:$,paywallNotice:G,isPaywall3Available:W,ratings:Y,isInvalidToken:z,setSession:V,addUserData:K,resetUserData:q,resetRatings:Q,setUserProfile:Z,resetUserAndProfile:X,updateRatingsCount:J,updatePaywallContent:ee,setUserStateGlobally:et,isPaywall3Hidden:ea,paywallText:ei,bgImage:er,bgMobImage:en,bgImageOpacity:es,bgMobImageOpacity:el,reloadContent:eo,paywallContent:ec}=e,ed=(0,c.useMediaQuery)("(max-width: 991px)"),[eu,eh]=(0,I.useState)(!1),[ef,ep]=(0,I.useState)(!1),[em,eg]=(0,I.useState)(!1),{applicationHeaderData:eb,applicationConfiguration:e_}=(0,I.useContext)(g.default),{applicationTheme:ey}=(0,I.useContext)(b.ApplicationThemeContext),ex=(0,k.useRouter)(),ev=(0,d.usePreviousRoute)(),[eA,ew]=(0,I.useState)(!1),eE=(0,j.use
360Selector)(e=>e.appSession.applicationId),{isDataReady:eS,clientId:eC,...eT}=(0,U.default)(),eN=L;eN||"/"!==ex.asPath||(eN=!0);let ek=(0,I.useMemo)(()=>{if(!(0,v.default)())return N&&sessionStorage.setItem("nid",JSON.stringify(N)),JSON.parse(sessionStorage.getItem("nid"))},[N]),{fetchUserProfile:eI,fetchUserRatingsCount:ej}=(0,u.default)(),eP=async(e,t,a)=>{let i=await (0,_.middlewarePostAPI)(y.config.onPrem.RATINGS_API_URL,{entity_id:e,entity_type:"path_alias",flag_id:t,flag_action:a?"unflag":"flag"});if(Q({id:void 0}),!i.fail){let e=await eI(B.PROFILE_API.FULL);e.fail?X({}):(Z(e),eL())}},eL=async()=>{let e=await ej();e.fail||J(e.response)};(0,I.useEffect)(()=>{Y.ratings&&Y.ratings?.id&&(D&&D.isLoggedIn?eP(Y.ratings?.id,Y.ratings?.state?.type,Y.ratings?.state.isChecked):(0,E.checkForLoginModal)(!0).then(e=>{e&&ep(!0)}))},[Y,D]),(0,I.useEffect)(()=>{e_?.isSandozIDEnabled&&D?.isLoggedIn&&ep(!1)},[e_,D]);let eO=e=>{ek&&(D.isLoggedIn?eP(ek,e?.type,e.isChecked):ep(!0))};(0,I.useMemo)(async()=>{if(P&&P.length){let e=$??!1;if(!e||eo||ec||ee(e),$){let e=await (0,o.default)(e_);P.map(t=>t.map(t=>{"paywall"===t.type&&(t.data=e,t.paywallCause=ei)})),ex.replace(ex.asPath)}let t=!!G;e||eo||ec||ee(t||W)}},[$,P]);let eD=()=>{let e=window.location.href,t=ev&&`${window.location.origin}${ev}`,a=D?.profile?.response?.profile?.records?.[0]?.SCT_Primary_Specialty__c,i={page_location:e,...t&&{page_referrer:t},roles:a,area_of_expertise:a,eventType:A.EVENTS.PAGE_READY,interactionName:A.EVENTS.PAGE_READY,...eT};(0,E.loadGTMPageView)().then(e=>{e&&window.dataLayer&&(window.dataLayer.some(e=>e.event===A.EVENTS.PAGE_READY)||((0,w.dataLayerPush)(A.EVENTS.PAGE_READY,i),ew(!0)))})};(0,I.useEffect)(()=>{let e;return eA||(e=setTimeout(()=>{eS&&eD()},3500)),()=>clearTimeout(e)},[D?.isLoggedIn,eA,eS]);let eM=()=>{ep(!1)},eR=()=>{ep(!1)},eF=async e=>{e.preventDefault(),eh(!0);let t={username:e.target?.elements?.email?.value,password:e.target?.elements?.password?.value},a=await (0,_.middlewarePostAPI)(y.config.onPrem.LOGIN_API_URL,t);if(a.fail)q(a),eg(!0);else{eg(!1);let e={eventType:A.EVENTS.LOGIN,interationName:A.EVENTS.LOGIN,...eT,sessionStartDate:sessionStorage.getItem("loginDate")??new Date().toISOString()};(0,w.dataLayerPush)(A.EVENTS.LOGIN,e),K({...a,loginType:s.LOGIN_TYPES.SOLAR}),et(!0,s.LOGIN_TYPES.SOLAR);let t=a?.response?.session_data?.csrf_token,i=a?.response?.session_data?.hashedSessionId;V(i,t);let r="SoLAR",n=!!location.hostname.includes("localhost"),l=(0,E.getAssetPrefixUrl)(`/api/data-provider/?id=user&appid=${eE}`,n),{feDomain:o}=(0,_.getApiDomainAndLang)(),c=await fetch(l,{headers:{sessionId:T.default.encrypt(i,r).toString(),csrfToken:T.default.encrypt(t,r).toString(),domainPath:(0,S.getApplicationPathFromURL)(),fedomain:o}});await c.json();let d=await eI(B.PROFILE_API.BASIC);d.fail||Z(d),k.default.reload()}eh(!1)},eB={rotating_hero_banner:H.RotatingHeroBannerBlock,hero_banner:H.HeroBannerBlock,key_fact:H.KeyFactBlock,kaltura_media_listing:H.NFHMediaBlock,kaltura_media_player:H.NFHMediaPlayerBlock,video_cards:H.VideoCardsComponent,quick_links:H.QuickLinksBlock,webform_block:H.WebformBlock,quick_link_card:H.QuickLinkCardBlock,breadcrumb:H.BreadcrumbsBlock,article_teaser_banner:H.ArticleTeaserBannerBlock,text:H.TextBlockBlock,article_teaser_composition:H.ArticleTeaserCompositionBlock,education_overview_block:H.EducationOverviewBlock,sandoz_academy_block:H.AcademyCatalogueBlock,teaser_block:H.TeaserBlockBlock,productcards:H.ProductCardsComponent,contact_cards:H.ContactCardsComponent,icon_cards_group:H.IconCardsGroupComponent,support_material_teaser:H.SupportMaterialTeaserComponent,opinion_leaders_teaser:H.OpinionLeadersTeaserComponent,google_map:H.GoogleMapBlock,article_teaser:H.ArticleTeaserGroupBlock,service_teaser_cards:H.ServiceTeaserCardBlock,interesting_cards:H.InterestingTeaserCardBlock,schedule_tabs:H.ScheduleTabsBlock,accordion:H.AccordionBlock,flex_accordion:H.AccordionAdvancedComponent,latest_nas:H.NewsStoriesCardBlock,o_nas:H.OtherNewsAndStoriesFliterBlock,event_horizontal_cards:H.EventCalendarHorizontalBlock,event_vertical_cards:H.EventVerticalCardBlock,upcoming_events:H.UpcomingEventsBlock,past_events:H.PastEventsBlock,featured_events:H.FeaturedEventsBlock,snackbite:H.SnackbiteBlock,therapy_snackbite:H.SnackbiteBlock,education_product_card:H.ProductCardDetailBlock,product_card:H.ProductCardDetailBlock,common_tab_group:H.CommonTabGroupBlock,button_group:H.ButtonGroupBlock,therapy_cards:H.TherapyCardsBlock,other_news_and_stories:H.OtherNewsAndStoriesBlock,right_side_panel:H.RightPanelBlock,table_reference_column:H.TableReferenceColumnBlock,testimonial:H.TestimonialBlock,media_container:H.MediaPlayerBlock,media_library_detail:H.MediaLibraryDetailBlock,media_library_search:H.MediaLibrarySearchBlock,media_related_items:H.MediaRelatedItemsBlock,location_list:H.LocationsBlock,news_search:H.NewsSearchBlock,share_monitor:H.StockTickerBlock,image:H.ImageBlockBlock,csv_product:H.CsvProductBlock,rest_data_export_link:H.RestDataExportLinkBlock,ecommerce_block:H.EcommerceBlock,csv_upload_block:H.ProductPipelineCSVUploadBlock,sandoz_contact_us:H.ContactUsBlock,post_code_look_up:H.PostCo
360deLookupBlock,content_block_inline_quotation:H.InlineQuotationsBlock,menu_link_with_icon_group:H.MenuLinkWithIconGroupBlock,persona_patient_profile:H.PersonaPatientProfileBlock,job_search:H.CareerSearchFilterBlock,compact_stock_ticker:H.CompactStockTickerBlock,search_bar:H.CommonSearchBlock,teaser_feature_block:H.TeaserFeatureCardBlock,related_content:H.RelatedContentBlock,webstore_card_list:H.WebstoreProductSearchBlock,newsletter_signup:H.newsLetterSignUp,webstore_dp:H.WebStoreDetails,map_inframe_integration:H.EmbedGoogleMapsBlock,solar_table_block:H.SolarTableBlock,print_version_configuration:H.PrintButtonBlock,buy_now_button_block:H.BuyNowButtonBlock,chart:H.DynamicChartBlock,video_gallery:H.VideoGalleryBlock,quiz:H.UserQuizBlock,iframe_block:H.IframeWrapperBlock,interactive_chart:H.HtmlSnippetBlock,pin_protection:H.PinProtectionBlock,carousel:H.FlexibleCarouselBlock,magazine_masonry_component:H.MagazineMasonryBlock,decision_tree:H.DecisionTreeBlock,sandoz_academy_hero_banner_block:H.CustomCourseBanner,lb_tabs_tabs:H.CourseTabBlock,course_overview_section_block:H.CourseOverviewTeaserBlock,course_information_section_block:H.CourseInformationBlock,key_opinion_leader_section_block:H.CourseSpeakerBlock,sandoz_academy_modules_and_activities_block:H.ModuleInformationSectionBlock,sandoz_academy_percentage_tracker_block:H.ProgressChartBlock,sandoz_academy_course_modules_block:H.AcademyModulesBlock,activity_details_block:H.ActivityDetailsBlock,customer_connect_company_onboard:H.CompanyOnboardBlock,certifications:H.AcademyCertificationsBlock,bookmarks_block:H.MyBookmarksTabBlock,badges:H.AcademyBadgesBlock,content_cards:H.ContentCards,card_view:H.ExpertListing,cpsia:H.CpsiaCertificateBlock,campaign:H.ZeroTouchBlock},eU=(e,a,n)=>{let l=e.column===s.SECTION_LAYOUT.ONE_COL?e.background:"";if(!D?.isLoggedIn&&"paywall-notice"===e.type&&!W)return(0,t.jsx)(t.Fragment,{children:e_?.paywallNotice&&(0,t.jsx)(i.Container,{background:e?.background,children:(0,t.jsx)(r.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(m.PaywallNotification,{paywallNotice:e_?.paywallNotice,roles:e?.paywallRoles,loginHandler:()=>ep(!0)})})},`${n}-${a}`)});if(!D?.isLoggedIn&&"paywall-field-notice"===e.type&&!ea)return(0,t.jsx)(t.Fragment,{children:e_?.paywallNotice&&(0,t.jsx)(i.Container,{background:e?.background,children:(0,t.jsx)(r.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(m.PaywallNotification,{paywallNotice:e_?.paywallNotice,roles:e.allFieldPaywallRolesText,loginHandler:()=>ep(!0)})})},`${n}-${a}`)});if("paywall"===e.type&&e.data){let a=e.data;return(0,t.jsx)(p.Paywall,{...a,form:eY,showCredentialsError:em,wrongCredentialsText:eb?.headerData?.loginFormData?.formLogin?.wrongCredentialsText,onSubmit:eF,specificDescriptionText:e.paywallCause,isInvalidToken:z})}if("star_rating"===e.type&&e_.isRatingEnabled&&!e?.data?.isParentPaywalled)return(0,t.jsx)(i.Container,{background:l,children:(0,t.jsx)(r.Row,{isTemplateWrapper:!0,children:(0,t.jsx)(h.StarsRating,{...e.data,user:D,setShowLoginPopUp:ep})})},`${n}-${a}`);let o=eB[e.type];return o?(0,t.jsx)(o,{sectionId:e?.secId,block:e,colBackground:"hexal"!==ey&&"rebranding"!==ey?l:"",index:n,internalLayout:!eN,applicationConfiguration:e_,bookmarksNodeId:ek,handleBookmarks:eO},a):null},eH=e=>{let t=new Set;return e?.forEach(e=>e?.stickyStyle?.forEach(e=>t.add(e))),Array.from(t)},e$=(e,t)=>{let a=[];return Object.keys(e).forEach(t=>{a.push(eH(e[t]))}),a=(0,R.default)((0,F.default)(a)),a?.includes(s.STICKY_STYLE?.[1])&&(t===Object.keys(e).length-1||t===Object.keys(e).length-2)||(a?.includes(s.STICKY_STYLE?.[2])||a?.includes(s.STICKY_STYLE?.[0]))&&t===Object.keys(e).length-1},eG=(e,n)=>{if(!e?.length)return null;if(e.length>l.default.ZERO&&(e?.[0]?.column===s.SECTION_LAYOUT.ONE_COL||e?.[0]?.column===s.SECTION_LAYOUT.TABS))return(0,t.jsx)(t.Fragment,{children:e.map(e=>e.component)?.sort((e,t)=>(e?.weight||0)-(t?.weight||0))});let o={};e.forEach(e=>{o[e.region]||(o[e.region]=[]),o[e.region].push(e)});let c=e?.find(e=>!!e.background)?.background??null,d=Object.keys(o).map(e=>({size:(0,x.getColsByPercentage)(o[e]?.[0]?.width||l.default.HUNDRED)}));return ed?(0,t.jsx)(t.Fragment,{children:Object.keys(o).map(e=>o[e].map(e=>e.component))}):(0,t.jsx)(i.Container,{background:c,children:(0,t.jsx)(r.Row,{className:e?.[0]?.column,isTemplateWrapper:!0,children:Object.keys(o).map((e,i)=>(0,t.jsx)(a.Column,{mobile:12,tablet:12,desktop:d[i].size,className:`col-no-gutter-top col-${0===i?"left":i===Object.keys(o).length-1?"right":i}`,children:(0,t.jsx)("div",{className:e$(o,i)?"col-sticky":"",children:o[e].slice().sort((e,t)=>
360(e?.weight||0)-(t?.weight||0)).map((e,a)=>(0,t.jsx)("div",{children:e.component},a))})},`col-${n}-${i}`))})},`con-${n}`)},eW=()=>(0,t.jsx)("div",{className:"popup-spinner-overlay",children:(0,t.jsx)("div",{className:"popup-spinner-icon",children:(0,t.jsx)("img",{src:(0,E.getAssetPrefixUrl)("/assets/icons/spinner.svg"),alt:""})})}),eY=eb?.headerData?.loginFormData,ez={showPopup:ef,showOverlay:ef,children:"",spinnerIcon:(0,E.getAssetPrefixUrl)("/assets/icons/spinner.svg"),closeIcon:{url:(0,E.getAssetPrefixUrl)("/assets/icons/close.svg"),altText:"close icon"},handlePopupShow:ep};return(0,E.getAssetPrefixUrl)("/assets/images/Desktop_Quiz_Article_Teaser_Image.jpg"),(0,E.getAssetPrefixUrl)("/assets/images/Sandoz_Images/Article Teaser (Quiz)/Mobile_Quiz_Article_Teaser_Image.jpg"),(0,t.jsxs)(t.Fragment,{children:[O&&(0,t.jsx)(n.SEO,{...O}),(0,t.jsxs)("main",{className:"main main-bg-wrapper",id:e_?.siteConfig?.skip_navigation===1?"maincontent":void 0,children:[(er||en)&&(0,t.jsx)(C.default,{bgimg:ed&&en?en:er||"",opacity:ed&&en?el:es}),eu&&eW(),P&&P.map((e,a)=>{if(Array.isArray(e)){let i,r=e?.map((e,t)=>({type:e.type,column:e.column,region:e.region,weight:e.weight,background:e.background,bgImage:e.secBgImage,bgMobImage:e.secBgMobImage,bgOpacity:e.secBgImageOpacity,bgMobImageOpacity:e.secBgMobImageOpacity,stickyStyle:e.stickyStyle,width:e.width,id:e.secId??null,component:eU(e,t,a)})),n=new Uint32Array(1),s=crypto.getRandomValues(n);if(r?.[0]?.background?.includes("left")||r?.[0]?.background?.includes("right")){let e=r?.[0]?.background.split(/(?<=^[^_]+)_/);i="hexal"===ey||"rebranding"===ey?e.join(" "):e[0]}else i=r?.[0]?.background??"white";return(0,t.jsxs)("div",{id:r?.[0]?.id??"sec_"+s[0],className:(0,M.getSectionClassName)(r,i),children:[(e?.[0]?.secBgMobImage||e?.[0]?.secBgImage)&&(0,t.jsx)(C.default,{bgimg:ed&&e?.[0]?.secBgMobImage?e?.[0]?.secBgMobImage:e?.[0]?.secBgImage||"",opacity:ed&&e?.[0]?.secBgMobImage?e?.[0]?.secBgMobImageOpacity:e?.[0]?.secBgImageOpacity}),eG(r,a)]},`sectionID-${a}`)}}),(0,t.jsx)(f.LoginPopup,{popup:ez,form:eY,bannerCTA:eY?.banner,showPopup:ef,handlePopupShow:(e,t)=>{Q({id:void 0}),ep(e)},handleForgotPasswordShow:eM,loginConfirmation:eR})]})]})},G={setSession:(e,t)=>(0,D.setSession)(e,t),addUserData:e=>(0,P.addUser)(e),resetUserData:e=>(0,P.resetUser)(e),resetRatings:e=>(0,O.resetRatings)(e),setUserProfile:e=>(0,P.setUserProfile)(e),resetUserAndProfile:e=>(0,P.resetUser)(e),updateRatingsCount:e=>(0,O.getRatingsCount)(e),updatePaywallContent:e=>(0,L.updatePaywallContent)(e),setUserStateGlobally:(e,t)=>(0,L.setUserStateGlobally)(e,t)},W=e=>({user:e.user,ratings:e.ratings,reloadContent:e.common.reloadContent,paywallContent:e.common.paywallContent}),Y=(0,j.connect)(W,G)($)},55981,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(91398),a=e.i(61576),i=e.i(28134);let r=e=>{let r,n=(0,a.c)(2);return n[0]!==e.content?(r=(0,t.jsx)("div",{className:"flexi-tab-content",children:(0,t.jsx)(i.default,{...e.content,isPaywall3Hidden:!0})}),n[0]=e.content,n[1]=r):r=n[1],r}},73285,e=>{"use strict";var t=e.i(91398),a=e.i(61576),i=e.i(91788);let r=e=>{let t=n[e];for(let e in t)document.documentElement.style.setProperty(e,t[e])},n={default:{"--primary-brand-color":"#023761","--primary-brand-hover-color":"#007acc","--primary-brand-normal-color":"#0460a9","--primary-brand-light-color":"#5291dd","--secondary-brand-color":"#ffffff","--primary-text-color":"#023761","--body-light-text-color":"#ffffff","--body-text-color":"#000000","--primary-border-radius":"2px","--primary-font":"Futura Now Text"},blue:{"--primary-brand-color":"#023761","--primary-brand-hover-color":"#007acc","--primary-brand-normal-color":"#0460a9","--primary-brand-light-color":"#5291dd","--secondary-brand-color":"#ffffff","--primary-text-color":"#023761","--body-light-text-color":"#ffffff","--body-text-color":"#000000","--primary-border-radius":"2px","--primary-font":"Futura Now Text"},red:{"--primary-brand-color":"#a70000","--primary-brand-hover-color":"#ff0000","--primary-brand-normal-color":"#ff5252","--primary-brand-light-color":"#ffbaba","--secondary-brand-color":"#ffffff","--primary-text-color":"#a70000","--body-light-text-color":"#ffffff","--body-text-color":"#000000","--primary-border-radius":"0","--primary-font":"sans-serif"},green:{"--primary-brand-color":"#607c3c","--primary-brand-hover-color":"#809c13","--primary-brand-normal-color":"#809c13","--primary-brand-light-color":"#b5e550","--secondary-brand-color":"#ffffff","--primary-text-color":"#607c3c","--body-light-text-color":"#ffffff","--body-text-color":"#000000","--primary-border-radius":"6px","--primary-font":"Georgia, serif"}},s=e=>{let n,s,l,o=(0,a.c)(5);return o[0]!==e.currentTheme?(n=()=>{e.currentTheme&&r(e.currentTheme)},s=[e.currentTheme],o[0]=e.currentTheme,o[1]=n,o[2]=s):(n=o[1],s=o[2]),(0,i.useEffect)(n,s),o[3]!==e.children?(l=(0,t.jsx)(t.Fragment,{children:e.children}),o[3]=e.children,o[4]=l):l=o[4],l};e.s(["default",0,s],73285)},11946,40472,18720,e=>{"use strict";let t;e.s(["default",()=>s],11946);var a=e.i(91398),i=e.i(61576);e.i(48756);var r=e.i(70184),n=e.i(5223);let s=e=>{let t,s,l,o=(0,i.c)(16),{content:c,isHeadData:d,isFroozen:u,cellAlignment:h,className:f,isImageField:p,imgData:m}=e;o[0]!==h||o[1]!==f||o[2]!==u||o[3]!==d?(t=()=>{let e=[];return d?e.push("solar-tbl-head-data"):e.push("solar-tbl-data"),e.push(`
360solar-tbl-cell-${h}`),h&&e.push("global-level-cell"),f&&e.push(f),u&&e.push("sticky"),e.join(" ")},o[0]=h,o[1]=f,o[2]=u,o[3]=d,o[4]=t):t=o[4];let g=t;o[5]!==c||o[6]!==m?.alt||o[7]!==m?.image_style_uri||o[8]!==m?.src||o[9]!==p?(s=()=>(0,a.jsxs)(a.Fragment,{children:[p&&(0,a.jsx)(r.Img,{type:"table_enhancement",styledimage:m?.image_style_uri,src:m?.src,alt:m?.alt??"",width:268,height:150}),(0,a.jsx)(n.RichText,{content:c})]}),o[5]=c,o[6]=m?.alt,o[7]=m?.image_style_uri,o[8]=m?.src,o[9]=p,o[10]=s):s=o[10];let b=s;return o[11]!==c||o[12]!==b||o[13]!==g||o[14]!==d?(l=(0,a.jsx)(a.Fragment,{children:d?(0,a.jsx)("th",{className:g(),children:(0,a.jsx)(n.RichText,{content:c})}):(0,a.jsx)("td",{className:g(),children:b()})}),o[11]=c,o[12]=b,o[13]=g,o[14]=d,o[15]=l):l=o[15],l};var l=a,o=i;function c(e){return e+.5|0}let d=(e,t,a)=>Math.max(Math.min(e,a),t);function u(e){return d(c(2.55*e),0,255)}function h(e){return d(c(255*e),0,255)}function f(e){return d(c(e/2.55)/100,0,1)}function p(e){return d(c(100*e),0,100)}let m={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},g=[..."0123456789ABCDEF"],b=e=>g[15&e],_=e=>g[(240&e)>>4]+g[15&e],y=e=>(240&e)>>4==(15&e),x=e=>y(e.r)&&y(e.g)&&y(e.b)&&y(e.a);function v(e){var t,a=e.length;return"#"===e[0]&&(4===a||5===a?t={r:255&17*m[e[1]],g:255&17*m[e[2]],b:255&17*m[e[3]],a:5===a?17*m[e[4]]:255}:(7===a||9===a)&&(t={r:m[e[1]]<<4|m[e[2]],g:m[e[3]]<<4|m[e[4]],b:m[e[5]]<<4|m[e[6]],a:9===a?m[e[7]]<<4|m[e[8]]:255})),t}let A=(e,t)=>e<255?t(e):"";function w(e){var t=x(e)?b:_;return e?"#"+t(e.r)+t(e.g)+t(e.b)+A(e.a,t):void 0}let E=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function S(e,t,a){let i=t*Math.min(a,1-a),r=(t,r=(t+e/30)%12)=>a-i*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function C(e,t,a){let i=(i,r=(i+e/60)%6)=>a-a*t*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function T(e,t,a){let i,r=S(e,1,.5);for(t+a>1&&(i=1/(t+a),t*=i,a*=i),i=0;i<3;i++)r[i]*=1-t-a,r[i]+=t;return r}function N(e,t,a,i,r){return e===r?(t-a)/i+6*(t<a):t===r?(a-e)/i+2:(e-t)/i+4}function k(e){let t,a,i,r=255,n=e.r/r,s=e.g/r,l=e.b/r,o=Math.max(n,s,l),c=Math.min(n,s,l),d=(o+c)/2;return o!==c&&(i=o-c,a=d>.5?i/(2-o-c):i/(o+c),t=60*(t=N(n,s,l,i,o))+.5),[0|t,a||0,d]}function I(e,t,a,i){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,a,i)).map(h)}function j(e,t,a){return I(S,e,t,a)}function P(e,t,a){return I(T,e,t,a)}function L(e,t,a){return I(C,e,t,a)}function O(e){return(e%360+360)%360}function D(e){let t,a=E.exec(e),i=255;if(!a)return;a[5]!==t&&(i=a[6]?u(+a[5]):h(+a[5]));let r=O(+a[2]),n=a[3]/100,s=a[4]/100;return{r:(t="hwb"===a[1]?P(r,n,s):"hsv"===a[1]?L(r,n,s):j(r,n,s))[0],g:t[1],b:t[2],a:i}}function M(e,t){var a=k(e);a[0]=O(a[0]+t),e.r=(a=j(a))[0],e.g=a[1],e.b=a[2]}function R(e){if(!e)return;let t=k(e),a=t[0],i=p(t[1]),r=p(t[2]);return e.a<255?`hsla(${a}, ${i}%, ${r}%, ${f(e.a)})`:`hsl(${a}, ${i}%, ${r}%)`}let F={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},B={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function U(){let e,t,a,i,r,n={},s=Object.keys(B),l=Object.keys(F);for(e=0;e<s.length;e++){for(t=0,i=r=s[e];t<l.length;t++)a=l[t],r=r.replace(a,F[a]);a=parseInt(B[i],16),n[r]=[a>>16&255,a>>8&255,255&a]}return n}function H(e){t||((t=U()).transparent=[0,0,0,0]);let a=t[e.toLowerCase()];return a&&{r:a[0],g:a[1],b:a[2],a:4===a.length?a[3]:255}}let $=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function G(e){let t,a,i,r=$.exec(e),n=255;if(r){if(r[7]!==t){let e=+r[7];n=r[8]?u(e):d(255*e,0,255)}return t=+r[1],a=+r[3],i=+r[5],t=255&(r[2]?u(t):d(t,0,255)),a=255&(r[4]?u(a):d(a,0,255)),i=255&(r[6]?u(i):d(i,0,255)),{r:t,g:a,b:i,a:n}}}function W(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${f(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}let Y=e=>
360e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,z=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function V(e,t,a){let i=z(f(e.r)),r=z(f(e.g)),n=z(f(e.b));return{r:h(Y(i+a*(z(f(t.r))-i))),g:h(Y(r+a*(z(f(t.g))-r))),b:h(Y(n+a*(z(f(t.b))-n))),a:e.a+a*(t.a-e.a)}}function K(e,t,a){if(e){let i=k(e);i[t]=Math.max(0,Math.min(i[t]+i[t]*a,0===t?360:1)),e.r=(i=j(i))[0],e.g=i[1],e.b=i[2]}}function q(e,t){return e?Object.assign(t||{},e):e}function Q(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=h(e[3]))):(t=q(e,{r:0,g:0,b:0,a:1})).a=h(t.a),t}function Z(e){return"r"===e.charAt(0)?G(e):D(e)}class X{constructor(e){let t;if(e instanceof X)return e;const a=typeof e;"object"===a?t=Q(e):"string"===a&&(t=v(e)||H(e)||Z(e)),this._rgb=t,this._valid=!!t}get valid(){return this._valid}get rgb(){var e=q(this._rgb);return e&&(e.a=f(e.a)),e}set rgb(e){this._rgb=Q(e)}rgbString(){return this._valid?W(this._rgb):void 0}hexString(){return this._valid?w(this._rgb):void 0}hslString(){return this._valid?R(this._rgb):void 0}mix(e,t){if(e){let a,i=this.rgb,r=e.rgb,n=t===a?.5:t,s=2*n-1,l=i.a-r.a,o=((s*l==-1?s:(s+l)/(1+s*l))+1)/2;a=1-o,i.r=255&o*i.r+a*r.r+.5,i.g=255&o*i.g+a*r.g+.5,i.b=255&o*i.b+a*r.b+.5,i.a=n*i.a+(1-n)*r.a,this.rgb=i}return this}interpolate(e,t){return e&&(this._rgb=V(this._rgb,e._rgb,t)),this}clone(){return new X(this.rgb)}alpha(e){return this._rgb.a=h(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb,t=c(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return K(this._rgb,2,e),this}darken(e){return K(this._rgb,2,-e),this}saturate(e){return K(this._rgb,1,e),this}desaturate(e){return K(this._rgb,1,-e),this}rotate(e){return M(this._rgb,e),this}}function J(){}let ee=(()=>{let e=0;return()=>e++})();function et(e){return null==e}function ea(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function ei(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function er(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function en(e,t){return er(e)?e:t}function es(e,t){return void 0===e?t:e}let el=(e,t)=>
360"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100:e/t,eo=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function ec(e,t,a){if(e&&"function"==typeof e.call)return e.apply(a,t)}function ed(e,t,a,i){let r,n,s;if(ea(e))if(n=e.length,i)for(r=n-1;r>=0;r--)t.call(a,e[r],r);else for(r=0;r<n;r++)t.call(a,e[r],r);else if(ei(e))for(r=0,n=(s=Object.keys(e)).length;r<n;r++)t.call(a,e[s[r]],s[r])}function eu(e,t){let a,i,r,n;if(!e||!t||e.length!==t.length)return!1;for(a=0,i=e.length;a<i;++a)if(r=e[a],n=t[a],r.datasetIndex!==n.datasetIndex||r.index!==n.index)return!1;return!0}function eh(e){if(ea(e))return e.map(eh);if(ei(e)){let t=Object.create(null),a=Object.keys(e),i=a.length,r=0;for(;r<i;++r)t[a[r]]=eh(e[a[r]]);return t}return e}function ef(e){return -1===["__proto__","prototype","constructor"].indexOf(e)}function ep(e,t,a,i){if(!ef(e))return;let r=t[e],n=a[e];ei(r)&&ei(n)?em(r,n,i):t[e]=eh(n)}function em(e,t,a){let i,r=ea(t)?t:[t],n=r.length;if(!ei(e))return e;let s=(a=a||{}).merger||ep;for(let t=0;t<n;++t){if(!ei(i=r[t]))continue;let n=Object.keys(i);for(let t=0,r=n.length;t<r;++t)s(n[t],e,i,a)}return e}function eg(e,t){return em(e,t,{merger:eb})}function eb(e,t,a){if(!ef(e))return;let i=t[e],r=a[e];ei(i)&&ei(r)?eg(i,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=eh(r))}let e_={"":e=>e,x:e=>e.x,y:e=>e.y};function ey(e){let t=e.split("."),a=[],i="";for(let e of t)(i+=e).endsWith("\\")?i=i.slice(0,-1)+".":(a.push(i),i="");return a}function ex(e){let t=ey(e);return e=>{for(let a of t){if(""===a)break;e=e&&e[a]}return e}}function ev(e,t){return(e_[t]||(e_[t]=ex(t)))(e)}function eA(e){return e.charAt(0).toUpperCase()+e.slice(1)}let ew=e=>void 0!==e,eE=e=>"function"==typeof e,eS=(e,t)=>{if(e.size!==t.size)return!1;for(let a of e)if(!t.has(a))return!1;return!0};function eC(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}let eT=Math.PI,eN=2*eT,ek=eN+eT,eI=1/0,ej=eT/180,eP=eT/2,eL=eT/4,eO=2*eT/3,eD=Math.log10,eM=Math.sign;function eR(e,t,a){return Math.abs(e-t)<a}function eF(e){let t=Math.round(e),a=Math.pow(10,Math.floor(eD(e=eR(e,t,e/1e3)?t:e))),i=e/a;return(i<=1?1:i<=2?2:i<=5?5:10)*a}function eB(e){let t,a=[],i=Math.sqrt(e);for(t=1;t<i;t++)e%t==0&&(a.push(t),a.push(e/t));return i===(0|i)&&a.push(i),a.sort((e,t)=>e-t).pop(),a}function eU(e){return"symbol"==typeof e||"object"==typeof e&&null!==e&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function eH(e){return!eU(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function e$(e,t){let a=Math.round(e);return a-t<=e&&a+t>=e}function eG(e,t,a){let i,r,n;for(i=0,r=e.length;i<r;i++)isNaN(n=e[i][a])||(t.min=Math.min(t.min,n),t.max=Math.max(t.max,n))}function eW(e){return eT/180*e}function eY(e){return 180/eT*e}function ez(e){if(!er(e))return;let t=1,a=0;for(;Math.round(e*t)/t!==e;)t*=10,a++;return a}function eV(e,t){let a=t.x-e.x,i=t.y-e.y,r=Math.sqrt(a*a+i*i),n=Math.atan2(i,a);return n<-.5*eT&&(n+=eN),{angle:n,distance:r}}function eK(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function eq(e,t){return(e-t+ek)%eN-eT}function eQ(e){return(e%eN+eN)%eN}function eZ(e,t,a,i){let r=eQ(e),n=eQ(t),s=eQ(a),l=eQ(n-r),o=eQ(s-r),c=eQ(r-n),d=eQ(r-s);return r===n||r===s||i&&n===s||l>o&&c<d}function eX(e,t,a){return Math.max(t,Math.min(a,e))}function eJ(e){return eX(e,-32768,32767)}function e0(e,t,a,i=1e-6){return e>=Math.min(t,a)-i&&e<=Math.max(t,a)+i}function e1(e,t,a){let i;a=a||(a=>e[a]<t);let r=e.length-1,n=0;for(;r-n>1;)a(i=n+r>>1)?n=i:r=i;return{lo:n,hi:r}}let e2=(e,t,a,i)=>e1(e,a,i?i=>{let r=e[i][t];return r<a||r===a&&e[i+1][t]===a}:i=>e[i][t]<a),e3=(e,t,a)=>e1(e,a,i=>e[i][t]>=a);function e4(e,t,a){let i=0,r=e.length;for(;i<r&&e[i]<t;)i++;for(;r>i&&e[r-1]>a;)r--;return i>0||r<e.length?e.slice(i,r):e}let e6=["push","pop","shift","splice","unshift"];function e5(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),e6.forEach(t=>{let a="_onData"+eA(t),i=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let r=i.apply(this,t);
360return e._chartjs.listeners.forEach(e=>{"function"==typeof e[a]&&e[a](...t)}),r}})}))}function e8(e,t){let a=e._chartjs;if(!a)return;let i=a.listeners,r=i.indexOf(t);-1!==r&&i.splice(r,1),i.length>0||(e6.forEach(t=>{delete e[t]}),delete e._chartjs)}function e7(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}let e9=function(){return"u"<typeof window?function(e){return e()}:window.requestAnimationFrame}();function te(e,t){let a=[],i=!1;return function(...r){a=r,i||(i=!0,e9.call(window,()=>{i=!1,e.apply(t,a)}))}}function tt(e,t){let a;return function(...i){return t?(clearTimeout(a),a=setTimeout(e,t,i)):e.apply(this,i),t}}let ta=e=>"start"===e?"left":"end"===e?"right":"center",ti=(e,t,a)=>"start"===e?t:"end"===e?a:(t+a)/2,tr=(e,t,a,i)=>e===(i?"left":"right")?a:"center"===e?(t+a)/2:t;function tn(e,t,a){let i=t.length,r=0,n=i;if(e._sorted){let{iScale:s,vScale:l,_parsed:o}=e,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,d=s.axis,{min:u,max:h,minDefined:f,maxDefined:p}=s.getUserBounds();if(f){if(r=Math.min(e2(o,d,u).lo,a?i:e2(t,d,s.getPixelForValue(u)).lo),c){let e=o.slice(0,r+1).reverse().findIndex(e=>!et(e[l.axis]));r-=Math.max(0,e)}r=eX(r,0,i-1)}if(p){let e=Math.max(e2(o,s.axis,h,!0).hi+1,a?0:e2(t,d,s.getPixelForValue(h),!0).hi+1);if(c){let t=o.slice(e-1).findIndex(e=>!et(e[l.axis]));e+=Math.max(0,t)}n=eX(e,r,i)-r}else n=i-r}return{start:r,count:n}}function ts(e){let{xScale:t,yScale:a,_scaleRanges:i}=e,r={xmin:t.min,xmax:t.max,ymin:a.min,ymax:a.max};if(!i)return e._scaleRanges=r,!0;let n=i.xmin!==t.min||i.xmax!==t.max||i.ymin!==a.min||i.ymax!==a.max;return Object.assign(i,r),n}let tl=e=>0===e||1===e,to=(e,t,a)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*eN/a)),tc=(e,t,a)=>Math.pow(2,-10*e)*Math.sin((e-t)*eN/a)+1,td={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*eP)+1,easeOutSine:e=>Math.sin(e*eP),easeInOutSine:e=>-.5*(Math.cos(eT*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>tl(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(-Math.pow(2,-10*(2*e-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>tl(e)?e:to(e,.075,.3),easeOutElastic:e=>tl(e)?e:tc(e,.075,.3),easeInOutElastic(e){let t=.1125,a=.45;return tl(e)?e:e<.5?.5*to(2*e,t,a):.5+.5*tc(2*e-1,t,a)},easeInBack:e=>e*e*(2.70158*e-1.70158),easeOutBack:e=>(e-=1)*e*(2.70158*e+1.70158)+1,easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-td.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,a=2.75;return e<.36363636363636365?t*e*e:e<2/a?t*(e-=1.5/a)*e+.75:e<2.5/a?t*(e-=2.25/a)*e+.9375:t*(e-=2.625/a)*e+.984375},easeInOutBounce:e=>e<.5?.5*td.easeInBounce(2*e):.5*td.easeOutBounce(2*e-1)+.5};function tu(e){if(e&&"object"==typeof e){let t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function th(e){return tu(e)?e:new X(e)}function tf(e){return tu(e)?e:new X(e).saturate(.5).darken(.1).hexString()}let tp=["x","y","borderWidth","radius","tension"],tm=["color","borderColor","backgroundColor"];function tg(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:tm},numbers:{type:"number",properties:tp}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})}function tb(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}let t_=new Map;function ty(e,t){let a=e+JSON.stringify(t=t||{}),i=t_.get(a);
360return i||(i=new Intl.NumberFormat(e,t),t_.set(a,i)),i}function tx(e,t,a){return ty(t,a).format(e)}let tv={values:e=>ea(e)?e:""+e,numeric(e,t,a){let i;if(0===e)return"0";let r=this.chart.options.locale,n=e;if(a.length>1){let t=Math.max(Math.abs(a[0].value),Math.abs(a[a.length-1].value));(t<1e-4||t>1e15)&&(i="scientific"),n=tA(e,a)}let s=eD(Math.abs(n)),l=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),o={notation:i,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(o,this.options.ticks.format),tx(e,r,o)},logarithmic(e,t,a){return 0===e?"0":[1,2,3,5,10,15].includes(a[t].significand||e/Math.pow(10,Math.floor(eD(e))))||t>.8*a.length?tv.numeric.call(this,e,t,a):""}};function tA(e,t){let a=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(a)>=1&&e!==Math.floor(e)&&(a=e-Math.floor(e)),a}var tw=tv;function tE(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:tw.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}let tS=Object.create(null),tC=Object.create(null);function tT(e,t){if(!t)return e;let a=t.split(".");for(let t=0,i=a.length;t<i;++t){let i=a[t];e=e[i]||(e[i]=Object.create(null))}return e}function tN(e,t,a){return"string"==typeof t?em(tT(e,t),a):em(tT(e,""),t)}class tk{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>tf(t.backgroundColor),this.hoverBorderColor=(e,t)=>tf(t.borderColor),this.hoverColor=(e,t)=>tf(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 5,060 bytes, line 360
360,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return tN(this,e,t)}get(e){return tT(this,e)}describe(e,t){return tN(tC,e,t)}override(e,t){return tN(tS,e,t)}route(e,t,a,i){let r=tT(this,e),n=tT(this,a),s="_"+t;Object.defineProperties(r,{[s]:{value:r[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[s],t=n[i];return ei(e)?Object.assign({},t,e):es(e,t)},set(e){this[s]=e}}})}apply(e){e.forEach(e=>e(this))}}var tI=new tk({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[tg,tb,tE]);function tj(e){return!e||et(e.size)||et(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function tP(e,t,a,i,r){let n=t[r];return n||(n=t[r]=e.measureText(r).width,a.push(r)),n>i&&(i=n),i}function tL(e,t,a,i){let r,n,s,l,o,c=(i=i||{}).data=i.data||{},d=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(c=i.data={},d=i.garbageCollect=[],i.font=t),e.save(),e.font=t;let u=0,h=a.length;for(r=0;r<h;r++)if(null==(l=a[r])||ea(l)){if(ea(l))for(n=0,s=l.length;n<s;n++)null==(o=l[n])||ea(o)||(u=tP(e,c,d,u,o))}else u=tP(e,c,d,u,l);e.restore();let f=d.length/2;if(f>a.length){for(r=0;r<f;r++)delete c[d[r]];d.splice(0,f)}return u}function tO(e,t,a){let i=e.currentDevicePixelRatio,r=0!==a?Math.max(a/2,.5):0;return Math.round((t-r)*i)/i+r}function tD(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function tM(e,t,a,i){tR(e,t,a,i,null)}function tR(e,t,a,i,r){let n,s,l,o,c,d,u,h,f=t.pointStyle,p=t.rotation,m=t.radius,g=(p||0)*ej;if(f&&"object"==typeof f&&("[object HTMLImageElement]"===(n=f.toString())||"[object HTMLCanvasElement]"===n)){e.save(),e.translate(a,i),e.rotate(g),e.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),e.restore();return}if(!isNaN(m)&&!(m<=0)){switch(e.beginPath(),f){default:r?e.ellipse(a,i,r/2,m,0,0,eN):e.arc(a,i,m,0,eN),e.closePath();break;case"triangle":d=r?r/2:m,e.moveTo(a+Math.sin(g)*d,i-Math.cos(g)*m),g+=eO,e.lineTo(a+Math.sin(g)*d,i-Math.cos(g)*m),g+=eO,e.lineTo(a+Math.sin(g)*d,i-Math.cos(g)*m),e.closePath();break;case"rectRounded":c=.516*m,o=m-c,s=Math.cos(g+eL)*o,u=Math.cos(g+eL)*(r?r/2-c:o),l=Math.sin(g+eL)*o,h=Math.sin(g+eL)*(r?r/2-c:o),e.arc(a-u,i-l,c,g-eT,g-eP),e.arc(a+h,i-s,c,g-eP,g),e.arc(a+u,i+l,c,g,g+eP),e.arc(a-h,i+s,c,g+eP,g+eT),e.closePath();break;case"rect":if(!p){o=Math.SQRT1_2*m,d=r?r/2:o,e.rect(a-d,i-o,2*d,2*o);break}g+=eL;case"rectRot":u=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,l=Math.sin(g)*m,h=Math.sin(g)*(r?r/2:m),e.moveTo(a-u,i-l),e.lineTo(a+h,i-s),e.lineTo(a+u,i+l),e.lineTo(a-h,i+s),e.closePath();break;case"crossRot":g+=eL;case"cross":u=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,l=Math.sin(g)*m,h=Math.sin(g)*(r?r/2:m),e.moveTo(a-u,i-l),e.lineTo(a+u,i+l),e.moveTo(a+h,i-s),e.lineTo(a-h,i+s);break;case"star":u=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,l=Math.sin(g)*m,h=Math.sin(g)*(r?r/2:m),e.moveTo(a-u,i-l),e.lineTo(a+u,i+l),e.moveTo(a+h,i-s),e.lineTo(a-h,i+s),g+=eL,u=Math.cos(g)*(r?r/2:m),s=Math.cos(g)*m,l=Math.sin(g)*m,h=Math.sin(g)*(r?r/2:m),e.moveTo(a-u,i-l),e.lineTo(a+u,i+l),e.moveTo(a+h,i-s),e.lineTo(a-h,i+s);break;case"line":s=r?r/2:Math.cos(g)*m,l=Math.sin(g)*m,e.moveTo(a-s,i-l),e.lineTo(a+s,i+l);break;case"dash":e.moveTo(a,i),e.lineTo(a+Math.cos(g)*(r?r/2:m),i+Math.sin(g)*m);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function tF(e,t,a){return a=a||.5,!t||e&&e.x>t.left-a&&e.x<t.right+a&&e.y>t.top-a&&e.y<t.bottom+a}function tB(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function tU(e){e.restore()}function tH(e,t,a,i,r){if(!t)return e.lineTo(a.x,a.y);if("middle"===r){let i=(t.x+a.x)/2;e.lineTo(i,t.y),e.lineTo(i,a.y)}else"after"===r!=!!i?e.lineTo(t.x,a.y):e.lineTo(a.x,t.y);e.lineTo(a.x,a.y)}function t$(e,t,a,i){if(!t)return e.lineTo(a.x,a.y);e.bezierCurveTo(i?t.cp1x:t.cp2x,i?t.cp1y:t.cp2y,i?a.cp2x:a.cp1x,i?a.cp2y:a.cp1y,a.x,a.y)}function tG(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),et(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function tW(e,t,a,i,r){if(r.strikethrough||r.underline){let n=e.measureText(i),s=t-n.actualBoundingBoxLeft,l=t+n.actualBoundingBoxRight,o=a-n.actualBoundingBoxAscent,c=a+n.actualBoundingBoxDescent,d=r.strikethrough?(o+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(s,d),e.lineTo(l,d),e.stroke()}}function tY(e,t){let a=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=a}function tz(e,t,a,i,r,n={}){let s,l,o=ea(t)?t:[t],c=n.strokeWidth>0&&""!==n.strokeColor;for(e.save(),e.font=r.string,tG(e,n),s=0;s<o.length;++s)l=o[s],n.backdrop&&tY(e,n.backdrop),c&&(n.strokeColor&&(e.strokeStyle=n.strokeColor),et(n.strokeWidth)||(e.lineWidth=n.strokeWidth),e.strokeText(l,a,i,n.maxWidth)),e.fillText(l,a,i,n.maxWidth),tW(e,a,i,l,n),i+=Number(r.lineHeight);
360e.restore()}function tV(e,t){let{x:a,y:i,w:r,h:n,radius:s}=t;e.arc(a+s.topLeft,i+s.topLeft,s.topLeft,1.5*eT,eT,!0),e.lineTo(a,i+n-s.bottomLeft),e.arc(a+s.bottomLeft,i+n-s.bottomLeft,s.bottomLeft,eT,eP,!0),e.lineTo(a+r-s.bottomRight,i+n),e.arc(a+r-s.bottomRight,i+n-s.bottomRight,s.bottomRight,eP,0,!0),e.lineTo(a+r,i+s.topRight),e.arc(a+r-s.topRight,i+s.topRight,s.topRight,0,-eP,!0),e.lineTo(a+s.topLeft,i)}let tK=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,tq=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function tQ(e,t){let a=(""+e).match(tK);if(!a||"normal"===a[1])return 1.2*t;switch(e=+a[2],a[3]){case"px":return e;case"%":e/=100}return t*e}let tZ=e=>+e||0;function tX(e,t){let a={},i=ei(t),r=i?Object.keys(t):t,n=ei(e)?i?a=>es(e[a],e[t[a]]):t=>e[t]:()=>e;for(let e of r)a[e]=tZ(n(e));return a}function tJ(e){return tX(e,{top:"y",right:"x",bottom:"y",left:"x"})}function t0(e){return tX(e,["topLeft","topRight","bottomLeft","bottomRight"])}function t1(e){let t=tJ(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function t2(e,t){e=e||{},t=t||tI.font;let a=es(e.size,t.size);"string"==typeof a&&(a=parseInt(a,10));let i=es(e.style,t.style);i&&!(""+i).match(tq)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);let r={family:es(e.family,t.family),lineHeight:tQ(es(e.lineHeight,t.lineHeight),a),size:a,style:i,weight:es(e.weight,t.weight),string:""};return r.string=tj(r),r}function t3(e,t,a,i){let r,n,s,l=!0;for(r=0,n=e.length;r<n;++r)if(void 0!==(s=e[r])&&(void 0!==t&&"function"==typeof s&&(s=s(t),l=!1),void 0!==a&&ea(s)&&(s=s[a%s.length],l=!1),void 0!==s))return i&&!l&&(i.cacheable=!1),s}function t4(e,t,a){let{min:i,max:r}=e,n=eo(t,(r-i)/2),s=(e,t)=>a&&0===e?0:e+t;return{min:s(i,-Math.abs(n)),max:s(r,n)}}function t6(e,t){return Object.assign(Object.create(e),t)}function t5(e,t=[""],a,i,r=()=>e[0]){let n=a||e;return void 0===i&&(i=ah("_fallback",e)),new Proxy({[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:i,_getTarget:r,override:a=>t5([a,...e],t,n,i)},{deleteProperty:(t,a)=>(delete t[a],delete t._keys,delete e[0][a],!0),get:(a,i)=>at(a,i,()=>au(i,t,e,a)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>af(e).includes(t),ownKeys:e=>af(e),set(e,t,a){let i=e._storage||(e._storage=r());return e[t]=i[t]=a,delete e._keys,!0}})}function t8(e,t,a,i){return new Proxy({_cacheable:!1,_proxy:e,_context:t,_subProxy:a,_stack:new Set,_descriptors:t7(e,i),setContext:t=>t8(e,t,a,i),override:r=>t8(e.override(r),t,a,i)},{deleteProperty:(t,a)=>(delete t[a],delete e[a],!0),get:(e,t,a)=>at(e,t,()=>aa(e,t,a)),getOwnPropertyDescriptor:(t,a)=>t._descriptors.allKeys?Reflect.has(e,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,a),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,a)=>Reflect.has(e,a),ownKeys:()=>Reflect.ownKeys(e),set:(t,a,i)=>(e[a]=i,delete t[a],!0)})}function t7(e,t={scriptable:!0,indexable:!0}){let{_scriptable:a=t.scriptable,_indexable:i=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:a,indexable:i,isScriptable:eE(a)?a:()=>a,isIndexable:eE(i)?i:()=>i}}let t9=(e,t)=>e?e+eA(t):t,ae=(e,t)=>ei(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function at(e,t,a){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];let i=a();return e[t]=i,i}function aa(e,t,a){let{_proxy:i,_context:r,_subProxy:n,_descriptors:s}=e,l=i[t];return eE(l)&&s.isScriptable(t)&&(l=ai(t,l,e,a)),ea(l)&&l.length&&(l=ar(t,l,e,s.isIndexable)),ae(t,l)&&(l=t8(l,r,n&&n[t],s)),l}function ai(e,t,a,i){let{_proxy:r,_context:n,_subProxy:s,_stack:l}=a;if(l.has(e))throw Error("Recursion detected: "+Array.from(l).join("->")+"->"+e);l.add(e);let o=t(n,s||i);return l.delete(e),ae(e,o)&&(o=ao(r._scopes,r,e,o)),o}function ar(e,t,a,i){let{_proxy:r,_context:n,_subProxy:s,_descriptors:l}=a;if(void 0!==n.index&&i(e))return t[n.index%t.length];if(ei(t[0])){let a=t,i=r._scopes.filter(e=>e!==a);for(let o of(t=[],a)){let a=ao(i,r,e,o);t.push(t8(a,n,s&&s[e],l))}}return t}function an(e,t,a){return eE(e)?e(t,a):e}let as=(e,t)=>!0===e?t:"string"==typeof e?ev(t,e):void 0;function al(e,t,a,i,r){for(let n of t){let t=as(a,n);if(t){e.add(t);let n=an(t._fallback,a,r);if(void 0!==n&&n!==a&&n!==i)return n}else if(!1===t&&void 0!==i&&a!==i)return null}return!1}function ao(e,t,a,i){let r=t._rootScopes,n=an(t._fallback,a,i),s=[...e,...r],l=new Set;l.add(i);let o=ac(l,s,a,n||a,i);return null!==o&&(void 0===n||n===a||null!==(o=ac(l,s,n,o,i)))&&t5(Array.from(l),[""],r,n,()=>ad(t,a,i))}function ac(e,t,a,i,r){for(;a;)a=al(e,t,a,i,r);return a}function ad(e,t,a){let i=e._getTarget();t in i||(i[t]={});let r=i[t];return ea(r)&&ei(a)?a:r||{}}function au(e,t,a,i){let r;for(let n of t)if(void 0!==(r=ah(t9(n,e),a)))return ae(e,r)?ao(a,i,e,r):r}function ah(e,t){for(let a of t){if(!a)continue;let t=a[e];if(void 0!==t)return t}}function af(e){let t=e._keys;return t||(t=e._keys=ap(e._scopes)),t}function ap(e){let t=new Set;for(let a of e)for(let e of Object.keys(a).filter(e=>!e.startsWith("_")))t.add(e);return Array.from(t)}function am(e,t,a,i){let r,n,s,l,{iScale:o}=e,{key:c="r"}=this._parsing,d=Array(i);for(r=0,n=i;r<n;++r)l=t[s=r+a],d[r]={r:o.parse(ev(l,c),s)};return d}let ag=Number.EPSILON||1e-14,ab=(e,t)=>
360t<e.length&&!e[t].skip&&e[t],a_=e=>"x"===e?"y":"x";function ay(e,t,a,i){let r=e.skip?t:e,n=t,s=a.skip?t:a,l=eK(n,r),o=eK(s,n),c=l/(l+o),d=o/(l+o);c=isNaN(c)?0:c,d=isNaN(d)?0:d;let u=i*c,h=i*d;return{previous:{x:n.x-u*(s.x-r.x),y:n.y-u*(s.y-r.y)},next:{x:n.x+h*(s.x-r.x),y:n.y+h*(s.y-r.y)}}}function ax(e,t,a){let i,r,n,s,l,o=e.length,c=ab(e,0);for(let d=0;d<o-1;++d)if(l=c,c=ab(e,d+1),l&&c){if(eR(t[d],0,ag)){a[d]=a[d+1]=0;continue}i=a[d]/t[d],(s=Math.pow(i,2)+Math.pow(r=a[d+1]/t[d],2))<=9||(n=3/Math.sqrt(s),a[d]=i*n*t[d],a[d+1]=r*n*t[d])}}function av(e,t,a="x"){let i,r,n,s=a_(a),l=e.length,o=ab(e,0);for(let c=0;c<l;++c){if(r=n,n=o,o=ab(e,c+1),!n)continue;let l=n[a],d=n[s];r&&(i=(l-r[a])/3,n[`cp1${a}`]=l-i,n[`cp1${s}`]=d-i*t[c]),o&&(i=(o[a]-l)/3,n[`cp2${a}`]=l+i,n[`cp2${s}`]=d+i*t[c])}}function aA(e,t="x"){let a,i,r,n=a_(t),s=e.length,l=Array(s).fill(0),o=Array(s),c=ab(e,0);for(a=0;a<s;++a)if(i=r,r=c,c=ab(e,a+1),r){if(c){let e=c[t]-r[t];l[a]=0!==e?(c[n]-r[n])/e:0}o[a]=i?c?eM(l[a-1])!==eM(l[a])?0:(l[a-1]+l[a])/2:l[a-1]:l[a]}ax(e,l,o),av(e,o,t)}function aw(e,t,a){return Math.max(Math.min(e,a),t)}function aE(e,t){let a,i,r,n,s,l=tF(e[0],t);for(a=0,i=e.length;a<i;++a)s=n,n=l,l=a<i-1&&tF(e[a+1],t),n&&(r=e[a],s&&(r.cp1x=aw(r.cp1x,t.left,t.right),r.cp1y=aw(r.cp1y,t.top,t.bottom)),l&&(r.cp2x=aw(r.cp2x,t.left,t.right),r.cp2y=aw(r.cp2y,t.top,t.bottom)))}function aS(e,t,a,i,r){let n,s,l,o;if(t.spanGaps&&(e=e.filter(e=>!e.skip)),"monotone"===t.cubicInterpolationMode)aA(e,r);else{let a=i?e[e.length-1]:e[0];for(n=0,s=e.length;n<s;++n)o=ay(a,l=e[n],e[Math.min(n+1,s-!i)%s],t.tension),l.cp1x=o.previous.x,l.cp1y=o.previous.y,l.cp2x=o.next.x,l.cp2y=o.next.y,a=l}t.capBezierPoints&&aE(e,a)}function aC(){return"u">typeof window&&"u">typeof document}function aT(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function aN(e,t,a){let i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[a])):i=e,i}let ak=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function aI(e,t){return ak(e).getPropertyValue(t)}let aj=["top","right","bottom","left"];function aP(e,t,a){let i={};a=a?"-"+a:"";for(let r=0;r<4;r++){let n=aj[r];i[n]=parseFloat(e[t+"-"+n+a])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}let aL=(e,t,a)=>(e>0||t>0)&&(!a||!a.shadowRoot);function aO(e,t){let a,i,r=e.touches,n=r&&r.length?r[0]:e,{offsetX:s,offsetY:l}=n,o=!1;if(aL(s,l,e.target))a=s,i=l;else{let e=t.getBoundingClientRect();a=n.clientX-e.left,i=n.clientY-e.top,o=!0}return{x:a,y:i,box:o}}function aD(e,t){if("native"in e)return e;let{canvas:a,currentDevicePixelRatio:i}=t,r=ak(a),n="border-box"===r.boxSizing,s=aP(r,"padding"),l=aP(r,"border","width"),{x:o,y:c,box:d}=aO(e,a),u=s.left+(d&&l.left),h=s.top+(d&&l.top),{width:f,height:p}=t;return n&&(f-=s.width+l.width,p-=s.height+l.height),{x:Math.round((o-u)/f*a.width/i),y:Math.round((c-h)/p*a.height/i)}}function aM(e,t,a){let i,r;if(void 0===t||void 0===a){let n=e&&aT(e);if(n){let e=n.getBoundingClientRect(),s=ak(n),l=aP(s,"border","width"),o=aP(s,"padding");t=e.width-o.width-l.width,a=e.height-o.height-l.height,i=aN(s.maxWidth,n,"clientWidth"),r=aN(s.maxHeight,n,"clientHeight")}else t=e.clientWidth,a=e.clientHeight}return{width:t,height:a,maxWidth:i||eI,maxHeight:r||eI}}let aR=e=>Math.round(10*e)/10;function aF(e,t,a,i){let r=ak(e),n=aP(r,"margin"),s=aN(r.maxWidth,e,"clientWidth")||eI,l=aN(r.maxHeight,e,"clientHeight")||eI,o=aM(e,t,a),{width:c,height:d}=o;if("content-box"===r.boxSizing){let e=aP(r,"border","width"),t=aP(r,"padding");c-=t.width+e.width,d-=t.height+e.height}return c=Math.max(0,c-n.width),d=Math.max(0,i?c/i:d-n.height),c=aR(Math.min(c,s,o.maxWidth)),d=aR(Math.min(d,l,o.maxHeight)),c&&!d&&(d=aR(c/2)),(void 0!==t||void 0!==a)&&i&&o.height&&d>o.height&&(c=aR(Math.floor((d=o.height)*i))),{width:c,height:d}}function aB(e,t,a){let i=t||1,r=aR(e.height*i),n=aR(e.width*i);e.height=aR(e.height),e.width=aR(e.width);let s=e.canvas;return s.style&&(a||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==i||s.height!==r||s.width!==n)&&(e.currentDevicePixelRatio=i,s.height=r,s.width=n,e.ctx.setTransform(i,0,0,i,0,0),!0)}let aU=function(){let e=!1;
360try{let t={get passive(){return e=!0,!1}};aC()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function aH(e,t){let a=aI(e,t),i=a&&a.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function a$(e,t,a,i){return{x:e.x+a*(t.x-e.x),y:e.y+a*(t.y-e.y)}}function aG(e,t,a,i){return{x:e.x+a*(t.x-e.x),y:"middle"===i?a<.5?e.y:t.y:"after"===i?a<1?e.y:t.y:a>0?t.y:e.y}}function aW(e,t,a,i){let r={x:e.cp2x,y:e.cp2y},n={x:t.cp1x,y:t.cp1y},s=a$(e,r,a),l=a$(r,n,a),o=a$(n,t,a),c=a$(s,l,a),d=a$(l,o,a);return a$(c,d,a)}let aY=function(e,t){return{x:a=>e+e+t-a,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}},az=function(){return{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}};function aV(e,t,a){return e?aY(t,a):az()}function aK(e,t){let a,i;("ltr"===t||"rtl"===t)&&(i=[(a=e.canvas.style).getPropertyValue("direction"),a.getPropertyPriority("direction")],a.setProperty("direction",t,"important"),e.prevTextDirection=i)}function aq(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function aQ(e){return"angle"===e?{between:eZ,compare:eq,normalize:eQ}:{between:e0,compare:(e,t)=>e-t,normalize:e=>e}}function aZ({start:e,end:t,count:a,loop:i,style:r}){return{start:e%a,end:t%a,loop:i&&(t-e+1)%a==0,style:r}}function aX(e,t,a){let i,r,{property:n,start:s,end:l}=a,{between:o,normalize:c}=aQ(n),d=t.length,{start:u,end:h,loop:f}=e;if(f){for(u+=d,h+=d,i=0,r=d;i<r&&o(c(t[u%d][n]),s,l);++i)u--,h--;u%=d,h%=d}return h<u&&(h+=d),{start:u,end:h,loop:f,style:e.style}}function aJ(e,t,a){let i,r,n;if(!a)return[e];let{property:s,start:l,end:o}=a,c=t.length,{compare:d,between:u,normalize:h}=aQ(s),{start:f,end:p,loop:m,style:g}=aX(e,t,a),b=[],_=!1,y=null,x=()=>u(l,n,i)&&0!==d(l,n),v=()=>0===d(o,i)||u(o,n,i),A=()=>_||x(),w=()=>!_||v();for(let e=f,a=f;e<=p;++e)(r=t[e%c]).skip||(i=h(r[s]))!==n&&(_=u(i,l,o),null===y&&A()&&(y=0===d(i,l)?e:a),null!==y&&w()&&(b.push(aZ({start:y,end:e,loop:m,count:c,style:g})),y=null),a=e,n=i);return null!==y&&b.push(aZ({start:y,end:p,loop:m,count:c,style:g})),b}function a0(e,t){let a=[],i=e.segments;for(let r=0;r<i.length;r++){let n=aJ(i[r],e.points,t);n.length&&a.push(...n)}return a}function a1(e,t,a,i){let r=0,n=t-1;if(a&&!i)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,a&&(n+=r);n>r&&e[n%t].skip;)n--;return{start:r,end:n%=t}}function a2(e,t,a,i){let r,n=e.length,s=[],l=t,o=e[t];for(r=t+1;r<=a;++r){let a=e[r%n];a.skip||a.stop?o.skip||(i=!1,s.push({start:t%n,end:(r-1)%n,loop:i}),t=l=a.stop?r:null):(l=r,o.skip&&(t=r)),o=a}return null!==l&&s.push({start:t%n,end:l%n,loop:i}),s}function a3(e,t){let a=e.points,i=e.options.spanGaps,r=a.length;if(!r)return[];let n=!!e._loop,{start:s,end:l}=a1(a,r,n,i);if(!0===i)return a4(e,[{start:s,end:l,loop:n}],a,t);let o=l<s?l+r:l,c=!!e._fullLoop&&0===s&&l===r-1;return a4(e,a2(a,s,o,c),a,t)}function a4(e,t,a,i){return i&&i.setContext&&a?a6(e,t,a,i):t}function a6(e,t,a,i){let r=e._chart.getContext(),n=a5(e.options),{_datasetIndex:s,options:{spanGaps:l}}=e,o=a.length,c=[],d=n,u=t[0].start,h=u;function f(e,t,i,r){let n=l?-1:1;if(e!==t){for(e+=o;a[e%o].skip;)e-=n;for(;a[t%o].skip;)t+=n;e%o!=t%o&&(c.push({start:e%o,end:t%o,loop:i,style:r}),d=r,u=t%o)}}for(let e of t){let t,n=a[(u=l?u:e.start)%o];for(h=u+1;h<=e.end;h++){let l=a[h%o];a8(t=a5(i.setContext(t6(r,{type:"segment",p0:n,p1:l,p0DataIndex:(h-1)%o,p1DataIndex:h%o,datasetIndex:s}))),d)&&f(u,h-1,e.loop,d),n=l,d=t}u<h-1&&f(u,h-1,e.loop,d)}return c}function a5(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function a8(e,t){if(!t)return!1;let a=[],i=function(e,t){return tu(t)?(a.includes(t)||a.push(t),a.indexOf(t)):t};return JSON.stringify(e,i)!==JSON.stringify(t,i)}function a7(e,t,a){return e.options.clip?e[a]:t[a]}function a9(e,t){let{xScale:a,yScale:i}=e;return a&&i?{left:a7(a,t,"left"),right:a7(a,t,"right"),top:a7(i,t,"top"),bottom:a7(i,t,"bottom")}:t}function ie(e,t){let a=t._clip;if(a.disabled)return!1;let i=a9(t,e.chartArea);return{left:!1===a.left?0:i.left-(!0===a.left?0:a.left),right:!1===a.right?e.width:i.right+(!0===a.right?0:a.right),top:!1===a.top?0:i.top-(!0===a.top?0:a.top),bottom:!1===a.bottom?e.height:i.bottom+(!0===a.bottom?0:a.bottom)}}class it{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,a,i){let r=t.listeners[i],n=t.duration;r.forEach(i=>
360i({chart:e,initial:t.initial,numSteps:n,currentStep:Math.min(a-t.start,n)}))}_refresh(){this._request||(this._running=!0,this._request=e9.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((a,i)=>{let r;if(!a.running||!a.items.length)return;let n=a.items,s=n.length-1,l=!1;for(;s>=0;--s)(r=n[s])._active?(r._total>a.duration&&(a.duration=r._total),r.tick(e),l=!0):(n[s]=n[n.length-1],n.pop());l&&(i.draw(),this._notify(i,a,e,"progress")),n.length||(a.running=!1,this._notify(i,a,e,"complete"),a.initial=!1),t+=n.length}),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){let t=this._charts,a=t.get(e);return a||(a={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,a)),a}listen(e,t,a){this._getAnims(e).listeners[t].push(a)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!!t&&!!t.running&&!!t.items.length}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let a=t.items,i=a.length-1;for(;i>=0;--i)a[i].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var ia=new it;let ii="transparent",ir={boolean:(e,t,a)=>a>.5?t:e,color(e,t,a){let i=th(e||ii),r=i.valid&&th(t||ii);return r&&r.valid?r.mix(i,a).hexString():t},number:(e,t,a)=>e+(t-e)*a};class is{constructor(e,t,a,i){const r=t[a];i=t3([e.to,i,r,e.from]);const n=t3([e.from,r,i]);this._active=!0,this._fn=e.fn||ir[e.type||typeof n],this._easing=td[e.easing]||td.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=a,this._from=n,this._to=i,this._promises=void 0}active(){return this._active}update(e,t,a){if(this._active){this._notify(!1);let i=this._target[this._prop],r=a-this._start,n=this._duration-r;this._start=a,this._duration=Math.floor(Math.max(n,e.duration)),this._total+=r,this._loop=!!e.loop,this._to=t3([e.to,t,i,e.from]),this._from=t3([e.from,i,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t,a=e-this._start,i=this._duration,r=this._prop,n=this._from,s=this._loop,l=this._to;if(this._active=n!==l&&(s||a<i),!this._active){this._target[r]=l,this._notify(!0);return}if(a<0){this._target[r]=n;return}t=a/i%2,t=s&&t>1?2-t:t,t=this._easing(Math.min(1,Math.max(0,t))),this._target[r]=this._fn(n,l,t)}wait(){let e=this._promises||(this._promises=[]);return new Promise((t,a)=>{e.push({res:t,rej:a})})}_notify(e){let t=e?"res":"rej",a=this._promises||[];for(let e=0;e<a.length;e++)a[e][t]()}}class il{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!ei(e))return;let t=Object.keys(tI.animation),a=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{let r=e[i];if(!ei(r))return;let n={};for(let e of t)n[e]=r[e];(ea(r.properties)&&r.properties||[i]).forEach(e=>{e!==i&&a.has(e)||a.set(e,n)})})}_animateOptions(e,t){let a=t.options,i=ic(e,a);if(!i)return[];let r=this._createAnimations(i,a);return a.$shared&&io(e.options.$animations,a).then(()=>{e.options=a},()=>{}),r}_createAnimations(e,t){let a,i=this._properties,r=[],n=e.$animations||(e.$animations={}),s=Object.keys(t),l=Date.now();for(a=s.length-1;a>=0;--a){let o=s[a];if("$"===o.charAt(0))continue;if("options"===o){r.push(...this._animateOptions(e,t));continue}let c=t[o],d=n[o],u=i.get(o);if(d)if(u&&d.active()){d.update(u,c,l);continue}else d.cancel();if(!u||!u.duration){e[o]=c;continue}n[o]=d=new is(u,e,o,c),r.push(d)}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);let a=this._createAnimations(e,t);if(a.length)return ia.add(this._chart,a),!0}}function io(e,t){let a=[],i=Object.keys(t);for(let t=0;t<i.length;t++){let r=e[i[t]];r&&r.active()&&a.push(r.wait())}return Promise.all(a)}function ic(e,t){if(!t)return;let a=e.options;if(!a){e.options=t;return}return a.$shared&&(e.options=a=Object.assign({},a,{$shared:!1,$animations:{}})),a}
360function id(e,t){let a=e&&e.options||{},i=a.reverse,r=void 0===a.min?t:0,n=void 0===a.max?t:0;return{start:i?n:r,end:i?r:n}}function iu(e,t,a){if(!1===a)return!1;let i=id(e,a),r=id(t,a);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function ih(e){let t,a,i,r;return ei(e)?(t=e.top,a=e.right,i=e.bottom,r=e.left):t=a=i=r=e,{top:t,right:a,bottom:i,left:r,disabled:!1===e}}function ip(e,t){let a,i,r=[],n=e._getSortedDatasetMetas(t);for(a=0,i=n.length;a<i;++a)r.push(n[a].index);return r}function im(e,t,a,i={}){let r,n,s,l,o=e.keys,c="single"===i.mode;if(null===t)return;let d=!1;for(r=0,n=o.length;r<n;++r){if((s=+o[r])===a){if(d=!0,i.all)continue;break}er(l=e.values[s])&&(c||0===t||eM(t)===eM(l))&&(t+=l)}return d||i.all?t:0}function ig(e,t){let a,i,r,{iScale:n,vScale:s}=t,l="x"===n.axis?"x":"y",o="x"===s.axis?"x":"y",c=Object.keys(e),d=Array(c.length);for(a=0,i=c.length;a<i;++a)r=c[a],d[a]={[l]:r,[o]:e[r]};return d}function ib(e,t){let a=e&&e.options.stacked;return a||void 0===a&&void 0!==t.stack}function i_(e,t,a){return`${e.id}.${t.id}.${a.stack||a.type}`}function iy(e){let{min:t,max:a,minDefined:i,maxDefined:r}=e.getUserBounds();return{min:i?t:-1/0,max:r?a:1/0}}function ix(e,t,a){let i=e[t]||(e[t]={});return i[a]||(i[a]={})}function iv(e,t,a,i){for(let r of t.getMatchingVisibleMetas(i).reverse()){let t=e[r.index];if(a&&t>0||!a&&t<0)return r.index}return null}function iA(e,t){let a,{chart:i,_cachedMeta:r}=e,n=i._stacks||(i._stacks={}),{iScale:s,vScale:l,index:o}=r,c=s.axis,d=l.axis,u=i_(s,l,r),h=t.length;for(let e=0;e<h;++e){let i=t[e],{[c]:s,[d]:h}=i;(a=(i._stacks||(i._stacks={}))[d]=ix(n,u,s))[o]=h,a._top=iv(a,l,!0,r.type),a._bottom=iv(a,l,!1,r.type),(a._visualValues||(a._visualValues={}))[o]=h}}function iw(e,t){let a=e.scales;return Object.keys(a).filter(e=>a[e].axis===t).shift()}function iE(e,t){return t6(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function iS(e,t,a){return t6(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:a,index:t,mode:"default",type:"data"})}function iC(e,t){let a=e.controller.index,i=e.vScale&&e.vScale.axis;if(i)for(let r of t=t||e._parsed){let e=r._stacks;if(!e||void 0===e[i]||void 0===e[i][a])return;delete e[i][a],void 0!==e[i]._visualValues&&void 0!==e[i]._visualValues[a]&&delete e[i]._visualValues[a]}}let iT=e=>"reset"===e||"none"===e,iN=(e,t)=>t?e:Object.assign({},e),ik=(e,t,a)=>e&&!t.hidden&&t._stacked&&{keys:ip(a,!0),values:null};class iI{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=ib(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&iC(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,a=this.getDataset(),i=(e,t,a,i)=>"x"===e?t:"r"===e?i:a,r=t.xAxisID=es(a.xAxisID,iw(e,"x")),n=t.yAxisID=es(a.yAxisID,iw(e,"y")),s=t.rAxisID=es(a.rAxisID,iw(e,"r")),l=t.indexAxis,o=t.iAxisID=i(l,r,n,s),c=t.vAxisID=i(l,n,r,s);t.xScale=this.getScaleForId(r),t.yScale=this.getScaleForId(n),t.rScale=this.getScaleForId(s),t.iScale=this.getScaleForId(o),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){let e=this._cachedMeta;this._data&&e8(this._data,this),e._stacked&&iC(e)}_dataCheck(){let e=this.getDataset(),t=e.data||(e.data=[]),a=this._data;if(ei(t)){let e=this._cachedMeta;this._data=ig(t,e)}else if(a!==t){if(a){e8(a,this);let e=this._cachedMeta;iC(e),e._parsed=[]}t&&Object.isExtensible(t)&&e5(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,a=this.getDataset(),i=!1;this._dataCheck();let r=t._stacked;t._stacked=ib(t.vScale,t),t.stack!==a.stack&&(i=!0,iC(t),t.stack=a.stack),this._resyncElements(e),(i||r!==t._stacked)&&(iA(this,t._parsed),t._stacked=ib(t.vScale,t))}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),a=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(a,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let a,i,r,{_cachedMeta:n,_data:s}=this,{iScale:l,_stacked:o}=n,c=l.axis,d=0===e&&t===s.length||n._sorted,u=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=s,n._sorted=!0,r=s;else{r=ea(s[e])?this.parseArrayData(n,s,e,t):ei(s[e])?this.parseObjectData(n,s,e,t):this.parsePrimitiveData(n,s,e,t);let l=()=>null===i[c]||u&&i[c]<u[c];for(a=0;a<t;++a)n._parsed[a+e]=i=r[a],d&&(l()&&(d=!1),u=i);n._sorted=d}o&&iA(this,r)}parsePrimitiveData(e,t,a,i){let r,n,s,{iScale:l,vScale:o}=e,c=l.axis,d=o.axis,u=l.getLabels(),h=l===o,f=Array(i);for(r=0,n=i;r<n;++r)s=r+a,f[r]={[c]:h||l.parse(u[s],s),[d]:o.parse(t[s],s)};return f}parseArrayData(e,t,a,i){let r,n,s,l,{xScale:o,yScale:c}=e,d=Array(i);for(r=0,n=i;r<n;++r)l=t[s=r+a],d[r]={x:o.parse(l[0],s),y:c.parse(l[1],s)};return d}parseObjectData(e,t,a,i){let r,n,s,l,{xScale:o,yScale:c}=e,{xAxisKey:d="x",yAxisKey:u="y"}=this._parsing,h=Array(i);for(r=0,n=i;r<n;++r)l=t[s=r+a],h[r]={x:o.parse(ev(l,d),s),y:c.parse(ev(l,u),s)};return h}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,a){let i=this.chart,r=this._cachedMeta,n=t[e.axis
360];return im({keys:ip(i,!0),values:t._stacks[e.axis]._visualValues},n,r.index,{mode:a})}updateRangeFromParsed(e,t,a,i){let r=a[t.axis],n=null===r?NaN:r,s=i&&a._stacks[t.axis];i&&s&&(i.values=s,n=im(i,r,this._cachedMeta.index)),e.min=Math.min(e.min,n),e.max=Math.max(e.max,n)}getMinMax(e,t){let a,i,r=this._cachedMeta,n=r._parsed,s=r._sorted&&e===r.iScale,l=n.length,o=this._getOtherScale(e),c=ik(t,r,this.chart),d={min:1/0,max:-1/0},{min:u,max:h}=iy(o);function f(){let t=(i=n[a])[o.axis];return!er(i[e.axis])||u>t||h<t}for(a=0;a<l&&(f()||(this.updateRangeFromParsed(d,e,i,c),!s));++a);if(s){for(a=l-1;a>=0;--a)if(!f()){this.updateRangeFromParsed(d,e,i,c);break}}return d}getAllParsedValues(e){let t,a,i,r=this._cachedMeta._parsed,n=[];for(t=0,a=r.length;t<a;++t)er(i=r[t][e.axis])&&n.push(i);return n}getMaxOverflow(){return!1}getLabelAndValue(e){let t=this._cachedMeta,a=t.iScale,i=t.vScale,r=this.getParsed(e);return{label:a?""+a.getLabelForValue(r[a.axis]):"",value:i?""+i.getLabelForValue(r[i.axis]):""}}_update(e){let t=this._cachedMeta;this.update(e||"default"),t._clip=ih(es(this.options.clip,iu(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){let e,t=this._ctx,a=this.chart,i=this._cachedMeta,r=i.data||[],n=a.chartArea,s=[],l=this._drawStart||0,o=this._drawCount||r.length-l,c=this.options.drawActiveElementsOnTop;for(i.dataset&&i.dataset.draw(t,n,l,o),e=l;e<l+o;++e){let a=r[e];a.hidden||(a.active&&c?s.push(a):a.draw(t,n))}for(e=0;e<s.length;++e)s[e].draw(t,n)}getStyle(e,t){let a=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(a):this.resolveDataElementOptions(e||0,a)}getContext(e,t,a){let i,r=this.getDataset();if(e>=0&&e<this._cachedMeta.data.length){let t=this._cachedMeta.data[e];(i=t.$context||(t.$context=iS(this.getContext(),e,t))).parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else(i=this.$context||(this.$context=iE(this.chart.getContext(),this.index))).dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!t,i.mode=a,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",a){let i="active"===t,r=this._cachedDataOpts,n=e+"-"+t,s=r[n],l=this.enableOptionSharing&&ew(a);if(s)return iN(s,l);let o=this.chart.config,c=o.datasetElementScopeKeys(this._type,e),d=i?[`${e}Hover`,"hover",e,""]:[e,""],u=o.getOptionScopes(this.getDataset(),c),h=Object.keys(tI.elements[e]),f=()=>this.getContext(a,i,t),p=o.resolveNamedOptions(u,h,f,d);return p.$shared&&(p.$shared=l,r[n]=Object.freeze(iN(p,l))),p}_resolveAnimations(e,t,a){let i,r=this.chart,n=this._cachedDataOpts,s=`animation-${t}`,l=n[s];if(l)return l;if(!1!==r.options.animation){let r=this.chart.config,n=r.datasetAnimationScopeKeys(this._type,t),s=r.getOptionScopes(this.getDataset(),n);i=r.createResolver(s,this.getContext(e,a,t))}let o=new il(r,i&&i.animations);return i&&i._cacheable&&(n[s]=Object.freeze(o)),o}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||iT(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let a=this.resolveDataElementOptions(e,t),i=this._sharedOptions,r=this.getSharedOptions(a),n=this.includeOptions(t,r)||r!==i;return this.updateSharedOptions(r,t,a),{sharedOptions:r,includeOptions:n}}updateElement(e,t,a,i){iT(i)?Object.assign(e,a):this._resolveAnimations(t,i).update(e,a)}updateSharedOptions(e,t,a){e&&!iT(t)&&this._resolveAnimations(void 0,t).update(e,a)}_setStyle(e,t,a,i){e.active=i;let r=this.getStyle(t,i);this._resolveAnimations(t,a,i).update(e,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(e,t,a){this._setStyle(e,a,"active",!1)}setHoverStyle(e,t,a){this._setStyle(e,a,"active",!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){let t=this._data,a=this._cachedMeta.data;for(let[e,t,a]of this._syncList)this[e](t,a);this._syncList=[];let i=a.length,r=t.length,n=Math.min(r,i);n&&this.parse(0,n),r>i?this._insertElements(i,r-i,e):r<i&&this._removeElements(r,i-r)}_insertElements(e,t,a=!0){let i,r=this._cachedMeta,n=r.data,s=e+t,l=e=>{for(e.length+=t,i=e.length-1;i>=s;i--)e[i]=e[i-t]};for(l(n),i=e;i<s;++i)n[i]=new this.dataElementType;this._parsing&&l(r._parsed),this.parse(e,t),a&&this.updateElements(n,e,t,"reset")}updateElements(e,t,a,i){}_removeElements(e,t){let a=this._cachedMeta;if(this._parsing){let i=a._parsed.splice(e,t);a._stacked&&iC(a,i)}a.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{let[t,a,i]=e;this[t](a,i)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){let e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);let a=arguments.length-2;a&&this._sync(["_insertElements",e,a])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function ij(e,t){if(!e._cache.$bar){let a=e.getMatchingVisibleMetas(t),i=[];for(let t=0,r=a.length;t<r;t++)i=i.concat(a[t].controller.getAllParsedValues(e));e._cache.$bar=e7(i.sort((e,t)=>
360e-t))}return e._cache.$bar}function iP(e){let t,a,i,r,n=e.iScale,s=ij(n,e.type),l=n._length,o=()=>{32767!==i&&-32768!==i&&(ew(r)&&(l=Math.min(l,Math.abs(i-r)||l)),r=i)};for(t=0,a=s.length;t<a;++t)i=n.getPixelForValue(s[t]),o();for(t=0,r=void 0,a=n.ticks.length;t<a;++t)i=n.getPixelForTick(t),o();return l}function iL(e,t,a,i){let r,n,s=a.barThickness;return et(s)?(r=t.min*a.categoryPercentage,n=a.barPercentage):(r=s*i,n=1),{chunk:r/i,ratio:n,start:t.pixels[e]-r/2}}function iO(e,t,a,i){let r=t.pixels,n=r[e],s=e>0?r[e-1]:null,l=e<r.length-1?r[e+1]:null,o=a.categoryPercentage;null===s&&(s=n-(null===l?t.end-t.start:l-n)),null===l&&(l=n+n-s);let c=n-(n-Math.min(s,l))/2*o;return{chunk:Math.abs(l-s)/2*o/i,ratio:a.barPercentage,start:c}}function iD(e,t,a,i){let r=a.parse(e[0],i),n=a.parse(e[1],i),s=Math.min(r,n),l=Math.max(r,n),o=s,c=l;Math.abs(s)>Math.abs(l)&&(o=l,c=s),t[a.axis]=c,t._custom={barStart:o,barEnd:c,start:r,end:n,min:s,max:l}}function iM(e,t,a,i){return ea(e)?iD(e,t,a,i):t[a.axis]=a.parse(e,i),t}function iR(e,t,a,i){let r,n,s,l,o=e.iScale,c=e.vScale,d=o.getLabels(),u=o===c,h=[];for(r=a,n=a+i;r<n;++r)l=t[r],(s={})[o.axis]=u||o.parse(d[r],r),h.push(iM(l,s,c,r));return h}function iF(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function iB(e,t,a){return 0!==e?eM(e):(t.isHorizontal()?1:-1)*(t.min>=a?1:-1)}function iU(e){let t,a,i,r,n;return e.horizontal?(t=e.base>e.x,a="left",i="right"):(t=e.base<e.y,a="bottom",i="top"),t?(r="end",n="start"):(r="start",n="end"),{start:a,end:i,reverse:t,top:r,bottom:n}}function iH(e,t,a,i){let r=t.borderSkipped,n={};if(!r){e.borderSkipped=n;return}if(!0===r){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:s,end:l,reverse:o,top:c,bottom:d}=iU(e);"middle"===r&&a&&(e.enableBorderRadius=!0,(a._top||0)===i?r=c:(a._bottom||0)===i?r=d:(n[i$(d,s,l,o)]=!0,r=c)),n[i$(r,s,l,o)]=!0,e.borderSkipped=n}function i$(e,t,a,i){return i?iW(e=iG(e,t,a),a,t):iW(e,t,a)}function iG(e,t,a){return e===t?a:e===a?t:e}function iW(e,t,a){return"start"===e?t:"end"===e?a:e}function iY(e,{inflateAmount:t},a){e.inflateAmount="auto"===t?.33*(1===a):t}class iz extends iI{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,a,i){return iR(e,t,a,i)}parseArrayData(e,t,a,i){return iR(e,t,a,i)}parseObjectData(e,t,a,i){let r,n,s,l,{iScale:o,vScale:c}=e,{xAxisKey:d="x",yAxisKey:u="y"}=this._parsing,h="x"===o.axis?d:u,f="x"===c.axis?d:u,p=[];for(r=a,n=a+i;r<n;++r)l=t[r],(s={})[o.axis]=o.parse(ev(l,h),r),p.push(iM(ev(l,f),s,c,r));return p}updateRangeFromParsed(e,t,a,i){super.updateRangeFromParsed(e,t,a,i);let r=a._custom;r&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,r.min),e.max=Math.max(e.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(e){let{iScale:t,vScale:a}=this._cachedMeta,i=this.getParsed(e),r=i._custom,n=iF(r)?"["+r.start+", "+r.end+"]":""+a.getLabelForValue(i[a.axis]);return{label:""+t.getLabelForValue(i[t.axis]),value:n}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(e){let t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,a,i){let r="reset"===i,{index:n,_cachedMeta:{vScale:s}}=this,l=s.getBasePixel(),o=s.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:u}=this._getSharedOptions(t,i);for(let h=t;h<t+a;h++){let t=this.getParsed(h),a=r||et(t[s.axis])?{base:l,head:l}:this._calculateBarValuePixels(h),f=this._calculateBarIndexPixels(h,c),p=(t._stacks||{})[s.axis],m={horizontal:o,base:a.base,enableBorderRadius:!p||iF(t._custom)||n===p._top||n===p._bottom,x:o?a.head:f.center,y:o?f.center:a.head,height:o?f.size:Math.abs(a.size),width:o?Math.abs(a.size):f.size};u&&(m.options=d||this.resolveDataElementOptions(h,e[h].active?"active":i));let g=m.options||e[h].options;iH(m,g,p,n),iY(m,g,c.ratio),this.updateElement(e[h],h,m,i)}}_getStacks(e,t){let{iScale:a}=this._cachedMeta,i=a.getMatchingVisibleMetas(this._type).filter(e=>e.controller.options.grouped),r=a.options.stacked,n=[],s=this._cachedMeta.controller.getParsed(t),l=s&&s[a.axis],o=e=>{let t=e._parsed.find(e=>
360e[a.axis]===l),i=t&&t[e.vScale.axis];if(et(i)||isNaN(i))return!0};for(let a of i)if(!(void 0!==t&&o(a))&&((!1===r||-1===n.indexOf(a.stack)||void 0===r&&void 0===a.stack)&&n.push(a.stack),a.index===e))break;return n.length||n.push(void 0),n}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let e=this.chart.scales,t=this.chart.options.indexAxis;return Object.keys(e).filter(a=>e[a].axis===t).shift()}_getAxis(){let e={},t=this.getFirstScaleIdForIndexAxis();for(let a of this.chart.data.datasets)e[es("x"===this.chart.options.indexAxis?a.xAxisID:a.yAxisID,t)]=!0;return Object.keys(e)}_getStackIndex(e,t,a){let i=this._getStacks(e,a),r=void 0!==t?i.indexOf(t):-1;return -1===r?i.length-1:r}_getRuler(){let e,t,a=this.options,i=this._cachedMeta,r=i.iScale,n=[];for(e=0,t=i.data.length;e<t;++e)n.push(r.getPixelForValue(this.getParsed(e)[r.axis],e));let s=a.barThickness;return{min:s||iP(i),pixels:n,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:a.grouped,ratio:s?1:a.categoryPercentage*a.barPercentage}}_calculateBarValuePixels(e){let t,a,{_cachedMeta:{vScale:i,_stacked:r,index:n},options:{base:s,minBarLength:l}}=this,o=s||0,c=this.getParsed(e),d=c._custom,u=iF(d),h=c[i.axis],f=0,p=r?this.applyStack(i,c,r):h;p!==h&&(f=p-h,p=h),u&&(h=d.barStart,p=d.barEnd-d.barStart,0!==h&&eM(h)!==eM(d.barEnd)&&(f=0),f+=h);let m=et(s)||u?f:s,g=i.getPixelForValue(m);if(Math.abs(a=(t=this.chart.getDataVisibility(e)?i.getPixelForValue(f+p):g)-g)<l){a=iB(a,i,o)*l,h===o&&(g-=a/2);let e=i.getPixelForDecimal(0),s=i.getPixelForDecimal(1),d=Math.min(e,s);t=(g=Math.max(Math.min(g,Math.max(e,s)),d))+a,r&&!u&&(c._stacks[i.axis]._visualValues[n]=i.getValueForPixel(t)-i.getValueForPixel(g))}if(g===i.getPixelForValue(o)){let e=eM(a)*i.getLineWidthForValue(o)/2;g+=e,a-=e}return{size:a,base:g,head:t,center:t+a/2}}_calculateBarIndexPixels(e,t){let a,i,r=t.scale,n=this.options,s=n.skipNull,l=es(n.maxBarThickness,1/0),o=this._getAxisCount();if(t.grouped){let r=s?this._getStackCount(e):t.stackCount,c="flex"===n.barThickness?iO(e,t,n,r*o):iL(e,t,n,r*o),d="x"===this.chart.options.indexAxis?this.getDataset().xAxisID:this.getDataset().yAxisID,u=this._getAxis().indexOf(es(d,this.getFirstScaleIdForIndexAxis())),h=this._getStackIndex(this.index,this._cachedMeta.stack,s?e:void 0)+u;a=c.start+c.chunk*h+c.chunk/2,i=Math.min(l,c.chunk*c.ratio)}else a=r.getPixelForValue(this.getParsed(e)[r.axis],e),i=Math.min(l,t.min*t.ratio);return{base:a-i/2,head:a+i/2,center:a,size:i}}draw(){let e=this._cachedMeta,t=e.vScale,a=e.data,i=a.length,r=0;for(;r<i;++r)null===this.getParsed(r)[t.axis]||a[r].hidden||a[r].draw(this._ctx)}}class iV extends iI{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,a,i){let r=super.parsePrimitiveData(e,t,a,i);for(let e=0;e<r.length;e++)r[e]._custom=this.resolveDataElementOptions(e+a).radius;return r}parseArrayData(e,t,a,i){let r=super.parseArrayData(e,t,a,i);for(let e=0;e<r.length;e++){let i=t[a+e];r[e]._custom=es(i[2],this.resolveDataElementOptions(e+a).radius)}return r}parseObjectData(e,t,a,i){let r=super.parseObjectData(e,t,a,i);for(let e=0;e<r.length;e++){let i=t[a+e];r[e]._custom=es(i&&i.r&&+i.r,this.resolveDataElementOptions(e+a).radius)}return r}getMaxOverflow(){let e=this._cachedMeta.data,t=0;for(let a=e.length-1;a>=0;--a)t=Math.max(t,e[a].size(this.resolveDataElementOptions(a))/2);return t>0&&t}getLabelAndValue(e){let t=this._cachedMeta,a=this.chart.data.labels||[],{xScale:i,yScale:r}=t,n=this.getParsed(e),s=i.getLabelForValue(n.x),l=r.getLabelForValue(n.y),o=n._custom;return{label:a[e]||"",value:"("+s+", "+l+(o?", "+o:"")+")"}}update(e){let t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,a,i){let r="reset"===i,{iScale:n,vScale:s}=this._cachedMeta,{sharedOptions:l,includeOptions:o}=this._getSharedOptions(t,i),c=n.axis,d=s.axis;for(let u=t;u<t+a;u++){let t=e[u],a=!r&&this.getParsed(u),h={},f=h[c]=r?n.getPixelForDecimal(.5):n.getPixelForValue(a[c]),p=h[d]=r?s.getBasePixel():s.getPixelForValue(a[d]);h.skip=isNaN(f)||isNaN(p),o&&(h.options=l||this.resolveDataElementOptions(u,t.active?"active":i),r&&(h.options.radius=0)),this.updateElement(t,u,h,i)}}resolveDataElementOptions(e,t){let a=this.getParsed(e),i=super.resolveDataElementOptions(e,t);i.$shared&&(i=Object.assign({},i,{$shared:!1}));let r=i.radius;return"active"!==t&&(i.radius=0),i.radius+=es(a&&a._custom,r),i}}function iK(e,t,a){let i=1,r=1,n=0,s=0;if(t<eN){let l=e,o=l+t,c=Math.cos(l),d=Math.sin(l),u=Math.cos(o),h=Math.sin(o),f=(e,t,i)=>eZ(e,l,o,!0)?1:Math.max(t,t*a,i,i*a),p=(e,t,i)=>eZ(e,l,o,!0)?-1:Math.min(t,t*a,i,i*a),m=f(0,c,u),g=f(eP,d,h),b=p(eT,c,u),_=p(eT+eP,d,h);i=(m-b)/2,r=(g-_)/2,n=-(m+b)/2,s=-(g+_)/2}return{ratioX:i,ratioY:r,offsetX:n,offsetY:s}}class iq extends iI{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}}
360,cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data,{labels:{pointStyle:a,textAlign:i,color:r,useBorderRadius:n,borderRadius:s}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,l)=>{let o=e.getDatasetMeta(0).controller.getStyle(l);return{text:t,fillStyle:o.backgroundColor,fontColor:r,hidden:!e.getDataVisibility(l),lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:o.borderWidth,strokeStyle:o.borderColor,textAlign:i,pointStyle:a,borderRadius:n&&(s||o.borderRadius),index:l}}):[]}},onClick(e,t,a){a.chart.toggleDataVisibility(t.index),a.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){let a=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=a;else{let r,n,s=e=>+a[e];if(ei(a[e])){let{key:e="value"}=this._parsing;s=t=>+ev(a[t],e)}for(r=e,n=e+t;r<n;++r)i._parsed[r]=s(r)}}_getRotation(){return eW(this.options.rotation-90)}_getCircumference(){return eW(this.options.circumference)}_getRotationExtents(){let e=eN,t=-eN;for(let a=0;a<this.chart.data.datasets.length;++a)if(this.chart.isDatasetVisible(a)&&this.chart.getDatasetMeta(a).type===this._type){let i=this.chart.getDatasetMeta(a).controller,r=i._getRotation(),n=i._getCircumference();e=Math.min(e,r),t=Math.max(t,r+n)}return{rotation:e,circumference:t-e}}update(e){let{chartArea:t}=this.chart,a=this._cachedMeta,i=a.data,r=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,n=Math.max((Math.min(t.width,t.height)-r)/2,0),s=Math.min(el(this.options.cutout,n),1),l=this._getRingWeight(this.index),{circumference:o,rotation:c}=this._getRotationExtents(),{ratioX:d,ratioY:u,offsetX:h,offsetY:f}=iK(c,o,s),p=Math.max(Math.min((t.width-r)/d,(t.height-r)/u)/2,0),m=eo(this.options.radius,p),g=Math.max(m*s,0),b=(m-g)/this._getVisibleDatasetWeightTotal();this.offsetX=h*m,this.offsetY=f*m,a.total=this.calculateTotal(),this.outerRadius=m-b*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-b*l,0),this.updateElements(i,0,i.length,e)}_circumference(e,t){let a=this.options,i=this._cachedMeta,r=this._getCircumference();return t&&a.animation.animateRotate||!this.chart.getDataVisibility(e)||null===i._parsed[e]||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*r/eN)}updateElements(e,t,a,i){let r,n="reset"===i,s=this.chart,l=s.chartArea,o=s.options.animation,c=(l.left+l.right)/2,d=(l.top+l.bottom)/2,u=n&&o.animateScale,h=u?0:this.innerRadius,f=u?0:this.outerRadius,{sharedOptions:p,includeOptions:m}=this._getSharedOptions(t,i),g=this._getRotation();for(r=0;r<t;++r)g+=this._circumference(r,n);for(r=t;r<t+a;++r){let t=this._circumference(r,n),a=e[r],s={x:c+this.offsetX,y:d+this.offsetY,startAngle:g,endAngle:g+t,circumference:t,outerRadius:f,innerRadius:h};m&&(s.options=p||this.resolveDataElementOptions(r,a.active?"active":i)),g+=t,this.updateElement(a,r,s,i)}}calculateTotal(){let e,t=this._cachedMeta,a=t.data,i=0;for(e=0;e<a.length;e++){let r=t._parsed[e];null!==r&&!isNaN(r)&&this.chart.getDataVisibility(e)&&!a[e].hidden&&(i+=Math.abs(r))}return i}calculateCircumference(e){let t=this._cachedMeta.total;return t>0&&!isNaN(e)?Math.abs(e)/t*eN:0}getLabelAndValue(e){let t=this._cachedMeta,a=this.chart,i=a.data.labels||[],r=tx(t._parsed[e],a.options.locale);return{label:i[e]||"",value:r}}getMaxBorderWidth(e){let t,a,i,r,n,s=0,l=this.chart;if(!e){for(t=0,a=l.data.datasets.length;t<a;++t)if(l.isDatasetVisible(t)){e=(i=l.getDatasetMeta(t)).data,r=i.controller;break}}if(!e)return 0;for(t=0,a=e.length;t<a;++t)"inner"!==(n=r.resolveDataElementOptions(t)).borderAlign&&(s=Math.max(s,n.borderWidth||0,n.hoverBorderWidth||0));return s}getMaxOffset(e){let t=0;for(let a=0,i=e.length;a<i;++a){let e=this.resolveDataElementOptions(a);
360t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let a=0;a<e;++a)this.chart.isDatasetVisible(a)&&(t+=this._getRingWeight(a));return t}_getRingWeight(e){return Math.max(es(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class iQ extends iI{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){let t=this._cachedMeta,{dataset:a,data:i=[],_dataset:r}=t,n=this.chart._animationsDisabled,{start:s,count:l}=tn(t,i,n);this._drawStart=s,this._drawCount=l,ts(t)&&(s=0,l=i.length),a._chart=this.chart,a._datasetIndex=this.index,a._decimated=!!r._decimated,a.points=i;let o=this.resolveDatasetElementOptions(e);this.options.showLine||(o.borderWidth=0),o.segment=this.options.segment,this.updateElement(a,void 0,{animated:!n,options:o},e),this.updateElements(i,s,l,e)}updateElements(e,t,a,i){let r="reset"===i,{iScale:n,vScale:s,_stacked:l,_dataset:o}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(t,i),u=n.axis,h=s.axis,{spanGaps:f,segment:p}=this.options,m=eH(f)?f:1/0,g=this.chart._animationsDisabled||r||"none"===i,b=t+a,_=e.length,y=t>0&&this.getParsed(t-1);for(let a=0;a<_;++a){let f=e[a],_=g?f:{};if(a<t||a>=b){_.skip=!0;continue}let x=this.getParsed(a),v=et(x[h]),A=_[u]=n.getPixelForValue(x[u],a),w=_[h]=r||v?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,x,l):x[h],a);_.skip=isNaN(A)||isNaN(w)||v,_.stop=a>0&&Math.abs(x[u]-y[u])>m,p&&(_.parsed=x,_.raw=o.data[a]),d&&(_.options=c||this.resolveDataElementOptions(a,f.active?"active":i)),g||this.updateElement(f,a,_,i),y=x}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,a=t.options&&t.options.borderWidth||0,i=e.data||[];return i.length?Math.max(a,i[0].size(this.resolveDataElementOptions(0)),i[i.length-1].size(this.resolveDataElementOptions(i.length-1)))/2:a}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}class iZ extends iI{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){let t=e.data;if(t.labels.length&&t.datasets.length){let{labels:{pointStyle:a,color:i}}=e.legend.options;return t.labels.map((t,r)=>{let n=e.getDatasetMeta(0).controller.getStyle(r);return{text:t,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,fontColor:i,lineWidth:n.borderWidth,pointStyle:a,hidden:!e.getDataVisibility(r),index:r}})}return[]}},onClick(e,t,a){a.chart.toggleDataVisibility(t.index),a.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){let t=this._cachedMeta,a=this.chart,i=a.data.labels||[],r=tx(t._parsed[e].r,a.options.locale);return{label:i[e]||"",value:r}}parseObjectData(e,t,a,i){return am.bind(this)(e,t,a,i)}update(e){let t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){let e=this._cachedMeta,t={min:1/0,max:-1/0};return e.data.forEach((e,a)=>{let i=this.getParsed(a).r;!isNaN(i)&&this.chart.getDataVisibility(a)&&(i<t.min&&(t.min=i),i>t.max&&(t.max=i))}),t}_updateRadius(){let e=this.chart,t=e.chartArea,a=e.options,i=Math.max(Math.min(t.right-t.left,t.bottom-t.top)/2,0),r=Math.max(a.cutoutPercentage?i/100*a.cutoutPercentage:1,0),n=(i-r)/e.getVisibleDatasetCount();this.outerRadius=i-n*this.index,this.innerRadius=this.outerRadius-n}updateElements(e,t,a,i){let r,n="reset"===i,s=this.chart,l=s.options.animation,o=this._cachedMeta.rScale,c=o.xCenter,d=o.yCenter,u=o.getIndexAngle(0)-.5*eT,h=u,f=360/this.countVisibleElements();for(r=0;r<t;++r)h+=this._computeAngle(r,i,f);for(r=t;r<t+a;r++){let t=e[r],a=h,p=h+this._computeAngle(r,i,f),m=s.getDataVisibility(r)?o.getDistanceFromCenterForValue(this.getParsed(r).r):0;h=p,n&&(l.animateScale&&(m=0),l.animateRotate&&(a=p=u));let g={x:c,y:d,innerRadius:0,outerRadius:m,startAngle:a,endAngle:p,options:this.resolveDataElementOptions(r,t.active?"active":i)};this.updateElement(t,r,g,i)}}countVisibleElements(){let e=this._cachedMeta,t=0;return e.data.forEach((e,a)=>{!isNaN(this.getParsed(a).r)&&this.chart.getDataVisibility(a)&&t++}),t}_computeAngle(e,t,a){return this.chart.getDataVisibility(e)?eW(this.resolveDataElementOptions(e,t).angle||a):0}}class iX extends iq{static id="pie";
360static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class iJ extends iI{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){let t=this._cachedMeta.vScale,a=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(a[t.axis])}}parseObjectData(e,t,a,i){return am.bind(this)(e,t,a,i)}update(e){let t=this._cachedMeta,a=t.dataset,i=t.data||[],r=t.iScale.getLabels();if(a.points=i,"resize"!==e){let t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);let n={_loop:!0,_fullLoop:r.length===i.length,options:t};this.updateElement(a,void 0,n,e)}this.updateElements(i,0,i.length,e)}updateElements(e,t,a,i){let r=this._cachedMeta.rScale,n="reset"===i;for(let s=t;s<t+a;s++){let t=e[s],a=this.resolveDataElementOptions(s,t.active?"active":i),l=r.getPointPositionForValue(s,this.getParsed(s).r),o=n?r.xCenter:l.x,c=n?r.yCenter:l.y,d={x:o,y:c,angle:l.angle,skip:isNaN(o)||isNaN(c),options:a};this.updateElement(t,s,d,i)}}}class i0 extends iI{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(e){let t=this._cachedMeta,a=this.chart.data.labels||[],{xScale:i,yScale:r}=t,n=this.getParsed(e),s=i.getLabelForValue(n.x),l=r.getLabelForValue(n.y);return{label:a[e]||"",value:"("+s+", "+l+")"}}update(e){let t=this._cachedMeta,{data:a=[]}=t,i=this.chart._animationsDisabled,{start:r,count:n}=tn(t,a,i);if(this._drawStart=r,this._drawCount=n,ts(t)&&(r=0,n=a.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:r,_dataset:n}=t;r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!n._decimated,r.points=a;let s=this.resolveDatasetElementOptions(e);s.segment=this.options.segment,this.updateElement(r,void 0,{animated:!i,options:s},e)}else this.datasetElementType&&(delete t.dataset,this.datasetElementType=!1);this.updateElements(a,r,n,e)}addElements(){let{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,t,a,i){let r="reset"===i,{iScale:n,vScale:s,_stacked:l,_dataset:o}=this._cachedMeta,c=this.resolveDataElementOptions(t,i),d=this.getSharedOptions(c),u=this.includeOptions(i,d),h=n.axis,f=s.axis,{spanGaps:p,segment:m}=this.options,g=eH(p)?p:1/0,b=this.chart._animationsDisabled||r||"none"===i,_=t>0&&this.getParsed(t-1);for(let c=t;c<t+a;++c){let t=e[c],a=this.getParsed(c),p=b?t:{},y=et(a[f]),x=p[h]=n.getPixelForValue(a[h],c),v=p[f]=r||y?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,a,l):a[f],c);p.skip=isNaN(x)||isNaN(v)||y,p.stop=c>0&&Math.abs(a[h]-_[h])>g,m&&(p.parsed=a,p.raw=o.data[c]),u&&(p.options=d||this.resolveDataElementOptions(c,t.active?"active":i)),b||this.updateElement(t,c,p,i),_=a}this.updateSharedOptions(d,i,c)}getMaxOverflow(){let e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let a=t.length-1;a>=0;--a)e=Math.max(e,t[a].size(this.resolveDataElementOptions(a))/2);return e>0&&e}let a=e.dataset,i=a.options&&a.options.borderWidth||0;return t.length?Math.max(i,t[0].size(this.resolveDataElementOptions(0)),t[t.length-1].size(this.resolveDataElementOptions(t.length-1)))/2:i}}function i1(){throw Error("This method is not implemented: Check that a complete date adapter is provided.")}class i2{static override(e){Object.assign(i2.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return i1()}parse(){return i1()}format(){return i1()}add(){return i1()}diff(){return i1()}startOf(){return i1()}endOf(){return i1()}}var i3=i2;function i4(e,t,a,i){let{controller:r,data:n,_sorted:s}=e,l=r._cachedMeta.iScale,o=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(l&&t===l.axis&&"r"!==t&&s&&n.length){let s=l._reversePixels?e3:e2;if(i){if(r._sharedOptions){let e=n[0],i="function"==typeof e.getRange&&e.getRange(t);if(i){let e=s(n,t,a-i),r=s(n,t,a+i);return{lo:e.lo,hi:r.hi}}}}else{let i=s(n,t,a);if(o){let{vScale:t}=r._cachedMeta,{_parsed:a}=e,n=a.slice(0,i.lo+1).reverse().findIndex(e=>!et(e[t.axis]));i.lo-=Math.max(0,n);let s=a.slice(i.hi).findIndex(e=>!et(e[t.axis]));i.hi+=Math.max(0,s)}return i}}return{lo:0,hi:n.length-1}}function i6(e,t,a,i,r){let n=e.getSortedVisibleDatasetMetas(),s=a[t];for(let e=0,a=n.length;e<a;++e){let{index:a,data:l}=n[e],{lo:o,hi:c}=i4(n[e],t,s,r);for(let e=o;e<=c;++e){let t=l[e];
360t.skip||i(t,a,e)}}}function i5(e){let t=-1!==e.indexOf("x"),a=-1!==e.indexOf("y");return function(e,i){return Math.sqrt(Math.pow(t?Math.abs(e.x-i.x):0,2)+Math.pow(a?Math.abs(e.y-i.y):0,2))}}function i8(e,t,a,i,r){let n=[];if(!r&&!e.isPointInArea(t))return n;let s=function(a,s,l){(r||tF(a,e.chartArea,0))&&a.inRange(t.x,t.y,i)&&n.push({element:a,datasetIndex:s,index:l})};return i6(e,a,t,s,!0),n}function i7(e,t,a,i){let r=[];function n(e,a,n){let{startAngle:s,endAngle:l}=e.getProps(["startAngle","endAngle"],i),{angle:o}=eV(e,{x:t.x,y:t.y});eZ(o,s,l)&&r.push({element:e,datasetIndex:a,index:n})}return i6(e,a,t,n),r}function i9(e,t,a,i,r,n){let s=[],l=i5(a),o=1/0;function c(a,c,d){let u=a.inRange(t.x,t.y,r);if(i&&!u)return;let h=a.getCenterPoint(r);if(!(n||e.isPointInArea(h))&&!u)return;let f=l(t,h);f<o?(s=[{element:a,datasetIndex:c,index:d}],o=f):f===o&&s.push({element:a,datasetIndex:c,index:d})}return i6(e,a,t,c),s}function re(e,t,a,i,r,n){return n||e.isPointInArea(t)?"r"!==a||i?i9(e,t,a,i,r,n):i7(e,t,a,r):[]}function rt(e,t,a,i,r){let n=[],s="x"===a?"inXRange":"inYRange",l=!1;return(i6(e,a,t,(e,i,o)=>{e[s]&&e[s](t[a],r)&&(n.push({element:e,datasetIndex:i,index:o}),l=l||e.inRange(t.x,t.y,r))}),i&&!l)?[]:n}var ra={modes:{index(e,t,a,i){let r=aD(t,e),n=a.axis||"x",s=a.includeInvisible||!1,l=a.intersect?i8(e,r,n,i,s):re(e,r,n,!1,i,s),o=[];return l.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=l[0].index,a=e.data[t];a&&!a.skip&&o.push({element:a,datasetIndex:e.index,index:t})}),o):[]},dataset(e,t,a,i){let r=aD(t,e),n=a.axis||"xy",s=a.includeInvisible||!1,l=a.intersect?i8(e,r,n,i,s):re(e,r,n,!1,i,s);if(l.length>0){let t=l[0].datasetIndex,a=e.getDatasetMeta(t).data;l=[];for(let e=0;e<a.length;++e)l.push({element:a[e],datasetIndex:t,index:e})}return l},point(e,t,a,i){let r=aD(t,e);return i8(e,r,a.axis||"xy",i,a.includeInvisible||!1)},nearest(e,t,a,i){let r=aD(t,e),n=a.axis||"xy",s=a.includeInvisible||!1;return re(e,r,n,a.intersect,i,s)},x(e,t,a,i){let r=aD(t,e);return rt(e,r,"x",a.intersect,i)},y(e,t,a,i){let r=aD(t,e);return rt(e,r,"y",a.intersect,i)}}};let ri=["left","top","right","bottom"];function rr(e,t){return e.filter(e=>e.pos===t)}function rn(e,t){return e.filter(e=>-1===ri.indexOf(e.pos)&&e.box.axis===t)}function rs(e,t){return e.sort((e,a)=>{let i=t?a:e,r=t?e:a;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function rl(e){let t,a,i,r,n,s,l=[];for(t=0,a=(e||[]).length;t<a;++t)i=e[t],({position:r,options:{stack:n,stackWeight:s=1}}=i),l.push({index:t,box:i,pos:r,horizontal:i.isHorizontal(),weight:i.weight,stack:n&&r+n,stackWeight:s});return l}function ro(e){let t={};for(let a of e){let{stack:e,pos:i,stackWeight:r}=a;if(!e||!ri.includes(i))continue;let n=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});n.count++,n.weight+=r}return t}function rc(e,t){let a,i,r,n=ro(e),{vBoxMaxWidth:s,hBoxMaxHeight:l}=t;for(a=0,i=e.length;a<i;++a){let{fullSize:i}=(r=e[a]).box,o=n[r.stack],c=o&&r.stackWeight/o.weight;r.horizontal?(r.width=c?c*s:i&&t.availableWidth,r.height=l):(r.width=s,r.height=c?c*l:i&&t.availableHeight)}return n}function rd(e){let t=rl(e),a=rs(t.filter(e=>e.box.fullSize),!0),i=rs(rr(t,"left"),!0),r=rs(rr(t,"right")),n=rs(rr(t,"top"),!0),s=rs(rr(t,"bottom")),l=rn(t,"x"),o=rn(t,"y");return{fullSize:a,leftAndTop:i.concat(n),rightAndBottom:r.concat(o).concat(s).concat(l),chartArea:rr(t,"chartArea"),vertical:i.concat(r).concat(o),horizontal:n.concat(s).concat(l)}}function ru(e,t,a,i){return Math.max(e[a],t[a])+Math.max(e[i],t[i])}function rh(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function rf(e,t,a,i){let{pos:r,box:n}=a,s=e.maxPadding;if(!ei(r)){a.size&&(e[r]-=a.size);let t=i[a.stack]||{size:0,count:1};t.size=Math.max(t.size,a.horizontal?n.height:n.width),a.size=t.size/t.count,e[r]+=a.size}n.getPadding&&rh(s,n.getPadding());let l=Math.max(0,t.outerWidth-ru(s,e,"left","right")),o=Math.max(0,t.outerHeight-ru(s,e,"top","bottom")),c=l!==e.w,d=o!==e.h;return e.w=l,e.h=o,a.horizontal?{same:c,other:d}:{same:d,other:c}}function rp(e){let t=e.maxPadding;function a(a){let i=Math.max(t[a]-e[a],0);return e[a]+=i,i}e.y+=a("top"),e.x+=a("left"),a("right"),a("bottom")}function rm(e,t){let a=t.maxPadding;return function e(e){let i={left:0,top:0,right:0,bottom:0};
360return e.forEach(e=>{i[e]=Math.max(t[e],a[e])}),i}(e?["left","right"]:["top","bottom"])}function rg(e,t,a,i){let r,n,s,l,o,c,d=[];for(r=0,n=e.length,o=0;r<n;++r){(l=(s=e[r]).box).update(s.width||t.w,s.height||t.h,rm(s.horizontal,t));let{same:n,other:u}=rf(t,a,s,i);o|=n&&d.length,c=c||u,l.fullSize||d.push(s)}return o&&rg(d,t,a,i)||c}function rb(e,t,a,i,r){e.top=a,e.left=t,e.right=t+i,e.bottom=a+r,e.width=i,e.height=r}function r_(e,t,a,i){let r=a.padding,{x:n,y:s}=t;for(let l of e){let e=l.box,o=i[l.stack]||{count:1,placed:0,weight:1},c=l.stackWeight/o.weight||1;if(l.horizontal){let i=t.w*c,n=o.size||e.height;ew(o.start)&&(s=o.start),e.fullSize?rb(e,r.left,s,a.outerWidth-r.right-r.left,n):rb(e,t.left+o.placed,s,i,n),o.start=s,o.placed+=i,s=e.bottom}else{let i=t.h*c,s=o.size||e.width;ew(o.start)&&(n=o.start),e.fullSize?rb(e,n,r.top,s,a.outerHeight-r.bottom-r.top):rb(e,n,t.top+o.placed,s,i),o.start=n,o.placed+=i,n=e.right}}t.x=n,t.y=s}var ry={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){let a=e.boxes?e.boxes.indexOf(t):-1;-1!==a&&e.boxes.splice(a,1)},configure(e,t,a){t.fullSize=a.fullSize,t.position=a.position,t.weight=a.weight},update(e,t,a,i){if(!e)return;let r=t1(e.options.layout.padding),n=Math.max(t-r.width,0),s=Math.max(a-r.height,0),l=rd(e.boxes),o=l.vertical,c=l.horizontal;ed(e.boxes,e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()});let d=Object.freeze({outerWidth:t,outerHeight:a,padding:r,availableWidth:n,availableHeight:s,vBoxMaxWidth:n/2/(o.reduce((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1,0)||1),hBoxMaxHeight:s/2}),u=Object.assign({},r);rh(u,t1(i));let h=Object.assign({maxPadding:u,w:n,h:s,x:r.left,y:r.top},r),f=rc(o.concat(c),d);rg(l.fullSize,h,d,f),rg(o,h,d,f),rg(c,h,d,f)&&rg(o,h,d,f),rp(h),r_(l.leftAndTop,h,d,f),h.x+=h.w,h.y+=h.h,r_(l.rightAndBottom,h,d,f),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},ed(l.chartArea,t=>{let a=t.box;Object.assign(a,e.chartArea),a.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class rx{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,a){}removeEventListener(e,t,a){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,a,i){return t=Math.max(0,t||e.width),a=a||e.height,{width:t,height:Math.max(0,i?Math.floor(t/i):a)}}isAttached(e){return!0}updateConfig(e){}}class rv extends rx{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}let rA="$chartjs",rw={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},rE=e=>null===e||""===e;function rS(e,t){let a=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e[rA]={initial:{height:i,width:r,style:{display:a.display,height:a.height,width:a.width}}},a.display=a.display||"block",a.boxSizing=a.boxSizing||"border-box",rE(r)){let t=aH(e,"width");void 0!==t&&(e.width=t)}if(rE(i))if(""===e.style.height)e.height=e.width/(t||2);else{let t=aH(e,"height");void 0!==t&&(e.height=t)}return e}let rC=!!aU&&{passive:!0};function rT(e,t,a){e&&e.addEventListener(t,a,rC)}function rN(e,t,a){e&&e.canvas&&e.canvas.removeEventListener(t,a,rC)}function rk(e,t){let a=rw[e.type]||e.type,{x:i,y:r}=aD(e,t);return{type:a,chart:t,native:e,x:void 0!==i?i:null,y:void 0!==r?r:null}}function rI(e,t){for(let a of e)if(a===t||a.contains(t))return!0}function rj(e,t,a){let i=e.canvas,r=new MutationObserver(e=>{let t=!1;for(let a of e)t=(t=t||rI(a.addedNodes,i))&&!rI(a.removedNodes,i);t&&a()});return r.observe(document,{childList:!0,subtree:!0}),r}function rP(e,t,a){let i=e.canvas,r=new MutationObserver(e=>{let t=!1;for(let a of e)t=(t=t||rI(a.removedNodes,i))&&!rI(a.addedNodes,i);t&&a()});return r.observe(document,{childList:!0,subtree:!0}),r}let rL=new Map,rO=0;function rD(){let e=window.devicePixelRatio;
360e!==rO&&(rO=e,rL.forEach((t,a)=>{a.currentDevicePixelRatio!==e&&t()}))}function rM(e,t){rL.size||window.addEventListener("resize",rD),rL.set(e,t)}function rR(e){rL.delete(e),rL.size||window.removeEventListener("resize",rD)}function rF(e,t,a){let i=e.canvas,r=i&&aT(i);if(!r)return;let n=te((e,t)=>{let i=r.clientWidth;a(e,t),i<r.clientWidth&&a()},window),s=new ResizeObserver(e=>{let t=e[0],a=t.contentRect.width,i=t.contentRect.height;(0!==a||0!==i)&&n(a,i)});return s.observe(r),rM(e,n),s}function rB(e,t,a){a&&a.disconnect(),"resize"===t&&rR(e)}function rU(e,t,a){let i=e.canvas,r=te(t=>{null!==e.ctx&&a(rk(t,e))},e);return rT(i,t,r),r}class rH extends rx{acquireContext(e,t){let a=e&&e.getContext&&e.getContext("2d");return a&&a.canvas===e?(rS(e,t),a):null}releaseContext(e){let t=e.canvas;if(!t[rA])return!1;let a=t[rA].initial;["height","width"].forEach(e=>{let i=a[e];et(i)?t.removeAttribute(e):t.setAttribute(e,i)});let i=a.style||{};return Object.keys(i).forEach(e=>{t.style[e]=i[e]}),t.width=t.width,delete t[rA],!0}addEventListener(e,t,a){this.removeEventListener(e,t);let i=e.$proxies||(e.$proxies={}),r={attach:rj,detach:rP,resize:rF}[t]||rU;i[t]=r(e,t,a)}removeEventListener(e,t){let a=e.$proxies||(e.$proxies={}),i=a[t];i&&((({attach:rB,detach:rB,resize:rB})[t]||rN)(e,t,i),a[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,a,i){return aF(e,t,a,i)}isAttached(e){let t=e&&aT(e);return!!(t&&t.isConnected)}}function r$(e){return!aC()||"u">typeof OffscreenCanvas&&e instanceof OffscreenCanvas?rv:rH}class rG{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:a}=this.getProps(["x","y"],e);return{x:t,y:a}}hasValue(){return eH(this.x)&&eH(this.y)}getProps(e,t){let a=this.$animations;if(!t||!a)return this;let i={};return e.forEach(e=>{i[e]=a[e]&&a[e].active()?a[e]._to:this[e]}),i}}function rW(e,t){let a=e.options.ticks,i=rY(e),r=Math.min(a.maxTicksLimit||i,i),n=a.major.enabled?rV(t):[],s=n.length,l=n[0],o=n[s-1],c=[];if(s>r)return rK(t,c,n,s/r),c;let d=rz(n,t,r);if(s>0){let e,a,i=s>1?Math.round((o-l)/(s-1)):null;for(rq(t,c,d,et(i)?0:l-i,l),e=0,a=s-1;e<a;e++)rq(t,c,d,n[e],n[e+1]);return rq(t,c,d,o,et(i)?t.length:o+i),c}return rq(t,c,d),c}function rY(e){let t=e.options.offset,a=e._tickSize();return Math.floor(Math.min(e._length/a+ +!t,e._maxLength/a))}function rz(e,t,a){let i=rQ(e),r=t.length/a;if(!i)return Math.max(r,1);let n=eB(i);for(let e=0,t=n.length-1;e<t;e++){let t=n[e];if(t>r)return t}return Math.max(r,1)}function rV(e){let t,a,i=[];for(t=0,a=e.length;t<a;t++)e[t].major&&i.push(t);return i}function rK(e,t,a,i){let r,n=0,s=a[0];for(r=0,i=Math.ceil(i);r<e.length;r++)r===s&&(t.push(e[r]),s=a[++n*i])}function rq(e,t,a,i,r){let n,s,l,o=es(i,0),c=Math.min(es(r,e.length),e.length),d=0;for(a=Math.ceil(a),r&&(a=(n=r-i)/Math.floor(n/a)),l=o;l<0;)l=Math.round(o+ ++d*a);for(s=Math.max(o,0);s<c;s++)s===l&&(t.push(e[s]),l=Math.round(o+ ++d*a))}function rQ(e){let t,a,i=e.length;if(i<2)return!1;for(a=e[0],t=1;t<i;++t)if(e[t]-e[t-1]!==a)return!1;return a}let rZ=e=>"left"===e?"right":"right"===e?"left":e,rX=(e,t,a)=>"top"===t||"left"===t?e[t]+a:e[t]-a,rJ=(e,t)=>Math.min(t||e,e);function r0(e,t){let a=[],i=e.length/t,r=e.length,n=0;for(;n<r;n+=i)a.push(e[Math.floor(n)]);return a}function r1(e,t,a){let i,r=e.ticks.length,n=Math.min(t,r-1),s=e._startPixel,l=e._endPixel,o=1e-6,c=e.getPixelForTick(n);if(!a||(i=1===r?Math.max(c-s,l-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(n-1))/2,!((c+=n<t?i:-i)<s-o)&&!(c>l+o)))return c}function r2(e,t){ed(e,e=>{let a,i=e.gc,r=i.length/2;if(r>t){for(a=0;a<r;++a)delete e.data[i[a]];i.splice(0,r)}})}function r3(e){return e.drawTicks?e.tickLength:0}function r4(e,t){if(!e.display)return 0;let a=t2(e.font,t),i=t1(e.padding);return(ea(e.text)?e.text.length:1)*a.lineHeight+i.height}function r6(e,t){return t6(e,{scale:t,type:"scale"})}function r5(e,t,a){return t6(e,{tick:a,index:t,type:"tick"})}function r8(e,t,a){let i=ta(e);return(a&&"right"!==t||!a&&"right"===t)&&(i=rZ(i)),i}function r7(e,t,a,i){let r,n,s,{top:l,left:o,bottom:c,right:d,chart:u}=e,{chartArea:h,scales:f}
vendor: 7,263 bytes, line 360
360=u,p=0,m=c-l,g=d-o;if(e.isHorizontal()){if(n=ti(i,o,d),ei(a)){let e=Object.keys(a)[0],i=a[e];s=f[e].getPixelForValue(i)+m-t}else s="center"===a?(h.bottom+h.top)/2+m-t:rX(e,a,t);r=d-o}else{if(ei(a)){let e=Object.keys(a)[0],i=a[e];n=f[e].getPixelForValue(i)-g+t}else n="center"===a?(h.left+h.right)/2-g+t:rX(e,a,t);s=ti(i,c,l),p="left"===a?-eP:eP}return{titleX:n,titleY:s,maxWidth:r,rotation:p}}class r9 extends rG{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:a,_suggestedMax:i}=this;return e=en(e,1/0),t=en(t,-1/0),a=en(a,1/0),i=en(i,-1/0),{min:en(e,a),max:en(t,i),minDefined:er(e),maxDefined:er(t)}}getMinMax(e){let t,{min:a,max:i,minDefined:r,maxDefined:n}=this.getUserBounds();if(r&&n)return{min:a,max:i};let s=this.getMatchingVisibleMetas();for(let l=0,o=s.length;l<o;++l)t=s[l].controller.getMinMax(this,e),r||(a=Math.min(a,t.min)),n||(i=Math.max(i,t.max));return a=n&&a>i?i:a,i=r&&a>i?a:i,{min:en(a,en(i,a)),max:en(i,en(a,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ec(this.options.beforeUpdate,[this])}update(e,t,a){let{beginAtZero:i,grace:r,ticks:n}=this.options,s=n.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=a=Object.assign({left:0,right:0,top:0,bottom:0},a),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+a.left+a.right:this.height+a.top+a.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=t4(this,r,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=s<this.ticks.length;this._convertTicksToLabels(l?r0(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),n.display&&(n.autoSkip||"auto"===n.source)&&(this.ticks=rW(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,a=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,a=!a),this._startPixel=e,this._endPixel=t,this._reversePixels=a,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ec(this.options.afterUpdate,[this])}beforeSetDimensions(){ec(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){ec(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),ec(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ec(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){let t,a,i,r=this.options.ticks;for(t=0,a=e.length;t<a;t++)(i=e[t]).label=ec(r.callback,[i.value,t,e],this)}afterTickToLabelConversion(){ec(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ec(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let e,t,a,i=this.options,r=i.ticks,n=rJ(this.ticks.length,i.ticks.maxTicksLimit),s=r.minRotation||0,l=r.maxRotation,o=s;if(!this._isVisible()||!r.display||s>=l||n<=1||!this.isHorizontal()){this.labelRotation=s;return}let c=this._getLabelSizes(),d=c.widest.width,u=c.highest.height,h=eX(this.chart.width-d,0,this.maxWidth);d+6>(e=i.offset?this.maxWidth/n:h/(n-1))&&(e=h/(n-(i.offset?.5:1)),t=this.maxHeight-r3(i.grid)-r.padding-r4(i.title,this.chart.options.font),a=Math.sqrt(d*d+u*u),o=Math.max(s,Math.min(l,o=eY(Math.min(Math.asin(eX((c.highest.height+6)/e,-1,1)),Math.asin(eX(t/a,-1,1))-Math.asin(eX(u/a,-1,1))))))),this.labelRotation=o}afterCalculateLabelRotation(){ec(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ec(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:a,title:i,grid:r}}=this,n=this._isVisible(),s=this.isHorizontal();if(n){let n=r4(i,t.options.font);if(s?(e.width=this.maxWidth,e.height=r3(r)+n):(e.height=this.maxHeight,e.width=r3(r)+n),a.display&&this.ticks.length){let{first:t,last:i,widest:r,highest:n}=this._getLabelSizes(),l=2*a.padding,o=eW(this.labelRotation),c=Math.cos(o),d=Math.sin(o);if(s){let t=a.mirror?0:d*r.width+c*n.height;e.height=Math.min(this.maxHeight,e.height+t+l)}else{let t=a.mirror?0:c*r.width+d*n.height;e.width=Math.min(this.maxWidth,e.width+t+l)}this._calculatePadding(t,i,d,c)}}this._handleMargins(),s?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,a,i){let{ticks:{align:r,padding:n},position:s}=this.options,l=0!==this.labelRotation,o="top"!==s&&"x"===this.axis;if(this.isHorizontal()){let s=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1),d=0,u=0;l?o?(d=i*e.width,u=a*t.height):(d=a*e.height,u=i*t.width):"start"===r?u=t.width:"end"===r?d=e.width:"inner"!==r&&(d=e.width/2,u=t.width/2),this.paddingLeft=Math.max((d-s+n)*this.width/(this.width-s),0),this.paddingRight=Math.max((u-c+n)*this.width/(this.width-c),0)}else{let a=t.height/2,i=e.height/2;
360"start"===r?(a=0,i=e.height):"end"===r&&(a=t.height,i=0),this.paddingTop=a+n,this.paddingBottom=i+n}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){ec(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,a;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,a=e.length;t<a;t++)et(e[t].label)&&(e.splice(t,1),a--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){let t=this.options.ticks.sampleSize,a=this.ticks;t<a.length&&(a=r0(a,t)),this._labelSizes=e=this._computeLabelSizes(a,a.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,a){let i,r,n,s,l,o,c,d,u,h,f,{ctx:p,_longestTextCache:m}=this,g=[],b=[],_=Math.floor(t/rJ(t,a)),y=0,x=0;for(i=0;i<t;i+=_){if(s=e[i].label,p.font=o=(l=this._resolveTickFontOptions(i)).string,c=m[o]=m[o]||{data:{},gc:[]},d=l.lineHeight,u=h=0,et(s)||ea(s)){if(ea(s))for(r=0,n=s.length;r<n;++r)et(f=s[r])||ea(f)||(u=tP(p,c.data,c.gc,u,f),h+=d)}else u=tP(p,c.data,c.gc,u,s),h=d;g.push(u),b.push(h),y=Math.max(u,y),x=Math.max(h,x)}r2(m,t);let v=g.indexOf(y),A=b.indexOf(x),w=e=>({width:g[e]||0,height:b[e]||0});return{first:w(0),last:w(t-1),widest:w(v),highest:w(A),widths:g,heights:b}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return eJ(this._alignToPixels?tO(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&e<t.length){let a=t[e];return a.$context||(a.$context=r5(this.getContext(),e,a))}return this.$context||(this.$context=r6(this.chart.getContext(),this))}_tickSize(){let e=this.options.ticks,t=eW(this.labelRotation),a=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),r=this._getLabelSizes(),n=e.autoSkipPadding||0,s=r?r.widest.width+n:0,l=r?r.highest.height+n:0;return this.isHorizontal()?l*a>s*i?s/a:l/i:l*i<s*a?l/a:s/i}_isVisible(){let e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){let t,a,i,r,n,s,l,o,c,d,u,h,f=this.axis,p=this.chart,m=this.options,{grid:g,position:b,border:_}=m,y=g.offset,x=this.isHorizontal(),v=this.ticks.length+ +!!y,A=r3(g),w=[],E=_.setContext(this.getContext()),S=E.display?E.width:0,C=S/2,T=function(e){return tO(p,e,S)};if("top"===b)t=T(this.bottom),s=this.bottom-A,o=t-C,d=T(e.top)+C,h=e.bottom;else if("bottom"===b)t=T(this.top),d=e.top,h=T(e.bottom)-C,s=t+C,o=this.top+A;else if("left"===b)t=T(this.right),n=this.right-A,l=t-C,c=T(e.left)+C,u=e.right;else if("right"===b)t=T(this.left),c=e.left,u=T(e.right)-C,n=t+C,l=this.left+A;else if("x"===f){if("center"===b)t=T((e.top+e.bottom)/2+.5);else if(ei(b)){let e=Object.keys(b)[0],a=b[e];t=T(this.chart.scales[e].getPixelForValue(a))}d=e.top,h=e.bottom,o=(s=t+C)+A}else if("y"===f){if("center"===b)t=T((e.left+e.right)/2);else if(ei(b)){let e=Object.keys(b)[0],a=b[e];t=T(this.chart.scales[e].getPixelForValue(a))}l=(n=t-C)-A,c=e.left,u=e.right}let N=es(m.ticks.maxTicksLimit,v),k=Math.max(1,Math.ceil(v/N));for(a=0;a<v;a+=k){let e=this.getContext(a),t=g.setContext(e),f=_.setContext(e),m=t.lineWidth,b=t.color,v=f.dash||[],A=f.dashOffset,E=t.tickWidth,S=t.tickColor,C=t.tickBorderDash||[],T=t.tickBorderDashOffset;void 0!==(i=r1(this,a,y))&&(r=tO(p,i,m),x?n=l=c=u=r:s=o=d=h=r,w.push({tx1:n,ty1:s,tx2:l,ty2:o,x1:c,y1:d,x2:u,y2:h,width:m,color:b,borderDash:v,borderDashOffset:A,tickWidth:E,tickColor:S,tickBorderDash:C,tickBorderDashOffset:T}))}return this._ticksLength=v,this._borderValue=t,w}_computeLabelItems(e){let t,a,i,r,n,s,l,o,c,d,u,h=this.axis,f=this.options,{position:p,ticks:m}=f,g=this.isHorizontal(),b=this.ticks,{align:_,crossAlign:y,padding:x,mirror:v}=m,A=r3(f.grid),w=A+x,E=v?-x:w,S=-eW(this.labelRotation),C=[],T="middle";if("top"===p)n=this.bottom-E,s=this._getXAxisLabelAlignment();else if("bottom"===p)n=this.top+E,s=this._getXAxisLabelAlignment();else if("left"===p){let e=this._getYAxisLabelAlignment(A);s=e.textAlign,r=e.x}else if("right"===p){let e=this._getYAxisLabelAlignment(A);s=e.textAlign,r=e.x}else if("x"===h){if("center"===p)n=(e.top+e.bottom)/2+w;else if(ei(p)){let e=Object.keys(p)[0],t=p[e];n=this.chart.scales[e].getPixelForValue(t)+w}s=this._getXAxisLabelAlignment()}else if("y"===h){if("center"===p)r=(e.left+e.right)/2-w;else if(ei(p)){let e=Object.keys(p)[0],t=p[e];r=this.chart.scales[e].getPixelForValue(t)}s=this._getYAxisLabelAlignment(A).textAlign}"y"===h&&("start"===_?T="top":"end"===_&&(T="bottom"));let N=this._getLabelSizes();for(t=0,a=b.length;t<a;++t){let e;i=b[t].label;let h=m.setContext(this.getContext(t));l=this.getPixelForTick(t)+m.labelOffset,c=(o=this._resolveTickFontOptions(t)).lineHeight;let f=(d=ea(i)?i.length:1)/2,_=h.color,x=h.textStrokeColor,A=h.textStrokeWidth,w=s;
vendor: 1,844 bytes, line 360
360if(g?(r=l,"inner"===s&&(w=t===a-1?this.options.reverse?"left":"right":0===t?this.options.reverse?"right":"left":"center"),u="top"===p?"near"===y||0!==S?-d*c+c/2:"center"===y?-N.highest.height/2-f*c+c:-N.highest.height+c/2:"near"===y||0!==S?c/2:"center"===y?N.highest.height/2-f*c:N.highest.height-d*c,v&&(u*=-1),0===S||h.showLabelBackdrop||(r+=c/2*Math.sin(S))):(n=l,u=(1-d)*c/2),h.showLabelBackdrop){let i=t1(h.backdropPadding),r=N.heights[t],n=N.widths[t],l=u-i.top,o=0-i.left;switch(T){case"middle":l-=r/2;break;case"bottom":l-=r}switch(s){case"center":o-=n/2;break;case"right":o-=n;break;case"inner":t===a-1?o-=n:t>0&&(o-=n/2)}e={left:o,top:l,width:n+i.width,height:r+i.height,color:h.backdropColor}}C.push({label:i,font:o,textOffset:u,options:{rotation:S,color:_,strokeColor:x,strokeWidth:A,textAlign:w,textBaseline:T,translation:[r,n],backdrop:e}})}return C}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-eW(this.labelRotation))return"top"===e?"left":"right";let a="center";return"start"===t.align?a="left":"end"===t.align?a="right":"inner"===t.align&&(a="inner"),a}_getYAxisLabelAlignment(e){let t,a,{position:i,ticks:{crossAlign:r,mirror:n,padding:s}}=this.options,l=this._getLabelSizes(),o=e+s,c=l.widest.width;return"left"===i?n?(a=this.right+s,"near"===r?t="left":"center"===r?(t="center",a+=c/2):(t="right",a+=c)):(a=this.right-o,"near"===r?t="right":"center"===r?(t="center",a-=c/2):(t="left",a=this.left)):"right"===i?n?(a=this.left+s,"near"===r?t="right":"center"===r?(t="center",a-=c/2):(t="left",a-=c)):(a=this.left+o,"near"===r?t="left":"center"===r?(t="center",a+=c/2):(t="right",a=this.right)):t="right",{textAlign:t,x:a}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}
360:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:a,top:i,width:r,height:n}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(a,i,r,n),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let a=this.ticks.findIndex(t=>t.value===e);return a>=0?t.setContext(this.getContext(a)).lineWidth:0}drawGrid(e){let t,a,i=this.options.grid,r=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e)),s=(e,t,a)=>{a.width&&a.color&&(r.save(),r.lineWidth=a.width,r.strokeStyle=a.color,r.setLineDash(a.borderDash||[]),r.lineDashOffset=a.borderDashOffset,r.beginPath(),r.moveTo(e.x,e.y),r.lineTo(t.x,t.y),r.stroke(),r.restore())};if(i.display)for(t=0,a=n.length;t<a;++t){let e=n[t];i.drawOnChartArea&&s({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),i.drawTicks&&s({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){let e,t,a,i,{chart:r,ctx:n,options:{border:s,grid:l}}=this,o=s.setContext(this.getContext()),c=s.display?o.width:0;if(!c)return;let d=l.setContext(this.getContext(0)).lineWidth,u=this._borderValue;this.isHorizontal()?(e=tO(r,this.left,c)-c/2,t=tO(r,this.right,d)+d/2,a=i=u):(a=tO(r,this.top,c)-c/2,i=tO(r,this.bottom,d)+d/2,e=t=u),n.save(),n.lineWidth=o.width,n.strokeStyle=o.color,n.beginPath(),n.moveTo(e,a),n.lineTo(t,i),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;let t=this.ctx,a=this._computeLabelArea();for(let i of(a&&tB(t,a),this.getLabelItems(e))){let e=i.options,a=i.font;tz(t,i.label,0,i.textOffset,a,e)}a&&tU(t)}drawTitle(){let{ctx:e,options:{position:t,title:a,reverse:i}}=this;if(!a.display)return;let r=t2(a.font),n=t1(a.padding),s=a.align,l=r.lineHeight/2;"bottom"===t||"center"===t||ei(t)?(l+=n.bottom,ea(a.text)&&(l+=r.lineHeight*(a.text.length-1))):l+=n.top;let{titleX:o,titleY:c,maxWidth:d,rotation:u}=r7(this,l,t,s);tz(e,a.text,0,0,r,{color:a.color,maxWidth:d,rotation:u,textAlign:r8(s,t,i),textBaseline:"middle",translation:[o,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){let e=this.options,t=e.ticks&&e.ticks.z||0,a=es(e.grid&&e.grid.z,-1),i=es(e.border&&e.border.z,0);return this._isVisible()&&this.draw===r9.prototype.draw?[{z:a,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){let t,a,i=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",n=[];for(t=0,a=i.length;t<a;++t){let a=i[t];a[r]!==this.id||e&&a.type!==e||n.push(a)}return n}_resolveTickFontOptions(e){return t2(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){let e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class ne{constructor(e,t,a){this.type=e,this.scope=t,this.override=a,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){let t,a=Object.getPrototypeOf(e);ni(a)&&(t=this.register(a));let i=this.items,r=e.id,n=this.scope+"."+r;if(!r)throw Error("class does not have id: "+e);return r in i||(i[r]=e,nt(e,n,t),this.override&&tI.override(e.id,e.overrides)),n}get(e){return this.items[e]}unregister(e){let t=this.items,a=e.id,i=this.scope;a in t&&delete t[a],i&&a in tI[i]&&(delete tI[i][a],this.override&&delete tS[a])}}function nt(e,t,a){let i=em(Object.create(null),[a?tI.get(a):{},tI.get(t),e.defaults]);tI.set(t,i),e.defaultRoutes&&na(t,e.defaultRoutes),e.descriptors&&tI.describe(t,e.descriptors)}function na(e,t){Object.keys(t).forEach(a=>{let i=a.split("."),r=i.pop(),n=[e].concat(i).join("."),s=t[a].split("."),l=s.pop(),o=s.join(".");tI.route(n,r,o,l)})}function ni(e){return"id"in e&&"defaults"in e}class nr{constructor(){this.controllers=new ne(iI,"datasets",!0),this.elements=new ne(rG,"elements"),this.plugins=new ne(Object,"plugins"),this.scales=new ne(r9,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}
360removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,a){[...t].forEach(t=>{let i=a||this._getRegistryForType(t);a||i.isForType(t)||i===this.plugins&&t.id?this._exec(e,i,t):ed(t,t=>{let i=a||this._getRegistryForType(t);this._exec(e,i,t)})})}_exec(e,t,a){let i=eA(e);ec(a["before"+i],[],a),t[e](a),ec(a["after"+i],[],a)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){let a=this._typedRegistries[t];if(a.isForType(e))return a}return this.plugins}_get(e,t,a){let i=t.get(e);if(void 0===i)throw Error('"'+e+'" is not a registered '+a+".");return i}}var nn=new nr;class ns{constructor(){this._init=void 0}notify(e,t,a,i){if("beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),void 0===this._init)return;let r=i?this._descriptors(e).filter(i):this._descriptors(e),n=this._notify(r,e,t,a);return"afterDestroy"===t&&(this._notify(r,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),n}_notify(e,t,a,i){for(let r of(i=i||{},e)){let e=r.plugin;if(!1===ec(e[a],[t,i,r.options],e)&&i.cancelable)return!1}return!0}invalidate(){et(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;let t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){let a=e&&e.config,i=es(a.options&&a.options.plugins,{}),r=nl(a);return!1!==i||t?nc(e,r,i,t):[]}_notifyStateChanges(e){let t=this._oldCache||[],a=this._cache,i=(e,t)=>e.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(i(t,a),e,"stop"),this._notify(i(a,t),e,"start")}}function nl(e){let t={},a=[],i=Object.keys(nn.plugins.items);for(let e=0;e<i.length;e++)a.push(nn.getPlugin(i[e]));let r=e.plugins||[];for(let e=0;e<r.length;e++){let i=r[e];-1===a.indexOf(i)&&(a.push(i),t[i.id]=!0)}return{plugins:a,localIds:t}}function no(e,t){return t||!1!==e?!0===e?{}:e:null}function nc(e,{plugins:t,localIds:a},i,r){let n=[],s=e.getContext();for(let l of t){let t=l.id,o=no(i[t],r);null!==o&&n.push({plugin:l,options:nd(e.config,{plugin:l,local:a[t]},o,s)})}return n}function nd(e,{plugin:t,local:a},i,r){let n=e.pluginScopeKeys(t),s=e.getOptionScopes(i,n);return a&&t.defaults&&s.push(t.defaults),e.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function nu(e,t){let a=tI.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||a.indexAxis||"x"}function nh(e,t){let a=e;return"_index_"===e?a=t:"_value_"===e&&(a="x"===t?"y":"x"),a}function nf(e,t){return e===t?"_index_":"_value_"}function np(e){if("x"===e||"y"===e||"r"===e)return e}
vendor: 7,312 bytes, line 360
360function nm(e){return"top"===e||"bottom"===e?"x":"left"===e||"right"===e?"y":void 0}function ng(e,...t){if(np(e))return e;for(let a of t){let t=a.axis||nm(a.position)||e.length>1&&np(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function nb(e,t,a){if(a[t+"AxisID"]===e)return{axis:t}}function n_(e,t){if(t.data&&t.data.datasets){let a=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(a.length)return nb(e,"x",a[0])||nb(e,"y",a[0])}return{}}function ny(e,t){let a=tS[e.type]||{scales:{}},i=t.scales||{},r=nu(e.type,t),n=Object.create(null);return Object.keys(i).forEach(t=>{let s=i[t];if(!ei(s))return console.error(`Invalid scale configuration for scale: ${t}`);if(s._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let l=ng(t,s,n_(t,e),tI.scales[s.type]),o=nf(l,r),c=a.scales||{};n[t]=eg(Object.create(null),[{axis:l},s,c[l],c[o]])}),e.data.datasets.forEach(a=>{let r=a.type||e.type,s=a.indexAxis||nu(r,t),l=(tS[r]||{}).scales||{};Object.keys(l).forEach(e=>{let t=nh(e,s),r=a[t+"AxisID"]||t;n[r]=n[r]||Object.create(null),eg(n[r],[{axis:t},i[r],l[e]])})}),Object.keys(n).forEach(e=>{let t=n[e];eg(t,[tI.scales[t.type],tI.scale])}),n}function nx(e){let t=e.options||(e.options={});t.plugins=es(t.plugins,{}),t.scales=ny(e,t)}function nv(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}function nA(e){return(e=e||{}).data=nv(e.data),nx(e),e}let nw=new Map,nE=new Set;function nS(e,t){let a=nw.get(e);return a||(a=t(),nw.set(e,a),nE.add(a)),a}let nC=(e,t,a)=>{let i=ev(t,a);void 0!==i&&e.add(i)};class nT{constructor(e){this._config=nA(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=nv(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),nx(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return nS(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return nS(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return nS(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){let t=e.id,a=this.type;return nS(`${a}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let a=this._scopeCache,i=a.get(e);return(!i||t)&&(i=new Map,a.set(e,i)),i}getOptionScopes(e,t,a){let{options:i,type:r}=this,n=this._cachedScopes(e,a),s=n.get(t);if(s)return s;let l=new Set;t.forEach(t=>{e&&(l.add(e),t.forEach(t=>nC(l,e,t))),t.forEach(e=>nC(l,i,e)),t.forEach(e=>nC(l,tS[r]||{},e)),t.forEach(e=>nC(l,tI,e)),t.forEach(e=>nC(l,tC,e))});let o=Array.from(l);return 0===o.length&&o.push(Object.create(null)),nE.has(t)&&n.set(t,o),o}chartOptionScopes(){let{options:e,type:t}=this;return[e,tS[t]||{},tI.datasets[t]||{},{type:t},tI,tC]}resolveNamedOptions(e,t,a,i=[""]){let r={$shared:!0},{resolver:n,subPrefixes:s}=nN(this._resolverCache,e,i),l=n;if(nI(n,t)){r.$shared=!1,a=eE(a)?a():a;let t=this.createResolver(e,a,s);l=t8(n,a,t)}for(let e of t)r[e]=l[e];return r}createResolver(e,t,a=[""],i){let{resolver:r}=nN(this._resolverCache,e,a);return ei(t)?t8(r,t,void 0,i):r}}function nN(e,t,a){let i=e.get(t);i||(i=new Map,e.set(t,i));let r=a.join(),n=i.get(r);return n||(n={resolver:t5(t,a),subPrefixes:a.filter(e=>!e.toLowerCase().includes("hover"))},i.set(r,n)),n}let nk=e=>ei(e)&&Object.getOwnPropertyNames(e).some(t=>eE(e[t]));function nI(e,t){let{isScriptable:a,isIndexable:i}=t7(e);for(let r of t){let t=a(r),n=i(r),s=(n||t)&&e[r];if(t&&(eE(s)||nk(s))||n&&ea(s))return!0}return!1}var nj="4.5.1";let nP=["top","bottom","left","right","chartArea"];function nL(e,t){return"top"===e||"bottom"===e||-1===nP.indexOf(e)&&"x"===t}function nO(e,t){return function(a,i){return a[e]===i[e]?a[t]-i[t]:a[e]-i[e]}}function nD(e){let t=e.chart,a=t.options.animation;t.notifyPlugins("afterRender"),ec(a&&a.onComplete,[e],t)}function nM(e){let t=e.chart,a=t.options.animation;ec(a&&a.onProgress,[e],t)}function nR(e){return aC()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}let nF={},nB=e=>{let t=nR(e);return Object.values(nF).filter(e=>e.canvas===t).pop()};function nU(e,t,a){for(let i of Object.keys(e)){let r=+i;if(r>=t){let n=e[i];delete e[i],(a>0||r>t)&&(e[r+a]=n)}}}function nH(e,t,a,i){return a&&"mouseout"!==e.type?i?t:e:null}class n${static defaults=tI;static instances=nF;static overrides=tS;static registry=nn;static version=nj;static getChart=nB;static register(...e){nn.add(...e),nG()}static unregister(...e){nn.remove(...e),nG()}constructor(e,t){const a=this.config=new nT(t),i=nR(e),r=nB(i);if(r)throw Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const n=a.createResolver(a.chartOptionScopes(),this.getContext());this.platform=new(a.platform||r$(i)),this.platform.updateConfig(a);const s=this.platform.acquireContext(i,n.aspectRatio),l=s&&s.canvas,o=l&&l.height,c=l&&l.width;if(this.id=ee(),this.ctx=s,this.canvas=l,this.width=c,this.height=o,this._options=n,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ns,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=tt(e=>this.update(e),n.resizeDelay||0),this._dataChanges=[],nF[this.id]=this,!s||!l)return void console.error("Failed to create chart: can't acquire context from the given item");ia.listen(this,"complete",nD),ia.listen(this,"progress",nM),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:a,height:i,_aspectRatio:r}=this;return et(e)?t&&r?r:i?a/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return nn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():aB(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return tD(this.canvas,this.ctx),this}stop(){return ia.stop(this),this}resize(e,t){ia.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let a=this.options,i=this.canvas,r=a.maintainAspectRatio&&this.aspectRatio,n=this.platform.getMaximumSize(i,e,t,r),s=a.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=n.width,this.height=n.height,this._aspectRatio=this.aspectRatio,aB(this,s,!0)&&(this.notifyPlugins("resize",{size:n}),ec(a.onResize,[this,n],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){ed(this.options.scales||{},(e,t)=>
360{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,a=this.scales,i=Object.keys(a).reduce((e,t)=>(e[t]=!1,e),{}),r=[];t&&(r=r.concat(Object.keys(t).map(e=>{let a=t[e],i=ng(e,a),r="r"===i,n="x"===i;return{options:a,dposition:r?"chartArea":n?"bottom":"left",dtype:r?"radialLinear":n?"category":"linear"}}))),ed(r,t=>{let r=t.options,n=r.id,s=ng(n,r),l=es(r.type,t.dtype);(void 0===r.position||nL(r.position,s)!==nL(t.dposition))&&(r.position=t.dposition),i[n]=!0;let o=null;n in a&&a[n].type===l?o=a[n]:a[(o=new(nn.getScale(l))({id:n,type:l,ctx:this.ctx,chart:this})).id]=o,o.init(r,e)}),ed(i,(e,t)=>{e||delete a[t]}),ed(a,e=>{ry.configure(this,e,e.options),ry.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,a=e.length;if(e.sort((e,t)=>e.index-t.index),a>t){for(let e=t;e<a;++e)this._destroyDatasetMeta(e);e.splice(t,a-t)}this._sortedMetasets=e.slice(0).sort(nO("order","index"))}_removeUnreferencedMetasets(){let{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach((e,a)=>{0===t.filter(t=>t===e._dataset).length&&this._destroyDatasetMeta(a)})}buildOrUpdateControllers(){let e,t,a=[],i=this.data.datasets;for(this._removeUnreferencedMetasets(),e=0,t=i.length;e<t;e++){let t=i[e],r=this.getDatasetMeta(e),n=t.type||this.config.type;if(r.type&&r.type!==n&&(this._destroyDatasetMeta(e),r=this.getDatasetMeta(e)),r.type=n,r.indexAxis=t.indexAxis||nu(n,this.options),r.order=t.order||0,r.index=e,r.label=""+t.label,r.visible=this.isDatasetVisible(e),r.controller)r.controller.updateIndex(e),r.controller.linkScales();else{let t=nn.getController(n),{datasetElementType:i,dataElementType:s}=tI.datasets[n];Object.assign(t,{dataElementType:nn.getElement(s),datasetElementType:i&&nn.getElement(i)}),r.controller=new t(this,e),a.push(r.controller)}}return this._updateMetasets(),a}_resetElements(){ed(this.data.datasets,(e,t)=>{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){let t=this.config;t.update();let a=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!a.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;let r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let n=0;for(let e=0,t=this.data.datasets.length;e<t;e++){let{controller:t}=this.getDatasetMeta(e),a=!i&&-1===r.indexOf(t);t.buildOrUpdateElements(a),n=Math.max(+t.getMaxOverflow(),n)}n=this._minPadding=a.layout.autoPadding?n:0,this._updateLayout(n),i||ed(r,e=>{e.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(nO("z","_idx"));let{_active:s,_lastEvent:l}=this;l?this._eventHandler(l,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){ed(this.scales,e=>{ry.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;eS(new Set(Object.keys(this._listeners)),new Set(e.events))&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this;for(let{method:t,start:a,count:i}of this._getUniformDataChanges()||[])nU(e,a,"_removeElements"===t?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,a=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+","+e.splice(1).join(","))),i=a(0);for(let e=1;e<t;e++)if(!eS(i,a(e)))return;return Array.from(i).map(e=>e.split(",")).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ry.update(this,this.width,this.height,e);let t=this.chartArea,a=t.width<=0||t.height<=0;this._layers=[],ed(this.boxes,e=>{a&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,a=this.data.datasets.length;t<a;++t)this._updateDataset(t,eE(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){let a=this.getDatasetMeta(e),i={meta:a,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",i)&&(a.controller._update(t),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(ia.has(this)?this.attached&&!ia.running(this)&&ia.start(this):(this.draw(),nD({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){let{width:e,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(e,t)}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;let t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){let t,a,i=this._sortedMetasets,r=[];for(t=0,a=i.length;t<a;++t){let a=i[t];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;let e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){let t=this.ctx,a={meta:e,index:e.index,cancelable:!0},i=ie(this,e);!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(i&&tB(t,i),e.controller.draw(),i&&tU(t),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return tF(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,a,i){let r=ra.modes[t];return"function"==typeof r?r(this,e,a,i):[]}getDatasetMeta(e){let t=this.data.datasets[e],a=this._metasets,i=a.filter(e=>e&&e._dataset===t).pop();
vendor: 4,245 bytes, line 360
360return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},a.push(i)),i}getContext(){return this.$context||(this.$context=t6(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let a=this.getDatasetMeta(e);return"boolean"==typeof a.hidden?!a.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,a){let i=a?"show":"hide",r=this.getDatasetMeta(e),n=r.controller._resolveAnimations(void 0,i);ew(t)?(r.data[t].hidden=!a,this.update()):(this.setDatasetVisibility(e,a),n.update(r,{visible:a}),this.update(t=>t.datasetIndex===e?i:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),ia.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),tD(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete nF[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let e=this._listeners,t=this.platform,a=(a,i)=>{t.addEventListener(this,a,i),e[a]=i},i=(e,t,a)=>{e.offsetX=t,e.offsetY=a,this._eventHandler(e)};ed(this.options.events,e=>a(e,i))}bindResponsiveEvents(){let e;this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,a=this.platform,i=(e,i)=>{a.addEventListener(this,e,i),t[e]=i},r=(e,i)=>{t[e]&&(a.removeEventListener(this,e,i),delete t[e])},n=(e,t)=>{this.canvas&&this.resize(e,t)},s=()=>{r("attach",s),this.attached=!0,this.resize(),i("resize",n),i("detach",e)};e=()=>{this.attached=!1,r("resize",n),this._stop(),this._resize(0,0),i("attach",s)},a.isAttached(this.canvas)?s():e()}unbindEvents(){ed(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},ed(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,a){let i,r,n,s=a?"set":"remove";for("dataset"===t&&this.getDatasetMeta(e[0].datasetIndex).controller["_"+s+"DatasetHoverStyle"](),r=0,n=e.length;r<n;++r){let t=(i=e[r])&&this.getDatasetMeta(i.datasetIndex).controller;t&&t[s+"HoverStyle"](i.element,i.datasetIndex,i.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){let t=this._active||[],a=e.map(({datasetIndex:e,index:t})=>{let a=this.getDatasetMeta(e);if(!a)throw Error("No dataset found at index "+e);return{datasetIndex:e,element:a.data[t],index:t}});eu(a,t)||(this._active=a,this._lastEvent=null,this._updateHoverStyles(a,t))}notifyPlugins(e,t,a){return this._plugins.notify(this,e,t,a)}isPluginEnabled(e){return 1===this._plugins._cache.filter(t=>t.plugin.id===e).length}_updateHoverStyles(e,t,a){let i=this.options.hover,r=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),n=r(t,e),s=a?e:r(e,t);n.length&&this.updateHoverStyle(n,i.mode,!1),s.length&&i.mode&&this.updateHoverStyle(s,i.mode,!0)}_eventHandler(e,t){let a={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},i=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",a,i))return;let r=this._handleEvent(e,t,a.inChartArea);return a.cancelable=!1,this.notifyPlugins("afterEvent",a,i),(r||a.changed)&&this.render(),this}_handleEvent(e,t,a){let{_active:i=[],options:r}=this,n=t,s=this._getActiveElements(e,i,a,n),l=eC(e),o=nH(e,this._lastEvent,a,l);a&&(this._lastEvent=null,ec(r.onHover,[e,s,this],this),l&&ec(r.onClick,[e,s,this],this));let c=!eu(s,i);return(c||t)&&(this._active=s,this._updateHoverStyles(s,i,t)),this._lastEvent=o,c}
vendor: 4,760 bytes, line 360
360_getActiveElements(e,t,a,i){if("mouseout"===e.type)return[];if(!a)return t;let r=this.options.hover;return this.getElementsAtEventForMode(e,r.mode,r,i)}}function nG(){return ed(n$.instances,e=>e._plugins.invalidate())}function nW(e,t,a){let{startAngle:i,x:r,y:n,outerRadius:s,innerRadius:l,options:o}=t,{borderWidth:c,borderJoinStyle:d}=o,u=Math.min(c/s,eQ(i-a));if(e.beginPath(),e.arc(r,n,s-c/2,i+u/2,a-u/2),l>0){let t=Math.min(c/l,eQ(i-a));e.arc(r,n,l+c/2,a-t/2,i+t/2,!0)}else{let t=Math.min(c/2,s*eQ(i-a));if("round"===d)e.arc(r,n,t,a-eT/2,i+eT/2,!0);else if("bevel"===d){let s=2*t*t,l=-s*Math.cos(a+eT/2)+r,o=-s*Math.sin(a+eT/2)+n,c=s*Math.cos(i+eT/2)+r,d=s*Math.sin(i+eT/2)+n;e.lineTo(l,o),e.lineTo(c,d)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip("evenodd")}function nY(e,t,a){let{startAngle:i,pixelMargin:r,x:n,y:s,outerRadius:l,innerRadius:o}=t,c=r/l;e.beginPath(),e.arc(n,s,l,i-c,a+c),o>r?(c=r/o,e.arc(n,s,o,a+c,i-c,!0)):e.arc(n,s,r,a+eP,i-eP),e.closePath(),e.clip()}function nz(e){return tX(e,["outerStart","outerEnd","innerStart","innerEnd"])}function nV(e,t,a,i){let r=nz(e.options.borderRadius),n=(a-t)/2,s=Math.min(n,i*t/2),l=e=>{let t=(a-Math.min(n,e))*i/2;return eX(e,0,Math.min(n,t))};return{outerStart:l(r.outerStart),outerEnd:l(r.outerEnd),innerStart:eX(r.innerStart,0,s),innerEnd:eX(r.innerEnd,0,s)}}function nK(e,t,a,i){return{x:a+e*Math.cos(t),y:i+e*Math.sin(t)}}function nq(e,t,a,i,r,n){let{x:s,y:l,startAngle:o,pixelMargin:c,innerRadius:d}=t,u=Math.max(t.outerRadius+i+a-c,0),h=d>0?d+i+a+c:0,f=0,p=r-o;if(i){let e=((d>0?d-i:0)+(u>0?u-i:0))/2,t=0!==e?p*e/(e+i):p;f=(p-t)/2}let m=Math.max(.001,p*u-a/eT)/u,g=(p-m)/2,b=o+g+f,_=r-g-f,{outerStart:y,outerEnd:x,innerStart:v,innerEnd:A}=nV(t,h,u,_-b),w=u-y,E=u-x,S=b+y/w,C=_-x/E,T=h+v,N=h+A,k=b+v/T,I=_-A/N;if(e.beginPath(),n){let t=(S+C)/2;if(e.arc(s,l,u,S,t),e.arc(s,l,u,t,C),x>0){let t=nK(E,C,s,l);e.arc(t.x,t.y,x,C,_+eP)}let a=nK(N,_,s,l);if(e.lineTo(a.x,a.y),A>0){let t=nK(N,I,s,l);e.arc(t.x,t.y,A,_+eP,I+Math.PI)}let i=(_-A/h+(b+v/h))/2;if(e.arc(s,l,h,_-A/h,i,!0),e.arc(s,l,h,i,b+v/h,!0),v>0){let t=nK(T,k,s,l);e.arc(t.x,t.y,v,k+Math.PI,b-eP)}let r=nK(w,b,s,l);if(e.lineTo(r.x,r.y),y>0){let t=nK(w,S,s,l);e.arc(t.x,t.y,y,b-eP,S)}}else{e.moveTo(s,l);let t=Math.cos(S)*u+s,a=Math.sin(S)*u+l;e.lineTo(t,a);let i=Math.cos(C)*u+s,r=Math.sin(C)*u+l;e.lineTo(i,r)}e.closePath()}function nQ(e,t,a,i,r){let{fullCircles:n,startAngle:s,circumference:l}=t,o=t.endAngle;if(n){nq(e,t,a,i,o,r);for(let t=0;t<n;++t)e.fill();isNaN(l)||(o=s+(l%eN||eN))}return nq(e,t,a,i,o,r),e.fill(),o}function nZ(e,t,a,i,r){let{fullCircles:n,startAngle:s,circumference:l,options:o}=t,{borderWidth:c,borderJoinStyle:d,borderDash:u,borderDashOffset:h,borderRadius:f}=o,p="inner"===o.borderAlign;if(!c)return;e.setLineDash(u||[]),e.lineDashOffset=h,p?(e.lineWidth=2*c,e.lineJoin=d||"round"):(e.lineWidth=c,e.lineJoin=d||"bevel");let m=t.endAngle;if(n){nq(e,t,a,i,m,r);for(let t=0;t<n;++t)e.stroke();isNaN(l)||(m=s+(l%eN||eN))}p&&nY(e,t,m),o.selfJoin&&m-s>=eT&&0===f&&"miter"!==d&&nW(e,t,m),n||(nq(e,t,a,i,m,r),e.stroke())}class nX extends rG{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,a){let{angle:i,distance:r}=eV(this.getProps(["x","y"],a),{x:e,y:t}),{startAngle:n,endAngle:s,innerRadius:l,outerRadius:o,circumference:c}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],a),d=(this.options.spacing+this.options.borderWidth)/2,u=es(c,s-n),h=eZ(i,n,s)&&n!==s,f=u>=eN||h,p=e0(r,l+d,o+d);return f&&p}getCenterPoint(e){let{x:t,y:a,startAngle:i,endAngle:r,innerRadius:n,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:l,spacing:o}=this.options,c=(i+r)/2,d=(n+s+o+l)/2;return{x:t+Math.cos(c)*d,y:a+Math.sin(c)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){let{options:t,circumference:a}=this,i=(t.offset||0)/4,r=(t.spacing||0)/2,n=t.circular;if(this.pixelMargin=.33*("inner"===t.borderAlign),this.fullCircles=a>eN?Math.floor(a/eN):0,0===a||this.innerRadius<0||this.outerRadius<0)return;e.save();let s=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(s)*i,Math.sin(s)*i);
360let l=i*(1-Math.sin(Math.min(eT,a||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,nQ(e,this,l,r,n),nZ(e,this,l,r,n),e.restore()}}function nJ(e,t,a=t){e.lineCap=es(a.borderCapStyle,t.borderCapStyle),e.setLineDash(es(a.borderDash,t.borderDash)),e.lineDashOffset=es(a.borderDashOffset,t.borderDashOffset),e.lineJoin=es(a.borderJoinStyle,t.borderJoinStyle),e.lineWidth=es(a.borderWidth,t.borderWidth),e.strokeStyle=es(a.borderColor,t.borderColor)}function n0(e,t,a){e.lineTo(a.x,a.y)}function n1(e){return e.stepped?tH:e.tension||"monotone"===e.cubicInterpolationMode?t$:n0}function n2(e,t,a={}){let i=e.length,{start:r=0,end:n=i-1}=a,{start:s,end:l}=t,o=Math.max(r,s),c=Math.min(n,l),d=r<s&&n<s||r>l&&n>l;return{count:i,start:o,loop:t.loop,ilen:c<o&&!d?i+c-o:c-o}}function n3(e,t,a,i){let r,n,s,{points:l,options:o}=t,{count:c,start:d,loop:u,ilen:h}=n2(l,a,i),f=n1(o),{move:p=!0,reverse:m}=i||{};for(r=0;r<=h;++r)(n=l[(d+(m?h-r:r))%c]).skip||(p?(e.moveTo(n.x,n.y),p=!1):f(e,s,n,m,o.stepped),s=n);return u&&f(e,s,n=l[(d+(m?h:0))%c],m,o.stepped),!!u}function n4(e,t,a,i){let r,n,s,l,o,c,d=t.points,{count:u,start:h,ilen:f}=n2(d,a,i),{move:p=!0,reverse:m}=i||{},g=0,b=0,_=e=>(h+(m?f-e:e))%u,y=()=>{l!==o&&(e.lineTo(g,o),e.lineTo(g,l),e.lineTo(g,c))};for(p&&(n=d[_(0)],e.moveTo(n.x,n.y)),r=0;r<=f;++r){if((n=d[_(r)]).skip)continue;let t=n.x,a=n.y,i=0|t;i===s?(a<l?l=a:a>o&&(o=a),g=(b*g+t)/++b):(y(),e.lineTo(t,a),s=i,b=0,l=o=a),c=a}y()}function n6(e){let t=e.options,a=t.borderDash&&t.borderDash.length;return e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||a?n3:n4}function n5(e){return e.stepped?aG:e.tension||"monotone"===e.cubicInterpolationMode?aW:a$}function n8(e,t,a,i){let r=t._path;!r&&(r=t._path=new Path2D,t.path(r,a,i)&&r.closePath()),nJ(e,t.options),e.stroke(r)}function n7(e,t,a,i){let{segments:r,options:n}=t,s=n6(t);for(let l of r)nJ(e,n,l.style),e.beginPath(),s(e,t,l,{start:a,end:a+i-1})&&e.closePath(),e.stroke()}let n9="function"==typeof Path2D;function se(e,t,a,i){n9&&!t.options.segment?n8(e,t,a,i):n7(e,t,a,i)}class st extends rG{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let a=this.options;if((a.tension||"monotone"===a.cubicInterpolationMode)&&!a.stepped&&!this._pointsUpdated){let i=a.spanGaps?this._loop:this._fullLoop;aS(this._points,a,e,i,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=a3(this,this.options.segment))}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,a=e.length;return a&&t[e[a-1].end]}interpolate(e,t){let a,i,r=this.options,n=e[t],s=this.points,l=a0(this,{property:t,start:n,end:n});if(!l.length)return;let o=[],c=n5(r);for(a=0,i=l.length;a<i;++a){let{start:i,end:d}=l[a],u=s[i],h=s[d];if(u===h){o.push(u);continue}let f=Math.abs((n-u[t])/(h[t]-u[t])),p=c(u,h,f,r.stepped);p[t]=e[t],o.push(p)}return 1===o.length?o[0]:o}pathSegment(e,t,a){return n6(this)(e,this,t,a)}path(e,t,a){let i=this.segments,r=n6(this),n=this._loop;for(let s of(t=t||0,a=a||this.points.length-t,i))n&=r(e,this,s,{start:t,end:t+a-1});return!!n}draw(e,t,a,i){let r=this.options||{};(this.points||[]).length&&r.borderWidth&&(e.save(),se(e,this,a,i),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function sa(e,t,a,i){let r=e.options,{[a]:n}=e.getProps([a],i);return Math.abs(t-n)<r.radius+r.hitRadius}class si extends rG{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,a){let i=this.options,{x:r,y:n}=this.getProps(["x","y"],a);return Math.pow(e-r,2)+Math.pow(t-n,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(e,t){return sa(this,e,"x",t)}inYRange(e,t){return sa(this,e,"y",t)}getCenterPoint(e){let{x:t,y:a}=this.getProps(["x","y"],e);return{x:t,y:a}}size(e){let t=(e=e||this.options||{}).radius||0,a=(t=Math.max(t,t&&e.hoverRadius||0))&&e.borderWidth||0;return(t+a)*2}draw(e,t){let a=this.options;!this.skip&&!(a.radius<.1)&&tF(this,t,this.size(a)/2)&&(e.strokeStyle=a.borderColor,e.lineWidth=a.borderWidth,e.fillStyle=a.backgroundColor,tM(e,a,this.x,this.y))}getRange(){let e=this.options||{};return e.radius+e.hitRadius}}function sr(e,t){let a,i,r,n,s,{x:l,y:o,base:c,width:d,height:u}=e.getProps(["x","y","base","width","height"],t);
360return e.horizontal?(s=u/2,a=Math.min(l,c),i=Math.max(l,c),r=o-s,n=o+s):(a=l-(s=d/2),i=l+s,r=Math.min(o,c),n=Math.max(o,c)),{left:a,top:r,right:i,bottom:n}}function sn(e,t,a,i){return e?0:eX(t,a,i)}function ss(e,t,a){let i=e.options.borderWidth,r=e.borderSkipped,n=tJ(i);return{t:sn(r.top,n.top,0,a),r:sn(r.right,n.right,0,t),b:sn(r.bottom,n.bottom,0,a),l:sn(r.left,n.left,0,t)}}function sl(e,t,a){let{enableBorderRadius:i}=e.getProps(["enableBorderRadius"]),r=e.options.borderRadius,n=t0(r),s=Math.min(t,a),l=e.borderSkipped,o=i||ei(r);return{topLeft:sn(!o||l.top||l.left,n.topLeft,0,s),topRight:sn(!o||l.top||l.right,n.topRight,0,s),bottomLeft:sn(!o||l.bottom||l.left,n.bottomLeft,0,s),bottomRight:sn(!o||l.bottom||l.right,n.bottomRight,0,s)}}function so(e){let t=sr(e),a=t.right-t.left,i=t.bottom-t.top,r=ss(e,a/2,i/2),n=sl(e,a/2,i/2);return{outer:{x:t.left,y:t.top,w:a,h:i,radius:n},inner:{x:t.left+r.l,y:t.top+r.t,w:a-r.l-r.r,h:i-r.t-r.b,radius:{topLeft:Math.max(0,n.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,n.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,n.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,n.bottomRight-Math.max(r.b,r.r))}}}}function sc(e,t,a,i){let r=null===t,n=null===a,s=r&&n,l=e&&!s&&sr(e,i);return l&&(r||e0(t,l.left,l.right))&&(n||e0(a,l.top,l.bottom))}function sd(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function su(e,t){e.rect(t.x,t.y,t.w,t.h)}function sh(e,t,a={}){let i=e.x!==a.x?-t:0,r=e.y!==a.y?-t:0,n=(e.x+e.w!==a.x+a.w?t:0)-i,s=(e.y+e.h!==a.y+a.h?t:0)-r;return{x:e.x+i,y:e.y+r,w:e.w+n,h:e.h+s,radius:e.radius}}class sf extends rG{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){let{inflateAmount:t,options:{borderColor:a,backgroundColor:i}}=this,{inner:r,outer:n}=so(this),s=sd(n.radius)?tV:su;e.save(),(n.w!==r.w||n.h!==r.h)&&(e.beginPath(),s(e,sh(n,t,r)),e.clip(),s(e,sh(r,-t,n)),e.fillStyle=a,e.fill("evenodd")),e.beginPath(),s(e,sh(r,t)),e.fillStyle=i,e.fill(),e.restore()}inRange(e,t,a){return sc(this,e,t,a)}inXRange(e,t){return sc(this,e,null,t)}inYRange(e,t){return sc(this,null,e,t)}getCenterPoint(e){let{x:t,y:a,base:i,horizontal:r}=this.getProps(["x","y","base","horizontal"],e);return{x:r?(t+i)/2:t,y:r?a:(a+i)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}let sp=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],sm=sp.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function sg(e){return sp[e%sp.length]}function sb(e){return sm[e%sm.length]}function s_(e,t){return e.borderColor=sg(t),e.backgroundColor=sb(t),++t}function sy(e,t){return e.backgroundColor=e.data.map(()=>sg(t++)),t}function sx(e,t){return e.backgroundColor=e.data.map(()=>sb(t++)),t}function sv(e){let t=0;return(a,i)=>{let r=e.getDatasetMeta(i).controller;r instanceof iq?t=sy(a,t):r instanceof iZ?t=sx(a,t):r&&(t=s_(a,t))}}function sA(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function sw(e){return e&&(e.borderColor||e.backgroundColor)}function sE(){return"rgba(0,0,0,0.1)"!==tI.borderColor||"rgba(0,0,0,0.1)"!==tI.backgroundColor}var sS={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,a){if(!a.enabled)return;let{data:{datasets:i},options:r}=e.config,{elements:n}=r,s=sA(i)||sw(r)||n&&sA(n)||sE();if(!a.forceOverride&&s)return;let l=sv(e);i.forEach(l)}};let sC=(e,t)=>{let{boxHeight:a=t,boxWidth:i=t}=e;return e.usePointStyle&&(a=Math.min(a,t),i=e.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:a,itemHeight:Math.max(t,a)}},sT=(e,t)=>null!==e&&null!==t&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class sN extends rG{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,a){this.maxWidth=e,this.maxHeight=t,this._margins=a,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=ec(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,a)=>e.sort(t,a,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let e,t,{options:a,ctx:i}=this;if(!a.display){this.width=this.height=0;return}let r=a.labels,n=t2(r.font),s=n.size,l=this._computeTitleHeight(),{boxWidth:o,itemHeight:c}=sC(r,s);i.font=n.string,this.isHorizontal()?(e=this.maxWidth,t=this._fitRows(l,s,o,
vendor: 5,141 bytes, line 360
360c)+10):(t=this.maxHeight,e=this._fitCols(l,n,o,c)+10),this.width=Math.min(e,a.maxWidth||this.maxWidth),this.height=Math.min(t,a.maxHeight||this.maxHeight)}_fitRows(e,t,a,i){let{ctx:r,maxWidth:n,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],o=this.lineWidths=[0],c=i+s,d=e;r.textAlign="left",r.textBaseline="middle";let u=-1,h=-c;return this.legendItems.forEach((e,f)=>{let p=a+t/2+r.measureText(e.text).width;(0===f||o[o.length-1]+p+2*s>n)&&(d+=c,o[o.length-(f>0?0:1)]=0,h+=c,u++),l[f]={left:0,top:h,row:u,width:p,height:i},o[o.length-1]+=p+s}),d}_fitCols(e,t,a,i){let{ctx:r,maxHeight:n,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],o=this.columnSizes=[],c=n-e,d=s,u=0,h=0,f=0,p=0;return this.legendItems.forEach((e,n)=>{let{itemWidth:m,itemHeight:g}=sk(a,t,r,e,i);n>0&&h+g+2*s>c&&(d+=u+s,o.push({width:u,height:h}),f+=u+s,p++,u=h=0),l[n]={left:f,top:h,col:p,width:m,height:g},u=Math.max(u,m),h+=g+s}),d+=u,o.push({width:u,height:h}),d}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:a,labels:{padding:i},rtl:r}}=this,n=aV(r,this.left,this.width);if(this.isHorizontal()){let r=0,s=ti(a,this.left+i,this.right-this.lineWidths[r]);for(let l of t)r!==l.row&&(r=l.row,s=ti(a,this.left+i,this.right-this.lineWidths[r])),l.top+=this.top+e+i,l.left=n.leftForLtr(n.x(s),l.width),s+=l.width+i}else{let r=0,s=ti(a,this.top+e+i,this.bottom-this.columnSizes[r].height);for(let l of t)l.col!==r&&(r=l.col,s=ti(a,this.top+e+i,this.bottom-this.columnSizes[r].height)),l.top=s,l.left+=this.left+i,l.left=n.leftForLtr(n.x(l.left),l.width),s+=l.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){let e=this.ctx;tB(e,this),this._draw(),tU(e)}}_draw(){let e,{options:t,columnSizes:a,lineWidths:i,ctx:r}=this,{align:n,labels:s}=t,l=tI.color,o=aV(t.rtl,this.left,this.width),c=t2(s.font),{padding:d}=s,u=c.size,h=u/2;this.drawTitle(),r.textAlign=o.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;let{boxWidth:f,boxHeight:p,itemHeight:m}=sC(s,u),g=function(e,t,a){if(isNaN(f)||f<=0||isNaN(p)||p<0)return;r.save();let i=es(a.lineWidth,1);if(r.fillStyle=es(a.fillStyle,l),r.lineCap=es(a.lineCap,"butt"),r.lineDashOffset=es(a.lineDashOffset,0),r.lineJoin=es(a.lineJoin,"miter"),r.lineWidth=i,r.strokeStyle=es(a.strokeStyle,l),r.setLineDash(es(a.lineDash,[])),s.usePointStyle)tR(r,{radius:p*Math.SQRT2/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:i},o.xPlus(e,f/2),t+h,s.pointStyleWidth&&f);else{let n=t+Math.max((u-p)/2,0),s=o.leftForLtr(e,f),l=t0(a.borderRadius);r.beginPath(),Object.values(l).some(e=>0!==e)?tV(r,{x:s,y:n,w:f,h:p,radius:l}):r.rect(s,n,f,p),r.fill(),0!==i&&r.stroke()}r.restore()},b=function(e,t,a){tz(r,a.text,e,t+m/2,c,{strikethrough:a.hidden,textAlign:o.textAlign(a.textAlign)})},_=this.isHorizontal(),y=this._computeTitleHeight();e=_?{x:ti(n,this.left+d,this.right-i[0]),y:this.top+d+y,line:0}:{x:this.left+d,y:ti(n,this.top+y+d,this.bottom-a[0].height),line:0},aK(this.ctx,t.textDirection);let x=m+d;this.legendItems.forEach((l,u)=>{r.strokeStyle=l.fontColor,r.fillStyle=l.fontColor;let p=r.measureText(l.text).width,m=o.textAlign(l.textAlign||(l.textAlign=s.textAlign)),v=f+h+p,A=e.x,w=e.y;if(o.setWidth(this.width),_?u>0&&A+v+d>this.right&&(w=e.y+=x,e.line++,A=e.x=ti(n,this.left+d,this.right-i[e.line])):u>0&&w+x>this.bottom&&(A=e.x=A+a[e.line].width+d,e.line++,w=e.y=ti(n,this.top+y+d,this.bottom-a[e.line].height)),g(o.x(A),w,l),A=tr(m,A+f+h,_?A+v:this.right,t.rtl),b(o.x(A),w,l),_)e.x+=v+d;else if("string"!=typeof l.text){let t=c.lineHeight;e.y+=sP(l,t)+d}else e.y+=x}),aq(this.ctx,t.textDirection)}drawTitle(){let e,t=this.options,a=t.title,i=t2(a.font),r=t1(a.padding);if(!a.display)return;let n=aV(t.rtl,this.left,this.width),s=this.ctx,l=a.position,o=i.size/2,c=r.top+o,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),e=this.top+c,d=ti(t.align,d,this.right-u);else{let a=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);e=c+ti(t.align,this.top,this.bottom-a-t.labels.padding-this._computeTitleHeight())}let h=ti(l,d,d+u);s.textAlign=n.textAlign(ta(l)),s.textBaseline="middle",s.strokeStyle=a.color,s.fillStyle=a.color,s.font=i.string,tz(s,a.text,h,e,i)}_computeTitleHeight(){let e=this.options.title,t=t2(e.font),a=t1(e.padding);return e.display?t.lineHeight+a.height:0}_getLegendItemAt(e,t){let a,i,r;if(e0(e,this.left,this.right)&&e0(t,this.top,this.bottom)){for(a=0,r=this.legendHitBoxes;a<r.length;++a)if(e0(e,(i=r[a]).left,i.left+i.width)&&e0(t,i.top,i.top+i.height))return this.legendItems[a]}return null}handleEvent(e){let t=this.options;if(!sL(e.type,t))return;let a=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){let i=this._hoveredItem,r=sT(i,a);i&&!r&&ec(t.onLeave,[e,i,this],this),this._hoveredItem=a,a&&!r&&ec(t.onHover,[e,a,this],this)}else a&&ec(t.onClick,[e,a,this],this)}}function sk(e,t,a,i,r){return{itemWidth:sI(i,e,t,a),itemHeight:sj(r,i,t.lineHeight)}}function sI(e,t,a,i){let r=e.text;return r&&"string"!=typeof r&&(r=r.reduce((e,t)=>
360e.length>t.length?e:t)),t+a.size/2+i.measureText(r).width}function sj(e,t,a){let i=e;return"string"!=typeof t.text&&(i=sP(t,a)),i}function sP(e,t){return t*(e.text?e.text.length:0)}function sL(e,t){return("mousemove"===e||"mouseout"===e)&&(!!t.onHover||!!t.onLeave)||!!t.onClick&&("click"===e||"mouseup"===e)}var sO={id:"legend",_element:sN,start(e,t,a){let i=e.legend=new sN({ctx:e.ctx,options:a,chart:e});ry.configure(e,i,a),ry.addBox(e,i)},stop(e){ry.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,a){let i=e.legend;ry.configure(e,i,a),i.options=a},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,a){let i=t.datasetIndex,r=a.chart;r.isDatasetVisible(i)?(r.hide(i),t.hidden=!0):(r.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:a,pointStyle:i,textAlign:r,color:n,useBorderRadius:s,borderRadius:l}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let o=e.controller.getStyle(a?0:void 0),c=t1(o.borderWidth);return{text:t[e.index].label,fillStyle:o.backgroundColor,fontColor:n,hidden:!e.visible,lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:o.borderColor,pointStyle:i||o.pointStyle,rotation:o.rotation,textAlign:r||o.textAlign,borderRadius:s&&(l||o.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class sD extends rG{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let a=this.options;if(this.left=0,this.top=0,!a.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let i=ea(a.text)?a.text.length:1;this._padding=t1(a.padding);let r=i*t2(a.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){let e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){let t,a,i,{top:r,left:n,bottom:s,right:l,options:o}=this,c=o.align,d=0;return this.isHorizontal()?(a=ti(c,n,l),i=r+e,t=l-n):("left"===o.position?(a=n+e,i=ti(c,s,r),d=-.5*eT):(a=l-e,i=ti(c,r,s),d=.5*eT),t=s-r),{titleX:a,titleY:i,maxWidth:t,rotation:d}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let a=t2(t.font),i=a.lineHeight/2+this._padding.top,{titleX:r,titleY:n,maxWidth:s,rotation:l}=this._drawArgs(i);tz(e,t.text,0,0,a,{color:t.color,maxWidth:s,rotation:l,textAlign:ta(t.align),textBaseline:"middle",translation:[r,n]})}}function sM(e,t){let a=new sD({ctx:e.ctx,options:t,chart:e});ry.configure(e,a,t),ry.addBox(e,a),e.titleBlock=a}var sR={id:"title",_element:sD,start(e,t,a){sM(e,a)},stop(e){let t=e.titleBlock;ry.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,a){let i=e.titleBlock;ry.configure(e,i,a),i.options=a},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;let sF={average(e){let t,a;if(!e.length)return!1;let i=new Set,r=0,n=0;for(t=0,a=e.length;t<a;++t){let a=e[t].element;if(a&&a.hasValue()){let e=a.tooltipPosition();i.add(e.x),r+=e.y,++n}}return 0!==n&&0!==i.size&&{x:[...i].reduce((e,t)=>e+t)/i.size,y:r/n}},nearest(e,t){let a,i,r;if(!e.length)return!1;let n=t.x,s=t.y,l=1/0;for(a=0,i=e.length;a<i;++a){let i=e[a].element;if(i&&i.hasValue()){let e=eK(t,i.getCenterPoint());e<l&&(l=e,r=i)}}if(r){let e=r.tooltipPosition();n=e.x,s=e.y}return{x:n,y:s}}};function sB(e,t){return t&&(ea(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function sU(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function sH(e,t){let{element:a,datasetIndex:i,index:r}=t,n=e.getDatasetMeta(i).controller,{label:s,value:l}=n.getLabelAndValue(r);return{chart:e,label:s,parsed:n.getParsed(r),raw:e.data.datasets[i].data[r],formattedValue:l,dataset:n.getDataset(),dataIndex:r,datasetIndex:i,element:a}}function s$(e,t){let a=e.chart.ctx,{body:i,footer:r,title:n}=e,{boxWidth:s,boxHeight:l}=t,o=t2(t.bodyFont),c=t2(t.titleFont),d=t2(t.footerFont),u=n.length,h=r.length,f=i.length,p=t1(t.padding),m=p.height,g=0,b=i.reduce((e,t)=>
360e+t.before.length+t.lines.length+t.after.length,0);b+=e.beforeBody.length+e.afterBody.length,u&&(m+=u*c.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),b&&(m+=f*(t.displayColors?Math.max(l,o.lineHeight):o.lineHeight)+(b-f)*o.lineHeight+(b-1)*t.bodySpacing),h&&(m+=t.footerMarginTop+h*d.lineHeight+(h-1)*t.footerSpacing);let _=0,y=function(e){g=Math.max(g,a.measureText(e).width+_)};return a.save(),a.font=c.string,ed(e.title,y),a.font=o.string,ed(e.beforeBody.concat(e.afterBody),y),_=t.displayColors?s+2+t.boxPadding:0,ed(i,e=>{ed(e.before,y),ed(e.lines,y),ed(e.after,y)}),_=0,a.font=d.string,ed(e.footer,y),a.restore(),{width:g+=p.width,height:m}}function sG(e,t){let{y:a,height:i}=t;return a<i/2?"top":a>e.height-i/2?"bottom":"center"}function sW(e,t,a,i){let{x:r,width:n}=i,s=a.caretSize+a.caretPadding;if("left"===e&&r+n+s>t.width||"right"===e&&r-n-s<0)return!0}function sY(e,t,a,i){let{x:r,width:n}=a,{width:s,chartArea:{left:l,right:o}}=e,c="center";return"center"===i?c=r<=(l+o)/2?"left":"right":r<=n/2?c="left":r>=s-n/2&&(c="right"),sW(c,e,t,a)&&(c="center"),c}function sz(e,t,a){let i=a.yAlign||t.yAlign||sG(e,a);return{xAlign:a.xAlign||t.xAlign||sY(e,t,a,i),yAlign:i}}function sV(e,t){let{x:a,width:i}=e;return"right"===t?a-=i:"center"===t&&(a-=i/2),a}function sK(e,t,a){let{y:i,height:r}=e;return"top"===t?i+=a:"bottom"===t?i-=r+a:i-=r/2,i}function sq(e,t,a,i){let{caretSize:r,caretPadding:n,cornerRadius:s}=e,{xAlign:l,yAlign:o}=a,c=r+n,{topLeft:d,topRight:u,bottomLeft:h,bottomRight:f}=t0(s),p=sV(t,l),m=sK(t,o,c);return"center"===o?"left"===l?p+=c:"right"===l&&(p-=c):"left"===l?p-=Math.max(d,h)+r:"right"===l&&(p+=Math.max(u,f)+r),{x:eX(p,0,i.width-t.width),y:eX(m,0,i.height-t.height)}}function sQ(e,t,a){let i=t1(a.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-i.right:e.x+i.left}function sZ(e){return sB([],sU(e))}function sX(e,t,a){return t6(e,{tooltip:t,tooltipItems:a,type:"tooltip"})}function sJ(e,t){let a=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return a?e.override(a):e}let s0={beforeTitle:J,title(e){if(e.length>0){let t=e[0],a=t.chart.data.labels,i=a?a.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return a[t.dataIndex]}return""},afterTitle:J,beforeBody:J,beforeLabel:J,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");let a=e.formattedValue;return et(a)||(t+=a),t},labelColor(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:J,afterBody:J,beforeFooter:J,footer:J,afterFooter:J};function s1(e,t,a,i){let r=e[t].call(a,i);return void 0===r?s0[t].call(a,i):r}class s2 extends rG{static positioners=sF;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let e=this._cachedAnimations;if(e)return e;let t=this.chart,a=this.options.setContext(this.getContext()),i=a.enabled&&t.options.animation&&a.animations,r=new il(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=sX(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,t){let{callbacks:a}=t,i=s1(a,"beforeTitle",this,e),r=s1(a,"title",this,e),n=s1(a,"afterTitle",this,e),s=[];return s=sB(s,sU(i)),s=sB(s,sU(r)),s=sB(s,sU(n))}getBeforeBody(e,t){return sZ(s1(t.callbacks,"beforeBody",this,e))}getBody(e,t){let{callbacks:a}=t,i=[];return ed(e,e=>{let t={before:[],lines:[],after:[]},r=sJ(a,e);sB(t.before,sU(s1(r,"beforeLabel",this,e))),sB(t.lines,s1(r,"label",this,e)),sB(t.after,sU(s1(r,"afterLabel",this,e))),i.push(t)}),i}getAfterBody(e,t){return sZ(s1(t.callbacks,"afterBody",this,e))}getFooter(e,t){let{callbacks:a}=t,i=s1(a,"beforeFooter",this,e),r=s1(a,"footer",this,e),n=s1(a,"afterFooter",this,e),s=[];return s=sB(s,sU(i)),s=sB(s,sU(r)),s=sB(s,sU(n))}_createItems(e){let t,a,i=this._active,r=this.chart.data,n=[],s=[],l=[],o=[];for(t=0,a=i.length;t<a;++t)o.push(sH(this.chart,i[t]));return e.filter&&(o=o.filter((t,a,i)=>e.filter(t,a,i,r))),e.itemSort&&(o=o.sort((t,a)=>e.itemSort(t,a,r))),ed(o,t=>{let a=sJ(e.callbacks,t);n.push(s1(a,"labelColor",this,t)),s.push(s1(a,"labelPointStyle",this,t)),l.push(s1(a,"labelTextColor",this,t))}),this.labelColors=n,this.labelPointStyles=s,this.labelTextColors=l,this.dataPoints=o,o}update(e,t){let a,i=this.options.setContext(this.getContext()),r=this._active,n=[];if(r.length){let e=sF[i.position].call(this,r,this._eventPosition);n=this._createItems(i),this.title=this.getTitle(n,i),this.beforeBody=this.getBeforeBody(n,i),this.body=this.getBody(n,i),this.afterBody=this.getAfterBody(n,i),this.footer=this.getFooter(n,i);let t=this._size=s$(this,i),s=Object.assign({},e,t),l=sz(this.chart,i,s),o=sq(i,s,l,this.chart);this.xAlign=l.xAlign,this.yAlign=l.yAlign,a={opacity:1,x:o.x,y:o.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(a={opacity:0}
vendor: 3,754 bytes, line 360
360);this._tooltipItems=n,this.$context=void 0,a&&this._resolveAnimations().update(this,a),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,a,i){let r=this.getCaretPosition(e,a,i);t.lineTo(r.x1,r.y1),t.lineTo(r.x2,r.y2),t.lineTo(r.x3,r.y3)}getCaretPosition(e,t,a){let i,r,n,s,l,o,{xAlign:c,yAlign:d}=this,{caretSize:u,cornerRadius:h}=a,{topLeft:f,topRight:p,bottomLeft:m,bottomRight:g}=t0(h),{x:b,y:_}=e,{width:y,height:x}=t;return"center"===d?(l=_+x/2,"left"===c?(r=(i=b)-u,s=l+u,o=l-u):(r=(i=b+y)+u,s=l-u,o=l+u),n=i):(r="left"===c?b+Math.max(f,m)+u:"right"===c?b+y-Math.max(p,g)-u:this.caretX,"top"===d?(l=(s=_)-u,i=r-u,n=r+u):(l=(s=_+x)+u,i=r+u,n=r-u),o=s),{x1:i,x2:r,x3:n,y1:s,y2:l,y3:o}}drawTitle(e,t,a){let i,r,n,s=this.title,l=s.length;if(l){let o=aV(a.rtl,this.x,this.width);for(n=0,e.x=sQ(this,a.titleAlign,a),t.textAlign=o.textAlign(a.titleAlign),t.textBaseline="middle",i=t2(a.titleFont),r=a.titleSpacing,t.fillStyle=a.titleColor,t.font=i.string;n<l;++n)t.fillText(s[n],o.x(e.x),e.y+i.lineHeight/2),e.y+=i.lineHeight+r,n+1===l&&(e.y+=a.titleMarginBottom-r)}}_drawColorBox(e,t,a,i,r){let n=this.labelColors[a],s=this.labelPointStyles[a],{boxHeight:l,boxWidth:o}=r,c=t2(r.bodyFont),d=sQ(this,"left",r),u=i.x(d),h=l<c.lineHeight?(c.lineHeight-l)/2:0,f=t.y+h;if(r.usePointStyle){let t={radius:Math.min(o,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},a=i.leftForLtr(u,o)+o/2,c=f+l/2;e.strokeStyle=r.multiKeyBackground,e.fillStyle=r.multiKeyBackground,tM(e,t,a,c),e.strokeStyle=n.borderColor,e.fillStyle=n.backgroundColor,tM(e,t,a,c)}else{e.lineWidth=ei(n.borderWidth)?Math.max(...Object.values(n.borderWidth)):n.borderWidth||1,e.strokeStyle=n.borderColor,e.setLineDash(n.borderDash||[]),e.lineDashOffset=n.borderDashOffset||0;let t=i.leftForLtr(u,o),a=i.leftForLtr(i.xPlus(u,1),o-2),s=t0(n.borderRadius);Object.values(s).some(e=>0!==e)?(e.beginPath(),e.fillStyle=r.multiKeyBackground,tV(e,{x:t,y:f,w:o,h:l,radius:s}),e.fill(),e.stroke(),e.fillStyle=n.backgroundColor,e.beginPath(),tV(e,{x:a,y:f+1,w:o-2,h:l-2,radius:s}),e.fill()):(e.fillStyle=r.multiKeyBackground,e.fillRect(t,f,o,l),e.strokeRect(t,f,o,l),e.fillStyle=n.backgroundColor,e.fillRect(a,f+1,o-2,l-2))}e.fillStyle=this.labelTextColors[a]}drawBody(e,t,a){let i,r,n,s,l,o,{body:c}=this,{bodySpacing:d,bodyAlign:u,displayColors:h,boxHeight:f,boxWidth:p,boxPadding:m}=a,g=t2(a.bodyFont),b=g.lineHeight,_=0,y=aV(a.rtl,this.x,this.width),x=function(a){t.fillText(a,y.x(e.x+_),e.y+b/2),e.y+=b+d},v=y.textAlign(u);for(t.textAlign=u,t.textBaseline="middle",t.font=g.string,e.x=sQ(this,v,a),t.fillStyle=a.bodyColor,ed(this.beforeBody,x),_=h&&"right"!==v?"center"===u?p/2+m:p+2+m:0,n=0,l=c.length;n<l;++n){for(i=c[n],t.fillStyle=this.labelTextColors[n],ed(i.before,x),r=i.lines,h&&r.length&&(this._drawColorBox(t,e,n,y,a),b=Math.max(g.lineHeight,f)),s=0,o=r.length;s<o;++s)x(r[s]),b=g.lineHeight;ed(i.after,x)}_=0,b=g.lineHeight,ed(this.afterBody,x),e.y-=d}drawFooter(e,t,a){let i,r,n=this.footer,s=n.length;if(s){let l=aV(a.rtl,this.x,this.width);for(e.x=sQ(this,a.footerAlign,a),e.y+=a.footerMarginTop,t.textAlign=l.textAlign(a.footerAlign),t.textBaseline="middle",i=t2(a.footerFont),t.fillStyle=a.footerColor,t.font=i.string,r=0;r<s;++r)t.fillText(n[r],l.x(e.x),e.y+i.lineHeight/2),e.y+=i.lineHeight+a.footerSpacing}}drawBackground(e,t,a,i){let{xAlign:r,yAlign:n}=this,{x:s,y:l}=e,{width:o,height:c}=a,{topLeft:d,topRight:u,bottomLeft:h,bottomRight:f}=t0(i.cornerRadius);t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.beginPath(),t.moveTo(s+d,l),"top"===n&&this.drawCaret(e,t,a,i),t.lineTo(s+o-u,l),t.quadraticCurveTo(s+o,l,s+o,l+u),"center"===n&&"right"===r&&this.drawCaret(e,t,a,i),t.lineTo(s+o,l
360+c-f),t.quadraticCurveTo(s+o,l+c,s+o-f,l+c),"bottom"===n&&this.drawCaret(e,t,a,i),t.lineTo(s+h,l+c),t.quadraticCurveTo(s,l+c,s,l+c-h),"center"===n&&"left"===r&&this.drawCaret(e,t,a,i),t.lineTo(s,l+d),t.quadraticCurveTo(s,l,s+d,l),t.closePath(),t.fill(),i.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,a=this.$animations,i=a&&a.x,r=a&&a.y;if(i||r){let a=sF[e.position].call(this,this._active,this._eventPosition);if(!a)return;let n=this._size=s$(this,e),s=Object.assign({},a,this._size),l=sz(t,e,s),o=sq(e,s,l,t);(i._to!==o.x||r._to!==o.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=n.width,this.height=n.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,o))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),a=this.opacity;if(!a)return;this._updateAnimationTarget(t);let i={width:this.width,height:this.height},r={x:this.x,y:this.y};a=.001>Math.abs(a)?0:a;let n=t1(t.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&s&&(e.save(),e.globalAlpha=a,this.drawBackground(r,e,i,t),aK(e,t.textDirection),r.y+=n.top,this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),aq(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let a=this._active,i=e.map(({datasetIndex:e,index:t})=>{let a=this.chart.getDatasetMeta(e);if(!a)throw Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:a.data[t],index:t}}),r=!eu(a,i),n=this._positionChanged(i,t);(r||n)&&(this._active=i,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,a=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let i=this.options,r=this._active||[],n=this._getActiveElements(e,r,t,a),s=this._positionChanged(n,e),l=t||!eu(n,r)||s;return l&&(this._active=n,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),l}_getActiveElements(e,t,a,i){let r=this.options;if("mouseout"===e.type)return[];if(!i)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index));let n=this.chart.getElementsAtEventForMode(e,r.mode,r,a);return r.reverse&&n.reverse(),n}_positionChanged(e,t){let{caretX:a,caretY:i,options:r}=this,n=sF[r.position].call(this,e,t);return!1!==n&&(a!==n.x||i!==n.y)}}var s3={id:"tooltip",_element:s2,positioners:sF,afterInit(e,t,a){a&&(e.tooltip=new s2({chart:e,options:a}))},beforeUpdate(e,t,a){e.tooltip&&e.tooltip.initialize(a)},reset(e,t,a){e.tooltip&&e.tooltip.initialize(a)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let a={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...a,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",a)}},afterEvent(e,t){if(e.tooltip){let a=t.replay;e.tooltip.handleEvent(t.event,a,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:s0},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};let s4=(e,t,a,i)=>("string"==typeof t?(a=e.push(t)-1,i.unshift({index:a,label:t})):isNaN(t)&&(a=null),a);function s6(e,t,a,i){let r=e.indexOf(t);return -1===r?s4(e,t,a,i):r!==e.lastIndexOf(t)?a:r}let s5=(e,t)=>null===e?null:eX(Math.round(e),0,t);function s8(e){let t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class s7 extends r9{static id="category";static defaults={ticks:{callback:s8}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){let t=this._addedLabels;if(t.length){let e=this.getLabels();for(let{index:a,label:i}of t)e[a]===i&&e.splice(a,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(et(e))return null;let a=this.getLabels();return s5(t=isFinite(t)&&a[t]===e?t:s6(a,e,es(t,e),this._addedLabels),a.length-1)}determineDataLimits(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),{min:a,max:i}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(a=0),t||(i=this.getLabels().length-1)),this.min=a,this.max=i}buildTicks(){let e=this.min,t=this.max,a=this.options.offset,i=[],r=this.getLabels();r=0===e&&t===r.length-1?r:r.slice(e,t+1),this._valueRange=Math.max(r.length-!a,1),this._startValue=this.min-.5*!!a;for(let a=e;a<=t;a++)i.push({value:a});return i}getLabelForValue(e){return s8.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function s9(e,t){let a,i,r,n,s=[],l=1e-14,{bounds:o,step:c,min:d,max:u,precision:h,count:f,maxTicks:p,maxDigits:m,includeBounds:g}=e,b=c||1,_=p-1,{min:y,max:x}=t,v=!et(d),A=!et(u),w=!et(f),E=(x-y)/(m+1),S=eF((x-y)/_/b)*b;if(S<l&&!v&&!A)return[{value:y},{value:x}];(n=Math.ceil(x/S)-Math.floor(y/S))>_&&(S=eF(n*S/_/b)*b),et(h)||(S=Math.ceil(S*(a=Math.pow(10,h)))/a),"ticks"===o?(i=Math.floor(y/S)*S,r=Math.ceil(x/S)*S):(i=y,r=x
360),v&&A&&c&&e$((u-d)/c,S/1e3)?(n=Math.round(Math.min((u-d)/S,p)),S=(u-d)/n,i=d,r=u):w?(i=v?d:i,S=((r=A?u:r)-i)/(n=f-1)):n=eR(n=(r-i)/S,Math.round(n),S/1e3)?Math.round(n):Math.ceil(n);let C=Math.max(ez(S),ez(i));i=Math.round(i*(a=Math.pow(10,et(h)?C:h)))/a,r=Math.round(r*a)/a;let T=0;for(v&&(g&&i!==d?(s.push({value:d}),i<d&&T++,eR(Math.round((i+T*S)*a)/a,d,le(d,E,e))&&T++):i<d&&T++);T<n;++T){let e=Math.round((i+T*S)*a)/a;if(A&&e>u)break;s.push({value:e})}return A&&g&&r!==u?s.length&&eR(s[s.length-1].value,u,le(u,E,e))?s[s.length-1].value=u:s.push({value:u}):A&&r!==u||s.push({value:r}),s}function le(e,t,{horizontal:a,minRotation:i}){let r=eW(i),n=(a?Math.sin(r):Math.cos(r))||.001,s=.75*t*(""+e).length;return Math.min(t/n,s)}class lt extends r9{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return et(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:a}=this.getUserBounds(),{min:i,max:r}=this,n=e=>i=t?i:e,s=e=>r=a?r:e;if(e){let e=eM(i),t=eM(r);e<0&&t<0?s(0):e>0&&t>0&&n(0)}if(i===r){let t=0===r?1:Math.abs(.05*r);s(r+t),e||n(i-t)}this.min=i,this.max=r}getTickLimit(){let e,{maxTicksLimit:t,stepSize:a}=this.options.ticks;return a?(e=Math.ceil(this.max/a)-Math.floor(this.min/a)+1)>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${a} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3):(e=this.computeTickLimit(),t=t||11),t&&(e=Math.min(t,e)),e}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,a=this.getTickLimit(),i=s9({maxTicks:a=Math.max(2,a),bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&eG(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}configure(){let e=this.ticks,t=this.min,a=this.max;if(super.configure(),this.options.offset&&e.length){let i=(a-t)/Math.max(e.length-1,1)/2;t-=i,a+=i}this._startValue=t,this._endValue=a,this._valueRange=a-t}getLabelForValue(e){return tx(e,this.chart.options.locale,this.options.ticks.format)}}class la extends lt{static id="linear";static defaults={ticks:{callback:tw.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=er(e)?e:0,this.max=er(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,a=eW(this.options.ticks.minRotation),i=(e?Math.sin(a):Math.cos(a))||.001;return Math.ceil(t/Math.min(40,this._resolveTickFontOptions(0).lineHeight/i))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}let li=e=>Math.floor(eD(e)),lr=(e,t)=>Math.pow(10,li(e)+t);function ln(e){return 1==e/Math.pow(10,li(e))}function ls(e,t,a){let i=Math.pow(10,a),r=Math.floor(e/i);return Math.ceil(t/i)-r}function ll(e,t){let a=li(t-e);for(;ls(e,t,a)>10;)a++;for(;10>ls(e,t,a);)a--;return Math.min(a,li(e))}function lo(e,{min:t,max:a}){t=en(e.min,t);let i=[],r=li(t),n=ll(t,a),s=n<0?Math.pow(10,Math.abs(n)):1,l=Math.pow(10,n),o=r>n?Math.pow(10,r):0,c=Math.round((t-o)*s)/s,d=Math.floor((t-o)/l/10)*l*10,u=Math.floor((c-d)/Math.pow(10,n)),h=en(e.min,Math.round((o+d+u*Math.pow(10,n))*s)/s);for(;h<a;)i.push({value:h,major:ln(h),significand:u}),u>=10?u=u<15?15:20:u++,u>=20&&(u=2,s=++n>=0?1:s),h=Math.round((o+d+u*Math.pow(10,n))*s)/s;let f=en(e.max,h);return i.push({value:f,major:ln(f),significand:u}),i}class lc extends r9{static id="logarithmic";static defaults={ticks:{callback:tw.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let a=lt.prototype.parse.apply(this,[e,t]);if(0===a){this._zero=!0;return}return er(a)&&a>0?a:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=er(e)?Math.max(0,e):null,this.max=er(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!er(this._userMin)&&(this.min=e===lr(this.min,0)?lr(this.min,-1):lr(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),a=this.min,i=this.max,r=t=>a=e?a:t,n=e=>i=t?i:e;a===i&&(a<=0?(r(1),n(10)):(r(lr(a,-1)),n(lr(i,1)))),a<=0&&r(lr(i,-1)),i<=0&&n(lr(a,1)),this.min=a,this.max=i}buildTicks(){let e=this.options,t=lo({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&eG(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":tx(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=eD(e),this._valueRange=eD(this.max)-eD(e)}getPixelForValue(e){return((void 0===e||0===e)&&(e=this.min),null===e||isNaN(e))?NaN:this.getPixelForDecimal(e===this.min?0:(eD(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function ld(e){let t=e.ticks;if(t.display&&e.display){let e=t1(t.backdropPadding);return es(t.font&&t.font.size,tI.font.size)+e.height}return 0}function lu(e,t,a){return a=ea(a)?a:[a],{w:tL(e,t.string,a),h:a.length*t.lineHeight}}function lh(e,t,a,i,r){return e===i||e===r?{start:t-a/2,end:t+a/2}:e<i||e>r?{start:t-a,end:t}:{start:t,end:t+a}}function lf(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},a=Object.assign({},t),i=[],r=[],n=e._pointLabels.length,s=e.options.pointLabels,l=s.centerPointLabels?eT/n:0;for(let o=0;o<n;o++){let n=s.setContext(e.getPointLabelContext(o));r[o]=n.padding;let c=e.getPointPosition(o,e.drawingArea+r[o],l),d=t2(n.font),u=lu(e.ctx,d,e._pointLabels[o]);i[o]=u;let h=eQ(e.getIndexAngle(o)+l),f=Math.round(eY(h));lp(a,t,h,lh(f,c.x,u.w,0,180),lh(f,c.y,u.h,90,270))}e.setCenterPoint(t.l-a.l,a.r-t.r,t.t-a.t,a.b-t.b),e._pointLabelItems=lb(e,i,r)}function lp(e,t,a,i,r){let n=Math.abs(Math.sin(a)),s=Math.abs(Math.cos(a)),l=0,o=0;i.start<t.l?(l=(t.l-i.start)/n,e.l=Math.min(e.l,t.l-l)):i.end>t.r&&(l=(i.end-t.r)/n,e.r=Math.max(e.r,t.r+l)),r.start<t.t?(o=(t.t-r.start)/s,e.t=Math.min(e.t,t.t-o)):r.end>
vendor: 4,711 bytes, line 360
360t.b&&(o=(r.end-t.b)/s,e.b=Math.max(e.b,t.b+o))}function lm(e,t,a){let i=e.drawingArea,{extra:r,additionalAngle:n,padding:s,size:l}=a,o=e.getPointPosition(t,i+r+s,n),c=Math.round(eY(eQ(o.angle+eP))),d=lx(o.y,l.h,c),u=l_(c),h=ly(o.x,l.w,u);return{visible:!0,x:o.x,y:d,textAlign:u,left:h,top:d,right:h+l.w,bottom:d+l.h}}function lg(e,t){if(!t)return!0;let{left:a,top:i,right:r,bottom:n}=e;return!(tF({x:a,y:i},t)||tF({x:a,y:n},t)||tF({x:r,y:i},t)||tF({x:r,y:n},t))}function lb(e,t,a){let i,r=[],n=e._pointLabels.length,s=e.options,{centerPointLabels:l,display:o}=s.pointLabels,c={extra:ld(s)/2,additionalAngle:l?eT/n:0};for(let s=0;s<n;s++){c.padding=a[s],c.size=t[s];let n=lm(e,s,c);r.push(n),"auto"===o&&(n.visible=lg(n,i),n.visible&&(i=n))}return r}function l_(e){return 0===e||180===e?"center":e<180?"left":"right"}function ly(e,t,a){return"right"===a?e-=t:"center"===a&&(e-=t/2),e}function lx(e,t,a){return 90===a||270===a?e-=t/2:(a>270||a<90)&&(e-=t),e}function lv(e,t,a){let{left:i,top:r,right:n,bottom:s}=a,{backdropColor:l}=t;if(!et(l)){let a=t0(t.borderRadius),o=t1(t.backdropPadding);e.fillStyle=l;let c=i-o.left,d=r-o.top,u=n-i+o.width,h=s-r+o.height;Object.values(a).some(e=>0!==e)?(e.beginPath(),tV(e,{x:c,y:d,w:u,h:h,radius:a}),e.fill()):e.fillRect(c,d,u,h)}}function lA(e,t){let{ctx:a,options:{pointLabels:i}}=e;for(let r=t-1;r>=0;r--){let t=e._pointLabelItems[r];if(!t.visible)continue;let n=i.setContext(e.getPointLabelContext(r));lv(a,n,t);let s=t2(n.font),{x:l,y:o,textAlign:c}=t;tz(a,e._pointLabels[r],l,o+s.lineHeight/2,s,{color:n.color,textAlign:c,textBaseline:"middle"})}}function lw(e,t,a,i){let{ctx:r}=e;if(a)r.arc(e.xCenter,e.yCenter,t,0,eN);else{let a=e.getPointPosition(0,t);r.moveTo(a.x,a.y);for(let n=1;n<i;n++)a=e.getPointPosition(n,t),r.lineTo(a.x,a.y)}}function lE(e,t,a,i,r){let n=e.ctx,s=t.circular,{color:l,lineWidth:o}=t;(s||i)&&l&&o&&!(a<0)&&(n.save(),n.strokeStyle=l,n.lineWidth=o,n.setLineDash(r.dash||[]),n.lineDashOffset=r.dashOffset,n.beginPath(),lw(e,a,s,i),n.closePath(),n.stroke(),n.restore())}function lS(e,t,a){return t6(e,{label:a,index:t,type:"pointLabel"})}class lC extends lt{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:tw.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let e=this._padding=t1(ld(this.options)/2),t=this.width=this.maxWidth-e.width,a=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+a/2+e.top),this.drawingArea=Math.floor(Math.min(t,a)/2)}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!1);this.min=er(e)&&!isNaN(e)?e:0,this.max=er(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/ld(this.options))}generateTickLabels(e){lt.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((e,t)=>{let a=ec(this.options.pointLabels.callback,[e,t],this);return a||0===a?a:""}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?lf(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,a,i){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((a-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,a,i))}getIndexAngle(e){return eQ(e*(eN/(this._pointLabels.length||1))+eW(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(et(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(et(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e<t.length){let a=t[e];return lS(this.getContext(),e,a)}}getPointPosition(e,t,a=0){let i=this.getIndexAngle(e)-eP+a;return{x:Math.cos(i)*t+this.xCenter,y:Math.sin(i)*t+this.yCenter,angle:i}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){let{left:t,top:a,right:i,bottom:r}=this._pointLabelItems[e];return{left:t,top:a,right:i,bottom:r}}
360drawBackground(){let{backgroundColor:e,grid:{circular:t}}=this.options;if(e){let a=this.ctx;a.save(),a.beginPath(),lw(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),a.closePath(),a.fillStyle=e,a.fill(),a.restore()}}drawGrid(){let e,t,a,i=this.ctx,r=this.options,{angleLines:n,grid:s,border:l}=r,o=this._pointLabels.length;if(r.pointLabels.display&&lA(this,o),s.display&&this.ticks.forEach((e,a)=>{if(0!==a||0===a&&this.min<0){t=this.getDistanceFromCenterForValue(e.value);let i=this.getContext(a),r=s.setContext(i),n=l.setContext(i);lE(this,r,t,o,n)}}),n.display){for(i.save(),e=o-1;e>=0;e--){let s=n.setContext(this.getPointLabelContext(e)),{color:l,lineWidth:o}=s;o&&l&&(i.lineWidth=o,i.strokeStyle=l,i.setLineDash(s.borderDash),i.lineDashOffset=s.borderDashOffset,t=this.getDistanceFromCenterForValue(r.reverse?this.min:this.max),a=this.getPointPosition(e,t),i.beginPath(),i.moveTo(this.xCenter,this.yCenter),i.lineTo(a.x,a.y),i.stroke())}i.restore()}}drawBorder(){}drawLabels(){let e,t,a=this.ctx,i=this.options,r=i.ticks;if(!r.display)return;let n=this.getIndexAngle(0);a.save(),a.translate(this.xCenter,this.yCenter),a.rotate(n),a.textAlign="center",a.textBaseline="middle",this.ticks.forEach((n,s)=>{if(0===s&&this.min>=0&&!i.reverse)return;let l=r.setContext(this.getContext(s)),o=t2(l.font);if(e=this.getDistanceFromCenterForValue(this.ticks[s].value),l.showLabelBackdrop){a.font=o.string,t=a.measureText(n.label).width,a.fillStyle=l.backdropColor;let i=t1(l.backdropPadding);a.fillRect(-t/2-i.left,-e-o.size/2-i.top,t+i.width,o.size+i.height)}tz(a,n.label,0,-e,o,{color:l.color,strokeColor:l.textStrokeColor,strokeWidth:l.textStrokeWidth})}),a.restore()}drawTitle(){}}let lT={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},lN=Object.keys(lT);function lk(e,t){return e-t}function lI(e,t){if(et(t))return null;let a=e._adapter,{parser:i,round:r,isoWeekday:n}=e._parseOpts,s=t;return("function"==typeof i&&(s=i(s)),er(s)||(s="string"==typeof i?a.parse(s,i):a.parse(s)),null===s)?null:(r&&(s="week"===r&&(eH(n)||!0===n)?a.startOf(s,"isoWeek",n):a.startOf(s,r)),+s)}function lj(e,t,a,i){let r=lN.length;for(let n=lN.indexOf(e);n<r-1;++n){let e=lT[lN[n]],r=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((a-t)/(r*e.size))<=i)return lN[n]}return lN[r-1]}function lP(e,t,a,i,r){for(let n=lN.length-1;n>=lN.indexOf(a);n--){let a=lN[n];if(lT[a].common&&e._adapter.diff(r,i,a)>=t-1)return a}return lN[a?lN.indexOf(a):0]}function lL(e){for(let t=lN.indexOf(e)+1,a=lN.length;t<a;++t)if(lT[lN[t]].common)return lN[t]}function lO(e,t,a){if(a){if(a.length){let{lo:i,hi:r}=e1(a,t);e[a[i]>=t?a[i]:a[r]]=!0}}else e[t]=!0}function lD(e,t,a,i){let r,n,s=e._adapter,l=+s.startOf(t[0].value,i),o=t[t.length-1].value;for(r=l;r<=o;r=+s.add(r,1,i))(n=a[r])>=0&&(t[n].major=!0);return t}function lM(e,t,a){let i,r,n=[],s={},l=t.length;for(i=0;i<l;++i)s[r=t[i]]=i,n.push({value:r,major:!1});return 0!==l&&a?lD(e,n,s,a):n}class lR extends r9{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){let a=e.time||(e.time={}),i=this._adapter=new i3(e.adapters.date);i.init(t),eg(a.displayFormats,i.formats()),this._parseOpts={parser:a.parser,round:a.round,isoWeekday:a.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:lI(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let e=this.options,t=this._adapter,a=e.time.unit||"day",{min:i,max:r,minDefined:n,maxDefined:s}=this.getUserBounds();function l(e){n||isNaN(e.min)||(i=Math.min(i,e.min)),s||isNaN(e.max)||(r=Math.max(r,e.max))}n&&s||(l(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&l(this.getMinMax(!1))),i=er(i)&&!isNaN(i)?i:+t.startOf(Date.now(),a),r=er(r)&&!isNaN(r)?r:+t.endOf(Date.now(),a)+1,this.min=Math.min(i,r-1),this.max=Math.max(i+1,r)}_getLabelBounds(){let e=this.getLabelTimestamps(),t=1/0,a=-1/0;return e.length&&(t=e[0],a=e[e.length-1]),{min:t,max:a}}buildTicks(){let e=this.options,t=e.time,a=e.ticks,i="labels"===a.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);let r=this.min,n=e4(i,r,this.max);return this._unit=t.unit||(a.autoSkip?lj(t.minUnit,this.min,this.max,this._getLabelCapacity(r)):lP(this,n.length,t.minUnit,this.min,this.max)),this._majorUnit=a.major.enabled&&"year"!==this._unit?lL(this._unit):void 0,this.initOffsets(i),e.reverse&&n.reverse(),lM(this,n,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let t,a,i=0,r=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),i=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,a=this.getDecimalForValue(e[e.length-1]),r=1===e.length?a:(a-this.getDecimalForValue(e[e.length-2]))/2);let n=e.length<3?.5:.25;i=eX(i,0,n),r=eX(r,0,n),this._offsets={start:i,end:r,factor:1/(i+1+r)}}_generate(){let e,t,a=this._adapter,i=this.min,r=this.max,n=this.options,s=n.time,l=s.unit||lj(s.minUnit,i,r,this._getLabelCapacity(i)),o=es(n.ticks.stepSize,1),c="week"===l&&s.isoWeekday,d=eH(c)||!0===c,u={},h=i;if(d&&(h=+a.startOf(h,"isoWeek",c)),h=+a.startOf(h,d?"day":l),a.diff(r,i,l)>
3601e5*o)throw Error(i+" and "+r+" are too far apart with stepSize of "+o+" "+l);let f="data"===n.ticks.source&&this.getDataTimestamps();for(e=h,t=0;e<r;e=+a.add(e,o,l),t++)lO(u,e,f);return(e===r||"ticks"===n.bounds||1===t)&&lO(u,e,f),Object.keys(u).sort(lk).map(e=>+e)}getLabelForValue(e){let t=this._adapter,a=this.options.time;return a.tooltipFormat?t.format(e,a.tooltipFormat):t.format(e,a.displayFormats.datetime)}format(e,t){let a=this.options.time.displayFormats,i=this._unit,r=t||a[i];return this._adapter.format(e,r)}_tickFormatFunction(e,t,a,i){let r=this.options,n=r.ticks.callback;if(n)return ec(n,[e,t,a],this);let s=r.time.displayFormats,l=this._unit,o=this._majorUnit,c=l&&s[l],d=o&&s[o],u=a[t],h=o&&d&&u&&u.major;return this._adapter.format(e,i||(h?d:c))}generateTickLabels(e){let t,a,i;for(t=0,a=e.length;t<a;++t)(i=e[t]).label=this._tickFormatFunction(i.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){let t=this._offsets,a=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+a)*t.factor)}getValueForPixel(e){let t=this._offsets,a=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+a*(this.max-this.min)}_getLabelSize(e){let t=this.options.ticks,a=this.ctx.measureText(e).width,i=eW(this.isHorizontal()?t.maxRotation:t.minRotation),r=Math.cos(i),n=Math.sin(i),s=this._resolveTickFontOptions(0).size;return{w:a*r+s*n,h:a*n+s*r}}_getLabelCapacity(e){let t=this.options.time,a=t.displayFormats,i=a[t.unit]||a.millisecond,r=this._tick
360FormatFunction(e,0,lM(this,[e],this._majorUnit),i),n=this._getLabelSize(r),s=Math.floor(this.isHorizontal()?this.width/n.w:this.height/n.h)-1;return s>0?s:1}getDataTimestamps(){let e,t,a=this._cache.data||[];if(a.length)return a;let i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(e=0,t=i.length;e<t;++e)a=a.concat(i[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(a)}getLabelTimestamps(){let e,t,a=this._cache.labels||[];if(a.length)return a;let i=this.getLabels();for(e=0,t=i.length;e<t;++e)a.push(lI(this,i[e]));return this._cache.labels=this._normalized?a:this.normalize(a)}normalize(e){return e7(e.sort(lk))}}function lF(e,t,a){let i,r,n,s,l=0,o=e.length-1;a?(t>=e[l].pos&&t<=e[o].pos&&({lo:l,hi:o}=e2(e,"pos",t)),{pos:i,time:n}=e[l],{pos:r,time:s}=e[o]):(t>=e[l].time&&t<=e[o].time&&({lo:l,hi:o}=e2(e,"time",t)),{time:i,pos:n}=e[l],{time:r,pos:s}=e[o]);let c=r-i;return c?n+(s-n)*(t-i)/c:n}class lB extends lR{static id="timeseries";static defaults=lR.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=lF(t,this.min),this._tableRange=lF(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let t,a,i,{min:r,max:n}=this,s=[],l=[];for(t=0,a=e.length;t<a;++t)(i=e[t])>=r&&i<=n&&s.push(i);if(s.length<2)return[{time:r,pos:0},{time:n,pos:1}];for(t=0,a=s.length;t<a;++t)Math.round((s[t+1]+s[t-1])/2)!==(i=s[t])&&l.push({time:i,pos:t/(a-1)});return l}_generate(){let e=this.min,t=this.max,a=super.getDataTimestamps();return a.includes(e)&&a.length||a.splice(0,0,e),a.includes(t)&&1!==a.length||a.push(t),a.sort((e,t)=>e-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),a=this.getLabelTimestamps();return e=t.length&&a.length?this.normalize(t.concat(a)):t.length?t:a,e=this._cache.all=e}getDecimalForValue(e){return(lF(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,a=this.getDecimalForPixel(e)/t.factor-t.end;return lF(this._table,a*this._tableRange+this._minPos,!0)}}e.s(["BarController",0,iz,"BarElement",0,sf,"BubbleController",0,iV,"CategoryScale",0,s7,"Chart",0,n$,"Colors",0,sS,"DoughnutController",0,iq,"Legend",0,sO,"LineController",0,iQ,"LineElement",0,st,"LinearScale",0,la,"PieController",0,iX,"PointElement",0,si,"PolarAreaController",0,iZ,"RadarController",0,iJ,"ScatterController",0,i0,"Title",0,sR,"Tooltip",0,s3],40472);var lU=a,lH=e.i(91788);let l$="label";function lG(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function lW(e,t){let a=e.options;a&&t&&Object.assign(a,t)}function lY(e,t){e.labels=t}function lz(e,t,a=l$){let i=[];e.datasets=t.map(t=>{let r=e.datasets.find(e=>e[a]===t[a]);return!r||!t.data||i.includes(r)?{...t}:(i.push(r),Object.assign(r,t),r)})}function lV(e,t=l$){let a={labels:[],datasets:[]};return lY(a,e.labels),lz(a,e.datasets,t),a}function lK(e,t){let{height:a=150,width:i=300,redraw:r=!1,datasetIdKey:n,type:s,data:l,options:o,plugins:c=[],fallbackContent:d,updateMode:u,...h}=e,f=(0,lH.useRef)(null),p=(0,lH.useRef)(null),m=()=>{f.current&&(p.current=new n$(f.current,{type:s,data:lV(l,n),options:o&&{...o},plugins:c}),lG(t,p.current))},g=()=>{lG(t,null),p.current&&(p.current.destroy(),p.current=null)};return(0,lH.useEffect)(()=>{!r&&p.current&&o&&lW(p.current,o)},[r,o]),(0,lH.useEffect)(()=>{!r&&p.current&&lY(p.current.config.data,l.labels)},[r,l.labels]),(0,lH.useEffect)(()=>{!r&&p.current&&l.datasets&&lz(p.current.config.data,l.datasets,n)},[r,l.datasets]),(0,lH.useEffect)(()=>{p.current&&(r?(g(),setTimeout(m)):p.current.update(u))},[r,o,l.labels,l.datasets,u]),(0,lH.useEffect)(()=>{p.current&&(g(),setTimeout(m))},[s]),(0,lH.useEffect)(()=>(m(),()=>g()),[]),(0,lU.jsx)("canvas",{ref:f,role:"img",height:a,width:i,...h,children:d})}let lq=(0,lH.forwardRef)(lK);n$.register(sf,si,st,sO,s3,iQ,iz,sR,sS,la,s7);let lQ=e=>{let t,a,i,r,n,s,c,d,u,h,f,p,m=(0,o.c)(23);m[0]===Symbol.for("react.memo_cache_sentinel")?(t={mode:"nearest",axis:"y",intersect:!0},m[0]=t):t=m[0];let g=e.labels.displayLabels?.maintitle||"";m[1]!==g?(a={position:"top",display:!0,text:g},m[1]=g,m[2]=a):a=m[2],m[3]===Symbol.for("react.memo_cache_sentinel")?(i={display:!0,labels:{},position:"bottom"},r={forceOverride:!0},m[3]=i,m[4]=r):(i=m[3],r=m[4]),m[5]!==a?(n={title:a,legend:i,colors:r},m[5]=a,m[6]=n):n=m[6];let b=e.labels.displayLabels?.righttitle||"";m[7]!==b?(s={type:"linear",display:!0,position:"right",title:{display:!0,text:b}},m[7]=b,m[8]=s):s=m[8];let _=e.labels.displayLabels?.lefttitle||"";m[9]!==_?(c={display:!0,text:_},m[9]=_,m[10]=c):c=m[10],m[11]===Symbol.for("react.memo_cache_sentinel")?(d={drawOnChartArea:!1},m[11]=d):d=m[11],m[12]!==c?(u={type:"linear",display:!0,position:"left",title:c,grid:d},m[12]=c,m[13]=u):u=m[13],m[14]!==u||m[15]!==s?(h={y:s,y1:u},m[14]=u,m[15]=s,m[16]=h):h=m[16],m[17]!==h||m[18]!==n?(f={maintainAspectRatio:!1,responsive:!0,interaction:t,stacked:!0,plugins:n,scales:h},m[17]=h,m[18]=n,m[19]=f):f=m[19];let y=f;return m[20]!==y||m[21]!==e.chartData?(p=(0,l.jsx)("div",{className:"bar-line-chart-container",children:(0,l.jsx)(lq,{id:"canvas-id",options:y,data:e.chartData,type:"bar"})}),m[20]=y,m[21]=e.chartData,m[22]=p):p=m[22],p};e.s(["default",0,lQ],18720)},69899,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(91398),a=e.i(91788);e.i(48756);var i=e.i(38233),r=e.i(49266),n=e.i(3828),s=e.i(75425);let l=({options:e,onSelect:l,className:o="",selectedItem:c})=>{let[d,u]=(0,a.useState)(!1),h=(0,a.useRef)(null),f=(0,n.useRouter)(),p=e=>{h.current&&!h.current.contains(e.target)&&u(!1)};if((0,a.useEffect)(()=>(d?document.addEventListener("mousedown",p):document.removeEventListener("mousedown",p),()=>{document.removeEventListener("mousedown",p)}),[d]),(0,a.useEffect)(()=>{u(!1)},[f.asPath]),!e?.length)return(0,t.jsx)(t.Fragment,{});let m=()=>{u(e=>!e)},g=e=>{u(!1),l(e)},b=e?.map(e=>
360e?.id!==c?.id?e:null).filter(Boolean);return(0,t.jsxs)("div",{className:`dropdown-container ${o}`,ref:h,children:[(0,t.jsx)(i.Button,{isSecondary:!0,className:"dropdown-button",onClick:m,tabindex:0,icon:(0,t.jsx)(r.Icon,{iconName:"Sort"}),iconPosition:"right",children:c?.title||"Select"}),d&&b&&b?.length>s.default.ZERO&&(0,t.jsx)("ul",{className:"dropdown-menu",children:b.map(e=>(0,t.jsx)("li",{onClick:()=>g(e),children:e.title||""},e.id))})]})}},24397,e=>{"use strict";var t=e.i(91788);function a(){return(0,t.useEffect)(()=>{try{if("u"<typeof document)return;let e=!1,t=(e,t)=>{},a=(t,a)=>{e||(e=!0)},i=e=>e&&"object"==typeof e.dataset?e.dataset:null,r=e=>{if(!e)return{useGrouping:!1,decimals:0};let t=/,\d{3}/.test(e),a=e.match(/\.(\d+)/);return{useGrouping:t,decimals:a?a[1].length:0}},n=e=>{let a=e.getAttribute("data-counter")||"",i={};try{a.split(",").forEach(e=>{let[t,a]=e.split(":");t&&(i[t.trim()]=void 0===a||isNaN(Number(a))?a:Number(a))})}catch(e){t("Invalid data-counter format",e)}let n=e.textContent?.trim()??"",s=r(n);return{start:Number.isFinite(i.start)?i.start:0,end:Number.isFinite(i.end)?i.end:0,increment:Number.isFinite(i.increment)?i.increment:1,speed:Number.isFinite(i.speed)?i.speed:100,delay:Number.isFinite(i.delay)?i.delay:0,locale:i.locale??navigator.language??"en-US",style:i.style??"decimal",currency:i.currency,useGrouping:s.useGrouping,decimals:s.decimals}},s=e=>{try{return new Intl.NumberFormat(e.locale,{style:e.style,currency:"currency"===e.style?e.currency:void 0,useGrouping:e.useGrouping,minimumFractionDigits:e.decimals,maximumFractionDigits:e.decimals}).format("percent"===e.style&&e.end>1?e.end/100:e.end)}catch(t){return a("Intl.NumberFormat failed; using raw value",t),String(e.end)}},l=(e,a)=>{try{if(e.setAttribute("aria-hidden","true"),e.nextElementSibling?.classList.contains("sr-only"))return;let t=document.createElement("span");t.className="sr-only",t.textContent=a,e.after(t)}catch(e){t("Failed to set up screen-reader content",e)}},o=()=>{document.querySelectorAll(".animated-counter").forEach(e=>{try{let t=n(e);e.textContent=s(t)}catch(e){a("Static fallback failed",e)}})};if(!("IntersectionObserver"in window))return void o();let c=()=>{try{return window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches??!1}catch{return!1}},d=e=>{try{let a=i(e);if(!a||"true"===a.animating)return;a.animating="true";let r=n(e),o=s(r);if(l(e,o),c()){e.textContent=o,delete a.animating;return}let{start:d,end:u,increment:h}=r;"percent"===r.style&&(u>1&&(u/=100),d>1&&(d/=100),h>1&&(h/=100));let f=new Intl.NumberFormat(r.locale,{style:r.style,currency:"currency"===r.style?r.currency:void 0,useGrouping:r.useGrouping,minimumFractionDigits:r.decimals,maximumFractionDigits:r.decimals}),p=d,m=h>0,g=()=>{delete a.animating,delete a.timeoutId},b=()=>{try{if(p+=h,m&&p>=u||!m&&p<=u){e.textContent=o,g();return}e.textContent=f.format(p),a.timeoutId=String(setTimeout(b,r.speed))}catch(a){t("Animation step failed",a),e.textContent=o,g()}};a.timeoutId=String(setTimeout(b,Math.max(0,r.delay)))}catch(i){t("Animation failed; rendering statically",i);try{let t=n(e);e.textContent=s(t)}catch(e){a("Fatal per-element failure",e)}}},u=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.target,a=i(t);a&&(e.isIntersecting?d(t):a.timeoutId&&(clearTimeout(Number(a.timeoutId)),delete a.animating,delete a.timeoutId))})},{threshold:.2});document.querySelectorAll(".animated-counter").forEach(e=>u.observe(e));let h=new MutationObserver(e=>{e.forEach(e=>e.addedNodes.forEach(e=>{e instanceof HTMLElement&&e.querySelectorAll(".animated-counter").forEach(e=>u.observe(e))}))});return h.observe(document.body,{childList:!0,subtree:!0}),()=>{u.disconnect(),h.disconnect()}}catch(e){console.error("[GlobalAnimatedCounter] Critical failure",e);try{document.querySelectorAll(".animated-counter").forEach(e=>{let t=e.textContent;t&&(e.textContent=t)})}catch{}}},[]),null}e.s(["default",0,a])},48756,e=>{"use strict";e.s([]),e.i(79988),e.i(38435),e.i(6561),e.i(88095),e.i(61413),e.i(87882),e.i(76064),e.i(68543),e.i(46047),e.i(22962),e.i(34620),e.i(88801),e.i(55981),e.i(50356),e.i(45335),e.i(1884),e.i(95264),e.i(86052),e.i(65376),e.i(67782),e.i(34642),e.i(46863),e.i(81352),e.i(64752),e.i(91875),e.i(44203),e.i(13380),e.i(1422),e.i(66796),e.i(58373),e.i(80169),e.i(73285),e.i(45376),e.i(74263),e.i(73027),e.i(32610),e.i(8942),e.i(7967),e.
360i(84186),e.i(34103),e.i(32787),e.i(52437),e.i(61619),e.i(70935),e.i(44889),e.i(28149),e.i(88019),e.i(89064),e.i(15752),e.i(33751),e.i(11946),e.i(18720),e.i(41173),e.i(20190),e.i(21369),e.i(69899),e.i(14060),e.i(65559),e.i(89367),e.i(85281),e.i(97268),e.i(98409),e.i(30733),e.i(56509),e.i(20802),e.i(24397),e.i(54310),e.i(75207),e.i(94516)},22962,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(91398),a=e.i(61576);e.i(48756);var i=e.i(65662);let r=e=>{let r,n,s,l=(0,a.c)(12),{children:o,className:c,fluid:d,narrow:u,bleed:h,fineprint:f}=e;l[0]!==h||l[1]!==c||l[2]!==f||l[3]!==d||l[4]!==u?(r=()=>{let e=[];return d?e.push("container-fluid"):e.push("container"),u&&e.push("container-narrow"),h&&e.push("container-bleed"),f&&e.push("container-fineprint"),c&&e.push(c),e.join(" ")},l[0]=h,l[1]=c,l[2]=f,l[3]=d,l[4]=u,l[5]=r):r=l[5];let p=r;l[6]!==o?(n=null!=o?o:(0,t.jsx)(i.PlaceholderBlock,{style:{minHeight:"1rem"}}),l[6]=o,l[7]=n):n=l[7];let m=n,g=e?.id,b=`${p()} ${"heroBannerContent"===c?"":"component-wrapper"}`;return l[8]!==m||l[9]!==g||l[10]!==b?(s=(0,t.jsx)("div",{id:g,className:b,children:m}),l[8]=m,l[9]=g,l[10]=b,l[11]=s):s=l[11],s}}]);

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.