1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5670],{17746:function(e,n,t){t.d(n,{Z:function(){return Z}});var o=t(59499),r=t(4730),i=t(9008),l=t.n(i),a=t(57953),c=t(10404),u=t(60407),d=t(31096),s=t(13959),p=t(80477),f=t(31962),h=t(67294),x=t(58255),g=t(74107),m=t(47300),v=t(11163),b=t(67162),y=t(4480),w=t(67208),S=t(31742),j=t(36596),C=t(85893),O=function(e){var n=e.text,t=e.icon,o=e.className,r=e.onBack,i=function(){var e=(0,h.useState)(0),n=e[0],t=e[1];return(0,h.useEffect)((function(){var e=function(){t(window.scrollY)};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]),n}(),l=(0,v.useRouter)(),a=(0,b.vH)(),c=a.secondaryBg,u=a.textColor,d=(0,y.sJ)(w.GW);return(0,C.jsxs)(P,{className:(0,S.cn)("z-navbar",o),$_css:c,$_css2:i>0?"#C4C4C4":"transparent",$_css3:d,$_css4:(0,j.V8)({componentType:"cta",baseIndexNumber:9999}),children:[(0,C.jsx)(x.hU,{onClick:function(){var e=l.query.redirect;e?l.replace(e):r?r():l.back()},children:t||(0,C.jsx)(g.IAk,{stroke:u})}),(0,C.jsx)(m.ZT,{fontSize:"16px",fontWeight:"700",children:n})]})},P=(0,d.ZP)("div").withConfig({displayName:"FixedBack___StyledDiv",componentId:"sc-12aylkz-0"})(["transition:all 0.3s ease;background:",";border-bottom:1px solid ",";top:","px;z-index:",";position:fixed;width:100%;padding:20px 14px;padding-bottom:12px;button{position:absolute;transform:translateY(2px);}p{line-height:24px;text-align:center;}"],(function(e){return e.$_css}),(function(e){return e.$_css2}),(function(e){return e.$_css3}),(function(e){return e.$_css4})),_=["id","children","title","bgColor","loading","fixedContent","fixedContentClassName","onFixedBack","icon","noFooter"];function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function I(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var V=d.ZP.div.withConfig({displayName:"Layout__ContentWrapper",componentId:"sc-6gpps0-0"})(["flex:1;margin-top:",";--nav-height:76px;background-color:",";background-color:",";@media ","{--nav-height:53px;}.tooltip{background:#ffffff;border:1px solid #c4c4c4;padding:20px;max-width:424px;border-radius:12px;color:#010101;opacity:1 !important;p{font-weight:400;font-size:12px;line-height:18px;}@media ","{padding:28px 40px;}}"],(function(e){return e.hasFixedContent?"".concat(e.navbarHeight+57,"px"):"".concat(e.navbarHeight,"px")}),(function(e){return e.theme.color.primary}),(function(e){return e.theme.color.primary}),u.vb.tabletAndDown,u.vb.tabletAndDown),Z=function e(n){var t=n.id,o=n.children,i=n.title,u=n.bgColor,d=n.loading,h=n.fixedContent,x=n.fixedContentClassName,g=n.onFixedBack,m=n.icon,v=n.noFooter,b=void 0!==v&&v,S=(0,r.Z)(n,_),j=(0,c.P)().isTabletOrMobile,P=(0,a.Ap)("/theme/default/section"),k=P.data,Z=P.error,N=(0,y.sJ)(w.GW);return Z?(0,C.jsx)(e,{title:"404"}):!k||d?(0,C.jsx)(D,{children:(0,C.jsx)(s.Z,{width:"200px",height:"200px"})}):(0,C.jsxs)("div",I(I({style:{minHeight:"100vh",display:"flex",flexDirection:"column",backgroundColor:u}},S),{},{children:[i&&(0,C.jsxs)(l(),{children:[(0,C.jsx)("title",{children:i}),(0,C.jsx)("meta",{charSet:"utf-8"}),(0,C.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"})]}),(0,C.jsx)(f.Z,{}),h&&j&&(0,C.jsx)(O,{className:x,text:h,icon:m,onBack:g}),(0,C.jsx)(V,{id:t,hasFixedContent:Boolean(h)&&j,navbarHeight:N,children:o}),!b&&(0,C.jsx)(p.Z,{})]}))},D=(0,d.ZP)("div").withConfig({displayName:"Layout___StyledDiv",componentId:"sc-6gpps0-1"})(["min-height:100vh;display:flex;justify-content:center;align-items:center;"])},55013:function(e,n,t){var o=t(4730),r=t(59499),i=t(29479),l=t(39197),a=t(11163),c=t(67294),u=t(87536),d=t(11604),s=t(86949),p=t(31096),f=t(38366),h=t(47300),x=t(58255),g=t(31742),m=t(36596),v=t(85893),b=["children"];function y(e,n){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"===typeof e)return w(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return w(e,n)}(e))||n&&e&&"number"===typeof e.length){t&&(e=t);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==t.return||t.return()}finally{if(a)throw i}}}}function w(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function S(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?S(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):S(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var C=function(e){var n=(0,a.useRouter)(),t=(0,i.l)(),o=d.c.Option,r=(d.c.SingleValue,t.settingTheme.color.secondary.text),l=t.settingTheme.color.secondary.background,u=(0,c.useState)(""),s=u[0],p=u[1];return(0,v.jsx)(o,j(j({onMouseMove:function(){p(e.selectProps.value.value)}},e),{},{children:(0,v.jsxs)("div",{onMouseEnter:function(){p(e.selectProps.value.value)},onMouseLeave:function(){p("")},className:"item",children:[e.isSelected||e.selectProps.value.value===s?e.data.icon(n.pathname,l):e.data.icon(n.pathname,r),e.data.label]})}))},O=function(e){var n=e.children,t=(0,o.Z)(e,b),r=(0,i.l)(),l=r.settingTheme.color.secondary.background,a=r.settingTheme.color.secondary.text;return(0,v.jsxs)(V,{children:[(0,v.jsx)(Z,{children:n}),(0,v.jsxs)(D,{$_css:l,children:[(0,v.jsx)(N,{color:a,onClick:function(){t.hasValue?t.selectProps.onReset():t.selectProps.closeMenu()},children:t.hasValue?"Reset":"Cancel"}),(0,v.jsx)(T,{width:"auto",padding:"6px 12px",onClick:function(){t.selectProps.onFilter(t.selectProps.name,t.getValue().map((function(e){return e.value})))},children:"Apply"})]})]})},P=function(e){var n=d.c.Option;return(0,v.jsx)(n,j(j({},e),{},{children:(0,v.jsxs)("div",{className:"checkbox-wrapper",children:[(0,v.jsx)("input",{type:"checkbox",defaultChecked:e.isSelected,id:e.label}),(0,v.jsx)("label",{style:{marginLeft:8},htmlFor:e.label,children:e.label})]})}))},_=function(){return null},k=p.ZP.div.withConfig({displayName:"Select__Wrapper",componentId:"sc-13txup4-0"})(["z-index:1;position:relative;margin-bottom:",";width:100%;border-color:",";filter:drop-shadow(0px 4px 7px rgba(0,0,0,0.05));@keyframes menuSlideDown{from{opacity:0;transform:translateY(-8px) scaleY(0.95);}to{opacity:1;transform:translateY(0) scaleY(1);}}.item{display:flex;gap:12px;align-items:center;}.checkbox-wrapper{display:flex;align-items:center;gap:8px;cursor:pointer;input{cursor:pointer;accent-color:",";min-width:15px;min-height:15px;}label{cursor:pointer;font-weight:400;line-height:18px;}}"],(function(e){var n;return null!==(n=e.mb)&&void 0!==n?n:"0px"}),(function(e){return Boolean(null===e||void 0===e?void 0:e.errorText)&&"#FE5F55"}),(function(e){return e.theme.colors.black}));n.Z=function(e){var n,t,o=e.hasError,r=void 0!==o&&o,p=e.options,x=void 0===p?[]:p,b=e.label,w=e.name,S=e.mb,V=e.menuStyle,Z=e.inputStyle,D=e.selectOptionStyle,N=e.singleValueStyle,T=e.dropdownIndicator,F=e.controlStyle,B=e.groupHeadingStyle,M=e.placeholder,z=e.defaultValue,A=e.isSearchable,L=void 0!==A&&A,H=e.onChange,W=e.onChangeWithGroup,R=e.onChangeWithDetails,$=e.isSetValueForMulti,G=void 0!==$&&$,Y=e.menuPlace,J=e.borderLeft,U=e.isBoldValue,q=e.isMulti,Q=void 0!==q&&q,K=e.onFilter,X=e.syncWithFormProps,ee=void 0!==X&&X,ne=e.wrapperZIndex,te=void 0===ne?10:ne,oe=e.slectContainerStyle,re=void 0===oe?{}:oe,ie=e.isDisabled,le=void 0!==ie&&ie,ae=e.menuPortalTarget,ce=e.menuPortalZIndex,ue=e.formatOptionLabel,de=e.disableBorderHighlight,se=void 0!==de&&de,pe=e.renderOptions,fe=e.renderSingleValue,he=e.hideGroupHeading,xe=void 0!==he&&he,ge=e.wrapperStyles,me=(0,i.l)(),ve=me.settingTheme.color.secondary.text,be=me.settingTheme.color.secondary.background,ye=me.settingTheme.typography.bodyFont,we=(0,u.Gc)(),Se=we.register,je=we.formState,Ce=je.errors,Oe=(je.isValid,we.setValue),Pe=we.trigger,_e=(we.getValues,we.watch),ke=(0,c.useState)(!1),Ie=ke[0],Ve=ke[1],Ze=_e(w),De=(0,c.useState)(Ze),Ne=De[0],Te=De[1],Ee=function(e){return e.length>0&&"options"in e[0]},Fe=Ee(x)?x.flatMap((function(e){return e.options})):x,Be=function(e){if(Ee(x)){var n,t=y(x);try{for(t.s();!(n=t.n()).done;){var o,r=n.value;if(null!==(o=r.options)&&void 0!==o&&o.some((function(n){return n.value===e})))return r.label}}catch(i){t.e(i)}finally{t.f()}}};(0,c.useEffect)((function(){Ne&&"object"===typeof Ne&&Array.isArray(Ne)&&null!==Ne&&void 0!==Ne&&Ne.includes(l.sI)&&Oe(w,Fe.map((function(e){return e.value}))),!Q||null!==Ne&&void 0!==Ne&&Ne.length||Oe(w,[])}),[Fe.length]),(0,c.useEffect)((function(){null===Ze&&Ne&&Te(null)}),[Ze]),(0,c.useEffect)((function(){ee&&Ze!==Ne&&Te(Ze)}),[Ze]);var Me={menuPortal:function(e){return j(j({},e),{},{zIndex:ae?null!==ce&&void 0!==ce?ce:(0,m.V8)({componentType:"dropdown",baseIndexNumber:9999}):1})},menu:function(e,n){return j(j(j({},e),{},{backgroundColor:be,marginTop:0,fontFamily:"".concat(ye," !important"),minWidth:"max-content"},ae&&{zIndex:null!==ce&&void 0!==ce?ce:(0,m.V8)({componentType:"dropdown",baseIndexNumber:9999})}),{},{animation:"menuSlideDown 0.2s ease-out",transformOrigin:"top"},V)},input:function(e,n){return j(j(j({},e),{},{padding:"12px",borderRadius:"6px",height:"48px"},r&&{border:"1px solid #FE5F55"}),Z)},valueContainer:function(e,n){return j(j({},e),{},{padding:"0px",paddingLeft:"12px",height:"100%",borderLeft:J?"4px solid ".concat(ve):"none;"})},indicatorsContainer:function(e,n){return j(j({},e),{},{height:"100%",color:ve,"&.indicatorContainer":{color:ve}})},dropdownIndicator:function(e){return j(j({},e),{},{color:ve},T)},indicatorSeparator:function(e,n){return j(j({},e),{},{width:"100%"})},container:function(e){return j(j({},e),{},{borderRadius:"8px",backgroundColor:"transparent"},re)},control:function(e,n){return j(j(j(j(j({},e),{},{fontSize:"14px",filter:"drop-shadow(0px 4px 7px rgba(0, 0, 0, 0.05))",borderRadius:"8px",height:"54px",boxShadow:se?"none !important":e.boxShadow,backgroundColor:be,borderColor:null!==F&&void 0!==F&&F.activeBorderColor&&n.menuIsOpen?null===F||void 0===F?void 0:F.activeBorderColor:"#e0e0e0"},r&&{borderColor:"#FE5F55 !important"}),{},{outline:se?"none !important":e.outline,cursor:"pointer"},F),{},{"&:hover":null!==F&&void 0!==F&&F.disabledHoverColor?{}:se?{borderColor:"#e0e0e0 !important",border:"1px solid #e0e0e0"}:{border:"1px solid ".concat(ve),borderColor:ve}},le&&{cursor:"not-allowed"}),le&&{backgroundColor:"#E6E6E6",color:"#787878"})},placeholder:function(e){return j(j({},e),{},{color:ve},le&&{color:"rgb(128, 128, 128)"})},singleValue:function(e){return j(j(j({},e),{},{color:ve,lineHeight:"24px"},le&&{color:"#787878"}),{},{fontWeight:U?"bold":"normal"},N)},option:function(e,n){return j(j({},e),{},{width:"auto",cursor:"pointer",transition:"all .4s",margin:"8px 16px",borderRadius:"8px",padding:"8px",fontSize:"12px",backgroundColor:Q?be:n.isSelected?ve:be,color:Q?ve:n.isSelected?be:ve,":hover":{backgroundColor:"rgba(".concat((0,g.oo)(ve,.05),")")},":active":{backgroundColor:Q?ve:be,color:Q?ve:be}},D)},groupHeading:function(e){return j(j({},e),{},{fontSize:"16px",fontWeight:"600",color:ve,padding:"12px 16px 8px 16px",margin:"0",textTransform:"none"},B)},group:function(e){return j(j({},e),{},{paddingTop:"0px",paddingBottom:"0px"})}},ze=Se(w),Ae=(d.c.Option,d.c.SingleValue),Le=(0,a.useRouter)(),He=!!Fe.find((function(e){return!!e.icon})),We=function(e){return(0,v.jsx)(Ae,j(j({},e),{},{children:(0,v.jsxs)("div",{className:"item ",children:[e.selectProps.value.icon(Le.pathname,ve),(0,v.jsx)(E,{children:e.selectProps.value.label})]})}))};return(0,v.jsxs)(k,{style:j({zIndex:te},ge),mb:S,errorText:Ce[w]||null,children:[b&&(0,v.jsx)(h.ZT,{fontSize:"12px",mb:"
16px",children:b}),(0,v.jsx)(u.Qr,j(j({},ze),{},{defaultValue:z,render:function(e){var n=e.field,t=Q?Fe.filter((function(e){return null===Ne||void 0===Ne?void 0:Ne.includes(e.value)})):null===Fe||void 0===Fe?void 0:Fe.find((function(e){return e.value===n.value}));return(0,v.jsx)(s.ZP,j(j(j({isMulti:Q,isClearable:!1,placeholder:M},ze),n),{},{blurInputOnSelect:!Q,value:t,onChange:function(e){var n;if(Q)n=e.map((function(e){return e.value})),Te(n),G&&Oe(w,n,{shouldValidate:!0}),W&&W(n,void 0,w),R&&R(n,e,void 0,w);else{if(n=e.value,Oe(w,n,{shouldValidate:!0}),Pe(w),H&&H(n,w),W){var t=Be(n);W(n,t,w)}if(R){var o=Be(n);R(n,e,o,w)}}},closeMenuOnSelect:!Q,hideSelectedOptions:!1,controlShouldRenderValue:!Q,menuIsOpen:Ie,onMenuOpen:function(){Ve(!0)},onMenuClose:function(){Ve(!1),K&&K(w,Ne)},onBlur:function(){Ve(!1)},isSearchable:L,styles:Me,options:x,menuPlacement:Y,menuShouldScrollIntoView:!0,menuPortalTarget:ae,formatOptionLabel:ue,name:w,onFilter:function(e,n){K(e,n),Ve(!1)},onReset:function(){Te([])},closeMenu:function(){Ve(!1),Te(_e(w))},isDisabled:le,components:j(pe?j(j({Option:pe},fe&&{SingleValue:fe}),Q&&{MenuList:O,DropdownIndicator:I}):Q?{Option:function(e){return(0,v.jsx)(P,j(j({},e),{},{name:w}))},MenuList:O,DropdownIndicator:I}:j(j({},He&&{Option:C}),He&&{SingleValue:We}),xe&&{GroupHeading:_})}))}})),(null===(n=Ce[w])||void 0===n?void 0:n.message)&&(0,v.jsx)(f.Z,{children:null===(t=Ce[w])||void 0===t?void 0:t.message})]})};var I=function(e){var n;return(0,v.jsx)(d.c.DropdownIndicator,j(j({},e),{},{children:null!==e&&void 0!==e&&null!==(n=e.getValue())&&void 0!==n&&n.length?(0,v.jsx)(F,{children:e.getValue().length}):null}))},V=(0,p.ZP)("div").withConfig({displayName:"Select___StyledDiv",componentId:"sc-13txup4-1"})(["position:relative;"]),Z=(0,p.ZP)("div").withConfig({displayName:"Select___StyledDiv2",componentId:"sc-13txup4-2"})(["max-height:327px;overflow-y:auto;padding-bottom:50px;"]),D=(0,p.ZP)("div").withConfig({displayName:"Select___StyledDiv3",componentId:"sc-13txup4-3"})(["position:absolute;left:0;right:0;bottom:0;padding:8px 16px;border-radius:0px 0px 8px 8px;border-top:1px solid #ededed;display:flex;justify-content:flex-end;gap:12px;background:",";"],(function(e){return e.$_css})),N=(0,p.ZP)(x.Av).withConfig({displayName:"Select___StyledTextButton",componentId:"sc-13txup4-4"})(["font-weight:700;font-size:12px;"]),T=(0,p.ZP)(x.hO).withConfig({displayName:"Select___StyledBlackButton",componentId:"sc-13txup4-5"})(["font-size:10px;height:auto;"]),E=(0,p.ZP)("span").withConfig({displayName:"Select___StyledSpan",componentId:"sc-13txup4-6"})({fontWeight:"bold"}),F=(0,p.ZP)("div").withConfig({displayName:"Select___StyledDiv4",componentId:"sc-13txup4-7"})(["width:18px;height:18px;text-align:center;font-size:11px;line-height:18px;border-radius:50%;background:",";color:",";"],(function(e){var n;return null===(n=e.theme)||void 0===n?void 0:n.button.solid.background}),(function(e){var n;return null===(n=e.theme)||void 0===n?void 0:n.button.solid.text}))}}]);
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.