1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,423755,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});let r=(0,e.r(543369).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=r,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},974575,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getAssetPrefix",{enumerable:!0,get:function(){return i}});let r=e.r(312718);function i(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript to be a <script> element. Received ${e} instead.`),"__NEXT_ERROR_CODE",{value:"E783",enumerable:!1,configurable:!0});let{pathname:t}=new URL(e.src),n=t.indexOf("/_next/");if(-1===n)throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript src to contain '/_next/'. Received ${e.src} instead.`),"__NEXT_ERROR_CODE",{value:"E784",enumerable:!1,configurable:!0});return t.slice(0,n)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},922737,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"setAttributesFromProps",{enumerable:!0,get:function(){return a}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},i=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function s(e){return["async","defer","noModule"].includes(e)}function a(e,t){for(let[n,a]of Object.entries(t)){if(!t.hasOwnProperty(n)||i.includes(n)||void 0===a)continue;let o=r[n]||n.toLowerCase();"SCRIPT"===e.tagName&&s(o)?e[o]=!!a:e.setAttribute(o,String(a)),(!1===a||"SCRIPT"===e.tagName&&s(o)&&(!a||"false"===a))&&(e.setAttribute(o,""),e.removeAttribute(o))}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},396517,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"appBootstrap",{enumerable:!0,get:function(){return s}});let r=e.r(974575),i=e.r(922737);function s(e){var t,n;let s=(0,r.getAssetPrefix)();t=self.__next_s,n=()=>{e(s)},t&&t.length?t.reduce((e,[t,n])=>e.then(()=>new Promise((e,r)=>{let s=document.createElement("script");n&&(0,i.setAttributesFromProps)(s,n),t?(s.src=t,s.onload=()=>e(),s.onerror=r):n&&(s.innerHTML=n.children,setTimeout(e)),document.head.appendChild(s)})),Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}window.next={version:"16.2.9",appDir:!0},("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},816565,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getObjectClassLabel:function(){return s},isPlainObject:function(){return a}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});function s(e){return Object.prototype.toString.call(e)}function a(e){if("[object Object]"!==s(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},302023,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return a},getProperError:function(){return o}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let s=e.r(816565);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){let t;return a(e)?e:Object.defineProperty(Error((0,s.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n}
1)):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},528279,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},597238,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={isRecoverableError:function(){return c},onRecoverableError:function(){return d}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let s=e.r(555682),a=e.r(132061),o=s._(e.r(302023)),l=e.r(528279),u=new WeakSet;function c(e){return u.has(e)}let d=e=>{let t=(0,o.default)(e)&&"cause"in e?e.cause:e;(0,a.isBailoutToCSRError)(t)||(0,l.reportGlobalError)(t)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},471217,e=>{"use strict";e.i(247167);var t,n="u">typeof window?window:void 0,r="u">typeof globalThis?globalThis:n;"u"<typeof self&&(r.self=r),"u"<typeof File&&(r.File=function(){});var i=null==r?void 0:r.navigator,s=null==r?void 0:r.document,a=null==r?void 0:r.location,o=null==r?void 0:r.fetch,l=null!=r&&r.XMLHttpRequest&&"withCredentials"in new r.XMLHttpRequest?r.XMLHttpRequest:void 0,u=null==r?void 0:r.AbortController,c=null==r?void 0:r.CompressionStream,d=null==i?void 0:i.userAgent,f=null!=n?n:{},h="1.393.0",p={DEBUG:!1,LIB_VERSION:h,LIB_NAME:"web",JS_SDK_VERSION:h};function g(e,t,n,r,i,s,a){try{var o=e[s](a),l=o.value}catch(e){return void n(e)}o.done?t(l):Promise.resolve(l).then(r,i)}function v(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var s=e.apply(t,n);function a(e){g(s,r,i,a,o,"next",e)}function o(e){g(s,r,i,a,o,"throw",e)}a(void 0)})}}function m(){return(m=Object.assign.bind()).apply(null,arguments)}function _(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var y,b,w,S,k=((y={}).AnonymousId="anonymous_id",y.DistinctId="distinct_id",y.Props="props",y.EnablePersonProcessing="enable_person_processing",y.PersonMode="person_mode",y.FeatureFlagDetails="feature_flag_details",y.FeatureFlags="feature_flags",y.FeatureFlagPayloads="feature_flag_payloads",y.BootstrapFeatureFlagDetails="bootstrap_feature_flag_details",y.BootstrapFeatureFlags="bootstrap_feature_flags",y.BootstrapFeatureFlagPayloads="bootstrap_feature_flag_payloads",y.OverrideFeatureFlags="override_feature_flags",y.Queue="queue",y.LogsQueue="logs_queue",y.OptedOut="opted_out",y.SessionId="session_id",y.SessionStartTimestamp="session_start_timestamp",y.SessionLastTimestamp="session_timestamp",y.PersonProperties="person_properties",y.GroupProperties="group_properties",y.InstalledAppBuild="installed_app_build",y.InstalledAppVersion="installed_app_version",y.SessionReplay="session_replay",y.SurveyLastSeenDate="survey_last_seen_date",y.SurveysSeen="surveys_seen",y.Surveys="surveys",y.RemoteConfig="remote_config",y.FlagsEndpointWasHit="flags_endpoint_was_hit",y.DeviceId="device_id",y),x=((b={}).GZipJS="gzip-js",b.Base64="base64",b),E=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"],P=["token"],C="NativeGzipValidationError",T=e=>e.length>=2&&31===e[0]&&139===e[1],O=e=>!(!e||"object"!=typeof e)&&"NotReadableError"===("name"in e?String(e.name):""),N=e=>{var t=Error("Native gzip produced invalid output: "+e);throw t.name=C,t},F=(w=v(function*(e,t){18>e.size&&N("too-short");var n=new Uint8Array((yield e.slice(0,10).arrayBuffer()));T(n)&&8===n[2]||N("invalid-header");var r=new DataView((yield e.slice(e.size-8).arrayBuffer()));r.getUint32(0,!0)!==(e=>{for(var t=(()=>
1{if(S)return S;S=[];for(var e=0;256>e;e++){for(var t=e,n=0;8>n;n++)t=1&t?0xedb88320^t>>>1:t>>>1;S[e]=t>>>0}return S})(),n=0xffffffff,r=0;e.length>r;r++)n=t[255&(n^e[r])]^n>>>8;return(0xffffffff^n)>>>0})(t)&&N("invalid-crc");var i=t.length>>>0;r.getUint32(4,!0)!==i&&N("invalid-size")}),function(e,t){return w.apply(this,arguments)});function R(){return(R=v(function*(e,t,n){void 0===t&&(t=!0);try{var r,i=(new TextEncoder).encode(e),s=new CompressionStream("gzip"),a=s.writable.getWriter(),o=a.write(i).then(()=>a.close()).catch((r=v(function*(e){try{yield a.abort(e)}catch(e){}throw e}),function(e){return r.apply(this,arguments)})),l=new Response(s.readable).blob(),[u]=yield Promise.all([l,o]);return yield F(u,i),u}catch(e){if(null!=n&&n.rethrow)throw e;return t&&console.error("Failed to gzip compress data",e),null}})).apply(this,arguments)}var I=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],M=function(e,t){if(void 0===t&&(t=[]),!e)return!1;var n=e.toLowerCase();return I.concat(t).some(e=>{var t=e.toLowerCase();return -1!==n.indexOf(t)})};function L(e,t){return -1!==e.indexOf(t)}var A=function(e){return e.trim()},z=function(e){return e.replace(/^\$/,"")},D=Object.prototype,$=D.hasOwnProperty,j=D.toString,U=Array.isArray||function(e){return"[object Array]"===j.call(e)},H=e=>"function"==typeof e,B=e=>e===Object(e)&&!U(e),V=e=>{if(B(e)){for(var t in e)if($.call(e,t))return!1;return!0}return!1},q=e=>void 0===e,W=e=>"[object String]"==j.call(e),G=e=>W(e)&&0===e.trim().length,Q=e=>null===e,K=e=>q(e)||Q(e),X=e=>"[object Number]"==j.call(e)&&e==e,Y=e=>X(e)&&e>0,J=e=>"[object Boolean]"===j.call(e),Z=e=>L(E,e),ee=e=>L(P,e);function et(e){return null===e||"object"!=typeof e}function en(e,t){return({}).toString.call(e)==="[object "+t+"]"}function er(e){return"u">typeof Event&&function(e,t){try{return e instanceof t}catch(e){return!1}}(e,Event)}var ei=[!0,"true",1,"1","yes"],es=[!1,"false",0,"0","no"];function ea(e,t,n,r,i){return t>n&&(r.warn("min cannot be greater than max."),t=n),X(e)?e>n?(r.warn(" cannot be greater than max: "+n+". Using max value instead."),n):t>e?(r.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(r.warn(" must be a number. using max or fallback. max: "+n+", fallback: "+i),ea(i||n,t,n,r))}class eo{constructor(e){this.Ee={},this.Pe=e.Pe,this.Fe=ea(e.bucketSize,0,100,e.Ae),this.$e=ea(e.refillRate,0,this.Fe,e.Ae),this.De=ea(e.refillInterval,0,864e5,e.Ae)}Ne(e,t){var n=Math.floor((t-e.lastAccess)/this.De);n>0&&(e.tokens=Math.min(e.tokens+n*this.$e,this.Fe),e.lastAccess=e.lastAccess+n*this.De)}consumeRateLimit(e){var t,n=Date.now(),r=String(e),i=this.Ee[r];return i?this.Ne(i,n):this.Ee[r]=i={tokens:this.Fe,lastAccess:n},0===i.tokens||(i.tokens--,0===i.tokens&&(null==(t=this.Pe)||t.call(this,e)),0===i.tokens)}stop(){this.Ee={}}}var el="Mobile",eu="Android",ec="Tablet",ed=eu+" "+ec,ef="iPad",eh="Apple",ep=eh+" Watch",eg="Safari",ev="BlackBerry",em="Samsung",e_=em+"Browser",ey=em+" Internet",eb="Chrome",ew=eb+" OS",eS=eb+" iOS",ek="Internet Explorer",ex=ek+" "+el,eE="Opera",eP=eE+" Mini",eC="Edge",eT="Microsoft "+eC,eO="Firefox",eN=eO+" iOS",eF="Nintendo",eR="PlayStation",eI="Xbox",eM=eu+" "+el,eL=el+" "+eg,eA="Windows",ez=eA+" Phone",eD="Nokia",e$="Ouya",ej="Generic",eU=ej+" "+el.toLowerCase(),eH=ej+" "+ec.toLowerCase(),eB="Konqueror",eV="Oculus Browser",eq="Vivaldi",eW="Yandex",eG="Whale",eQ="DuckDuckGo",eK="Pale Moon",eX="Waterfox",eY="Brave",eJ="Google Search App",eZ="(\\d+(\\.\\d+)?)",e0=RegExp("Version/"+eZ),e1=RegExp(eI,"i"),e2=RegExp(eR+" \\w+","i"),e3=RegExp(eF+" \\w+","i"),e4=RegExp(ev+"|PlayBook|BB10","i"),e5={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},e6=function(e,t,n,r){var i;return t=t||"",(null!=n&&n.brave?eY:null)||(null!=r&&r.detectGoogleSearchApp&&L(e,"GSA/")?eJ:L(e," OPR/")&&L(e,"Mini")?eP:L(e," OPR/")?eE:e4.test(e)?ev:L(e,"IE"+el)||L(e,"WPDesktop")?ex:L(e,"OculusBrowser")?eV:L(e,e_)?ey:L(e,eC)||L(e,"Edg/")?eT:L(e,eq+"/")?eq:L(e,"YaBrowser/")?eW:L(e,eG+"/")?eG:L(e,eQ+"/")||L(e,"Ddg/")?eQ:L(e,"FBIOS")?"Facebook "+el:L(e,"UCWEB")||L(e,"UCBrowser")?"UC Browser":L(e,"CriOS")?eS:L(e,"CrMo")||L(e,eb)?eb:L(e,eu)&&L(e,eg)?eM:L(e,"FxiOS")?eN:L(e.toLowerCase(),eB.toLowerCase())?eB:L(e,eY+"/")?eY:(i=t)&&L(i,eh)||L(e,eg)&&!L(e,eb)&&!L(e,eu)?L(e,el)?eL:eg:L(e,"PaleMoon/")?eK:L(e,eX+"/")?eX:L(e,eO)?eO:L(e,"MSIE")||L(e,"Trident/")?ek:L(e,"Gecko")?eO:"")},e8={[ex]:[RegExp("rv:"+eZ)],[eT]:[RegExp(eC+"?\\/"+eZ)],[eb]:[RegExp("("+eb+"|CrMo)\\/"+eZ)],[eS]:[RegExp("CriOS\\/"+eZ)],"UC Browser":[RegExp("(UCBrowser|UCWEB)\\/"+eZ)],[eg]:[e0],[eL]:[e0],[eE]:[RegExp("(Opera|OPR)\\/"+eZ)],[eO]:[RegExp(eO+"\\/"+eZ)],[eN]:[RegExp("FxiOS\\/"+eZ)],[eB]:[RegExp("Konqueror[:/]?"+eZ,"i")],[ev]:[RegExp(ev+" "+eZ),e0],[eM]:[RegExp("android\\s"+eZ,"i")],[ey]:[RegExp(e_+"\\/"+eZ)],[eV]:[RegExp("OculusBrowser\\/"+eZ)],[eq]:[RegExp(eq+"\\/"+eZ)],[eW]:[RegExp("YaBrowser\\/"+eZ)],[eG]:[RegExp(eG+"\\/"+eZ)],[eY]:[RegExp(eY+"\\/"+eZ)],[eQ]:[RegExp("(DuckDuckGo|Ddg)\\/"+eZ)],[eK]:[RegExp("PaleMoon\\/"+eZ)],[eX]:[RegExp(eX+"\\/"+eZ)],[eJ]:[RegExp("GSA\\/"+eZ)],[ek]:[RegExp("(rv:|MSIE )"+eZ)],Mozilla:[RegExp("rv:"+eZ)]},e7=function(e,t,n,r){var i=e8[e6(e,t,n,r)];if(q(i))return null;for(var s=0;i.length>s;s++){var a=e.match(i[s]);if(a)return parseFloat(a[a.length-2])}return null},e9=[[RegExp(eI+"; "+eI+" (.*?)[);]","i"),e=>[eI,e&&e[1]||""]],[RegExp(eF,"i"),[eF,""]],[RegExp(eR,"i"),[eR,""]],[e4,[ev,""]],[RegExp(eA,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[ez,""];if(new RegExp(el).test(t)&&!/IEMobile\b/.test(t))return[eA+" "+el,""];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var r=e5[n[1]]||"";return/arm/i.test(t)&&(r="RT"),[eA,r]}return[eA,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?["iOS",[e[3],e[4],e[5]||"0"].join(".")]:["iOS",""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=q(e[2])?e[3]:e[2]),["watchOS",t]}],[RegExp("("+eu+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+eu+")","i"),e=>e&&e[2]?[eu,[e[2],e[3],e[4]||"0"].join(".")]:[eu,""]],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];return e&&e[1]&&(t[1]=[e[1],e[2],e[3]||"0"].join(".")),t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[ew,""]],[/Linux|debian/i,["Linux",""]]],te=function(e){return e3.test(e)?eF:e2.test(e)?eR:e1.test(e)?eI:RegExp(e$,"i").test(e)?e$:RegExp("("+ez+"|WPDesktop)","i").test(e)?ez:/iPad/.test(e)?ef:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?ep:e4.test(e)?ev:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":RegExp(eD,"i").test(e)?eD:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(el).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?eu:ed:RegExp("(pda|"+el+")","i").test(e)?eU:RegExp(ec,"i").test(e)&&!RegExp(ec+" pc","i").test(e)?eH:""},tt=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function tn(e,t){return"string"==typeof e&&tt.test(e)?e:t()}function tr(e){return e?e.split("#")[0]:e}function ti(e,t){var n=setTimeout(e,t);return(null==n?void 0:n.unref)&&(null==n||n.unref()),n}var ts=e=>e instanceof Error,ta={trace:{text:"TRACE",number:1},debug:{text:"DEBUG",number:5},info:{text:"INFO",number:9},warn:{text:"WARN",number:13},error:{text:"ERROR",number:17},fatal:{text:"FATAL",number:21}},to=ta.info;function tl(e){var t=[];for(var n in e){var r=e[n];Q(r)||q(r)||t.push({key:n,value:function e(t){if(J(t))return{boolValue:t};if("number"==typeof t)return Number.isFinite(t)?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:{stringValue:String(t)};if("string"==typeof t)return{stringValue:t};if(U(t))return{arrayValue:{values:t.map(t=>e(t))}};try{return{stringValue:JSON.stringify(t)}}catch(e){return{stringValue:String(t)}}}(r)})}return t}function tu(e,t,n){return m({},e.resourceAttributes,{"service.name":e.serviceName||"unknown_service"},e.environment&&{"deployment.environment":e.environment},e.serviceVersion&&{"service.version":e.serviceVersion},{"telemetry.sdk.name":t,"telemetry.sdk.version":n})}function tc(e,t,n,r){return{resourceLogs:[{resource:{attributes:tl(t)},scopeLogs:[{scope:{name:n,version:r},logRecords:e}]}]}}let td=class{constructor(e,t,n,r,i,s,a){var o;void 0===s&&(s=()=>Promise.resolve()),this._instance=e,this.Se=t,this.Ae=n,this.qe=r,this.je=i,this.Be=s,this.He=a,this.Ue=null,this.ze=0,this.Ve=0,this.We=0,this.Ge=0,this.Ze=!1,this.Qe=t.maxBufferSize,this.Je=Math.max(null!=(o=t.maxQueueSize)?o:t.maxBufferSize,t.maxBufferSize),this.Ye=t.flushIntervalMs,this.Ke=t.maxBatchRecordsPerPost,this.Xe=t.rateCapWindowMs,this.et=t.maxLogsPerInterval}reset(){this.tt(),this.Ue=null,this.We=0,this.Ge=0,this.Ze=!1,this.ze=0,this.Ve=0,this.Ke=this.Se.maxBatchRecordsPerPost}onReconnect(){this.Ve=0,this.rt()}captureLog(e){if(!this._instance.isDisabled&&!this._instance.optedOut&&null!=e&&e.body){var t=this.it(e);
1if(null!==t)if(t.body){if(this.nt()){var n={record:function(e,t){var{text:n,number:r}=ta[e.level||"info"]||to,i=String(Date.now())+"000000",s={};t.distinctId&&(s.posthogDistinctId=t.distinctId),t.sessionId&&(s.sessionId=t.sessionId),t.currentUrl&&(s["url.full"]=t.currentUrl),t.screenName&&(s["screen.name"]=t.screenName),t.appState&&(s["app.state"]=t.appState),t.activeFeatureFlags&&t.activeFeatureFlags.length>0&&(s.feature_flags=t.activeFeatureFlags);var a=m({},s,e.attributes||{}),o={timeUnixNano:i,observedTimeUnixNano:i,severityNumber:r,severityText:n,body:{stringValue:e.body},attributes:tl(a)};return e.trace_id&&(o.traceId=e.trace_id),e.span_id&&(o.spanId=e.span_id),q(e.trace_flags)||(o.flags=e.trace_flags),o}(t,this.qe())};this.je(()=>this.st(n))}}else this.Ae.info("Log was rejected in beforeSend function")}}it(e){var t=this.Se.beforeSend;if(!t)return e;var n=U(t)?t:[t],r=e;for(var i of n)try{var s=i(r);if(!s)return this.Ae.info("Log was rejected in beforeSend function"),null;r=s}catch(e){return this.Ae.error("Error in beforeSend function for log:",e),null}return r}nt(){if(void 0===this.et)return!0;var e=Date.now(),t=e-this.We;return this.Xe>t&&t>=0||(this.We=e,this.Ge=0,this.Ze=!1),this.et>this.Ge?(this.Ge++,!0):(this.Ze||(this.Ae.warn("captureLog dropping logs: exceeded "+this.et+" logs per "+this.Xe+"ms"),this.Ze=!0),!1)}flush(){var e=this;return v(function*(){if(!e._instance.isDisabled)return e.Ue||(e.Ue=e.ot().finally(()=>{e.Ue=null})),e.Ue})()}ot(){var e=this;return v(function*(){e.tt();var t=null!=(i=e._instance.getPersistedProperty(k.LogsQueue))?i:[];if(0!==t.length)for(var n=t.length,r=0;t.length>0&&n>r;){e.ze=0;var i,s,a,o=Math.min(t.length,e.Ke),l=t.slice(0,o),u=tc(l.map(e=>e.record),e.ut(),null!=(s=e.He)?s:e._instance.getLibraryId(),e._instance.getLibraryVersion()),c=yield e._instance.ht(u);if("too-large"===c.kind&&l.length>1)e.Ke=Math.max(1,Math.floor(l.length/2)),e.Ae.warn("Received 413 when sending logs batch of size "+l.length+", reducing batch size to "+e.Ke);else if("retry-later"===c.kind||("too-large"===c.kind?e.Ae.warn("Dropping a single log record after 413 with batch size 1 â the record is larger than the server cap and cannot be split further."):"ok"===c.kind&&e.Se.maxBatchRecordsPerPost>e.Ke&&(e.Ke=Math.min(e.Se.maxBatchRecordsPerPost,e.Ke+1)),yield e.dt(l.length),t=null!=(a=e._instance.getPersistedProperty(k.LogsQueue))?a:[],r+=l.length,"fatal"===c.kind))throw c.error}})()}dt(e){var t=this;return v(function*(){var n,r=Math.max(0,e-t.ze),i=null!=(n=t._instance.getPersistedProperty(k.LogsQueue))?n:[];t._instance.setPersistedProperty(k.LogsQueue,i.slice(r)),yield t.Be()})()}ut(){return tu(this.Se,this._instance.getLibraryId(),this._instance.getLibraryVersion())}st(e){var t;if(!this._instance.optedOut){var n=null!=(t=this._instance.getPersistedProperty(k.LogsQueue))?t:[];this.Je>n.length||(n.shift(),this.ze++,this.Ae.info("Logs queue is full, dropping oldest record.")),n.push(e),this._instance.setPersistedProperty(k.LogsQueue,n),this.Qe>n.length?this.ct():this.rt()}}ct(e){void 0===e&&(e=this.Ye),this.vt||(this.vt=ti(()=>{this.vt=void 0,this.rt()},e))}ft(){var e=Math.min(Math.max(0,this.Ve-1),6);return this.Ye*Math.pow(2,e)}yt(){var e=this._instance.getPersistedProperty(k.LogsQueue);return!!e&&e.length>0}shutdown(e){var t=this;return v(function*(){t.tt();var n=t.flush().catch(()=>{});void 0!==e?yield Promise.race([n,new Promise(t=>ti(t,e))]):yield n})()}flushWithTimeout(e){var t=this;return v(function*(){var n=!1,r=t.flush(),i=new Promise(t=>ti(()=>{n=!0,t()},e));try{yield Promise.race([r,i])}finally{n&&r.catch(()=>{})}})()}rt(){this.flush().then(()=>{this.Ve=0},e=>{this.Ve++,this.Ae.error("PostHog logs flush failed:",e)}).finally(()=>{!this._instance.isDisabled&&this.yt()&&this.ct(this.ft())})}tt(){this.vt&&(clearTimeout(this.vt),this.vt=void 0)}};class tf{constructor(e,t,n){void 0===n&&(n=[]),this.coercers=e,this.stackParser=t,this.modifiers=n}buildFromUnknown(e,t){void 0===t&&(t={});var n=t&&t.mechanism||{handled:!0,type:"generic"},r=this.buildCoercingContext(n,t,0).apply(e),i=this.buildParsingContext(t),s=this.parseStacktrace(r,i);return{$exception_list:this.convertToExceptionList(s,n),$exception_level:"error"}}modifyFrames(e){var t=this;return v(function*(){for(var n of e)n.stacktrace&&n.stacktrace.frames&&U(n.stacktrace.frames)&&(n.stacktrace.frames=yield t.applyModifiers(n.stacktrace.frames));return e})()}coerceFallback(e){var t;return{type:"Error",value:"Unknown error",stack:null==(t=e.syntheticException)?void 0:t.stack,synthetic:!0}}parseStacktrace(e,t){var n,r;return null!=e.cause&&(n=this.parseStacktrace(e.cause,t)),""!=e.stack&&null!=e.stack&&(r=this.applyChunkIds(this.stackParser(e.stack,e.synthetic?t.ski
vendor: 4,345 bytes, line 1
1pFirstLines:0),t.chunkIdMap)),m({},e,{cause:n,stack:r})}applyChunkIds(e,t){return e.map(e=>(e.filename&&t&&(e.chunk_id=t[e.filename]),e))}applyCoercers(e,t){for(var n of this.coercers)if(n.match(e))return n.coerce(e,t);return this.coerceFallback(t)}applyModifiers(e){var t=this;return v(function*(){var n=e;for(var r of t.modifiers)n=yield r(n);return n})()}convertToExceptionList(e,t){var n,r,i,s={type:e.type,value:e.value,mechanism:{type:null!=(n=t.type)?n:"generic",handled:null==(r=t.handled)||r,synthetic:null!=(i=e.synthetic)&&i}};e.stack&&(s.stacktrace={type:"raw",frames:e.stack});var a=[s];return null!=e.cause&&a.push(...this.convertToExceptionList(e.cause,m({},t,{handled:!0}))),a}buildParsingContext(e){var t;return{chunkIdMap:function(e){var t=globalThis._posthogChunkIds;if(t){var n=Object.keys(t);return n4&&n.length===n3||(n3=n.length,n4=n.reduce((n,r)=>{n2||(n2={});var i=n2[r];if(i)n[i[0]]=i[1];else for(var s=e(r),a=s.length-1;a>=0;a--){var o=s[a],l=null==o?void 0:o.filename,u=t[r];if(l&&u){n[l]=u,n2[r]=[l,u];break}}return n},{})),n4}}(this.stackParser),skipFirstLines:null!=(t=e.skipFirstLines)?t:1}}buildCoercingContext(e,t,n){void 0===n&&(n=0);var r=(n,r)=>{if(4>=r){var i=this.buildCoercingContext(e,t,r);return this.applyCoercers(n,i)}};return m({},t,{syntheticException:0==n?t.syntheticException:void 0,mechanism:e,apply:e=>r(e,n),next:e=>r(e,n+1)})}}function th(e,t,n,r,i){var s={platform:e,filename:t,function:"<anonymous>"===n?"?":n,in_app:!0};return q(r)||(s.lineno=r),q(i)||(s.colno=i),s}var tp=(e,t)=>{var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},tg=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tv=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tm=/\((\S*)(?::(\d+))(?::(\d+))\)/,t_=(e,t)=>{var n=tg.exec(e);if(n){var[,r,i,s]=n;return th(t,r,"?",+i,+s)}var a=tv.exec(e);if(a){if(a[2]&&0===a[2].indexOf("eval")){var o=tm.exec(a[2]);o&&(a[2]=o[1],a[3]=o[2],a[4]=o[3])}var[l,u]=tp(a[1]||"?",a[2]);return th(t,u,l,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}},ty=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tb=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tw=(e,t)=>{var n=ty.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=tb.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var i=n[3],s=n[1]||"?";return[s,i]=tp(s,i),th(t,i,s,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}},tS=/\(error: (.*)\)/;class tk{match(e){return this.isDOMException(e)||this.isDOMError(e)}coerce(e,t){var n=W(e.stack);return{type:this.getType(e),value:this.getValue(e),stack:n?e.stack:void 0,cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return this.isDOMError(e)?"DOMError":"DOMException"}getValue(e){var t=e.name||(this.isDOMError(e)?"DOMError":"DOMException");return e.message?t+": "+e.message:t}isDOMException(e){return en(e,"DOMException")}isDOMError(e){return en(e,"DOMError")}}class tx{match(e){return e instanceof Error}coerce(e,t){return{type:this.getType(e),value:this.getMessage(e,t),stack:this.getStack(e),cause:e.cause?t.next(e.cause):void 0,synthetic:!1}}getType(e){return e.name||e.constructor.name}getMessage(e,t){var n=e.message;return String(n.error&&"string"==typeof n.error.message?n.error.message:n)}getStack(e){return e.stacktrace||e.stack||void 0}}class tE{match(e){return en(e,"ErrorEvent")&&null!=e.error}coerce(e,t){var n;return t.apply(e.error)||{type:"ErrorEvent",value:e.message,stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}}}var tP=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class tC{match(e){return"string"==typeof e}coerce(e,t){var n,[r,i]=this.getInfos(e);return{type:null!=r?r:"Error",value:null!=i?i:e,stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}}getInfos(e){var t="Error",n=e,r=e.match(tP);return r&&(t=r[1],n=r[2]),[t,n]}}var tT=["fatal","error","warning","log","info","debug"];function tO(e,t){void 0===t&&(t=40);var n=Object.keys(e);if(n.sort(),!n.length)return"[object has no keys]";for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");
1if(t>=i.length)return r===n.length?i:i.length>t?i.slice(0,t)+"...":i}return""}class tN{match(e){return"object"==typeof e&&null!==e}coerce(e,t){var n,r=this.getErrorPropertyFromObject(e);return r?t.apply(r):{type:this.getType(e),value:this.getValue(e),stack:null==(n=t.syntheticException)?void 0:n.stack,level:this.isSeverityLevel(e.level)?e.level:"error",synthetic:!0}}getType(e){return er(e)?e.constructor.name:"Error"}getValue(e){if("name"in e&&"string"==typeof e.name){var t="'"+e.name+"' captured as exception";return"message"in e&&"string"==typeof e.message&&(t+=" with message: '"+e.message+"'"),t}if("message"in e&&"string"==typeof e.message)return e.message;var n=this.getObjectClassName(e);return(n&&"Object"!==n?"'"+n+"'":"Object")+" captured as exception with keys: "+tO(e)}isSeverityLevel(e){return W(e)&&!G(e)&&tT.indexOf(e)>=0}getErrorPropertyFromObject(e){for(var t in e)if(({}).hasOwnProperty.call(e,t)){var n=e[t];if(ts(n))return n}}getObjectClassName(e){try{var t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){return}}}class tF{match(e){return er(e)}coerce(e,t){var n,r=e.constructor.name;return{type:r,value:r+" captured as exception with keys: "+tO(e),stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}}}class tR{match(e){return et(e)}coerce(e,t){var n;return{type:"Error",value:"Primitive value captured as exception: "+String(e),stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}}}class tI{match(e){return en(e,"PromiseRejectionEvent")||this.isCustomEventWrappingRejection(e)}isCustomEventWrappingRejection(e){if(!er(e))return!1;try{var t=e.detail;return null!=t&&"object"==typeof t&&"reason"in t}catch(e){return!1}}coerce(e,t){var n,r=this.getUnhandledRejectionReason(e);return et(r)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(r),stack:null==(n=t.syntheticException)?void 0:n.stack,synthetic:!0}:t.apply(r)}getUnhandledRejectionReason(e){try{if("reason"in e)return e.reason;if("detail"in e&&null!=e.detail&&"object"==typeof e.detail&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}}var tM="$message",tL="$timestamp",tA=new Set([tM,tL]),tz={enabled:!0,max_bytes:32768};function tD(e){var t;return e?{enabled:null!=(t=e.enabled)?t:tz.enabled,max_bytes:function(e,t){if(!X(e)||e===1/0||e===-1/0)return t;var n=Math.floor(e);return 0>n?t:n}(e.max_bytes,tz.max_bytes)}:m({},tz)}class t${constructor(e){this.bt=[],this._t=0,this.Se=tD(e)}setConfig(e){this.Se=tD(e),this.wt()}add(e){var t=function(e){var t=function(e){var t=new WeakSet;try{return JSON.stringify(e,(e,n)=>{if("bigint"==typeof n)return n.toString();if("function"!=typeof n&&"symbol"!=typeof n){if(n instanceof Date)return n.toISOString();if(n instanceof Error)return{name:n.name,message:n.message,stack:n.stack};if(n&&"object"==typeof n){if(t.has(n))return"[Circular]";t.add(n)}return n}})}catch(e){return}}(e);if(t)try{var n=JSON.parse(t);if(!B(n))return;var r=n[tM],i=n[tL];if(!W(r)||0===r.trim().length||!W(i)&&!X(i))return;return{step:n,json:t}}catch(e){return}}(e);if(t){var n=function(e){if("u">typeof TextEncoder)return(new TextEncoder).encode(e).length;for(var t=encodeURIComponent(e),n=0,r=0;t.length>r;r++)"%"===t[r]?(n+=1,r+=2):n+=1;return n}(t.json);n>this.Se.max_bytes||(this.bt.push({step:t.step,bytes:n}),this._t+=n,this.wt())}}getAttachable(){return this.bt.map(e=>e.step)}clear(){this.bt=[],this._t=0}size(){return this.bt.length}wt(){for(;this._t>this.Se.max_bytes&&this.bt.length>0;){var e=this.bt.shift();e&&(this._t-=e.bytes)}}}var tj=function(e,t){var{debugEnabled:r}=void 0===t?{}:t,i={k(t){if(n&&(p.DEBUG||f.POSTHOG_DEBUG||r)&&!q(n.console)&&n.console){for(var i=("__rrweb_original__"in n.console[t])?n.console[t].__rrweb_original__:n.console[t],s=arguments.length,a=Array(s>1?s-1:0),o=1;s>o;o++)a[o-1]=arguments[o];i(e,...a)}},debug(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];i.k("debug",...t)},info(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];i.k("log",...t)},warn(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];i.k("warn",...t)},error(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];i.k("error",...t)},critical(){for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];console.error(e,...n)},uninitializedWarning(e){i.error("You must initialize PostHog before calling "+e)},createLogger:(t,n)=>tj(e+" "+t,n)};return i},tU=tj("[PostHog.js]"),tH=tU.createLogger,tB=tH("[ExternalScriptsLoader]"),tV=(e,t,n)=>{if(e.config.disable_external_dependency_loading)return tB.warn(t+" was requested but loading of external scripts is disabled."),n("Loading of external scripts is disabled");var r=null==s?void 0:s.querySelectorAll("script");
1if(r){for(var i,a=0;r.length>a;a++)if(i=function(){if(r[a].src===t){var e=r[a];return e.__posthog_loading_callback_fired?{v:n()}:(e.addEventListener("load",t=>{e.__posthog_loading_callback_fired=!0,n(void 0,t)}),e.onerror=e=>n(e),{v:void 0})}}())return i.v}var o=()=>{if(!s)return n("document not found");var r=s.createElement("script");if(r.type="text/javascript",r.crossOrigin="anonymous",r.src=t,r.onload=e=>{r.__posthog_loading_callback_fired=!0,n(void 0,e)},r.onerror=e=>n(e),e.config.prepare_external_dependency_script&&(r=e.config.prepare_external_dependency_script(r)),!r)return n("prepare_external_dependency_script returned null");if("head"===e.config.external_scripts_inject_target)s.head.appendChild(r);else{var i,a=s.querySelectorAll("body > script");a.length>0?null==(i=a[0].parentNode)||i.insertBefore(r,a[0]):s.body.appendChild(r)}};null!=s&&s.body?o():null==s||s.addEventListener("DOMContentLoaded",o)};f.__PosthogExtensions__=f.__PosthogExtensions__||{},f.__PosthogExtensions__.loadExternalDependency=(e,t,n)=>{if("remote-config"!==t){var r;if(e.config.strict_script_versioning)r=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var i="/static/"+t+".js?v="+e.version;"toolbar"===t&&(i=i+"&t="+3e5*Math.floor(Date.now()/3e5)),r=e.requestRouter.endpointFor("assets",i)}tV(e,r,n)}else{var s=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");tV(e,s,n)}},f.__PosthogExtensions__.loadSiteApp=(e,t,n)=>{var r=e.requestRouter.endpointFor("api",t);tV(e,r,n)};var tq="$people_distinct_id",tW="$device_id",tG="__alias",tQ="__timers",tK="$autocapture_disabled_server_side",tX="$heatmaps_enabled_server_side",tY="$exception_capture_enabled_server_side",tJ="$error_tracking_suppression_rules",tZ="$error_tracking_capture_extension_exceptions",t0="$web_vitals_enabled_server_side",t1="$dead_clicks_enabled_server_side",t2="$product_tours_enabled_server_side",t3="$web_vitals_allowed_metrics",t4="$session_recording_remote_config",t5="$replay_sample_rate",t6="$replay_override_sampling",t8="$replay_override_linked_flag",t7="$replay_override_url_trigger",t9="$replay_override_event_trigger",ne="$sesid",nt="$session_is_sampled",nn="$enabled_feature_flags",nr="$active_feature_flags",ni="$early_access_features",ns="$feature_flag_details",na="$feature_flag_payloads",no="$feature_flag_request_id",nl="$override_feature_flags",nu="$override_feature_flag_payloads",nc="$stored_person_properties",nd="$stored_group_properties",nf="$surveys",nh="$surveys_loaded_at",np="$surveys_activated",ng="ph_product_tours",nv="$flag_call_reported",nm="$flag_call_reported_session_id",n_="$feature_flag_errors",ny="$feature_flag_evaluated_at",nb="$user_state",nw="$client_session_props",nS="$capture_rate_limit",nk="$initial_campaign_params",nx="$initial_referrer_info",nE="$initial_person_info",nP="$epp",nC="__POSTHOG_TOOLBAR__",nT="$posthog_cookieless",nO="$sdk_debug_extensions_init_method",nN="$sdk_debug_extensions_init_time_ms",nF="$sdk_debug_recording_script_not_loaded",nR="PostHog loadExternalDependency extension not found.",nI="on_reject",nM="always",nL="anonymous",nA="identified",nz="identified_only",nD="visibilitychange",n$="beforeunload",nj="$pageview",nU="$pageleave",nH="$identify",nB="$groupidentify";function nV(e,t){U(e)&&e.forEach(t)}function nq(e,t){if(!K(e))if(U(e))e.forEach(t);else if(e instanceof FormData)e.forEach((e,n)=>t(e,n));else for(var n in e)$.call(e,n)&&t(e[n],n)}var nW=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];for(var i of n)for(var s in i)void 0!==i[s]&&(e[s]=i[s]);return e};function nG(e){for(var t=Object.keys(e),n=t.length,r=Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}var nQ=function(e){try{return e()}catch(e){return}},nK=function(e){return function(){try{for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.apply(this,n)}catch(e){tU.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),tU.critical(e)}}},nX=function(e){var t={};return nq(e,function(e,n){(W(e)&&e.length>0||X(e))&&(t[n]=e)}),t},nY=["herokuapp.com","vercel.app","netlify.app"];function nJ(e,t,n,r){var{capture:i=!1,passive:s=!0}=null!=r?r:{};null==e||e.addEventListener(t,n,{capture:i,passive:s})}function nZ(e){return"ph_toolbar_internal"===e.name}Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return X(e)&&isFinite(e)&&Math.floor(e)===e});
1class n0{constructor(e){if(this.bytes=e,16!==e.length)throw TypeError("not 128-bit length")}static fromFieldsV7(e,t,n,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||0>e||0>t||0>n||0>r||e>0xffffffffffff||t>4095||n>0x3fffffff||r>0xffffffff)throw RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=e/0x10000000000,i[1]=e/0x100000000,i[2]=e/0x1000000,i[3]=e/65536,i[4]=e/256,i[5]=e,i[6]=112|t>>>8,i[7]=t,i[8]=128|n>>>24,i[9]=n>>>16,i[10]=n>>>8,i[11]=n,i[12]=r>>>24,i[13]=r>>>16,i[14]=r>>>8,i[15]=r,new n0(i)}toString(){for(var e="",t=0;this.bytes.length>t;t++)e=e+(this.bytes[t]>>>4).toString(16)+(15&this.bytes[t]).toString(16),3!==t&&5!==t&&7!==t&&9!==t||(e+="-");if(36!==e.length)throw Error("Invalid UUIDv7 was generated");return e}clone(){return new n0(this.bytes.slice(0))}equals(e){return 0===this.compareTo(e)}compareTo(e){for(var t=0;16>t;t++){var n=this.bytes[t]-e.bytes[t];if(0!==n)return Math.sign(n)}return 0}}class n1{constructor(){this.S=0,this.C=0,this.I=new n8}generate(){var e=this.generateOrAbort();if(q(e)){this.S=0;var t=this.generateOrAbort();if(q(t))throw Error("Could not generate UUID after timestamp reset");return t}return e}generateOrAbort(){var e=Date.now();if(e>this.S)this.S=e,this.M();else{if(this.S>=e+1e4)return;this.C++,this.C>0x3ffffffffff&&(this.S++,this.M())}return n0.fromFieldsV7(this.S,Math.trunc(this.C/0x40000000),0x3fffffff&this.C,this.I.nextUint32())}M(){this.C=1024*this.I.nextUint32()+(1023&this.I.nextUint32())}}var n2,n3,n4,n5,n6=e=>{if("u">typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw Error("no cryptographically strong RNG available");for(var t=0;e.length>t;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};n&&!q(n.crypto)&&crypto.getRandomValues&&(n6=e=>crypto.getRandomValues(e));class n8{constructor(){this.R=new Uint32Array(8),this.O=1/0}nextUint32(){return this.R.length>this.O||(n6(this.R),this.O=0),this.R[this.O++]}}var n7=()=>n9().toString(),n9=()=>(n5||(n5=new n1)).generate(),re="",rt=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,rn={N:()=>!!s,D(e){tU.error("cookieStore error: "+e)},A(e){if(s){try{for(var t=e+"=",n=s.cookie.split(";").filter(e=>e.length),r=0;n.length>r;r++){for(var i=n[r];" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}}catch(e){}return null}},F(e){var t;try{t=JSON.parse(rn.A(e))||{}}catch(e){}return t},q(e,t,n,r,i){if(!s)return!1;try{var a="",o="",l=function(e,t){if(t){var n=function(e,t){if(void 0===t&&(t=s),re)return re;if(!t||["localhost","127.0.0.1"].includes(e))return"";for(var n=e.split("."),r=Math.min(n.length,8),i="dmn_chk_"+n7();!re&&r--;){var a=n.slice(r).join("."),o=i+"=1;domain=."+a+";path=/";t.cookie=o+";max-age=3",t.cookie.includes(i)&&(t.cookie=o+";max-age=0",re=a)}return re}(e);if(!n){var r,i=(r=e.match(rt))?r[0]:"";i!==n&&tU.info("Warning: cookie subdomain discovery mismatch",i,n),n=i}return n?"; domain=."+n:""}return""}(s.location.hostname,r);if(n){var u=new Date;u.setTime(u.getTime()+864e5*n),a="; expires="+u.toUTCString()}i&&(o="; secure");var c=e+"="+encodeURIComponent(JSON.stringify(t))+a+"; SameSite=Lax; path=/"+l+o;return c.length>3686.4&&tU.warn("cookieStore warning: large cookie, len="+c.length),s.cookie=c,!0}catch(e){return!1}},P(e,t){if(null!=s&&s.cookie)try{rn.q(e,"",-1,t)}catch(e){return}}},rr=null,ri={N(){if(!Q(rr))return rr;var e=!0;if(q(n))e=!1;else try{var t="__mplssupport__";ri.q(t,"xyz"),'"xyz"'!==ri.A(t)&&(e=!1),ri.P(t)}catch(t){e=!1}return e||tU.error("localStorage unsupported; falling back to cookie store"),rr=e,e},D(e){tU.error("localStorage error: "+e)},A(e){try{return null==n?void 0:n.localStorage.getItem(e)}catch(e){ri.D(e)}return null},F(e){try{return JSON.parse(ri.A(e))||{}}catch(e){}return null},q(e,t){try{return null==n||n.localStorage.setItem(e,JSON.stringify(t)),!0}catch(e){ri.D(e)}return!1},P(e){try{null==n||n.localStorage.removeItem(e)}catch(e){ri.D(e)}}},rs=[tW,"distinct_id",ne,nt,nP,nE,nb],ra={},ro={N:()=>!0,D(e){tU.error("memoryStorage error: "+e)},A:e=>ra[e]||null,F:e=>ra[e]||null,q:(e,t)=>
1(ra[e]=t,!0),P(e){delete ra[e]}},rl=null,ru={N(){if(!Q(rl))return rl;if(rl=!0,q(n))rl=!1;else try{var e="__support__";ru.q(e,"xyz"),'"xyz"'!==ru.A(e)&&(rl=!1),ru.P(e)}catch(e){rl=!1}return rl},D(e){tU.error("sessionStorage error: ",e)},A(e){try{return null==n?void 0:n.sessionStorage.getItem(e)}catch(e){ru.D(e)}return null},F(e){try{return JSON.parse(ru.A(e))||null}catch(e){}return null},q(e,t){try{return null==n||n.sessionStorage.setItem(e,JSON.stringify(t)),!0}catch(e){ru.D(e)}return!1},P(e){try{null==n||n.sessionStorage.removeItem(e)}catch(e){ru.D(e)}}};class rc{constructor(e){this._instance=e}get Se(){return this._instance.config}get consent(){return this.kt()?0:this.St}isOptedOut(){return this.Se.cookieless_mode===nM||this.isRejected()||-1===this.consent&&this.Se.cookieless_mode===nI}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return 0===this.consent}isRejected(){return 0===this.consent||-1===this.consent&&this.Se.opt_out_capturing_by_default}optInOut(e){this.Ct.q(this.It,+!!e,this.Se.cookie_expiration,this.Se.cross_subdomain_cookie,this.Se.secure_cookie)}reset(){this.Ct.P(this.It,this.Se.cross_subdomain_cookie)}get It(){var{token:e,opt_out_capturing_cookie_prefix:t,consent_persistence_name:n}=this._instance.config;return n||(t?t+e:"__ph_opt_in_out_"+e)}get St(){var e=this.Ct.A(this.It);return L(ei,e)?1:L(es,e)?0:-1}get Ct(){var e=this.Se.opt_out_capturing_persistence_type,t="localStorage"===e?ri:rn;if(!this.Tt||this.Tt!==t){this.Tt=t;var n="localStorage"===e?rn:ri;n.A(this.It)&&(this.Tt.A(this.It)||this.optInOut(L(ei,n.A(this.It))),n.P(this.It,this.Se.cross_subdomain_cookie))}return this.Tt}kt(){return!!this.Se.respect_dnt&&[null==i?void 0:i.doNotTrack,null==i?void 0:i.msDoNotTrack,f.doNotTrack].some(e=>L(ei,e))}}function rd(e){return e instanceof Element&&(e.id===nC||!(null==e.closest||!e.closest(".toolbar-global-fade-container")))}function rf(e){return!!e&&1===e.nodeType}function rh(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function rp(e){return!!e&&3===e.nodeType}function rg(e){return!!e&&11===e.nodeType&&rf(e.host)}function rv(e){return e?A(e).split(/\s+/):[]}function rm(e){var t=null==n?void 0:n.location.href;return!!(t&&e&&e.some(e=>t.match(e)))}function r_(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return rv(t)}function ry(e){return K(e)?null:A(e).split(/(\s+)/).filter(e=>rH(e)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function rb(e){var t="";return rM(e)&&!rL(e)&&e.childNodes&&e.childNodes.length&&nq(e.childNodes,function(e){var n;rp(e)&&e.textContent&&(t+=null!=(n=ry(e.textContent))?n:"")}),A(t)}function rw(e){var t;return q(e.target)?e.srcElement||null:null!=(t=e.target)&&t.shadowRoot?e.composedPath()[0]||null:e.target||null}var rS=["a","button","form","input","select","textarea","label"];function rk(e,t){if(q(t))return!0;var n,r=function(e){if(t.some(t=>(function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector;try{return!!n&&n.call(e,t)}catch(e){return!1}})(e,t)))return{v:!0}};for(var i of e)if(n=r(i))return n.v;return!1}function rx(e){var t=e.parentNode;return!(!t||!rf(t))&&t}var rE=[".ph-no-autocapture","[data-ph-no-autocapture]"],rP=["next","previous","prev",">","<"],rC=[...rP,"+","-","â","â"],rT=(e,t)=>/[a-z0-9]/i.test(t)?e.includes(t):e===t,rO=[".ph-no-rageclick",".ph-no-capture"],rN=["","text","search","email","password","url","tel","number"];function rF(e,t){if(!n||rR(e)||(J(t)?(i=!!t&&rO,s=void 0,a=!1):(i=null!=(o=null==t?void 0:t.css_selector_ignorelist)?o:rO,s=null==t?void 0:t.content_ignorelist,a=null!=(l=null==t?void 0:t.ignore_text_selection)&&l),!1===i)||a&&!(!(r=e)||!rf(r))&&(rh(r,"textarea")||(rh(r,"input")?L(rN,(r.getAttribute("type")||"").toLowerCase()):function(e){if(e.isContentEditable)return!0;var t=null==e.getAttribute?void 0:e.getAttribute("contenteditable");return"true"===t||""===t}(r))))return!1;var r,i,s,a,o,l,{targetElementList:u}=rI(e,!1);return!function(e,t){var n;if(!1===e||q(e))return!1;if(!0===e)n=rP;else{if(!U(e))return!1;if(e.length>10)return tU.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;n=e.map(e=>e.toLowerCase())}return t.some(e=>{var{safeText:t,ariaLabel:r}=e;return n.some(e=>rT(t,e)||rT(r,e))})}(s,u.map(e=>{var t;return{safeText:rb(e).toLowerCase(),ariaLabel:(null==(t=e.getAttribute("aria-label"))?void 0:t.toLowerCase().trim())||""}}))&&!rk(u,i)}var rR=e=>!e||rh(e,"html")||!rf(e),rI=(e,t)=>{if(!n||rR(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var r=!1,i=[e],s=e;s.parentNode&&!rh(s,"body");)if(rg(s.parentNode))i.push(s.parentNode.host),s=s.parentNode.host;else{var a=rx(s);if(!a)break;if(t||rS.indexOf(a.tagName.toLowerCase())>-1)r=!0;else{var o=n.getComputedStyle(a);o&&"pointer"===o.getPropertyValue("cursor")&&(r=!0)}i.push(a),s=a}return{parentIsUsefulElement:r,targetElementList:i}};function rM(e){for(var t=e;t.parentNode&&!rh(t,"body");t=t.parentNode){var n=r_(t);if(L(n,"ph-sensitive")||L(n,"ph-no-capture"))return!1}if(L(r_(e),"ph-include"))return!0;var r=e.type||"";if(W(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}
1var i=e.name||e.id||"";return!W(i)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,""))}function rL(e){return!!(rh(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||rh(e,"select")||rh(e,"textarea")||"true"===e.getAttribute("contenteditable"))}var rA="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",rz=RegExp("^(?:"+rA+")$"),rD=new RegExp(rA),r$="\\d{3}-?\\d{2}-?\\d{4}",rj=RegExp("^("+r$+")$"),rU=RegExp("("+r$+")");function rH(e,t){return void 0===t&&(t=!0),!(K(e)||W(e)&&(e=A(e),(t?rz:rD).test((e||"").replace(/[- ]/g,""))||(t?rj:rU).test(e)))&&!0}function rB(e){var t=rb(e);return rH(t=(t+" "+function e(t){var n="";return t&&t.childNodes&&t.childNodes.length&&nq(t.childNodes,function(t){var r;if(t&&"span"===(null==(r=t.tagName)?void 0:r.toLowerCase()))try{var i=rb(t);n=(n+" "+i).trim(),t.childNodes&&t.childNodes.length&&(n=(n+" "+e(t)).trim())}catch(e){tU.error("[AutoCapture]",e)}}),n}(e)).trim())?t:""}function rV(e){return e.replace(/"|\\"/g,'\\"')}var rq=tH("[Dead Clicks]"),rW=()=>!0,rG=e=>{var t,n=!(null==(t=e.instance.persistence)||!t.get_property(t1)),r=e.instance.config.capture_dead_clicks;return J(r)?r:!!B(r)||n};class rQ{get lazyLoadedDeadClicksAutocapture(){return this.Et}constructor(e,t,n){this.instance=e,this.isEnabled=t,this.onCapture=n,this.startIfEnabledOrStop()}onRemoteConfig(e){"captureDeadClicks"in e&&(this.instance.persistence&&this.instance.persistence.register({[t1]:e.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.Mt(()=>{this.Pt()}):this.stop()}Mt(e){var t,n;null!=(t=f.__PosthogExtensions__)&&t.initDeadClicksAutocapture?e():null==(n=f.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this.instance,"dead-clicks-autocapture",t=>{t?rq.error("failed to load script",t):e()})}Pt(){var e;if(s){if(!this.Et&&null!=(e=f.__PosthogExtensions__)&&e.initDeadClicksAutocapture){var t=B(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};t.__onCapture=this.onCapture,this.Et=f.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,t),this.Et.start(s),rq.info("starting...")}}else rq.error("`document` not found. Cannot start.")}stop(){this.Et&&(this.Et.stop(),this.Et=void 0,rq.info("stopping..."))}}var rK=tH("[SegmentIntegration]"),rX="posthog-js";function rY(e,t){var{organization:n,projectId:r,prefix:i,severityAllowList:s=["error"],sendExceptionsToPostHog:a=!0}=void 0===t?{}:t;return t=>{if("*"!==s&&!s.includes(t.level)||!e.__loaded)return t;t.tags||(t.tags={});var o=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());t.tags["PostHog Person URL"]=o,e.sessionRecordingStarted()&&(t.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var l,u,c,d,f,h,p=(null==(l=t.exception)?void 0:l.values)||[],g=p.map(e=>m({},e,{stacktrace:e.stacktrace?m({},e.stacktrace,{type:"raw",frames:(e.stacktrace.frames||[]).map(e=>m({},e,{platform:"web:javascript"}))}):void 0})),v={$exception_message:(null==(u=p[0])?void 0:u.value)||t.message,$exception_type:null==(c=p[0])?void 0:c.type,$exception_level:t.level,$exception_list:g,$sentry_event_id:t.event_id,$sentry_exception:t.exception,$sentry_exception_message:(null==(d=p[0])?void 0:d.value)||t.message,$sentry_exception_type:null==(f=p[0])?void 0:f.type,$sentry_tags:t.tags};return n&&r&&(v.$sentry_url=(i||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+t.event_id),a&&(null==(h=e.exceptions)||h.sendExceptionEvent(v)),t}}class rJ{constructor(e,t,n,r,i,s){this.name=rX,this.setupOnce=function(a){a(rY(e,{organization:t,projectId:n,prefix:r,severityAllowList:i,sendExceptionsToPostHog:null==s||s}))}}}class rZ{constructor(e){this.Rt=(e,t,n)=>{n&&(n.noSessionId||n.activityTimeout||n.sessionPastMaximumLength||n.crossTabAdoption)&&(tU.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:e,changeReason:n}),this.Ot=void 0,this._instance.scrollManager.resetContext())},this._instance=e,this.Lt()}Lt(){var e;this.Ft=null==(e=this._instance.sessionManager)?void 0:e.onSessionId(this.Rt)}destroy(){var e;null==(e=this.Ft)||e.call(this),this.Ft=void 0}doPageView(e,t){var r,i=this.At(e,t);return this.Ot={pathname:null!=(r=null==n?void 0:n.location.pathname)?r:"",pageViewId:t,timestamp:e},this._instance.scrollManager.resetContext(),i}doPageLeave(e){var t;return this.At(e,null==(t=this.Ot)?void 0:t.pageViewId)}doEvent(){var e;return{$pageview_id:null==(e=this.Ot)?void 0:e.pageViewId}}At(e,t){var n=this.Ot;if(!n)return{$pageview_id:t};var r={$pageview_id:t,$prev_pageview_id:n.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:s,lastScrollY:a,maxScrollY:o,maxContentHeight:l,lastContentY:u,maxContentY:c}=i;
1if(!(q(s)||q(a)||q(o)||q(l)||q(u)||q(c))){s=Math.ceil(s),a=Math.ceil(a),o=Math.ceil(o),l=Math.ceil(l),u=Math.ceil(u),c=Math.ceil(c);var d=s>1?ea(a/s,0,1,tU):1,f=s>1?ea(o/s,0,1,tU):1,h=l>1?ea(u/l,0,1,tU):1,p=l>1?ea(c/l,0,1,tU):1;r=nW(r,{$prev_pageview_last_scroll:a,$prev_pageview_last_scroll_percentage:d,$prev_pageview_max_scroll:o,$prev_pageview_max_scroll_percentage:f,$prev_pageview_last_content:u,$prev_pageview_last_content_percentage:h,$prev_pageview_max_content:c,$prev_pageview_max_content_percentage:p})}}return n.pathname&&(r.$prev_pageview_pathname=n.pathname),n.timestamp&&(r.$prev_pageview_duration=(e.getTime()-n.timestamp.getTime())/1e3),r}}var r0=["flags","surveys"],r1={[tq]:{exposure:"hidden"},[tG]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[tQ]:{exposure:"hidden"},[tK]:{exposure:"event"},[tX]:{exposure:"hidden"},[tY]:{exposure:"event"},[tJ]:{exposure:"hidden"},[tZ]:{exposure:"event"},[t0]:{exposure:"event"},[t1]:{exposure:"event"},[t2]:{exposure:"hidden"},[t3]:{exposure:"event"},[t4]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[ne]:{exposure:"hidden"},[nt]:{exposure:"event"},[t5]:{exposure:"event",shouldSkipFromEventProperties:e=>Q(e)},$session_past_minimum_duration:{exposure:"event"},$session_recording_url_trigger_activated_session:{exposure:"event"},$session_recording_event_trigger_activated_session:{exposure:"event"},$debug_first_full_snapshot_timestamp:{exposure:"event"},$sess_rec_flush_size:{exposure:"hidden"},[nn]:{exposure:"derived",storageGroup:"flags",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!B(e))return{};for(var t={},n=Object.keys(e),r=0;n.length>r;r++)t["$feature/"+n[r]]=e[n[r]];return t}},[nr]:{exposure:"event",storageGroup:"flags"},[ni]:{exposure:"hidden"},[ns]:{exposure:"hidden",storageGroup:"flags"},[na]:{exposure:"event",storageGroup:"flags"},[no]:{exposure:"event",storageGroup:"flags",volatile:!0},[nl]:{exposure:"event"},[nu]:{exposure:"hidden"},[nc]:{exposure:"hidden"},[nd]:{exposure:"hidden"},[nf]:{exposure:"hidden",storageGroup:"surveys"},[nh]:{exposure:"hidden",storageGroup:"surveys",volatile:!0},[np]:{exposure:"event"},[ng]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"},$conversations_user_traits:{exposure:"event"},[nv]:{exposure:"hidden"},[nm]:{exposure:"hidden"},[n_]:{exposure:"hidden"},[ny]:{exposure:"hidden",storageGroup:"flags",volatile:!0},[nb]:{exposure:"hidden"},[nw]:{exposure:"hidden"},[nS]:{exposure:"hidden"},[nk]:{exposure:"hidden"},[nx]:{exposure:"hidden"},[nE]:{exposure:"hidden"},[nP]:{exposure:"hidden"},[t6]:{exposure:"event"},[t8]:{exposure:"event"},[t7]:{exposure:"event"},[t9]:{exposure:"event"},[nO]:{exposure:"event"},[nN]:{exposure:"event"},[nF]:{exposure:"event"},$sdk_debug_replay_event_trigger_status:{exposure:"event"},$sdk_debug_replay_linked_flag_trigger_status:{exposure:"event"},$sdk_debug_replay_matched_recording_trigger_groups:{exposure:"event"},$sdk_debug_replay_remote_trigger_matching_config:{exposure:"event"},$sdk_debug_replay_trigger_groups_count:{exposure:"event"},$sdk_debug_replay_url_trigger_status:{exposure:"event"},$session_recording_start_reason:{exposure:"event"}},r2=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],r3=e=>{var t=r1[e];if(t)return t;for(var[n,r]of r2)if(0===e.indexOf(n))return r},r4=e=>{var t=null==s?void 0:s.createElement("a");return q(t)?null:(t.href=e,t)},r5=function(e,t){for(var n,r=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),i=0;r.length>i;i++){var s=r[i].split("=");if(s[0]===t){n=s;break}}if(!U(n)||2>n.length)return"";var a=n[1];try{a=decodeURIComponent(a)}catch(e){tU.error("Skipping decoding for malformed query param: "+a)}return a.replace(/\+/g," ")},r6=function(e,t,n){if(!e||!t||!t.length)return e;for(var r=e.split("#"),i=r[1],s=(r[0]||"").split("?"),a=s[1],o=s[0],l=(a||"").split("&"),u=[],c=0;l.length>c;c++){var d=l[c].split("=");U(d)&&(t.includes(d[0])?u.push(d[0]+"="+n):u.push(l[c]))}var f=o;return null!=a&&(f+="?"+u.join("&")),null!=i&&(f+="#"+i),f},r8=function(e,t){var n=e.match(RegExp(t+"=([^&]*)"));
1return n?n[1]:null},r7="https?://(.*)",r9=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],ie=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...r9],it="<masked>",ir=["li_fat_id"];function ii(e,t,n){if(!s)return{};var r,i=t?[...r9,...n||[]]:[],a=is(r6(s.URL,i,it),e);return nW((r={},nq(ir,function(e){var t=rn.A(e);r[e]=t||null}),r),a)}function is(e,t){var n=ie.concat(t||[]),r={};return nq(n,function(t){var n=r5(e,t);r[t]=n||null}),r}function ia(e){var t=e?0===e.search(r7+"google.([^/?]*)")?"google":0===e.search(r7+"bing.com")?"bing":0===e.search(r7+"yahoo.com")?"yahoo":0===e.search(r7+"duckduckgo.com")?"duckduckgo":null:null,n={};if(!Q(t)){n.$search_engine=t;var r=s?r5(s.referrer,"yahoo"!=t?"q":"p"):"";r.length&&(n.ph_keyword=r)}return n}function io(){return navigator.language||navigator.userLanguage}var il="$direct";function iu(){return(null==s?void 0:s.referrer)||il}function ic(e,t,n){void 0===n&&(n=!1);var r=e?[...r9,...t||[]]:[],i=n?tr(null==a?void 0:a.href):null==a?void 0:a.href,s=null==i?void 0:i.substring(0,1e3);return{r:iu().substring(0,1e3),u:s?r6(s,r,it):void 0}}function id(e,t){void 0===t&&(t=!1);var n,{r:r,u:i}=e,s=t?tr(i):i,a={$referrer:r,$referring_domain:null==r?void 0:r==il?il:null==(n=r4(r))?void 0:n.host};
1if(s){a.$current_url=s;var o=r4(s);a.$host=null==o?void 0:o.host,a.$pathname=null==o?void 0:o.pathname,nW(a,is(s))}return r&&nW(a,ia(r)),a}function ih(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return}}var ip={flags:ny,surveys:nh},ig=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"],iv="main";class im{constructor(e,t,r){if(void 0===r&&(r=!0),this.$t={},this.Dt=!1,this.Nt=!1,this.Se=e,this.qt=r,this.props={},this.jt=!1,this.Bt=(e=>{var t="";return e.token&&(t=e.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),e.persistence_name?"ph_"+e.persistence_name:"ph_"+t+"_posthog"})(e),this.Ct=this.Ht(e),this.Nt=this.Ut(e),this.load(),e.debug&&tU.info("Persistence loaded",e.persistence,m({},this.props)),this.update_config(e,e,t),this.save(),n){var i=()=>this.flush();nJ(n,"beforeunload",i,{capture:!1}),nJ(n,"pagehide",i,{capture:!1})}}zt(){var e,t=null==(e=this.Se)?void 0:e.persistence_save_debounce_ms;return X(t)&&t>0?t:0}isDisabled(){return!!this.Vt}Ht(e){-1===ig.indexOf(e.persistence.toLowerCase())&&(tU.critical("Unknown persistence type "+e.persistence+"; falling back to localStorage+cookie"),e.persistence="localStorage+cookie");var t,r,i,s,a=(t=e.cookie_persisted_properties||[],r=e.__preview_cookie_wins_on_conflict||!1,void 0===t&&(t=[]),void 0===r&&(r=!1),i=[...rs,...t],m({},ri,{F(e){try{var t={};try{t=rn.F(e)||{}}catch(e){}var n,i=JSON.parse(ri.A(e)||"{}");if(r){var s={};for(var a in t){var o=t[a];Q(o)||""===o||(s[a]=o)}n=nW(i,s)}else n=nW(t,i);return ri.q(e,n),n}catch(e){}return null},q(e,t,n,r,s,a){var o=ri.q(e,t,void 0,void 0,a);try{var l={};i.forEach(e=>{t[e]&&(l[e]=t[e])}),Object.keys(l).length&&rn.q(e,l,n,r,s,a)}catch(e){ri.D(e)}return o},P(e,t){try{null==n||n.localStorage.removeItem(e),rn.P(e,t)}catch(e){ri.D(e)}}})),o=!1,l=e.persistence.toLowerCase();return"localstorage"===l&&ri.N()?(s=ri,o=!0):"localstorage+cookie"===l&&a.N()?(s=a,o=!0):"sessionstorage"===l&&ru.N()?s=ru:"memory"===l?s=ro:"cookie"===l?s=rn:a.N()?(s=a,o=!0):s=rn,this.Dt=o,s}Wt(e){return this.Bt+"__"+e}Ut(e){return this.Dt&&!!e.split_storage}Gt(e){var t=null!=e?e:this.Se.feature_flag_cache_ttl_ms;if(!t||0>=t)return!1;var n=this.props[ny];return!n||"number"!=typeof n||Date.now()-n>t}properties(){var e={};return nq(this.props,(t,n)=>{var r=r3(n);if("derived"===(null==r?void 0:r.exposure)){if(null!=r.shouldSkipFromEventProperties&&r.shouldSkipFromEventProperties(t,n===nn?()=>this.Gt():()=>!1))return;r.transformToEventProperties&&nW(e,r.transformToEventProperties(t))}else if(!r||"event"===r.exposure){if(null!=r&&null!=r.shouldSkipFromEventProperties&&r.shouldSkipFromEventProperties(t,()=>!1))return;e[n]=t}}),e}load(){if(!this.Vt){var e=this.Ct.F(this.Bt);e&&(this.props=nW({},e)),this.Nt&&this.Zt()}}Zt(){for(var e of r0){var t=ri.F(this.Wt(e));if(t&&!V(t)){var n=this.Qt(e);n.persisted=!0,this.Jt(e)||(n.fingerprint=this.Yt(t,e)),this.Kt(e,t)||nW(this.props,t)}}}Jt(e){return Object.keys(this.props).some(t=>{var n;return(null==(n=r3(t))?void 0:n.storageGroup)===e})}Kt(e,t){var n=ip[e];if(!n)return!1;var r=t[n],i=this.props[n];return X(r)&&X(i)&&i>r}refreshKey(e){var t;if(!this.Vt){var n=this.Nt?null==(t=r3(e))?void 0:t.storageGroup:void 0,r=n?ri.F(this.Wt(n)):this.Ct.F(this.Bt);if(r&&e in r)this.Xt(e,r[e]);else{if(n){var i=this.Ct.F(this.Bt);if(i&&e in i)return void this.Xt(e,i[e])}this.er(e)}}}save(){if(!this.Vt){var e=this.zt();e>0?q(this.tr)&&(this.tr=setTimeout(()=>{this.tr=void 0,this.rr()},e)):this.rr()}}flush(){q(this.tr)||(clearTimeout(this.tr),this.tr=void 0,this.rr())}rr(){this.Vt||(this.Nt?this.ir():this.nr(this.Ct,this.Bt,this.props,iv))}ir(){var{main:e,groups:t}=this.sr();for(var n of(this.nr(this.Ct,this.Bt,e,iv),r0)){var r,i=t[n];(!V(i)||null!=(r=this.$t[n])&&r.persisted)&&this.nr(ri,this.Wt(n),i,n)}}sr(){var e={},t={};for(var n of r0)t[n]={};return nq(this.props,(n,r)=>{var i,s=null==(i=r3(r))?void 0:i.storageGroup;s?t[s][r]=n:e[r]=n}),{main:e,groups:t}}Yt(e,t){if(t===iv)return JSON.stringify(e)+"|"+this.ar+"|"+this.lr+"|"+this.ur;var n={};return nq(e,(e,t)=>{var r;n[t]=null!=(r=r3(t))&&r.volatile?"__volatile__":e}),JSON.stringify(n)}nr(e,t,n,r){var i,s=this.Qt(r);if(r===iv||s.dirty||q(s.fingerprint)){try{if((i=this.Yt(n,r))===s.fingerprint)return void(s.dirty=!1)}catch(e){i=void 0}e.q(t,n,this.ar,this.lr,this.ur,this.Se.debug)?(s.dirty=!1,r!==iv&&(s.persisted=!0),q(i)||(s.fingerprint=i)):this.Se.debug&&tU.warn('failed to persist storage entry "'+t+'"; will retry on next save')}}remove(e){var{keepGroupEntries:t=!1}=void 0===e?{}:e;if(q(this.tr)||(clearTimeout(this.tr),this.tr=void 0),this.Ct.P(this.Bt,!1),this.Ct.P(this.Bt,!0),!t&&this.qt)for(var n of r0)ri.P(this.Wt(n));
1t?delete this.$t[iv]:this.$t={}}clear(){this.remove(),this.props={}}register_once(e,t,n){if(B(e)){q(t)&&(t="None"),this.ar=q(n)?this.hr:n;var r=!1;if(nq(e,(e,n)=>{this.props.hasOwnProperty(n)&&this.props[n]!==t||(this.Xt(n,e),r=!0)}),r)return this.save(),!0}return!1}register(e,t){if(B(e)){this.ar=q(t)?this.hr:t;var n=!1;if(nq(e,(t,r)=>{e.hasOwnProperty(r)&&this.props[r]!==t&&(this.Xt(r,t),n=!0)}),n)return this.save(),!0}return!1}unregister(e){e in this.props&&(this.er(e),this.save())}update_campaign_params(){if(!this.jt){var e=ii(this.Se.custom_campaign_params,this.Se.mask_personal_data_properties,this.Se.custom_personal_data_properties);V(nX(e))||this.register(e),this.jt=!0}}update_search_keyword(){var e;this.register((e=null==s?void 0:s.referrer)?ia(e):{})}update_referrer_info(){var e;this.register_once({$referrer:iu(),$referring_domain:null!=s&&s.referrer&&(null==(e=r4(s.referrer))?void 0:e.host)||il},void 0)}set_initial_person_info(){this.props[nk]||this.props[nx]||this.register_once({[nE]:ic(this.Se.mask_personal_data_properties,this.Se.custom_personal_data_properties,this.Se.disable_capture_url_hashes)},void 0)}get_initial_props(){var e,t,n,r={};nq([nx,nk],e=>{var t=this.props[e];t&&nq(t,function(e,t){r["$initial_"+z(t)]=e})});var i=this.props[nE];return i&&nW(r,(void 0===(e=this.Se.disable_capture_url_hashes)&&(e=!1),t=id(i,e),n={},nq(t,function(e,t){n["$initial_"+z(t)]=e}),n)),r}safe_merge(e){return nq(this.props,function(t,n){n in e||(e[n]=t)}),e}update_config(e,t,n){this.hr=this.ar=e.cookie_expiration,this.set_disabled(e.disable_persistence||!!n),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie);var r=e.persistence!==t.persistence||!((e,t)=>{if(e.length!==t.length)return!1;var n=[...e].sort(),r=[...t].sort();return n.every((e,t)=>e===r[t])})(e.cookie_persisted_properties||[],t.cookie_persisted_properties||[]),i=r?this.Ht(e):this.Ct,s=this.Ut(e);if(r||s!==this.Nt){var a=this.props;this.clear(),this.Ct=i,this.Nt=s,this.props=a,this.save()}}set_disabled(e){this.Vt=e,this.Vt?this.remove():this.save()}set_cross_subdomain(e){e!==this.lr&&(this.lr=e,this.remove({keepGroupEntries:!0}),this.save())}set_secure(e){e!==this.ur&&(this.ur=e,this.remove({keepGroupEntries:!0}),this.save())}set_event_timer(e,t){var n=this.props[tQ]||{};n[e]=t,this.Xt(tQ,n),this.save()}remove_event_timer(e){var t=this.props[tQ]||{},n=t[e];return q(n)||(delete t[e],this.Xt(tQ,t),this.save()),n}get_property(e){return this.props[e]}set_property(e,t){this.Xt(e,t),this.save()}Xt(e,t){var n;this.props[e]=t,null!=(n=r3(e))&&n.volatile||this.dr(e)}er(e){delete this.props[e],this.dr(e)}dr(e){var t,n=null==(t=r3(e))?void 0:t.storageGroup;n&&(this.Qt(n).dirty=!0)}Qt(e){return this.$t[e]||(this.$t[e]={})}}var i_="events",iy="cancelEvents",ib="survey shown",iw="survey dismissed",iS="survey sent",ik="popover",ix=tH("[RateLimiter]");class iE{constructor(e){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=e=>{var t=e.text;if(t&&t.length)try{(JSON.parse(t).quota_limited||[]).forEach(e=>{ix.info((e||"events")+" is quota limited."),this.serverLimits[e]=(new Date).getTime()+6e4})}catch(e){return void ix.warn('could not rate limit - continuing. Error: "'+(null==e?void 0:e.message)+'"',{text:t})}},this.instance=e,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var e;return(null==(e=this.instance.config.rate_limiting)?void 0:e.events_per_second)||10}get captureEventsBurstLimit(){var e;return Math.max((null==(e=this.instance.config.rate_limiting)?void 0:e.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(e){void 0===e&&(e=!1);var t,n,r,{captureEventsBurstLimit:i,captureEventsPerSecond:s}=this,a=(new Date).getTime(),o=null!=(t=null==(n=this.instance.persistence)?void 0:n.get_property(nS))?t:{tokens:i,last:a};o.tokens+=(a-o.last)/1e3*s,o.last=a,o.tokens>i&&(o.tokens=i);var l=1>o.tokens;return l||e||(o.tokens=Math.max(0,o.tokens-1)),!l||this.lastEventRateLimited||e||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+s+" events per second and "+i+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=l,null==(r=this.instance.persistence)||r.set_property(nS,o),{isRateLimited:l,remainingTokens:o.tokens}}isServerRateLimited(e){var t=this.serverLimits[e||"events"]||!1;return!1!==t&&(new Date).getTime()<t}}var iP=tH("[RemoteConfig]");class iC{constructor(e){this._instance=e}get remoteConfig(){var e;return null==(e=f._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.config}cr(e){var t,n;null!=(t=f.__PosthogExtensions__)&&t.loadExternalDependency?null==(n=f.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,"remote-config",()=>e(this.remoteConfig)):e()}vr(e){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(t){e(t.json)}})}load(){try{if(this.remoteConfig)return iP.info("Using preloaded remote config",this.remoteConfig),this.pr(this.remoteConfig),void this.gr();if(this._instance.mr())return void iP.warn("Remote config is disabled. Falling back to local config.");this.cr(e=>{e?(this.pr(e),this.gr()):(iP.info("No config found after loading remote JS config. Falling back to JSON."),this.vr(e=>{this.pr(e),this.gr()}))})}catch(e){iP.error("Error loading remote config",e)}}stop(){this.yr&&(clearInterval(this.yr),this.yr=void 0)}
vendor: 4,245 bytes, line 1
1refresh(){!this._instance.mr()&&s&&"hidden"!==s.visibilityState&&this._instance.reloadFeatureFlags()}gr(){var e;if(!this.yr){var t=null!=(e=this._instance.config.remote_config_refresh_interval_ms)?e:3e5;0!==t&&(this.yr=setInterval(()=>{this.refresh()},t))}}pr(e){var t;e||iP.error("Failed to fetch remote config from PostHog."),this._instance.pr(null!=e?e:{}),!1!==(null==e?void 0:e.hasFeatureFlags)&&(this._instance.config.advanced_disable_feature_flags_on_first_load||null==(t=this._instance.featureFlags)||t.ensureFlagsLoaded())}}var iT="gzip-js",iO="base64",iN=Uint8Array,iF=Uint16Array,iR=Uint32Array,iI=new iN([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),iM=new iN([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),iL=new iN([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),iA=function(e,t){for(var n=new iF(31),r=0;31>r;++r)n[r]=t+=1<<e[r-1];var i=new iR(n[30]);for(r=1;30>r;++r)for(var s=n[r];n[r+1]>s;++s)i[s]=s-n[r]<<5|r;return[n,i]},iz=iA(iI,2),iD=iz[1];iz[0][28]=258,iD[258]=28;for(var i$=iA(iM,0)[1],ij=new iF(32768),iU=0;32768>iU;++iU){var iH=(43690&iU)>>>1|(21845&iU)<<1;ij[iU]=((65280&(iH=(61680&(iH=(52428&iH)>>>2|(13107&iH)<<2))>>>4|(3855&iH)<<4))>>>8|(255&iH)<<8)>>>1}var iB=function(e,t,n){for(var r=e.length,i=0,s=new iF(t);r>i;++i)++s[e[i]-1];var a,o=new iF(t);for(i=0;t>i;++i)o[i]=o[i-1]+s[i-1]<<1;if(n){a=new iF(1<<t);var l=15-t;for(i=0;r>i;++i)if(e[i])for(var u=i<<4|e[i],c=t-e[i],d=o[e[i]-1]++<<c,f=d|(1<<c)-1;f>=d;++d)a[ij[d]>>>l]=u}else for(a=new iF(r),i=0;r>i;++i)a[i]=ij[o[e[i]-1]++]>>>15-e[i];return a},iV=new iN(288);for(iU=0;144>iU;++iU)iV[iU]=8;for(iU=144;256>iU;++iU)iV[iU]=9;for(iU=256;280>iU;++iU)iV[iU]=7;for(iU=280;288>iU;++iU)iV[iU]=8;var iq=new iN(32);for(iU=0;32>iU;++iU)iq[iU]=5;var iW=iB(iV,9,0),iG=iB(iq,5,0),iQ=function(e){return(e/8|0)+(7&e&&1)},iK=function(e,t,n){(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof iF?iF:e instanceof iR?iR:iN)(n-t);return r.set(e.subarray(t,n)),r},iX=function(e,t,n){var r=t/8|0;e[r]|=n<<=7&t,e[r+1]|=n>>>8},iY=function(e,t,n){var r=t/8|0;e[r]|=n<<=7&t,e[r+1]|=n>>>8,e[r+2]|=n>>>16},iJ=function(e,t){for(var n=[],r=0;e.length>r;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,s=n.slice();if(!i)return[new iN(0),0];if(1==i){var a=new iN(n[0].s+1);return a[n[0].s]=1,[a,1]}n.sort(function(e,t){return e.f-t.f}),n.push({s:-1,f:25001});var o=n[0],l=n[1],u=0,c=1,d=2;for(n[0]={s:-1,f:o.f+l.f,l:o,r:l};c!=i-1;)o=n[n[d].f>n[u].f?u++:d++],l=n[u!=c&&n[d].f>n[u].f?u++:d++],n[c++]={s:-1,f:o.f+l.f,l:o,r:l};var f=s[0].s;for(r=1;i>r;++r)s[r].s>f&&(f=s[r].s);var h=new iF(f+1),p=iZ(n[c-1],h,0);if(p>t){r=0;var g=0,v=p-t,m=1<<v;for(s.sort(function(e,t){return h[t.s]-h[e.s]||e.f-t.f});i>r;++r){var _=s[r].s;if(t>=h[_])break;g+=m-(1<<p-h[_]),h[_]=t}for(g>>>=v;g>0;){var y=s[r].s;t>h[y]?g-=1<<t-h[y]++-1:++r}for(;r>=0&&g;--r){var b=s[r].s;h[b]==t&&(--h[b],++g)}p=t}return[new iN(h),p]},iZ=function(e,t,n){return -1==e.s?Math.max(iZ(e.l,t,n+1),iZ(e.r,t,n+1)):t[e.s]=n},i0=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new iF(++t),r=0,i=e[0],s=1,a=function(e){n[r++]=e},o=1;t>=o;++o)if(e[o]==i&&o!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(i),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}for(;s--;)a(i);s=1,i=e[o]}return[n.subarray(0,r),t]},i1=function(e,t){for(var n=0,r=0;t.length>r;++r)n+=e[r]*t[r];return n},i2=function(e,t,n){var r=n.length,i=iQ(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var s=0;r>s;++s)e[i+s+4]=n[s];return 8*(i+4+r)},i3=function(e,t,n,r,i,s,a,o,l,u,c){iX(t,c++,n),++i[256];for(var d=iJ(i,15),f=d[0],h=d[1],p=iJ(s,15),g=p[0],v=p[1],m=i0(f),_=m[0],y=m[1],b=i0(g),w=b[0],S=b[1],k=new iF(19),x=0;_.length>x;++x)k[31&_[x]]++;for(x=0;w.length>x;++x)k[31&w[x]]++;for(var E=iJ(k,7),P=E[0],C=E[1],T=19;T>4&&!P[iL[T-1]];--T);var O,N,F,R,I=u+5<<3,M=i1(i,iV)+i1(s,iq)+a,L=i1(i,f)+i1(s,g)+a+14+3*T+i1(k,P)+(2*k[16]+3*k[17]+7*k[18]);if(M>=I&&L>=I)return i2(t,c,e.subarray(l,l+u));if(iX(t,c,1+(M>L)),c+=2,M>L){O=iB(f,h,0),N=f,F=iB(g,v,0),R=g;var A=iB(P,C,0);for(iX(t,c,y-257),iX(t,c+5,S-1),iX(t,c+10,T-4),c+=14,x=0;T>x;++x)iX(t,c+3*x,P[iL[x]]);c+=3*T;for(var z=[_,w],D=0;2>D;++D){var $=z[D];for(x=0;$.length>x;
1++x)iX(t,c,A[j=31&$[x]]),c+=P[j],j>15&&(iX(t,c,$[x]>>>5&127),c+=$[x]>>>12)}}else O=iW,N=iV,F=iG,R=iq;for(x=0;o>x;++x)if(r[x]>255){iY(t,c,O[257+(j=r[x]>>>18&31)]),c+=N[j+257],j>7&&(iX(t,c,r[x]>>>23&31),c+=iI[j]);var j,U=31&r[x];iY(t,c,F[U]),c+=R[U],U>3&&(iY(t,c,r[x]>>>5&8191),c+=iM[U])}else iY(t,c,O[r[x]]),c+=N[r[x]];return iY(t,c,O[256]),c+N[256]},i4=new iR([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),i5=function(){for(var e=new iR(256),t=0;256>t;++t){for(var n=t,r=9;--r;)n=(1&n&&0xedb88320)^n>>>1;e[t]=n}return e}(),i6=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},i8=!!l||!!o,i7="text/plain",i9=!1,se=function(e,t,n){void 0===n&&(n=!0);var r,i,s,a,o,[l,u]=e.split("?"),c=m({},t),d=null!=(o=null==u?void 0:u.split("&").map(e=>{var t,[r,i]=e.split("="),s=n&&null!=(t=c[r])?t:i;return delete c[r],r+"="+s}))?o:[],f=(void 0===r&&(r="&"),a=[],nq(c,function(e,t){q(e)||q(t)||"undefined"===t||(i=encodeURIComponent(e instanceof File?e.name:e.toString()),s=encodeURIComponent(t),a[a.length]=s+"="+i)}),a.join(r));return f&&d.push(f),l+"?"+d.join("&")},st=(e,t)=>JSON.stringify(e,(e,t)=>"bigint"==typeof t?t.toString():t,t),sn=e=>{if(e.xt)return e.xt;var{data:t,compression:n}=e;if(t){if(n===iT){var r,i,s,a,o,l,u,c,d=(r=function(e){var t=e.length;if("u">typeof TextEncoder)return(new TextEncoder).encode(e);for(var n=new iN(e.length+(e.length>>>1)),r=0,i=function(e){n[r++]=e},s=0;t>s;++s){if(r+5>n.length){var a=new iN(r+8+(t-s<<1));a.set(n),n=a}var o=e.charCodeAt(s);128>o?i(o):(2048>o?i(192|o>>>6):(o>55295&&57344>o?(i(240|(o=65536+(1047552&o)|1023&e.charCodeAt(++s))>>>18),i(128|o>>>12&63)):i(224|o>>>12),i(128|o>>>6&63)),i(128|63&o))}return iK(n,0,r)}(st(t)),i={mtime:0},s=0xffffffff,a={p(e){for(var t=s,n=0;e.length>n;++n)t=i5[255&t^e[n]]^t>>>8;s=t},d:()=>0xffffffff^s},o=r.length,a.p(r),c=(l=10+(i.filename&&i.filename.length+1||0),u=function(e,t,n,r){var i=e.length,s=new iN(r+i+5*(1+Math.floor(i/7e3))+8),a=s.subarray(r,s.length-8),o=0;if(!t||8>i)for(var l=0;i>=l;l+=65535){var u=l+65535;i>u?o=i2(a,o,e.subarray(l,u)):(a[l]=!0,o=i2(a,o,e.subarray(l,i)))}else{for(var c=i4[t-1],d=c>>>13,f=8191&c,h=(1<<n)-1,p=new iF(32768),g=new iF(h+1),v=Math.ceil(n/3),m=2*v,_=function(t){return(e[t]^e[t+1]<<v^e[t+2]<<m)&h},y=new iR(25e3),b=new iF(288),w=new iF(32),S=0,k=0,x=(l=0,0),E=0,P=0;i>l;++l){var C=_(l),T=32767&l,O=g[C];if(p[T]=O,g[C]=T,l>=E){var N=i-l;if((S>7e3||x>24576)&&N>423){o=i3(e,a,0,y,b,w,k,x,P,l-P,o),x=S=k=0,P=l;for(var F=0;286>F;++F)b[F]=0;for(F=0;30>F;++F)w[F]=0}var R=2,I=0,M=f,L=T-O&32767;if(N>2&&C==_(l-L))for(var A=Math.min(d,N)-1,z=Math.min(32767,l),D=Math.min(258,N);z>=L&&--M&&T!=O;){if(e[l+R]==e[l+R-L]){for(var $=0;D>$&&e[l+$]==e[l+$-L];++$);if($>R){if(R=$,I=L,$>A)break;var j=Math.min(L,$-2),U=0;for(F=0;j>F;
1++F){var H=l-L+F+32768&32767,B=H-p[H]+32768&32767;B>U&&(U=B,O=H)}}}L+=(T=O)-(O=p[T])+32768&32767}if(I){y[x++]=0x10000000|iD[R]<<18|i$[I];var V=31&iD[R],q=31&i$[I];k+=iI[V]+iM[q],++b[257+V],++w[q],E=l+R,++S}else y[x++]=e[l],++b[e[l]]}}o=i3(e,a,!0,y,b,w,k,x,P,l-P,o)}return iK(s,0,r+iQ(o)+8)}(r,null==i.level?6:i.level,null==i.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(r.length)))):12+i.mem,l)).length,function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=2>t.level?4:2*(9==t.level),e[9]=3,0!=t.mtime&&i6(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;n.length>=r;++r)e[r+10]=n.charCodeAt(r)}}(u,i),i6(u,c-8,a.d()),i6(u,c-4,o),u);return{contentType:i7,body:d.buffer.slice(d.byteOffset,d.byteOffset+d.byteLength),estimatedSize:d.byteLength}}if(n===iO){let e;var f,h="data="+encodeURIComponent("string"==typeof(e=(f=st(t))?btoa(encodeURIComponent(f).replace(/%([0-9A-F]{2})/g,(e,t)=>String.fromCharCode(parseInt(t,16)))):f)?e:st(e));return{contentType:"application/x-www-form-urlencoded",body:h,estimatedSize:new Blob([h]).size}}var p=st(t);return{contentType:"application/json",body:p,estimatedSize:new Blob([p]).size}}},sr=e=>{var t,n,r,i=sn(e);return!i||(n=e.compression,r=r5(e.url,"compression"),n!==x.GZipJS&&r!==x.GZipJS&&"gzip"!==r)||((t=i.body)instanceof ArrayBuffer?T(new Uint8Array(t)):ArrayBuffer.isView(t)&&T(new Uint8Array(t.buffer,t.byteOffset,t.byteLength)))?{url:e.url,encodedBody:i}:(i9=!0,{url:((e,t)=>{var[n,r]=e.split("#"),[i,s]=n.split("?");if(!s)return e;var a=s.split("&").filter(e=>e.split("=")[0]!==t).join("&");return i+(a?"?"+a:"")+(r?"#"+r:"")})(e.url,"compression"),encodedBody:sn(m({},e,{compression:void 0,xt:void 0}))})},si=(sI=v(function*(e){var t=st(e.data),n=yield function(e,t,n){return R.apply(this,arguments)}(t,p.DEBUG,{rethrow:!0});if(!n)return e;var r=yield n.arrayBuffer();return m({},e,{xt:{contentType:i7,body:r,estimatedSize:r.byteLength}})}),function(e){return sI.apply(this,arguments)}),ss=(e,t)=>se(e,{_:(new Date).getTime().toString(),ver:p.JS_SDK_VERSION,compression:t}),sa=[];o&&sa.push({transport:"fetch",method(e){var t,{url:n,encodedBody:r}=sr(e),{contentType:i,body:s,estimatedSize:a}=null!=r?r:{},l=new Headers;nq(e.headers,function(e,t){l.append(t,e)}),i&&l.append("Content-Type",i);var c=null,d=null;if(u){var f=new u;c={signal:f.signal,timeout:setTimeout(()=>{var t,n;(n=Error("PostHog request timed out"+((t=e.timeout)?" after "+t+"ms":""))).name="AbortError",f.abort(d=n)},e.timeout)}}o(n,m({method:(null==e?void 0:e.method)||"GET",headers:l,keepalive:"POST"===e.method&&52428.8>(a||0),body:s,signal:null==(t=c)?void 0:t.signal},e.fetchOptions)).then(t=>t.text().then(n=>{var r={statusCode:t.status,text:n};if(200===t.status)try{r.json=JSON.parse(n)}catch(e){tU.error(e)}null==e.callback||e.callback(r)})).catch(t=>{t===d?tU.warn(t):tU.error(t),null==e.callback||e.callback({statusCode:0,error:t})}).finally(()=>c?clearTimeout(c.timeout):null)}}),l&&sa.push({transport:"XHR",method(e){var t=new l,{url:n,encodedBody:r}=sr(e);t.open(e.method||"GET",n,!0);var{contentType:i,body:s}=null!=r?r:{};nq(e.headers,function(e,n){t.setRequestHeader(n,e)}),i&&t.setRequestHeader("Content-Type",i),e.timeout&&(t.timeout=e.timeout),t.onreadystatechange=()=>{if(4===t.readyState){var n={statusCode:t.status,text:t.responseText};if(200===t.status)try{n.json=JSON.parse(t.responseText)}catch(e){}null==e.callback||e.callback(n)}},t.send(s)}}),null!=i&&i.sendBeacon&&sa.push({transport:"sendBeacon",method(e){try{var{url:t,encodedBody:n}=sr(e),{contentType:r,body:s}=null!=n?n:{};if(!s)return;var a=s instanceof Blob?s:new Blob([s],{type:r});i.sendBeacon(t,a)}catch(e){}}});class so{constructor(e,t){this.br=!0,this._r=[],this.wr=ea((null==t?void 0:t.flush_interval_ms)||3e3,250,5e3,tU.createLogger("flush interval"),3e3),this.kr=e}enqueue(e){this._r.push(e),this.Sr||this.Cr()}unload(){this.Ir();var e=Object.values(this._r.length>0?this.Tr():{});[...e.filter(e=>0===e.url.indexOf("/e")),...e.filter(e=>0!==e.url.indexOf("/e"))].map(e=>{this.kr(m({},e,{transport:"sendBeacon"}))})}enable(){this.br=!1,this.Cr()}Cr(){var e=this;this.br||(this.Sr=setTimeout(()=>{if(this.Ir(),this._r.length>0){var t=this.Tr();for(var n in t)!function(){var r=t[n],i=(new Date).getTime();r.data&&U(r.data)&&nq(r.data,e=>{e.offset=Math.abs(e.timestamp-i),delete e.timestamp}),e.kr(r)}()}},this.wr))}Ir(){clearTimeout(this.Sr),this.Sr=void 0}Tr(){var e={};return nq(this._r,t=>{var n,r=(t?t.batchKey:null)||t.url;q(e[r])&&(e[r]=m({},t,{data:[]})),null==(n=e[r].data)||n.push(t.data)}),this._r=[],e}}var sl=["retriesPerformedSoFar"];class su{constructor(e){this.Er=!1,this.Mr=3e3,this._r=[],this._instance=e,this._r=[],this.Pr=!0,!q(n)&&"onLine"in n.navigator&&(this.Pr=n.navigator.onLine,this.Rr=()=>{this.Pr=!0,this.Or()},this.Lr=()=>{this.Pr=!1},nJ(n,"online",this.Rr),nJ(n,"offline",this.Lr))}get length(){return this._r.length}retriableRequest(e){var{retriesPerformedSoFar:t}=e,n=_(e,sl);Y(t)&&(n.url=se(n.url,{retry_count:t})),this._instance._send_request(m({},n,{callback:e=>{if(200!==e.statusCode&&(400>e.statusCode||e.statusCode>=500)){if((0===e.statusCode?3:10)>(null!=t?t:0))return void this.st(m({retriesPerformedSoFar:t},n));0===e.statusCode&&tU.warn("Request failed before receiving an HTTP response; this can happen due to network issues, CORS, browser blocking, or ad blockers. Stopped retrying after "+(null!=t?t:0)+" retries.")}null==n.callback||n.callback(e)}}))}st(e){var t,n,r=e.retriesPerformedSoFar||0;e.retriesPerformedSoFar=r+1;var i=Math.ceil((n=Math.min(18e5,t=3e3*Math.pow(2,r)))+(Math.random()-.5)*(n-t/2)),s=Date.now()+i;this._r.push({retryAt:s,requestOptions:e});var a="Enqueued failed request for retry in "+i;navigator.onLine||(a+=" (Browser is offline)"),tU.warn(a),this.Er||(this.Er=!0,this.Fr())}Fr(){(this.Ar&&clearTimeout(this.Ar),0===this._r.length)?(this.Er=!1,this.Ar=void 0):this.Ar=setTimeout(()=>{this.Pr&&this._r.length>0&&this.Or(),this.Fr()},this.Mr)}Or(){var e=Date.now(),t=[],n=this._r.filter(n=>e>n.retryAt||(t.push(n),!1));if(this._r=t,n.length>0)for(var{requestOptions:r}of n)this.retriableRequest(r)}unload(){for(var{requestOptions:e}of(this.Ar&&(clearTimeout(this.Ar),this.Ar=void 0),this.Er=!1,q(n)||(this.Rr&&(n.removeEventListener("online",this.Rr),this.Rr=void 0),this.Lr&&(n.removeEventListener("offline",this.Lr),this.Lr=void 0)),this._r))try{this._instance._send_request(m({},e,{transport:"sendBeacon"}))}catch(e){tU.error(e)}this._r=[]}}class sc{constructor(e){this.$r=()=>{this.Dr||(this.Dr={});var e,t,n,r,i=this.scrollElement(),s=this.scrollY(),a=i?Math.max(0,i.scrollHeight-i.clientHeight):0,o=s+((null==i?void 0:i.clientHeight)||0),l=(null==i?void 0:i.scrollHeight)||0;this.Dr.lastScrollY=Math.ceil(s),this.Dr.maxScrollY=Math.max(s,null!=(e=this.Dr.maxScrollY)?e:0),this.Dr.maxScrollHeight=Math.max(a,null!=(t=this.Dr.maxScrollHeight)?t:0),this.Dr.lastContentY=o,this.Dr.maxContentY=Math.max(o,null!=(n=this.Dr.maxContentY)?n:0),this.Dr.maxContentHeight=Math.max(l,null!=(r=this.Dr.maxContentHeight)?r:0)},this._instance=e}get Nr(){return this._instance.config.scroll_root_selector}getContext(){return this.Dr}resetContext(){var e=this.Dr;return setTimeout(this.$r,0),e}startMeasuringScrollPosition(){nJ(n,"scroll",this.$r,{capture:!0}),nJ(n,"scrollend",this.$r,{capture:!0}),nJ(n,"resize",this.$r)}scrollElement(){if(!this.Nr)return null==n?void 0:n.document.documentElement;for(var e of U(this.Nr)?this.Nr:[this.Nr]){var t=null==n?void 0:n.document.querySelector(e);
1if(t)return t}}qr(e){if(this.Nr){var t=this.scrollElement();return t&&t["y"===e?"scrollTop":"scrollLeft"]||0}return n?"y"===e?n.scrollY||n.pageYOffset||n.document.documentElement.scrollTop||0:n.scrollX||n.pageXOffset||n.document.documentElement.scrollLeft||0:0}scrollY(){return this.qr("y")}scrollX(){return this.qr("x")}}var sd=e=>ic(null==e?void 0:e.config.mask_personal_data_properties,null==e?void 0:e.config.custom_personal_data_properties,null==e?void 0:e.config.disable_capture_url_hashes);class sf{constructor(e,t,n,r){this.jr=e=>{var t=this.Br();if(!t||t.sessionId!==e){var n={sessionId:e,props:this.Hr(this._instance)};this.Ur.register({[nw]:n})}},this._instance=e,this.zr=t,this.Ur=n,this.Hr=r||sd,this.zr.onSessionId(this.jr)}Br(){return this.Ur.props[nw]}getSetOnceProps(){var e,t=null==(e=this.Br())?void 0:e.props;return t?"r"in t?id(t,this._instance.config.disable_capture_url_hashes):{$referring_domain:t.referringDomain,$pathname:t.initialPathName,utm_source:t.utm_source,utm_campaign:t.utm_campaign,utm_medium:t.utm_medium,utm_content:t.utm_content,utm_term:t.utm_term}:{}}getSessionProps(){var e={};return nq(nX(this.getSetOnceProps()),(t,n)=>{"$current_url"===n&&(n="url"),e["$session_entry_"+z(n)]=t}),e}}class sh{constructor(){this.Vr={}}on(e,t){return this.Vr[e]||(this.Vr[e]=[]),this.Vr[e].push(t),()=>{this.Vr[e]=this.Vr[e].filter(e=>e!==t)}}emit(e,t){for(var n of this.Vr[e]||[])n(t);for(var r of this.Vr["*"]||[])r(e,t)}}var sp=tH("[SessionId]");class sg{on(e,t){return this.Wr.on(e,t)}constructor(e,t,n){if(this.Gr=null,this.Zr=[],this.Qr=void 0,this.Jr=!1,this.Wr=new sh,this.Yr=(e,t)=>!(!Y(e)||!Y(t))&&Math.abs(e-t)>this.sessionTimeoutMs,!e.persistence)throw Error("SessionIdManager requires a PostHogPersistence instance");if(e.config.cookieless_mode===nM)throw Error('SessionIdManager cannot be used with cookieless_mode="always"');this.Se=e.config,this.Ur=e.persistence,this.Kr=void 0,this.Xr=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.ei=t||n7,this.ti=n||n7;var r,i=this.Se.persistence_name||this.Se.token;if(this._sessionTimeoutMs=1e3*ea(this.Se.session_idle_timeout_seconds||1800,60,36e3,sp.createLogger("session_idle_timeout_seconds"),1800),e.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.ri(),this.ii="ph_"+i+"_window_id",this.ni="ph_"+i+"_primary_window_exists",this.si()){var s=ru.F(this.ii),a=ru.F(this.ni);s&&!a?this.Kr=s:ru.P(this.ii),ru.q(this.ni,!0)}if(null!=(r=this.Se.bootstrap)&&r.sessionID)try{var o=(e=>{var t=this.Se.bootstrap.sessionID.replace(/-/g,"");if(32!==t.length)throw Error("Not a valid UUID");if("7"!==t[12])throw Error("Not a UUIDv7");return parseInt(t.substring(0,12),16)})();this.oi(this.Se.bootstrap.sessionID,(new Date).getTime(),o)}catch(e){sp.error("Invalid sessionID in bootstrap",e)}this.ai()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(e){return q(this.Zr)&&(this.Zr=[]),this.Zr.push(e),this.Xr&&e(this.Xr,this.Kr),()=>{this.Zr=this.Zr.filter(t=>t!==e)}}si(){return"memory"!==this.Se.persistence&&!this.Ur.Vt&&ru.N()}li(e){e!==this.Kr&&(this.Kr=e,this.si()&&ru.q(this.ii,e))}ui(){return this.Kr?this.Kr:this.si()?ru.F(this.ii):null}hi(e){var t=this.Gr;return!Q(t)&&!Q(e)&&5e3>Math.abs(e-t)}oi(e,t,n){var r=t!==this._sessionActivityTimestamp,i=e===this.Xr&&n===this._sessionStartTimestamp;this._sessionStartTimestamp=n,this._sessionActivityTimestamp=t,this.Xr=e,i&&!r||i&&this.hi(t)||(this.Gr=t,this.Ur.register({[ne]:[t,e,n]}))}di(){var e,t=null==(e=this.Se)?void 0:e.persistence_save_debounce_ms;return Y(t)&&t>0}ci(){this.di()?this.Ur.refreshKey(ne):(this.Ur.flush(),this.Ur.load())}vi(){var e;if(!Q(this._sessionActivityTimestamp)&&this._sessionActivityTimestamp!==this.Gr){this.ci();var[,t,n]=this.fi();t===this.Xr&&n===this._sessionStartTimestamp&&(this.Gr=this._sessionActivityTimestamp,this.Ur.register({[ne]:[this._sessionActivityTimestamp,null!=(e=this.Xr)?e:null,this._sessionStartTimestamp]}),this.Ur.flush())}}pi(){var[e]=this.fi();return Math.max(Y(e)?e:0,Y(this._sessionActivityTimestamp)?this._sessionActivityTimestamp:0)}gi(e){return this.ci(),this.Yr(e,this.pi())}fi(){var e=this.Ur.props[ne];return U(e)&&2===e.length&&e.push(e[0]),e||[0,null,0]}resetSessionId(){this.Gr=null,clearTimeout(this.mi),this.mi=void 0,this.oi(null,null,null)}destroy(){this.Jr=!0,this.vi(),clearTimeout(this.mi),this.mi=void 0,this.Qr&&n&&(n.removeEventListener(n$,this.Qr,{capture:!1}),this.Qr=void 0),this.Zr=[]}ai(){this.Qr=()=>{this.vi(),this.si()&&ru.P(this.ni)},nJ(n,n$,this.Qr,{capture:!1})}
1checkAndGetSessionAndWindowId(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=null),this.Se.cookieless_mode===nM)throw Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var n=t||(new Date).getTime(),[,r,i]=this.fi(),s=this.pi(),a=this.ui(),o=Y(i)&&Math.abs(n-i)>864e5,l=!1,u=!1,c=!r,d=r,f=!c&&!e&&this.Yr(n,s);f&&((f=this.gi(n))||sp.info("cross-tab refresh kept the session alive",{sessionId:r}),[,r,i]=this.fi()),c||f||o?(r=this.ei(),a=this.ti(),sp.info("new session ID generated",{sessionId:r,windowId:a,changeReason:{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:o}}),i=n,l=!0):(a||(a=this.ti(),l=!0),(u=r!==d)&&(sp.info("adopted cross-tab session id",{sessionId:r,windowId:a}),l=!0));var h=Y(s)&&e&&!o?s:n,p=Y(i)?i:(new Date).getTime();this.li(a),this.oi(r,h,p),e||this.ri();var g={noSessionId:c,activityTimeout:f,sessionPastMaximumLength:o,crossTabAdoption:u};return l&&this.Zr.forEach(e=>e(r,a,g)),{sessionId:r,windowId:a,sessionStartTimestamp:p,changeReason:l?g:void 0,lastActivityTimestamp:s}}ri(){this.Jr||(clearTimeout(this.mi),this.mi=setTimeout(()=>{if(!this.Jr)if(this.gi((new Date).getTime())){var e=this.Xr;this.resetSessionId(),this.Wr.emit("forcedIdleReset",{idleSessionId:e})}else this.ri()},1.1*this.sessionTimeoutMs))}}var sv=function(e,t){if(!e)return!1;var n=e.userAgent;if(n&&M(n,t))return!0;try{var r=null==e?void 0:e.userAgentData;if(null!=r&&r.brands&&r.brands.some(e=>M(null==e?void 0:e.brand,t)))return!0}catch(e){}return!!e.webdriver},sm=function(e,t){if(!function(e){try{new RegExp(e)}catch(e){return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch(e){return!1}};function s_(e,t,n){return st({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:n})}var sy={exact:(e,t)=>t.some(t=>e.some(e=>t===e)),is_not:(e,t)=>t.every(t=>e.every(e=>t!==e)),regex:(e,t)=>t.some(t=>e.some(e=>sm(t,e))),not_regex:(e,t)=>t.every(t=>e.every(e=>!sm(t,e))),icontains:(e,t)=>t.map(sb).some(t=>e.map(sb).some(e=>t.includes(e))),not_icontains:(e,t)=>t.map(sb).every(t=>e.map(sb).every(e=>!t.includes(e))),gt:(e,t)=>t.some(t=>{var n=parseFloat(t);return!isNaN(n)&&e.some(e=>n>parseFloat(e))}),lt:(e,t)=>t.some(t=>{var n=parseFloat(t);return!isNaN(n)&&e.some(e=>n<parseFloat(e))})},sb=e=>e.toLowerCase();function sw(e,t){return!e||Object.entries(e).every(e=>{var[n,r]=e,i=null==t?void 0:t[n];if(q(i)||Q(i))return!1;var s=[String(i)],a=sy[r.operator];return!!a&&a(r.values,s)})}var sS="custom",sk="i.posthog.com",sx=/^\/static\//;class sE{constructor(e){this.yi={},this.instance=e}get apiHost(){var e=this.instance.config.api_host.trim().replace(/\/$/,"");return"https://app.posthog.com"===e?"https://us.i.posthog.com":e}get flagsApiHost(){var e=this.instance.config.flags_api_host;return e?e.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var e,t=null==(e=this.instance.config.ui_host)?void 0:e.replace(/\/$/,"");return t||(t=this.apiHost.replace("."+sk,".posthog.com")),"https://app.posthog.com"===t?"https://us.posthog.com":t}get region(){return this.yi[this.apiHost]||(this.yi[this.apiHost]=/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"us":/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?"eu":sS),this.yi[this.apiHost]}bi(e){if(sx.test(e)){var t=this.instance.config.asset_host;if("string"==typeof t)return t.trim().replace(/\/$/,"")||void 0}}endpointFor(e,t){if(void 0===t&&(t=""),t&&(t="/"===t[0]?t:"/"+t),"ui"===e)return this.uiHost+t;if("flags"===e)return this.flagsApiHost+t;if("assets"===e){var n=this.bi(t);if(n)return""+n+t}if(this.region===sS)return this.apiHost+t;var r=sk+t;switch(e){case"assets":return"https://"+this.region+"-assets."+r;case"api":return"https://"+this.region+"."+r}}}var sP=tH("[Surveys]"),sC="seenSurvey_",sT=["popover","widget","api"],sO={ignoreConditions:!1,ignoreDelay:!1,displayType:ik},sN=tH("[PostHog ExternalIntegrations]"),sF={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class sR{constructor(e){this._instance=e}Mt(e,t){var n;null==(n=f.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,e,e=>{if(e)return sN.error("failed to load script",e);t()})}startIfEnabledOrStop(){var e,t=this,n=function(e){var n,r,s;!i||null!=(n=f.__PosthogExtensions__)&&null!=(n=n.integrations)&&n[e]||t.Mt(sF[e],()=>{var n;null==(n=f.__PosthogExtensions__)||null==(n=n.integrations)||null==(n=n[e])||n.start(t._instance)}),!i&&null!=(r=f.__PosthogExtensions__)&&null!=(r=r.integrations)&&r[e]&&(null==(s=f.__PosthogExtensions__)||null==(s=s.integrations)||null==(s=s[e])||s.stop())};for(var[r,i]of Object.entries(null!=(e=this._instance.config.integrations)?e:{}))n(r)}}var sI,sM,sL={},sA=0,sz=()=>{}
1,sD='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',s$="Surveys module not available",sj="sanitize_properties is deprecated. Use before_send instead",sU="Invalid value for property_denylist config: ",sH="posthog",sB=!i8&&-1===(null==d?void 0:d.indexOf("MSIE"))&&-1===(null==d?void 0:d.indexOf("Mozilla")),sV=e=>{var t;return m({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,asset_host:null,token:"",autocapture:!0,cross_subdomain_cookie:function(e){var t=null==e?void 0:e.hostname;if(!W(t))return!1;var n=t.split(".").slice(-2).join(".");for(var r of nY)if(n===r)return!1;return!0}(null==s?void 0:s.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:sz,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:null!=e?e:"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,__preview_cookie_wins_on_conflict:!1,debug:a&&W(null==a?void 0:a.search)&&-1!==a.search.indexOf("__posthog_debug=true")||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disable_external_dependency_loading:!1,strict_script_versioning:!1,enable_recording_console_log:void 0,secure_cookie:"https:"===(null==n||null==(t=n.location)?void 0:t.protocol),ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_feature_flags_dedup_per_session:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error(e){tU.error("Bad HTTP status: "+e.statusCode+" "+e.text)},get_device_id:e=>e,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:nz,before_send:void 0,request_queue_config:{flush_interval_ms:3e3},error_tracking:{},_onCapture:sz},{rageclick:e&&e>="2026-05-30"?{content_ignorelist:rC,ignore_text_selection:!0}
1:!e||"2025-11-30">e||{content_ignorelist:!0},capture_pageview:!e||"2025-05-24">e||"history_change",session_recording:e&&e>="2026-05-30"?{strictMinimumDuration:!0,canvasCapture:{resolutionScale:.6}}:e&&e>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:e&&e>="2026-01-30"?"head":"body",internal_or_test_user_hostname:e&&e>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0,persistence_save_debounce_ms:e&&e>="2026-05-30"?250:0,split_storage:!(!e||"2026-05-30">e),detect_google_search_app:!(!e||"2026-05-30">e),disable_capture_url_hashes:!(!e||"2026-06-25">e)})},sq=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["__preview_disable_beacon","disable_beacon"],["store_google","save_campaign_params"],["verbose","debug"]],sW=e=>{var t={};for(var[n,r]of sq)q(e[n])||(t[r]=e[n]);var i=nW({},t,e),s=e.__preview_external_dependency_versioned_paths;return q(s)||(q(e.strict_script_versioning)&&(i.strict_script_versioning=!!s),W(s)&&q(e.asset_host)&&(i.asset_host=s)),U(e.property_blacklist)&&(q(e.property_denylist)?i.property_denylist=e.property_blacklist:U(e.property_denylist)?i.property_denylist=[...e.property_blacklist,...e.property_denylist]:tU.error(sU+e.property_denylist)),i};class sG{constructor(){this.__forceAllowLocalhost=!1}get wi(){return this.__forceAllowLocalhost}set wi(e){tU.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}}class sQ{xi(e,t){if(e){var n=this.ki.indexOf(e);-1!==n&&this.ki.splice(n,1)}return this.ki.push(t),null==t.initialize||t.initialize(),t}Si(){return this.config.cookieless_mode===nM||this.config.cookieless_mode===nI&&this.consent.isRejected()}get decideEndpointWasHit(){var e,t;return null!=(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&e}get flagsEndpointWasHit(){var e,t;return null!=(e=null==(t=this.featureFlags)?void 0:t.hasLoadedFlags)&&e}constructor(){this.webPerformance=new sG,this.Ci=!1,this.version=p.LIB_VERSION,this.Ii=new sh,this.ki=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=sV(),this.SentryIntegration=rJ,this.sentryIntegration=e=>{var t;return t=rY(this,e),{name:rX,processEvent:e=>t(e)}},this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Ti=!1,this.Ei=null,this.Mi=null,this.Pi=null,this.scrollManager=new sc(this),this.pageViewManager=new rZ(this),this.rateLimiter=new iE(this),this.requestRouter=new sE(this),this.consent=new rc(this),this.externalIntegrations=new sR(this);var e,t=null!=(e=sQ.__defaultExtensionClasses)?e:{};this.featureFlags=t.featureFlags&&new t.featureFlags(this),this.toolbar=t.toolbar&&new t.toolbar(this),this.surveys=t.surveys&&new t.surveys(this),this.conversations=t.conversations&&new t.conversations(this),this.logs=t.logs&&new t.logs(this),this.experiments=t.experiments&&new t.experiments(this),this.exceptions=t.exceptions&&new t.exceptions(this),this.people={set:(e,t,n)=>{var r=W(e)?{[e]:t}:e;this.setPersonProperties(r),null==n||n({})},set_once:(e,t,n)=>{var r=W(e)?{[e]:t}:e;this.setPersonProperties(void 0,r),null==n||n({})}},this.on("eventCaptured",e=>tU.info('send "'+(null==e?void 0:e.event)+'"',e))}init(e,t,n){if(n&&n!==sH){var r,i=null!=(r=sL[n])?r:new sQ;return i._init(e,t,n),sL[n]=i,sL[sH][n]=i,i}return this._init(e,t,n)}_init(e,t,r){void 0===t&&(t={});var i,s,a=W(e)?e.trim():"";if(!a)return tU.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},t.debug=this.Ri(t.debug),this.Oi=t,this.Li=[],t.person_profiles?this.Mi=t.person_profiles:t.process_person&&(this.Mi=t.process_person);var o=sV(t.defaults),l=sW(t),u=nW({},o,l,{name:r,token:a});B(o.rageclick)&&B(l.rageclick)&&(u.rageclick=nW({},o.rageclick,l.rageclick)),B(o.session_recording)&&B(l.session_recording)&&(u.session_recording=nW({},o.session_recording,l.session_recording)),this.set_config(u),this.config.on_xhr_error&&tU.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=t.disable_compression?void 0:iT;var c=this.Fi();this.persistence=new im(this.config,c),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new im(m({},this.config,{persistence:"sessionStorage"}),c,!1);var d=m({},this.persistence.props),f=m({},this.sessionPersistence.props);this.register({$initialization_time:(new Date).toISOString()}),this.Ai=new so(e=>this.$i(e),this.config.request_queue_config),this.Di=new su(this),this.__request_queue=[];var h=this.Si();if(h||(this.sessionManager=new sg(this),this.sessionPropsManager=new sf(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(tU.info("Deferring extension initialization to improve startup performance"),setTimeout(()=>
1{this.Ni(h)},0)):(tU.info("Initializing extensions synchronously"),this.Ni(h)),p.DEBUG=p.DEBUG||this.config.debug,p.DEBUG&&tU.info("Starting in debug mode",{this:this,config:t,thisC:m({},this.config),p:d,s:f}),!this.config.identity_distinct_id||null!=(i=t.bootstrap)&&i.distinctID||(t.bootstrap=m({},t.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),void 0!==(null==(s=t.bootstrap)?void 0:s.distinctID)){var g=t.bootstrap.distinctID,v=this.get_distinct_id(),_=this.persistence.get_property(nb);if(t.bootstrap.isIdentifiedID&&null!=v&&v!==g&&_===nL)this.identify(g);else if(t.bootstrap.isIdentifiedID&&null!=v&&v!==g&&_===nA)tU.warn("Bootstrap distinctID differs from an already-identified user. The existing identity is preserved. Call reset() before reinitializing if you intend to switch users.");else{var y=this.config.get_device_id(n7()),b=t.bootstrap.isIdentifiedID?y:g;this.persistence.set_property(nb,t.bootstrap.isIdentifiedID?nA:nL),this.register({distinct_id:g,$device_id:b})}}if(h)this.register_once({distinct_id:nT,$device_id:null},"");else if(!this.get_distinct_id()){var w=this.config.get_device_id(n7());this.register_once({distinct_id:w,$device_id:w},""),this.persistence.set_property(nb,nL)}return nJ(n,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),t.segment?function(e,t){var n=e.config.segment;if(!n)return t();!function(e,t){var n=e.config.segment;if(!n)return t();var r=n=>{var r=()=>n.anonymousId()||n7();e.config.get_device_id=r,n.id()&&(e.register({distinct_id:n.id(),$device_id:r()}),e.persistence.set_property(nb,nA)),t()},i=n.user();"then"in i&&H(i.then)?i.then(r):r(i)}(e,()=>{var r;n.register((Promise&&Promise.resolve||rK.warn("This browser does not have Promise support, and can not use the segment integration"),r=(t,n)=>{if(!n)return t;t.event.userId||t.event.anonymousId===e.get_distinct_id()||(rK.info("No userId set, resetting PostHog"),e.reset()),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(rK.info("UserId set, identifying with PostHog"),e.identify(t.event.userId));var r=e.calculateEventProperties(n,t.event.properties);return t.event.properties=Object.assign({},r,t.event.properties),t},{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:e=>r(e,e.event.event),page:e=>r(e,nj),identify:e=>r(e,nH),screen:e=>r(e,"$screen")})).then(()=>{t()})})}(this,()=>this.qi()):this.qi(),H(this.config._onCapture)&&this.config._onCapture!==sz&&(tU.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",e=>this.config._onCapture(e.event,e))),this.config.ip&&tU.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}Ni(e){var t,n,r,i,s,a,o,l=performance.now(),u=m({},sQ.__defaultExtensionClasses,this.config.__extensionClasses),c=[];u.featureFlags&&this.ki.push(this.featureFlags=null!=(t=this.featureFlags)?t:new u.featureFlags(this)),u.exceptions&&this.ki.push(this.exceptions=null!=(n=this.exceptions)?n:new u.exceptions(this)),u.historyAutocapture&&this.ki.push(this.historyAutocapture=new u.historyAutocapture(this)),u.tracingHeaders&&this.ki.push(this.tracingHeaders=new u.tracingHeaders(this)),u.siteApps&&this.ki.push(this.siteApps=new u.siteApps(this)),u.sessionRecording&&!e&&this.ki.push(this.sessionRecording=new u.sessionRecording(this)),this.config.disable_scroll_properties||c.push(()=>{this.scrollManager.startMeasuringScrollPosition()}),u.autocapture&&this.ki.push(this.autocapture=new u.autocapture(this)),u.surveys&&this.ki.push(this.surveys=null!=(r=this.surveys)?r:new u.surveys(this)),u.logs&&this.ki.push(this.logs=null!=(i=this.logs)?i:new u.logs(this)),u.conversations&&this.ki.push(this.conversations=null!=(s=this.conversations)?s:new u.conversations(this)),u.productTours&&this.ki.push(this.productTours=new u.productTours(this)),u.heatmaps&&this.ki.push(this.heatmaps=new u.heatmaps(this)),u.webVitalsAutocapture&&this.ki.push(this.webVitalsAutocapture=new u.webVitalsAutocapture(this)),u.exceptionObserver&&this.ki.push(this.exceptionObserver=new u.exceptionObserver(this)),u.deadClicksAutocapture&&this.ki.push(this.deadClicksAutocapture=new u.deadClicksAutocapture(this,rG)),u.toolbar&&this.ki.push(this.toolbar=null!=(a=this.toolbar)?a:new u.toolbar(this)),u.experiments&&this.ki.push(this.experiments=null!=(o=this.experiments)?o:new u.experiments(this)),this.ki.forEach(e
1=>{e.initialize&&c.push(()=>{null==e.initialize||e.initialize()})}),c.push(()=>{if(this.ji){var e=this.ji;this.ji=void 0,this.pr(e)}}),this.Bi(c,l)}Bi(e,t){for(;e.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-t>=30&&e.length>0)return void setTimeout(()=>{this.Bi(e,t)},0);var n=e.shift();if(n)try{n()}catch(e){tU.error("Error initializing extension:",e)}}var r=Math.round(performance.now()-t);this.register_for_session({[nO]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[nN]:r}),this.config.__preview_deferred_init_extensions&&tU.info("PostHog extensions initialized ("+r+"ms)")}pr(e){var t;s&&s.body?(this.config.__preview_deferred_init_extensions&&(this.ji=e),this.Hi=e,this.compression=void 0,e.supportedCompression&&!this.config.disable_compression&&(this.compression=L(e.supportedCompression,iT)?iT:L(e.supportedCompression,iO)?iO:void 0),null!=(t=e.analytics)&&t.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),this.set_config({person_profiles:this.Mi?this.Mi:nz}),this.ki.forEach(t=>null==t.onRemoteConfig?void 0:t.onRemoteConfig(e))):(tU.info("document not ready yet, trying again in 500 milliseconds..."),setTimeout(()=>{this.pr(e)},500))}qi(){try{this.config.loaded(this)}catch(e){tU.critical("`loaded` function failed",e)}if(this.Ui(),this.config.internal_or_test_user_hostname&&null!=a&&a.hostname){var e=a.hostname,t=this.config.internal_or_test_user_hostname;("string"==typeof t?e===t:t.test(e))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout(()=>{(this.consent.isOptedIn()||this.Si())&&this.zi()},1),this.Vi=new iC(this),this.Vi.load()}Ui(){var e;this.is_capturing()&&this.config.request_batching&&(null==(e=this.Ai)||e.enable())}_dom_loaded(){this.is_capturing()&&nV(this.__request_queue,e=>this.$i(e)),this.__request_queue=[],this.Ui()}_handle_unload(){var e,t,n,r;null==(e=this.surveys)||e.handlePageUnload(),this.config.request_batching?(this.Wi()&&this.capture(nU),null==(t=this.logs)||t.flushLogs("sendBeacon"),null==(n=this.Ai)||n.unload(),null==(r=this.Di)||r.unload()):this.Wi()&&this.capture(nU,null,{transport:"sendBeacon"})}_send_request(e){this.__loaded?sB?this.__request_queue.push(e):this.rateLimiter.isServerRateLimited(e.batchKey)?e.fireCallbackOnDrop&&(null==e.callback||e.callback({statusCode:429})):(e.transport=e.transport||this.config.api_transport,e.headers=m({},this.config.request_headers,e.headers),e.compression="best-available"===e.compression?this.compression:e.compression,(q(this.config.disable_beacon)?this.config.__preview_disable_beacon:this.config.disable_beacon)&&(e.disableTransport=["sendBeacon"]),e.fetchOptions=e.fetchOptions||this.config.fetch_options,(e=>{var t,n,r,i=m({},e);i.timeout=i.timeout||6e4,i.url=ss(i.url,i.compression);var s=null!=(t=i.transport)?t:"fetch",a=sa.filter(e=>!i.disableTransport||!e.transport||!i.disableTransport.includes(e.transport)),o=null!=(n=null==(r=function(e){for(var t=0;e.length>t;t++)if(e[t].transport===s)return e[t]}(a))?void 0:r.method)?n:a[0].method;if(!o)throw Error("No available transport method");"sendBeacon"!==s&&i.data&&i.compression===iT&&c&&!i9?si(i).then(e=>{o(e)}).catch(t=>{O(t)?(i9=!0,o(m({},i,{compression:void 0,url:ss(e.url,void 0)}))):((e=>{if(!e||"object"!=typeof e)return!1;var t="name"in e?String(e.name):"";return O(e)||t===C})(t)&&(i9=!0),o(i))}):o(i)})(m({},e,{callback:t=>{var n,r;this.rateLimiter.checkForLimiting(t),400>t.statusCode||null==(n=(r=this.config).on_request_error)||n.call(r,t),null==e.callback||e.callback(t)}}))):e.fireCallbackOnDrop&&(null==e.callback||e.callback({statusCode:0}))}$i(e){this.Di?this.Di.retriableRequest(e):this._send_request(e)}_execute_array(e){sA++;try{var t,n=[],r=[],i=[];nV(e,e=>{if(e)if(U(t=e[0]))i.push(e);else if(H(e))try{e.call(this)}catch(t){tU.error("Error executing queued PostHog call",e,t)}else U(e)&&"alias"===t?n.push(e):U(e)&&-1!==t.indexOf("capture")&&H(this[t])?i.push(e):r.push(e)});var s=function(e,t){nV(e,function(e){try{if(U(e[0])){var n=t;nq(e,function(e){n=n[e[0]].apply(n,e.slice(1))})}else t[e[0]].apply(t,e.slice(1))}catch(t){tU.error("Error executing queued PostHog call",e,t)}})};s(n,this),s(r,this),s(i,this)}finally{sA--}}push(e){if(sA>0&&U(e)&&W(e[0])){var t=sQ.prototype[e[0]];H(t)&&t.apply(this,e.slice(1))}else this._execute_array([e])}capture(e,t,n){var r,i,s,a,o;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Ai){if(this.is_capturing())if(!q(e)&&W(e)){var l=!this.config.opt_out_useragent_filter&&this._is_bot();if(!l||this.config.__preview_capture_bot_pageviews){var u=null!=n&&n.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(null==u||!u.isRateLimited){null!=t&&t.$current_url&&!W(null==t?void 0:t.$current_url)&&(tU.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),null==t||delete t.$current_url),"$exception"!==e||null!=n&&n.Gi||tU.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var c=new Date,d=(null==n?void 0:n.timestamp)||c,f=tn(null==n?void 0:n.uuid,n7),h={uuid:f,event:e,properties:this.calculateEventProperties(e,t||{},d,f)};e===nj&&this.config.__preview_capture_bot_pageviews&&l&&(h.event="$bot_pageview",h.properties.$browser_type="bot"),u&&(h.properties.$lib_rate_limit_remaining_tokens=u.remainingTokens),(null==n?void 0:n.$set)&&(h.$set=null==n?void 0:n.$set);var p=null==n?void 0:n.$unset;p&&(h.$unset=p);var g,v,_,y=this.Zi(null==n?void 0:n.$set_once,e!==nB,e===nH);if(y&&(h.$set_once=y),null!=n&&n._noTruncate||(i=this.config.properties_string_max_length,s=h,a=e=>W(e)?e.slice(0,i):e,o=new Set,h=function e(t,n){var r;return t!==Object(t)?a?a(t):t:o.has(t)?void 0:(o.add(t),U(t)?(r=[],nV(t,t=>{r.push(e(t))})):(r={},nq(t,(t,n)=>{o.has(t)||(r[n]=e(t,n))})),r)}(s)),h.timestamp=d,q(null==n?void 0:n.timestamp)||(h.properties.$event_time_override_provided=!0,h.properties.$event_time_override_system_time=c),e===iw||e===iS){var b=null==t?void 0:t.$survey_id,w=null==t?void 0:t.$survey_iteration;(e=>{try{var t,n=(t=""+sC+e.id,e.current_iteration&&e.current_iteration>0&&(t=""+sC+e.id+"_"+e.current_iteration),t);
1if(localStorage.getItem(n))return;localStorage.setItem(n,"true")}catch(e){sP.error("Failed to persist survey seen state",e)}})({id:b,current_iteration:w}),h.$set=m({},h.$set,{[(g={id:b,current_iteration:w},_="$survey_"+(v=e===iS?"responded":"dismissed")+"/"+g.id,g.current_iteration&&g.current_iteration>0&&(_="$survey_"+v+"/"+g.id+"/"+g.current_iteration),_)]:!0})}else e===ib&&(h.$set=m({},h.$set,{$survey_last_seen_date:(new Date).toISOString()}));if("product tour shown"===e){var S=null==t?void 0:t.$product_tour_type;S&&(h.$set=m({},h.$set,{["$product_tour_last_seen_date/"+S]:(new Date).toISOString()}))}var k=m({},h.properties.$set,h.$set);if(V(k)||this.setPersonPropertiesForFlags(k),!K(this.config.before_send)){var x=this.it(h);if(!x)return;(h=x).uuid=tn(h.uuid,n7)}this.Ii.emit("eventCaptured",h);var E={method:"POST",url:null!=(r=null==n?void 0:n._url)?r:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:h,compression:"best-available",batchKey:null==n?void 0:n._batchKey,transport:null==n?void 0:n.transport};return!this.config.request_batching||n&&(null==n||!n._batchKey)||null!=n&&n.send_instantly?this.$i(E):this.Ai.enqueue(E),h}tU.critical("This capture call is ignored due to client rate limiting.")}}else tU.error("No event name provided to posthog.capture")}else tU.uninitializedWarning("posthog.capture")}_addCaptureHook(e){return this.on("eventCaptured",t=>e(t.event,t))}calculateEventProperties(e,t,r,i,o){if(r=r||new Date,!this.persistence||!this.sessionPersistence)return t;var l,u=o?void 0:this.persistence.remove_event_timer(e),c=m({},t);if(c.token=this.config.token,c.$config_defaults=this.config.defaults,this.Si()&&(c.$cookieless_mode=!0),"$snapshot"===e){var f=m({},this.persistence.properties(),this.sessionPersistence.properties());return c.distinct_id=f.distinct_id,(!W(c.distinct_id)&&!X(c.distinct_id)||G(c.distinct_id))&&tU.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),c}var h,g=function(e,t,r,i){if(void 0===i&&(i=!1),!d)return{};var s,o,l,u,c,f,h,g,v,m,_,y,b=e?[...r9,...t||[]]:[],[w,S]=function(e){for(var t=0;e9.length>t;t++){var[n,r]=e9[t],i=n.exec(e),s=i&&(H(r)?r(i,e):r);if(s)return s}return["",""]}(d),k=null!=(c="u">typeof navigator?navigator:void 0)&&c.brave?{brave:!0}:{},x={detectGoogleSearchApp:r},E=nW(nX({$os:w,$os_version:S,$browser:e6(d,navigator.vendor,k,x),$device:te(d),$device_type:(h={userAgentDataPlatform:null==(s=navigator)||null==(s=s.userAgentData)?void 0:s.platform,maxTouchPoints:null==(o=navigator)?void 0:o.maxTouchPoints,screenWidth:null==n||null==(l=n.screen)?void 0:l.width,screenHeight:null==n||null==(u=n.screen)?void 0:u.height,devicePixelRatio:null==n?void 0:n.devicePixelRatio},(y=te(d))===ef||y===ed||"Kobo"===y||"Kindle Fire"===y||y===eH?ec:y===eF||y===eI||y===eR||y===e$?"Console":y===ep?"Wearable":y?el:"Android"===(null==h?void 0:h.userAgentDataPlatform)&&(null!=(g=null==h?void 0:h.maxTouchPoints)?g:0)>0?600>Math.min(null!=(v=null==h?void 0:h.screenWidth)?v:0,null!=(m=null==h?void 0:h.screenHeight)?m:0)/(null!=(_=null==h?void 0:h.devicePixelRatio)?_:1)?el:ec:"Desktop"),$timezone:ih(),$timezone_offset:function(){try{return(new Date).getTimezoneOffset()}catch(e){return}}()}),{$current_url:r6(i?tr(null==a?void 0:a.href):null==a?void 0:a.href,b,it),$host:null==a?void 0:a.host,$pathname:null==a?void 0:a.pathname,$raw_user_agent:d.length>1e3?d.substring(0,997)+"...":d,$browser_version:e7(d,navigator.vendor,k,x),$browser_language:io(),$browser_language_prefix:"string"==typeof(f=io())?f.split("-")[0]:void 0,$screen_height:null==n?void 0:n.screen.height,$screen_width:null==n?void 0:n.screen.width,$viewport_height:null==n?void 0:n.innerHeight,$viewport_width:null==n?void 0:n.innerWidth,$lib:p.LIB_NAME,$lib_version:p.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3});return p.SDK_DIST_CHANNEL&&(E.$sdk_dist_channel=p.SDK_DIST_CHANNEL),E}(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties,this.config.detect_google_search_app,this.config.disable_capture_url_hashes
1);if(this.sessionManager){var{sessionId:v,windowId:_}=this.sessionManager.checkAndGetSessionAndWindowId(o,r.getTime());c.$session_id=v,c.$window_id=_}this.sessionPropsManager&&nW(c,this.sessionPropsManager.getSessionProps());try{this.sessionRecording&&nW(c,this.sessionRecording.sdkDebugProperties),c.$sdk_debug_retry_queue_size=null==(l=this.Di)?void 0:l.length}catch(e){c.$sdk_debug_error_capturing_properties=String(e)}if(this.requestRouter.region===sS&&(c.$lib_custom_api_host=this.config.api_host),h=e!==nj||o?e!==nU||o?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(r):this.pageViewManager.doPageView(r,i),c=nW(c,h),e===nj&&s&&(c.title=s.title),!q(u)){var y=r.getTime()-u;c.$duration=parseFloat((y/1e3).toFixed(3))}d&&this.config.opt_out_useragent_filter&&(c.$browser_type=this._is_bot()?"bot":"browser"),(c=nW({},g,this.persistence.properties(),this.sessionPersistence.properties(),c)).$is_identified=this._isIdentified(),U(this.config.property_denylist)?nq(this.config.property_denylist,function(e){delete c[e]}):tU.error(sU+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var b=this.config.sanitize_properties;b&&(tU.error(sj),c=b(c,e));var w=this.Qi();return c.$process_person_profile=w,w&&!o&&this.Ji("_calculate_event_properties"),c}Zi(e,t,n){if(void 0===t&&(t=!0),void 0===n&&(n=!1),!this.persistence||!this.Qi()||this.Ci&&!n)return e;var r,i=nW({},this.persistence.get_initial_props(),(null==(r=this.sessionPropsManager)?void 0:r.getSetOnceProps())||{},e||{}),s=this.config.sanitize_properties;return s&&(tU.error(sj),i=s(i,"$set_once")),t&&(this.Ci=!0),V(i)?void 0:i}register(e,t){var n;null==(n=this.persistence)||n.register(e,t)}register_once(e,t,n){var r;null==(r=this.persistence)||r.register_once(e,t,n)}register_for_session(e){var t;null==(t=this.sessionPersistence)||t.register(e)}unregister(e){var t;null==(t=this.persistence)||t.unregister(e)}unregister_for_session(e){var t;null==(t=this.sessionPersistence)||t.unregister(e)}Yi(e,t){this.register({[e]:t})}getFeatureFlag(e,t){var n;return null==(n=this.featureFlags)?void 0:n.getFeatureFlag(e,t)}getFeatureFlagPayload(e){var t;return null==(t=this.featureFlags)?void 0:t.getFeatureFlagPayload(e)}getFeatureFlagResult(e,t){var n;return null==(n=this.featureFlags)?void 0:n.getFeatureFlagResult(e,t)}isFeatureEnabled(e,t){var n;return null==(n=this.featureFlags)?void 0:n.isFeatureEnabled(e,t)}reloadFeatureFlags(){var e;null==(e=this.featureFlags)||e.reloadFeatureFlags()}updateFlags(e,t,n){var r;null==(r=this.featureFlags)||r.updateFlags(e,t,n)}updateEarlyAccessFeatureEnrollment(e,t,n){var r;null==(r=this.featureFlags)||r.updateEarlyAccessFeatureEnrollment(e,t,n)}getEarlyAccessFeatures(e,t,n){var r;return void 0===t&&(t=!1),null==(r=this.featureFlags)?void 0:r.getEarlyAccessFeatures(e,t,n)}on(e,t){return this.Ii.on(e,t)}onFeatureFlags(e){return this.featureFlags?this.featureFlags.onFeatureFlags(e):(e([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(e){return this.surveys?this.surveys.onSurveysLoaded(e):(e([],{isLoaded:!1,error:s$}),()=>{})}onSessionId(e){var t,n;return null!=(t=null==(n=this.sessionManager)?void 0:n.onSessionId(e))?t:()=>{}}getSurveys(e,t){void 0===t&&(t=!1),this.surveys?this.surveys.getSurveys(e,t):e([],{isLoaded:!1,error:s$})}getActiveMatchingSurveys(e,t){void 0===t&&(t=!1),this.surveys?this.surveys.getActiveMatchingSurveys(e,t):e([],{isLoaded:!1,error:s$})}renderSurvey(e,t){var n;null==(n=this.surveys)||n.renderSurvey(e,t)}displaySurvey(e,t){var n;void 0===t&&(t=sO),null==(n=this.surveys)||n.displaySurvey(e,t)}cancelPendingSurvey(e){var t;null==(t=this.surveys)||t.cancelPendingSurvey(e)}canRenderSurvey(e){var t,n;return null!=(t=null==(n=this.surveys)?void 0:n.canRenderSurvey(e))?t:{visible:!1,disabledReason:s$}}canRenderSurveyAsync(e,t){var n,r;return void 0===t&&(t=!1),null!=(n=null==(r=this.surveys)?void 0:r.canRenderSurveyAsync(e,t))?n:Promise.resolve({visible:!1,disabledReason:s$})}Ki(e){return!e||G(e)?(tU.critical("Unique user id has not been set in posthog.identify"),!1):e===nT?(tU.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(e.toLowerCase())&&!["undefined","null"].includes(e.toLowerCase())||(tU.critical('The string "'+e+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and n
1ot a hardcoded string.'),!1)}identify(e,t,n){if(!this.__loaded||!this.persistence)return tU.uninitializedWarning("posthog.identify");if(X(e)&&(e=e.toString(),tU.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.Ki(e)&&this.Ji("posthog.identify")){var r=this.get_distinct_id();this.register({$user_id:e}),this.get_property(tW)||this.register_once({$had_persisted_distinct_id:!0,$device_id:r},""),e!==r&&e!==this.get_property(tG)&&(this.unregister(tG),this.register({distinct_id:e}));var i,s=(this.persistence.get_property(nb)||nL)===nL;e!==r&&s?(this.persistence.set_property(nb,nA),this.setPersonPropertiesForFlags({$set:t||{},$set_once:n||{}},!1),this.capture(nH,{distinct_id:e,$anon_distinct_id:r},{$set:t||{},$set_once:n||{}}),this.Pi=s_(e,t,n),null==(i=this.featureFlags)||i.setAnonymousDistinctId(r)):(t||n)&&this.setPersonProperties(t,n),e!==r&&(this.reloadFeatureFlags(),this.unregister(nv))}}setPersonProperties(e,t){if((e||t)&&this.Ji("posthog.setPersonProperties")){var n=s_(this.get_distinct_id(),e,t);this.Pi!==n?(this.setPersonPropertiesForFlags({$set:e||{},$set_once:t||{}},!0),this.capture("$set",{$set:e||{},$set_once:t||{}}),this.Pi=n):tU.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}unsetPersonProperties(e){var t,n=(U(e)?e:[e]).filter(e=>W(e)&&e.length>0);0!==n.length&&this.Ji("posthog.unsetPersonProperties")&&(null==(t=this.featureFlags)||t.unsetPersonPropertiesForFlags(n,!0),this.capture("$set",{$unset:n}),this.Pi=null)}group(e,t,n){if(e&&t){var r=this.getGroups(),i=r[e]!==t;if(i&&this.resetGroupPropertiesForFlags(e),this.register({$groups:m({},r,{[e]:t})}),i||n){var s={$group_type:e,$group_key:t};n&&(s.$group_set=n),this.capture(nB,s)}n&&this.setGroupPropertiesForFlags({[e]:n}),i&&!n&&this.reloadFeatureFlags()}else tU.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(e,t){var n;void 0===t&&(t=!0),null==(n=this.featureFlags)||n.setPersonPropertiesForFlags(e,t)}resetPersonPropertiesForFlags(e){var t;void 0===e&&(e=!0),null==(t=this.featureFlags)||t.resetPersonPropertiesForFlags(e)}setGroupPropertiesForFlags(e,t){var n;void 0===t&&(t=!0),this.Ji("posthog.setGroupPropertiesForFlags")&&(null==(n=this.featureFlags)||n.setGroupPropertiesForFlags(e,t))}resetGroupPropertiesForFlags(e){var t;null==(t=this.featureFlags)||t.resetGroupPropertiesForFlags(e)}reset(e){if(tU.info("reset"),!this.__loaded)return tU.uninitializedWarning("posthog.reset");var t,n,r,i,s,a,o,l,u,c,d=this.get_property(tW),f=this.get_property(t4);if(this.consent.reset(),null==(t=this.persistence)||t.clear(),null==(n=this.sessionPersistence)||n.clear(),q(f)||null==(c=this.persistence)||c.register({[t4]:f}),null==(r=this.surveys)||r.reset(),null==(i=this.Vi)||i.stop(),null==(s=this.featureFlags)||s.reset(),null==(a=this.conversations)||a.reset(),null==(o=this.logs)||o.reset(),null==(l=this.persistence)||l.set_property(nb,nL),null==(u=this.sessionManager)||u.resetSessionId(),this.Pi=null,this.config.cookieless_mode===nM)this.register_once({distinct_id:nT,$device_id:null},"");else{var h=this.config.get_device_id(n7());this.register_once({distinct_id:h,$device_id:e?h:d},"")}this.register({$last_posthog_reset:(new Date).toISOString()},1),delete this.config.identity_distinct_id,delete this.config.identity_hash,this.reloadFeatureFlags()}setIdentity(e,t){var n;this.config.identity_distinct_id=e,this.config.identity_hash=t,this.alias(e),null==(n=this.conversations)||n.Xi()}clearIdentity(){var e;delete this.config.identity_distinct_id,delete this.config.identity_hash,null==(e=this.conversations)||e.en()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var e,t;return null!=(e=null==(t=this.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0).sessionId)?e:""}get_session_replay_url(e){if(!this.sessionManager)return"";var{sessionId:t,sessionStartTimestamp:n}=this.sessionManager.checkAndGetSessionAndWindowId(!0),r=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+t);if(null!=e&&e.withTimestamp&&n){var i,s=null!=(i=e.timestampLookBack)?i:10;if(!n)return r;r+="?t="+Math.max(Math.floor(((new Date).getTime()-n)/1e3)-s,0)}return r}alias(e,t){return e===this.get_property(tq)?(tU.critical("Attempting to create alias for existing People user - aborting."),-2):this.Ji("posthog.alias")?(q(t)&&(t=this.get_distinct_id()),e!==t?(this.Yi(tG,e),this.capture("$create_alias",{alias:e,distinct_id:t})):(tU.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1)):void 0}set_config(e){var t=m({},this.config);if(B(e)){nW(this.config,sW(e));var n,r,i,s,a,o,l,u,c,d,f,h=this.Fi();null==(n=this.persistence)||n.update_config(this.config,t,h),this.sessionPersistence="sessionStorage"===this.config.persistence||"memory"===this.config.persistence?this.persistence:new im(m({},this.config,{persistence:"sessionStorage"}),h,!1);var g=this.Ri(this.config.debug);J(g)&&(this.config.debug=g),J(this.config.debug)&&(this.config.debug?(p.DEBUG=!0,ri.N()&&ri.q("ph_debug",!0),t
1U.info("set_config",{config:e,oldConfig:t,newConfig:m({},this.config)})):(p.DEBUG=!1,ri.N()&&ri.P("ph_debug"))),null==(r=this.exceptionObserver)||r.onConfigChange(),null==(i=this.exceptions)||i.onConfigChange(),null==(s=this.sessionRecording)||s.startIfEnabledOrStop(),null==(a=this.tracingHeaders)||a.startIfEnabledOrStop(),null==(o=this.autocapture)||o.startIfEnabled(),null==(l=this.heatmaps)||l.startIfEnabled(),null==(u=this.exceptionObserver)||u.startIfEnabledOrStop(),null==(c=this.deadClicksAutocapture)||c.startIfEnabledOrStop(),null==(d=this.surveys)||d.loadIfEnabled(),this.tn(),null==(f=this.externalIntegrations)||f.startIfEnabledOrStop()}}_overrideSDKInfo(e,t){p.LIB_NAME=e,p.LIB_VERSION=t}startSessionRecording(e){var t,n,r,i,s,a=!0===e,o={sampling:a||!(null==e||!e.sampling),linked_flag:a||!(null==e||!e.linked_flag),url_trigger:a||!(null==e||!e.url_trigger),event_trigger:a||!(null==e||!e.event_trigger)};Object.values(o).some(Boolean)&&(null==(t=this.sessionManager)||t.checkAndGetSessionAndWindowId(),o.sampling&&(null==(n=this.sessionRecording)||n.overrideSampling()),o.linked_flag&&(null==(r=this.sessionRecording)||r.overrideLinkedFlag()),o.url_trigger&&(null==(i=this.sessionRecording)||i.overrideTrigger("url")),o.event_trigger&&(null==(s=this.sessionRecording)||s.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var e;return!(null==(e=this.sessionRecording)||!e.started)}captureException(e,t){if(this.exceptions){var n=Error("PostHog syntheticException"),r=this.exceptions.buildProperties(e,{handled:!0,syntheticException:n});return this.exceptions.sendExceptionEvent(m({},r,t))}}addExceptionStep(e,t){var n;null==(n=this.exceptions)||n.addExceptionStep(e,t)}captureLog(e){var t;null==(t=this.logs)||t.captureLog(e)}get logger(){var e,t;return null!=(e=null==(t=this.logs)?void 0:t.logger)?e:sQ.rn}startExceptionAutocapture(e){this.set_config({capture_exceptions:null==e||e})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(e){var t,n;return null!=(t=null==(n=this.toolbar)?void 0:n.loadToolbar(e))&&t}get_property(e){var t;return null==(t=this.persistence)?void 0:t.props[e]}getSessionProperty(e){var t;return null==(t=this.sessionPersistence)?void 0:t.props[e]}toString(){var e,t=null!=(e=this.config.name)?e:sH;return t!==sH&&(t=sH+"."+t),t}_isIdentified(){var e,t;return(null==(e=this.persistence)?void 0:e.get_property(nb))===nA||(null==(t=this.sessionPersistence)?void 0:t.get_property(nb))===nA}Qi(){var e,t;return!("never"===this.config.person_profiles||this.config.person_profiles===nz&&!this._isIdentified()&&V(this.getGroups())&&(null==(e=this.persistence)||null==(e=e.props)||!e[tG])&&(null==(t=this.persistence)||null==(t=t.props)||!t[nP]))}Wi(){return!0===this.config.capture_pageleave||"if_capture_pageview"===this.config.capture_pageleave&&(!0===this.config.capture_pageview||"history_change"===this.config.capture_pageview)}createPersonProfile(){this.Qi()||this.Ji("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.Ji("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}Ji(e){return"never"===this.config.person_profiles?(tU.error(e+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.Yi(nP,!0),!0)}Fi(){if("always"===this.config.cookieless_mode)return!0;var e=this.consent.isOptedOut();return this.config.disable_persistence||e&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==nI)}tn(){var e,t,n,r,i=this.Fi();return(null==(e=this.persistence)?void 0:e.Vt)!==i&&(null==(n=this.persistence)||n.set_disabled(i)),(null==(t=this.sessionPersistence)?void 0:t.Vt)!==i&&(null==(r=this.sessionPersistence)||r.set_disabled(i)),i}opt_in_capturing(e){var t;if(this.config.cookieless_mode!==nM){if(this.Si()){this.reset(!0),null==(i=this.sessionManager)||i.destroy(),null==(s=this.pageViewManager)||s.destroy(),this.sessionManager=new sg(this),this.pageViewManager=new rZ(this),this.persistence&&(this.sessionPropsManager=new sf(this,this.sessionManager,this.persistence));var n,r,i,s,a,o,l,u,c=null!=(a=null==(o=this.config.__extensionClasses)?void 0:o.sessionRecording)?a:null==(l=sQ.__defaultExtensionClasses)?void 0:l.sessionRecording;c&&(this.sessionRecording=this.xi(this.sessionRecording,new c(this)),this.Hi&&(null==(u=this.sessionRecording)||null==u.onRemoteConfig||u.onRemoteConfig(this.Hi)))}this.consent.optInOut(!0),this.tn(),this.Ui(),null==(t=this.sessionRecording)||t.startIfEnabledOrStop(),this.config.cookieless_mode==nI&&(null==(n=this.surveys)||n.loadIfEnabled()),(q(null==e?void 0:e.captureEventName)||null!=e&&e.captureEventName)&&this.capture(null!=(r=null==e?void 0:e.captureEventName)?r:"$opt_in",null==e?void 0:e.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.zi()}else tU.warn(sD)}opt_out_capturing(){var e,t,n;this.config.cookieless_mode!==nM?(this.config.cookieless_mode===nI&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.tn(),this.config.cookieless_mode===nI&&(this.register({distinct_id:nT,$device_id:null}),null==(e=this.sessionRecording)||e.stopRecording(),this.sessionRecording=void 0,null==(t=this.sessionManager)||t.destroy(),null==(n=this.pageViewM
1anager)||n.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,this.config.capture_pageview&&this.zi(),this.Ui())):tU.warn(sD)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var e=this.consent.consent;return 1===e?"granted":0===e?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===nM||(this.config.cookieless_mode===nI?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.tn()}_is_bot(){return i?sv(i,this.config.custom_blocked_useragents):void 0}zi(){s&&("visible"===s.visibilityState?this.Ti||(this.Ti=!0,this.capture(nj,{title:s.title},{send_instantly:!0}),this.Ei&&(s.removeEventListener(nD,this.Ei),this.Ei=null)):this.Ei||(this.Ei=this.zi.bind(this),nJ(s,nD,this.Ei)))}debug(e){!1===e?(null==n||n.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(null==n||n.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}mr(){var e,t,n,r,i=this.Oi||{};return"advanced_disable_flags"in i?!!i.advanced_disable_flags:!1!==this.config.advanced_disable_flags?!!this.config.advanced_disable_flags:!0===this.config.advanced_disable_decide?(tU.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(t="advanced_disable_decide",n=(e="advanced_disable_flags")in i&&!K(i[e]),r=t in i&&!K(i[t]),n?i[e]:!!r&&(tU&&tU.warn("Config field '"+t+"' is deprecated. Please use '"+e+"' instead. The old field will be removed in a future major version."),i[t]))}it(e){if(K(this.config.before_send))return e;var t,n=Object.keys(null!=(t=e.properties)?t:{}).filter(ee),r=U(this.config.before_send)?this.config.before_send:[this.config.before_send],i=e;for(var s of r){if(K(i=s(i))){var a="Event '"+e.event+"' was rejected in beforeSend function";return Z(e.event)?tU.warn(a+". This can cause unexpected behavior."):tU.info(a),null}i.properties&&!V(i.properties)||tU.warn("Event '"+e.event+"' has no properties after beforeSend function, this is likely an error.")}for(var o of n)if(i.properties&&K(i.properties[o]))return tU.warn("Event '"+e.event+"' had its '"+o+"' property removed in a beforeSend function. This property is required for ingestion, so the event will be dropped."),null;return i}getPageViewId(){var e;return null==(e=this.pageViewManager.Ot)?void 0:e.pageViewId}captureTraceFeedback(e,t){this.capture("$ai_feedback",{$ai_trace_id:String(e),$ai_feedback_text:t})}captureTraceMetric(e,t,n){this.capture("$ai_metric",{$ai_trace_id:String(e),$ai_metric_name:t,$ai_metric_value:String(n)})}Ri(e){var t=J(e)&&!e,n=ri.N()&&"true"===ri.A("ph_debug");return!t&&(!!n||e)}}sQ.__defaultExtensionClasses={},sQ.rn={trace:sM=()=>{},debug:sM,info:sM,warn:sM,error:sM,fatal:sM},function(e,t){for(var n=0;t.length>n;n++)e.prototype[t[n]]=nK(e.prototype[t[n]])}(sQ,["identify"]);class sK{constructor(e){this.disabled=!1===e;var t=B(e)?e:{};this.thresholdPx=t.threshold_px||30,this.timeoutMs=t.timeout_ms||1e3,this.clickCount=t.click_count||3,this.clicks=[]}isRageClick(e,t,n){if(this.disabled)return!1;var r=this.clicks[this.clicks.length-1];if(r&&Math.abs(e-r.x)+Math.abs(t-r.y)<this.thresholdPx&&this.timeoutMs>n-r.timestamp){if(this.clicks.push({x:e,y:t,timestamp:n}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:e,y:t,timestamp:n}];return!1}}var sX="$copy_autocapture",sY=tH("[AutoCapture]");function sJ(e,t){return t.length>e?t.slice(0,e)+"...":t}var sZ=tH("[ExceptionAutocapture]"),s0=tH("[TracingHeaders]"),s1=tH("[Web Vitals]"),s2="disabled",s3="lazy_loading",s4="awaiting_config",s5="missing_config";tH("[SessionRecording]"),tH("[SessionRecording]");var s6="[SessionRecording]",s8=tH(s6),s7=tH("[Heatmaps]");function s9(e){return B(e)&&"clientX"in e&&"clientY"in e&&X(e.clientX)&&X(e.clientY)}var ae=tH("[Product Tours]"),at=e=>{var t;return!e.config.disable_product_tours&&!(null==(t=e.persistence)||!t.get_property(t2))},an=["$set_once","$set"],ar=tH("[SiteApps]"),ai="Error while initializing PostHog app with config id ";function as(e,t,n){if(K(e))return!1;switch(n){case"exact":return e===t;case"contains":return RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*"),"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch(e){return!1}default:return!1}}class aa{constructor(e){this.nn=new sh,this.sn=(e,t)=>this.an(e,t)&&this.ln(e,t)&&this.un(e,t)&&this.hn(e,t),this.an=(e,t)=>null==t||!t.event||(null==e?void 0:e.event)===(null==t?void 0:t.event),this._instance=e,this.dn=new Set,this.cn=new Set}init(){var e,t;q(null==(e=this._instance)?void 0:e._addCaptureHook)||null==(t=this._instance)||t._addCaptureHook((e,t)=>{this.on(e,t)})}register(e){var t,n;if(!q(null==(t=this._instance)?void 0:t._addCaptureHook)&&(e.forEach(e
vendor: 4,639 bytes, line 1
1=>{var t,n;null==(t=this.cn)||t.add(e),null==(n=e.steps)||n.forEach(e=>{var t;null==(t=this.dn)||t.add((null==e?void 0:e.event)||"")})}),null!=(n=this._instance)&&n.autocapture)){var r,i=new Set;e.forEach(e=>{var t;null==(t=e.steps)||t.forEach(e=>{null!=e&&e.selector&&i.add(null==e?void 0:e.selector)})}),null==(r=this._instance)||r.autocapture.setElementSelectors(i)}}on(e,t){var n;null!=t&&0!=e.length&&(this.dn.has(e)||this.dn.has(null==t?void 0:t.event))&&this.cn&&(null==(n=this.cn)?void 0:n.size)>0&&this.cn.forEach(e=>{this.vn(t,e)&&this.nn.emit("actionCaptured",e.name)})}fn(e){this.onAction("actionCaptured",t=>e(t))}vn(e,t){if(null==(null==t?void 0:t.steps))return!1;for(var n of t.steps)if(this.sn(e,n))return!0;return!1}onAction(e,t){return this.nn.on(e,t)}ln(e,t){if(null!=t&&t.url){var n,r=null==e||null==(n=e.properties)?void 0:n.$current_url;if(!r||"string"!=typeof r||!as(r,t.url,t.url_matching||"contains"))return!1}return!0}un(e,t){return!!this.pn(e,t)&&!!this.gn(e,t)&&!!this.mn(e,t)}pn(e,t){if(null==t||!t.href)return!0;var n=this.yn(e);if(n.length>0)return n.some(e=>as(e.href,t.href,t.href_matching||"exact"));var r,i,s=(null==e||null==(r=e.properties)?void 0:r.$elements_chain)||"";return!!s&&as((i=s.match(/(?::|")href="(.*?)"/))?i[1]:"",t.href,t.href_matching||"exact")}gn(e,t){if(null==t||!t.text)return!0;var n=this.yn(e);if(n.length>0)return n.some(e=>as(e.text,t.text,t.text_matching||"exact")||as(e.$el_text,t.text,t.text_matching||"exact"));var r,i,s,a,o=(null==e||null==(r=e.properties)?void 0:r.$elements_chain)||"";return!!o&&(i=function(e){for(var t,n=[],r=/(?::|")text="(.*?)"/g;!K(t=r.exec(e));)n.includes(t[1])||n.push(t[1]);return n}(o),s=t.text,a=t.text_matching||"exact",i.some(e=>as(e,s,a)))}mn(e,t){if(null==t||!t.selector)return!0;var n,r,i=null==e||null==(n=e.properties)?void 0:n.$element_selectors;if(null!=i&&i.includes(t.selector))return!0;var s=(null==e||null==(r=e.properties)?void 0:r.$elements_chain)||"";if(t.selector_regex&&s)try{return new RegExp(t.selector_regex).test(s)}catch(e){}return!1}yn(e){var t;return null==(null==e||null==(t=e.properties)?void 0:t.$elements)?[]:null==e?void 0:e.properties.$elements}hn(e,t){return null==t||!t.properties||0===t.properties.length||sw(t.properties.reduce((e,t)=>{var n=U(t.value)?t.value.map(String):null!=t.value?[String(t.value)]:[];return e[t.key]={values:n,operator:t.operator||"exact"},e},{}),null==e?void 0:e.properties)}}class ao{constructor(e){this.bn=[],this._instance=e,this._n=new Map,this.wn=new Map,this.xn=new Map}kn(e,t){return!!e&&sw(e.propertyFilters,null==t?void 0:t.properties)}Sn(e,t){var n=new Map;return e.forEach(e=>{var r;null==(r=e.conditions)||null==(r=r[t])||null==(r=r.values)||r.forEach(t=>{if(null!=t&&t.name){var r=n.get(t.name)||[];r.push(e.id),n.set(t.name,r)}})}),n}Cn(e,t,n){var r=(n===i_?this._n:this.wn).get(e),i=[];return this.In(e=>{i=e.filter(e=>null==r?void 0:r.includes(e.id))}),i.filter(r=>{var i,s=null==(i=r.conditions)||null==(i=i[n])||null==(i=i.values)?void 0:i.find(t=>t.name===e);return this.kn(s,t)})}register(e){var t;q(null==(t=this._instance)?void 0:t._addCaptureHook)||(this.Tn(e),this.En(e))}En(e){var t=e.filter(e=>{var t,n;return(null==(t=e.conditions)?void 0:t.actions)&&(null==(n=e.conditions)||null==(n=n.actions)||null==(n=n.values)?void 0:n.length)>0});0!==t.length&&(null==this.Mn&&(this.Mn=new aa(this._instance),this.Mn.init(),this.Mn.fn(e=>{this.onAction(e)})),t.forEach(e=>{var t,n,r,i,s;e.conditions&&null!=(t=e.conditions)&&t.actions&&null!=(n=e.conditions)&&null!=(n=n.actions)&&n.values&&(null==(r=e.conditions)||null==(r=r.actions)||null==(r=r.values)?void 0:r.length)>0&&(null==(i=this.Mn)||i.register(e.conditions.actions.values),null==(s=e.conditions)||null==(s=s.actions)||null==(s=s.values)||s.forEach(t=>{if(t&&t.name){var n=this.xn.get(t.name);n&&n.push(e.id),this.xn.set(t.name,n||[e.id])}}))}))}Tn(e){var t,n=e.filter(e=>{var t,n;return(null==(t=e.conditions)?void 0:t.events)&&(null==(n=e.conditions)||null==(n=n.events)||null==(n=n.values)?void 0:n.length)>0}),r=e.filter(e=>{var t,n;return(null==(t=e.conditions)?void 0:t.cancelEvents)&&(null==(n=e.conditions)||null==(n=n.cancelEvents)||null==(n=n.values)?void 0:n.length)>0});0===n.length&&0===r.length||(null==(t=this._instance)||t._addCaptureHook((e,t)=>{this.onEvent(e,t)}),this._n=this.Sn(e,i_),this.wn=this.Sn(e,iy))}onEvent(e,t){var n,r,i=this.Pn(),s=(null==t||null==(n=t.properties)?void 0:n.$survey_id)||(null==t||null==(r=t.properties)?void 0:r.$product_tour_id);if(s&&this.getActivatedIds().includes(s)){var a=this.Rn(e,s);if("consume"===a)return i.info("event consumed activated item, remov
1ing it",{event:e,itemId:s}),void this.On([s]);if("persist"===a)return i.info("shown item promoted to persisted activation",{event:e,itemId:s}),void this.Ln(s)}if(this.wn.has(e)){var o=this.Cn(e,t,iy);o.length>0&&(i.info("cancel event matched, cancelling items",{event:e,itemsToCancel:o.map(e=>e.id)}),this.On(o.map(e=>e.id)),o.forEach(e=>this.Fn(e.id)))}if(this._n.has(e)){i.info("event name matched",{event:e,eventPayload:t,items:this._n.get(e)});var l=this.Cn(e,t,i_);this.An(l.map(e=>e.id))}}onAction(e){this.xn.has(e)&&this.An(this.xn.get(e)||[])}An(e){0!==e.length&&(this.bn=[...new Set([...this.bn,...e])],this.Pn().info("updating activated items",{activatedItems:this.getActivatedIds()}))}Ln(e){this.bn=this.bn.filter(t=>t!==e);var t=this.$n();t.includes(e)||this.Dn([...t,e])}On(e){var t=new Set(e);this.bn=this.bn.filter(e=>!t.has(e));var n=this.$n(),r=n.filter(e=>!t.has(e));r.length!==n.length&&this.Dn(r)}$n(){var e,t=this.Nn();return(null==(e=this._instance)||null==(e=e.persistence)?void 0:e.props[t])||[]}getActivatedIds(){return[...new Set([...this.$n(),...this.bn])].filter(e=>!this.qn(e))}reset(){this.bn=[],this.$n().length>0&&this.Dn([])}getEventToItemsMap(){return this._n}jn(){return this.Mn}}class al extends ao{constructor(e){super(e)}Nn(){return np}Bn(){return ib}In(e){var t;null==(t=this._instance)||t.getSurveys(e)}Fn(e){var t;null==(t=this._instance)||t.cancelPendingSurvey(e)}Pn(){return sP}Dn(e){var t;null==(t=this._instance)||null==(t=t.persistence)||t.register({[np]:e})}qn(){return!1}Rn(e,t){var n,r,i,s,a,o;return this.In(e=>{o=e.find(e=>e.id===t)}),!o||(a=(null!=(r=null==(i=(n=o).conditions)||null==(i=i.events)||null==(i=i.values)?void 0:i.length)?r:0)>0,"always"===n.schedule||null!=(s=n.conditions)&&null!=(s=s.events)&&s.repeatedActivation&&a)?e===ib?"consume":"ignore":e===ib?"persist":e===iw||e===iS?"consume":"ignore"}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var au="SDK is not enabled or survey functionality is not yet loaded",ac="Disabled. Not loading surveys.",ad=null!=n&&n.location?r8(n.location.hash,"__posthog")||r8(location.hash,"state"):null,af="_postHogToolbarParams",ah=tH("[Toolbar]"),ap=tH("[FeatureFlags]"),ag=tH("[FeatureFlags]",{debugEnabled:!0}),av="\" failed. Feature flags didn't load in time.",am=e=>{for(var t={},n=0;e.length>n;n++)t[e[n]]=!0;return t},a_=e=>{var t={};for(var[n,r]of nG(e||{}))r&&(t[n]=r);return t},ay=tH("[Error tracking]"),ab="Refusing to render web experiment since the viewer is a likely bot",aw={icontains:(e,t)=>!!n&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!n&&-1===t.href.toLowerCase().indexOf(e.toLowerCase()),regex:(e,t)=>!!n&&sm(t.href,e),not_regex:(e,t)=>!!n&&!sm(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class aS{get Se(){return this._instance.config}constructor(e){var t=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(e){void 0===e&&(e=!1),t.getWebExperiments(e=>{aS.Hn("retrieved web experiments from the server"),t.Un=new Map,e.forEach(e=>{if(e.feature_flag_key){t.Un&&(aS.Hn("setting flag key ",e.feature_flag_key," to web experiment ",e),null==(n=t.Un)||n.set(e.feature_flag_key,e));var n,r=t._instance.getFeatureFlag(e.feature_flag_key);W(r)&&e.variants[r]&&t.zn(e.name,r,e.variants[r].transforms)}else if(e.variants)for(var i in e.variants){var s=e.variants[i];aS.Vn(s)&&t.zn(e.name,i,s.transforms)}})},e)},this._instance=e,this._instance.onFeatureFlags(e=>{this.onFeatureFlags(e)})}initialize(){}onFeatureFlags(e){if(this._is_bot())aS.Hn(ab);else if(!this.Se.disable_web_experiments){if(K(this.Un))return this.Un=new Map,this.loadIfEnabled(),void this.previewWebExperiment();aS.Hn("applying feature flags",e),e.forEach(e=>{var t;if(this.Un&&null!=(t=this.Un)&&t.has(e)){var n,r=this._instance.getFeatureFlag(e),i=null==(n=this.Un)?void 0:n.get(e);r&&null!=i&&i.variants[r]&&this.zn(i.name,r,i.variants[r].transforms)}})}}previewWebExperiment(){var e=aS.getWindowLocation();if(null!=e&&e.search){var t=r5(null==e?void 0:e.search,"__experiment_id"),n=r5(null==e?void 0:e.search,"__experiment_variant");t&&n&&(aS.Hn("previewing web experiments "+t+" && "+n),this.getWebExperiments(e=>{this.Wn(parseInt(t),n,e)},!1,!0))}}loadIfEnabled(){this.Se.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}
1getWebExperiments(e,t,n){if(this.Se.disable_web_experiments&&!n)return e([]);var r=this._instance.get_property("$web_experiments");if(r&&!t)return e(r);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.Se.token),method:"GET",callback:t=>e(200===t.statusCode&&t.json&&t.json.experiments||[])})}Wn(e,t,n){var r=n.filter(t=>t.id===e);r&&r.length>0&&(aS.Hn("Previewing web experiment ["+r[0].name+"] with variant ["+t+"]"),this.zn(r[0].name,t,r[0].variants[t].transforms))}static Vn(e){return!K(e.conditions)&&aS.Gn(e)&&aS.Zn(e)}static Gn(e){if(K(e.conditions)||K(null==(t=e.conditions)?void 0:t.url))return!0;var t,n,r,i,s=aS.getWindowLocation();return!!s&&(null==(n=e.conditions)||!n.url||aw[null!=(r=null==(i=e.conditions)?void 0:i.urlMatchType)?r:"icontains"](e.conditions.url,s))}static getWindowLocation(){return null==n?void 0:n.location}static Zn(e){if(K(e.conditions)||K(null==(n=e.conditions)?void 0:n.utm))return!0;var t=ii();if(t.utm_source){var n,r,i,s,a,o,l,u,c,d=null==(r=e.conditions)||null==(r=r.utm)||!r.utm_campaign||(null==(i=e.conditions)||null==(i=i.utm)?void 0:i.utm_campaign)==t.utm_campaign,f=null==(s=e.conditions)||null==(s=s.utm)||!s.utm_source||(null==(a=e.conditions)||null==(a=a.utm)?void 0:a.utm_source)==t.utm_source,h=null==(o=e.conditions)||null==(o=o.utm)||!o.utm_medium||(null==(l=e.conditions)||null==(l=l.utm)?void 0:l.utm_medium)==t.utm_medium,p=null==(u=e.conditions)||null==(u=u.utm)||!u.utm_term||(null==(c=e.conditions)||null==(c=c.utm)?void 0:c.utm_term)==t.utm_term;return d&&h&&p&&f}return!1}static Hn(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];tU.info("[WebExperiments] "+e,n)}
1zn(e,t,n){this._is_bot()?aS.Hn(ab):"control"!==t?n.forEach(n=>{if(n.selector){aS.Hn("applying transform of variant "+t+" for experiment "+e+" ",n);var r,i=null==(r=document)?void 0:r.querySelectorAll(n.selector);null==i||i.forEach(e=>{n.html&&(e.innerHTML=n.html),n.css&&e.setAttribute("style",n.css)})}}):aS.Hn("Control variants leave the page unmodified.")}_is_bot(){return i&&this._instance?sv(i,this.Se.custom_blocked_useragents):void 0}}var ak=tH("[Conversations]"),ax="Conversations not available yet.",aE="console",aP={featureFlags:class{constructor(e){this.Qn=!1,this.Jn=!1,this.Yn=!1,this.Kn=!1,this.Xn=!1,this.es=!1,this.ts=!1,this.rs=!1,this._instance=e,this.featureFlagEventHandlers=[]}get Se(){return this._instance.config}get Ur(){return this._instance.persistence}ns(e){return this._instance.get_property(e)}ss(){var e,t;return null!=(e=null==(t=this.Ur)?void 0:t.Gt(this.Se.feature_flag_cache_ttl_ms))&&e}os(){return!!this.ss()&&(this.rs||this.Yn||(this.rs=!0,ap.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}ls(){var e,t=null!=(e=this.Se.evaluation_contexts)?e:this.Se.evaluation_environments;return!this.Se.evaluation_environments||this.Se.evaluation_contexts||this.ts||(ap.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.ts=!0),null!=t&&t.length?t.filter(e=>{var t=e&&"string"==typeof e&&e.trim().length>0;return t||ap.error("Invalid evaluation context found:",e,"Expected non-empty string"),t}):[]}us(){return this.ls().length>0}hs(){var e=this.Se.flag_keys;if(!q(e)){if(U(e))return e.filter(e=>{var t=e&&"string"==typeof e&&e.trim().length>0;return t||ap.error("Invalid flag key found:",e,"Expected non-empty string"),t});ap.error("Invalid flag_keys found:",e,"Expected array of non-empty strings")}}initialize(){var e,t,{config:n}=this._instance,r=null!=(e=null==(t=n.bootstrap)?void 0:t.featureFlags)?e:{};if(Object.keys(r).length){var i,s,a=null!=(i=null==(s=n.bootstrap)?void 0:s.featureFlagPayloads)?i:{},o=Object.keys(r).filter(e=>!!r[e]).reduce((e,t)=>(e[t]=r[t]||!1,e),{}),l=Object.keys(a).filter(e=>o[e]).reduce((e,t)=>(a[t]&&(e[t]=a[t]),e),{});this.receivedFeatureFlags({featureFlags:o,featureFlagPayloads:l})}}updateFlags(e,t,n){var r,i,s=null!=n&&n.merge&&null!=(r=this.ns(nn))?r:{},a=null!=n&&n.merge&&null!=(i=this.ns(na))?i:{},o=m({},s,e),l=m({},a,t),u={};for(var[c,d]of Object.entries(o))u[c]={key:c,enabled:"string"==typeof d||d,variant:"string"==typeof d?d:void 0,reason:void 0,metadata:q(null==l?void 0:l[c])?void 0:{id:0,version:void 0,description:void 0,payload:l[c]}};this.receivedFeatureFlags({flags:u})}get hasLoadedFlags(){return this.Jn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.ns(ns),t=this.ns(nl),n=this.ns(nu);if(!n&&!t)return e||{};var r=nW({},e||{});for(var i of[...new Set([...Object.keys(n||{}),...Object.keys(t||{})])]){var s,a,o=r[i],l=null==t?void 0:t[i],u=q(l)?null!=(s=null==o?void 0:o.enabled)&&s:!!l,c=q(l)?o.variant:"string"==typeof l?l:void 0,d=null==n?void 0:n[i],f=m({},o,{enabled:u,variant:u?null!=c?c:null==o?void 0:o.variant:void 0});u!==(null==o?void 0:o.enabled)&&(f.original_enabled=null==o?void 0:o.enabled),c!==(null==o?void 0:o.variant)&&(f.original_variant=null==o?void 0:o.variant),d&&(f.metadata=m({},null==o?void 0:o.metadata,{payload:d,original_payload:null==o||null==(a=o.metadata)?void 0:a.payload})),r[i]=f}return this.Qn||(ap.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:n,finalDetails:r}),this.Qn=!0),r}getFlagVariants(){var e=this.ns(nn),t=this.ns(nl);if(!t)return e||{};for(var n=nW({},e),r=Object.keys(t),i=0;r.length>i;i++)n[r[i]]=t[r[i]];return this.Qn||(ap.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:n}),this.Qn=!0),n}getFlagPayloads(){var e=this.ns(na),t=this.ns(nu);if(!t)return e||{};for(var n=nW({},e||{}),r=Object.keys(t),i=0;r.length>i;i++)n[r[i]]=t[r[i]];return this.Qn||(ap.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:n}),this.Qn=!0),n}reloadFeatureFlags(){this.Kn||this.Se.advanced_disable_feature_flags||this.ds||(this._instance.Ii.emit
1("featureFlagsReloading",!0),this.ds=setTimeout(()=>{this.cs()},5))}vs(){clearTimeout(this.ds),this.ds=void 0}ensureFlagsLoaded(){this.Jn||this.Yn||this.ds||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.Kn=e}cs(e){var t;if(this.vs(),!this._instance.mr())if(this.Yn)this.Xn=!0;else{var n=this.Se.token,r=this.ns(tW),i={token:n,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:m({},(null==(t=this.Ur)?void 0:t.get_initial_props())||{},this.ns(nc)||{}),group_properties:this.ns(nd),timezone:ih()};Q(r)||q(r)||(i.$device_id=r),(null!=e&&e.disableFlags||this.Se.advanced_disable_feature_flags)&&(i.disable_flags=!0),this.us()&&(i.evaluation_contexts=this.ls());var s=this.hs();q(s)||(i.flag_keys=s);var a=!!this.Se.advanced_only_evaluate_survey_feature_flags,o=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.Se.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.Yn=!0,this._instance._send_request({method:"POST",url:o,data:i,compression:this.Se.disable_compression?void 0:iO,timeout:this.Se.feature_flag_request_timeout_ms,callback:e=>{var t,n,r,s=!0;if(200===e.statusCode&&(this.Xn||(this.$anon_distinct_id=void 0),s=!1),this.Yn=!1,!i.disable_flags||this.Xn){this.es=!s;var o=[];e.error?e.error instanceof Error?o.push("AbortError"===e.error.name?"timeout":"connection_error"):o.push("unknown_error"):200!==e.statusCode&&o.push("api_error_"+e.statusCode),null!=(t=e.json)&&t.errorsWhileComputingFlags&&o.push("errors_while_computing_flags");var l,u=!(null==(n=e.json)||null==(n=n.quotaLimited)||!n.includes("feature_flags"));(u&&o.push("quota_limited"),null==(r=this.Ur)||r.register({[n_]:o}),u)?ap.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more."):(i.disable_flags||this.receivedFeatureFlags(null!=(l=e.json)?l:{},s,{partialResponse:a}),this.Xn&&(this.Xn=!1,this.cs()))}}})}}getFeatureFlag(e,t){var n;if(void 0===t&&(t={}),!t.fresh||this.es)if(this.Jn||this.getFlags()&&this.getFlags().length>0){if(!this.os()){var r=this.getFeatureFlagResult(e,t);return null!=(n=null==r?void 0:r.variant)?n:null==r?void 0:r.enabled}}else ap.warn('getFeatureFlag for key "'+e+av)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return null==t?void 0:t.payload}getFeatureFlagResult(e,t){if(void 0===t&&(t={}),!t.fresh||this.es)if(this.Jn||this.getFlags()&&this.getFlags().length>0){if(!this.os()){var n=this.getFlagVariants(),r=e in n,i=n[e],s=this.getFlagPayloads()[e],a=String(i),o=this.ns(no)||void 0,l=this.ns(ny)||void 0,u=this.ns(nv)||{};if(this.Se.advanced_feature_flags_dedup_per_session){var c,d=this._instance.get_session_id(),f=this.ns(nm);d&&d!==f&&(u={},null==(c=this.Ur)||c.register({[nv]:u,[nm]:d}))}if((t.send_event||!("send_event"in t))&&(!(e in u)||!u[e].includes(a))){U(u[e])?u[e].push(a):u[e]=[a],null==(v=this.Ur)||v.register({[nv]:u});var h=this.getFeatureFlagDetails(e),p=[...null!=(m=this.ns(n_))?m:[]];q(i)&&p.push("flag_missing");var g={$feature_flag:e,$feature_flag_response:i,$feature_flag_payload:s||null,$feature_flag_request_id:o,$feature_flag_evaluated_at:l,$feature_flag_bootstrapped_response:(null==(_=this.Se.bootstrap)||null==(_=_.featureFlags)?void 0:_[e])||null,$feature_flag_bootstrapped_payload:(null==(y=this.Se.bootstrap)||null==(y=y.featureFlagPayloads)?void 0:y[e])||null,$used_bootstrap_value:!this.es};q(null==h||null==(b=h.metadata)?void 0:b.version)||(g.$feature_flag_version=h.metadata.version);var v,m,_,y,b,w,S,k,x,E,P,C=null!=(w=null==h||null==(S=h.reason)?void 0:S.description)?w:null==h||null==(k=h.reason)?void 0:k.code;C&&(g.$feature_flag_reason=C),null!=h&&null!=(x=h.metadata)&&x.id&&(g.$feature_flag_id=h.metadata.id),q(null==h?void 0:h.original_variant)&&q(null==h?void 0:h.original_enabled)||(g.$feature_flag_original_response=q(h.original_variant)?h.original_enabled:h.original_variant),null!=h&&null!=(E=h.metadata)&&E.original_payload&&(g.$feature_flag_original_payload=null==h||null==(P=h.metadata)?void 0:P.original_payload),p.length&&(g.$feature_flag_error=p.join(",")),this._instance.capture("$feature_flag_called",g)}if(r)return{key:e,enabled:!!i,variant:"string"==typeof i?i:void 0,payload:(e=>{if("string"!=typeof e)return e;try{return JSON.parse(e)}catch(t){return e}})(s)}}}else ap.warn('getFeatureFlagResult for key "'+e+av)}getRemoteConfigPayload(e,t){var n=this.Se.token,r={distinct_id:this._instance.get_distinct_id(),token:n};this.us()&&(r.evaluation_contexts=this.ls());var i=this.hs();q(i)||(r.flag_keys=i),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:r,compression:this.Se.disable_compression?void 0:iO,timeout:this.Se.feature_flag_request_timeout_ms,callback(n){var r,i=null==(r=n.json)?void 0:r.featureFlagPayloads;t((null==i?void 0:i[e])||void 0)}})}isFeatureEnabled(e,t){if(void 0===t&&(t={}),!t.fresh||this.es){if(this.Jn||this.getFlags()&&this.getFlags().length>0){var n=this.getFeatureFlag(e,t);return q(n)?void 0:!!n}ap.warn('isFeatureEnabled for key "'+e+av)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(t=>t!==e)}
1receivedFeatureFlags(e,t,n){if(this.Ur){this.Jn=!0;var r=this.getFlagVariants(),i=this.getFlagPayloads(),s=this.getFlagsWithDetails();!function(e,t,n,r,i,s){void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i={});var a,o=((a=e.flags)?(e.featureFlags=Object.fromEntries(Object.keys(a).map(e=>{var t;return[e,null!=(t=a[e].variant)?t:a[e].enabled]})),e.featureFlagPayloads=Object.fromEntries(Object.keys(a).filter(e=>a[e].enabled).filter(e=>{var t;return null==(t=a[e].metadata)?void 0:t.payload}).map(e=>{var t;return[e,null==(t=a[e].metadata)?void 0:t.payload]}))):ap.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e),l=o.flags,u=o.featureFlags,c=o.featureFlagPayloads;if(u){var d=e.requestId,f=e.evaluatedAt;if(U(u)){ap.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var h={};if(u)for(var p=0;u.length>p;p++)h[u[p]]=!0;t&&t.register({[nr]:u,[nn]:h})}else{var g=u,v=c,_=l;if(null!=s&&s.partialResponse)g=m({},n,g),v=m({},r,v),_=m({},i,_);else if(e.errorsWhileComputingFlags)if(l){var y=new Set(Object.keys(l).filter(e=>{var t;return!(null!=(t=l[e])&&t.failed)}));g=m({},n,Object.fromEntries(Object.entries(g).filter(e=>{var[t]=e;return y.has(t)}))),v=m({},r,Object.fromEntries(Object.entries(v||{}).filter(e=>{var[t]=e;return y.has(t)}))),_=m({},i,Object.fromEntries(Object.entries(_||{}).filter(e=>{var[t]=e;return y.has(t)})))}else g=m({},n,g),v=m({},r,v),_=m({},i,_);t&&t.register(m({[nr]:Object.keys(a_(g)),[nn]:g||{},[na]:v||{},[ns]:_||{}},d?{[no]:d}:{},f?{[ny]:f}:{}))}}}(e,this.Ur,r,i,s,n),t||(this.rs=!1),this.fs(t)}}override(e,t){void 0===t&&(t=!1),ap.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.Ur)return ap.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(!1===e)return this.Ur.unregister(nl),this.Ur.unregister(nu),this.fs(),ag.info("All overrides cleared");if(U(e)){var t,n=am(e);return this.Ur.register({[nl]:n}),this.fs(),ag.info("Flag overrides set",{flags:e})}if(e&&"object"==typeof e&&("flags"in e||"payloads"in e)){if(this.Qn=!!(null!=(t=e.suppressWarning)&&t),"flags"in e){if(!1===e.flags)this.Ur.unregister(nl),ag.info("Flag overrides cleared");else if(e.flags){if(U(e.flags)){var r=am(e.flags);this.Ur.register({[nl]:r})}else this.Ur.register({[nl]:e.flags});ag.info("Flag overrides set",{flags:e.flags})}}return"payloads"in e&&(!1===e.payloads?(this.Ur.unregister(nu),ag.info("Payload overrides cleared")):e.payloads&&(this.Ur.register({[nu]:e.payloads}),ag.info("Payload overrides set",{payloads:e.payloads}))),void this.fs()}if(e&&"object"==typeof e)return this.Ur.register({[nl]:e}),this.fs(),ag.info("Flag overrides set",{flags:e});ap.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Jn){var{flags:t,flagVariants:n}=this.ps();e(t,n)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,n){var r,i=(this.ns(ni)||[]).find(t=>t.flagKey===e),s={["$feature_enrollment/"+e]:t},a={$feature_flag:e,$feature_enrollment:t,$set:s};i&&(a.$early_access_feature_name=i.name),n&&(a.$feature_enrollment_stage=n),this._instance.capture("$feature_enrollment_update",a),this.setPersonPropertiesForFlags(s,!1);var o=m({},this.getFlagVariants(),{[e]:t});null==(r=this.Ur)||r.register({[nr]:Object.keys(a_(o)),[nn]:o}),this.fs()}getEarlyAccessFeatures(e,t,n){void 0===t&&(t=!1);var r=this.ns(ni),i=n?"&"+n.map(e=>"stage="+e).join("&"):"";if(r&&!t)return e(r);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.Se.token+i),method:"GET",callback:t=>{var n,r;if(t.json){var i=t.json.earlyAccessFeatures;return null==(n=this.Ur)||n.unregister(ni),null==(r=this.Ur)||r.register({[ni]:i}),e(i)}}})}ps(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter(e=>t[e]),flagVariants:Object.keys(t).filter(e=>t[e]).reduce((e,n)=>(e[n]=t[n],e),{})}}fs(e){var{flags:t,flagVariants:n}=this.ps();
1this.featureFlagEventHandlers.forEach(r=>r(t,n,{errorsLoading:e}))}setPersonPropertiesForFlags(e,t){void 0===t&&(t=!0);var n=this.ns(nc)||{},r=(null==e?void 0:e.$set)||(null!=e&&e.$set_once?{}:e),i=null==e?void 0:e.$set_once,s={};if(i)for(var a in i)({}).hasOwnProperty.call(i,a)&&(a in n||(s[a]=i[a]));this._instance.register({[nc]:m({},n,s,r)}),t&&this._instance.reloadFeatureFlags()}unsetPersonPropertiesForFlags(e,t){void 0===t&&(t=!0);var n=m({},this.ns(nc)||{});e.forEach(e=>{delete n[e]}),this._instance.register({[nc]:n}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(e){void 0===e&&(e=!0),this._instance.unregister(nc),e&&this._instance.reloadFeatureFlags()}setGroupPropertiesForFlags(e,t){void 0===t&&(t=!0);var n=this.ns(nd)||{};0!==Object.keys(n).length&&Object.keys(n).forEach(t=>{n[t]=m({},n[t],e[t]),delete e[t]}),this._instance.register({[nd]:m({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.ns(nd)||{};this._instance.register({[nd]:m({},t,{[e]:{}})})}else this._instance.unregister(nd)}reset(){this.Jn=!1,this.Yn=!1,this.Kn=!1,this.Xn=!1,this.es=!1,this.$anon_distinct_id=void 0,this.vs(),this.Qn=!1}}},aC=m({productTours:class{get Ur(){return this._instance.persistence}constructor(e){this.Mo=null,this.Po=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if("productTours"in e){var t,n;if(this.Ur&&this.Ur.register({[t2]:!!e.productTours}),!at(this._instance))return!this.Mo&&K(null==(t=this.Ur)?void 0:t.props[ng])||ae.info("product tours disabled; stopping and clearing cached tours"),null==(n=this.Mo)||n.stop(),this.Mo=null,void this.clearCache();this.loadIfEnabled()}}loadIfEnabled(){!this.Mo&&at(this._instance)&&this.Mt(()=>this.Ro())}Mt(e){var t,n;null!=(t=f.__PosthogExtensions__)&&t.generateProductTours?e():null==(n=f.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,"product-tours",t=>{t?ae.error("Could not load product tours script",t):e()})}Ro(){var e;!this.Mo&&null!=(e=f.__PosthogExtensions__)&&e.generateProductTours&&(this.Mo=f.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(void 0===t&&(t=!1),!U(this.Po)||t){var n=this.Ur;if(n){var r=n.props[ng];if(U(r)&&!t)return this.Po=r,void e(r,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:t=>{if(at(this._instance)){var r=t.statusCode;if(200!==r||!t.json){var i="Product Tours API could not be loaded, status: "+r;return ae.error(i),void e([],{isLoaded:!1,error:i})}var s=U(t.json.product_tours)?t.json.product_tours:[];this.Po=s,n&&n.register({[ng]:s}),e(s,{isLoaded:!0})}else e([],{isLoaded:!0})}})}else e(this.Po,{isLoaded:!0})}getActiveProductTours(e){K(this.Mo)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Mo.getActiveProductTours(e)}showProductTour(e){var t;null==(t=this.Mo)||t.showTourById(e)}previewTour(e){this.Mo?this.Mo.previewTour(e):this.Mt(()=>{var t;this.Ro(),null==(t=this.Mo)||t.previewTour(e)})}dismissProductTour(){var e;null==(e=this.Mo)||e.dismissTour("user_clicked_skip")}nextStep(){var e;null==(e=this.Mo)||e.nextStep()}previousStep(){var e;null==(e=this.Mo)||e.previousStep()}clearCache(){var e;this.Po=null,null==(e=this.Ur)||e.unregister(ng)}resetTour(e){var t;null==(t=this.Mo)||t.resetTour(e)}resetAllTours(){var e;null==(e=this.Mo)||e.resetAllTours()}cancelPendingTour(e){var t;null==(t=this.Mo)||t.cancelPendingTour(e)}}},aP),aT=m({surveys:class{get Se(){return this._instance.config}constructor(e){this.Zo=void 0,this._surveyManager=null,this.Qo=!1,this.Jo=[],this.Yo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.Se.disable_surveys){var t=e.surveys;if(K(t))return sP.warn("Flags not loaded yet. Not loading surveys.");var n=U(t);this.Zo=n?t.length>0:t,sP.info("flags response received, isSurveysEnabled: "+this.Zo),this.loadIfEnabled()}}reset(){try{var e;null==(e=this._surveyEventReceiver)||e.reset(),localStorage.removeItem("lastSeenSurveyDate");for(var t=[],n=0;n<localStorage.length;n++){var r=localStorage.key(n);(null!=r&&r.startsWith(sC)||null!=r&&r.startsWith("inProgressSurvey_"))&&t.push(r)}
1t.forEach(e=>localStorage.removeItem(e))}catch(e){}}loadIfEnabled(){if(!this._surveyManager)if(this.Qo)sP.info("Already initializing surveys, skipping...");else if(this.Se.disable_surveys)sP.info(ac);else if(this.Se.cookieless_mode&&this._instance.consent.isOptedOut())sP.info("Not loading surveys in cookieless mode without consent.");else{var e=null==f?void 0:f.__PosthogExtensions__;if(e){if(!q(this.Zo)||this.Se.advanced_enable_surveys){var t=this.Zo||this.Se.advanced_enable_surveys;this.Qo=!0;try{var n=e.generateSurveys;if(n)return void this.Ko(n,t);var r=e.loadExternalDependency;if(!r)return void this.Xo(nR);r(this._instance,"surveys",n=>{n||!e.generateSurveys?this.Xo("Could not load surveys script",n):this.Ko(e.generateSurveys,t)})}catch(e){throw this.Xo("Error initializing surveys",e),e}finally{this.Qo=!1}}}else sP.error("PostHog Extensions not found.")}}Ko(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new al(this._instance),sP.info("Surveys loaded successfully"),this.ea({isLoaded:!0})}Xo(e,t){sP.error(e,t),this.ea({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.Jo.push(e),this._surveyManager&&this.ea({isLoaded:!0}),()=>{this.Jo=this.Jo.filter(t=>t!==e)}}getSurveys(e,t){if(void 0===t&&(t=!1),this.Se.disable_surveys)return sP.info(ac),e([]);var n,r=this._instance.get_property(nf);if(r&&!t)return e(r,{isLoaded:!0});"u">typeof Promise&&this.Yo?this.Yo.then(t=>{var{surveys:n,context:r}=t;return e(n,r)}):("u">typeof Promise&&(this.Yo=new Promise(e=>{n=e})),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.Se.token),method:"GET",timeout:this.Se.surveys_request_timeout_ms,callback:t=>{this.Yo=null;var r=t.statusCode;if(200!==r||!t.json){var i="Surveys API could not be loaded, status: "+r;sP.error(i);var s={isLoaded:!1,error:i};return e([],s),void(null==n||n({surveys:[],context:s}))}var a,o,l=t.json.surveys||[],u=l.filter(e=>{var t,n;return!(!e.start_date||e.end_date)&&(!(null==(t=e.conditions)||null==(t=t.events)||null==(t=t.values)||!t.length)||!(null==(n=e.conditions)||null==(n=n.actions)||null==(n=n.values)||!n.length))});u.length>0&&(null==(o=this._surveyEventReceiver)||o.register(u)),null==(a=this._instance.persistence)||a.register({[nf]:l,[nh]:Date.now()});var c={isLoaded:!0};e(l,c),null==n||n({surveys:l,context:c})}}))}ea(e){for(var t of this.Jo)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(e){sP.error("Error in survey callback",e)}}getActiveMatchingSurveys(e,t){if(void 0===t&&(t=!1),!K(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);sP.warn("init was not called")}ta(e){var t=null;return this.getSurveys(n=>{var r;t=null!=(r=n.find(t=>t.id===e))?r:null}),t}ra(e){if(K(this._surveyManager))return{eligible:!1,reason:au};var t="string"==typeof e?this.ta(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(K(this._surveyManager))return sP.warn("init was not called"),{visible:!1,disabledReason:au};var t=this.ra(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return K(this._surveyManager)?(sP.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:au})):new Promise(n=>{this.getSurveys(t=>{var r,i=null!=(r=t.find(t=>t.id===e))?r:null;if(i){var s=this.ra(i);n({visible:s.eligible,disabledReason:s.reason})}else n({visible:!1,disabledReason:"Survey not found"})},t)})}renderSurvey(e,t,n){var r;if(K(this._surveyManager))sP.warn("init was not called");else{var i="string"==typeof e?this.ta(e):e;if(null!=i&&i.id)if(sT.includes(i.type)){var a=null==s?void 0:s.querySelector(t);if(a)return null!=(r=i.appearance)&&r.surveyPopupDelaySeconds?(sP.info("Rendering survey "+i.id+" with delay of "+i.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout(()=>{var e,t;sP.info("Rendering survey "+i.id+" with delay of "+(null==(e=i.appearance)?void 0:e.surveyPopupDelaySeconds)+" seconds"),null==(t=this._surveyManager)||t.renderSurvey(i,a,n),sP.info("Survey "+i.id+" rendered")},1e3*i.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(i,a,n);sP.warn("Survey element not found")}else sP.warn("Surveys of type "+i.type+" cannot be rendered in the app");else sP.warn("Survey not found")}}displaySurvey(e,t){var n;if(K(this._surveyManager))sP.warn("init was not called");else{var r=this.ta(e);if(r){var i=r;if(null!=(n=r.appearance)&&n.surveyPopupDelaySeconds&&t.ignoreDelay&&(i=m({},r,{appearance:m({},r.appearance,{surveyPopupDelaySeconds:0})}
1)),t.displayType!==ik&&t.initialResponses&&sP.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),!1===t.ignoreConditions){var s=this.canRenderSurvey(r);if(!s.visible)return void sP.warn("Survey is not eligible to be displayed: ",s.disabledReason)}"inline"!==t.displayType?this._surveyManager.handlePopoverSurvey(i,t):this.renderSurvey(i,t.selector,t.properties)}else sP.warn("Survey not found")}}cancelPendingSurvey(e){K(this._surveyManager)?sP.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;null==(e=this._surveyManager)||e.handlePageUnload()}}},aP),aO=m({experiments:aS},aP),aN=m({},aP,{sessionRecording:class{get Se(){return this._instance.config}get Ur(){return this._instance.persistence}get started(){var e;return!(null==(e=this.gs)||!e.isStarted)}get status(){var e,t;return this.ys===s4||this.ys===s5?this.ys:null!=(e=null==(t=this.gs)?void 0:t.status)?e:this.ys}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.ys=s2,this.bs=void 0,this._instance=e,!this._instance.sessionManager)throw s8.error("started without valid sessionManager"),Error(s6+" started without valid sessionManager. This is a bug.");if(this.Se.cookieless_mode===nM)throw Error(s6+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get _s(){var e,t=!(null==(e=this._instance.get_property(t4))||!e.enabled),r=!this.Se.disable_session_recording,i=this.Se.disable_session_recording||this._instance.consent.isOptedOut();return n&&t&&r&&!i}startIfEnabledOrStop(e){var t;
1if(!this._s||null==(t=this.gs)||!t.isStarted){var n=!q(Object.assign)&&!q(Array.from);this._s&&n?(this.ws(e),s8.info("starting")):(this.ys=s2,this.stopRecording())}}ws(e){var t,n,r;this._s&&(this.ys!==s4&&this.ys!==s5&&(this.ys=s3),null!=f&&null!=(t=f.__PosthogExtensions__)&&null!=(t=t.rrweb)&&t.record&&null!=(n=f.__PosthogExtensions__)&&n.initSessionRecording?this.xs(e):null==(r=f.__PosthogExtensions__)||null==r.loadExternalDependency||r.loadExternalDependency(this._instance,this.ks,t=>{if(t)return s8.error("could not load recorder",t);this.xs(e)}))}stopRecording(){var e,t;null==(e=this.bs)||e.call(this),this.bs=void 0,null==(t=this.gs)||t.stop()}Ss(){var e,t;null==(e=this.bs)||e.call(this),this.bs=void 0,null==(t=this.gs)||t.discard()}Cs(){var e,t;null==(e=this.Ur)||e.unregister(nt),null==(t=this.Ur)||t.unregister(t5)}Is(e,t){if(K(e))return null;var n=X(e)?e:parseFloat(e);return"number"!=typeof n||!Number.isFinite(n)||0>n||n>1?(s8.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):n}Ts(e){if(this.Ur){var t,n,r=this.Ur,i=()=>{var t,n=!1===e.sessionRecording?void 0:e.sessionRecording,i=this.Is(null==(t=this.Se.session_recording)?void 0:t.sampleRate,"session_recording.sampleRate"),s=this.Is(null==n?void 0:n.sampleRate,"remote config sampleRate"),a=null!=i?i:s;K(a)&&this.Cs();var o=null==n?void 0:n.minimumDurationMilliseconds;r.register({[t4]:m({cache_timestamp:Date.now(),enabled:!!n},n,{networkPayloadCapture:m({capturePerformance:e.capturePerformance},null==n?void 0:n.networkPayloadCapture),canvasRecording:{enabled:null==n?void 0:n.recordCanvas,fps:null==n?void 0:n.canvasFps,quality:null==n?void 0:n.canvasQuality},sampleRate:a,minimumDurationMilliseconds:q(o)?null:o,endpoint:null==n?void 0:n.endpoint,triggerMatchType:null==n?void 0:n.triggerMatchType,masking:null==n?void 0:n.masking,urlTriggers:null==n?void 0:n.urlTriggers,version:null==n?void 0:n.version,triggerGroups:null==n?void 0:n.triggerGroups})})};i(),null==(t=this.bs)||t.call(this),this.bs=null==(n=this._instance.sessionManager)?void 0:n.onSessionId(i)}}onRemoteConfig(e){return"sessionRecording"in e?!1===e.sessionRecording?(this.Ts(e),void this.Ss()):(this.Ts(e),void this.startIfEnabledOrStop()):(this.ys===s4&&(this.ys=s5,s8.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var n;void 0===t&&(t="log"),null!=(n=this.gs)&&n.log?this.gs.log(e,t):s8.warn("log called before recorder was ready")}get ks(){var e,t,n=null==(e=this._instance)||null==(e=e.persistence)?void 0:e.get_property(t4);return(null==n||null==(t=n.scriptConfig)?void 0:t.script)||"lazy-recorder"}Es(){var e,t,n=this._instance.get_property(t4);if(!n)return!1;try{t="object"==typeof n?n:JSON.parse(n)}catch(e){return s8.warn("persisted remote config for session recording is invalid and will be ignored",e),!1}var r=null!=(e=t.cache_timestamp)?e:Date.now();return 36e5>=Date.now()-r}xs(e){var t,n;if(null==(t=f.__PosthogExtensions__)||!t.initSessionRecording)return s8.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[nF]:!0});if(this.gs||(this.gs=null==(n=f.__PosthogExtensions__)?void 0:n.initSessionRecording(this._instance),this.gs._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Es()){if(this.ys===s5||this.ys===s4)return;return this.ys=s4,s8.info("persisted remote config is stale, requesting fresh config before starting"),void new iC(this._instance).load()}this.ys=s3,this.gs.start(e)}onRRwebEmit(e){var t;
1null==(t=this.gs)||null==t.onRRwebEmit||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.gs||null==(t=this.Ur)||t.register({[t8]:!0}),null==(e=this.gs)||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.gs||null==(t=this.Ur)||t.register({[t6]:!0}),null==(e=this.gs)||e.overrideSampling()}overrideTrigger(e){var t,n;this.gs||null==(n=this.Ur)||n.register({["url"===e?t7:t9]:!0}),null==(t=this.gs)||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return(null==(e=this.gs)?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var n;return!(null==(n=this.gs)||!n.tryAddCustomEvent(e,t))}}},{autocapture:class{constructor(e){this.Ms=!1,this.Ps=null,this.Rs=!1,this.instance=e,this.rageclicks=new sK(e.config.rageclick),this.Os=null}initialize(){this.startIfEnabled()}get Se(){var e,t,n=B(this.instance.config.autocapture)?this.instance.config.autocapture:{};return n.url_allowlist=null==(e=n.url_allowlist)?void 0:e.map(e=>new RegExp(e)),n.url_ignorelist=null==(t=n.url_ignorelist)?void 0:t.map(e=>new RegExp(e)),n}Ls(){if(this.isBrowserSupported()){if(n&&s){var e=e=>{e=e||(null==n?void 0:n.event);try{this.Fs(e)}catch(e){sY.error("Failed to capture event",e)}};if(nJ(s,"submit",e,{capture:!0}),nJ(s,"change",e,{capture:!0}),nJ(s,"click",e,{capture:!0}),this.Se.capture_copied_text){var t=e=>{e=e||(null==n?void 0:n.event);try{this.Fs(e,sX)}catch(e){sY.error("Failed to capture copy/cut event",e)}};nJ(s,"copy",t,{capture:!0}),nJ(s,"cut",t,{capture:!0})}}}else sY.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Ms&&(this.Ls(),this.Ms=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.Rs=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[tK]:!!e.autocapture_opt_out}),this.Ps=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Os=e}getElementSelectors(e){var t,n=[];return null==(t=this.Os)||t.forEach(t=>{var r=null==s?void 0:s.querySelectorAll(t);null==r||r.forEach(r=>{e===r&&n.push(t)})}),n}get isEnabled(){var e,t,n=null==(e=this.instance.persistence)?void 0:e.props[tK];if(Q(this.Ps)&&!J(n)&&!this.instance.mr())return!1;var r=null!=(t=this.Ps)?t:!!n;return!!this.instance.config.autocapture&&!r}Fs(e,t){if(void 0===t&&(t="$autocapture"),this.isEnabled){var r,i=rw(e);rp(i)&&(i=i.parentNode||null),"$autocapture"===t&&"click"===e.type&&e instanceof MouseEvent&&this.instance.config.rageclick&&null!=(r=this.rageclicks)&&r.isRageClick(e.clientX,e.clientY,e.timeStamp||(new Date).getTime())&&rF(i,this.instance.config.rageclick)&&this.Fs(e,"$rageclick");var s=t===sX;if(i&&function(e,t,r,i,s){if(void 0===r&&(r=void 0),!n||rR(e)||null!=(a=r)&&a.url_allowlist&&!rm(r.url_allowlist)||null!=(o=r)&&o.url_ignorelist&&rm(r.url_ignorelist))return!1;if(null!=(l=r)&&l.dom_event_allowlist){var a,o,l,u,c,d,f=r.dom_event_allowlist;if(f&&!f.some(e=>t.type===e))return!1}var{parentIsUsefulElement:h,targetElementList:p}=rI(e,i);if(!function(e,t){var n=null==t?void 0:t.element_allowlist;if(q(n))return!0;var r,i=function(e){if(n.some(t=>e.tagName.toLowerCase()===t))return{v:!0}};for(var s of e)if(r=i(s))return r.v;return!1}(p,r)||!rk(p,null==(u=r)?void 0:u.css_selector_allowlist)||rk(p,null!=(c=null==(d=r)?void 0:d.css_selector_ignorelist)?c:rE))return!1;var g=n.getComputedStyle(e);if(g&&"pointer"===g.getPropertyValue("cursor")&&"click"===t.type)return!0;var v=e.tagName.toLowerCase();switch(v){case"html":return!1;case"form":return(s||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(s||["change","click"]).indexOf(t.type)>=0;default:return h?(s||["click"]).indexOf(t.type)>=0:(s||["click"]).indexOf(t.type)>=0&&(rS.indexOf(v)>-1||"true"===e.getAttribute("contenteditable"))}}(i,e,this.Se,s,s?["copy","cut"]:void 0)){var{props:a,explicitNoCapture:o}=function(e,t){var r,i,{e:s,maskAllElementAttributes:a,maskAllText:o,elementAttributeIgnoreList:l,elementsChainAsString:u,disableCaptureUrlHashes:c}=t;if(!rf(e))return{props:{}};for(var d=[e],f=e;f.parentNode&&!rh(f,"body");)if(rg(f.parentNode))d.push(f.parentNode.host),f=f.parentNode.host;else{if(!rf(f.parentNode))break;d.push(f.parentNode),f=f.parentNode}var h,p=[],g={},v=!1,_=!1;if(nq(d,e=>{var t=rM(e);if(rh(e,"a")){var n=e.getAttribute("href");v=!!(t&&n&&rH(n))&&(c?tr(n):n)}L(r_(e),"ph-no-capture")&&(_=!0),p.push(function(e,t,n,r,i){void 0===i&&(i=!1);var s=e.tagName.toLowerCase(),a={tag_name:s};rS.indexOf(s)>-1&&!n&&(a.$el_text="a"===s.toLowerCase()||"button"===s.toLowerCase()?sJ(1024,rB(e)):sJ(1024,rb(e)));var o=r_(e);o.length>0&&(a.classes=o.filter(function(e){return""!==e})),nq(e.attributes,function(n){var s;if((!rL(e)||-1!==["name","id","class","aria-label"].indexOf(n.name))&&(null==r||!r.includes(n.name))&&
1!t&&rH(n.value)&&(!W(s=n.name)||"_ngcontent"!==s.substring(0,10)&&"_nghost"!==s.substring(0,7))){var o=n.value;"class"===n.name&&(o=rv(o).join(" ")),a["attr__"+n.name]=sJ(1024,"href"===n.name&&i?tr(o):o)}});for(var l=1,u=1,c=e;c=function(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!rf(t))return t}(c);)l++,c.tagName===e.tagName&&u++;return a.nth_child=l,a.nth_of_type=u,a}(e,a,o,l,c)),nW(g,function(e){if(!rM(e))return{};var t={};return nq(e.attributes,function(e){if(e.name&&0===e.name.indexOf("data-ph-capture-attribute")){var n=e.name.replace("data-ph-capture-attribute-",""),r=e.value;n&&r&&rH(r)&&(t[n]=r)}}),t}(e))}),_)return{props:{},explicitNoCapture:_};if(o||(p[0].$el_text=rh(e,"a")||rh(e,"button")?rB(e):rb(e)),v){p[0].attr__href=v;var y,b,w=null==(y=r4(v))?void 0:y.host,S=null==n||null==(b=n.location)?void 0:b.host;w&&S&&w!==S&&(h=v)}return{props:nW({$event_type:s.type,$ce_version:1},u?{}:{$elements:p},{$elements_chain:p.map(e=>{var t,n,r,i={text:null==(n=e.$el_text)?void 0:n.slice(0,400),tag_name:e.tag_name,href:null==(r=e.attr__href)?void 0:r.slice(0,2048),attr_class:(t=e.attr__class)?U(t)?t:rv(t):void 0,attr_id:e.attr__id,nth_child:e.nth_child,nth_of_type:e.nth_of_type,attributes:{}};return nG(e).filter(e=>{var[t]=e;return 0===t.indexOf("attr__")}).forEach(e=>{var[t,n]=e;return i.attributes[t]=n}),i}).map(e=>{var t,n,r="";if(e.tag_name&&(r+=e.tag_name),e.attr_class)for(var i of(e.attr_class.sort(),e.attr_class))r+="."+i.replace(/"/g,"");var s=m({},e.text?{text:e.text}:{},{"nth-child":null!=(t=e.nth_child)?t:0,"nth-of-type":null!=(n=e.nth_of_type)?n:0},e.href?{href:e.href}:{},e.attr_id?{attr_id:e.attr_id}:{},e.attributes),a={};return nG(s).sort((e,t)=>{var[n]=e,[r]=t;return n.localeCompare(r)}).forEach(e=>{var[t,n]=e;return a[rV(t.toString())]=rV(n.toString())}),(r+=":")+nG(a).map(e=>{var[t,n]=e;return t+'="'+n+'"'}).join("")}).join(";")},null!=(r=p[0])&&r.$el_text?{$el_text:null==(i=p[0])?void 0:i.$el_text}:{},h&&"click"===s.type?{$external_click_url:h}:{},g)}}(i,{e:e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.Se.element_attribute_ignorelist,elementsChainAsString:this.Rs,disableCaptureUrlHashes:this.instance.config.disable_capture_url_hashes});if(o)return!1;var l=this.getElementSelectors(i);if(l&&l.length>0&&(a.$element_selectors=l),t===sX){var u,c=ry(null==n||null==(u=n.getSelection())?void 0:u.toString()),d=e.type||"clipboard";if(!c)return!1;a.$selected_content=c,a.$copy_type=d}return this.instance.capture(t,a),!0}}}isBrowserSupported(){return H(null==s?void 0:s.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.As=(null==n||null==(t=n.location)?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return"history_change"===this._instance.config.capture_pageview}startIfEnabled(){this.isEnabled&&(tU.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.$s&&this.$s(),this.$s=void 0,tU.info("History API monitoring stopped")}monitorHistoryChanges(){n&&n.history&&(this.Ds("pushState"),this.Ds("replaceState"),this.Ns())}Ds(e){var t;if(n&&(null==(t=n.history[e])||!t.__posthog_wrapped__)){var r=this;!function(e,t,n){try{if(!(t in e))return()=>{};var r=e[t],i=n(r);H(i)&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=i}catch(e){return()=>{}}}(n.history,e,t=>function(n,i,s){t.call(this,n,i,s),r.qs(e)})}}qs(e){try{var t,r=null==n||null==(t=n.location)?void 0:t.pathname;if(!r)return;r!==this.As&&this.isEnabled&&this._instance.capture(nj,{navigation_type:e}),this.As=r}catch(t){tU.error("Error capturing "+e+" pageview",t)}}Ns(){if(!this.$s){var e=()=>{this.qs("popstate")};nJ(n,"popstate",e),this.$s=()=>{n&&n.removeEventListener("popstate",e)}}}},heatmaps:class{get Se(){return this.instance.config}constructor(e){var t;this.js=!1,this.Ms=!1,this.Bs=null,this.instance=e,this.js=!(null==(t=this.instance.persistence)||!t.props[tX]),this.rageclicks=new sK(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return B(this.Se.capture_heatmaps)&&this.Se.capture_heatmaps.flush_interval_milliseconds&&(e=this.Se.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return K(this.Se.capture_heatmaps)?K(this.Se.enable_heatmaps)?this.js:this.Se.enable_heatmaps:!1!==this.Se.capture_heatmaps}startIfEnabled(){if(this.isEnabled)this.Ms||(s7.info("starting..."),this.Hs(),this.ke());else{var e;clearInterval(null!=(e=this.Bs)?e:void 0),this.Us(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[tX]:t}),this.js=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.R;return this.R=void 0,e}zs(e){this.fe(e.originalEvent,"deadclick")}ke(){this.Bs&&clearInterval(this.Bs),this.Bs="visible"===(null==s?void 0:s.visibilityState)?setInterval(this.Or.bind(this),this.flushIntervalMilliseconds):null}Hs(){n&&s&&(this.Vs=this.Or.bind(this),nJ(n,n$,this.Vs),this.Ws=e=>this.fe(e||(null==n?void 0:n.event)),nJ(s,"click",this.Ws,{capture:!0}),this.Gs=e=>this.Zs(e||(null==n?void 0:n.event)),nJ(s,"mousemove",this.Gs,{capture:!0}),this.Qs=new rQ(this.instance,rW,this.zs.bind(this)),this.Qs.startIfEnabledOrStop(),this.Js=this.ke.bind(this),nJ(s,nD,this.Js),this.Ms=!0)}Us(){var e;n&&s&&(this.Vs&&n.removeEventListener(n$,this.Vs),this.Ws&&s.removeEventListener("click",this.Ws,{capture:!0}),this.Gs&&s.removeEventListener("mousemove",this.Gs,{capture:!0}),this.Js&&s.removeEventListener(nD,this.Js),clearTimeout(this.Ys),null==(e=this.Qs)||e.stop(),this.Ms=!1)}Ks(e,t){var r=this.instance.scrollManager.scrollY(),i=this.instance.scrollManager.scrollX(),s=this.instance.scrollManager.scrollElement(),a=function(e,t,r){for(var i=e;i&&rf(i)&&!rh(i,"body")&&i!==r;){if(L(t,null==n?void 0:n.getComputedStyle(i).position))return!0;
1i=rx(i)}return!1}(rw(e),["fixed","sticky"],s);return{x:e.clientX+(a?0:i),y:e.clientY+(a?0:r),target_fixed:a,type:t}}fe(e,t){var n;if(void 0===t&&(t="click"),!rd(e.target)&&s9(e)){var r=this.Ks(e,t);null!=(n=this.rageclicks)&&n.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&rF(rw(e),this.instance.config.rageclick)&&this.Xs(m({},r,{type:"rageclick"})),this.Xs(r)}}Zs(e){!rd(e.target)&&s9(e)&&(clearTimeout(this.Ys),this.Ys=setTimeout(()=>{this.Xs(this.Ks(e,"mousemove"))},500))}Xs(e){if(n){var t=this.Se.disable_capture_url_hashes?tr(n.location.href):n.location.href,r=this.Se.custom_personal_data_properties,i=r6(t,this.Se.mask_personal_data_properties?[...r9,...r||[]]:[],it);this.R=this.R||{},this.R[i]||(this.R[i]=[]),this.R[i].push(e)}}Or(){this.R&&!V(this.R)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:rQ,webVitalsAutocapture:class{constructor(e){var t;this.js=!1,this.Ms=!1,this.R={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.eo=()=>{clearTimeout(this.ro),0!==this.R.metrics.length&&(this._instance.capture("$web_vitals",this.R.metrics.reduce((e,t)=>m({},e,{["$web_vitals_"+t.name+"_event"]:m({},t),["$web_vitals_"+t.name+"_value"]:t.value}),{})),this.R={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.io=e=>{this.R=this.R||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var t,n=this.no();if(!q(n))if(K(null==e?void 0:e.name)||K(null==e?void 0:e.value))s1.error("Invalid metric received",e);else if(!this.so||this.so>e.value){this.R.url!==n&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),q(this.R.url)&&(this.R.url=n),this.R.firstMetricTimestamp=q(this.R.firstMetricTimestamp)?Date.now():this.R.firstMetricTimestamp,e.attribution&&e.attribution.interactionTargetElement&&(e.attribution.interactionTargetElement=void 0);var r=null==(t=this._instance.sessionManager)?void 0:t.checkAndGetSessionAndWindowId(!0),i=m({},e,{$current_url:n,timestamp:Date.now()});q(r)||(i.$session_id=r.sessionId,i.$window_id=r.windowId),this.R.metrics.push(i),this.R.metrics.length===this.allowedMetrics.length&&this.eo()}else s1.error("Ignoring metric with value >= "+this.so,e)},this.oo=()=>{if(!this.Ms){var e,t,n,r,i=f.__PosthogExtensions__;q(i)||q(i.postHogWebVitalsCallbacks)||({onLCP:e,onCLS:t,onFCP:n,onINP:r}=i.postHogWebVitalsCallbacks),e&&t&&n&&r?(this.allowedMetrics.indexOf("LCP")>-1&&e(this.io.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&t(this.io.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&n(this.io.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&r(this.io.bind(this)),this.Ms=!0):s1.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.js=!(null==(t=this._instance.persistence)||!t.props[t0]),this.startIfEnabled()}get ao(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,n=B(this.ao)?null==(e=this.ao)?void 0:e.web_vitals_allowed_metrics:void 0;return K(n)?(null==(t=this._instance.persistence)?void 0:t.props[t3])||["CLS","FCP","INP","LCP"]:n}get flushToCaptureTimeoutMs(){return(B(this.ao)?this.ao.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=B(this.ao)?this.ao.web_vitals_attribution:void 0;return null!=e&&e}get so(){var e=B(this.ao)&&X(this.ao.__web_vitals_max_value)?this.ao.__web_vitals_max_value:9e5;return e>0&&6e4>=e?9e5:e}get isEnabled(){var e=null==a?void 0:a.protocol;if("http:"!==e&&"https:"!==e)return s1.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=B(this.ao)?this.ao.web_vitals:J(this.ao)?this.ao:void 0;return J(t)?t:this.js}startIfEnabled(){this.isEnabled&&!this.Ms&&(s1.info("enabled, starting..."),this.Mt(this.oo))}onRemoteConfig(e){if("capturePerformance"in e){var t=B(e.capturePerformance)&&!!e.capturePerformance.web_vitals,n=B(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[t0]:t}),this._instance.persistence.register({[t3]:n})),this.js=t,this.startIfEnabled()}}Mt(e){var t,n;null!=(t=f.__PosthogExtensions__)&&t.postHogWebVitalsCallbacks?e():null==(n=f.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",t=>{t?s1.error("failed to load script",t):e()})}no(){var e=n?this._instance.config.disable_capture_url_hashes?tr(n.location.href):n.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties;return r6(e,this._instance.config.mask_personal_data_properties?[...r9,...t||[]]:[],it)}s1.error("Could not determine current URL")}}},{exceptionObserver:class{constructor(e){var t,r,i;this.oo=()=>{var e;if(n&&this.isEnabled&&null!=(e=f.__PosthogExtensions__)&&e.errorWrappingFunctions){var t=f.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,r=f.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,i=f.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.lo&&this.Se.capture_unhandled_errors&&(this.lo=t(this.captureException.bind(this))),!this.uo&&this.Se.capture_unhandled_rejections&&(this.uo=r(this.captureException.bind(this))),!this.ho&&this.Se.capture_console_errors&&(this.ho=i(this.captureException.bind(this)))}catch(e){sZ.error("failed to start",e),this.do()}}},this._instance=e,this.co=!(null==(t=this._instance.persistence)||!t.props[tY]),this.vo=new eo({refillRate:null!=(r=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)?r:1,bucketSize:null!=(i=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)?i:10,refillInterval:1e4,Ae:sZ}),this.Se=this.fo(),this.startIfEnabledOrStop()}fo(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return B(e)?t=m({},t,e):(q(e)?this.co:e)&&(t=m({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.Se.capture_console_errors||this.Se.capture_unhandled_errors||this.Se.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(sZ.info("enabled"),this.do(),this.Mt(this.oo)):this.do()}Mt(e){var t,n;null!=(t=f.__PosthogExtensions__)&&t.errorWrappingFunctions?e():null==(n=f.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,"exception-autocapture",t=>{if(t)return sZ.error("failed to load script",t);e()})}do(){var e,t,n;null==(e=this.lo)||e.call(this),this.lo=void 0,null==(t=this.uo)||t.call(this),this.uo=void 0,null==(n=this.ho)||n.call(this),this.ho=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.co=!!e.autocaptureExceptions,this._instance.persistence&&this._instance.persistence.register({[tY]:this.co}),this.Se=this.fo(),this.startIfEnabledOrStop())}onConfigChange(){this.Se=this.fo()}captureException(e){var t,n,r,i=null!=(t=null==e||null==(n=e.$exception_list)||null==(n=n[0])?void 0:n.type)?t:"Exception";this.vo.consumeRateLimit(i)?sZ.info("Skipping exception capture because of client rate limiting.",{exception:i}):null==(r=this._instance.exceptions)||r.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,n;this.po=[],this.mo=new tf([new tk,new tI,new tE,new tx,new tF,new tN,new tC,new tR],function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];return function(t,r){void 0===r&&(r=0);for(var i=[],s=t.split("\n"),a=r;s.length>a;a++){var o=s[a];if(1024>=o.length){var l=tS.test(o)?o.replace(tS,"$1"):o;if(!l.match(/\S*Error: /)){for(var u of n){var c=u(l,e);if(c){i.push(c);break}}if(i.length>=50)break}}}if(!i.length)return[];var d=Array.from(i);return d.reverse(),d.slice(0,50).map(e=>m({},e,{filename:e.filename||(d[d.length-1]||{}).filename,function:e.function||"?"}))}}("web:javascript",t_,tw)),this._instance=e,this.po=null!=(t=null==(n=this._instance.persistence)?void 0:n.get_property(tJ))?t:[],this.yo=tD(this.bo()),this._o=new t$(this.yo)}onConfigChange(){this.yo=tD(this.bo()),this._o.setConfig(this.yo)}onRemoteConfig(e){var t,n,r;if("errorTracking"in e){var i=null!=(t=null==(n=e.errorTracking)?void 0:n.suppressionRules)?t:[],s=null==(r=e.errorTracking)?void 0:r.captureExtensionExceptions;this.po=i,this._instance.persistence&&this._instance.persistence.register({[tJ]:this.po,[tZ]:s})}}get wo(){var e,t=!!this._instance.get_property(tZ),n=this._instance.config.error_tracking.captureExtensionExceptions;return null!=(e=null!=n?n:t)&&e}buildProperties(e,t){return this.mo.buildFromUnknown(e,{syntheticException:null==t?void 0:t.syntheticException,mechanism:{handled:null==t?void 0:t.handled}})}addExceptionStep(e,t){if(this.yo.enabled)try{if(!W(e)||0===e.trim().length)return void ay.warn("Ignoring exception step because message must be a non-empty string");var n=this.xo(t),{sanitizedProperties:r,droppedKeys:i}=function(e){if(!e)return{sanitizedProperties:{},droppedKeys:[]};var t=[];return{sanitizedProperties:Object.keys(e).reduce((n,r)=>(tA.has(r)?t.push(r):n[r]=e[r],n),{}),droppedKeys:t}}(n);i.length>0&&ay.warn("Ignoring reserved exception step fields",{droppedKeys:i}),this._o.add(m({[tM]:e,[tL]:(new Date).toISOString()},r))}catch(e){ay.error("Failed to add exception step. Ignoring breadcrumb.",e)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.ko(t)){if(this.So(t))return this.Co("Exception dropped: matched a suppression rule"),void ay.info("Skipping exception capture because a suppression rule matched");if(!this.wo&&this.Io(t))return this.Co("Exception dropped: thrown by a browser extension"),void ay.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.To(t))return this.Co("Exception dropped: thrown by the PostHog SDK"),void ay.info("Skipping exception capture because it was thrown by the PostHog SDK")}var n=this.yo.enabled&&K(e.$exception_steps)?this.Eo(e):e;try{var r=this._instance.capture("$exception",n,{_noTruncate:!0,_batchKey:"exceptionEvent",Gi:!0});return r&&this._o.clear(),r}catch(e){return ay.error("Failed to capture exception event. Dropping this exception.",e),void this._o.clear()}}catch(e){return void ay.error("Failed to process exception event. Ignoring this exception.",e)}}Eo(e){try{var t=this._o.getAttachable();return 0===t.length?e:m({},e,{$exception_steps:t})}catch(t){return ay.error("Failed to read buffered exception steps. Capturing exception without steps.",t),e}}Co(e){this.yo.enabled&&this._o.add({[tM]:e,[tL]:(new Date).toISOString()})}xo(e){return B(e)?m({},e):{}}bo(){var e,t;return null!=(e=null==(t=this._instance.config.error_tracking)?void 0:t.exception_steps)?e:{}}So(e){if(0===e.length)return!1;var t=e.reduce((e,t)=>
1{var{type:n,value:r}=t;return W(n)&&n.length>0&&e.$exception_types.push(n),W(r)&&r.length>0&&e.$exception_values.push(r),e},{$exception_types:[],$exception_values:[]});return this.po.some(e=>{var n=e.values.map(e=>{var n,r=sy[e.operator],i=U(e.value)?e.value:[e.value],s=null!=(n=t[e.key])?n:[];return i.length>0&&r(i,s)});return"OR"===e.type?n.some(Boolean):n.every(Boolean)})}Io(e){return e.flatMap(e=>{var t,n;return null!=(t=null==(n=e.stacktrace)?void 0:n.frames)?t:[]}).some(e=>e.filename&&e.filename.startsWith("chrome-extension://"))}To(e){if(e.length>0){var t,n,r,i,s=null!=(t=null==(n=e[0].stacktrace)?void 0:n.frames)?t:[],a=s[s.length-1];return null!=(r=null==a||null==(i=a.filename)?void 0:i.includes("posthog.com/static"))&&r}return!1}ko(e){return!K(e)&&U(e)}}},aC,{siteApps:class{constructor(e){this.Oo=0,this._instance=e,this.Lo=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Fo(e,t){if(t){var n=this.globalsForEvent(t);this.Lo.push(n),this.Lo.length>1e3&&(this.Lo=this.Lo.slice(10))}}get siteAppLoaders(){var e;return null==(e=f._POSTHOG_REMOTE_CONFIG)||null==(e=e[this._instance.config.token])?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Fo.bind(this));this.Ao=()=>{e(),this.Lo=[],this.Ao=void 0}}}globalsForEvent(e){if(!e)throw Error("Event payload is required");var t,n,r,i,s,a,o,l={},u=this._instance.get_property("$groups")||[];for(var[c,d]of Object.entries(this._instance.get_property("$stored_group_properties")||{}))l[c]={id:u[c],type:c,properties:d};var{$set_once:f,$set:h}=e;return{event:m({},_(e,an),{properties:m({},e.properties,h?{$set:m({},null!=(t=null==(n=e.properties)?void 0:n.$set)?t:{},h)}:{},f?{$set_once:m({},null!=(r=null==(i=e.properties)?void 0:i.$set_once)?r:{},f)}:{}),elements_chain:null!=(s=null==(a=e.properties)?void 0:a.$elements_chain)?s:"",distinct_id:null==(o=e.properties)?void 0:o.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}$o(e){var t,n=null==(t=e.tagName)?void 0:t.toLowerCase();return"style"===n&&this._instance.config.prepare_external_dependency_stylesheet?this._instance.config.prepare_external_dependency_stylesheet(e)||(ar.error("prepare_external_dependency_stylesheet returned null"),null):"script"===n&&this._instance.config.prepare_external_dependency_script?this._instance.config.prepare_external_dependency_script(e)||(ar.error("prepare_external_dependency_script returned null"),null):e}Do(){if(!this._instance.config.prepare_external_dependency_stylesheet&&!this._instance.config.prepare_external_dependency_script)return()=>{};var e,t,n,r,i,a,o,l,u=null==s?void 0:s.defaultView,c=null==u||null==(e=u.Node)?void 0:e.prototype;if(!u||!c)return()=>{};if(this.Oo++,this.No)return this.qo();var d=[],f=this,h=new WeakSet,p=(e,t,n)=>{if(null!=e&&e[t]){var r=e[t];e[t]=n(r),d.push(()=>{e[t]=r})}},g=e=>{if(h.has(e))return e;var t=f.$o(e);return t&&h.add(t),t},v=e=>e.map(e=>"string"==typeof e?e:g(e)).filter(e=>!Q(e));return p(c,"appendChild",e=>function(t){var n=g(t);return n?e.call(this,n):t}),p(c,"insertBefore",e=>function(t,n){var r=g(t);return r?e.call(this,r,n):t}),p(c,"replaceChild",e=>function(t,n){var r=g(t);return r?e.call(this,r,n):n}),[null==(t=u.Element)?void 0:t.prototype,null==(n=u.Document)?void 0:n.prototype,null==(r=u.DocumentFragment)?void 0:r.prototype].forEach(e=>{p(e,"append",e=>function(){for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.apply(this,v(n))}),p(e,"prepend",e=>function(){for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.apply(this,v(n))})}),[null==(i=u.Element)?void 0:i.prototype,null==(a=u.CharacterData)?void 0:a.prototype,null==(o=u.DocumentType)?void 0:o.prototype].forEach(e=>{p(e,"before",e=>function(){for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.apply(this,v(n))}),p(e,"after",e=>function(){for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.apply(this,v(n))}),p(e,"replaceWith",e=>function(){for(var t=arguments.length,n=Array(t),r=0;t>r;r++)n[r]=arguments[r];var i=v(n);return n.length&&!i.length?void 0:e.apply(this,i)})}),p(null==(l=u.Element)?void 0:l.prototype,"insertAdjacentElement",e=>function(t,n){var r=g(n);return r?e.call(this,t,r):null}),this.No=()=>
1{d.forEach(e=>e()),this.No=void 0},this.qo()}qo(){var e=!1;return()=>{var t;e||(e=!0,this.Oo--,0===this.Oo&&(null==(t=this.No)||t.call(this)))}}jo(e,t){void 0===t&&(t=!0);var n=this.Do();try{var r=e(n);return t&&n(),r}catch(e){throw n(),e}}setupSiteApp(e){var t=this.apps[e.id],n=()=>{var n;!t.errored&&this.Lo.length&&(ar.info("Processing "+this.Lo.length+" events for site app with id "+e.id),this.Lo.forEach(e=>this.jo(()=>null==t.processEvent?void 0:t.processEvent(e))),t.processedBuffer=!0),Object.values(this.apps).every(e=>e.processedBuffer||e.errored)&&(null==(n=this.Ao)||n.call(this))},r=!1,i=i=>{t.errored=!i,t.loaded=!0,ar.info("Site app with id "+e.id+" "+(i?"loaded":"errored")),r&&n()};try{var{processEvent:s}=this.jo(t=>e.init({posthog:this._instance,callback(e){t(),i(e)}}),!1);s&&(t.processEvent=s),r=!0}catch(t){ar.error(ai+e.id,t),i(!1)}if(r&&t.loaded)try{n()}catch(n){ar.error("Error while processing buffered events PostHog app with config id "+e.id,n),t.errored=!0}}Bo(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var n of e)this.setupSiteApp(n)}Ho(e){var t=this;if(0!==Object.keys(this.apps).length){var n=this.globalsForEvent(e),r=function(r){try{t.jo(()=>null==r.processEvent?void 0:r.processEvent(n))}catch(t){ar.error("Error while processing event "+e.event+" for site app "+r.id,t)}};for(var i of Object.values(this.apps))r(i)}}onRemoteConfig(e){var t,n,r,i=this;if(null!=(t=this.siteAppLoaders)&&t.length)return this.isEnabled?(this.Bo(),void this._instance.on("eventCaptured",e=>this.Ho(e))):void ar.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if(null==(n=this.Ao)||n.call(this),null!=(r=e.siteApps)&&r.length)if(this.isEnabled){var s=function(e){var t;f["__$$ph_site_app_"+e]=i._instance,null==(t=f.__PosthogExtensions__)||null==t.loadSiteApp||t.loadSiteApp(i._instance,o,t=>{if(t)return ar.error(ai+e,t)})};for(var{id:a,url:o}of e.siteApps)s(a)}else ar.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},aT,{tracingHeaders:class{constructor(e){this.Uo=void 0,this.zo=void 0,this.Vo=void 0,this.oo=()=>{var e,t,n=this.Wo();n?(q(this.Uo)&&(this.Uo=null==(e=f.__PosthogExtensions__)||null==(e=e.tracingHeadersPatchFns)?void 0:e._patchXHR(n,()=>this._instance.get_distinct_id(),this._instance.sessionManager)),q(this.zo)&&(this.zo=null==(t=f.__PosthogExtensions__)||null==(t=t.tracingHeadersPatchFns)?void 0:t._patchFetch(n,()=>this._instance.get_distinct_id(),this._instance.sessionManager))):this.do()},this._instance=e}initialize(){this.startIfEnabledOrStop()}Mt(e){var t,n;null!=(t=f.__PosthogExtensions__)&&t.tracingHeadersPatchFns?e():null==(n=f.__PosthogExtensions__)||null==n.loadExternalDependency||n.loadExternalDependency(this._instance,"tracing-headers",t=>{if(t)return s0.error("failed to load script",t);e()})}Go(){var e,t;return null!=(e=null!=(t=this._instance.config.tracing_headers)?t:this._instance.config.addTracingHeaders)?e:this._instance.config.__add_tracing_headers}Wo(){var e=this.Go();return U(e)?(U(this.Vo)?this.Vo.splice(0,this.Vo.length,...e):this.Vo=[...e],e.length>0?this.Vo:void 0):(U(this.Vo)&&this.Vo.splice(0),this.Vo=e||void 0,this.Vo)}do(){var e,t;null==(e=this.Uo)||e.call(this),null==(t=this.zo)||t.call(this),this.Uo=void 0,this.zo=void 0}startIfEnabledOrStop(){this.Wo()?this.Mt(this.oo):this.do()}}},{toolbar:class{constructor(e){this.instance=e}ia(e){f.ph_toolbar_state=e}na(){var e;return null!=(e=f.ph_toolbar_state)?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,r){if(void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===r&&(r=void 0),nZ(this.instance.config)||!n||!s)return!1;e=null!=e?e:n.location,r=null!=r?r:n.history;try{if(!t){try{n.localStorage.setItem("test","test"),n.localStorage.removeItem("test")}catch(e){return!1}t=null==n?void 0:n.localStorage}var i,a=ad||r8(e.hash,"__posthog")||r8(e.hash,"state"),o=a?nQ(()=>JSON.parse(atob(decodeURIComponent(a))))||nQ(()=>JSON.parse(decodeURIComponent(a))):null;return o&&"ph_authorize"===o.action?((i=o).source="url",i&&Object.keys(i).length>0&&(o.desiredHash?e.hash=o.desiredHash:r?r.replaceState(r.state,"",e.pathname+e.search):e.hash="")):((i=JSON.parse(t.getItem(af)||"{}")).source="localstorage",delete i.userIntent),!(!i.token||this.instance.config.token!==i.token||(this.loadToolbar(i),0))}catch(e){return!1}}sa(e){var t=f.ph_load_toolbar||f.ph_load_editor;!K(t)&&H(t)?t(e,this.instance):ah.warn("No toolbar load function found")}loadToolbar(e){var t,r=!(null==s||!s.getElementById(nC));if(!n||r)return!1;var i="custom"===this.instance.requestRouter.region&&this.instance.config.advanced_disable_toolbar_metrics,a=m({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},i?{instrument:!1}:{});return(n.localStorage.setItem(af,JSON.stringify(m({},a,{source:void 0}))),2===this.na())?this.sa(a):0===this.na()&&(this.ia(1),null==(t=f.__PosthogExtensions__)||null==t.loadExternalDependency||t.loadExternalDependency(this.instance,"toolbar",e=>{e?(ah.error("[Toolbar] Failed to load",e),this.ia(0)):(this.ia(2),this.sa(a))}),nJ(n,"turbolinks:load",()=>{this.ia(0),this.loadToolbar(a)}
1)),!0}oa(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,n){return void 0===e&&(e=void 0),void 0===t&&(t=void 0),void 0===n&&(n=void 0),this.maybeLoadToolbar(e,t,n)}}},aO,{conversations:class{constructor(e){this.aa=void 0,this._conversationsManager=null,this.la=!1,this.ua=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;K(t)||(J(t)?this.aa=t:(this.aa=t.enabled,this.ua=t),this.loadIfEnabled())}}reset(){var e;null==(e=this._conversationsManager)||e.reset(),this._conversationsManager=null,this.aa=void 0,this.ua=null}loadIfEnabled(){if(!(this._conversationsManager||this.la||this._instance.config.disable_conversations||nZ(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=null==f?void 0:f.__PosthogExtensions__;if(e&&!q(this.aa)&&this.aa)if(this.ua&&this.ua.token){this.la=!0;try{var t=e.initConversations;if(t)return this.ha(t),void(this.la=!1);var n=e.loadExternalDependency;if(!n)return void this.da(nR);n(this._instance,"conversations",t=>{t||!e.initConversations?this.da("Could not load conversations script",t):this.ha(e.initConversations),this.la=!1})}catch(e){this.da("Error initializing conversations",e),this.la=!1}}else ak.error("Conversations enabled but missing token in remote config.")}}ha(e){if(this.ua)try{this._conversationsManager=e(this.ua,this._instance),ak.info("Conversations loaded successfully")}catch(e){this.da("Error completing conversations initialization",e)}else ak.error("Cannot complete initialization: remote config is null")}da(e,t){ak.error(e,t),this._conversationsManager=null,this.la=!1}show(){this._conversationsManager?this._conversationsManager.show():ak.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return!0===this.aa&&!Q(this._conversationsManager)}isVisible(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.isVisible())&&e}sendMessage(e,t,n){var r=this;return v(function*(){return r._conversationsManager?r._conversationsManager.sendMessage(e,t,n):(ak.warn(ax),null)})()}getMessages(e,t){var n=this;return v(function*(){return n._conversationsManager?n._conversationsManager.getMessages(e,t):(ak.warn(ax),null)})()}markAsRead(e){var t=this;return v(function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(ak.warn(ax),null)})()}getTickets(e){var t=this;return v(function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(ak.warn(ax),null)})()}requestRestoreLink(e){var t=this;return v(function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(ak.warn(ax),null)})()}restoreFromToken(e){var t=this;return v(function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(ak.warn(ax),null)})()}restoreFromUrlToken(){var e=this;return v(function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(ak.warn(ax),null)})()}getCurrentTicketId(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.getCurrentTicketId())?e:null}getWidgetSessionId(){var e,t;return null!=(e=null==(t=this._conversationsManager)?void 0:t.getWidgetSessionId())?e:null}Xi(){var e;null==(e=this._conversationsManager)||e.setIdentity()}en(){var e;null==(e=this._conversationsManager)||e.clearIdentity()}}},{logs:class{constructor(e){var t;this.ca=!1,this.va=!1,this.Ae=tH("[logs]"),this._r=[],this.fa=[],this.pa=()=>{var e,t;null==(e=this.ga)||e.onReconnect(),null==(t=this.ma)||t.onReconnect()},this._instance=e,this._instance&&null!=(t=this._instance.config.logs)&&t.captureConsoleLogs&&(this.ca=!0),n&&nJ(n,"online",this.pa)}ya(e,t,n,r){var i,s,a,o,l,u,c,d,f,h,p,g,v,m,_=(i=null==(m=this._instance)||null==(m=m.config)?void 0:m.logs,f=null!=(s=null==i?void 0:i.flushIntervalMs)?s:3e3,h=null!=(a=null==i?void 0:i.maxBufferSize)?a:100,g=q(p=null!=n&&n.consoleCapture?void 0:null!=(o=null==i?void 0:i.maxLogsPerInterval)?o:1e3)?Math.max(h,2048):Math.max(h,p),{serviceName:null!=(l=null!=(u=null==(v=null==i?void 0:i.resourceAttributes)?void 0:v["service.name"])?u:null==i?void 0:i.serviceName)?l:null==n?void 0:n.serviceNameDefault,serviceVersion:null!=(c=null==v?void 0:v["service.version"])?c:null==i?void 0:i.serviceVersion,environment:null!=(d=null==v?void 0:v["deployment.environment"])?d:null==i?void 0:i.environment,resourceAttributes:v,beforeSend:null==i?void 0:i.beforeSend,flushIntervalMs:f,maxBufferSize:h,maxQueueSize:g,maxBatchRecordsPerPost:100,rateCapWindowMs:f,maxLogsPerInterval:p,backgroundFlushBudgetMs:0,terminationFlushBudgetMs:0});return[new td(this.ba(e,t),_,this.Ae,()=>this._a(),e=>e(),void 0,r),_]}wa(){var e,t,n=null==(e=this._instance)||null==(e=e.config)?void 0:e.logs;return this.ga&&this.xa===n||(null==(t=this.ga)||t.reset(),this.xa=n,[this.ga,this.ka]=this.ya(()=>this._r,e=>{this._r=e})),this.ga}Sa(){var e,t,n=null==(e=this._instance)||null==(e=e.config)?void 0:e.logs;return this.ma&&this.Ca===n||(null==(t=this.ma)||t.reset(),this.Ca=n,[this.ma,this.Ia]=this.ya(()=>this.fa,e=>{this.fa=e},{serviceNameDefault:"posthog-browser-logs",consoleCapture:!0},aE)),this.ma}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,n=null==(t=e.logs)?void 0:t.captureConsoleLogs;!K(n)&&n&&(this.ca=!0,this.loadIfEnabled())}reset(){var e,t;this._r=[],null==(e=this.ga)||e.reset(),this.fa=[],null==(t=this.ma)||t.reset()}captureLog(e){this.wa().captureLog(e)}le(e){this.Sa().captureLog(e)}get logger(){return this.Ta||(this.Ta={trace:(e,t)=>this.captureLog({body:e,level:"trace",attributes:t}),debug:(e,t)=>this.captureLog({body:e,level:"debug",attributes:t}),info:(e,t)=>this.captureLog({body:e,level:"info",attributes:t}),warn:(e,t)=>this.captureLog({body:e,level:"warn",attributes:t}),error:(e,t)=>
1this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.Ta}flushLogs(e){e?this.Ea(e):(this.ga&&this.ga.flush().catch(e=>this.Ae.error("PostHog logs flush failed:",e)),this.ma&&this.ma.flush().catch(e=>this.Ae.error("PostHog logs flush failed:",e)))}loadIfEnabled(){if(this.ca&&!this.va){var e=null==f?void 0:f.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",t=>{var n;t||null==(n=e.logs)||!n.initializeLogs?this.Ae.error("Could not load logs script",t):(e.logs.initializeLogs(this._instance),this.va=!0)}):this.Ae.error(nR)}else this.Ae.error("PostHog Extensions not found.")}}ba(e,t){var n=this._instance;return{get isDisabled(){return!1},get optedOut(){return!n.is_capturing()},getPersistedProperty:t=>t===k.LogsQueue?e():void 0,setPersistedProperty(e,n){e===k.LogsQueue&&t(null!=n?n:[])},ht:e=>this.ht(e),getLibraryId:()=>p.LIB_NAME,getLibraryVersion:()=>p.LIB_VERSION}}ht(e){return new Promise(t=>{var n=!1,r=e=>{n||(n=!0,clearTimeout(i),t(e))},i=setTimeout(()=>r({kind:"retry-later",error:Error("logs request timed out")}),9e4);this._instance._send_request({method:"POST",url:this.Ma(),data:e,compression:"best-available",batchKey:"logs",fireCallbackOnDrop:!0,callback(e){var t,n=e.statusCode;n>=200&&300>n?r({kind:"ok"}):413===n?r({kind:"too-large"}):0!==n&&429!==n&&500>n?r({kind:"fatal",error:Error("logs request failed with status "+n)}):r({kind:"retry-later",error:null!=(t=e.error)?t:Error("logs request failed with status "+n)})}})})}Ea(e){this._r.length>0&&this.Pa(e,this._r,this.ka,p.LIB_NAME,e=>{this._r=e}),this.fa.length>0&&this.Pa(e,this.fa,this.Ia,aE,e=>{this.fa=e})}Pa(e,t,n,r,i){if(0!==t.length){var s=t.map(e=>e.record);i([]);var a=tc(s,tu(n,p.LIB_NAME,p.LIB_VERSION),r,p.LIB_VERSION);this._instance._send_request({method:"POST",url:this.Ma(),data:a,compression:"best-available",batchKey:"logs",transport:e})}}Ma(){return this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token)}_a(){var e,t={};if(t.distinctId=this._instance.get_distinct_id(),this._instance.sessionManager){var{sessionId:n}=this._instance.sessionManager.checkAndGetSessionAndWindowId(!0);t.sessionId=n}if(null!=f&&null!=(e=f.location)&&e.href&&(t.currentUrl=this._instance.config.disable_capture_url_hashes?tr(f.location.href):f.location.href),this._instance.featureFlags){var r=this._instance.featureFlags.getFlags();r&&r.length>0&&(t.activeFeatureFlags=r)}return t}}});sQ.__defaultExtensionClasses=m({},aN),(p.SDK_DIST_CHANNEL="npm",t=sL[sH]=new sQ,function(){function e(){e.done||(e.done=!0,sB=!1,nq(sL,function(e){e._dom_loaded()}))}null!=s&&s.addEventListener?"complete"===s.readyState?e():nJ(s,"DOMContentLoaded",e,{capture:!1}):n&&tU.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),t).init("phc_aeiEJU8wvjxVnTycU6SjH6GAYVB3DMGTNUlV98rFFyB",{api_host:"https://t.chartcastr.com",defaults:"2026-05-30"}),e.s([],471217)},5526,(e,t,n)=>{"use strict";t.exports=e.f({"private-next-instrumentation-client":{id:()=>471217,module:()=>e.r(471217)}})("private-next-instrumentation-client")},966849,(e,t,n)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},523911,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(966849),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},562262,(e,t,n)=>{"use strict";function r(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break}}function i(e){return 0===e.length?null:e[0]}function s(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,i=e.length,s=i>>>1;r<s;){var o=2*(r+1)-1,l=e[o],u=o+1,c=e[u];if(0>a(l,n))u<i&&0>a(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[o]=n,r=o);else if(u<i&&0>a(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o,l=performance;n.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var d=[],f=[],h=1,p=null,g=3,v=!1,m=!1,_=!1,y=!1,b="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,S="u">typeof setImmediate?setImmediate:null;function k(e){for(var t=i(f);null!==t;){if(null===t.callback)s(f);else if(t.startTime<=e)s(f),t.sortIndex=t.expirationTime,r(d,t);else break;t=i(f)}}function x(e){if(_=!1,k(e),!m)if(null!==i(d))m=!0,E||(E=!0,o());else{var t=i(f);null!==t&&I(x,t.startTime-e)}}var E=!1,P=-1,C=5,T=-1;function O(){return!!y||!(n.unstable_now()-T<C)}function N(){if(y=!1,E){var e=n.unstable_now();T=e;var t=!0;try{e:{m=!1,_&&(_=!1,w(P),P=-1),v=!0;var r=g;try{t:{for(k(e),p=i(d);null!==p&&!(p.expirationTime>e&&O());){var a=p.callback;if("function"==typeof a){p.callback=null,g=p.priorityLevel;var l=a(p.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof l){p.callback=l,k(e),t=!0;break t}p===i(d)&&s(d),k(e)}else s(d);p=i(d)}if(null!==p)t=!0;else{var u=i(f);null!==u&&I(x,u.startTime-e),t=!1}}break e}finally{p=null,g=r,v=!1}}}finally{t?o():E=!1}}}if("function"==typeof S)o=function(){S(N)};else if("u">typeof MessageChannel){var F=new MessageChannel,R=F.port2;F.port1.onmessage=N,o=function(){R.postMessage(null)}}else o=function(){b(N,0)};function I(e,t){P=b(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return g},n.unstable_next=function(e){switch(g){case 1:case 2:case 3:var t=3;break;default:t=g}var n=g;g=t;try{return e()}finally{g=n}},n.unstable_requestPaint=function(){y=!0},n.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=g;g=e;try{return t()}finally{g=n}},n.unstable_scheduleCallback=function(e,t,s){var a=n.unstable_now();switch(s="object"==typeof s&&null!==s&&"number"==typeof(s=s.delay)&&0<s?a+s:a,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=s+l,e={id:h++,callback:t,priorityLevel:e,startTime:s,expirationTime:l,sortIndex:-1},s>a?(e.sortIndex=s,r(f,e),null===i(d)&&e===i(f)&&(_?(w(P),P=-1):_=!0,I(x,s-a))):(e.sortIndex=l,r(d,e),m||v||(m=!0,E||(E=!0,o()))),e},n.unstable_shouldYield=O,n.unstable_wrapCallback=function(e){var t=g;return function(){var n=g;g=t;try{return e.apply(this,arguments)}finally{g=n}}}},553389,(e,t,n)=>{"use strict";t.exports=e.r(562262)},146480,(e,t,n)=>{"use strict";var r,i=e.i(247167),s=e.r(553389),a=e.r(271645),o=e.r(174080);function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function c(e){for(var t=e,n=t;n&&!n.alternate;)0!=(4098&(t=n).flags)&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return 3===t.tag?e:null}function d(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function h(e){if(c(e)!==e)throw Error(l(188))}function p(e,t,n,r,i,s){for(;null!==e;){if((5===e.tag||6===e.tag)&&n(e,r,i,s)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag)&&p(e.child,t,n,r,i,s))return!0;e=e.sibling}return!1}function g(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}
vendor: 2,988 bytes, line 1
1function v(e){switch(e.tag){case 5:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(l(559))}}var m=null,_=null;function y(e){return m=e,!0}function b(e,t,n){return e===n||e===t&&(m=e,!0)}function w(e,t,n){return e===n?(_=e,!1):e===t&&(null!==_&&(m=e),!0)}function S(e){if(null===e)return null;do e=null===e?null:e.return;while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag)return e||null}function k(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var s=t;s;s=n(s))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var x=Object.assign,E=Symbol.for("react.element"),P=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),R=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),z=Symbol.for("react.lazy");Symbol.for("react.scope");var D=Symbol.for("react.activity"),$=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var j=Symbol.for("react.memo_cache_sentinel"),U=Symbol.for("react.view_transition"),H=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=H&&e[H]||e["@@iterator"])?e:null}var V=Symbol.for("react.client.reference"),q=Array.isArray,W=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},K=[],X=-1;function Y(e){return{current:e}}function J(e){0>X||(e.current=K[X],K[X]=null,X--)}function Z(e,t){K[++X]=e.current,e.current=t}var ee=Y(null),et=Y(null),en=Y(null),er=Y(null);function ei(e,t){switch(Z(en,t),Z(et,e),Z(ee,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?cc(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=cd(t=cc(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}J(ee),Z(ee,e)}function es(){J(ee),J(et),J(en)}function ea(e){var t=e.memoizedState;null!==t&&(dw._currentValue=t.memoizedState,Z(er,e));var n=cd(t=ee.current,e.type);t!==n&&(Z(et,e),Z(ee,n))}function eo(e){et.current===e&&(J(ee),J(et)),er.current===e&&(J(er),dw._currentValue=Q)}function el(e){if(void 0===tK)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tK=t&&t[1]||"",tX=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tK+e+tX}var eu=!1;function ec(e,t){if(!e||eu)return"";eu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
vendor: 5,562 bytes, line 1
1else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=r.DetermineComponentFrameRoot(),a=s[0],o=s[1];if(a&&o){var l=a.split("\n"),u=o.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===u.length)for(r=l.length-1,i=u.length-1;1<=r&&0<=i&&l[r]!==u[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==u[i]){if(1!==r||1!==i)do if(r--,i--,0>i||l[r]!==u[i]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=i)break}}}finally{eu=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?el(n):""}function ed(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return el(e.type);case 16:return el("Lazy");case 13:return e.child!==t&&null!==t?el("Suspense Fallback"):el("Suspense");case 19:return el("SuspenseList");case 0:case 15:return ec(e.type,!1);case 11:return ec(e.type.render,!1);case 1:return ec(e.type,!0);case 31:return el("Activity");case 30:return el("ViewTransition");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var ef=Object.prototype.hasOwnProperty,eh=s.unstable_scheduleCallback,ep=s.unstable_cancelCallback,eg=s.unstable_shouldYield,ev=s.unstable_requestPaint,em=s.unstable_now,e_=s.unstable_getCurrentPriorityLevel,ey=s.unstable_ImmediatePriority,eb=s.unstable_UserBlockingPriority,ew=s.unstable_NormalPriority,eS=s.unstable_LowPriority,ek=s.unstable_IdlePriority,ex=(s.log,s.unstable_setDisableYieldValue,null),eE=null,eP=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eC(e)/eT|0)|0},eC=Math.log,eT=Math.LN2,eO=256,eN=262144,eF=4194304;function eR(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eI(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,s=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var o=0x7ffffff&r;return 0!==o?0!=(r=o&~s)?i=eR(r):0!=(a&=o)?i=eR(a):n||0!=(n=o&~e)&&(i=eR(n)):0!=(o=r&~s)?i=eR(o):0!==a?i=eR(a):n||0!=(n=r&~e)&&(i=eR(n)),0===i?0:0!==t&&t!==i&&0==(t&s)&&((s=i&-i)>=(n=t&-t)||32===s&&0!=(4194048&n))?t:i}function eM(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eL(){var e=eF;return 0==(0x3c00000&(eF<<=1))&&(eF=4194304),e}function eA(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ez(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eD(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eP(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function e$(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eP(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ej(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eU(n))&(e.suspendedLanes|t))?0:n}function eU(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eH(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eB(){var e=G.p;return 0!==e?e:void 0===(e=window.event)?32:dA(e.type)}function eV(e,t){var n=G.p;try{return G.p=e,t()}finally{G.p=n}}var eq=Math.random().toString(36).slice(2),eW="__reactFiber$"+eq,eG="__reactProps$"+eq,eQ="__reactContainer$"+eq,eK="__reactEvents$"+eq,eX="__reactListeners$"+eq,eY="__reactHandles$"+eq,eJ="__reactResources$"+eq,eZ="__reactMarker$"+eq;function e0(e){delete e[eW],delete e[eG],delete e[eK],delete e[eX],delete e[eY]}function e1(e){var t;if(t=e[eW])return t;for(var n=e.parentNode;n;){if(t=n[eQ]||n[eW]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=cY(e);null!==e;){if(n=e[eW])return n;e=cY(e)}return t}n=(e=n).parentNode}return null}function e2(e){if(e=e[eW]||e[eQ]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function e3(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function e4(e){var t=e[eJ];return t||(t=e[eJ]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function e5(e){e[eZ]=!0}var e6=new Set,e8={};function e7(e,t){e9(e,t),e9(e+"Capture",t)}function e9(e,t){for(e8[e]=t,e=0;e<t.length;e++)e6.add(t[e])}var te=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
1037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),tt={},tn={},tr=!1;function ti(){var e=tr;return tr=!1,e}function ts(e,t,n){if(ef.call(tn,t)||!ef.call(tt,t)&&(te.test(t)?tn[t]=!0:(tt[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,n)}}function ta(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,n)}}function to(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function tl(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function tu(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function tc(e){if(!e._valueTracker){var t=tu(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,s.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function td(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tu(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function tf(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var th=/[\n"\\]/g;function tp(e){return e.replace(th,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tg(e,t,n,r,i,s,a,o){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+tl(t)):e.value!==""+tl(t)&&(e.value=""+tl(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?tm(e,a,tl(t)):null!=n?tm(e,a,tl(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=s&&(e.defaultChecked=!!s),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.name=""+tl(o):e.removeAttribute("name")}function tv(e,t,n,r,i,s,a,o){if(null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s&&(e.type=s),null!=t||null!=n){if(("submit"===s||"reset"===s)&&null==t)return void tc(e);n=null!=n?""+tl(n):"",t=null!=t?""+tl(t):n,o||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=o?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),tc(e)}function tm(e,t,n){"number"===t&&tf(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function t_(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(i=0,n=""+tl(n),t=null;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ty(e,t,n){if(null!=t&&((t=""+tl(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+tl(n):""}function tb(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(q(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=tl(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),tc(e)}function tw(e,t){if(t){var n=e.firstChild;
vendor: 4,179 bytes, line 1
1if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tS=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tk(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tS.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tx(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",tr=!0);for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&(tk(e,i,r),tr=!0)}else for(var s in t)t.hasOwnProperty(s)&&tk(e,s,t[s])}function tE(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tP=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
1-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tC=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tT(e){return tC.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tO(){}var tN=null;function tF(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tR=null,tI=null;function tM(e){var t=e2(e);if(t&&(e=t.stateNode)){var n=e[eG]||null;switch(e=t.stateNode,t.type){case"input":if(tg(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tp(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[eG]||null;if(!i)throw Error(l(90));tg(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&td(r)}break;case"textarea":ty(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&t_(e,!!n.multiple,t,!1)}}}var tL=!1;function tA(e,t,n){if(tL)return e(t,n);tL=!0;try{return e(t)}finally{if(tL=!1,(null!==tR||null!==tI)&&(ur(),tR&&(t=tR,e=tI,tI=tR=null,tM(t),e)))for(t=0;t<e.length;t++)tM(e[t])}}function tz(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eG]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tD="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,t$=!1;if(tD)try{var tj={};Object.defineProperty(tj,"passive",{get:function(){t$=!0}}),window.addEventListener("test",tj,tj),window.removeEventListener("test",tj,tj)}catch(e){t$=!1}var tU=null,tH=null,tB=null;function tV(){if(tB)return tB;var e,t,n=tH,r=n.length,i="value"in tU?tU.value:tU.textContent,s=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[s-t];t++);return tB=i.slice(e,1<t?1-t:void 0)}function tq(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tW(){return!0}function tG(){return!1}function tQ(e){function t(t,n,r,i,s){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=s,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?tW:tG,this.isPropagationStopped=tG,this}return x(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tW)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tW)},persist:function(){},isPersistent:tW}),t}var tK,tX,tY,tJ,tZ,t0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t1=tQ(t0),t2=x({},t0,{view:0,detail:0}),t3=tQ(t2),t4=x({},t2,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ns,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,389 bytes, line 1
1Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tZ&&(tZ&&"mousemove"===e.type?(tY=e.screenX-tZ.screenX,tJ=e.screenY-tZ.screenY):tJ=tY=0,tZ=e),tY)},movementY:function(e){return"movementY"in e?e.movementY:tJ}}),t5=tQ(t4),t6=tQ(x({},t4,{dataTransfer:0})),t8=tQ(x({},t2,{relatedTarget:0})),t7=tQ(x({},t0,{animationName:0,elapsedTime:0,pseudoElement:0})),t9=tQ(x({},t0,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ne=tQ(x({},t0,{data:0})),nt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ni(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nr[e])&&!!t[e]}function ns(){return ni}var na=tQ(x({},t2,{key:function(e){if(e.key){var t=nt[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tq(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ns,charCode:function(e){return"keypress"===e.type?tq(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tq(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),no=tQ(x({},t4,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nl=tQ(x({},t0,{submitter:0})),nu=tQ(x({},t2,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ns})),nc=tQ(x({},t0,{propertyName:0,elapsedTime:0,pseudoElement:0})),nd=tQ(x({},t4,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nf=tQ(x({},t0,{newState:0,oldState:0})),nh=[9,13,27,32],np=tD&&"CompositionEvent"in window,ng=null;tD&&"documentMode"in document&&(ng=document.documentMode);var nv=tD&&"TextEvent"in window&&!ng,nm=tD&&(!np||ng&&8<ng&&11>=ng),n_=!1;function ny(e,t){switch(e){case"keyup":return -1!==nh.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nb(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nw=!1,nS={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nS[e.type]:"textarea"===t}function nx(e,t,n,r){tR?tI?tI.push(r):tI=[r]:tR=r,0<(t=u6(t,"onChange")).length&&(n=new t1("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nE=null,nP=null;function nC(e){uJ(e,0)}function nT(e){if(td(e3(e)))return e}function nO(e,t){if("change"===e)return t}var nN=!1;if(tD){if(tD){var nF="oninput"in document;if(!nF){var nR=document.createElement("div");nR.setAttribute("oninput","return;"),nF="function"==typeof nR.oninput}r=nF}else r=!1;nN=r&&(!document.documentMode||9<document.documentMode)}function nI(){nE&&(nE.detachEvent("onpropertychange",nM),nP=nE=null)}function nM(e){if("value"===e.propertyName&&nT(nP)){var t=[];nx(t,nP,e,tF(e)),tA(nC,t)}}function nL(e,t,n){"focusin"===e?(nI(),nE=t,nP=n,nE.attachEvent("onpropertychange",nM)):"focusout"===e&&nI()}function nA(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nT(nP)}function nz(e,t){if("click"===e)return nT(t)}function nD(e,t){if("input"===e||"change"===e)return nT(t)}var n$="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nj(e,t){if(n$(e,t))return!0;
vendor: 9,246 bytes, line 1
1if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ef.call(t,i)||!n$(e[i],t[i]))return!1}return!0}function nU(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nH(e,t){var n,r=nU(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nU(r)}}function nB(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=tf(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=tf(e.document)}return t}function nV(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nq=tD&&"documentMode"in document&&11>=document.documentMode,nW=null,nG=null,nQ=null,nK=!1;function nX(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nK||null==nW||nW!==tf(r)||(r="selectionStart"in(r=nW)&&nV(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nQ&&nj(nQ,r)||(nQ=r,0<(r=u6(nG,"onSelect")).length&&(t=new t1("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nW)))}function nY(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nJ={animationend:nY("Animation","AnimationEnd"),animationiteration:nY("Animation","AnimationIteration"),animationstart:nY("Animation","AnimationStart"),transitionrun:nY("Transition","TransitionRun"),transitionstart:nY("Transition","TransitionStart"),transitioncancel:nY("Transition","TransitionCancel"),transitionend:nY("Transition","TransitionEnd")},nZ={},n0={};function n1(e){if(nZ[e])return nZ[e];if(!nJ[e])return e;var t,n=nJ[e];for(t in n)if(n.hasOwnProperty(t)&&t in n0)return nZ[e]=n[t];return e}tD&&(n0=document.createElement("div").style,"AnimationEvent"in window||(delete nJ.animationend.animation,delete nJ.animationiteration.animation,delete nJ.animationstart.animation),"TransitionEvent"in window||delete nJ.transitionend.transition);var n2=n1("animationend"),n3=n1("animationiteration"),n4=n1("animationstart"),n5=n1("transitionrun"),n6=n1("transitionstart"),n8=n1("transitioncancel"),n7=n1("transitionend"),n9=new Map,re="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function rt(e,t){n9.set(e,t),e7(t,[e])}re.push("scrollEnd");var rn=0;function rr(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:t.autoName=e="_"+(e=lK.identifierPrefix)+"t_"+(rn++).toString(32)+"_"}function ri(e){if(null==e||"string"==typeof e)return e;var t=null,n=l3;if(null!==n)for(var r=0;r<n.length;r++){var i=e[n[r]];if(null!=i){if("none"===i)return"none";t=null==t?i:t+" "+i}}return null==t?e.default:t}function rs(e,t){return e=ri(e),null==(t=ri(t))?"auto"===e?null:e:"auto"===t?null:t}var ra="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof i.default&&"function"==typeof i.default.emit)return void i.default.emit("uncaughtException",e);console.error(e)},ro=[],rl=0,ru=0;function rc(){for(var e=rl,t=ru=rl=0;t<e;){var n=ro[t];ro[t++]=null;var r=ro[t];ro[t++]=null;var i=ro[t];ro[t++]=null;var s=ro[t];if(ro[t++]=null,null!==r&&null!==i){var a=r.pending;null===a?i.next=i:(i.next=a.next,a.next=i),r.pending=i}0!==s&&rp(n,i,s)}}function rd(e,t,n,r){ro[rl++]=e,ro[rl++]=t,ro[rl++]=n,ro[rl++]=r,ru|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function rf(e,t,n,r){return rd(e,t,n,r),rg(e)}function rh(e,t){return rd(e,null,null,t),rg(e)}function rp(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,s=e.return;null!==s;)s.childLanes|=n,null!==(r=s.alternate)&&(r.childLanes|=n),22===s.tag&&(null===(e=s.stateNode)||1&e._visibility||(i=!0)),e=s,s=s.return;return 3===e.tag?(s=e.stateNode,i&&null!==t&&(i=31-eP(n),null===(r=(e=s.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=0x20000000|n),s):null}function rg(e){if(50<l4)throw l4=0,l5=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var rv={};function rm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function r_(e,t,n,r){return new rm(e,t,n,r)}function ry(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rb(e,t){var n=e.alternate;return null===n?((n=r_(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x7f00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function rw(e,t){e.flags&=0x7f00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function rS(e,t,n,r,i,s){var a=0;if(r=e,"function"==typeof e)ry(e)&&(a=1);else if("string"==typeof e)a=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,ee.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case D:return(e=r_(31,n,t,i)).elementType=D,e.lanes=s,e;case T:return rk(n.children,i,s,t);case O:a=8,i|=24;break;case N:return(e=r_(12,n,t,2|i)).elementType=N,e.lanes=s,e;case M:return(e=r_(13,n,t,i)).elementType=M,e.lanes=s,e;case L:return(e=r_(19,n,t,i)).elementType=L,e.lanes=s,e;case $:case U:return(e=r_(30,n,t,e=32|i)).elementType=U,e.lanes=s,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case R:a=10;break e;case F:a=9;break e;case I:a=11;break e;case A:a=14;break e;case z:a=16,r=null;break e}a=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=r_(a,n,t,i)).elementType=e,t.type=r,t.lanes=s,t}function rk(e,t,n,r){return(e=r_(7,e,r,t)).lanes=n,e}function rx(e,t,n){return(e=r_(6,e,null,t)).lanes=n,e}function rE(e){var t=r_(18,null,null,0);return t.stateNode=e,t}function rP(e,t,n){return(t=r_(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rC=new WeakMap;function rT(e,t){if("object"==typeof e&&null!==e){var n=rC.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ed(t)},rC.set(e,t),t)}return{value:e,source:t,stack:ed(t)}}var rO=[],rN=0,rF=null,rR=0,rI=[],rM=0,rL=null,rA=1,rz="";function rD(e,t){rO[rN++]=rR,rO[rN++]=rF,rF=e,rR=t}function r$(e,t,n){rI[rM++]=rA,rI[rM++]=rz,rI[rM++]=rL,rL=e;var r=rA;e=rz;var i=32-eP(r)-1;r&=~(1<<i),n+=1;var s=32-eP(t)+i;if(30<s){var a=i-i%5;s=(r&(1<<a)-1).toString(32),r>>=a,i-=a,rA=1<<32-eP(t)+i|n<<i|r,rz=s+e}else rA=1<<s|n<<i|r,rz=e}
vendor: 3,930 bytes, line 1
1function rj(e){null!==e.return&&(rD(e,1),r$(e,1,0))}function rU(e){for(;e===rF;)rF=rO[--rN],rO[rN]=null,rR=rO[--rN],rO[rN]=null;for(;e===rL;)rL=rI[--rM],rI[rM]=null,rz=rI[--rM],rI[rM]=null,rA=rI[--rM],rI[rM]=null}function rH(e,t){rI[rM++]=rA,rI[rM++]=rz,rI[rM++]=rL,rA=t.id,rz=t.overflow,rL=e}var rB=null,rV=null,rq=!1,rW=null,rG=!1,rQ=Error(l(519));function rK(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw r1(rT(t,e)),rQ}function rX(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eW]=e,t[eG]=r,n){case"dialog":uZ("cancel",t),uZ("close",t);break;case"iframe":case"object":case"embed":uZ("load",t);break;case"video":case"audio":for(n=0;n<uX.length;n++)uZ(uX[n],t);break;case"source":uZ("error",t);break;case"img":case"image":case"link":uZ("error",t),uZ("load",t);break;case"details":uZ("toggle",t);break;case"input":uZ("invalid",t),tv(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":uZ("invalid",t);break;case"textarea":uZ("invalid",t),tb(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||cn(t.textContent,n)?(null!=r.popover&&(uZ("beforetoggle",t),uZ("toggle",t)),null!=r.onScroll&&uZ("scroll",t),null!=r.onScrollEnd&&uZ("scrollend",t),null!=r.onClick&&(t.onclick=tO),t=!0):t=!1,t||rK(e,!0)}function rY(e){for(rB=e.return;rB;)switch(rB.tag){case 5:case 31:case 13:rG=!1;return;case 27:case 3:rG=!0;return;default:rB=rB.return}}function rJ(e){if(e!==rB)return!1;if(!rq)return rY(e),rq=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||cf(e.type,e.memoizedProps)),t=!t),t&&rV&&rK(e),rY(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rV=cX(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rV=cX(e)}else 27===n?(n=rV,cy(e.type)?(e=cK,cK=null,rV=e):rV=n):rV=rB?cQ(e.stateNode.nextSibling):null;return!0}function rZ(){rV=rB=null,rq=!1}function r0(){var e=rW;return null!==e&&(null===lU?lU=e:lU.push.apply(lU,e),rW=null),e}function r1(e){null===rW?rW=[e]:rW.push(e)}var r2=Y(null),r3=null,r4=null;function r5(e,t,n){Z(r2,t._currentValue),t._currentValue=n}function r6(e){e._currentValue=r2.current,J(r2)}function r8(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function r7(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var s=i.dependencies;if(null!==s){var a=i.child;s=s.firstContext;e:for(;null!==s;){var o=s;s=i;for(var u=0;u<t.length;u++)if(o.context===t[u]){s.lanes|=n,null!==(o=s.alternate)&&(o.lanes|=n),r8(s.return,n,e),r||(a=null);break e}s=o.next}}else if(18===i.tag){if(null===(a=i.return))throw Error(l(341));a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),r8(a,n,e),a=null}else 13===i.tag&&null!==i.memoizedState&&null===i.memoizedState.dehydrated?(i.lanes|=n,null!==(a=i.alternate)&&(a.lanes|=n),r8(i.return,n,e),a=r?i.child:null):a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===e){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}}function r9(e,t,n,r){e=null;for(var i=t,s=!1;null!==i;){if(!s){if(0!=(524288&i.flags))s=!0;else if(0!=(262144&i.flags))break}if(10===i.tag){var a=i.alternate;if(null===a)throw Error(l(387));if(null!==(a=a.memoizedProps)){var o=i.type;n$(i.pendingProps.value,a.value)||(null!==e?e.push(o):e=[o])}}else if(i===er.current){if(null===(a=i.alternate))throw Error(l(387));a.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(dw):e=[dw])}i=i.return}return null!==e&&r7(t,e,n,r),t.flags|=262144,null!==e}function ie(e){for(e=e.firstContext;null!==e;){if(!n$(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
1function it(e){r3=e,r4=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ir(e){return is(r3,e)}function ii(e,t){return null===r3&&it(e),is(e,t)}function is(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===r4){if(null===e)throw Error(l(308));r4=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else r4=r4.next=t;return n}var ia="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},io=s.unstable_scheduleCallback,il=s.unstable_NormalPriority,iu={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ic(){return{controller:new ia,data:new Map,refCount:0}}function id(e){e.refCount--,0===e.refCount&&io(il,function(){e.controller.abort()})}function ih(e,t){if(0!=(4194048&e.pendingLanes)){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var ip=null,ig=null,iv=0,im=0,i_=null;function iy(){if(0==--iv&&(ip=null,null!==ig)){null!==i_&&(i_.status="fulfilled");var e=ig;ig=null,im=0,i_=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var ib=W.S;W.S=function(e,t){if(lV=em(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===ig){var t=ig=[];iv=0,im=uW(),i_={status:"pending",value:void 0,then:function(e){t.push(e)}}}iv++,e.then(iy,iy)}(t),null!==ip)for(var n=uI;null!==n;)ih(n,ip),n=n.next;if(null!==(n=e.types)){for(var r=uI;null!==r;)ih(r,n),r=r.next;if(0!==im){null===(r=ip)&&(r=ip=[]);for(var i=0;i<n.length;i++){var s=n[i];-1===r.indexOf(s)&&r.push(s)}}}null!==ib&&ib(e,t)};var iw=Y(null);function iS(){var e=iw.current;return null!==e?e:lE.pooledCache}function ik(e,t){null===t?Z(iw,iw.current):Z(iw,t.pool)}function ix(){var e=iS();return null===e?null:{parent:iu._currentValue,pool:e}}var iE=Error(l(460)),iP=Error(l(474)),iC=Error(l(542)),iT={then:function(){}};function iO(e){return"fulfilled"===(e=e.status)||"rejected"===e}function iN(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(tO,tO),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw iM(e=t.reason),e;default:if("string"==typeof t.status)t.then(tO,tO);else{if(null!==(e=lE)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw iM(e=t.reason),e}throw iR=t,iE}}function iF(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw iR=e,iE;throw e}}var iR=null;function iI(){if(null===iR)throw Error(l(459));var e=iR;return iR=null,e}function iM(e){if(e===iE||e===iC)throw Error(l(483))}var iL=null,iA=0;function iz(e){var t=iA;return iA+=1,null===iL&&(iL=[]),iN(iL,e,t)}function iD(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function i$(e,t){if(t.$$typeof===E)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ij(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return(e=rb(e,t)).index=0,e.sibling=null,e}function s(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x8000002,n):r:(t.flags|=0x8000002,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=0x8000002),t}function o(e,t,n,r){return null===t||6!==t.tag?(t=rx(n,e.mode,r)).return=e:(t=i(t,n)).return=e,t}function u(e,t,n,r){var s=n.type;return s===T?(iD(e=d(e,t,n.props.children,r,n.key),n),e):(null!==t&&(t.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===z&&iF(s)===t.type)?iD(t=i(t,n.props),n):iD(t=rS(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=rP(n,e.mode,r)).return=e:(t=i(t,n.children||[])).return=e,t}
vendor: 9,527 bytes, line 1
1function d(e,t,n,r,s){return null===t||7!==t.tag?(t=rk(n,e.mode,r,s)).return=e:(t=i(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rx(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case P:return iD(n=rS(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case C:return(t=rP(t,e.mode,n)).return=e,t;case z:return f(e,t=iF(t),n)}if(q(t)||B(t))return(t=rk(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,iz(t),n);if(t.$$typeof===R)return f(e,ii(e,t),n);i$(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:o(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case P:return n.key===i?u(e,t,n,r):null;case C:return n.key===i?c(e,t,n,r):null;case z:return h(e,t,n=iF(n),r)}if(q(n)||B(n))return null!==i?null:d(e,t,n,r,null);if("function"==typeof n.then)return h(e,t,iz(n),r);if(n.$$typeof===R)return h(e,t,ii(e,n),r);i$(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return o(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case P:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case C:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case z:return p(e,t,n,r=iF(r),i)}if(q(r)||B(r))return d(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return p(e,t,n,iz(r),i);if(r.$$typeof===R)return p(e,t,n,ii(t,r),i);i$(t,r)}return null}return function(o,u,c,d){try{iA=0;var g=function o(u,c,d,g){if("object"==typeof d&&null!==d&&d.type===T&&null===d.key&&void 0===d.props.ref&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case P:e:{for(var v=d.key;null!==c;){if(c.key===v){if((v=d.type)===T){if(7===c.tag){n(u,c.sibling),iD(g=i(c,d.props.children),d),g.return=u,u=g;break e}}else if(c.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===z&&iF(v)===c.type){n(u,c.sibling),iD(g=i(c,d.props),d),g.return=u,u=g;break e}n(u,c);break}t(u,c),c=c.sibling}d.type===T?iD(g=rk(d.props.children,u.mode,g,d.key),d):iD(g=rS(d.type,d.key,d.props,null,u.mode,g),d),g.return=u,u=g}return a(u);case C:e:{for(v=d.key;null!==c;){if(c.key===v)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(g=i(c,d.children||[])).return=u,u=g;break e}else{n(u,c);break}t(u,c),c=c.sibling}(g=rP(d,u.mode,g)).return=u,u=g}return a(u);case z:return o(u,c,d=iF(d),g)}if(q(d))return function(i,a,o,l){for(var u=null,c=null,d=a,g=a=0,v=null;null!==d&&g<o.length;g++){d.index>g?(v=d,d=null):v=d.sibling;var m=h(i,d,o[g],l);if(null===m){null===d&&(d=v);break}e&&d&&null===m.alternate&&t(i,d),a=s(m,a,g),null===c?u=m:c.sibling=m,c=m,d=v}if(g===o.length)return n(i,d),rq&&rD(i,g),u;if(null===d){for(;g<o.length;g++)null!==(d=f(i,o[g],l))&&(a=s(d,a,g),null===c?u=d:c.sibling=d,c=d);return rq&&rD(i,g),u}for(d=r(d);g<o.length;g++)null!==(v=p(d,i,g,o[g],l))&&(e&&null!==(m=v.alternate)&&d.delete(null===m.key?g:m.key),a=s(v,a,g),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach(function(e){return t(i,e)}),rq&&rD(i,g),u}(u,c,d,g);if(B(d)){if("function"!=typeof(v=B(d)))throw Error(l(150));return function(i,a,o,u){if(null==o)throw Error(l(151));for(var c=null,d=null,g=a,v=a=0,m=null,_=o.next();null!==g&&!_.done;v++,_=o.next()){g.index>v?(m=g,g=null):m=g.sibling;var y=h(i,g,_.value,u);if(null===y){null===g&&(g=m);break}e&&g&&null===y.alternate&&t(i,g),a=s(y,a,v),null===d?c=y:d.sibling=y,d=y,g=m}if(_.done)return n(i,g),rq&&rD(i,v),c;if(null===g){for(;!_.done;v++,_=o.next())null!==(_=f(i,_.value,u))&&(a=s(_,a,v),null===d?c=_:d.sibling=_,d=_);return rq&&rD(i,v),c}for(g=r(g);!_.done;v++,_=o.next())null!==(_=p(g,i,v,_.value,u))&&(e&&null!==(m=_.alternate)&&g.delete(null===m.key?v:m.key),a=s(_,a,v),null===d?c=_:d.sibling=_,d=_);return e&&g.forEach(function(e){return t(i,e)}),rq&&rD(i,v),c}(u,c,d=v.call(d),g)}if("function"==typeof d.then)return o(u,c,iz(d),g);if(d.$$typeof===R)return o(u,c,ii(u,d),g);i$(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(g=i(c,d)).return=u):(n(u,c),(g=rx(d,u.mode,g)).return=u),a(u=g)):n(u,c)}(o,u,c,d);return iL=null,g}catch(e){if(e===iE||e===iC)throw e;var v=r_(29,e,null,o.mode);return v.lanes=d,v.return=o,v}finally{}}}var iU=ij(!0),iH=ij(!1),iB=!1;function iV(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iq(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function iW(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function iG(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lx)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=rg(e),rp(e,null,n),t}return rd(e,r,t,n),rg(e)}function iQ(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,e$(e,n)}}function iK(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,s=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===s?i=s=a:s=s.next=a,n=n.next}while(null!==n)null===s?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var iX=!1;function iY(){if(iX){var e=i_;if(null!==e)throw e}}function iJ(e,t,n,r){iX=!1;var i=e.updateQueue;iB=!1;var s=i.firstBaseUpdate,a=i.lastBaseUpdate,o=i.shared.pending;if(null!==o){i.shared.pending=null;var l=o,u=l.next;l.next=null,null===a?s=u:a.next=u,a=l;var c=e.alternate;null!==c&&(o=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===o?c.firstBaseUpdate=u:o.next=u,c.lastBaseUpdate=l)}if(null!==s){var d=i.baseState;for(a=0,c=u=l=null,o=s;;){var f=-0x20000001&o.lane,h=f!==o.lane;if(h?(lC&f)===f:(r&f)===f){0!==f&&f===im&&(iX=!0),null!==c&&(c=c.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});e:{var p=e,g=o;switch(f=t,g.tag){case 1:if("function"==typeof(p=g.payload)){d=p.call(n,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=g.payload)?p.call(n,d,f):p))break e;d=x({},d,f);break e;case 2:iB=!0}}null!==(f=o.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=i.callbacks)?i.callbacks=[f]:h.push(f))}else h={lane:f,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,a|=f;if(null===(o=o.next))if(null===(o=i.shared.pending))break;else o=(h=o).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null===s&&(i.shared.lanes=0),lL|=a,e.lanes=a,e.memoizedState=d}}function iZ(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function i0(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)iZ(n[e],t)}var i1=Y(null),i2=Y(0);function i3(e,t){Z(i2,e=lI),Z(i1,t),lI=e|t.baseLanes}function i4(){Z(i2,lI),Z(i1,i1.current)}function i5(){lI=i2.current,J(i1),J(i2)}var i6=Y(null),i8=null;function i7(e){var t=e.alternate;Z(sr,1&sr.current),Z(i6,e),null===i8&&(null===t||null!==i1.current?i8=e:null!==t.memoizedState&&(i8=e))}function i9(e){Z(sr,sr.current),Z(i6,e),null===i8&&(i8=e)}function se(e){22===e.tag?(Z(sr,sr.current),Z(i6,e),null===i8&&(i8=e)):st()}function st(){Z(sr,sr.current),Z(i6,i6.current)}function sn(e){J(i6),i8===e&&(i8=null),J(sr)}var sr=Y(0);function si(e,t){Z(i6,i6.current),Z(sr,t)}function ss(e){J(sr),J(i6),i8===e&&(i8=null)}function sa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||cW(n)||cG(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var so=0,sl=null,su=null,sc=null,sd=!1,sf=!1,sh=!1,sp=0,sg=0,sv=null,sm=0;function s_(){throw Error(l(321))}function sy(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!n$(e[n],t[n]))return!1;return!0}function sb(e,t,n,r,i,s){return so=s,sl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,W.H=null===e||null===e.memoizedState?aP:aC,sh=!1,s=n(r,i),sh=!1,sf&&(s=sS(t,n,r,i)),sw(e),s}function sw(e){W.H=aE;var t=null!==su&&null!==su.next;if(so=0,sc=su=sl=null,sd=!1,sg=0,sv=null,t)throw Error(l(300));null===e||aB||null!==(e=e.dependencies)&&ie(e)&&(aB=!0)}function sS(e,t,n,r){sl=e;var i=0;do{if(sf&&(sv=null),sg=0,sf=!1,25<=i)throw Error(l(301));if(i+=1,sc=su=null,null!=e.updateQueue){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,null!=s.memoCache&&(s.memoCache.index=0)}W.H=aT,s=t(n,r)}while(sf)return s}function sk(){var e=W.H,t=e.useState()[0];return t="function"==typeof t.then?sN(t):t,e=e.useState()[0],(null!==su?su.memoizedState:null)!==e&&(sl.flags|=1024),t}function sx(){var e=0!==sp;return sp=0,e}function sE(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function sP(e){if(sd){for(e=e.memoizedState;null!==e;){var t=e.queue;
vendor: 4,958 bytes, line 1
1null!==t&&(t.pending=null),e=e.next}sd=!1}so=0,sc=su=sl=null,sf=!1,sg=sp=0,sv=null}function sC(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===sc?sl.memoizedState=sc=e:sc=sc.next=e,sc}function sT(){if(null===su){var e=sl.alternate;e=null!==e?e.memoizedState:null}else e=su.next;var t=null===sc?sl.memoizedState:sc.next;if(null!==t)sc=t,su=e;else{if(null===e){if(null===sl.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(su=e).memoizedState,baseState:su.baseState,baseQueue:su.baseQueue,queue:su.queue,next:null},null===sc?sl.memoizedState=sc=e:sc=sc.next=e}return sc}function sO(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function sN(e){var t=sg;return sg+=1,null===sv&&(sv=[]),e=iN(sv,e,t),t=sl,null===(null===sc?t.memoizedState:sc.next)&&(W.H=null===(t=t.alternate)||null===t.memoizedState?aP:aC),e}function sF(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return sN(e);if(e.$$typeof===R)return ir(e)}throw Error(l(438,String(e)))}function sR(e){var t=null,n=sl.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=sl.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=sO(),sl.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=j;return t.index++,n}function sI(e,t){return"function"==typeof t?t(e):t}function sM(e){return sL(sT(),su,e)}function sL(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var i=e.baseQueue,s=r.pending;if(null!==s){if(null!==i){var a=i.next;i.next=s.next,s.next=a}t.baseQueue=i=s,r.pending=null}if(s=e.baseState,null===i)e.memoizedState=s;else{t=i.next;var o=a=null,u=null,c=t,d=!1;do{var f=-0x20000001&c.lane;if(f!==c.lane?(lC&f)===f:(so&f)===f){var h=c.revertLane;if(0===h)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===im&&(d=!0);else if((so&h)===h){c=c.next,h===im&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(o=u=f,a=s):u=u.next=f,sl.lanes|=h,lL|=h;f=c.action,sh&&n(s,f),s=c.hasEagerState?c.eagerState:n(s,f)}else h={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(o=u=h,a=s):u=u.next=h,sl.lanes|=f,lL|=f;c=c.next}while(null!==c&&c!==t)if(null===u?a=s:u.next=o,!n$(s,e.memoizedState)&&(aB=!0,d&&null!==(n=i_)))throw n;e.memoizedState=s,e.baseState=a,e.baseQueue=u,r.lastRenderedState=s}return null===i&&(r.lanes=0),[e.memoizedState,r.dispatch]}function sA(e){var t=sT(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(null!==i){n.pending=null;var a=i=i.next;do s=e(s,a.action),a=a.next;while(a!==i)n$(s,t.memoizedState)||(aB=!0),t.memoizedState=s,null===t.baseQueue&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function sz(e,t,n){var r=sl,i=sT(),s=rq;if(s){if(void 0===n)throw Error(l(407));n=n()}else n=t();var a=!n$((su||i).memoizedState,n);if(a&&(i.memoizedState=n,aB=!0),i=i.queue,s7(sj.bind(null,r,i,e),[e]),i.getSnapshot!==t||a||null!==sc&&1&sc.memoizedState.tag){if(r.flags|=2048,s3(9,{destroy:void 0},s$.bind(null,r,i,n,t),null),null===lE)throw Error(l(349));s||0!=(127&so)||sD(r,t,n)}return n}function sD(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sl.updateQueue)?(t=sO(),sl.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function s$(e,t,n,r){t.value=n,t.getSnapshot=r,sU(t)&&sH(e)}function sj(e,t,n){return n(function(){sU(t)&&sH(e)})}function sU(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!n$(e,n)}catch(e){return!0}}function sH(e){var t=rh(e,2);null!==t&&l9(t,e,2)}function sB(e){var t=sC();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sI,lastRenderedState:e},t}function sV(e,t,n,r){return e.baseState=n,sL(e,su,"function"==typeof r?r:sI)}function sq(e,t,n,r,i){if(aS(e))throw Error(l(485));if(null!==(e=t.action)){var s={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){s.listeners.push(e)}};null!==W.T?n(!0):s.isTransition=!1,r(s),null===(n=t.pending)?(s.next=t.pending=s,sW(t,s)):(s.next=n.next,t.pending=n.next=s)}}function sW(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var s=W.T,a={};a.types=null!==s?s.types:null,W.T=a;try{var o=n(i,r),l=W.S;null!==l&&l(a,o),sG(e,t,o)}catch(n){sK(e,t,n)}finally{null!==s&&null!==a.types&&(s.types=a.types),W.T=s}}else try{s=n(i,r),sG(e,t,s)}catch(n){sK(e,t,n)}}function sG(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){sQ(e,t,n
1)},function(n){return sK(e,t,n)}):sQ(e,t,n)}function sQ(e,t,n){t.status="fulfilled",t.value=n,sX(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,sW(e,n)))}function sK(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,sX(t),t=t.next;while(t!==r)}e.action=null}function sX(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function sY(e,t){return t}function sJ(e,t){if(rq){var n=lE.formState;if(null!==n){e:{var r=sl;if(rq){if(rV){t:{for(var i=rV,s=rG;8!==i.nodeType;)if(!s||null===(i=cQ(i.nextSibling))){i=null;break t}i="F!"===(s=i.data)||"F"===s?i:null}if(i){rV=cQ(i.nextSibling),r="F!"===i.data;break e}}rK(r)}r=!1}r&&(t=n[0])}}return(n=sC()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sY,lastRenderedState:t},n.queue=r,n=ay.bind(null,sl,r),r.dispatch=n,r=sB(!1),s=aw.bind(null,sl,!1,r.queue),r=sC(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=sq.bind(null,sl,i,s,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function sZ(e){return s0(sT(),su,e)}function s0(e,t,n){if(t=sL(e,t,sY)[0],e=sM(sI)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=sN(t)}catch(e){if(e===iE)throw iC;throw e}else r=t;var i=(t=sT()).queue,s=i.dispatch;return n!==t.memoizedState&&(sl.flags|=2048,s3(9,{destroy:void 0},s1.bind(null,i,n),null)),[r,s,e]}function s1(e,t){e.action=t}function s2(e){var t=sT(),n=su;if(null!==n)return s0(t,n,e);sT(),t=t.memoizedState;var r=(n=sT()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function s3(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=sl.updateQueue)&&(t=sO(),sl.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function s4(){return sT().memoizedState}function s5(e,t,n,r){var i=sC();sl.flags|=e,i.memoizedState=s3(1|t,{destroy:void 0},n,void 0===r?null:r)}function s6(e,t,n,r){var i=sT();r=void 0===r?null:r;var s=i.memoizedState.inst;null!==su&&null!==r&&sy(r,su.memoizedState.deps)?i.memoizedState=s3(t,s,n,r):(sl.flags|=e,i.memoizedState=s3(1|t,s,n,r))}function s8(e,t){s5(8390656,8,e,t)}function s7(e,t){s6(2048,8,e,t)}function s9(e){var t=sT().memoizedState,n={ref:t,nextImpl:e};sl.flags|=4;var r=sl.updateQueue;if(null===r)r=sO(),sl.updateQueue=r,r.events=[n];else{var i=r.events;null===i?r.events=[n]:i.push(n)}return function(){if(0!=(2&lx))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function ae(e,t){return s6(4,2,e,t)}function at(e,t){return s6(4,4,e,t)}function an(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function ar(e,t,n){n=null!=n?n.concat([e]):null,s6(4,4,an.bind(null,t,e),n)}function ai(){}function as(e,t){var n=sT();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&sy(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function aa(e,t){var n=sT();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&sy(t,r[1])?r[0]:(n.memoizedState=[r=e(),t],r)}function ao(e,t,n){return void 0===n||0!=(0x40000000&so)&&0==(261930&lC)?e.memoizedState=t:(e.memoizedState=n,e=l8(),sl.lanes|=e,lL|=e,n)}function al(e,t,n,r){return n$(n,t)?n:null!==i1.current?(n$(e=ao(e,n,r),t)||(aB=!0),e):0==(106&so)||0!=(0x40000000&so)&&0==(261930&lC)?(aB=!0,e.memoizedState=n):(e=l8(),sl.lanes|=e,lL|=e,t)}function au(e,t,n,r,i){var s=G.p;G.p=0!==s&&8>s?s:8;var a=W.T,o={};o.types=null!==a?a.types:null,W.T=o,aw(e,!1,t,n);try{var l=i(),u=W.S;if(null!==u&&u(o,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var c,d,f=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},l.then(function(){d.status="fulfilled",d.value=r;
vendor: 13,490 bytes, line 1
1for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);ab(e,t,f,l6(e))}else ab(e,t,r,l6(e))}catch(n){ab(e,t,{then:function(){},status:"rejected",reason:n},l6())}finally{G.p=s,null!==a&&null!==o.types&&(a.types=o.types),W.T=a}}function ac(){}function ad(e,t,n,r){if(5!==e.tag)throw Error(l(476));var i=af(e).queue;au(e,i,t,Q,null===n?ac:function(){return ah(e),n(r)})}function af(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sI,lastRenderedState:Q},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sI,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ah(e){var t=af(e);null===t.next&&(t=e.alternate.memoizedState),ab(e,t.next.queue,{},l6())}function ap(){return ir(dw)}function ag(){return sT().memoizedState}function av(){return sT().memoizedState}function am(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=l6(),r=iG(t,e=iW(n),n);null!==r&&(l9(r,t,n),iQ(r,t,n)),t={cache:ic()},e.payload=t;return}t=t.return}}function a_(e,t,n){var r=l6();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},aS(e)?ak(t,n):null!==(n=rf(e,t,n,r))&&(l9(n,e,r),ax(n,t,r))}function ay(e,t,n){ab(e,t,n,l6())}function ab(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(aS(e))ak(t,i);else{var s=e.alternate;if(0===e.lanes&&(null===s||0===s.lanes)&&null!==(s=t.lastRenderedReducer))try{var a=t.lastRenderedState,o=s(a,n);if(i.hasEagerState=!0,i.eagerState=o,n$(o,a))return rd(e,t,i,0),null===lE&&rc(),!1}catch(e){}finally{}if(null!==(n=rf(e,t,i,r)))return l9(n,e,r),ax(n,t,r),!0}return!1}function aw(e,t,n,r){if(r={lane:2,revertLane:uW(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},aS(e)){if(t)throw Error(l(479))}else null!==(t=rf(e,n,r,2))&&l9(t,e,2)}function aS(e){var t=e.alternate;return e===sl||null!==t&&t===sl}function ak(e,t){sf=sd=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ax(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,e$(e,n)}}var aE={readContext:ir,use:sF,useCallback:s_,useContext:s_,useEffect:s_,useImperativeHandle:s_,useLayoutEffect:s_,useInsertionEffect:s_,useMemo:s_,useReducer:s_,useRef:s_,useState:s_,useDebugValue:s_,useDeferredValue:s_,useTransition:s_,useSyncExternalStore:s_,useId:s_,useHostTransitionStatus:s_,useFormState:s_,useActionState:s_,useOptimistic:s_,useMemoCache:s_,useCacheRefresh:s_,useEffectEvent:s_},aP={readContext:ir,use:sF,useCallback:function(e,t){return sC().memoizedState=[e,void 0===t?null:t],e},useContext:ir,useEffect:s8,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,s5(4194308,4,an.bind(null,t,e),n)},useLayoutEffect:function(e,t){return s5(4194308,4,e,t)},useInsertionEffect:function(e,t){s5(4,2,e,t)},useMemo:function(e,t){var n=sC();t=void 0===t?null:t;var r=e();return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=sC();if(void 0!==n)var i=n(t);else i=t;return r.memoizedState=r.baseState=i,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},e=e.dispatch=a_.bind(null,sl,e),[r.memoizedState,e]},useRef:function(e){return sC().memoizedState={current:e}},useState:function(e){var t=(e=sB(e)).queue,n=ay.bind(null,sl,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ai,useDeferredValue:function(e,t){return ao(sC(),e,t)},useTransition:function(){var e=sB(!1);return e=au.bind(null,sl,e.queue,!0,!1),sC().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=sl,i=sC();if(rq){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===lE)throw Error(l(349));0!=(127&lC)||sD(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,s8(sj.bind(null,r,s,e),[e]),r.flags|=2048,s3(9,{destroy:void 0},s$.bind(null,r,s,n,t),null),n},useId:function(){var e=sC(),t=lE.identifierPrefix;if(rq){var n=rz,r=rA;t="_"+t+"R_"+(n=(r&~(1<<32-eP(r)-1)).toString(32)+n),0<(n=sp++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=sm++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ap,useFormState:sJ,useActionState:sJ,useOptimistic:function(e){var t=sC();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=aw.bind(null,sl,!0,n),n.dispatch=t,[e,t]},useMemoCache:sR,useCacheRefresh:function(){return sC().memoizedState=am.bind(null,sl)},useEffectEvent:function(e){var t=sC(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&lx))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},aC={readContext:ir,use:sF,useCallback:as,useContext:ir,useEffect:s7,useImperativeHandle:ar,useInsertionEffect:ae,useLayoutEffect:at,useMemo:aa,useReducer:sM,useRef:s4,useState:function(){return sM(sI)},useDebugValue:ai,useDeferredValue:function(e,t){return al(sT(),su.memoizedState,e,t)},useTransition:function(){var e=sM(sI)[0],t=sT().memoizedState;return["boolean"==typeof e?e:sN(e),t]},useSyncExternalStore:sz,useId:ag,useHostTransitionStatus:ap,useFormState:sZ,useActionState:sZ,useOptimistic:function(e,t){return sV(sT(),su,e,t)},useMemoCache:sR,useCacheRefresh:av,useEffectEvent:s9},aT={readContext:ir,use:sF,useCallback:as,useContext:ir,useEffect:s7,useImperativeHandle:ar,useInsertionEffect:ae,useLayoutEffect:at,useMemo:aa,useReducer:sA,useRef:s4,useState:function(){return sA(sI)},useDebugValue:ai,useDeferredValue:function(e,t){var n=sT();return null===su?ao(n,e,t):al(n,su.memoizedState,e,t)},useTransition:function(){var e=sA(sI)[0],t=sT().memoizedState;return["boolean"==typeof e?e:sN(e),t]},useSyncExternalStore:sz,useId:ag,useHostTransitionStatus:ap,useFormState:s2,useActionState:s2,useOptimistic:function(e,t){var n=sT();return null!==su?sV(n,su,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:sR,useCacheRefresh:av,useEffectEvent:s9};function aO(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:x({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var aN={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=l6(),i=iW(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=iG(e,i,r))&&(l9(t,e,r),iQ(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=l6(),i=iW(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=iG(e,i,r))&&(l9(t,e,r),iQ(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=l6(),r=iW(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=iG(e,r,n))&&(l9(t,e,n),iQ(t,e,n))}};function aF(e,t,n,r,i,s,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,s,a):!t.prototype||!t.prototype.isPureReactComponent||!nj(n,r)||!nj(i,s)}function aR(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&aN.enqueueReplaceState(t,t.state,null)}function aI(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=x({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}function aM(e){ra(e)}function aL(e){console.error(e)}function aA(e){ra(e)}function az(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function aD(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function a$(e,t,n){return(n=iW(n)).tag=3,n.payload={element:null},n.callback=function(){az(e,t)},n}function aj(e){return(e=iW(e)).tag=3,e}function aU(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var s=r.value;e.payload=function(){return i(s)},e.callback=function(){aD(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){aD(t,n,r),"function"!=typeof i&&(null===lG?lG=new Set([this]):lG.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var aH=Error(l(461)),aB=!1;function aV(e,t,n,r){t.child=null===e?iH(t,null,n,r):iU(t,e.child,n,r)}function aq(e,t,n,r,i){n=n.render;var s=t.ref;if("ref"in r){var a={};for(var o in r)"ref"!==o&&(a[o]=r[o])}else a=r;return(it(t),r=sb(e,t,n,a,s,i),o=sx(),null===e||aB)?(rq&&o&&rj(t),t.flags|=1,aV(e,t,r,i),t.child):(sE(e,t,i),oo(e,t,i))}function aW(e,t,n,r,i){if(null===e){var s=n.type;return"function"!=typeof s||ry(s)||void 0!==s.defaultProps||null!==n.compare?((e=rS(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=s,aG(e,t,s,r,i))}if(s=e.child,!ol(e,i)){var a=s.memoizedProps;if((n=null!==(n=n.compare)?n:nj)(a,r)&&e.ref===t.ref)return oo(e,t,i)}return t.flags|=1,(e=rb(s,r)).ref=t.ref,e.return=t,t.child=e}function aG(e,t,n,r,i){if(null!==e){var s=e.memoizedProps;if(nj(s,r)&&e.ref===t.ref)if(aB=!1,t.pendingProps=r=s,!ol(e,i))return t.lanes=e.lanes,oo(e,t,i);else 0!=(131072&e.flags)&&(aB=!0)}return a0(e,t,n,r,i)}function aQ(e,t,n,r){var i=r.children,s=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(s=null!==s?s.baseLanes|n:n,null!==e){for(i=0,r=t.child=e.child;null!==r;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~s}else r=0,t.child=null;return aX(e,t,s,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,aX(e,t,null!==s?s.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&ik(t,null!==s?s.cachePool:null),null!==s?i3(t,s):i4(),se(t)}else null!==s?(ik(t,s.cachePool),i3(t,s),st(),t.memoizedState=null):(null!==e&&ik(t,null),i4(),st());return aV(e,t,i,n),t.child}function aK(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function aX(e,t,n,r,i){var s=iS();return t.memoizedState={baseLanes:n,cachePool:s=null===s?null:{parent:iu._currentValue,pool:s}},null!==e&&ik(t,null),i4(),se(t),null!==e&&r9(e,t,r,!0),t.childLanes=i,null}function aY(e,t){return(t=a9({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function aJ(e,t,n){return iU(t,e.child,null,n),e=aY(t,t.pendingProps),e.flags|=2,sn(t),t.memoizedState=null,e}function aZ(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function a0(e,t,n,r,i){return(it(t),n=sb(e,t,n,r,void 0,i),r=sx(),null===e||aB)?(rq&&r&&rj(t),t.flags|=1,aV(e,t,n,i),t.child):(sE(e,t,i),oo(e,t,i))}function a1(e,t,n,r,i,s){return(it(t),t.updateQueue=null,n=sS(t,r,n,i),sw(e),r=sx(),null===e||aB)?(rq&&r&&rj(t),t.flags|=1,aV(e,t,n,s),t.child):(sE(e,t,s),oo(e,t,s))}function a2(e,t,n,r,i){if(it(t),null===t.stateNode){var s=rv,a=n.contextType;"object"==typeof a&&null!==a&&(s=ir(a)),t.memoizedState=null!==(s=new n(r,s)).state&&void 0!==s.state?s.state:null,s.updater=aN,t.stateNode=s,s._reactInternals=t,(s=t.stateNode).props=r,s.state=t.memoizedState,s.refs={},iV(t),a=n.contextType,s.context="object"==typeof a&&null!==a?ir(a):rv,s.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(aO(t,n,a,r),s.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof s.getSnapshotBeforeUpdate||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||(a=s.state,"function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount(),a!==s.state&&aN.enqueueReplaceState(s,s.state,null),iJ(t,r,s,i),iY(),s.state=t.memoizedState),"function"==typeof s.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){s=t.stateNode;var o=t.memoizedProps,l=aI(n,o);s.props=l;var u=s.context,c=n.contextType;a=rv,"object"==typeof c&&null!==c&&(a=ir(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof s.getSnapshotBeforeUpdate,o=t.pendingProps!==o,c||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(o||u!==a)&&aR(t,s,r,a),iB=!1;var f=t.memoizedState;s.state=f,iJ(t,r,s,i),iY(),u=t.memoizedState,o||f!==u||iB?("function"==typeof d&&(aO(t,n,d,r),u=t.memoizedState),(l=iB||aF(t,n,l,r,f,u,a))?(c||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(t.flags|=4194308)):("function"==typeof s.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=a,r=l):("function"==typeof s.componentDidMount&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,iq(e,t),c=aI(n,a=t.memoizedProps),s.props=c,d=t.pendingProps,f=s.context,u=n.contextType,l=rv,"object"==typeof u&&null!==u&&(l=ir(u)),(u="function"==typeof(o=n.getDerivedStateFromProps)||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==d||f!==l)&&aR(t,s,r,l),iB=!1,f=t.memoizedState,s.state=f,iJ(t,r,s,i),iY();var h=t.memoizedState;
vendor: 5,951 bytes, line 1
1a!==d||f!==h||iB||null!==e&&null!==e.dependencies&&ie(e.dependencies)?("function"==typeof o&&(aO(t,n,o,r),h=t.memoizedState),(c=iB||aF(t,n,c,r,f,h,l)||null!==e&&null!==e.dependencies&&ie(e.dependencies))?(u||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(r,h,l),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof s.componentDidUpdate&&(t.flags|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),s.props=r,s.state=h,s.context=l,r=c):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return s=r,aZ(e,t),r=0!=(128&t.flags),s||r?(s=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:s.render(),t.flags|=1,null!==e&&r?(t.child=iU(t,e.child,null,i),t.child=iU(t,null,n,i)):aV(e,t,n,i),t.memoizedState=s.state,e=t.child):e=oo(e,t,i),e}function a3(e,t,n,r){return rZ(),t.flags|=256,aV(e,t,n,r),t.child}var a4={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function a5(e){return{baseLanes:e,cachePool:ix()}}function a6(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=lD),e}function a8(e,t,n){var r,i=t.pendingProps,s=!1,a=0!=(128&t.flags);if((r=a)||(r=(null===e||null!==e.memoizedState)&&0!=(2&sr.current)),r&&(s=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rq){if(s?i7(t):st(),(e=rV)?null!==(e=null!==(e=cq(e,rG))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rL?{id:rA,overflow:rz}:null,retryLane:0x20000000,hydrationErrors:null},(n=rE(e)).return=t,t.child=n,rB=t,rV=null):e=null,null===e)throw rK(t);return cG(e)?t.lanes=32:t.lanes=0x20000000,null}var o=i.children;return(i=i.fallback,s)?(st(),o=a9({mode:"hidden",children:o},s=t.mode),i=rk(i,s,n,null),o.return=t,i.return=t,o.sibling=i,t.child=o,(i=t.child).memoizedState=a5(n),i.childLanes=a6(e,r,n),t.memoizedState=a4,aK(null,i)):(i7(t),a7(t,o))}var u=e.memoizedState;if(null!==u&&null!==(o=u.dehydrated)){if(a)256&t.flags?(i7(t),t.flags&=-257,t=oe(e,t,n)):null!==t.memoizedState?(st(),t.child=e.child,t.flags|=128,t=null):(st(),o=i.fallback,s=t.mode,i=a9({mode:"visible",children:i.children},s),o=rk(o,s,n,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,iU(t,e.child,null,n),(i=t.child).memoizedState=a5(n),i.childLanes=a6(e,r,n),t.memoizedState=a4,t=aK(null,i));else if(i7(t),cG(o)){if(r=o.nextSibling&&o.nextSibling.dataset)var c=r.dgst;r=c,(i=Error(l(419))).stack="",i.digest=r,r1({value:i,source:null,stack:null}),t=oe(e,t,n)}else if(aB||r9(e,t,n,!1),r=0!=(n&e.childLanes),aB||r){if(null!==(r=lE)&&0!==(i=ej(r,n))&&i!==u.retryLane)throw u.retryLane=i,rh(e,i),l9(r,e,i),aH;cW(o)||uc(),t=oe(e,t,n)}else cW(o)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,rV=cQ(o.nextSibling),rB=t,rq=!0,rW=null,rG=!1,null!==e&&rH(t,e),t=a7(t,i.children),t.flags|=4096);return t}return s?(st(),o=i.fallback,s=t.mode,c=(u=e.child).sibling,(i=rb(u,{mode:"hidden",children:i.children})).subtreeFlags=0x7f00000&u.subtreeFlags,null!==c?o=rb(c,o):(o=rk(o,s,n,null),o.flags|=2),o.return=t,i.return=t,i.sibling=o,t.child=i,aK(null,i),i=t.child,null===(o=e.child.memoizedState)?o=a5(n):(null!==(s=o.cachePool)?(u=iu._currentValue,s=s.parent!==u?{parent:u,pool:u}:s):s=ix(),o={baseLanes:o.baseLanes|n,cachePool:s}),i.memoizedState=o,i.childLanes=a6(e,r,n),t.memoizedState=a4,aK(e.child,i)):(i7(t),e=(n=e.child).sibling,(n=rb(n,{mode:"visible",children:i.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function a7(e,t){return(t=a9({mode:"visible",children:t},e.mode)).return=e,e.child=t}function a9(e,t){return(e=r_(22,e,null,t)).lanes=0,e}function oe(e,t,n){return iU(t,e.child,null,n),e=a7(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ot(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),r8(e.return,t,n)}function on(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===sa(n)&&(t=e),e=e.sibling}return t}function or(e,t,n,r,i,s){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:s}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.treeForkCount=s)}function oi(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function os(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;r=r.children;var a=sr.current;if(128&t.flags)return si(t,a),null;var o=0!=(2&a);if(o?(a=1&a|2,t.flags|=128):a&=1,si(t,a),"backwards"===i&&null!==e?(oi(e),aV(e,t,r,n),oi(e)):aV(e,t,r,n),r=rq?rR:0,!o&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ot(e,n,t);else if(19===e.tag)ot(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"backwards":null===(n=on(t.child))?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,oi(t)),or(t,!0,i,null,s,r);break;case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===sa(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}or(t,!0,n,null,s,r);break;case"together":or(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=on(t.child))?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),or(t,!1,i,n,s,r)}return t.child}
1function oa(e,t,n){var r=t.pendingProps;return r5(t,t.type,r.value),aV(e,t,r.children,n),t.child}function oo(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lL|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(r9(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rb(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rb(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ol(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&ie(e))}function ou(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)aB=!0;else{if(!ol(e,n)&&0==(128&t.flags))return aB=!1,function(e,t,n){switch(t.tag){case 3:ei(t,t.stateNode.containerInfo),r5(t,iu,e.memoizedState.cache),rZ();break;case 27:case 5:ea(t);break;case 4:ei(t,t.stateNode.containerInfo);break;case 10:r5(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,i9(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return i7(t),t.flags|=128,null;r=r9(e,t,n,!1);var i=t.child.childLanes;if(r||0!=(n&i))return a8(e,t,n);return i7(t),null!==(e=oo(e,t,n))?e.sibling:null}i7(t);break;case 19:if(128&t.flags)return os(e,t,n);if(i=0!=(128&e.flags),(r=0!=(n&t.childLanes))||(r9(e,t,n,!1),r=0!=(n&t.childLanes)),i){if(r)return os(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),si(t,sr.current),!r)return null;break;case 22:return t.lanes=0,aQ(e,t,n,t.pendingProps);case 24:r5(t,iu,e.memoizedState.cache)}return oo(e,t,n)}(e,t,n);aB=0!=(131072&e.flags)}else aB=!1,rq&&0!=(1048576&t.flags)&&r$(t,rR,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=iF(t.elementType),t.type=e,"function"==typeof e)ry(e)?(r=aI(e,r),t.tag=1,t=a2(null,t,e,r,n)):(t.tag=0,t=a0(null,t,e,r,n));else{if(null!=e){var i=e.$$typeof;if(i===I){t.tag=11,t=aq(null,t,e,r,n);break e}if(i===A){t.tag=14,t=aW(null,t,e,r,n);break e}if(i===R){t.tag=10,t.type=e,t=oa(null,t,n);break e}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===V?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case T:return"Fragment";case N:return"Profiler";case O:return"StrictMode";case M:return"Suspense";case L:return"SuspenseList";case D:return"Activity";case U:return"ViewTransition"}if("object"==typeof t)switch(t.$$typeof){case C:return"Portal";case R:return t.displayName||"Context";case F:return(t._context.displayName||"Context")+".Consumer";case I:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case A:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case z:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return a0(e,t,t.type,t.pendingProps,n);case 1:return i=aI(r=t.type,t.pendingProps),a2(e,t,r,i,n);case 3:e:{if(ei(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var s=t.memoizedState;i=s.element,iq(e,t),iJ(t,r,null,n);var a=t.memoizedState;if(r5(t,iu,r=a.cache),r!==s.cache&&r7(t,[iu],n,!0),iY(),r=a.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:a.cache},t.updateQueue.baseState=s,t.memoizedState=s,256&t.flags){t=a3(e,t,r,n);break e}else if(r!==i){r1(i=rT(Error(l(424)),t)),t=a3(e,t,r,n);break e}else for(rV=cQ((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rB=t,rq=!0,rW=null,rG=!0,n=iH(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rZ(),r===i){t=oo(e,t,n);break e}aV(e,t,r,n)}t=t.child}return t;case 26:return aZ(e,t),null===e?(n=c6(t.type,null,t.pendingProps,null))?t.memoizedState=n:rq||(n=t.type,e=t.pendingProps,(r=cu(en.current).createElement(n))[eW]=t,r[eG]=e,cs(r,n,e),e5(r),t.stateNode=r):t.memoizedState=c6(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ea(t),null===e&&rq&&(r=t.stateNode=cJ(t.type,t.pendingProps,en.current),rB=t,rG=!0,i=rV,cy(t.type)?(cK=i,rV=cQ(r.firstChild)):rV=i),aV(e,t,t.pendingProps.children,n),aZ(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rq&&((i=r=rV)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.n
vendor: 29,975 bytes, line 1
1odeName||"hidden"!==e.type))break}else if(r){if(!e[eZ])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||i!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var i=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===i)return e}if(null===(e=cQ(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rG))?(t.stateNode=r,rB=t,rV=cQ(r.firstChild),rG=!1,i=!0):i=!1),i||rK(t)),ea(t),i=t.type,s=t.pendingProps,a=null!==e?e.memoizedProps:null,r=s.children,cf(i,s)?r=null:null!==a&&cf(i,a)&&(t.flags|=32),null!==t.memoizedState&&(dw._currentValue=i=sb(e,t,sk,null,null,n)),aZ(e,t),aV(e,t,r,n),t.child;case 6:return null===e&&rq&&((e=n=rV)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=cQ(e.nextSibling)))return null;return e}(n,t.pendingProps,rG))?(t.stateNode=n,rB=t,rV=null,e=!0):e=!1),e||rK(t)),null;case 13:return a8(e,t,n);case 4:return ei(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=iU(t,null,r,n):aV(e,t,r,n),t.child;case 11:return aq(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,aZ(e,t),aV(e,t,r,n),t.child;case 8:case 12:return aV(e,t,t.pendingProps.children,n),t.child;case 10:return oa(e,t,n);case 9:return i=t.type._context,r=t.pendingProps.children,it(t),r=r(i=ir(i)),t.flags|=1,aV(e,t,r,n),t.child;case 14:return aW(e,t,t.type,t.pendingProps,n);case 15:return aG(e,t,t.type,t.pendingProps,n);case 19:return os(e,t,n);case 31:var o=e,u=t,c=n,d=u.pendingProps,f=0!=(128&u.flags);if(u.flags&=-129,null===o){if(rq){if("hidden"===d.mode)return o=aY(u,d),u.lanes=0x20000000,aK(null,o);if(i9(u),(o=rV)?null!==(o=null!==(o=cq(o,rG))&&"&"===o.data?o:null)&&(u.memoizedState={dehydrated:o,treeContext:null!==rL?{id:rA,overflow:rz}:null,retryLane:0x20000000,hydrationErrors:null},(c=rE(o)).return=u,u.child=c,rB=u,rV=null):o=null,null===o)throw rK(u);return u.lanes=0x20000000,null}return aY(u,d)}var h=o.memoizedState;if(null!==h){var p=h.dehydrated;if(i9(u),f)if(256&u.flags)u.flags&=-257,u=aJ(o,u,c);else if(null!==u.memoizedState)u.child=o.child,u.flags|=128,u=null;else throw Error(l(558));else if(aB||r9(o,u,c,!1),f=0!=(c&o.childLanes),aB||f){if(null!==(d=lE)&&0!==(p=ej(d,c))&&p!==h.retryLane)throw h.retryLane=p,rh(o,p),l9(d,o,p),aH;uc(),u=aJ(o,u,c)}else o=h.treeContext,rV=cQ(p.nextSibling),rB=u,rq=!0,rW=null,rG=!1,null!==o&&rH(u,o),u=aY(u,d),u.flags|=4096;return u}return(o=rb(o.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=o,o.return=u,o;case 22:return aQ(e,t,n,t.pendingProps);case 24:return it(t),r=ir(iu),null===e?(null===(i=iS())&&(i=lE,s=ic(),i.pooledCache=s,s.refCount++,null!==s&&(i.pooledCacheLanes|=n),i=s),t.memoizedState={parent:r,cache:i},iV(t),r5(t,iu,i)):(0!=(e.lanes&n)&&(iq(e,t),iJ(t,null,null,n),iY()),i=e.memoizedState,s=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=i),r5(t,iu,r)):(r5(t,iu,r=s.cache),r!==i.cache&&r7(t,[iu],n,!0))),aV(e,t,t.pendingProps.children,n),t.child;case 30:return null===t.stateNode&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?0x1202000:0x1200000:rq&&rj(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:aZ(e,t),aV(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function oc(e){e.flags|=4}function od(e,t,n,r,i){var s;if((s=0!=(32&e.mode))&&(s=null===n?dc(t,r):dc(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),s){if(e.flags|=0x1000000,(0x13ffff40&i)===i)if(e.stateNode.complete)e.flags|=8192;else if(uo())e.flags|=8192;else throw iR=iT,iP}else e.flags&=-0x1000001}function of(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!dd(t))if(uo())e.flags|=8192;else throw iR=iT,iP}function oh(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eL():0x20000000,e.lanes|=t,l$|=t)}function op(e,t){if(!rq)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(n=null,t=e.tail;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function og(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=0x7f00000&i.subtreeFlags,r|=0x7f00000&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ov(e,t){switch(rU(t),t.tag){case 3:r6(iu),es();break;case 26:case 27:case 5:eo(t);break;case 4:es();break;case 31:null!==t.memoizedState&&sn(t);break;case 13:sn(t);break;case 19:ss(t);break;case 10:r6(t.type);break;case 22:case 23:sn(t),i5(),null!==e&&J(iw);break;case 24:r6(iu)}}function om(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var s=n.create;n.inst.destroy=r=s()}n=n.next}while(n!==i)}}catch(e){uC(t,t.return,e)}}function o_(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var s=i.next;r=s;do{if((r.tag&e)===e){var a=r.inst,o=a.destroy;if(void 0!==o){a.destroy=void 0,i=t;try{o()}catch(e){uC(i,n,e)}}}r=r.next}while(r!==s)}}catch(e){uC(t,t.return,e)}}function oy(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{i0(t,n)}catch(t){uC(e,e.return,t)}}}function ob(e,t,n){n.props=aI(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){uC(e,t,n)}}function ow(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,s=rr(e.memoizedProps,i);(null===i.ref||i.ref.name!==s)&&(i.ref=cO(s)),r=i.ref;break;case 7:if(null===e.stateNode){var a=new cN(e);p(e.child,!1,cU,a,void 0,void 0),e.stateNode=a}r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){uC(e,t,n)}}function oS(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){uC(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){uC(e,t,n)}else n.current=null}function ok(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){uC(e,e.return,t)}}function ox(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,s=null,a=null,o=null,u=null,c=null,d=null;for(p in n){var f=n[p];if(n.hasOwnProperty(p)&&null!=f)switch(p){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(p)||cr(e,t,p,null,r,f)}}for(var h in r){var p=r[h];if(f=n[h],r.hasOwnProperty(h)&&(null!=p||null!=f))switch(h){case"type":p!==f&&(tr=!0),s=p;break;case"name":p!==f&&(tr=!0),i=p;break;case"checked":p!==f&&(tr=!0),c=p;break;case"defaultChecked":p!==f&&(tr=!0),d=p;break;case"value":p!==f&&(tr=!0),a=p;break;case"defaultValue":p!==f&&(tr=!0),o=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:p!==f&&cr(e,t,h,p,r,f)}}tg(e,a,o,u,c,d,s,i);return;case"select":for(s in p=a=o=h=null,n)if(u=n[s],n.hasOwnProperty(s)&&null!=u)switch(s){case"value":break;case"multiple":p=u;default:r.hasOwnProperty(s)||cr(e,t,s,null,r,u)}for(i in r)if(s=r[i],u=n[i],r.hasOwnProperty(i)&&(null!=s||null!=u))switch(i){case"value":s!==u&&(tr=!0),h=s;break;case"defaultValue":s!==u&&(tr=!0),o=s;break;case"multiple":s!==u&&(tr=!0),a=s;default:s!==u&&cr(e,t,i,s,r,u)}t=o,n=a,r=p,null!=h?t_(e,!!n,h,!1):!!r!=!!n&&(null!=t?t_(e,!!n,t,!0):t_(e,!!n,n?[]:"",!1));return;case"textarea":for(o in p=h=null,n)if(i=n[o],n.hasOwnProperty(o)&&null!=i&&!r.hasOwnProperty(o))switch(o){case"value":case"children":break;default:cr(e,t,o,null,r,i)}for(a in r)if(i=r[a],s=n[a],r.hasOwnProperty(a)&&(null!=i||null!=s))switch(a){case"value":i!==s&&(tr=!0),h=i;break;case"defaultValue":i!==s&&(tr=!0),p=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(l(91));break;default:i!==s&&cr(e,t,a,i,r,s)}ty(e,h,p);return;case"option":for(var g in n)h=n[g],n.hasOwnProperty(g)&&null!=h&&!r.hasOwnProperty(g)&&("selected"===g?e.selected=!1:cr(e,t,g,null,r,h));for(u in r)h=r[u],p=n[u],r.hasOwnProperty(u)&&h!==p&&(null!=h||null!=p)&&("selected"===u?(h!==p&&(tr=!0),e.selected=h&&"function"!=typeof h&&"symbol"!=typeof h):cr(e,t,u,h,r,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var v in n)h=n[v],n.hasOwnProperty(v)&&null!=h&&!r.hasOwnProperty(v)&&cr(e,t,v,null,r,h);for(c in r)if(h=r[c],p=n[c],r.hasOwnProperty(c)&&h!==p&&(null!=h||null!=p))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(l(137,t));break;default:cr(e,t,c,h,r,p)}return;default:if(tE(t)){for(var m in n)h=n[m],n.hasOwnProperty(m)&&void 0!==h&&!r.hasOwnProperty(m)&&ci(e,t,m,void 0,r,h);for(d in r)h=r[d],p=n[d],r.hasOwnProperty(d)&&h!==p&&(void 0!==h||void 0!==p)&&ci(e,t,d,h,r,p);return}}for(var _ in n)h=n[_],n.hasOwnProperty(_)&&null!=h&&!r.hasOwnProperty(_)&&cr(e,t,_,null,r,h);for(f in r)h=r[f],p=n[f],r.hasOwnProperty(f)&&h!==p&&(null!=h||null!=p)&&cr(e,t,f,h,r,p)})(r,e.type,n,t),r[eG]=t}catch(t){uC(e,e.return,t)}}function oE(e,t){if((5===e.tag||6===e.tag)&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)cB(e.stateNode,t[n])}function oP(e){for(var t=e.return;null!==t;){if(oT(t)){var n=t.stateNode,r=e.stateNode;if(3!==r.nodeType){var i=n._eventListeners;if(null!==i)for(var s=0;s<i.length;s++){var a=i[s];r.removeEventListener(a.type,a.listener,a.optionsOrUseCapture)}null!=r.reactFragments&&r.reactFragments.delete(n)}}if(oC(t))break;t=t.return}}function oC(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&cy(e.type)||4===e.tag}function oT(e){return e&&7===e.tag&&null!==e.stateNode}function oO(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||oC(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&cy(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function oN(e,t,n,r){var i=e.tag;if(5===i||6===i)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),oE(e,r),tr=!0;else if(4!==i&&(27===i&&cy(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(oN(e,t,n,r),e=e.sibling;null!==e;)oN(e,t,n,r),e=e.sibling}function oF(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);cs(t,r,n),t[eW]=e,t[eG]=n}catch(t){uC(e,e.return,t)}}var oR=!1,oI=null;function oM(e){(30===e.tag||0!=(0x2000000&e.subtreeFlags))&&(oR=!0)}var oL=null;function oA(){var e=oL;return oL=null,e}var oz=0;function oD(e,t,n,r,i){return oz=0,function e(t,n,r,i,s){for(var a=!1;null!==t;){if(5===t.tag){var o=t.stateNode;if(null!==i){var l=cE(o);i.push(l),l.view&&(a=!0)}else a||cE(o).view&&(a=!0);oR=!0,cS(o,0===oz?n:n+"_"+oz,r),oz++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&s||e(t.child,n,r,i,s)&&(a=!0));t=t.sibling}return a}(e.child,t,n,r,i)}function o$(e,t){for(;null!==e;)5===e.tag?ck(e.stateNode,e.memoizedProps):(22!==e.tag||null===e.memoizedState)&&(30===e.tag&&t||o$(e.child,t)),e=e.sibling}function oj(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(oj(e),30===e.tag&&0!=(0x1200000&e.flags)&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(l(544));var n=t.name;"none"!==(t=rs(t.default,t.share))&&(oD(e,n,t,null,!1)||o$(e.child,!1))}e=e.sibling}}function oU(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,i=rr(r,n),s=rs(r.default,n.paired?r.share:r.enter);"none"!==s?oD(e,i,s,null,!1)?(oj(e),n.paired||t||l7(e,r.onEnter)):o$(e.child,!1):oj(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)oU(e,t),e=e.sibling;else oj(e)}function oH(e){if(null!==oI&&0!==oI.size){var t=oI;if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var i=t.get(r);if(void 0!==i){var s=rs(n.default,n.share);if("none"!==s&&(oD(e,r,s,null,!1)?(i.paired=s=e.stateNode,s.paired=i,l7(e,n.onShare)):o$(e.child,!1)),t.delete(r),0===t.size)break}}}oH(e)}e=e.sibling}}}function oB(e){if(30===e.tag){var t=e.memoizedProps,n=rr(t,e.stateNode),r=null!==oI?oI.get(n):void 0,i=rs(t.default,void 0!==r?t.share:t.exit);"none"!==i&&(oD(e,n,i,null,!1)?void 0!==r?(r.paired=i=e.stateNode,i.paired=r,oI.delete(n),l7(e,t.onShare)):l7(e,t.onExit):o$(e.child,!1)),null!==oI&&oH(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)oB(e),e=e.sibling;else null!==oI&&oH(e)}function oV(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var t=e.stateNode;null!==t.paired&&(t.paired=null,o$(e.child,!1))}oV(e)}e=e.sibling}}function oq(e){if(30===e.tag)e.stateNode.paired=null,o$(e.child,!1),oV(e);else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)oq(e),e=e.sibling;else oV(e)}function oW(e,t,n,r,i,s,a){for(var o=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==s&&oz<s.length){var u,c=s[oz],d=cE(l);if((c.view||d.view)&&(o=!0),u=0==(4&e.flags))if(d.clip)u=!0;else{u=c.rect;var f=d.rect;u=u.y!==f.y||u.x!==f.x||u.height!==f.height||u.width!==f.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;0!=(4&e.flags)&&cS(l,0===oz?n:n+"_"+oz,i),o&&0!=(4&e.flags)||(null===oL&&(oL=[]),oL.push(l,0===oz?r:r+"_"+oz,t.memoizedProps)),oz++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&a?e.flags|=32&t.flags:oW(e,t.child,n,r,i,s,a)&&(o=!0));t=t.sibling}return o}var oG=!1,oQ=!1,oK=!1,oX=!1,oY="function"==typeof WeakSet?WeakSet:Set,oJ=null,oZ=!1,o0=!1,o1=!1,o2=!1;function o3(e){for(;null!==oJ;){var t=oJ,n=e,r=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 15:if(0!=(4&i)&&null!==(r=null!==(r=t.updateQueue)?r.events:null))for(n=0;n<r.length;n++)(i=r[n]).ref.impl=i.nextImpl;break;case 1:if(0!=(1024&i)&&null!==r){n=void 0,i=r.memoizedProps,r=r.memoizedState;var s=t.stateNode;try{var a=aI(t.type,i);n=s.getSnapshotBeforeUpdate(a,r),s.__reactInternalSnapshotBeforeUpdate=n}catch(e){uC(t,t.return,e)}}break;case 3:if(0!=(1024&i)){if(9===(n=(r=t.stateNode.containerInfo).nodeType))cV(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":cV(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&null!==r&&(n=rr(r.memoizedProps,r.stateNode),"none"!==(i=rs((i=t.memoizedProps).default,i.update))&&oD(r,n,i,r.memoizedState=[],!0));break;default:if(0!=(1024&i))throw Error(l(163))}if(null!==(r=t.sibling)){r.return=t.return,oJ=r;break}oJ=t.return}}function o4(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:lu(e,n),4&r&&om(5,n);break;case 1:if(lu(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){uC(n,n.return,e)}else{var i=aI(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){uC(n,n.return,e)}}64&r&&oy(n),512&r&&ow(n,n.return);break;case 3:if(lu(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{i0(e,t)}catch(e){uC(n,n.return,e)}}break;case 27:null===t&&4&r&&oF(n);case 26:case 5:lu(e,n),null===t&&4&r&&ok(n),512&r&&ow(n,n.return);break;case 12:lu(e,n);break;case 31:lu(e,n),4&r&&le(e,n);break;case 13:lu(e,n),4&r&<(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=uF.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||oG)){t=null!==t&&null!==t.memoizedState||oQ,i=oG;var s=oQ;oG=r,(oQ=t)&&!s?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var i=n.alternate,s=t,a=n,o=a.flags;switch(a.tag){case 0:case 11:case 15:e(s,a,r),om(4,a);break;case 1:if(e(s,a,r),"function"==typeof(s=(i=a).stateNode).componentDidMount)try{s.componentDidMount()}catch(e){uC(i,i.return,e)}if(null!==(s=(i=a).updateQueue)){var l=i.stateNode;try{var u=s.shared.hiddenCallbacks;if(null!==u)for(s.shared.hiddenCallbacks=null,s=0;s<u.length;s++)iZ(u[s],l)}catch(e){uC(i,i.return,e)}}r&&64&o&&oy(a),ow(a,a.return);break;case 27:oF(a);case 26:case 5:if(5===a.tag){l=a;for(var c=l.return;null!==c&&(oT(c)&&cB(l.stateNode,c.stateNode),!oC(c));)c=c.return}e(s,a,r),r&&null===i&&4&o&&ok(a),ow(a,a.return);break;case 12:e(s,a,r);break;case 31:e(s,a,r),r&&4&o&&le(s,a);break;case 13:e(s,a,r),r&&4&o&<(s,a);break;case 22:null===a.memoizedState&&e(s,a,r),ow(a,a.return);break;case 30:e(s,a,r),ow(a,a.return);break;case 7:ow(a,a.return);default:e(s,a,r)}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):lu(e,n),oG=i,oQ=s}break;case 30:lu(e,n),512&r&&ow(n,n.return);break;case 7:512&r&&ow(n,n.return);default:lu(e,n)}}function o5(e,t){for(e=e.child;null!==e;)(function e(t,n){switch(t.tag){case 5:case 26:try{var r=t.stateNode;if(n){var i=r.style;"function"==typeof i.setProperty?i.setProperty("display","none","important"):i.display="none"}else{var s=t.stateNode,a=t.memoizedProps.style,o=null!=a&&a.hasOwnProperty("display")?a.display:null;s.style.display=null==o||"boolean"==typeof o?"":(""+o).trim()}}catch(e){uC(t,t.return,e)}!function t(n,r){if(0x4000000&n.subtreeFlags)for(n=n.child;null!==n;){e:{var i=n;switch(i.tag){case 4:e(i,r);break e;case 22:null===i.memoizedState&&t(i,r);break e;default:t(i,r)}}n=n.sibling}}(t,n);break;case 6:try{t.stateNode.nodeValue=n?"":t.memoizedProps,tr=!0}catch(e){uC(t,t.return,e)}break;case 18:try{var l=t.stateNode;n?cw(l,!0):cw(t.stateNode,!1)}catch(e){uC(t,t.return,e)}break;case 22:case 23:null===t.memoizedState&&o5(t,n);break;default:o5(t,n)}})(e,t),e=e.sibling}var o6=null,o8=!1;function o7(e,t,n){for(n=n.child;null!==n;)o9(e,t,n),n=n.sibling}function o9(e,t,n){if(eE&&"function"==typeof eE.onCommitFiberUnmount)try{eE.onCommitFiberUnmount(ex,n)}catch(e){}switch(n.tag){case 26:oQ||oS(n,t),o7(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:oQ||oS(n,t);var r=o6,i=o8;cy(n.type)&&(o6=n.stateNode,o8=!1),o7(e,t,n),cZ(n.stateNode),o6=r,o8=i;break;case 5:oQ||oS(n,t),5!==n.tag&&6!==n.tag||oP(n);case 6:if(r=o6,i=o8,o6=null,o7(e,t,n),o6=r,o8=i,null!==o6)if(o8)try{(9===o6.nodeType?o6.body:"HTML"===o6.nodeName?o6.ownerDocument.body:o6).removeChild(n.stateNode),tr=!0}catch(e){uC(n,t,e)}else try{o6.removeChild(n.stateNode),tr=!0}catch(e){uC(n,t,e)}break;case 18:null!==o6&&(o8?(cb(9===(e=o6).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),d0(e)):cb(o6,n.stateNode));break;case 4:r=o6,i=o8,o6=n.stateNode.containerInfo,o8=!0,o7(e,t,n),o6=r,o8=i;break;case 0:case 11:case 14:case 15:o_(2,n,t),oQ||o_(4,n,t),o7(e,t,n);break;case 1:oQ||(oS(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&ob(n,t,r)),o7(e,t,n);break;case 21:default:o7(e,t,n);break;case 22:oQ=(r=oQ)||null!==n.memoizedState,o7(e,t,n),oQ=r;break;case 30:oS(n,t),o7(e,t,n);break;case 7:oQ||oS(n,t),o7(e,t,n)}}function le(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{d0(e)}catch(e){uC(t,t.return,e)}}}function lt(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{d0(e)}catch(e){uC(t,t.return,e)}}function ln(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new oY),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new oY),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=uR.bind(null,e,t);t.then(r,r)}})}function lr(e,t,n){var r=t.deletions;if(null!==r)for(var i=0;i<r.length;i++){var s=r[i],a=e,o=t,u=o;e:for(;null!==u;){switch(u.tag){case 27:if(cy(u.type)){o6=u.stateNode,o8=!1;break e}break;case 5:o6=u.stateNode,o8=!1;break e;case 3:case 4:o6=u.stateNode.containerInfo,o8=!0;break e}u=u.return}if(null===o6)throw Error(l(160));o9(a,o,s),o6=null,o8=!1,null!==(a=s.alternate)&&(a.return=null),s.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)ls(t,e,n),t=t.sibling}var li=null;function ls(e,t,n){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lr(t,e,n),la(e),4&i&&(o_(3,e,e.return),om(3,e),o_(5,e,e.return));break;case 1:lr(t,e,n),la(e),512&i&&(oQ||null===r||oS(r,r.return)),64&i&&oG&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===t?r:t.concat(r));break;case 26:var s=li;if(lr(t,e,n),la(e),512&i&&(oQ||null===r||oS(r,r.return)),4&i)if(n=null!==r?r.memoizedState:null,t=e.memoizedState,null===r)if(null===t)if(null===e.stateNode){e:{r=e.type,t=e.memoizedProps,n=s.ownerDocument||s;t:switch(r){case"title":(!(i=n.getElementsByTagName("title")[0])||i[eZ]||i[eW]||"http://www.w3.org/2000/svg"===i.namespaceURI||i.hasAttribute("itemprop"))&&(i=n.createElement(r),n.head.insertBefore(i,n.querySelector("head > title"))),cs(i,r,t),i[eW]=e,e5(i),r=i;break e;case"link":if(s=dl("link","href",n).get(r+(t.href||""))){for(var a=0;a<s.length;a++)if((i=s[a]).getAttribute("href")===(null==t.href||""===t.href?null:t.href)&&i.getAttribute("rel")===(null==t.rel?null:t.rel)&&i.getAttribute("title")===(null==t.title?null:t.title)&&i.getAttribute("crossorigin")===(null==t.crossOrigin?null:t.crossOrigin)){s.splice(a,1);break t}}cs(i=n.createElement(r),r,t),n.head.appendChild(i);break;case"meta":if(s=dl("meta","content",n).get(r+(t.content||""))){for(a=0;a<s.length;a++)if((i=s[a]).getAttribute("content")===(null==t.content?null:""+t.content)&&i.getAttribute("name")===(null==t.name?null:t.name)&&i.getAttribute("property")===(null==t.property?null:t.property)&&i.getAttribute("http-equiv")===(null==t.httpEquiv?null:t.httpEquiv)&&i.getAttribute("charset")===(null==t.charSet?null:t.charSet)){s.splice(a,1);break t}}cs(i=n.createElement(r),r,t),n.head.appendChild(i);break;default:throw Error(l(468,r))}i[eW]=e,e5(i),r=i}e.stateNode=r}else du(s,e.type,e.stateNode);else e.stateNode=dn(s,t,e.memoizedProps);else n!==t?(null===n?null!==r.stateNode&&(r=r.stateNode).parentNode.removeChild(r):n.count--,null===t?du(s,e.type,e.stateNode):dn(s,t,e.memoizedProps)):null===t&&null!==e.stateNode&&ox(e,e.memoizedProps,r.memoizedProps);break;case 27:lr(t,e,n),la(e),512&i&&(oQ||null===r||oS(r,r.return)),null!==r&&4&i&&ox(e,e.memoizedProps,r.memoizedProps);break;case 5:if(s=oK,oK=!1,lr(t,e,n),oK=s,la(e),512&i&&(oQ||null===r||oS(r,r.return)),32&e.flags){t=e.stateNode;try{tw(t,""),tr=!0}catch(t){uC(e,e.return,t)}}4&i&&null!=e.stateNode&&(t=e.memoizedProps,ox(e,t,null!==r?r.memoizedProps:t)),1024&i&&(oX=!0);break;case 6:if(lr(t,e,n),la(e),4&i){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,t=e.stateNode;try{t.nodeValue=r,tr=!0}catch(t){uC(e,e.return,t)}}break;case 3:if(tr=!1,da=null,s=li,li=c2(t.containerInfo),lr(t,e,n),li=s,la(e),4&i&&null!==r&&r.memoizedState.isDehydrated)try{d0(t.containerInfo)}catch(t){uC(e,e.return,t)}oX&&(oX=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&(n=n.stateNode,dO=!0,n.reset(),dO=!1),t=t.sibling}}(e)),tr=!1;break;case 4:r=oK,oK=oG,i=ti(),s=li,li=c2(e.stateNode.containerInfo),lr(t,e,n),la(e),li=s,tr&&o0&&(o1=!0),tr=i,oK=r;break;case 12:lr(t,e,n),la(e);break;case 31:case 19:lr(t,e,n),la(e),4&i&&null!==(r=e.updateQueue)&&(e.updateQueue=null,ln(e,r));break;case 13:lr(t,e,n),la(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(lB=em()),4&i&&null!==(r=e.updateQueue)&&(e.updateQueue=null,ln(e,r));break;case 22:s=null!==e.memoizedState,a=null!==r&&null!==r.memoizedState;var o=oG,u=oQ,c=oK;oG=o||s,oK=c||s,oQ=u||a,lr(t,e,n),oQ=u,oK=c,oG=o,la(e),8192&i&&((t=e.stateNode)._visibility=s?-2&t._visibility:1|t._visibility,s&&(null===r||a||oG||oQ||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:o_(4,n,n.return),e(n);break;case 1:oS(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&ob(n,n.return,r),e(n);break;case 27:cZ(n.stateNode);case 26:case 5:oS(n,n.return),5!==n.tag&&6!==n.tag||oP(n),e(n);break;case 22:null===n.memoizedState&&e(n);break;case 30:oS(n,n.return),e(n);break;case 7:oS(n,n.return);default:e(n)}t=t.sibling}}(e)),!s&&oK||o5(e,s)),4&i&&null!==(r=e.updateQueue)&&null!==(t=r.retryQueue)&&(r.retryQueue=null,ln(e,t));break;case 30:512&i&&(oQ||null===r||oS(r,r.return)),i=ti(),s=o0,a=(0x13ffff00&n)===n,o=e.memoizedProps,o0=a&&"none"!==rs(o.default,o.update),lr(t,e,n),la(e),a&&null!==r&&tr&&(e.flags|=4),o0=s,tr=i;break;case 21:break;case 7:r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:lr(t,e,n),la(e)}}function la(e){var t=e.flags;if(2&t){try{for(var n,r=null,i=e.return;null!==i;){if(oT(i)){var s=i.stateNode;null===r?r=[s]:r.push(s)}if(oC(i)){n=i;break}i=i.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var a=n.stateNode,o=oO(e);oN(e,o,a,r);break;case 5:var u=n.stateNode;32&n.flags&&(tw(u,""),n.flags&=-33);var c=oO(e);oN(e,c,u,r);break;case 3:case 4:var d=n.stateNode.containerInfo,f=oO(e);!function e(t,n,r,i){var s=t.tag;if(5===s||6===s)s=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(s,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(s),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=tO)),oE(t,i),tr=!0;else if(4!==s&&(27===s&&cy(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r,i),t=t.sibling;null!==t;)e(t,n,r,i),t=t.sibling}(e,f,d,r);break;default:throw Error(l(161))}}catch(t){uC(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function lo(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)ll(t,e),t=t.sibling;else!function e(t,n){for(t=t.child;null!==t;){if(30===t.tag){var r=t.memoizedProps,i=t.stateNode,s=rr(r,i),a=rs(r.default,r.update);if(n)var o=null===(i=i.clones)?null:i.map(cP);else o=t.memoizedState,t.memoizedState=null;i=t;var l=t.child;oz=0,s=oW(i,l,s,s,a,o,!1),0!=(4&t.flags)&&s&&(n||l7(t,r.onUpdate))}else 0!=(0x2000000&t.subtreeFlags)&&e(t,n);t=t.sibling}}(t,!1)}function ll(e,t){var n=e.alternate;if(null===n)oU(e,!1);else switch(e.tag){case 3:if(o2=oZ=!1,oA(),lo(t,e),!oZ&&!o1){if(null!==(e=oL))for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];ck(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+i+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),o2=!0}oL=null;break;case 5:default:lo(t,e);break;case 4:r=oZ,oZ=!1,lo(t,e),oZ&&(o1=!0),oZ=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?oU(e,!1):lo(t,e));break;case 30:r=oZ,i=oA(),oZ=!1,lo(t,e),oZ&&(e.flags|=4);var s=e.memoizedProps,a=e.stateNode;t=rr(s,a),a=rr(n.memoizedProps,a);var o=rs(s.default,s.update);"none"===o?t=!1:(s=n.memoizedState,n.memoizedState=null,n=e.child,oz=0,t=oW(e,n,t,a,o,s,!0),oz!==(null===s?0:s.length)&&(e.flags|=32)),0!=(4&e.flags)&&t?(l7(e,e.memoizedProps.onUpdate),oL=i):null!==i&&(i.push.apply(i,oL),oL=i),oZ=0!=(32&e.flags)||r}}function lu(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)o4(e,t.alternate,t),t=t.sibling}function lc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&id(n))}function ld(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&id(e))}function lf(e,t,n,r){var i=(0x13ffff00&n)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;null!==t;)lh(e,t,n,r),t=t.sibling;else i&&function e(t){for(t=t.child;null!==t;)30===t.tag?o$(t.child,!1):0!=(0x2000000&t.subtreeFlags)&&e(t),t=t.sibling}(t)}function lh(e,t,n,r){var i=(0x13ffff00&n)===n;i&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&oq(t);var s=t.flags;switch(t.tag){case 0:case 11:case 15:lf(e,t,n,r),2048&s&&om(9,t);break;case 1:case 31:case 13:default:lf(e,t,n,r);break;case 3:lf(e,t,n,r),i&&o2&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.n
1odeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&s&&(s=null,null!==t.alternate&&(s=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==s&&(t.refCount++,null!=s&&id(s)));break;case 12:if(2048&s){lf(e,t,n,r),s=t.stateNode;try{var a=t.memoizedProps,o=a.id,l=a.onPostCommit;"function"==typeof l&&l(o,null===t.alternate?"mount":"update",s.passiveEffectDuration,-0)}catch(e){uC(t,t.return,e)}}else lf(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,null!==t.memoizedState?(i&&null!==o&&null===o.memoizedState&&oq(o),2&a._visibility?lf(e,t,n,r):lp(e,t)):(i&&null!==o&&null!==o.memoizedState&&oq(t),2&a._visibility?lf(e,t,n,r):(a._visibility|=2,function e(t,n,r,i,s){for(s=s&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var a=n,o=a.flags;switch(a.tag){case 0:case 11:case 15:e(t,a,r,i,s),om(8,a);break;case 23:break;case 22:var l=a.stateNode;null!==a.memoizedState?2&l._visibility?e(t,a,r,i,s):lp(t,a):(l._visibility|=2,e(t,a,r,i,s)),s&&2048&o&&lc(a.alternate,a);break;case 24:e(t,a,r,i,s),s&&2048&o&&ld(a.alternate,a);break;default:e(t,a,r,i,s)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags)))),2048&s&&lc(o,t);break;case 24:lf(e,t,n,r),2048&s&&ld(t.alternate,t);break;case 30:i&&null!==(s=t.alternate)&&(o$(s.child,!0),o$(t.child,!0)),lf(e,t,n,r)}}function lp(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:lp(e,n),2048&r&&lc(n.alternate,n);break;case 24:lp(e,n),2048&r&&ld(n.alternate,n);break;default:lp(e,n)}t=t.sibling}}var lg=8192;function lv(e,t,n){if(e.subtreeFlags&lg)for(e=e.child;null!==e;)lm(e,t,n),e=e.sibling}function lm(e,t,n){switch(e.tag){case 26:lv(e,t,n),e.flags&lg&&(null!==e.memoizedState?function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var i=c8(r.href),s=t.querySelector(c7(i));if(s){null!==(t=s._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dv.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=s,e5(s);return}s=t.ownerDocument||t,r=c9(r),(i=c0.get(i))&&di(r,i),e5(s=s.createElement("link"));var a=s;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),cs(s,"link",r),n.instance=s}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=dv.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,li,e.memoizedState,e.memoizedProps):(e=e.stateNode,(0x13ffff40&t)===t&&dh(n,e)));break;case 5:lv(e,t,n),e.flags&lg&&(e=e.stateNode,(0x13ffff40&t)===t&&dh(n,e));break;case 3:case 4:var r=li;li=c2(e.stateNode.containerInfo),lv(e,t,n),li=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=lg,lg=0x1000000,lv(e,t,n),lg=r):lv(e,t,n));break;case 30:if(0!=(e.flags&lg)&&null!=(r=e.memoizedProps.name)&&"auto"!==r){var i=e.stateNode;i.paired=null,null===oI&&(oI=new Map),oI.set(r,i)}lv(e,t,n);break;default:lv(e,t,n)}}function l_(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function ly(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];oJ=r,lw(r,e)}l_(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lb(e),e=e.sibling}function lb(e){switch(e.tag){case 0:case 11:case 15:ly(e),2048&e.flags&&o_(9,e,e.return);break;case 3:case 12:default:ly(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];oJ=i,lw(i,t)}l_(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:o_(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):ly(e)}}function lw(e,t){for(;null!==oJ;){var n=oJ;switch(n.tag){case 0:case 11:case 15:o_(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:id(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,oJ=r;else for(n=e;null!==oJ;){var i=(r=oJ).sibling,s=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&e0(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){oJ=null;break}if(null!==i){i.return=s,oJ=i;break}oJ=s}}}var lS={getCacheForType:function(e){var t=ir(iu),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ir(iu).controller.signal}},lk="function"==typeof WeakMap?WeakMap:Map,lx=0,lE=null,lP=null,lC=0,lT=0,lO=null,lN=!1,lF=!1,lR=!1,lI=0,lM=0,lL=0,lA=0,lz=0,lD=0,l$=0,lj=null,lU=null,lH=!1,lB=0,lV=0,lq=1/0,lW=null,lG=null,lQ=0,lK=null,lX=null,lY=0,lJ=0,lZ=null,l0=null,l1=null,l2=null,l3=null,l4=0,l5=null;function l6(){return 0!=(2&lx)&&0!==lC?lC&-lC:null!==W.T?uW():eB()}function l8(){if(0===lD)if(0==(0x20000000&lC)||rq){var e=eN;0==(3932160&(eN<<=1))&&(eN=262144),lD=e}else lD=0x20000000;return null!==(e=i6.current)&&(e.flags|=32),lD}function l7(e,t){if(null!=t){var n=e.stateNode,r=n.ref;
1null===r&&(r=n.ref=cO(rr(e.memoizedProps,n))),null===l2&&(l2=[]),l2.push(t.bind(null,r))}}function l9(e,t,n){(e===lE&&(2===lT||9===lT)||null!==e.cancelPendingCommit)&&(us(e,0),un(e,lC,lD,!1)),ez(e,n),(0==(2&lx)||e!==lE)&&(e===lE&&(0==(2&lx)&&(lA|=n),4===lM&&un(e,lC,lD,!1)),u$(e))}function ue(e,t,n){if(0!=(6&lx))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eM(e,t),i=r?function(e,t){var n=lx;lx|=2;var r=ul(),i=uu();lE!==e||lC!==t?(lW=null,lq=em()+500,us(e,t)):lF=eM(e,t);e:for(;;)try{if(0!==lT&&null!==lP){t=lP;var s=lO;t:switch(lT){case 1:lT=0,lO=null,up(e,t,s,1);break;case 2:case 9:if(iO(s)){lT=0,lO=null,uh(t);break}t=function(){2!==lT&&9!==lT||lE!==e||(lT=7),u$(e)},s.then(t,t);break e;case 3:lT=7;break e;case 4:lT=5;break e;case 7:iO(s)?(lT=0,lO=null,uh(t)):(lT=0,lO=null,up(e,t,s,7));break;case 5:var a=null;switch(lP.tag){case 26:a=lP.memoizedState;case 5:case 27:var o=lP;if(a?dd(a):o.stateNode.complete){lT=0,lO=null;var u=o.sibling;if(null!==u)lP=u;else{var c=o.return;null!==c?(lP=c,ug(c)):lP=null}break t}}lT=0,lO=null,up(e,t,s,5);break;
vendor: 9,401 bytes, line 1
1case 6:lT=0,lO=null,up(e,t,s,6);break;case 8:ui(),lM=6;break e;default:throw Error(l(462))}}for(;null!==lP&&!eg();)uf(lP);break}catch(t){ua(e,t)}return(r4=r3=null,W.H=r,W.A=i,lx=n,null!==lP)?0:(lE=null,lC=0,rc(),lM)}(e,t):ud(e,t,!0),s=r;;){if(0===i)lF&&!r&&un(e,t,0,!1);else{if(n=e.current.alternate,s&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!n$(s(),i))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){i=ud(e,t,!1),s=!1;continue}if(2===i){if(s=t,e.errorRecoveryDisabledLanes&s)var a=0;else a=0!=(a=-0x20000001&e.pendingLanes)?a:0x20000000&a?0x20000000:0;if(0!==a){t=a;e:{i=lj;var o=e.current.memoizedState.isDehydrated;if(o&&(us(e,a).flags|=256),2!==(a=ud(e,a,!1))){if(lR&&!o){e.errorRecoveryDisabledLanes|=s,lA|=s,i=4;break e}s=lU,lU=i,null!==s&&(null===lU?lU=s:lU.push.apply(lU,s))}i=a}if(s=!1,2!==i)continue}}if(1===i){us(e,0),un(e,t,0,!0);break}e:{switch(r=e,s=i){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t&&(0x3c00000&t)!==t)break;case 6:un(r,t,lD,!lN);break e;case 2:lU=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(i=lB+300-em())){if(un(r,t,lD,!lN),0!==eI(r,0,!0))break e;lY=t,r.timeoutHandle=cp(ut.bind(null,r,n,lU,lW,lH,t,lD,lA,l$,lN,s,"Throttled",-0,0),i);break e}ut(r,n,lU,lW,lH,t,lD,lA,l$,lN,s,null,-0,0)}}break}u$(e)}function ut(e,t,n,r,i,s,a,o,l,u,c,d,f,h){e.timeoutHandle=-1;var p,g,v=t.subtreeFlags,m=(0x13ffff00&s)===s;if(d=null,(m||8192&v||0x1002000==(0x1002000&v))&&(oI=null,lm(t,s,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tO}),m&&(v=d,null!=(m=(9===(m=e.containerInfo).nodeType?m:m.ownerDocument).__reactViewTransition)&&(v.count++,v.waitingForViewTransition=!0,v=dv.bind(v),m.finished.then(v,v))),null!==(p=d,g=v=(0x3c00000&s)===s?lB-em():(4194048&s)===s?lV-em():0,p.stylesheets&&0===p.count&&dy(p,p.stylesheets),v=0<p.count||0<p.imgCount?function(e){var t=setTimeout(function(){if(p.stylesheets&&dy(p,p.stylesheets),p.unsuspend){var e=p.unsuspend;p.unsuspend=null,e()}},6e4+g);0<p.imgBytes&&0===dp&&(dp=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var i=n[r],s=i.transferSize,a=i.initiatorType,o=i.duration;if(s&&o&&ca(a)){for(a=0,o=i.responseEnd,r+=1;r<n.length;r++){var l=n[r],u=l.startTime;if(u>o)break;var c=l.transferSize,d=l.initiatorType;c&&ca(d)&&(a+=c*((l=l.responseEnd)<o?1:(o-u)/(l-u)))}if(--r,t+=8*(s+a)/(i.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(p.waitingForImages=!1,0===p.count&&(p.stylesheets&&dy(p,p.stylesheets),p.unsuspend)){var e=p.unsuspend;p.unsuspend=null,e()}},(p.imgBytes>dp?50:800)+g);return p.unsuspend=e,function(){p.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null))){lY=s,e.cancelPendingCommit=v(um.bind(null,e,t,s,n,r,i,a,o,l,u,c,d,null,f,h)),un(e,s,a,!u);return}um(e,t,s,n,r,i,a,o,l,u,c,d)}function un(e,t,n,r){t&=~lz,t&=~lA,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var s=31-eP(i),a=1<<s;r[s]=-1,i&=~a}0!==n&&eD(e,n,t)}function ur(){return 0!=(6&lx)||(uj(0,!1),!1)}function ui(){if(null!==lP){if(0===lT)var e=lP.return;else e=lP,r4=r3=null,sP(e),iL=null,iA=0,e=lP;for(;null!==e;)ov(e.alternate,e),e=e.return;lP=null}}function us(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,cg(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),lY=0,ui(),lE=e,lP=n=rb(e.current,null),lC=t,lT=0,lO=null,lN=!1,lF=eM(e,t),lR=!1,l$=lD=lz=lA=lL=lM=0,lU=lj=null,lH=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-eP(r),s=1<<i;t|=e[i],r&=~s}return lI=t,rc(),n}function ua(e,t){sl=null,W.H=aE,t===iE||t===iC?(t=iI(),lT=3):t===iP?(t=iI(),lT=4):lT=t===aH?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,lO=t,null===lP&&(lM=1,az(e,rT(t,e.current)))}function uo(){var e=i6.current;return null===e||((4194048&lC)===lC?null===i8:((0x3c00000&lC)===lC||0!=(0x20000000&lC))&&e===i8)}function ul(){var e=W.H;return W.H=aE,null===e?aE:e}function uu(){var e=W.A;return W.A=lS,e}function uc(){lM=4,lN||(4194048&lC)!==lC&&null!==i6.current||(lF=!0),0==(0x7ffffff&lL)&&0==(0x7ffffff&lA)||null===lE||un(lE,lC,lD,!1)}function ud(e,t,n){var r=lx;lx|=2;var i=ul(),s=uu();(lE!==e||lC!==t)&&(lW=null,us(e,t)),t=!1;var a=lM;e:for(;;)try{if(0!==lT&&null!==lP){var o=lP,l=lO;switch(lT){case 8:ui(),a=6;break e;case 3:case 2:case 9:case 6:null===i6.current&&(t=!0);var u=lT;if(lT=0,lO=null,up(e,o,l,u),n&&lF){a=0;break e}break;default:u=lT,lT=0,lO=null,up(e,o,l,u)}}(function(){for(;null!==lP;)uf(lP)})(),a=lM;break}catch(t){ua(e,t)}return t&&e.shellSuspendCounter++,r4=r3=null,lx=r,W.H=i,W.A=s,null===lP&&(lE=null,lC=0,rc()),a}function uf(e){var t=ou(e.alternate,e,lI);e.memoizedProps=e.pendingProps,null===t?ug(e):lP=t}function uh(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=a1(n,t,t.pendingProps,t.type,void 0,lC);break;case 11:t=a1(n,t,t.pendingProps,t.type.render,t.ref,lC);break;case 5:sP(t);var r=t;r===rB&&(rq?(rY(r),5===r.tag&&null!=r.stateNode&&(rV=r.stateNode)):(rY(r),rq=!0));default:ov(n,t),t=ou(n,t=lP=rw(t,lI),lI)}e.memoizedProps=e.pendingProps,null===t?ug(e):lP=t}function up(e,t,n,r){r4=r3=null,sP(t),iL=null,iA=0;var i=t.return;try{if(function(e,t,n,r,i){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&r9(t,n,i,!0),null!==(n=i6.current)){switch(n.tag){case 31:case 13:case 19:return null===i8?uc():null===n.alternate&&0===lM&&(lM=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===iT?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),uT(e,r,i)),!1;case 22:return n.flags|=65536,r===iT?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),uT(e,r,i)),!1}throw Error(l(435,n.tag))}return uT(e,r,i),uc(),!1}if(rq)return null!==(t=i6.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==rQ&&r1(rT(e=Error(l(422),{cause:r}),n))):(r!==rQ&&r1(rT(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=rT(r,n),i=a$(e.stateNode,r,i),iK(e,i),4!==lM&&(lM=2)),!1;var s=Error(l(520),{cause:r});if(s=rT(s,n),null===lj?lj=[s]:lj.push(s),4!==lM&&(lM=2),null===t)return!0;r=rT(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=a$(n.stateNode,r,e),iK(n,e),!1;case 1:if(t=n.type,s=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==s&&"function"==typeof s.componentDidCatch&&(null===lG||!lG.has(s))))return n.flags|=65536,i&=-i,n.lanes|=i,aU(i=aj(i),e,n,r),iK(n,i),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n)return!1}(e,i,t,n,lC)){lM=1,az(e,rT(n,e.current)),lP=null;return}}catch(t){if(null!==i)throw lP=i,t;lM=1,az(e,rT(n,e.current)),lP=null;return}32768&t.flags?(rq||1===r?e=!0:lF||0!=(0x20000000&lC)?e=!1:(lN=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=i6.current)&&13===r.tag&&(r.flags|=16384)),uv(t,e)):ug(t)}function ug(e){var t=e;do{if(0!=(32768&t.flags))return void uv(t,lN);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rU(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return og(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),r6(iu),es(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rJ(t)?oc(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,r0())),og(t),null;case 26:var i=t.type,s=t.memoizedState;return null===e?(oc(t),null!==s?(og(t),of(t,s)):(og(t),od(t,i,null,r,n))):s?s!==e.memoizedState?(oc(t),og(t),of(t,s)):(og(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&oc(t),og(t),od(t,i,e,r,n)),null;case 27:if(eo(t),n=en.current,i=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&oc(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return og(t),t.subtreeFlags&=-0x2000001,null}e=ee.current,rJ(t)?rX(t,e):(t.stateNode=e=cJ(i,r,n),oc(t))}return og(t),t.subtreeFlags&=-0x2000001,null;case 5:if(eo(t),i=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&oc(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return og(t),t.subtreeFlags&=-0x2000001,null}if(s=ee.current,rJ(t))rX(t,s);else{var a=cu(en.current);switch(s){case 1:s=a.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:s=a.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":s=a.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":s=a.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":(s=a.createElement("div")).innerHTML="<script></script>",s=s.removeChild(s.firstChild);break;case"select":s="string"==typeof r.is?a.createElement("select",{is:r.is}
1):a.createElement("select"),r.multiple?s.multiple=!0:r.size&&(s.size=r.size);break;default:s="string"==typeof r.is?a.createElement(i,{is:r.is}):a.createElement(i)}}s[eW]=t,s[eG]=r;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)s.appendChild(a.stateNode);else if(4!==a.tag&&27!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(t.stateNode=s,cs(s,i,r),i){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&oc(t)}}return og(t),t.subtreeFlags&=-0x2000001,od(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&oc(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=en.current,rJ(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(i=rB))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[eW]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||cn(e.nodeValue,n)))||rK(t,!0)}else(e=cu(e).createTextNode(r))[eW]=t,t.stateNode=e}return og(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rJ(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eW]=t}else rZ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;og(t),e=!1}else n=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return sn(t),t;return sn(t),null}if(0!=(128&t.flags))throw Error(l(558))}return og(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=rJ(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(l(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(l(317));i[eW]=t}else rZ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;og(t),i=!1}else i=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i){if(256&t.flags)return sn(t),t;return sn(t),null}}if(sn(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,i=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool),s=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(s=r.memoizedState.cachePool.pool),s!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),oh(t,t.updateQueue),og(t),null;case 4:return es(),null===e&&u2(t.stateNode.containerInfo),t.flags|=0x4000000,og(t),null;case 10:return r6(t.type),og(t),null;case 19:if(ss(t),null===(r=t.memoizedState))return og(t),null;if(i=0!=(128&t.flags),null===(s=r.rendering))if(i)op(r,!1);else{if(0!==lM||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=sa(e))){for(t.flags|=128,op(r,!1),t.updateQueue=e=s.updateQueue,oh(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rw(n,e),n=n.sibling;return si(t,1&sr.current|2),rq&&rD(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&em()>lq&&(t.flags|=128,i=!0,op(r,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=sa(s))){if(t.flags|=128,i=!0,t.updateQueue=e=e.updateQueue,oh(t,e),op(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!s.alternate&&!rq)return og(t),null}else 2*em()-r.renderingStartTime>lq&&0x20000000!==n&&(t.flags|=128,i=!0,op(r,!1),t.lanes=4194304);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(e=r.last)?e.sibling=s:t.child=s,r.last=s)}if(null!==r.tail){e=r.tail;e:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=em(),e.sibling=null,s=sr.current,s=i?1&s|2:1&s,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||rq?si(t,s):(n=s,Z(i6,t),Z(sr,n),null===i8&&(i8=t)),rq&&rD(t,r.treeForkCount),e}return og(t),null;case 22:case 23:return sn(t),i5(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(og(t),6&t.subtreeFlags&&(t.flags|=8192)):og(t),null!==(n=t.updateQueue)&&oh(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&J(iw),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r6(iu),og(t),null;case 25:return null;case 30:return t.flags|=0x2000000,og(t),null}throw Error(l(156,t.tag))}(t.alternate,t,lI);if(null!==n){lP=n;return}if(null!==(t=t.sibling)){lP=t;return}lP=t=e}while(null!==t)0===lM&&(lM=5)}function uv(e,t){do{var n=function(e,t){switch(rU(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r6(iu),es(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return eo(t),null;case 31:if(null!==t.memoizedState){if(sn(t),null===t.alternate)throw Error(l(340));rZ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(sn(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rZ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ss(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return es(),null;case 10:return r6(t.type),null;case 22:case 23:return sn(t),i5(),null!==e&&J(iw),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r6(iu),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,lP=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deleti
1ons=null),!t&&null!==(e=e.sibling)){lP=e;return}lP=e=n}while(null!==e)lM=6,lP=null}function um(e,t,n,r,i,s,a,o,u,c,d,f){e.cancelPendingCommit=null;do ux();while(0!==lQ)if(0!=(6&lx))throw Error(l(327));if(null!==t){if(t===e.current)throw Error(l(177));e===lE&&(lP=lE=null,lC=0),lX=t,lK=e,lY=n,lZ=i,l0=r,function(e,t,n,r,i,s,a){var o,l=t.lanes|t.childLanes;if(lJ=l,!function(e,t,n,r,i,s){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var o=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-eP(n),d=1<<c;o[c]=0,l[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var h=f[c];null!==h&&(h.lane&=-0x20000001)}n&=~d}0!==r&&eD(e,r,0),0!==s&&0===i&&0!==e.tag&&(e.suspendedLanes|=s&~(a&~t))}(e,n,l|=ru,r,i,s),l2=null,(0x13ffff00&n)===n?(o=e.transitionTypes,e.transitionTypes=null,l3=o,r=10262):(l3=null,r=10256),0!=(t.subtreeFlags&r)||0!=(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,eh(ew,function(){return uE(),null})):(e.callbackNode=null,e.callbackPriority=0),oR=!1,r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=W.T,W.T=null,i=G.p,G.p=2,s=lx,lx|=4;try{!function(e,t,n){if(e=e.containerInfo,co=dO,nV(e=nB(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(i&&0!==i.rangeCount){r=i.anchorNode;var s,a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch(e){r=null;break e}var l=0,u=-1,c=-1,d=0,f=0,h=e,p=null;t:for(;;){for(;h!==r||0!==a&&3!==h.nodeType||(u=l+a),h!==o||0!==i&&3!==h.nodeType||(c=l+i),3===h.nodeType&&(l+=h.nodeValue.length),null!==(s=h.firstChild);)p=h,h=s;for(;;){if(h===e)break t;if(p===r&&++d===a&&(u=l),p===o&&++f===i&&(c=l),null!==(s=h.nextSibling))break;
1p=(h=p).parentNode}h=s}r=-1===u||-1===c?null:{start:u,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(cl={focusedElem:e,selectionRange:r},dO=!1,n=(0x13ffff00&n)===n,oJ=t,t=n?9270:1028;null!==oJ;){if(e=oJ,n&&null!==(r=e.deletions))for(a=0;a<r.length;a++)n&&oB(r[a]);if(null===e.alternate&&0!=(2&e.flags))n&&oM(e),o3(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&oB(r),o3(n);continue}else if(null!==r&&null!==r.memoizedState){n&&oM(e),o3(n);continue}}r=e.child,0!=(e.subtreeFlags&t)&&null!==r?(r.return=e,oJ=r):(n&&function e(t){for(t=t.child;null!==t;){if(30===t.tag){var n=t.memoizedProps,r=rr(n,t.stateNode);n=rs(n.default,n.update),t.flags&=-5,"none"!==n&&oD(t,r,n,t.memoizedState=[],!1)}else 0!=(0x2000000&t.subtreeFlags)&&e(t);t=t.sibling}}(e),o3(n))}}oI=null}(e,t,n)}finally{lx=s,G.p=i,W.T=r}}lQ=1,oR?l1=function(e,t,n,r,i,s,a,o,l){var u=9===t.nodeType?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var t=u.defaultView,n=t.navigation&&t.navigation.transition,a=u.fonts.status;r();var o=[];if("loaded"===a&&(u.documentElement.clientHeight,"loading"===u.fonts.status&&o.push(u.fonts.ready)),a=o.length,null!==e)for(var l=e.suspenseyImages,c=0,d=0;d<l.length;d++){var f=l[d];if(!f.complete){var h=f.getBoundingClientRect();if(0<h.bottom&&0<h.right&&h.top<t.innerHeight&&h.left<t.innerWidth){if((c+=df(f))>dp){o.length=a;break}f=new Promise(cC.bind(f)),o.push(f)}}}return 0<o.length?(t=Promise.race([Promise.all(o),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(s,s)):(i(),n)?n.finished.then(s,s):void s()},types:n});u.__reactViewTransition=c;var d=[];return c.ready.then(function(){for(var e=u.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(null!=i&&i.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var s=i=void 0,o=!0,l=0;l<n.length;l++){var c=n[l],f=c.width;if(void 0===i)i=f;else if(i!==f){o=!1;break}if(f=c.height,void 0===s)s=f;else if(s!==f){o=!1;break}delete c.width,delete c.height,"none"===c.transform&&delete c.transform}o&&void 0!==i&&void 0!==s&&(r.setKeyframes(n),(o=getComputedStyle(r.target,r.pseudoElement)).width!==i||o.height!==s)&&((o=n[0]).width=i,o.height=s,(o=n[n.length-1]).width=i,o.height=s,r.setKeyframes(n))}}a()},function(e){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{"object"==typeof e&&null!==e&&"InvalidStateError"===e.name&&("View transition was skipped because document visibility state is hidden."===e.message||"Skipping view transition because document visibility state has become hidden."===e.message||"Skipping view transition because viewport size changed."===e.message||"Transition was aborted because of invalid state"===e.message)&&(e=null),null!==e&&l(e)}finally{r(),i(),a()}}),c.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();u.__reactViewTransition===c&&(u.__reactViewTransition=null),o()}),c}catch(e){return r(),i(),a(),null}}(a,e.containerInfo,l3,ub,uw,uy,uS,uE,u_):(ub(),uw(),uS())}(e,t,n,a,o,u,f)}}function u_(e){0!==lQ&&(0,lK.onRecoverableError)(e,{componentStack:null})}function uy(){3===lQ&&(lQ=0,ll(lX,lK),lQ=4)}function ub(){if(1===lQ){lQ=0;var e=lK,t=lX,n=lY,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=W.T,W.T=null;var i=G.p;G.p=2;var s=lx;lx|=4;try{o0=o1=!1,ls(t,e,n),n=cl;var a=nB(e.containerInfo),o=n.focusedElem,l=n.selectionRange;if(a!==o&&o&&o.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(o.ownerDocument.documentElement,o)){if(null!==l&&nV(o)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in o)o.selectionStart=u,o.selectionEnd=Math.min(c,o.value.length);else{var d=o.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var h=f.getSelection(),p=o.textContent.length,g=Math.min(l.start,p),v=void 0===l.end?g:Math.min(l.end,p);!h.extend&&g>v&&(a=v,v=g,g=a);var m=nH(o,g),_=nH(o,v);if(m&&_&&(1!==h.rangeCount||h.anchorNode!==m.node||h.anchorOffset!==m.offset||h.focusNode!==_.n
vendor: 6,501 bytes, line 1
1ode||h.focusOffset!==_.offset)){var y=d.createRange();y.setStart(m.node,m.offset),h.removeAllRanges(),g>v?(h.addRange(y),h.extend(_.node,_.offset)):(y.setEnd(_.node,_.offset),h.addRange(y))}}}}for(d=[],h=o;h=h.parentNode;)1===h.nodeType&&d.push({element:h,left:h.scrollLeft,top:h.scrollTop});for("function"==typeof o.focus&&o.focus(),o=0;o<d.length;o++){var b=d[o];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}dO=!!co,cl=co=null}finally{lx=s,G.p=i,W.T=r}}e.current=t,lQ=2}}function uw(){if(2===lQ){lQ=0;var e=lK,t=lX,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=W.T,W.T=null;var r=G.p;G.p=2;var i=lx;lx|=4;try{o4(e,t.alternate,t)}finally{lx=i,G.p=r,W.T=n}}lQ=3}}function uS(){if(4===lQ||3===lQ){lQ=0;var e=l1;l1=null,ev();var t=lK,n=lX,r=lY,i=l0,s=(0x13ffff00&r)===r?10262:10256;if(0!=(n.subtreeFlags&s)||0!=(n.flags&s)?lQ=5:(lQ=0,lX=lK=null,uk(t,t.pendingLanes)),0===(s=t.pendingLanes)&&(lG=null),eH(r),n=n.stateNode,eE&&"function"==typeof eE.onCommitFiberRoot)try{eE.onCommitFiberRoot(ex,n,void 0,128==(128&n.current.flags))}catch(e){}if(null!==i){n=W.T,s=G.p,G.p=2,W.T=null;try{for(var a=t.onRecoverableError,o=0;o<i.length;o++){var l=i[o];a(l.value,{componentStack:l.stack})}}finally{W.T=n,G.p=s}}if(i=l2,a=l3,l3=null,null!==i&&(l2=null,null===a&&(a=[]),null!==e))for(l=0;l<i.length;l++)void 0!==(n=(0,i[l])(a))&&e.finished.finally(n);0!=(3&lY)&&ux(),u$(t),s=t.pendingLanes,0!=(261930&r)&&0!=(42&s)?t===l5?l4++:(l4=0,l5=t):l4=0,uj(0,!1)}}function uk(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,id(t))}function ux(){return null!==l1&&(l1.skipTransition(),l1=null),ub(),uw(),uS(),uE()}function uE(){if(5!==lQ)return!1;var e=lK,t=lJ;lJ=0;var n=eH(lY),r=W.T,i=G.p;try{G.p=32>n?32:n,W.T=null,n=lZ,lZ=null;var s=lK,a=lY;if(lQ=0,lX=lK=null,lY=0,0!=(6&lx))throw Error(l(331));var o=lx;if(lx|=4,lb(s.current),lh(s,s.current,a,n),lx=o,uj(0,!1),eE&&"function"==typeof eE.onPostCommitFiberRoot)try{eE.onPostCommitFiberRoot(ex,s)}catch(e){}return!0}finally{G.p=i,W.T=r,uk(e,t)}}function uP(e,t,n){t=rT(n,t),t=a$(e.stateNode,t,2),null!==(e=iG(e,t,2))&&(ez(e,2),u$(e))}function uC(e,t,n){if(3===e.tag)uP(e,e,n);else for(;null!==t;){if(3===t.tag){uP(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===lG||!lG.has(r))){e=rT(n,e),null!==(r=iG(t,n=aj(2),2))&&(aU(n,r,t,e),ez(r,2),u$(r));break}}t=t.return}}function uT(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new lk;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(lR=!0,i.add(n),e=uO.bind(null,e,t,n),t.then(e,e))}function uO(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lE===e&&(lC&n)===n&&(4===lM||3===lM&&(0x3c00000&lC)===lC&&300>em()-lB?0==(2&lx)&&us(e,0):lz|=n,l$===lC&&(l$=0)),u$(e)}function uN(e,t){0===t&&(t=eL()),null!==(e=rh(e,t))&&(ez(e,t),u$(e))}function uF(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),uN(e,n)}function uR(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),uN(e,n)}var uI=null,uM=null,uL=!1,uA=!1,uz=!1,uD=0;function u$(e){e!==uM&&null===e.next&&(null===uM?uI=uM=e:uM=uM.next=e),uA=!0,uL||(uL=!0,cm(function(){0!=(6&lx)?eh(ey,uU):uH()}))}function uj(e,t){if(!uz&&uA){uz=!0;do for(var n=!1,r=uI;null!==r;){if(!t)if(0!==e){var i=r.pendingLanes;if(0===i)var s=0;else{var a=r.suspendedLanes,o=r.pingedLanes;s=0xc000095&(s=(1<<31-eP(42|e)+1)-1&(i&~(a&~o)))?0xc000095&s|1:s?2|s:0}0!==s&&(n=!0,uq(r,s))}else s=lC,0==(3&(s=eI(r,r===lE?s:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eM(r,s)||(n=!0,uq(r,s));r=r.next}while(n)uz=!1}}function uU(){uH()}function uH(){uA=uL=!1;var e,t=0;0===uD||((e=window.event)&&"popstate"===e.type?e===ch||(ch=e,0):(ch=null,1))||(t=uD);for(var n=em(),r=null,i=uI;null!==i;){var s=i.next,a=uB(i,n);0===a?(i.next=null,null===r?uI=s:r.next=s,null===s&&(uM=r)):(r=i,(0!==t||0!=(3&a))&&(uA=!0)),i=s}0!==lQ&&5!==lQ||uj(t,!1),0!==uD&&(uD=0)}function uB(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=-0x3c00001&e.pendingLanes;0<s;){var a=31-eP(s),o=1<<a,l=i[a];-1===l?(0==(o&n)||0!=(o&r))&&(i[a]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(o,t)):l<=t&&(e.expiredLanes|=o),s&=~o}if(t=lE,n=lC,n=eI(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lT||9===lT)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ep(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eM(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ep(r),eH(n)){case 2:case 8:n=eb;break;case 32:default:n=ew;break;case 0x10000000:n=ek}return n=eh(n,r=uV.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ep(r),e.callbackPriority=2,e.callbackNode=null,2}function uV(e,t){if(0!==lQ&&5!==lQ)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(ux()&&e.callbackNode!==n)return null;var r=lC;return 0===(r=eI(e,e===lE?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(ue(e,r,t),uB(e,em()),null!=e.callbackNode&&e.callbackNode===n?uV.bind(null,e):null)}function uq(e,t){if(ux())return null;ue(e,t,!0)}function uW(){if(0===uD){var e=im;0===e&&(e=eO,0==(261888&(eO<<=1))&&(eO=256)),uD=e}return uD}function uG(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tT(e)}for(var uQ=0;uQ<re.length;uQ++){var uK=re[uQ];rt(uK.toLowerCase(),"on"+(uK[0].toUpperCase()+uK.slice(1)))}rt(n2,"onAnimationEnd"),rt(n3,"onAnimationIteration"),rt(n4,"onAnimationStart"),rt("dblclick","onDoubleClick"),rt("focusin","onFocus"),rt("focusout","onBlur"),rt(n5,"onTransitionRun"),rt(n6,"onTransitionStart"),rt(n8,"onTransitionCancel"),rt(n7,"onTransitionEnd"),e9("onMouseEnter",["mouseout","mouseover"]),e9("onMouseLeave",["mouseout","mouseover"]),e9("onPointerEnter",["pointerout","pointerover"]),e9("onPointerLeave",["pointerout","pointerover"]),e7("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),e7("onSelect","focusout contextmenu dragend focu
1sin keydown keyup mousedown mouseup selectionchange".split(" ")),e7("onBeforeInput",["compositionend","keypress","textInput","paste"]),e7("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),e7("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uX="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),uY=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(uX));function uJ(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var a=r.length-1;0<=a;a--){var o=r[a],l=o.instance,u=o.currentTarget;if(o=o.listener,l!==s&&i.isPropagationStopped())break e;s=o,i.currentTarget=u;try{s(i)}catch(e){ra(e)}i.currentTarget=null,s=l}else for(a=0;a<r.length;a++){if(l=(o=r[a]).instance,u=o.currentTarget,o=o.listener,l!==s&&i.isPropagationStopped())break e;s=o,i.currentTarget=u;try{s(i)}catch(e){ra(e)}i.currentTarget=null,s=l}}}}function uZ(e,t){var n=t[eK];void 0===n&&(n=t[eK]=new Set);var r=e+"__bubble";n.has(r)||(u3(t,e,2,!1),n.add(r))}function u0(e,t,n){var r=0;t&&(r|=4),u3(n,e,r,t)}var u1="_reactListening"+Math.random().toString(36).slice(2);function u2(e){if(!e[u1]){e[u1]=!0,e6.forEach(function(t){"selectionchange"!==t&&(uY.has(t)||u0(t,!1,e),u0(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[u1]||(t[u1]=!0,u0("selectionchange",!1,t))}}function u3(e,t,n,r){switch(dA(t)){case 2:var i=dN;break;case 8:i=dF;break;default:i=dR}n=i.bind(null,t,n,e),i=void 0,t$&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function u4(e,t,n,r,i){var s=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var o=r.stateNode.containerInfo;if(o===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&a.stateNode.containerInfo===i)return;a=a.return}for(;null!==o;){if(null===(a=e1(o)))return;if(5===(l=a.tag)||6===l||26===l||27===l){r=s=a;continue e}o=o.parentNode}}r=r.return}tA(function(){var r=s,i=tF(n),a=[];e:{var o=n9.get(e);if(void 0!==o){var l=t1,u=e;switch(e){case"keypress":if(0===tq(n))break e;case"keydown":case"keyup":l=na;break;case"focusin":u="focus",l=t8;break;case"focusout":u="blur",l=t8;break;case"beforeblur":case"afterblur":l=t8;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=t5;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=t6;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=nu;break;case n2:case n3:case n4:l=t7;break;case n7:l=nc;break;case"scroll":case"scrollend":l=t3;break;case"wheel":l=nd;break;case"copy":case"cut":case"paste":l=t9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=no;break;case"submit":l=nl;break;case"toggle":case"beforetoggle":l=nf}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),h=d?null!==o?o+"Capture":null:o;d=[];for(var p,g=r;null!==g;){var v=g;if(p=v.stateNode,5!==(v=v.tag)&&26!==v&&27!==v||null===p||null===h||null!=(v=tz(g,h))&&d.push(u5(g,v,p)),f)break;g=g.return}0<d.length&&(o=new l(o,u,null,n,i),a.push({event:o,listeners:d}))}}if(0==(7&t)){l="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e,!(l&&n!==tN&&(u=n.relatedTarget||n.fromElement)&&(e1(u)||u[eQ]))&&(o||l)&&(u=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,o?(l=n.relatedTarget||n.toElement,o=r,null!==(l=l?e1(l):null)&&(f=c(l),d=l.tag,l!==f||5!==d&&27!==d&&6!==d)&&(l=null)):(o=null,l=r),o!==l&&(d=t5,v="onMouseLeave",h="onMouseEnter",g="mouse",("pointerout"===e||"pointerover"===e)&&(d=no,v="onPointerLeave",h="onPointerEnter",g="pointer"),f=null==o?u:e3(o),p=null==l?u:e3(l),(u=new d(v,g+"leave",o,n,i)).target=f,u.relatedTarget=p,v=null,e1(i)===r&&((d=new d(h,g+"enter",l,n,i)).target=p,d.relatedTarget=f,v=d),f=v,d=o&&l?k(o,l,u8):null,null!==o&&u7(a,u,o,d,!1),null!==l&&null!==f&&u7(a,f,l,d,!0)));e:{if("select"===(l=(o=r?e3(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===l&&"file"===o.type)var m,_=nO;else if(nk(o))if(nN)_=nD;else{_=nA;var y=nL}else(l=o.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)?_=nz:r&&tE(r.elementType)&&(_=nO);if(_&&(_=_(e,r))){nx(a,_,n,i);break e}y&&y(e,o,r),"focusout"===e&&r&&"number"===o.type&&null!=r.memoizedProps.value&&tm(o,"number",o.value)}switch(y=r?e3(r):window,e){case"focusin":(nk(y)||"true"===y.contentEditable)&&(nW=y,nG=r,nQ=null);break;case"focusout":nQ=nG=nW=null;break;case"mousedown":nK=!0;break;case"contextmenu":case"mouseup":case"dragend":nK=!1,nX(a,n,i);break;case"selectionchange":if(nq)break;case"keydown":case"keyup":nX(a,n,i)}if(np)t:{switch(e){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else nw?ny(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(nm&&"ko"!==n.locale&&(nw||"onCompositionStart"!==b?"onCompositionEnd"===b&&nw&&(m=tV()):(tH="value"in(tU=i)?tU.value:tU.textContent,nw=!0)),0<(y=u6(r,b)).length&&(b=new ne(b,e,null,n,i),a.push({event:b,listeners:y}),m?b.data=m:null!==(m=nb(n))&&(b.data=m))),(m=nv?function(e,t){switch(e){case"compositionend":return nb(t);case"keypress":if(32!==t.which)return null;return n_=!0," ";case"textInput":return" "===(e=t.data)&&n_?null:e;default:return null}}(e,n):function(e,t){if(nw)return"compositionend"===e||!np&&ny(e,t)?(e=tV(),tB=tH=tU=null,nw=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return nm&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(b=u6(r,"onBeforeInput")).length&&(y=new ne("onBeforeInput","beforeinput",null,n,i),a.push({event:y,listeners:b}),y.data=m);var w=e;if("submit"===w&&r&&r.stateNode===i){var S=uG((i[eG]||null).action),x=n.submitter;x&&null!==(w=(w=x[eG]||null)?uG(w.formAction):x.getAttribute("formAction"))&&(S=w,x=null);var E=new t1("action","action",null,n,i);a.push({event:E,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==uD){var e=new FormData(i,x);ad(r,{pending:!0,data:e,method:i.method,action:S},null,e)}}else"function"==typeof S&&(E.preventDefault(),ad(r,{pending:!0,data:e=new FormData(i,x),method:i.method,action:S},S,e))},currentTarget:i}]})}}uJ(a,t)}
1)}function u5(e,t,n){return{instance:e,listener:t,currentTarget:n}}function u6(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,s=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===s||(null!=(i=tz(e,n))&&r.unshift(u5(e,i,s)),null!=(i=tz(e,t))&&r.push(u5(e,i,s))),3===e.tag)return r;e=e.return}return[]}function u8(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function u7(e,t,n,r,i){for(var s=t._reactName,a=[];null!==n&&n!==r;){var o=n,l=o.alternate,u=o.stateNode;if(o=o.tag,null!==l&&l===r)break;5!==o&&26!==o&&27!==o||null===u||(l=u,i?null!=(u=tz(n,s))&&a.unshift(u5(n,u,l)):i||null!=(u=tz(n,s))&&a.push(u5(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var u9=/\r\n?/g,ce=/\u0000|\uFFFD/g;function ct(e){return("string"==typeof e?e:""+e).replace(u9,"\n").replace(ce,"")}function cn(e,t){return t=ct(t),ct(e)===t}function cr(e,t,n,r,i,s){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||tw(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&tw(e,""+r)}break;case"className":ta(e,"class",r);break;case"tabIndex":ta(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ta(e,n,r);break;case"style":tx(e,r,s);return;case"data":if("object"!==t){ta(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tT(r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof s&&("formAction"===n?("input"!==t&&cr(e,t,"name",i.name,i,null),cr(e,t,"formEncType",i.formEncType,i,null),cr(e,t,"formMethod",i.formMethod,i,null),cr(e,t,"formTarget",i.formTarget,i,null)):(cr(e,t,"encType",i.encType,i,null),cr(e,t,"method",i.method,i,null),cr(e,t,"target",i.target,i,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tT(r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=tO);return;case"onScroll":null!=r&&uZ("scroll",e);return;case"onScrollEnd":null!=r&&uZ("scrollend",e);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tT(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":uZ("beforetoggle",e),uZ("toggle",e),ts(e,"popover",r);break;case"xlinkActuate":to(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":to(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":to(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":to(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":to(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":to(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":to(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":to(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":to(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ts(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;ts(e,n=tP.get(n)||n,r)}tr=!0}function ci(e,t,n,r,i,s){switch(n){case"style":tx(e,r,s);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(l(60));e.innerHTML=n}}break;case"children":if("string"==typeof r)tw(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;tw(e,""+r)}break;case"onScroll":null!=r&&uZ("scroll",e);return;case"onScrollEnd":null!=r&&uZ("scrollend",e);return;case"onClick":null!=r&&(e.onclick=tO);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:if(!e8.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),"function"==typeof(s=null!=(s=e[eG]||null)?s[n]:null)&&e.removeEventListener(t,s,i),"function"==typeof r)){"function"!=typeof s&&null!==s&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break e}tr=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):ts(e,n,r)}return}tr=!0}function cs(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":uZ("error",e),uZ("load",e);var r,i=!1,s=!1;for(r in n)if(n.hasOwnProperty(r)){var a=n[r];if(null!=a)switch(r){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:cr(e,t,r,a,n,null)}}s&&cr(e,t,"srcSet",n.srcSet,n,null),i&&cr(e,t,"src",n.src,n,null);return;case"input":uZ("invalid",e);var o=r=a=s=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(null!=d)switch(i){case"name":s=d;break;case"type":a=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":o=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:cr(e,t,i,d,n,null)}}tv(e,r,o,u,c,a,s,!1);return;case"select":for(s in uZ("invalid",e),i=a=r=null,n)if(n.hasOwnProperty(s)&&null!=(o=n[s]))switch(s){case"value":r=o;break;case"defaultValue":a=o;break;case"multiple":i=o;default:cr(e,t,s,o,n,null)}t=r,n=a,e.multiple=!!i,null!=t?t_(e,!!i,t,!1):null!=n&&t_(e,!!i,n,!0);return;case"textarea":for(a in uZ("invalid",e),r=s=i=null,n)if(n.hasOwnProperty(a)&&null!=(o=n[a]))switch(a){case"value":i=o;break;case"defaultValue":s=o;break;case"children":r=o;break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(l(91));break;default:cr(e,t,a,o,n,null)}tb(e,i,s,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(i=n[u])&&("selected"===u?e.selected=i&&"function"!=typeof i&&"symbol"!=typeof i:cr(e,t,u,i,n,null));return;case"dialog":uZ("beforetoggle",e),uZ("toggle",e),uZ("cancel",e),uZ("close",e);break;case"iframe":case"object":uZ("load",e);break;case"video":case"audio":for(i=0;i<uX.length;i++)uZ(uX[i],e);break;case"image":uZ("error",e),uZ("load",e);break;case"details":uZ("toggle",e);break;case"embed":case"source":case"link":uZ("error",e),uZ("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:cr(e,t,c,i,n,null)}return;default:if(tE(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(i=n[d])&&ci(e,t,d,i,n,void 0);return}}for(o in n)n.hasOwnProperty(o)&&null!=(i=n[o])&&cr(e,t,o,i,n,null)}function ca(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var co=null,cl=null;
1function cu(e){return 9===e.nodeType?e:e.ownerDocument}function cc(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function cf(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ch=null,cp="function"==typeof setTimeout?setTimeout:void 0,cg="function"==typeof clearTimeout?clearTimeout:void 0,cv="function"==typeof Promise?Promise:void 0,cm="function"==typeof queueMicrotask?queueMicrotask:void 0!==cv?function(e){return cv.resolve(null).then(e).catch(c_)}:cp;function c_(e){setTimeout(function(){throw e})}function cy(e){return"head"===e}function cb(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)||"/&"===n){if(0===r){e.removeChild(i),d0(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)cZ(e.ownerDocument.documentElement);else if("head"===n){cZ(n=e.ownerDocument.head);for(var s=n.firstChild;s;){var a=s.nextSibling,o=s.nodeName;s[eZ]||"SCRIPT"===o||"STYLE"===o||"LINK"===o&&"stylesheet"===s.rel.toLowerCase()||n.removeChild(s),s=a}}else"body"===n&&cZ(e.ownerDocument.body);n=i}while(n)d0(t)}function cw(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function cS(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var i=r=0;i<t.length;i++){var s=t[i];0<s.width&&0<s.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function ck(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function cx(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function cE(e){return cx(e.getBoundingClientRect(),getComputedStyle(e),e)}function cP(e){var t=e.getBoundingClientRect();return cx(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function cC(e){this.addEventListener("load",e),this.addEventListener("error",e)}function cT(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function cO(e){return{name:e,group:new cT("group",e),imagePair:new cT("image-pair",e),old:new cT("old",e),new:new cT("new",e)}}function cN(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function cF(e,t,n,r){return v(e).addEventListener(t,n,r),!1}function cR(e,t,n,r){return v(e).removeEventListener(t,n,r),!1}function cI(e){return null==e?"0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")+"&o="+(e.once?"1":"0")+"&p="+(e.passive?"1":"0")}function cM(e,t,n,r){if(0===e.length)return -1;r=cI(r);for(var i=0;i<e.length;i++){var s=e[i];if(s.type===t&&s.listener===n&&cI(s.optionsOrUseCapture)===r)return i}return -1}function cL(e,t){return 6!==e.tag&&function(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focu
vendor: 16,015 bytes, line 1
1s).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return r}(e=v(e),t)}function cA(e,t){return t.push(e),!1}function cz(e,t){return 6!==e.tag&&(e=v(e))===t&&(e.blur(),!0)}function cD(e,t){return 6!==e.tag&&(e=v(e),t.observe(e),!1)}function c$(e,t){return 6!==e.tag&&(e=v(e),t.unobserve(e),!1)}function cj(e,t){if(6===e.tag){var n=(e=e.stateNode).ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=v(e),t.push.apply(t,e.getClientRects());return!1}function cU(e,t){return null!=(e=v(e))&&cH(e,t),!1}function cH(e,t){null==e.reactFragments&&(e.reactFragments=new Set),e.reactFragments.add(t)}function cB(e,t){if(3!==e.nodeType){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.listener,i.optionsOrUseCapture)}null!==t._observers&&t._observers.forEach(function(t){t.observe(e)}),cH(e,t)}}function cV(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":cV(n),e0(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function cq(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=cQ(e.nextSibling)))return null;return e}function cW(e){return"$?"===e.data||"$~"===e.data}function cG(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function cQ(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}cT.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:x({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},cT.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var s=n[i].effect;null!==s&&s.target===e&&s.pseudoElement===t&&r.push(n[i])}return r},cT.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},cN.prototype.addEventListener=function(e,t,n){null===this._eventListeners&&(this._eventListeners=[]);var r=this._eventListeners;-1===cM(r,e,t,n)&&(r.push({type:e,listener:t,optionsOrUseCapture:n}),p(this._fragmentFiber.child,!1,cF,e,t,n)),this._eventListeners=r},cN.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;null!=r&&0<r.length&&(p(this._fragmentFiber.child,!1,cR,e,t,n),e=cM(r,e,t,n),null!==this._eventListeners&&this._eventListeners.splice(e,1))},cN.prototype.dispatchEvent=function(e){var t=g(this._fragmentFiber);if(null===t)return!0;t=v(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=document.createTextNode("");if(n)for(var i=0;i<n.length;i++){var s=n[i];r.addEventListener(s.type,s.listener,s.optionsOrUseCapture)}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)s=n[i],r.removeEventListener(s.type,s.listener,s.optionsOrUseCapture);return t.removeChild(r),e}return t.dispatchEvent(e)},cN.prototype.focus=function(e){p(this._fragmentFiber.child,!0,cL,e,void 0,void 0)},cN.prototype.focusLast=function(e){var t=[];p(this._fragmentFiber.child,!0,cA,t,void 0,void 0);for(var n=t.length-1;0<=n&&!cL(t[n],e);n--);},cN.prototype.blur=function(){var e=g(this._fragmentFiber);if(null!==e){var t=(e=v(e)).ownerDocument.activeElement;null!==t&&e.contains(t)&&p(this._fragmentFiber.child,!1,cz,t,void 0,void 0)}},cN.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),p(this._fragmentFiber.child,!1,cD,e,void 0,void 0)},cN.prototype.unobserveUsing=function(e){var t=this._observers;null!==t&&t.has(e)&&(t.delete(e),p(this._fragmentFiber.child,!1,c$,e,void 0,void 0))},cN.prototype.getClientRects=function(){var e=[];return p(this._fragmentFiber.child,!1,cj,e,void 0,void 0),e},cN.prototype.getRootNode=function(e){var t=g(this._fragmentFiber);return null===t?this:v(t).getRootNode(e)},cN.prototype.compareDocumentPosition=function(e){var t=g(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];p(this._fragmentFiber.child,!1,cA,n,void 0,void 0);var r=v(t);if(0===n.length){n=this._fragmentFiber;var i=r.compareDocumentPosition(e);return t=i,r===e?t=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(p(n.sibling,!1,y),n=m,m=null,t=null===n?Node.DOCUMENT_POSITION_PRECEDING:0===(e=v(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),t|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=v(n[0]),i=v(n[n.length-1]);for(var s=!1,a=this._fragmentFiber.return;null!==a&&(4===a.tag&&(s=!0),3!==a.tag&&5!==a.tag);)a=a.return;if(null==(s=s?t.parentElement:r))return Node.DOCUMENT_POSITION_DISCONNECTED;r=s.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,s=s.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=t.compareDocumentPosition(e);var o=i.compareDocumentPosition(e),l=a&Node.DOCUMENT_POSITION_CONTAINED_BY||o&Node.DOCUMENT_POSITION_CONTAINED_BY;return o=r&&s&&a&Node.DOCUMENT_POSITION_FOLLOWING&&o&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||s&&i===e||l||o?Node.DOCUMENT_POSITION_CONTAINED_BY:(r||t!==e)&&(s||i!==e)?a:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,i){var s=e1(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!s)e:{for(;null!==s;){if(7===s.tag&&(s===t||s.alternate===t)){n=!0;break e}s=s.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===s)return s=i.ownerDocument,i===s||i===s.body;e:{for(s=t,t=g(t);null!==s;){if((5===s.tag||3===s.tag)&&(s===t||s.alternate===t)){s=!0;break e}s=s.return}s=!1}return s}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!s)&&!(t=s===n)&&(null===(t=k(n,s,S))?t=!1:(p(t,!0,b,s,n),s=m,m=null,t=null!==s)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!s)&&!(t=s===r)&&(null===(t=k(r,s,S))?t=!1:(p(t,!0,w,s,r),s=m,_=m=null,t=null!==s)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},cN.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(l(566));var t=[];p(this._fragmentFiber.child,!1,cA,t,void 0,void 0);var n=!1!==e;if(0===t.length){t=this._fragmentFiber;var r=[null,null],i=g(t);null!==i&&function e(t,n,r){for(var i=3<arguments.length&&void 0!==arguments[3]&&arguments[3];null!==r;){if(r===n)if(i=!0,!r.sibling)return!0;else r=r.sibling;if(5===r.tag){if(i)return t[1]=r,!0;t[0]=r}else if((22!==r.tag||null===r.memoizedState)&&e(t,n,r.child,i))return!0;r=r.sibling}return!1}(r,t,i.child),null!==(n=n?r[1]||r[0]||g(this._fragmentFiber):r[0]||r[1])&&v(n).scrollIntoView(e)}else for(r=n?t.length-1:0;r!==(n?-1:t.length);){if(6===(i=t[r]).tag){var s=(i=i.stateNode).ownerDocument.createRange();s.selectNodeContents(i),i=s.getBoundingClientRect(),window.scrollTo(window.scrollX+i.left,n?window.scrollY+i.top:window.scrollY+i.bottom-window.innerHeight)}else v(i).scrollIntoView(e);r+=n?-1:1}};var cK=null;function cX(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return cQ(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function cY(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function cJ(e,t,n){switch(t=cu(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function cZ(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);e0(e)}var c0=new Map,c1=new Set;function c2(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var c3=G.d;G.d={f:function(){var e=c3.f(),t=ur();return e||t},r:function(e){var t=e2(e);null!==t&&5===t.tag&&"form"===t.type?ah(t):c3.r(e)},D:function(e){c3.D(e),c5("dns-prefetch",e,null)},C:function(e,t){c3.C(e,t),c5("preconnect",e,t)},L:function(e,t,n){if(c3.L(e,t,n),c4&&e&&t){var r='link[rel="preload"][as="'+tp(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tp(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tp(n.imageSizes)+'"]')):r+='[href="'+tp(e)+'"]';var i=r;switch(t){case"style":i=c8(e);break;case"script":i=de(e)}c0.has(i)||(e=x({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),c0.set(i,e),null!==c4.querySelector(r)||"style"===t&&c4.querySelector(c7(i))||"script"===t&&c4.querySelector(dt(i))||(cs(t=c4.createElement("link"),"link",e),e5(t),c4.head.appendChild(t)))}},m:function(e,t){if(c3.m(e,t),c4&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tp(n)+'"][href="'+tp(e)+'"]',i=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=de(e)}if(!c0.has(i)&&(e=x({rel:"modulepreload",href:e},t),c0.set(i,e),null===c4.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c4.querySelector(dt(i)))return}cs(n=c4.createElement("link"),"link",e),e5(n),c4.head.appendChild(n)}}},X:function(e,t){if(c3.X(e,t),c4&&e){var n=e4(c4).hoistableScripts,r=de(e),i=n.get(r);i||((i=c4.querySelector(dt(r)))||(e=x({src:e,async:!0},t),(t=c0.get(r))&&ds(e,t),e5(i=c4.createElement("script")),cs(i,"link",e),c4.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(r,i))}},S:function(e,t,n){if(c3.S(e,t,n),c4&&e){var r=e4(c4).hoistableStyles,i=c8(e);t=t||"default";var s=r.get(i);if(!s){var a={loading:0,preload:null};if(s=c4.querySelector(c7(i)))a.loading=5;else{e=x({rel:"stylesheet",href:e,"data-precedence":t},n),(n=c0.get(i))&&di(e,n);var o=s=c4.createElement("link");e5(o),cs(o,"link",e),o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),o.addEventListener("load",function(){a.loading|=1}),o.addEventListener("error",function(){a.loading|=2}),a.loading|=4,dr(s,t,c4)}s={type:"stylesheet",instance:s,count:1,state:a},r.set(i,s)}}},M:function(e,t){if(c3.M(e,t),c4&&e){var n=e4(c4).hoistableScripts,r=de(e),i=n.get(r);i||((i=c4.querySelector(dt(r)))||(e=x({src:e,async:!0,type:"module"},t),(t=c0.get(r))&&ds(e,t),e5(i=c4.createElement("script")),cs(i,"link",e),c4.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(r,i))}}};var c4="u"<typeof document?null:document;function c5(e,t,n){if(c4&&"string"==typeof t&&t){var r=tp(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),c1.has(r)||(c1.add(r),e={rel:e,crossOrigin:n,href:t},null===c4.querySelector(r)&&(cs(t=c4.createElement("link"),"link",e),e5(t),c4.head.appendChild(t)))}}function c6(e,t,n,r){var i=(i=en.current)?c2(i):null;if(!i)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=c8(n.href),(r=(n=e4(i).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=c8(n.href);var s,a,o,u,c=e4(i).hoistableStyles,d=c.get(e);if(d||(i=i.ownerDocument||i,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=i.querySelector(c7(e)))&&!c._p&&(d.instance=c,d.state.loading=5),c0.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},c0.set(e,n),c||(s=i,a=e,o=n,u=d.state,s.querySelector('link[rel="preload"][as="style"]['+a+"]")?u.loading=1:(u.preload=a=s.createElement("link"),a.addEventListener("load",function(){return u.loading|=1}),a.addEventListener("error",function(){return u.loading|=2}),cs(a,"link",o),e5(a),s.head.appendChild(a))))),t&&null===r)throw Error(l(528,""));return d}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=de(n),(r=(n=e4(i).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function c8(e){return'href="'+tp(e)+'"'}function c7(e){return'link[rel="stylesheet"]['+e+"]"}function c9(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function de(e){return'[src="'+tp(e)+'"]'}function dt(e){return"script[async]"+e}function dn(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tp(n.href)+'"]');if(r)return t.instance=r,e5(r),r;var i=x({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return e5(r=(e.ownerDocument||e).createElement("style")),cs(r,"style",i),dr(r,n.precedence,e),t.instance=r;case"stylesheet":i=c8(n.href);var s=e.querySelector(c7(i));if(s)return t.state.loading|=4,t.instance=s,e5(s),s;r=c9(n),(i=c0.get(i))&&di(r,i),e5(s=(e.ownerDocument||e).createElement("link"));var a=s;return a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),cs(s,"link",r),t.state.loading|=4,dr(s,n.precedence,e),t.instance=s;case"script":if(s=de(n.src),i=e.querySelector(dt(s)))return t.instance=i,e5(i),i;return r=n,(i=c0.get(s))&&ds(r=x({},n),i),e5(i=(e=e.ownerDocument||e).createElement("script")),cs(i,"link",r),e.head.appendChild(i),t.instance=i;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,dr(r,n.precedence,e)),t.instance}function dr(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,s=i,a=0;a<r.length;a++){var o=r[a];if(o.dataset.precedence===t)s=o;else if(s!==i)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function di(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function ds(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var da=null;function dl(e,t,n){if(null===da){var r=new Map,i=da=new Map;i.set(n,r)}else(r=(i=da).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var s=n[i];if(!(s[eZ]||s[eW]||"link"===e&&"stylesheet"===s.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==s.namespaceURI){var a=s.getAttribute(t)||"";a=e+a;var o=r.get(a);o?o.push(s):r.set(a,[s])}}return r}function du(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function dc(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function dd(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function df(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function dh(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=df(t),e.suspenseyImages.push(t)),e=dm.bind(e),t.decode().then(e,e))}var dp=0;function dg(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)dy(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dv(){this.count--,dg(this)}function dm(){this.imgCount--,dg(this)}var d_=null;function dy(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,d_=new Map,t.forEach(db,e),d_=null,dv.call(e))}function db(e,t){if(!(4&t.state.loading)){var n=d_.get(e);
vendor: 12,782 bytes, line 1
1if(n)var r=n.get(null);else{n=new Map,d_.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<i.length;s++){var a=i[s];("LINK"===a.nodeName||"not all"!==a.getAttribute("media"))&&(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(i=t.instance).getAttribute("data-precedence"),(s=n.get(a)||r)===r&&n.set(null,i),n.set(a,i),this.count++,r=dv.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),s?s.parentNode.insertBefore(i,s.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var dw={$$typeof:R,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function dS(e,t,n,r,i,s,a,o,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eA(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eA(0),this.hiddenUpdates=eA(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=s,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.transitionTypes=null,this.incompleteTransitions=new Map}function dk(e,t,n,r,i,s,a,o,l,u,c,d){return e=new dS(e,t,n,a,l,u,c,d,o),t=1,!0===s&&(t|=24),s=r_(3,null,null,t),e.current=s,s.stateNode=e,t=ic(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:r,isDehydrated:n,cache:t},iV(s),e}function dx(e,t,n,r,i,s){i=i?rv:rv,null===r.context?r.context=i:r.pendingContext=i,(r=iW(t)).payload={element:n},null!==(s=void 0===s?null:s)&&(r.callback=s),null!==(n=iG(e,r,t))&&(l9(n,e,t),iQ(n,e,t))}function dE(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function dP(e,t){dE(e,t),(e=e.alternate)&&dE(e,t)}function dC(e){if(13===e.tag||31===e.tag){var t=rh(e,0x4000000);null!==t&&l9(t,e,0x4000000),dP(e,0x4000000)}}function dT(e){if(13===e.tag||31===e.tag){var t=l6(),n=rh(e,t=eU(t));null!==n&&l9(n,e,t),dP(e,t)}}var dO=!0;function dN(e,t,n,r){var i=W.T;W.T=null;var s=G.p;try{G.p=2,dR(e,t,n,r)}finally{G.p=s,W.T=i}}function dF(e,t,n,r){var i=W.T;W.T=null;var s=G.p;try{G.p=8,dR(e,t,n,r)}finally{G.p=s,W.T=i}}function dR(e,t,n,r){if(dO){var i=dI(r);if(null===i)u4(e,t,r,dM,n),dq(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return dD=dW(dD,e,t,n,r,i),!0;case"dragenter":return d$=dW(d$,e,t,n,r,i),!0;case"mouseover":return dj=dW(dj,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return dU.set(s,dW(dU.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,dH.set(s,dW(dH.get(s)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(dq(e,r),4&t&&-1<dV.indexOf(e)){for(;null!==i;){var s=e2(i);if(null!==s)switch(s.tag){case 3:if((s=s.stateNode).current.memoizedState.isDehydrated){var a=eR(s.pendingLanes);if(0!==a){var o=s;for(o.pendingLanes|=2,o.entangledLanes|=2;a;){var l=1<<31-eP(a);o.entanglements[1]|=l,a&=~l}u$(s),0==(6&lx)&&(lq=em()+500,uj(0,!1))}}break;case 31:case 13:null!==(o=rh(s,2))&&l9(o,s,2),ur(),dP(s,2)}if(null===(s=dI(r))&&u4(e,t,r,dM,n),s===i)break;i=s}null!==i&&r.stopPropagation()}else u4(e,t,r,null,n)}}function dI(e){return dL(e=tF(e))}var dM=null;function dL(e){if(dM=null,null!==(e=e1(e))){var t=c(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=d(t)))return e;e=null}else if(31===n){if(null!==(e=f(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return dM=e,null}function dA(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(e_()){case ey:return 2;case eb:return 8;case ew:case eS:return 32;case ek:return 0x10000000;default:return 32}default:return 32}}var dz=!1,dD=null,d$=null,dj=null,dU=new Map,dH=new Map,dB=[],dV="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function dq(e,t){switch(e){case"focusin":case"focusout":dD=null;break;case"dragenter":case"dragleave":d$=null;break;case"mouseover":case"mouseout":dj=null;break;case"pointerover":case"pointerout":dU.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dH.delete(t.pointerId)}}function dW(e,t,n,r,i,s){return null===e||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},null!==t&&null!==(t=e2(t))&&dC(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i)),e}function dG(e){var t=e1(e.target);if(null!==t){var n=c(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=d(n))){e.blockedOn=t,eV(e.priority,function(){dT(n)});return}}else if(31===t){if(null!==(t=f(n))){e.blockedOn=t,eV(e.priority,function(){dT(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function dQ(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=dI(e.nativeEvent);if(null!==n)return null!==(t=e2(n))&&dC(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tN=r,n.target.dispatchEvent(r),tN=null,t.shift()}return!0}function dK(e,t,n){dQ(e)&&n.delete(t)}function dX(){dz=!1,null!==dD&&dQ(dD)&&(dD=null),null!==d$&&dQ(d$)&&(d$=null),null!==dj&&dQ(dj)&&(dj=null),dU.forEach(dK),dH.forEach(dK)}function dY(e,t){e.blockedOn===t&&(e.blockedOn=null,dz||(dz=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,dX)))}var dJ=null;function dZ(e){dJ!==e&&(dJ=e,s.unstable_scheduleCallback(s.unstable_NormalPriority,function(){dJ===e&&(dJ=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if("function"!=typeof r)if(null===dL(r||n))continue;else break;var s=e2(n);null!==s&&(e.splice(t,3),t-=3,ad(s,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function d0(e){function t(t){return dY(t,e)}null!==dD&&dY(dD,e),null!==d$&&dY(d$,e),null!==dj&&dY(dj,e),dU.forEach(t),dH.forEach(t);for(var n=0;n<dB.length;n++){var r=dB[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<dB.length&&null===(n=dB[0]).blockedOn;)dG(n),null===n.blockedOn&&dB.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],s=n[r+1],a=i[eG]||null;if("function"==typeof s)a||dZ(n);else if(a){var o=null;if(s&&s.hasAttribute("formAction")){if(i=s,a=s[eG]||null)o=a.formAction;else if(null!==dL(i))continue}else o=a.action;"function"==typeof o?n[r+1]=o:(n.splice(r,3),r-=3),dZ(n)}}}function d1(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==i&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==i&&(i(),i=null)}}}function d2(e){this._internalRoot=e}function d3(e){this._internalRoot=e}d3.prototype.render=d2.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));dx(t.current,l6(),e,t,null,null)},d3.prototype.unmount=d2.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dx(e.current,2,null,e,null,null),ur(),t[eQ]=null}},d3.prototype.unstable_scheduleHydration=function(e){if(e){var t=eB();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dB.length&&0!==t&&t<dB[n].priority;n++);dB.splice(n,0,e),0===n&&dG(e)}};var d4=a.version;if("19.3.0-canary-3f0b9e61-20260317"!==d4)throw Error(l(527,d4,"19.3.0-canary-3f0b9e61-20260317"));if(G.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=c(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var s=i.alternate;if(null===s){if(null!==(r=i.return)){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return h(i),e;if(s===r)return h(i),t;s=s.sibling}throw Error(l(188))}if(n.return!==r.return)n=i,r=s;else{for(var a=!1,o=i.child;o;){if(o===n){a=!0,n=i,r=s;break}if(o===r){a=!0,r=i,n=s;break}o=o.sibling}if(!a){for(o=s.child;o;){if(o===n){a=!0,n=s,r=i;break}if(o===r){a=!0,r=s,n=i;break}o=o.sibling}if(!a)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var d5=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!d5.isDisabled&&d5.supportsFiber)try{ex=d5.inject({bundleType:0,version:"19.3.0-canary-3f0b9e61-20260317",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.3.0-canary-3f0b9e61-20260317"}),eE=d5}catch(e){}}n.createRoot=function(e,t){if(!u(e))throw Error(l(299));var n=!1,r="",i=aM,s=aL,a=aA;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=dk(e,1,!1,null,null,n,r,null,i,s,a,d1),e[eQ]=t.current,u2(e),new d2(t)},n.hydrateRoot=function(e,t,n){if(!u(e))throw Error(l(299));var r,i=!1,s="",a=aM,o=aL,c=aA,d=null;return null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(s=n.identifierPrefix),void 0!==n.onUncaughtError&&(a=n.onUncaughtError),void 0!==n.onCaughtError&&(o=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(d=n.formState)),(t=dk(e,1,!0,t,null!=n?n:null,i,s,d,a,o,c,d1)).context=(r=null,rv),n=t.current,(s=iW(i=eU(i=l6()))).callback=null,iG(n,s,i),n=i,t.current.lanes=n,ez(t,n),u$(t),e[eQ]=t.current,u2(e),new d3(t)},n.version="19.3.0-canary-3f0b9e61-20260317"},88014,(e,t,n)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(146480)},742732,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"HeadManagerContext",{enumerable:!0,get:function(){return r}});let r=e.r(555682)._(e.r(271645)).default.createContext({})},851323,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={onCaughtError:function(){return f},onUncaughtError:function(){return h}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let s=e.r(555682),a=e.r(265713),o=e.r(132061),l=e.r(528279),u=e.r(972383),c=s._(e.r(168027)),d={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)}
1;function f(e,t){let n,r=t.errorBoundary?.constructor;if(n=n||r===u.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return h(e);(0,o.isBailoutToCSRError)(e)||(0,a.isNextRouterError)(e)||d.originConsoleError(e)}function h(e){(0,o.isBailoutToCSRError)(e)||(0,a.isNextRouterError)(e)||(0,l.reportGlobalError)(e)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},762634,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AppRouterAnnouncer",{enumerable:!0,get:function(){return a}});let r=e.r(271645),i=e.r(174080),s="next-route-announcer";function a({tree:e}){let[t,n]=(0,r.useState)(null);(0,r.useEffect)(()=>(n(function(){let e=document.getElementsByName(s)[0];if(e?.shadowRoot?.childNodes[0])return e.shadowRoot.childNodes[0];{let e=document.createElement(s);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(s)[0];e?.isConnected&&document.body.removeChild(e)}),[]);let[o,l]=(0,r.useState)(""),u=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==u.current&&u.current!==e&&l(e),u.current=e},[e]),t?(0,i.createPortal)(o,t):null}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},425018,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findHeadInCache",{enumerable:!0,get:function(){return s}});let r=e.r(813258),i=e.r(270725);function s(e,t){return function e(t,n,s,a){if(0===Object.keys(n).length)return[t,s,a];let o=Object.keys(n).filter(e=>"children"!==e);"children"in n&&o.unshift("children");let l=t.slots;if(null!==l)for(let t of o){let[a,o]=n[t];if(a===r.DEFAULT_SEGMENT_KEY)continue;let u=l[t];if(!u)continue;let c=e(u,o,s+"/"+(0,i.createRouterCacheKey)(a),s+"/"+(0,i.createRouterCacheKey)(a,!0));if(c)return c}return null}(e,t,"","")}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},241624,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={GracefulDegradeBoundary:function(){return o},default:function(){return l}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let s=e.r(843476),a=e.r(271645);class o extends a.Component{constructor(e){super(e),this.state={hasError:!1},this.rootHtml="",this.htmlAttributes={},this.htmlRef=(0,a.createRef)()}static getDerivedStateFromError(e){return{hasError:!0}}componentDidMount(){let e=this.htmlRef.current;this.state.hasError&&e&&Object.entries(this.htmlAttributes).forEach(([t,n])=>{e.setAttribute(t,n)})}render(){let{hasError:e}=this.state;return("u">typeof window&&!this.rootHtml&&(this.rootHtml=document.documentElement.innerHTML,this.htmlAttributes=function(e){let t={};for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}(document.documentElement)),e)?(0,s.jsx)("html",{ref:this.htmlRef,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:this.rootHtml}}):this.props.children}}let l=o;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},794109,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(555682),i=e.r(843476);e.r(271645);let s=r._(e.r(241624)),a=e.r(972383),o=e.r(82604),l="u">typeof window&&(0,o.isBot)(window.navigator.userAgent);function u({children:e,errorComponent:t,errorStyles:n,errorScripts:r}){return l?(0,i.jsx)(s.default,{children:e}):(0,i.jsx)(a.ErrorBoundary,{errorComponent:t,errorStyles:n,errorScripts:r,children:e})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},875530,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return I}});let r=e.r(555682),i=e.r(190809),s=e.r(843476),a=i._(e.r(271645)),o=e.r(8372),l=e.r(388540),u=e.r(451191),c=e.r(261994),d=e.r(941538),f=e.r(494272),h=e.r(762634),p=e.r(358442),g=e.r(425018),v=e.r(201244),m=e.r(387250),_=e.r(652817),y=e.r(734727),b=e.r(178377),w=e.r(699781),S=e.r(124063),k=e.r(968391),x=e.r(91949),E=r._(e.r(794109)),P=r._(e.r(168027)),C=e.r(897367);e.r(543369);let T={};function O({appRouterState:e}){return(0,a.useInsertionEffect)(()=>{let{tree:t,pushRef:n,canonicalUrl:r,renderedSearch:i}=e,s={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:{tree:t,renderedSearch:i}};n.pendingPush&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==r?(n.pendingPush=!1,window.history.pushState(s,"",r)):window.history.replaceState(s,"",r),(0,f.setLastCommittedTree)(t)},[e]),(0,a.useEffect)(()=>{(0,x.pingVisibleLinks)(e.nextUrl,e.tree)},[e.nextUrl,e.tree]),null}function N(e){null==e&&(e={});let t=window.history.state,n=t?.__NA;n&&(e.__NA=n);let r=t?.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function F({headCacheNode:e}){let t=null!==e?e.head:null,n=null!==e?e.prefetchHead:null,r=null!==n?n:t;return(0,a.useDeferredValue)(t,r)}function R({actionQueue:e,globalError:t,webSocket:n,staticIndicatorState:r}){let i,u=(0,d.useActionQueue)(e),{canonicalUrl:f}=u,{searchParams:b,pathname:x}=(0,a.useMemo)(()=>{let e=new URL(f,"u"<typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,_.hasBasePath)(e.pathname)?(0,m.removeBasePath)(e.pathname):e.pathname}},[f]);(0,a.useEffect)(()=>{let e=(0,y.extractSourcePageFromFlightRouterState)(u.tree);void 0!==e?window.next.__internal_src_page=e:delete window.next.__internal_src_page},[u.tree]),(0,a.useEffect)(()=>{function e(e){e.persisted&&window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE&&(T.pendingMpaPath=void 0,(0,d.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(window.location.href),historyState:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,a.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,k.isRedirectError)(t)){e.preventDefault();let n=(0,S.getURLFromRedirectError)(t);"push"===(0,S.getRedirectTypeFromError)(t)?w.publicAppRouterInstance.push(n,{}):w.publicAppRouterInstance.replace(n,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:P}=u;if(P.mpaNavigation){if(T.pendingMpaPath!==f){let e=window.location;P.pendingPush?e.assign(f):e.replace(f),T.pendingMpaPath=f}throw v.unresolvedThenable}(0,a.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{let t=window.location.href,n=window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,a.startTransition)(()=>{(0,d.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(e??t,t),historyState:n})})};window.history.pushState=function(t,r,i){return t?.__NA||t?._N||(t=N(t),i&&n(i)),e(t,r,i)},window.history.replaceState=function(e,r,i){return e?.__NA||e?._N||(e=N(e),i&&n(i)),t(e,r,i)};let r=e=>{if(e.state){if(!e.state.__NA)return void window.location.reload();(0,a.startTransition)(()=>{(0,w.dispatchTraverseAction)(window.location.href,e.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[]);let{cache:I,tree:M,nextUrl:L,focusAndScrollRef:A,previousNextUrl:z}=u,D=(0,a.useMemo)(()=>(0,g.findHeadInCache)(I,M[1]),[I,M]),$=(0,a.useMemo)(()=>(0,y.getSelectedParams)(M),[M]),j=(0,a.useMemo)(()=>({parentTree:M,parentCacheNode:I,parentSegmentPath:null,parentParam
1s:{},parentLoadingData:null,debugNameContext:"/",url:f,isActive:!0}),[M,I,f]),U=(0,a.useMemo)(()=>({tree:M,focusAndScrollRef:A,nextUrl:L,previousNextUrl:z}),[M,A,L,z]);if(null!==D){let[e,t,n]=D;i=(0,s.jsx)(F,{headCacheNode:e},"u"<typeof window?n:t)}else i=null;let H=(0,s.jsxs)(p.RedirectBoundary,{children:[i,(0,s.jsx)(C.RootLayoutBoundary,{children:I.rsc}),(0,s.jsx)(h.AppRouterAnnouncer,{tree:M})]});return H=(0,s.jsx)(E.default,{errorComponent:t[0],errorStyles:t[1],children:H}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(O,{appRouterState:u}),null,(0,s.jsx)(c.NavigationPromisesContext.Provider,{value:null,children:(0,s.jsx)(c.PathParamsContext.Provider,{value:$,children:(0,s.jsx)(c.PathnameContext.Provider,{value:x,children:(0,s.jsx)(c.SearchParamsContext.Provider,{value:b,children:(0,s.jsx)(o.GlobalLayoutRouterContext.Provider,{value:U,children:(0,s.jsx)(o.AppRouterContext.Provider,{value:w.publicAppRouterInstance,children:(0,s.jsx)(o.LayoutRouterContext.Provider,{value:j,children:H})})})})})})})]})}function I({actionQueue:e,globalErrorState:t,webSocket:n,staticIndicatorState:r}){(0,b.useNavFailureHandler)();let i=(0,s.jsx)(R,{actionQueue:e,globalError:t,webSocket:n,staticIndicatorState:r});return(0,s.jsx)(E.default,{errorComponent:P.default,children:i})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},665716,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createInitialRouterState",{enumerable:!0,get:function(){return f}});let r=e.r(451191),i=e.r(734727),s=e.r(450590),a=e.r(595871),o=e.r(620896),l=e.r(509396),u=e.r(179027),c=e.r(787288),d=e.r(496167);function f({navigatedAt:e,initialRSCPayload:t,initialFlightStreamForCache:n,location:h}){let{c:p,f:g,q:v,i:m,S:_,s:y,l:b,h:w,p:S,d:k}=t,x=p.join("/"),{tree:E,seedData:P,head:C}=(0,s.getFlightDataPartsFromPath)(g[0]),T=h?(0,r.createHrefFromUrl)(h):x,O={metadataVaryPath:null},N=(0,o.convertRootFlightRouterStateToRouteTree)(E,v,O),F=O.metadataVaryPath,R=(0,a.createInitialCacheNodeForHydration)(e,
1N,P,C,(0,u.computeDynamicStaleAt)(e,k??u.UnknownDynamicStaleTime));if(null!==h&&null!==F){if((0,d.discoverKnownRoute)(Date.now(),h.pathname,null,null,N,F,m,T,_,!1),null!==P&&void 0!==y)if(void 0!==b&&null!=n)(0,c.decodeStaticStage)(n,b,void 0).then(async e=>{let t=Date.now(),n=await (0,o.getStaleAt)(t,e.s);(0,o.writeStaticStageResponseIntoCache)(t,e.f,void 0,e.h,n,E,v,!0)}).catch(()=>{});else{let e=Date.now();(0,o.getStaleAt)(e,y).then(t=>{(0,o.writeStaticStageResponseIntoCache)(e,g,void 0,w,t,E,v,!1)}).catch(()=>{}),n?.cancel()}else n?.cancel();null!=S&&(0,o.processRuntimePrefetchStream)(Date.now(),S,E,v).then(e=>{null!==e&&(0,o.writeDynamicRenderResponseIntoCache)(Date.now(),l.FetchStrategy.PPRRuntime,e.flightDatas,e.buildId,e.isResponsePartial,e.headVaryParams,e.staleAt,e.navigationSeed,null)}).catch(()=>{})}return{tree:R.route,cache:R.node,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{scrollRef:null,forceScroll:!1,onlyHashChange:!1,hashFragment:null},canonicalUrl:T,renderedSearch:v,nextUrl:((0,i.extractPathFromFlightRouterState)(E)||h?.pathname)??null,previousNextUrl:null,debugInfo:null}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},198569,(e,t,n)=>{"use strict";let r,i,s,a;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"hydrate",{enumerable:!0,get:function(){return $}});let o=e.r(555682),l=e.r(843476);e.r(523911);let u=o._(e.r(88014)),c=o._(e.r(271645)),d=e.r(235326),f=e.r(742732),h=e.r(597238),p=e.r(851323),g=e.r(132120),v=e.r(92245),m=e.r(699781),_=o._(e.r(875530)),y=e.r(665716);e.r(8372);let b=e.r(450590),w=e.r(543369),S=e.r(732992),k=d.createFromReadableStream,x=d.createFromFetch,E=document,P=self.__next_instant_test?self.__next_instant_test:void 0,C=new TextEncoder,T=!1,O=!1,N=null;function F(e){if(0===e[0])s=[];else if(1===e[0]){if(!s)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});a?a.enqueue(C.encode(e[1])):s.push(e[1])}else if(2===e[0])N=e[1];else if(3===e[0]){if(!s)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let n=atob(e[1]),r=new Uint8Array(n.length);for(var t=0;t<n.length;t++)r[t]=n.charCodeAt(t);a?a.enqueue(r):s.push(r)}}let R=function(){a&&!O&&(a.close(),O=!0,s=void 0),T=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",R,!1):setTimeout(R);let I=self.__next_f=self.__next_f||[];I.forEach(F),I.length=0,I.push=F;let M=new ReadableStream({start(e){s&&(s.forEach(t=>{e.enqueue("string"==typeof t?C.encode(t):t)}),T&&!O)&&(null===e.desiredSize||e.desiredSize<0?P||e.error(Object.defineProperty(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."),"__NEXT_ERROR_CODE",{value:"E117",enumerable:!1,configurable:!0})):e.close(),O=!0,s=void 0),a=e}});if(P)i=Promise.resolve(x(P,{callServer:g.callServer,findSourceMapURL:v.findSourceMapURL,debugChannel:r,unstable_allowPartialStream:!0})).then(async e=>(0,b.createInitialRSCPayloadFromFallbackPrerender)(await P,e));else if(window.__NEXT_CLIENT_RESUME){let e=window.__NEXT_CLIENT_RESUME;i=Promise.resolve(x(e,{callServer:g.callServer,findSourceMapURL:v.findSourceMapURL,debugChannel:r})).then(async t=>(0,b.createInitialRSCPayloadFromFallbackPrerender)(await e,t))}else i=k(M,{callServer:g.callServer,findSourceMapURL:v.findSourceMapURL,debugChannel:r,startTime:0});function L({initialRSCPayload:e,actionQueue:t,webSocket:n,staticIndicatorState:r}){return(0,l.jsx)(_.default,{actionQueue:t,globalErrorState:e.G,webSocket:n,staticIndicatorState:r})}let A=c.default.StrictMode;function z({children:e}){return e}let D={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:h.onRecoverableError,onCaughtError:p.onCaughtError,onUncaughtError:p.onUncaughtError};async function $(e,t){let n,r,s=await i;s.b?(0,S.setNavigationBuildId)(s.b):(0,S.setNavigationBuildId)((0,w.getDeploymentId)());let a=Date.now(),o=(0,m.createMutableActionQueue)((0,y.createInitialRouterState)({navigatedAt:a,initialRSCPayload:s,initialFlightStreamForCache:null,location:window.location}),e),d=(0,l.jsx)(A,{children:(0,l.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,l.jsx)(z,{children:(0,l.jsx)(L,{initialRSCPayload:s,actionQueue:o,webSocket:r,staticIndicatorState:n})})})});"__next_error__"===document.documentElement.id?u.default.createRoot(E,D).render(d):c.default.startTransition(()=>{u.default.hydrateRoot(E,d,{...D,formState:N})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},494553,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(423755);let r=e.r(396517);e.r(597238),window.next.turbopack=!0,self.__webpack_hash__="";let i=e.r(5526);(0,r.appBootstrap)(t=>{let{hydrate:n}=e.r(198569);n(i,t)}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]);
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.