1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1109],{6851:function(t,n,e){e.d(n,{z:function(){return u},Z:function(){return s}});var r=e(7653),i=e(27573),u=t=>{let{children:n,theme:e}=t;return(0,i.jsx)(s.Provider,{value:e,children:n})},s=(0,r.createContext)("")},51512:function(t,n,e){e.d(n,{FC:function(){return s},Fz:function(){return c},Mo:function(){return a},UH:function(){return d},ZM:function(){return l},wt:function(){return u}});var r=e(7653);let i=/\{([a-zA-Z0-9-_]*)\}/g,u=(t,n)=>t.replace(i,(t,e)=>e in n?n[e]:""),s=(t,n)=>{let{current:e}=t;n?null==e||e.classList.add("active"):null==e||e.classList.remove("active")},o=t=>t.replace(/<\/?[^>]+(>|$)/g,""),c=t=>r.isValidElement(t)?t.props.alt||t.props.filename?t.props.alt||t.props.filename:t.props.code?o(String(t.props.code)):r.Children.toArray(t.props.children).map(c).join(" "):String(t),a=t=>{try{return JSON.parse(t)}catch(t){return console.warn(t),null}},l=t=>{let n;switch("mx"===window.location.hostname.split(".").pop()&&(t="es-MX"),null==t?void 0:t.toLowerCase()){case"fr-ca":n="/fr";break;case"es-us":n="/es";break;default:n=""}return n},d=t=>!!t},23203:function(t,n,e){e.d(n,{D:function(){return u}});var r=e(59372),i=e(83746);let u=()=>{var t;let{isLoading:n,isAuthenticated:e,user:u}=(0,r.J)(),s=n?"met session id is not yet available":null==u?void 0:null===(t=u.session)||void 0===t?void 0:t.id;return t=>{e&&u?i.default.fireEvent({rudderstack_user_id:u.details.email,...t},s):i.default.fireEvent(t,s)}}},49394:function(t,n,e){e.d(n,{s:function(){return u}});var r=e(7653),i=e(73995);let u=()=>(0,r.useContext)(i.xh)},55482:function(t,n,e){e.d(n,{b:function(){return I},H:function(){return R}});var r=e(27573),i=e(7653),u=e(70738),s=e(48481),o=e(76486),c=e(66363),a=e(56683),l=e(83723),d=e(36984);function h(){let t=(0,a._)(["\n accordion\n "," \n\n"]);return h=function(){return t},t}function f(){let t=(0,a._)(["\n flex\n items-center\n cursor-pointer\n ","\n "]);return f=function(){return t},t}function m(){let t=(0,a._)(["\n "," \n md:mr-1.5\n"]);return m=function(){return t},t}function p(){let t=(0,a._)(["\n overflow-hidden\n max-h-full\n"]);return p=function(){return t},t}function x(){let t=(0,a._)(["\n ","\n"]);return x=function(){return t},t}let v=t=>"".concat(t?"bg-gray-700":"bg-gray-200"," "),g=l.Z.div(h(),t=>{let{design:n}=t;switch(n){case"DARK":case"DARK-ROUNDED":case"STACK":return"";case"COMPACT":return"\n border-t\n border-gray-500\n ";case"SECONDARY":return"\n border-0\n ";case"DEFAULT-CENTER":return"\n border-0\n mx-auto\n ";default:return"\n border\n md:border-2\n border-gray-200\n md-max:border-l-0\n md-max:border-r-0\n "}}),_=l.Z.div(f(),t=>{let{design:n,isOpen:e}=t;switch(n){case"DARK":return"\n ".concat(v(e)," \n px-4\n py-1 \n my-1 \n ");case"DARK-ROUNDED":return" \n ".concat(v(e)," \n px-4\n py-1 \n my-1\n rounded-md \n ");case"COMPACT":return"\n px-0\n py-5\n md:px-5\n md:py-6\n ";case"SECONDARY":return"\n ".concat(e?"bg-gray-700 text-white":"bg-white","\n bg-white\n px-0\n py-2\n md:px-5\n shadow-md\n shadow-black/10\n border-0\n ");case"STACK":return"\n p-2\n md:py-10\n md:pr-5\n md:pl-8 \n bg-brandPrimary\n mb-[3px]\n ";case"DEFAULT-CENTER":return"";default:return"\n px-4\n py-5\n md:px-5\n md:py-6\n "}}),j=l.Z.div(m(),t=>{let{noSpace:n}=t;return!n&&"ml-auto"});l.Z.div(p());let E=t=>"".concat(t&&"text-white"),A=(0,l.Z)(d.h)(x(),t=>{let{design:n,isOpen:e}=t;switch(n){case"DARK":return"\n ".concat(E(e)," \n ");case"DARK-ROUNDED":return" \n ".concat(E(e)," \n ");default:return"\n "}});var C=e(4561),w=e(79394),M=e(47928),b=e(81535);let y=()=>null!==(0,b.N)();var L=e(23203),S=e(51512),D=e(49394),N=e(73995);let R=t=>{let{independent:n=!1,...e}=t,i=y();return(0,r.jsx)(i&&!n?O:H,{...e})},O=t=>{let{isCollapsed:n=!0,...e}
1=t,[i,u]=(0,M._)({toggle:!0,defaultToIsActive:!n});return(0,r.jsx)(T,{isOpen:i,toggleAccordion:u,...e})},H=t=>{let{isCollapsed:n=!0,...e}=t,[u,s]=(0,i.useState)(!n);return(0,i.useEffect)(()=>{s(!n)},[n]),(0,r.jsx)(T,{isOpen:u,toggleAccordion:()=>{s(t=>!t)},...e})},T=t=>{let{children:n,accordionTitle:e,design:i,onToggle:a,id:l,isOpen:d,toggleAccordion:h,icons:f="PLUSMINUS",iconColor:m,position:p,totalAccordions:x}=t,v=(0,L.D)(),E=(0,D.s)(),C=(0,N.cZ)(),w=()=>void 0!==p?p+1:void 0!==E&&C.length?E.index?E.index+1:1:void 0,M=()=>void 0!==x?x:C.length?C.length:void 0,b=()=>{switch(i){case"COMPACT":return 24;case"STACK":return 38;case"DEFAULT-CENTER":return 48;default:return 35}},y=()=>{if(m)return m;switch(i){case"STACK":case"COMPACT":return"WHITE";default:return"MILWAUKEE_RED"}},R=()=>{let t=null;return"CHEVRON"===f&&(t=d?o.x:c.m),"PLUSMINUS"===f&&(t=d?u.v:s.r),t&&(0,r.jsx)(t,{fillColor:y(),width:b(),height:b()})};return(0,r.jsxs)(g,{id:l,isOpen:d,design:i,children:[(0,r.jsxs)(_,{isOpen:d,onClick:()=>{h(),a&&a(!d),v({event:"accordion_engagement_tracking",action_type:"accordion click",action_category:"content viewing",action_content:(0,S.Fz)(e),action_target:d?"less":"more",action_parent:"generic accordion",action_parent_detail:void 0,action_depth:w(),action_depth_context:M(),action_level:void 0,action_level_context:void 0})},design:i,children:["CHEVRON"===f&&(0,r.jsx)(j,{noSpace:"CHEVRON"===f,children:R()}),"string"!=typeof e?e:(0,r.jsx)(A,{as:"h4",size:"SMALL",isOpen:d,design:i,children:e}),"PLUSMINUS"===f&&(0,r.jsx)(j,{children:R()})]}),(0,r.jsx)(Z,{isOpen:d,children:n})]})},Z=t=>{let{isOpen:n,children:e}=t,{contentRef:i,height:u}=(0,C.z)(n,150);return(0,r.jsx)("div",{ref:i,style:{overflow:"hidden",maxHeight:u},children:e})},I=t=>{let{children:n}=t;return(0,r.jsx)(w.Z,{children:n})}},30235:function(t,n,e){e.d(n,{E:function(){return u},F:function(){return s}});var r=e(27573),i=e(7653);let u=(0,i.createContext)(null),s=t=>{let{children:n}=t,[{ref:e,state:s},o]=(0,i.useState)({ref:null});return(0,r.jsx)(u.Provider,{value:{ref:e,state:s,setRef:o},children:n})}},47928:function(t,n,e){e.d(n,{_:function(){return u}});var r=e(81535),i=e(7653);let u=t=>{let{toggle:n,myActiveState:e,defaultToIsActive:u}=t,[s]=(0,i.useState)({}),{ref:o,setRef:c}=(0,r.N)(),a=o===s;return((0,i.useEffect)(()=>{u&&c({ref:s,state:e})},[u,c,s,e]),n)?[a,()=>c(a?{ref:null}:{ref:s,state:e})]:[a,()=>c({ref:s,state:e})]}},81535:function(t,n,e){e.d(n,{N:function(){return u}});var r=e(30235),i=e(7653);let u=()=>(0,i.useContext)(r.E)},79394:function(t,n,e){e.d(n,{Z:function(){return u}});var r=e(27573),i=e(30235);let u=t=>{let{children:n}=t;return(0,r.jsx)(i.F,{children:n})}},33729:function(t,n,e){e.d(n,{_:function(){return o}});let r={},i=(t,n,e)=>{if(e&&r[e])return r[e];let i=new u(t,n,e);return r[i.id]=i,i};class u{setMs(t){this.timeInMs=t,this.rate=this.amount/this.timeInMs}setAmt(t){this.amount=t,this.rate=this.amount/this.timeInMs}animate(t){this.stop=this._trigger(n=>{t(this.rate*n)})}to(t,n){this.stop=this._trigger(e=>{let r=Math.min(this.rate*e,this.amount);t(r),r===this.amount&&(null==n||n.call(this))})}from(t,n){this.stop=this._trigger(e=>{let r=this.rate*e,i=Math.max(this.amount-r,0);t(i),0===i&&(null==n||n.call(this))})}_requestAnimation(t){window.requestAnimationFrame(t)}_trigger(t){let n,e,r=!1,i=u=>{n=n||u;let s=u-n;e!==u&&t(s),s<this.timeInMs&&(e=u,r||this._requestAnimation(i))};return this._requestAnimation(i),()=>r=!0}constructor(t,n,e){this.type="",this.amount=0,this.timeInMs=0,this.stop=()=>{},this.id=e||Date.now(),this.amount=t,this.timeInMs=n,this.type="linear",this.rate=this.amount/this.timeInMs}}var s=e(7653);let o=(t,n)=>{let[e,r]=(0,s.useState)();return(0,s.useEffect)(()=>(r(i(t,n,null==e?void 0:e.id)),()=>null==e?void 0:e.stop()),[t,n,e]),e}},4561:function(t,n,e){e.d(n,{z:function(){return u}});var r=e(33729),i=e(7653);let u=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0px",u=(0,i.useRef)(null),[s,o]=(0,i.useState)(t?"100%":e),c=(0,r._)(0,n);return(0,i.useEffect)(()=>{if(!u.current)return;let n=t=>o("".concat(Math.max(parseInt(e),t),"px"));null==c||c.setAmt(u.current.scrollHeight),t?null==c||c.to(n,()=>o("100%")):null==c||c.from(n)}
1,[t,c,e]),{contentRef:u,height:s}}},70738:function(t,n,e){e.d(n,{v:function(){return u}});var r=e(11431),i=e(27573),u=({...t})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.u,{...t,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M4.57501 13.175V10.825H19.425V13.175H4.57501Z"})})})})},48481:function(t,n,e){e.d(n,{r:function(){return u}});var r=e(11431),i=e(27573),u=({...t})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.u,{...t,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M10.825 19.425V13.175H4.57501V10.825H10.825V4.57501H13.175V10.825H19.425V13.175H13.175V19.425H10.825Z"})})})})},66363:function(t,n,e){e.d(n,{m:function(){return u}});var r=e(11431),i=e(27573),u=({...t})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.u,{...t,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M9.37501 18.6L7.70001 16.925L12.65 11.975L7.70001 7.02501L9.37501 5.35001L16 11.975L9.37501 18.6Z"})})})})},76486:function(t,n,e){e.d(n,{x:function(){return u}});var r=e(11431),i=e(27573),u=({...t})=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.u,{...t,children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M12 15.95L5.40002 9.35002L7.07502 7.67502L12 12.625L16.925 7.70002L18.6 9.37502L12 15.95Z"})})})})}}]);
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.