1"use strict";(self.webpackChunkinsight_timer=self.webpackChunkinsight_timer||[]).push([[9662],{10351:(e,t,n)=>{n.d(t,{s:()=>l});var i=n(64582),o=n(93091),s=n(52804),r=n(27596),a=n(28533);const l=(0,n(77205).R)(((e,t)=>{const{onClick:n,className:l,...d}=e,{onClose:c}=(0,r.k3)(),u=(0,o.cx)("chakra-modal__close-btn",l),p=(0,r.x5)();return(0,i.jsx)(a.J,{ref:t,__css:p.closeButton,className:u,onClick:(0,s.H)(n,(e=>{e.stopPropagation(),c()})),...d})}));l.displayName="ModalCloseButton"},36603:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E});var i=n(78675),o=n(97207),s=n(27596),r=n(39654),a=n(20704),l=n(9242),d=n(4021),c=n(17097),u=n(10351),p=n(15263),f=n(70579),h=n(89787),x=n(84227),m=n(80476),v=n(5951),b=n(82301),g=n(1175),y=n(62811),k=n(95254),w=n(93470),j=n(64582);const C=e=>{let{onEvaluated:t,isTrackingConsented:n}=e;const i=g.yW.reduce(((e,t)=>{const i=(0,y.R4)(t.flag,{variant:t.variants[0]},{enabled:n});return e[t.flag]=i.value.variant,e}),{});return k.useEffect((()=>{t(i)}),[]),null},E=e=>{let{testMock:t,setTestMock:n}=e;const{isOpen:y,onOpen:E,onClose:S}=(0,i.j)(),{isTrackingConsented:L}=(0,w.A)(),[T,A]=(0,k.useState)(null),F=(0,k.useMemo)((()=>({...T||{},...t||{}})),[T,t]),R=()=>{n(null),S()};return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(o.$,{rounded:"full",colorScheme:"green",position:"fixed",left:0,top:"50%",zIndex:"overlay",onClick:()=>{y?S():(A(null),E())},fontSize:"sm",children:"A/B"}),(0,j.jsxs)(s.aF,{isOpen:y,onClose:S,size:"xl",children:[(0,j.jsx)(r.m,{}),(0,j.jsx)(k.Suspense,{fallback:null,children:y&&(0,j.jsx)(C,{onEvaluated:A,isTrackingConsented:L})}),T?(0,j.jsx)(b.l1,{initialValues:F,onSubmit:e=>{n(e),S()},enableReinitialize:!0,children:e=>{let{values:n,setFieldValue:i,isSubmitting:s}=e;return(0,j.jsx)(b.lV,{children:(0,j.jsxs)(a.$,{children:[(0,j.jsx)(c.r,{children:"A/B Test Debug"}),(0,j.jsx)(u.s,{}),(0,j.jsxs)(l.c,{children:[!L&&(0,j.jsx)(p.E,{mb:4,fontSize:"sm",color:"red.500",fontWeight:"medium",children:"Analytics consent is required to apply mock AB test variants."}),g.yW.filter((e=>(!("isArchived"in e)||!e.isArchived)&&(!("isHidden"in e)||!e.isHidden))).map((e=>{const o=L?null!==t&&void 0!==t&&t[e.flag]?"mock-override":"confidence-rollout":"consent-denied";return(0,j.jsxs)(f.MJ,{as:"fieldset",mb:4,children:[(0,j.jsx)(p.E,{fontWeight:600,mb:2,children:e.name}),(0,j.jsx)(h.z,{value:n[e.flag],onChange:t=>i(e.flag,t),isDisabled:!L,children:(0,j.jsx)(x.B,{direction:"row",flexWrap:"wrap",children:e.variants.map((e=>(0,j.jsx)(m.s,{value:e,children:e},e)))})}),(0,j.jsxs)(p.E,{mt:2,fontSize:"sm",color:"gray.500",children:["Reason: ",o]})]},e.flag)}))]}),(0,j.jsxs)(v.j,{display:"flex",gap:3,children:[(0,j.jsx)(o.$,{colorScheme:"red",type:"button",onClick:R,children:"Reset"}),(0,j.jsx)(o.$,{colorScheme:"green",isLoading:s,type:"submit",isDisabled:!L,children:"Apply"})]})]})})}}):(0,j.jsx)(a.$,{children:(0,j.jsx)(l.c,{children:(0,j.jsx)(d.a,{py:6,children:"Loading ..."})})})]})]})}}
1,49402:(e,t,n)=>{n.d(t,{ep:()=>r});var i=n(60539);const o=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join(),s=e=>e.offsetWidth>0&&e.offsetHeight>0;function r(e){const t=Array.from(e.querySelectorAll(o));return t.unshift(e),t.filter((e=>(0,i.tp)(e)&&s(e)))}},52656:(e,t,n)=>{n.d(t,{f:()=>i});const i={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"}},59338:(e,t,n)=>{n.d(t,{Yy:()=>b});var i=()=>"undefined"!==typeof document;var o=!1,s=null,r=!1,a=!1,l=new Set;function d(e,t){l.forEach((n=>n(e,t)))}var c="undefined"!==typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function u(e){var t;r=!0,(t=e).metaKey||!c&&t.altKey||t.ctrlKey||"Control"===t.key||"Shift"===t.key||"Meta"===t.key||(s="keyboard",d("keyboard",e))}function p(e){if(s="pointer","mousedown"===e.type||"pointerdown"===e.type){r=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let n=!1;try{n=t.matches(":focus-visible")}catch{}if(n)return;d("pointer",e)}}function f(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||0===t.detail&&!t.pointerType)&&(r=!0,s="virtual")}function h(e){e.target!==window&&e.target!==document&&(e.target instanceof Element&&e.target.hasAttribute("tabindex")||(r||a||(s="virtual",d("virtual",e)),r=!1,a=!1))}function x(){r=!1,a=!0}function m(){return"pointer"!==s}function v(){if(!i()||o)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(){r=!0;for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.apply(this,n)},document.addEventListener("keydown",u,!0),document.addEventListener("keyup",u,!0),document.addEventListener("click",f,!0),window.addEventListener("focus",h,!0),window.addEventListener("blur",x,!1),"undefined"!==typeof PointerEvent?(document.addEventListener("pointerdown",p,!0),document.addEventListener("pointermove",p,!0),document.addEventListener("pointerup",p,!0)):(document.addEventListener("mousedown",p,!0),document.addEventListener("mousemove",p,!0),document.addEventListener("mouseup",p,!0)),o=!0}function b(e){v(),e(m());const t=()=>e(m());return l.add(t),()=>{l.delete(t)}}},60539:(e,t,n)=>{n.d(t,{AO:()=>a,tp:()=>r});var i=n(40801);const o=e=>e.hasAttribute("tabindex"),s=e=>o(e)&&-1===e.tabIndex;function r(e){if(!(0,i.sb)(e)||(0,i.N3)(e)||(0,i.pj)(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!(0,i.wu)(e)||o(e)}function a(e){return!!e&&((0,i.sb)(e)&&r(e)&&!s(e))}},70579:(e,t,n)=>{n.d(t,{MJ:()=>v,TP:()=>h,Uc:()=>m,eK:()=>b});var i=n(64582),o=n(47871),s=n(3007),r=n(14083),a=n(61875),l=n(93091),d=n(95254),c=n(77205),u=n(44873),p=n(88119);const[f,h]=(0,r.q)({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[x,m]=(0,r.q)({strict:!1,name:"FormControlContext"});const v=(0,c.R)((function(e,t){const n=(0,u.o)("Form",e),r=(0,s.M)(e),{getRootProps:c,htmlProps:h,...m}=function(e){const{id:t,isRequired:n,isInvalid:i,isDisabled:s,isReadOnly:r,...l}=e,c=(0,d.useId)(),u=t||`field-${c}`,p=`${u}-label`,f=`${u}-feedback`,h=`${u}-helptext`,[x,m]=(0,d.useState)(!1),[v,b]=(0,d.useState)(!1),[g,y]=(0,d.useState)(!1),k=(0,d.useCallback)((function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{id:h,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ref:(0,o.Px)(e,(e=>{e&&b(!0)}))}}),[h]),w=(0,d.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:t,"data-focus":(0,a.s)(g),"data-disabled":(0,a.s)(s),"data-invalid":(0,a.s)(i),"data-readonly":(0,a.s)(r),id:void 0!==e.id?e.id:p,htmlFor:void 0!==e.htmlFor?e.htmlFor:u}}),[u,s,g,i,r,p]),j=(0,d.useCallback)((function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{id:f,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ref:(0,o.Px)(e,(e=>{e&&m(!0)})),"aria-live":"polite"}}),[f]),C=(0,d.useCallback)((function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},...l,ref:e,role:"group","data-focus":(0,a.s)(g),"data-disabled":(0,a.s)(s),"data-invalid":(0,a.s)(i),"data-readonly":(0,a.s)(r)}}),[l,s,g,i,r]),E=(0,d.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;
1return{...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"}}),[]);return{isRequired:!!n,isInvalid:!!i,isReadOnly:!!r,isDisabled:!!s,isFocused:!!g,onFocus:()=>y(!0),onBlur:()=>y(!1),hasFeedbackText:x,setHasFeedbackText:m,hasHelpText:v,setHasHelpText:b,id:u,labelId:p,feedbackId:f,helpTextId:h,htmlProps:l,getHelpTextProps:k,getErrorMessageProps:j,getRootProps:C,getLabelProps:w,getRequiredIndicatorProps:E}}(r),v=(0,l.cx)("chakra-form-control",e.className);return(0,i.jsx)(x,{value:m,children:(0,i.jsx)(f,{value:n,children:(0,i.jsx)(p.B.div,{...c({},t),className:v,__css:n.container})})})}));v.displayName="FormControl";const b=(0,c.R)((function(e,t){const n=m(),o=h(),s=(0,l.cx)("chakra-form__helper-text",e.className);return(0,i.jsx)(p.B.div,{...n?.getHelpTextProps(e,t),__css:o.helperText,className:s})}));b.displayName="FormHelperText"},86933:(e,t,n)=>{n.d(t,{Jv:()=>s,jd:()=>r,xf:()=>i,yA:()=>a});const i={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},o={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function s(e){switch(e?.direction??"right"){case"right":default:return o.slideRight;case"left":return o.slideLeft;case"bottom":return o.slideDown;case"top":return o.slideUp}}const r={enter:{duration:.2,ease:i.easeOut},exit:{duration:.1,ease:i.easeIn}},a={enter:(e,t)=>({...e,delay:"number"===typeof t?t:t?.enter}),exit:(e,t)=>({...e,delay:"number"===typeof t?t:t?.exit})}}}]); 2//# sourceMappingURL=9662.361b6460.chunk.js.map
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.