PageSourceSearch

https://home.miui.com/_next/static/chunks/pages/_app-dedfdfe4da840c5e.js

js miui.com collected 2026-09-24 08:39:21 UTC 203,116 bytes, 3 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{7835:function(e,t,n){"use strict";var i=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,n,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of s(t))l.call(e,a)||a===n||r(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable});return e},c=(e,t,n)=>(n=null!=e?i(a(e)):{},u(!t&&e&&e.__esModule?n:r(n,"default",{value:e,enumerable:!0}),e)),d={};((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(d,{AssetImage:()=>I,ConfigContext:()=>x,ConfigProvider:()=>k,useImageUrlGenerator:()=>L}),e.exports=u(r({},"__esModule",{value:!0}),d);var h=c(n(959)),p=n(959),f=c(n(3023)),m=null,v="cubic-bezier(0.25, 0.46, 0.45, 0.94)",g={top:0,height:"100%",left:0,width:"100%"},b="https://cia.sec.miui.com",w="https://a.sec.miui.com",y=null;function S(...e){let t=e[0];for(let n=1;n<e.length;n++){let i=e[n];i&&(t=(t?`${t}&`:"")+e[n])}return t}var _=n(959),T=null,E=n(959),C=c(n(959)),x=C.default.createContext({}),k=({children:e,...t})=>C.default.createElement(x.Provider,{value:t},e),A={quality:80,sizeStep:100,objectPosition:"center",objectFit:"cover",animation:!0,lazy:!0};function R(e){let t=(0,E.useContext)(x);return function(...e){let t={};return e.forEach(e=>{Object.entries(e).forEach(([e,n])=>{void 0!==n&&(t[e]=n)})}),t}(A,t,e||{})}var M=n(959);function L(){let e=R(),[t,n]=(0,M.useState)(null);return(0,M.useEffect)(()=>{let t=function(){if(null===y){let e=document.createElement("canvas");y=!!(e.getContext&&e.getContext("2d"))&&0==e.toDataURL("image/webp").indexOf("data:image/webp")}return y}();n(()=>(n,i={})=>{let{quality:r=e.quality,format:o=t?"webp":void 0,secret:s=e.secretToken,base:a=e.baseUrl,width:l=0}=i;return function(e,t={}){let n="svg"===e.split(".").pop(),i=t.base,r="";i||(i=t.secret?w:b),t.secret&&(r=`secret=${t.secret}`);let o=new URL(e,i);return n||(i===w||"https://cdna.sec.miui.com"===i?r=S(r,function(e){let t=new URLSearchParams,{width:n=0,quality:i=0,format:r=""}=e;return n&&t.append("width",n.toFixed(0)),r&&t.append("format",r),i&&t.append("quality",i.toFixed(0)),t.toString()}(t)):i===b&&(r=S(r,function(e){let t="",{width:n=0,quality:i=0,format:r=""}=e;return n&&(t+=`/thumbnail/${n}x`),i&&(t+=`/quality/${i}`),r&&(t+=`/format/${r}`),t&&(t="imageMogr2"+t),t}(t)))),o.toString()+(r?"?"+r:"")}(n,{width:l,quality:r,format:o,secret:s,base:a})})},[]),t}var O=n(959);function N(e,t,n=!1){let i=(0,O.useRef)(null),r=(0,O.useRef)(n),o=(0,O.useCallback)((...n)=>{i.current&&clearTimeout(i.current),t<=0&&e.apply(void 0,n),r.current&&(e.apply(void 0,n),r.current=!1),i.current=setTimeout(()=>e.apply(void 0,n),t)},[t,n]);return(0,O.useEffect)(()=>()=>{i.current&&clearTimeout(i.current)},[]),o}var I=e=>{var t,n,i,r,o,s,a,l,u,c,d,b,w,y,S;let E=R(e),C=L(),x=(0,h.useRef)(null),[k,A]=(0,h.useState)(!E.lazy),[M,O]=(0,h.useState)(!1),[I,P]=(0,h.useState)(0),V=N(P,300,!0),[D,B]=(0,h.useState)(!!E.placeholder),$=N(B,330),z="fixed"===E.layout||"intrinsic"===E.layout||"responsive"===E.layout,U=()=>{O(!0),D&&$(!1)};t=x,n=(e,t)=>{e.isIntersecting&&(A(!0),t.unobserve(e.target))},(0,_.useEffect)(()=>(!T&&window.IntersectionObserver&&(T=new IntersectionObserver((e,t)=>{e.forEach(e=>{var n;let i=e.target;null==(n=null==i?void 0:i._intersectionHandler)||n.call(i,e,t)})},{rootMargin:"10%"})),T&&t.current&&(t.current._intersectionHandler=n,T.observe(t.current)),()=>{T&&t.current&&T.unobserve(t.current)}),[]),i=x,r=e=>{let{width:t,height:n,sizeStep:i,layout:r,objectFit:o}=E,s=e.contentRect.width,a=e.contentRect.height,l="fill"===r?function(e,t,n,i,r){let o=n/i,s=e/t;if("none"===r)return n;if("contain"===r||"scale-down"===r){let a=o>s?e:t/i*n;return"contain"===r?a:Math.min(n/a)}return"cover"===r&&o>s?t*o:e}(s,a,t,n,o):s;if(s&&i&&i>0){let u=Math.min(t,Math.ceil(l*Math.min(3,window.devicePixelRatio||1)/i)*i);u!==I&&V(u)}},(0,p.useEffect)(()=>(m||(m=new f.default((e,t)=>{e.forEach(e=>{var n,i;null==(i=(n=e.target)._resizeHandler)||i.call(n,e,t)})})),m&&i.current&&(i.current._resizeHandler=r,m.observe(i.current)),()=>{m&&i.current&&m.unobserve(i.current)}),[]);let F=(o=E.layout,s=E.width,a=E.height,l=E.backgroundColor,u=E.style,{position:"relative",overflow:"hidden",..."fill"===o&&{position:"absolute",...g},..."intrinsic"===o&&{maxWidth:s+"px"},..."responsive"===o&&{},..."fixed"===o&&{width:s+"px",height:a+"px"},backgroundColor:l,...u}),j=(c=E.objectFit,d=E.objectPosition,b={opacity:M?0:1,transition:E.animation?`opacity 330ms ${v}`:""},{display:"block",position:"absolute",filter:"blur(5px)",transform:"scale(1.1)",objectFit:c,objectPosition:d,...g,...b}),G=(w=E.objectFit,y=E.objectPosition,S={...E.imageStyle,...!E.placeholder&&E.animation&&{opacity:M?1:0,transition:`opacity 330ms ${v}`}},{display:"block",position:"absolute",...g,objectFit:w,objectPosition:y,...S});return h.default.createElement("div",{style:F,className:E.className,ref:x},z&&h.default.createElement("div",{style:{paddingTop:100*function(e,t){if(!t||!e)throw Error("You must provide height and width.");let n=t/e;if(isNaN(n))throw Error("Invalid width or height");return n}(E.width,E.height)+"%"}}),k&&I&&C&&h.default.createElement("img",{style:G,className:E.imageClassName,alt:E.alt,src:C(E.path,{width:I,quality:E.quality,format:E.format,secret:E.secretToken}),onLoad:U,decoding:"async"}),D&&h.default.createElement("img",{src:E.placeholder,style:j}))}},5983:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Ob
1ject.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var e=function(e){for(var t=e,n=r(t);n;)n=r(t=n.ownerDocument);return t}(window.document),t=[],n=null,i=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(e,n){i=e&&n?h(e,n):c(),t.forEach(function(e){e._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,i=null},s.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},s.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},s.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},s.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var i=this._checkForIntersections,o=null,s=null;if(this.POLL_INTERVAL?o=n.setInterval(i,this.POLL_INTERVAL):(a(n,"resize",i,!0),a(t,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(i)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),l(e,"resize",i,!0)),l(t,"scroll",i,!0),s&&s.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var u=r(t);u&&this._monitorIntersections(u.ownerDocument)}}},s.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var i=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=i;){var o=r(n);if((n=o&&o.ownerDocument)==t)return!0}return!1})){var o=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),o(),t!=i){var s=r(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},s.prototype._checkForIntersections=function(){if(this.root||!n||i){var e=this._rootIsInDom(),t=e?this._getRootRect():c();this._observationTargets.forEach(function(i){var r=i.element,s=u(r),a=this._rootContainsTarget(r),l=i.entry,d=e&&a&&this._computeTargetAndRootIntersection(r,s,t),h=null;this._rootContainsTarget(r)?(!n||this.root)&&(h=t):h=c();var p=i.entry=new o({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:h,intersectionRect:d});l?e&&a?this._hasCrossedThreshold(l,p)&&this._queuedEntries.push(p):l&&l.isIntersecting&&this._queuedEntries.push(p):this._queuedEntries.push(p)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(t,r,o){if("none"!=window.getComputedStyle(t).display){for(var s=r,a=f(t),l=!1;!l&&a;){var c=null,d=1==a.nodeType?window.getComputedStyle(a):{};if("none"==d.display)return null;if(a==this.root||9==a.nodeType){if(l=!0,a==this.root||a==e)n&&!this.root?i&&(0!=i.width||0!=i.height)?c=i:(a=null,c=null,s=null):c=o;else{var p=f(a),m=p&&u(p),v=p&&this._computeTargetAndRootIntersection(p,m,o);m&&v?(a=p,c=h(m,v)):(a=null,s=null)}}else{var g=a.ownerDocument;a!=g.body&&a!=g.documentElement&&"visible"!=d.overflow&&(c=u(a))}if(c&&(s=function(e,t){var n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom),r=Math.max(e.left,t.left),o=Math.min(e.right,t.right),s=o-r,a=i-n;return s>=0&&a>=0&&{top:n,bottom:i,left:r,right:o,width:s,height:a}||null}(c,s)),!s)break;a=a&&f(a)}return s}},s.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=u(this.root);else{var n=m(this.root)?this.root:e,i=n.documentElement,r=n.body;t={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},s.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,i=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==i)for(var r=0;r<this.thresholds.length;r++){var o=this.thresholds[r];if(o==n||o==i||o<n!=o<i)return!0}},s.prototype._rootIsInDom=function(){return!this.root||p(e,this.root)},s.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return p(n,t)&&(!this.root||n==t.ownerDocument)},s.prototype._registerInstance=function(){0>t.indexOf(this)&&t.push(this)},s.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=o}function r(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function o(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||c()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,i=this.intersectionRect,r=i.width*i.height;n?this.intersectionRatio=Number((r/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(e,t){var n,i,r,o=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(o.root&&1!=o.root.nodeType&&9!=o.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),i=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout(function(){n(),r=null},i))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function a(e,t,n,i){"function"==typeof e.addEventListener?e.addEventListener(t,n,i||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,i){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,i||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}
1return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):c()}function c(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function h(e,t){var n=t.top-e.top,i=t.left-e.left;return{top:n,left:i,height:t.height,width:t.width,bottom:n+t.height,right:i+t.width}}function p(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?r(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host)?n.host:n}function m(e){return e&&9===e.nodeType}}()},5870:function(e,t,n){"use strict";var i,r;e.exports=(null==(i=n.g.process)?void 0:i.env)&&"object"==typeof(null==(r=n.g.process)?void 0:r.env)?n.g.process:n(9683)},3886:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(2909)}])},2909:function(e,t,n){"use strict";let i,r;n.r(t),n.d(t,{default:function(){return o3}});var o,s,a,l,u=n(1527);n(3687),n(5983);var c=n(6716),d=n.n(c),h=n(959),p=n(9313);let f=()=>(0,u.jsxs)(d(),{children:[(0,u.jsx)("title",{children:"MIUI 14 锐意新生"}),(0,u.jsx)("link",{rel:"icon",type:"image/x-icon",href:"https://cia.sec.miui.com/miui-14-homepage/Group-427318442.png"}),(0,u.jsx)("meta",{name:"keywords",content:"MIUI, MIUI14, MIUI Pad, MIUI Home, MIUI系统, 米柚, 米柚系统, 小米米柚, 小米米柚系统, 小米系统, 红米系统, Redmi系统, 小米手机系统, 红米手机系统, Redmi手机系统, 小米平板系统, 红米平板系统, Redmi平板系统, 小爱音箱系统, 小米音箱系统, 红米音箱系统, 小米智能家居, 小米智能家庭, 小米智能设备, 小米中控屏, 智能家居中控屏, 智能家庭中控屏, 智能家庭, 智能家居, 小米互联互通, 互联互通, 小米互联, 妙享中心, 小米妙享中心, 小米妙享, 超级终端, 跨屏互联, 米家, 米家自动化, 家人服务, 小米家人服务, 小米家人, 小米家人账号, 端侧隐私, 小米端侧隐私, MIUI端侧模型, MIUI端侧隐私, MIUI剃刀计划, MIUI光子引擎, 剃刀计划, 光子引擎, 小米剃刀计划, 小米光子引擎, 耳机流转, 平板电脑互联"}),(0,u.jsx)("meta",{name:"description",content:"更轻巧 / 更流畅 / 更安全 / 更人性化"}),(0,u.jsx)("meta",{name:"viewport",content:"width=device-width,initial-scale=1.0,maximum-scale=1.0, user-scalable=0"}),p.nI?null:(0,u.jsx)("meta",{name:"color-scheme",content:"light dark"})]});var m=n(6589),v=n(9847),g=n.n(v);let b=()=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(g(),{id:"baidu_tongji",strategy:"afterInteractive",src:"https://hm.baidu.com/hm.js?48d720a449f859af28f0c2975455d83a",dangerouslySetInnerHTML:{__html:"window._hmt = window._hmt ?? [];"}}),(0,u.jsx)(g(),{id:"ontrack",strategy:"afterInteractive",src:"//ssl-cdn.static.browser.mi-img.com/mistat-data/onetrack/onetrack.js",onLoad(){let e=window;e.onetrack=e.onetrack||function(){(e.onetrack.q=e.onetrack.q||[]).push(arguments)},e.onetrack("init","31000401478"),(0,m.v4)()}})]}),w=()=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(g(),{id:"jsp",src:"https://cdn.cnbj1.fds.api.mi-img.com/common/jsonp.min.js"}),(0,u.jsx)(g(),{id:"wxsdk",src:"https://cdn.cnbj1.fds.api.mi-img.com/common/jweixin-1.6.0.js",onLoad:()=>(function(){if(function(){let e=navigator.userAgent.toLowerCase();return/MicroMessenger/i.test(e)}()){i=window.wx;let e=window.JSONP||(()=>{}),t=encodeURI(window.location.href);try{e({url:"https://api.sec.miui.com/wechat/sign",data:{url:t},success:function(e){i.config({debug:!1,appId:"wxb19433b24ed88cfd",timestamp:e.timeStamp,nonceStr:e.nonceStr,signature:e.signature,jsApiList:["updateTimelineShareData","updateAppMessageShareData"]}),i.ready(function(){i.updateTimelineShareData({title:"MIUI 14 锐意新生",link:t,imgUrl:"https://cia.sec.miui.com/miui-14-homepage/light_1.png"}),i.updateAppMessageShareData({title:"MIUI 14 锐意新生",desc:"更轻巧 / 更流畅 / 更安全 / 更人性化",link:t,imgUrl:"https://cia.sec.miui.com/miui-14-homepage/light_1.png"})})}})}catch(n){console.log("-----微信接口请求失败-----",n)}}})()})]}),y=e=>(!function(){let[e,t]=(0,h.useState)(!p.nI);(0,h.useEffect)(()=>{let e=window.matchMedia("(prefers-color-scheme: dark)");function n(){p.nI?(document.documentElement.classList.remove("dark"),t(!1)):e.matches?(document.documentElement.classList.add("dark"),t(!0)):(document.documentElement.classList.remove("dark"),t(!1))}return n(),e.addEventListener?e.addEventListener("change",n):e.addListener(n),()=>{e.removeEventListener?e.removeEventListener("change",n):e.removeListener(n)}})}(),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(w,{}),(0,u.jsx)(f,{}),(0,u.jsx)("main",{children:e.children}),(0,u.jsx)(b,{})]}));var S=n(7835),_=n(422),T=n(5870),E=function(e){let t=Error(e);
1if(void 0===t.stack)try{throw t}catch(n){}return t},C=function(e){return!!e&&"function"==typeof e.then},x=function(e,t){if(null!=e)return e;throw E(null!=t?t:"Got unexpected null or undefined")};function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class A{getValue(){throw E("BaseLoadable")}toPromise(){throw E("BaseLoadable")}valueMaybe(){throw E("BaseLoadable")}valueOrThrow(){throw E(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw E("BaseLoadable")}promiseOrThrow(){throw E(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw E("BaseLoadable")}errorOrThrow(){throw E(`Loadable expected error, but in "${this.state}" state`)}is(e){return e.state===this.state&&e.contents===this.contents}map(e){throw E("BaseLoadable")}}class R extends A{constructor(e){super(),k(this,"state","hasValue"),k(this,"contents",void 0),this.contents=e}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(e){try{let t=e(this.contents);return C(t)?I(t):D(t)?t:O(t)}catch(n){return C(n)?I(n.next(()=>this.map(e))):N(n)}}}class M extends A{constructor(e){super(),k(this,"state","hasError"),k(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(e){return this}}class L extends A{constructor(e){super(),k(this,"state","loading"),k(this,"contents",void 0),this.contents=e}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(e){return I(this.contents.then(t=>{let n=e(t);if(D(n))switch(n.state){case"hasValue":case"loading":return n.contents;case"hasError":throw n.contents}return n}).catch(t=>{if(C(t))return t.then(()=>this.map(e).contents);throw t}))}}function O(e){return Object.freeze(new R(e))}function N(e){return Object.freeze(new M(e))}function I(e){return Object.freeze(new L(e))}function P(){return Object.freeze(new L(new Promise(()=>{})))}function V(e){let t=Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t]),n=t.map(e=>D(e)?e:C(e)?I(e):O(e)),i=n.every(e=>"hasValue"===e.state)?O(n.map(e=>e.contents)):n.some(e=>"hasError"===e.state)?N(x(n.find(e=>"hasError"===e.state),"Invalid loadable passed to loadableAll").contents):I(Promise.all(n.map(e=>e.contents)));return Array.isArray(e)?i:i.map(t=>Object.getOwnPropertyNames(e).reduce((e,n,i)=>({...e,[n]:t[i]}),{}))}function D(e){return e instanceof A}var B={loadableWithValue:O,loadableWithError:N,loadableWithPromise:I,loadableLoading:P,loadableAll:V,isLoadable:D,RecoilLoadable:{of:e=>C(e)?I(e):D(e)?e:O(e),error:e=>N(e),loading:()=>P(),all:V,isLoadable:D}},$=Object.freeze({__proto__:null,loadableWithValue:B.loadableWithValue,loadableWithError:B.loadableWithError,loadableWithPromise:B.loadableWithPromise,loadableLoading:B.loadableLoading,loadableAll:B.loadableAll,isLoadable:B.isLoadable,RecoilLoadable:B.RecoilLoadable});let z={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0,RECOIL_GKS_ENABLED:new Set(["recoil_hamt_2020","recoil_sync_external_store","recoil_suppress_rerender_in_callback","recoil_memory_managament_2020"])};function U(e){return z.RECOIL_GKS_ENABLED.has(e)}void 0!==T&&(null==T?void 0:T.env)!=null&&(function(e,t){var n,i;let r=null===(n=T.env[e])||void 0===n?void 0:null===(i=n.toLowerCase())||void 0===i?void 0:i.trim();if(null!=r&&""!==r){if(!["true","false"].includes(r))throw E(`process.env.${e} value must be 'true', 'false', or empty: ${r}`);t("true"===r)}}("RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED",e=>{z.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=e}),function(e,t){var n;let i=null===(n=T.env[e])||void 0===n?void 0:n.trim();null!=i&&""!==i&&t(i.split(/\s*,\s*|\s+/))}("RECOIL_GKS_ENABLED",e=>{e.forEach(e=>{z.RECOIL_GKS_ENABLED.add(e)})})),U.setPass=e=>{z.RECOIL_GKS_ENABLED.add(e)},U.setFail=e=>{z.RECOIL_GKS_ENABLED.delete(e)},U.clear=()=>{z.RECOIL_GKS_ENABLED.clear()};var F=function(e,t,{error:n}={}){return null};let j=null!==(s=h.createMutableSource)&&void 0!==s?s:h.unstable_createMutableSource,G=null!==(a=h.useMutableSource)&&void 0!==a?a:h.unstable_useMutableSource,H=null!==(l=h.useSyncExternalStore)&&void 0!==l?l:h.unstable_useSyncExternalStore,q=!1;var W={createMutableSource:j,useMutableSource:G,useSyncExternalStore:H,currentRendererSupportsUseSyncExternalStore:function(){var e;let{ReactCurrentDispatcher:t,ReactCurrentOwner:n}
1=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,i=null!==(e=null==t?void 0:t.current)&&void 0!==e?e:n.currentDispatcher,r=null!=i.useSyncExternalStore;return!H||r||q||(q=!0,F("A React renderer without React 18+ API support is being used with React 18+.")),r},reactMode:function(){return U("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:U("recoil_sync_external_store")&&null!=H?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:U("recoil_mutable_source")&&null!=G&&"undefined"!=typeof window&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?U("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:U("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}},isFastRefreshEnabled:function(){return!1}};class Y{constructor(e){k(this,"key",void 0),this.key=e}toJSON(){return{key:this.key}}}class K extends Y{}class X extends Y{}var Z={AbstractRecoilValue:Y,RecoilState:K,RecoilValueReadOnly:X,isRecoilValue:function(e){return e instanceof K||e instanceof X}},J=Object.freeze({__proto__:null,AbstractRecoilValue:Z.AbstractRecoilValue,RecoilState:Z.RecoilState,RecoilValueReadOnly:Z.RecoilValueReadOnly,isRecoilValue:Z.isRecoilValue}),Q=function(e,...t){},ee=function(e,t){return function*(){let n=0;for(let i of e)yield t(i,n++)}()};let{isFastRefreshEnabled:et}=W;class en{}let ei=new en,er=new Map,eo=new Map;class es extends Error{}let ea=new Map;function el(e){return ea.get(e)}var eu={nodes:er,recoilValues:eo,registerNode:function(e){z.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&function(e){if(er.has(e)){let t=`Duplicate atom key "${e}". This is a FATAL ERROR in
2      production. But it is safe to ignore this warning if it occurred because of
3      hot module replacement.`;console.warn(t)}}(e.key),er.set(e.key,e);let t=null==e.set?new J.RecoilValueReadOnly(e.key):new J.RecoilState(e.key);return eo.set(e.key,t),t},getNode:function(e){let t=er.get(e);if(null==t)throw new es(`Missing definition for RecoilValue: "${e}""`);return t},getNodeMaybe:function(e){return er.get(e)},deleteNodeConfigIfPossible:function(e){var t,n;if(!U("recoil_memory_managament_2020"))return;let i=er.get(e);null!=i&&null!==(t=i.shouldDeleteConfigOnRelease)&&void 0!==t&&t.call(i)&&(er.delete(e),null===(n=el(e))||void 0===n||n(),ea.delete(e))},setConfigDeletionHandler:function(e,t){U("recoil_memory_managament_2020")&&(void 0===t?ea.delete(e):ea.set(e,t))},getConfigDeletionHandler:el,recoilValuesForKeys:function(e){return ee(e,e=>x(eo.get(e)))},NodeMissingError:es,DefaultValue:en,DEFAULT_VALUE:ei},ec={enqueueExecution:function(e,t){t()}},ed=(function(e){var t="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={},i={},r=function(e){return function(){return e}},o=n.hash=function(e){var n=void 0===e?"undefined":t(e);if("number"===n)return e;"string"!==n&&(e+="");for(var i=0,r=0,o=e.length;r<o;++r)i=(i<<5)-i+e.charCodeAt(r)|0;return i},s=function(e,t){return t>>>e&31},a=function(e){return 1<<e},l=function(e,t){var n;return n=e&t-1,n-=n>>1&1431655765,n=(n=(858993459&n)+(n>>2&858993459))+(n>>4)&252645135,n+=n>>8,127&(n+=n>>16)},u=function(e,t,n,i){var r=i;if(!e){var o=i.length;r=Array(o);for(var s=0;s<o;++s)r[s]=i[s]}return r[t]=n,r},c=function(e,t,n){var i=n.length-1,r=0,o=0,s=n;if(e)r=o=t;else for(s=Array(i);r<t;)s[o++]=n[r++];for(++r;r<=i;)s[o++]=n[r++];return e&&(s.length=i),s},d=function(e,t,n,i){var r=i.length;if(e){for(var o=r;o>=t;)i[o--]=i[o];return i[t]=n,i}for(var s=0,a=0,l=Array(r+1);s<t;)l[a++]=i[s++];for(l[t]=n;s<r;)l[++a]=i[s++];return l},h={__hamt_isEmpty:!0},p=function(e){return e===h||e&&e.__hamt_isEmpty},f=function(e,t,n,i){return{type:1,edit:e,hash:t,key:n,value:i,_modify:T}},m=function(e,t,n){return{type:2,edit:e,hash:t,children:n,_modify:E}},v=function(e,t,n){return{type:3,edit:e,mask:t,children:n,_modify:C}},g=function(e,t,n){return{type:4,edit:e,size:t,children:n,_modify:x}},b=function(e,t,n,i,r){for(var o=[],s=i,a=0,l=0;s;++l)1&s&&(o[l]=r[a++]),s>>>=1;return o[t]=n,g(e,a+1,o)},w=function(e,t,n,i){for(var r=Array(t-1),o=0,s=0,a=0,l=i.length;a<l;++a)if(a!==n){var u=i[a];u&&!p(u)&&(r[o++]=u,s|=1<<a)}return v(e,s,r)},y=function e(t,n,i,r,o,l){if(i===o)return m(t,i,[l,r]);var u=s(n,i),c=s(n,o);return v(t,a(u)|a(c),u===c?[e(t,n+5,i,r,o,l)]:u<c?[r,l]:[l,r])},S=function(e,t,n,r,o,s,a,l){for(var d=o.length,h=0;h<d;++h){var p=o[h];if(n(a,p.key)){var m=p.value,v=s(m);if(v===m)return o;if(v===i)return--l.value,c(e,h,o);return u(e,h,f(t,r,a,v),o)}}var g=s();return g===i?o:(++l.value,u(e,d,f(t,r,a,g),o))},_=function(e,t){return e===t.edit},T=function(e,t,n,r,o,s,a){if(t(s,this.key)){var l=r(this.value);return l===this.value?this:l===i?(--a.value,h):_(e,this)?(this.value=l,this):f(e,o,s,l)}var u=r();return u===i?this:(++a.value,y(e,n,this.hash,this,o,f(e,o,s,u)))},E=function(e,t,n,r,o,s,a){if(o===this.hash){var l=S(_(e,this),e,t,this.hash,this.children,r,s,a);return l===this.children?this:l.length>1?m(e,this.hash,l):l[0]}var u=r();return u===i?this:(++a.value,y(e,n,this.hash,this,o,f(e,o,s,u)))},C=function(e,t,n,i,r,o,f){var m,g=this.mask,w=this.children,y=s(n,r),S=a(y),T=l(g,S),E=g&S,C=E?w[T]:h,x=C._modify(e,t,n+5,i,r,o,f);
3if(C===x)return this;var k=_(e,this),A=g,R=void 0;if(E&&p(x)){if(!(A&=~S))return h;if(w.length<=2&&((m=w[1^T])===h||1===m.type||2===m.type))return w[1^T];R=c(k,T,w)}else if(E||p(x))R=u(k,T,x,w);else{if(w.length>=16)return b(e,y,x,g,w);A|=S,R=d(k,T,x,w)}return k?(this.mask=A,this.children=R,this):v(e,A,R)},x=function(e,t,n,i,r,o,a){var l=this.size,c=this.children,d=s(n,r),f=c[d],m=(f||h)._modify(e,t,n+5,i,r,o,a);if(f===m)return this;var v=_(e,this),b=void 0;if(p(f)&&!p(m))++l,b=u(v,d,m,c);else if(!p(f)&&p(m)){if(--l<=8)return w(e,l,d,c);b=u(v,d,h,c)}else b=u(v,d,m,c);return v?(this.size=l,this.children=b,this):g(e,l,b)};function k(e,t,n,i,r){this._editable=e,this._edit=t,this._config=n,this._root=i,this._size=r}h._modify=function(e,t,n,r,o,s,a){var l=r();return l===i?h:(++a.value,f(e,o,s,l))},k.prototype.setTree=function(e,t){return this._editable?(this._root=e,this._size=t,this):e===this._root?this:new k(this._editable,this._edit,this._config,e,t)};var A=n.tryGetHash=function(e,t,n,i){for(var r=i._root,o=0,u=i._config.keyEq;;)switch(r.type){case 1:return u(n,r.key)?r.value:e;case 2:if(t===r.hash)for(var c=r.children,d=0,h=c.length;d<h;++d){var p=c[d];if(u(n,p.key))return p.value}return e;case 3:var f=a(s(o,t));if(r.mask&f){r=r.children[l(r.mask,f)],o+=5;break}return e;case 4:if(r=r.children[s(o,t)]){o+=5;break}return e;default:return e}};k.prototype.tryGetHash=function(e,t,n){return A(e,t,n,this)};var R=n.tryGet=function(e,t,n){return A(e,n._config.hash(t),t,n)};k.prototype.tryGet=function(e,t){return R(e,t,this)};var M=n.getHash=function(e,t,n){return A(void 0,e,t,n)};k.prototype.getHash=function(e,t){return M(e,t,this)},n.get=function(e,t){return A(void 0,t._config.hash(e),e,t)},k.prototype.get=function(e,t){return R(t,e,this)};var L=n.has=function(e,t,n){return A(i,e,t,n)!==i};k.prototype.hasHash=function(e,t){return L(e,t,this)};var O=n.has=function(e,t){return L(t._config.hash(e),e,t)};k.prototype.has=function(e){return O(e,this)};var N=function(e,t){return e===t};n.make=function(e){return new k(0,0,{keyEq:e&&e.keyEq||N,hash:e&&e.hash||o},h,0)},n.empty=n.make();var I=n.isEmpty=function(e){return e&&!!p(e._root)};k.prototype.isEmpty=function(){return I(this)};var P=n.modifyHash=function(e,t,n,i){var r={value:i._size},o=i._root._modify(i._editable?i._edit:NaN,i._config.keyEq,0,e,t,n,r);return i.setTree(o,r.value)};k.prototype.modifyHash=function(e,t,n){return P(n,e,t,this)};var V=n.modify=function(e,t,n){return P(e,n._config.hash(t),t,n)};k.prototype.modify=function(e,t){return V(t,e,this)};var D=n.setHash=function(e,t,n,i){return P(r(n),e,t,i)};k.prototype.setHash=function(e,t,n){return D(e,t,n,this)};var B=n.set=function(e,t,n){return D(n._config.hash(e),e,t,n)};k.prototype.set=function(e,t){return B(e,t,this)};var $=r(i),z=n.removeHash=function(e,t,n){return P($,e,t,n)};k.prototype.removeHash=k.prototype.deleteHash=function(e,t){return z(e,t,this)};var U=n.remove=function(e,t){return z(t._config.hash(e),e,t)};k.prototype.remove=k.prototype.delete=function(e){return U(e,this)};var F=n.beginMutation=function(e){return new k(e._editable+1,e._edit+1,e._config,e._root,e._size)};k.prototype.beginMutation=function(){return F(this)};var j=n.endMutation=function(e){return e._editable=e._editable&&e._editable-1,e};k.prototype.endMutation=function(){return j(this)};var G=n.mutate=function(e,t){var n=F(t);return e(n),j(n)};k.prototype.mutate=function(e){return G(e,this)};var H=function(e){return e&&q(e[0],e[1],e[2],e[3],e[4])},q=function(e,t,n,i,r){for(;n<e;){var o=t[n++];if(o&&!p(o))return W(o,i,[e,t,n,i,r])}return H(r)},W=function(e,t,n){switch(e.type){case 1:return{value:t(e),rest:n};case 2:case 4:case 3:var i=e.children;return q(i.length,i,0,t,n);default:return H(n)}},Y={done:!0};function K(e){this.v=e}K.prototype.next=function(){if(!this.v)return Y;var e=this.v;return this.v=H(e.rest),e},K.prototype[Symbol.iterator]=function(){return this};var X=function(e,t){return new K(W(e._root,t))},Z=function(e){return[e.key,e.value]},J=n.entries=function(e){return X(e,Z)};k.prototype.entries=k.prototype[Symbol.iterator]=function(){return J(this)};var Q=function(e){return e.key},ee=n.keys=function(e){return X(e,Q)};k.prototype.keys=function(){return ee(this)};var et=function(e){return e.value},en=n.values=k.prototype.values=function(e){return X(e,et)};k.prototype.values=function(){return en(this)};var ei=n.fold=function(e,t,n){var i=n._root;if(1===i.type)return e(t,i.value,i.key);for(var r=[i.children],o=void 0;o=r.pop();)for(var s=0,a=o.length;s<a;){var l=o[s++];l&&l.type&&(1===l.type?t=e(t,l.value,l.key):r.push(l.children))}return t};k.prototype.fold=function(e,t){return ei(e,t,this)};var er=n.forEach=function(e,t){return ei(function(n,i,r){return e(i,r,t)},null,t)};k.prototype.forEach=function(e){return er(e,this)};var eo=n.count=function(e){return e._size};k.prototype.count=function(){return eo(this)},Object.defineProperty(k.prototype,"size",{get:k.prototype.count}),e.exports?e.exports=n:undefined.hamt=n}
3(o={exports:{}},o.exports),o.exports);class eh{constructor(e){k(this,"_map",void 0),this._map=new Map(null==e?void 0:e.entries())}keys(){return this._map.keys()}entries(){return this._map.entries()}get(e){return this._map.get(e)}has(e){return this._map.has(e)}set(e,t){return this._map.set(e,t),this}delete(e){return this._map.delete(e),this}clone(){return ef(this)}toMap(){return new Map(this._map)}}class ep{constructor(e){if(k(this,"_hamt",ed.empty.beginMutation()),e instanceof ep){let t=e._hamt.endMutation();e._hamt=t.beginMutation(),this._hamt=t.beginMutation()}else if(e)for(let[n,i]of e.entries())this._hamt.set(n,i)}keys(){return this._hamt.keys()}entries(){return this._hamt.entries()}get(e){return this._hamt.get(e)}has(e){return this._hamt.has(e)}set(e,t){return this._hamt.set(e,t),this}delete(e){return this._hamt.delete(e),this}clone(){return ef(this)}toMap(){return new Map(this._hamt)}}function ef(e){return U("recoil_hamt_2020")?new ep(e):new eh(e)}var em=Object.freeze({__proto__:null,persistentMap:{persistentMap:ef}.persistentMap}),ev=function(e,...t){let n=new Set;e:for(let i of e){for(let r of t)if(r.has(i))continue e;n.add(i)}return n},eg=function(e,t){let n=new Map;return e.forEach((e,i)=>{n.set(i,t(e,i))}),n};function eb(e,t,n,i){let{nodeDeps:r,nodeToNodeSubscriptions:o}=n,s=r.get(e);if(s&&i&&s!==i.nodeDeps.get(e))return;r.set(e,t);let a=null==s?t:ev(t,s);for(let l of a){o.has(l)||o.set(l,new Set);let u=x(o.get(l));u.add(e)}if(s){let c=ev(s,t);for(let d of c){if(!o.has(d))return;let h=x(o.get(d));h.delete(e),0===h.size&&o.delete(d)}}}var ew={cloneGraph:function(e){return{nodeDeps:eg(e.nodeDeps,e=>new Set(e)),nodeToNodeSubscriptions:eg(e.nodeToNodeSubscriptions,e=>new Set(e))}},graph:function(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}},saveDepsToStore:function(e,t,n,i){var r,o,s,a,l;let u=n.getState();i===u.currentTree.version||i===(null===(r=u.nextTree)||void 0===r?void 0:r.version)||i===(null===(o=u.previousTree)||void 0===o?void 0:o.version)||F("Tried to save dependencies to a discarded tree");let c=n.getGraph(i);if(eb(e,t,c),i===(null===(s=u.previousTree)||void 0===s?void 0:s.version)){let d=n.getGraph(u.currentTree.version);eb(e,t,d,c)}if(i===(null===(a=u.previousTree)||void 0===a?void 0:a.version)||i===u.currentTree.version){let h=null===(l=u.nextTree)||void 0===l?void 0:l.version;if(void 0!==h){let p=n.getGraph(h);eb(e,t,p,c)}}}};let ey=0,eS=()=>ey++,e_=0,eT=()=>e_++,eE=0,eC=()=>eE++;var ex={getNextTreeStateVersion:eS,getNextStoreID:eT,getNextComponentID:eC};let{persistentMap:ek}=em,{graph:eA}=ew,{getNextTreeStateVersion:eR}=ex;function eM(){let e=eR();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:ek(),nonvalidatedAtoms:ek()}}var eL={makeEmptyTreeState:eM,makeEmptyStoreState:function(){let e=eM();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,eA()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}},getNextTreeStateVersion:eR};class eO{}var eN={RetentionZone:eO,retentionZone:function(){return new eO}},eI={setByAddingToSet:function(e,t){let n=new Set(e);return n.add(t),n},setByDeletingFromSet:function(e,t){let n=new Set(e);return n.delete(t),n},mapBySettingInMap:function(e,t,n){let i=new Map(e);return i.set(t,n),i},mapByUpdatingInMap:function(e,t,n){let i=new Map(e);return i.set(t,n(i.get(t))),i},mapByDeletingFromMap:function(e,t){let n=new Map(e);return n.delete(t),n},mapByDeletingMultipleFromMap:function(e,t){let n=new Map(e);return t.forEach(e=>n.delete(e)),n}},eP=function*(e,t){let n=0;for(let i of e)t(i,n++)&&(yield i)},eV=function(e,t){let n=new Proxy(e,{get:(e,n)=>(!(n in e)&&n in t&&(e[n]=t[n]()),e[n]),ownKeys:e=>Object.keys(e)});return n};let{getNode:eD,getNodeMaybe:eB,recoilValuesForKeys:e$}=eu,{RetentionZone:ez}=eN,{setByAddingToSet:eU}=eI,eF=Object.freeze(new Set);
3class ej extends Error{}function eG(e,t,n,i){let r=e.getState();if(r.nodeCleanupFunctions.has(n))return;let o=eD(n),s=function(e,t,n){if(!U("recoil_memory_managament_2020"))return()=>void 0;let{nodesRetainedByZone:i}=e.getState().retention;function r(e){let n=i.get(e);n||i.set(e,n=new Set),n.add(t)}if(n instanceof ez)r(n);else if(Array.isArray(n))for(let o of n)r(o);return()=>{if(!U("recoil_memory_managament_2020"))return;let{retention:i}=e.getState();function r(e){let n=i.nodesRetainedByZone.get(e);null==n||n.delete(t),n&&0===n.size&&i.nodesRetainedByZone.delete(e)}if(n instanceof ez)r(n);else if(Array.isArray(n))for(let o of n)r(o)}}(e,n,o.retainedBy),a=o.init(e,t,i);r.nodeCleanupFunctions.set(n,()=>{a(),s()})}function eH(e,t,n){return eD(n).peek(e,t)}function eq(e,t,n){let i=new Set,r=Array.from(n),o=e.getGraph(t.version);for(let s=r.pop();s;s=r.pop()){var a;i.add(s);let l=null!==(a=o.nodeToNodeSubscriptions.get(s))&&void 0!==a?a:eF;for(let u of l)i.has(u)||r.push(u)}return i}var eW={getNodeLoadable:function(e,t,n){return eG(e,t,n,"get"),eD(n).get(e,t)},peekNodeLoadable:eH,setNodeValue:function(e,t,n,i){let r=eD(n);if(null==r.set)throw new ej(`Attempt to set read-only RecoilValue: ${n}`);let o=r.set;return eG(e,t,n,"set"),o(e,t,i)},initializeNode:function(e,t,n){eG(e,e.getState().currentTree,t,n)},cleanUpNode:function(e,t){var n;let i=e.getState();null===(n=i.nodeCleanupFunctions.get(t))||void 0===n||n(),i.nodeCleanupFunctions.delete(t)},setUnvalidatedAtomValue_DEPRECATED:function(e,t,n){var i;let r=eB(t);return null==r||null===(i=r.invalidate)||void 0===i||i.call(r,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:eU(e.dirtyAtoms,t)}},peekNodeInfo:function(e,t,n){let i=e.getState(),r=e.getGraph(t.version),o=eD(n).nodeType;return eV({type:o},{loadable:()=>eH(e,t,n),isActive:()=>i.knownAtoms.has(n)||i.knownSelectors.has(n),isSet:()=>"selector"!==o&&t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps(){var e;return e$(null!==(e=r.nodeDeps.get(n))&&void 0!==e?e:[])},subscribers(){var r,o;return{nodes:e$(eP(eq(e,t,new Set([n])),e=>e!==n)),components:ee(null!==(r=null===(o=i.nodeToComponentSubscriptions.get(n))||void 0===o?void 0:o.values())&&void 0!==r?r:[],([e])=>({name:e}))}}})},getDownstreamNodes:eq};let eY=null;var eK={setInvalidateMemoizedSnapshot:function(e){eY=e},invalidateMemoizedSnapshot:function(){var e;null===(e=eY)||void 0===e||e()}};let{getDownstreamNodes:eX,getNodeLoadable:eZ,setNodeValue:eJ}=eW,{getNextComponentID:eQ}=ex,{getNode:e0,getNodeMaybe:e1}=eu,{DefaultValue:e2}=eu,{reactMode:e3}=W,{AbstractRecoilValue:e4,RecoilState:e6,RecoilValueReadOnly:e7,isRecoilValue:e8}=J,{invalidateMemoizedSnapshot:e5}=eK;function e9(e,t,n){"hasValue"===n.state&&n.contents instanceof e2?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function te(e,t){e.replaceState(n=>{let i=ti(n);for(let r of t)!function(e,t,n){if("set"===n.type){let{recoilValue:i,valueOrUpdater:r}=n,o=function(e,t,{key:n},i){if("function"!=typeof i)return i;{let r=eZ(e,t,n);if("loading"===r.state){let o=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw F(o),E(o)}if("hasError"===r.state)throw r.contents;return i(r.contents)}}(e,t,i,r),s=eJ(e,t,i.key,o);for(let[a,l]of s.entries())e9(t,a,l)}else if("setLoadable"===n.type){let{recoilValue:{key:u},loadable:c}=n;e9(t,u,c)}else if("markModified"===n.type){let{recoilValue:{key:d}}=n;t.dirtyAtoms.add(d)}else if("setUnvalidated"===n.type){var h;let{recoilValue:{key:p},unvalidatedValue:f}=n,m=e1(p);null==m||null===(h=m.invalidate)||void 0===h||h.call(m,t),t.atomValues.delete(p),t.nonvali
3datedAtoms.set(p,f),t.dirtyAtoms.add(p)}else F(`Unknown action ${n.type}`)}(e,i,r);return tr(e,i),e5(),i})}function tt(e,t){if(tn.length){let n=tn[tn.length-1],i=n.get(e);i||n.set(e,i=[]),i.push(t)}else te(e,[t])}let tn=[];function ti(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function tr(e,t){let n=eX(e,t,t.dirtyAtoms);for(let i of n){var r,o;null===(r=e1(i))||void 0===r||null===(o=r.invalidate)||void 0===o||o.call(r,t)}}function to(e,t,n){tt(e,{type:"set",recoilValue:t,valueOrUpdater:n})}var ts={RecoilValueReadOnly:e7,AbstractRecoilValue:e4,RecoilState:e6,getRecoilValueAsLoadable:function(e,{key:t},n=e.getState().currentTree){var i,r;let o=e.getState();n.version===o.currentTree.version||n.version===(null===(i=o.nextTree)||void 0===i?void 0:i.version)||n.version===(null===(r=o.previousTree)||void 0===r?void 0:r.version)||F("Tried to read from a discarded tree");let s=eZ(e,n,t);return"loading"===s.state&&s.contents.catch(()=>{}),s}
3,setRecoilValue:to,setRecoilValueLoadable:function(e,t,n){if(n instanceof e2)return to(e,t,n);tt(e,{type:"setLoadable",recoilValue:t,loadable:n})},markRecoilValueModified:function(e,t){tt(e,{type:"markModified",recoilValue:t})},setUnvalidatedRecoilValue:function(e,t,n){tt(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})},subscribeToRecoilValue:function(e,{key:t},n,i=null){let r=eQ(),o=e.getState();o.nodeToComponentSubscriptions.has(t)||o.nodeToComponentSubscriptions.set(t,new Map),x(o.nodeToComponentSubscriptions.get(t)).set(r,[null!=i?i:"<not captured>",n]);let s=e3();if(s.early&&("LEGACY"===s.mode||"MUTABLE_SOURCE"===s.mode)){let a=e.getState().nextTree;a&&a.dirtyAtoms.has(t)&&n(a)}return{release(){let n=e.getState(),i=n.nodeToComponentSubscriptions.get(t);if(void 0===i||!i.has(r)){F(`Subscription missing at release time for atom ${t}. This is a bug in Recoil.`);return}i.delete(r),0===i.size&&n.nodeToComponentSubscriptions.delete(t)}}},isRecoilValue:e8,applyAtomValueWrites:function(e,t){let n=e.clone();return t.forEach((e,t)=>{"hasValue"===e.state&&e.contents instanceof e2?n.delete(t):n.set(t,e)}),n},batchStart:function(){let e=new Map;return tn.push(e),()=>{for(let[t,n]of e)te(t,n);let i=tn.pop();i!==e&&F("Incorrect order of batch popping")}},writeLoadableToTreeState:e9,invalidateDownstreams:tr,copyTreeState:ti,refreshRecoilValue:function(e,t){var n;let{currentTree:i}=e.getState(),r=e0(t.key);null===(n=r.clearCache)||void 0===n||n.call(r,e,i)}},ta=function(e,t,n){let i=e.entries(),r=i.next();for(;!r.done;){let o=r.value;if(t.call(n,o[1],o[0],e))return!0;r=i.next()}return!1};let{cleanUpNode:tl}=eW,{deleteNodeConfigIfPossible:tu,getNode:tc}=eu,{RetentionZone:td}=eN,th=new Set;function tp(e,t){let n=e.getState(),i=n.currentTree;if(n.nextTree){F("releaseNodesNowOnCurrentTree should only be called at the end of a batch");return}let r=new Set;for(let o of t)if(o instanceof td)for(let s of function(e,t){var n;return null!==(n=e.retention.nodesRetainedByZone.get(t))&&void 0!==n?n:th}(n,o))r.add(s);else r.add(o);let a=function(e,t){let n=e.getState(),i=n.currentTree,r=e.getGraph(i.version),o=new Set,s=new Set;return function t(a){var l,u;let c=new Set,d=function(e,t,n,i,r){let o=e.getGraph(t.version),s=[],a=new Set;for(;n.size>0;)(function e(t){if(i.has(t)||r.has(t)){n.delete(t);return}if(a.has(t))return;let l=o.nodeToNodeSubscriptions.get(t);if(l)for(let u of l)e(u);a.add(t),n.delete(t),s.push(t)})(x(n.values().next().value));return s}(e,i,a,o,s);for(let h of d){if("recoilRoot"===tc(h).retainedBy||(null!==(l=n.retention.referenceCounts.get(h))&&void 0!==l?l:0)>0||tf(h).some(e=>n.retention.referenceCounts.get(e))){s.add(h);continue}let p=r.nodeToNodeSubscriptions.get(h);if(p&&ta(p,e=>s.has(e))){s.add(h);continue}o.add(h),c.add(h)}let f=new Set;for(let m of c)for(let v of null!==(u=r.nodeDeps.get(m))&&void 0!==u?u:th)o.has(v)||f.add(v);f.size&&t(f)}(t),o}(e,r);for(let l of a)!function(e,t,n){var i,r;if(!U("recoil_memory_managament_2020"))return;tl(e,n);let o=e.getState();o.knownAtoms.delete(n),o.knownSelectors.delete(n),o.nodeTransactionSubscriptions.delete(n),o.retention.referenceCounts.delete(n);let s=tf(n);for(let a of s)null===(i=o.retention.nodesRetainedByZone.get(a))||void 0===i||i.delete(n);t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);let l=o.graphsByVersion.get(t.version);if(l){let u=l.nodeDeps.get(n);if(void 0!==u)for(let c of(l.nodeDeps.delete(n),u))null===(r=l.nodeToNodeSubscriptions.get(c))||void 0===r||r.delete(n);l.nodeToNodeSubscriptions.delete(n)}tu(n)}(e,i,l)}function tf(e){let t=tc(e).retainedBy;return void 0===t||"components"===t||"recoilRoot"===t?[]:t instanceof td?[t]:t}function tm(e,t){if(!U("recoil_memory_managament_2020"))return;let n=e.getState().retention.referenceCounts;n.delete(t),function(e,t){let n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):tp(e,new Set([t]))}(e,t)}var tv={SUSPENSE_TIMEOUT_MS:12e4,updateRetainCount:function(e,t,n){var i;if(!U("recoil_memory_managament_2020"))return;let r=e.getState().retention.referenceCounts,o=(null!==(i=r.get(t))&&void 0!==i?i:0)+n;0===o?tm(e,t):r.set(t,o)},updateRetainCountToZero:tm,releaseScheduledRetainablesNow:function(e){if(!U("recoil_memory_managament_2020"))return;let t=e.getState();tp(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()},retainedByOptionWithDefault:function(e){return void 0===e?"recoilRoot":e}};let{unstable_batchedUpdates:tg}=_,{unstable_batchedUpdates:tb}={unstable_batchedUpdates:tg},{batchStart:tw}=ts,{unstable_batchedUpdates:ty}={unstable_batchedUpdates:tb},tS=ty||(e=>e()),t_=e=>{tS=e},tT=e=>{tS(()=>{let t=()=>void 0;try{t=tw(),e()}finally{t()}})};var tE={getBatcher:()=>tS,setBatcher:t_,batchUpdates:tT},tC=function*(e){for(let t of e)for(let n of t)yield n};let tx="undefined"==typeof Window||"undefined"==typeof window,tk="undefined"!=typeof navigator&&"ReactNative"===navigator.product;var tA={isSSR:tx,isReactNative:tk,isWindow:e=>!tx&&(e===window||e instanceof Window)};let{batchUpdates:tR}=tE,{initializeNode:tM,peekNodeInfo:tL}=eW,{graph:tO}=ew,{getNextStoreID:tN}=ex,{DEFAULT_VALUE:tI,recoilValues:tP,recoilValuesForKeys:tV}=eu,{AbstractRecoilValue:tD,getRecoilValueAsLoadable:tB,setRecoilValue:t$,setUnvalidatedRecoilValue:tz}=ts,{updateRetainCount:tU}=tv,{setInvalidateMemoizedSnapshot:tF}=eK,{getNextTreeStateVersion:tj,makeEmptyStoreState:tG}=eL,{isSSR:tH}=tA,{memoizeOneWithArgsHashAndInvalidation:tq}={memoizeWithArgsHash:function(e,t){let n;return(...i)=>{n||(n={});let r=t(...i);return Object.hasOwnProperty.call(n,r)||(n[r]=e(...i)),n[r]}},memoizeOneWithArgsHash:function(e,t){let n,i;return(...r)=>{let o=t(...r);return n===o?i:(n=o,i=e(...r))}},memoizeOneWithArgsHashAndInvalidation:function(e,t){let n,i;let r=(...r)=>{let o=t(...r);return n===o?i:(n=o,i=e(...r))},o=()=>{n=null};return[r,o]}};class tW{constructor(e,t){for(let n of(k(this,"_store",void 0),k(this,"_refCount",1),k(this,"getLoadable",e=>(this.checkRefCount_INTERNAL(),tB(this._store,e))),k(this,"getPromise",e=>
3(this.checkRefCount_INTERNAL(),this.getLoadable(e).toPromise())),k(this,"getNodes_UNSTABLE",e=>{if(this.checkRefCount_INTERNAL(),(null==e?void 0:e.isModified)===!0){if((null==e?void 0:e.isInitialized)===!1)return[];let t=this._store.getState().currentTree;return tV(t.dirtyAtoms)}let n=this._store.getState().knownAtoms,i=this._store.getState().knownSelectors;return(null==e?void 0:e.isInitialized)==null?tP.values():!0===e.isInitialized?tV(tC([n,i])):eP(tP.values(),({key:e})=>!n.has(e)&&!i.has(e))}),k(this,"getInfo_UNSTABLE",({key:e})=>(this.checkRefCount_INTERNAL(),tL(this._store,this._store.getState().currentTree,e))),k(this,"map",e=>{this.checkRefCount_INTERNAL();let t=new tZ(this,tR);return e(t),t}),k(this,"asyncMap",async e=>{this.checkRefCount_INTERNAL();let t=new tZ(this,tR);return t.retain(),await e(t),t.autoRelease_INTERNAL(),t}),this._store={storeID:tN(),parentStoreID:t,getState:()=>e,replaceState(t){e.currentTree=t(e.currentTree)},getGraph(t){let n=e.graphsByVersion;if(n.has(t))return x(n.get(t));let i=tO();return n.set(t,i),i},subscribeToTransactions:()=>({release(){}}),addTransactionMetadata(){throw E("Cannot subscribe to Snapshots")}},this._store.getState().knownAtoms))tM(this._store,n,"get"),tU(this._store,n,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0&&F("Attempt to retain() Snapshot that was already released."),this._refCount++;let e=!1;return()=>{e||(e=!0,this._release())}}autoRelease_INTERNAL(){tH||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,0===this._refCount){if(this._store.getState().nodeCleanupFunctions.forEach(e=>e()),this._store.getState().nodeCleanupFunctions.clear(),!U("recoil_memory_managament_2020"))return}else this._refCount}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){U("recoil_memory_managament_2020")&&this._refCount}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function tY(e,t,n=!1){let i=e.getState(),r=n?tj():t.version;return{currentTree:{version:n?r:t.version,stateID:n?r:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(i.knownAtoms),knownSelectors:new Set(i.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(r,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(ee(i.nodeCleanupFunctions.entries(),([e])=>[e,()=>{}]))}}let[tK,tX]=tq((e,t)=>{var n;let i=e.getState(),r="latest"===t?null!==(n=i.nextTree)&&void 0!==n?n:i.currentTree:x(i.previousTree);return new tW(tY(e,r),e.storeID)},(e,t)=>{var n,i;return String(t)+String(e.storeID)+String(null===(n=e.getState().nextTree)||void 0===n?void 0:n.version)+String(e.getState().currentTree.version)+String(null===(i=e.getState().previousTree)||void 0===i?void 0:i.version)});tF(tX);class tZ extends tW{constructor(e,t){super(tY(e.getStore_INTERNAL(),e.getStore_INTERNAL().getState().currentTree,!0),e.getStoreID()),k(this,"_batch",void 0),k(this,"set",(e,t)=>{this.checkRefCount_INTERNAL();let n=this.getStore_INTERNAL();this._batch(()=>{tU(n,e.key,1),t$(this.getStore_INTERNAL(),e,t)})}),k(this,"reset",e=>{this.checkRefCount_INTERNAL();let t=this.getStore_INTERNAL();this._batch(()=>{tU(t,e.key,1),t$(this.getStore_INTERNAL(),e,tI)})}),k(this,"setUnvalidatedAtomValues_DEPRECATED",e=>{this.checkRefCount_INTERNAL();let t=this.getStore_INTERNAL();tR(()=>{for(let[n,i]of e.entries())tU(t,n,1),tz(t,new tD(n),i)})}),this._batch=t}}var tJ={Snapshot:tW,MutableSnapshot:tZ,freshSnapshot:function(e){let t=new tW(tG());return null!=e?t.map(e):t},cloneSnapshot:function(e,t="latest"){let n=tK(e,t);return n.isRetained()?n:(tX(),tK(e,t))}},tQ=Object.freeze({__proto__:null,Snapshot:tJ.Snapshot,MutableSnapshot:tJ.MutableSnapshot,freshSnapshot:tJ.freshSnapshot,cloneSnapshot:tJ.cloneSnapshot}),t0=function(...e){let t=new Set;for(let n of e)for(let i of n)t.add(i);return t};
3let{useRef:t1}=h;var t2=function(e){let t=t1(e);return t.current===e&&"function"==typeof e&&(t.current=e()),t};let{getNextTreeStateVersion:t3,makeEmptyStoreState:t4}=eL,{cleanUpNode:t6,getDownstreamNodes:t7,initializeNode:t8,setNodeValue:t5,setUnvalidatedAtomValue_DEPRECATED:t9}=eW,{graph:ne}=ew,{cloneGraph:nt}=ew,{getNextStoreID:nn}=ex,{createMutableSource:ni,reactMode:nr}=W,{applyAtomValueWrites:no}=ts,{releaseScheduledRetainablesNow:ns}=tv,{freshSnapshot:na}=tQ,{useCallback:nl,useContext:nu,useEffect:nc,useMemo:nd,useRef:nh,useState:np}=h;function nf(){throw E("This component must be used inside a <RecoilRoot> component.")}let nm=Object.freeze({storeID:nn(),getState:nf,replaceState:nf,getGraph:nf,subscribeToTransactions:nf,addTransactionMetadata:nf}),nv=!1;function ng(e){if(nv)throw E("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");let t=e.getState();if(null===t.nextTree){U("recoil_memory_managament_2020")&&U("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&ns(e);let n=t.currentTree.version,i=t3();t.nextTree={...t.currentTree,version:i,stateID:i,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(i,nt(x(t.graphsByVersion.get(n))))}}let nb=h.createContext({current:nm}),nw=()=>nu(nb),ny=h.createContext(null);function nS(e,t,n){let i=t7(e,n,n.dirtyAtoms);for(let r of i){let o=t.nodeToComponentSubscriptions.get(r);if(o)for(let[s,[a,l]]of o)l(n)}}function n_(e){let t=e.getState(),n=t.currentTree,i=n.dirtyAtoms;if(i.size){for(let[r,o]of t.nodeTransactionSubscriptions)if(i.has(r))for(let[s,a]of o)a(e);for(let[l,u]of t.transactionSubscriptions)u(e);(!nr().early||t.suspendedComponentResolvers.size>0)&&(nS(e,t,n),t.suspendedComponentResolvers.forEach(e=>e()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(e=>e(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function nT({setNotifyBatcherOfChange:e}){let t=nw(),[,n]=np([]);return e(()=>n({})),nc(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),nc(()=>{ec.enqueueExecution("Batcher",()=>{!function(e){let t=e.getState();t.commitDepth++;try{let{nextTree:n}=t;if(null==n)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,n_(e),null!=t.previousTree?t.graphsByVersion.delete(t.previousTree.version):F("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,U("recoil_memory_managament_2020")&&null==n&&ns(e)}finally{t.commitDepth--}}(t.current)})}),null}let nE=0;function nC({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:i}){let r;let o=e=>{let t=r.current.graphsByVersion;if(t.has(e))return x(t.get(e));let n=ne();return t.set(e,n),n},s=(e,t)=>{if(null==t){let{transactionSubscriptions:n}=d.current.getState(),i=nE++;return n.set(i,e),{release(){n.delete(i)}}}{let{nodeTransactionSubscriptions:r}=d.current.getState();r.has(t)||r.set(t,new Map);let o=nE++;return x(r.get(t)).set(o,e),{release(){let e=r.get(t);e&&(e.delete(o),0===e.size&&r.delete(t))}}}},a=e=>{for(let t of(ng(d.current),Object.keys(e)))x(d.current.getState().nextTree).transactionMetadata[t]=e[t]},l=e=>{let t;ng(d.current);let n=x(r.current.nextTree);try{nv=!0,t=e(n)}finally{nv=!1}t!==n&&(r.current.nextTree=t,nr().early&&nS(d.current,r.current,t),x(u.current)())},u=nh(null),c=nl(e=>{u.current=e},[u]),d=t2(()=>null!=n?n:{storeID:nn(),getState:()=>r.current,replaceState:l,getGraph:o,subscribeToTransactions:s,addTransactionMetadata:a});null!=n&&(d.current=n),r=t2(()=>null!=e?function(e,t){let n=t4();return t({set(t,i){let r=n.currentTree,o=t5(e,r,t.key,i),s=new Set(o.keys()),a=r.nonvalidatedAtoms.clone();for(let l of s)a.delete(l);n.currentTree={...r,dirtyAtoms:t0(r.dirtyAtoms,s),atomValues:no(r.atomValues,o),nonvalidatedAtoms:a}},setUnvalidatedAtomValues(e){e.forEach((e,t)=>{n.currentTree=t9(n.currentTree,t,e)})}}),n}(d.current,e):null!=t?function(e){let t=na(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(e=>e()),n.nodeCleanupFunctions.clear(),n}(t):t4());let p=nd(()=>null==ni?void 0:ni(r,()=>r.current.currentTree.version),[r]);return nc(()=>{let e=d.current;for(let t of new Set(e.getState().knownAtoms))t8(e,t,"get");return()=>{for(let t of e.getState().knownAtoms)t6(e,t)}},[d]),h.createElement(nb.Provider,{value:d},h.createElement(ny.Provider,{value:p},h.createElement(nT,{setNotifyBatcherOfChange:c}),i))}var nx={RecoilRoot:function(e){let{override:t,...n}=e,i=nw();return!1===t&&i.current!==nm?e.children:h.createElement(nC,n)},useStoreRef:nw,useRecoilMutableSource:function(){let e=nu(ny);return null==e&&Q("Attempted to use a Recoil hook outside of a <RecoilRoot>. <RecoilRoot> must be an ancestor of any component that uses Recoil hooks."),e},useRecoilStoreID:function(){return nw().current.storeID},notifyComponents_FOR_TESTING:nS,sendEndOfBatchNotifications_FOR_TESTING:n_},nk=function(e,t){if(e===t)return!0;
3if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(e[n]!==t[n])return!1;return!0};let{useEffect:nA,useRef:nR}=h;var nM=function(e){let t=nR();return nA(()=>{t.current=e}),t.current};let{useStoreRef:nL}=nx,{SUSPENSE_TIMEOUT_MS:nO}=tv,{updateRetainCount:nN}=tv,{RetentionZone:nI}=eN,{useEffect:nP,useRef:nV}=h,{isSSR:nD}=tA;var nB=function(e){if(U("recoil_memory_managament_2020"))return function(e){let t=Array.isArray(e)?e:[e],n=t.map(e=>e instanceof nI?e:e.key),i=nL();nP(()=>{if(!U("recoil_memory_managament_2020"))return;let e=i.current;if(r.current&&!nD)window.clearTimeout(r.current),r.current=null;else for(let t of n)nN(e,t,1);return()=>{for(let t of n)nN(e,t,-1)}},[i,...n]);let r=nV(),o=nM(n);if(!nD&&(void 0===o||!nk(o,n))){let s=i.current;for(let a of n)nN(s,a,1);if(o)for(let l of o)nN(s,l,-1);r.current&&window.clearTimeout(r.current),r.current=window.setTimeout(()=>{for(let e of(r.current=null,n))nN(s,e,-1)},nO)}}(e)},n$=function(){return"<component name not available>"};let{batchUpdates:nz}=tE,{DEFAULT_VALUE:nU}=eu,{currentRendererSupportsUseSyncExternalStore:nF,reactMode:nj,useMutableSource:nG,useSyncExternalStore:nH}=W,{useRecoilMutableSource:nq,useStoreRef:nW}=nx,{isRecoilValue:nY}=J,{AbstractRecoilValue:nK,getRecoilValueAsLoadable:nX,setRecoilValue:nZ,setUnvalidatedRecoilValue:nJ,subscribeToRecoilValue:nQ}=ts,{useCallback:n0,useEffect:n1,useMemo:n2,useRef:n3,useState:n4}=h,{setByAddingToSet:n6}=eI,{isSSR:n7}=tA;function n8(e,t,n){if("hasValue"===e.state)return e.contents;if("loading"===e.state){let i=new Promise(t=>{let i=n.current.getState().suspendedComponentResolvers;i.add(t),n7&&C(e.contents)&&e.contents.finally(()=>{i.delete(t)})});throw i}if("hasError"===e.state)throw e.contents;throw E(`Invalid value of loadable atom "${t.key}"`)}function n5(e){let t=nW(),n=n$(),i=n0(()=>{var n;let i=t.current,r=i.getState(),o=nj().early&&null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree,s=nX(i,e,o);return{loadable:s,key:e.key}},[t,e]),r=n0(e=>{let t;return()=>{var n,i;let r=e();return null!==(n=t)&&void 0!==n&&n.loadable.is(r.loadable)&&(null===(i=t)||void 0===i?void 0:i.key)===r.key?t:(t=r,r)}},[]),o=n2(()=>r(i),[i,r]),s=n0(i=>{let r=t.current,o=nQ(r,e,i,n);return o.release},[t,e,n]);return nH(s,o,o).loadable}function n9(e){let t=nW(),n=n0(()=>{var n;let i=t.current,r=i.getState(),o=nj().early&&null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree;return nX(i,e,o)},[t,e]),i=n0(()=>n(),[n]),r=n$(),o=n0((i,o)=>{let s=t.current,a=nQ(s,e,()=>{if(!U("recoil_suppress_rerender_in_callback"))return o();let e=n();l.current.is(e)||o(),l.current=e},r);return a.release},[t,e,r,n]),s=nq();if(null==s)throw E("Recoil hooks must be used in components contained within a <RecoilRoot> component.");let a=nG(s,i,o),l=n3(a);return n1(()=>{l.current=a}),a}function ie(e){let t=nW(),n=n$(),i=n0(()=>{var n;let i=t.current,r=i.getState(),o=nj().early&&null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree;return nX(i,e,o)},[t,e]),r=n0(()=>({loadable:i(),key:e.key}),[i,e.key]),o=n0(e=>{let t=r();return e.loadable.is(t.loadable)&&e.key===t.key?e:t},[r]);n1(()=>{let i=nQ(t.current,e,e=>{a(o)},n);return a(o),i.release},[n,e,t,o]);let[s,a]=n4(r);return s.key!==e.key?r().loadable:s.loadable}function it(e){let t=nW(),[,n]=n4([]),i=n$(),r=n0(()=>{var n;let i=t.current,r=i.getState(),o=nj().early&&null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree;return nX(i,e,o)},[t,e]),o=r(),s=n3(o);return n1(()=>{s.current=o}),n1(()=>{let o=t.current,a=o.getState(),l=nQ(o,e,e=>{var t;if(!U("recoil_suppress_rerender_in_callback"))return n([]);let i=r();null!==(t=s.current)&&void 0!==t&&t.is(i)||n(i),s.current=i},i);if(a.nextTree)o.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{s.current=null,n([])});else{var u;if(!U("recoil_suppress_rerender_in_callback"))return n([]);let c=r();null!==(u=s.current)&&void 0!==u&&u.is(c)||n(c),s.current=c}return l.release},[i,r,e,t]),o}function ii(e){return U("recoil_memory_managament_2020")&&nB(e),({TRANSITION_SUPPORT:ie,SYNC_EXTERNAL_STORE:nF()?n5:ie,MUTABLE_SOURCE:n9,LEGACY:it})[nj().mode](e)}function ir(e){let t=nW(),n=ii(e);return n8(n,e,t)}function io(e){let t=nW();return n0(n=>{nZ(t.current,e,n)},[t,e])}function is(e){return U("recoil_memory_managament_2020")&&nB(e),ie(e)}function ia(e){let t=nW(),n=is(e);return n8(n,e,t)}var il=function(e,t){let n=new Map;for(let[i,r]of e)t(r,i)&&n.set(i,r);return n},iu=function(e,t){let n=new Set;for(let i of e)t(i)&&n.add(i);return n},ic=function(...e){let t=new Map;for(let n=0;n<e.length;n++){let i;let r=e[n].keys();for(;!(i=r.next()).done;)t.set(i.value,e[n].get(i.value))}return t};let{batchUpdates:id}=tE,{DEFAULT_VALUE:ih,getNode:ip,nodes:im}=eu,{useStoreRef:iv}
3=nx,{AbstractRecoilValue:ig,setRecoilValueLoadable:ib}=ts,{SUSPENSE_TIMEOUT_MS:iw}=tv,{cloneSnapshot:iy}=tQ,{useCallback:iS,useEffect:i_,useRef:iT,useState:iE}=h,{isSSR:iC}=tA;function ix(e){let t=iv();i_(()=>{let n=t.current.subscribeToTransactions(e);return n.release},[e,t])}function ik(e){let t=e.atomValues.toMap(),n=eg(il(t,(e,t)=>{let n=ip(t),i=n.persistence_UNSTABLE;return null!=i&&"none"!==i.type&&"hasValue"===e.state}),e=>e.contents);return ic(e.nonvalidatedAtoms.toMap(),n)}function iA(e,t){var n;let i=e.getState(),r=null!==(n=i.nextTree)&&void 0!==n?n:i.currentTree,o=t.getStore_INTERNAL().getState().currentTree;id(()=>{let n=new Set;for(let i of[r.atomValues.keys(),o.atomValues.keys()])for(let s of i){var a,l;(null===(a=r.atomValues.get(s))||void 0===a?void 0:a.contents)!==(null===(l=o.atomValues.get(s))||void 0===l?void 0:l.contents)&&ip(s).shouldRestoreFromSnapshots&&n.add(s)}n.forEach(t=>{ib(e,new ig(t),o.atomValues.has(t)?x(o.atomValues.get(t)):ih)}),e.replaceState(e=>({...e,stateID:t.getID()}))})}var iR={useRecoilSnapshot:function(){let e=iv(),[t,n]=iE(()=>iy(e.current)),i=nM(t),r=iT(),o=iT();if(ix(iS(e=>n(iy(e)),[])),i_(()=>{let e=t.retain();if(r.current&&!iC){var n;window.clearTimeout(r.current),r.current=null,null===(n=o.current)||void 0===n||n.call(o),o.current=null}return()=>{window.setTimeout(e,10)}},[t]),i!==t&&!iC){if(r.current){var s;window.clearTimeout(r.current),r.current=null,null===(s=o.current)||void 0===s||s.call(o),o.current=null}o.current=t.retain(),r.current=window.setTimeout(()=>{var e;r.current=null,null===(e=o.current)||void 0===e||e.call(o),o.current=null},iw)}return t},gotoSnapshot:iA,useGotoRecoilSnapshot:function(){let e=iv();return iS(t=>iA(e.current,t),[e])},useRecoilTransactionObserver:function(e){ix(iS(t=>{let n=iy(t,"latest"),i=iy(t,"previous");e({snapshot:n,previousSnapshot:i})},[e]))},useTransactionObservation_DEPRECATED:function(e){ix(iS(t=>{let n=t.getState().previousTree,i=t.getState().currentTree;n||(F("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),n=t.getState().currentTree);let r=ik(i),o=ik(n),s=eg(im,e=>{var t,n,i,r;return{persistence_UNSTABLE:{type:null!==(t=null===(n=e.persistence_UNSTABLE)||void 0===n?void 0:n.type)&&void 0!==t?t:"none",backButton:null!==(i=null===(r=e.persistence_UNSTABLE)||void 0===r?void 0:r.backButton)&&void 0!==i&&i}}}),a=iu(i.dirtyAtoms,e=>r.has(e)||o.has(e));e({atomValues:r,previousAtomValues:o,atomInfo:s,modifiedAtoms:a,transactionMetadata:{...i.transactionMetadata}})},[e]))},useTransactionSubscription_DEPRECATED:ix};let{peekNodeInfo:iM}=eW,{useStoreRef:iL}=nx;var iO=function(){let e=iL();return({key:t})=>iM(e.current,e.current.getState().currentTree,t)};let{reactMode:iN}=W,{RecoilRoot:iI,useStoreRef:iP}=nx,{useMemo:iV}=h;var iD=function(){"MUTABLE_SOURCE"===iN().mode&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode.  Please consider upgrading to recoil_sync_external_store mode.");let e=iP().current;return iV(()=>function({children:t}){return h.createElement(iI,{store_INTERNAL:e},t)},[e])};let{loadableWithValue:iB}=$,{initializeNode:i$}=eW,{DEFAULT_VALUE:iz,getNode:iU}=eu,{copyTreeState:iF,getRecoilValueAsLoadable:ij,invalidateDownstreams:iG,writeLoadableToTreeState:iH}=ts;function iq(e){return"atom"===iU(e.key).nodeType}class iW{constructor(e,t){k(this,"_store",void 0),k(this,"_treeState",void 0),k(this,"_changes",void 0),k(this,"get",e=>{if(this._changes.has(e.key))return this._changes.get(e.key);if(!iq(e))throw E("Reading selectors within atomicUpdate is not supported");let t=ij(this._store,e,this._treeState);if("hasValue"===t.state)return t.contents;if("hasError"===t.state)throw t.contents;throw E(`Expected Recoil atom ${e.key} to have a value, but it is in a loading state.`)}),k(this,"set",(e,t)=>{if(!iq(e))throw E("Setting selectors within atomicUpdate is not supported");if("function"==typeof t){let n=this.get(e);this._changes.set(e.key,t(n))}else i$(this._store,e.key,"set"),this._changes.set(e.key,t)}),k(this,"reset",e=>{this.set(e,iz)}),this._store=e,this._treeState=t,this._changes=new Map}
3newTreeState_INTERNAL(){if(0===this._changes.size)return this._treeState;let e=iF(this._treeState);for(let[t,n]of this._changes)iH(e,t,iB(n));return iG(this._store,e),e}}var iY=Object.freeze({__proto__:null,atomicUpdater:function(e){return t=>{e.replaceState(n=>{let i=new iW(e,n);return t(i),i.newTreeState_INTERNAL()})}}}),iK=function(e,t){if(!e)throw Error(t)};let{atomicUpdater:iX}=iY,{batchUpdates:iZ}=tE,{DEFAULT_VALUE:iJ}=eu,{useStoreRef:iQ}=nx,{refreshRecoilValue:i0,setRecoilValue:i1}=ts,{cloneSnapshot:i2}=tQ,{gotoSnapshot:i3}=iR,{useCallback:i4}=h;class i6{}let i7=new i6;function i8(e,t,n,i){let r,o=i7;return(iZ(()=>{let s="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create.  Please see the docs at recoiljs.org for details.";if("function"!=typeof t)throw E(s);let a=eV({...null!=i?i:{},set:(t,n)=>i1(e,t,n),reset:t=>i1(e,t,iJ),refresh:t=>i0(e,t),gotoSnapshot:t=>i3(e,t),transact_UNSTABLE:t=>iX(e)(t)},{snapshot(){let t=i2(e);return r=t.retain(),t}}),l=t(a);if("function"!=typeof l)throw E(s);o=l(...n)}),o instanceof i6&&iK(!1),C(o))?o=o.finally(()=>{null==r||r()}):null==r||r(),o}var i5={recoilCallback:i8,useRecoilCallback:function(e,t){let n=iQ();return i4((...t)=>i8(n.current,e,t),null!=t?[...t,n]:void 0)}};let{useStoreRef:i9}=nx,{refreshRecoilValue:re}=ts,{useCallback:rt}=h;var rn=function(e){let t=i9();return rt(()=>{let n=t.current;re(n,e)},[e,t])};let{atomicUpdater:ri}=iY,{useStoreRef:rr}=nx,{useMemo:ro}=h;var rs=function(e,t){let n=rr();return ro(()=>(...t)=>{let i=ri(n.current);i(n=>{e(n)(...t)})},null!=t?[...t,n]:void 0)},ra=Object.freeze({__proto__:null,WrappedValue:{WrappedValue:class{constructor(e){k(this,"value",void 0),this.value=e}}}.WrappedValue});let{isFastRefreshEnabled:rl}=W;class ru extends Error{}var rc=Object.freeze({__proto__:null,TreeCache:{TreeCache:class{constructor(e){var t,n,i;k(this,"_name",void 0),k(this,"_numLeafs",void 0),k(this,"_root",void 0),k(this,"_onHit",void 0),k(this,"_onSet",void 0),k(this,"_mapNodeValue",void 0),this._name=null==e?void 0:e.name,this._numLeafs=0,this._root=null,this._onHit=null!==(t=null==e?void 0:e.onHit)&&void 0!==t?t:()=>{},this._onSet=null!==(n=null==e?void 0:e.onSet)&&void 0!==n?n:()=>{},this._mapNodeValue=null!==(i=null==e?void 0:e.mapNodeValue)&&void 0!==i?i:e=>e}size(){return this._numLeafs}root(){return this._root}get(e,t){var n;return null===(n=this.getLeafNode(e,t))||void 0===n?void 0:n.value}getLeafNode(e,t){if(null==this._root)return;let n=this._root;for(;n;){if(null==t||t.onNodeVisit(n),"leaf"===n.type)return this._onHit(n),n;let i=this._mapNodeValue(e(n.nodeKey));n=n.branches.get(i)}}set(e,t,n){let i=()=>{var i,r,o,s,a,l,u;let c,d;for(let[h,p]of e){let f=this._root;if((null==f?void 0:f.type)==="leaf")throw this.invalidCacheError();let m=c;if("branch"!==(c=null!==(a=c=m?m.branches.get(d):f)&&void 0!==a?a:{type:"branch",nodeKey:h,parent:m,branches:new Map,branchKey:d}).type||c.nodeKey!==h)throw this.invalidCacheError();null==m||m.branches.set(d,c),null==n||null===(l=n.onNodeVisit)||void 0===l||l.call(n,c),d=this._mapNodeValue(p),this._root=null!==(u=this._root)&&void 0!==u?u:c}let v=c?null===(i=c)||void 0===i?void 0:i.branches.get(d):this._root;if(null!=v&&("leaf"!==v.type||v.branchKey!==d))throw this.invalidCacheError();let g={type:"leaf",value:t,parent:c,branchKey:d};null===(r=c)||void 0===r||r.branches.set(d,g),this._root=null!==(o=this._root)&&void 0!==o?o:g,this._numLeafs++,this._onSet(g),null==n||null===(s=n.onNodeVisit)||void 0===s||s.call(n,g)};try{i()}catch(r){if(r instanceof ru)this.clear(),i();else throw r}}delete(e){let t=this.root();if(!t)return!1;if(e===t)return this._root=null,this._numLeafs=0,!0;let n=e.parent,i=e.branchKey;for(;n;){var r;if(n.branches.delete(i),n===t)return 0===n.branches.size?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(n.branches.size>0)break;i=null===(r=n)||void 0===r?void 0:r.branchKey,n=n.parent}for(;n!==t;n=n.parent)if(null==n)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){let e=rl()?"Possible Fast Refresh module reload detected.  This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cac
3he values.  This happens when selectors do not return consistent values for the same input dependency values.  That may also be caused when using Fast Refresh to change a selector implementation.  Resetting cache.";throw F(e+(null!=this._name?` - ${this._name}`:"")),new ru}}}.TreeCache}),rd=Object.freeze({__proto__:null,LRUCache:{LRUCache:class{constructor(e){var t;k(this,"_maxSize",void 0),k(this,"_size",void 0),k(this,"_head",void 0),k(this,"_tail",void 0),k(this,"_map",void 0),k(this,"_keyMapper",void 0),this._maxSize=e.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=null!==(t=e.mapKey)&&void 0!==t?t:e=>e}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(e){return this._map.has(this._keyMapper(e))}get(e){let t=this._keyMapper(e),n=this._map.get(t);if(n)return this.set(e,n.value),n.value}set(e,t){let n=this._keyMapper(e),i=this._map.get(n);i&&this.delete(e);let r=this.head(),o={key:e,right:r,left:null,value:t};r?r.left=o:this._tail=o,this._map.set(n,o),this._head=o,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){let e=this.tail();e&&this.delete(e.key)}delete(e){let t=this._keyMapper(e);if(!this._size||!this._map.has(t))return;let n=x(this._map.get(t)),i=n.right,r=n.left;i&&(i.left=n.left),r&&(r.right=n.right),n===this.head()&&(this._head=i),n===this.tail()&&(this._tail=r),this._map.delete(t),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}}.LRUCache});let{LRUCache:rh}=rd,{TreeCache:rp}=rc;var rf=function({name:e,maxSize:t,mapNodeValue:n=e=>e}){let i=new rh({maxSize:t}),r=new rp({name:e,mapNodeValue:n,onHit(e){i.set(e,!0)},onSet(e){let n=i.tail();i.set(e,!0),n&&r.size()>t&&r.delete(n.key)}});return r};function rm(e,t,n){if("string"==typeof e&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if((null==t?void 0:t.allowFunctions)!==!0)throw E("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(null===e)return"null";if("object"!=typeof e){var i;return null!==(i=JSON.stringify(e))&&void 0!==i?i:""}if(C(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((e,n)=>rm(e,t,n.toString()))}]`;if("function"==typeof e.toJSON)return rm(e.toJSON(n),t,n);if(e instanceof Map){let r={};for(let[o,s]of e)r["string"==typeof o?o:rm(o,t)]=s;return rm(r,t,n)}return e instanceof Set?rm(Array.from(e).sort((e,n)=>rm(e,t).localeCompare(rm(n,t))),t,n):void 0!==Symbol&&null!=e[Symbol.iterator]&&"function"==typeof e[Symbol.iterator]?rm(Array.from(e),t,n):`{${Object.keys(e).filter(t=>void 0!==e[t]).sort().map(n=>`${rm(n,t)}:${rm(e[n],t,n)}`).join(",")}}`}var rv=function(e,t={allowFunctions:!1}){return rm(e,t)};let{TreeCache:rg}=rc,rb={equality:"reference",eviction:"keep-all",maxSize:1/0};var rw=function({equality:e=rb.equality,eviction:t=rb.eviction,maxSize:n=rb.maxSize}=rb,i){let r=function(e){switch(e){case"reference":return e=>e;case"value":return e=>rv(e)}throw E(`Unrecognized equality policy ${e}`)}(e);return function(e,t,n,i){switch(e){case"keep-all":return new rg({name:i,mapNodeValue:n});case"lru":return rf({name:i,maxSize:x(t),mapNodeValue:n});case"most-recent":return rf({name:i,maxSize:1,mapNodeValue:n})}throw E(`Unrecognized eviction policy ${e}`)}(t,n,r,i)};let{isReactNative:ry,isWindow:rS}=tA,{isLoadable:r_,loadableWithError:rT,loadableWithPromise:rE,loadableWithValue:rC}=$,{WrappedValue:rx}
3=ra,{getNodeLoadable:rk,peekNodeLoadable:rA,setNodeValue:rR}=eW,{saveDepsToStore:rM}=ew,{DEFAULT_VALUE:rL,getConfigDeletionHandler:rO,getNode:rN,registerNode:rI}=eu,{isRecoilValue:rP}=J,{markRecoilValueModified:rV}=ts,{retainedByOptionWithDefault:rD}=tv,{recoilCallback:rB}=i5,{startPerfBlock:r$}={startPerfBlock:function(e){return()=>null}};class rz{}let rU=new rz,rF=[],rj=new Map,rG=(r=0,()=>r++);function rH(e){let t=null,{key:n,get:i,cachePolicy_UNSTABLE:r}=e,o=null!=e.set?e.set:void 0,s=new Set,a=rw(null!=r?r:{equality:"reference",eviction:"keep-all"},n),l=rD(e.retainedBy_UNSTABLE),u=new Map,c=0;function d(){return!U("recoil_memory_managament_2020")||c>0}function h(e){return e.getState().knownSelectors.add(n),c++,()=>{c--}}function p(){return void 0!==rO(n)&&!d()}function f(e,t){k(e,t)&&T(e),m(t,!0)}function m(e,n){let i=rj.get(e);if(null!=i){for(let r of i)rV(r,x(t));n&&rj.delete(e)}}function v(e,t){let n=rj.get(t);null==n&&rj.set(t,n=new Set),n.add(e)}function g(e,t,n,i,r,o){return t.then(i=>{if(!d())throw T(e),rU;null!=o.loadingDepKey&&o.loadingDepPromise===t?n.atomValues.set(o.loadingDepKey,rC(i)):e.getState().knownSelectors.forEach(e=>{n.atomValues.delete(e)});let s=y(e,n);if(s&&"loading"!==s.state){if((k(e,r)||null==_(e))&&f(e,r),"hasValue"===s.state)return s.contents;throw s.contents}if(!k(e,r)){let a=S(e,n);if(null!=a)return a.loadingLoadable.contents}let[l,u]=w(e,n,r);if("loading"!==l.state&&(A(n,l,u),f(e,r)),"hasError"===l.state)throw l.contents;return l.contents}).catch(t=>{if(t instanceof rz)throw rU;if(!d())throw T(e),rU;let o=rT(t);throw A(n,o,i),f(e,r),t})}function b(e,t,i,r){var o,a,l,u,c,d,h;for(let p of((k(e,r)||t.version===(null===(o=e.getState())||void 0===o?void 0:null===(a=o.currentTree)||void 0===a?void 0:a.version)||t.version===(null===(l=e.getState())||void 0===l?void 0:null===(u=l.nextTree)||void 0===u?void 0:u.version))&&rM(n,i,e,null!==(c=null===(d=e.getState())||void 0===d?void 0:null===(h=d.nextTree)||void 0===h?void 0:h.version)&&void 0!==c?c:e.getState().currentTree.version),i))s.add(p)}function w(e,r,o){let s,a;let l=r$(n),u=!0,c=!0,h=()=>{l(),c=!1},p=!1,v={loadingDepKey:null,loadingDepPromise:null},w=new Map;function y({key:t}){let n=rk(e,r,t);switch(w.set(t,n),u||(b(e,r,new Set(w.keys()),o),function(e,t){if(k(e,t)){let n=x(_(e));n.stateVersions.clear(),m(t,!1)}}(e,o)),n.state){case"hasValue":return n.contents;case"hasError":throw n.contents;case"loading":throw v.loadingDepKey=t,v.loadingDepPromise=n.contents,n.contents}throw E("Invalid Loadable state")}let S=n=>(...i)=>{if(c)throw E("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated.  It c
3an be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return null!=t||iK(!1),rB(e,n,i,{node:t})};try{(s=i({get:y,getCallback:S}),s=rP(s)?y(s):s,r_(s)&&("hasError"===s.state&&(p=!0),s=s.contents),C(s))?s=s.then(t=>{if(!d())throw T(e),rU;let n=rC(t);return A(r,n,w),f(e,o),t}).catch(t=>{if(!d())throw T(e),rU;if(C(t))return g(e,t,r,w,o,v);let n=rT(t);throw A(r,n,w),f(e,o),t}).finally(h):h(),s=s instanceof rx?s.value:s}catch(R){C(s=R)?s=g(e,s,r,w,o,v).finally(h):(p=!0,h())}return a=p?rT(s):C(s)?rE(s):rC(s),u=!1,function(e,t,n){if(k(e,t)){let i=_(e);null!=i&&(i.depValuesDiscoveredSoFarDuringAsyncWork=n)}}(e,o,w),b(e,r,new Set(w.keys()),o),[a,w]}function y(e,t){let i=t.atomValues.get(n);if(null!=i)return i;let r=new Set;try{i=a.get(n=>("string"!=typeof n&&iK(!1),rk(e,t,n).contents),{onNodeVisit(e){"branch"===e.type&&e.nodeKey!==n&&r.add(e.nodeKey)}})}catch(o){throw E(`Problem with cache lookup for selector "${n}": ${o.message}`)}if(i){var s;t.atomValues.set(n,i),b(e,t,r,null===(s=_(e))||void 0===s?void 0:s.executionID)}return i}function S(e,t){let n=tC([u.has(e)?[x(u.get(e))]:[],ee(eP(u,([t])=>t!==e),([,e])=>e)]);for(let i of n){if(i.stateVersions.get(t.version)||!function(n){for(let[i,r]of n)if(!rk(e,t,i).is(r))return!0;return!1}(i.depValuesDiscoveredSoFarDuringAsyncWork))return i.stateVersions.set(t.version,!0),i;i.stateVersions.set(t.version,!1)}}function _(e){return u.get(e)}function T(e){u.delete(e)}function k(e,t){var n;return t===(null===(n=_(e))||void 0===n?void 0:n.executionID)}function A(e,t,i){e.atomValues.set(n,t);try{a.set(Array.from(i.entries()).map(([e,t])=>[e,t.contents]),t)}catch(r){throw E(`Problem with setting cache for selector "${n}": ${r.message}`)}}function R(e,t){let i=t.atomValues.get(n);return null!=i?i:a.get(n=>{var i;return"string"!=typeof n&&iK(!1),null===(i=rA(e,t,n))||void 0===i?void 0:i.contents})}function M(e,t){return function(e){if(rF.includes(n)){let t=`Recoil selector has circular dependencies: ${rF.slice(rF.indexOf(n)).join(" → ")}`;return rT(E(t))}rF.push(n);try{return e()}finally{rF.pop()}}(()=>(function(e,t){var n;let i=y(e,t);if(null!=i)return T(e),i;let r=S(e,t);if(null!=r)return(null===(n=r.loadingLoadable)||void 0===n?void 0:n.state)==="loading"&&v(e,r.executionID),r.loadingLoadable;let o=rG(),[s,a]=w(e,t,o);return"loading"===s.state?(u.set(e,{depValuesDiscoveredSoFarDuringAsyncWork:a,executionID:o,loadingLoadable:s,stateVersions:new Map([[t.version,!0]])}),v(e,o)):(T(e),A(t,s,a)),s})(e,t))}function L(e){e.atomValues.delete(n)}function O(e,n){for(let i of(null!=t||iK(!1),s)){var r;let o=rN(i);null===(r=o.clearCache)||void 0===r||r.call(o,e,n)}s.clear(),L(n),a.clear(),rV(e,t)}if(null==o)return t=rI({key:n,nodeType:"selector",peek:R,get:M,init:h,invalidate:L,clearCache:O,shouldDeleteConfigOnRelease:p,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l});{let N=(e,t,i)=>{let r=!1,s=new Map;function a({key:i}){if(r)throw E("Recoil: Async selector sets are not currently supported.");let o=rk(e,t,i);if("hasValue"===o.state)return o.contents;if("loading"===o.state){let s=`Getting value of asynchronous atom or selector "${i}" in a pending state while setting selector "${n}" is not yet supported.`;throw F(s),E(s)}throw o.contents}function l(n,i){if(r){let o="Recoil: Async selector sets are not currently supported.";throw F(o),E(o)}let l="function"==typeof i?i(a(n)):i,u=rR(e,t,n.key,l);u.forEach((e,t)=>s.set(t,e))}let u=o({set:l,get:a,reset:function(e){l(e,rL)}},i);if(void 0!==u)throw E(C(u)?"Recoil: Async selector sets are not currently supported.":"Recoil: selector set should be a void function.");return r=!0,s};return t=rI({key:n,nodeType:"selector",peek:R,get:M,set:N,init:h,invalidate:L,clearCache:O,shouldDeleteConfigOnRelease:p,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l})}}rH.value=e=>new rx(e);let{isLoadable:rq,loadableWithError:rW,loadableWithPromise:rY,loadableWithValue:rK}=$,{WrappedValue:rX}=ra,{peekNodeInfo:rZ}
3=eW,{DEFAULT_VALUE:rJ,DefaultValue:rQ,getConfigDeletionHandler:r0,registerNode:r1,setConfigDeletionHandler:r2}=eu,{isRecoilValue:r3}=J,{getRecoilValueAsLoadable:r4,markRecoilValueModified:r6,setRecoilValue:r7,setRecoilValueLoadable:r8}=ts,{retainedByOptionWithDefault:r5}=tv,r9=e=>e instanceof rX?e.value:e;function oe(e){let{...t}=e,n="default"in e?e.default:new Promise(()=>{});return r3(n)?function(e){let t=oe({...e,default:rJ,persistence_UNSTABLE:void 0===e.persistence_UNSTABLE?void 0:{...e.persistence_UNSTABLE,validator:t=>t instanceof rQ?t:x(e.persistence_UNSTABLE).validator(t,rJ)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=rH({key:`${e.key}__withFallback`,get({get:n}){let i=n(t);return i instanceof rQ?e.default:i},set:({set:e},n)=>e(t,n),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return r2(n.key,r0(e.key)),n}({...t,default:n}):function(e){var t;let n;let{key:i,persistence_UNSTABLE:r}=e,o=r5(e.retainedBy_UNSTABLE),s=0;function a(e){return rY(e.then(e=>(l=rK(e),e)).catch(e=>{throw l=rW(e),e}))}let l=C(e.default)?a(e.default):rq(e.default)?"loading"===e.default.state?a(e.default.contents):e.default:rK(r9(e.default));l.contents;let u=new Map;function c(e,t){var r,o;return null!==(r=null!==(o=t.atomValues.get(i))&&void 0!==o?o:n)&&void 0!==r?r:l}let d=r1({key:i,nodeType:"atom",peek:c,get:function(e,t){if(t.atomValues.has(i))return x(t.atomValues.get(i));if(!t.nonvalidatedAtoms.has(i))return l;{if(null!=n)return n;if(null==r)return Q(`Tried to restore a persisted value for atom ${i} but it has no persistence settings.`),l;let o=t.nonvalidatedAtoms.get(i),s=r.validator(o,rJ),a=s instanceof rQ?l:rK(s);return n=a}},set:function(e,t,r){if(t.atomValues.has(i)){let o=x(t.atomValues.get(i));if("hasValue"===o.state&&r===o.contents)return new Map}else if(!t.nonvalidatedAtoms.has(i)&&r instanceof rQ)return new Map;return n=void 0,new Map().set(i,rK(r))},init:function(t,n,r){var o,a,h;s++;let p=()=>{var e;s--,null===(e=u.get(t))||void 0===e||e.forEach(e=>e()),u.delete(t)};if(t.getState().knownAtoms.add(i),"loading"===l.state){let f=()=>{var e;let n=null!==(e=t.getState().nextTree)&&void 0!==e?e:t.getState().currentTree;n.atomValues.has(i)||r6(t,d)};l.contents.finally(f)}let m=null!==(o=e.effects)&&void 0!==o?o:e.effects_UNSTABLE;if(null!=m){let v=rJ,g=!0,b=!1,w=null;function y(e){if(g&&e.key===i){let r=v;return r instanceof rQ?c(t,n):C(r)?rY(r.then(e=>e instanceof rQ?l.toPromise():e)):rK(r)}return r4(t,e)}
3function S(e){return y(e).toPromise()}function _(e){var n;let r=rZ(t,null!==(n=t.getState().nextTree)&&void 0!==n?n:t.getState().currentTree,e.key);return!g||e.key!==i||v instanceof rQ?r:{...r,isSet:!0,loadable:y(e)}}let T=e=>n=>{if(g){let i=y(d),r="hasValue"===i.state?i.contents:rJ;C(v="function"==typeof n?n(r):n)&&(v=v.then(t=>(w={effect:e,value:t},t)))}else{if(C(n))throw E("Setting atoms to async values is not implemented.");"function"!=typeof n&&(w={effect:e,value:r9(n)}),r7(t,d,"function"==typeof n?t=>{let i=r9(n(t));return w={effect:e,value:i},i}:r9(n))}},x=e=>()=>T(e)(rJ),k=e=>n=>{var r;let{release:o}=t.subscribeToTransactions(t=>{var r,o,s,a,u;let{currentTree:c,previousTree:d}=t.getState();d||(F("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),d=c);let h=null!==(r=c.atomValues.get(i))&&void 0!==r?r:l;if("hasValue"===h.state){let p=h.contents,f=null!==(o=d.atomValues.get(i))&&void 0!==o?o:l,m="hasValue"===f.state?f.contents:rJ;(null===(s=w)||void 0===s?void 0:s.effect)!==e||(null===(a=w)||void 0===a?void 0:a.value)!==p?n(p,m,!c.atomValues.has(i)):(null===(u=w)||void 0===u?void 0:u.effect)===e&&(w=null)}},i);u.set(t,[...null!==(r=u.get(t))&&void 0!==r?r:[],o])};for(let A of m)try{let R=A({node:d,storeID:t.storeID,parentStoreID_UNSTABLE:t.parentStoreID,trigger:r,setSelf:T(A),resetSelf:x(A),onSet:k(A),getPromise:S,getLoadable:y,getInfo_UNSTABLE:_});null!=R&&u.set(t,[...null!==(a=u.get(t))&&void 0!==a?a:[],R])}catch(M){v=M,b=!0}if(g=!1,!(v instanceof rQ)){let L=b?rW(v):C(v)?rY(function(e,t){let n=t.then(t=>{var r,o;let s=null!==(r=e.getState().nextTree)&&void 0!==r?r:e.getState().currentTree;return(null===(o=s.atomValues.get(i))||void 0===o?void 0:o.contents)===n&&r7(e,d,t),t}).catch(t=>{var r,o;let s=null!==(r=e.getState().nextTree)&&void 0!==r?r:e.getState().currentTree;throw(null===(o=s.atomValues.get(i))||void 0===o?void 0:o.contents)===n&&r8(e,d,rW(t)),t});return n}(t,v)):rK(r9(v));L.contents,n.atomValues.set(i,L),null===(h=t.getState().nextTree)||void 0===h||h.atomValues.set(i,L)}}return p},invalidate:function(){n=void 0},shouldDeleteConfigOnRelease:function(){return void 0!==r0(i)&&s<=0},dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:o});return d}({...t,default:n})}oe.value=e=>new rX(e);var ot=Object.freeze({__proto__:null,MapCache:{MapCache:class{constructor(e){var t;k(this,"_map",void 0),k(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=null!==(t=null==e?void 0:e.mapKey)&&void 0!==t?t:e=>e}size(){return this._map.size}has(e){return this._map.has(this._keyMapper(e))}get(e){return this._map.get(this._keyMapper(e))}set(e,t){this._map.set(this._keyMapper(e),t)}delete(e){this._map.delete(this._keyMapper(e))}clear(){this._map.clear()}}}.MapCache});let{LRUCache:on}=rd,{MapCache:oi}=ot,or={equality:"reference",eviction:"none",maxSize:1/0};var oo=function({equality:e=or.equality,eviction:t=or.eviction,maxSize:n=or.maxSize}=or){let i=function(e){switch(e){case"reference":return e=>e;case"value":return e=>rv(e)}throw E(`Unrecognized equality policy ${e}`)}(e),r=function(e,t,n){switch(e){case"keep-all":return new oi({mapKey:n});case"lru":return new on({mapKey:n,maxSize:x(t)});case"most-recent":return new on({mapKey:n,maxSize:1})}throw E(`Unrecognized eviction policy ${e}`)}(t,n,i);return r};let{setConfigDeletionHandler:os}=eu;var oa=function(e){var t,n;let i=oo({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n,r;let o=i.get(t);if(null!=o)return o;let{cachePolicyForParams_UNSTABLE:s,...a}=e,l="default"in e?e.default:new Promise(()=>{}),u=oe({...a,key:`${e.key}__${null!==(n=rv(t))&&void 0!==n?n:"void"}`,default:"function"==typeof l?l(t):l,retainedBy_UNSTABLE:"function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE,effects:"function"==typeof e.effects?e.effects(t):"function"==typeof e.effects_UNSTABLE?e.effects_UNSTABLE(t):null!==(r=e.effects)&&void 0!==r?r:e.effects_UNSTABLE});
3return i.set(t,u),os(u.key,()=>{i.delete(t)}),u}};let{setConfigDeletionHandler:ol}=eu,ou=0;var oc=function(e){var t,n;let i=oo({equality:null!==(t=null===(n=e.cachePolicyForParams_UNSTABLE)||void 0===n?void 0:n.equality)&&void 0!==t?t:"value",eviction:"keep-all"});return t=>{var n;let r,o;try{r=i.get(t)}catch(s){throw E(`Problem with cache lookup for selector ${e.key}: ${s.message}`)}if(null!=r)return r;let a=`${e.key}__selectorFamily/${null!==(n=rv(t,{allowFunctions:!0}))&&void 0!==n?n:"void"}/${ou++}`,l=n=>e.get(t)(n),u=e.cachePolicy_UNSTABLE,c="function"==typeof e.retainedBy_UNSTABLE?e.retainedBy_UNSTABLE(t):e.retainedBy_UNSTABLE;if(null!=e.set){let d=e.set,h=(e,n)=>d(t)(e,n);o=rH({key:a,get:l,set:h,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c})}else o=rH({key:a,get:l,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c});return i.set(t,o),ol(o.key,()=>{i.delete(t)}),o}};let od=oc({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});var oh=function(e){return od(e)};let op=oc({key:"__error",get:e=>()=>{throw E(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});var of=function(e){return op(e)},om=function(e){return e};let{loadableWithError:ov,loadableWithPromise:og,loadableWithValue:ob}=$;function ow(e,t){let n=Array(t.length).fill(void 0),i=Array(t.length).fill(void 0);for(let[r,o]of t.entries())try{n[r]=e(o)}catch(s){i[r]=s}return[n,i]}function oy(e){return null!=e&&!C(e)}function oS(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function o_(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((e,n,i)=>({...e,[n]:t[i]}),{})}function oT(e,t,n){let i=n.map((e,n)=>null==e?ob(t[n]):C(e)?og(e):ov(e));return o_(e,i)}let oE=oc({key:"__waitForNone",get:e=>({get:t})=>{let n=oS(e),[i,r]=ow(t,n);return oT(e,i,r)},dangerouslyAllowMutability:!0}),oC=oc({key:"__waitForAny",get:e=>({get:t})=>{let n=oS(e),[i,r]=ow(t,n);return r.some(e=>!C(e))?oT(e,i,r):new Promise(t=>{for(let[n,o]of r.entries())C(o)&&o.then(o=>{i[n]=o,r[n]=void 0,t(oT(e,i,r))}).catch(o=>{r[n]=o,t(oT(e,i,r))})})},dangerouslyAllowMutability:!0}),ox=oc({key:"__waitForAll",get:e=>({get:t})=>{let n=oS(e),[i,r]=ow(t,n);if(r.every(e=>null==e))return o_(e,i);let o=r.find(oy);if(null!=o)throw o;return Promise.all(r).then(t=>o_(e,t.map((e,t)=>void 0===e?i[t]:e)))},dangerouslyAllowMutability:!0}),ok=oc({key:"__waitForAllSettled",get:e=>({get:t})=>{let n=oS(e),[i,r]=ow(t,n);return r.every(e=>!C(e))?oT(e,i,r):Promise.all(r.map((e,t)=>C(e)?e.then(e=>{i[t]=e,r[t]=void 0}).catch(e=>{i[t]=void 0,r[t]=e}):null)).then(()=>oT(e,i,r))},dangerouslyAllowMutability:!0}),oA=oc({key:"__noWait",get:e=>({get:t})=>{try{return rH.value(ob(t(e)))}catch(n){return rH.value(C(n)?og(n):ov(n))}},dangerouslyAllowMutability:!0}),{RecoilLoadable:oR}=$,{DefaultValue:oM}=eu,{RecoilRoot:oL,useRecoilStoreID:oO}=nx,{isRecoilValue:oN}=J,{retentionZone:oI}=eN,{freshSnapshot:oP}=tQ,{useRecoilState:oV,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:oD,useRecoilStateLoadable:oB,useRecoilValue:o$,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:oz,useRecoilValueLo
3adable:oU,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:oF,useResetRecoilState:oj,useSetRecoilState:oG}={recoilComponentGetRecoilValueCount_FOR_TESTING:{current:0},useRecoilInterface:function(){let e=n$(),t=nW(),[,n]=n4([]),i=n3(new Set);i.current=new Set;let r=n3(new Set),o=n3(new Map),s=n0(e=>{let t=o.current.get(e);t&&(t.release(),o.current.delete(e))},[o]),a=n0((e,t)=>{o.current.has(t)&&n([])},[]);return n1(()=>{let n=t.current;ev(i.current,r.current).forEach(t=>{if(o.current.has(t)){Q(`Double subscription to RecoilValue "${t}"`);return}let i=nQ(n,new nK(t),e=>a(e,t),e);o.current.set(t,i);let r=n.getState();r.nextTree?n.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a(n.getState(),t)}):a(n.getState(),t)}),ev(r.current,i.current).forEach(e=>{s(e)}),r.current=i.current}),n1(()=>{let n=o.current;return ev(i.current,new Set(n.keys())).forEach(i=>{let r=nQ(t.current,new nK(i),e=>a(e,i),e);n.set(i,r)}),()=>n.forEach((e,t)=>s(t))},[e,t,s,a]),n2(()=>{function e(e){return n=>{nZ(t.current,e,n)}}function n(e){var n;i.current.has(e.key)||(i.current=n6(i.current,e.key));let r=t.current.getState();return nX(t.current,e,nj().early&&null!==(n=r.nextTree)&&void 0!==n?n:r.currentTree)}function r(e){let i=n(e);return n8(i,e,t)}
3return{getRecoilValue:r,getRecoilValueLoadable:n,getRecoilState:function(t){return[r(t),e(t)]},getRecoilStateLoadable:function(t){return[n(t),e(t)]},getSetRecoilState:e,getResetRecoilState:function(e){return()=>nZ(t.current,e,nU)}}},[i,t])},useRecoilState:function(e){return[ir(e),io(e)]},useRecoilStateLoadable:function(e){return[ii(e),io(e)]},useRecoilValue:ir,useRecoilValueLoadable:ii,useResetRecoilState:function(e){let t=nW();return n0(()=>{nZ(t.current,e,nU)},[t,e])},useSetRecoilState:io,useSetUnvalidatedAtomValues:function(){let e=nW();return(t,n={})=>{nz(()=>{e.current.addTransactionMetadata(n),t.forEach((t,n)=>nJ(e.current,new nK(n),t))})}},useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:is,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:ia,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:function(e){return[ia(e),io(e)]}},{useGotoRecoilSnapshot:oH,useRecoilSnapshot:oq,useRecoilTransactionObserver:oW}=iR,{useRecoilCallback:oY}=i5,{noWait:oK,waitForAll:oX,waitForAllSettled:oZ,waitForAny:oJ,waitForNone:oQ}={waitForNone:oE,waitForAny:oC,waitForAll:ox,waitForAllSettled:ok,noWait:oA};var o0={DefaultValue:oM,isRecoilValue:oN,RecoilLoadable:oR,RecoilEnv:z,RecoilRoot:oL,useRecoilStoreID:oO,useRecoilBridgeAcrossReactRoots_UNSTABLE:iD,atom:oe,selector:rH,atomFamily:oa,selectorFamily:oc,constSelector:oh,errorSelector:of,readOnlySelector:om,noWait:oK,waitForNone:oQ,waitForAny:oJ,waitForAll:oX,waitForAllSettled:oZ,useRecoilValue:o$,useRecoilValueLo
3adable:oU,useRecoilState:oV,useRecoilStateLoadable:oB,useSetRecoilState:oG,useResetRecoilState:oj,useGetRecoilValueInfo_UNSTABLE:iO,useRecoilRefresher_UNSTABLE:rn,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:oF,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:oz,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:oD,useRecoilCallback:oY,useRecoilTransaction_UNSTABLE:rs,useGotoRecoilSnapshot:oH,useRecoilSnapshot:oq,useRecoilTransactionObserver_UNSTABLE:oW,snapshot_UNSTABLE:oP,useRetain:nB,retentionZone:oI};o0.DefaultValue,o0.isRecoilValue,o0.RecoilLoadable,o0.RecoilEnv;var o1=o0.RecoilRoot;o0.useRecoilStoreID,o0.useRecoilBridgeAcrossReactRoots_UNSTABLE,o0.atom,o0.selector,o0.atomFamily,o0.selectorFamily,o0.constSelector,o0.errorSelector,o0.readOnlySelector,o0.noWait,o0.waitForNone,o0.waitForAny,o0.waitForAll,o0.waitForAllSettled,o0.useRecoilValue,o0.useRecoilValueLoadable,o0.useRecoilState,o0.useRecoilStateLoadable,o0.useSetRecoilState,o0.useResetRecoilState,o0.useGetRecoilValueInfo_UNSTABLE,o0.useRecoilRefresher_UNSTABLE,o0.useRecoilValueLo
3adable_TRANSITION_SUPPORT_UNSTABLE,o0.useRecoilValue_TRANSITION_SUPPORT_UNSTABLE,o0.useRecoilState_TRANSITION_SUPPORT_UNSTABLE,o0.useRecoilCallback,o0.useRecoilTransaction_UNSTABLE,o0.useGotoRecoilSnapshot,o0.useRecoilSnapshot,o0.useRecoilTransactionObserver_UNSTABLE,o0.snapshot_UNSTABLE,o0.useRetain,o0.retentionZone;var o2=n(3440);n(7065),n(3726),o2.ZP.use([o2.tl,o2.pt]);var o3=function(e){let{Component:t,pageProps:n}=e;return(0,h.useEffect)(()=>{history.scrollRestoration&&(history.scrollRestoration="manual")},[]),(0,u.jsx)(S.ConfigProvider,{children:(0,u.jsx)(o1,{children:(0,u.jsx)(y,{children:(0,u.jsx)(t,{...n})})})})}},6589:function(e,t,n){"use strict";function i(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"click",i=i=>{var r,o;let s=i&&{...i},a=i?JSON.stringify(i):"";null===(r=window.onetrack)||void 0===r||r.call(window,"track",n,{tip:t,...s}),null===(o=window._hmt)||void 0===o||o.push(["_trackEvent",e,n,a])};return i}n.d(t,{AE:function(){return l},Tw:function(){return a},ar:function(){return s},kh:function(){return r},lG:function(){return o},mQ:function(){return u},v4:function(){return d}});let r=i("导航栏-引导点击PV","762.3.5.1.18017"),o=i("footer-外链点击PV","762.3.3.1.18014"),s=i("Light-元素点击PV","762.13.1.1.25319"),a=i("Vision-元素点击PV","762.12.1.1.25318"),l=i("Privacy-元素点击PV","762.14.1.1.25322"),u=i("Connect-元素点击PV","762.11.1.1.25320");i("footer-引导点击PV","762.3.3.1.17995"),i("footer-下一页点击PV","762.3.3.1.18013"),i("footer-推荐机型点击PV","762.3.3.1.17993"),i("footer-推荐机型曝光","762.3.3.1.18056","expose"),i("Phone-元素点击PV","762.5.6.1.17988"),i("TV-元素点击PV","762.6.2.1.17989"),i("Pad-元素点击PV","762.8.1.1.18032"),i("发版计划-推荐机型-点击PV","762.7.1.1.18033"),i("发版计划-锚定tab点击PV","762.7.3.1.18058"),i("发版计划-推荐机型曝光PV","762.7.1.1.18078","expose");let c=i("媒体导流PV","762.10.1.1.18071","view"),d=()=>{var e,t;let{search:n,pathname:i}=window.location;if("/"!==i)return;let r=null==n?void 0:n.replace("?","");if(!r)return;let o=r.split("&"),s=null===(t=null===(e=o.find(e=>e.includes("ref")))||void 0===e?void 0:e.split("="))||void 0===t?void 0:t[1];s&&c({ref:decodeURIComponent(s)})}},3726:function(){},7065:function(){},3687:function(){},9683:function(e){!function(){var t={229:function(e){var t,n,i,r=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(i){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(i){n=s}}();var l=[],u=!1,c=-1;function d(){u&&i&&(u=!1,i.length?l=i.concat(l):c=-1,l.length&&h())}function h(){if(!u){var e=a(d);u=!0;for(var t=l.length;t;){for(i=l,l=[];++c<t;)i&&i[c].run();c=-1,t=l.length}i=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(i){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||u||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}},s=!0;try{t[e](o,o.exports,i),s=!1}finally{s&&delete n[e]}return o.exports}i.ab="//";var r=i(229);e.exports=r}()},6716:function(e,t,n){e.exports=n(8165)},9847:function(e,t,n){e.exports=n(7308)},9313:function(e,t,n){"use strict";var i,r,o,s,a,l,u=n(959);u&&"object"==typeof u&&"default"in u&&u.default;var c=n(3405),d=new c,h=d.getBrowser(),p=d.getCPU(),f=d.getDevice(),m=d.getEngine(),v=d.getOS(),g=d.getUA(),b=function(e){return d.setUA(e)},w={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},y={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},S={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},T=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},E=function(e){var t=T();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},C=function(e){return e.type===w.Browser},x=function(e){return e.name===y.Edge},k=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},A=function(){return E("iPad")};f.type,w.SmartTv,f.type,w.Console,f.type,w.Wearable,f.type,w.Embedded,h.name===y.MobileSafari||A(),h.name,y.Chromium,(i=f.type)===w.Mobile||i===w.Tablet||A(),f.type,w.Mobile,f.type===w.Tablet||A(),C(f);var R=C(f),M=(v.name,S.Android,v.name,S.WindowsPhone,v.name===S.IOS||A(),h.name===y.Chrome);h.name,y.Firefox;var L=(r=h.name)===y.Safari||r===y.MobileSafari;h.name,y.Opera,(o=h.name)===y.InternetExplorer||y.Ie,_(v.version),_(v.name),_(h.version),_(h.major);var O=_(h.name);_(f.vendor),_(f.model),_(m.name),_(m.version),_(g);var N=x(h)||k(g);h.name,y.Yandex,_(f.type,"browser"),(s=T())&&(/iPad|iPhone|iPod/.test(s.platform)||"MacIntel"===s.platform&&s.maxTouchPoints>1)&&window.MSStream,A(),E("iPhone"),E("iPod"),"string"==typeof(l=(a=T())&&a.userAgent&&a.userAgent.toLowerCase())&&/electron/.test(l),k(g),x(h)&&k(g),v.name,S.Windows,v.name,S.MAC_OS,h.name,y.MIUI,h.name,y.SamsungBrowser,t.KC=O,t.i7=M,t.nI=R,t.un=N,t.G6=L},3023:function(e,t,n){"use strict";n.r(t);var i=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,i){return e[0]===t&&(n=i,!0)}),n}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 n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.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 n=0,i=this.__entries__;n<i.length;n++){var r=i[n];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,i=!1,r=0;function o(){n&&(n=!1,e()),i&&l()}function a(){s(o)}function l(){var e=Date.now();if(n){if(e-r<2)return;i=!0}else n=!0,i=!1,setTimeout(a,20);r=e}return l}(this.refresh.bind(this),0)}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_,n=t.indexOf(e);~n&&t.splice(n,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(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(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(){r&&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,n=void 0===t?"":t;a.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
3w e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},h=v(0,0,0,0);function p(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+p(e["border-"+n+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function v(e,t,n,i){return{x:e,y:t,width:n,height:i}}var g=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!r)return h;if(m(e)){var t;return v(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return h;var i=d(e).getComputedStyle(e),r=function(e){for(var t={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var r=i[n],o=e["padding-"+r];t[r]=p(o)}return t}(i),o=r.left+r.right,s=r.top+r.bottom,a=p(i.width),l=p(i.height);if("border-box"===i.boxSizing&&(Math.round(a+o)!==t&&(a-=f(i,"left","right")+o),Math.round(l+s)!==n&&(l-=f(i,"top","bottom")+s)),e!==d(e).document.documentElement){var u=Math.round(a+o)-t,c=Math.round(l+s)-n;1!==Math.abs(u)&&(a-=u),1!==Math.abs(c)&&(l-=c)}return v(r.left,r.top,a,l)}(e)}(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}(),b=function(e,t){var n,i,r,o,s,a=(n=t.x,i=t.y,r=t.width,o=t.height,c(s=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:i,width:r,height:o,top:i,right:n+r,bottom:o+i,left:n}),s);c(this,{target:e,contentRect:a})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new i,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new g(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("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(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 b(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}(),y="undefined"!=typeof WeakMap?new WeakMap:new i,S=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 n=u.getInstance(),i=new w(t,n,this);y.set(this,i)};["observe","unobserve","disconnect"].forEach(function(e){S.prototype[e]=function(){var t;return(t=y.get(this))[e].apply(t,arguments)}});var _=void 0!==o.ResizeObserver?o.ResizeObserver:S;t.default=_},3405:function(e,t,n){var i;!function(r,o){"use strict";var s="function",a="undefined",l="object",u="string",c="major",d="model",h="name",p="type",f="vendor",m="version",v="architecture",g="console",b="mobile",w="tablet",y="smarttv",S="wearable",_="embedded",T="Amazon",E="Apple",C="ASUS",x="BlackBerry",k="Browser",A="Chrome",R="Firefox",M="Google",L="Huawei",O="Microsoft",N="Motorola",I="Opera",P="Samsung",V="Sharp",D="Sony",B="Xiaomi",$="Zebra",z="Facebook",U="Chromium OS",F="Mac OS",j=function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n},G=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},H=function(e,t){return typeof e===u&&-1!==q(t).indexOf(q(e))},q=function(e){return e.toLowerCase()},W=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===a?e:e.substring(0,500)},Y=function(e,t){for(var n,i,r,a,u,c,d=0;d<t.length&&!u;){var h=t[d],p=t[d+1];for(n=i=0;n<h.length&&!u&&h[n];)if(u=h[n++].exec(e))for(r=0;r<p.length;r++)c=u[++i],typeof(a=p[r])===l&&a.length>0?2===a.length?typeof a[1]==s?this[a[0]]=a[1].call(this,c):this[a[0]]=a[1]:3===a.length?typeof a[1]!==s||a[1].exec&&a[1].test?this[a[0]]=c?c.replace(a[1],a[2]):o:this[a[0]]=c?a[1].call(this,c,a[2]):o:4===a.length&&(this[a[0]]=c?a[3].call(this,c.replace(a[1],a[2])):o):this[a]=c||o;d+=2}},K=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(H(t[n][i],e))return"?"===n?o:n}else if(H(t[n],e))return"?"===n?o:n;return e},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,m],[/opios[\/ ]+([\w\.]+)/i],[m,[h,I+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[h,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[h,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[h,"UC"+k]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[h,"Smart Lenovo "+k]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+k],m],[/\bfocus\/([\w\.]+)/i],[m,[h,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[h,I+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[h,I+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[h,"MIUI "+k]],[/fxios\/([-\w\.]+)/i],[m,[h,R]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+k]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+k],m],[/samsungbrowser\/([\w\.]+)/i],[m,[h,P+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[h,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[h,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,z],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[h,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[h,"GSA"]],[/musical_ly(?:.
vendor: 5,331 bytes, line 3
3+app_?version\/|_)([\w\.]+)/i],[m,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[h,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,A+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[h,"Android "+k]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[m,K,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[h,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[h,R+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,m],[/(cobalt)\/([\w\.]+)/i],[h,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,q]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,"",q]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,P],[p,w]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[f,P],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[f,E],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,E],[p,w]],[/(macintosh);/i],[d,[f,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,V],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,L],[p,w]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,L],[p,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[f,B],[p,b]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,B],[p,w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[f,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[p,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[p,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[f,N],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,N],[p,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,"LG"],[p,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[f,"LG"],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[f,"Lenovo"],[p,w]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[p,b]],[/(pixel c)\b/i],[d,[f,M],[p,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,M],[p,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[f,D],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[f,D],[p,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[f,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[f,T],[p,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,T],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[p,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,x],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,C],[p,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,C],[p,b]],[/(nexus 9)/i],[d,[f,"HTC"],[p,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[d,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[f,"Acer"],[p,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[f,"Meizu"],[p,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[f,"Ulefone"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 4,812 bytes, line 3
3s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,d,[p,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,d,[p,w]],[/(surface duo)/i],[d,[f,O],[p,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[p,b]],[/(u304aa)/i],[d,[f,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[d,[f,"RCA"],[p,w]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[p,w]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[p,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[p,w]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[p,w]],[/\b(k88) b/i],[d,[f,"ZTE"],[p,w]],[/\b(nx\d{3}j) b/i],[d,[f,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[d,[f,"Swiss"],[p,w]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[p,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[p,w]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[p,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[p,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[p,b]],[/\b(ph-1) /i],[d,[f,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[f,"Envizen"],[p,w]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[p,w]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[p,w]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[p,w]],[/(sprint) (\w+)/i],[f,d,[p,b]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,O],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,$],[p,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,$],[p,b]],[/smart-tv.+(samsung)/i],[f,[p,y]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[f,P],[p,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,"LG"],[p,y]],[/(apple) ?tv/i],[f,[d,E+" TV"],[p,y]],[/crkey/i],[[d,A+"cast"],[f,M],[p,y]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,T],[p,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,V],[p,y]],[/(bravia[\w ]+)( bui|\))/i],[d,[f,D],[p,y]],[/(mitv-\w{5}) bui/i],[d,[f,B],[p,y]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[p,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,W],[d,W],[p,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[p,g]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[d,[f,D],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,O],[p,g]],[/((pebble))app/i],[f,d,[p,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,E],[p,S]],[/droid.+; (glass) \d/i],[d,[f,M],[p,S]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,$],[p,S]],[/(quest( 2| pro)?)/i],[d,[f,z],[p,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[p,_]],[/(aeobc)\b/i],[d,[f,T],[p,_]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[h,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[h,[m,K,X]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,K,X],[h,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,F],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,m],[/\(bb(10);/i],[m,[h,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[h,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[h,A
3+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,U],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,m],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,m]]},J=function(e,t){if(typeof e===l&&(t=e,e=o),!(this instanceof J))return new J
3(e,t).getResult();var n=typeof r!==a&&r.navigator?r.navigator:o,i=e||(n&&n.userAgent?n.userAgent:""),g=n&&n.userAgentData?n.userAgentData:o,y=t?j(Z,t):Z,S=n&&n.userAgent==i;return this.getBrowser=function(){var e,t={};return t[h]=o,t[m]=o,Y.call(t,i,y.browser),t[c]=typeof(e=t[m])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,S&&n&&n.brave&&typeof n.brave.isBrave==s&&(t[h]="Brave"),t},this.getCPU=function(){var e={};return e[v]=o,Y.call(e,i,y.cpu),e},this.getDevice=function(){var e={};return e[f]=o,e[d]=o,e[p]=o,Y.call(e,i,y.device),S&&!e[p]&&g&&g.mobile&&(e[p]=b),S&&"Macintosh"==e[d]&&n&&typeof n.standalone!==a&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[p]=w),e},this.getEngine=function(){var e={};return e[h]=o,e[m]=o,Y.call(e,i,y.engine),e},this.getOS=function(){var e={};return e[h]=o,e[m]=o,Y.call(e,i,y.os),S&&!e[h]&&g&&"Unknown"!=g.platform&&(e[h]=g.platform.replace(/chrome os/i,U).replace(/macos/i,F)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===u&&e.length>500?W(e,500):e,this},this.setUA(i),this};J.VERSION="1.0.37",J.BROWSER=G([h,m,c]),J.CPU=G([v]),J.DEVICE=G([d,f,p,g,b,y,w,S,_]),J.ENGINE=J.OS=G([h,m]),typeof t!==a?(e.exports&&(t=e.exports=J),t.UAParser=J):n.amdO?(i=(function(){return J}).call(t,n,t,e),o!==i&&(e.exports=i)):typeof r!==a&&(r.UAParser=J);var Q=typeof r!==a&&(r.jQuery||r.Zepto);if(Q&&!Q.ua){var ee=new J;Q.ua=ee.getResult(),Q.ua.get=function(){return ee.getUA()},Q.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:this)},3440:function(e,t,n){"use strict";let i,r,o;function s(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function a(e={},t={}){Object.keys(t).forEach(n=>{void 0===e[n]?e[n]=t[n]:s(t[n])&&s(e[n])&&Object.keys(t[n]).length>0&&a(e[n],t[n])})}n.d(t,{pt:function(){return q},W_:function(){return j},tl:function(){return H},ZP:function(){return U}});let l={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function u(){let e="undefined"!=typeof document?document:{};return a(e,l),e}let c={document:l,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function d(){let e="undefined"!=typeof window?window:{};return a(e,c),e}class h extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){let t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function p(e=[]){let t=[];return e.forEach(e=>{Array.isArray(e)?t.push(...p(e)):t.push(e)}),t}function f(e,t){return Array.prototype.filter.call(e,t)}function m(e,t){let n=d(),i=u(),r=[];if(!t&&e instanceof h)return e;if(!e)return new h(r);if("string"==typeof e){let o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){let s="div";0===o.indexOf("<li")&&(s="ul"),0===o.indexOf("<tr")&&(s="tbody"),(0===o.indexOf("<td")||0===o.indexOf("<th"))&&(s="tr"),0===o.indexOf("<tbody")&&(s="table"),0===o.indexOf("<option")&&(s="select");let a=i.createElement(s);a.innerHTML=o;for(let l=0;l<a.childNodes.length;l+=1)r.push(a.childNodes[l])}else r=function(e,t){if("string"!=typeof e)return[e];let n=[],i=t.querySelectorAll(e);for(let r=0;r<i.length;r+=1)n.push(i[r]);return n}(e.trim(),t||i)}else if(e.nodeType||e===n||e===i)r.push(e);else if(Array.isArray(e)){if(e instanceof h)return e;r=e}return new h(function(e){let t=[];for(let n=0;n<e.length;
3n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(r))}m.fn=h.prototype;let v="resize scroll".split(" ");function g(e){return function(...t){if(void 0===t[0]){for(let n=0;n<this.length;n+=1)0>v.indexOf(e)&&(e in this[n]?this[n][e]():m(this[n]).trigger(e));return this}return this.on(e,...t)}}g("click"),g("blur"),g("focus"),g("focusin"),g("focusout"),g("keyup"),g("keydown"),g("keypress"),g("submit"),g("change"),g("mousedown"),g("mousemove"),g("mouseup"),g("mouseenter"),g("mouseleave"),g("mouseout"),g("mouseover"),g("touchstart"),g("touchend"),g("touchmove"),g("resize"),g("scroll");let b={addClass:function(...e){let t=p(e.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.add(...t)}),this},removeClass:function(...e){let t=p(e.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.remove(...t)}),this},hasClass:function(...e){let t=p(e.map(e=>e.split(" ")));return f(this,e=>t.filter(t=>e.classList.contains(t)).length>0).length>0},toggleClass:function(...e){let t=p(e.map(e=>e.split(" ")));this.forEach(e=>{t.forEach(t=>{e.classList.toggle(t)})})},attr:function(e,t){if(1==arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2==arguments.length)this[n].setAttribute(e,t);else for(let i in e)this[n][i]=e[i],this[n].setAttribute(i,e[i]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let t,[n,i,r,o]=e;function s(e){let t=e.target;if(!t)return;let n=e.target.dom7EventData||[];if(0>n.indexOf(e)&&n.unshift(e),m(t).is(i))r.apply(t,n);else{let o=m(t).parents();for(let s=0;s<o.length;s+=1)m(o[s]).is(i)&&r.apply(o[s],n)}}function a(e){let t=e&&e.target&&e.target.dom7EventData||[];0>t.indexOf(e)&&t.unshift(e),r.apply(this,t)}"function"==typeof e[1]&&([n,r,o]=e,i=void 0),o||(o=!1);let l=n.split(" ");for(let u=0;u<this.length;u+=1){let c=this[u];if(i)for(t=0;t<l.length;t+=1){let d=l[t];c.dom7LiveListeners||(c.dom7LiveListeners={}),c.dom7LiveListeners[d]||(c.dom7LiveListeners[d]=[]),c.dom7LiveListeners[d].push({listener:r,proxyListener:s}),c.addEventListener(d,s,o)}else for(t=0;t<l.length;t+=1){let h=l[t];c.dom7Listeners||(c.dom7Listeners={}),c.dom7Listeners[h]||(c.dom7Listeners[h]=[]),c.dom7Listeners[h].push({listener:r,proxyListener:a}),c.addEventListener(h,a,o)}}return this},off:function(...e){let[t,n,i,r]=e;"function"==typeof e[1]&&([t,i,r]=e,n=void 0),r||(r=!1);let o=t.split(" ");for(let s=0;s<o.length;s+=1){let a=o[s];for(let l=0;l<this.length;l+=1){let u;let c=this[l];if(!n&&c.dom7Listeners?u=c.dom7Listeners[a]:n&&c.dom7LiveListeners&&(u=c.dom7LiveListeners[a]),u&&u.length)for(let d=u.length-1;d>=0;d-=1){let h=u[d];i&&h.listener===i?(c.removeEventListener(a,h.proxyListener,r),u.splice(d,1)):i&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===i?(c.removeEventListener(a,h.proxyListener,r),u.splice(d,1)):i||(c.removeEventListener(a,h.proxyListener,r),u.splice(d,1))}}}return this},trigger:function(...e){let t=d(),n=e[0].split(" "),i=e[1];for(let r=0;r<n.length;r+=1){let o=n[r];for(let s=0;s<this.length;s+=1){let a=this[s];if(t.CustomEvent){let l=new t.CustomEvent(o,{detail:i,bubbles:!0,cancelable:!0});a.dom7EventData=e.filter((e,t)=>t>0),a.dispatchEvent(l),a.dom7EventData=[],delete a.dom7EventData}}}return this},transitionEnd:function(e){let t=this;return e&&t.on("transitionend",function n(i){i.target===this&&(e.call(this,i),t.off("transitionend",n))}),this},outerWidth:function(e){if(this.length>0){if(e){let t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){let t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){let e=d();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){let e=d(),t=u(),n=this[0],i=n.getBoundingClientRect(),r=t.body,o=n.clientTop||r.clientTop||0,s=n.clientLeft||r.clientLeft||0,a=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:i.top+a-o,left:i.left+l-s}}return null},css:function(e,t){let n;let i=d();if(1==arguments.length){if("string"==typeof e){if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(n=0;n<this.length;n+=1)for(let r in e)this[n].style[r]=e[r];return this}}if(2==arguments.length&&"string"==typeof e)for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this},each:function(e){return e&&this.forEach((t,n)=>{e.apply(t,[t,n])}),this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){let t,n;let i=d(),r=u(),o=this[0];if(!o||void 0===e)return!1;if("string"==typeof e){if(o.matches)return o.matches(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e);
3if(o.msMatchesSelector)return o.msMatchesSelector(e);for(n=0,t=m(e);n<t.length;n+=1)if(t[n]===o)return!0;return!1}if(e===r)return o===r;if(e===i)return o===i;if(e.nodeType||e instanceof h){for(n=0,t=e.nodeType?[e]:e;n<t.length;n+=1)if(t[n]===o)return!0}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;let t=this.length;if(e>t-1)return m([]);if(e<0){let n=t+e;return n<0?m([]):m([this[n]])}return m([this[e]])},append:function(...e){let t;let n=u();for(let i=0;i<e.length;i+=1){t=e[i];for(let r=0;r<this.length;r+=1)if("string"==typeof t){let o=n.createElement("div");for(o.innerHTML=t;o.firstChild;)this[r].appendChild(o.firstChild)}else if(t instanceof h)for(let s=0;s<t.length;s+=1)this[r].appendChild(t[s]);else this[r].appendChild(t)}return this},prepend:function(e){let t,n;let i=u();for(t=0;t<this.length;t+=1)if("string"==typeof e){let r=i.createElement("div");for(r.innerHTML=e,n=r.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(r.childNodes[n],this[t].childNodes[0])}else if(e instanceof h)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){if(this.length>0){if(e)return this[0].nextElementSibling&&m(this[0].nextElementSibling).is(e)?m([this[0].nextElementSibling]):m([]);if(this[0].nextElementSibling)return m([this[0].nextElementSibling])}return m([])},nextAll:function(e){let t=[],n=this[0];if(!n)return m([]);for(;n.nextElementSibling;){let i=n.nextElementSibling;e?m(i).is(e)&&t.push(i):t.push(i),n=i}return m(t)},prev:function(e){if(this.length>0){let t=this[0];if(e)return t.previousElementSibling&&m(t.previousElementSibling).is(e)?m([t.previousElementSibling]):m([]);if(t.previousElementSibling)return m([t.previousElementSibling])}return m([])},prevAll:function(e){let t=[],n=this[0];if(!n)return m([]);for(;n.previousElementSibling;){let i=n.previousElementSibling;e?m(i).is(e)&&t.push(i):t.push(i),n=i}return m(t)},parent:function(e){let t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?m(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return m(t)},parents:function(e){let t=[];for(let n=0;n<this.length;n+=1){let i=this[n].parentNode;for(;i;)e?m(i).is(e)&&t.push(i):t.push(i),i=i.parentNode}return m(t)},closest:function(e){let t=this;return void 0===e?m([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){let t=[];for(let n=0;n<this.length;n+=1){let i=this[n].querySelectorAll(e);for(let r=0;r<i.length;r+=1)t.push(i[r])}return m(t)},children:function(e){let t=[];for(let n=0;n<this.length;n+=1){let i=this[n].children;for(let r=0;r<i.length;r+=1)(!e||m(i[r]).is(e))&&t.push(i[r])}return m(t)},filter:function(e){let t=f(this,e);return m(t)},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function w(e,t=0){return setTimeout(e,t)}function y(){return Date.now()}function S(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function _(...e){let t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let i=1;i<e.length;i+=1){let r=e[i];if(null!=r&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(r instanceof HTMLElement):!r||1!==r.nodeType&&11!==r.nodeType)){let o=Object.keys(Object(r)).filter(e=>0>n.indexOf(e));for(let s=0,a=o.length;s<a;s+=1){let l=o[s],u=Object.getOwnPropertyDescriptor(r,l);void 0!==u&&u.enumerable&&(S(t[l])&&S(r[l])?r[l].__swiper__?t[l]=r[l]:_(t[l],r[l]):!S(t[l])&&S(r[l])?(t[l]={},r[l].__swiper__?t[l]=r[l]:_(t[l],r[l])):t[l]=r[l])}}}return t}function T(e,t,n){e.style.setProperty(t,n)}function E({swiper:e,targetPosition:t,side:n}){let i;let r=d(),o=-e.translate,s=null,a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);let l=t>o?"next":"prev",u=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,c=()=>{i=new Date().getTime(),null===s&&(s=i);let l=Math.max(Math.min((i-s)/a,1),0),d=o+(.5-Math.cos(l*Math.PI)/2)*(t-o);if(u(d,t)&&(d=t),e.wrapperEl.scrollTo({[n]:d}),u(d,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:d})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(c)};c()}
3function C(){return i||(i=function(){let e=d(),t=u();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{let n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(i){}return t}(),gestures:"ongesturestart"in e}}()),i}function x({swiper:e,runCallbacks:t,direction:n,step:i}){let{activeIndex:r,previousIndex:o}=e,s=n;if(s||(s=r>o?"next":r<o?"prev":"reset"),e.emit(`transition${i}`),t&&r!==o){if("reset"===s){e.emit(`slideResetTransition${i}`);return}e.emit(`slideChangeTransition${i}`),"next"===s?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`)}}function k(e){let t=this,n=u(),i=d(),r=t.touchEventsData,{params:o,touches:s,enabled:a}=t;if(!a||t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let c=m(l.target);if("wrapper"===o.touchEventsTarget&&!c.closest(t.wrapperEl).length||(r.isTouchEvent="touchstart"===l.type,!r.isTouchEvent&&"which"in l&&3===l.which||!r.isTouchEvent&&"button"in l&&l.button>0||r.isTouched&&r.isMoved))return;let h=!!o.noSwipingClass&&""!==o.noSwipingClass,p=e.composedPath?e.composedPath():e.path;h&&l.target&&l.target.shadowRoot&&p&&(c=m(p[0]));let f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,v=!!(l.target&&l.target.shadowRoot);if(o.noSwiping&&(v?function(e,t=this){return function t(n){if(!n||n===u()||n===d())return null;n.assignedSlot&&(n=n.assignedSlot);let i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(f,c[0]):c.closest(f)[0])){t.allowClick=!0;return}if(o.swipeHandler&&!c.closest(o.swipeHandler)[0])return;s.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,s.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;let g=s.currentX,b=s.currentY,w=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,S=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(w&&(g<=S||g>=i.innerWidth-S)){if("prevent"!==w)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=g,s.startY=b,r.touchStartTime=y(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){let _=!0;c.is(r.focusableElements)&&(_=!1,"SELECT"===c[0].nodeName&&(r.isTouched=!1)),n.activeElement&&m(n.activeElement).is(r.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();let T=_&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||T)&&!c[0].isContentEditable&&l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function A(e){let t=u(),n=this,i=n.touchEventsData,{params:r,touches:o,rtlTranslate:s,enabled:a}=n;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!i.isTouched){i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",l);return}if(i.isTouchEvent&&"touchmove"!==l.type)return;let c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),d="touchmove"===l.type?c.pageX:l.pageX,h="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper){o.startX=d,o.startY=h;return}if(!n.allowTouchMove){m(l.target).is(i.focusableElements)||(n.allowClick=!1),i.isTouched&&(Object.assign(o,{startX:d,startY:h,currentX:d,currentY:h}),i.touchStartTime=y());return}if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop){if(n.isVertical()){if(h<o.startY&&n.translate<=n.maxTranslate()||h>o.startY&&n.translate>=n.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(d<o.startX&&n.translate<=n.maxTranslate()||d>o.startX&&n.translate>=n.minTranslate())return}if(i.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&m(l.target).is(i.focusableElements)){i.isMoved=!0,n.allowClick=!1;return}if(i.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;o.currentX=d,o.currentY=h;let p=o.currentX-o.startX,f=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(p**2+f**2)<n.params.threshold)return;if(void 0===i.isScrolling){let v;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:p*p+f*f>=25&&(v=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,i.isScrolling=n.isHorizontal()?v>r.touchAngle:90-v>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",l),void 0===i.startMoving&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(i.startMoving=!0),i.isScrolling){i.isTouched=!1;return}if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce
3=!1,r.grabCursor&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),i.isMoved=!0;let g=n.isHorizontal()?p:f;o.diff=g,g*=r.touchRatio,s&&(g=-g),n.swipeDirection=g>0?"prev":"next",i.currentTranslate=g+i.startTranslate;let b=!0,w=r.resistanceRatio;if(r.touchReleaseOnEdges&&(w=0),g>0&&i.currentTranslate>n.minTranslate()?(b=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+g)**w)):g<0&&i.currentTranslate<n.maxTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-g)**w)),b&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(Math.abs(g)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{i.currentTranslate=i.startTranslate;return}}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function R(e){let t;let n=this,i=n.touchEventsData,{params:r,touches:o,rtlTranslate:s,slidesGrid:a,enabled:l}=n;if(!l)return;let u=e;if(u.originalEvent&&(u=u.originalEvent),i.allowTouchCallbacks&&n.emit("touchEnd",u),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&n.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);let c=y(),d=c-i.touchStartTime;if(n.allowClick){let h=u.path||u.composedPath&&u.composedPath();n.updateClickedSlide(h&&h[0]||u.target),n.emit("tap click",u),d<300&&c-i.lastClickTime<300&&n.emit("doubleTap doubleClick",u)}if(i.lastClickTime=y(),w(()=>{n.destroyed||(n.allowClick=!0)}),!i.isTouched||!i.isMoved||!n.swipeDirection||0===o.diff||i.currentTranslate===i.startTranslate){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,t=r.followFinger?s?n.translate:-n.translate:-i.currentTranslate,r.cssMode)return;if(n.params.freeMode&&r.freeMode.enabled){n.freeMode.onTouchEnd({currentPos:t});return}let p=0,f=n.slidesSizesGrid[0];for(let m=0;m<a.length;m+=m<r.slidesPerGroupSkip?1:r.slidesPerGroup){let v=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==a[m+v]?t>=a[m]&&t<a[m+v]&&(p=m,f=a[m+v]-a[m]):t>=a[m]&&(p=m,f=a[a.length-1]-a[a.length-2])}let g=null,b=null;r.rewind&&(n.isBeginning?b=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(g=0));let S=(t-a[p])/f,_=p<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(d>r.longSwipesMs){if(!r.longSwipes){n.slideTo(n.activeIndex);return}"next"===n.swipeDirection&&(S>=r.longSwipesRatio?n.slideTo(r.rewind&&n.isEnd?g:p+_):n.slideTo(p)),"prev"===n.swipeDirection&&(S>1-r.longSwipesRatio?n.slideTo(p+_):null!==b&&S<0&&Math.abs(S)>r.longSwipesRatio?n.slideTo(b):n.slideTo(p))}else{if(!r.shortSwipes){n.slideTo(n.activeIndex);return}let T=n.navigation&&(u.target===n.navigation.nextEl||u.target===n.navigation.prevEl);T?u.target===n.navigation.nextEl?n.slideTo(p+_):n.slideTo(p):("next"===n.swipeDirection&&n.slideTo(null!==g?g:p+_),"prev"===n.swipeDirection&&n.slideTo(null!==b?b:p))}}function M(){let e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:i,allowSlidePrev:r,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function L(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function O(){let e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let r=e.maxTranslate()-e.minTranslate();(0===r?0:(e.translate-e.minTranslate())/r)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}
3Object.keys(b).forEach(e=>{Object.defineProperty(m.fn,e,{value:b[e],writable:!0})});let N=!1;function I(){}let P=(e,t)=>{let n=u(),{params:i,touchEvents:r,el:o,wrapperEl:s,device:a,support:l}=e,c=!!i.nested,d="on"===t?"addEventListener":"removeEventListener";if(l.touch){let h="touchstart"===r.start&&!!l.passiveListener&&!!i.passiveListeners&&{passive:!0,capture:!1};o[d](r.start,e.onTouchStart,h),o[d](r.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),o[d](r.end,e.onTouchEnd,h),r.cancel&&o[d](r.cancel,e.onTouchEnd,h)}else o[d](r.start,e.onTouchStart,!1),n[d](r.move,e.onTouchMove,c),n[d](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&o[d]("click",e.onClick,!0),i.cssMode&&s[d]("scroll",e.onScroll),i.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",M,!0):e[t]("observerUpdate",M,!0)},V=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var D={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,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,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!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-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};let B={eventsEmitter:{on(e,t,n){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;let r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,n){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;function r(...n){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(i,n)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let n=this;return n.eventsListeners&&!n.destroyed&&n.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n},emit(...e){let t,n,i;let r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(t=e[0],n=e.slice(1,e.length),i=r):(t=e[0].events,n=e[0].data,i=e[0].context||r),n.unshift(i);let o=Array.isArray(t)?t:t.split(" ");
3return o.forEach(e=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(t=>{t.apply(i,[e,...n])}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(e=>{e.apply(i,n)})}),r}},update:{updateSize:function(){let e,t;let n=this.$el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n[0].clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:n[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),t=t-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e;let t=this;function n(e){return t.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]}function i(e,t){return parseFloat(e.getPropertyValue(n(t))||0)}let r=t.params,{$wrapperEl:o,size:s,rtlTranslate:a,wrongRTL:l}=t,u=t.virtual&&r.virtual.enabled,c=u?t.virtual.slides.length:t.slides.length,d=o.children(`.${t.params.slideClass}`),h=u?t.virtual.slides.length:d.length,p=[],f=[],m=[],v=r.slidesOffsetBefore;"function"==typeof v&&(v=r.slidesOffsetBefore.call(t));let g=r.slidesOffsetAfter;"function"==typeof g&&(g=r.slidesOffsetAfter.call(t));let b=t.snapGrid.length,w=t.slidesGrid.length,y=r.spaceBetween,S=-v,_=0,E=0;if(void 0===s)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*s),t.virtualSize=-y,a?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),r.centeredSlides&&r.cssMode&&(T(t.wrapperEl,"--swiper-centered-offset-before",""),T(t.wrapperEl,"--swiper-centered-offset-after",""));let C=r.grid&&r.grid.rows>1&&t.grid;C&&t.grid.initSlides(h);let x="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length>0;for(let k=0;k<h;k+=1){e=0;let A=d.eq(k);if(C&&t.grid.updateSlide(k,A,h,n),"none"!==A.css("display")){if("auto"===r.slidesPerView){x&&(d[k].style[n("width")]="");let R=getComputedStyle(A[0]),M=A[0].style.transform,L=A[0].style.webkitTransform;if(M&&(A[0].style.transform="none"),L&&(A[0].style.webkitTransform="none"),r.roundLengths)e=t.isHorizontal()?A.outerWidth(!0):A.outerHeight(!0);else{let O=i(R,"width"),N=i(R,"padding-left"),I=i(R,"padding-right"),P=i(R,"margin-left"),V=i(R,"margin-right"),D=R.getPropertyValue("box-sizing");if(D&&"border-box"===D)e=O+P+V;else{let{clientWidth:B,offsetWidth:$}=A[0];e=O+N+I+P+V+($-B)}}M&&(A[0].style.transform=M),L&&(A[0].style.webkitTransform=L),r.roundLengths&&(e=Math.floor(e))}else e=(s-(r.slidesPerView-1)*y)/r.slidesPerView,r.roundLengths&&(e=Math.floor(e)),d[k]&&(d[k].style[n("width")]=`${e}px`);d[k]&&(d[k].swiperSlideSize=e),m.push(e),r.centeredSlides?(S=S+e/2+_/2+y,0===_&&0!==k&&(S=S-s/2-y),0===k&&(S=S-s/2-y),.001>Math.abs(S)&&(S=0),r.roundLengths&&(S=Math.floor(S)),E%r.slidesPerGroup==0&&p.push(S),f.push(S)):(r.roundLengths&&(S=Math.floor(S)),(E-Math.min(t.params.slidesPerGroupSkip,E))%t.params.slidesPerGroup==0&&p.push(S),f.push(S),S=S+e+y),t.virtualSize+=e+y,_=e,E+=1}}if(t.virtualSize=Math.max(t.virtualSize,s)+g,a&&l&&("slide"===r.effect||"coverflow"===r.effect)&&o.css({width:`${t.virtualSize+r.spaceBetween}px`}),r.setWrapperSize&&o.css({[n("width")]:`${t.virtualSize+r.spaceBetween}px`}),C&&t.grid.updateWrapperSize(e,p,n),!r.centeredSlides){let z=[];for(let U=0;U<p.length;U+=1){let F=p[U];r.roundLengths&&(F=Math.floor(F)),p[U]<=t.virtualSize-s&&z.push(F)}p=z,Math.floor(t.virtualSize-s)-Math.floor(p[p.length-1])>1&&p.push(t.virtualSize-s)}if(0===p.length&&(p=[0]),0!==r.spaceBetween){let j=t.isHorizontal()&&a?"marginLeft":n("marginRight");d.filter((e,t)=>!r.cssMode||t!==d.length-1).css({[j]:`${y}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let G=0;
3m.forEach(e=>{G+=e+(r.spaceBetween?r.spaceBetween:0)}),G-=r.spaceBetween;let H=G-s;p=p.map(e=>e<0?-v:e>H?H+g:e)}if(r.centerInsufficientSlides){let q=0;if(m.forEach(e=>{q+=e+(r.spaceBetween?r.spaceBetween:0)}),(q-=r.spaceBetween)<s){let W=(s-q)/2;p.forEach((e,t)=>{p[t]=e-W}),f.forEach((e,t)=>{f[t]=e+W})}}if(Object.assign(t,{slides:d,snapGrid:p,slidesGrid:f,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){T(t.wrapperEl,"--swiper-centered-offset-before",`${-p[0]}px`),T(t.wrapperEl,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);let Y=-t.snapGrid[0],K=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(e=>e+Y),t.slidesGrid=t.slidesGrid.map(e=>e+K)}if(h!==c&&t.emit("slidesLengthChange"),p.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==w&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),!u&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){let X=`${r.containerModifierClass}backface-hidden`,Z=t.$el.hasClass(X);h<=r.maxBackfaceHiddenSlides?Z||t.$el.addClass(X):Z&&t.$el.removeClass(X)}},updateAutoHeight:function(e){let t;let n=this,i=[],r=n.virtual&&n.params.virtual.enabled,o=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);let s=e=>r?n.slides.filter(t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e)[0]:n.slides.eq(e)[0];if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1){if(n.params.centeredSlides)(n.visibleSlides||m([])).each(e=>{i.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){let a=n.activeIndex+t;if(a>n.slides.length&&!r)break;i.push(s(a))}}else i.push(s(n.activeIndex));for(t=0;t<i.length;t+=1)if(void 0!==i[t]){let l=i[t].offsetHeight;o=l>o?l:o}(o||0===o)&&n.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){let e=this.slides;for(let t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){let t=this,n=t.params,{slides:i,rtlTranslate:r,snapGrid:o}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;r&&(s=e),i.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let a=0;a<i.length;a+=1){let l=i[a],u=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(u-=i[0].swiperSlideOffset);let c=(s+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+n.spaceBetween),d=(s-o[0]+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+n.spaceBetween),h=-(s-u),p=h+t.slidesSizesGrid[a],f=h>=0&&h<t.size-1||p>1&&p<=t.size||h<=0&&p>=t.size;f&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(a),i.eq(a).addClass(n.slideVisibleClass)),l.progress=r?-c:c,l.originalProgress=r?-d:d}t.visibleSlides=m(t.visibleSlides)},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let n=this.params,i=this.maxTranslate()-this.minTranslate(),{progress:r,isBeginning:o,isEnd:s}=this,a=o,l=s;0===i?(r=0,o=!0,s=!0):(o=(r=(e-this.minTranslate())/i)<=0,s=r>=1),Object.assign(this,{progress:r,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&this.updateSlidesProgress(e),o&&!a&&this.emit("reachBeginning toEdge"),s&&!l&&this.emit("reachEnd toEdge"),(a&&!o||l&&!s)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){let e;let{slides:t,params:n,$wrapperEl:i,activeIndex:r,realIndex:o}=this,s=this.virtual&&n.virtual.enabled;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),(e=s?this.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${r}"]`):t.eq(r)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let a=e.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===a.length&&(a=t.eq(0)).addClass(n.slideNextClass);let l=e.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);
3n.loop&&0===l.length&&(l=t.eq(-1)).addClass(n.slidePrevClass),n.loop&&(a.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),l.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){let t;let n=this,i=n.rtlTranslate?n.translate:-n.translate,{slidesGrid:r,snapGrid:o,params:s,activeIndex:a,realIndex:l,snapIndex:u}=n,c=e;if(void 0===c){for(let d=0;d<r.length;d+=1)void 0!==r[d+1]?i>=r[d]&&i<r[d+1]-(r[d+1]-r[d])/2?c=d:i>=r[d]&&i<r[d+1]&&(c=d+1):i>=r[d]&&(c=d);s.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(o.indexOf(i)>=0)t=o.indexOf(i);else{let h=Math.min(s.slidesPerGroupSkip,c);t=h+Math.floor((c-h)/s.slidesPerGroup)}if(t>=o.length&&(t=o.length-1),c===a){t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"));return}let p=parseInt(n.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(n,{snapIndex:t,realIndex:p,previousIndex:a,activeIndex:c}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==p&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")},updateClickedSlide:function(e){let t;let n=this,i=n.params,r=m(e).closest(`.${i.slideClass}`)[0],o=!1;if(r){for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===r){o=!0,t=s;break}}if(r&&o)n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(m(r).attr("data-swiper-slide-index"),10):n.clickedIndex=t;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let{params:t,rtlTranslate:n,translate:i,$wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let o=function(e,t="x"){let n,i,r;let o=d(),s=function(e){let t;let n=d();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e,null);return o.WebKitCSSMatrix?((i=s.transform||s.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new o.WebKitCSSMatrix("none"===i?"":i)):n=(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=o.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=o.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}(r[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){let n=this,{rtlTranslate:i,params:r,$wrapperEl:o,wrapperEl:s,progress:a}=n,l=0,u=0;n.isHorizontal()?l=i?-e:e:u=e,r.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),r.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-u:r.virtualTranslate||o.transform(`translate3d(${l}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:u;let c=n.maxTranslate()-n.minTranslate();(0===c?0:(e-n.minTranslate())/c)!==a&&n.updateProgress(e),n.emit("setTranslate",n.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,n=!0,i=!0,r){let o;let s=this,{params:a,wrapperEl:l}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;let u=s.minTranslate(),c=s.maxTranslate();if(o=i&&e>u?u:i&&e<c?c:e,s.updateProgress(o),a.cssMode){let d=s.isHorizontal();if(0===t)l[d?"scrollLeft":"scrollTop"]=-o;else{if(!s.support.smoothScroll)return E({swiper:s,targetPosition:-o,side:d?"left":"top"}),!0;l.scrollTo({[d?"left":"top"]:-o,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(o),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(o),n&&(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[0].removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,n&&s.emit("transitionEnd"))}),s.$wrapperEl[0].addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit
3("setTransition",e,t)},transitionStart:function(e=!0,t){let{params:n}=this;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),x({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){let n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),x({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t=this.params.speed,n=!0,i,r){let o;if("number"!=typeof e&&"string"!=typeof e)throw Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){let s=parseInt(e,10),a=isFinite(s);if(!a)throw Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=s}let l=this,u=e;u<0&&(u=0);let{params:c,snapGrid:d,slidesGrid:h,previousIndex:p,activeIndex:f,rtlTranslate:m,wrapperEl:v,enabled:g}=l;if(l.animating&&c.preventInteractionOnTransition||!g&&!i&&!r)return!1;let b=Math.min(l.params.slidesPerGroupSkip,u),w=b+Math.floor((u-b)/l.params.slidesPerGroup);w>=d.length&&(w=d.length-1);let y=-d[w];if(c.normalizeSlideIndex)for(let S=0;S<h.length;S+=1){let _=-Math.floor(100*y),T=Math.floor(100*h[S]),C=Math.floor(100*h[S+1]);void 0!==h[S+1]?_>=T&&_<C-(C-T)/2?u=S:_>=T&&_<C&&(u=S+1):_>=T&&(u=S)}if(l.initialized&&u!==f&&(!l.allowSlideNext&&y<l.translate&&y<l.minTranslate()||!l.allowSlidePrev&&y>l.translate&&y>l.maxTranslate()&&(f||0)!==u))return!1;if(u!==(p||0)&&n&&l.emit("beforeSlideChangeStart"),l.updateProgress(y),o=u>f?"next":u<f?"prev":"reset",m&&-y===l.translate||!m&&y===l.translate)return l.updateActiveIndex(u),c.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),"slide"!==c.effect&&l.setTranslate(y),"reset"!==o&&(l.transitionStart(n,o),l.transitionEnd(n,o)),!1;if(c.cssMode){let x=l.isHorizontal(),k=m?y:-y;if(0===t){let A=l.virtual&&l.params.virtual.enabled;A&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),v[x?"scrollLeft":"scrollTop"]=k,A&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._swiperImmediateVirtual=!1})}else{if(!l.support.smoothScroll)return E({swiper:l,targetPosition:k,side:x?"left":"top"}),!0;v.scrollTo({[x?"left":"top"]:k,behavior:"smooth"})}return!0}return l.setTransition(t),l.setTranslate(y),l.updateActiveIndex(u),l.updateSlidesClasses(),l.emit("beforeTransitionStart",t,i),l.transitionStart(n,o),0===t?l.transitionEnd(n,o):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(e){l&&!l.destroyed&&e.target===this&&(l.$wrapperEl[0].removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.$wrapperEl[0].removeEventListener("webkitTransitionEnd",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(n,o))}),l.$wrapperEl[0].addEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.$wrapperEl[0].addEventListener("webkitTransitionEnd",l.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,i){if("string"==typeof e){let r=parseInt(e,10),o=isFinite(r);if(!o)throw Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=r}let s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,n,i)},slideNext:function(e=this.params.speed,t=!0,n){let i=this,{animating:r,enabled:o,params:s}=i;if(!o)return i;let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));let l=i.activeIndex<s.slidesPerGroupSkip?1:a;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return s.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){let i=this,{params:r,animating:o,snapGrid:s,slidesGrid:a,rtlTranslate:l,enabled:u}=i;if(!u)return i;if(r.loop){if(o&&r.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}let c=l?i.translate:-i.translate;function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=d(c),p=s.map(e=>d(e)),f=s[p.indexOf(h)-1];if(void 0===f&&r.cssMode){let m;
3s.forEach((e,t)=>{h>=e&&(m=t)}),void 0!==m&&(f=s[m>0?m-1:m])}let v=0;if(void 0!==f&&((v=a.indexOf(f))<0&&(v=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(v=Math.max(v=v-i.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&i.isBeginning){let g=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(g,e,t,n)}return i.slideTo(v,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,i=.5){let r=this.activeIndex,o=Math.min(this.params.slidesPerGroupSkip,r),s=o+Math.floor((r-o)/this.params.slidesPerGroup),a=this.rtlTranslate?this.translate:-this.translate;if(a>=this.snapGrid[s]){let l=this.snapGrid[s],u=this.snapGrid[s+1];a-l>(u-l)*i&&(r+=this.params.slidesPerGroup)}else{let c=this.snapGrid[s-1],d=this.snapGrid[s];a-c<=(d-c)*i&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,n)},slideToClickedSlide:function(){let e;let t=this,{params:n,$wrapperEl:i}=t,r="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,o=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?o<t.loopedSlides-r/2||o>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),o=i.children(`.${n.slideClass}[data-swiper-slide-index="${e}"]:not(.${n.slideDuplicateClass})`).eq(0).index(),w(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-r?(t.loopFix(),o=i.children(`.${n.slideClass}[data-swiper-slide-index="${e}"]:not(.${n.slideDuplicateClass})`).eq(0).index(),w(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}},loop:{loopCreate:function(){let e=this,t=u(),{params:n,$wrapperEl:i}=e,r=i.children().length>0?m(i.children()[0].parentNode):i;r.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=r.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){let s=n.slidesPerGroup-o.length%n.slidesPerGroup;if(s!==n.slidesPerGroup){for(let a=0;a<s;a+=1){let l=m(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);r.append(l)}o=r.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>o.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);let c=[],d=[];o.each((e,t)=>{let n=m(e);n.attr("data-swiper-slide-index",t)});for(let h=0;h<e.loopedSlides;h+=1){let p=h-Math.floor(h/o.length)*o.length;d.push(o.eq(p)[0]),c.unshift(o.eq(o.length-p-1)[0])}for(let f=0;f<d.length;f+=1)r.append(m(d[f].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let v=c.length-1;v>=0;v-=1)r.prepend(m(c[v].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){let e;let t=this;t.emit("beforeLoopFix");let{activeIndex:n,slides:i,loopedSlides:r,allowSlidePrev:o,allowSlideNext:s,snapGrid:a,rtlTranslate:l}=t;t.allowSlidePrev=!0,t.allowSlideNext=!0;let u=-a[n],c=u-t.getTranslate();if(n<r){e=i.length-3*r+n,e+=r;let d=t.slideTo(e,0,!1,!0);d&&0!==c&&t.setTranslate((l?-t.translate:t.translate)-c)}else if(n>=i.length-r){e=-i.length+n+r,e+=r;let h=t.slideTo(e,0,!1,!0);h&&0!==c&&t.setTranslate((l?-t.translate:t.translate)-c)}t.allowSlidePrev=o,t.allowSlideNext=s,t.emit("loopFix")},loopDestroy:function(){let{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){if(this.support.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)return;let t="container"===this.params.touchEventsTarget?this.el:this.wrapperEl;t.style.cursor="move",t.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){let e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){let e=this,t=u(),{params:n,support:i}=e;e.onTouchStart=k.bind(e),e.onTouchMove=A.bind(e),e.onTouchEnd=R.bind(e),n.cssMode&&(e.onScroll=O.bind(e)),e.onClick=L.bind(e),i.touch&&!N&&(t.addEventListener("touchstart",I),N=!0),P(e,"on")},detachEvents:function(){P(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{activeIndex:t,initialized:n,loopedSlides:i=0,params:r,$el:o}=e,s=r.breakpoints;if(!s||s&&0===Object.keys(s).length)return;
3let a=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;let l=a in s?s[a]:void 0,u=l||e.originalParams,c=V(e,r),d=V(e,u),h=r.enabled;c&&!d?(o.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&d&&(o.addClass(`${r.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===r.grid.fill)&&o.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{let n=r[t]&&r[t].enabled,i=u[t]&&u[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});let p=u.direction&&u.direction!==r.direction,f=r.loop&&(u.slidesPerView!==r.slidesPerView||p);p&&n&&e.changeDirection(),_(e.params,u);let m=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!m?e.disable():!h&&m&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",u),f&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",u)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let i=!1,r=d(),o="window"===t?r.innerHeight:n.clientHeight,s=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){let t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let a=0;a<s.length;a+=1){let{point:l,value:u}=s[a];"window"===t?r.matchMedia(`(min-width: ${u}px)`).matches&&(i=l):u<=n.clientWidth&&(i=l)}return i||"max"}},checkOverflow:{checkOverflow:function(){let e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){let r=e.slides.length-1,o=e.slidesGrid[r]+e.slidesSizesGrid[r]+2*i;e.isLocked=e.size>o}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:n,$el:i,device:r,support:o}=this,s=function(e,t){let n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",t.direction,{"pointer-events":!o.touch},{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...s),i.addClass([...e].join(" ")),this.emitContainerClasses()},removeClasses:function(){let{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,n,i,r,o){let s;let a=d();function l(){o&&o()}let u=m(e).parent("picture")[0];u||e.complete&&r?l():t?((s=new a.Image).onload=l,s.onerror=l,i&&(s.sizes=i),n&&(s.srcset=n),t&&(s.src=t)):l()},preloadImages:function(){let e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){let i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},$={};class z{constructor(...e){let t,n;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=_({},n),t&&!n.el&&(n.el=t),n.el&&m(n.el).length>1){let i=[];return m(n.el).each(e=>{let t=_({},n,{el:e});i.push(new z(t))}),i}let s=this;s.__swiper__=!0,s.support=C(),s.device=function(e={}){return r||(r=function({userAgent:e}={}){let t=C(),n=d(),i=n.navigator.platform,r=e||n.navigator.userAgent,o={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,l=r.match(/(Android);?[\s\/]+([\d.]+)?/),u=r.match(/(iPad).*OS\s([\d_]+)/),c=r.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="MacIntel"===i;return!u&&p&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${a}`)>=0&&((u=r.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),p=!1),l&&"Win32"!==i&&(o.os="android",o.android=!0),(u||h||c)&&(o.os="ios",o.ios=!0),o}(e)),r}({userAgent:n.userAgent}),s.browser=(o||(o=function(){let e=d();return{isSafari:function(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}
3(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),o),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],n.modules&&Array.isArray(n.modules)&&s.modules.push(...n.modules);let a={};s.modules.forEach(e=>{var t;e({swiper:s,extendParams:(t=n,function(e={}){let n=Object.keys(e)[0],i=e[n];if("object"!=typeof i||null===i||(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===t[n]&&(t[n]={auto:!0}),!(n in t&&"enabled"in i))){_(a,e);return}!0===t[n]&&(t[n]={enabled:!0}),"object"!=typeof t[n]||"enabled"in t[n]||(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),_(a,e)}),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});let l=_({},D,a);return s.params=_({},l,$,n),s.originalParams=_({},s.params),s.passedParams=_({},n),s.params&&s.params.on&&Object.keys(s.params.on).forEach(e=>{s.on(e,s.params.on[e])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=m,Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:(s.touchEventsTouch={start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"},s.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop),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:s.params.focusableElements,lastClickTime:y(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let n=this.minTranslate(),i=this.maxTranslate(),r=(i-n)*e+n;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.each(n=>{let i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){let{params:n,slides:i,slidesGrid:r,slidesSizesGrid:o,size:s,activeIndex:a}=this,l=1;if(n.centeredSlides){let u,c=i[a].swiperSlideSize;for(let d=a+1;d<i.length;d+=1)i[d]&&!u&&(c+=i[d].swiperSlideSize,l+=1,c>s&&(u=!0));for(let h=a-1;h>=0;h-=1)i[h]&&!u&&(c+=i[h].swiperSlideSize,l+=1,c>s&&(u=!0))}else if("current"===e)for(let p=a+1;p<i.length;p+=1){let f=t?r[p]+o[p]-r[a]<s:r[p]-r[a]<s;f&&(l+=1)}else for(let m=a-1;m>=0;m-=1){let v=r[a]-r[m]<s;v&&(l+=1)}return l}update(){let e=this;if(!e||e.destroyed)return;let{snapGrid:t,params:n}=e;function i(){let t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){let n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${i}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}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.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}
3rtl`),t.el.dir="ltr"),t.update())}mount(e){let t=this;if(t.mounted)return!0;let n=m(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;let i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){let t=m(e.shadowRoot.querySelector(i()));return t.children=e=>n.children(e),t}return n.children?n.children(i()):m(n).children(i())})();if(0===r.length&&t.params.createElements){let o=u(),s=o.createElement("div");r=m(s),s.className=t.params.wrapperClass,n.append(s),n.children(`.${t.params.slideClass}`).each(e=>{r.append(e)})}return Object.assign(t,{$el:n,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){let t=this;if(t.initialized)return t;let n=t.mount(e);return!1===n||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){let n=this,{params:i,$el:r,$wrapperEl:o,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),s&&s.length&&s.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.$el[0].swiper=null,function(e){let t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(i){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){_($,e)}static get extendedDefaults(){return $}static get defaults(){return D}static installModule(e){z.prototype.__modules__||(z.prototype.__modules__=[]);let t=z.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>z.installModule(e)),z):(z.installModule(e),z)}}Object.keys(B).forEach(e=>{Object.keys(B[e]).forEach(t=>{z.prototype[t]=B[e][t]})}),z.use([function({swiper:e,on:t,emit:n}){let i=d(),r=null,o=null,s=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},a=()=>{e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver(t=>{o=i.requestAnimationFrame(()=>{let{width:n,height:i}=e,r=n,o=i;t.forEach(({contentBoxSize:t,contentRect:n,target:i})=>{i&&i!==e.el||(r=n?n.width:(t[0]||t).inlineSize,o=n?n.height:(t[0]||t).blockSize)}),(r!==n||o!==i)&&s()})})).observe(e.el)},l=()=>{o&&i.cancelAnimationFrame(o),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},u=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&void 0!==i.ResizeObserver){a();return}i.addEventListener("resize",s),i.addEventListener("orientationchange",u)}),t("destroy",()=>{l(),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",u)})},function({swiper:e,extendParams:t,on:n,emit:i}){let r=[],o=d(),s=(e,t={})=>{let n=o.MutationObserver||o.WebkitMutationObserver,s=new n(e=>{if(1===e.length){i("observerUpdate",e[0]);return}let t=function(){i("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(s)},a=()=>{if(e.params.observer){if(e.params.observeParents){let t=e.$el.parents();for(let n=0;n<t.length;n+=1)s(t[n])}s(e.$el[0],{childList:e.params.observeSlideChildren}),s(e.$wrapperEl[0],{attributes:!1})}},l=()=>
3{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",l)}]);var U=z;function F(e,t,n,i){let r=u();return e.params.createElements&&Object.keys(i).forEach(o=>{if(!n[o]&&!0===n.auto){let s=e.$el.children(`.${i[o]}`)[0];s||((s=r.createElement("div")).className=i[o],e.$el.append(s)),n[o]=s,t[o]=s}}),n}function j({swiper:e,extendParams:t,on:n,emit:i}){function r(t){let n;return t&&(n=m(t),e.params.uniqueNavElements&&"string"==typeof t&&n.length>1&&1===e.$el.find(t).length&&(n=e.$el.find(t))),n}function o(t,n){let i=e.params.navigation;t&&t.length>0&&(t[n?"addClass":"removeClass"](i.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=n),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](i.lockClass))}function s(){if(e.params.loop)return;let{$nextEl:t,$prevEl:n}=e.navigation;o(n,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function a(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function u(){let t=e.params.navigation;if(e.params.navigation=F(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(t.nextEl||t.prevEl))return;let n=r(t.nextEl),i=r(t.prevEl);n&&n.length>0&&n.on("click",l),i&&i.length>0&&i.on("click",a),Object.assign(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:i,prevEl:i&&i[0]}),!e.enabled&&(n&&n.addClass(t.lockClass),i&&i.addClass(t.lockClass))}function c(){let{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",a),n.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},n("init",()=>{!1===e.params.navigation.enabled?h():(u(),s())}),n("toEdge fromEdge lock unlock",()=>{s()}),n("destroy",()=>{c()}),n("enable disable",()=>{let{$nextEl:t,$prevEl:n}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),n&&n[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)}),n("click",(t,n)=>{let{$nextEl:r,$prevEl:o}=e.navigation,s=n.target;if(e.params.navigation.hideOnClick&&!m(s).is(o)&&!m(s).is(r)){let a;if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===s||e.pagination.el.contains(s)))return;r?a=r.hasClass(e.params.navigation.hiddenClass):o&&(a=o.hasClass(e.params.navigation.hiddenClass)),!0===a?i("navigationShow"):i("navigationHide"),r&&r.toggleClass(e.params.navigation.hiddenClass),o&&o.toggleClass(e.params.navigation.hiddenClass)}});let d=()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),u(),s()},h=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),c()};Object.assign(e.navigation,{enable:d,disable:h,update:s,init:u,destroy:c})}function G(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function H({swiper:e,extendParams:t,on:n,emit:i}){let r;let o="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let s=0;function a(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,n){let{bulletActiveClass:i}=e.params.pagination;t[n]().addClass(`${i}-${n}`)[n]().addClass(`${i}-${n}-${n}`)}function u(){let t;let n=e.rtl,o=e.params.pagination;if(a())return;let u=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el,d=e.params.loop?Math.
3ceil((u-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((t=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>u-1-2*e.loopedSlides&&(t-=u-2*e.loopedSlides),t>d-1&&(t-=d),t<0&&"bullets"!==e.params.paginationType&&(t=d+t)):t=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===o.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let h,p,f;let v=e.pagination.bullets;if(o.dynamicBullets&&(r=v.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",`${r*(o.dynamicMainBullets+4)}px`),o.dynamicMainBullets>1&&void 0!==e.previousIndex&&((s+=t-(e.previousIndex-e.loopedSlides||0))>o.dynamicMainBullets-1?s=o.dynamicMainBullets-1:s<0&&(s=0)),f=((p=(h=Math.max(t-s,0))+(Math.min(v.length,o.dynamicMainBullets)-1))+h)/2),v.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${o.bulletActiveClass}${e}`).join(" ")),c.length>1)v.each(e=>{let n=m(e),i=n.index();i===t&&n.addClass(o.bulletActiveClass),o.dynamicBullets&&(i>=h&&i<=p&&n.addClass(`${o.bulletActiveClass}-main`),i===h&&l(n,"prev"),i===p&&l(n,"next"))});else{let g=v.eq(t),b=g.index();if(g.addClass(o.bulletActiveClass),o.dynamicBullets){let w=v.eq(h),y=v.eq(p);for(let S=h;S<=p;S+=1)v.eq(S).addClass(`${o.bulletActiveClass}-main`);if(e.params.loop){if(b>=v.length){for(let _=o.dynamicMainBullets;_>=0;_-=1)v.eq(v.length-_).addClass(`${o.bulletActiveClass}-main`);v.eq(v.length-o.dynamicMainBullets-1).addClass(`${o.bulletActiveClass}-prev`)}else l(w,"prev"),l(y,"next")}else l(w,"prev"),l(y,"next")}}if(o.dynamicBullets){let T=Math.min(v.length,o.dynamicMainBullets+4);v.css(e.isHorizontal()?n?"right":"left":"top",`${(r*T-r)/2-f*r}px`)}}if("fraction"===o.type&&(c.find(G(o.currentClass)).text(o.formatFractionCurrent(t+1)),c.find(G(o.totalClass)).text(o.formatFractionTotal(d))),"progressbar"===o.type){let E;E=o.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let C=(t+1)/d,x=1,k=1;"horizontal"===E?x=C:k=C,c.find(G(o.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${x}) scaleY(${k})`).transition(e.params.speed)}"custom"===o.type&&o.renderCustom?(c.html(o.renderCustom(e,t+1,d)),i("paginationRender",c[0])):i("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](o.lockClass)}function c(){let t=e.params.pagination;if(a())return;let n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,o="";if("bullets"===t.type){let s=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&s>n&&(s=n);for(let l=0;l<s;l+=1)t.renderBullet?o+=t.renderBullet.call(e,l,t.bulletClass):o+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;r.html(o),e.pagination.bullets=r.find(G(t.bulletClass))}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,r.html(o)),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,r.html(o)),"custom"!==t.type&&i("paginationRender",e.pagination.$el[0])}function d(){e.params.pagination=F(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let t=e.params.pagination;if(!t.el)return;let n=m(t.el);0===n.length||(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el)).length>1&&(n=n.filter(t=>m(t).parents(".swiper")[0]===e.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),n.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),s=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",G(t.bulletClass),function(t){t.preventDefault();let n=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)}),Object.assign(e.pagination,{$el:n,el:n[0]}),e.enabled||n.addClass(t.lockClass))}function h(){let t=e.params.pagination;if(a())return;let n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),n.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",G(t.bulletClass))}n("init",()=>{!1===e.params.pagination.enabled?f():(d(),c(),u())}),n("activeIndexChange",()=>{e.params.loop?u():void 0===e.snapIndex&&u()}),n("snapIndexChange",()=>{e.params.loop||u()}),n("slidesLengthChange",()=>{e.params.loop&&(c(),u())}),n("snapGridLengthChange",()=>{e.params.loop||(c(),u())}),n("destroy",()=>{h()}),n("enable disable",()=>{let{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)}),n("lock unlock",()=>{u()}),n("click",(t,n)=>{let r=n.target,{$el:o}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&o&&o.length>0&&!m(r).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;let s=o.hasClass(e.params.pagination.hiddenClass);!0===s?i("paginationShow"):i("paginationHide"),o.toggleClass(e.params.pagination.hiddenClass)}});let p=()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),d(),c(),u()},f=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),h()};Object.assign(e.pagination,{enable:p,disable:f,render:c,update:u,init:d,destroy:h})}function q({swiper:e,extendParams:t,on:n,emit:i}){let r;
3function o(){if(!e.size){e.autoplay.running=!1,e.autoplay.paused=!1;return}let t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(r),r=w(()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),i("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?a():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),i("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),i("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),i("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?a():(t=e.slideTo(0,e.params.speed,!0,!0),i("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),i("autoplay")),e.params.cssMode&&e.autoplay.running?o():!1===t&&o()},n)}function s(){return void 0===r&&!e.autoplay.running&&(e.autoplay.running=!0,i("autoplayStart"),o(),!0)}function a(){return!!e.autoplay.running&&void 0!==r&&(r&&(clearTimeout(r),r=void 0),e.autoplay.running=!1,i("autoplayStop"),!0)}function l(t){e.autoplay.running&&(e.autoplay.paused||(r&&clearTimeout(r),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].addEventListener(t,d)}):(e.autoplay.paused=!1,o())))}function c(){let t=u();"hidden"===t.visibilityState&&e.autoplay.running&&l(),"visible"===t.visibilityState&&e.autoplay.paused&&(o(),e.autoplay.paused=!1)}function d(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].removeEventListener(t,d)}),e.autoplay.paused=!1,e.autoplay.running?o():a())}function h(){e.params.autoplay.disableOnInteraction?a():(i("autoplayPause"),l()),["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].removeEventListener(t,d)})}function p(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,i("autoplayResume"),o())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),n("init",()=>{if(e.params.autoplay.enabled){s();let t=u();t.addEventListener("visibilitychange",c),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",p))}}),n("beforeTransitionStart",(t,n,i)=>{e.autoplay.running&&(i||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(n):a())}),n("sliderFirstMove",()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?a():l())}),n("touchEnd",()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&o()}),n("destroy",()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",p),e.autoplay.running&&a();let t=u();t.removeEventListener("visibilitychange",c)}),Object.assign(e.autoplay,{pause:l,run:o,start:s,stop:a})}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(3886),t(7942)}),_N_E=e.O()}]);

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.