PageSourceSearch

https://baduk-teacher.fly.dev/assets/index-F-phbNqb.js

js baduk-teacher.fly.dev collected 2026-10-03 08:25:49 UTC 2,732,073 bytes, 146 lines download raw bytes

vendor: 6,055 bytes, lines 1-9
1var XW=Object.defineProperty;var QW=(e,t,n)=>t in e?XW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var se=(e,t,n)=>QW(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var pf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function eF(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var OE={exports:{}},Gp={},DE={exports:{}},Xe={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var g1=Symbol.for("react.element"),tF=Symbol.for("react.portal"),nF=Symbol.for("react.fragment"),rF=Symbol.for("react.strict_mode"),sF=Symbol.for("react.profiler"),iF=Symbol.for("react.provider"),aF=Symbol.for("react.context"),oF=Symbol.for("react.forward_ref"),lF=Symbol.for("react.suspense"),cF=Symbol.for("react.memo"),uF=Symbol.for("react.lazy"),Rb=Symbol.iterator;function dF(e){return e===null||typeof e!="object"?null:(e=Rb&&e[Rb]||e["@@iterator"],typeof e=="function"?e:null)}var WE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},FE=Object.assign,$E={};function Cu(e,t,n){this.props=e,this.context=t,this.refs=$E,this.updater=n||WE}Cu.prototype.isReactComponent={};Cu.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Cu.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function BE(){}BE.prototype=Cu.prototype;function b9(e,t,n){this.props=e,this.context=t,this.refs=$E,this.updater=n||WE}var _9=b9.prototype=new BE;_9.constructor=b9;FE(_9,Cu.prototype);_9.isPureReactComponent=!0;var Pb=Array.isArray,UE=Object.prototype.hasOwnProperty,k9={current:null},qE={key:!0,ref:!0,__self:!0,__source:!0};function HE(e,t,n){var r,s={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)UE.call(t,r)&&!qE.hasOwnProperty(r)&&(s[r]=t[r]);var l=arguments.length-2;if(l===1)s.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)s[r]===void 0&&(s[r]=l[r]);return{$$typeof:g1,type:e,key:i,ref:a,props:s,_owner:k9.current}}function hF(e,t){return{$$typeof:g1,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function w9(e){return typeof e=="object"&&e!==null&&e.$$typeof===g1}function fF(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ab=/\/+/g;function vm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?fF(""+e.key):t.toString(36)}function N2(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case g1:case tF:a=!0}}if(a)return a=e,s=s(a),e=r===""?"."+vm(a,0):r,Pb(s)?(n="",e!=null&&(n=e.replace(Ab,"$&/")+"/"),N2(s,t,n,"",function(u){return u})):s!=null&&(w9(s)&&(s=hF(s,n+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(Ab,"$&/")+"/")+e)),t.push(s)),1;if(a=0,r=r===""?".":r+":",Pb(e))for(var l=0;l<e.length;l++){i=e[l];var c=r+vm(i,l);a+=N2(i,t,n,c,s)}else if(c=dF(e),typeof c=="function")for(e=c.call(e),l=0;!(i=e.next()).done;)i=i.value,c=r+vm(i,l++),a+=N2(i,t,n,c,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function X1(e,t,n){if(e==null)return e;var r=[],s=0;return N2(e,r,"","",function(i){return t.call(n,i,s++)}),r}function pF(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var sr={current:null},I2={transition:null},mF={ReactCurrentDispatcher:sr,ReactCurrentBatchConfig:I2,ReactCurrentOwner:k9};function GE(){throw Error("act(...) is not supported in production builds of React.")}Xe.Children={map:X1,forEach:function(e,t,n){X1(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return X1(e,function(){t++}),t},toArray:function(e){return X1(e,function(t){return t})||[]},only:function(e){if(!w9(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Xe.Component=Cu;Xe.Fragment=nF;Xe.Profiler=sF;Xe.PureComponent=b9;Xe.StrictMode=rF;Xe.Suspense=lF;
9Xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mF;Xe.act=GE;Xe.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=FE({},e.props),s=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=k9.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)UE.call(t,c)&&!qE.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:g1,type:e.type,key:s,ref:i,props:r,_owner:a}};Xe.createContext=function(e){return e={$$typeof:aF,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:iF,_context:e},e.Consumer=e};Xe.createElement=HE;Xe.createFactory=function(e){var t=HE.bind(null,e);return t.type=e,t};Xe.createRef=function(){return{current:null}};Xe.forwardRef=function(e){return{$$typeof:oF,render:e}};Xe.isValidElement=w9;Xe.lazy=function(e){return{$$typeof:uF,_payload:{_status:-1,_result:e},_init:pF}};Xe.memo=function(e,t){return{$$typeof:cF,type:e,compare:t===void 0?null:t}};Xe.startTransition=function(e){var t=I2.transition;I2.transition={};try{e()}finally{I2.transition=t}};Xe.unstable_act=GE;Xe.useCallback=function(e,t){return sr.current.useCallback(e,t)};Xe.useContext=function(e){return sr.current.useContext(e)};Xe.useDebugValue=function(){};Xe.useDeferredValue=function(e){return sr.current.useDeferredValue(e)};Xe.useEffect=function(e,t){return sr.current.useEffect(e,t)};Xe.useId=function(){return sr.current.useId()};Xe.useImperativeHandle=function(e,t,n){return sr.current.useImperativeHandle(e,t,n)};Xe.useInsertionEffect=function(e,t){return sr.current.useInsertionEffect(e,t)};Xe.useLayoutEffect=function(e,t){return sr.current.useLayoutEffect(e,t)};Xe.useMemo=function(e,t){return sr.current.useMemo(e,t)};Xe.useReducer=function(e,t,n){return sr.current.useReducer(e,t,n)};Xe.useRef=function(e){return sr.current.useRef(e)};Xe.useState=function(e){return sr.current.useState(e)};Xe.useSyncExternalStore=function(e,t,n){return sr.current.useSyncExternalStore(e,t,n)};Xe.useTransition=function(){return sr.current.useTransition()};Xe.version="18.3.1";DE.exports=Xe;var v=DE.exports;const Es=yi(v);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var gF=v,yF=Symbol.for("react.element"),vF=Symbol.for("react.fragment"),bF=Object.prototype.hasOwnProperty,_F=gF.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kF={key:!0,ref:!0,__self:!0,__source:!0};function KE(e,t,n){var r,s={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)bF.call(t,r)&&!kF.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:yF,type:e,key:i,ref:a,props:s,_owner:_F.current}}Gp.Fragment=vF;Gp.jsx=KE;Gp.jsxs=KE;OE.exports=Gp;var o=OE.exports;const _e=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,qe=globalThis,Yo="10.57.0";function _l(){return Kp(qe),qe}function Kp(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||Yo,t[Yo]=t[Yo]||{}}function Eu(e,t,n=qe){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[Yo]=r[Yo]||{};return s[e]||(s[e]=t())}const wF=["debug","info","warn","error","log","assert","trace"],xF="Sentry Logger ",mf={};function to(e){if(!("console"in qe))return e();const t=qe.console,n={},r=Object.keys(mf);r.forEach(s=>{const i=mf[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function SF(){S9().enabled=!0}function TF(){S9().enabled=!1}function VE(){return S9().enabled}function jF(...e){x9("log",...e)}function CF(...e){x9("warn",...e)}function EF(...e){x9("error",...e)}function x9(e,...t){_e&&VE()&&to(()=>{qe.console[e](`${xF}[${e}]:`,...t)})}function S9(){return _e?Eu("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const ie={enable:SF,disable:TF,isEnabled:VE,log:jF,warn:CF,error:EF},YE=50,rl="?",Lb=/\(error: (.*)\)/,Mb=/captureMessage|captureException/;function JE(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],a=n.split(`
18`);for(let l=r;l<a.length;l++){let c=a[l];c.length>1024&&(c=c.slice(0,1024));const u=Lb.test(c)?c.replace(Lb,"$1"):c;if(!u.includes("Error: ")){for(const d of t){const h=d(u);if(h){i.push(h);break}}if(i.length>=YE+s)break}}return NF(i.slice(s))}}function zF(e){return Array.isArray(e)?JE(...e):e}function NF(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Q1(t).function||"")&&t.pop(),t.reverse(),Mb.test(Q1(t).function||"")&&(t.pop(),Mb.test(Q1(t).function||"")&&t.pop()),t.slice(0,YE).map(n=>({...n,filename:n.filename||Q1(t).filename,function:n.function||rl}))}function Q1(e){return e[e.length-1]||{}}const bm="<anonymous>";function Ji(e){try{return!e||typeof e!="function"?bm:e.name||bm}catch{return bm}}function Ob(e){const t=e.exception;if(t){const n=[];
18try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Rd={},Db={};function no(e,t){return Rd[e]=Rd[e]||[],Rd[e].push(t),()=>{const n=Rd[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1)}}}function ro(e,t){if(!Db[e]){Db[e]=!0;try{t()}catch(n){_e&&ie.error(`Error while instrumenting ${e}`,n)}}}function is(e,t){const n=e&&Rd[e];if(n)for(const r of n)try{r(t)}catch(s){_e&&ie.error(`Error while triggering instrumentation handler.
19Type: ${e}
20Name: ${Ji(r)}
21Error:`,s)}}let _m=null;function ZE(e){const t="error";no(t,e),ro(t,IF)}function IF(){_m=qe.onerror,qe.onerror=function(e,t,n,r,s){return is("error",{column:r,error:s,line:n,msg:e,url:t}),_m?_m.apply(this,arguments):!1},qe.onerror.__SENTRY_INSTRUMENTED__=!0}let km=null;function XE(e){const t="unhandledrejection";no(t,e),ro(t,RF)}function RF(){km=qe.onunhandledrejection,qe.onunhandledrejection=function(e){return is("unhandledrejection",e),km?km.apply(this,arguments):!0},qe.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const QE=Object.prototype.toString;function y1(e){switch(QE.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return il(e,Error)}}function zu(e,t){return QE.call(e)===`[object ${t}]`}function ez(e){return zu(e,"ErrorEvent")}function Wb(e){return zu(e,"DOMError")}function PF(e){return zu(e,"DOMException")}function qi(e){return zu(e,"String")}function T9(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function sl(e){return e===null||T9(e)||typeof e!="object"&&typeof e!="function"}function S0(e){return zu(e,"Object")}function Vp(e){return typeof Event<"u"&&il(e,Event)}function AF(e){return zu(e,"RegExp")}function v1(e){return!!(e!=null&&e.then&&typeof e.then=="function")}function il(e,t){try{return e instanceof t}catch{return!1}}function j9(e){return typeof Request<"u"&&il(e,Request)}function mr(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&tz(s,r);try{e[t]=s}catch{_e&&ie.log(`Failed to replace method "${t}" in object`,e)}}function kr(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{_e&&ie.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function tz(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,kr(e,"__sentry_original__",t)}catch{}}function C9(e){return e.__sentry_original__}function nz(e){if(y1(e))return{message:e.message,name:e.name,stack:e.stack,...Fb(e)};if(Vp(e)){const{type:t,target:n,currentTarget:r,detail:s}=e;return{type:t,target:n,currentTarget:r,...s?{detail:s}:{},...Fb(e)}}return e}function Fb(e){return typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e)):{}}function LF(e){const t=Object.keys(nz(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let Nl;function b1(e){if(Nl!==void 0)return Nl?Nl(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=qe;return t in n&&typeof n[t]=="function"?(Nl=n[t],Nl(e)):(Nl=null,e())}function Ma(){return b1(()=>Math.random())}function so(){return b1(()=>Date.now())}const MF=Symbol.for("sentry.skipNormalization"),OF=Symbol.for("sentry.overrideNormalizationDepth");function DF(e){return!!e[MF]}function WF(e){const t=e[OF];return typeof t=="number"?t:void 0}let s6;function rz(e){s6=e}function ks(e,t=100,n=1/0){try{return i6("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function sz(e,t=3,n=100*1024){const r=ks(e,t);return BF(r)>n?sz(e,t-1,n):r}function i6(e,t,n=1/0,r=1/0,s=UF()){const[i,a]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const l=iz(e,t);if(!l.startsWith("[object "))return l;if(DF(t))return t;const c=WF(t),u=c!==void 0?c:n;if(u===0)return l.replace("object ","");if(i(t))return"[Circular ~]";const d=t;if(d&&typeof d.toJSON=="function")try{const m=d.toJSON();return i6("",m,u-1,r,s)}catch{}const h=Array.isArray(t)?[]:{};let f=0;const p=nz(t);for(const m in p){if(!Object.prototype.hasOwnProperty.call(p,m))continue;if(f>=r){h[m]="[MaxProperties ~]";break}const y=p[m];h[m]=i6(m,y,u-1,r,s),f++}return a(t),h}function iz(e,t){try{if(s6){const r=s6(t);if(r)return r}return typeof global<"u"&&t===global?"[Global]":typeof t=="number"&&!Number.isFinite(t)?`[${t}]`:typeof t=="function"?`[Function: ${Ji(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${FF(t)}]`}catch(n){return`**non-serializable** (${n})`}}function FF(e){const t=Object.getPrototypeOf(e);return t!=null&&t.constructor?t.constructor.name:"null prototype"}function $F(e){return~-encodeURI(e).split(/%..|./).length}function BF(e){return $F(JSON.stringify(e))}function UF(){const e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function a6(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function $b(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];sl(s)?n.push(String(s)):s instanceof Error?n.push(s.message?`${s.name}: ${s.message}`:s.name):n.push(iz(void 0,s))}return n.join(t)}function Yd(e,t,n=!1){return qi(e)?AF(t)?t.test(e):qi(t)?n?e===t:e.includes(t):typeof t=="function"?t(e):!1:!1}function ai(e,t=[],n=!1){for(const r of t)if(Yd(e,r,n))return!0;return!1}function qF(){const e=qe;return e.crypto||e.msCrypto}let wm;function HF(){return Ma()*16}function Mr(e=qF()){try{if(e!=null&&e.randomUUID)return b1(()=>e.randomUUID()).replace(/-/g,"")}catch{}return wm||(wm="10000000100040008000"+1e11),wm.replace(/[018]/g,t=>(t^(HF()&15)>>t/4).toString(16))}function az(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}function Lo(e){const{message:t,event_id:n}=e;if(t)return t;const r=az(e);return r?r.type&&r.value?`${r.type}: ${r.value}
21`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function o6(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function Jo(e,t){const n=az(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const i={...s==null?void 0:s.data,...t.data};n.mechanism.data=i}}function Bb(e){if(GF(e))return!0;try{kr(e,"__sentry_captured__",!0)}catch{}return!1}function GF(e){try{return e.__sentry_captured__}catch{}}const oz=1e3;function kl(){return so()/oz}function KF(){const{performance:e}=qe;if(!(e!=null&&e.now)||!e.timeOrigin)return kl;const t=e.timeOrigin;return()=>(t+b1(()=>e.now()))/oz}let Ub;function fn(){return(Ub??(Ub=KF()))()}let xm=null;function VF(){var a;const{performance:e}=qe;if(!(e!=null&&e.now))return;const t=3e5,n=b1(()=>e.now()),r=so(),s=e.timeOrigin;if(typeof s=="number"&&Math.abs(s+n-r)<t)return s;const i=(a=e.timing)==null?void 0:a.navigationStart;return typeof i=="number"&&Math.abs(i+n-r)<t?i:r-n}function kn(){return xm===null&&(xm=VF()),xm}function YF(e){const t=fn(),n={sid:Mr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>ZF(n)};return e&&tu(n,e),n}function tu(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||fn(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Mr()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function JF(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),tu(e,n)}function ZF(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function _1(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=_1(r[s],t[s],n-1));return r}function Zi(){return Mr()}function Hi(){return Mr().substring(16)}function lz(e){try{const t=qe.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function cz(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}const l6="_sentrySpan";function T0(e,t){t?kr(e,l6,lz(t)):delete e[l6]}function gf(e){return cz(e[l6])}const XF=100;class hi{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Zi(),sampleRand:Ma()}}clone(){const t=new hi;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,T0(t,gf(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&tu(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this.setTags({[t]:n})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,n){return this.setAttributes({[t]:n})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,r=n instanceof hi?n.getScopeData():S0(n)?t:void 0,{tags:s,attributes:i,extra:a,user:l,contexts:c,level:u,fingerprint:d=[],propagationContext:h,conversationId:f}=r||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...c},l&&Object.keys(l).length&&(this._user=l),u&&(this._level=u),d.length&&(this._fingerprint=d),h&&(this._propagationContext=h),f&&(this._conversationId=f),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,T0(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Zi(),sampleRand:Ma()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){var i;const r=typeof n=="number"?n:XF;if(r<=0)return this;const s={timestamp:kl(),...t,message:t.message?a6(t.message,2048):t.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),(i=this._client)==null||i.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:gf(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=_1(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=(n==null?void 0:n.event_id)||Mr();if(!this._client)return _e&&ie.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=(r==null?void 0:r.event_id)||Mr();if(!this._client)return _e&&ie.warn("No client configured on scope - will not capture message!"),s;const i=(r==null?void 0:r.syntheticException)??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}
21captureEvent(t,n){const r=t.event_id||(n==null?void 0:n.event_id)||Mr();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(_e&&ie.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function QF(){return Eu("defaultCurrentScope",()=>new hi)}function e$(){return Eu("defaultIsolationScope",()=>new hi)}const qb=e=>e instanceof Promise&&!e[uz],uz=Symbol("chained PromiseLike"),t$=(e,t,n)=>{const r=e.then(s=>(t(s),s),s=>{throw n(s),s});return qb(r)&&qb(e)?r:n$(e,r)},n$=(e,t)=>{if(!t)return e;let n=!1;for(const r in e){if(r in t)continue;n=!0;const s=e[r];typeof s=="function"?Object.defineProperty(t,r,{value:(...i)=>s.apply(e,i),enumerable:!0,configurable:!0,writable:!0}):t[r]=s}return n&&Object.assign(t,{[uz]:!0}),t};class r${constructor(t,n){let r;t?r=t:r=new hi;let s;n?s=n:s=new hi,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return v1(r)?t$(r,()=>this._popScope(),()=>this._popScope()):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function nu(){const e=_l(),t=Kp(e);return t.stack=t.stack||new r$(QF(),e$())}function s$(e){return nu().withScope(e)}function i$(e,t){const n=nu();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Hb(e){return nu().withScope(()=>e(nu().getIsolationScope()))}function a$(){return{withIsolationScope:Hb,withScope:s$,withSetScope:i$,withSetIsolationScope:(e,t)=>Hb(t),getCurrentScope:()=>nu().getScope(),getIsolationScope:()=>nu().getIsolationScope()}}function Nu(e){const t=Kp(e);return t.acs?t.acs:a$()}function o$(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)&&Object.keys(e).includes("value")}function l$(e,t){const{value:n,unit:r}=o$(e)?e:{value:e,unit:void 0},s=c$(n),i=r&&typeof r=="string"?{unit:r}:{};if(s)return{...s,...i};if(!t||t==="skip-undefined"&&n===void 0)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...i}}function Gb(e,t=!1){const n={};for(const[r,s]of Object.entries(e??{})){const i=l$(s,t);i&&(n[r]=i)}return n}function c$(e){if(Array.isArray(e))return{value:e,type:"array"};const t=typeof e=="string"?"string":typeof e=="boolean"?"boolean":typeof e=="number"&&!Number.isNaN(e)?Number.isInteger(e)?"integer":"double":null;if(t)return{value:e,type:t}}function ot(){const e=_l();return Nu(e).getCurrentScope()}function $r(){const e=_l();return Nu(e).getIsolationScope()}function u$(){return Eu("globalScope",()=>new hi)}function Yp(...e){const t=_l(),n=Nu(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function De(){return ot().getClient()}function d$(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=t,i={trace_id:n,span_id:s||Hi()};return r&&(i.parent_span_id=r),i}const ti="sentry.source",E9="sentry.sample_rate",dz="sentry.previous_trace_sample_rate",cs="sentry.op",an="sentry.origin",j0="sentry.idle_span_finish_reason",k1="sentry.measurement_unit",w1="sentry.measurement_value",Kb="sentry.custom_span_name",z9="sentry.profile_id",io="sentry.exclusive_time",h$="sentry.link.type",f$="gen_ai.conversation.id",hz=0,Jp=1,yn=2;function p$(e){if(e<400&&e>=100)return{code:Jp};if(e>=400&&e<500)switch(e){case 401:return{code:yn,message:"unauthenticated"};case 403:return{code:yn,message:"permission_denied"};case 404:return{code:yn,message:"not_found"};case 409:return{code:yn,message:"already_exists"};case 413:return{code:yn,message:"failed_precondition"};case 429:return{code:yn,message:"resource_exhausted"};case 499:return{code:yn,message:"cancelled"};default:return{code:yn,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:yn,message:"unimplemented"};case 503:return{code:yn,message:"unavailable"};case 504:return{code:yn,message:"deadline_exceeded"};default:return{code:yn,message:"internal_error"}}return{code:yn,message:"internal_error"}}function fz(e,t){e.setAttribute("http.response.status_code",t);const n=p$(t);n.message!=="unknown_error"&&e.setStatus(n)}const pz="_sentryScope",mz="_sentryIsolationScope";function m$(e,t,n){e&&(kr(e,mz,lz(n)),kr(e,pz,t))}function yf(e){const t=e;return{scope:t[pz],isolationScope:cz(t[mz])}}const vf="sentry-",g$=8192;function gz(e){const t=v$(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,i])=>{if(s.startsWith(vf)){const a=s.slice(vf.length);r[a]=i}return r},{});if(Object.keys(n).length>0)return n}function y$(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${vf}${r}`]=s),n),{});return b$(t)}function v$(e){if(!(!e||!qi(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=Vb(n);return Object.entries(r).forEach(([s,i])=>{t[s]=i}),t},{}):Vb(e)}function Vb(e){return e.split(",").map(t=>{const n=t.indexOf("=");if(n===-1)return[];const r=t.slice(0,n),s=t.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function b$(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,a=s===0?i:`${t},${i}`;return a.length>g$?(_e&&ie.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):a},"")}const _$=/^o(\d+)\./,k$=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function w$(e){return e==="http"||e==="https"}function wl(e,t=!1){const{host:n,path:r,pass:s,port:i,projectId:a,protocol:l,publicKey:c}=e;return`${l}://${c}${t&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${a}`}function x$(e){const t=k$.exec(e);if(!t){to(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",i="",a="",l=""]=t.slice(1);let c="",u=l;const d=u.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),u=d.pop()),u){const h=u.match(/^\d+/);h&&(u=h[0])}return yz({host:i,pass:s,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function yz(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function S$(e){if(!_e)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(a=>e[a]?!1:(ie.error(`Invalid Sentry Dsn: ${a} missing`),!0))?!1:n.match(/^\d+$/)?w$(r)?t&&isNaN(parseInt(t,10))?(ie.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(ie.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(ie.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function T$(e){const t=e.match(_$);return t==null?void 0:t[1]}function j$(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=T$(n)),r}function vz(e){const t=typeof e=="string"?x$(e):yz(e);if(!(!t||!S$(t)))return t}function al(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const bz=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function C$(e){if(!e)return;const t=e.match(bz);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function E$(e,t){const n=C$(e),r=gz(t);if(!(n!=null&&n.traceId))return{traceId:Zi(),sampleRand:Ma()};const s=z$(n,r);r&&(r.sample_rand=s.toString());const{traceId:i,parentSpanId:a,parentSampled:l}=n;return{traceId:i,parentSpanId:a,sampled:l,dsc:r||{},sampleRand:s}}function _z(e=Zi(),t=Hi(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function kz(e=Zi(),t=Hi(),n){return`00-${e}-${t}-${n?"01":"00"}`}function z$(e,t){const n=al(t==null?void 0:t.sample_rand);if(n!==void 0)return n;const r=al(t==null?void 0:t.sample_rate);return r&&(e==null?void 0:e.parentSampled)!==void 0?e.parentSampled?Ma()*r:r+M
21a()*(1-r):Ma()}const wz=0,Zp=1;let Yb=!1;function N$(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:a,origin:l,links:c}=rt(e);return{parent_span_id:i,span_id:t,trace_id:n,data:r,op:s,status:a,origin:l,links:c}}function I$(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:rt(e).parent_span_id,i=yf(e).scope,a=r?(i==null?void 0:i.getPropagationContext().propagationSpanId)||Hi():t;return{parent_span_id:s,span_id:a,trace_id:n}}function R$(e){const{traceId:t,spanId:n}=e.spanContext(),r=ao(e);return _z(t,n,r)}function P$(e){const{traceId:t,spanId:n}=e.spanContext(),r=ao(e);return kz(t,n,r)}function xz(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:t,trace_id:n,sampled:r===Zp,attributes:i,...s}))}function Sz(e){if(e!=null&&e.length)return e.map(({context:{spanId:t,traceId:n,traceFlags:r},attributes:s})=>({span_id:t,trace_id:n,sampled:r===Zp,attributes:s}))}function Gi(e){return typeof e=="number"?Jb(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Jb(e.getTime()):fn()}function Jb(e){return e>9999999999?e/1e3:e}function rt(e){if(Ez(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(Cz(e)){const{attributes:r,startTime:s,name:i,endTime:a,status:l,links:c}=e;return{span_id:t,trace_id:n,data:r,description:i,parent_span_id:jz(e),start_timestamp:Gi(s),timestamp:Gi(a)||void 0,status:zz(l),op:r[cs],origin:r[an],links:xz(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function Tz(e){if(Ez(e))return e.getStreamedSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(Cz(e)){const{attributes:r,startTime:s,name:i,endTime:a,status:l,links:c}=e;return{name:i,span_id:t,trace_id:n,parent_span_id:jz(e),start_timestamp:Gi(s),end_timestamp:Gi(a),is_segment:e===u6(e),status:Nz(l),attributes:r,links:Sz(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===u6(e)}}function jz(e){var t;return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?(t=e.parentSpanContext)==null?void 0:t.spanId:void 0}function A$(e){var t;return{...e,attributes:Gb(e.attributes),links:(t=e.links)==null?void 0:t.map(n=>({...n,attributes:Gb(n.attributes)}))}}function Cz(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Ez(e){return typeof e.getSpanJSON=="function"}function ao(e){const{traceFlags:t}=e.spanContext();return t===Zp}function zz(e){if(!(!e||e.code===hz))return e.code===Jp?"ok":e.message||"internal_error"}function Nz(e){return!e||e.code===Jp||e.code===hz||e.message==="cancelled"?"ok":"error"}const Zo="_sentryChildSpans",c6="_sentryRootSpan";function Iz(e,t){const n=e[c6]||e;kr(t,c6,n),e[Zo]?e[Zo].add(t):kr(e,Zo,new Set([t]))}function L$(e,t){e[Zo]&&e[Zo].delete(t)}function R2(e){const t=new Set;function n(r){if(!t.has(r)&&ao(r)){t.add(r);const s=r[Zo]?Array.from(r[Zo]):[];for(const i of s)n(i)}}return n(e),Array.from(t)}const zn=u6;function u6(e){return e[c6]||e}function Bn(){const e=_l(),t=Nu(e);return t.getActiveSpan?t.getActiveSpan():gf(ot())}function d6(){Yb||(to(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Yb=!0)}let Zb=!1;function M$(){if(Zb)return;function e(){const t=Bn(),n=t&&zn(t);if(n){const r="internal_error";_e&&ie.log(`[Tracing] Root span: ${r} -> Global error occurred`),n.setStatus({code:yn,message:r})}}Zb=!0,ZE(e),XE(e)}function Is(e){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||((n=De())==null?void 0:n.getOptions());return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function Xb(e){ie.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function C0(e,t){if(!(t!=null&&t.length))return!1;for(const n of t){if(W$(n)){if(e.description&&Yd(e.description,n))return _e&&Xb(e),!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const s=n.name?e.description&&Yd(e.description,n.name):!0,i=n.op?e.op&&Yd(e.op,n.op):!0,a=n.attributes?Object.entries(n.attributes).every(([l,c])=>{var u;return O$((u=e.attributes)==null?void 0:u[l],c)}):!0;if(s&&i&&a)return _e&&Xb(e),!0}return!1}function O$(e,t){return typeof e=="string"&&(typeof t=="string"||t instanceof RegExp)?Yd(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e===t}function D$(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const s of e)s.parent_span_id===r&&(s.parent_span_id=n)}function W$(e){return typeof e=="string"||e instanceof RegExp}const N9="production",Rz="_frozenDsc";function P2(e,t){kr(e,Rz,t)}function Pz(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s={environment:n.environment||N9,release:n.release,public_key:r,trace_id:e,org_id:j$(t)};return t.emit("createDsc",s),s}function Az(e,t){const n=t.getPropagationContext();return n.dsc||Pz(n.traceId,e)}function fi(e){var m;const t=De();if(!t)return{};const n=zn(e),r=rt(n),s=r.data,i=n.spanContext().traceState,a=(i==null?void 0:i.get("sentry.sample_rate"))??s[E9]??s[dz];
21function l(y){return(typeof a=="number"||typeof a=="string")&&(y.sample_rate=`${a}`),y}const c=n[Rz];if(c)return l(c);const u=i==null?void 0:i.get("sentry.dsc"),d=u&&gz(u);if(d)return l(d);const h=Pz(e.spanContext().traceId,t),f=s[ti]??s["sentry.span.source"],p=r.description;return f!=="url"&&p&&(h.transaction=p),Is()&&(h.sampled=String(ao(n)),h.sample_rand=(i==null?void 0:i.get("sentry.sample_rand"))??((m=yf(n).scope)==null?void 0:m.getPropagationContext().sampleRand.toString())),l(h),t.emit("createDsc",h,n),h}class oi{constructor(t={}){this._traceId=t.traceId||Zi(),this._spanId=t.spanId||Hi(),this.dropReason=t.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:wz}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}function Lz(e){return!!e&&typeof e=="function"&&"_streamed"in e&&!!e._streamed}function oo(e,t=[]){return[e,t]}function Qb(e,t){const[n,r]=e;return[n,[...r,t]]}function h6(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function F$(e,t){return h6(e,(n,r)=>t.includes(r))}function f6(e){const t=Kp(qe);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function $$(e){const[t,n]=e;let r=JSON.stringify(t);function s(i){typeof r=="string"?r=typeof i=="string"?r+i:[f6(r),i]:r.push(typeof i=="string"?f6(i):i)}for(const i of n){const[a,l]=i;if(s(`
22${JSON.stringify(a)}
23`),typeof l=="string"||l instanceof Uint8Array)s(l);else{let c;try{c=JSON.stringify(l)}catch{c=JSON.stringify(ks(l))}s(c)}}return typeof r=="string"?r:B$(r)}function B$(e){const t=e.reduce((s,i)=>s+i.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function U$(e){return[{type:"span"},e]}function q$(e){const t=typeof e.data=="string"?f6(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Mz={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function H$(e){return e in Mz}function e_(e){return H$(e)?Mz[e]:e}function I9(e){if(!(e!=null&&e.sdk))return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Oz(e,t,n,r){var i;const s=(i=e.sdkProcessingMetadata)==null?void 0:i.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(so()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:wl(r)},...s&&{trace:s}}}function G$(e,t){var r,s,i,a;if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...((r=e.sdk)==null?void 0:r.integrations)||[],...t.integrations||[]],packages:[...((s=e.sdk)==null?void 0:s.packages)||[],...t.packages||[]],settings:(i=e.sdk)!=null&&i.settings||t.settings?{...(a=e.sdk)==null?void 0:a.settings,...t.settings}:void 0},e}function K$(e,t,n,r){const s=I9(n),i={sent_at:new Date(so()).toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:wl(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return oo(i,[a])}function V$(e,t,n,r){const s=I9(n),i=e.type&&e.type!=="replay_event"?e.type:"event";G$(e,n==null?void 0:n.sdk);const a=Oz(e,s,r,t);return delete e.sdkProcessingMetadata,oo(a,[[{type:i},e]])}function Y$(e,t){function n(p){return!!p.trace_id&&!!p.public_key}const r=fi(e[0]),s=t==null?void 0:t.getDsn(),i=t==null?void 0:t.getOptions().tunnel,a={sent_at:new Date(so()).toISOString(),...n(r)&&{trace:r},...!!i&&s&&{dsn:wl(s)}},{beforeSendSpan:l,ignoreSpans:c}=(t==null?void 0:t.getOptions())||{},u=c!=null&&c.length?e.filter(p=>{const m=rt(p);return!C0({description:m.description,op:m.op,attributes:m.data},c)}):e,d=e.length-u.length;d&&(t==null||t.recordDroppedEvent("before_send","span",d));const h=l?p=>{const m=rt(p),y=Lz(l)?m:l(m);return y||(d6(),m)}:rt,f=[];for(const p of u){const m=h(p);m&&f.push(U$(m))}return oo(a,f)}function J$(e){if(!_e)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=rt(e),{spanId:s}=e.spanContext(),i=ao(e),a=zn(e),l=a===e,c=`[Tracing] Starting ${i?"sampled":"unsampled"} ${l?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];if(r&&u.push(`parent ID: ${r}`),!l){const{op:d,description:h}=rt(a);u.push(`root ID: ${a.spanContext().spanId}`),d&&u.push(`root op: ${d}`),h&&u.push(`root description: ${h}`)}ie.log(`${c}
24  ${u.join(`
25  `)}`)}function Z$(e){if(!_e)return;const{description:t="< unknown name >",op:n="< unknown op >"}=rt(e),{spanId:r}=e.spanContext(),i=zn(e)===e,a=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;ie.log(a)}function Dz(e,t,n,r=Bn()){const s=r&&zn(r);s&&(_e&&ie.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[w1]:t,[k1]:n}))}function t_(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[k1],i=r[w1];typeof s=="string"&&typeof i=="number"&&(t[n.name]={value:i,unit:s})}),t}function vi(e){return e.getOptions().traceLifecycle==="stream"}const n_=1e3;class Xp{constructor(t={}){this._traceId=t.traceId||Zi(),this._spanId=t.spanId||Hi(),this._startTime=t.startTimestamp||fn(),this._links=t.links,this._attributes={},this.setAttributes({[an]:"manual",[cs]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}
25addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?Zp:wz}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Gi(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(ti,"custom"),this}end(t){this._endTime||(this._endTime=Gi(t),Z$(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[cs],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:zz(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[an],profile_id:this._attributes[z9],exclusive_time:this._attributes[io],measurements:t_(this._events),is_segment:this._isStandaloneSpan&&zn(this)===this||void 0,segment_id:this._isStandaloneSpan?zn(this).spanContext().spanId:void 0,links:xz(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===zn(this),status:Nz(this._status),attributes:this._attributes,links:Sz(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){_e&&ie.log("[Tracing] Adding an event to span:",t);const s=r_(n)?n:r||fn(),i=r_(n)?{}:n||{},a={name:t,time:Gi(s),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=De();if(t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===zn(this)))return;if(this._isStandaloneSpan){this._sampled?Q$(Y$([this],t)):(_e&&ie.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}else if(t&&vi(t)){t.emit("afterSegmentSpanEnd",this);return}const r=this._convertSpanToTransaction();r&&(yf(this).scope||ot()).captureEvent(r)}_convertSpanToTransaction(){var h;if(!s_(rt(this)))return;this._name||(_e&&ie.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=yf(this),r=(h=t==null?void 0:t.getScopeData().sdkProcessingMetadata)==null?void 0:h.normalizedRequest;if(this._sampled!==!0)return;const i=R2(this).filter(f=>f!==this&&!X$(f)).map(f=>rt(f)).filter(s_),a=this._attributes[ti];delete this._attributes[Kb];let l=!1;i.forEach(f=>{var p;delete f.data[Kb],(p=f.op)!=null&&p.startsWith("gen_ai.")&&(l=!0)});const c={contexts:{trace:N$(this)},spans:i.length>n_?i.sort((f,p)=>f.start_timestamp-p.start_timestamp).slice(0,n_):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:fi(this),hasGenAiSpans:l},request:r,...a&&{transaction_info:{source:a}}},u=t_(this._events);return u&&Object.keys(u).length&&(_e&&ie.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),c.measurements=u),c}}function r_(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function s_(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function X$(e){return e instanceof Xp&&e.isStandaloneSpan()}function Q$(e){const t=De();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function eB(e,t,n){if(!Is(e))return[!1];let r,s;typeof e.tracesSampler=="function"?(s=e.tracesSampler({...t,inheritOrSampleWith:l=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):l}),r=!0):t.parentSampled!==void 0?s=t.parentSampled:typeof e.tracesSampleRate<"u"&&(s=e.tracesSampleRate,r=!0);const i=al(s);if(i===void 0)return _e&&ie.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(s)} of type ${JSON.stringify(typeof s)}.`),[!1];if(!i)return _e&&ie.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,r];const a=n<i;return a||_e&&ie.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[a,i,r]}const tB="__SENTRY_SUPPRESS_TRACING__";function lo(e){const t=Fz();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=rB(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?a=>Yp(e.scope,a):s!==void 0?a=>Wz(s,a):a=>a())(()=>{const a=ot(),l=iB(a,s),c=De();return e.onlyIfParent&&!l?(c==null||c.recordDroppedEvent("no_parent_span","span"),new oi):nB({parentSpan:l,spanArguments:n,forceTransaction:r,scope:a})})}function Wz(e,t){const n=Fz();return n.withActiveSpan?n.withActiveSpan(e,t):Yp(r=>(T0(r,e||void 0),t(r)))}function nB({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!Is()){const l=new oi;if(n||!e){const c={sampled:"false",sample_rate:"0",transaction:t.name,...fi(l)};P2(l,c)}return l}const s=De();if(aB(s,t))return R9(r)||s==null||s.recordDroppedEvent("ignored","span"),new oi({dropReason:"ignored",traceId:(e==null?void 0:e.spanContext().traceId)??r.getPropagationContext().traceId});const i=$r();let a;if(e&&!n)a=sB(e,r,t),Iz(e,a);else if(e){const l=fi(e),{traceId:c,spanId:u}=e.spanContext(),d=ao(e);a=i_({traceId:c,parentSpanId:u,...t},r,d),P2(a,l)}else{const{traceId:l,dsc:c,parentSpanId:u,sampled:d}={...i.getPropagationContext(),...r.getPropagationContext()};a=i_({traceId:l,parentSpanId:u,...t},r,d),c&&P2(a,c)}return J$(a),m$(a,r,i),a}function rB(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Gi(e.startTime),delete r.startTime,r}return n}function Fz(){const e=_l();return Nu(e)}function i_(e,t,n){var y;const r=De(),s=(r==null?void 0:r.getOptions())||{},{name:i=""}=e,a={spanAttributes:{...e.attributes},spanName:i,parentSampled:n};r==null||r.emit("beforeSampling",a,{decision:!1});const l=a.parentSampled??n,c=a.spanAttributes,u=t.getPropagationContext(),d=R9(t),[h,f,p]=d?[!1]:eB(s,{name:i,parentSampled:l,attributes:c,parentSampleRate:al((y=u.dsc)==null?void 0:y.sample_rate)},u.sampleRand),m=new Xp({...e,attributes:{[ti]:"custom",[E9]:f!==void 0&&p?f:void 0,...c},sampled:h});return!h&&r&&!d&&(_e&&ie.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate",vi(r)?"span":"transaction")),r&&r.emit("spanStart",m),m}function sB(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),i=R9(t),a=i?!1:ao(e),l=a?new Xp({...n,parentSpanId:r,traceId:s,sampled:a}):new oi({traceId:s});Iz(e,l);const c=De();return c&&(vi(c)&&l instanceof oi&&(e instanceof oi&&e.dropReason?(l.dropReason=e.dropReason,c.recordDroppedEvent(e.dropReason,"span")):i||(l.dropReason="sample_rate",c.recordDroppedEvent("sample_rate","span"))),c.emit("spanStart",l),n.endTimestamp&&(c.emit
25("spanEnd",l),c.emit("afterSpanEnd",l))),l}function iB(e,t){if(t)return t;if(t===null)return;const n=gf(e);if(!n)return;const r=De();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?zn(n):n}function aB(e,t){var r;const n=e==null?void 0:e.getOptions().ignoreSpans;return!e||!vi(e)||!(n!=null&&n.length)?!1:C0({description:t.name||"",op:((r=t.attributes)==null?void 0:r[cs])||t.op,attributes:t.attributes},n)}function R9(e){return e.getScopeData().sdkProcessingMetadata[tB]===!0}const A2={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},oB="heartbeatFailed",lB="idleTimeout",cB="finalTimeout",uB="externalFinish";function $z(e,t={}){const n=new Map;let r=!1,s,i=uB,a=!t.disableAutoFinish;const l=[],{idleTimeout:c=A2.idleTimeout,finalTimeout:u=A2.finalTimeout,childSpanTimeout:d=A2.childSpanTimeout,beforeSpanEnd:h,trimIdleSpanEndTimestamp:f=!0}=t,p=De();if(!p||!Is()){const C=new oi,E={sample_rate:"0",sampled:"false",...fi(C)};return P2(C,E),C}const m=ot(),y=Bn(),_=dB(e);_.end=new Proxy(_.end,{apply(C,E,N){if(h&&h(_),E instanceof oi)return;const[j,...I]=N,P=j||fn(),O=Gi(P),F=R2(_).filter(w=>w!==_),B=rt(_);if(!F.length||!f)return T(O),Reflect.apply(C,E,[O,...I]);const $=p.getOptions().ignoreSpans,D=F==null?void 0:F.reduce((w,L)=>{const M=rt(L);return!M.timestamp||$&&C0({description:M.description,op:M.op,attributes:M.data},$)?w:w?Math.max(w,M.timestamp):M.timestamp},void 0),z=B.start_timestamp,R=Math.min(z?z+u/1e3:1/0,Math.max(z||-1/0,Math.min(O,D||1/0)));return T(R),Reflect.apply(C,E,[R,...I])}});function g(){s&&(clearTimeout(s),s=void 0)}function b(C){g(),s=setTimeout(()=>{!r&&n.size===0&&a&&(i=lB,_.end(C))},c)}function k(C){s=setTimeout(()=>{!r&&a&&(i=oB,_.end(C))},d)}function x(C){g(),n.set(C,!0);const E=fn();k(E+d/1e3)}function S(C){if(n.has(C)&&n.delete(C),n.size===0){const E=fn();b(E+c/1e3)}}function T(C){r=!0,n.clear(),l.forEach(F=>F()),T0(m,y);const E=rt(_),{start_timestamp:N}=E;if(!N)return;E.data[j0]||_.setAttribute(j0,i);const I=E.status;(!I||I==="unknown")&&_.setStatus({code:Jp}),ie.log(`[Tracing] Idle span "${E.op}" finished`);const P=R2(_).filter(F=>F!==_);let O=0;P.forEach(F=>{F.isRecording()&&(F.setStatus({code:yn,message:"cancelled"}),F.end(C),_e&&ie.log("[Tracing] Cancelling span since span ended early",JSON.stringify(F,void 0,2)));const B=rt(F),{timestamp:$=0,start_timestamp:D=0}=B,z=D<=C,R=(u+c)/1e3,w=$-D<=R;if(_e){const L=JSON.stringify(F,void 0,2);z?w||ie.log("[Tracing] Discarding span since it finished after idle span final timeout",L):ie.log("[Tracing] Discarding span since it happened after idle span was finished",L)}(!w||!z)&&(L$(_,F),O++)}),O>0&&_.setAttribute("sentry.idle_span_discarded_spans",O)}return l.push(p.on("spanStart",C=>{if(r||C===_||rt(C).timestamp||C instanceof Xp&&C.isStandaloneSpan())return;R2(_).includes(C)&&x(C.spanContext().spanId)})),l.push(p.on("spanEnd",C=>{r||S(C.spanContext().spanId)})),l.push(p.on("idleSpanEnableAutoFinish",C=>{C===_&&(a=!0,b(),n.size&&k())})),t.disableAutoFinish||b(),setTimeout(()=>{r||(_.setStatus({code:yn,message:"deadline_exceeded"}),i=cB,_.end())},u),_}function dB(e){const t=lo(e);return T0(ot(),t),_e&&ie.log("[Tracing] Started span is an idle span"),t}function hB(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;fB(e,t),r&&gB(e,r),yB(e,n),pB(e,s),mB(e,i)}function a_(e,t){const{extra:n,tags:r,attributes:s,user:i,contexts:a,level:l,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:d,eventProcessors:h,attachments:f,propagationContext:p,transactionName:m,span:y}=t;qu(e,"extra",n),qu(e,"tags",r),qu(e,"attributes",s),qu(e,"user",i),qu(e,"contexts",a),e.sdkProcessingMetadata=_1(e.sdkProcessingMetadata,c,2),l&&(e.level=l),m&&(e.transactionName=m),y&&(e.span=y),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),d.length&&(e.fingerprint=[...e.fingerprint,...d]),h.length&&(e.eventProcessors=[...e.eventProcessors,...h]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function qu(e,t,n){e[t]=_1(e[t],n,1)}function Bz(e,t){const n=u$().getScopeData();return e&&a_(n,e.getScopeData()),t&&a_(n,t.getScopeData()),n}function fB(e,t){const{extra:n,tags:r,user:s,contexts:i,level:a,transactionName:l}=t;
25Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(s).length&&(e.user={...s,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),a&&(e.level=a),l&&e.type!=="transaction"&&(e.transaction=l)}function pB(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function mB(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function gB(e,t){e.contexts={trace:I$(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:fi(t),...e.sdkProcessingMetadata};const n=zn(t),r=rt(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function yB(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}const vB="thismessage:/";function P9(e){return"isRelative"in e}function Qp(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,r=n?vB:void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;const s=new URL(e,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function Uz(e){if(P9(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function Xo(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function bB(e){return e.split(/[?#]/,1)[0]}function li(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",s=e.includes(";base64,"),i=e.indexOf(",");let a="";if(t&&i!==-1){const l=e.slice(i+1);a=l.length>10?`${l.slice(0,10)}... [truncated]`:l}return`data:${r}${s?",base64":""}${a?`,${a}`:""}`}return e}function bf(e,t){const n=e.attributes??(e.attributes={});Object.entries(t).forEach(([r,s])=>{s!=null&&!(r in n)&&(n[r]=s)})}const Sm=0,o_=1,l_=2;function x1(e){return new E0(t=>{t(e)})}function A9(e){return new E0((t,n)=>{n(e)})}class E0{constructor(t){this._state=Sm,this._handlers=[],this._runExecutor(t)}then(t,n){return new E0((r,s)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(a){s(a)}},i=>{if(!n)s(i);else try{r(n(i))}catch(a){s(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new E0((n,r)=>{let s,i;return this.then(a=>{i=!1,s=a,t&&t()},a=>{i=!0,s=a,t&&t()}).then(()=>{if(i){r(s);return}n(s)})})}_executeHandlers(){if(this._state===Sm)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===o_&&n[1](this._value),this._state===l_&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(i,a)=>
25{if(this._state===Sm){if(v1(a)){a.then(r,s);return}this._state=i,this._value=a,this._executeHandlers()}},r=i=>{n(o_,i)},s=i=>{n(l_,i)};try{t(r,s)}catch(i){s(i)}}}function _B(e,t,n,r=0){try{const s=p6(t,n,e,r);return v1(s)?s:x1(s)}catch(s){return A9(s)}}function p6(e,t,n,r){const s=n[r];if(!e||!s)return e;const i=s({...e},t);return _e&&i===null&&ie.log(`Event processor "${s.id||"?"}" dropped event`),v1(i)?i.then(a=>p6(a,t,n,r+1)):p6(i,t,n,r+1)}let xi,c_,u_,ua;function kB(e){const t=qe._sentryDebugIds,n=qe._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],s=n?Object.keys(n):[];if(ua&&r.length===c_&&s.length===u_)return ua;c_=r.length,u_=s.length,ua={},xi||(xi={});const i=(a,l)=>{for(const c of a){const u=l[c],d=xi==null?void 0:xi[c];if(d&&ua&&u)ua[d[0]]=u,xi&&(xi[c]=[d[0],u]);else if(u){const h=e(c);for(let f=h.length-1;f>=0;f--){const p=h[f],m=p==null?void 0:p.filename;if(m&&ua&&xi){ua[m]=u,xi[c]=[m,u];break}}}}};return t&&i(r,t),n&&i(s,n),ua}function qz(e,t,n,r,s,i){const{normalizeDepth:a=3,normalizeMaxBreadth:l=1e3}=e,c={...t,event_id:t.event_id||n.event_id||Mr(),timestamp:t.timestamp||kl()},u=n.integrations||e.integrations.map(g=>g.name);wB(c,e),TB(c,u),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&xB(c,e.stackParser);const d=CB(r,n.captureContext);n.mechanism&&Jo(c,n.mechanism);const h=s?s.getEventProcessors():[],f=Bz(i,d),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),hB(c,f);const m=[...h,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?x1(c):_B(m,c,n)).then(g=>(g&&SB(g),typeof a=="number"&&a>0?jB(g,a,l):g))}function wB(e,t){var l,c;const{environment:n,release:r,dist:s,maxValueLength:i}=t;e.environment=e.environment||n||N9,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s);const a=e.request;a!=null&&a.url&&i&&(a.url=a6(a.url,i)),i&&((c=(l=e.exception)==null?void 0:l.values)==null||c.forEach(u=>{u.value&&(u.value=a6(u.value,i))}))}function xB(e,t){var r,s;const n=kB(t);(s=(r=e.exception)==null?void 0:r.values)==null||s.forEach(i=>{var a,l;(l=(a=i.stacktrace)==null?void 0:a.frames)==null||l.forEach(c=>{c.filename&&(c.debug_id=n[c.filename])})})}function SB(e){var r,s;const t={};if((s=(r=e.exception)==null?void 0:r.values)==null||s.forEach(i=>{var a,l;(l=(a=i.stacktrace)==null?void 0:a.frames)==null||l.forEach(c=>{c.debug_id&&(c.abs_path?t[c.abs_path]=c.debug_id:c.filename&&(t[c.filename]=c.debug_id),delete c.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([i,a])=>{n.push({type:"sourcemap",code_file:i,debug_id:a})})}function TB(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function jB(e,t,n){var s,i;if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(a=>({...a,...a.data&&{data:ks(a.data,t,n)}}))},...e.user&&{user:ks(e.user,t,n)},...e.contexts&&{contexts:ks(e.contexts,t,n)},...e.extra&&{extra:ks(e.extra,t,n)}};return(s=e.contexts)!=null&&s.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=ks(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(a=>({...a,...a.data&&{data:ks(a.data,t,n)}}))),(i=e.contexts)!=null&&i.flags&&r.contexts&&(r.contexts.flags=ks(e.contexts.flags,3,n)),r}function CB(e,t){if(!t)return e;const n=e?e.clone():new hi;return n.update(t),n}function EB(e){if(e)return zB(e)?{captureContext:e}:IB(e)?{captureContext:e}:e}function zB(e){return e instanceof hi||typeof e=="function"}const NB=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function IB(e){return Object.keys(e).some(t=>NB.includes(t))}function L9(e,t){return ot().captureException(e,EB(t))}function Hz(e,t){return ot().captureEvent(e,t)}function Gz(e,t){$r().setContext(e,t)}function RB(){return $r().lastEventId()}function PB(){const e=De();return(e==null?void 0:e.getOptions().enabled)!==!1&&!!(e!=null&&e.getTransport())}function AB(e){$r().addEventProcessor(e)}function d_(e){const t=$r(),{user:n}=Bz(t,ot()),{userAgent:r}=qe.navigator||{},s=YF({user:n,...r&&{userAgent:r},...e}),i=t.getSession();return(i==null?void 0:i.status)==="ok"&&tu(i,{status:"exited"}),Kz(),t.setSession(s),s}function Kz(){const e=$r(),n=ot().getSession()||e.getSession();n&&JF(n),Vz(),e.setSession()}function Vz(){const e=$r(),t=De(),n=e.getSession();n&&t&&t.captureSession(n)}
25function Tm(e=!1){if(e){Kz();return}Vz()}const LB="7";function Yz(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function MB(e){return`${Yz(e)}${e.projectId}/envelope/`}function OB(e,t){const n={sentry_version:LB};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function DB(e,t,n){return t||`${MB(e)}?${OB(e,n)}`}function WB(e,t){const n=vz(e);if(!n)return"";const r=`${Yz(n)}embed/error-page/`;let s=`dsn=${wl(n)}`;for(const i in t)if(i!=="dsn"&&i!=="onClose")if(i==="user"){const a=t.user;if(!a)continue;a.name&&(s+=`&name=${encodeURIComponent(a.name)}`),a.email&&(s+=`&email=${encodeURIComponent(a.email)}`)}else s+=`&${encodeURIComponent(i)}=${encodeURIComponent(t[i])}`;return`${r}?${s}`}const h_=[];function FB(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function $B(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const s=n(t);r=Array.isArray(s)?s:[s]}else r=t;return FB(r)}function BB(e,t){const n={};return t.forEach(r=>{r!=null&&r.beforeSetup&&r.beforeSetup(e)}),t.forEach(r=>{r&&Jz(e,r,n)}),n}function f_(e,t){for(const n of t)n!=null&&n.afterAllSetup&&n.afterAllSetup(e)}function Jz(e,t,n){if(n[t.name]){_e&&ie.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!h_.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),h_.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,i)=>r(s,i,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((i,a)=>r(i,a,e),{id:t.name});e.addEventProcessor(s)}["processSpan","processSegmentSpan"].forEach(r=>{const s=t[r];typeof s=="function"&&e.on(r,i=>s.call(t,i,e))}),_e&&ie.log(`Integration installed: ${t.name}`)}function UB(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function qB(){/*! __SENTRY_SDK_SOURCE__ */return"npm"}function HB(){return!UB()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function ru(){return typeof window<"u"&&(!HB()||GB())}function GB(){const e=qe.process;return(e==null?void 0:e.type)==="renderer"}function KB(e,t){const n=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...ru()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function VB(e,t,n,r,s){const i={};return t!=null&&t.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=wl(r)),oo(i,[KB(e,s)])}function m6(e,t){const n=t??YB(e)??[];if(n.length===0)return;const r=e.getOptions(),s=VB(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Zz().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(s)}function YB(e){return Zz().get(e)}function Zz(){return Eu("clientToLogBufferMap",()=>new WeakMap)}function JB(e,t){const n=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...ru()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function ZB(e,t,n,r,s){const i={};return t!=null&&t.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=wl(r)),oo(i,[JB(e,s)])}function Xz(e,t){const n=t??XB(e)??[];if(n.length===0)return;const r=e.getOptions(),s=ZB(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);Qz().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(s)}function XB(e){return Qz().get(e)}function Qz(){return Eu("clientToMetricBufferMap",()=>new WeakMap)}function QB(e){const t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status==="ok"||e.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...e.data},links:e.links};return A$(t)}function eU(e,t){var i,a,l;if(e.type!=="transaction"||!((i=e.spans)!=null&&i.length)||!((a=e.sdkProcessingMetadata)!=null&&a.hasGenAiSpans)||!t.getOptions().streamGenAiSpans||vi(t))return;const n=[],r=[];for(const c of e.spans)(l=c.op)!=null&&l.startsWith("gen_ai.")?n.push(QB(c)):r.push(c);if(n.length===0)return;e.spans=r;const s=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:n.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...ru()&&{ingest_settings:{infer_ip:s,infer_user_agent:s}},items:n}]}function eN(e){return typeof e=="object"&&typeof e.unref=="function"&&e.unref(),e}const M9=Symbol.for("SentryBufferFullError");function O9(e=100){const t=new Set;function n(){return t.size<e}function r(a){t.delete(a)}function s(a){if(!n())return A9(M9);const l=a();return t.add(l),l.then(()=>r(l),()=>r(l)),l}function i(a){if(!t.size)return x1(!0);const l=Promise.allSettled(Array.from(t)).then(()=>!0);if(!a)return l;const c=[l,new Promise(u=>eN(setTimeout(()=>u(!1),a)))];return Promise.race(c)}return{get $(){return Array.from(t)},add:s,drain:i}}const tU=60*1e3;function nU(e,t=so()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?tU:r-t}function rU(e,t){return e[t]||e.all||0}function tN(e,t,n=so()){return rU(e,t)>n}function nN(e,{statusCode:t,headers:n},r=so()){const s={...e},i=n==null?void 0:n["x-sentry-rate-limits"],a=n==null?void 0:n["retry-after"];if(i)for(const l of i.trim().split(",")){const[c,u,,,d]=l.split(":",5),h=parseInt(c,10),f=(isNaN(h)?60:h)*1e3;if(!u)s.all=r+f;else for(const p of u.split(";"))p==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(s[p]=r+f):s[p]=r+f}else a?s.all=r+nU(a,r):t===429&&(s.all=r+60*1e3);return s}const rN=64;function sU(e,t,n=O9(e.bufferSize||rN)){let r={};const s=a=>n.drain(a);function i(a){const l=[];
25if(h6(a,(h,f)=>{const p=e_(f);tN(r,p)?e.recordDroppedEvent("ratelimit_backoff",p):l.push(h)}),l.length===0)return Promise.resolve({});const c=oo(a[0],l),u=h=>{if(F$(c,["client_report"])){_e&&ie.warn(`Dropping client report. Will not send outcomes (reason: ${h}).`);return}h6(c,(f,p)=>{e.recordDroppedEvent(h,e_(p))})},d=()=>t({body:$$(c)}).then(h=>h.statusCode===413?(_e&&ie.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),u("send_error"),h):(_e&&h.statusCode!==void 0&&(h.statusCode<200||h.statusCode>=300)&&ie.warn(`Sentry responded with status code ${h.statusCode} to sent event.`),r=nN(r,h),h),h=>{throw u("network_error"),_e&&ie.error("Encountered error running transport request:",h),h});return n.add(d).then(h=>h,h=>{if(h===M9)return _e&&ie.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw h})}return{send:i,flush:s}}function iU(e,t,n){const r=[{type:"client_report"},{timestamp:kl(),discarded_events:e}];return oo(t?{dsn:t}:{},[r])}function sN(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n!=null&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function aU(e){var c;const{trace_id:t,parent_span_id:n,span_id:r,status:s,origin:i,data:a,op:l}=((c=e.contexts)==null?void 0:c.trace)??{};return{data:a??{},description:e.transaction,op:l,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:s,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:a==null?void 0:a[z9],exclusive_time:a==null?void 0:a[io],measurements:e.measurements,is_segment:!0}}function oU(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[z9]:e.profile_id},...e.exclusive_time&&{[io]:e.exclusive_time}}}},measurements:e.measurements}}const eh=["forwarded","-ip","remote-","via","-user"];function lU(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],queryParams:!0,genAI:{inputs:!0,outputs:!0},stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:eh},httpHeaders:{request:{deny:eh},response:{deny:eh}},httpBodies:[],queryParams:{deny:eh},genAI:{inputs:!1,outputs:!1},stackFrameVariables:!0,frameContextLines:7}}const cU={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],queryParams:!0,genAI:{inputs:!0,outputs:!0},stackFrameVariables:!0,frameContextLines:5};function uU(e){var r,s,i,a;const t=e.dataCollection!=null?cU:lU(e.sendDefaultPii),n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:((r=n.httpHeaders)==null?void 0:r.request)??t.httpHeaders.request,response:((s=n.httpHeaders)==null?void 0:s.response)??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,queryParams:n.queryParams??t.queryParams,genAI:{inputs:((i=n.genAI)==null?void 0:i.inputs)??t.genAI.inputs,outputs:((a=n.genAI)==null?void 0:a.outputs)??t.genAI.outputs},stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}const p_="Not capturing exception because it's already been captured.",m_="Discarded session because of missing or non-string release",iN=Symbol.for("SentryInternalError"),aN=Symbol.for("SentryDoNotSendEventError"),dU=5e3;function L2(e){return{message:e,[iN]:!0}}function jm(e){return{message:e,[aN]:!0}}function g_(e){return!!e&&typeof e=="object"&&iN in e}function y_(e){return!!e&&typeof e=="object"&&aN in e}function v_(e,t,n,r,s){let i=0,a,l=!1;e.on(n,()=>{i=0,clearTimeout(a),l=!1}),e.on(t,c=>{if(i+=r(c),i>=8e5)s(e);else if(!l){const u=e.getOptions()._flushInterval??dU;u>0&&(l=!0,a=eN(setTimeout(()=>{s(e)},u)))}}),e.on("flush",()=>{s(e)})}class hU{constructor(t){var r,s,i;if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=O9(((r=t.transportOptions)==null?void 0:r.bufferSize)??rN),this._dataCollection=uU(t),t.dsn?this._dsn=vz(t.dsn):_e&&ie.warn("No DSN provided, client will not send events."),this._dsn){const a=DB(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:a})}this._options.enableLogs=this._options.enableLogs??((s=this._options._experiments)==null?void 0:s.enableLogs),this._options.enableLogs&&v_(this,"afterCaptureLog","flushLogs",gU,m6),(this._options.enableMetrics??((i=this._options._experiments)==null?void 0:i.enableMetrics)??!0)&&v_(this,"afterCaptureMetric","flushMetrics",mU,Xz)}captureException(t,n,r){const s=Mr();if(Bb(t))return _e&&ie.log(p_),s;const i={event_id:s,...n};return this._process(()=>this.eventFromException(t,i).then(a=>this._captureEvent(a,i,r)).then(a=>a),"error"),i.event_id}captureMessage(t,n,r,s){const i={event_id:Mr(),...r}
25,a=T9(t)?t:String(t),l=sl(t),c=l?this.eventFromMessage(a,n,i):this.eventFromException(t,i);return this._process(()=>c.then(u=>this._captureEvent(u,i,s)),l?"unknown":"error"),i.event_id}captureEvent(t,n,r){const s=Mr();if(n!=null&&n.originalException&&Bb(n.originalException))return _e&&ie.log(p_),s;const i={event_id:s,...n},a=t.sdkProcessingMetadata||{},l=a.capturedSpanScope,c=a.capturedSpanIsolationScope,u=b_(t.type);return this._process(()=>this._captureEvent(t,i,l||r,c),u),i.event_id}captureSession(t){this.sendSession(t),tu(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const n=this._transport;if(this.emit("flush"),!n)return!0;const r=await this._isClientDoneProcessing(t),s=await n.flush(t);return r&&s}async close(t){m6(this);const n=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(t){const n=this._integrations[t.name];!n&&t.beforeSetup&&t.beforeSetup(this),Jz(this,t,this._integrations),n||f_(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);const r=eU(t,this);let s=V$(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])s=Qb(s,q$(i));r&&(s=Qb(s,r)),this.sendEnvelope(s).then(i=>this.emit("afterSendEvent",t,i))}sendSession(t){const{release:n,environment:r=N9}=this._options;if("aggregates"in t){const i=t.attrs||{};if(!i.release&&!n){_e&&ie.warn(m_);return}i.release=i.release||n,i.environment=i.environment||r,t.attrs=i}else{if(!t.release&&!n){_e&&ie.warn(m_);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const s=K$(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(s)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const s=`${t}:${n}`;_e&&ie.log(`Recording outcome: "${s}"${r>1?` (${r} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||new Set,s=(...i)=>n(...i);return r.add(s),()=>{r.delete(s)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(s=>s(...n))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(n){return _e&&ie.error("Error while sending envelope:",n),{}}return _e&&ie.error("Transport disabled"),{}}registerCleanup(t){}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=BB(this,t),f_(this,t)}_updateSessionFromEvent(t,n){var c,u;let r=n.level==="fatal",s=!1;const i=(c=n.exception)==null?void 0:c.values;if(i){s=!0,r=!1;for(const d of i)if(((u=d.mechanism)==null?void 0:u.handled)===!1){r=!0;break}}const a=t.status==="ok";(a&&t.errors===0||a&&r)&&(tu(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||n<t;){if(await new Promise(r=>setTimeout(r,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,s){const i=this.getOptions(),a=this.getIntegrationNames();return!n.integrations&&a.length&&(n.integrations=a),this.emit("preprocessEvent",t,n),t.type||s.setLastEventId(t.event_id||n.event_id),qz(i,t,n,r,this,s).then(l=>{var u;if(l===null)return l;this.emit("postprocessEvent",l,n),l.contexts={trace:{...(u=l.contexts)==null?void 0:u.trace,...d$(r)},...l.contexts};const c=Az(this,r);return l.sdkProcessingMetadata={dynamicSamplingContext:c,...l.sdkProcessingMetadata},l})}_captureEvent(t,n={},r=ot(),s=$r()){return _e&&g6(t)&&ie.log(`Captured error event \`${sN(t)[0]||"<unknown>"}\``),this._processEvent(t,n,r,s).then(i=>i.event_id,i=>{_e&&(y_(i)?ie.log(i.message):g_(i)?ie.warn(i.message):ie.warn(i))})}_processEvent(t,n,r,s){const i=this.getOptions(),{sampleRate:a}=i,l=oN(t),c=g6(t),d=`before send for type \`${t.type||"error"}\``,h=typeof a>"u"?void 0:al(a);if(c&&typeof h=="number"&&Ma()>h)return this.recordDroppedEvent("sample_rate","error"),A9(jm(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));const f=b_(t.type);return this._prepareEvent(t,n,r,s).then(p=>{var _;if(p===null)throw this.recordDroppedEvent("event_processor",f),jm("An event processor returned `null`, will not send event.");if(((_=n.data)==null?void 0:_.__sentry__)===!0)return p;const y=pU(this,i,p,n);return fU(y,d)}).then(p=>{var _;if(p===null){if(this.recordDroppedEvent("before_send",f),l){const b=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",b)}throw jm(`${d} returned \`null\`, will not send event.`)}const m=r.getSession()||s.getSession();if(c&&m&&this._updateSessionFromEvent(m,p),l){const g=((_=p.sdkProcessingMetadata)==null?void 0:_.spanCountBeforeProcessing)||0,b=p.spans?p.spans.length:0,k=g-b;k>0&&this.recordDroppedEvent("before_send","span",k)}const y=p.transaction_info;if(l&&y&&p.transaction!==t.transaction){const g="custom";p.transaction_info={...y,source:g}}return this.sendEvent(p,n),p}).then(null,p=>{throw y_(p)||g_(p)?p:(this.captureException(p,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:p}),L2(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
26Reason: ${p}`))})}_process(t,n){this._numProcessing++,this._promiseBuffer.add(t).then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r===M9&&this.recordDroppedEvent("queue_overflow",n),r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[s,i]=n.split(":");return{reason:s,category:i,quantity:r}})}_flushOutcomes(){_e&&ie.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){_e&&ie.log("No outcomes to send");return}if(!this._dsn){_e&&ie.log("No dsn provided, will not send outcomes");return}_e&&ie.log("Sending outcomes:",t);const n=iU(t,this._options.tunnel&&wl(this._dsn));this.sendEnvelope(n)}}function b_(e){return e==="replay_event"?"replay":e||"error"}function fU(e,t){const n=`${t} must return \`null\` or a valid event.`;if(v1(e))return e.then(r=>{if(!S0(r)&&r!==null)throw L2(n);return r},r=>{throw L2(`${t} rejected with ${r}`)});if(!S0(e)&&e!==null)throw L2(n);return e}function pU(e,t,n,r){const{beforeSend:s,beforeSendTransaction:i,ignoreSpans:a}=t,l=!Lz(t.beforeSendSpan)&&t.beforeSendSpan;let c=n;if(g6(c)&&s)return s(c,r);
26if(oN(c)){if(l||a){const u=aU(c);if(a!=null&&a.length&&C0({description:u.description,op:u.op,attributes:u.data},a))return null;if(l){const d=l(u);d?c=_1(n,oU(d)):d6()}if(c.spans){const d=[],h=c.spans;for(const p of h){if(a!=null&&a.length&&C0({description:p.description,op:p.op,attributes:p.data},a)){D$(h,p);continue}if(l){const m=l(p);m?d.push(m):(d6(),d.push(p))}else d.push(p)}const f=c.spans.length-d.length;f&&e.recordDroppedEvent("before_send","span",f),c.spans=d}}if(i){if(c.spans){const u=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:u}}return i(c,r)}}return c}function g6(e){return e.type===void 0}function oN(e){return e.type==="transaction"}function mU(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+lN(e.attributes)}function gU(e){let t=0;return e.message&&(t+=e.message.length*2),t+lN(e.attributes)}function lN(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*__(n[0]):sl(n)?t+=__(n):t+=100}),t}function __(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function yU(e,t){t.debug===!0&&(_e?ie.enable():to(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),ot().update(t.initialScope);const r=new e(t);return vU(r),r.init(),r}function vU(e){ot().setClient(e)}function bU(e,t){const n=t==null?void 0:t.getDsn(),r=t==null?void 0:t.getOptions().tunnel;return kU(e,n)||_U(e,r)}function _U(e,t){return t?k_(e)===k_(t):!1}function kU(e,t){const n=Qp(e);return!n||P9(n)||!t?!1:wU(n.hostname,t.host)&&/(^|&|\?)sentry_key=/.test(n.search)}function wU(e,t){return e===t||t.length>0&&e.endsWith(`.${t}`)}function k_(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function xU(e){var t;"aggregates"in e?((t=e.attrs)==null?void 0:t.ip_address)===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function cN(e,t,n=[t],r="npm"){const s=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};s.name||(s.name=`sentry.javascript.${t}`,s.packages=n.map(i=>({name:`${r}:@sentry/${i}`,version:Yo})),s.version=Yo)}function uN(e={}){const t=e.client||De();if(!PB()||!t)return{};const n=_l(),r=Nu(n);if(r.getTraceData)return r.getTraceData(e);const s=e.scope||ot(),i=e.span||Bn(),a=i?R$(i):SU(s),l=i?fi(i):Az(t,s),c=y$(l);if(!bz.test(a))return ie.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const d={"sentry-trace":a,baggage:c};return e.propagateTraceparent&&(d.traceparent=i?P$(i):TU(s)),d}function SU(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return _z(t,r,n)}function TU(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return kz(t,r,n)}function jU(e,t,n){let r,s,i;const a=n!=null&&n.maxWait?Math.max(n.maxWait,t):0,l=(n==null?void 0:n.setTimeoutImpl)||setTimeout;function c(){return u(),r=e(),r}function u(){s!==void 0&&clearTimeout(s),i!==void 0&&clearTimeout(i),s=i=void 0}function d(){return s!==void 0||i!==void 0?c():r}function h(){return s&&clearTimeout(s),s=l(c,t),a&&i===void 0&&(i=l(c,a)),r}return h.cancel=u,h.flush=d,h}const CU=100;function Ya(e,t){const n=De(),r=$r();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=CU}=n.getOptions();if(i<=0)return;const l={timestamp:kl(),...e},c=s?to(()=>s(l,t)):l;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,i))}let w_;const EU="FunctionToString",x_=new WeakMap,zU=()=>({name:EU,setupOnce(){w_=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=C9(this),n=x_.has(De())&&t!==void 0?t:this;return w_.apply(n,e)}}catch{}},setup(e){x_.set(e,!0)}}),NU=zU,IU=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],RU="EventFilters",PU=(e={})=>{let t;return{name:RU,setup(n){const r=n.getOptions();t=S_(e,r)},processEvent(n,r,s){if(!t){const i=s.getOptions();t=S_(e,i)}return LU(n,t)?null:n}}},AU=(e={})=>({...PU(e),name:"InboundFilters"});function S_(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:IU],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function LU(e,t){if(e.type){if(e.type==="transaction"&&OU(e,t.ignoreTransactions))return _e&&ie.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
27Event: ${Lo(e)}`),!0}else{if(MU(e,t.ignoreErrors))return _e&&ie.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
28Event: ${Lo(e)}`),!0;if($U(e))return _e&&ie.warn(`Event dropped due to not having an error message, error type or stacktrace.
29Event: ${Lo(e)}`),!0;if(DU(e,t.denyUrls))return _e&&ie.warn(`Event dropped due to being matched by \`denyUrls\` option.
30Event: ${Lo(e)}.
31Url: ${_f(e)}`),!0;if(!WU(e,t.allowUrls))return _e&&ie.warn(`Event dropped due to not being matched by \`allowUrls\` option.
32Event: ${Lo(e)}.
33Url: ${_f(e)}`),!0}return!1}function MU(e,t){return t!=null&&t.length?sN(e).some(n=>ai(n,t)):!1}function OU(e,t){if(!(t!=null&&t.length))return!1;const n=e.transaction;return n?ai(n,t):!1}function DU(e,t){if(!(t!=null&&t.length))return!1;const n=_f(e);return n?ai(n,t):!1}function WU(e,t){if(!(t!=null&&t.length))return!0;const n=_f(e);return n?ai(n,t):!0}function FU(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function _f(e){var t,n;try{const r=[...((t=e.exception)==null?void 0:t.values)??[]].reverse().find(i=>{var a,l,c;return((a=i.mechanism)==null?void 0:a.parent_id)===void 0&&((c=(l=i.stacktrace)==null?void 0:l.frames)==null?void 0:c.length)}),s=(n=r==null?void 0:r.stacktrace)==null?void 0:n.frames;return s?FU(s):null}catch{return _e&&ie.error(`Cannot extract url for event ${Lo(e)}`),null}}function $U(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)!=null&&n.length?!e.message&&!e.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function BU(e,t,n,r,s,i){var l;if(!((l=s.exception)!=null&&l.values)||!i||!il(i.originalException,Error))return;const a=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;a&&(s.exception.values=y6(e,t,r,i.originalException,n,s.exception.values,a,0))}function y6(e,t,n,r,s,i,a,l){if(i.length>=n+1)return i;let c=[...i];if(il(r[s],Error)){T_(a,l,r);const u=e(t,r[s]),d=c.length;
33j_(u,s,d,l),c=y6(e,t,n,r[s],s,[u,...c],u,d)}return dN(r)&&r.errors.forEach((u,d)=>{if(il(u,Error)){T_(a,l,r);const h=e(t,u),f=c.length;j_(h,`errors[${d}]`,f,l),c=y6(e,t,n,u,s,[h,...c],h,f)}}),c}function dN(e){return Array.isArray(e.errors)}function T_(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...dN(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function j_(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function UU(e){return y1(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function C_(e){return UU(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}const E_=new Set([]);function qU(e){const t="console",n=no(t,e);return ro(t,HU),n}function HU(){"console"in qe&&wF.forEach(function(e){e in qe.console&&mr(qe.console,e,function(t){return mf[e]=t,function(...n){const r=n[0],s=mf[e],i=E_.size&&typeof r=="string"&&ai(r,E_);i||is("console",{args:n,level:e}),(!i||_e&&ie.isEnabled())&&(s==null||s.apply(qe.console,n))}})})}function hN(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const GU="Dedupe",KU=()=>{let e;return{name:GU,processEvent(t){if(t.type)return t;try{if(YU(t,e))return _e&&ie.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},VU=KU;function YU(e,t){return t?!!(JU(e,t)||ZU(e,t)):!1}function JU(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!pN(e,t)||!fN(e,t))}function ZU(e,t){const n=z_(t),r=z_(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!pN(e,t)||!fN(e,t))}function fN(e,t){let n=Ob(e),r=Ob(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){const i=r[s],a=n[s];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function pN(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function z_(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}const XU="ConversationId",QU=()=>({name:XU,setup(e){e.on("spanStart",t=>{const n=ot().getScopeData(),r=$r().getScopeData(),s=n.conversationId||r.conversationId;if(s){const{op:i,data:a,description:l}=rt(t);if(!(i!=null&&i.startsWith("gen_ai."))&&!a["ai.operationId"]&&!(l!=null&&l.startsWith("ai.")))return;t.setAttribute(f$,s)}})}}),eq=QU;function tq(e,t,n,r,s){if(!e.fetchData)return;const{method:i,url:a}=e.fetchData,l=Is()&&t(a);if(e.endTimestamp){const m=e.fetchData.__span;if(!m)return;const y=r[m];y&&(l&&(sq(y,e),nq(y,e,s)),delete r[m]);return}const{spanOrigin:c="auto.http.browser",propagateTraceparent:u=!1}=typeof s=="object"?s:{spanOrigin:s},d=De(),f=!!Bn()||!!d&&vi(d),p=l&&f?lo(oq(a,i,c)):new oi;if(l&&!f&&(d==null||d.recordDroppedEvent("no_parent_span","span")),e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){const m=e.args[0],y={...e.args[1]||{}},_=rq(m,y,Is()&&f?p:void 0,u);_&&(e.args[1]=y,y.headers=_)}if(d){const m={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};d.emit("beforeOutgoingRequestSpan",p,m)}return p}function nq(e,t,n){var s;const r=typeof n=="object"&&n!==null?n.onRequestSpanEnd:void 0;r==null||r(e,{headers:(s=t.response)==null?void 0:s.headers,error:t.error})}function rq(e,t,n,r){const s=uN({span:n,propagateTraceparent:r}),i=s["sentry-trace"],a=s.baggage,l=s.traceparent;if(!i)return;const c=t.headers||(j9(e)?e.headers:void 0);if(c)if(iq(c)){const u=new Headers(c);if(u.get("sentry-trace")||u.set("sentry-trace",i),r&&l&&!u.get("traceparent")&&u.set("traceparent",l),a){const d=u.get("baggage");d?th(d)||u.set("baggage",`${d},${a}`):u.set("baggage",a)}return u}else if(aq(c)){const u=[...c];u.find(h=>h[0]==="sentry-trace")||u.push(["sentry-trace",i]),r&&l&&!u.find(h=>h[0]==="traceparent")&&u.push(["traceparent",l]);const d=c.find(h=>h[0]==="baggage"&&typeof h[1]=="string"&&th(h[1]));return a&&!d&&u.push(["baggage",a]),u}else{const u="sentry-trace"in c?c["sentry-trace"]:void 0,d="traceparent"in c?c.traceparent:void 0,h="baggage"in c?c.baggage:void 0,f=h?Array.isArray(h)?[...h]:[h]:[],p=h&&(Array.isArray(h)?h.find(y=>th(y)):th(h));a&&!p&&f.push(a);const m=Object.assign({},c,{"sentry-trace":u??i,baggage:f.length>0?f.join(","):void 0});return r&&l&&!d&&(m.traceparent=l),m}else return{...s}}function sq(e,t){var n,r;if(t.response){fz(e,t.response.status);const s=(r=(n=t.response)==null?void 0:n.headers)==null?void 0:r.get("content-length");if(s){const i=parseInt(s);i>0&&e.setAttribute("http.response_content_length",i)}}else t.error&&e.setStatus({code:yn,message:"internal_error"});e.end()}function th(e){return typeof e!="string"?!1:e.split(",").some(t=>t.trim().startsWith(vf))}function iq(e){return typeof Headers<"u"&&il(e,Headers)}function aq(e){return Array.isArray(e)?e.every(t=>Array.isArray(t)&&t.length===2&&typeof t[0]=="string"):!1}function oq(e,t,n){if(e.startsWith("data:")){const i=li(e);return{name:`${t} ${i}`,attributes:N_(e,void 0,t,n)}}const r=Qp(e),s=r?Uz(r):e;return{name:`${t} ${s}`,attributes:N_(e,r,t,n)}}function N_(e,t,n,r){const s={url:li(e),type:"fetch","http.method":n,[an]:r,[cs]:"http.client"};return t&&(P9(t)||(s["http.url"]=li(t.href),s["server.address"]=t.host),t.search&&(s["http.query"]=t.search),t.hash&&(s["http.fragment"]=t.hash)),s}function mN(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const z0=qe;function lq(){return"history"in z0&&!!z0.history}function cq(){if(!("fetch"in z0))return!1;
33try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function v6(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function uq(){var n;if(typeof EdgeRuntime=="string")return!0;if(!cq())return!1;if(v6(z0.fetch))return!0;let e=!1;const t=z0.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(e=v6(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){_e&&ie.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function D9(e,t){const n="fetch",r=no(n,e);return ro(n,()=>gN(void 0,t)),r}function dq(e){const t="fetch-body-resolved",n=no(t,e);return ro(t,()=>gN(fq)),n}function gN(e,t=!1){t&&!uq()||mr(qe,"fetch",function(n){return function(...r){const s=new Error,{method:i,url:a}=pq(r),l={args:r,fetchData:{method:i,url:a},startTimestamp:fn()*1e3,virtualError:s,headers:mq(r)};return e||is("fetch",{...l}),n.apply(qe,r).then(async c=>(e?e(c):is("fetch",{...l,endTimestamp:fn()*1e3,response:c}),c),c=>{is("fetch",{...l,endTimestamp:fn()*1e3,error:c}),y1(c)&&c.stack===void 0&&(c.stack=s.stack,kr(c,"framesToPop",1));const u=De(),d=(u==null?void 0:u.getOptions().enhanceFetchErrorMessages)??"always";if(d!==!1&&c instanceof TypeError&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const p=new URL(l.fetchData.url).host;d==="always"?c.message=`${c.message} (${p})`:kr(c,"__sentry_fetch_url_host__",p)}catch{}throw c})}})}async function hq(e,t){if(e!=null&&e.body){const n=e.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let i=!0;for(;i;){let a;try{a=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:l}=await r.read();clearTimeout(a),l&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(a)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function fq(e){let t;try{t=e.clone()}catch{return}hq(t,()=>{is("fetch-body-resolved",{endTimestamp:fn()*1e3,response:e})})}function M2(e,t){return!!e&&typeof e=="object"&&!!e[t]}function I_(e){return typeof e=="string"?e:e?M2(e,"url")?e.url:e.toString?e.toString():"":""}function pq(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:I_(n),method:M2(r,"method")?String(r.method).toUpperCase():j9(n)&&M2(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:I_(t),method:M2(t,"method")?String(t.method).toUpperCase():"GET"}}function mq(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(j9(t))return new Headers(t.headers)}catch{}}const yN=qe;function Iu(){try{return yN.document.location.href}catch{return""}}function vN(e,t=5){if(!yN.HTMLElement)return null;let n=e;for(let r=0;r<t;r++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}const Oe=qe;let b6=0;function bN(){return b6>0}function gq(){b6++,setTimeout(()=>{b6--})}function su(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(C9(e))return e}catch{return e}const r=function(...s){qe._sentryWrappedDepth=(qe._sentryWrappedDepth||0)+1;try{const i=s.map(a=>su(a,t));return e.apply(this,i)}catch(i){throw gq(),Yp(a=>{a.addEventProcessor(l=>(t.mechanism&&(o6(l,void 0),Jo(l,t.mechanism)),l.extra={...l.extra,arguments:s},l)),L9(i)}),i}finally{qe._sentryWrappedDepth=(qe._sentryWrappedDepth||0)-1}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}tz(r,e),kr(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function kf(){const e=Iu(),{referrer:t}=Oe.document||{},{userAgent:n}=Oe.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function W9(e,t){const n=e3(e,t),r={type:kq(t),value:wq(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function yq(e,t,n,r){const s=De(),i=s==null?void 0:s.getOptions().normalizeDepth,a=Cq(t),l={__serialized__:sz(t,i)};if(a)return{exception:{values:[W9(e,a)]},extra:l};const c={exception:{values:[{type:Vp(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Tq(t,{isUnhandledRejection:r})}]},extra:l};if(n){const u=e3(e,n);u.length&&(c.exception.values[0].stacktrace={frames:u})}return c}function Cm(e,t){return{exception:{values:[W9(e,t)]}}}function e3(e,t){const n=t.stacktrace||t.stack||"",r=bq(t),s=_q(t);try{return e(n,r,s)}catch{}return[]}const vq=/Minified React error #\d+;/i;function bq(e){return e&&vq.test(e.message)?1:0}function _q(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function _N(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function kq(e){const t=e==null?void 0:e.name;return!t&&_N(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function wq(e){const t=e==null?void 0:e.message;return _N(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?C_(t.error):C_(e):"No error message"}function xq(e,t,n,r){const s=(n==null?void 0:n.syntheticException)||void 0,i=F9(e,t,s,r);return Jo(i),i.level="error",n!=null&&n.event_id&&(i.event_id=n.event_id),x1(i)}function Sq(e,t,n="info",r,s){const i=(r==null?void 0:r.syntheticException)||void 0,a=_6(e,t,i,s);return a.level=n,r!=null&&r.event_id&&(a.event_id=r.event_id),x1(a)}
33function F9(e,t,n,r,s){var a,l;let i;if(ez(t)&&t.error)return Cm(e,t.error);if(Wb(t)||PF(t)){const c=t;if("stack"in t){i=Cm(e,t);const u=(l=(a=i.exception)==null?void 0:a.values)==null?void 0:l[0];if(r&&n&&u&&!u.stacktrace){const d=e3(e,n);d.length&&(u.stacktrace={frames:d},Jo(i,{synthetic:!0}))}}else{const u=c.name||(Wb(c)?"DOMError":"DOMException"),d=c.message?`${u}: ${c.message}`:u;i=_6(e,d,n,r),o6(i,d)}return"code"in c&&(i.tags={...i.tags,"DOMException.code":`${c.code}`}),i}return y1(t)?Cm(e,t):S0(t)||Vp(t)?(i=yq(e,t,n,s),Jo(i,{synthetic:!0}),i):(i=_6(e,t,n,r),o6(i,`${t}`),Jo(i,{synthetic:!0}),i)}function _6(e,t,n,r){const s={};if(r&&n){const i=e3(e,n);i.length&&(s.exception={values:[{value:t,stacktrace:{frames:i}}]}),Jo(s,{synthetic:!0})}if(T9(t)){const{__sentry_template_string__:i,__sentry_template_values__:a}=t;return s.logentry={message:i,params:a},s}return s.message=t,s}function Tq(e,{isUnhandledRejection:t}){const n=LF(e),r=t?"promise rejection":"exception";return ez(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Vp(e)?`Event \`${jq(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function jq(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Cq(e){return Object.values(e).find(t=>t instanceof Error)}class Eq extends hU{constructor(t){var d;const n=zq(t),r=Oe.SENTRY_SDK_SOURCE||qB();cN(n,"browser",["browser"],r),super(n);const{userInfo:s}=this.getDataCollectionOptions();(d=n._metadata)!=null&&d.sdk&&(n._metadata.sdk.settings={infer_ip:s?"auto":"never",...n._metadata.sdk.settings});const{sendClientReports:i,enableLogs:a,_experiments:l,enableMetrics:c}=this._options,u=c??(l==null?void 0:l.enableMetrics)??!0;Oe.document&&(i||a||u)&&Oe.document.addEventListener("visibilitychange",()=>{Oe.document.visibilityState==="hidden"&&(i&&this._flushOutcomes(),a&&m6(this),u&&Xz(this))}),s&&this.on("beforeSendSession",xU)}eventFromException(t,n){return xq(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return Sq(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,s){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,s)}}function zq(e){var t;return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(t=Oe.SENTRY_RELEASE)==null?void 0:t.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const Ms=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ie=qe,Nq=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",S1=(e,t,n,r)=>{let s,i;return a=>{t.value>=0&&(a||r)&&(i=t.value-(s??0),(i||s===void 0)&&(s=t.value,t.delta=i,t.rating=Nq(t.value,n),e(t)))}},T1=(e=!0)=>{var n,r;const t=(r=(n=Ie.performance)==null?void 0:n.getEntriesByType)==null?void 0:r.call(n,"navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},Ru=()=>{const e=T1();return(e==null?void 0:e.activationStart)??0};function Oa(e,t,n){Ie.document&&Ie.addEventListener(e,t,n)}function wf(e,t,n){Ie.document&&Ie.removeEventListener(e,t,n)}let Dc=-1;const kN=new Set,Iq=()=>{var e,t;return((e=Ie.document)==null?void 0:e.visibilityState)==="hidden"&&!((t=Ie.document)!=null&&t.prerendering)?0:1/0},O2=e=>{if(Rq(e)&&Dc>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of kN)t();isFinite(Dc)||(Dc=e.type==="visibilitychange"?e.timeStamp:0,wf("prerenderingchange",O2,!0))}},j1=()=>{var e;if(Ie.document&&Dc<0){const t=Ru();Dc=(Ie.document.prerendering||(e=globalThis.performance.getEntriesByType("visibility-state").filter(r=>r.name==="hidden"&&r.startTime>t)[0])==null?void 0:e.startTime)??Iq(),Oa("visibilitychange",O2,!0),Oa("pagehide",O2,!0),Oa("prerenderingchange",O2,!0)}return{get firstHiddenTime(){return Dc},onHidden(t){kN.add(t)}}};function Rq(e){var t;return e.type==="pagehide"||((t=Ie.document)==null?void 0:t.visibilityState)==="hidden"}const Pq=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,C1=(e,t=-1)=>{var i,a;const n=T1();let r="navigate";return n&&((i=Ie.document)!=null&&i.prerendering||Ru()>0?r="prerender":(a=Ie.document)!=null&&a.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:Pq(),navigationType:r}},Em=new WeakMap;function $9(e,t){try{return Em.get(e)||Em.set(e,new t),Em.get(e)}catch{return new t}}class Aq{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(t){var s;if(t.hadRecentInput)return;const n=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&r&&t.startTime-r.startTime<1e3&&t.startTime-n.startTime<5e3?(this._sessionValue+=t.value,this._sessionEntries.push(t)):(this._sessionValue=t.value,this._sessionEntries=[t]),(s=this._onAfterProcessingUnexpectedShift)==null||s.call(this,t)}}const Pu=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(s=>{Promise.resolve().then(()=>{t(s.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},B9=e=>{let t=!1;return()=>{t||(e(),t=!0)}},t3=e=>{var t;(t=Ie.document)!=null&&t.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},Lq=[1800,3e3],Mq=(e,t={})=>{t3(()=>{const n=j1(),r=C1("FCP");let s;const a=Pu("paint",l=>{for(const c of l)c.name==="first-contentful-paint"&&(a.disconnect(),c.startTime<n.firstHiddenTime&&(r.value=Math.max(c.startTime-Ru(),0),r.entries.push(c),s(!0)))});a&&(s=S1(e,r,Lq,t.reportAllChanges))})},Oq=[.1,.25],Dq=(e,t={})=>{Mq(B9(()=>{var c;const n=C1("CLS",0);let r;const s=j1(),i=$9(t,Aq),a=u=>{for(const d of u)i._processEntry(d);i._sessionValue>
33n.value&&(n.value=i._sessionValue,n.entries=i._sessionEntries,r())},l=Pu("layout-shift",a);l&&(r=S1(e,n,Oq,t.reportAllChanges),s.onHidden(()=>{a(l.takeRecords()),r(!0)}),(c=Ie==null?void 0:Ie.setTimeout)==null||c.call(Ie,r))}))};let wN=0,zm=1/0,nh=0;const Wq=e=>{e.forEach(t=>{t.interactionId&&(zm=Math.min(zm,t.interactionId),nh=Math.max(nh,t.interactionId),wN=nh?(nh-zm)/7+1:0)})};let k6;const xN=()=>k6?wN:performance.interactionCount||0,Fq=()=>{"interactionCount"in performance||k6||(k6=Pu("event",Wq,{type:"event",buffered:!0,durationThreshold:0}))},Nm=10;let SN=0;const $q=()=>xN()-SN;class Bq{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){SN=xN(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor($q()/50));return this._longestInteractionList[t]}_processEntry(t){var s,i;if((s=this._onBeforeProcessingEntry)==null||s.call(this,t),!(t.interactionId||t.entryType==="first-input"))return;const n=this._longestInteractionList.at(-1);let r=this._longestInteractionMap.get(t.interactionId);if(r||this._longestInteractionList.length<Nm||t.duration>n._latency){if(r?t.duration>r._latency?(r.entries=[t],r._latency=t.duration):t.duration===r._latency&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((a,l)=>l._latency-a._latency),this._longestInteractionList.length>Nm){const a=this._longestInteractionList.splice(Nm);for(const l of a)this._longestInteractionMap.delete(l.id)}(i=this._onAfterProcessingINPCandidate)==null||i.call(this,r)}}}const TN=e=>{var n;const t=Ie.requestIdleCallback||Ie.setTimeout;((n=Ie.document)==null?void 0:n.visibilityState)==="hidden"?e():(e=B9(e),Oa("visibilitychange",e,{once:!0,capture:!0}),Oa("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),wf("visibilitychange",e,{capture:!0}),wf("pagehide",e,{capture:!0})}))},Uq=[200,500],qq=40,Hq=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const n=j1();t3(()=>{Fq();const r=C1("INP");let s;const i=$9(t,Bq),a=c=>{TN(()=>{for(const d of c)i._processEntry(d);const u=i._estimateP98LongestInteraction();u&&u._latency!==r.value&&(r.value=u._latency,r.entries=u.entries,s())})},l=Pu("event",a,{durationThreshold:t.durationThreshold??qq});s=S1(e,r,Uq,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{a(l.takeRecords()),s(!0)}))})};class Gq{_processEntry(t){var n;(n=this._onBeforeProcessingEntry)==null||n.call(this,t)}}const Kq=[2500,4e3],Vq=(e,t={})=>{t3(()=>{const n=j1(),r=C1("LCP");let s;const i=$9(t,Gq),a=c=>{t.reportAllChanges||(c=c.slice(-1));for(const u of c)i._processEntry(u),u.startTime<n.firstHiddenTime&&(r.value=Math.max(u.startTime-Ru(),0),r.entries=[u],s())},l=Pu("largest-contentful-paint",a);if(l){s=S1(e,r,Kq,t.reportAllChanges);const c=B9(()=>{a(l.takeRecords()),l.disconnect(),s(!0)}),u=d=>{d.isTrusted&&(TN(c),wf(d.type,u,{capture:!0}))};for(const d of["keydown","click","visibilitychange"])Oa(d,u,{capture:!0})}})},Yq=[800,1800],w6=e=>{var t,n;(t=Ie.document)!=null&&t.prerendering?t3(()=>w6(e)):((n=Ie.document)==null?void 0:n.readyState)!=="complete"?addEventListener("load",()=>w6(e),!0):setTimeout(e)},Jq=(e,t={})=>{const n=C1("TTFB"),r=S1(e,n,Yq,t.reportAllChanges);w6(()=>{const s=T1();s&&(n.value=Math.max(s.responseStart-Ru(),0),n.entries=[s],r(!0))})},Jd={},xf={};let jN,CN,EN,zN;function n3(e,t=!1){return s3("cls",e,Xq,jN,t)}function r3(e,t=!1){return s3("lcp",e,Qq,CN,t)}function Zq(e){return s3("ttfb",e,eH,EN)}function U9(e){return s3("inp",e,tH,zN)}function ol(e,t){return NN(e,t),xf[e]||(nH(e),xf[e]=!0),IN(e,t)}function E1(e,t){const n=Jd[e];if(n!=null&&n.length)for(const r of n)try{r(t)}catch(s){Ms&&ie.error(`Error while triggering instrumentation handler.
34Type: ${e}
35Name: ${Ji(r)}
36Error:`,s)}}function Xq(){return Dq(e=>{E1("cls",{metric:e}),jN=e},{reportAllChanges:!0})}function Qq(){return Vq(e=>{E1("lcp",{metric:e}),CN=e},{reportAllChanges:!0})}function eH(){return Jq(e=>{E1("ttfb",{metric:e}),EN=e})}function tH(){return Hq(e=>{E1("inp",{metric:e}),zN=e})}function s3(e,t,n,r,s=!1){NN(e,t);let i;return xf[e]||(i=n(),xf[e]=!0),r&&t({metric:r}),IN(e,t,s?i:void 0)}function nH(e){const t={};e==="event"&&(t.durationThreshold=0),Pu(e,n=>{E1(e,{entries:n})},t)}function NN(e,t){Jd[e]=Jd[e]||[],Jd[e].push(t)}function IN(e,t,n){return()=>{n&&n();const r=Jd[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function rH(e){return"duration"in e}const sH=80;function pn(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let i=0,a=0;const l=" > ",c=l.length;let u;const d=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||sH;for(;n&&i++<r&&(u=iH(n,d),!(u==="html"||i>1&&a+s.length*c+u.length>=h));)s.push(u),a+=u.length,n=n.parentNode;return s.reverse().join(l)}catch{return"<unknown>"}}function iH(e,t){const n=e,r=[];if(!(n!=null&&n.tagName))return"";if(typeof HTMLElement<"u"&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=t!=null&&t.length?t.filter(i=>n.getAttribute(i)).map(i=>[i,n.getAttribute(i)]):null;if(s!=null&&s.length)s.forEach(i=>
36{r.push(`[${i[0]}="${i[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const i=n.className;if(i&&qi(i)){const a=i.split(/\s+/);for(const l of a)r.push(`.${l}`)}}for(const i of["aria-label","type","name","title","alt"]){const a=n.getAttribute(i);a&&r.push(`[${i}="${a}"]`)}return r.join("")}const aH=e=>{const t=n=>{var r;(n.type==="pagehide"||((r=Ie.document)==null?void 0:r.visibilityState)==="hidden")&&e(n)};Oa("visibilitychange",t,{capture:!0,once:!0}),Oa("pagehide",t,{capture:!0,once:!0})};function Im(e){return typeof e=="number"&&isFinite(e)}function Ja(e,t,n,{...r}){const s=rt(e).start_timestamp;return s&&s>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),Wz(e,()=>{const i=lo({startTime:t,...r});return i&&i.end(n),i})}function q9(e){var _;const t=De();if(!t)return;const{name:n,transaction:r,attributes:s,startTime:i}=e,{release:a,environment:l}=t.getOptions(),{userInfo:c}=t.getDataCollectionOptions(),u=t.getIntegrationByName("Replay"),d=u==null?void 0:u.getReplayId(),h=ot(),f=h.getUser(),p=f!==void 0?f.email||f.id||f.ip_address:void 0;let m;try{m=h.getScopeData().contexts.profile.profile_id}catch{}const y={release:a,environment:l,user:p||void 0,profile_id:m||void 0,replay_id:d||void 0,transaction:r,"user_agent.original":(_=Ie.navigator)==null?void 0:_.userAgent,"client.address":c?"{{auto}}":void 0,...s};return lo({name:n,attributes:y,startTime:i,experimental:{standalone:!0}})}function Au(){return Ie.addEventListener&&Ie.performance}function zt(e){return e/1e3}function oH(e){let t="unknown",n="unknown",r="";for(const s of e){if(s==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(s))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=s}return r===e&&(t=r),{name:t,version:n}}function i3(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function a3(e,t){let n,r=!1;function s(l){!r&&n&&t(l,n.spanContext().spanId,n),r=!0}aH(()=>{s("pagehide")});const i=e.on("beforeStartNavigationSpan",(l,c)=>{c!=null&&c.isRedirect||(s("navigation"),i(),a())}),a=e.on("afterStartPageLoadSpan",l=>{n=l,a()})}function lH(e){let t=0,n;if(!i3("layout-shift"))return;const r=n3(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);a3(e,(s,i)=>{cH(t,n,i,s),r()})}function cH(e,t,n,r){var u;Ms&&ie.log(`Sending CLS span (${e})`);const s=t?zt((kn()||0)+t.startTime):fn(),i=ot().getScopeData().transactionName,a=t?pn((u=t.sources[0])==null?void 0:u.node):"Layout shift",l={[an]:"auto.http.browser.cls",[cs]:"ui.webvital.cls",[io]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t!=null&&t.sources&&t.sources.forEach((d,h)=>{l[`cls.source.${h+1}`]=pn(d.node)});const c=q9({name:a,transaction:i,attributes:l,startTime:s});c&&(c.addEvent("cls",{[k1]:"",[w1]:e}),c.end(s))}const uH=6e4;function z1(e){return e!=null&&e>0&&e<=uH}function dH(e){let t=0,n;if(!i3("largest-contentful-paint"))return;const r=r3(({metric:s})=>{const i=s.entries[s.entries.length-1];!i||!z1(s.value)||(t=s.value,n=i)},!0);a3(e,(s,i)=>{hH(t,n,i,s),r()})}function hH(e,t,n,r){if(!z1(e))return;Ms&&ie.log(`Sending LCP span (${e})`);const s=zt((kn()||0)+((t==null?void 0:t.startTime)||0)),i=ot().getScopeData().transactionName,a=t?pn(t.element):"Largest contentful paint",l={[an]:"auto.http.browser.lcp",[cs]:"ui.webvital.lcp",[io]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(l["lcp.element"]=pn(t.element)),t.id&&(l["lcp.id"]=t.id),t.url&&(l["lcp.url"]=t.url),t.loadTime!=null&&(l["lcp.loadTime"]=t.loadTime),t.renderTime!=null&&(l["lcp.renderTime"]=t.renderTime),t.size!=null&&(l["lcp.size"]=t.size));const c=q9({name:a,transaction:i,attributes:l,startTime:s});c&&(c.addEvent("lcp",{[k1]:"millisecond",[w1]:e}),c.end(s))}function Gr(e){return e&&((kn()||performance.timeOrigin)+e)/1e3}function RN(e){var n;const t={};if(e.nextHopProtocol!=null){const{name:r,version:s}=oH(e.nextHopProtocol);t["network.protocol.version"]=s,t["network.protocol.name"]=r}return kn()||(n=Au())!=null&&n.timeOrigin?fH({...t,"http.request.redirect_start":Gr(e.redirectStart),"http.request.redirect_end":Gr(e.redirectEnd),"http.request.worker_start":Gr(e.workerStart),"http.request.fetch_start":Gr(e.fetchStart),"http.request.domain_lookup_start":Gr(e.domainLookupStart),"http.request.domain_lookup_end":Gr(e.domainLookupEnd),"http.request.connect_start":Gr(e.connectStart),"http.request.secure_connection_start":Gr(e.secureConnectionStart),"http.request.connection_end":Gr(e.connectEnd),"http.request.request_start":Gr(e.requestStart),"http.request.response_start":Gr(e.responseStart),"http.request.response_end":Gr(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function fH(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const pH=2147483647;let R_=0,fr={},cr,hc;function mH({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=Au();if(r&&kn()){r.mark&&Ie.performance.mark("sentry-tracing-init");const s=t?dH(n):t===!1?_H():void 0,i=e?lH(n):e===!1?bH():void 0,a=kH(),l=wH();return()=>{a(),l(),s==null||s(),i==null||i()}}return()=>{}}function gH(){ol("longtask",({entries:e})=>{const t=Bn();if(!t)return;const{op:n,start_timestamp:r}=rt(t);for(const s of e){const i=zt(kn()+s.startTime),a=zt(s.duration);n==="navigation"&&r&&i<r||Ja(t,i,i+a,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[an]:"auto.ui.browser.metrics"}})}})}function yH(){new PerformanceObserver(t=>{const n=Bn();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const s=zt(kn()+r.startTime),{start_timestamp:i,op:a}=rt(n);if(a==="navigation"&&i&&s<i)continue;const l=zt(r.duration),c={[an]:"auto.ui.browser.metrics"},u=r.scripts[0],{invoker:d,invokerType:h,sourceURL:f,sourceFunctionName:p,sourceCharPosition:m}=u;c["browser.script.invoker"]=d,c["browser.script.invoker_type"]=h,f&&(c["code.filepath"]=f),p&&(c["code.function"]=p),m!==-1&&(c["browser.script.source_char_position"]=m),Ja(n,s,s+l,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0})}function vH(){ol("event",({entries:e})=>{const t=Bn();if(t){for(const n of e)if(n.name==="click"){const r=zt(kn()+n.startTime),s=zt(n.duration),i={name:pn(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[an]:"auto.ui.browser.metrics"}},a=vN(n.target);a&&(i.attributes["ui.component_name"]=a),Ja(t,r,r+s,i)}}})}function bH(){return n3(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(fr.cls={value:e.value,unit:""},hc=t)},!0)}function _H(){return r3(({metric:e})=>{const t=e.entries[e.entries.length-1];!t||!z1(e.value)||(fr.lcp={value:e.value,unit:"millisecond"},cr=t)},!0)}function kH(){return Zq(({metric:e})=>
36{e.entries[e.entries.length-1]&&(fr.ttfb={value:e.value,unit:"millisecond"})})}function wH(){return ol("paint",({entries:e})=>{const t=j1();for(const n of e){const r=n.startTime<t.firstHiddenTime;n.name==="first-paint"&&r&&(fr.fp={value:n.startTime,unit:"millisecond"}),n.name==="first-contentful-paint"&&r&&(fr.fcp={value:n.startTime,unit:"millisecond"})}})}function xH(e,t){const n=Au(),r=kn();if(!(n!=null&&n.getEntries)||!r)return;const{spanStreamingEnabled:s,ignorePerformanceApiSpans:i,ignoreResourceSpans:a}=t,l=zt(r),c=n.getEntries(),{op:u,start_timestamp:d}=rt(e);c.slice(R_).forEach(h=>{const f=zt(h.startTime),p=zt(Math.max(0,h.duration));if(!(u==="navigation"&&d&&l+f<d))switch(h.entryType){case"navigation":{EH(e,h,l);break}case"mark":case"paint":case"measure":{jH(e,h,f,p,l,i);break}case"resource":{IH(e,h,h.name,f,p,l,a);break}}}),R_=Math.max(c.length-1,0),RH(e,s)}function SH(e,t){var l;const n=kn();if(!((l=Au())!=null&&l.getEntries)||!n){P_();return}const{spanStreamingEnabled:r,recordClsOnPageloadSpan:s,recordLcpOnPageloadSpan:i}=t,a=zt(n);if(rt(e).op==="pageload"){if(LH(fr),r){const c=(u,d,h)=>{const f=h??`browser.web_vital.${u}.value`;e.setAttribute(f,d),Ms&&ie.log("Setting web vital attribute",{[f]:d},"on pageload span")};["ttfb","fp","fcp"].forEach(u=>{fr[u]&&c(u,fr[u].value)}),fr["ttfb.requestTime"]&&c("ttfb.requestTime",fr["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else s||delete fr.cls,i||delete fr.lcp,Object.entries(fr).forEach(([c,u])=>{Dz(c,u.value,u.unit,e)}),PH(e,t);e.setAttribute(r?"browser.performance.time_origin":"performance.timeOrigin",a),e.setAttribute(r?"browser.performance.navigation.activation_start":"performance.activationStart",Ru())}P_()}function P_(){cr=void 0,hc=void 0,fr={}}function TH(e){if((e==null?void 0:e.entryType)==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function jH(e,t,n,r,s,i){if(TH(t)||["mark","measure"].includes(t.entryType)&&ai(t.name,i))return;const a=T1(!1),l=zt(a?a.requestStart:0),c=s+Math.max(n,l),u=s+n,d=u+r,h={[an]:"auto.resource.browser.metrics"};c!==u&&(h["sentry.browser.measure_happened_before_request"]=!0,h["sentry.browser.measure_start_time"]=c),CH(h,t),c<=d&&Ja(e,c,d,{name:t.name,op:t.entryType,attributes:h})}function CH(e,t){try{const n=t.detail;if(!n)return;if(typeof n=="object"){for(const[r,s]of Object.entries(n))if(s&&sl(s))e[`sentry.browser.measure.detail.${r}`]=s;else if(s!==void 0)try{e[`sentry.browser.measure.detail.${r}`]=JSON.stringify(s)}catch{}return}if(sl(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function EH(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{rh(e,t,r,n)}),rh(e,t,"secureConnection",n,"TLS/SSL"),rh(e,t,"fetch",n,"cache"),rh(e,t,"domainLookup",n,"DNS"),NH(e,t,n)}function rh(e,t,n,r,s=n){const i=zH(n),a=t[i],l=t[`${n}Start`];!l||!a||Ja(e,r+zt(l),r+zt(a),{op:`browser.${s}`,name:t.name,attributes:{[an]:"auto.ui.browser.metrics",...n==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function zH(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function NH(e,t,n){const r=n+zt(t.requestStart),s=n+zt(t.responseEnd),i=n+zt(t.responseStart);t.responseEnd&&(Ja(e,r,s,{op:"browser.request",name:t.name,attributes:{[an]:"auto.ui.browser.metrics"}}),Ja(e,i,s,{op:"browser.response",name:t.name,attributes:{[an]:"auto.ui.browser.metrics"}}))}function IH(e,t,n,r,s,i,a){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const l=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(a!=null&&a.includes(l))return;const c={[an]:"auto.resource.browser.metrics"},u=Xo(n);u.protocol&&(c["url.scheme"]=u.protocol.split(":").pop()),u.host&&(c["server.address"]=u.host),c["url.same_origin"]=n.includes(Ie.location.origin),AH(t,c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const d={...c,...RN(t)},h=i+r,f=h+s;Ja(e,h,f,{name:n.replace(Ie.location.origin,""),op:l,attributes:d})}function RH(e,t){const n=Ie.navigator;if(!n)return;const r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),Im(r.rtt)&&(t?e.setAttribute("network.connection.rtt",r.rtt):rt(e).op==="pageload"&&Dz("connection.rtt",r.rtt,"millisecond"))),Im(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),Im(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}function PH(e,t){cr&&t.recordLcpOnPageloadSpan&&(cr.element&&e.setAttribute("lcp.element",pn(cr.element)),cr.id&&e.setAttribute("lcp.id",cr.id),cr.url&&e.setAttribute("lcp.url",cr.url.trim().slice(0,200)),cr.loadTime!=null&&e.setAttribute("lcp.loadTime",cr.loadTime),cr.renderTime!=null&&e.setAttribute("lcp.renderTime",cr.renderTime),e.setAttribute("lcp.size",cr.size)),hc!=null&&hc.sources&&t.recordClsOnPageloadSpan&&hc.sources.forEac
36h((n,r)=>e.setAttribute(`cls.source.${r+1}`,pn(n.node)))}function AH(e,t,n){n.forEach(([r,s])=>{const i=e[r];i!=null&&(typeof i=="number"&&i<pH||typeof i=="string")&&(t[s]=i)})}function LH(e){const t=T1(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const Rm=[],Zd=new Map,Il=new Map,PN=60;function MH(){if(Au()&&kn()){const t=OH();return()=>{t()}}return()=>{}}const N0={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function OH(){return U9(DH)}const DH=({metric:e})=>{if(e.value==null)return;const t=zt(e.value);if(t>PN)return;const n=e.entries.find(m=>m.duration===e.value&&N0[m.name]);if(!n)return;const{interactionId:r}=n,s=N0[n.name],i=zt(kn()+n.startTime),a=Bn(),l=a?zn(a):void 0,c=r!=null?Zd.get(r):void 0,u=(c==null?void 0:c.span)||l,d=u?rt(u).description:ot().getScopeData().transactionName,h=(c==null?void 0:c.elementName)||pn(n.target),f={[an]:"auto.http.browser.inp",[cs]:`ui.interaction.${s}`,[io]:n.duration},p=q9({name:h,transaction:d,attributes:f,startTime:i});p&&(p.addEvent("inp",{[k1]:"millisecond",[w1]:e.value}),p.end(i+t))};function WH(e){return e!=null?Zd.get(e):void 0}function FH(){const e=Object.keys(N0);ru()&&e.forEach(s=>{Ie.addEventListener(s,t,{capture:!0,passive:!0})});function t(s){const i=s.target;if(!i)return;const a=pn(i),l=Math.round(s.timeStamp);if(Il.set(l,a),Il.size>50){const c=Il.keys().next().value;c!==void 0&&Il.delete(c)}}function n(s){const i=Math.round(s.startTime);let a=Il.get(i);if(!a)for(let l=-5;l<=5;l++){const c=Il.get(i+l);if(c){a=c;break}}return a||"<unknown>"}const r=({entries:s})=>{const i=Bn(),a=i&&zn(i);s.forEach(l=>{if(!rH(l))return;const c=l.interactionId;if(c==null||Zd.has(c))return;const u=l.target?pn(l.target):n(l);if(Rm.length>10){const d=Rm.shift();Zd.delete(d)}Rm.push(c),Zd.set(c,{span:a,elementName:u})})};ol("event",r),ol("first-input",r)}function H9(e){var m,y;const{name:t,op:n,origin:r,metricName:s,value:i,attributes:a,parentSpan:l,reportEvent:c,startTime:u,endTime:d}=e,h=ot().getScopeData().transactionName,f={[an]:r,[cs]:n,[io]:0,[`browser.web_vital.${s}.value`]:i,"sentry.transaction":h,"user_agent.original":(m=Ie.navigator)==null?void 0:m.userAgent,...a};l&&((y=Tz(l).attributes)==null?void 0:y[cs])==="pageload"&&(f["sentry.pageload.span_id"]=l.spanContext().spanId),c&&(f[`browser.web_vital.${s}.report_event`]=c);const p=lo({name:t,attributes:f,startTime:u,parentSpan:l});p&&p.end(d??u)}function $H(e){let t=0,n;if(!i3("largest-contentful-paint"))return;const r=r3(({metric:s})=>{const i=s.entries[s.entries.length-1];!i||!z1(s.value)||(t=s.value,n=i)},!0);a3(e,(s,i,a)=>{BH(t,n,a,s),r()})}function BH(e,t,n,r){if(!z1(e))return;Ms&&ie.log(`Sending LCP span (${e})`);const s=kn()||0,i=zt(s),a=zt(s+((t==null?void 0:t.startTime)||0)),l=t?pn(t.element):"Largest contentful paint",c={};t!=null&&t.element&&(c["browser.web_vital.lcp.element"]=pn(t.element)),t!=null&&t.id&&(c["browser.web_vital.lcp.id"]=t.id),t!=null&&t.url&&(c["browser.web_vital.lcp.url"]=t.url),(t==null?void 0:t.loadTime)!=null&&(c["browser.web_vital.lcp.load_time"]=t.loadTime),(t==null?void 0:t.renderTime)!=null&&(c["browser.web_vital.lcp.render_time"]=t.renderTime),(t==null?void 0:t.size)!=null&&(c["browser.web_vital.lcp.size"]=t.size),H9({name:l,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:c,parentSpan:n,reportEvent:r,startTime:i,endTime:a})}function UH(e){let t=0,n;if(!i3("layout-shift"))return;const r=n3(({metric:s})=>{const i=s.entries[s.entries.length-1];i&&(t=s.value,n=i)},!0);a3(e,(s,i,a)=>{qH(t,n,a,s),r()})}function qH(e,t,n,r){var l;Ms&&ie.log(`Sending CLS span (${e})`);const s=t?zt((kn()||0)+t.startTime):fn(),i=t?pn((l=t.sources[0])==null?void 0:l.node):"Layout shift",a={};
36t!=null&&t.sources&&t.sources.forEach((c,u)=>{a[`browser.web_vital.cls.source.${u+1}`]=pn(c.node)}),H9({name:i,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:a,parentSpan:n,reportEvent:r,startTime:s})}function HH(){if(!Au()||!kn())return;U9(({metric:n})=>{if(n.value==null||zt(n.value)>PN)return;const s=n.entries.find(i=>i.duration===n.value&&N0[i.name]);s&&GH(n.value,s)})}function GH(e,t){Ms&&ie.log(`Sending INP span (${e})`);const n=zt(kn()+t.startTime),r=zt(e),s=N0[t.name],i=WH(t.interactionId),a=Bn(),l=a?zn(a):void 0,c=(i==null?void 0:i.span)||l,u=c?Tz(c).name:ot().getScopeData().transactionName,d=(i==null?void 0:i.elementName)||pn(t.target);H9({name:d,op:`ui.interaction.${s}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[io]:t.duration,"sentry.transaction":u},startTime:n,endTime:n+r,parentSpan:c})}const KH=1e3;let A_,x6,S6;function AN(e){const t="dom";no(t,e),ro(t,VH)}function VH(){if(!Ie.document)return;const e=is.bind(null,"dom"),t=L_(e,!0);Ie.document.addEventListener("click",t,!1),Ie.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var i,a;const s=(i=Ie[n])==null?void 0:i.prototype;(a=s==null?void 0:s.hasOwnProperty)!=null&&a.call(s,"addEventListener")&&(mr(s,"addEventListener",function(l){return function(c,u,d){if(c==="click"||c=="keypress")try{const h=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},f=h[c]=h[c]||{refCount:0};if(!f.handler){const p=L_(e);f.handler=p,l.call(this,c,p,d)}f.refCount++}catch{}return l.call(this,c,u,d)}}),mr(s,"removeEventListener",function(l){return function(c,u,d){if(c==="click"||c=="keypress")try{const h=this.__sentry_instrumentation_handlers__||{},f=h[c];f&&(f.refCount--,f.refCount<=0&&(l.call(this,c,f.handler,d),f.handler=void 0,delete h[c]),Object.keys(h).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return l.call(this,c,u,d)}}))})}function YH(e){if(e.type!==x6)return!1;try{if(!e.target||e.target._sentryId!==S6)return!1}catch{}return!0}function JH(e,t){return e!=="keypress"?!1:t!=null&&t.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function L_(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=ZH(n);if(JH(n.type,r))return;kr(n,"_sentryCaptured",!0),r&&!r._sentryId&&kr(r,"_sentryId",Mr());
36const s=n.type==="keypress"?"input":n.type;YH(n)||(e({event:n,name:s,global:t}),x6=n.type,S6=r?r._sentryId:void 0),clearTimeout(A_),A_=Ie.setTimeout(()=>{S6=void 0,x6=void 0},KH)}}function ZH(e){try{return e.target}catch{return null}}let sh;function o3(e){const t="history";no(t,e),ro(t,XH)}function XH(){if(Ie.addEventListener("popstate",()=>{const t=Ie.location.href,n=sh;if(sh=t,n===t)return;is("history",{from:n,to:t})}),!lq())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=sh,i=QH(String(r));if(sh=i,s===i)return t.apply(this,n);is("history",{from:s,to:i})}return t.apply(this,n)}}mr(Ie.history,"pushState",e),mr(Ie.history,"replaceState",e)}function QH(e){try{return new URL(e,Ie.location.origin).toString()}catch{return e}}const D2={};function LN(e){const t=D2[e];if(t)return t;let n=Ie[e];if(v6(n))return D2[e]=n.bind(Ie);const r=Ie.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const i=s.contentWindow;i!=null&&i[e]&&(n=i[e]),r.head.removeChild(s)}catch(s){Ms&&ie.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,s)}return n&&(D2[e]=n.bind(Ie))}function eG(e){D2[e]=void 0}function N1(...e){return LN("setTimeout")(...e)}const Fo="__sentry_xhr_v3__";function MN(e){const t="xhr";no(t,e),ro(t,tG)}function tG(){if(!Ie.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,i=fn()*1e3,a=qi(r[0])?r[0].toUpperCase():void 0,l=nG(r[1]);if(!a||!l)return t.apply(n,r);n[Fo]={method:a,url:l,request_headers:{}},a==="POST"&&l.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[Fo];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const d={endTimestamp:fn()*1e3,startTimestamp:i,xhr:n,virtualError:s};is("xhr",d)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,d,h){return c(),u.apply(d,h)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,d,h){const[f,p]=h,m=d[Fo];return m&&qi(f)&&qi(p)&&(m.request_headers[f.toLowerCase()]=p),u.apply(d,h)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[Fo];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const i={startTimestamp:fn()*1e3,xhr:n};return is("xhr",i),t.apply(n,r)}})}function nG(e){if(qi(e))return e;try{return e.toString()}catch{}}const rG=Symbol.for("sentry__originalRequestBody");function ON(e){return new URLSearchParams(e).toString()}function DN(e,t=ie){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[ON(e)];if(!e)return[void 0]}catch(n){return Ms&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Ms&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function WN(e=[]){if(e.length>=2&&e[1]&&typeof e[1]=="object"&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){const n=e[0][rG];return n!==void 0?n:void 0}}function FN(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return Ms&&ie.error(n,"Failed to get xhr response headers",e),{}}return t?t.split(`\r
37`).reduce((n,r)=>{const[s,i]=r.split(": ");return i&&(n[s.toLowerCase()]=i),n},{}):{}}function sG(e){if(typeof Element>"u")return!1;try{return e instanceof Element}catch{return!1}}const iG=40;function aG(e,t=LN("fetch")){let n=0,r=0;async function s(i){const a=i.body.length;n+=a,r++;const l={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{const c=await t(e.url,l);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw eG("fetch"),c}finally{n-=a,r--}}return sU(e,s,O9(e.bufferSize||iG))}const Qn=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,oG=30,lG=50;function T6(e,t,n,r){const s={filename:e,function:t==="<anonymous>"?rl:t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const cG=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,uG=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,dG=/\((\S*)(?::(\d+))(?::(\d+))\)/,hG=/at (.+?) ?\(data:(.+?),/,fG=e=>{var s;const t=e.match(hG);
vendor: 4,228 bytes, line 37
37if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=cG.exec(e);if(n){const[,i,a,l]=n;return T6(i,rl,+a,+l)}const r=uG.exec(e);if(r){if(((s=r[2])==null?void 0:s.indexOf("eval"))===0){const c=dG.exec(r[2]);c&&(r[2]=c[1],r[3]=c[2],r[4]=c[3])}const[a,l]=$N(r[1]||rl,r[2]);return T6(l,a,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},pG=[oG,fG],mG=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,gG=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,yG=e=>{const t=mG.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=gG.exec(t[3]);i&&(t[1]=t[1]||"eval",t[3]=i[1],t[4]=i[2],t[5]="")}let r=t[3],s=t[1]||rl;return[s,r]=$N(s,r),T6(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},vG=[lG,yG],bG=[pG,vG],_G=JE(...bG),$N=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:rl,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},ih=1024,kG="Breadcrumbs",wG=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:kG,setup(n){t.console&&qU(jG(n)),t.dom&&AN(TG(n,t.dom)),t.xhr&&MN(CG(n)),t.fetch&&D9(EG(n)),t.history&&o3(zG(n)),t.sentry&&n.on("beforeSendEvent",SG(n))}}},xG=wG;function SG(e){return function(n){De()===e&&Ya({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Lo(n)},{event:n})}}function TG(e,t){return function(r){if(De()!==e)return;let s,i,a=typeof t=="object"?t.serializeAttribute:void 0,l=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;l&&l>ih&&(Qn&&ie.warn(`\`dom.maxStringLength\` cannot exceed ${ih}, but a value of ${l} was configured. Sentry will use ${ih} instead.`),l=ih),typeof a=="string"&&(a=[a]);try{const u=r.event,d=NG(u)?u.target:u;s=pn(d,{keyAttrs:a,maxStringLength:l}),i=vN(d)}catch{s="<unknown>"}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};i&&(c.data={"ui.component_name":i}),Ya(c,{event:r.event,name:r.name,global:r.global})}}function jG(e){return function(n){if(De()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:hN(n.level),message:$b(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${$b(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Ya(r,{input:n.args,level:n.level})}}function CG(e){return function(n){if(De()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,i=n.xhr[Fo];if(!r||!s||!i)return;const{method:a,url:l,status_code:c,body:u}=i,d={method:a,url:l,status_code:c},h={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},f={category:"xhr",data:d,type:"http",level:mN(c)};e.emit("beforeOutgoingRequestBreadcrumb",f,h),Ya(f,h)}}function EG(e){return function(n){if(De()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},a={category:"fetch",data:n.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,i),Ya(a,i)}else{const i=n.response,a={...n.fetchData,status_code:i==null?void 0:i.status},l={input:n.args,response:i,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:a,type:"http",level:mN(a.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,l),Ya(c,l)}}}function zG(e){return function(n){if(De()!==e)return;let r=n.from,s=n.to;const i=Xo(Oe.location.href);let a=r?Xo(r):void 0;const l=Xo(s);a!=null&&a.path||(a=i),i.protocol===l.protocol&&i.host===l.host&&(s=l.relative),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),Ya({category:"navigation",data:{from:r,to:s}})}}function NG(e){return!!e&&!!e.target}const IG="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".
37split(","),RG="BrowserApiErrors",PG=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:RG,setupOnce(){t.setTimeout&&mr(Oe,"setTimeout",M_),t.setInterval&&mr(Oe,"setInterval",M_),t.requestAnimationFrame&&mr(Oe,"requestAnimationFrame",LG),t.XMLHttpRequest&&"XMLHttpRequest"in Oe&&mr(XMLHttpRequest.prototype,"send",MG);const n=t.eventTarget;n&&(Array.isArray(n)?n:IG).forEach(s=>OG(s,t))}}},AG=PG;function M_(e){return function(...t){const n=t[0];return t[0]=su(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Ji(e)}`}}),e.apply(this,t)}}function LG(e){return function(t){return e.apply(this,[su(t,{mechanism:{data:{handler:Ji(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function MG(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&mr(n,s,function(i){const a={mechanism:{data:{handler:Ji(i)},handled:!1,type:`auto.browser.browserapierrors.xhr.${s}`}},l=C9(i);return l&&(a.mechanism.data.handler=Ji(l)),su(i,a)})}),e.apply(this,t)}}function OG(e,t){var s,i;const r=(s=Oe[e])==null?void 0:s.prototype;(i=r==null?void 0:r.hasOwnProperty)!=null&&i.call(r,"addEventListener")&&(mr(r,"addEventListener",function(a){return function(l,c,u){try{DG(c)&&(c.handleEvent=su(c.handleEvent,{mechanism:{data:{handler:Ji(c),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&WG(this,l,c),a.apply(this,[l,su(c,{mechanism:{data:{handler:Ji(c),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),u])}}),mr(r,"removeEventListener",function(a){return function(l,c,u){try{const d=c.__sentry_wrapped__;d&&a.call(this,l,d,u)}catch{}return a.call(this,l,c,u)}}))}function DG(e){return typeof e.handleEvent=="function"}function WG(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const FG=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof Oe.document>"u"){Qn&&ie.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}d_({ignoreDuration:!0}),Tm();const n=$r();let r=n.getUser();n.addScopeListener(s=>{const i=s.getUser();((r==null?void 0:r.id)!==(i==null?void 0:i.id)||(r==null?void 0:r.ip_address)!==(i==null?void 0:i.ip_address))&&(Tm(),r=i)}),t==="route"&&o3(({from:s,to:i})=>{s!==i&&(d_({ignoreDuration:!0}),Tm())})}}},$G="CultureContext",BG=()=>({name:$G,preprocessEvent(e){var n;const t=O_();t&&(e.contexts={...e.contexts,culture:{...t,...(n=e.contexts)==null?void 0:n.culture}})},processSegmentSpan(e){const t=O_();t&&bf(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}}),UG=BG;function O_(){try{const e=Oe.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}const qG="GlobalHandlers",HG=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:qG,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(KG(n),D_("onerror")),t.onunhandledrejection&&(VG(n),D_("onunhandledrejection"))}}},GG=HG;function KG(e){ZE(t=>{const{stackParser:n,attachStacktrace:r}=BN();if(De()!==e||bN())return;const{msg:s,url:i,line:a,column:l,error:c}=t,u=ZG(F9(n,c||s,void 0,r,!1),i,a,l);u.level="error",Hz(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function VG(e){XE(t=>{const{stackParser:n,attachStacktrace:r}=BN();if(De()!==e||bN())return;const s=YG(t),i=sl(s)?JG(s):F9(n,s,void 0,r,!0);i.level="error",Hz(i,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function YG(e){if(sl(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function JG(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function ZG(e,t,n,r){const s=e.exception=e.exception||{},i=s.values=s.values||[],a=i[0]=i[0]||{},l=a.stacktrace=a.stacktrace||{},c=l.frames=l.frames||[];
37return c.length===0&&c.push({colno:r,lineno:n,filename:XG(t)??Iu(),function:rl,in_app:!0}),e}function D_(e){Qn&&ie.log(`Global Handler attached: ${e}`)}function BN(){const e=De();return(e==null?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function XG(e){if(!(!qi(e)||e.length===0))return e.startsWith("data:")?`<${li(e,!1)}>`:e}const QG=()=>({name:"HttpContext",preprocessEvent(e){var r;if(!Oe.navigator&&!Oe.location&&!Oe.document)return;const t=kf(),n={...t.headers,...(r=e.request)==null?void 0:r.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){if(!Oe.navigator&&!Oe.location&&!Oe.document)return;const t=kf();bf(e,{"url.full":t.url||void 0,"http.request.header.user_agent":t.headers["User-Agent"],"http.request.header.referer":t.headers.Referer})}}),eK="cause",tK=5,nK="LinkedErrors",rK=(e={})=>{const t=e.limit||tK,n=e.key||eK;return{name:nK,preprocessEvent(r,s,i){const a=i.getOptions();BU(W9,a.stackParser,n,t,r,s)}}},sK=rK,iK=/^HTML(\w*)Element$/;function UN(e){if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(sG(e)){const t=aK(e);if(iK.test(t))return`[HTMLElement: ${pn(e)}]`}}function aK(e){const t=Object.getPrototypeOf(e);return t!=null&&t.constructor?t.constructor.name:"null prototype"}function oK(){return lK()?(Qn&&to(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function lK(){var s;if(typeof Oe.window>"u")return!1;const e=Oe;if(e.nw)return!1;const t=e.chrome||e.browser;if(!((s=t==null?void 0:t.runtime)!=null&&s.id))return!1;const n=Iu();return!(Oe===Oe.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(n))}function cK(e){return[AU(),NU(),eq(),AG(),xG(),GG(),sK(),VU(),QG(),UG(),FG()]}function uK(e={}){const t=!e.skipBrowserExtensionCheck&&oK();let n=e.defaultIntegrations==null?cK():e.defaultIntegrations;const r={...e,enabled:t?!1:e.enabled,stackParser:zF(e.stackParser||_G),integrations:$B({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||aG};return rz(UN),yU(Eq,r)}function W_(e={}){const t=Oe.document,n=(t==null?void 0:t.head)||(t==null?void 0:t.body);if(!n){Qn&&ie.error("[showReportDialog] Global document not defined");return}const r=ot(),s=De(),i=s==null?void 0:s.getDsn();if(!i){Qn&&ie.error("[showReportDialog] DSN not configured");return}const a={...e,user:{...r.getUser(),...e.user},eventId:e.eventId||RB()},l=Oe.document.createElement("script");l.async=!0,l.crossOrigin="anonymous",l.src=WB(i,a);const{onLoad:c,onClose:u}=a;if(c&&(l.onload=c),u){const d=h=>{if(h.data==="__sentry_reportdialog_closed__")try{u()}finally{Oe.removeEventListener("message",d)}};Oe.addEventListener("message",d)}n.appendChild(l)}const Ct=qe,G9="sentryReplaySession",dK="replay_event",K9="Unable to send Replay",hK=3e5,fK=9e5,pK=5e3,mK=5500,gK=6e4,yK=5e3,vK=3,F_=15e4,ah=5e3,bK=3e3,_K=300,V9=2e7,kK=4999,wK=5e4,$_=36e5;var xK=Object.defineProperty,SK=(e,t,n)=>t in e?xK(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B_=(e,t,n)=>SK(e,typeof t!="symbol"?t+"":t,n),Xt=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(Xt||{});function TK(e){return e.nodeType===e.ELEMENT_NODE}function Xd(e){const t=e==null?void 0:e.host;return(t==null?void 0:t.shadowRoot)===e}function Qd(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function jK(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function CK(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}function Sf(e){try{const t=e.rules||e.cssRules;return t?jK(Array.from(t,qN).join("")):null}catch{return null}}function EK(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,s=r[n],i=r.getPropertyPriority(s);t+=`${s}:${r.getPropertyValue(s)}
37${i?" !important":""};`}return`${e.selectorText} { ${t} }`}function qN(e){let t;if(NK(e))try{t=Sf(e.styleSheet)||CK(e)}catch{}else if(IK(e)){let n=e.cssText;const r=e.selectorText.includes(":"),s=typeof e.style.all=="string"&&e.style.all;if(s&&(n=EK(e)),r&&(n=zK(n)),r||s)return n}return t||e.cssText}function zK(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function NK(e){return"styleSheet"in e}function IK(e){return"selectorText"in e}class HN{constructor(){B_(this,"idNodeMap",new Map),B_(this,"nodeMetaMap",new WeakMap)}getId(t){var r;return t?((r=this.getMeta(t))==null?void 0:r.id)??-1:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach(r=>this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const s=this.nodeMetaMap.get(r);s&&this.nodeMetaMap.set(n,s)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function RK(){return new HN}function l3({maskInputOptions:e,tagName:t,type:n}){return t==="OPTION"&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||n==="password"||t==="INPUT"&&!n&&e.text)}function I0({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&&(s=r(s,t)),"*".repeat(s.length)):s}function iu(e){return e.toLowerCase()}function j6(e){return e.toUpperCase()}const U_="__rrweb_original__";function PK(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;r<e.width;r+=n)for(let s=0;s<e.height;s+=n){const i=t.getImageData,a=U_ in i?i[U_]:i;if(new Uint32Array(a.call(t,r,s,Math.min(n,e.width-r),Math.min(n,e.height-s)).data.buffer).some(c=>c!==0))return!1}return!0}function Y9(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?iu(t):null}function Tf(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function GN(e,t){let n;try{n=new URL(e,t??window.location.href)}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i,s=n.pathname.match(r);return(s==null?void 0:s[1])??null}const q_={};function KN(e){const t=q_[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(s)}catch{}return q_[e]=r.bind(window)}function C6(...e){return KN("setTimeout")(...e)}function VN(...e){return KN("clearTimeout")(...e)}function YN(e){try{return e.contentDocument}catch{}}function AK(e){try{return e.contentWindow}catch{}}let LK=1;const MK=new RegExp("[^a-z0-9-_:]"),R0=-2;function J9(){return LK++}function OK(e){if(e instanceof HTMLFormElement)return"form";const t=iu(e.tagName);return MK.test(t)?"div":t}function DK(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let Rl,H_;const WK=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,FK=/^(?:[a-z+]+:)?\/\//i,$K=/^www\..*/i,BK=/^(data:)([^,]*),(.*)/i;function UK(e,t){if(!e||t.size===0)return e;try{const n=e.split(";"),r=[];for(let s of n){if(s=s.trim(),!s)continue;const i=s.indexOf(":");if(i===-1){r.push(s);continue}const a=s.slice(0,i).trim();t.has(a)||r.push(s)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(n){return console.warn("Error filtering CSS properties:",n),e}}function jf(e,t){return(e||"").replace(WK,(n,r,s,i,a,l)=>{const c=s||a||l,u=r||i||"";if(!c)return n;if(FK.test(c)||$K.test(c))return`url(${u}${c}${u})`;if(BK.test(c))return`url(${u}${c}${u})`;if(c[0]==="/")return`url(${u}${DK(t)+c}${u})`;const d=t.split("/"),h=c.split("/");d.pop();for(const f of h)f!=="."&&(f===".."?d.pop():d.push(f));return`url(${u}${d.join("/")}${u})`})}const qK=/^[^ \t\n\r\u000c]+/,HK=/^[, \t\n\r\u000c]+/;function GK(e,t){if(t.trim()==="")return t;let n=0;function r(i){let a;const l=i.exec(t.substring(n));return l?(a=l[0],n+=a.length,a):""}const s=[];for(;r(HK),!(n>=t.length);){let i=r(qK);if(i.slice(-1)===",")i=fc(e,i.substring(0,i.length-1)),s.push(i);else{let a="";i=fc(e,i);let l=!1;for(;;){const c=t.charAt(n);if(c===""){s.push((i+a).trim());break}else if(l)c===")"&&(l=!1);else if(c===","){n+=1,s.push((i+a).trim());break}else c==="("&&(l=!0);a+=c,n+=1}}}return s.join(", ")}const G_=new WeakMap;function fc(e,t){return!t||t.trim()===""?t:c3(e,t)}function KK(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function c3(e,t){let n=G_.get(e);if(n||(n=e.createElement("a"),G_.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function JN(e,t,n,r,s,i,a){if(!r)return r;if(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#"))return fc(e,r);if(n==="xlink:href"&&r[0]!=="#")return fc(e,r);if(n==="background"&&(t==="table"||t==="td"||t==="th"))return fc(e,r);if(n==="srcset")return GK(e,r);if(n==="style"){let l=jf(r,c3(e));return a&&a.size>0&&(l=UK(l,a)),l}else if(t==="object"&&n==="data")return fc(e,r);return typeof i=="function"?i(n,r,s):r}function ZN(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function VK(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let s=e.classList.length;s--;){const i=e.classList[s];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function YK(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function $o(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:$o(e.parentNode,t,n,r+1)}function pc(e,t){return n=>{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(YK(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function au(e,t,n,r,s,i){try{const a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(a===null)return!1;if(a.tagName==="INPUT"){const u=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(u))return!0}let l=-1,c=-1;if(i){if(c=$o(a,pc(r,s)),c<0)return!0;l=$o(a,pc(t,n),c>=0?c:1/0)}else{if(l=$o(a,pc(t,n)),l<0)return!1;c=$o(a,pc(r,s),l>=0?l:1/0)}return l>=0?c>=0?l<=c:!0:c>=0?!1:!!i}catch{}return!!i}
37function JK(e,t,n){const r=AK(e);if(!r)return;let s=!1,i;try{i=r.document.readyState}catch{return}if(i!=="complete"){const l=C6(()=>{s||(t(),s=!0)},n);e.addEventListener("load",()=>{VN(l),s=!0,t()});return}const a="about:blank";if(r.location.href!==a||e.src===a||e.src==="")return C6(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function ZK(e,t,n){let r=!1,s;try{s=e.sheet}catch{s=null}if(s)return;const i=C6(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{VN(i),r=!0,t()})}function XK(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:a,maskAllText:l,maskAttributeFn:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:m={},maskTextFn:y,maskInputFn:_,dataURLOptions:g={},inlineImages:b,recordCanvas:k,keepIframeSrcFn:x,newlyAddedElement:S=!1,ignoreCSSAttributes:T}=t,C=QK(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:Xt.Document,childNodes:[],compatMode:e.compatMode}:{type:Xt.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Xt.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:C};case e.ELEMENT_NODE:return tV(e,{doc:n,blockClass:s,blockSelector:i,unblockSelector:a,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:m,maskInputFn:_,dataURLOptions:g,inlineImages:b,recordCanvas:k,keepIframeSrcFn:x,newlyAddedElement:S,rootId:C,maskTextClass:u,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:f,ignoreCSSAttributes:T});case e.TEXT_NODE:return eV(e,{doc:n,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:f,maskTextFn:y,maskInputOptions:m,maskInputFn:_,rootId:C});case e.CDATA_SECTION_NODE:return{type:Xt.CDATA,textContent:"",rootId:C};case e.COMMENT_NODE:return{type:Xt.Comment,textContent:e.textContent||"",rootId:C};default:return!1}}function QK(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function eV(e,t){var g;const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:i,unmaskTextSelector:a,maskTextFn:l,maskInputOptions:c,maskInputFn:u,rootId:d}=t,h=e.parentNode&&e.parentNode.tagName;let f=e.textContent;const p=h==="STYLE"?!0:void 0,m=h==="SCRIPT"?!0:void 0,y=h==="TEXTAREA"?!0:void 0;if(p&&f){try{e.nextSibling||e.previousSibling||(g=e.parentNode.sheet)!=null&&g.cssRules&&(f=Sf(e.parentNode.sheet))}catch(b){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${b}`,e)}f=jf(f,c3(t.doc))}m&&(f="SCRIPT_PLACEHOLDER");const _=au(e,r,i,s,a,n);if(!p&&!m&&!y&&f&&_&&(f=l?l(f,e.parentElement):f.replace(/[\S]/g,"*")),y&&f&&(c.textarea||_)&&(f=u?u(f,e.parentNode):f.replace(/[\S]/g,"*")),h==="OPTION"&&f){const b=l3({type:null,tagName:h,maskInputOptions:c});f=I0({isMasked:au(e,r,i,s,a,b),element:e,value:f,maskInputFn:u})}return{type:Xt.Text,textContent:f||"",isStyle:p,rootId:d}}function tV(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:i,inlineStylesheet:a,maskInputOptions:l={},maskAttributeFn:c,maskInputFn:u,dataURLOptions:d={},inlineImages:h,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:m=!1,rootId:y,maskTextClass:_,unmaskTextClass:g,maskTextSelector:b,unmaskTextSelector:k,ignoreCSSAttributes:x}=t,S=VK(e,r,s,i),T=OK(e);let C={};const E=e.attributes.length;for(let j=0;j<E;j++){const I=e.attributes[j];I.name&&!ZN(T,I.name,I.value)&&(C[I.name]=JN(n,T,iu(I.name),I.value,e,c,x))}if(T==="link"&&a){const j=Array.from(n.styleSheets).find(P=>P.href===e.href);let I=null;j&&(I=Sf(j)),I&&(C.rel=null,C.href=null,C.crossorigin=null,C._cssText=jf(I,j.href))}if(T==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const j=Sf(e.sheet);j&&(C._cssText=jf(j,c3(n)))}if(T==="input"||T==="textarea"||T==="select"||T==="option"){const j=e,I=Y9(j),P=Tf(j,j6(T),I),O=j.checked;if(I!=="submit"&&I!=="button"&&P){const F=au(j,_,b,g,k,l3({type:I,tagName:j6(T),maskInputOptions:l}));C.value=I0({isMasked:F,element:j,value:P,maskInputFn:u})}O&&(C.checked=O)}if(T==="option"&&(e.selected&&!l.select?C.selected=!0:delete C.selected),T==="canvas"&&f){if(e.__context==="2d")PK(e)||(C.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){const j=e.toDataURL(d.type,d.quality),I=n.createElement("canvas");I.width=e.width,I.height=e.height;const P=I.toDataURL(d.type,d.quality);j!==P&&(C.rr_dataURL=j)}}if(T==="img"&&h){Rl||(Rl=n.createElement("canvas"),H_=Rl.getContext("2d"));const j=e,I=j.currentSrc||j.getAttribute("src")||"<unknown-src>",P=j.crossOrigin,O=()=>{j.removeEventListener("load",O);
37try{Rl.width=j.naturalWidth,Rl.height=j.naturalHeight,H_.drawImage(j,0,0),C.rr_dataURL=Rl.toDataURL(d.type,d.quality)}catch(F){if(j.crossOrigin!=="anonymous"){j.crossOrigin="anonymous",j.complete&&j.naturalWidth!==0?O():j.addEventListener("load",O);return}else console.warn(`Cannot inline img src=${I}! Error: ${F}`)}j.crossOrigin==="anonymous"&&(P?C.crossOrigin=P:j.removeAttribute("crossorigin"))};j.complete&&j.naturalWidth!==0?O():j.addEventListener("load",O)}if((T==="audio"||T==="video")&&(C.rr_mediaState=e.paused?"paused":"played",C.rr_mediaCurrentTime=e.currentTime),m||(e.scrollLeft&&(C.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(C.rr_scrollTop=e.scrollTop)),S){const{width:j,height:I}=e.getBoundingClientRect();C={class:C.class,rr_width:`${j}px`,rr_height:`${I}px`}}T==="iframe"&&!p(C.src)&&(!S&&!YN(e)&&(C.rr_src=C.src),delete C.src);let N;try{customElements.get(T)&&(N=!0)}catch{}return{type:Xt.Element,tagName:T,attributes:C,childNodes:[],isSVG:KK(e)||void 0,needBlock:S,rootId:y,isCustom:N}}function Tt(e){return e==null?"":e.toLowerCase()}function nV(e,t){if(t.comment&&e.type===Xt.Comment)return!0;if(e.type===Xt.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&GN(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Tt(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Tt(e.attributes.name)==="application-name"||Tt(e.attributes.rel)==="icon"||Tt(e.attributes.rel)==="apple-touch-icon"||Tt(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Tt(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Tt(e.attributes.property).match(/^(og|twitter|fb):/)||Tt(e.attributes.name).match(/^(og|twitter):/)||Tt(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Tt(e.attributes.name)==="robots"||Tt(e.attributes.name)==="googlebot"||Tt(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Tt(e.attributes.name)==="author"||Tt(e.attributes.name)==="generator"||Tt(e.attributes.name)==="framework"||Tt(e.attributes.name)==="publisher"||Tt(e.attributes.name)==="progid"||Tt(e.attributes.property).match(/^article:/)||Tt(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(Tt(e.attributes.name)==="google-site-verification"||Tt(e.attributes.name)==="yandex-verification"||Tt(e.attributes.name)==="csrf-token"||Tt(e.attributes.name)==="p:domain_verify"||Tt(e.attributes.name)==="verify-v1"||Tt(e.attributes.name)==="verification"||Tt(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function mc(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:a,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,skipChild:f=!1,inlineStylesheet:p=!0,maskInputOptions:m={},maskAttributeFn:y,maskTextFn:_,maskInputFn:g,slimDOMOptions:b,dataURLOptions:k={},inlineImages:x=!1,recordCanvas:S=!1,onSerialize:T,onIframeLoad:C,iframeLoadTimeout:E=5e3,onBlockedImageLoad:N,onStylesheetLoad:j,stylesheetLoadTimeout:I=5e3,keepIframeSrcFn:P=()=>!1,newlyAddedElement:O=!1,ignoreCSSAttributes:F}=t;let{preserveWhiteSpace:B=!0}=t;const $=XK(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:l,unblockSelector:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:y,maskTextFn:_,maskInputFn:g,dataURLOptions:k,inlineImages:x,recordCanvas:S,keepIframeSrcFn:P,newlyAddedElement:O,ignoreCSSAttributes:F});if(!$)return console.warn(e,"not serialized"),null;let D;r.hasNode(e)?D=r.getId(e):nV($,b)||!B&&$.type===Xt.Text&&!$.isStyle&&!$.textContent.trim().length?D=R0:D=J9();const z=Object.assign($,{id:D});if(r.add(e,z),D===R0)return null;T&&T(e);let R=!f;if(z.type===Xt.Element){R=R&&!z.needBlock;const w=e.shadowRoot;w&&Qd(w)&&(z.isShadowHost=!0)}if((z.type===Xt.Document||z.type===Xt.Element)&&R){b.headWhitespace&&z.type===Xt.Element&&z.tagName==="head"&&(B=!1);const w={doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:l,unblockSelector:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,skipChild:f,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:y,maskTextFn:_,maskInputFn:g,slimDOMOptions:b,dataURLOptions:k,inlineImages:x,recordCanvas:S,preserveWhiteSpace:B,onSerialize:T,onIframeLoad:C,iframeLoadTimeout:E,onBlockedImageLoad:N,onStylesheetLoad:j,stylesheetLoadTimeout:I,keepIframeSrcFn:P,ignoreCSSAttributes:F},L=e.childNodes?Array.from(e.childNodes):[];for(const M of L){const A=mc(M,w);A&&z.childNodes.push(A)}if(TK(e)&&e.shadowRoot)for(const M of Array.from(e.shadowRoot.childNodes)){const A=mc(M,w);A&&(Qd(e.shadowRoot)&&(A.isShadow=!0),z.childNodes.push(A))}}if(e.parentNode&&Xd(e.parentNode)&&Qd(e.parentNode)&&(z.isShadow=!0),z.type===Xt.Element&&z.tagName==="iframe"&&!z.needBlock&&JK(e,()=>{const w=YN(e);if(w&&C){const L=mc(w,{doc:w,mirror:r,blockClass:s,blockSelector:i,unblockSelector:a,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:y,maskTextFn:_,maskInputFn:g,slimDOMOptions:b,dataURLOptions:k,inlineImages:x,recordCanvas:S,preserveWhiteSpace:B,onSerialize:T,onIframeLoad:C,iframeLoadTimeout:E,onStylesheetLoad:j,stylesheetLoadTimeout:I,keepIframeSrcFn:P,ignoreCSSAttributes:F});L&&C(e,L)}},E),z.type===Xt.Element&&z.tagName==="img"&&!e.complete&&z.needBlock){const w=e,L=()=>
vendor: 4,863 bytes, lines 37-39
37{if(w.isConnected&&!w.complete&&N)try{const M=w.getBoundingClientRect();M.width>0&&M.height>0&&N(w,z,M)}catch{}w.removeEventListener("load",L)};w.isConnected&&w.addEventListener("load",L)}return z.type===Xt.Element&&z.tagName==="link"&&typeof z.attributes.rel=="string"&&(z.attributes.rel==="stylesheet"||z.attributes.rel==="preload"&&typeof z.attributes.href=="string"&&GN(z.attributes.href)==="css")&&ZK(e,()=>{if(j){const w=mc(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:a,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:y,maskTextFn:_,maskInputFn:g,slimDOMOptions:b,dataURLOptions:k,inlineImages:x,recordCanvas:S,preserveWhiteSpace:B,onSerialize:T,onIframeLoad:C,iframeLoadTimeout:E,onStylesheetLoad:j,stylesheetLoadTimeout:I,keepIframeSrcFn:P,ignoreCSSAttributes:F});w&&j(e,w)}},I),z.type===Xt.Element&&delete z.needBlock,z}function rV(e,t){const{mirror:n=new HN,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:i=null,maskAllText:a=!1,maskTextClass:l="rr-mask",unmaskTextClass:c=null,maskTextSelector:u=null,unmaskTextSelector:d=null,inlineStylesheet:h=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:m=!1,maskAttributeFn:y,maskTextFn:_,maskInputFn:g,slimDOM:b=!1,dataURLOptions:k,preserveWhiteSpace:x,onSerialize:S,onIframeLoad:T,iframeLoadTimeout:C,onBlockedImageLoad:E,onStylesheetLoad:N,stylesheetLoadTimeout:j,keepIframeSrcFn:I=()=>!1,ignoreCSSAttributes:P=new Set([])}=t||{};return mc(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,maskAllText:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:m===!1?{}:m,maskAttributeFn:y,maskTextFn:_,maskInputFn:g,slimDOMOptions:b===!0||b==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:b==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:b===!1?{}:b,dataURLOptions:k,inlineImages:f,recordCanvas:p,preserveWhiteSpace:x,onSerialize:S,onIframeLoad:T,iframeLoadTimeout:C,onBlockedImageLoad:E,onStylesheetLoad:N,stylesheetLoadTimeout:j,keepIframeSrcFn:I,newlyAddedElement:!1,ignoreCSSAttributes:P})}function Jn(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const Ql=`Please stop import mirror directly. Instead of that,\r
38now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
39or you can use record.mirror to access the mirror instance during recording.`;let K_={map:{},getId(){return console.error(Ql),-1},getNode(){return console.error(Ql),null},removeNodeFromMap(){console.error(Ql)},has(){return console.error(Ql),!1},reset(){console.error(Ql)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(K_=new Proxy(K_,{get(e,t,n){return t==="map"&&console.error(Ql),Reflect.get(e,t,n)}}));function P0(e,t,n={}){let r=null,s=0;return function(...i){const a=Date.now();!s&&n.leading===!1&&(s=a);const l=t-(a-s),c=this;l<=0||l>t?(r&&(uV(r),r=null),s=a,e.apply(c,i)):!r&&n.trailing!==!1&&(r=u3(()=>{s=n.leading===!1?0:Date.now(),r=null,e.apply(c,i)},l))}}function XN(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(a){u3(()=>{n.set.call(this,a)},0),i&&i.set&&i.set.call(this,a)}}),()=>XN(e,t,i||{},!0)}function Z9(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],s=n(r);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=s,()=>{e[t]=r}}catch{return()=>{}}}let Cf=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Cf=()=>new Date().getTime());function QN(e){var n,r,s,i,a,l;const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:(t==null?void 0:t.documentElement.scrollLeft)||((r=(n=t==null?void 0:t.body)==null?void 0:n.parentElement)==null?void 0:r.scrollLeft)||((s=t==null?void 0:t.body)==null?void 0:s.scrollLeft)||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:(t==null?void 0:t.documentElement.scrollTop)||((a=(i=t==null?void 0:t.body)==null?void 0:i.parentElement)==null?void 0:a.scrollTop)||((l=t==null?void 0:t.body)==null?void 0:l.scrollTop)||0}}function eI(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function tI(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function nI(e){if(!e)return null;
39try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function Cr(e,t,n,r,s){if(!e)return!1;const i=nI(e);if(!i)return!1;const a=pc(t,n);if(!s){const u=r&&i.matches(r);return a(i)&&!u}const l=$o(i,a);let c=-1;return l<0?!1:(r&&(c=$o(i,pc(null,r))),l>-1&&c<0?!0:l<c)}function sV(e,t){return t.getId(e)!==-1}function Pm(e,t){return t.getId(e)===R0}function rI(e,t){if(Xd(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?rI(e.parentNode,t):!0:!0}function E6(e){return!!e.changedTouches}function iV(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function sI(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function iI(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function z6(e){return!!(e!=null&&e.shadowRoot)}class aV{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function aI(e){var n,r;let t=null;return((r=(n=e.getRootNode)==null?void 0:n.call(e))==null?void 0:r.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function oV(e){let t=e,n;for(;n=aI(t);)t=n;return t}function lV(e){const t=e.ownerDocument;if(!t)return!1;const n=oV(e);return t.contains(n)}function oI(e){const t=e.ownerDocument;return t?t.contains(e)||lV(e):!1}const V_={};function X9(e){const t=V_[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(s)}catch{}return V_[e]=r.bind(window)}function cV(...e){return X9("requestAnimationFrame")(...e)}function u3(...e){return X9("setTimeout")(...e)}function uV(...e){return X9("clearTimeout")(...e)}var Ue=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(Ue||{}),Re=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(Re||{}),Kn=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Kn||{}),Ii=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Ii||{}),ec=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(ec||{});let e0;function dV(e){e0=e}function hV(){e0=void 0}const nt=e=>e0?(...n)=>{try{return e(...n)}catch(r){if(e0&&e0(r)===!0)return()=>{};throw r}}:e;var Y_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
39+/",fV=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var oh=0;oh<Y_.length;oh++)fV[Y_.charCodeAt(oh)]=oh;class J_{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}function Q9(e){try{return e.contentDocument}catch{}}function A0(e){try{return e.contentWindow}catch{}}class pV{constructor(t){this.doc=t,this.unattachedDoc=null}parse(t){return this.parseWithConstructableStylesheet(t)||this.parseWithDetachedElement(t)}parseWithConstructableStylesheet(t){if(typeof CSSStyleSheet>"u"||typeof CSSStyleSheet.prototype.replaceSync!="function")return null;try{const n=new CSSStyleSheet;n.replaceSync(`x { ${t} }`);const r=n.cssRules[0];return!r||r.type!==CSSRule.STYLE_RULE?null:r.style}catch{return null}}parseWithDetachedElement(t){const n=this.getUnattachedDoc().createElement("span");return n.setAttribute("style",t),n.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}return this.unattachedDoc}}function Z_(e){return"__ln"in e}class mV{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r<t;r++)n=(n==null?void 0:n.next)||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&Z_(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&Z_(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const X_=(e,t)=>`${e}@${t}`;class gV{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new mV,s=c=>{let u=c,d=R0;for(;d===R0;)u=u&&u.nextSibling,d=u&&this.mirror.getId(u);return d},i=c=>{if(!c.parentNode||!oI(c))return;const u=Xd(c.parentNode)?this.mirror.getId(aI(c)):this.mirror.getId(c.parentNode),d=s(c);if(u===-1||d===-1)return r.addNode(c);const h=mc(c,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:f=>{sI(f,this.mirror)&&!Cr(f,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(f),iI(f,this.mirror)&&this.stylesheetManager.trackLinkElement(f),z6(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(f,p)=>{if(Cr(f,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(f,p);const m=A0(f);m&&this.canvasManager.addWindow(m),this.shadowDomManager.observeAttachShadow(f)},onStylesheetLoad:(f,p)=>{this.stylesheetManager.attachLinkElement(f,p)},onBlockedImageLoad:(f,p,{width:m,height:y})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:p.id,attributes:{style:{width:`${m}px`,height:`${y}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});h&&(t.push({parentId:u,nextId:d,node:h}),n.add(h.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const c of this.movedSet)Q_(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||i(c);for(const c of this.addedSet)!ek(this.droppedSet,c)&&!Q_(this.removes,c,this.mirror)||ek(this.movedSet,c)?i(c):this.droppedSet.add(c);let a=null;for(;r.length;){let c=null;if(a){const u=this.mirror.getId(a.value.parentNode),d=s(a.value);u!==-1&&d!==-1&&(c=a)}if(!c){let u=r.tail;for(;u;){const d=u;if(u=u.previous,d){const h=this.mirror.getId(d.value.parentNode);
39if(s(d.value)===-1)continue;if(h!==-1){c=d;break}else{const p=d.value;if(p.parentNode&&p.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const m=p.parentNode.host;if(this.mirror.getId(m)!==-1){c=d;break}}}}}}if(!c){for(;r.head;)r.removeNode(r.head.value);break}a=c.previous,r.removeNode(c.value),i(c.value)}const l={texts:this.texts.map(c=>({id:this.mirror.getId(c.node),value:c.value})).filter(c=>!n.has(c.id)).filter(c=>this.mirror.has(c.id)),attributes:this.attributes.map(c=>{const{attributes:u}=c;if(typeof u.style=="string"){const d=JSON.stringify(c.styleDiff),h=JSON.stringify(c._unchangedStyles);d.length<u.style.length&&(d+h).split("var(").length===u.style.split("var(").length&&(u.style=c.styleDiff)}return{id:this.mirror.getId(c.node),attributes:u}}).filter(c=>!n.has(c.id)).filter(c=>this.mirror.has(c.id)),removes:this.removes,adds:t};!l.texts.length&&!l.attributes.length&&!l.removes.length&&!l.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(l))},this.processMutation=t=>{if(!Pm(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!Cr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:au(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,nI(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,s=t.target.getAttribute(r);if(r==="value"){const a=Y9(n),l=n.tagName;s=Tf(n,l,a);const c=l3({maskInputOptions:this.maskInputOptions,tagName:l,type:a}),u=au(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);s=I0({isMasked:u,element:n,value:s,maskInputFn:this.maskInputFn})}if(Cr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s===t.oldValue)return;let i=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(s))if(!Q9(n))r="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(t.target,i)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!ZN(n.tagName,r)&&(i.attributes[r]=JN(this.doc,iu(n.tagName),iu(r),s,n,this.maskAttributeFn),r==="style")){const a=t.oldValue?this.styleDeclarationParser.parse(t.oldValue):null;for(const l of Array.from(n.style)){const c=n.style.getPropertyValue(l),u=n.style.getPropertyPriority(l);c!==((a==null?void 0:a.getPropertyValue(l))||"")||u!==((a==null?void 0:a.getPropertyPriority(l))||"")?u===""?i.styleDiff[l]=c:i.styleDiff[l]=[c,u]:i._unchangedStyles[l]=[c,u]}if(a)for(const l of Array.from(a))n.style.getPropertyValue(l)===""&&(i.styleDiff[l]=!1)}break}case"childList":{if(Cr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),s=Xd(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);Cr(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Pm(n,this.mirror)||!sV(n,this.mirror)||(this.addedSet.has(n)?(N6(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||rI(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[X_(r,s)]?N6(this.movedSet,n):this.removes.push({parentId:s,id:r,isShadow:Xd(t.target)&&Qd(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(Pm(t,this.mirror))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[X_(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Cr(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes&&t.childNodes.forEac
vendor: 9,004 bytes, line 39
39h(r=>this.genAdds(r)),z6(t)&&t.shadowRoot.childNodes.forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(n=>{this[n]=t[n]}),this.styleDeclarationParser=new pV(this.doc)}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function N6(e,t){var n;e.delete(t),(n=t.childNodes)==null||n.forEach(r=>N6(e,r))}function Q_(e,t,n){return e.length===0?!1:yV(e,t,n)}function yV(e,t,n){let r=t.parentNode;for(;r;){const s=n.getId(r);if(e.some(i=>i.id===s))return!0;r=r.parentNode}return!1}function ek(e,t){return e.size===0?!1:lI(e,t)}function lI(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:lI(e,n):!1}const gc=[];function I1(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function cI(e,t){var a,l;const n=new gV;gc.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const s=(l=(a=window==null?void 0:window.Zone)==null?void 0:a.__symbol__)==null?void 0:l.call(a,"MutationObserver");s&&window[s]&&(r=window[s]);const i=new r(nt(c=>{e.onMutation&&e.onMutation(c)===!1||n.processMutations.bind(n)(c)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function vV({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const s=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let a=[],l;const c=P0(nt(h=>{const f=Date.now()-l;e(a.map(p=>(p.timeOffset-=f,p)),h),a=[],l=null}),i),u=nt(P0(nt(h=>{const f=I1(h),{clientX:p,clientY:m}=E6(h)?h.changedTouches[0]:h;l||(l=Cf()),a.push({x:p,y:m,id:r.getId(f),timeOffset:Cf()-l}),c(typeof DragEvent<"u"&&h instanceof DragEvent?Re.Drag:h instanceof MouseEvent?Re.MouseMove:Re.TouchMove)}),s,{trailing:!1})),d=[Jn("mousemove",u,n),Jn("touchmove",u,n),Jn("drag",u,n)];return nt(()=>{d.forEach(h=>h())})}function bV({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:a}){if(a.mouseInteraction===!1)return()=>{};const l=a.mouseInteraction===!0||a.mouseInteraction===void 0?{}:a.mouseInteraction,c=[];let u=null;const d=h=>f=>{const p=I1(f);if(Cr(p,r,s,i,!0))return;let m=null,y=h;if("pointerType"in f){switch(f.pointerType){case"mouse":m=Ii.Mouse;break;case"touch":m=Ii.Touch;break;case"pen":m=Ii.Pen;break}m===Ii.Touch?Kn[h]===Kn.MouseDown?y="TouchStart":Kn[h]===Kn.MouseUp&&(y="TouchEnd"):Ii.Pen}else E6(f)&&(m=Ii.Touch);m!==null?(u=m,(y.startsWith("Touch")&&m===Ii.Touch||y.startsWith("Mouse")&&m===Ii.Mouse)&&(m=null)):Kn[h]===Kn.Click&&(m=u,u=null);const _=E6(f)?f.changedTouches[0]:f;if(!_)return;const g=n.getId(p),{clientX:b,clientY:k}=_;nt(e)({type:Kn[y],id:g,x:b,y:k,...m!==null&&{pointerType:m}})};return Object.keys(Kn).filter(h=>Number.isNaN(Number(h))&&!h.endsWith("_Departed")&&l[h]!==!1).forEach(h=>{let f=iu(h);const p=d(h);if(window.PointerEvent)switch(Kn[h]){case Kn.MouseDown:case Kn.MouseUp:f=f.replace("mouse","pointer");break;case Kn.TouchStart:case Kn.TouchEnd:return}c.push(Jn(f,p,t))}),nt(()=>{c.forEach(h=>h())})}function uI({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:a}){const l=nt(P0(nt(c=>{const u=I1(c);if(!u||Cr(u,r,s,i,!0))return;const d=n.getId(u);if(u===t&&t.defaultView){const h=QN(t.defaultView);e({id:d,x:h.left,y:h.top})}else e({id:d,x:u.scrollLeft,y:u.scrollTop})}),a.scroll||100));return Jn("scroll",l,t)}function _V({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const s=nt(P0(nt(()=>{const i=eI(),a=tI();(n!==i||r!==a)&&(e({width:Number(a),height:Number(i)}),n=i,r=a)}),200));return Jn("resize",s,t)}const kV=["INPUT","TEXTAREA","SELECT"],tk=new WeakMap;function wV({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,ignoreClass:a,ignoreSelector:l,maskInputOptions:c,maskInputFn:u,sampling:d,userTriggeredOnInput:h,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:y}){function _(C){let E=I1(C);const N=C.isTrusted,j=E&&j6(E.tagName);if(j==="OPTION"&&(E=E.parentElement),!E||!j||kV.indexOf(j)<0||Cr(E,r,s,i,!0))return;const I=E;if(I.classList.contains(a)||l&&I.matches(l))return;const P=Y9(E);let O=Tf(I,j,P),F=!1;const B=l3({maskInputOptions:c,tagName:j,type:P}),$=au(E,f,m,p,y,B);(P==="radio"||P==="checkbox")&&(F=E.checked),O=I0({isMasked:$,element:E,value:O,maskInputFn:u}),g(E,h?{text:O,isChecked:F,userTriggered:N}:{text:O,isChecked:F});const D=E.name;P==="radio"&&D&&F&&t.querySelectorAll(`input[type="radio"][name="${D}"]`).forEach(z=>{if(z!==E){const R=I0({isMasked:$,element:z,value:Tf(z,j,P),maskInputFn:u});g(z,h?{text:R,isChecked:!F,userTriggered:!1}:{text:R,isChecked:!F})}})}function g(C,E){const N=tk.get(C);if(!N||N.text!==E.text||N.isChecked!==E.isChecked){tk.set(C,E);const j=n.getId(C);nt(e)({...E,id:j})}}const k=(d.input==="last"?["change"]:["input","change"]).map(C=>Jn(C,nt(_),t)),x=t.defaultView;if(!x)return()=>{k.forEach(C=>C())};const S=x.Object.getOwnPropertyDescriptor(x.HTMLInputElement.prototype,"value"),T=[[x.HTMLInputElement.prototype,"value"],[x.HTMLInputElement.prototype,"checked"],[x.HTMLSelectElement.prototype,"value"],[x.HTMLTextAreaElement.prototype,"value"],[x.HTMLSelectElement.prototype,"selectedIndex"],[x.HTMLOptionElement.prototype,"selected"]];return S&&S.set&&k.push(...T.map(C=>XN(C[0],C[1],{set(){nt(_)({target:this,isTrusted:!1})}},!1,x))),nt(()=>{k.forEach(C=>C())})}function Ef(e){const t=[];function n(r,s){if(lh("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||lh("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||lh("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||lh("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const a=Array.from(r.parentRule.cssRules).indexOf(r);s.unshift(a)}else if(r.parentStyleSheet){const a=Array.from(r.parentStyleSheet.cssRules).indexOf(r);s.unshift(a)}return s}return n(e,t)}function ka(e,t,n){let r,s;return e?(e.ownerNode?r=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:r}):{}}function xV({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const s=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:nt((d,h,f)=>{const[p,m]=f,{id:y,styleId:_}=ka(h,t,n.styleMirror);return(y&&y!==-1||_&&_!==-1)&&e({id:y,styleId:_,adds:[{rule:p,index:m}]}),d.apply(h,f)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:nt((d,h,f)=>{const[p]=f,{id:m,styleId:y}=ka(h,t,n.styleMirror);return(m&&m!==-1||y&&y!==-1)&&e({id:m,styleId:y,removes:[{index:p}]}),d.apply(h,f)})});let a;r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:nt((d,h,f)=>{const[p]=f,{id:m,styleId:y}=ka(h,t,n.styleMirror);return(m&&m!==-1||y&&y!==-1)&&e({id:m,styleId:y,replace:p}),d.apply(h,f)})}));let l;r.CSSStyleSheet.prototype.replaceSync&&(l=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(l,{apply:nt((d,h,f)=>{const[p]=f,{id:m,styleId:y}=ka(h,t,n.styleMirror);return(m&&m!==-1||y&&y!==-1)&&e({id:m,styleId:y,replaceSync:p}),d.apply(h,f)})}));const c={};ch("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(ch("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),ch("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),ch("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const u={};return Object.entries(c).forEach(([d,h])=>{u[d]={insertRule:h.prototype.insertRule,deleteRule:h.prototype.deleteRule},h.prototype.insertRule=new Proxy(u[d].insertRule,{apply:nt((f,p,m)=>{const[y,_]=m,{id:g,styleId:b}=ka(p.parentStyleSheet,t,n.styleMirror);return(g&&g!==-1||b&&b!==-1)&&e({id:g,styleId:b,adds:[{rule:y,index:[...Ef(p),_||0]}]}),f.apply(p,m)})}),h.prototype.deleteRule=new Proxy(u[d].deleteRule,{apply:nt((f,p,m)=>{const[y]=m,{id:_,styleId:g}=ka(p.parentStyleSheet,t,n.styleMirror);return(_&&_!==-1||g&&g!==-1)&&e({id:_,styleId:g,removes:[{index:[...Ef(p),y]}]}),f.apply(p,m)})})}),nt(()=>{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=i,a&&(r.CSSStyleSheet.prototype.replace=a),l&&(r.CSSStyleSheet.prototype.replaceSync=l),Object.entries(c).forEac
vendor: 10,346 bytes, line 39
39h(([d,h])=>{h.prototype.insertRule=u[d].insertRule,h.prototype.deleteRule=u[d].deleteRule})})}function dI({mirror:e,stylesheetManager:t},n){var a,l,c;let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);const s=n.nodeName==="#document"?(a=n.defaultView)==null?void 0:a.Document:(c=(l=n.ownerDocument)==null?void 0:l.defaultView)==null?void 0:c.ShadowRoot,i=s!=null&&s.prototype?Object.getOwnPropertyDescriptor(s==null?void 0:s.prototype,"adoptedStyleSheets"):void 0;return r===null||r===-1||!s||!i?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){var u;return(u=i.get)==null?void 0:u.call(this)},set(u){var h;const d=(h=i.set)==null?void 0:h.call(this,u);if(r!==null&&r!==-1)try{t.adoptStyleSheets(u,r)}catch{}return d}}),nt(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function SV({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:nt((l,c,u)=>{var y;const[d,h,f]=u;if(n.has(d))return i.apply(c,[d,h,f]);const{id:p,styleId:m}=ka((y=c.parentRule)==null?void 0:y.parentStyleSheet,t,r.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,set:{property:d,value:h,priority:f},index:Ef(c.parentRule)}),l.apply(c,u)})});const a=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:nt((l,c,u)=>{var p;const[d]=u;if(n.has(d))return a.apply(c,[d]);const{id:h,styleId:f}=ka((p=c.parentRule)==null?void 0:p.parentStyleSheet,t,r.styleMirror);return(h&&h!==-1||f&&f!==-1)&&e({id:h,styleId:f,remove:{property:d},index:Ef(c.parentRule)}),l.apply(c,u)})}),nt(()=>{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=a})}function TV({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:i,doc:a}){const l=nt(u=>P0(nt(d=>{const h=I1(d);if(!h||Cr(h,t,n,r,!0))return;const{currentTime:f,volume:p,muted:m,playbackRate:y}=h;e({type:u,id:s.getId(h),currentTime:f,volume:p,muted:m,playbackRate:y})}),i.media||500)),c=[Jn("play",l(ec.Play),a),Jn("pause",l(ec.Pause),a),Jn("seeked",l(ec.Seeked),a),Jn("volumechange",l(ec.VolumeChange),a),Jn("ratechange",l(ec.RateChange),a)];return nt(()=>{c.forEach(u=>u())})}function jV({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,i=n.FontFace;n.FontFace=function(c,u,d){const h=new i(c,u,d);return s.set(h,{family:c,buffer:typeof u!="string",descriptors:d,fontSource:typeof u=="string"?u:JSON.stringify(Array.from(new Uint8Array(u)))}),h};const a=Z9(t.fonts,"add",function(l){return function(c){return u3(nt(()=>{const u=s.get(c);u&&(e(u),s.delete(c))}),0),l.apply(this,[c])}});return r.push(()=>{n.FontFace=i}),r.push(a),nt(()=>{r.forEach(l=>l())})}function CV(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,selectionCb:a}=e;let l=!0;const c=nt(()=>{const u=t.getSelection();if(!u||l&&(u!=null&&u.isCollapsed))return;l=u.isCollapsed||!1;const d=[],h=u.rangeCount||0;for(let f=0;f<h;f++){const p=u.getRangeAt(f),{startContainer:m,startOffset:y,endContainer:_,endOffset:g}=p;Cr(m,r,s,i,!0)||Cr(_,r,s,i,!0)||d.push({start:n.getId(m),startOffset:y,end:n.getId(_),endOffset:g})}a({ranges:d})});return c(),Jn("selectionchange",c)}function EV({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:Z9(n.customElements,"define",function(s){return function(i,a,l){try{t({define:{name:i}})}catch{}return s.apply(this,[i,a,l])}})}function zV(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=cI(e,e.doc));const s=vV(e),i=bV(e),a=uI(e),l=_V(e,{win:n}),c=wV(e),u=TV(e);let d=()=>{},h=()=>{},f=()=>{},p=()=>{};e.recordDOM&&(d=xV(e,{win:n}),h=dI(e,e.doc),f=SV(e,{win:n}),e.collectFonts&&(p=jV(e)));const m=CV(e),y=EV(e),_=[];for(const g of e.plugins)_.push(g.observer(g.callback,n,g.options));return nt(()=>{gc.forEach(g=>g.reset()),r==null||r.disconnect(),s(),i(),a(),l(),c(),u(),d(),h(),f(),p(),m(),y(),_.forEach(g=>g())})}function lh(e){return typeof window[e]<"u"}function ch(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class I6{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,s){const i=r||this.getIdToRemoteIdMap(t),a=s||this.getRemoteIdToIdMap(t);let l=i.get(n);return l||(l=this.generateIdFn(),i.set(n,l),a.set(l,n)),l}getIds(t,n){const r=this.getIdToRemoteIdMap(t),s=this.getRemoteIdToIdMap(t);return n.map(i=>this.getId(t,i,r,s))}getRemoteId(t,n,r){const s=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const i=s.get(n);return i||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(s=>this.getRemoteId(t,s,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}class NV{constructor(){this.crossOriginIframeMirror=new I6(J9),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class IV{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new I6(J9),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new I6(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0);const n=A0(t);n&&this.crossOriginIframeMap.set(n,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){var s,i;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((s=A0(t))==null||s.addEventListener("message",this.handleMessage.bind(this))),(i=this.loadListener)==null||i.call(this,t);const r=Q9(t);r&&r.adoptedStyleSheets&&r.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const s=this.crossOriginIframeMap.get(t.source);if(!s)return;const i=this.transformCrossOriginEvent(s,n.data.event);i&&this.wrappedEmit(i,n.data.isCheckout)}transformCrossOriginEvent(t,n){var r;switch(n.type){case Ue.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const s=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,s),this.patchRootIdOnNode(n.data.node,s),{timestamp:n.timestamp,type:Ue.IncrementalSnapshot,data:{source:Re.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Ue.Meta:case Ue.Load:case Ue.DomContentLoaded:return!1;case Ue.Plugin:return n;case Ue.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case Ue.IncrementalSnapshot:switch(n.data.source){case Re.Mutation:return n.data.adds.forEach(s=>{this.replaceIds(s,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(s.node,t);const i=this.crossOriginIframeRootIdMap.get(t);i&&this.patchRootIdOnNode(s.node,i)}),n.data.removes.forEach(s=>{this.replaceIds(s,t,["parentId","id"])}),n.data.attributes.forEach(s=>{this.replaceIds(s,t,["id"])}),n.data.texts.forEach(s=>{this.replaceIds(s,t,["id"])}),n;case Re.Drag:case Re.TouchMove:case Re.MouseMove:return n.data.positions.forEach(s=>{this.replaceIds(s,t,["id"])}),n;case Re.ViewportResize:return!1;case Re.MediaInteraction:case Re.MouseInteraction:case Re.Scroll:case Re.CanvasMutation:case Re.Input:return this.replaceIds(n.data,t,["id"]),n;case Re.StyleSheetRule:case Re.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case Re.Font:return n;case Re.Selection:return n.data.ranges.forEach(s=>{this.replaceIds(s,t,["start","end"])}),n;case Re.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),(r=n.data.styles)==null||r.forEach(s=>{this.replaceStyleIds(s,t,["styleId"])}),n}}return!1}replace(t,n,r,s){for(const i of s)!Array.isArray(n[i])&&typeof n[i]!="number"||(Array.isArray(n[i])?n[i]=t.getIds(r,n[i]):n[i]=t.getId(r,n[i]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==Xt.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class RV{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class PV{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!Qd(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=cI({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(uI({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),u3(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(d
39I({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const n=Q9(t),r=A0(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(Z9(t.prototype,"attachShadow",function(s){return function(i){const a=s.call(this,i);return this.shadowRoot&&oI(this)&&r.addShadowRoot(this.shadowRoot,n),a}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class AV{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new aV,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},s=[];for(const i of t){let a;this.styleMirror.has(i)?a=this.styleMirror.getId(i):(a=this.styleMirror.add(i),s.push({styleId:a,rules:Array.from(i.rules||CSSRule,(l,c)=>({rule:qN(l),index:c}))})),r.styleIds.push(a)}s.length>0&&(r.styles=s),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class LV{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(s=>s!==n)}add(t,n){this.active||(this.active=!0,cV(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let Bt,zf;var ME;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((ME=e.contentWindow)==null?void 0:ME.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const gs=RK();function Rs(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:s="rr-block",blockSelector:i=null,unblockSelector:a=null,ignoreClass:l="rr-ignore",ignoreSelector:c=null,maskAllText:u=!1,maskTextClass:d="rr-mask",unmaskTextClass:h=null,maskTextSelector:f=null,unmaskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:y,maskInputOptions:_,slimDOMOptions:g,maskAttributeFn:b,maskInputFn:k,maskTextFn:x,maxCanvasSize:S=null,packFn:T,sampling:C={},dataURLOptions:E={},mousemoveWait:N,recordDOM:j=!0,recordCanvas:I=!1,recordCrossOriginIframes:P=!1,recordAfter:O=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:F=!1,collectFonts:B=!1,inlineImages:$=!1,plugins:D,keepIframeSrcFn:z=()=>!1,ignoreCSSAttributes:R=new Set([]),errorHandler:w,onMutation:L,getCanvasManager:M}=e;dV(w);const A=P?window.parent===window:!0;let q=!1;if(!A)try{window.parent.document&&(q=!1)}catch{q=!0}if(A&&!t)throw new Error("emit function is required");if(!A&&!q)return()=>{};N!==void 0&&C.mousemove===void 0&&(C.mousemove=N),gs.reset();const W=y===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:_!==void 0?_:{},U=g===!0||g==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:g==="all",headMetaDescKeywords:g==="all"}:g||{};iV();let G,oe=0;const de=Se=>{for(const lt of D||[])lt.eventProcessor&&(Se=lt.eventProcessor(Se));return T&&!q&&(Se=T(Se)),Se};Bt=(Se,lt)=>{var ne;const je=Se;if(je.timestamp=Cf(),(ne=gc[0])!=null&&ne.isFrozen()&&je.type!==Ue.FullSnapshot&&!(je.type===Ue.IncrementalSnapshot&&je.data.source===Re.Mutation)&&gc.forEach(ge=>ge.unfreeze()),A)t==null||t(de(je),lt);else if(q){const ge={type:"rrweb",event:de(je),origin:window.location.origin,isCheckout:lt};window.parent.postMessage(ge,"*")}if(je.type===Ue.FullSnapshot)G=je,oe=0;else if(je.type===Ue.IncrementalSnapshot){if(je.data.source===Re.Mutation&&je.data.isAttachIframe)return;oe++;const ge=r&&oe>=r,xe=n&&G&&je.timestamp-G.timestamp>n;(ge||xe)&&Ke(!0)}};const Ae=Se=>{Bt({type:Ue.IncrementalSnapshot,data:{source:Re.Mutation,...Se}})},te=Se=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.Scroll,...Se}}),be=Se=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.CanvasMutation,...Se}}),Be=Se=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.AdoptedStyleSheet,...Se}}),He=new AV({mutationCb:Ae,adoptedStyleSheetCb:Be}),Ne=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new NV:new IV({mirror:gs,mutationCb:Ae,stylesheetManager:He,recordCrossOriginIframes:P,wrappedEmit:Bt});for(const Se of D||[])Se.getMirror&&Se.getMirror({nodeMirror:gs,crossOriginIframeMirror:Ne.crossOriginIframeMirror,crossOriginIframeStyleMirror:Ne.crossOriginIframeStyleMirror});const We=new LV,re=OV(M,{mirror:gs,win:window,mutationCb:Se=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.CanvasMutation,...Se}}),recordCanvas:I,blockClass:s,blockSelector:i,unblockSelector:a,maxCanvasSize:S,sampling:C.canvas,dataURLOptions:E,errorHandler:w}),Le=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new RV:new PV({mutationCb:Ae,scrollCb:te,bypassOptions:{onMutation:L,blockClass:s,blockSelector:i,unblockSelector:a,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:W,dataURLOptions:E,maskAttributeFn:b,maskTextFn:x,maskInputFn:k,recordCanvas:I,inlineImages:$,sampling:C,slimDOMOptions:U,iframeManager:Ne,stylesheetManager:He,canvasManager:re,keepIframeSrcFn:z,processedNodeManager:We,ignoreCSSAttributes:R},mirror:gs}),Ke=(Se=!1)=>
39{if(!j)return;Bt({type:Ue.Meta,data:{href:window.location.href,width:tI(),height:eI()}},Se),He.reset(),Le.init(),gc.forEach(je=>je.lock());const lt=rV(document,{mirror:gs,blockClass:s,blockSelector:i,unblockSelector:a,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskAllInputs:W,maskAttributeFn:b,maskInputFn:k,maskTextFn:x,slimDOM:U,dataURLOptions:E,recordCanvas:I,inlineImages:$,onSerialize:je=>{sI(je,gs)&&Ne.addIframe(je),iI(je,gs)&&He.trackLinkElement(je),z6(je)&&Le.addShadowRoot(je.shadowRoot,document)},onIframeLoad:(je,ne)=>{Ne.attachIframe(je,ne);const ge=A0(je);ge&&re.addWindow(ge),Le.observeAttachShadow(je)},onStylesheetLoad:(je,ne)=>{He.attachLinkElement(je,ne)},onBlockedImageLoad:(je,ne,{width:ge,height:xe})=>{Ae({adds:[],removes:[],texts:[],attributes:[{id:ne.id,attributes:{style:{width:`${ge}px`,height:`${xe}px`}}}]})},keepIframeSrcFn:z,ignoreCSSAttributes:R});if(!lt)return console.warn("Failed to snapshot the document");Bt({type:Ue.FullSnapshot,data:{node:lt,initialOffset:QN(window)}}),gc.forEach(je=>je.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&He.adoptStyleSheets(document.adoptedStyleSheets,gs.getId(document))};zf=Ke;try{const Se=[],lt=ne=>{var ge;return nt(zV)({onMutation:L,mutationCb:Ae,mousemoveCb:(xe,V)=>Bt({type:Ue.IncrementalSnapshot,data:{source:V,positions:xe}}),mouseInteractionCb:xe=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.MouseInteraction,...xe}}),scrollCb:te,viewportResizeCb:xe=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.ViewportResize,...xe}}),inputCb:xe=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.Input,...xe}}),mediaInteractionCb:xe=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.MediaInteraction,...xe}}),styleSheetRuleCb:xe=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.StyleSheetRule,...xe}}),styleDeclarationCb:xe=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.StyleDeclaration,...xe}}),canvasMutationCb:be,fontCb:xe=>Bt({type:Ue.IncrementalSnapshot,data:{source:Re.Font,...xe}}),selectionCb:xe=>{Bt({type:Ue.IncrementalSnapshot,data:{source:Re.Selection,...xe}})},customElementCb:xe=>{Bt({type:Ue.IncrementalSnapshot,data:{source:Re.CustomElement,...xe}})},blockClass:s,ignoreClass:l,ignoreSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:h,maskTextSelector:f,unmaskTextSelector:p,maskInputOptions:W,inlineStylesheet:m,sampling:C,recordDOM:j,recordCanvas:I,inlineImages:$,userTriggeredOnInput:F,collectFonts:B,doc:ne,maskAttributeFn:b,maskInputFn:k,maskTextFn:x,keepIframeSrcFn:z,blockSelector:i,unblockSelector:a,slimDOMOptions:U,dataURLOptions:E,mirror:gs,iframeManager:Ne,stylesheetManager:He,shadowDomManager:Le,processedNodeManager:We,canvasManager:re,ignoreCSSAttributes:R,plugins:((ge=D==null?void 0:D.filter(xe=>xe.observer))==null?void 0:ge.map(xe=>({observer:xe.observer,options:xe.options,callback:V=>Bt({type:Ue.Plugin,data:{plugin:xe.name,payload:V}})})))||[]},{})};Ne.addLoadListener(ne=>{try{Se.push(lt(ne.contentDocument))}catch(ge){console.warn(ge)}});const je=()=>{Ke(),Se.push(lt(document))};return document.readyState==="interactive"||document.readyState==="complete"?je():(Se.push(Jn("DOMContentLoaded",()=>{Bt({type:Ue.DomContentLoaded,data:{}}),O==="DOMContentLoaded"&&je()})),Se.push(Jn("load",()=>{Bt({type:Ue.Load,data:{}}),O==="load"&&je()},window))),()=>{Se.forEach(ne=>ne()),We.destroy(),zf=void 0,hV()}}catch(Se){console.warn(Se)}}function MV(e){if(!zf)throw new Error("please take full snapshot after start recording");zf(e)}Rs.mirror=gs;Rs.takeFullSnapshot=MV;function OV(e,t){try{return e?e(t):new J_}catch{return console.warn("Unable to initialize CanvasManager"),new J_}}var nk;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(nk||(nk={}));const DV=3,WV=5;function ey(e){return e>9999999999?e:e*1e3}function Am(e){return e>9999999999?e/1e3:e}function R1(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>
39(e.throttledAddEvent({type:Ue.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:ks(t,10,1e3)}}),t.category==="console")))}const FV="button,a";function hI(e){return e.closest(FV)||e}function fI(e){const t=pI(e);return!t||!(t instanceof Element)?t:hI(t)}function pI(e){return $V(e)?e.target:e}function $V(e){return typeof e=="object"&&!!e&&"target"in e}let wa;function BV(e){return wa||(wa=[],UV()),wa.push(e),()=>{const t=wa?wa.indexOf(e):-1;t>-1&&wa.splice(t,1)}}function UV(){mr(Ct,"open",function(e){return function(...t){if(wa)try{wa.forEach(n=>n())}catch{}return e.apply(Ct,t)}})}const qV=new Set([Re.Mutation,Re.StyleSheetRule,Re.StyleDeclaration,Re.AdoptedStyleSheet,Re.CanvasMutation,Re.Selection,Re.MediaInteraction]);function HV(e,t,n){e.handleClick(t,n)}class GV{constructor(t,n,r=R1){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scrollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=BV(()=>{this._lastMutation=rk()});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(VV(n,this._ignoreSelector)||!YV(t))return;const r={timestamp:Am(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(s=>s.node===r.node&&Math.abs(s.timestamp-r.timestamp)<1)||(this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=Am(t)}registerScroll(t=Date.now()){this._lastScroll=Am(t)}registerClick(t){const n=hI(t);this._handleMultiClick(n)}_handleMultiClick(t){this._getClicks(t).forEach(n=>{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=>n.node===t)}_checkClicks(){const t=[],n=rk();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const s=this._clicks.indexOf(r);s>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(s,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scrollTimeout,s=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!r&&!s,{clickCount:a,clickBreadcrumb:l}=t;if(i){const c=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,u=c<this._timeout*1e3?"mutation":"timeout",d={type:"default",message:l.message,timestamp:l.timestamp,category:"ui.slowClickDetected",data:{...l.data,url:Ct.location.href,route:n.getCurrentRoute(),timeAfterClickMs:c,endReason:u,clickCount:a||1}};this._addBreadcrumbEvent(n,d);return}if(a>1){const c={type:"default",message:l.message,timestamp:l.timestamp,category:"ui.multiClick",data:{...l.data,url:Ct.location.href,route:n.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(n,c)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=N1(()=>this._checkClicks(),1e3)}}const KV=["A","BUTTON","INPUT"];function VV(e,t){return!!(!KV.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function YV(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function rk(){return Date.now()/1e3}function JV(e,t){try{if(!ZV(t))return;const{source:n}=t.data;if(qV.has(n)&&e.registerMutation(t.timestamp),n===Re.Scroll&&e.registerScroll(t.timestamp),XV(t)){const{type:r,id:s}=t.data,i=Rs.mirror.getNode(s);i instanceof HTMLElement&&r===Kn.Click&&e.registerClick(i)}}catch{}}function ZV(e){return e.type===DV}function XV(e){return e.data.source===Re.MouseInteraction}function ni(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var d3=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(d3||{});const QV=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function eY(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(QV.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const tY=e=>t=>{if(!e.isEnabled())return;const n=nY(t);if(!n)return;
39const r=t.name==="click",s=r?t.event:void 0;r&&e.clickDetector&&(s!=null&&s.target)&&!s.altKey&&!s.metaKey&&!s.ctrlKey&&!s.shiftKey&&HV(e.clickDetector,n,fI(t.event)),R1(e,n)};function mI(e,t){const n=Rs.mirror.getId(e),r=n&&Rs.mirror.getNode(n),s=r&&Rs.mirror.getMeta(r),i=s&&sY(s)?s:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(a=>a.type===d3.Text&&a.textContent).filter(Boolean).map(a=>a.trim()).join(""),attributes:eY(i.attributes)}}:{}}}function nY(e){const{target:t,message:n}=rY(e);return ni({category:`ui.${e.name}`,...mI(t,n)})}function rY(e){const t=e.name==="click";let n,r=null;try{r=t?fI(e.event):pI(e.event),n=pn(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}function sY(e){return e.type===d3.Element}function iY(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=aY(t);n&&R1(e,n)}function aY(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i,target:a}=e;if(!a||oY(a)||!i)return null;const l=t||r||s,c=i.length===1;if(!l&&c)return null;const u=pn(a,{maxStringLength:200})||"<unknown>",d=mI(a,u);return ni({category:"ui.keyDown",message:u,data:{...d.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i}})}function oY(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const lY={resource:fY,paint:dY,navigation:hY};function Lm(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function cY(e){return e.map(uY).filter(Boolean)}function uY(e){const t=lY[e.entryType];return t?t(e):null}function ou(e){return((kn()||Ct.performance.timeOrigin)+e)/1e3}function dY(e){const{duration:t,entryType:n,name:r,startTime:s}=e,i=ou(s);return{type:n,name:r,start:i,end:i+t,data:void 0}}function hY(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:i,encodedBodySize:a,domContentLoadedEventStart:l,domContentLoadedEventEnd:c,domInteractive:u,loadEventStart:d,loadEventEnd:h,redirectCount:f,startTime:p,transferSize:m,type:y}=e;return s===0?null:{type:`${t}.${y}`,start:ou(p),end:ou(i),name:n,data:{size:m,decodedBodySize:r,encodedBodySize:a,duration:s,domInteractive:u,domContentLoadedEventStart:l,domContentLoadedEventEnd:c,loadEventStart:d,loadEventEnd:h,domComplete:i,redirectCount:f}}}function fY(e){const{entryType:t,initiatorType:n,name:r,responseEnd:s,startTime:i,decodedBodySize:a,encodedBodySize:l,responseStatus:c,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:ou(i),end:ou(s),name:r,data:{size:u,statusCode:c,decodedBodySize:a,encodedBodySize:l}}}function pY(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.element?[t.element]:void 0;return ty(e,"largest-contentful-paint",n)}function mY(e){return e.sources!==void 0}function gY(e){const t=[],n=[];for(const r of e.entries)if(mY(r)){const s=[];for(const i of r.sources)if(i.node){n.push(i.node);const a=Rs.mirror.getId(i.node);a&&s.push(a)}t.push({value:r.value,nodeIds:s.length?s:void 0})}return ty(e,"cumulative-layout-shift",n,t)}function yY(e){const t=e.entries[e.entries.length-1],n=t!=null&&t.target?[t.target]:void 0;return ty(e,"interaction-to-next-paint",n)}function ty(e,t,n,r){const s=e.value,i=e.rating,a=ou(s);return{type:"web-vital",name:t,start:a,end:a,data:{value:s,size:s,rating:i,nodeIds:n?n.map(l=>Rs.mirror.getId(l)):void 0,attributions:r}}}function vY(e){function t(s){e.performanceEntries.includes(s)||e.performanceEntries.push(s)}function n({entries:s}){s.forEach(t)}const r=[];return["navigation","paint","resource"].forEach(s=>{r.push(ol(s,n))}),r.push(r3(Lm(pY,e)),n3(Lm(gY,e)),U9(Lm(yY,e))),()=>{r.forEach(s=>s())}}const Ce=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,bY='
vendor: 10,329 bytes, line 39
39var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([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]),i=new t([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]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
39';function _Y(){const e=new Blob([bY]);return URL.createObjectURL(e)}const sk=["log","warn","error"],W2="[Replay] ";function Mm(e,t="info"){Ya({category:"console",data:{logger:"replay"},level:t,message:`${W2}${e}`},{level:t})}function kY(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=!!r.captureExceptions,t=!!r.traceInternals}};return Ce?(sk.forEach(r=>{n[r]=(...s)=>{ie[r](W2,...s),t&&Mm(s.join(""),hN(r))}}),n.exception=(r,...s)=>{s.length&&n.error&&n.error(...s),ie.error(W2,r),e?L9(r,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&Mm(r,"error")},n.infoTick=(...r)=>{ie.log(W2,...r),t&&setTimeout(()=>Mm(r[0]),0)}):sk.forEach(r=>{n[r]=()=>{}}),n}const Ee=kY();class ny extends Error{constructor(){super(`Event buffer exceeded maximum size of ${V9}.`)}}class gI{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize>V9)throw new ny;this.events.push(t)}finish(){return new Promise(t=>{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let t=null;for(const{timestamp:n}of this.events)(t===null||n<t)&&(t=n);return t===null?t:ey(t)}}class wY{constructor(t){this._onMessage=({data:n})=>{const r=n;if(typeof r.id!="number")return;const s=this._pending.get(r.id);if(!(!s||s.method!==r.method)){if(this._pending.delete(r.id),!r.success){Ce&&Ee.error("Error in compression worker: ",r.response),s.reject(new Error("Error in compression worker"));return}s.resolve(r.response)}},this._worker=t,this._id=0,this._pending=new Map,this._worker.addEventListener("message",this._onMessage)}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:r})=>{r.success?t():(Ce&&Ee.warn("Received worker message with unsuccessful status",r),n(new Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",r=>{Ce&&Ee.warn("Failed to load Replay compression worker",r),n(new Error(`Failed to load Replay compression worker: ${r instanceof ErrorEvent&&r.message?r.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})}),this._ensureReadyPromise)}destroy(){Ce&&Ee.log("Destroying compression worker"),this._worker.removeEventListener("message",this._onMessage),this._pending.forEach(t=>t.reject(new Error("Worker destroyed"))),this._pending.clear(),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((s,i)=>{this._pending.set(r,{method:t,resolve:s,reject:i});try{this._worker.postMessage({id:r,method:t,arg:n})}catch(a){this._pending.delete(r),i(a)}})}_getAndIncrementId(){return this._id++}}class xY{constructor(t){this._worker=new wY(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=ey(t.timestamp);(!this._earliestTimestamp||n<this._earliestTimestamp)&&(this._earliestTimestamp=n);const r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize>V9?Promise.reject(new ny):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{Ce&&Ee.exception(t,'Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class SY{constructor(t){this._fallback=new gI,this._compression=new xY(t),this._used=this._fallback,this._ensureWorkerIsLoadedProm
39ise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}set waitForCheckout(t){this._used.waitForCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){Ce&&Ee.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n,waitForCheckout:r}=this._fallback,s=[];for(const i of t)s.push(this._compression.addEvent(i));this._compression.hasCheckout=n,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(s),this._fallback.clear()}catch(i){Ce&&Ee.exception(i,"Failed to add events when switching buffers.")}}}function TY({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=jY(t);if(n)return n}return Ce&&Ee.log("Using simple buffer"),new gI}function jY(e){try{const t=e||CY();if(!t)return;Ce&&Ee.log(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new SY(n)}catch(t){Ce&&Ee.exception(t,"Failed to create compression worker")}}function CY(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?_Y():""}function ry(){try{return"sessionStorage"in Ct&&!!Ct.sessionStorage}catch{return!1}}function EY(e){zY(),e.session=void 0}function zY(){if(ry())try{Ct.sessionStorage.removeItem(G9)}catch{}}function yI(e){return e===void 0?!1:Math.random()<e}function h3(e){if(ry())try{Ct.sessionStorage.setItem(G9,JSON.stringify(e))}catch{}}function vI(e){const t=Date.now(),n=e.id||Mr(),r=e.started||t,s=e.lastActivity||t,i=e.segmentId||0,a=e.sampled,l=e.previousSessionId,c=e.dirty||!1;return{id:n,started:r,lastActivity:s,segmentId:i,sampled:a,previousSessionId:l,dirty:c}}function NY(e,t){return yI(e)?"session":t?"buffer":!1}function ik({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const s=NY(e,t),i=vI({sampled:s,previousSessionId:r});return n&&h3(i),i}function IY(){if(!ry())return null;try{const e=Ct.sessionStorage.getItem(G9);if(!e)return null;const t=JSON.parse(e);return Ce&&Ee.infoTick("Loading existing session"),vI(t)}catch{return null}}function R6(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function RY(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return R6(e.started,t,r)||R6(e.lastActivity,n,r)}function Nf(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!RY(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function Om({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const s=r.stickySession&&IY();return s?Nf(s,{sessionIdleExpire:e,maxReplayDuration:t})?(Ce&&Ee.infoTick("Session in sessionStorage is expired, creating new one..."),ik(r,{previousSessionId:s.id})):s:(Ce&&Ee.infoTick("Creating new session"),ik(r,{previousSessionId:n}))}function PY(e){return e.type===Ue.Custom}function sy(e,t,n){return _I(e,t)?(bI(e,t,n),!0):!1}function AY(e,t,n){return _I(e,t)?bI(e,t,n):Promise.resolve(null)}async function bI(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const s=e.recordingMode==="buffer";try{n&&s&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const i=e.getOptions(),a=LY(t,i.beforeAddRecordingEvent);return a?await r.addEvent(a):void 0}catch(i){const a=i&&i instanceof ny,l=a?"eventBufferOverflow":"eventBufferError",c=De();if(c){const u=a?"buffer_overflow":"internal_sdk_error";c.recordDroppedEvent(u,"replay")}if(a&&s)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:l})}}
39function _I(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=ey(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(Ce&&Ee.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function LY(e,t){try{if(typeof t=="function"&&PY(e))return t(e)}catch(n){return Ce&&Ee.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function iy(e){return!e.type}function P6(e){return e.type==="transaction"}function MY(e){return e.type==="replay_event"}function ak(e){return e.type==="feedback"}function OY(e){return(t,n)=>{if(!e.isEnabled()||!iy(t)&&!P6(t))return;const r=n.statusCode;if(!(!r||r<200||r>=300)){if(P6(t)){DY(e,t);return}WY(e,t)}}}function DY(e,t){var r,s;const n=e.getContext();(s=(r=t.contexts)==null?void 0:r.trace)!=null&&s.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function WY(e,t){var s;const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!((s=t.tags)!=null&&s.replayId))return;const{beforeErrorSampling:r}=e.getOptions();typeof r=="function"&&!r(t)||N1(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(i){e.handleException(i)}})}function FY(e){return t=>{!e.isEnabled()||!iy(t)||$Y(e,t)}}function $Y(e,t){var r,s,i;const n=(i=(s=(r=t.exception)==null?void 0:r.values)==null?void 0:s[0])==null?void 0:i.value;if(typeof n=="string"&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const a=ni({category:"replay.hydrate-error",data:{url:Iu()}});R1(e,a)}}function BY(e){const t=De();t&&t.on("beforeAddBreadcrumb",n=>UY(e,n))}function UY(e,t){if(!e.isEnabled()||!kI(t))return;const n=qY(t);n&&R1(e,n)}function qY(e){return!kI(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?HY(e):ni(e)}function HY(e){var s;const t=(s=e.data)==null?void 0:s.arguments;if(!Array.isArray(t)||t.length===0)return ni(e);let n=!1;const r=t.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>ah?(n=!0,`${i.slice(0,ah)}…`):i;if(typeof i=="object")try{const a=ks(i,7);return JSON.stringify(a).length>ah?(n=!0,`${JSON.stringify(a,null,2).slice(0,ah)}…`):a}catch{}return i});return ni({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function kI(e){return!!e.category}function GY(e,t){var n,r,s;return e.type||!((r=(n=e.exception)==null?void 0:n.values)!=null&&r.length)?!1:!!((s=t.originalException)!=null&&s.__rrweb__)}function If(){const e=ot().getPropagationContext().dsc;e&&delete e.replay_id;const t=Bn();if(t){const n=fi(t);delete n.replay_id}}function ok(e){const t=ot().getPropagationContext().dsc;t&&(t.replay_id=e);const n=Bn();if(n){const r=fi(n);r.replay_id=e}}function KY(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:Ue.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function VY(e,t){return e.recordingMode!=="buffer"||t.message===K9||!t.exception||t.type?!1:yI(e.getOptions().errorSampleRate)}function YY(e){return Object.assign((t,n)=>{var a;if(e.session&&Nf(e.session,{maxReplayDuration:e.getOptions().maxReplayDuration,sessionIdleExpire:e.timeouts.sessionIdleExpire})&&If(),!e.isEnabled()||e.isPaused())return t;if(MY(t))return delete t.breadcrumbs,t;if(!iy(t)&&!P6(t)&&!ak(t))return t;if(!e.checkAndHandleExpiredSession())return If(),t;if(ak(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),KY(e,t),t;if(GY(t,n)&&!e.getOptions()._experiments.captureExceptions)return Ce&&Ee.log("Ignoring error from rrweb internals",t),null;const s=VY(e,t);if((s||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),s&&e.recordingMode==="buffer"&&((a=e.session)==null?void 0:a.sampled)==="buffer"){const l=e.session;l.dirty=!0,e.getOptions().stickySession&&h3(l)}return t},{id:"Replay"})}function f3(e,t){return t.map(({type:n,start:r,end:s,name:i,data:a})=>{const l=e.throttledAddEvent({type:Ue.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:s,data:a}}});return typeof l=="string"?Promise.resolve(null):l})}function JY(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function ZY(e){return t=>{if(!e.isEnabled())return;const n=JY(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(f3(e,[n]),!1)))}}function XY(e,t){return Ce&&e.getOptions()._experiments.traceInternals?!1:bU(t,De()
39)}function wI(e,t){e.isEnabled()&&t!==null&&(XY(e,t.name)||e.addUpdate(()=>(f3(e,[t]),!0)))}function p3(e){if(!e)return;const t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=ON(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function xI(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function Rf(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function SI(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:s,method:i,statusCode:a,request:l,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:s,data:{method:i,statusCode:a,request:l,response:c}}}function L0(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Da(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:s,warnings:i}=QY(n);return r.body=s,i!=null&&i.length&&(r._meta={warnings:i}),r}function A6(e,t){return Object.entries(e).reduce((n,[r,s])=>{const i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=s),n},{})}function QY(e){if(!e||typeof e!="string")return{body:e};const t=e.length>F_,n=eJ(e);if(t){const r=e.slice(0,F_);return n?{body:r,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${r}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function eJ(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function Pf(e,t){const n=tJ(e);return ai(n,t)}function tJ(e,t=Ct.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Ct.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function nJ(e,t,n){try{const r=await sJ(e,t,n),s=SI("resource.fetch",r);wI(n.replay,s)}catch(r){Ce&&Ee.exception(r,"Failed to capture fetch breadcrumb")}}function rJ(e,t){const{input:n,response:r}=t,s=n?WN(n):void 0,i=p3(s),a=r?xI(r.headers.get("content-length")):void 0;i!==void 0&&(e.data.request_body_size=i),a!==void 0&&(e.data.response_body_size=a)}async function sJ(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r}=t,{url:a,method:l,status_code:c=0,request_body_size:u,response_body_size:d}=e.data,h=Pf(a,n.networkDetailAllowUrls)&&!Pf(a,n.networkDetailDenyUrls),f=h?iJ(n,t.input,u):L0(u),p=await aJ(h,n,t.response,d);return{startTimestamp:s,endTimestamp:i,url:a,method:l,statusCode:c,request:f,response:p}}function iJ({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?cJ(n,t):{};if(!e)return Da(s,r,void 0);const i=WN(n),[a,l]=DN(i,Ee),c=Da(s,r,a);return l?Rf(c,l):c}async function aJ(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,s){if(!e&&s!==void 0)return L0(s);const i=r?TI(r.headers,n):{};if(!r||!t&&s!==void 0)return Da(i,s,void 0);const[a,l]=await lJ(r),c=oJ(a,{networkCaptureBodies:t,responseBodySize:s,captureDetails:e,headers:i});return l?Rf(c,l):c}function oJ(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:s}){try{const i=e!=null&&e.length&&n===void 0?p3(e):n;return r?t?Da(s,i,e):Da(s,i,void 0):L0(i)}catch(i){return Ce&&Ee.exception(i,"Failed to serialize response body"),Da(s,n,void 0)}}async function lJ(e){const t=uJ(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await dJ(t)]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(Ce&&Ee.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(Ce&&Ee.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function TI(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function cJ(e,t){return e.length===1&&typeof e[0]!="string"?lk(e[0],t):e.length===2?lk(e[1],t):{}}function lk(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?TI(n,t):Array.isArray(n)?{}:A6(n,t):{}}function uJ(e){try{return e.clone()}catch(t){Ce&&Ee.exception(t,"Failed to clone response body")}}function dJ(e){return new Promise((t,n)=>{const r=N1(()=>n(new Error("Timeout while trying to read response body")),500);hJ(e).then(s=>t(s),s=>n(s)).finally(()=>clearTimeout(r))})}async function hJ(e){return await e.text()}async function fJ(e,t,n){try{const r=mJ(e,t,n),s=SI("resource.xhr",r);wI(n.replay,s)}catch(r){Ce&&Ee.exception(r,"Failed to capture xhr breadcrumb")}}function pJ(e,t){const{xhr:n,input:r}=t;if(!n)return;const s=p3(r),i=n.getResponseHeader("content-length")?xI(n.getResponseHeader("content-length")):vJ(n.response,n.responseType);s!==void 0&&(e.data.request_body_size=s),i!==void 0&&(e.data.response_body_size=i)}function mJ(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r,input:a,xhr:l}=t,{url:c,method:u,status_code:d=0,request_body_size:h,response_body_size:f}=e.data;if(!c)return null;if(!l||!Pf(c,n.networkDetailAllowUrls)||Pf(c,n.networkDetailDenyUrls)){const T=L0(h),C=L0(f);return{startTimestamp:s,endTimestamp:i,url:c,method:u,statusCode:d,request:T,response:C}}
39const p=l[Fo],m=p?A6(p.request_headers,n.networkRequestHeaders):{},y=A6(FN(l),n.networkResponseHeaders),[_,g]=n.networkCaptureBodies?DN(a,Ee):[void 0],[b,k]=n.networkCaptureBodies?gJ(l):[void 0],x=Da(m,h,_),S=Da(y,f,b);return{startTimestamp:s,endTimestamp:i,url:c,method:u,statusCode:d,request:g?Rf(x,g):x,response:k?Rf(S,k):S}}function gJ(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return yJ(e.response,e.responseType)}catch(n){t.push(n)}return Ce&&Ee.warn("Failed to get xhr response body",...t),[void 0]}function yJ(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return Ce&&Ee.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return Ce&&Ee.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function vJ(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return p3(n)}catch{return}}function bJ(e){const t=De();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:i,networkResponseHeaders:a}=e.getOptions(),l={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:i,networkResponseHeaders:a};t&&t.on("beforeAddBreadcrumb",(c,u)=>_J(l,c,u))}catch{}}function _J(e,t,n){if(t.data)try{kJ(t)&&xJ(n)&&(pJ(t,n),fJ(t,n,e)),wJ(t)&&SJ(n)&&(rJ(t,n),nJ(t,n,e))}catch(r){Ce&&Ee.exception(r,"Error when enriching network breadcrumb")}}function kJ(e){return e.category==="xhr"}function wJ(e){return e.category==="fetch"}function xJ(e){return e==null?void 0:e.xhr}function SJ(e){return(e==null?void 0:e.input)!==void 0}function TJ(e){const t=De();AN(tY(e)),o3(ZY(e)),BY(e),bJ(e);const n=YY(e);AB(n),t&&(t.on("beforeSendEvent",FY(e)),t.on("afterSendEvent",OY(e)),t.on("createDsc",r=>{const s=e.getSessionId();s&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(r.replay_id=s)}),t.on("spanStart",r=>{e.lastActiveSpan=r}),t.on("spanEnd",r=>{e.lastActiveSpan=r}),t.on("beforeSendFeedback",async(r,s)=>{var a;const i=e.getSessionId();s!=null&&s.includeReplay&&e.isEnabled()&&i&&((a=r.contexts)!=null&&a.feedback)&&(r.contexts.feedback.source==="api"&&await e.sendBufferedReplayOrFlush(),r.contexts.feedback.replay_id=i)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}async function jJ(e){try{return Promise.all(f3(e,[CJ(Ct.performance.memory)]))}catch{return[]}}function CJ(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,s=Date.now()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function EJ(e,t,n){return jU(e,t,{...n,setTimeoutImpl:N1})}const Kr=qe.navigator;function zJ(){return/iPhone|iPad|iPod/i.test((Kr==null?void 0:Kr.userAgent)??"")||/Macintosh/i.test((Kr==null?void 0:Kr.userAgent)??"")&&(Kr!=null&&Kr.maxTouchPoints)&&(Kr==null?void 0:Kr.maxTouchPoints)>1?{sampling:{mousemove:!1}}:{}}function NJ(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){Ce&&Ee.warn("Received replay event after session expired.");return}const s=r||!t;t=!0,IJ(n),e.clickDetector&&JV(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!sy(e,n,s))return!0;if(!s)return!1;const i=e.session;if(PJ(e,s),e.recordingMode==="buffer"&&i&&e.eventBuffer&&!i.dirty){const a=e.eventBuffer.getEarliestTimestamp();a&&(Ce&&Ee.log(`Updating session start time to earliest event in buffer to ${new Date(a)}`),i.started=a,e.getOptions().stickySession&&h3(i))}return i!=null&&i.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function IJ(e){const t=e.data;if(!(e.type!==Ue.IncrementalSnapshot||!t||typeof t!="object"||!("source"in t)||t.source!==Re.Mutation||!("attributes"in t)||!Array.isArray(t.attributes)))for(const n of t.attributes){const r=Rs.mirror.getNode(n.id),s=r&&Rs.mirror.getMeta(r);if((s==null?void 0:s.type)===d3.Element)for(const[i,a]of Object.entries(n.attributes))a===null?delete s.attributes[i]:s.attributes[i]=a}}function RJ(e){const t=e.getOptions();return{type:Ue.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function PJ(e,t){var n;!t||((n=e.session)==null?void 0:n.segmentId)!==0||sy(e,RJ(e),!1)}function AJ(e){if(!e)return null;
39try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function LJ(e,t,n,r){return oo(Oz(e,I9(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function MJ({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}
40`;if(typeof e=="string")n=`${r}${e}`;else{const i=new TextEncoder().encode(r);n=new Uint8Array(i.length+e.length),n.set(i),n.set(e,i.length)}return n}async function OJ({client:e,scope:t,replayId:n,event:r}){const s=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:n,integrations:s};e.emit("preprocessEvent",r,i);const a=await qz(e.getOptions(),r,i,t,e,$r());if(!a)return null;e.emit("postprocessEvent",a,i),a.platform=a.platform||"javascript";const l=e.getSdkMetadata(),{name:c,version:u,settings:d}=(l==null?void 0:l.sdk)||{};return a.sdk={...a.sdk,name:c||"sentry.javascript.unknown",version:u||"0.0.0",settings:d},a}async function DJ({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:i}){const a=MJ({recordingData:e,headers:{segment_id:n}}),{urls:l,errorIds:c,traceIds:u,initialTimestamp:d}=r,h=De(),f=ot(),p=h==null?void 0:h.getTransport(),m=h==null?void 0:h.getDsn();if(!h||!p||!m||!i.sampled)return Promise.resolve({});const y={type:dK,replay_start_timestamp:d/1e3,timestamp:s/1e3,error_ids:c,trace_ids:u,urls:l,replay_id:t,segment_id:n,replay_type:i.sampled},_=await OJ({scope:f,client:h,replayId:t,event:y});if(!_)return h.recordDroppedEvent("event_processor","replay"),Ce&&Ee.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete _.sdkProcessingMetadata;const g=LJ(_,a,m,h.getOptions().tunnel);let b;try{b=await p.send(g)}catch(x){const S=new Error(K9);try{S.cause=x}catch{}throw S}const k=nN({},b);if(tN(k,"replay"))throw new ay(k);if(typeof b.statusCode=="number"&&(b.statusCode<200||b.statusCode>=300))throw new jI(b.statusCode);return b}class jI extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class ay extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}class ck extends Error{constructor(){super("Session is too long, not sending replay")}}async function CI(e,t={count:0,interval:yK}){const{recordingData:n,onError:r}=e;if(n.length)try{return await DJ(e),!0}catch(s){if(s instanceof jI||s instanceof ay)throw s;if(Gz("Replays",{_retryCount:t.count}),r&&r(s),t.count>=vK){const i=new Error(`${K9} - max retries exceeded`);try{i.cause=s}catch{}throw i}return t.interval*=++t.count,new Promise((i,a)=>{N1(async()=>{try{await CI(e,t),i(!0)}catch(l){a(l)}},t.interval)})}}const EI="__THROTTLED",WJ="__SKIPPED";function FJ(e,t,n){const r=new Map,s=l=>{const c=l-n;r.forEach((u,d)=>{d<c&&r.delete(d)})},i=()=>[...r.values()].reduce((l,c)=>l+c,0);let a=!1;return(...l)=>{const c=Math.floor(Date.now()/1e3);if(s(c),i()>=t){const d=a;return a=!0,d?WJ:EI}a=!1;const u=r.get(c)||0;return r.set(c,u+1),e(...l)}}class $J{constructor({options:t,recordingOptions:n}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:hK,sessionIdleExpire:fK},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=t,this._debouncedFlush=EJ(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=FJ((a,l)=>AY(this,a,l),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:s}=this.getOptions(),i=r?{threshold:Math.min(bK,r),timeout:r,scrollTimeout:_K,ignoreSelector:s?s.join(","):""}:void 0;if(i&&(this.clickDetector=new GV(this,i)),Ce){const a=t._experiments;Ee.setConfig({captureExceptions:!!a.captureExceptions,traceInternals:!!a.traceInternals})}this._handleVisibilityChange=()=>{Ct.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroun
40dTasks()},this._handleWindowBlur=()=>{const a=ni({category:"ui.blur"});this._doChangeToBackgroundTasks(a)},this._handleWindowFocus=()=>{const a=ni({category:"ui.focus"});this._doChangeToForegroundTasks(a)},this._handleKeyboardEvent=a=>{iY(this,a)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){Ce&&Ee.exception(t),this._options.onError&&this._options.onError(t)}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options,s=n<=0&&r<=0;if(this._requiresManualStart=s,!s){if(this._initializeSessionForSampling(t),!this.session){Ce&&Ee.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",Ce&&Ee.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){Ce&&Ee.log("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){Ce&&Ee.log("Buffering is in progress, call `flush()` to save the replay");return}Ce&&Ee.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=Om({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled){Ce&&Ee.log("Buffering is in progress, call `flush()` to save the replay");return}Ce&&Ee.infoTick("Starting replay in buffer mode");const t=Om({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=Rs({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:gK}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:NJ(this),...zJ(),onMutation:this._onMutationHandler.bind(this),...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){var s,i,a;if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode="buffer";const r=n??"manual";(i=De())==null||i.emit("replayEnd",{sessionId:(s=this.session)==null?void 0:s.id,reason:r});try{Ce&&Ee.log(`Stopping Replay triggered by ${r}`),If(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),(a=this.eventBuffer)==null||a.destroy(),this.eventBuffer=null,EY(this)}catch(l){this.handleException(l)}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),Ce&&Ee.log("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),Ce&&Ee.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();Ce&&Ee.log("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession(),ok(this.session.id)),this.startRecording())}addUpdate(t){const n=t();this.recordingMode==="buffer"||!this._isEnabled||n!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(t){var n,r;if(!(t&&((n=this.session)==null?void 0:n.sampled)===!1))return(r=this.session)==null?void 0:r.id}
40checkAndHandleExpiredSession(){var t;if(this._lastActivity&&R6(this._lastActivity,this.timeouts.sessionIdlePause)&&((t=this.session)==null?void 0:t.sampled)==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${Ct.location.pathname}${Ct.location.hash}${Ct.location.search}`,n=`${Ct.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===EI){const s=ni({category:"replay.throttled"});this.addUpdate(()=>!sy(this,{type:WV,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||Bn(),n=t&&zn(t),s=(n&&rt(n).data||{})[ti];if(!(!n||!s||!["route","custom"].includes(s)))return rt(n).description}_initializeRecording(){var t;this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=TY({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&((t=De())==null||t.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode})),this.startRecording(),this.recordingMode==="session"&&this.session&&ok(this.session.id)}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,r=Om({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;const t=this.session;return Nf(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"sessionExpired"}),this.initializeSampling(t.id))}_addListeners(){try{Ct.document.addEventListener("visibilitychange",this._handleVisibilityChange),Ct.addEventListener("blur",this._handleWindowBlur),Ct.addEventListener("focus",this._handleWindowFocus),Ct.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(TJ(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=vY(this)}_removeListeners(){try{Ct.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Ct.removeEventListener("blur",this._handleWindowBlur),Ct.removeEventListener("focus",this._handleWindowFocus),Ct.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}_doChangeToBackgroundTasks(t){if(!this.session)return;if(Nf(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})){If();return}t&&this._createCustomBreadcrumb(t),this.conditionalFlush()}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){Ce&&Ee.log("Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:Ue.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=cY(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const n=this._context.initialTimestamp/1e3;t=t.filter(r=>r.start>=n)}return Promise.all(f3(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;
40const r=n.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){var n;const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){Ce&&Ee.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!!((n=this.eventBuffer)!=null&&n.hasEvents)&&(await jJ(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const r=Date.now();if(r-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new ck;const s=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const a=await this.eventBuffer.finish();await CI({replayId:t,recordingData:a,segmentId:i,eventContext:s,session:this.session,timestamp:r,onError:l=>this.handleException(l)})}catch(r){this.handleException(r),this.stop({reason:"sendError"});const s=De();if(s){let i;r instanceof ay?i="ratelimit_backoff":r instanceof ck?i="invalid":i="send_error",s.recordDroppedEvent(i,"replay")}}}async _flush({force:t=!1}={}){if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){Ce&&Ee.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,s=Date.now()-n;this._debouncedFlush.cancel();const i=s<this._options.minReplayDuration,a=s>this._options.maxReplayDuration+5e3;if(i||a){Ce&&Ee.log(`Session duration (${Math.floor(s/1e3)}s) is too ${i?"short":"long"}, not sending replay.`),i&&this._debouncedFlush();return}const l=this.eventBuffer;l&&this.session.segmentId===0&&!l.hasCheckout&&Ce&&Ee.log("Flushing initial segment without checkout.");const c=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(u){this.handleException(u)}finally{this._flushLock=void 0,c&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&h3(this.session)}_onMutationHandler(t){const{ignoreMutations:n}=this._options._experiments;if(n!=null&&n.length&&t.some(l=>{const c=AJ(l.target),u=n.join(",");return c==null?void 0:c.matches(u)}))return!1;const r=t.length,s=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=s&&r>s;if(r>i||a){const l=ni({category:"replay.mutations",data:{count:r,limit:a}});this._createCustomBreadcrumb(l)}return a?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}function Hu(e,t){return[...e,...t].join(",")}function BJ({mask:e,unmask:t,block:n,unblock:r,ignore:s}){const i=["base","iframe[srcdoc]:not([src])"],a=Hu(e,[".sentry-mask","[data-sentry-mask]"]),l=Hu(t,[]);return{maskTextSelector:a,unmaskTextSelector:l,blockSelector:Hu(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:Hu(r,[]),ignoreSelector:Hu(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function UJ({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:s,value:i}){if(s.unmaskTextSelector&&e.matches(s.unmaskTextSelector))return i;const a=n.includes(t),l=r&&t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"");return a||l?i.replace(/[\S]/g,"*"):i}const uk='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',qJ=["content-length","content-type","accept"],HJ=Symbol.for("sentry__originalRequestBody");let dk=!1,hk=!1;function GJ(){if(typeof Request>"u"||hk)return;const e=Request;try{const t=function(n,r){const s=new e(n,r);return(r==null?void 0:r.body)!=null&&(s[HJ]=r.body),s};t.prototype=e.prototype,qe.Request=t,hk=!0}catch{}}const KJ=e=>new VJ(e);class VJ{constructor({flushMinDelay:t=pK,flushMaxDelay:n=mK,minReplayDuration:r=kK,maxReplayDuration:s=$_,stickySession:i=!0,useCompression:a=!0,workerUrl:l,_experiments:c={},maskAllText:u=!0,maskAllInputs:d=!0,blockAllMedia:h=!0,mutationBreadcrumbLimit:f=750,mutationLimit:p=1e4,slowClickTimeout:m=7e3,slowClickIgnoreSelectors:y=[],networkDetailAllowUrls:_=[],networkDetailDenyUrls:g=[],networkCaptureBodies:b=!0,networkRequestHeaders:k=[],networkResponseHeaders:x=[],mask:S=[],maskAttributes:T
40=["title","placeholder","aria-label"],unmask:C=[],block:E=[],unblock:N=[],ignore:j=[],maskFn:I,beforeAddRecordingEvent:P,beforeErrorSampling:O,onError:F,attachRawBodyFromRequest:B=!1}={}){this.name="Replay";const $=BJ({mask:S,unmask:C,block:E,unblock:N,ignore:j});if(this._recordingOptions={maskAllInputs:d,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:I,maskInputFn:I,maskAttributeFn:(D,z,R)=>UJ({maskAttributes:T,maskAllText:u,privacyOptions:$,key:D,value:z,el:R}),...$,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:D=>{try{D.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!c.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,wK),maxReplayDuration:Math.min(s,$_),stickySession:i,useCompression:a,workerUrl:l,blockAllMedia:h,maskAllInputs:d,maskAllText:u,mutationBreadcrumbLimit:f,mutationLimit:p,slowClickTimeout:m,slowClickIgnoreSelectors:y,networkDetailAllowUrls:_,networkDetailDenyUrls:g,networkCaptureBodies:b,networkRequestHeaders:fk(k),networkResponseHeaders:fk(x),beforeAddRecordingEvent:P,beforeErrorSampling:O,onError:F,attachRawBodyFromRequest:B,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${uk}`:uk,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&ru())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return dk}set _isInitialized(t){dk=t}afterAllSetup(t){!ru()||this._replay||(this._initialOptions.attachRawBodyFromRequest&&GJ(),this._setup(t),this._initialize(t))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session",reason:"manual"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(t){var n;if((n=this._replay)!=null&&n.isEnabled())return this._replay.getSessionId(t)}getRecordingMode(){var t;if((t=this._replay)!=null&&t.isEnabled())return this._replay.recordingMode}processSpan(t){const n=this.getReplayId(!0);n&&(bf(t,{"sentry.replay_id":n}),this.getRecordingMode()==="buffer"&&bf(t,{"sentry._internal.replay_is_buffering":!0}))}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=YJ(this._initialOptions,t);this._replay=new $J({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}function YJ(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},s=al(n.replaysSessionSampleRate),i=al(n.replaysOnErrorSampleRate);return s==null&&i==null&&to(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),s!=null&&(r.sessionSampleRate=s),i!=null&&(r.errorSampleRate=i),r}function fk(e){return[...qJ,...e.map(t=>t.toLowerCase())]}function JJ(){const e=De();return e==null?void 0:e.getIntegrationByName("Replay")}function ZJ(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function zI(e){try{return new URL(e,Oe.location.origin).href}catch{return}}function XJ(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function NI(e){try{return new Headers(e)}catch{return}}const II={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function QJ(e,t){const{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:s,enableHTTPTimings:i,tracePropagationTargets:a,onRequestSpanStart:l,onRequestSpanEnd:c}
40={...II,...t},u=typeof s=="function"?s:p=>!0,d=p=>tZ(p,a),h={},f=e.getOptions().propagateTraceparent;n&&D9(p=>{const m=tq(p,u,d,h,{propagateTraceparent:f,onRequestSpanEnd:c});if(m){const y=zI(p.fetchData.url),_=y?Xo(y).host:void 0;m.setAttributes({"http.url":y?li(y):void 0,"server.address":_}),i&&pk(m,e),l==null||l(m,{headers:p.headers})}}),r&&MN(p=>{var y;const m=nZ(p,u,d,h,f,c);m&&(i&&pk(m,e),l==null||l(m,{headers:NI((y=p.xhr.__sentry_xhr_v3__)==null?void 0:y.request_headers)}))})}const eZ=300;function pk(e,t){const{url:n}=rt(e).data;if(!n||typeof n!="string")return;let r=()=>void setTimeout(s);if(vi(t)){const i=e.end.bind(e);e.end=a=>{const l=a??fn();let c=!1;const u=()=>{c||(c=!0,setTimeout(s),i(l),clearTimeout(d))};r=u;const d=setTimeout(u,eZ)}}const s=ol("resource",({entries:i})=>{i.forEach(a=>{XJ(a)&&a.name.endsWith(n)&&(e.setAttributes(RN(a)),r())})})}function tZ(e,t){const n=Iu();if(n){let r,s;try{r=new URL(e,n),s=new URL(n).origin}catch{return!1}const i=r.origin===s;return t?ai(r.toString(),t)||i&&ai(r.pathname,t):i}else{const r=!!e.match(/^\/(?!\/)/);return t?ai(e,t):r}}function nZ(e,t,n,r,s,i){const a=e.xhr,l=a==null?void 0:a[Fo];if(!a||a.__sentry_own_request__||!l)return;const{url:c,method:u}=l,d=Is()&&t(c);if(e.endTimestamp){const b=a.__sentry_xhr_span_id__;if(!b)return;const k=r[b];k&&(d&&l.status_code!==void 0&&(fz(k,l.status_code),k.end(),i==null||i(k,{headers:NI(FN(a)),error:e.error})),delete r[b]);return}const h=zI(c),f=Xo(h||c),p=li(bB(c)),m=De(),_=!!Bn()||!!m&&vi(m),g=d&&_?lo({name:`${u} ${p}`,attributes:{url:li(c),type:"xhr","http.method":u,"http.url":h?li(h):void 0,"server.address":f==null?void 0:f.host,[an]:"auto.http.browser",[cs]:"http.client",...(f==null?void 0:f.search)&&{"http.query":f==null?void 0:f.search},...(f==null?void 0:f.hash)&&{"http.fragment":f==null?void 0:f.hash}}}):new oi;return d&&!_&&(m==null||m.recordDroppedEvent("no_parent_span","span")),a.__sentry_xhr_span_id__=g.spanContext().spanId,r[a.__sentry_xhr_span_id__]=g,n(c)&&rZ(a,Is()&&_?g:void 0,s),m&&m.emit("beforeOutgoingRequestSpan",g,e),g}function rZ(e,t,n){const{"sentry-trace":r,baggage:s,traceparent:i}=uN({span:t,propagateTraceparent:n});r&&sZ(e,r,s,i)}function sZ(e,t,n,r){var i;const s=(i=e.__sentry_xhr_v3__)==null?void 0:i.request_headers;if(!(s!=null&&s["sentry-trace"]||!e.setRequestHeader))try{if(e.setRequestHeader("sentry-trace",t),r&&!(s!=null&&s.traceparent)&&e.setRequestHeader("traceparent",r),n){const a=s==null?void 0:s.baggage;(!a||!ZJ(a))&&e.setRequestHeader("baggage",n)}}catch{}}const mk=new WeakMap,gk=new WeakMap,iZ=9e4,aZ=["text/event-stream","application/x-ndjson","application/stream+json"],oZ=()=>({name:"FetchStreamPerformance",setup(){dq(e=>{if(e.response){const t=mk.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);const n=gk.get(e.response);n&&clearTimeout(n)}}}),D9(e=>{var t,n,r,s;if(e.endTimestamp&&e.response){const i=((t=e.response.headers)==null?void 0:t.get("content-type"))||"";if((n=e.response.headers)!=null&&n.get("content-length")||!aZ.some(f=>i.startsWith(f)))return;const a=((r=e.fetchData)==null?void 0:r.url)||"",l=((s=e.fetchData)==null?void 0:s.method)||"GET",c=Qp(a),u=a.startsWith("data:")?li(a):c?Uz(c):a,d=lo({name:`${l} ${u}`,startTime:e.endTimestamp,attributes:{url:li(a),"http.method":l,type:"fetch",[cs]:"http.client.stream",[an]:"auto.http.browser.stream"}});mk.set(e.response,d);const h=setTimeout(()=>{d.isRecording()&&d.end()},iZ);gk.set(e.response,h)}})}}),RI="WebVitals",lZ=(e={})=>{const t=new Set(e.ignore??[]);return{name:RI,setup(n){const r=vi(n),{enableStandaloneClsSpans:s,enableStandaloneLcpSpans:i}=e._experiments??{},a=r||t.has("cls")?void 0:s||!1,l=r||t.has("lcp")?void 0:i||!1,c=mH({recordClsStandaloneSpans:a,recordLcpStandaloneSpans:l,client:n}),u=new WeakSet;n.on("afterStartPageLoadSpan",d=>{u.add(d)}),n.on("spanEnd",d=>{u.delete(d)&&(c(),SH(d,{recordClsOnPageloadSpan:a===!1,recordLcpOnPageloadSpan:l===!1,spanStreamingEnabled:r}))}),r?(t.has("lcp")||$H(n),t.has("cls")||UH(n),t.has("inp")||HH()):t.has("inp")||MH()},afterAllSetup(){t.has("inp")||FH()}}};function cZ(){Oe.document?Oe.document.addEventListener("visibilitychange",()=>{const e=Bn();if(!e)return;const t=zn(e);if(Oe.document.hidden&&t){const n="cancelled",{op:r,status:s}=rt(t);Qn&&ie.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:yn,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Qn&&ie.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const uZ=3600,PI="sentry_previous_trace",dZ="sentry.previous_trace";function hZ(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let s=r?mZ():void 0;e.on("spanStart",a=>{if(zn(a)!==a)return;const l=ot().getPropagationContext();s=fZ(s,a,l),r&&pZ(s)});let i=!0;n&&e.on("beforeSampling",a=>{if(!s)return;const l=ot(),c=l.getPropagationContext();if(i&&c.parentSpanId){i=!1;return}l.setPropagationContext({...c,dsc:{...c.dsc,sample_rate:String(s.sampleRate),sampled:String(L6(s.spanContext))},sampleRand:s.sampleRand}),a.parentSampled=L6(s.spanContext),a.parentSampleRate=s.sampleRate,a.spanAttributes={...a.spanAttributes,[dz]:s.sampleRate}})}function fZ(e,t,n){const r=rt(t);function s(){var l,c;try{const u=Number(((l=r.data)==null?void 0:l[E9])??((c=n.dsc)==null?void 0:c.sample_rate));return Number.isNaN(u)?0:u}catch{return 0}}const i={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:s(),sampleRand:n.sampleRand};if(!e)return i;const a=e.spanContext;return a.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=uZ&&(Qn&&ie.log(`Adding previous_trace \`${JSON.stringify(a)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:a,attributes:{[h$]:"previous_trace"}}),t.setAttribute(dZ,`${a.traceId}-${a.spanId}-${L6(a)?1:0}
40`)),i)}function pZ(e){try{Oe.sessionStorage.setItem(PI,JSON.stringify(e))}catch(t){Qn&&ie.warn("Could not store previous trace in sessionStorage",t)}}function mZ(){var e;try{const t=(e=Oe.sessionStorage)==null?void 0:e.getItem(PI);return JSON.parse(t)}catch{return}}function L6(e){return e.traceFlags===1}const gZ="BrowserTracing",yZ=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function vZ(){const e=Oe.navigator;return e!=null&&e.userAgent?yZ.test(e.userAgent):!1}const bZ={...A2,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...II},_Z=(e={})=>{"enableElementTiming"in e&&to(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});const t={name:void 0,source:void 0},n=Oe.document,{enableInp:r,enableLongTask:s,enableLongAnimationFrame:i,_experiments:{enableInteractions:a,enableStandaloneClsSpans:l,enableStandaloneLcpSpans:c},beforeStartSpan:u,idleTimeout:d,finalTimeout:h,childSpanTimeout:f,markBackgroundSpan:p,traceFetch:m,traceXHR:y,trackFetchStreamPerformance:_,shouldCreateSpanForRequest:g,enableHTTPTimings:b,ignoreResourceSpans:k,ignorePerformanceApiSpans:x,instrumentPageLoad:S,instrumentNavigation:T,detectRedirects:C,linkPreviousTrace:E,consistentTraceSampling:N,enableReportPageLoaded:j,onRequestSpanStart:I,onRequestSpanEnd:P}={...bZ,...e},O=vZ();let F,B;function $(D,z,R=!0){const w=z.op==="pageload",L=z.name,M=u?u(z):z,A=M.attributes||{};if(L!==M.name&&(A[ti]="custom",M.attributes=A),!R){const U=kl();lo({...M,startTime:U}).end(U);return}t.name=M.name,t.source=A[ti];const q=$z(M,{idleTimeout:d,finalTimeout:h,childSpanTimeout:f,disableAutoFinish:w,beforeSpanEnd:U=>{xH(U,{ignoreResourceSpans:k,ignorePerformanceApiSpans:x,spanStreamingEnabled:vi(D)}),bk(D,void 0);const G=ot(),oe=G.getPropagationContext();G.setPropagationContext({...oe,traceId:q.spanContext().traceId,sampled:ao(q),dsc:fi(U)}),w&&(B=void 0)},trimIdleSpanEndTimestamp:!j});w&&j&&(B=q),bk(D,q);function W(){n&&["interactive","complete"].includes(n.readyState)&&D.emit("idleSpanEnableAutoFinish",q)}w&&!j&&n&&(n.addEventListener("readystatechange",()=>{W()}),W())}return{name:gZ,setup(D){var R;if(O){Qn&&ie.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}if(M$(),i&&qe.PerformanceObserver&&((R=PerformanceObserver.supportedEntryTypes)!=null&&R.includes("long-animation-frame"))?yH():s&&gH(),a&&vH(),C&&n){const w=()=>{F=fn()};addEventListener("click",w,{capture:!0}),addEventListener("keydown",w,{capture:!0,passive:!0})}function z(){const w=M0(D);w&&!rt(w).timestamp&&(Qn&&ie.log(`[Tracing] Finishing current active span with op: ${rt(w).op}`),w.setAttribute(j0,"cancelled"),w.end())}D.on("startNavigationSpan",(w,L)=>{if(De()!==D)return;if(L!=null&&L.isRedirect){Qn&&ie.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),$(D,{op:"navigation.redirect",...w},!1);return}F=void 0,z(),$r().setPropagationContext({traceId:Zi(),sampleRand:Math.random(),propagationSpanId:Is()?void 0:Hi()});const M=ot();M.setPropagationContext({traceId:Zi(),sampleRand:Math.random(),propagationSpanId:Is()?void 0:Hi()}),M.setSDKProcessingMetadata({normalizedRequest:void 0}),$(D,{op:"navigation",...w,parentSpan:null,forceTransaction:!0})}),D.on("startPageLoadSpan",(w,L={})=>{if(De()!==D)return;z();const M=L.sentryTrace||yk("sentry-trace")||vk("sentry-trace"),A=L.baggage||yk("baggage")||vk("baggage"),q=E$(M,A),W=ot();W.setPropagationContext(q),Is()||(W.getPropagationContext().propagationSpanId=Hi()),W.setSDKProcessingMetadata({normalizedRequest:kf()}),$(D,{op:"pageload",...w})}),D.on("endPageloadSpan",()=>{j&&B&&(B.setAttribute(j0,"reportPageLoaded"),B.end())})},afterAllSetup(D){var R;if(O)return;D.addIntegration&&!((R=D.getIntegrationByName)!=null&&R.call(D,RI))&&D.addIntegration(lZ({ignore:r?[]:["inp"],_experiments:{enableStandaloneClsSpans:l,enableStandaloneLcpSpans:c}}));let z=Iu();if(E!=="off"&&hZ(D,{linkPreviousTrace:E,consistentTraceSampling:N}),Oe.location){if(S){const w=kn();kZ(D,{name:Oe.location.pathname,startTime:w?w/1e3:void 0,attributes:{[ti]:"url",[an]:"auto.pageload.browser"}})}T&&o3(({to:w,from:L}
40)=>{if(L===void 0&&(z==null?void 0:z.indexOf(w))!==-1){z=void 0;return}z=void 0;const M=Qp(w),A=M0(D),q=A&&C&&SZ(A,F);wZ(D,{name:(M==null?void 0:M.pathname)||Oe.location.pathname,attributes:{[ti]:"url",[an]:"auto.navigation.browser"}},{url:w,isRedirect:q})})}p&&cZ(),a&&xZ(D,d,h,f,t),QJ(D,{traceFetch:m,traceXHR:y,tracePropagationTargets:D.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:g,enableHTTPTimings:b,onRequestSpanStart:I,onRequestSpanEnd:P}),_&&D.addIntegration(oZ())}}};function kZ(e,t,n){e.emit("startPageLoadSpan",t,n),ot().setTransactionName(t.name);const r=M0(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function wZ(e,t,n){const{url:r,isRedirect:s}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:s}),e.emit("startNavigationSpan",t,{isRedirect:s});const i=ot();return i.setTransactionName(t.name),r&&!s&&i.setSDKProcessingMetadata({normalizedRequest:{...kf(),url:r}}),M0(e)}function yk(e){const t=Oe.document,n=t==null?void 0:t.querySelector(`meta[name=${e}]`);return(n==null?void 0:n.getAttribute("content"))||void 0}function vk(e){var r,s,i;const t=(s=(r=Oe.performance)==null?void 0:r.getEntriesByType)==null?void 0:s.call(r,"navigation")[0],n=(i=t==null?void 0:t.serverTiming)==null?void 0:i.find(a=>a.name===e);return n==null?void 0:n.description}function xZ(e,t,n,r,s){const i=Oe.document;let a;const l=()=>{const c="ui.action.click",u=M0(e);if(u){const d=rt(u).op;if(["navigation","pageload"].includes(d)){Qn&&ie.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(a&&(a.setAttribute(j0,"interactionInterrupted"),a.end(),a=void 0),!s.name){Qn&&ie.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}a=$z({name:s.name,op:c,attributes:{[ti]:s.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};i&&addEventListener("click",l,{capture:!0})}const AI="_sentry_idleSpan";function M0(e){return e[AI]}function bk(e,t){kr(e,AI,t)}const _k=1.5;function SZ(e,t){const n=rt(e),r=kl(),s=n.start_timestamp;return!(r-s>_k||t&&r-t<=_k)}function TZ(e){return S0(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function jZ(e){const t={...e};cN(t,"react"),Gz("react",{version:v.version});const n=uK(t);return rz(CZ),n}function CZ(e){return TZ(e)?"[SyntheticEvent]":UN(e)}function EZ(e){const t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}function zZ(e,t){const n=new WeakSet;function r(s,i){if(!n.has(s)){if(s.cause)return n.add(s),r(s.cause,i);s.cause=i}}r(e,t)}function NZ(e,{componentStack:t},n){if(EZ(v.version)&&y1(e)&&t){const r=new Error(e.message);r.name=`React ErrorBoundary ${e.name}`,r.stack=t,zZ(e,r)}return L9(e,n)}const IZ=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Dm={componentStack:null,error:null,eventId:null};class RZ extends v.Component{constructor(t){super(t),this.state=Dm,this._openFallbackReportDialog=!0;const n=De();n&&t.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=n.on("afterSendEvent",r=>{!r.type&&this._lastEventId&&r.event_id===this._lastEventId&&W_({...t.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(t,n){const{componentStack:r}=n,{beforeCapture:s,onError:i,showDialog:a,dialogOptions:l}=this.props;Yp(c=>{s&&s(c,t,r);const u=this.props.handled!=null?this.props.handled:!!this.props.fallback,d=NZ(t,n,{mechanism:{handled:u,type:"auto.function.react.error_boundary"}});i&&i(t,r,d),a&&(this._lastEventId=d,this._openFallbackReportDialog&&W_({...l,eventId:d})),this.setState({error:t,componentStack:r,eventId:d})})}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:n,eventId:r}=this.state,{onUnmount:s}=this.props;s&&(this.state===Dm?s(null,null,null):s(t,n,r)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){const{onReset:t}=this.props,{error:n,componentStack:r,eventId:s}=this.state;t&&t(n,r,s),this.setState(Dm)}render(){const{fallback:t,children:n}=this.props,r=this.state;if(r.componentStack===null)return typeof n=="function"?n():n;const s=typeof t=="function"?v.createElement(t,{error:r.error,componentStack:r.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:r.eventId}):t;return v.isValidElement(s)?s:(t&&IZ&&ie.warn("fallback did not produce a valid ReactElement"),null)}}const LI=20,M6=(e,t)=>{const n=Math.max(0,Math.min(50,t??LI)),r=Math.round(e*100/(100-n));return{gross:r,fee:r-e,net:e}},oy=10,PZ=24,AZ=e=>{const t=e.now??new Date;return e.bookingStatus==="pending_payment"?{kind:"no_charge_yet",refundCents:0,reasonCode:"cancel_pre_payment"}:e.bookingStatus!=="confirmed"?{kind:"not_cancellable",refundCents:0,reasonCode:"terminal_state"}:e.actorRole==="teacher"?{kind:"refund_full",refundCents:e.grossCents,reasonCode:"teacher_cancel"}:(new Date(e.startUtc).getTime()-t.getTime())/36e5>=PZ?{kind:"refund_full",refundCents:e.grossCents,reasonCode:"student_cancel_24h"}:{kind:"forfeit",refundCents:0,reasonCode:"student_cancel_under_24h"}},m3=["game_review","teaching_game_with_review","topic_lecture"],MI=e=>typeof e=="string"&&m3.includes(e),Si={displayNameMin:1,displayNameMax:60,rankLabelMin:1,rankLabelMax:20,languagesMin:1,languagesMax:6,supportedLanguages:["en","ko","zh","zh-TW","ja","fr","de","zh-HK","es","pt-BR","pt-PT","ru"]}
40,Wm={mode:"classroom",boardVisible:!1,context:"",contextRevision:0},LZ=2e3,MZ=e=>{if(!e||typeof e!="object"||Array.isArray(e))return null;const t=e;if(Object.keys(t).some(s=>!["provider","model","voice","speed"].includes(s))||t.provider!=="openrouter"||typeof t.model!="string"||typeof t.voice!="string")return null;const n=t.model.trim(),r=t.voice.trim();return!/^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._:-]+$/.test(n)||n.length>200||!r||r.length>120||/[\u0000-\u001f]/.test(r)||typeof t.speed!="number"||!Number.isFinite(t.speed)||t.speed<.5||t.speed>2?null:{provider:"openrouter",model:n,voice:r,speed:t.speed}},OZ={model:"google/gemini-3.7-flash"},DZ=/^[a-zA-Z0-9._~-]+\/[a-zA-Z0-9._~:-]+$/,WZ=new Set(["legacy","compact","cached"]),FZ=new Set(["minimal","low","medium","high"]),$Z=new Set(["default","latency","throughput","price"]),BZ=e=>{if(!e||typeof e!="object"||Array.isArray(e))return null;const t=e,n=["provider","model","lessonPromptMode","reasoningEffort","providerSort"];if(Object.keys(t).some(s=>!n.includes(s))||t.provider!=="openrouter"||typeof t.model!="string")return null;const r=t.model.trim();return!DZ.test(r)||r.length>200||r.endsWith(":batch")||!WZ.has(t.lessonPromptMode)||!FZ.has(t.reasoningEffort)||!$Z.has(t.providerSort)?null:{provider:"openrouter",model:r,lessonPromptMode:t.lessonPromptMode,reasoningEffort:t.reasoningEffort,providerSort:t.providerSort}},ly=["ko","zh","zh-TW","ja","en","fr","de"],OI=e=>ly.includes(e),UZ=e=>OI(e)?e:e==="zh-HK"?"zh-TW":"en",qZ="ABCDEFGHJKLMNOPQRSTUVWXYZ",DI=19,kk=(e,t=DI)=>{if(typeof e!="string"||e.length<2||e.toLowerCase()==="pass")return null;const n=e.toUpperCase();n.charCodeAt(0)-65;const r=qZ.indexOf(n[0]);if(r<0||r>=t)return null;const s=n.slice(1);if(!/^\d+$/.test(s))return null;const i=Number(s);return i<1||i>t?null:{x:r,y:t-i}},HZ=e=>e.split(/\s+/).filter(t=>t.length>0),GZ=e=>{if(!e)return 0;const t=/^(\d+(?:\.\d+)?)([kmKM])?$/.exec(e);if(!t){const s=Number(e);return Number.isFinite(s)?s:0}const n=Number(t[1]);if(!Number.isFinite(n))return 0;switch((t[2]??"").toLowerCase()){case"k":return Math.round(n*1e3);case"m":return Math.round(n*1e6);default:return Math.round(n)}},uh=e=>{if(e===void 0)return 0;const t=Number(e);return Number.isFinite(t)?t:0},KZ=(e,t,n)=>{if(e[t]!=="move")return{candidate:{coord:"",point:null,visits:0,winrate:0,prior:0,scoreMean:0,pv:[],pvPoints:[]},next:t+1};const r=e[t+1]??"";let s=t+2,i=0,a=0,l=0,c=0;const u=[];for(;s<e.length;){const h=e[s];if(h==="info"||h==="move")break;if(h==="pv"){for(s+=1;s<e.length&&e[s]!=="info"&&e[s]!=="move";)u.push(e[s]),s+=1;break}const f=e[s+1];switch(h){case"visits":i=uh(f);break;case"winrate":a=uh(f)/1e4;break;case"prior":l=uh(f)/1e4;break;case"scoreMean":c=uh(f);break}s+=2}return e[s]==="info"&&(s+=1),{candidate:{coord:r,point:kk(r,n),visits:i,winrate:a,prior:l,scoreMean:c,pv:u,pvPoints:u.map(h=>kk(h,n))},next:s}},VZ=(e,t=DI)=>{if(typeof e!="string")return null;const n=HZ(e);if(n.length<5)return null;const r=n[0],s=Number(n[1]),i=GZ(n[2]),a=Number(n[3]),l=Number(n[4]),c=Number.isFinite(s)?s/100:0,u=[];let d=5;for(;d<n.length;){if(n[d]!=="move"){d+=1;continue}const{candidate:h,next:f}=KZ(n,d,t);if(h.coord&&u.push(h),f<=d)break;d=f}return{engine:r,winrate:c,totalVisits:i,scoreLead:Number.isFinite(a)?a:0,uncertainty:Number.isFinite(l)?l:0,candidates:u}},YZ=/^[A-Za-z0-9_-]{11}$/,JZ=new Set(["www.youtube.com","youtube.com","m.youtube.com","youtu.be"]),cy=e=>{if(!e)return null;let t;try{t=new URL(e)}catch{return null}if(t.protocol!=="https:"||!JZ.has(t.hostname))return null;let n=null;return t.hostname==="youtu.be"?n=t.pathname.slice(1):t.pathname==="/watch"?n=t.searchParams.get("v"):t.pathname.startsWith("/shorts/")?n=t.pathname.slice(8):t.pathname.startsWith("/embed/")&&(n=t.pathname.slice(7)),n&&YZ.test(n)?n:null},Fm=5,ZZ=/^\/video\/(BV[0-9A-Za-z]{10})\/?$/,XZ=new Set(["www.bilibili.com","bilibili.com","m.bilibili.com"]),uy=e=>{if(!e)return null;let t;try{t=new URL(e)}catch{return null}if(t.protocol!=="https:"||!XZ.has(t.hostname))return null;const n=t.pathname.match(ZZ);return n?n[1]:null},QZ={};function dy(e,t){const n=QZ,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,s=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return WI(e,r,s)}function WI(e,t,n){if(eX(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return wk(e.children,t,n)}return Array.isArray(e)?wk(e,t,n):""}function wk(e,t,n){const r=[];let s=-1;for(;++s<e.length;)r[s]=WI(e[s],t,n);return r.join("")}function eX(e){return!!(e&&typeof e=="object")}const xk=document.createElement("i");function hy(e){const t="&"+e+";";xk.innerHTML=t;const n=xk.textContent;
vendor: 13,002 bytes, line 40
40return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Or(e,t,n,r){const s=e.length;let i=0,a;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function es(e,t){return e.length>0?(Or(e,e.length,0,t),e):t}const Sk={}.hasOwnProperty;function FI(e){const t={};let n=-1;for(;++n<e.length;)tX(t,e[n]);return t}function tX(e,t){let n;for(n in t){const s=(Sk.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){Sk.call(s,a)||(s[a]=[]);const l=i[a];nX(s[a],Array.isArray(l)?l:l?[l]:[])}}}function nX(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Or(e,0,0,r)}function $I(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Ps(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Zn=co(/[A-Za-z]/),Wn=co(/[\dA-Za-z]/),rX=co(/[#-'*+\--9=?A-Z^-~]/);function Af(e){return e!==null&&(e<32||e===127)}const O6=co(/\d/),sX=co(/[\dA-Fa-f]/),iX=co(/[!-/:-@[-`{-~]/);function Te(e){return e!==null&&e<-2}function xt(e){return e!==null&&(e<0||e===32)}function Je(e){return e===-2||e===-1||e===32}const g3=co(new RegExp("\\p{P}|\\p{S}","u")),ll=co(/\s/);function co(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Lu(e){const t=[];let n=-1,r=0,s=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&Wn(e.charCodeAt(n+1))&&Wn(e.charCodeAt(n+2)))s=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const l=e.charCodeAt(n+1);i<56320&&l>56319&&l<57344?(a=String.fromCharCode(i,l),s=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+s+1,a=""),s&&(n+=s,s=0)}return t.join("")+e.slice(r)}function st(e,t,n,r){const s=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(c){return Je(c)?(e.enter(n),l(c)):t(c)}function l(c){return Je(c)&&i++<s?(e.consume(c),l):(e.exit(n),t(c))}}const aX={tokenize:oX};function oX(e){const t=e.attempt(this.parser.constructs.contentInitial,r,s);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),st(e,t,"linePrefix")}function s(l){return e.enter("paragraph"),i(l)}function i(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,a(l)}function a(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return Te(l)?(e.consume(l),e.exit("chunkText"),i):(e.consume(l),a)}}const lX={tokenize:cX},Tk={tokenize:uX};function cX(e){const t=this,n=[];let r=0,s,i,a;return l;function l(k){if(r<n.length){const x=n[r];return t.containerState=x[1],e.attempt(x[0].continuation,c,u)(k)}return u(k)}function c(k){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&b();const x=t.events.length;let S=x,T;for(;S--;)if(t.events[S][0]==="exit"&&t.events[S][1].type==="chunkFlow"){T=t.events[S][1].end;break}g(r);let C=x;for(;C<t.events.length;)t.events[C][1].end={...T},C++;return Or(t.events,S+1,0,t.events.slice(x)),t.events.length=C,u(k)}return l(k)}function u(k){if(r===n.length){if(!s)return f(k);if(s.currentConstruct&&s.currentConstruct.concrete)return m(k);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Tk,d,h)(k)}function d(k){return s&&b(),g(r),f(k)}function h(k){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,m(k)}function f(k){return t.containerState={},e.attempt(Tk,p,m)(k)}function p(k){return r++,n.push([t.currentConstruct,t.containerState]),f(k)}function m(k){if(k===null){s&&b(),g(0),e.consume(k);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:i}),y(k)}function y(k){if(k===null){_(e.exit("chunkFlow"),!0),g(0),e.consume(k);return}return Te(k)?(e.consume(k),_(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(k),y)}function _(k,x){const S=t.sliceStream(k);if(x&&S.push(null),k.previous=i,i&&(i.next=k),i=k,s.defineSkip(k.start),s.write(S),t.parser.lazy[k.start.line]){let T=s.events.length;for(;T--;)if(s.events[T][1].start.offset<a&&(!s.events[T][1].end||s.events[T][1].end.offset>a))return;const C=t.events.length;let E=C,N,j;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){if(N){j=t.events[E][1].end;break}N=!0}for(g(r),T=C;T<t.events.length;)t.events[T][1].end={...j},T++;Or(t.events,E+1,0,t.events.slice(C)),t.events.length=T}}function g(k){let x=n.length;for(;x-- >k;){const S=n[x];t.containerState=S[1],S[0].exit.call(t,e)}n.length=k}function b(){s.write([null]),i=void 0,s=void 0,t.containerState._closeFlow=void 0}}function uX(e,t,n){return st(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function lu(e){if(e===null||xt(e)||ll(e))return 1;if(g3(e))return 2}function y3(e,t,n){const r=[];let s=-1;for(;++s<e.length;){const i=e[s].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const D6={name:"attention",resolveAll:dX,tokenize:hX};function dX(e,t){let n=-1,r,s,i,a,l,c,u,d;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h={...e[r][1].end},f={...e[n][1].start};jk(h,-c),jk(f,c),a={type:c>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},i={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},s={type:c>1?"strong":"emphasis",start:{...a.start},end:{...l.end}},e[r][1].end={...a.start},e[n][1].start={...l.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=es(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=es(u,[["enter",s,t],["enter",a,t],["exit",a,t],["enter",i,t]]),u=es(u,y3(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=es(u,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",s,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,u=es(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,Or(e,r-1,n-r+3,u),n=r+u.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function hX(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,s=lu(r);let i;return a;function a(c){return i=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===i)return e.consume(c),l;const u=e.exit("attentionSequence"),d=lu(c),h=!d||d===2&&s||n.includes(c),f=!s||s===2&&d||n.includes(r);return u._open=!!(i===42?h:h&&(s||!f)),u._close=!!(i===42?f:f&&(d||!h)),t(c)}}function jk(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const fX={name:"autolink",tokenize:pX};function pX(e,t,n){let r=0;return s;function s(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return Zn(p)?(e.consume(p),a):p===64?n(p):u(p)}function a(p){return p===43||p===45||p===46||Wn(p)?(r=1,l(p)):u(p)}function l(p){return p===58?(e.consume(p),r=0,c):(p===43||p===45||p===46||Wn(p))&&r++<32?(e.consume(p),l):(r=0,u(p))}function c(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||Af(p)?n(p):(e.consume(p),c)}function u(p){return p===64?(e.consume(p),d):rX(p)?(e.consume(p),u):n(p)}function d(p){return Wn(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,d):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||Wn(p))&&r++<63){const m=p===45?f:h;return e.consume(p),m}return n(p)}}const P1={partial:!0,tokenize:mX};function mX(e,t,n){return r;function r(i){return Je(i)?st(e,s,"linePrefix")(i):s(i)}function s(i){return i===null||Te(i)?t(i):n(i)}}const BI={continuation:{tokenize:yX},exit:vX,name:"blockQuote",tokenize:gX};function gX(e,t,n){const r=this;return s;function s(a){if(a===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return Je(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function yX(e,t,n){const r=this;return s;function s(a){return Je(a)?st(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(BI,t,n)(a)}}function vX(e){e.exit("blockQuote")}const UI={name:"characterEscape",tokenize:bX};function bX(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),s}function s(i){return iX(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const qI={name:"characterReference",tokenize:_X};function _X(e,t,n){const r=this;let s=0,i,a;return l;function l(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),c}function c(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),i=31,a=Wn,d(h))}function u(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=sX,d):(e.enter("characterReferenceValue"),i=7,a=O6,d(h))}function d(h){if(h===59&&s){const f=e.exit("characterReferenceValue");return a===Wn&&!hy(r.sliceSerialize(f))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(h)&&s++<i?(e.consume(h),d):n(h)}}const Ck={partial:!0,tokenize:wX},Ek={concrete:!0,name:"codeFenced",tokenize:kX};function kX(e,t,n){const r=this,s={partial:!0,tokenize:S};let i=0,a=0,l;return c;function c(T){return u(T)}function u(T){const C=r.events[r.events.length-1];return i=C&&C[1].type==="linePrefix"?C[2].sliceSerialize(C[1],!0).length:0,l=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(T)}function d(T){return T===l?(a++,e.consume(T),d):a<3?n(T):(e.exit("codeFencedFenceSequence"),Je(T)?st(e,h,"whitespace")(T):h(T))}function h(T){return T===null||Te(T)?(e.exit("codeFencedFence"),r.interrupt?t(T):e.check(Ck,y,x)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(T))}function f(T){return T===null||Te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(T)):Je(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),st(e,p,"whitespace")(T)):T===96&&T===l?n(T):(e.consume(T),f)}function p(T){return T===null||Te(T)?h(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===null||Te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(T)):T===96&&T===l?n(T):(e.consume(T),m)}function y(T){return e.attempt(s,x,_)(T)}function _(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),g}function g(T){return i>0&&Je(T)?st(e,b,"linePrefix",i+1)(T):b(T)}function b(T){return T===null||Te(T)?e.check(Ck,y,x)(T):(e.enter("codeFlowValue"),k(T))}function k(T){return T===null||Te(T)?(e.exit("codeFlowValue"),b(T)):(e.consume(T),k)}function x(T){return e.exit("codeFenced"),t(T)}function S(T,C,E){let N=0;return j;function j(B){return T.enter("lineEnding"),T.consume(B),T.exit("lineEnding"),I}function I(B){return T.enter("codeFencedFence"),Je(B)?st(T,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):P(B)}function P(B){return B===l?(T.enter("codeFencedFenceSequence"),O(B)):E(B)}function O(B){return B===l?(N++,T.consume(B),O):N>=a?(T.exit("codeFencedFenceSequence"),Je(B)?st(T,F,"whitespace")(B):F(B)):E(B)}function F(B){return B===null||Te(B)?(T.exit("codeFencedFence"),C(B)):E(B)}}}function wX(e,t,n){const r=this;return s;function s(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const $m={name:"codeIndented",tokenize:SX},xX={partial:!0,tokenize:TX};function SX(e,t,n){const r=this;return s;
vendor: 5,057 bytes, line 40
40function s(u){return e.enter("codeIndented"),st(e,i,"linePrefix",5)(u)}function i(u){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(u):n(u)}function a(u){return u===null?c(u):Te(u)?e.attempt(xX,a,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||Te(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}function TX(e,t,n){const r=this;return s;function s(a){return r.parser.lazy[r.now().line]?n(a):Te(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s):st(e,i,"linePrefix",5)(a)}function i(a){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):Te(a)?s(a):n(a)}}const jX={name:"codeText",previous:EX,resolve:CX,tokenize:zX};function CX(e){let t=e.length-4,n=3,r,s;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)s===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(s=r):(r===t||e[r][1].type==="lineEnding")&&(e[s][1].type="codeTextData",r!==s+2&&(e[s][1].end=e[r-1][1].end,e.splice(s+2,r-s-2),t-=r-s-2,r=s+2),s=void 0);return e}function EX(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function zX(e,t,n){let r=0,s,i;return a;function a(h){return e.enter("codeText"),e.enter("codeTextSequence"),l(h)}function l(h){return h===96?(e.consume(h),r++,l):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(i=e.enter("codeTextSequence"),s=0,d(h)):Te(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(h))}function u(h){return h===null||h===32||h===96||Te(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),u)}function d(h){return h===96?(e.consume(h),s++,d):s===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(i.type="codeTextData",u(h))}}class NX{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const s=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return r&&Gu(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Gu(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Gu(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Gu(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Gu(this.left,n.reverse())}}}function Gu(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function HI(e){const t={};let n=-1,r,s,i,a,l,c,u;const d=new NX(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,i=0,i<c.length&&c[i][1].type==="lineEndingBlank"&&(i+=2),i<c.length&&c[i][1].type==="content"))for(;++i<c.length&&c[i][1].type!=="content";)c[i][1].type==="chunkText"&&(c[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,IX(d,n)),n=t[n],u=!0);else if(r[1]._container){for(i=n,s=void 0;i--;)if(a=d.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(s&&(d.get(s)[1].type="lineEndingBlank"),a[1].type="lineEnding",s=i);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;s&&(r[1].end={...d.get(s)[1].start},l=d.slice(s,n),l.unshift(r),d.splice(s,n-s+1,l))}}return Or(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!u}function IX(e,t){const n=e.get(t)[1],r=e.get(t)[2];let s=t-1;const i=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const l=a.events,c=[],u={};let d,h,f=-1,p=n,m=0,y=0;const _=[y];for(;p;){for(;e.get(++s)[1]!==p;);i.push(s),p._tokenizer||(d=r.sliceStream(p),p.next||d.push(null),h&&a.defineSki
vendor: 18,550 bytes, line 40
40p(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(d),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++f<l.length;)l[f][0]==="exit"&&l[f-1][0]==="enter"&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(y=f+1,_.push(y),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):_.pop(),f=_.length;f--;){const g=l.slice(_[f],_[f+1]),b=i.pop();c.push([b,b+g.length-1]),e.splice(b,2,g)}for(c.reverse(),f=-1;++f<c.length;)u[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return u}const RX={resolve:AX,tokenize:LX},PX={partial:!0,tokenize:MX};function AX(e){return HI(e),e}function LX(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),s(l)}function s(l){return l===null?i(l):Te(l)?e.check(PX,a,i)(l):(e.consume(l),s)}function i(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function a(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,s}}function MX(e,t,n){const r=this;return s;function s(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),st(e,i,"linePrefix")}function i(a){if(a===null||Te(a))return n(a);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function GI(e,t,n,r,s,i,a,l,c){const u=c||Number.POSITIVE_INFINITY;let d=0;return h;function h(g){return g===60?(e.enter(r),e.enter(s),e.enter(i),e.consume(g),e.exit(i),f):g===null||g===32||g===41||Af(g)?n(g):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),y(g))}function f(g){return g===62?(e.enter(i),e.consume(g),e.exit(i),e.exit(s),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===62?(e.exit("chunkString"),e.exit(l),f(g)):g===null||g===60||Te(g)?n(g):(e.consume(g),g===92?m:p)}function m(g){return g===60||g===62||g===92?(e.consume(g),p):p(g)}function y(g){return!d&&(g===null||g===41||xt(g))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(g)):d<u&&g===40?(e.consume(g),d++,y):g===41?(e.consume(g),d--,y):g===null||g===32||g===40||Af(g)?n(g):(e.consume(g),g===92?_:y)}function _(g){return g===40||g===41||g===92?(e.consume(g),y):y(g)}}function KI(e,t,n,r,s,i){const a=this;let l=0,c;return u;function u(p){return e.enter(r),e.enter(s),e.consume(p),e.exit(s),e.enter(i),d}function d(p){return l>999||p===null||p===91||p===93&&!c||p===94&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(i),e.enter(s),e.consume(p),e.exit(s),e.exit(r),t):Te(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||Te(p)||l++>999?(e.exit("chunkString"),d(p)):(e.consume(p),c||(c=!Je(p)),p===92?f:h)}function f(p){return p===91||p===92||p===93?(e.consume(p),l++,h):h(p)}}function VI(e,t,n,r,s,i){let a;return l;function l(f){return f===34||f===39||f===40?(e.enter(r),e.enter(s),e.consume(f),e.exit(s),a=f===40?41:f,c):n(f)}function c(f){return f===a?(e.enter(s),e.consume(f),e.exit(s),e.exit(r),t):(e.enter(i),u(f))}function u(f){return f===a?(e.exit(i),c(a)):f===null?n(f):Te(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),st(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(f))}function d(f){return f===a||f===null||Te(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?h:d)}function h(f){return f===a||f===92?(e.consume(f),d):d(f)}}function t0(e,t){let n;return r;function r(s){return Te(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,r):Je(s)?st(e,r,n?"linePrefix":"lineSuffix")(s):t(s)}}const OX={name:"definition",tokenize:WX},DX={partial:!0,tokenize:FX};function WX(e,t,n){const r=this;let s;return i;function i(p){return e.enter("definition"),a(p)}function a(p){return KI.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function l(p){return s=Ps(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),c):n(p)}function c(p){return xt(p)?t0(e,u)(p):u(p)}function u(p){return GI(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function d(p){return e.attempt(DX,h,h)(p)}function h(p){return Je(p)?st(e,f,"whitespace")(p):f(p)}function f(p){return p===null||Te(p)?(e.exit("definition"),r.parser.defined.push(s),t(p)):n(p)}}function FX(e,t,n){return r;function r(l){return xt(l)?t0(e,s)(l):n(l)}function s(l){return VI(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function i(l){return Je(l)?st(e,a,"whitespace")(l):a(l)}function a(l){return l===null||Te(l)?t(l):n(l)}}const $X={name:"hardBreakEscape",tokenize:BX};function BX(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),s}function s(i){return Te(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const UX={name:"headingAtx",resolve:qX,tokenize:HX};function qX(e,t){let n=e.length-2,r=3,s,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(s={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Or(e,r,n-r+1,[["enter",s,t],["enter",i,t],["exit",i,t],["exit",s,t]])),e}function HX(e,t,n){let r=0;return s;function s(d){return e.enter("atxHeading"),i(d)}function i(d){return e.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(e.consume(d),a):d===null||xt(d)?(e.exit("atxHeadingSequence"),l(d)):n(d)}function l(d){return d===35?(e.enter("atxHeadingSequence"),c(d)):d===null||Te(d)?(e.exit("atxHeading"),t(d)):Je(d)?st(e,l,"whitespace")(d):(e.enter("atxHeadingText"),u(d))}function c(d){return d===35?(e.consume(d),c):(e.exit("atxHeadingSequence"),l(d))}function u(d){return d===null||d===35||xt(d)?(e.exit("atxHeadingText"),l(d)):(e.consume(d),u)}}const GX=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],zk=["pre","script","style","textarea"],KX={concrete:!0,name:"htmlFlow",resolveTo:JX,tokenize:ZX},VX={partial:!0,tokenize:QX},YX={partial:!0,tokenize:XX};function JX(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function ZX(e,t,n){const r=this;let s,i,a,l,c;return u;function u(A){return d(A)}function d(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),h}function h(A){return A===33?(e.consume(A),f):A===47?(e.consume(A),i=!0,y):A===63?(e.consume(A),s=3,r.interrupt?t:w):Zn(A)?(e.consume(A),a=String.fromCharCode(A),_):n(A)}function f(A){return A===45?(e.consume(A),s=2,p):A===91?(e.consume(A),s=5,l=0,m):Zn(A)?(e.consume(A),s=4,r.interrupt?t:w):n(A)}function p(A){return A===45?(e.consume(A),r.interrupt?t:w):n(A)}function m(A){const q="CDATA[";return A===q.charCodeAt(l++)?(e.consume(A),l===q.length?r.interrupt?t:P:m):n(A)}function y(A){return Zn(A)?(e.consume(A),a=String.fromCharCode(A),_):n(A)}function _(A){if(A===null||A===47||A===62||xt(A)){const q=A===47,W=a.toLowerCase();return!q&&!i&&zk.includes(W)?(s=1,r.interrupt?t(A):P(A)):GX.includes(a.toLowerCase())?(s=6,q?(e.consume(A),g):r.interrupt?t(A):P(A)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(A):i?b(A):k(A))}return A===45||Wn(A)?(e.consume(A),a+=String.fromCharCode(A),_):n(A)}function g(A){return A===62?(e.consume(A),r.interrupt?t:P):n(A)}function b(A){return Je(A)?(e.consume(A),b):j(A)}function k(A){return A===47?(e.consume(A),j):A===58||A===95||Zn(A)?(e.consume(A),x):Je(A)?(e.consume(A),k):j(A)}function x(A){return A===45||A===46||A===58||A===95||Wn(A)?(e.consume(A),x):S(A)}function S(A){return A===61?(e.consume(A),T):Je(A)?(e.consume(A),S):k(A)}function T(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),c=A,C):Je(A)?(e.consume(A),T):E(A)}function C(A){return A===c?(e.consume(A),c=null,N):A===null||Te(A)?n(A):(e.consume(A),C)}function E(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||xt(A)?S(A):(e.consume(A),E)}function N(A){return A===47||A===62||Je(A)?k(A):n(A)}function j(A){return A===62?(e.consume(A),I):n(A)}function I(A){return A===null||Te(A)?P(A):Je(A)?(e.consume(A),I):n(A)}function P(A){return A===45&&s===2?(e.consume(A),$):A===60&&s===1?(e.consume(A),D):A===62&&s===4?(e.consume(A),L):A===63&&s===3?(e.consume(A),w):A===93&&s===5?(e.consume(A),R):Te(A)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(VX,M,O)(A)):A===null||Te(A)?(e.exit("htmlFlowData"),O(A)):(e.consume(A),P)}function O(A){return e.check(YX,F,M)(A)}function F(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),B}function B(A){return A===null||Te(A)?O(A):(e.enter("htmlFlowData"),P(A))}function $(A){return A===45?(e.consume(A),w):P(A)}function D(A){return A===47?(e.consume(A),a="",z):P(A)}function z(A){if(A===62){const q=a.toLowerCase();return zk.includes(q)?(e.consume(A),L):P(A)}return Zn(A)&&a.length<8?(e.consume(A),a+=String.fromCharCode(A),z):P(A)}function R(A){return A===93?(e.consume(A),w):P(A)}function w(A){return A===62?(e.consume(A),L):A===45&&s===2?(e.consume(A),w):P(A)}function L(A){return A===null||Te(A)?(e.exit("htmlFlowData"),M(A)):(e.consume(A),L)}function M(A){return e.exit("htmlFlow"),t(A)}}function XX(e,t,n){const r=this;return s;function s(a){return Te(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function QX(e,t,n){return r;function r(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(P1,t,n)}}const eQ={name:"htmlText",tokenize:tQ};function tQ(e,t,n){const r=this;let s,i,a;return l;function l(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),c}function c(w){return w===33?(e.consume(w),u):w===47?(e.consume(w),S):w===63?(e.consume(w),k):Zn(w)?(e.consume(w),E):n(w)}function u(w){return w===45?(e.consume(w),d):w===91?(e.consume(w),i=0,m):Zn(w)?(e.consume(w),b):n(w)}function d(w){return w===45?(e.consume(w),p):n(w)}function h(w){return w===null?n(w):w===45?(e.consume(w),f):Te(w)?(a=h,D(w)):(e.consume(w),h)}function f(w){return w===45?(e.consume(w),p):h(w)}function p(w){return w===62?$(w):w===45?f(w):h(w)}function m(w){const L="CDATA[";return w===L.charCodeAt(i++)?(e.consume(w),i===L.length?y:m):n(w)}function y(w){return w===null?n(w):w===93?(e.consume(w),_):Te(w)?(a=y,D(w)):(e.consume(w),y)}function _(w){return w===93?(e.consume(w),g):y(w)}function g(w){return w===62?$(w):w===93?(e.consume(w),g):y(w)}function b(w){return w===null||w===62?$(w):Te(w)?(a=b,D(w)):(e.consume(w),b)}function k(w){return w===null?n(w):w===63?(e.consume(w),x):Te(w)?(a=k,D(w)):(e.consume(w),k)}function x(w){return w===62?$(w):k(w)}function S(w){return Zn(w)?(e.consume(w),T):n(w)}function T(w){return w===45||Wn(w)?(e.consume(w),T):C(w)}function C(w){return Te(w)?(a=C,D(w)):Je(w)?(e.consume(w),C):$(w)}function E(w){return w===45||Wn(w)?(e.consume(w),E):w===47||w===62||xt(w)?N(w):n(w)}function N(w){return w===47?(e.consume(w),$):w===58||w===95||Zn(w)?(e.consume(w),j):Te(w)?(a=N,D(w)):Je(w)?(e.consume(w),N):$(w)}function j(w){return w===45||w===46||w===58||w===95||Wn(w)?(e.consume(w),j):I(w)}function I(w){return w===61?(e.consume(w),P):Te(w)?(a=I,D(w)):Je(w)?(e.consume(w),I):N(w)}function P(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),s=w,O):Te(w)?(a=P,D(w)):Je(w)?(e.consume(w),P):(e.consume(w),F)}function O(w){return w===s?(e.consume(w),s=void 0,B):w===null?n(w):Te(w)?(a=O,D(w)):(e.consume(w),O)}function F(w){return w===null||w===34||w===39||w===60||w===61||w===96?n(w):w===47||w===62||xt(w)?N(w):(e.consume(w),F)}function B(w){return w===47||w===62||xt(w)?N(w):n(w)}function $(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):n(w)}function D(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),z}function z(w){return Je(w)?st(e,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):R(w)}function R(w){return e.enter("htmlTextData"),a(w)}}const fy={name:"labelEnd",resolveAll:iQ,resolveTo:aQ,tokenize:oQ},nQ={tokenize:lQ},rQ={tokenize:cQ},sQ={tokenize:uQ};function iQ(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const s=r.type==="labelImage"?4:2;r.type="data",t+=s}}return e.length!==n.length&&Or(e,0,e.length,n),e}function aQ(e,t){let n=e.length,r=0,s,i,a,l;for(;n--;)if(s=e[n][1],i){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[n][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(i=n,s.type!=="labelLink")){r=2;break}}else s.type==="labelEnd"&&(a=n);const c={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[i][1].start},end:{...e[a][1].end}},d={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[a-2][1].start}};return l=[["enter",c,t],["enter",u,t]],l=es(l,e.slice(i+1,i+r+3)),l=es(l,[["enter",d,t]]),l=es(l,y3(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),l=es(l,[["exit",d,t],e[a-2],e[a-1],["exit",u,t]]),l=es(l,e.slice(a+1)),l=es(l,[["exit",c,t]]),Or(e,i,e.length,l),e}function oQ(e,t,n){const r=this;let s=r.events.length,i,a;for(;s--;)if((r.events[s][1].type==="labelImage"||r.events[s][1].type==="labelLink")&&!r.events[s][1]._balanced){i=r.events[s][1];break}return l;function l(f){return i?i._inactive?h(f):(a=r.parser.defined.includes(Ps(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),c):n(f)}function c(f){return f===40?e.attempt(nQ,d,a?d:h)(f):f===91?e.attempt(rQ,d,a?u:h)(f):a?d(f):h(f)}function u(f){return e.attempt(sQ,d,h)(f)}function d(f){return t(f)}function h(f){return i._balanced=!0,n(f)}}function lQ(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),s}function s(h){return xt(h)?t0(e,i)(h):i(h)}function i(h){return h===41?d(h):GI(e,a,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function a(h){return xt(h)?t0(e,c)(h):d(h)}function l(h){return n(h)}function c(h){return h===34||h===39||h===40?VI(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):d(h)}function u(h){return xt(h)?t0(e,d)(h):d(h)}function d(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function cQ(e,t,n){const r=this;return s;function s(l){return KI.call(r,e,i,a,"reference","referenceMarker","referenceString")(l)}function i(l){return r.parser.defined.includes(Ps(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function a(l){return n(l)}}function uQ(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),s}function s(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const dQ={name:"labelStartImage",resolveAll:fy.resolveAll,tokenize:hQ};function hQ(e,t,n){const r=this;return s;function s(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),i}function i(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),a):n(l)}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const fQ={name:"labelStartLink",resolveAll:fy.resolveAll,tokenize:pQ};function pQ(e,t,n){const r=this;return s;function s(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Bm={name:"lineEnding",tokenize:mQ};function mQ(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),st(e,t,"linePrefix")}}const F2={name:"thematicBreak",tokenize:gQ};function gQ(e,t,n){let r=0,s;return i;function i(u){return e.enter("thematicBreak"),a(u)}function a(u){return s=u,l(u)}function l(u){return u===s?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||Te(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===s?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),Je(u)?st(e,l,"whitespace")(u):l(u))}}const lr={continuation:{tokenize:_Q},exit:wQ,name:"list",tokenize:bQ},yQ={partial:!0,tokenize:xQ},vQ={partial:!0,tokenize:kQ};function bQ(e,t,n){const r=this,s=r.events[r.events.length-1];let i=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,a=0;return l;function l(p){const m=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:O6(p)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(F2,n,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(p)}return n(p)}function c(p){return O6(p)&&++a<10?(e.consume(p),c):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):n(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(P1,r.interrupt?n:d,e.attempt(yQ,f,h))}
vendor: 5,359 bytes, line 40
40function d(p){return r.containerState.initialBlankLine=!0,i++,f(p)}function h(p){return Je(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function _Q(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(P1,s,i);function s(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,st(e,t,"listItemIndent",r.containerState.size+1)(l)}function i(l){return r.containerState.furtherBlankLines||!Je(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(vQ,t,a)(l))}function a(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,st(e,e.attempt(lr,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function kQ(e,t,n){const r=this;return st(e,s,"listItemIndent",r.containerState.size+1);function s(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function wQ(e){e.exit(this.containerState.type)}function xQ(e,t,n){const r=this;return st(e,s,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(i){const a=r.events[r.events.length-1];return!Je(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const Nk={name:"setextUnderline",resolveTo:SQ,tokenize:TQ};function SQ(e,t){let n=e.length,r,s,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(s=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",i?(e.splice(s,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function TQ(e,t,n){const r=this;let s;return i;function i(u){let d=r.events.length,h;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){h=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),s=u,a(u)):n(u)}function a(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===s?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Je(u)?st(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||Te(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const jQ={tokenize:CQ};function CQ(e){const t=this,n=e.attempt(P1,r,e.attempt(this.parser.constructs.flowInitial,s,st(e,e.attempt(this.parser.constructs.flow,s,e.attempt(RX,s)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function s(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const EQ={resolveAll:JI()},zQ=YI("string"),NQ=YI("text");function YI(e){return{resolveAll:JI(e==="text"?IQ:void 0),tokenize:t};function t(n){const r=this,s=this.parser.constructs[e],i=n.attempt(s,a,l);return a;function a(d){return u(d)?i(d):l(d)}function l(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),c}function c(d){return u(d)?(n.exit("data"),i(d)):(n.consume(d),c)}function u(d){if(d===null)return!0;const h=s[d];let f=-1;if(h)for(;++f<h.length;){const p=h[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function JI(e){return t;function t(n,r){let s=-1,i;for(;++s<=n.length;)i===void 0?n[s]&&n[s][1].type==="data"&&(i=s,s++):(!n[s]||n[s][1].type!=="data")&&(s!==i+2&&(n[i][1].end=n[s-1][1].end,n.splice(i+2,s-i-2),s=i+2),i=void 0);return e?e(n,r):n}}function IQ(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],s=t.sliceStream(r);let i=s.length,a=-1,l=0,c;for(;i--;){const u=s[i];if(typeof u=="string"){for(a=u.length;u.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(u===-2)c=!0,l++;else if(u!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?a:r.start._bufferIndex+a,_index:r.start._index+i,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const RQ={42:lr,43:lr,45:lr,48:lr,49:lr,50:lr,51:lr,52:lr,53:lr,54:lr,55:lr,56:lr,57:lr,62:BI},PQ={91:OX},AQ={[-2]:$m,[-1]:$m,32:$m},LQ={35:UX,42:F2,45:[Nk,F2],60:KX,61:Nk,95:F2,96:Ek,126:Ek},MQ={38:qI,92:UI},OQ={[-5]:Bm,[-4]:Bm,[-3]:Bm,33:dQ,38:qI,42:D6,60:[fX,eQ],91:fQ,92:[$X,UI],93:fy,95:D6,96:jX},DQ={null:[D6,EQ]},WQ={null:[42,95]},FQ={null:[]},$Q=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:WQ,contentInitial:PQ,disable:FQ,document:RQ,flow:LQ,flowInitial:AQ,insideSpan:DQ,string:MQ,text:OQ},Symbol.toStringTag,{value:"Module"}));function BQ(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 4,713 bytes, lines 40-42
40olumn:n&&n.column||1,offset:n&&n.offset||0};const s={},i=[];let a=[],l=[];const c={attempt:C(S),check:C(T),consume:b,enter:k,exit:x,interrupt:C(T,{interrupt:!0})},u={code:null,containerState:{},defineSkip:y,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:h};let d=t.tokenize.call(u,c);return t.resolveAll&&i.push(t),u;function h(I){return a=es(a,I),_(),a[a.length-1]!==null?[]:(E(t,0),u.events=y3(i,u.events,u),u.events)}function f(I,P){return qQ(p(I),P)}function p(I){return UQ(a,I)}function m(){const{_bufferIndex:I,_index:P,line:O,column:F,offset:B}=r;return{_bufferIndex:I,_index:P,line:O,column:F,offset:B}}function y(I){s[I.line]=I.column,j()}function _(){let I;for(;r._index<a.length;){const P=a[r._index];if(typeof P=="string")for(I=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===I&&r._bufferIndex<P.length;)g(P.charCodeAt(r._bufferIndex));else g(P)}}function g(I){d=d(I)}function b(I){Te(I)?(r.line++,r.column=1,r.offset+=I===-3?2:1,j()):I!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=I}function k(I,P){const O=P||{};return O.type=I,O.start=m(),u.events.push(["enter",O,u]),l.push(O),O}function x(I){const P=l.pop();return P.end=m(),u.events.push(["exit",P,u]),P}function S(I,P){E(I,P.from)}function T(I,P){P.restore()}function C(I,P){return O;function O(F,B,$){let D,z,R,w;return Array.isArray(F)?M(F):"tokenize"in F?M([F]):L(F);function L(U){return G;function G(oe){const de=oe!==null&&U[oe],Ae=oe!==null&&U.null,te=[...Array.isArray(de)?de:de?[de]:[],...Array.isArray(Ae)?Ae:Ae?[Ae]:[]];return M(te)(oe)}}function M(U){return D=U,z=0,U.length===0?$:A(U[z])}function A(U){return G;function G(oe){return w=N(),R=U,U.partial||(u.currentConstruct=U),U.name&&u.parser.constructs.disable.null.includes(U.name)?W():U.tokenize.call(P?Object.assign(Object.create(u),P):u,c,q,W)(oe)}}function q(U){return I(R,w),B}function W(U){return w.restore(),++z<D.length?A(D[z]):$}}}function E(I,P){I.resolveAll&&!i.includes(I)&&i.push(I),I.resolve&&Or(u.events,P,u.events.length-P,I.resolve(u.events.slice(P),u)),I.resolveTo&&(u.events=I.resolveTo(u.events,u))}function N(){const I=m(),P=u.previous,O=u.currentConstruct,F=u.events.length,B=Array.from(l);return{from:F,restore:$};function $(){r=I,u.previous=P,u.currentConstruct=O,u.events.length=F,l=B,j()}}function j(){r.line in s&&r.column<2&&(r.column=s[r.line],r.offset+=s[r.line]-1)}}function UQ(e,t){const n=t.start._index,r=t.start._bufferIndex,s=t.end._index,i=t.end._bufferIndex;let a;if(n===s)a=[e[n].slice(r,i)];else{if(a=e.slice(n,s),r>-1){const l=a[0];typeof l=="string"?a[0]=l.slice(r):a.shift()}i>0&&a.push(e[s].slice(0,i))}return a}function qQ(e,t){let n=-1;const r=[];let s;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
41`;break}case-3:{a=`\r
42`;break}case-2:{a=t?" ":"	";break}case-1:{if(!t&&s)continue;a=" ";break}default:a=String.fromCharCode(i)}s=i===-2,r.push(a)}return r.join("")}function HQ(e){const r={constructs:FI([$Q,...(e||{}).extensions||[]]),content:s(aX),defined:[],document:s(lX),flow:s(jQ),lazy:{},string:s(zQ),text:s(NQ)};return r;function s(i){return a;function a(l){return BQ(r,i,l)}}}function GQ(e){for(;!HI(e););return e}const Ik=/[\0\t\n\r]/g;function KQ(){let e=1,t="",n=!0,r;return s;function s(i,a,l){const c=[];let u,d,h,f,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),h=0,t="",n&&(i.charCodeAt(0)===65279&&h++,n=void 0);h<i.length;){if(Ik.lastIndex=h,u=Ik.exec(i),f=u&&u.index!==void 0?u.index:i.length,p=i.charCodeAt(f),!u){t=i.slice(h);break}if(p===10&&h===f&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),h<f&&(c.push(i.slice(h,f)),e+=f-h),p){case 0:{c.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,c.push(-2);e++<d;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}h=f+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const VQ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function YQ(e){return e.replace(VQ,JQ)}function JQ(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const s=n.charCodeAt(1),i=s===120||s===88;return $I(n.slice(i?2:1),i?16:10)}return hy(n)||e}function n0(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Rk(e.position):"start"in e||"end"in e?Rk(e):"line"in e||"column"in e?W6(e):""}function W6(e){return Pk(e&&e.line)+":"+Pk(e&&e.column)}function Rk(e){return W6(e&&e.start)+"-"+W6(e&&e.end)}function Pk(e){return e&&typeof e=="number"?e:1}const ZI={}.hasOwnProperty;function ZQ(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),XQ(n)(GQ(HQ(n).document().write(KQ()(e,t,!0))
vendor: 9,846 bytes, line 42
42))}function XQ(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Ke),autolinkProtocol:N,autolinkEmail:N,atxHeading:i(Ne),blockQuote:i(Ae),characterEscape:N,characterReference:N,codeFenced:i(te),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(te,a),codeText:i(be,a),codeTextData:N,data:N,codeFlowValue:N,definition:i(Be),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(He),hardBreakEscape:i(We),hardBreakTrailing:i(We),htmlFlow:i(re,a),htmlFlowData:N,htmlText:i(re,a),htmlTextData:N,image:i(Le),label:a,link:i(Ke),listItem:i(lt),listItemValue:f,listOrdered:i(Se,h),listUnordered:i(Se),paragraph:i(je),reference:A,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Ne),strong:i(ne),thematicBreak:i(xe)},exit:{atxHeading:c(),atxHeadingSequence:S,autolink:c(),autolinkEmail:de,autolinkProtocol:oe,blockQuote:c(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:U,characterReference:G,codeFenced:c(_),codeFencedFence:y,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:j,codeIndented:c(g),codeText:c(B),codeTextData:j,data:j,definition:c(),definitionDestinationString:x,definitionLabelString:b,definitionTitleString:k,emphasis:c(),hardBreakEscape:c(P),hardBreakTrailing:c(P),htmlFlow:c(O),htmlFlowData:j,htmlText:c(F),htmlTextData:j,image:c(D),label:R,labelText:z,lineEnding:I,link:c($),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:q,resourceDestinationString:w,resourceTitleString:L,resource:M,setextHeading:c(E),setextHeadingLineSequence:C,setextHeadingText:T,strong:c(),thematicBreak:c()}};XI(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(V){let ce={type:"root",children:[]};const ke={stack:[ce],tokenStack:[],config:t,enter:l,exit:u,buffer:a,resume:d,data:n},Fe=[];let K=-1;for(;++K<V.length;)if(V[K][1].type==="listOrdered"||V[K][1].type==="listUnordered")if(V[K][0]==="enter")Fe.push(K);else{const ve=Fe.pop();K=s(V,ve,K)}for(K=-1;++K<V.length;){const ve=t[V[K][0]];ZI.call(ve,V[K][1].type)&&ve[V[K][1].type].call(Object.assign({sliceSerialize:V[K][2].sliceSerialize},ke),V[K][1])}if(ke.tokenStack.length>0){const ve=ke.tokenStack[ke.tokenStack.length-1];(ve[1]||Ak).call(ke,void 0,ve[0])}for(ce.position={start:da(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:da(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},K=-1;++K<t.transforms.length;)ce=t.transforms[K](ce)||ce;return ce}function s(V,ce,ke){let Fe=ce-1,K=-1,ve=!1,Me,Qe,Sr,la;for(;++Fe<=ke;){const ln=V[Fe];switch(ln[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ln[0]==="enter"?K++:K--,la=void 0;break}case"lineEndingBlank":{ln[0]==="enter"&&(Me&&!la&&!K&&!Sr&&(Sr=Fe),la=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:la=void 0}if(!K&&ln[0]==="enter"&&ln[1].type==="listItemPrefix"||K===-1&&ln[0]==="exit"&&(ln[1].type==="listUnordered"||ln[1].type==="listOrdered")){if(Me){let ca=Fe;for(Qe=void 0;ca--;){const ps=V[ca];if(ps[1].type==="lineEnding"||ps[1].type==="lineEndingBlank"){if(ps[0]==="exit")continue;Qe&&(V[Qe][1].type="lineEndingBlank",ve=!0),ps[1].type="lineEnding",Qe=ca}else if(!(ps[1].type==="linePrefix"||ps[1].type==="blockQuotePrefix"||ps[1].type==="blockQuotePrefixWhitespace"||ps[1].type==="blockQuoteMarker"||ps[1].type==="listItemIndent"))break}Sr&&(!Qe||Sr<Qe)&&(Me._spread=!0),Me.end=Object.assign({},Qe?V[Qe][1].start:ln[1].end),V.splice(Qe||Fe,0,["exit",Me,ln[2]]),Fe++,ke++}if(ln[1].type==="listItemPrefix"){const ca={type:"listItem",_spread:!1,start:Object.assign({},ln[1].start),end:void 0};Me=ca,V.splice(Fe,0,["enter",ca,ln[2]]),Fe++,ke++,Sr=void 0,la=!0}}}return V[ce][1]._spread=ve,ke}function i(V,ce){return ke;function ke(Fe){l.call(this,V(Fe),Fe),ce&&ce.call(this,Fe)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(V,ce,ke){this.stack[this.stack.length-1].children.push(V),this.stack.push(V),this.tokenStack.push([ce,ke||void 0]),V.position={start:da(ce.start),end:void 0}}function c(V){return ce;function ce(ke){V&&V.call(this,ke),u.call(this,ke)}}function u(V,ce){const ke=this.stack.pop(),Fe=this.tokenStack.pop();if(Fe)Fe[0].type!==V.type&&(ce?ce.call(this,V,Fe[0]):(Fe[1]||Ak).call(this,V,Fe[0]));else throw new Error("Cannot close `"+V.type+"` ("+n0({start:V.start,end:V.end})+"): it’s not open");ke.position.end=da(V.end)}function d(){return dy(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function f(V){if(this.data.expectingFirstListItemValue){const ce=this.stack[this.stack.length-2];ce.start=Number.parseInt(this.sliceSerialize(V),10),this.data.expectingFirstListItemValue=void 0}}function p(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.lang=V}function m(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.meta=V}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function _(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.value=V.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function g(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.value=V.replace(/(\r?\n|\r)$/g,"")}function b(V){const ce=this.resume(),ke=this.stack[this.stack.length-1];ke.label=ce,ke.identifier=Ps(this.sliceSerialize(V)).toLowerCase()}function k(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.title=V}function x(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.url=V}function S(V){const ce=this.stack[this.stack.length-1];if(!ce.depth){const ke=this.sliceSerialize(V).length;ce.depth=ke}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function C(V){const ce=this.stack[this.stack.length-1];ce.depth=this.sliceSerialize(V).codePointAt(0)===61?1:2}function E(){this.data.setextHeadingSlurpLineEnding=void 0}function N(V){const ke=this.stack[this.stack.length-1].children;let Fe=ke[ke.length-1];(!Fe||Fe.type!=="text")&&(Fe=ge(),Fe.position={start:da(V.start),end:void 0},ke.push(Fe)),this.stack.push(Fe)}function j(V){const ce=this.stack.pop();ce.value+=this.sliceSerialize(V),ce.position.end=da(V.end)}function I(V){const ce=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ke=ce.children[ce.children.length-1];ke.position.end=da(V.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ce.type)&&(N.call(this,V),j.call(this,V))}function P(){this.data.atHardBreak=!0}function O(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.value=V}function F(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.value=V}function B(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.value=V}function $(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const ce=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=ce,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function D(){const V=this.stack[this.stack.length-1];if(this.data.inReference){const ce=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=ce,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function z(V){const ce=this.sliceSerialize(V),ke=this.stack[this.stack.length-2];ke.label=YQ(ce),ke.identifier=Ps(ce).toLowerCase()}function R(){const V=this.stack[this.stack.length-1],ce=this.resume(),ke=this.stack[this.stack.length-1];if(this.data.inReference=!0,ke.type==="link"){const Fe=V.children;ke.children=Fe}else ke.alt=ce}function w(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.url=V}function L(){const V=this.resume(),ce=this.stack[this.stack.length-1];ce.title=V}function M(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function q(V){const ce=this.resume(),ke=this.stack[this.stack.length-1];ke.label=ce,ke.identifier=Ps(this.sliceSerialize(V)).toLowerCase(),this.data.referenceType="full"}function W(V){this.data.characterReferenceType=V.type}function U(V){const ce=this.sliceSerialize(V),ke=this.data.characterReferenceType;let Fe;ke?(Fe=$I(ce,ke==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Fe=hy(ce);const K=this.stack[this.stack.length-1];K.value+=Fe}function G(V){const ce=this.stack.pop();ce.position.end=da(V.end)}function oe(V){j.call(this,V);const ce=this.stack[this.stack.length-1];ce.url=this.sliceSerialize(V)}function de(V){j.call(this,V);const ce=this.stack[this.stack.length-1];ce.url="mailto:"+this.sliceSerialize(V)}function Ae(){return{type:"blockquote",children:[]}}function te(){return{type:"code",lang:null,meta:null,value:""}}function be(){return{type:"inlineCode",value:""}}function Be(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function He(){return{type:"emphasis",children:[]}}function Ne(){return{type:"heading",depth:0,children:[]}}function We(){return{type:"break"}}function re(){return{type:"html",value:""}}function Le(){return{type:"image",title:null,url:"",alt:null}}function Ke(){return{type:"link",title:null,url:"",children:[]}}function Se(V){return{type:"list",ordered:V.type==="listOrdered",start:null,spread:V._spread,children:[]}}function lt(V){return{type:"listItem",spread:V._spread,checked:null,children:[]}}function je(){return{type:"paragraph",children:[]}}function ne(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function xe(){return{type:"thematicBreak"}}}function da(e){return{line:e.line,column:e.column,offset:e.offset}}function XI(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?XI(e,r):QQ(e,r)}}function QQ(e,t){let n;
vendor: 4,720 bytes, lines 42-44
42for(n in t)if(ZI.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Ak(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+n0({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+n0({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+n0({start:t.start,end:t.end})+") is still open")}function py(e){const t=this;t.parser=n;function n(r){return ZQ(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function eee(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const v3=function(e){if(e==null)return see;if(typeof e=="function")return b3(e);if(typeof e=="object")return Array.isArray(e)?tee(e):nee(e);if(typeof e=="string")return ree(e);throw new Error("Expected function, string, or object as test")};function tee(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=v3(e[n]);return b3(r);function r(...s){let i=-1;for(;++i<t.length;)if(t[i].apply(this,s))return!0;return!1}}function nee(e){const t=e;return b3(n);function n(r){const s=r;let i;for(i in e)if(s[i]!==t[i])return!1;return!0}}function ree(e){return b3(t);function t(n){return n&&n.type===e}}function b3(e){return t;function t(n,r,s){return!!(iee(n)&&e.call(this,n,typeof r=="number"?r:void 0,s||void 0))}}function see(){return!0}function iee(e){return e!==null&&typeof e=="object"&&"type"in e}const QI=[],aee=!0,F6=!1,oee="skip";function eR(e,t,n,r){let s;typeof t=="function"&&typeof n!="function"?(r=n,n=t):s=t;const i=v3(s),a=r?-1:1;l(e,void 0,[])();function l(c,u,d){const h=c&&typeof c=="object"?c:{};if(typeof h.type=="string"){const p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(c.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=QI,m,y,_;if((!t||i(c,u,d[d.length-1]||void 0))&&(p=lee(n(c,d)),p[0]===F6))return p;if("children"in c&&c.children){const g=c;if(g.children&&p[0]!==oee)for(y=(r?g.children.length:-1)+a,_=d.concat(g);y>-1&&y<g.children.length;){const b=g.children[y];if(m=l(b,y,_)(),m[0]===F6)return m;y=typeof m[1]=="number"?m[1]:y+a}}return p}}}function lee(e){return Array.isArray(e)?e:typeof e=="number"?[aee,e]:e==null?QI:[e]}function tR(e,t,n){const s=v3((n||{}).ignore||[]),i=cee(t);let a=-1;for(;++a<i.length;)eR(e,"text",l);function l(u,d){let h=-1,f;for(;++h<d.length;){const p=d[h],m=f?f.children:void 0;if(s(p,m?m.indexOf(p):void 0,f))return;f=p}if(f)return c(u,d)}function c(u,d){const h=d[d.length-1],f=i[a][0],p=i[a][1];let m=0;const _=h.children.indexOf(u);let g=!1,b=[];f.lastIndex=0;let k=f.exec(u.value);for(;k;){const x=k.index,S={index:k.index,input:k.input,stack:[...d,u]};let T=p(...k,S);if(typeof T=="string"&&(T=T.length>0?{type:"text",value:T}:void 0),T===!1?f.lastIndex=x+1:(m!==x&&b.push({type:"text",value:u.value.slice(m,x)}),Array.isArray(T)?b.push(...T):T&&b.push(T),m=x+k[0].length,g=!0),!f.global)break;k=f.exec(u.value)}return g?(m<u.value.length&&b.push({type:"text",value:u.value.slice(m)}),h.children.splice(_,1,...b)):b=[u],_+b.length}}function cee(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const s=n[r];t.push([uee(s[0]),dee(s[1])])}return t}function uee(e){return typeof e=="string"?new RegExp(eee(e),"g"):e}function dee(e){return typeof e=="function"?e:function(){return e}}function hee(e){tR(e,[/\r?\n|\r/g,fee])}function fee(){return{type:"break"}}function my(){return function(e){hee(e)}}function pee(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function mee(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
43`}]}function gee(e,t){const n=t.value?t.value+`
44`:"",r={},s=t.lang?t.lang.split(/\s+/):[];s.length>0&&(r.className=["language-"+s[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function yee(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function vee(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
vendor: 6,019 bytes, lines 44-46
44function bee(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=Lu(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,l=e.footnoteCounts.get(r);l===void 0?(l=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,l+=1,e.footnoteCounts.set(r,l);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"fnref-"+s+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,u),e.applyData(t,u)}function _ee(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kee(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function nR(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const s=e.all(t),i=s[0];i&&i.type==="text"?i.value="["+i.value:s.unshift({type:"text",value:"["});const a=s[s.length-1];return a&&a.type==="text"?a.value+=r:s.push({type:"text",value:r}),s}function wee(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nR(e,t);const s={src:Lu(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(s.title=r.title);const i={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,i),e.applyData(t,i)}function xee(e,t){const n={src:Lu(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function See(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Tee(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nR(e,t);const s={href:Lu(r.url||"")};r.title!==null&&r.title!==void 0&&(s.title=r.title);const i={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function jee(e,t){const n={href:Lu(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Cee(e,t,n){const r=e.all(t),s=n?Eee(n):rR(t),i={},a=[];if(typeof t.checked=="boolean"){const d=r[0];let h;d&&d.type==="element"&&d.tagName==="p"?h=d:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const d=r[l];(s||l!==0||d.type!=="element"||d.tagName!=="p")&&a.push({type:"text",value:`
45`}),d.type==="element"&&d.tagName==="p"&&!s?a.push(...d.children):a.push(d)}const c=r[r.length-1];c&&(s||c.type!=="element"||c.tagName!=="p")&&a.push({type:"text",value:`
46`});const u={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,u),e.applyData(t,u)}function Eee(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=rR(n[r])}return t}function rR(e){const t=e.spread;return t??e.children.length>1}function zee(e,t){const n={},r=e.all(t);let s=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++s<r.length;){const a=r[s];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function Nee(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Iee(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Ree(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const sR=iR("end"),gy=iR("start");function iR(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Pee(e){const t=gy(e),n=sR(e);if(t&&n)return{start:t,end:n}}function Aee(e,t){const n=e.all(t),r=n.shift(),s=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),s.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=gy(t.children[1]),c=sR(t.children[t.children.length-1]);l&&c&&(a.position={start:l,end:c}),s.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,i),e.applyData(t,i)}function Lee(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,l=a?a.length:t.children.length;let c=-1;const u=[];for(;++c<l;){const h=t.children[c],f={},p=a?a[c]:void 0;p&&(f.align=p);let m={type:"element",tagName:i,properties:f,children:[]};h&&(m.children=e.all(h),e.patch(h,m),m=e.applyData(h,m)),u.push(m)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,d),e.applyData(t,d)}function Mee(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Lk=9,Mk=32;function Oee(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),s=0;const i=[];for(;r;)i.push(Ok(t.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=n.exec(t);return i.push(Ok(t.slice(s),s>0,!1)),i.join("")}
vendor: 7,628 bytes, lines 46-51
46function Ok(e,t,n){let r=0,s=e.length;if(t){let i=e.codePointAt(r);for(;i===Lk||i===Mk;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(s-1);for(;i===Lk||i===Mk;)s--,i=e.codePointAt(s-1)}return s>r?e.slice(r,s):""}function Dee(e,t){const n={type:"text",value:Oee(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Wee(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Fee={blockquote:pee,break:mee,code:gee,delete:yee,emphasis:vee,footnoteReference:bee,heading:_ee,html:kee,imageReference:wee,image:xee,inlineCode:See,linkReference:Tee,link:jee,listItem:Cee,list:zee,paragraph:Nee,root:Iee,strong:Ree,table:Aee,tableCell:Mee,tableRow:Lee,text:Dee,thematicBreak:Wee,toml:dh,yaml:dh,definition:dh,footnoteDefinition:dh};function dh(){}const aR=-1,_3=0,r0=1,Lf=2,yy=3,vy=4,by=5,_y=6,oR=7,lR=8,Dk=typeof self=="object"?self:globalThis,$ee=(e,t)=>{const n=(s,i)=>(e.set(i,s),s),r=s=>{if(e.has(s))return e.get(s);const[i,a]=t[s];switch(i){case _3:case aR:return n(a,s);case r0:{const l=n([],s);for(const c of a)l.push(r(c));return l}case Lf:{const l=n({},s);for(const[c,u]of a)l[r(c)]=r(u);return l}case yy:return n(new Date(a),s);case vy:{const{source:l,flags:c}=a;return n(new RegExp(l,c),s)}case by:{const l=n(new Map,s);for(const[c,u]of a)l.set(r(c),r(u));return l}case _y:{const l=n(new Set,s);for(const c of a)l.add(r(c));return l}case oR:{const{name:l,message:c}=a;return n(new Dk[l](c),s)}case lR:return n(BigInt(a),s);case"BigInt":return n(Object(BigInt(a)),s);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:l}=new Uint8Array(a);return n(new DataView(l),a)}}return n(new Dk[i](a),s)};return r},Wk=e=>$ee(new Map,e)(0),Pl="",{toString:Bee}={},{keys:Uee}=Object,Ku=e=>{const t=typeof e;if(t!=="object"||!e)return[_3,t];const n=Bee.call(e).slice(8,-1);switch(n){case"Array":return[r0,Pl];case"Object":return[Lf,Pl];case"Date":return[yy,Pl];case"RegExp":return[vy,Pl];case"Map":return[by,Pl];case"Set":return[_y,Pl];case"DataView":return[r0,n]}return n.includes("Array")?[r0,n]:n.includes("Error")?[oR,n]:[Lf,n]},hh=([e,t])=>e===_3&&(t==="function"||t==="symbol"),qee=(e,t,n,r)=>{const s=(a,l)=>{const c=r.push(a)-1;return n.set(l,c),c},i=a=>{if(n.has(a))return n.get(a);let[l,c]=Ku(a);switch(l){case _3:{let d=a;switch(c){case"bigint":l=lR,d=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);d=null;break;case"undefined":return s([aR],a)}return s([l,d],a)}case r0:{if(c){let f=a;return c==="DataView"?f=new Uint8Array(a.buffer):c==="ArrayBuffer"&&(f=new Uint8Array(a)),s([c,[...f]],a)}const d=[],h=s([l,d],a);for(const f of a)d.push(i(f));return h}case Lf:{if(c)switch(c){case"BigInt":return s([c,a.toString()],a);case"Boolean":case"Number":case"String":return s([c,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const d=[],h=s([l,d],a);for(const f of Uee(a))(e||!hh(Ku(a[f])))&&d.push([i(f),i(a[f])]);return h}case yy:return s([l,a.toISOString()],a);case vy:{const{source:d,flags:h}=a;return s([l,{source:d,flags:h}],a)}case by:{const d=[],h=s([l,d],a);for(const[f,p]of a)(e||!(hh(Ku(f))||hh(Ku(p))))&&d.push([i(f),i(p)]);return h}case _y:{const d=[],h=s([l,d],a);for(const f of a)(e||!hh(Ku(f)))&&d.push(i(f));return h}}const{message:u}=a;return s([l,{name:c,message:u}],a)};return i},Fk=(e,{json:t,lossy:n}={})=>{const r=[];return qee(!(t||n),!!t,new Map,r)(e),r},Mf=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Wk(Fk(e,t)):structuredClone(e):(e,t)=>Wk(Fk(e,t));function Hee(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Gee(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Kee(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Hee,r=e.options.footnoteBackLabel||Gee,s=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let c=-1;for(;++c<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[c]);if(!u)continue;const d=e.all(u),h=String(u.identifier).toUpperCase(),f=Lu(h.toLowerCase());let p=0;const m=[],y=e.footnoteCounts.get(h);for(;y!==void 0&&++p<=y;){m.length>0&&m.push({type:"text",value:" "});let b=typeof n=="string"?n:n(c,p);typeof b=="string"&&(b={type:"text",value:b}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,p),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const _=d[d.length-1];if(_&&_.type==="element"&&_.tagName==="p"){const b=_.children[_.children.length-1];b&&b.type==="text"?b.value+=" ":_.children.push({type:"text",value:" "}),_.children.push(...m)}else d.push(...m);const g={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(d,!0)};e.patch(u,g),l.push(g)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Mf(a),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
47`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
48`}]}}function ky(e,t,n,r){let s,i,a;typeof t=="function"&&typeof n!="function"?(i=void 0,a=t,s=n):(i=t,a=n,s=r),eR(e,i,l,s);function l(c,u){const d=u[u.length-1],h=d?d.children.indexOf(c):void 0;return a(c,h,d)}}const $6={}.hasOwnProperty,Vee={};function Yee(e,t){const n=t||Vee,r=new Map,s=new Map,i=new Map,a={...Fee,...n.handlers},l={all:u,applyData:Zee,definitionById:r,footnoteById:s,footnoteCounts:i,footnoteOrder:[],handlers:a,one:c,options:n,patch:Jee,wrap:Qee};return ky(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const h=d.type==="definition"?r:s,f=String(d.identifier).toUpperCase();h.has(f)||h.set(f,d)}}),l;function c(d,h){const f=d.type,p=l.handlers[f];if($6.call(l.handlers,f)&&p)return p(l,d,h);if(l.options.passThrough&&l.options.passThrough.includes(f)){if("children"in d){const{children:y,..._}=d,g=Mf(_);return g.children=l.all(d),g}return Mf(d)}return(l.options.unknownHandler||Xee)(l,d,h)}function u(d){const h=[];if("children"in d){const f=d.children;let p=-1;for(;++p<f.length;){const m=l.one(f[p],d);if(m){if(p&&f[p-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=$k(m.value)),!Array.isArray(m)&&m.type==="element")){const y=m.children[0];y&&y.type==="text"&&(y.value=$k(y.value))}Array.isArray(m)?h.push(...m):h.push(m)}}}return h}}function Jee(e,t){e.position&&(t.position=Pee(e))}function Zee(e,t){let n=t;if(e&&e.data){const r=e.data.hName,s=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&i&&Object.assign(n.properties,Mf(i)),"children"in n&&n.children&&s!==null&&s!==void 0&&(n.children=s)}return n}function Xee(e,t){const n=t.data||{},r="value"in t&&!($6.call(n,"hProperties")||$6.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Qee(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
49`});++r<e.length;)r&&n.push({type:"text",value:`
50`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
51`}),n}function $k(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}
vendor: 2,548 bytes, lines 51-52
51function Bk(e,t){const n=Yee(e,t),r=n.one(e,void 0),s=Kee(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&i.children.push({type:"text",value:`
52`},s),i}function wy(e,t){return e&&"run"in e?async function(n,r){const s=Bk(n,{file:r,...t});await e.run(s,r)}:function(n,r){return Bk(n,{file:r,...e||t})}}function Uk(e){if(e)throw e}var $2=Object.prototype.hasOwnProperty,cR=Object.prototype.toString,qk=Object.defineProperty,Hk=Object.getOwnPropertyDescriptor,Gk=function(t){return typeof Array.isArray=="function"?Array.isArray(t):cR.call(t)==="[object Array]"},Kk=function(t){if(!t||cR.call(t)!=="[object Object]")return!1;var n=$2.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&$2.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var s;for(s in t);return typeof s>"u"||$2.call(t,s)},Vk=function(t,n){qk&&n.name==="__proto__"?qk(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Yk=function(t,n){if(n==="__proto__")if($2.call(t,n)){if(Hk)return Hk(t,n).value}else return;return t[n]},ete=function e(){var t,n,r,s,i,a,l=arguments[0],c=1,u=arguments.length,d=!1;for(typeof l=="boolean"&&(d=l,l=arguments[1]||{},c=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});c<u;++c)if(t=arguments[c],t!=null)for(n in t)r=Yk(l,n),s=Yk(t,n),l!==s&&(d&&s&&(Kk(s)||(i=Gk(s)))?(i?(i=!1,a=r&&Gk(r)?r:[]):a=r&&Kk(r)?r:{},Vk(l,{name:n,newValue:e(d,a,s)})):typeof s<"u"&&Vk(l,{name:n,newValue:s}));return l};const Um=yi(ete);function B6(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function tte(){const e=[],t={run:n,use:r};return t;function n(...s){let i=-1;const a=s.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);l(null,...s);function l(c,...u){const d=e[++i];let h=-1;if(c){a(c);return}for(;++h<s.length;)(u[h]===null||u[h]===void 0)&&(u[h]=s[h]);s=u,d?nte(d,l)(...u):a(null,...u)}}function r(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function nte(e,t){let n;return r;function r(...a){const l=e.length>a.length;let c;l&&a.push(s);try{c=e.apply(this,a)}catch(u){const d=u;if(l&&n)throw d;return s(d)}l||(c&&c.then&&typeof c.then=="function"?c.then(i,s):c instanceof Error?s(c):i(c))}function s(a,...l){n||(n=!0,t(a,...l))}function i(a){s(null,a)}}
vendor: 4,925 bytes, line 52
52class Un extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let s="",i={},a=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?s=t:!i.cause&&t&&(a=!0,s=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?i.ruleId=r:(i.source=r.slice(0,c),i.ruleId=r.slice(c+1))}if(!i.place&&i.ancestors&&i.ancestors){const c=i.ancestors[i.ancestors.length-1];c&&(i.place=c.position)}const l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=l?l.line:void 0,this.name=n0(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Un.prototype.file="";Un.prototype.name="";Un.prototype.reason="";Un.prototype.message="";Un.prototype.stack="";Un.prototype.column=void 0;Un.prototype.line=void 0;Un.prototype.ancestors=void 0;Un.prototype.cause=void 0;Un.prototype.fatal=void 0;Un.prototype.place=void 0;Un.prototype.ruleId=void 0;Un.prototype.source=void 0;const Hs={basename:rte,dirname:ste,extname:ite,join:ate,sep:"/"};function rte(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');A1(e);let n=0,r=-1,s=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(i){n=s+1;break}}else r<0&&(i=!0,r=s+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,l=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(i){n=s+1;break}}else a<0&&(i=!0,a=s+1),l>-1&&(e.codePointAt(s)===t.codePointAt(l--)?l<0&&(r=s):(l=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function ste(e){if(A1(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function ite(e){A1(e);let t=e.length,n=-1,r=0,s=-1,i=0,a;for(;t--;){const l=e.codePointAt(t);if(l===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),l===46?s<0?s=t:i!==1&&(i=1):s>-1&&(i=-1)}return s<0||n<0||i===0||i===1&&s===n-1&&s===r+1?"":e.slice(s,n)}function ate(...e){let t=-1,n;for(;++t<e.length;)A1(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":ote(n)}function ote(e){A1(e);const t=e.codePointAt(0)===47;let n=lte(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function lte(e,t){let n="",r=0,s=-1,i=0,a=-1,l,c;for(;++a<=e.length;){if(a<e.length)l=e.codePointAt(a);else{if(l===47)break;l=47}if(l===47){if(!(s===a-1||i===1))if(s!==a-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),s=a,i=0;continue}}else if(n.length>0){n="",r=0,s=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(s+1,a):n=e.slice(s+1,a),r=a-s-1;s=a,i=0}else l===46&&i>-1?i++:i=-1}return n}function A1(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const cte={cwd:ute};function ute(){return"/"}function U6(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function dte(e){if(typeof e=="string")e=new URL(e);else if(!U6(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return hte(e)}function hte(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}const qm=["history","path","basename","stem","extname","dirname"];class uR{constructor(t){let n;t?U6(t)?n={path:t}:typeof t=="string"||fte(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":cte.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<qm.length;){const i=qm[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let s;for(s in n)qm.includes(s)||(this[s]=n[s])}get basename(){return typeof this.path=="string"?Hs.basename(this.path):void 0}
vendor: 6,455 bytes, line 52
52set basename(t){Gm(t,"basename"),Hm(t,"basename"),this.path=Hs.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Hs.dirname(this.path):void 0}set dirname(t){Jk(this.basename,"dirname"),this.path=Hs.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Hs.extname(this.path):void 0}set extname(t){if(Hm(t,"extname"),Jk(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Hs.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){U6(t)&&(t=dte(t)),Gm(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Hs.basename(this.path,this.extname):void 0}set stem(t){Gm(t,"stem"),Hm(t,"stem"),this.path=Hs.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const s=this.message(t,n,r);throw s.fatal=!0,s}info(t,n,r){const s=this.message(t,n,r);return s.fatal=void 0,s}message(t,n,r){const s=new Un(t,n,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Hm(e,t){if(e&&e.includes(Hs.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Hs.sep+"`")}function Gm(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Jk(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function fte(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const pte=function(e){const r=this.constructor.prototype,s=r[e],i=function(){return s.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},mte={}.hasOwnProperty;class xy extends pte{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=tte()}copy(){const t=new xy;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Um(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Ym("data",this.frozen),this.namespace[t]=n,this):mte.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Ym("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const s=n.call(t,...r);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=fh(t),r=this.parser||this.Parser;return Km("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Km("process",this.parser||this.Parser),Vm("process",this.compiler||this.Compiler),n?s(void 0,n):new Promise(s);function s(i,a){const l=fh(t),c=r.parse(l);r.run(c,l,function(d,h,f){if(d||!h||!f)return u(d);const p=h,m=r.stringify(p,f);yte(m)?f.value=m:f.result=m,u(d,f)});function u(d,h){d||!h?a(d):i?i(h):n(void 0,h)}}}processSync(t){let n=!1,r;return this.freeze(),Km("processSync",this.parser||this.Parser),Vm("processSync",this.compiler||this.Compiler),this.process(t,s),Xk("processSync","process",n),r;function s(i,a){n=!0,Uk(i),r=a}}run(t,n,r){Zk(t),this.freeze();const s=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(a,l){const c=fh(n);s.run(t,c,u);function u(d,h,f){const p=h||t;d?l(d):a?a(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,s;return this.run(t,n,i),Xk("runSync","run",r),s;function i(a,l){Uk(a),s=l,r=!0}}stringify(t,n){this.freeze();const r=fh(n),s=this.compiler||this.Compiler;return Vm("stringify",s),Zk(t),s(t,r)}use(t,...n){const r=this.attachers,s=this.namespace;if(Ym("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(u){if(typeof u=="function")c(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[d,...h]=u;c(d,h)}else a(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function a(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(u.plugins),u.settings&&(s.settings=Um(!0,s.settings,u.settings))}function l(u){let d=-1;if(u!=null)if(Array.isArray(u))for(;++d<u.length;){const h=u[d];i(h)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function c(u,d){let h=-1,f=-1;for(;++h<r.length;)if(r[h][0]===u){f=h;break}if(f===-1)r.push([u,...d]);else if(d.length>0){let[p,...m]=d;const y=r[f][1];B6(y)&&B6(p)&&(p=Um(!0,y,p)),r[f]=[u,p,...m]}}}}const Sy=new xy().freeze();function Km(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Vm(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ym(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Zk(e){if(!B6(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Xk(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function fh(e){return gte(e)?e:new uR(e)}function gte(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function yte(e){return typeof e=="string"||vte(e)}function vte(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ph=1e4,Jm=5,Zm=10,Qk=Sy().use(py).use(my).use(wy),bte=e=>{var r;if(e.children.length!==1)return null;const t=e.children[0];if(!t||t.type!=="element"||t.tagName!=="a")return null;const n=(r=t.properties)==null?void 0:r.href;return typeof n=="string"?n:null},dR=(e,t)=>{var n;for(const r of e.children)if(r.type==="element"){if(r.tagName==="p"){const s=bte(r);if(s&&cy(s)){t.youtube++;continue}if(s&&uy(s)){t.bilibili++;continue}}if(r.tagName==="img"){const s=(n=r.properties)==null?void 0:n.src;typeof s=="string"&&s.startsWith("https://")&&t.images++;continue}dR(r,t)}},ew=e=>{const t={youtube:0,bilibili:0,images:0};if(!e)return t;
52const n=Qk.runSync(Qk.parse(e));return dR(n,t),t},_te=280,tw=Sy().use(py).use(my).use(wy),kte=new Set(["p","div","br","li","ul","ol","blockquote","pre","h1","h2","h3","h4","h5","h6","hr","table","thead","tbody","tr","td","th"]),wte=e=>{var r;if(e.children.length!==1)return null;const t=e.children[0];if(!t||t.type!=="element"||t.tagName!=="a")return null;const n=(r=t.properties)==null?void 0:r.href;return typeof n=="string"?n:null},hR=(e,t)=>{for(const n of e.children)if(n.type==="text")t.push(n.value);else if(n.type==="element"){if(n.tagName==="p"){const s=wte(n);if(s&&(cy(s)||uy(s)))continue}const r=kte.has(n.tagName);r&&t.push(" "),hR(n,t),r&&t.push(" ")}},xte=(e,t=_te)=>{if(!e)return"";const n=tw.runSync(tw.parse(e)),r=[];hR(n,r);const s=r.join("").replace(/\s+/g," ").trim();if(s.length<=t)return s;const i=s.slice(0,t-1),a=i.lastIndexOf(" ");return(a>0?i.slice(0,a):i).trimEnd()+"…"},Of=["manual_wechat","payoneer","manual_wise","manual_bank_transfer"],fR=[{code:"USD",label:"USD — US Dollar",minorDigits:2},{code:"CNY",label:"CNY — Chinese Yuan",minorDigits:2},{code:"HKD",label:"HKD — Hong Kong Dollar",minorDigits:2},{code:"JPY",label:"JPY — Japanese Yen",minorDigits:0},{code:"KRW",label:"KRW — Korean Won",minorDigits:0},{code:"EUR",label:"EUR — Euro",minorDigits:2},{code:"GBP",label:"GBP — British Pound",minorDigits:2}],O0=e=>{const t=fR.find(n=>n.code===e);return(t==null?void 0:t.minorDigits)??2},Ste=["wechat","bank_deposit","cash","platform"],k3=e=>{let t=e.tree,n=null;const r=a=>{a.playerToMove&&(n=a.playerToMove),a.move&&(n=a.move.color==="B"?"W":"B")};r(t);for(const a of e.cursor){const l=t.children[a];if(!l)break;t=l,r(t)}return n||((e.tree.setup??[]).filter(a=>a.color==="B").length>=2?"W":"B")},nw=1e6,Xm=5,Tte=5e6,as=e=>JSON.stringify(e).replace(/</g,"\\u003C").replace(/>/g,"\\u003E").replace(/&/g,"\\u0026").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029"),jte=48,Cte=(e,t)=>{const n=new Date(e).getTime()+jte*36e5;return t<n},rw=361,pR=24*3600,Ete=10,q6=[9,13,19],Ia=(e,t)=>t>=2?.5:e==="chinese"?7.5:6.5,zte=(e,t)=>{var r;const n=[];for(let s=0;s<t;s++)for(let i=0;i<t;i++){const a=(r=e[s])==null?void 0:r[i];a===1?n.push({x:i,y:s,color:"B"}):a===-1&&n.push({x:i,y:s,color:"W"})}return n},sw=(e,t,n)=>{if(t.kind!=="byoyomi")return{...e,mainMs:Math.max(0,e.mainMs-n)};let r=n,s=e.mainMs,i=e.periodsLeft??0,a=e.periodMsLeft??0,l=e.inByoyomi;if(s>0){if(s>r)return{mainMs:s-r,periodsLeft:i,periodMsLeft:a,inByoyomi:l};r-=s,s=0,l=!0}for(;r>0&&i>0;)a>r?(a-=r,r=0):(r-=a,i-=1,a=i>0?t.periodTimeSec*1e3:0);return{mainMs:s,periodsLeft:i,periodMsLeft:a,inByoyomi:!0}},mR=(e,t)=>{if(e.paused||e.running===null||e.turnStartedAt===null)return e;const n=Math.max(0,t-e.turnStartedAt);return e.running==="B"?{...e,black:sw(e.black,e.control,n),turnStartedAt:t}:{...e,white:sw(e.white,e.control,n),turnStartedAt:t}},Nte=(e,t)=>t.kind==="byoyomi"?e.mainMs<=0&&(e.periodsLeft??0)<=0&&(e.periodMsLeft??0)<=0:e.mainMs<=0,Ty=e=>String(e).replace(/\\/g,"\\\\").replace(/\]/g,"\\]"),iw=e=>Ty(e).replace(/:/g,"\\:"),Qm=Ty,Ite=e=>{let t=`KM[${e.komi}]RU[${e.rules==="chinese"?"Chinese":"Japanese"}]`;e.handicap>=2&&(t+=`HA[${e.handicap}]`),e.result&&(t+=`RE[${Qm(e.result)}]`),e.blackName!==void 0&&e.whiteName!==void 0&&(t+=`PB[${Qm(e.blackName)}]PW[${Qm(e.whiteName)}]`),e.date&&(t+=`DT[${e.date.toISOString().slice(0,10)}]`);const n=e.timeControl;return n&&n.kind!=="none"&&(t+=`TM[${n.mainTimeSec}]`),n&&n.kind==="byoyomi"&&(t+=`OT[${n.periods}x${n.periodTimeSec} byo-yomi]`),n&&n.kind==="fischer"&&(t+=`OT[+${n.incrementSec}s fischer]`),t+="AP[Baduk Teacher:1]",t},Rte=["how-to-learn-baduk-online","real-time-ai-translation","choosing-a-baduk-teacher","getting-the-most-from-a-teaching-game"],gR=e=>{const t=e.match(/^---\r?\n([\s\S]*?)\r?\n---\r?\n([\s\S]*)$/);if(!t)return{fm:null,body:e};const n=t[1],r=t[2],s={};for(const a of n.split(/\r?\n/)){const l=a.match(/^([a-zA-Z0-9_-]+):\s*"?([^"]*?)"?\s*$/);l&&(s[l[1]]=l[2])}const i=["title","description","slug","datePublished","dateModified"];for(const a of i)if(typeof s[a]!="string"||s[a].length===0)return{fm:null,body:e};
52return{fm:{title:s.title,description:s.description,slug:s.slug,datePublished:s.datePublished,dateModified:s.dateModified},body:r}},yR=e=>{const t=/^##\s+(?:Common questions|FAQ|Frequently asked questions)\s*$/im,n=e.match(t);if(!n)return[];const r=e.slice(n.index+n[0].length),s=r.match(/^##\s+/m),i=s?r.slice(0,s.index):r,a=[],l=i.split(/^###\s+/m).slice(1);for(const c of l){const[u,...d]=c.split(/\r?\n/),h=u.trim();if(h.length===0)continue;const f=[];for(const m of d){if(/^---\s*$/.test(m))break;f.push(m)}const p=f.join(`
53`).trim();p.length>0&&a.push({question:h,answer:p})}return a},Pte=["learn-go-in-korean","learn-go-in-chinese","learn-go-in-japanese","learn-go-in-french","learn-go-in-german","learn-go-in-spanish","learn-go-in-portuguese","learn-go-in-russian","chinese-pro-players","korean-pro-players","for-beginners","ddk-to-dan","sdk-to-dan","low-dan-to-high-dan","life-and-death","openings-topics","joseki-topics","midgame-topics","endgame-topics","game-review","tournament-prep"],Ate=e=>Pte.includes(e),Lte={"learn-go-in-korean":{},"learn-go-in-chinese":{},"learn-go-in-japanese":{},"learn-go-in-french":{},"learn-go-in-german":{},"learn-go-in-spanish":{},"learn-go-in-portuguese":{},"learn-go-in-russian":{},"chinese-pro-players":{langs:["zh","zh-TW","zh-HK"],proLevel:!0},"korean-pro-players":{langs:["ko"],proLevel:!0},"for-beginners":{},"ddk-to-dan":{},"sdk-to-dan":{},"low-dan-to-high-dan":{},"life-and-death":{},"openings-topics":{},"joseki-topics":{},"midgame-topics":{},"endgame-topics":{},"game-review":{},"tournament-prep":{}},Mte=e=>{const t=(e??"").trim().toLowerCase();return/^[1-9]p$/.test(t)||/^[789]d$/.test(t)},Ote=(e,t)=>{const n=Lte[t];let r=[...e];return n.langs&&n.langs.length>0&&(r=r.filter(s=>s.languages.some(i=>n.langs.includes(i)))),n.proLevel&&(r=r.filter(s=>Mte(s.go_rank))),r};function H6(e){const t=e.search(/[?#]/);return t===-1?e:e.slice(0,t)}const Dte=/\.(?:js|mjs|cjs)(?:[?#]|$)/i,Wte=/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:update, ParamCount:\d+$/,aw=e=>{var n;return(((n=e.stacktrace)==null?void 0:n.frames)??[]).some(r=>{const s=r.abs_path??r.filename??"";return Dte.test(s)})};function Fte(e){var n;const t=(n=e.exception)==null?void 0:n.values;return t!=null&&t.length?t.some(r=>r.type==="SyntaxError"||r.type==="UnhandledRejection"&&typeof r.value=="string"&&Wte.test(r.value)?!aw(r):!1):!1}const $te=["scheduled","cancelled","completed"],Pd=2,G6=8,vR=[60,90,120],Bte=(e,t)=>{let n=e.tree,r=n.move?n.move.color:null;for(const s of e.cursor){const i=n.children[s];if(!i)break;i.move&&(r=i.move.color),n=i}return r?r==="B"?"W":"B":t};function Ute(e,t){if(e.t==="subtitle.new"){const n=e.subtitle;return{id:n.id,kind:"speech",role:n.speakerRole,name:n.speakerName,participantId:n.speakerParticipantId,sourceLang:n.speakerLang,original:n.original,ts:n.ts,startMs:n.startMs,endMs:n.endMs,translations:{...t==null?void 0:t.translations,...n.translated?{[n.tgtLang]:n.translated}:{}}
vendor: 12,281 bytes, lines 53-70
53,pendingLang:n.tgtLang}}if(e.t==="message.new")return{id:e.id,kind:"chat",role:e.senderRole,name:e.senderName,participantId:e.senderParticipantId,sourceLang:e.sourceLang,original:e.text,ts:e.ts,translations:{...t==null?void 0:t.translations}};if(!t)return null;if(e.t==="subtitle.translated"||e.t==="message.translated"){const n=e.t==="message.translated"?e.lang:e.lang??t.pendingLang;return!n||!e.translated?null:{...t,translations:{...t.translations,[n]:e.translated}}}return null}function qte(e){return e.t==="subtitle.new"?e.subtitle.id:e.t==="message.new"||e.t==="message.translated"||e.t==="subtitle.translated"?e.id:null}function ow(e){var t;return(t=e.request)!=null&&t.url&&(e.request.url=H6(e.request.url)),e.request&&"query_string"in e.request&&delete e.request.query_string,typeof e.transaction=="string"&&(e.transaction=H6(e.transaction)),e}const Hte="https://872def80e370a40d9c90ccce14ac86f2@o4511562675912704.ingest.de.sentry.io/4511562686660688",Gte=Hte;jZ({dsn:Gte,enabled:!0,environment:"production",sendDefaultPii:!1,integrations:[_Z(),KJ({maskAllText:!0,blockAllMedia:!0})],tracesSampleRate:1,replaysSessionSampleRate:0,replaysOnErrorSampleRate:0,beforeSend:e=>Fte(e)?null:ow(e),beforeSendTransaction:e=>ow(e),beforeBreadcrumb:e=>{const t=e.data;if(t)for(const n of["url","from","to"])typeof t[n]=="string"&&(t[n]=H6(t[n]));return e}});var K6={},bR={exports:{}},Br={},_R={exports:{}},kR={};/**
54 * @license React
55 * scheduler.production.min.js
56 *
57 * Copyright (c) Facebook, Inc. and its affiliates.
58 *
59 * This source code is licensed under the MIT license found in the
60 * LICENSE file in the root directory of this source tree.
61 */(function(e){function t(z,R){var w=z.length;z.push(R);e:for(;0<w;){var L=w-1>>>1,M=z[L];if(0<s(M,R))z[L]=R,z[w]=M,w=L;else break e}}function n(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var R=z[0],w=z.pop();if(w!==R){z[0]=w;e:for(var L=0,M=z.length,A=M>>>1;L<A;){var q=2*(L+1)-1,W=z[q],U=q+1,G=z[U];if(0>s(W,w))U<M&&0>s(G,W)?(z[L]=G,z[U]=w,L=U):(z[L]=W,z[q]=w,L=q);else if(U<M&&0>s(G,w))z[L]=G,z[U]=w,L=U;else break e}}return R}function s(z,R){var w=z.sortIndex-R.sortIndex;return w!==0?w:z.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,h=null,f=3,p=!1,m=!1,y=!1,_=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function k(z){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=z)r(u),R.sortIndex=R.expirationTime,t(c,R);else break;R=n(u)}}function x(z){if(y=!1,k(z),!m)if(n(c)!==null)m=!0,$(S);else{var R=n(u);R!==null&&D(x,R.startTime-z)}}function S(z,R){m=!1,y&&(y=!1,g(E),E=-1),p=!0;var w=f;try{for(k(R),h=n(c);h!==null&&(!(h.expirationTime>R)||z&&!I());){var L=h.callback;if(typeof L=="function"){h.callback=null,f=h.priorityLevel;var M=L(h.expirationTime<=R);R=e.unstable_now(),typeof M=="function"?h.callback=M:h===n(c)&&r(c),k(R)}else r(c);h=n(c)}if(h!==null)var A=!0;else{var q=n(u);q!==null&&D(x,q.startTime-R),A=!1}return A}finally{h=null,f=w,p=!1}}var T=!1,C=null,E=-1,N=5,j=-1;function I(){return!(e.unstable_now()-j<N)}function P(){if(C!==null){var z=e.unstable_now();j=z;var R=!0;try{R=C(!0,z)}finally{R?O():(T=!1,C=null)}}else T=!1}var O;if(typeof b=="function")O=function(){b(P)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,B=F.port2;F.port1.onmessage=P,O=function(){B.postMessage(null)}}else O=function(){_(P,0)};function $(z){C=z,T||(T=!0,O())}function D(z,R){E=_(function(){z(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,$(S))},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(z){switch(f){case 1:case 2:case 3:var R=3;break;default:R=f}var w=f;f=R;try{return z()}finally{f=w}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(z,R){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var w=f;f=z;try{return R()}finally{f=w}},e.unstable_scheduleCallback=function(z,R,w){var L=e.unstable_now();switch(typeof w=="object"&&w!==null?(w=w.delay,w=typeof w=="number"&&0<w?L+w:L):w=L,z){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=w+M,z={id:d++,callback:R,priorityLevel:z,startTime:w,expirationTime:M,sortIndex:-1},w>L?(z.sortIndex=w,t(u,z),n(c)===null&&z===n(u)&&(y?(g(E),E=-1):y=!0,D(x,w-L))):(z.sortIndex=M,t(c,z),m||p||(m=!0,$(S))),z},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(z){var R=f;return function(){var w=f;f=R;try{return z.apply(this,arguments)}finally{f=w}}}})(kR);_R.exports=kR;var Kte=_R.exports;/**
62 * @license React
63 * react-dom.production.min.js
64 *
65 * Copyright (c) Facebook, Inc. and its affiliates.
66 *
67 * This source code is licensed under the MIT license found in the
68 * LICENSE file in the root directory of this source tree.
69 */var Vte=v,Fr=Kte;function ae(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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."}var wR=new Set,D0={};function xl(e,t){cu(e,t),cu(e+"Capture",t)}function cu(e,t){for(D0[e]=t,e=0;e<t.length;e++)wR.add(t[e])}var Xi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),V6=Object.prototype.hasOwnProperty,Yte=/^[: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][: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]*$/,lw={},cw={};function Jte(e){return V6.call(cw,e)?!0:V6.call(lw,e)?!1:Yte.test(e)?cw[e]=!0:(lw[e]=!0,!1)}function Zte(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Xte(e,t,n,r){if(t===null||typeof t>"u"||Zte(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ir(e,t,n,r,s,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var In={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){In[e]=new ir(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];In[t]=new ir(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){In[e]=new ir(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){In[e]=new ir(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){In[e]=new ir(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){In[e]=new ir(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){In[e]=new ir(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){In[e]=new ir(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){In[e]=new ir(e,5,!1,e.toLowerCase(),null,!1,!1)});var jy=/[\-:]([a-z])/g;function Cy(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(jy,Cy);In[t]=new ir(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(jy,Cy);In[t]=new ir(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(jy,Cy);In[t]=new ir(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){In[e]=new ir(e,1,!1,e.toLowerCase(),null,!1,!1)});In.xlinkHref=new ir("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){In[e]=new ir(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ey(e,t,n,r){var s=In.hasOwnProperty(t)?In[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Xte(t,n,s,r)&&(n=null),r||s===null?Jte(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var sa=Vte.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,mh=Symbol.for("react.element"),yc=Symbol.for("react.portal"),vc=Symbol.for("react.fragment"),zy=Symbol.for("react.strict_mode"),Y6=Symbol.for("react.profiler"),xR=Symbol.for("react.provider"),SR=Symbol.for("react.context"),Ny=Symbol.for("react.forward_ref"),J6=Symbol.for("react.suspense"),Z6=Symbol.for("react.suspense_list"),Iy=Symbol.for("react.memo"),xa=Symbol.for("react.lazy"),TR=Symbol.for("react.offscreen"),uw=Symbol.iterator;function Vu(e){return e===null||typeof e!="object"?null:(e=uw&&e[uw]||e["@@iterator"],typeof e=="function"?e:null)}var $t=Object.assign,e5;function Ad(e){if(e5===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);e5=t&&t[1]||""}return`
70`+e5+e}var t5=!1;function n5(e,t){if(!e||t5)return"";t5=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 15,646 bytes, lines 70-73
70catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
71`),i=r.stack.split(`
72`),a=s.length-1,l=i.length-1;1<=a&&0<=l&&s[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(s[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||s[a]!==i[l]){var c=`
73`+s[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{t5=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ad(e):""}function Qte(e){switch(e.tag){case 5:return Ad(e.type);case 16:return Ad("Lazy");case 13:return Ad("Suspense");case 19:return Ad("SuspenseList");case 0:case 2:case 15:return e=n5(e.type,!1),e;case 11:return e=n5(e.type.render,!1),e;case 1:return e=n5(e.type,!0),e;default:return""}}function X6(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case vc:return"Fragment";case yc:return"Portal";case Y6:return"Profiler";case zy:return"StrictMode";case J6:return"Suspense";case Z6:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case SR:return(e.displayName||"Context")+".Consumer";case xR:return(e._context.displayName||"Context")+".Provider";case Ny:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Iy:return t=e.displayName||null,t!==null?t:X6(e.type)||"Memo";case xa:t=e._payload,e=e._init;try{return X6(e(t))}catch{}}return null}function ene(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X6(t);case 8:return t===zy?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Za(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jR(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function tne(e){var t=jR(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gh(e){e._valueTracker||(e._valueTracker=tne(e))}function CR(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=jR(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Df(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Q6(e,t){var n=t.checked;return $t({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function dw(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Za(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ER(e,t){t=t.checked,t!=null&&Ey(e,"checked",t,!1)}function e8(e,t){ER(e,t);var n=Za(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?t8(e,t.type,n):t.hasOwnProperty("defaultValue")&&t8(e,t.type,Za(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hw(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function t8(e,t,n){(t!=="number"||Df(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ld=Array.isArray;function Wc(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Za(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function n8(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(ae(91));return $t({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fw(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(ae(92));if(Ld(n)){if(1<n.length)throw Error(ae(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Za(n)}}function zR(e,t){var n=Za(t.value),r=Za(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function pw(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function NR(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function r8(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?NR(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var yh,IR=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(yh=yh||document.createElement("div"),yh.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=yh.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function W0(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var s0={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},nne=["Webkit","ms","Moz","O"];Object.keys(s0).forEach(function(e){nne.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),s0[t]=s0[e]})});function RR(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||s0.hasOwnProperty(e)&&s0[e]?(""+t).trim():t+"px"}function PR(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=RR(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var rne=$t({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function s8(e,t){if(t){if(rne[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ae(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ae(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ae(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ae(62))}}function i8(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 a8=null;function Ry(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var o8=null,Fc=null,$c=null;function mw(e){if(e=O1(e)){if(typeof o8!="function")throw Error(ae(280));var t=e.stateNode;t&&(t=j3(t),o8(e.stateNode,e.type,t))}}function AR(e){Fc?$c?$c.push(e):$c=[e]:Fc=e}function LR(){if(Fc){var e=Fc,t=$c;if($c=Fc=null,mw(e),t)for(e=0;e<t.length;e++)mw(t[e])}}function MR(e,t){return e(t)}function OR(){}var r5=!1;function DR(e,t,n){if(r5)return e(t,n);r5=!0;try{return MR(e,t,n)}finally{r5=!1,(Fc!==null||$c!==null)&&(OR(),LR())}}function F0(e,t){var n=e.stateNode;if(n===null)return null;var r=j3(n);if(r===null)return null;n=r[t];e:switch(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)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(ae(231,t,typeof n));return n}var l8=!1;if(Xi)try{var Yu={};Object.defineProperty(Yu,"passive",{get:function(){l8=!0}}),window.addEventListener("test",Yu,Yu),window.removeEventListener("test",Yu,Yu)}catch{l8=!1}function sne(e,t,n,r,s,i,a,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var i0=!1,Wf=null,Ff=!1,c8=null,ine={onError:function(e){i0=!0,Wf=e}};function ane(e,t,n,r,s,i,a,l,c){i0=!1,Wf=null,sne.apply(ine,arguments)}function one(e,t,n,r,s,i,a,l,c){if(ane.apply(this,arguments),i0){if(i0){var u=Wf;i0=!1,Wf=null}else throw Error(ae(198));Ff||(Ff=!0,c8=u)}}function Sl(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function WR(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function gw(e){if(Sl(e)!==e)throw Error(ae(188))}function lne(e){var t=e.alternate;if(!t){if(t=Sl(e),t===null)throw Error(ae(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return gw(s),e;if(i===r)return gw(s),t;i=i.sibling}throw Error(ae(188))}if(n.return!==r.return)n=s,r=i;else{for(var a=!1,l=s.child;l;){if(l===n){a=!0,n=s,r=i;break}if(l===r){a=!0,r=s,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=s;break}if(l===r){a=!0,r=i,n=s;break}l=l.sibling}if(!a)throw Error(ae(189))}}if(n.alternate!==r)throw Error(ae(190))}if(n.tag!==3)throw Error(ae(188));return n.stateNode.current===n?e:t}function FR(e){return e=lne(e),e!==null?$R(e):null}function $R(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=$R(e);if(t!==null)return t;e=e.sibling}return null}var BR=Fr.unstable_scheduleCallback,yw=Fr.unstable_cancelCallback,cne=Fr.unstable_shouldYield,une=Fr.unstable_requestPaint,Yt=Fr.unstable_now,dne=Fr.unstable_getCurrentPriorityLevel,Py=Fr.unstable_ImmediatePriority,UR=Fr.unstable_UserBlockingPriority,$f=Fr.unstable_NormalPriority,hne=Fr.unstable_LowPriority,qR=Fr.unstable_IdlePriority,w3=null,ci=null;function fne(e){if(ci&&typeof ci.onCommitFiberRoot=="function")try{ci.onCommitFiberRoot(w3,e,void 0,(e.current.flags&128)===128)}catch{}}var As=Math.clz32?Math.clz32:gne,pne=Math.log,mne=Math.LN2;function gne(e){return e>>>=0,e===0?32:31-(pne(e)/mne|0)|0}var vh=64,bh=4194304;function Md(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Bf(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~s;l!==0?r=Md(l):(i&=a,i!==0&&(r=Md(i)))}else a=n&~s,a!==0?r=Md(a):i!==0&&(r=Md(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-As(t),s=1<<n,r|=e[n],t&=~s;return r}function yne(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function vne(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-As(i),l=1<<a,c=s[a];c===-1?(!(l&n)||l&r)&&(s[a]=yne(l,t)):c<=t&&(e.expiredLanes|=l),i&=~l}}function u8(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function HR(){var e=vh;return vh<<=1,!(vh&4194240)&&(vh=64),e}function s5(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function L1(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-As(t),e[t]=n}function bne(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-As(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function Ay(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-As(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var pt=0;function GR(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var KR,Ly,VR,YR,JR,d8=!1,_h=[],Wa=null,Fa=null,$a=null,$0=new Map,B0=new Map,Ca=[],_ne="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 submit".split(" ");function vw(e,t){switch(e){case"focusin":case"focusout":Wa=null;break;case"dragenter":case"dragleave":Fa=null;break;case"mouseover":case"mouseout":$a=null;break;case"pointerover":case"pointerout":$0.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":B0.delete(t.pointerId)}}function Ju(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=O1(t),t!==null&&Ly(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}
vendor: 13,044 bytes, line 73
73function kne(e,t,n,r,s){switch(t){case"focusin":return Wa=Ju(Wa,e,t,n,r,s),!0;case"dragenter":return Fa=Ju(Fa,e,t,n,r,s),!0;case"mouseover":return $a=Ju($a,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;return $0.set(i,Ju($0.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,B0.set(i,Ju(B0.get(i)||null,e,t,n,r,s)),!0}return!1}function ZR(e){var t=Bo(e.target);if(t!==null){var n=Sl(t);if(n!==null){if(t=n.tag,t===13){if(t=WR(n),t!==null){e.blockedOn=t,JR(e.priority,function(){VR(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function B2(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=h8(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);a8=r,n.target.dispatchEvent(r),a8=null}else return t=O1(n),t!==null&&Ly(t),e.blockedOn=n,!1;t.shift()}return!0}function bw(e,t,n){B2(e)&&n.delete(t)}function wne(){d8=!1,Wa!==null&&B2(Wa)&&(Wa=null),Fa!==null&&B2(Fa)&&(Fa=null),$a!==null&&B2($a)&&($a=null),$0.forEach(bw),B0.forEach(bw)}function Zu(e,t){e.blockedOn===t&&(e.blockedOn=null,d8||(d8=!0,Fr.unstable_scheduleCallback(Fr.unstable_NormalPriority,wne)))}function U0(e){function t(s){return Zu(s,e)}if(0<_h.length){Zu(_h[0],e);for(var n=1;n<_h.length;n++){var r=_h[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Wa!==null&&Zu(Wa,e),Fa!==null&&Zu(Fa,e),$a!==null&&Zu($a,e),$0.forEach(t),B0.forEach(t),n=0;n<Ca.length;n++)r=Ca[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ca.length&&(n=Ca[0],n.blockedOn===null);)ZR(n),n.blockedOn===null&&Ca.shift()}var Bc=sa.ReactCurrentBatchConfig,Uf=!0;function xne(e,t,n,r){var s=pt,i=Bc.transition;Bc.transition=null;try{pt=1,My(e,t,n,r)}finally{pt=s,Bc.transition=i}}function Sne(e,t,n,r){var s=pt,i=Bc.transition;Bc.transition=null;try{pt=4,My(e,t,n,r)}finally{pt=s,Bc.transition=i}}function My(e,t,n,r){if(Uf){var s=h8(e,t,n,r);if(s===null)p5(e,t,r,qf,n),vw(e,r);else if(kne(s,e,t,n,r))r.stopPropagation();else if(vw(e,r),t&4&&-1<_ne.indexOf(e)){for(;s!==null;){var i=O1(s);if(i!==null&&KR(i),i=h8(e,t,n,r),i===null&&p5(e,t,r,qf,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else p5(e,t,r,null,n)}}var qf=null;function h8(e,t,n,r){if(qf=null,e=Ry(r),e=Bo(e),e!==null)if(t=Sl(e),t===null)e=null;else if(n=t.tag,n===13){if(e=WR(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qf=e,null}function XR(e){switch(e){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"resize":case"seeked":case"submit":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"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(dne()){case Py:return 1;case UR:return 4;case $f:case hne:return 16;case qR:return 536870912;default:return 16}default:return 16}}var Ra=null,Oy=null,U2=null;function QR(){if(U2)return U2;var e,t=Oy,n=t.length,r,s="value"in Ra?Ra.value:Ra.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===s[i-r];r++);return U2=s.slice(e,1<r?1-r:void 0)}function q2(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function kh(){return!0}function _w(){return!1}function Ur(e){function t(n,r,s,i,a){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?kh:_w,this.isPropagationStopped=_w,this}return $t(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=kh)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=kh)},persist:function(){},isPersistent:kh}),t}var Mu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Dy=Ur(Mu),M1=$t({},Mu,{view:0,detail:0}),Tne=Ur(M1),i5,a5,Xu,x3=$t({},M1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Xu&&(Xu&&e.type==="mousemove"?(i5=e.screenX-Xu.screenX,a5=e.screenY-Xu.screenY):a5=i5=0,Xu=e),i5)},movementY:function(e){return"movementY"in e?e.movementY:a5}}),kw=Ur(x3),jne=$t({},x3,{dataTransfer:0}),Cne=Ur(jne),Ene=$t({},M1,{relatedTarget:0}),o5=Ur(Ene),zne=$t({},Mu,{animationName:0,elapsedTime:0,pseudoElement:0}),Nne=Ur(zne),Ine=$t({},Mu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rne=Ur(Ine),Pne=$t({},Mu,{data:0}),ww=Ur(Pne),Ane={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lne={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"},Mne={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function One(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Mne[e])?!!t[e]:!1}function Wy(){return One}var Dne=$t({},M1,{key:function(e){if(e.key){var t=Ane[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=q2(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Lne[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wy,charCode:function(e){return e.type==="keypress"?q2(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?q2(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Wne=Ur(Dne),Fne=$t({},x3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xw=Ur(Fne),$ne=$t({},M1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wy}),Bne=Ur($ne),Une=$t({},Mu,{propertyName:0,elapsedTime:0,pseudoElement:0}),qne=Ur(Une),Hne=$t({},x3,{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}),Gne=Ur(Hne),Kne=[9,13,27,32],Fy=Xi&&"CompositionEvent"in window,a0=null;Xi&&"documentMode"in document&&(a0=document.documentMode);var Vne=Xi&&"TextEvent"in window&&!a0,eP=Xi&&(!Fy||a0&&8<a0&&11>=a0),Sw=" ",Tw=!1;function tP(e,t){switch(e){case"keyup":return Kne.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nP(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bc=!1;function Yne(e,t){switch(e){case"compositionend":return nP(t);case"keypress":return t.which!==32?null:(Tw=!0,Sw);case"textInput":return e=t.data,e===Sw&&Tw?null:e;default:return null}}function Jne(e,t){if(bc)return e==="compositionend"||!Fy&&tP(e,t)?(e=QR(),U2=Oy=Ra=null,bc=!1,e):null;switch(e){case"paste":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 eP&&t.locale!=="ko"?null:t.data;default:return null}}var Zne={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 jw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zne[e.type]:t==="textarea"}function rP(e,t,n,r){AR(r),t=Hf(t,"onChange"),0<t.length&&(n=new Dy("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var o0=null,q0=null;function Xne(e){pP(e,0)}function S3(e){var t=wc(e);if(CR(t))return e}function Qne(e,t){if(e==="change")return t}var sP=!1;if(Xi){var l5;if(Xi){var c5="oninput"in document;if(!c5){var Cw=document.createElement("div");Cw.setAttribute("oninput","return;"),c5=typeof Cw.oninput=="function"}l5=c5}else l5=!1;sP=l5&&(!document.documentMode||9<document.documentMode)}function Ew(){o0&&(o0.detachEvent("onpropertychange",iP),q0=o0=null)}function iP(e){if(e.propertyName==="value"&&S3(q0)){var t=[];rP(t,q0,e,Ry(e)),DR(Xne,t)}}function ere(e,t,n){e==="focusin"?(Ew(),o0=t,q0=n,o0.attachEvent("onpropertychange",iP)):e==="focusout"&&Ew()}function tre(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return S3(q0)}function nre(e,t){if(e==="click")return S3(t)}function rre(e,t){if(e==="input"||e==="change")return S3(t)}function sre(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Os=typeof Object.is=="function"?Object.is:sre;function H0(e,t){if(Os(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)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 s=n[r];if(!V6.call(t,s)||!Os(e[s],t[s]))return!1}return!0}function zw(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nw(e,t){var n=zw(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zw(n)}}function aP(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?aP(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function oP(){for(var e=window,t=Df();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Df(e.document)}return t}function $y(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ire(e){var t=oP(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&aP(n.ownerDocument.documentElement,n)){if(r!==null&&$y(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=Nw(n,i);var a=Nw(n,r);s&&a&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var are=Xi&&"documentMode"in document&&11>=document.documentMode,_c=null,f8=null,l0=null,p8=!1;function Iw(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;p8||_c==null||_c!==Df(r)||(r=_c,"selectionStart"in r&&$y(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,361 bytes, line 73
73sNode:r.focusNode,focusOffset:r.focusOffset}),l0&&H0(l0,r)||(l0=r,r=Hf(f8,"onSelect"),0<r.length&&(t=new Dy("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=_c)))}function wh(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kc={animationend:wh("Animation","AnimationEnd"),animationiteration:wh("Animation","AnimationIteration"),animationstart:wh("Animation","AnimationStart"),transitionend:wh("Transition","TransitionEnd")},u5={},lP={};Xi&&(lP=document.createElement("div").style,"AnimationEvent"in window||(delete kc.animationend.animation,delete kc.animationiteration.animation,delete kc.animationstart.animation),"TransitionEvent"in window||delete kc.transitionend.transition);function T3(e){if(u5[e])return u5[e];if(!kc[e])return e;var t=kc[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in lP)return u5[e]=t[n];return e}var cP=T3("animationend"),uP=T3("animationiteration"),dP=T3("animationstart"),hP=T3("transitionend"),fP=new Map,Rw="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error 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 uo(e,t){fP.set(e,t),xl(t,[e])}for(var d5=0;d5<Rw.length;d5++){var h5=Rw[d5],ore=h5.toLowerCase(),lre=h5[0].toUpperCase()+h5.slice(1);uo(ore,"on"+lre)}uo(cP,"onAnimationEnd");uo(uP,"onAnimationIteration");uo(dP,"onAnimationStart");uo("dblclick","onDoubleClick");uo("focusin","onFocus");uo("focusout","onBlur");uo(hP,"onTransitionEnd");cu("onMouseEnter",["mouseout","mouseover"]);cu("onMouseLeave",["mouseout","mouseover"]);cu("onPointerEnter",["pointerout","pointerover"]);cu("onPointerLeave",["pointerout","pointerover"]);xl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));xl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));xl("onBeforeInput",["compositionend","keypress","textInput","paste"]);xl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));xl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));xl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Od="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(" "),cre=new Set("cancel close invalid load scroll toggle".split(" ").concat(Od));function Pw(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,one(r,t,void 0,e),e.currentTarget=null}function pP(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==i&&s.isPropagationStopped())break e;Pw(s,l,u),i=c}else for(a=0;a<r.length;a++){if(l=r[a],c=l.instance,u=l.currentTarget,l=l.listener,c!==i&&s.isPropagationStopped())break e;Pw(s,l,u),i=c}}}if(Ff)throw e=c8,Ff=!1,c8=null,e}function Nt(e,t){var n=t[b8];n===void 0&&(n=t[b8]=new Set);var r=e+"__bubble";n.has(r)||(mP(t,e,2,!1),n.add(r))}function f5(e,t,n){var r=0;t&&(r|=4),mP(n,e,r,t)}var xh="_reactListening"+Math.random().toString(36).slice(2);function G0(e){if(!e[xh]){e[xh]=!0,wR.forEach(function(n){n!=="selectionchange"&&(cre.has(n)||f5(n,!1,e),f5(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xh]||(t[xh]=!0,f5("selectionchange",!1,t))}}function mP(e,t,n,r){switch(XR(t)){case 1:var s=xne;break;case 4:s=Sne;break;default:s=My}n=s.bind(null,t,n,e),s=void 0,!l8||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
vendor: 4,471 bytes, line 73
73function p5(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===s||l.nodeType===8&&l.parentNode===s)break;if(a===4)for(a=r.return;a!==null;){var c=a.tag;if((c===3||c===4)&&(c=a.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;a=a.return}for(;l!==null;){if(a=Bo(l),a===null)return;if(c=a.tag,c===5||c===6){r=i=a;continue e}l=l.parentNode}}r=r.return}DR(function(){var u=i,d=Ry(n),h=[];e:{var f=fP.get(e);if(f!==void 0){var p=Dy,m=e;switch(e){case"keypress":if(q2(n)===0)break e;case"keydown":case"keyup":p=Wne;break;case"focusin":m="focus",p=o5;break;case"focusout":m="blur",p=o5;break;case"beforeblur":case"afterblur":p=o5;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=kw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Cne;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Bne;break;case cP:case uP:case dP:p=Nne;break;case hP:p=qne;break;case"scroll":p=Tne;break;case"wheel":p=Gne;break;case"copy":case"cut":case"paste":p=Rne;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=xw}var y=(t&4)!==0,_=!y&&e==="scroll",g=y?f!==null?f+"Capture":null:f;y=[];for(var b=u,k;b!==null;){k=b;var x=k.stateNode;if(k.tag===5&&x!==null&&(k=x,g!==null&&(x=F0(b,g),x!=null&&y.push(K0(b,x,k)))),_)break;b=b.return}0<y.length&&(f=new p(f,m,null,n,d),h.push({event:f,listeners:y}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==a8&&(m=n.relatedTarget||n.fromElement)&&(Bo(m)||m[Qi]))break e;if((p||f)&&(f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,p?(m=n.relatedTarget||n.toElement,p=u,m=m?Bo(m):null,m!==null&&(_=Sl(m),m!==_||m.tag!==5&&m.tag!==6)&&(m=null)):(p=null,m=u),p!==m)){if(y=kw,x="onMouseLeave",g="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(y=xw,x="onPointerLeave",g="onPointerEnter",b="pointer"),_=p==null?f:wc(p),k=m==null?f:wc(m),f=new y(x,b+"leave",p,n,d),f.target=_,f.relatedTarget=k,x=null,Bo(d)===u&&(y=new y(g,b+"enter",m,n,d),y.target=k,y.relatedTarget=_,x=y),_=x,p&&m)t:{for(y=p,g=m,b=0,k=y;k;k=Al(k))b++;for(k=0,x=g;x;x=Al(x))k++;for(;0<b-k;)y=Al(y),b--;for(;0<k-b;)g=Al(g),k--;for(;b--;){if(y===g||g!==null&&y===g.alternate)break t;y=Al(y),g=Al(g)}y=null}else y=null;p!==null&&Aw(h,f,p,y,!1),m!==null&&_!==null&&Aw(h,_,m,y,!0)}}e:{if(f=u?wc(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var S=Qne;else if(jw(f))if(sP)S=rre;else{S=tre;var T=ere}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(S=nre);if(S&&(S=S(e,u))){rP(h,S,n,d);break e}T&&T(e,f,u),e==="focusout"&&(T=f._wrapperState)&&T.controlled&&f.type==="number"&&t8(f,"number",f.value)}switch(T=u?wc(u):window,e){case"focusin":(jw(T)||T.contentEditable==="true")&&(_c=T,f8=u,l0=null);break;case"focusout":l0=f8=_c=null;break;case"mousedown":p8=!0;break;case"contextmenu":case"mouseup":case"dragend":p8=!1,Iw(h,n,d);break;case"selectionchange":if(are)break;case"keydown":case"keyup":Iw(h,n,d)}var C;if(Fy)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else bc?tP(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(eP&&n.locale!=="ko"&&(bc||E!=="onCompositionStart"?E==="onCompositionEnd"&&bc&&(C=QR()):(Ra=d,Oy="value"in Ra?Ra.value:Ra.textContent,bc=!0)),T=Hf(u,E),0<T.length&&(E=new ww(E,e,null,n,d),h.push({event:E,listeners:T}),C?E.data=C:(C=nP(n),C!==null&&(E.data=C)))),(C=Vne?Yne(e,n):Jne(e,n))&&(u=Hf(u,"onBeforeInput"),0<u.length&&(d=new ww("onBeforeInput","beforeinput",null,n,d),h.push({event:d,listeners:u}),d.data=C))}pP(h,t)})}function K0(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Hf(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=F0(e,n),i!=null&&r.unshift(K0(e,i,s)),i=F0(e,t),i!=null&&r.push(K0(e,i,s))),e=e.return}return r}function Al(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}
vendor: 4,611 bytes, lines 73-74
73function Aw(e,t,n,r,s){for(var i=t._reactName,a=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,s?(c=F0(n,i),c!=null&&a.unshift(K0(n,c,l))):s||(c=F0(n,i),c!=null&&a.push(K0(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var ure=/\r\n?/g,dre=/\u0000|\uFFFD/g;function Lw(e){return(typeof e=="string"?e:""+e).replace(ure,`
74`).replace(dre,"")}function Sh(e,t,n){if(t=Lw(t),Lw(e)!==t&&n)throw Error(ae(425))}function Gf(){}var m8=null,g8=null;function y8(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var v8=typeof setTimeout=="function"?setTimeout:void 0,hre=typeof clearTimeout=="function"?clearTimeout:void 0,Mw=typeof Promise=="function"?Promise:void 0,fre=typeof queueMicrotask=="function"?queueMicrotask:typeof Mw<"u"?function(e){return Mw.resolve(null).then(e).catch(pre)}:v8;function pre(e){setTimeout(function(){throw e})}function m5(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),U0(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);U0(t)}function Ba(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ow(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ou=Math.random().toString(36).slice(2),Zs="__reactFiber$"+Ou,V0="__reactProps$"+Ou,Qi="__reactContainer$"+Ou,b8="__reactEvents$"+Ou,mre="__reactListeners$"+Ou,gre="__reactHandles$"+Ou;function Bo(e){var t=e[Zs];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qi]||n[Zs]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ow(e);e!==null;){if(n=e[Zs])return n;e=Ow(e)}return t}e=n,n=e.parentNode}return null}function O1(e){return e=e[Zs]||e[Qi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wc(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ae(33))}function j3(e){return e[V0]||null}var _8=[],xc=-1;function ho(e){return{current:e}}function Pt(e){0>xc||(e.current=_8[xc],_8[xc]=null,xc--)}function Et(e,t){xc++,_8[xc]=e.current,e.current=t}var Xa={},$n=ho(Xa),vr=ho(!1),cl=Xa;function uu(e,t){var n=e.type.contextTypes;if(!n)return Xa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function br(e){return e=e.childContextTypes,e!=null}function Kf(){Pt(vr),Pt($n)}function Dw(e,t,n){if($n.current!==Xa)throw Error(ae(168));Et($n,t),Et(vr,n)}function gP(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(ae(108,ene(e)||"Unknown",s));return $t({},n,r)}function Vf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xa,cl=$n.current,Et($n,e),Et(vr,vr.current),!0}function Ww(e,t,n){var r=e.stateNode;if(!r)throw Error(ae(169));n?(e=gP(e,t,cl),r.__reactInternalMemoizedMergedChildContext=e,Pt(vr),Pt($n),Et($n,e)):Pt(vr),Et(vr,n)}var Ai=null,C3=!1,g5=!1;function yP(e){Ai===null?Ai=[e]:Ai.push(e)}function yre(e){C3=!0,yP(e)}function fo(){if(!g5&&Ai!==null){g5=!0;var e=0,t=pt;try{var n=Ai;for(pt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ai=null,C3=!1}catch(s){throw Ai!==null&&(Ai=Ai.slice(e+1)),BR(Py,fo),s}finally{pt=t,g5=!1}}return null}var Sc=[],Tc=0,Yf=null,Jf=0,ts=[],ns=0,ul=null,Fi=1,$i="";function No(e,t){Sc[Tc++]=Jf,Sc[Tc++]=Yf,Yf=e,Jf=t}function vP(e,t,n){ts[ns++]=Fi,ts[ns++]=$i,ts[ns++]=ul,ul=e;var r=Fi;e=$i;var s=32-As(r)-1;r&=~(1<<s),n+=1;var i=32-As(t)+s;if(30<i){var a=s-s%5;i=(r&(1<<a)-1).toString(32),r>>=a,s-=a,Fi=1<<32-As(t)+s|n<<s|r,$i=i+e}else Fi=1<<i|n<<s|r,$i=e}function By(e){e.return!==null&&(No(e,1),vP(e,1,0))}function Uy(e){for(;e===Yf;)Yf=Sc[--Tc],Sc[Tc]=null,Jf=Sc[--Tc],Sc[Tc]=null;for(;e===ul;)ul=ts[--ns],ts[ns]=null,$i=ts[--ns],ts[ns]=null,Fi=ts[--ns],ts[ns]=null}var Dr=null,Rr=null,At=!1,xs=null;function bP(e,t){var n=ss(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Fw(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 23,869 bytes, lines 74-76
74return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Dr=e,Rr=Ba(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Dr=e,Rr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ul!==null?{id:Fi,overflow:$i}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ss(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Dr=e,Rr=null,!0):!1;default:return!1}}function k8(e){return(e.mode&1)!==0&&(e.flags&128)===0}function w8(e){if(At){var t=Rr;if(t){var n=t;if(!Fw(e,t)){if(k8(e))throw Error(ae(418));t=Ba(n.nextSibling);var r=Dr;t&&Fw(e,t)?bP(r,n):(e.flags=e.flags&-4097|2,At=!1,Dr=e)}}else{if(k8(e))throw Error(ae(418));e.flags=e.flags&-4097|2,At=!1,Dr=e}}}function $w(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Dr=e}function Th(e){if(e!==Dr)return!1;if(!At)return $w(e),At=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!y8(e.type,e.memoizedProps)),t&&(t=Rr)){if(k8(e))throw _P(),Error(ae(418));for(;t;)bP(e,t),t=Ba(t.nextSibling)}if($w(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ae(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Rr=Ba(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Rr=null}}else Rr=Dr?Ba(e.stateNode.nextSibling):null;return!0}function _P(){for(var e=Rr;e;)e=Ba(e.nextSibling)}function du(){Rr=Dr=null,At=!1}function qy(e){xs===null?xs=[e]:xs.push(e)}var vre=sa.ReactCurrentBatchConfig;function Qu(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(ae(309));var r=n.stateNode}if(!r)throw Error(ae(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var l=s.refs;a===null?delete l[i]:l[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(ae(284));if(!n._owner)throw Error(ae(290,e))}return e}function jh(e,t){throw e=Object.prototype.toString.call(t),Error(ae(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Bw(e){var t=e._init;return t(e._payload)}function kP(e){function t(g,b){if(e){var k=g.deletions;k===null?(g.deletions=[b],g.flags|=16):k.push(b)}}function n(g,b){if(!e)return null;for(;b!==null;)t(g,b),b=b.sibling;return null}function r(g,b){for(g=new Map;b!==null;)b.key!==null?g.set(b.key,b):g.set(b.index,b),b=b.sibling;return g}function s(g,b){return g=Ga(g,b),g.index=0,g.sibling=null,g}function i(g,b,k){return g.index=k,e?(k=g.alternate,k!==null?(k=k.index,k<b?(g.flags|=2,b):k):(g.flags|=2,b)):(g.flags|=1048576,b)}function a(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,b,k,x){return b===null||b.tag!==6?(b=x5(k,g.mode,x),b.return=g,b):(b=s(b,k),b.return=g,b)}function c(g,b,k,x){var S=k.type;return S===vc?d(g,b,k.props.children,x,k.key):b!==null&&(b.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===xa&&Bw(S)===b.type)?(x=s(b,k.props),x.ref=Qu(g,b,k),x.return=g,x):(x=Z2(k.type,k.key,k.props,null,g.mode,x),x.ref=Qu(g,b,k),x.return=g,x)}function u(g,b,k,x){return b===null||b.tag!==4||b.stateNode.containerInfo!==k.containerInfo||b.stateNode.implementation!==k.implementation?(b=S5(k,g.mode,x),b.return=g,b):(b=s(b,k.children||[]),b.return=g,b)}function d(g,b,k,x,S){return b===null||b.tag!==7?(b=el(k,g.mode,x,S),b.return=g,b):(b=s(b,k),b.return=g,b)}function h(g,b,k){if(typeof b=="string"&&b!==""||typeof b=="number")return b=x5(""+b,g.mode,k),b.return=g,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case mh:return k=Z2(b.type,b.key,b.props,null,g.mode,k),k.ref=Qu(g,null,b),k.return=g,k;case yc:return b=S5(b,g.mode,k),b.return=g,b;case xa:var x=b._init;return h(g,x(b._payload),k)}if(Ld(b)||Vu(b))return b=el(b,g.mode,k,null),b.return=g,b;jh(g,b)}return null}function f(g,b,k,x){var S=b!==null?b.key:null;if(typeof k=="string"&&k!==""||typeof k=="number")return S!==null?null:l(g,b,""+k,x);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case mh:return k.key===S?c(g,b,k,x):null;case yc:return k.key===S?u(g,b,k,x):null;case xa:return S=k._init,f(g,b,S(k._payload),x)}if(Ld(k)||Vu(k))return S!==null?null:d(g,b,k,x,null);jh(g,k)}return null}function p(g,b,k,x,S){if(typeof x=="string"&&x!==""||typeof x=="number")return g=g.get(k)||null,l(b,g,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case mh:return g=g.get(x.key===null?k:x.key)||null,c(b,g,x,S);case yc:return g=g.get(x.key===null?k:x.key)||null,u(b,g,x,S);case xa:var T=x._init;return p(g,b,k,T(x._payload),S)}if(Ld(x)||Vu(x))return g=g.get(k)||null,d(b,g,x,S,null);jh(b,x)}return null}function m(g,b,k,x){for(var S=null,T=null,C=b,E=b=0,N=null;C!==null&&E<k.length;E++){C.index>E?(N=C,C=null):N=C.sibling;var j=f(g,C,k[E],x);if(j===null){C===null&&(C=N);break}e&&C&&j.alternate===null&&t(g,C),b=i(j,b,E),T===null?S=j:T.sibling=j,T=j,C=N}if(E===k.length)return n(g,C),At&&No(g,E),S;if(C===null){for(;E<k.length;E++)C=h(g,k[E],x),C!==null&&(b=i(C,b,E),T===null?S=C:T.sibling=C,T=C);return At&&No(g,E),S}for(C=r(g,C);E<k.length;E++)N=p(C,g,E,k[E],x),N!==null&&(e&&N.alternate!==null&&C.delete(N.key===null?E:N.key),b=i(N,b,E),T===null?S=N:T.sibling=N,T=N);return e&&C.forEach(function(I){return t(g,I)}),At&&No(g,E),S}function y(g,b,k,x){var S=Vu(k);if(typeof S!="function")throw Error(ae(150));if(k=S.call(k),k==null)throw Error(ae(151));for(var T=S=null,C=b,E=b=0,N=null,j=k.next();C!==null&&!j.done;E++,j=k.next()){C.index>E?(N=C,C=null):N=C.sibling;var I=f(g,C,j.value,x);if(I===null){C===null&&(C=N);break}e&&C&&I.alternate===null&&t(g,C),b=i(I,b,E),T===null?S=I:T.sibling=I,T=I,C=N}if(j.done)return n(g,C),At&&No(g,E),S;if(C===null){for(;!j.done;E++,j=k.next())j=h(g,j.value,x),j!==null&&(b=i(j,b,E),T===null?S=j:T.sibling=j,T=j);return At&&No(g,E),S}for(C=r(g,C);!j.done;E++,j=k.next())j=p(C,g,E,j.value,x),j!==null&&(e&&j.alternate!==null&&C.delete(j.key===null?E:j.key),b=i(j,b,E),T===null?S=j:T.sibling=j,T=j);return e&&C.forEach(function(P){return t(g,P)}),At&&No(g,E),S}function _(g,b,k,x){if(typeof k=="object"&&k!==null&&k.type===vc&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case mh:e:{for(var S=k.key,T=b;T!==null;){if(T.key===S){if(S=k.type,S===vc){if(T.tag===7){n(g,T.sibling),b=s(T,k.props.children),b.return=g,g=b;break e}}else if(T.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===xa&&Bw(S)===T.type){n(g,T.sibling),b=s(T,k.props),b.ref=Qu(g,T,k),b.return=g,g=b;break e}n(g,T);break}else t(g,T);T=T.sibling}k.type===vc?(b=el(k.props.children,g.mode,x,k.key),b.return=g,g=b):(x=Z2(k.type,k.key,k.props,null,g.mode,x),x.ref=Qu(g,b,k),x.return=g,g=x)}return a(g);case yc:e:{for(T=k.key;b!==null;){if(b.key===T)if(b.tag===4&&b.stateNode.containerInfo===k.containerInfo&&b.stateNode.implementation===k.implementation){n(g,b.sibling),b=s(b,k.children||[]),b.return=g,g=b;break e}else{n(g,b);break}else t(g,b);b=b.sibling}b=S5(k,g.mode,x),b.return=g,g=b}return a(g);case xa:return T=k._init,_(g,b,T(k._payload),x)}if(Ld(k))return m(g,b,k,x);if(Vu(k))return y(g,b,k,x);jh(g,k)}return typeof k=="string"&&k!==""||typeof k=="number"?(k=""+k,b!==null&&b.tag===6?(n(g,b.sibling),b=s(b,k),b.return=g,g=b):(n(g,b),b=x5(k,g.mode,x),b.return=g,g=b),a(g)):n(g,b)}return _}var hu=kP(!0),wP=kP(!1),Zf=ho(null),Xf=null,jc=null,Hy=null;function Gy(){Hy=jc=Xf=null}function Ky(e){var t=Zf.current;Pt(Zf),e._currentValue=t}function x8(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Uc(e,t){Xf=e,Hy=jc=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(gr=!0),e.firstContext=null)}function us(e){var t=e._currentValue;if(Hy!==e)if(e={context:e,memoizedValue:t,next:null},jc===null){if(Xf===null)throw Error(ae(308));jc=e,Xf.dependencies={lanes:0,firstContext:e}}else jc=jc.next=e;return t}var Uo=null;function Vy(e){Uo===null?Uo=[e]:Uo.push(e)}function xP(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,Vy(t)):(n.next=s.next,s.next=n),t.interleaved=n,ea(e,r)}function ea(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Sa=!1;function Yy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function SP(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ki(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ua(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,at&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,ea(e,n)}return s=r.interleaved,s===null?(t.next=t,Vy(r)):(t.next=s.next,s.next=t),r.interleaved=t,ea(e,n)}function H2(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ay(e,n)}}function Uw(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Qf(e,t,n,r){var s=e.updateQueue;Sa=!1;var i=s.firstBaseUpdate,a=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,a===null?i=u:a.next=u,a=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(i!==null){var h=s.baseState;a=0,d=u=c=null,l=i;do{var f=l.lane,p=l.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,y=l;switch(f=t,p=n,y.tag){case 1:if(m=y.payload,typeof m=="function"){h=m.call(p,h,f);break e}h=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=y.payload,f=typeof m=="function"?m.call(p,h,f):m,f==null)break e;h=$t({},h,f);break e;case 2:Sa=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=p,c=h):d=d.next=p,a|=f;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;f=l,l=f.next,f.next=null,s.lastBaseUpdate=f,s.shared.pending=null}}while(!0);if(d===null&&(c=h),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do a|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);hl|=a,e.lanes=a,e.memoizedState=h}}function qw(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(ae(191,s));s.call(r)}}}var D1={},ui=ho(D1),Y0=ho(D1),J0=ho(D1);function qo(e){if(e===D1)throw Error(ae(174));return e}function Jy(e,t){switch(Et(J0,t),Et(Y0,e),Et(ui,D1),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:r8(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=r8(t,e)}Pt(ui),Et(ui,t)}function fu(){Pt(ui),Pt(Y0),Pt(J0)}function TP(e){qo(J0.current);var t=qo(ui.current),n=r8(t,e.type);t!==n&&(Et(Y0,e),Et(ui,n))}function Zy(e){Y0.current===e&&(Pt(ui),Pt(Y0))}var Ot=ho(0);function ep(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var y5=[];function Xy(){for(var e=0;e<y5.length;e++)y5[e]._workInProgressVersionPrimary=null;y5.length=0}var G2=sa.ReactCurrentDispatcher,v5=sa.ReactCurrentBatchConfig,dl=0,Ft=null,cn=null,bn=null,tp=!1,c0=!1,Z0=0,bre=0;function Pn(){throw Error(ae(321))}function Qy(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Os(e[n],t[n]))return!1;return!0}function ev(e,t,n,r,s,i){if(dl=i,Ft=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,G2.current=e===null||e.memoizedState===null?xre:Sre,e=n(r,s),c0){i=0;do{if(c0=!1,Z0=0,25<=i)throw Error(ae(301));i+=1,bn=cn=null,t.updateQueue=null,G2.current=Tre,e=n(r,s)}while(c0)}if(G2.current=np,t=cn!==null&&cn.next!==null,dl=0,bn=cn=Ft=null,tp=!1,t)throw Error(ae(300));return e}function tv(){var e=Z0!==0;return Z0=0,e}function Gs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bn===null?Ft.memoizedState=bn=e:bn=bn.next=e,bn}function ds(){if(cn===null){var e=Ft.alternate;e=e!==null?e.memoizedState:null}else e=cn.next;var t=bn===null?Ft.memoizedState:bn.next;if(t!==null)bn=t,cn=e;else{if(e===null)throw Error(ae(310));cn=e,e={memoizedState:cn.memoizedState,baseState:cn.baseState,baseQueue:cn.baseQueue,queue:cn.queue,next:null},bn===null?Ft.memoizedState=bn=e:bn=bn.next=e}return bn}function X0(e,t){return typeof t=="function"?t(e):t}function b5(e){var t=ds(),n=t.queue;if(n===null)throw Error(ae(311));n.lastRenderedReducer=e;var r=cn,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var a=s.next;s.next=i.next,i.next=a}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var l=a=null,c=null,u=i;do{var d=u.lane;if((dl&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=h,a=r):c=c.next=h,Ft.lanes|=d,hl|=d}u=u.next}while(u!==null&&u!==i);c===null?a=r:c.next=l,Os(r,t.memoizedState)||(gr=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,Ft.lanes|=i,hl|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function _5(e){var t=ds(),n=t.queue;if(n===null)throw Error(ae(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var a=s=s.next;do i=e(i,a.action),a=a.next;while(a!==s);Os(i,t.memoizedState)||(gr=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function jP(){}function CP(e,t){var n=Ft,r=ds(),s=t(),i=!Os(r.memoizedState,s);if(i&&(r.memoizedState=s,gr=!0),r=r.queue,nv(NP.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||bn!==null&&bn.memoizedState.tag&1){if(n.flags|=2048,Q0(9,zP.bind(null,n,r,s,t),void 0,null),_n===null)throw Error(ae(349));dl&30||EP(n,t,s)}return s}function EP(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ft.updateQueue,t===null?(t={lastEffect:null,stores:null},Ft.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function zP(e,t,n,r){t.value=n,t.getSnapshot=r,IP(t)&&RP(e)}function NP(e,t,n){return n(function(){IP(t)&&RP(e)})}function IP(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Os(e,n)}catch{return!0}}function RP(e){var t=ea(e,1);t!==null&&Ls(t,e,1,-1)}function Hw(e){var t=Gs();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:X0,lastRenderedState:e},t.queue=e,e=e.dispatch=wre.bind(null,Ft,e),[t.memoizedState,e]}function Q0(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ft.updateQueue,t===null?(t={lastEffect:null,stores:null},Ft.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function PP(){return ds().memoizedState}function K2(e,t,n,r){var s=Gs();Ft.flags|=e,s.memoizedState=Q0(1|t,n,void 0,r===void 0?null:r)}function E3(e,t,n,r){var s=ds();r=r===void 0?null:r;var i=void 0;if(cn!==null){var a=cn.memoizedState;if(i=a.destroy,r!==null&&Qy(r,a.deps)){s.memoizedState=Q0(t,n,i,r);return}}Ft.flags|=e,s.memoizedState=Q0(1|t,n,i,r)}function Gw(e,t){return K2(8390656,8,e,t)}function nv(e,t){return E3(2048,8,e,t)}function AP(e,t){return E3(4,2,e,t)}function LP(e,t){return E3(4,4,e,t)}function MP(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function OP(e,t,n){return n=n!=null?n.concat([e]):null,E3(4,4,MP.bind(null,t,e),n)}function rv(){}function DP(e,t){var n=ds();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qy(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function WP(e,t){var n=ds();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qy(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function FP(e,t,n){return dl&21?(Os(n,t)||(n=HR(),Ft.lanes|=n,hl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,gr=!0),e.memoizedState=n)}function _re(e,t){var n=pt;pt=n!==0&&4>n?n:4,e(!0);var r=v5.transition;v5.transition={};try{e(!1),t()}finally{pt=n,v5.transition=r}}function $P(){return ds().memoizedState}function kre(e,t,n){var r=Ha(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},BP(e))UP(t,n);else if(n=xP(e,t,n,r),n!==null){var s=er();Ls(n,e,r,s),qP(n,t,r)}}function wre(e,t,n){var r=Ha(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(BP(e))UP(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(s.hasEagerState=!0,s.eagerState=l,Os(l,a)){var c=t.interleaved;c===null?(s.next=s,Vy(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=xP(e,t,s,r),n!==null&&(s=er(),Ls(n,e,r,s),qP(n,t,r))}}function BP(e){var t=e.alternate;return e===Ft||t!==null&&t===Ft}function UP(e,t){c0=tp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qP(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ay(e,n)}}var np={readContext:us,useCallback:Pn,useContext:Pn,useEffect:Pn,useImperativeHandle:Pn,useInsertionEffect:Pn,useLayoutEffect:Pn,useMemo:Pn,useReducer:Pn,useRef:Pn,useState:Pn,useDebugValue:Pn,useDeferredValue:Pn,useTransition:Pn,useMutableSource:Pn,useSyncExternalStore:Pn,useId:Pn,unstable_isNewReconciler:!1},xre={readContext:us,useCallback:function(e,t){return Gs().memoizedState=[e,t===void 0?null:t],e},useContext:us,useEffect:Gw,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,K2(4194308,4,MP.bind(null,t,e),n)},useLayoutEffect:function(e,t){return K2(4194308,4,e,t)},useInsertionEffect:function(e,t){return K2(4,2,e,t)},useMemo:function(e,t){var n=Gs();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gs();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=kre.bind(null,Ft,e),[r.memoizedState,e]},useRef:function(e){var t=Gs();return e={current:e},t.memoizedState=e},useState:Hw,useDebugValue:rv,useDeferredValue:function(e){return Gs().memoizedState=e},useTransition:function(){var e=Hw(!1),t=e[0];return e=_re.bind(null,e[1]),Gs().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ft,s=Gs();if(At){if(n===void 0)throw Error(ae(407));n=n()}else{if(n=t(),_n===null)throw Error(ae(349));dl&30||EP(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,Gw(NP.bind(null,r,i,e),[e]),r.flags|=2048,Q0(9,zP.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Gs(),t=_n.identifierPrefix;if(At){var n=$i,r=Fi;n=(r&~(1<<32-As(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Z0++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=bre++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Sre={readContext:us,useCallback:DP,useContext:us,useEffect:nv,useImperativeHandle:OP,useInsertionEffect:AP,useLayoutEffect:LP,useMemo:WP,useReducer:b5,useRef:PP,useState:function(){return b5(X0)},useDebugValue:rv,useDeferredValue:function(e){var t=ds();return FP(t,cn.memoizedState,e)},useTransition:function(){var e=b5(X0)[0],t=ds().memoizedState;return[e,t]},useMutableSource:jP,useSyncExternalStore:CP,useId:$P,unstable_isNewReconciler:!1},Tre={readContext:us,useCallback:DP,useContext:us,useEffect:nv,useImperativeHandle:OP,useInsertionEffect:AP,useLayoutEffect:LP,useMemo:WP,useReducer:_5,useRef:PP,useState:function(){return _5(X0)},useDebugValue:rv,useDeferredValue:function(e){var t=ds();return cn===null?t.memoizedState=e:FP(t,cn.memoizedState,e)},useTransition:function(){var e=_5(X0)[0],t=ds().memoizedState;return[e,t]},useMutableSource:jP,useSyncExternalStore:CP,useId:$P,unstable_isNewReconciler:!1};function _s(e,t){if(e&&e.defaultProps){t=$t({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function S8(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:$t({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var z3={isMounted:function(e){return(e=e._reactInternals)?Sl(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=er(),s=Ha(e),i=Ki(r,s);i.payload=t,n!=null&&(i.callback=n),t=Ua(e,i,s),t!==null&&(Ls(t,e,s,r),H2(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=er(),s=Ha(e),i=Ki(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ua(e,i,s),t!==null&&(Ls(t,e,s,r),H2(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=er(),r=Ha(e),s=Ki(n,r);s.tag=2,t!=null&&(s.callback=t),t=Ua(e,s,r),t!==null&&(Ls(t,e,r,n),H2(t,e,r))}};function Kw(e,t,n,r,s,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!H0(n,r)||!H0(s,i):!0}function HP(e,t,n){var r=!1,s=Xa,i=t.contextType;return typeof i=="object"&&i!==null?i=us(i):(s=br(t)?cl:$n.current,r=t.contextTypes,i=(r=r!=null)?uu(e,s):Xa),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=z3,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function Vw(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&z3.enqueueReplaceState(t,t.state,null)}function T8(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Yy(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=us(i):(i=br(t)?cl:$n.current,s.context=uu(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(S8(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&z3.enqueueReplaceState(s,s.state,null),Qf(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function pu(e,t){try{var n="",r=t;do n+=Qte(r),r=r.return;while(r);var s=n}catch(i){s=`
75Error generating stack: `+i.message+`
76`+i.stack}return{value:e,source:t,stack:s,digest:null}}
vendor: 6,435 bytes, line 76
76function k5(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function j8(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var jre=typeof WeakMap=="function"?WeakMap:Map;function GP(e,t,n){n=Ki(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){sp||(sp=!0,M8=r),j8(e,t)},n}function KP(e,t,n){n=Ki(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){j8(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){j8(e,t),typeof r!="function"&&(qa===null?qa=new Set([this]):qa.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Yw(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new jre;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=Fre.bind(null,e,t,n),t.then(e,e))}function Jw(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Zw(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ki(-1,1),t.tag=2,Ua(n,t,1))),n.lanes|=1),e)}var Cre=sa.ReactCurrentOwner,gr=!1;function Yn(e,t,n,r){t.child=e===null?wP(t,null,n,r):hu(t,e.child,n,r)}function Xw(e,t,n,r,s){n=n.render;var i=t.ref;return Uc(t,s),r=ev(e,t,n,r,i,s),n=tv(),e!==null&&!gr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,ta(e,t,s)):(At&&n&&By(t),t.flags|=1,Yn(e,t,r,s),t.child)}function Qw(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!dv(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,VP(e,t,i,r,s)):(e=Z2(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:H0,n(a,r)&&e.ref===t.ref)return ta(e,t,s)}return t.flags|=1,e=Ga(i,r),e.ref=t.ref,e.return=t,t.child=e}function VP(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(H0(i,r)&&e.ref===t.ref)if(gr=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(gr=!0);else return t.lanes=e.lanes,ta(e,t,s)}return C8(e,t,n,r,s)}function YP(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Et(Ec,jr),jr|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Et(Ec,jr),jr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Et(Ec,jr),jr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Et(Ec,jr),jr|=r;return Yn(e,t,s,n),t.child}function JP(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function C8(e,t,n,r,s){var i=br(n)?cl:$n.current;return i=uu(t,i),Uc(t,s),n=ev(e,t,n,r,i,s),r=tv(),e!==null&&!gr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,ta(e,t,s)):(At&&r&&By(t),t.flags|=1,Yn(e,t,n,s),t.child)}function ex(e,t,n,r,s){if(br(n)){var i=!0;Vf(t)}else i=!1;if(Uc(t,s),t.stateNode===null)V2(e,t),HP(t,n,r),T8(t,n,r,s),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var c=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=us(u):(u=br(n)?cl:$n.current,u=uu(t,u));var d=n.getDerivedStateFromProps,h=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";h||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||c!==u)&&Vw(t,a,r,u),Sa=!1;var f=t.memoizedState;a.state=f,Qf(t,r,a,s),c=t.memoizedState,l!==r||f!==c||vr.current||Sa?(typeof d=="function"&&(S8(t,n,d,r),c=t.memoizedState),(l=Sa||Kw(t,n,l,r,f,c,u))?(h||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,SP(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:_s(t.type,l),a.props=u,h=t.pendingProps,f=a.context,c=n.contextType,typeof c=="object"&&c!==null?c=us(c):(c=br(n)?cl:$n.current,c=uu(t,c));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==h||f!==c)&&Vw(t,a,r,c),Sa=!1,f=t.memoizedState,a.state=f,Qf(t,r,a,s);var m=t.memoizedState;l!==h||f!==m||vr.current||Sa?(typeof p=="function"&&(S8(t,n,p,r),m=t.memoizedState),(u=Sa||Kw(t,n,u,r,f,m,c)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,c),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,c)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=c,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return E8(e,t,n,r,i,s)}function E8(e,t,n,r,s,i){JP(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return s&&Ww(t,n,!1),ta(e,t,i);r=t.stateNode,Cre.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=hu(t,e.child,null,i),t.child=hu(t,null,l,i)):Yn(e,t,l,i),t.memoizedState=r.state,s&&Ww(t,n,!0),t.child}function ZP(e){var t=e.stateNode;t.pendingContext?Dw(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Dw(e,t.context,!1),Jy(e,t.containerInfo)}
vendor: 8,659 bytes, line 76
76function tx(e,t,n,r,s){return du(),qy(s),t.flags|=256,Yn(e,t,n,r),t.child}var z8={dehydrated:null,treeContext:null,retryLane:0};function N8(e){return{baseLanes:e,cachePool:null,transitions:null}}function XP(e,t,n){var r=t.pendingProps,s=Ot.current,i=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Et(Ot,s&1),e===null)return w8(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=R3(a,r,0,null),e=el(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=N8(n),t.memoizedState=z8,e):sv(t,a));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return Ere(e,t,a,r,l,s,n);if(i){i=r.fallback,a=t.mode,s=e.child,l=s.sibling;var c={mode:"hidden",children:r.children};return!(a&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Ga(s,c),r.subtreeFlags=s.subtreeFlags&14680064),l!==null?i=Ga(l,i):(i=el(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?N8(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=z8,r}return i=e.child,e=i.sibling,r=Ga(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function sv(e,t){return t=R3({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ch(e,t,n,r){return r!==null&&qy(r),hu(t,e.child,null,n),e=sv(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ere(e,t,n,r,s,i,a){if(n)return t.flags&256?(t.flags&=-257,r=k5(Error(ae(422))),Ch(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=R3({mode:"visible",children:r.children},s,0,null),i=el(i,s,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&hu(t,e.child,null,a),t.child.memoizedState=N8(a),t.memoizedState=z8,i);if(!(t.mode&1))return Ch(e,t,a,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(ae(419)),r=k5(i,r,void 0),Ch(e,t,a,r)}if(l=(a&e.childLanes)!==0,gr||l){if(r=_n,r!==null){switch(a&-a){case 4:s=2;break;case 16:s=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|a)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,ea(e,s),Ls(r,e,s,-1))}return uv(),r=k5(Error(ae(421))),Ch(e,t,a,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=$re.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,Rr=Ba(s.nextSibling),Dr=t,At=!0,xs=null,e!==null&&(ts[ns++]=Fi,ts[ns++]=$i,ts[ns++]=ul,Fi=e.id,$i=e.overflow,ul=t),t=sv(t,r.children),t.flags|=4096,t)}function nx(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),x8(e.return,t,n)}function w5(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function QP(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(Yn(e,t,r.children,n),r=Ot.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&nx(e,n,t);else if(e.tag===19)nx(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Et(Ot,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&ep(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),w5(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&ep(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}w5(t,!0,n,null,i);break;case"together":w5(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function V2(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ta(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),hl|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(ae(153));if(t.child!==null){for(e=t.child,n=Ga(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ga(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function zre(e,t,n){switch(t.tag){case 3:ZP(t),du();break;case 5:TP(t);break;case 1:br(t.type)&&Vf(t);break;case 4:Jy(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;Et(Zf,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Et(Ot,Ot.current&1),t.flags|=128,null):n&t.child.childLanes?XP(e,t,n):(Et(Ot,Ot.current&1),e=ta(e,t,n),e!==null?e.sibling:null);Et(Ot,Ot.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return QP(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Et(Ot,Ot.current),r)break;return null;case 22:case 23:return t.lanes=0,YP(e,t,n)}return ta(e,t,n)}var eA,I8,tA,nA;eA=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};I8=function(){};tA=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,qo(ui.current);var i=null;switch(n){case"input":s=Q6(e,s),r=Q6(e,r),i=[];break;case"select":s=$t({},s,{value:void 0}),r=$t({},r,{value:void 0}),i=[];break;case"textarea":s=n8(e,s),r=n8(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Gf)}s8(n,r);var a;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var l=s[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(D0.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(i||(i=[]),i.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(i=i||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(D0.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Nt("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};nA=function(e,t,n,r){n!==r&&(t.flags|=4)};function ed(e,t){if(!At)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function An(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Nre(e,t,n){var r=t.pendingProps;switch(Uy(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return An(t),null;case 1:return br(t.type)&&Kf(),An(t),null;case 3:return r=t.stateNode,fu(),Pt(vr),Pt($n),Xy(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Th(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,xs!==null&&(W8(xs),xs=null))),I8(e,t),An(t),null;
vendor: 29,877 bytes, line 76
76case 5:Zy(t);var s=qo(J0.current);if(n=t.type,e!==null&&t.stateNode!=null)tA(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(ae(166));return An(t),null}if(e=qo(ui.current),Th(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Zs]=t,r[V0]=i,e=(t.mode&1)!==0,n){case"dialog":Nt("cancel",r),Nt("close",r);break;case"iframe":case"object":case"embed":Nt("load",r);break;case"video":case"audio":for(s=0;s<Od.length;s++)Nt(Od[s],r);break;case"source":Nt("error",r);break;case"img":case"image":case"link":Nt("error",r),Nt("load",r);break;case"details":Nt("toggle",r);break;case"input":dw(r,i),Nt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Nt("invalid",r);break;case"textarea":fw(r,i),Nt("invalid",r)}s8(n,i),s=null;for(var a in i)if(i.hasOwnProperty(a)){var l=i[a];a==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Sh(r.textContent,l,e),s=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Sh(r.textContent,l,e),s=["children",""+l]):D0.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&Nt("scroll",r)}switch(n){case"input":gh(r),hw(r,i,!0);break;case"textarea":gh(r),pw(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Gf)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=NR(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Zs]=t,e[V0]=r,eA(e,t,!1,!1),t.stateNode=e;e:{switch(a=i8(n,r),n){case"dialog":Nt("cancel",e),Nt("close",e),s=r;break;case"iframe":case"object":case"embed":Nt("load",e),s=r;break;case"video":case"audio":for(s=0;s<Od.length;s++)Nt(Od[s],e);s=r;break;case"source":Nt("error",e),s=r;break;case"img":case"image":case"link":Nt("error",e),Nt("load",e),s=r;break;case"details":Nt("toggle",e),s=r;break;case"input":dw(e,r),s=Q6(e,r),Nt("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=$t({},r,{value:void 0}),Nt("invalid",e);break;case"textarea":fw(e,r),s=n8(e,r),Nt("invalid",e);break;default:s=r}s8(n,s),l=s;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];i==="style"?PR(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&IR(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&W0(e,c):typeof c=="number"&&W0(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(D0.hasOwnProperty(i)?c!=null&&i==="onScroll"&&Nt("scroll",e):c!=null&&Ey(e,i,c,a))}switch(n){case"input":gh(e),hw(e,r,!1);break;case"textarea":gh(e),pw(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Za(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Wc(e,!!r.multiple,i,!1):r.defaultValue!=null&&Wc(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Gf)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return An(t),null;case 6:if(e&&t.stateNode!=null)nA(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(ae(166));if(n=qo(J0.current),qo(ui.current),Th(t)){if(r=t.stateNode,n=t.memoizedProps,r[Zs]=t,(i=r.nodeValue!==n)&&(e=Dr,e!==null))switch(e.tag){case 3:Sh(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Sh(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Zs]=t,t.stateNode=r}return An(t),null;case 13:if(Pt(Ot),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(At&&Rr!==null&&t.mode&1&&!(t.flags&128))_P(),du(),t.flags|=98560,i=!1;else if(i=Th(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(ae(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(ae(317));i[Zs]=t}else du(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;An(t),i=!1}else xs!==null&&(W8(xs),xs=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ot.current&1?dn===0&&(dn=3):uv())),t.updateQueue!==null&&(t.flags|=4),An(t),null);case 4:return fu(),I8(e,t),e===null&&G0(t.stateNode.containerInfo),An(t),null;case 10:return Ky(t.type._context),An(t),null;case 17:return br(t.type)&&Kf(),An(t),null;case 19:if(Pt(Ot),i=t.memoizedState,i===null)return An(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)ed(i,!1);else{if(dn!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=ep(e),a!==null){for(t.flags|=128,ed(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Et(Ot,Ot.current&1|2),t.child}e=e.sibling}i.tail!==null&&Yt()>mu&&(t.flags|=128,r=!0,ed(i,!1),t.lanes=4194304)}else{if(!r)if(e=ep(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ed(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!At)return An(t),null}else 2*Yt()-i.renderingStartTime>mu&&n!==1073741824&&(t.flags|=128,r=!0,ed(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Yt(),t.sibling=null,n=Ot.current,Et(Ot,r?n&1|2:n&1),t):(An(t),null);case 22:case 23:return cv(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?jr&1073741824&&(An(t),t.subtreeFlags&6&&(t.flags|=8192)):An(t),null;case 24:return null;case 25:return null}throw Error(ae(156,t.tag))}function Ire(e,t){switch(Uy(t),t.tag){case 1:return br(t.type)&&Kf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return fu(),Pt(vr),Pt($n),Xy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Zy(t),null;case 13:if(Pt(Ot),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ae(340));du()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Pt(Ot),null;case 4:return fu(),null;case 10:return Ky(t.type._context),null;case 22:case 23:return cv(),null;case 24:return null;default:return null}}var Eh=!1,On=!1,Rre=typeof WeakSet=="function"?WeakSet:Set,ye=null;function Cc(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ht(e,t,r)}else n.current=null}function R8(e,t,n){try{n()}catch(r){Ht(e,t,r)}}var rx=!1;function Pre(e,t){if(m8=Uf,e=oP(),$y(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==n||s!==0&&h.nodeType!==3||(l=a+s),h!==i||r!==0&&h.nodeType!==3||(c=a+r),h.nodeType===3&&(a+=h.nodeValue.length),(p=h.firstChild)!==null;)f=h,h=p;for(;;){if(h===e)break t;if(f===n&&++u===s&&(l=a),f===i&&++d===r&&(c=a),(p=h.nextSibling)!==null)break;h=f,f=h.parentNode}h=p}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(g8={focusedElem:e,selectionRange:n},Uf=!1,ye=t;ye!==null;)if(t=ye,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ye=e;else for(;ye!==null;){t=ye;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,_=m.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:_s(t.type,y),_);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var k=t.stateNode.containerInfo;k.nodeType===1?k.textContent="":k.nodeType===9&&k.documentElement&&k.removeChild(k.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ae(163))}}catch(x){Ht(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,ye=e;break}ye=t.return}return m=rx,rx=!1,m}function u0(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&R8(t,n,i)}s=s.next}while(s!==r)}}function N3(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function P8(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function rA(e){var t=e.alternate;t!==null&&(e.alternate=null,rA(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Zs],delete t[V0],delete t[b8],delete t[mre],delete t[gre])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sA(e){return e.tag===5||e.tag===3||e.tag===4}function sx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sA(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function A8(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Gf));else if(r!==4&&(e=e.child,e!==null))for(A8(e,t,n),e=e.sibling;e!==null;)A8(e,t,n),e=e.sibling}function L8(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(L8(e,t,n),e=e.sibling;e!==null;)L8(e,t,n),e=e.sibling}var xn=null,ws=!1;function ha(e,t,n){for(n=n.child;n!==null;)iA(e,t,n),n=n.sibling}function iA(e,t,n){if(ci&&typeof ci.onCommitFiberUnmount=="function")try{ci.onCommitFiberUnmount(w3,n)}catch{}switch(n.tag){case 5:On||Cc(n,t);case 6:var r=xn,s=ws;xn=null,ha(e,t,n),xn=r,ws=s,xn!==null&&(ws?(e=xn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):xn.removeChild(n.stateNode));break;case 18:xn!==null&&(ws?(e=xn,n=n.stateNode,e.nodeType===8?m5(e.parentNode,n):e.nodeType===1&&m5(e,n),U0(e)):m5(xn,n.stateNode));break;case 4:r=xn,s=ws,xn=n.stateNode.containerInfo,ws=!0,ha(e,t,n),xn=r,ws=s;break;case 0:case 11:case 14:case 15:if(!On&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&R8(n,t,a),s=s.next}while(s!==r)}ha(e,t,n);break;case 1:if(!On&&(Cc(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ht(n,t,l)}ha(e,t,n);break;case 21:ha(e,t,n);break;case 22:n.mode&1?(On=(r=On)||n.memoizedState!==null,ha(e,t,n),On=r):ha(e,t,n);break;default:ha(e,t,n)}}function ix(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Rre),t.forEach(function(r){var s=Bre.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function ms(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:xn=l.stateNode,ws=!1;break e;case 3:xn=l.stateNode.containerInfo,ws=!0;break e;case 4:xn=l.stateNode.containerInfo,ws=!0;break e}l=l.return}if(xn===null)throw Error(ae(160));iA(i,a,s),xn=null,ws=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){Ht(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)aA(t,e),t=t.sibling}function aA(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),Us(e),r&4){try{u0(3,e,e.return),N3(3,e)}catch(y){Ht(e,e.return,y)}try{u0(5,e,e.return)}catch(y){Ht(e,e.return,y)}}break;case 1:ms(t,e),Us(e),r&512&&n!==null&&Cc(n,n.return);break;case 5:if(ms(t,e),Us(e),r&512&&n!==null&&Cc(n,n.return),e.flags&32){var s=e.stateNode;try{W0(s,"")}catch(y){Ht(e,e.return,y)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&ER(s,i),i8(l,a);var u=i8(l,i);for(a=0;a<c.length;a+=2){var d=c[a],h=c[a+1];d==="style"?PR(s,h):d==="dangerouslySetInnerHTML"?IR(s,h):d==="children"?W0(s,h):Ey(s,d,h,u)}switch(l){case"input":e8(s,i);break;case"textarea":zR(s,i);break;case"select":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?Wc(s,!!i.multiple,p,!1):f!==!!i.multiple&&(i.defaultValue!=null?Wc(s,!!i.multiple,i.defaultValue,!0):Wc(s,!!i.multiple,i.multiple?[]:"",!1))}s[V0]=i}catch(y){Ht(e,e.return,y)}}break;case 6:if(ms(t,e),Us(e),r&4){if(e.stateNode===null)throw Error(ae(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(y){Ht(e,e.return,y)}}break;case 3:if(ms(t,e),Us(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{U0(t.containerInfo)}catch(y){Ht(e,e.return,y)}break;case 4:ms(t,e),Us(e);break;case 13:ms(t,e),Us(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(ov=Yt())),r&4&&ix(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(On=(u=On)||d,ms(t,e),On=u):ms(t,e),Us(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(ye=e,d=e.child;d!==null;){for(h=ye=d;ye!==null;){switch(f=ye,p=f.child,f.tag){case 0:case 11:case 14:case 15:u0(4,f,f.return);break;case 1:Cc(f,f.return);var m=f.stateNode;if(typeof m.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(y){Ht(r,n,y)}}break;case 5:Cc(f,f.return);break;case 22:if(f.memoizedState!==null){ox(h);continue}}p!==null?(p.return=f,ye=p):ox(h)}d=d.sibling}e:for(d=null,h=e;;){if(h.tag===5){if(d===null){d=h;try{s=h.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=h.stateNode,c=h.memoizedProps.style,a=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=RR("display",a))}catch(y){Ht(e,e.return,y)}}}else if(h.tag===6){if(d===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(y){Ht(e,e.return,y)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ms(t,e),Us(e),r&4&&ix(e);break;case 21:break;default:ms(t,e),Us(e)}}function Us(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(sA(n)){var r=n;break e}n=n.return}throw Error(ae(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(W0(s,""),r.flags&=-33);var i=sx(e);L8(e,i,s);break;case 3:case 4:var a=r.stateNode.containerInfo,l=sx(e);A8(e,l,a);break;default:throw Error(ae(161))}}catch(c){Ht(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Are(e,t,n){ye=e,oA(e)}function oA(e,t,n){for(var r=(e.mode&1)!==0;ye!==null;){var s=ye,i=s.child;if(s.tag===22&&r){var a=s.memoizedState!==null||Eh;if(!a){var l=s.alternate,c=l!==null&&l.memoizedState!==null||On;l=Eh;var u=On;if(Eh=a,(On=c)&&!u)for(ye=s;ye!==null;)a=ye,c=a.child,a.tag===22&&a.memoizedState!==null?lx(s):c!==null?(c.return=a,ye=c):lx(s);for(;i!==null;)ye=i,oA(i),i=i.sibling;ye=s,Eh=l,On=u}ax(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,ye=i):ax(e)}}function ax(e){for(;ye!==null;){var t=ye;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:On||N3(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!On)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:_s(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&qw(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}qw(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var h=d.dehydrated;h!==null&&U0(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ae(163))}On||t.flags&512&&P8(t)}catch(f){Ht(t,t.return,f)}}if(t===e){ye=null;break}if(n=t.sibling,n!==null){n.return=t.return,ye=n;break}ye=t.return}}function ox(e){for(;ye!==null;){var t=ye;if(t===e){ye=null;break}var n=t.sibling;if(n!==null){n.return=t.return,ye=n;break}ye=t.return}}function lx(e){for(;ye!==null;){var t=ye;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{N3(4,t)}catch(c){Ht(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){Ht(t,s,c)}}var i=t.return;try{P8(t)}catch(c){Ht(t,i,c)}break;case 5:var a=t.return;try{P8(t)}catch(c){Ht(t,a,c)}}}catch(c){Ht(t,t.return,c)}if(t===e){ye=null;break}var l=t.sibling;if(l!==null){l.return=t.return,ye=l;break}ye=t.return}}var Lre=Math.ceil,rp=sa.ReactCurrentDispatcher,iv=sa.ReactCurrentOwner,os=sa.ReactCurrentBatchConfig,at=0,_n=null,rn=null,Nn=0,jr=0,Ec=ho(0),dn=0,e1=null,hl=0,I3=0,av=0,d0=null,pr=null,ov=0,mu=1/0,Pi=null,sp=!1,M8=null,qa=null,zh=!1,Pa=null,ip=0,h0=0,O8=null,Y2=-1,J2=0;function er(){return at&6?Yt():Y2!==-1?Y2:Y2=Yt()}function Ha(e){return e.mode&1?at&2&&Nn!==0?Nn&-Nn:vre.transition!==null?(J2===0&&(J2=HR()),J2):(e=pt,e!==0||(e=window.event,e=e===void 0?16:XR(e.type)),e):1}function Ls(e,t,n,r){if(50<h0)throw h0=0,O8=null,Error(ae(185));L1(e,n,r),(!(at&2)||e!==_n)&&(e===_n&&(!(at&2)&&(I3|=n),dn===4&&Ea(e,Nn)),_r(e,r),n===1&&at===0&&!(t.mode&1)&&(mu=Yt()+500,C3&&fo()))}function _r(e,t){var n=e.callbackNode;vne(e,t);var r=Bf(e,e===_n?Nn:0);if(r===0)n!==null&&yw(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&yw(n),t===1)e.tag===0?yre(cx.bind(null,e)):yP(cx.bind(null,e)),fre(function(){!(at&6)&&fo()}),n=null;else{switch(GR(r)){case 1:n=Py;break;case 4:n=UR;break;case 16:n=$f;break;case 536870912:n=qR;break;default:n=$f}n=mA(n,lA.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function lA(e,t){if(Y2=-1,J2=0,at&6)throw Error(ae(327));var n=e.callbackNode;if(qc()&&e.callbackNode!==n)return null;var r=Bf(e,e===_n?Nn:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ap(e,r);else{t=r;var s=at;at|=2;var i=uA();(_n!==e||Nn!==t)&&(Pi=null,mu=Yt()+500,Qo(e,t));do try{Dre();break}catch(l){cA(e,l)}while(!0);Gy(),rp.current=i,at=s,rn!==null?t=0:(_n=null,Nn=0,t=dn)}if(t!==0){if(t===2&&(s=u8(e),s!==0&&(r=s,t=D8(e,s))),t===1)throw n=e1,Qo(e,0),Ea(e,r),_r(e,Yt()),n;if(t===6)Ea(e,r);else{if(s=e.current.alternate,!(r&30)&&!Mre(s)&&(t=ap(e,r),t===2&&(i=u8(e),i!==0&&(r=i,t=D8(e,i))),t===1))throw n=e1,Qo(e,0),Ea(e,r),_r(e,Yt()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(ae(345));case 2:Io(e,pr,Pi);break;case 3:if(Ea(e,r),(r&130023424)===r&&(t=ov+500-Yt(),10<t)){if(Bf(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){er(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=v8(Io.bind(null,e,pr,Pi),t);break}Io(e,pr,Pi);break;case 4:if(Ea(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var a=31-As(r);i=1<<a,a=t[a],a>s&&(s=a),r&=~i}if(r=s,r=Yt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Lre(r/1960))-r,10<r){e.timeoutHandle=v8(Io.bind(null,e,pr,Pi),r);break}Io(e,pr,Pi);break;case 5:Io(e,pr,Pi);break;default:throw Error(ae(329))}}}return _r(e,Yt()),e.callbackNode===n?lA.bind(null,e):null}function D8(e,t){var n=d0;return e.current.memoizedState.isDehydrated&&(Qo(e,t).flags|=256),e=ap(e,t),e!==2&&(t=pr,pr=n,t!==null&&W8(t)),e}function W8(e){pr===null?pr=e:pr.push.apply(pr,e)}function Mre(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],i=s.getSnapshot;s=s.value;try{if(!Os(i(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ea(e,t){for(t&=~av,t&=~I3,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-As(t),r=1<<n;e[n]=-1,t&=~r}}function cx(e){if(at&6)throw Error(ae(327));qc();var t=Bf(e,0);if(!(t&1))return _r(e,Yt()),null;var n=ap(e,t);if(e.tag!==0&&n===2){var r=u8(e);r!==0&&(t=r,n=D8(e,r))}if(n===1)throw n=e1,Qo(e,0),Ea(e,t),_r(e,Yt()),n;if(n===6)throw Error(ae(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Io(e,pr,Pi),_r(e,Yt()),null}function lv(e,t){var n=at;at|=1;try{return e(t)}finally{at=n,at===0&&(mu=Yt()+500,C3&&fo())}}function fl(e){Pa!==null&&Pa.tag===0&&!(at&6)&&qc();var t=at;at|=1;var n=os.transition,r=pt;try{if(os.transition=null,pt=1,e)return e()}finally{pt=r,os.transition=n,at=t,!(at&6)&&fo()}}function cv(){jr=Ec.current,Pt(Ec)}function Qo(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,hre(n)),rn!==null)for(n=rn.return;n!==null;){var r=n;switch(Uy(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Kf();break;case 3:fu(),Pt(vr),Pt($n),Xy();break;case 5:Zy(r);break;case 4:fu();break;case 13:Pt(Ot);break;case 19:Pt(Ot);break;case 10:Ky(r.type._context);break;case 22:case 23:cv()}n=n.return}if(_n=e,rn=e=Ga(e.current,null),Nn=jr=t,dn=0,e1=null,av=I3=hl=0,pr=d0=null,Uo!==null){for(t=0;t<Uo.length;t++)if(n=Uo[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=s,r.next=a}n.pending=r}Uo=null}return e}function cA(e,t){do{var n=rn;try{if(Gy(),G2.current=np,tp){for(var r=Ft.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}tp=!1}if(dl=0,bn=cn=Ft=null,c0=!1,Z0=0,iv.current=null,n===null||n.return===null){dn=1,e1=t,rn=null;break}e:{var i=e,a=n.return,l=n,c=t;if(t=Nn,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,h=d.tag;if(!(d.mode&1)&&(h===0||h===11||h===15)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=Jw(a);if(p!==null){p.flags&=-257,Zw(p,a,l,i,t),p.mode&1&&Yw(i,u,t),t=p,c=u;var m=t.updateQueue;if(m===null){var y=new Set;y.add(c),t.updateQueue=y}else m.add(c);break e}else{if(!(t&1)){Yw(i,u,t),uv();break e}c=Error(ae(426))}}else if(At&&l.mode&1){var _=Jw(a);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Zw(_,a,l,i,t),qy(pu(c,l));break e}}i=c=pu(c,l),dn!==4&&(dn=2),d0===null?d0=[i]:d0.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=GP(i,c,t);Uw(i,g);break e;case 1:l=c;var b=i.type,k=i.stateNode;if(!(i.flags&128)&&(typeof b.getDerivedStateFromError=="function"||k!==null&&typeof k.componentDidCatch=="function"&&(qa===null||!qa.has(k)))){i.flags|=65536,t&=-t,i.lanes|=t;var x=KP(i,l,t);Uw(i,x);break e}}i=i.return}while(i!==null)}hA(n)}catch(S){t=S,rn===n&&n!==null&&(rn=n=n.return);continue}break}while(!0)}function uA(){var e=rp.current;return rp.current=np,e===null?np:e}function uv(){(dn===0||dn===3||dn===2)&&(dn=4),_n===null||!(hl&268435455)&&!(I3&268435455)||Ea(_n,Nn)}function ap(e,t){var n=at;at|=2;var r=uA();(_n!==e||Nn!==t)&&(Pi=null,Qo(e,t));do try{Ore();break}catch(s){cA(e,s)}while(!0);if(Gy(),at=n,rp.current=r,rn!==null)throw Error(ae(261));return _n=null,Nn=0,dn}function Ore(){for(;rn!==null;)dA(rn)}function Dre(){for(;rn!==null&&!cne();)dA(rn)}function dA(e){var t=pA(e.alternate,e,jr);e.memoizedProps=e.pendingProps,t===null?hA(e):rn=t,iv.current=null}function hA(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Ire(n,t),n!==null){n.flags&=32767,rn=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{dn=6,rn=null;return}}else if(n=Nre(n,t,jr),n!==null){rn=n;return}if(t=t.sibling,t!==null){rn=t;return}rn=t=e}while(t!==null);dn===0&&(dn=5)}function Io(e,t,n){var r=pt,s=os.transition;try{os.transition=null,pt=1,Wre(e,t,n,r)}finally{os.transition=s,pt=r}return null}function Wre(e,t,n,r){do qc();while(Pa!==null);if(at&6)throw Error(ae(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ae(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(bne(e,i),e===_n&&(rn=_n=null,Nn=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||zh||(zh=!0,mA($f,function(){return qc(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=os.transition,os.transition=null;var a=pt;pt=1;var l=at;at|=4,iv.current=null,Pre(e,n),aA(n,e),ire(g8),Uf=!!m8,g8=m8=null,e.current=n,Are(n),une(),at=l,pt=a,os.transition=i}else e.current=n;if(zh&&(zh=!1,Pa=e,ip=s),i=e.pendingLanes,i===0&&(qa=null),fne(n.stateNode),_r(e,Yt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(sp)throw sp=!1,e=M8,M8=null,e;return ip&1&&e.tag!==0&&qc(),i=e.pendingLanes,i&1?e===O8?h0++:(h0=0,O8=e):h0=0,fo(),null}function qc(){if(Pa!==null){var e=GR(ip),t=os.transition,n=pt;try{if(os.transition=null,pt=16>e?16:e,Pa===null)var r=!1;else{if(e=Pa,Pa=null,ip=0,at&6)throw Error(ae(331));var s=at;for(at|=4,ye=e.current;ye!==null;){var i=ye,a=i.child;if(ye.flags&16){var l=i.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(ye=u;ye!==null;){var d=ye;switch(d.tag){case 0:case 11:case 15:u0(8,d,i)}var h=d.child;if(h!==null)h.return=d,ye=h;else for(;ye!==null;){d=ye;var f=d.sibling,p=d.return;if(rA(d),d===u){ye=null;break}if(f!==null){f.return=p,ye=f;break}ye=p}}}var m=i.alternate;if(m!==null){var y=m.child;if(y!==null){m.child=null;do{var _=y.sibling;y.sibling=null,y=_}while(y!==null)}}ye=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,ye=a;else e:for(;ye!==null;){if(i=ye,i.flags&2048)switch(i.tag){case 0:case 11:case 15:u0(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,ye=g;break e}ye=i.return}}var b=e.current;for(ye=b;ye!==null;){a=ye;var k=a.child;if(a.subtreeFlags&2064&&k!==null)k.return=a,ye=k;else e:for(a=b;ye!==null;){if(l=ye,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:N3(9,l)}}catch(S){Ht(l,l.return,S)}if(l===a){ye=null;break e}var x=l.sibling;if(x!==null){x.return=l.return,ye=x;break e}ye=l.return}}if(at=s,fo(),ci&&typeof ci.onPostCommitFiberRoot=="function")try{ci.onPostCommitFiberRoot(w3,e)}catch{}r=!0}return r}finally{pt=n,os.transition=t}}return!1}function ux(e,t,n){t=pu(n,t),t=GP(e,t,1),e=Ua(e,t,1),t=er(),e!==null&&(L1(e,1,t),_r(e,t))}function Ht(e,t,n){if(e.tag===3)ux(e,e,n);else for(;t!==null;){if(t.tag===3){ux(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qa===null||!qa.has(r))){e=pu(n,e),e=KP(t,e,1),t=Ua(t,e,1),e=er(),t!==null&&(L1(t,1,e),_r(t,e));break}}t=t.return}}function Fre(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=er(),e.pingedLanes|=e.suspendedLanes&n,_n===e&&(Nn&n)===n&&(dn===4||dn===3&&(Nn&130023424)===Nn&&500>Yt()-ov?Qo(e,0):av|=n),_r(e,t)}function fA(e,t){t===0&&(e.mode&1?(t=bh,bh<<=1,!(bh&130023424)&&(bh=4194304)):t=1);var n=er();e=ea(e,t),e!==null&&(L1(e,t,n),_r(e,n))}function $re(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),fA(e,n)}function Bre(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ae(314))}r!==null&&r.delete(t),fA(e,n)}var pA;pA=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||vr.current)gr=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return gr=!1,zre(e,t,n);gr=!!(e.flags&131072)}else gr=!1,At&&t.flags&1048576&&vP(t,Jf,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;V2(e,t),e=t.pendingProps;var s=uu(t,$n.current);Uc(t,n),s=ev(null,t,r,e,s,n);var i=tv();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,br(r)?(i=!0,Vf(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Yy(t),s.updater=z3,t.stateNode=s,s._reactInternals=t,T8(t,r,e,n),t=E8(null,t,r,!0,i,n)):(t.tag=0,At&&i&&By(t),Yn(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(V2(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=qre(r),e=_s(r,e),s){case 0:t=C8(null,t,r,e,n);break e;case 1:t=ex(null,t,r,e,n);break e;case 11:t=Xw(null,t,r,e,n);break e;case 14:t=Qw(null,t,r,_s(r.type,e),n);break e}throw Error(ae(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:_s(r,s),C8(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:_s(r,s),ex(e,t,r,s,n);case 3:e:{if(ZP(t),e===null)throw Error(ae(387));
vendor: 4,682 bytes, line 76
76r=t.pendingProps,i=t.memoizedState,s=i.element,SP(e,t),Qf(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=pu(Error(ae(423)),t),t=tx(e,t,r,n,s);break e}else if(r!==s){s=pu(Error(ae(424)),t),t=tx(e,t,r,n,s);break e}else for(Rr=Ba(t.stateNode.containerInfo.firstChild),Dr=t,At=!0,xs=null,n=wP(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(du(),r===s){t=ta(e,t,n);break e}Yn(e,t,r,n)}t=t.child}return t;case 5:return TP(t),e===null&&w8(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,a=s.children,y8(r,s)?a=null:i!==null&&y8(r,i)&&(t.flags|=32),JP(e,t),Yn(e,t,a,n),t.child;case 6:return e===null&&w8(t),null;case 13:return XP(e,t,n);case 4:return Jy(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=hu(t,null,r,n):Yn(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:_s(r,s),Xw(e,t,r,s,n);case 7:return Yn(e,t,t.pendingProps,n),t.child;case 8:return Yn(e,t,t.pendingProps.children,n),t.child;case 12:return Yn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,a=s.value,Et(Zf,r._currentValue),r._currentValue=a,i!==null)if(Os(i.value,a)){if(i.children===s.children&&!vr.current){t=ta(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Ki(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),x8(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(ae(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),x8(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Yn(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,Uc(t,n),s=us(s),r=r(s),t.flags|=1,Yn(e,t,r,n),t.child;case 14:return r=t.type,s=_s(r,t.pendingProps),s=_s(r.type,s),Qw(e,t,r,s,n);case 15:return VP(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:_s(r,s),V2(e,t),t.tag=1,br(r)?(e=!0,Vf(t)):e=!1,Uc(t,n),HP(t,r,s),T8(t,r,s,n),E8(null,t,r,!0,e,n);case 19:return QP(e,t,n);case 22:return YP(e,t,n)}throw Error(ae(156,t.tag))};function mA(e,t){return BR(e,t)}function Ure(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.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 ss(e,t,n,r){return new Ure(e,t,n,r)}function dv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qre(e){if(typeof e=="function")return dv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ny)return 11;if(e===Iy)return 14}return 2}function Ga(e,t){var n=e.alternate;return n===null?(n=ss(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Z2(e,t,n,r,s,i){var a=2;if(r=e,typeof e=="function")dv(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case vc:return el(n.children,s,i,t);case zy:a=8,s|=8;break;case Y6:return e=ss(12,n,t,s|2),e.elementType=Y6,e.lanes=i,e;case J6:return e=ss(13,n,t,s),e.elementType=J6,e.lanes=i,e;case Z6:return e=ss(19,n,t,s),e.elementType=Z6,e.lanes=i,e;case TR:return R3(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xR:a=10;break e;case SR:a=9;break e;case Ny:a=11;break e;case Iy:a=14;break e;case xa:a=16,r=null;break e}throw Error(ae(130,e==null?e:typeof e,""))}return t=ss(a,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function el(e,t,n,r){return e=ss(7,e,r,t),e.lanes=n,e}function R3(e,t,n,r){return e=ss(22,e,r,t),e.elementType=TR,e.lanes=n,e.stateNode={isHidden:!1},e}
vendor: 4,721 bytes, line 76
76function x5(e,t,n){return e=ss(6,e,null,t),e.lanes=n,e}function S5(e,t,n){return t=ss(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hre(e,t,n,r,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=s5(0),this.expirationTimes=s5(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=s5(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function hv(e,t,n,r,s,i,a,l,c){return e=new Hre(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ss(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yy(i),e}function Gre(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:yc,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function gA(e){if(!e)return Xa;e=e._reactInternals;e:{if(Sl(e)!==e||e.tag!==1)throw Error(ae(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(br(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(ae(171))}if(e.tag===1){var n=e.type;if(br(n))return gP(e,n,t)}return t}function yA(e,t,n,r,s,i,a,l,c){return e=hv(n,r,!0,e,s,i,a,l,c),e.context=gA(null),n=e.current,r=er(),s=Ha(n),i=Ki(r,s),i.callback=t??null,Ua(n,i,s),e.current.lanes=s,L1(e,s,r),_r(e,r),e}function P3(e,t,n,r){var s=t.current,i=er(),a=Ha(s);return n=gA(n),t.context===null?t.context=n:t.pendingContext=n,t=Ki(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Ua(s,t,a),e!==null&&(Ls(e,s,a,i),H2(e,s,a)),a}function op(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function dx(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function fv(e,t){dx(e,t),(e=e.alternate)&&dx(e,t)}function Kre(){return null}var vA=typeof reportError=="function"?reportError:function(e){console.error(e)};function pv(e){this._internalRoot=e}A3.prototype.render=pv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ae(409));P3(e,t,null,null)};A3.prototype.unmount=pv.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;fl(function(){P3(null,e,null,null)}),t[Qi]=null}};function A3(e){this._internalRoot=e}A3.prototype.unstable_scheduleHydration=function(e){if(e){var t=YR();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ca.length&&t!==0&&t<Ca[n].priority;n++);Ca.splice(n,0,e),n===0&&ZR(e)}};function mv(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function L3(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function hx(){}function Vre(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var u=op(a);i.call(u)}}var a=yA(t,r,e,0,null,!1,!1,"",hx);return e._reactRootContainer=a,e[Qi]=a.current,G0(e.nodeType===8?e.parentNode:e),fl(),a}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var l=r;r=function(){var u=op(c);l.call(u)}}var c=hv(e,0,!1,null,null,!1,!1,"",hx);return e._reactRootContainer=c,e[Qi]=c.current,G0(e.nodeType===8?e.parentNode:e),fl(function(){P3(t,c,n,r)}),c}function M3(e,t,n,r,s){var i=n._reactRootContainer;if(i){var a=i;if(typeof s=="function"){var l=s;s=function(){var c=op(a);l.call(c)}}P3(t,a,e,s)}else a=Vre(n,t,e,s,r);return op(a)}KR=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Md(t.pendingLanes);n!==0&&(Ay(t,n|1),_r(t,Yt()),!(at&6)&&(mu=Yt()+500,fo()))}break;case 13:fl(function(){var r=ea(e,1);if(r!==null){var s=er();Ls(r,e,1,s)}}),fv(e,1)}};Ly=function(e){if(e.tag===13){var t=ea(e,134217728);if(t!==null){var n=er();Ls(t,e,134217728,n)}fv(e,134217728)}};VR=function(e){if(e.tag===13){var t=Ha(e),n=ea(e,t);if(n!==null){var r=er();Ls(n,e,t,r)}fv(e,t)}};YR=function(){return pt};JR=function(e,t){var n=pt;try{return pt=e,t()}finally{pt=n}};o8=function(e,t,n){switch(t){case"input":if(e8(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=j3(r);if(!s)throw Error(ae(90));
76CR(r),e8(r,s)}}}break;case"textarea":zR(e,n);break;case"select":t=n.value,t!=null&&Wc(e,!!n.multiple,t,!1)}};MR=lv;OR=fl;var Yre={usingClientEntryPoint:!1,Events:[O1,wc,j3,AR,LR,lv]},td={findFiberByHostInstance:Bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Jre={bundleType:td.bundleType,version:td.version,rendererPackageName:td.rendererPackageName,rendererConfig:td.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:sa.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=FR(e),e===null?null:e.stateNode},findFiberByHostInstance:td.findFiberByHostInstance||Kre,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Nh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nh.isDisabled&&Nh.supportsFiber)try{w3=Nh.inject(Jre),ci=Nh}catch{}}Br.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yre;Br.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!mv(t))throw Error(ae(200));return Gre(e,t,null,n)};Br.createRoot=function(e,t){if(!mv(e))throw Error(ae(299));var n=!1,r="",s=vA;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=hv(e,1,!1,null,null,n,!1,r,s),e[Qi]=t.current,G0(e.nodeType===8?e.parentNode:e),new pv(t)};Br.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ae(188)):(e=Object.keys(e).join(","),Error(ae(268,e)));return e=FR(t),e=e===null?null:e.stateNode,e};Br.flushSync=function(e){return fl(e)};Br.hydrate=function(e,t,n){if(!L3(t))throw Error(ae(200));return M3(null,e,t,!0,n)};Br.hydrateRoot=function(e,t,n){if(!mv(e))throw Error(ae(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",a=vA;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=yA(t,null,e,1,n??null,s,!1,i,a),e[Qi]=t.current,G0(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new A3(t)};Br.render=function(e,t,n){if(!L3(t))throw Error(ae(200));return M3(null,e,t,!1,n)};Br.unmountComponentAtNode=function(e){if(!L3(e))throw Error(ae(40));return e._reactRootContainer?(fl(function(){M3(null,null,e,!1,function(){e._reactRootContainer=null,e[Qi]=null})}),!0):!1};Br.unstable_batchedUpdates=lv;Br.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!L3(n))throw Error(ae(200));if(e==null||e._reactInternals===void 0)throw Error(ae(38));return M3(e,t,n,!1,r)};Br.version="18.3.1-next-f1338f8080-20240426";function bA(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(bA)}catch(e){console.error(e)}}bA(),bR.exports=Br;var gv=bR.exports,fx=gv;K6.createRoot=fx.createRoot,K6.hydrateRoot=fx.hydrateRoot;var Zre=typeof Element<"u",Xre=typeof Map=="function",Qre=typeof Set=="function",ese=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function X2(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,s;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!X2(e[r],t[r]))return!1;return!0}var i;if(Xre&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!X2(r.value[1],t.get(r.value[0])))return!1;return!0}if(Qre&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ese&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return!1;if(Zre&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((s[r]==="_owner"||s[r]==="__v"||s[r]==="__o")&&e.$$typeof)&&!X2(e[s[r]],t[s[r]]))return!1;return!0}return e!==e&&t!==t}var tse=function(t,n){try{return X2(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const nse=yi(tse);var rse=function(e,t,n,r,s,i,a,l){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,s,i,a,l],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},sse=rse;const px=yi(sse);var ise=function(t,n,r,s){var i=r?r.call(s,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;
76if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),l=Object.keys(n);if(a.length!==l.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<a.length;u++){var d=a[u];if(!c(d))return!1;var h=t[d],f=n[d];if(i=r?r.call(s,h,f,d):void 0,i===!1||i===void 0&&h!==f)return!1}return!0};const ase=yi(ise);var _A=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(_A||{}),T5={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},mx=Object.values(_A),yv={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ose=Object.entries(yv).reduce((e,[t,n])=>(e[n]=t,e),{}),zs="data-rh",Hc={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Gc=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},lse=e=>{let t=Gc(e,"title");const n=Gc(e,Hc.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Gc(e,Hc.DEFAULT_TITLE);return t||r||void 0},cse=e=>Gc(e,Hc.ON_CHANGE_CLIENT_STATE)||(()=>{}),j5=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),use=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const s=Object.keys(r);for(let i=0;i<s.length;i+=1){const l=s[i].toLowerCase();if(e.indexOf(l)!==-1&&r[l])return n.concat(r)}}return n},[]),dse=e=>console&&typeof console.warn=="function"&&console.warn(e),nd=(e,t,n)=>{const r={};return n.filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&dse(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,i)=>{const a={};i.filter(c=>{let u;const d=Object.keys(c);for(let f=0;f<d.length;f+=1){const p=d[f],m=p.toLowerCase();t.indexOf(m)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(m==="rel"&&c[m].toLowerCase()==="stylesheet")&&(u=m),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(u=p)}if(!u||!c[u])return!1;const h=c[u].toLowerCase();return r[u]||(r[u]={}),a[u]||(a[u]={}),r[u][h]?!1:(a[u][h]=!0,!0)}).reverse().forEach(c=>s.push(c));const l=Object.keys(a);for(let c=0;c<l.length;c+=1){const u=l[c],d={...r[u],...a[u]};r[u]=d}return s},[]).reverse()},hse=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},fse=e=>({baseTag:use(["href"],e),bodyAttributes:j5("bodyAttributes",e),defer:Gc(e,Hc.DEFER),encode:Gc(e,Hc.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:j5("htmlAttributes",e),linkTags:nd("link",["rel","href"],e),metaTags:nd("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:nd("noscript",["innerHTML"],e),onChangeClientState:cse(e),scriptTags:nd("script",["src","innerHTML"],e),styleTags:nd("style",["cssText"],e),title:lse(e),titleAttributes:j5("titleAttributes",e),prioritizeSeoTags:hse(e,Hc.PRIORITIZE_SEO_TAGS)}),kA=e=>Array.isArray(e)?e.join(""):e,pse=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},C5=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(pse(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},gx=(e,t)=>({...e,[t]:void 0}),mse=["noscript","script","style"],F8=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),wA=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),gse=(e,t,n,r)=>{const s=wA(n),i=kA(t);return s?`<${e} ${zs}="true" ${s}>${F8(i,r)}</${e}>`:`<${e} ${zs}="true">${F8(i,r)}</${e}>`},yse=(e,t,n=!0)=>t.reduce((r,s)=>{const i=s,a=Object.keys(i).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const h=typeof i[d]>"u"?d:`${d}="${F8(i[d],n)}"`;return u?`${u} ${h}`:h},""),l=i.innerHTML||i.cssText||"",c=mse.indexOf(e)===-1;return`${r}<${e} ${zs}="true" ${a}${c?"/>":`>${l}</${e}>`}`},""),xA=(e,t={})=>Object.keys(e).reduce((n,r)=>{const s=yv[r];return n[s||r]=e[r],n},t),vse=(e,t,n)=>{const r={key:t,[zs]:!0},s=xA(n,r);return[Es.createElement("title",s,t)]},Q2=(e,t)=>
76t.map((n,r)=>{const s={key:r,[zs]:!0};return Object.keys(n).forEach(i=>{const l=yv[i]||i;if(l==="innerHTML"||l==="cssText"){const c=n.innerHTML||n.cssText;s.dangerouslySetInnerHTML={__html:c}}else s[l]=n[i]}),Es.createElement(e,s)}),Xr=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>vse(e,t.title,t.titleAttributes),toString:()=>gse(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>xA(t),toString:()=>wA(t)};default:return{toComponent:()=>Q2(e,t),toString:()=>yse(e,t,n)}}},bse=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const s=C5(e,T5.meta),i=C5(t,T5.link),a=C5(n,T5.script);return{priorityMethods:{toComponent:()=>[...Q2("meta",s.priority),...Q2("link",i.priority),...Q2("script",a.priority)],toString:()=>`${Xr("meta",s.priority,r)} ${Xr("link",i.priority,r)} ${Xr("script",a.priority,r)}`},metaTags:s.default,linkTags:i.default,scriptTags:a.default}},_se=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:s,noscriptTags:i,styleTags:a,title:l="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:h,scriptTags:f}=e,p={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:p,linkTags:d,metaTags:h,scriptTags:f}=bse(e)),{priority:p,base:Xr("base",t,r),bodyAttributes:Xr("bodyAttributes",n,r),htmlAttributes:Xr("htmlAttributes",s,r),link:Xr("link",d,r),meta:Xr("meta",h,r),noscript:Xr("noscript",i,r),script:Xr("script",f,r),style:Xr("style",a,r),title:Xr("title",{title:l,titleAttributes:c},r)}},$8=_se,Ih=[],SA=!!(typeof window<"u"&&window.document&&window.document.createElement),B8=class{constructor(e,t){se(this,"instances",[]);se(this,"canUseDOM",SA);se(this,"context");se(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Ih:this.instances,add:e=>{(this.canUseDOM?Ih:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Ih:this.instances).indexOf(e);(this.canUseDOM?Ih:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=$8({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},kse={},TA=Es.createContext(kse),Vo,jA=(Vo=class extends v.Component{constructor(n){super(n);se(this,"helmetData");this.helmetData=new B8(this.props.context||{},Vo.canUseDOM)}render(){return Es.createElement(TA.Provider,{value:this.helmetData.value},this.props.children)}},se(Vo,"canUseDOM",SA),Vo),Ll=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${zs}]`),s=[].slice.call(r),i=[];let a;return t&&t.length&&t.forEach(l=>{const c=document.createElement(e);for(const u in l)if(Object.prototype.hasOwnProperty.call(l,u))if(u==="innerHTML")c.innerHTML=l.innerHTML;else if(u==="cssText")c.styleSheet?c.styleSheet.cssText=l.cssText:c.appendChild(document.createTextNode(l.cssText));else{const d=u,h=typeof l[d]>"u"?"":l[d];c.setAttribute(u,h)}c.setAttribute(zs,"true"),s.some((u,d)=>(a=d,c.isEqualNode(u)))?s.splice(a,1):i.push(c)}),s.forEach(l=>{var c;return(c=l.parentNode)==null?void 0:c.removeChild(l)}),i.forEach(l=>n.appendChild(l)),{oldTags:s,newTags:i}},U8=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(zs),s=r?r.split(","):[],i=[...s],a=Object.keys(t);for(const l of a){const c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),s.indexOf(l)===-1&&s.push(l);const u=i.indexOf(l);u!==-1&&i.splice(u,1)}for(let l=i.length-1;l>=0;l-=1)n.removeAttribute(i[l]);s.length===i.length?n.removeAttribute(zs):n.getAttribute(zs)!==a.join(",")&&n.setAttribute(zs,a.join(","))},wse=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=kA(e)),U8("title",t)},yx=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:s,linkTags:i,metaTags:a,noscriptTags:l,onChangeClientState:c,scriptTags:u,styleTags:d,title:h,titleAttributes:f}=e;U8("body",r),U8("html",s),wse(h,f);const p={baseTag:Ll("base",n),linkTags:Ll("link",i),metaTags:Ll("meta",a),noscriptTags:Ll("noscript",l),scriptTags:Ll("script",u),styleTags:Ll("style",d)},m={},y={};Object.keys(p).forEach(_=>{const{newTags:g,oldTags:b}=p[_];g.length&&(m[_]=g),b.length&&(y[_]=p[_].oldTags)}),t&&t(),c(e,m,y)},rd=null,xse=e=>{rd&&cancelAnimationFrame(rd),e.defer?rd=requestAnimationFrame(()=>{yx(e,()=>{rd=null})}):(yx(e),rd=null)},Sse=xse,vx=class extends v.Component{constructor(){super(...arguments);se(this,"rendered",!1)}shouldComponentUpdate(t){return!ase(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const s=fse(t.get().map(i=>{const a={...i.props};return delete a.context,a}));jA.canUseDOM?Sse(s):$8&&(r=$8(s)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},r6,qr=(r6=class extends v.Component{shouldComponentUpdate(e){return!nse(gx(this.props,"helmetData"),gx(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
76warnOnInvalidChildren(e,t){return px(mx.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${mx.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),px(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return Es.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:s,...i}=r.props,a=Object.keys(i).reduce((c,u)=>(c[ose[u]||u]=i[u],c),{});let{type:l}=r;switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(r,s),l){case"Symbol(react.fragment)":t=this.mapChildrenToProps(s,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,a,s);break;default:t=this.mapObjectTypeChildren(r,t,a,s);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof B8)){const s=r;r=new B8(s.context,!0),delete n.helmetData}return r?Es.createElement(vx,{...n,context:r.value}):Es.createElement(TA.Consumer,null,s=>Es.createElement(vx,{...n,context:s}))}},se(r6,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),r6);const Tse={},bx=e=>{let t;const n=new Set,r=(d,h)=>{const f=typeof d=="function"?d(t):d;if(!Object.is(f,t)){const p=t;t=h??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(m=>m(t,p))}},s=()=>t,c={setState:r,getState:s,getInitialState:()=>u,subscribe:d=>(n.add(d),()=>n.delete(d)),destroy:()=>{(Tse?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,s,c);return c},jse=e=>e?bx(e):bx;var CA={exports:{}},EA={},zA={exports:{}},NA={};/**
77 * @license React
78 * use-sync-external-store-shim.production.js
79 *
80 * Copyright (c) Meta Platforms, Inc. and affiliates.
81 *
82 * This source code is licensed under the MIT license found in the
83 * LICENSE file in the root directory of this source tree.
84 */var gu=v;function Cse(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ese=typeof Object.is=="function"?Object.is:Cse,zse=gu.useState,Nse=gu.useEffect,Ise=gu.useLayoutEffect,Rse=gu.useDebugValue;function Pse(e,t){var n=t(),r=zse({inst:{value:n,getSnapshot:t}}),s=r[0].inst,i=r[1];return Ise(function(){s.value=n,s.getSnapshot=t,E5(s)&&i({inst:s})},[e,n,t]),Nse(function(){return E5(s)&&i({inst:s}),e(function(){E5(s)&&i({inst:s})})},[e]),Rse(n),n}function E5(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ese(e,n)}catch{return!0}}function Ase(e,t){return t()}var Lse=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Ase:Pse;NA.useSyncExternalStore=gu.useSyncExternalStore!==void 0?gu.useSyncExternalStore:Lse;zA.exports=NA;var Mse=zA.exports;/**
85 * @license React
86 * use-sync-external-store-shim/with-selector.production.js
87 *
88 * Copyright (c) Meta Platforms, Inc. and affiliates.
89 *
90 * This source code is licensed under the MIT license found in the
91 * LICENSE file in the root directory of this source tree.
92 */var O3=v,Ose=Mse;function Dse(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Wse=typeof Object.is=="function"?Object.is:Dse,Fse=Ose.useSyncExternalStore,$se=O3.useRef,Bse=O3.useEffect,Use=O3.useMemo,qse=O3.useDebugValue;EA.useSyncExternalStoreWithSelector=function(e,t,n,r,s){var i=$se(null);if(i.current===null){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=Use(function(){function c(p){if(!u){if(u=!0,d=p,p=r(p),s!==void 0&&a.hasValue){var m=a.value;if(s(m,p))return h=m}return h=p}if(m=h,Wse(d,p))return m;var y=r(p);return s!==void 0&&s(m,y)?(d=p,m):(d=p,h=y)}var u=!1,d,h,f=n===void 0?null:n;return[function(){return c(t())},f===null?void 0:function(){return c(f())}]},[t,n,r,s]);var l=Fse(e,i[0],i[1]);return Bse(function(){a.hasValue=!0,a.value=l},[l]),qse(l),l};CA.exports=EA;var Hse=CA.exports;const Gse=yi(Hse),IA={},{useDebugValue:Kse}=Es,{useSyncExternalStoreWithSelector:Vse}=Gse;let _x=!1;const Yse=e=>e;function Jse(e,t=Yse,n){(IA?"production":void 0)!=="production"&&n&&!_x&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),_x=!0);const r=Vse(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return Kse(r),r}const kx=e=>{(IA?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { use
92Store } from 'zustand'`.");const t=typeof e=="function"?jse(e):e,n=(r,s)=>Jse(t,r,s);return Object.assign(n,t),n},mt=e=>e?kx(e):kx,q8=(e,t)=>{if(e.id===t)return e;for(const n of e.children){const r=q8(n,t);if(r)return r}return null},RA=(e,t)=>{const n=JSON.parse(JSON.stringify(e.tree)),r={...e.annotations};let s=e.cursor;switch(t.k){case"move":{const i=q8(n,t.parentId);i&&i.children.push({id:t.nodeId,move:t.move,children:[],...t.moveTimeMs!==void 0?{moveTimeMs:t.moveTimeMs}:{}}),s=t.newCursor;break}case"cursor":{s=t.newCursor;break}case"annotation":{const i=[...r[t.nodeId]??[]];i.push(t.anno),r[t.nodeId]=i;break}case"removeAnno":{const i=(r[t.nodeId]??[]).filter(a=>a.id!==t.annoId);i.length?r[t.nodeId]=i:delete r[t.nodeId];break}case"removeAllRects":{const i=(r[t.nodeId]??[]).filter(a=>a.kind!=="rect");i.length?r[t.nodeId]=i:delete r[t.nodeId];break}case"prune":{const i=q8(n,t.parentId);i&&i.children.splice(t.removedIndex,1),s=t.newCursor;break}}return{...e,tree:n,cursor:s,annotations:r,version:e.version,...e.size!==void 0?{size:e.size}:{}}},yt=mt((e,t)=>
92({state:null,setBoard:n=>e({state:n}),applyPatch:(n,r)=>{const s=t().state;if(!s)return;const i=RA(s,n);e({state:{...i,version:r}})},clear:()=>e({state:null})})),un=mt(e=>({game:null,clock:null,clockReceivedAt:0,setGame:t=>e(n=>({game:t,clock:t===null?null:t.clock,clockReceivedAt:t!=null&&t.clock?Date.now():n.clockReceivedAt})),setClock:t=>e({clock:t,clockReceivedAt:Date.now()}),clear:()=>e({game:null,clock:null,clockReceivedAt:0})})),Nr=mt((e,t)=>({boards:new Map,focusedBoardId:null,review:[],setSimul:n=>{var a;if(n===null){e({boards:new Map,focusedBoardId:null});return}const r=new Map;for(const l of n.boards)r.set(l.boardId,{studentName:l.studentName,studentConnected:l.studentConnected,board:l.board,game:l.game});const s=t().focusedBoardId,i=s&&r.has(s)?s:((a=n.boards[0])==null?void 0:a.boardId)??null;e({boards:r,focusedBoardId:i})},setReview:n=>e({review:n}),setFocus:n=>e({focusedBoardId:n}),applyBoardPatch:(n,r,s)=>e(i=>{const a=i.boards.get(n);if(!a)return i;const l=new Map(i.boards);return l.set(n,{...a,board:{...RA(a.board,r),version:s}}),{boards:l}}),setBoardGame:(n,r)=>e(s=>{const i=s.boards.get(n);if(!i)return s;const a=new Map(s.boards);return a.set(n,{...i,game:r}),{boards:a}}),clear:()=>e({boards:new Map,focusedBoardId:null,review:[]})})),Zse=4e3;let Ml=null;const z5=(e,t,n)=>{const r=e.boards.get(t);if(!r)return e;const s=new Map(e.boards);return s.set(t,{...r,...n}),{boards:s}},Dn=mt((e,t)=>({toMove:"B",boards:new Map,focusedBoardId:null,pending:null,setProblem:n=>{var a;if(n===null){e({toMove:"B",boards:new Map,focusedBoardId:null,pending:null});return}const r=new Map;for(const l of n.boards)r.set(l.boardId,{studentName:l.studentName,studentConnected:l.studentConnected,board:l.board,verdict:l.verdict,done:l.done});const s=t().focusedBoardId,i=s&&r.has(s)?s:((a=n.boards[0])==null?void 0:a.boardId)??null;e({toMove:n.toMove,boards:r,focusedBoardId:i,pending:null})},setBoard:(n,r)=>e(s=>{var l;const i=z5(s,n,{board:r}),a=((l=s.pending)==null?void 0:l.boardId)===n?null:s.pending;return{...i,pending:a}}),setVerdict:(n,r)=>e(s=>z5(s,n,{verdict:r})),setDone:(n,r)=>e(s=>z5(s,n,{done:r})),setFocus:n=>e({focusedBoardId:n}),setPending:n=>{Ml&&clearTimeout(Ml),Ml=setTimeout(()=>e({pending:null}),Zse),e({pending:n})},clearPending:()=>{Ml&&clearTimeout(Ml),Ml=null,e({pending:null})},clear:()=>e({toMove:"B",boards:new Map,focusedBoardId:null,pending:null})})),PA=e=>e.boards.size>0,Xse=(e,t)=>{let n=e.tree;for(const i of e.cursor){const a=n.children[i];if(!a)return e;n=a}const r=n.children.length,s=(i,a)=>
92{if(a.length===0)return{...i,children:[...i.children,{id:"__pending__",move:{x:t.x,y:t.y,color:t.color},children:[]}]};const[l,...c]=a,u=i.children[l];if(!u)return i;const d=[...i.children];return d[l]=s(u,c),{...i,children:d}};return{...e,tree:s(e.tree,e.cursor),cursor:[...e.cursor,r]}},Mo=mt(e=>({cursors:new Map,setCursor:(t,n)=>e(r=>{const s=new Map(r.cursors);return n===null?s.delete(t):s.set(t,n),{cursors:s}}),removeCursor:t=>e(n=>{if(!n.cursors.has(t))return n;const r=new Map(n.cursors);return r.delete(t),{cursors:r}}),reset:()=>e({cursors:new Map})})),Qse=600,Ho=mt((e,t)=>({pings:[],addPing:n=>{e({pings:[...t().pings,n]}),setTimeout(()=>t().removePing(n.id),Qse)},removePing:n=>e({pings:t().pings.filter(r=>r.id!==n)}),reset:()=>e({pings:[]})}));let Rh;const pi=()=>(Rh!==void 0||(Rh=typeof window<"u"&&typeof window.AudioContext=="function"?new AudioContext:null),Rh);let wx=!1;const D3=()=>{if(wx||typeof window>"u")return;const e=pi();if(!e)return;wx=!0;const t=()=>{e.state==="running"||e.state==="closed"||e.resume().then(n).catch(()=>{})},n=()=>{window.removeEventListener("pointerdown",t),window.removeEventListener("keydown",t),e.state!=="running"&&e.state!=="closed"&&(window.addEventListener("pointerdown",t),window.addEventListener("keydown",t))};e.addEventListener("statechange",n),n()},AA=e=>{const t=pi();if(!t)return()=>{};const n=()=>e(t.state);return t.addEventListener("statechange",n),()=>t.removeEventListener("statechange",n)},LA=()=>{var e;return((e=pi())==null?void 0:e.state)??"unavailable"},N5=new Map,eie=e=>{const t=pi();if(!t)return Promise.resolve(null);let n=N5.get(e);return n||(n=fetch(e).then(r=>{if(!r.ok)throw new Error(`HTTP ${r.status}`);return r.arrayBuffer()}).then(r=>t.decodeAudioData(r)).catch(r=>(console.warn(`[audio] failed to load ${e}`,r),N5.delete(e),null)),N5.set(e,n)),n},tie=(e,t)=>{const n=pi();if(!n||n.state!=="running")return null;const r=n.createBufferSource();return r.buffer=e,r.connect(n.destination),r.start(n.currentTime+Math.max(0,t)/1e3),{stop:()=>{try{r.stop()}catch{}r.disconnect()}}},nie=e=>e.k==="move"&&e.move.pass!==!0;let Ph=null;const rie=e=>{if(Ph&&Ph.sampleRate===e.sampleRate)return Ph;const t=Math.floor(e.sampleRate*.03),n=e.createBuffer(1,t,e.sampleRate),r=n.getChannelData(0);for(let s=0;s<t;s++)r[s]=Math.random()*2-1;return Ph=n,n},sie=()=>{D3();const e=pi();if(!e||e.state!=="running")return;const t=e.currentTime,n=.9+Math.random()*.2,r=.22+Math.random()*.06,s=e.createGain();s.gain.setValueAtTime(1e-4,t),s.gain.exponentialRampToValueAtTime(r,t+.002),s.gain.exponentialRampToValueAtTime(1e-4,t+.13),s.connect(e.destination);const i=e.createBufferSource();i.buffer=rie(e);const a=e.createBiquadFilter();a.type="bandpass",a.frequency.value=2800*n,a.Q.value=1.2;const l=e.createGain();l.gain.value=.9,i.connect(a).connect(l).connect(s),i.start(t),i.stop(t+.05);for(const[c,u,d]of[[232*n,1,.09],[232*1.6*n,.35,.06]]){const h=e.createOscillator();h.type="triangle",h.frequency.value=c;const f=e.createGain();f.gain.setValueAtTime(u,t),f.gain.exponentialRampToValueAtTime(1e-4,t+d),h.connect(f).connect(s),h.start(t),h.stop(t+d+.02)}},MA="gt.stoneSound",sd={enabled:!0},iie=()=>{if(typeof window>"u")return sd;try{const e=localStorage.getItem(MA);if(!e)return sd;const t=JSON.parse(e);if(typeof t!="object"||t===null)return sd;const{enabled:n}=t;return{enabled:typeof n=="boolean"?n:sd.enabled}}catch{return sd}},aie=e=>{if(!(typeof window>"u"))try{localStorage.setItem(MA,JSON.stringify(e))}catch{}},H8=mt(e=>({...iie(),setEnabled:t=>{e({enabled:t}),aie({enabled:t})}}));let Oo=null;const oie=(e,t,n=performance.now())=>{Oo={x:e,y:t,at:n}},lie=(e,t,n=performance.now())=>{if(Oo===null||Oo.x!==e||Oo.y!==t)return null;const r=n-Oo.at;return Oo=null,r},cie=()=>{Oo=null},xx=(e,t,n)=>{const r=t==="audio"?n.micEnabled:n.camEnabled;return e.enabled=r,r};class uie{constructor(t){se(this,"ctx",null);se(this,"source",null);se(this,"analyser",null);se(this,"timer",null);se(this,"silenceCounter",0);se(this,"threshold");se(this,"silenceChecks");se(this,"onSilenceDetected");se(this,"onVolume");se(this,"paused",!1);this.threshold=t.silenceThreshold??.01;const n=t.checkIntervalMs??2e3,r=t.silenceDurationMs??1e4;this.silenceChecks=Math.ceil(r/n),this.onSilenceDetected=t.onSilenceDetected,this.onVolume=t.onVolume??(()=>{});try{this.ctx=new AudioContext,this.source=this.ctx.createMediaStreamSource(t.stream),this.analyser=this.ctx.createAnalyser(),this.analyser.fftSize=256,this.source.connect(this.analyser),this.timer=setInterval(()=>this.check(),n)}catch{}}check(){if(this.paused||!this.analyser)return;const t=new Uint8Array(this.analyser.fftSize);this.analyser.getByteTimeDomainData(t);let n=0;for(let s=0;s<t.length;s++){const i=(t[s]-128)/128;n+=i*i}const r=Math.sqrt(n/t.length);this.onVolume(r),r<this.threshold?(this.silenceCounter++,this.silenceCounter>=this.silenceChecks&&(this.silenceCounter=0,this.onSilenceDetected())):this.silenceCounter=0}pause(){this.paused=!0,this.silenceCounter=0}resume(){this.paused=!1}stop(){var t;this.timer&&(clearInterval(this.timer),this.timer=null),(t=this.source)==null||t.disconnect(),this.source=null,this.analyser=null,this.ctx&&(this.ctx.close().catch(()=>{}),this.ctx=null)}}const die=3e4;
92class Aa extends Error{constructor(){super("Media capture request timed out"),this.name="MediaCaptureTimeoutError"}}const Kc=e=>new Promise((t,n)=>{let r=!1;const s=setTimeout(()=>{r=!0,n(new Aa)},die),i=a=>{r||(r=!0,clearTimeout(s),n(a))};try{navigator.mediaDevices.getUserMedia(e).then(a=>{if(r){for(const l of a.getTracks())try{l.stop()}catch{}return}r=!0,clearTimeout(s),t(a)},i)}catch(a){i(a)}}),I5={echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0,channelCount:1,sampleRate:48e3},Sx={width:{ideal:640,max:1280},height:{ideal:360,max:720},frameRate:{ideal:24,max:30},facingMode:{ideal:"user"}},R5=e=>e instanceof Error&&(e.name==="NotAllowedError"||e.name==="SecurityError"),Tx=e=>e instanceof Error&&(e.name==="NotFoundError"||e.name==="OverconstrainedError"),hie=async e=>{const{wantAudio:t,wantVideo:n}=e;if(!t&&!n)return{kind:"none"};if(t&&n)try{return{kind:"ok",stream:await Kc({audio:I5,video:Sx}),video:!0}}catch(r){if(r instanceof Aa)return{kind:"error",reason:"media-timeout"};if(R5(r)||Tx(r))try{return{kind:"ok",stream:await Kc({audio:I5,video:!1}),video:!1}}catch(s){return s instanceof Aa?{kind:"error",reason:"media-timeout"}:R5(s)?{kind:"error",reason:"mic-denied"}:Tx(s)?{kind:"error",reason:"media-unavailable"}:{kind:"error",reason:"media-unavailable"}}return{kind:"error",reason:"media-unavailable"}}try{return{kind:"ok",stream:await Kc({audio:t?I5:!1,video:n?Sx:!1}),video:n}}catch(r){return r instanceof Aa?{kind:"error",reason:"media-timeout"}:R5(r)?{kind:"error",reason:t?"mic-denied":"cam-denied"}:{kind:"error",reason:"media-unavailable"}}},fie=3e4,jx=20,Qt=e=>typeof e=="number"?e:void 0,go=e=>typeof e=="string"?e:void 0,Cx=e=>{if(e==="host"||e==="srflx"||e==="prflx"||e==="relay")return e},pie=e=>{if(e==="cpu"||e==="bandwidth"||e==="other"||e==="none")return e},mie=e=>{const t={},n=Qt(e.packetsReceived);n!==void 0&&(t.packetsReceived=n);
92const r=Qt(e.packetsLost);r!==void 0&&(t.packetsLost=r);const s=Qt(e.jitter);s!==void 0&&(t.jitter=s);const i=Qt(e.jitterBufferDelay);i!==void 0&&(t.jitterBufferDelay=i);const a=Qt(e.jitterBufferEmittedCount);a!==void 0&&(t.jitterBufferEmittedCount=a);const l=Qt(e.framesPerSecond);l!==void 0&&(t.framesPerSecond=l);const c=Qt(e.frameWidth);c!==void 0&&(t.frameWidth=c);const u=Qt(e.frameHeight);u!==void 0&&(t.frameHeight=u);const d=Qt(e.bytesReceived);return d!==void 0&&(t.bytesReceived=d),t},gie=e=>{const t={},n=Qt(e.packetsSent);n!==void 0&&(t.packetsSent=n);const r=Qt(e.bytesSent);r!==void 0&&(t.bytesSent=r);const s=pie(e.qualityLimitationReason);s!==void 0&&(t.qualityLimitationReason=s);const i=Qt(e.targetBitrate);i!==void 0&&(t.targetBitrate=i);const a=Qt(e.framesPerSecond);a!==void 0&&(t.framesPerSecond=a);const l=Qt(e.frameWidth);l!==void 0&&(t.frameWidth=l);const c=Qt(e.frameHeight);return c!==void 0&&(t.frameHeight=c),t},yie=e=>{const t=new Map;let n=null;const r={},s={},i={};e.forEach(c=>{const u=go(c.type);if(u==="inbound-rtp"){const d=go(c.kind);(d==="audio"||d==="video")&&(r[d]=mie(c))}else if(u==="outbound-rtp"){const d=go(c.kind);(d==="audio"||d==="video")&&(s[d]=gie(c))}else if(u==="remote-inbound-rtp"){const d=go(c.kind),h=Qt(c.roundTripTime),f=Qt(c.fractionLost);(d==="audio"||d==="video")&&h!==void 0&&f!==void 0&&(i[d]={rttMs:h*1e3,fractionLost:f})}else if(u==="candidate-pair")c.nominated===!0&&c.state==="succeeded"&&(n=c);else if(u==="local-candidate"||u==="remote-candidate"){const d=go(c.id);d!==void 0&&t.set(d,c)}});let a;if(n!==null){const c=n;a={rttMs:(Qt(c.currentRoundTripTime)??0)*1e3};const d=Qt(c.availableOutgoingBitrate);d!==void 0&&(a.availableOutgoingBitrate=d);const h=Qt(c.availableIncomingBitrate);h!==void 0&&(a.availableIncomingBitrate=h);const f=go(c.localCandidateId);if(f!==void 0){const m=t.get(f);if(m){const y=Cx(m.candidateType);y!==void 0&&(a.localCandidateType=y)}}const p=go(c.remoteCandidateId);if(p!==void 0){const m=t.get(p);if(m){const y=Cx(m.candidateType);y!==void 0&&(a.remoteCandidateType=y)}}}const l={ts:Date.now(),inbound:r,outbound:s,remoteInbound:i};return a!==void 0&&(l.candidatePair=a),l};class vie{constructor(t){se(this,"buffer",[]);se(this,"timer",null);this.getPc=t}start(){this.timer===null&&(this.timer=setInterval(()=>{this.snapshot()},fie))}stop(){this.timer!==null&&(clearInterval(this.timer),this.timer=null)}async snapshot(){const t=this.getPc();if(!t)return null;let n;try{n=await t.getStats()}catch{return null}const r=yie(n);return this.buffer.push(r),this.buffer.length>jx&&this.buffer.splice(0,this.buffer.length-jx),r}recent(){return this.buffer.slice()}dump(t){console.log(`[MediaStats] dump (reason=${t})`,{snapshots:this.recent()})}}const bie=e=>new RTCPeerConnection(e),_ie=15e3,kie=1e4,wie=5e3,xie=3,Sie=6e5;class Tie{constructor(t){se(this,"pc",null);se(this,"localStream",null);se(this,"pendingRemoteIce",[]);se(this,"iceServers");se(this,"polite");se(this,"audioDirection");se(this,"iceTransportPolicy");se(this,"pcFactory");se(this,"cb");se(this,"iceDisconnectTimer",null);se(this,"iceRestartTimer",null);se(this,"makingOffer",!1);se(this,"initiating",!1);se(this,"ignoreOffer",!1);se(this,"isSettingRemoteAnswerPending",!1);se(this,"lastIceRestartAt",-1/0);se(this,"mediaStalled",!1);se(this,"watchdogTimer",null);se(this,"watchdogStaleTicks",0);se(this,"watchdogLastPackets",null);se(this,"watchdogStreamKey","");se(this,"statsCollector",null);se(this,"wiredTracks",new WeakSet);this.iceServers=t.iceServers,this.polite=t.isPolite??t.role==="student",this.audioDirection=t.audioDirection,this.iceTransportPolicy=t.iceTransportPolicy,this.pcFactory=t.pcFactory??bie,this.cb={onLocalOffer:t.onLocalOffer,onLocalAnswer:t.onLocalAnswer,onLocalIce:t.onLocalIce,onRemoteTrack:t.onRemoteTrack,onStateChange:t.onStateChange,...t.onIceDisconnect!==void 0&&{onIceDisconnect:t.onIceDisconnect},...t.onIceRecover!==void 0&&{onIceRecover:t.onIceRecover},...t.onLocalTrackEnded!==void 0&&{onLocalTrackEnded:t.onLocalTrackEnded},...t.onLocalTrackMuted!==void 0&&{onLocalTrackMuted:t.onLocalTrackMuted},...t.onMediaStalled!==void 0&&{onMediaStalled:t.onMediaStalled}}}ensurePc(){if(this.pc)return this.pc;const t={iceServers:this.iceServers};this.iceTransportPolicy&&(t.iceTransportPolicy=this.iceTransportPolicy);const n=this.pcFactory(t);return this.statsCollector=new vie(()=>this.pc),n.onicecandidate=r=>{r.candidate&&this.cb.onLocalIce(r.candidate.toJSON())},n.ontrack=r=>{r.streams[0]&&this.cb.onRemoteTrack(r.streams[0])},n.onconnectionstatechange=()=>
92{this.pc===n&&(this.cb.onStateChange(n.connectionState),n.connectionState==="connected"&&this.applyVideoSendParams())},n.onnegotiationneeded=async()=>{var r;if(!(this.initiating||this.pc!==n))try{if(this.makingOffer=!0,await n.setLocalDescription(),!((r=n.localDescription)!=null&&r.sdp))throw new Error("setLocalDescription produced no SDP");this.pc===n&&n.signalingState==="have-local-offer"&&this.cb.onLocalOffer(n.localDescription.sdp)}catch(s){console.warn("[MediaClient] onnegotiationneeded offer failed",s)}finally{this.pc===n&&(this.makingOffer=!1)}},n.oniceconnectionstatechange=()=>{var s,i,a,l,c,u;if(this.pc!==n)return;const r=n.iceConnectionState;if(r==="disconnected"){if(this.iceDisconnectTimer)return;this.iceDisconnectTimer=setTimeout(()=>{var d,h;this.iceDisconnectTimer=null,this.pc===n&&(n.iceConnectionState==="disconnected"||n.iceConnectionState==="failed")&&((h=(d=this.cb).onIceDisconnect)==null||h.call(d),this.tryRestartIce())},_ie)}else r==="failed"?(this.iceDisconnectTimer&&(clearTimeout(this.iceDisconnectTimer),this.iceDisconnectTimer=null),(s=this.statsCollector)==null||s.dump("ice-failed"),(a=(i=this.cb).onIceDisconnect)==null||a.call(i),this.tryRestartIce()):(r==="connected"||r==="completed")&&(this.iceDisconnectTimer&&(clearTimeout(this.iceDisconnectTimer),this.iceDisconnectTimer=null),this.clearIceRestartTimer(),this.mediaStalled=!1,(c=(l=this.cb).onIceRecover)==null||c.call(l),this.startWatchdog(),(u=this.statsCollector)==null||u.start())},this.pc=n,n}tryRestartIce(){const t=this.pc;if(!t)return;const n=kie-(Date.now()-this.lastIceRestartAt);if(n>0){this.iceRestartTimer===null&&(this.iceRestartTimer=setTimeout(()=>{if(this.iceRestartTimer=null,this.pc!==t)return;const r=t.iceConnectionState;(r==="failed"||r==="disconnected"||(r==="connected"||r==="completed")&&this.mediaStalled)&&this.tryRestartIce()},n));return}this.clearIceRestartTimer();try{t.restartIce(),this.lastIceRestartAt=Date.now()}catch(r){console.warn("[MediaClient] restartIce failed",r)}}clearIceRestartTimer(){this.iceRestartTimer!==null&&(clearTimeout(this.iceRestartTimer),this.iceRestartTimer=null)}async applyVideoSendParams(){const t=this.pc;if(!t)return;const n=t.getSenders().find(s=>{var i;return((i=s.track)==null?void 0:i.kind)==="video"});if(!n)return;const r=n.getParameters();(!r.encodings||r.encodings.length===0)&&(r.encodings=[{}]),r.encodings[0].maxBitrate=Sie,r.encodings[0].maxFramerate=30,r.degradationPreference="maintain-framerate";try{await n.setParameters(r)}catch(s){console.warn("[MediaClient] setParameters failed",s)}}wireTrackEvents(t){if(this.wiredTracks.has(t))return;this.wiredTracks.add(t);const n=t.kind;t.addEventListener("ended",()=>{var r,s;(s=(r=this.cb).onLocalTrackEnded)==null||s.call(r,n)}),t.addEventListener("mute",()=>{var r,s;(s=(r=this.cb).onLocalTrackMuted)==null||s.call(r,n,!0)}),t.addEventListener("unmute",()=>{var r,s;(s=(r=this.cb).onLocalTrackMuted)==null||s.call(r,n,!1)})}attachLocalTracks(t){this.localStream=t;const n=this.ensurePc();for(const r of t.getTracks())n.getSenders().some(a=>a.track===r||a.track!==null&&a.track.kind===r.kind&&a.track.readyState!=="ended")||(n.addTrack(r,t),this.wireTrackEvents(r));this.applyAudioDirection()}applyAudioDirection(){var r,s;const t=this.audioDirection,n=this.pc;if(!(!t||!n)){for(const i of n.getTransceivers())if((((r=i.sender.track)==null?void 0:r.kind)??((s=i.receiver.track)==null?void 0:s.kind))==="audio"&&i.currentDirection!=="stopped")try{i.direction=t}catch{}}}async addLocalTrack(t,n){const r=this.ensurePc(),i=r.getSenders().find(a=>a.track!==null&&a.track.kind===t.kind&&a.track.readyState==="ended");if(i){await i.replaceTrack(t),this.wireTrackEvents(t),this.applyAudioDirection(),this.localStream||(this.localStream=n);return}r.addTrack(t,n),this.wireTrackEvents(t),this.applyAudioDirection(),this.localStream||(this.localStream=n)}async replaceLocalTrack(t,n){const r=this.pc;if(!r)return;const s=r.getSenders().find(i=>{var a;return((a=i.track)==null?void 0:a.kind)===n});s&&(await s.replaceTrack(t),this.wireTrackEvents(t))}async startAsInitiator(t){const n=this.ensurePc();this.initiating=!0;try{t?this.attachLocalTracks(t):(n.addTransceiver("audio",{direction:this.audioDirection??"recvonly"}),n.addTransceiver("video",{direction:"recvonly"})),this.applyAudioDirection();const r=await n.createOffer();if(this.pc!==n)return;await n.setLocalDescription(r),this.pc===n&&this.cb.onLocalOffer(r.sdp??"")}catch(r){if(this.pc===n)throw r}finally{this.pc===n&&(this.initiating=!1)}}async acceptOffer(t,n){const r=this.ensurePc(),i=!(!this.makingOffer&&(r.signalingState==="stable"||this.isSettingRemoteAnswerPending)),a=this.polite;if(this.ignoreOffer=!a&&i,!this.ignoreOffer)try{if(await r.setRemoteDescription({type:"offer",sdp:t}),this.pc!==r||(await this.flushPendingIce(),this.pc!==r))return;n&&this.attachLocalTracks(n);const l=await r.createAnswer();if(this.pc!==r)return;await r.setLocalDescription(l),this.pc===r&&this.cb.onLocalAnswer(l.sdp??"")}catch(l){if(this.pc===r)throw l}}async applyAnswer(t){const n=this.ensurePc();this.ignoreOffer=!1,this.isSettingRemoteAnswerPending=!0;try{await n.setRemoteDescription({type:"answer",sdp:t})}catch(r){if(this.pc===n)throw r}finally{this.pc===n&&(this.isSettingRemoteAnswerPending=!1)}this.pc===n&&await this.flushPendingIce()}async addRemoteIce(t){const n=this.ensurePc();if(!this.ignoreOffer){if(!n.remoteDescription){this.pendingRemoteIce.push(t);return}try{await n.addIceCandidate(t)}catch(r){console.warn("[MediaClient] addIceCandidate failed",r)}}}async flushPendingIce(){const t=this.pc;if(!t||!t.remoteDescription)return;const n=this.pendingRemoteIce;this.pendingRemoteIce=[];for(const r of n){if(this.pc!==t)return;try{await t.addIceCandidate(r)}catch(s){console.warn("[MediaClient] flushed addIceCandidate failed",s)}}}async reconnect(t){var n;this.clearIceRestartTimer(),this.iceDisconnectTimer&&(clearTimeout(this.iceDisconnectTimer),this.iceDisconnectTimer=null),this.stopWatchdog(),(n=this.statsCollector)==null||n.stop(),this.statsCollector=null,this.pc&&(this.pc.onicecandidate=null,this.pc.ontrack=null,this.pc.onconnectionstatechange=null,this.pc.oniceconnectionstatechange=null,this.pc.onnegotiationneeded=null,this.pc.close(),this.pc=null),this.pendingRemoteIce=[],this.ignoreOffer=!1,this.isSettingRemoteAnswerPending=!1,this.lastIceRestartAt=-1/0,t&&await this.startAsInitiator(this.localStream)}startWatchdog(){this.watchdogTimer===null&&(this.watchdogStaleTicks=0,this.watchdogLastPackets=null,this.watchdogTimer=setInterval(()=>{this.tickWatchdog()},wie))}stopWatchdog(){this.watchdogTimer!==null&&(clearInterval(this.watchdogTimer),this.watchdogTimer=null),this.watchdogStaleTicks=0,this.watchdogLastPackets=null,this.watchdogStreamKey="",this.mediaStalled=!1}async tickWatchdog(){var s,i,a,l;const t=this.pc;if(!t){this.stopWatchdog();return}if(t.iceConnectionState!=="connected"&&t.iceConnectionState!=="completed"){this.watchdogStaleTicks=0,this.watchdogLastPackets=null;return}let n=0,r="";try{const c=await t.getStats();if(this.pc!==t)return;if(t.iceConnectionState!=="connected"&&t.iceConnectionState!=="completed"){this.watchdogStaleTicks=0,this.watchdogLastPackets=null;return}const u=[];
92c.forEach(f=>{f.type==="inbound-rtp"&&typeof f.packetsReceived=="number"&&u.push({...f,packetsReceived:f.packetsReceived})});const d=u.filter(f=>(f.kind??f.mediaType)==="audio"),h=d.length?d:u;n=h.reduce((f,p)=>f+p.packetsReceived,0),r=h.map(f=>f.id??f.kind??f.mediaType??"unknown").sort().join(",")}catch{return}r!==this.watchdogStreamKey&&(this.watchdogStaleTicks=0,this.watchdogLastPackets=null,this.watchdogStreamKey=r),this.watchdogLastPackets!==null&&r!==""&&n===this.watchdogLastPackets?(this.watchdogStaleTicks++,this.watchdogStaleTicks>=xie&&(this.watchdogStaleTicks=0,this.watchdogLastPackets=null,this.mediaStalled=!0,(i=(s=this.cb).onMediaStalled)==null||i.call(s),this.tryRestartIce())):(this.watchdogStaleTicks=0,this.mediaStalled&&n>(this.watchdogLastPackets??0)&&(this.clearIceRestartTimer(),this.mediaStalled=!1,(l=(a=this.cb).onIceRecover)==null||l.call(a))),this.watchdogLastPackets=n}toggleMic(t){var n;if(this.pc){for(const r of this.pc.getSenders())((n=r.track)==null?void 0:n.kind)==="audio"&&(r.track.enabled=t);return}if(this.localStream)for(const r of this.localStream.getAudioTracks())r.enabled=t}toggleCam(t){var n;if(this.pc){for(const r of this.pc.getSenders())((n=r.track)==null?void 0:n.kind)==="video"&&(r.track.enabled=t);return}if(this.localStream)for(const r of this.localStream.getVideoTracks())r.enabled=t}stopCam(){var t;if(this.pc)for(const n of this.pc.getSenders())((t=n.track)==null?void 0:t.kind)==="video"&&n.track.readyState!=="ended"&&n.track.stop();if(this.localStream)for(const n of this.localStream.getVideoTracks())n.readyState!=="ended"&&n.stop()}stop(){var t;this.clearIceRestartTimer(),this.lastIceRestartAt=-1/0,this.iceDisconnectTimer&&(clearTimeout(this.iceDisconnectTimer),this.iceDisconnectTimer=null),this.stopWatchdog(),(t=this.statsCollector)==null||t.stop(),this.statsCollector=null,this.localStream=null,this.pc&&(this.pc.onicecandidate=null,this.pc.ontrack=null,this.pc.onconnectionstatechange=null,this.pc.oniceconnectionstatechange=null,this.pc.onnegotiationneeded=null,this.pc.close(),this.pc=null)}}const Ex=e=>e.selfRole!==e.peerRole?e.selfRole==="student":e.selfParticipantId<e.peerParticipantId,jie=e=>e.allowMultipleStudents?e.selfRole==="teacher"||e.peerRole==="teacher":!0;class Cie{constructor(){se(this,"opts",null);se(this,"peers",new Map);se(this,"peerStates",new Map);se(this,"pending",new Map);se(this,"signalingDisconnected",new Set);se(this,"deferredInitiate",new Set);se(this,"localStream",null);se(this,"mediaSettled",!1);se(this,"syncRevision",0)}configure(t){this.clear(),this.opts=t}get isConfigured(){return this.opts!==null}async setLocalStream(t){if(this.opts){this.localStream=t,this.mediaSettled=!0;for(const n of[...this.peers.keys()])await this.runPerPeer(n,r=>this.drainPending(n,r))}}async runPerPeer(t,n){const r={};try{await n(r)}catch(s){if(r.client&&this.peers.get(t)!==r.client){console.warn("[MeshClient] stale peer operation failed; replacement kept",t,s);return}console.warn("[MeshClient] peer operation failed; dropping for retry",t,s),this.removePeer(t)}}async syncPeers(t){const n=this.opts,r=n==null?void 0:n.getSelf();if(!n||!r)return;const s=++this.syncRevision,i=t.filter(l=>l.participantId!==r.participantId&&jie({selfRole:r.role,peerRole:l.role,allowMultipleStudents:n.allowMultipleStudents})),a=new Set(i.map(l=>l.participantId));for(const l of[...this.peers.keys()]){const c=i.length===0&&this.signalingDisconnected.has(l);!a.has(l)&&!c&&this.removePeer(l)}for(const l of i){if(s!==this.syncRevision)return;await this.runPerPeer(l.participantId,c=>this.connectIfInitiator(l,c))}}async connectIfInitiator(t,n){var a;const r=(a=this.opts)==null?void 0:a.getSelf();if(!r||this.peers.has(t.participantId)||Ex({selfRole:r.role,selfParticipantId:r.participantId,peerRole:t.role,peerParticipantId:t.participantId}))return;const i=this.ensurePeer(t);if(n&&(n.client=i),!this.mediaSettled){this.deferredInitiate.add(t.participantId);return}await i.startAsInitiator(this.localStream)}async onOffer(t,n,r){var s;if(this.ensurePeer({participantId:t,role:r}),!this.mediaSettled){this.pendingFor(t).offer=n;return}await((s=this.peers.get(t))==null?void 0:s.acceptOffer(n,this.localStream))}async onAnswer(t,n){var r;await((r=this.peers.get(t))==null?void 0:r.applyAnswer(n))}async onIce(t,n,r){var s;if(this.ensurePeer({participantId:t,role:r}),!this.mediaSettled){this.pendingFor(t).ice.push(n);return}await((s=this.peers.get(t))==null?void 0:s.addRemoteIce(n))}retainPeerForReconnect(t){this.opts&&!this.opts.allowMultipleStudents&&this.peers.has(t)&&this.signalingDisconnected.add(t)}removePeer(t){var r;this.signalingDisconnected.delete(t);const n=this.peers.get(t);n&&(n.stop(),this.peers.delete(t),this.peerStates.delete(t),this.pending.delete(t),this.deferredInitiate.delete(t),(r=this.opts)==null||r.onPeerClosed(t),this.emitAggregate())}async replaceLocalTrack(t,n){for(const r of[...this.peers.keys()]){const s=this.peers.get(r);s&&await this.runPerPeer(r,i=>(i.client=s,s.replaceLocalTrack(t,n)))}}async addLocalTrack(t,n){if(this.opts){this.localStream=n;for(const r of[...this.peers.keys()]){const s=this.peers.get(r);s&&await this.runPerPeer(r,i=>(i.client=s,s.addLocalTrack(t,n)))}}}toggleMic(t){if(this.peers.size===0){if(this.localStream)for(const n of this.localStream.getAudioTracks())n.enabled=t;return}for(const n of this.peers.values())n.toggleMic(t)}stopCam(){for(const t of this.peers.values())t.stopCam();if(this.localStream)for(const t of this.localStream.getVideoTracks())t.readyState!=="ended"&&t.stop()}peerIds(){return[...this.peers.keys()]}dropAllPeers(){this.syncRevision++;for(const t of[...this.peers.keys()])this.removePeer(t)}clear(){this.syncRevision++;for(const t of this.peers.values())t.stop();if(this.localStream)for(const t of this.localStream.getTracks())t.stop();this.peers.clear(),this.peerStates.clear(),this.pending.clear(),this.signalingDisconnected.clear(),this.deferredInitiate.clear(),this.localStream=null,this.mediaSettled=!1,this.opts=null}pendingFor(t){let n=this.pending.get(t);return n||(n={offer:null,ice:[]},this.pending.set(t,n)),n}async drainPending(t,n){const r=this.peers.get(t);if(!r)return;n&&(n.client=r);const s=this.pending.get(t);if(s){this.pending.delete(t),s.offer!==null&&await r.acceptOffer(s.offer,this.localStream);for(const i of s.ice){if(this.peers.get(t)!==r)return;await r.addRemoteIce(i)}}this.peers.get(t)===r&&this.deferredInitiate.delete(t)&&await r.startAsInitiator(this.localStream)}ensurePeer(t){const n=this.peers.get(t.participantId);if(n)return n;const r=this.opts,s=r==null?void 0:r.getSelf();if(!r||!s)throw new Error("MeshClient not configured");const i=t.participantId,a=new Tie({iceServers:r.iceServers,role:s.role,isPol
92ite:Ex({selfRole:s.role,selfParticipantId:s.participantId,peerRole:t.role,peerParticipantId:i}),...r.allowMultipleStudents&&s.role==="teacher"?{audioDirection:"sendonly"}:{},...r.iceTransportPolicy?{iceTransportPolicy:r.iceTransportPolicy}:{},...r.pcFactory?{pcFactory:r.pcFactory}:{},onLocalOffer:l=>r.send({t:"rtc.offer",sdp:l,to:i}),onLocalAnswer:l=>r.send({t:"rtc.answer",sdp:l,to:i}),onLocalIce:l=>r.send({t:"rtc.ice",candidate:l,to:i}),onRemoteTrack:l=>r.onRemoteTrack(i,l),onStateChange:l=>{this.peerStates.set(i,l),this.emitAggregate()},...r.onIceDisconnect?{onIceDisconnect:r.onIceDisconnect}:{},...r.onIceRecover?{onIceRecover:r.onIceRecover}:{},...r.onLocalTrackEnded?{onLocalTrackEnded:r.onLocalTrackEnded}:{},...r.onMediaStalled?{onMediaStalled:r.onMediaStalled}:{}});return this.peers.set(i,a),a}emitAggregate(){var r,s;const t=[...this.peerStates.values()];if(t.length===0){(r=this.opts)==null||r.onAggregateState("none");return}const n=["connected","connecting","new","disconnected","failed","closed"];for(const i of n)if(t.includes(i)){(s=this.opts)==null||s.onAggregateState(i);return}}}const tn=new Cie,zx={status:"idle",roomId:null,self:null,peer:null,teacher:null,students:[],driverRole:"teacher",driverParticipantId:null,activeStudentId:null,interactive:null,allowMultipleStudents:!1,studentCapacity:1,studentCount:0,studentSeatCount:0,iceServers:[],errorMessage:null,sessionStartedAt:null,studentLang:null,studentLangLocked:!1,wsState:"connected",peerConnectionDropped:!1,tts:{enabled:!1,autoplay:!1},ttsAvailable:!1,analysisVisible:!0,gameModeEnabled:!1},J=mt(e=>({...zx,presentation:{...Wm},interviewError:null,interviewContextSupported:!1,setPresentation:t=>e({presentation:t}),setInterviewError:t=>e({interviewError:t}),setStudentLang:t=>e({studentLang:t}),setStudentLangLocked:t=>e({studentLangLocked:t}),setParticipantLang:(t,n)=>e(r=>{var s,i,a;return{self:((s=r.self)==null?void 0:s.participantId)===t?{...r.self,lang:n}:r.self,peer:((i=r.peer)==null?void 0:i.participantId)===t?{...r.peer,lang:n}:r.peer,teacher:((a=r.teacher)==null?void 0:a.participantId)===t?{...r.teacher,lang:n}:r.teacher,students:r.students.map(l=>l.participantId===t?{...l,lang:n}:l)}}),setWsState:t=>e({wsState:t}),setPeerConnectionDropped:t=>e({peerConnectionDropped:t}),setTts:t=>e({tts:t}),setAnalysisVisible:t=>e({analysisVisible:t}),setStatus:t=>e({status:t}),setRoomState:({presentation:t={...Wm},roomId:n,self:r,peer:s,teacher:i=null,students:a=[],driverRole:l,driverParticipantId:c=null,activeStudentId:u=null,interactive:d,allowMultipleStudents:h=!1,studentCapacity:f=1,studentCount:p=0,studentSeatCount:m=0,iceServers:y,sessionStartedAt:_,tts:g={enabled:!1,autoplay:!1},ttsAvailable:b=!1,analysisVisible:k=!0,gameModeEnabled:x=!1})=>e({presentation:t,interviewError:null,status:"ready",roomId:n,self:r,peer:s,teacher:i,students:a,driverRole:l,driverParticipantId:c,activeStudentId:u,interactive:d,allowMultipleStudents:h,studentCapacity:f,studentCount:p,studentSeatCount:m,iceServers:y,errorMessage:null,sessionStartedAt:_,tts:g,ttsAvailable:b,analysisVisible:k,gameModeEnabled:x}),setPeer:t=>e({peer:t}),setParticipants:({teacher:t,students:n,studentCount:r,studentSeatCount:s})=>e({teacher:t,students:n,studentCount:r,studentSeatCount:s}),setDriverRole:t=>e({driverRole:t}),setDriverParticipantId:t=>e({driverParticipantId:t}),setActiveStudentId:t=>e({activeStudentId:t}),setInteractive:t=>e({interactive:t}),setError:t=>e({status:"error",errorMessage:t}),reset:()=>e({...zx,presentation:{...Wm},interviewError:null,interviewContextSupported:!1})})),W3=e=>e.self!==null&&(e.driverParticipantId?e.self.participantId===e.driverParticipantId:e.self.role===e.driverRole),vv=e=>{if(e.self===null)return!1;if(!e.allowMultipleStudents)return e.peer!==null;const t=e.self.participantId;return e.teacher!==null&&e.teacher.participantId!==t?!0:e.students.some(n=>n.participantId!==t)},Eie=e=>{var n;const t=J.getState();if(e.t==="participant.disconnected"&&!t.allowMultipleStudents){tn.retainPeerForReconnect(e.participantId),t.setParticipants({teacher:t.teacher,students:t.students,studentCount:e.studentCount,studentSeatCount:e.studentSeatCount});return}t.setParticipants({teacher:((n=t.teacher)==null?void 0:n.participantId)===e.participantId?null:t.teacher,students:t.students.filter(r=>r.participantId!==e.participantId),studentCount:e.studentCount,studentSeatCount:e.studentSeatCount}),tn.removePeer(e.participantId)};let F3=0;const G8=()=>F3,zie=()=>++F3,Nie=()=>{F3++},jn=(e,t)=>{if(e===F3)return!1;if(t)if("getTracks"in t)for(const n of t.getTracks())n.stop();else t.stop();return!0},Nx=[500,1e3,2e3,5e3],Iie=3e4,Rie=15e3,Pie=2;class Aie{constructor(){se(this,"ws",null);se(this,"listeners",new Set);se(this,"roomId",null);se(this,"helloParams",null);se(this,"onConnectionState",null);se(this,"retryCount",0);se(this,"retryTimer",null);se(this,"retryStartedAt",0);se(this,"intentionallyClosed",!1);se(this,"heartbeatTimer",null);se(this,"missedPongs",0);se(this,"connectionEpoch",0);se(this,"awaitingReconnectAttach",!1);se(this,"attached",!1);se(this,"setupRequest",null)}startSetup(t){var r;if(this.setupRequest)return Promise.resolve({code:"pending"});if(!this.attached||((r=this.ws)==null?void 0:r.readyState)!==WebSocket.OPEN)return Promise.resolve({code:"disconnected"});const n=crypto.randomUUID();return new Promise(s=>{const i=setTimeout(()=>{var a;(a=this.setupRequest)==null||a.finish({code:"timeout"}),this.reconnectSetupSocket()},15e3);this.setupRequest={requestId:n,finish:a=>{clearTimeout(i),this.setupRequest=null,s(a)}};try{this.ws.send(JSON.stringify({...t,requestId:n}))}catch{this.setupRequest.finish({code:"disconnected"}),this.reconnectSetupSocket()}})}reconnectSetupSocket(){this.stopHeartbeat(),this.ws&&this.abandonSocket(this.ws),this.intentionallyClosed||this.startReconnect()}setConnectionStateCallback(t){this.onConnectionState=t}connect(t){var n;return(n=this.setupRequest)==null||n.finish({code:"disconnected"}),this.attached=!1,this.roomId=t,this.intentionallyClosed=!1,this.connectionEpoch++,new Promise((r,s)=>{const i=window.location.protocol==="https:"?"wss:":"ws:",a=new WebSocket(`${i}//${window.location.host}/ws?room=${encodeURIComponent(t)}`);this.ws=a,a.onopen=()=>{this.retryCount=0,this.startHeartbeat(a),r()},a.onerror=l=>s(l),a.onmessage=l=>
92this.handleIncoming(String(l.data)),a.onclose=()=>{this.stopHeartbeat(),!this.intentionallyClosed&&this.startReconnect()}})}startReconnect(){var t,n;(t=this.setupRequest)==null||t.finish({code:"disconnected"}),this.attached=!1,this.awaitingReconnectAttach=!1,this.retryStartedAt=Date.now(),this.retryCount=0,(n=this.onConnectionState)==null||n.call(this,"reconnecting"),this.scheduleRetry()}scheduleRetry(){var s;if(this.intentionallyClosed)return;if(Date.now()-this.retryStartedAt>=Iie){(s=this.onConnectionState)==null||s.call(this,"disconnected");return}const n=Math.min(this.retryCount,Nx.length-1),r=Nx[n];this.retryCount++,this.retryTimer=setTimeout(()=>{this.retryTimer=null,!this.intentionallyClosed&&this.attemptReconnect()},r)}attemptReconnect(){if(!this.roomId)return;const t=this.connectionEpoch,n=window.location.protocol==="https:"?"wss:":"ws:",r=new WebSocket(`${n}//${window.location.host}/ws?room=${encodeURIComponent(this.roomId)}`);r.onopen=()=>{var s;if(this.intentionallyClosed||t!==this.connectionEpoch){this.abandonSocket(r);return}this.ws=r,this.retryCount=0,this.startHeartbeat(r),(s=this.onConnectionState)==null||s.call(this,"connected"),this.helloParams&&(this.send({t:"hello",...this.helloParams}),this.awaitingReconnectAttach=!0)},r.onerror=()=>{},r.onclose=()=>{this.intentionallyClosed||t!==this.connectionEpoch||(this.stopHeartbeat(),this.attached?this.startReconnect():this.scheduleRetry())},r.onmessage=s=>this.handleIncoming(String(s.data))}handleIncoming(t){var r;let n;try{n=JSON.parse(t)}catch{return}if(n.t==="setup.result"){n.requestId===((r=this.setupRequest)==null?void 0:r.requestId)&&this.setupRequest.finish({code:n.code});return}if(n.t==="pong"){this.missedPongs=0;return}if(this.awaitingReconnectAttach&&n.t==="error"&&n.code==="already-attached"){this.awaitingReconnectAttach=!1,this.stopHeartbeat(),this.ws&&this.abandonSocket(this.ws),this.intentionallyClosed||this.scheduleRetry();return}n.t==="room.state"&&(this.awaitingReconnectAttach=!1,this.attached=!0);for(const s of this.listeners)s(n)}startHeartbeat(t){this.stopHeartbeat(),this.missedPongs=0,this.heartbeatTimer=setInterval(()=>{if(this.ws!==t||t.readyState!==WebSocket.OPEN){this.stopHeartbeat();return}if(this.missedPongs>=Pie){this.stopHeartbeat(),this.abandonSocket(t),this.intentionallyClosed||this.startReconnect();return}this.missedPongs++,t.send(JSON.stringify({t:"ping"}))},Rie)}stopHeartbeat(){this.heartbeatTimer!==null&&(clearInterval(this.heartbeatTimer),this.heartbeatTimer=null)}abandonSocket(t){t.onopen=null,t.onmessage=null,t.onerror=null,t.onclose=null;try{t.close()}catch{}}send(t){if(t.t==="hello"){const{t:n,...r}=t;this.helloParams=r}!this.ws||this.ws.readyState!==WebSocket.OPEN||this.ws.send(JSON.stringify(t))}updateCachedLang(t){this.helloParams&&(this.helloParams={...this.helloParams,lang:t})}sendBinary(t){!this.ws||this.ws.readyState!==WebSocket.OPEN||this.ws.send(t)}get wsState(){return this.ws}onMessage(t){return this.listeners.add(t),()=>this.listeners.delete(t)}close(){var t;(t=this.setupRequest)==null||t.finish({code:"disconnected"}),this.intentionallyClosed=!0,this.stopHeartbeat(),this.attached=!1,this.awaitingReconnectAttach=!1,this.retryTimer&&(clearTimeout(this.retryTimer),this.retryTimer=null),this.ws&&this.abandonSocket(this.ws),this.ws=null,this.helloParams=null,this.roomId=null}}const he=new Aie,Ix=200,Rx=(e,t,n,r)=>{const s=e.findIndex(a=>a.id===t);if(s===-1){const a=[...e,n()];return a.length>Ix&&a.splice(0,a.length-Ix),a}const i=e.slice();return i[s]=r(e[s]),i},ht=mt(e=>({rows:[],asrUnavailable:!1,listeningRole:null,stillListening:!1,addInterim:t=>e(n=>({rows:Rx(n.rows,t.id,()=>({id:t.id,speakerRole:t.speakerRole,speakerLang:t.speakerLang,original:t.original,translated:null,tgtLang:null,ts:t.ts,status:"interim"}),r=>({...r,original:t.original,ts:t.ts,status:"interim"}))})),addFinal:t=>e(n=>{let r;return t.translated!==null?r="final":t.tgtLang!==null&&t.tgtLang!==t.speakerLang?r="translating":r="failed",{rows:Rx(n.rows,t.id,()=>({id:t.id,speakerRole:t.speakerRole,speakerName:t.speakerName,startMs:t.startMs,speakerLang:t.speakerLang,original:t.original,translated:t.translated,tgtLang:t.tgtLang,ts:t.ts,status:r}),s=>({...s,speakerName:t.speakerName,startMs:t.startMs,original:t.original,translated:t.translated,tgtLang:t.tgtLang,ts:t.ts,status:r}))}}),addPartial:(t,n)=>e(r=>({rows:r.rows.map(s=>s.id===t&&s.status==="translating"?{...s,translated:n}:s)})),addTranslated:(t,n)=>e(r=>({rows:r.rows.map(s=>s.id===t?{...s,translated:n,status:n!==null?"final":"failed"}:s)})),setTranslationStatus:(t,n)=>e(r=>({rows:r.rows.map(s=>s.id===t&&s.status!=="final"?{...s,status:n,translated:null}:s)})),setListening:t=>e({listeningRole:t,stillListening:!1}),setStillListening:t=>e({stillListening:t}),setAsrUnavailable:t=>e({asrUnavailable:t}),reset:()=>e({rows:[],asrUnavailable:!1,listeningRole:null,stillListening:!1})}
92)),P5=200,Cn=mt(e=>({messages:[],appendMessage:t=>e(n=>{const r=[...n.messages,t];return r.length>P5&&r.splice(0,r.length-P5),{messages:r}}),attachTranslation:(t,n,r)=>e(s=>({messages:s.messages.map(i=>i.id===t?{...i,translationStatus:"final",translated:{lang:n,text:r}}:i)})),setTranslationStatus:(t,n)=>e(r=>({messages:r.messages.map(s=>s.id===t&&!s.translated?{...s,translationStatus:n}:s)})),hydrate:t=>e(()=>({messages:t.slice(-P5)})),reset:()=>e({messages:[]})}));let Lie="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",na=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=Lie[n[e]&63];return t};const Px=3,qt=mt((e,t)=>({banners:[],add:(n,r,s=0)=>{const i=na(8),a={id:i,level:n,message:r,autoDismissMs:s};return e(l=>{const c=[...l.banners,a];return c.length>Px&&c.splice(0,c.length-Px),{banners:c}}),s>0&&setTimeout(()=>{t().dismiss(i)},s),i},dismiss:n=>e(r=>({banners:r.banners.filter(s=>s.id!==n)})),clear:()=>e({banners:[]})})),Ax="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&family=Noto+Sans+SC:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+KR:wght@400;600&family=Noto+Serif+SC:wght@400;600&family=Noto+Serif+JP:wght@400;600&display=swap",Mie=new Set(["ko","zh","zh-TW","ja"]);let A5=!1;const OA=e=>{if(A5||typeof document>"u"||!Mie.has(e))return;if(document.querySelector(`link[href="${Ax}"]`)){A5=!0;return}const t=document.createElement("link");t.rel="stylesheet",t.href=Ax,document.head.appendChild(t),A5=!0},Lx=ly,DA="gt.uiLang",Oie=e=>{const t=e.toLowerCase();return t.startsWith("zh")?t.includes("tw")||t.includes("hk")||t.includes("hant")?"zh-TW":"zh":null},Die=(e,t)=>{if(e&&Lx.includes(e))return e;for(const n of t){const r=Oie(n);if(r)return r;const s=n.slice(0,2).toLowerCase(),i=Lx.find(a=>a===s);if(i)return i}return"en"},vt=mt(e=>({uiLang:"en",setUiLang:t=>{if(typeof window<"u"){try{localStorage.setItem(DA,t)}catch{}OA(t)}e({uiLang:t})}})),Wie=()=>{if(typeof window>"u")return;let e=null;try{e=localStorage.getItem(DA)}catch{}const t=navigator.languages??(navigator.language?[navigator.language]:[]),n=Die(e,t);OA(n),vt.setState({uiLang:n})},Fie={"groupEditorRecovery.writeError":{en:"Could not confirm this change. Use Retry to reload and check your sessions before making another change.",ko:"변경 사항을 확인하지 못했습니다. 다른 변경을 하기 전에 다시 시도로 수업 목록을 불러와 확인해 주세요.",zh:"无法确认此次更改。请点击“重试”重新加载并检查课程,再进行其他更改。","zh-TW":"無法確認此次變更。請點擊「重試」重新載入並檢查課程,再進行其他變更。",ja:"変更を確認できませんでした。次の変更を行う前に「再試行」でレッスンを再読み込みして確認してください。",fr:"Impossible de confirmer cette modification. Utilisez « Réessayer » pour recharger et vérifier vos cours avant toute autre modification.",de:"Die Änderung konnte nicht bestätigt werden. Laden und prüfen Sie mit „Erneut versuchen“ Ihre Kurse, bevor Sie weitere Änderungen vornehmen."},"groupEditorRecovery.cancelError":{en:"Could not confirm this change. Use Retry to reload and check your sessions before making another change. Session status does not show individual refund progress.",ko:"변경 사항을 확인하지 못했습니다. 다른 변경을 하기 전에 다시 시도로 수업 목록을 불러와 확인해 주세요. 수업 상태에는 개별 환불 진행 상황이 표시되지 않습니다.",zh:"无法确认此次更改。请点击“重试”重新加载并检查课程,再进行其他更改。课程状态不显示各笔退款的进度。","zh-TW":"無法確認此次變更。請點擊「重試」重新載入並檢查課程,再進行其他變更。課程狀態不顯示各筆退款的進度。",ja:"変更を確認できませんでした。次の変更を行う前に「再試行」でレッスンを再読み込みして確認してください。レッスンの状態には個別の返金状況は表示されません。",fr:"Impossible de confirmer cette modification. Utilisez « Réessayer » pour recharger et vérifier vos cours avant toute autre modification. Leur statut ne montre pas la progression des remboursements individuels.",de:"Die Änderung konnte nicht bestätigt werden. Laden und prüfen Sie mit „Erneut versuchen“ Ihre Kurse, bevor Sie weitere Änderungen vornehmen. Der Kursstatus zeigt nicht den Fortschritt einzelner Erstattungen."}},$ie={"overrideRecovery.scope":{en:"All saved date adjustments are shown, including past and future dates.",ko:"지난 날짜와 앞으로의 날짜를 포함하여 저장된 모든 날짜별 조정을 표시합니다.",zh:"显示所有已保存的日期调整,包括过去和未来的日期。","zh-TW":"顯示所有已儲存的日期調整,包括過去和未來的日期。",ja:"過去と未来の日付を含む、保存済みのã
92™ã¹ã¦ã®æ—¥ä»˜èª¿æ•´ã‚’表示します。",fr:"Tous les ajustements enregistrés sont affichés, y compris les dates passées et futures.",de:"Alle gespeicherten Datumsanpassungen werden angezeigt, einschließlich vergangener und zukünftiger Termine."},"overrideRecovery.empty":{en:"No saved date adjustments.",ko:"저장된 날짜별 조정이 없습니다.",zh:"暂无已保存的日期调整。","zh-TW":"尚無已儲存的日期調整。",ja:"保存済みの日付調整はありません。",fr:"Aucun ajustement de date enregistré.",de:"Keine gespeicherten Datumsanpassungen."},"overrideRecovery.date":{en:"Date",ko:"날짜",zh:"日期","zh-TW":"日期",ja:"日付",fr:"Date",de:"Datum"},"overrideRecovery.kind":{en:"Change type",ko:"변경 유형",zh:"调整类型","zh-TW":"調整類型",ja:"変更の種類",fr:"Type de modification",de:"Art der Änderung"},"overrideRecovery.invalidDate":{en:"Choose a valid date.",ko:"유효한 날짜를 선택해 주세요.",zh:"请选择有效日期。","zh-TW":"請選擇有效日期。",ja:"有効な日付を選んでください。",fr:"Choisissez une date valide.",de:"Wählen Sie ein gültiges Datum."},"overrideRecovery.invalidTime":{en:"Enter valid times with the end after the start.",ko:"종료 시간이 시작 시간보다 늦도록 유효한 시간을 입력해 주세요.",zh:"请输入有效时间,结束时间须晚于开始时间。","zh-TW":"請輸入有效時間,結束時間須晚於開始時間。",ja:"終了時刻が開始時刻より後になるよう、有効な時刻を入力してください。",fr:"Saisissez des horaires valides, avec une fin après le début.",de:"Geben Sie gültige Zeiten ein; das Ende muss nach dem Beginn liegen."},"overrideRecovery.writeError":{en:"Could not confirm this change. Use Retry to reload and check your saved overrides before making another change.",ko:"변경 사항을 확인하지 못했습니다. 다른 변경을 하기 전에 다시 시도로 저장된 예외 일정을 불러와 확인해 주세요.",zh:"无法确认此次更改。请点击“重试”重新加载并检查已保存的特殊日期安排,然后再进行其他更改。","zh-TW":"無法確認此次變更。請點擊「重試」重新載入並檢查已儲存的特殊日期安排,然後再進行其他變更。",ja:"変更を確認できませんでした。次の変更を行う前に、「再試行」で保存済みの例外設定を再読み込みして確認してください。",fr:"Impossible de confirmer cette modification. Utilisez « Réessayer » pour recharger et vérifier les exceptions enregistrées avant toute autre modification.",de:"Die Änderung konnte nicht bestätigt werden. Laden und prüfen Sie mit „Erneut versuchen“ die gespeicherten Ausnahmen, bevor Sie weitere Änderungen vornehmen."},"overrideRecovery.deleteName":{en:"{action}: {date}, {kind}, {start}–{end}",ko:"{action}: {date}, {kind}, {start}–{end}",zh:"{action}:{date},{kind},{start}–{end}","zh-TW":"{action}:{date},{kind},{start}–{end}",ja:"{action}:{date}、{kind}、{start}–{end}",fr:"{action} : {date}, {kind}, {start}–{end}",de:"{action}: {date}, {kind}, {start}–{end}"}},Bie={"schedule.access.start":{en:"Start",ko:"시작",zh:"开始","zh-TW":"開始",ja:"開始",fr:"Début",de:"Beginn"},"schedule.access.end":{en:"End",ko:"종료",zh:"结束","zh-TW":"結束",ja:"終了",fr:"Fin",de:"Ende"},"schedule.access.startName":{en:"{day}, window {window}, Start",ko:"{day}, 시간대 {window}, 시작",zh:"{day},时段 {window},开始","zh-TW":"{day},時段 {window},開始",ja:"{day}、時間枠 {window}、開始",fr:"{day}, créneau {window}, Début",de:"{day}, Zeitfenster {window}, Beginn"},"schedule.access.endName":{en:"{day}, window {window}, End",ko:"{day}, 시간대 {window}, 종료",zh:"{day},时段 {window},结束","zh-TW":"{day},時段 {window},結束",ja:"{day}、時間枠 {window}、終了",fr:"{day}, créneau {window}, Fin",de:"{day}, Zeitfenster {window}, Ende"},"schedule.access.addName":{en:"+ Add window — {day}",ko:"+ 시간 추가 — {day}",zh:"+ 添加时段 — {day}","zh-TW":"+ 新增時段 — {day}",ja:"+ 時間を追加 — {day}",fr:"+ Ajouter un créneau — {day}",de:"+ Zeitfenster hinzufügen — {day}"},"schedule.access.removeName":{en:"Remove {day}, window {window}",ko:"{day}, 시간대 {window} 삭제",zh:"删除{day}时段 {window}","zh-TW":"刪除{day}時段 {window}",ja:"{day}、時間枠 {window}を削除",fr:"Supprimer {day}, créneau {window}",de:"{day}, Zeitfenster {window} entfernen"}},Uie={"groupSetup.mediaHint":{en:"Group classrooms use the board and teacher audio. Cameras are off for everyone; your microphone is optional.",ko:"그룹 수업에서는 바둑판과 선생님의 음성을 사용합니다. 모두의 카메라는 꺼져 있으며, 선생님은 마이크 사용 여부를 ì
92„ íƒí•  수 있습니다.",zh:"小组课堂使用棋盘和老师的语音。所有人的摄像头均关闭;您可以自行选择是否启用麦克风。","zh-TW":"小組課堂使用棋盤和老師的語音。所有人的攝像頭均關閉;您可以自行選擇是否啟用麥克風。",ja:"グループレッスンでは碁盤と講師の音声を使用します。カメラは全員オフです。マイクの使用は講師が選べます。",fr:"Les cours collectifs utilisent le goban et la voix du professeur. Les caméras sont désactivées pour tous ; votre microphone reste facultatif.",de:"Gruppenunterricht nutzt das Go-Brett und die Stimme der Lehrkraft. Alle Kameras bleiben aus; Ihr Mikrofon ist optional."}},qie={"lessonDetailRecovery.error":{en:"We couldn’t load this lesson record. Please try again.",ko:"수업 기록을 불러오지 못했습니다. 다시 시도해 주세요.",zh:"无法加载这节课的记录,请重试。","zh-TW":"無法載入這堂課的紀錄,請重試。",ja:"レッスン記録を読み込めませんでした。もう一度お試しください。",fr:"Impossible de charger le compte rendu du cours. Veuillez réessayer.",de:"Die Unterrichtsaufzeichnung konnte nicht geladen werden. Bitte versuchen Sie es erneut."},"lessonDetailRecovery.retry":{en:"Try again",ko:"다시 시도",zh:"重试","zh-TW":"重試",ja:"再試行",fr:"Réessayer",de:"Erneut versuchen"},"lessonDetailRecovery.notFound":{en:"This lesson record isn’t available.",ko:"이 수업 기록을 ë³¼ 수 없습니다.",zh:"这节课的记录不可用。","zh-TW":"這堂課的紀錄無法使用。",ja:"このレッスン記録は表示できません。",fr:"Le compte rendu de ce cours n’est pas disponible.",de:"Diese Unterrichtsaufzeichnung ist nicht verfügbar."}},Hie={"teach.status.title":{en:"Teacher application status",ko:"강사 신청 상태",zh:"老师入驻申请状态","zh-TW":"老師入駐申請狀態",ja:"講師申し込み状況",fr:"Statut de votre candidature",de:"Status Ihrer Lehrkraftbewerbung"},"teach.status.loading":{en:"Checking your application status…",ko:"신청 상태를 확인하는 중입니다…",zh:"正在查询申请状态…","zh-TW":"正在查詢申請狀態…",ja:"申し込み状況を確認中…",fr:"Vérification de votre candidature…",de:"Ihr Bewerbungsstatus wird geprüft…"},"teach.status.loadError":{en:"Could not check your application status. Please try again.",ko:"신청 상태를 확인하지 못했습니다. 다시 시도해 주세요.",zh:"无法查询申请状态,请重试。","zh-TW":"無法查詢申請狀態,請重試。",ja:"申し込み状況を確認できませんでした。再試行してください。",fr:"Impossible de vérifier votre candidature. Veuillez réessayer.",de:"Ihr Bewerbungsstatus konnte nicht geprüft werden. Bitte versuchen Sie es erneut."},"teach.status.retry":{en:"Retry",ko:"다시 시도",zh:"重试","zh-TW":"重試",ja:"再試行",fr:"Réessayer",de:"Erneut versuchen"},"teach.status.none":{en:"You have not submitted a teacher application with this account.",ko:"이 계정으로 제출한 강사 신청이 없습니다.",zh:"此账号尚未提交老师入驻申请。","zh-TW":"此帳號尚未提交老師入駐申請。",ja:"このアカウントでは講師の申し込みがまだ提出されていません。",fr:"Vous n’avez pas envoyé de candidature de professeur avec ce compte.",de:"Mit diesem Konto wurde noch keine Lehrkraftbewerbung eingereicht."},"teach.status.apply":{en:"Apply to teach",ko:"강사 신청하기",zh:"申请成为老师","zh-TW":"申請成為老師",ja:"講師に申し込む",fr:"Postuler comme professeur",de:"Als Lehrkraft bewerben"},"teach.status.redirecting":{en:"Your application is approved. Opening your home page…",ko:"신청이 승인되었습니다. 홈 화면으로 이동합니다…",zh:"您的申请已通过,正在打开主页…","zh-TW":"您的申請已通過,正在開啟首頁…",ja:"申し込みが承認されました。ホーム画面を開いています…",fr:"Votre candidature est approuvée. Ouverture de votre page d’accueil…",de:"Ihre Bewerbung wurde genehmigt. Ihre Startseite wird geöffnet…"},"teach.status.rejectedBody":{en:"Your teacher application was not approved.",ko:"강사 신청이 승인되지 않았습니다.",zh:"您的老师入驻申请未获批准。","zh-TW":"您的老師入駐申請未獲批准。",ja:"講師の申し込みは承認されませんでした。",fr:"Votre candidature de professeur n’a pas été approuvée.",de:"Ihre Lehrkraftbewerbung wurde nicht genehmigt."}},Gie={"schedule.editor.loadError":{en:"Could not load your saved settings. Try again before making changes.",ko:"저장된 설정을 불러오지 못했습니다. 변경하기 전에 다시 시도해 주세요.",zh:"无法加载已保存的设置。请重试后再进行修改。","zh-TW":"無法載入已儲存的設定。請重試後再進行ä¿
92®æ”¹ã€‚",ja:"保存済みの設定を読み込めませんでした。変更する前に再試行してください。",fr:"Impossible de charger vos paramètres enregistrés. Réessayez avant de les modifier.",de:"Die gespeicherten Einstellungen konnten nicht geladen werden. Versuchen Sie es erneut, bevor Sie Änderungen vornehmen."},"schedule.editor.retry":{en:"Retry",ko:"다시 시도",zh:"重试","zh-TW":"重試",ja:"再試行",fr:"Réessayer",de:"Erneut versuchen"},"schedule.editor.loading":{en:"Loading settings…",ko:"설정 불러오는 중…",zh:"正在加载设置…","zh-TW":"正在載入設定…",ja:"設定を読み込み中…",fr:"Chargement des paramètres…",de:"Einstellungen werden geladen…"},"schedule.editor.saved":{en:"Changes saved.",ko:"변경 사항을 저장했습니다.",zh:"更改已保存。","zh-TW":"變更已儲存。",ja:"変更を保存しました。",fr:"Modifications enregistrées.",de:"Änderungen gespeichert."}},Kie={"bootstrap.form.chooseStudentLanguage":{en:"Choose the student’s language",ko:"학생의 언어를 선택하세요",zh:"请选择学生的语言","zh-TW":"請選擇學生的語言",ja:"生徒の言語を選択してください",fr:"Choisissez la langue de l’élève",de:"Sprache des Schülers auswählen"},"bootstrap.form.studentLanguageRequired":{en:"Required: choose the student’s language before creating the lesson.",ko:"필수: 수업을 만들기 전에 학생의 언어를 선택하세요.",zh:"必填:创建课程前,请选择学生的语言。","zh-TW":"必填:建立課程前,請選擇學生的語言。",ja:"必須:レッスンを作成する前に、生徒の言語を選択してください。",fr:"Obligatoire : choisissez la langue de l’élève avant de créer le cours.",de:"Erforderlich: Wählen Sie vor dem Erstellen der Unterrichtsstunde die Sprache des Schülers aus."},"bootstrap.form.joining":{en:"Joining…",ko:"참가 중…",zh:"正在加入…","zh-TW":"正在加入…",ja:"参加中…",fr:"Connexion…",de:"Verbindung wird hergestellt…"}},Vie={"sgfInfo.black":{en:"Black:",ko:"흑:",zh:"黑方:",ja:"黒:",fr:"Noir :",de:"Schwarz:","zh-TW":"黑方:"},"sgfInfo.white":{en:"White:",ko:"ë°±:",zh:"白方:",ja:"白:",fr:"Blanc :",de:"Weiß:","zh-TW":"白方:"},"sgfInfo.unknown":{en:"Unknown",ko:"알 수 없음",zh:"未知",ja:"不明",fr:"Inconnu",de:"Unbekannt","zh-TW":"未知"},"sgfInfo.details":{en:"Game details",ko:"기보 정보",zh:"棋谱详情",ja:"棋譜情報",fr:"Détails de la partie",de:"Partiedetails","zh-TW":"棋譜詳情"},"sgfInfo.close":{en:"Close game details",ko:"기보 정보 닫기",zh:"关闭棋谱详情",ja:"棋譜情報を閉じる",fr:"Fermer les détails",de:"Partiedetails schließen","zh-TW":"關閉棋譜詳情"},"sgfInfo.handicap":{en:"Handicap",ko:"접바둑",zh:"让子",ja:"置き石",fr:"Handicap",de:"Vorgabe","zh-TW":"讓子"},"sgfInfo.komi":{en:"Komi",ko:"덤",zh:"贴目",ja:"コミ",fr:"Komi",de:"Komi","zh-TW":"貼目"},"sgfInfo.stones":{en:"{count} stones",ko:"{count}점",zh:"{count}子",ja:"{count}子",fr:"{count} pierres",de:"{count} Steine","zh-TW":"{count}子"},"sgfInfo.points":{en:"{count} points",ko:"{count}집",zh:"{count}目",ja:"{count}目",fr:"{count} points",de:"{count} Punkte","zh-TW":"{count}目"},"sgfInfo.mainTime":{en:"Main time",ko:"기본 시간",zh:"基本用时",ja:"持ち時間",fr:"Temps principal",de:"Grundbedenkzeit","zh-TW":"基本用時"},"sgfInfo.minutes":{en:"{count} min",ko:"{count}분",zh:"{count}分钟",ja:"{count}分",fr:"{count} min",de:"{count} Min.","zh-TW":"{count}分鐘"},"sgfInfo.seconds":{en:"{count} sec",ko:"{count}초",zh:"{count}秒",ja:"{count}秒",fr:"{count} s",de:"{count} Sek.","zh-TW":"{count}秒"},"sgfInfo.overtime":{en:"Overtime",ko:"초읽기",zh:"读秒",ja:"秒読み",fr:"Prolongation",de:"Nachspielzeit","zh-TW":"讀秒"},"sgfInfo.byoYomi":{en:"{periods} × {seconds} sec byo-yomi",ko:"{seconds}초 {periods}회",zh:"{periods}次 × {seconds}秒",ja:"{seconds}秒 × {periods}回",fr:"Byo-yomi : {periods} × {seconds} s",de:"Byoyomi: {periods} × {seconds} Sek.","zh-TW":"{periods}次 × {seconds}秒"},"sgfInfo.rules":{en:"Rules",ko:"규칙",zh:"规则",ja:"ルール",fr:"Règles",de:"Regeln","zh-TW":"規則"},"sgfInfo.date":{en:"Date",ko:"날짜",zh:"日期",ja:"日付",fr:"Date",de:"Datum","zh-TW":"日期"},"sgfInfo.event":{en:"Event",ko:"대회",zh:"赛事",ja:"棋戦",fr:"Événement",de:"Veranstaltung","zh-TW":"賽事"},"sgfInfo.result":{en:"Result",ko:"ê²°ê³¼",zh:"结果",ja:"結果",fr:"Résultat",de:"Ergebnis","zh-TW":"結果"},"sgfInfo.reveal":{en:"Reveal result",ko:"ê²°ê³¼ 보기",zh:"显示结果",ja:"結果を表示",fr:"Afficher le résultat",de:"Ergebnis anzeigen","zh-TW":"顯示çµ
92æžœ"}},Yie={"landing.intro.eyebrow":{en:"Online Go lessons",ko:"온라인 바둑 수업",zh:"在线围棋课","zh-TW":"線上圍棋課",ja:"オンライン囲碁レッスン",fr:"Cours de Go en ligne",de:"Go-Unterricht online"},"landing.intro.title":{en:"1-1 lesson with Pros",ko:"프로 기사와 함께하는 1:1 수업",zh:"职业棋手一对一授课","zh-TW":"職業棋手一對一授課",ja:"プロ棋士とのマンツーマンレッスン",fr:"Cours particuliers avec des pros",de:"Einzelunterricht mit Profis"},"landing.intro.body":{en:"Play a teaching game with your teacher, or bring one of your own games for review. Work through the key moments and explore better moves together.",ko:"선생님과 지도 대국을 두거나, 내 기보로 복기 수업을 받아보세요. 중요한 장면을 짚어보고 더 나은 수를 함께 찾아보세요.",zh:"和老师下一盘指导棋,或带上自己的棋谱来复盘。一起分析关键局面,寻找更好的下法。","zh-TW":"和老師下一盤指導棋,或帶上自己的棋譜來覆盤。一起分析關鍵局面,尋找更好的下法。",ja:"先生との指導碁、または自分の棋譜を持ち込んでの検討レッスン。大切な局面を振り返り、よりよい手を一緒に探しましょう。",fr:"Jouez une partie pédagogique avec votre professeur, ou apportez une de vos parties pour l’analyser. Étudiez les moments clés et cherchez de meilleurs coups ensemble.",de:"Spielen Sie eine Lehrpartie mit Ihrem Lehrer oder bringen Sie eine eigene Partie zur Analyse mit. Besprechen Sie wichtige Stellungen und suchen Sie gemeinsam nach besseren Zügen."},"landing.intro.chat":{en:"Chat with a teacher",ko:"선생님과 채팅하기",zh:"和老师聊聊","zh-TW":"和老師聊聊",ja:"先生とチャット",fr:"Discuter avec un professeur",de:"Mit einem Lehrer chatten"},"landing.intro.lessons":{en:"View lessons & prices",ko:"수업과 가격 보기",zh:"查看课程和价格","zh-TW":"查看課程和價格",ja:"レッスンと料金を見る",fr:"Voir les cours et les tarifs",de:"Unterricht und Preise ansehen"},"landing.intro.note":{en:"Ask a question before you book. No payment needed to chat.",ko:"예약 전에 궁금한 점을 물어보세요. 채팅에는 결제가 필요하지 않아요.",zh:"预约前先问问,聊天无需付费。","zh-TW":"預約前先問問,聊天無需付費。",ja:"予約の前に質問できます。チャットに支払いは不要です。",fr:"Posez vos questions avant de réserver. Aucun paiement pour discuter.",de:"Fragen Sie vor der Buchung. Für den Chat ist keine Zahlung nötig."},"landing.teachers.intro":{en:"Every teacher on our platform is a professional or pro-level Go player. Message a teacher about a teaching game or game review, or explore their lessons and prices.",ko:"모든 선생님은 프로 기사이거나 프로급 기력을 갖춘 바둑 기사입니다. 지도 대국이나 기보 복기에 대해 바로 문의하거나 수업과 가격을 확인해 보세요.",zh:"平台上的每位老师都是职业棋手或具备职业水平的高手。直接向老师咨询指导棋或棋谱复盘,也可以先查看课程和价格。","zh-TW":"平台上的每位老師都是職業棋手或具備職業水準的高手。直接向老師諮詢指導棋或棋譜覆盤,也可以先查看課程和價格。",ja:"すべての先生がプロ棋士、またはプロ級の実力を持つ囲碁の打ち手です。指導碁や棋譜の検討について直接相談するか、レッスンと料金をご覧ください。",fr:"Tous nos professeurs sont des joueurs de Go professionnels ou de niveau professionnel. Contactez un professeur pour une partie pédagogique ou une analyse de partie, ou consultez ses cours et tarifs.",de:"Alle Lehrer auf unserer Plattform sind Go-Profis oder spielen auf Profi-Niveau. Fragen Sie nach einer Lehrpartie oder Partieanalyse oder sehen Sie sich Unterrichtsangebote und Preise an."},"landing.teachers.signIn":{en:"Sign in and verify your email when you send your first message. Replies are translated automatically.",ko:"첫 메시지를 보낼 때 로그인과 이메일 인증이 필요해요. 답장은 자동으로 번역됩니다.",zh:"发送第一条消息时需登录并验证邮箱,回复会自动翻译。","zh-TW":"傳送第一則訊息時需登入並驗證信箱,回覆會自動翻譯。",ja:"最初の送信時にログインとメール認証が必要です。返信は自動翻訳されます。",fr:"Connectez-vous et vérifiez votre e-mail au premier envoi. Les réponses sont traduites automatiquement.",de:"Melden Sie sich beim ersten Senden an und bestätigen Sie Ihre E-Mail. Antworten werden automatisch übersetzt."},"landing.teachers.lessons":{en:"View lessons",ko:"수업 보기",zh:"查看课程","zh-TW":"查看課程",ja:"レッスンを見る",fr:"Voir les cours",de:"Kurse ansehen"},"landing.teachers.lessonsFor":{en:"View lessons with {teacher}",ko:"{teacher} 선생님 수업 보기",zh:"查看 {teacher} 老师的课程","zh-TW":"查看 {teacher} 老師的課程",ja:"{teacher}先生のレッスンを見る",fr:"Voir les cours de {teacher}",de:"Kurse bei {teacher} ansehen"},"landing.begin.heading":{en:"Arrange a teaching game",ko:"지도 대국을 예약해 보세요",zh:"约一盘指导棋","zh-TW":"約一盤指導棋",ja:"指導碁を予約する",fr:"Organisez une partie pédagogique",de:"Vereinbaren Sie eine Lehrpartie"},"landing.begin.chat.title":{en:"Ask your teacher for a game",ko:"선생님께 지도 대국을 문의하세요",zh:"找老师约一盘棋","zh-TW":"找老師約一盤棋",ja:"先生に指導碁を相談する",fr:"Proposez une partie au professeur",de:"Fragen Sie Ihren Lehrer nach einer Partie"},"landing.begin.chat.body":{en:"Share your rank and say you’d like a teaching game. Discuss the handicap and what you want to work on. Write in y
92our own language—messages are translated.",ko:"기력과 함께 지도 대국을 받고 싶다고 말씀해 주세요. 접바둑 치수와 배우고 싶은 내용을 상의하세요. 메시지가 번역되니 편한 언어로 쓰면 돼요.",zh:"告诉老师你的段级位,说明你想下一盘指导棋,商量让子数和想提高的方面。用你熟悉的语言写就好,消息会自动翻译。","zh-TW":"告訴老師你的段級位,說明你想下一盤指導棋,商量讓子數和想提高的方面。用你熟悉的語言寫就好,訊息會自動翻譯。",ja:"棋力と、指導碁を受けたいことを伝えましょう。置き石の数や学びたいことを相談できます。メッセージは翻訳されるので、自分の言語で書けます。",fr:"Indiquez votre niveau et votre envie de jouer une partie pédagogique. Discutez du handicap et des points à travailler. Écrivez dans votre langue : les messages sont traduits.",de:"Nennen Sie Ihren Rang und Ihren Wunsch nach einer Lehrpartie. Besprechen Sie die Vorgabe und was Sie üben möchten. Schreiben Sie in Ihrer Sprache – Nachrichten werden übersetzt."},"landing.begin.book.title":{en:"Book a time to play",ko:"대국 시간을 예약하세요",zh:"预约对局时间","zh-TW":"預約對局時間",ja:"対局の日時を予約する",fr:"Réservez un créneau pour jouer",de:"Buchen Sie einen Spieltermin"},"landing.begin.book.body":{en:"Check the teacher’s lesson options and prices, then request a time for your teaching game. You pay after the teacher accepts.",ko:"선생님의 수업 종류와 가격을 확인한 뒤 지도 대국 시간을 요청하세요. 선생님이 수락한 후에 결제합니다.",zh:"查看老师的课程选项和价格,再申请指导棋的时间。老师接受后才付款。","zh-TW":"查看老師的課程選項和價格,再申請指導棋的時間。老師接受後才付款。",ja:"先生のレッスン内容と料金を確認して、指導碁の日時をリクエスト。先生が承認した後に支払います。",fr:"Consultez les cours et tarifs, puis demandez un créneau pour votre partie pédagogique. Vous payez après l’acceptation du professeur.",de:"Prüfen Sie Angebot und Preise und fragen Sie einen Termin für Ihre Lehrpartie an. Sie zahlen nach der Zusage des Lehrers."},"landing.begin.learn.title":{en:"Play, then review together",ko:"대국하고 함께 복기하세요",zh:"下一盘棋,再一起复盘","zh-TW":"下一盤棋,再一起覆盤",ja:"対局して、一緒に振り返る",fr:"Jouez, puis analysez ensemble",de:"Spielen und gemeinsam analysieren"},"landing.begin.learn.body":{en:"Play against your teacher on the shared board, then revisit the key moments and try other moves. Follow their explanation with translated captions.",ko:"공유 바둑판에서 선생님과 대국한 뒤 중요한 장면을 돌아보고 다른 수도 놓아보세요. 번역 자막으로 설명을 따라갈 수 있어요.",zh:"在共享棋盘上与老师对局,再一起回看关键局面,尝试其他下法。通过翻译字幕理解老师的讲解。","zh-TW":"在共享棋盤上與老師對局,再一起回看關鍵局面,嘗試其他下法。透過翻譯字幕理解老師的講解。",ja:"共有の碁盤で先生と対局した後、大切な局面を振り返り、別の手も試してみましょう。翻訳字幕で説明を確認できます。",fr:"Affrontez votre professeur sur le goban partagé, puis revenez sur les moments clés et essayez d’autres coups. Suivez ses explications avec les sous-titres traduits.",de:"Spielen Sie gegen Ihren Lehrer auf dem gemeinsamen Brett. Gehen Sie danach wichtige Stellungen durch und probieren Sie andere Züge aus. Übersetzte Untertitel helfen bei den Erklärungen."},"landing.begin.preview":{en:"A teaching game with Pan Wenjun",ko:"판원쥔 선생님과의 지도 대국",zh:"潘文君老师的指导棋","zh-TW":"潘文君老師的指導棋",ja:"潘文君先生との指導碁",fr:"Une partie pédagogique avec Pan Wenjun",de:"Eine Lehrpartie mit Pan Wenjun"},"landing.questions.heading":{en:"Before your first lesson",ko:"첫 수업 전에",zh:"第一堂课之前","zh-TW":"第一堂課之前",ja:"初めてのレッスンの前に",fr:"Avant votre premier cours",de:"Vor Ihrer ersten Stunde"},"landing.questions.chat":{en:"Can I talk to a teacher before booking?",ko:"예약 전에 선생님과 이야기할 수 있나요?",zh:"可以先和老师聊聊再预约吗?","zh-TW":"可以先和老師聊聊再預約嗎?",ja:"予約前に先生と話せますか?",fr:"Puis-je discuter avec un professeur avant de réserver ?",de:"Kann ich vor der Buchung mit dem Lehrer sprechen?"},"landing.questions.chatAnswer":{en:"Yes. Choose “Chat with a teacher” on their card to ask about your level or goals. Chat is free; you’ll sign in and verify your email to send.",ko:"네. 선생님 카드에서 채팅을 선택해 기력이나 목표에 대해 물어보세요. 채팅은 무료이며, 전송하려면 로그인과 이메일 인증이 필요해요.",zh:"可以。点击老师卡片上的聊天按钮,咨询棋力或学习目标。聊天免费,发送时需登录并验证邮箱。","zh-TW":"可以。點擊老師卡片上的聊天按鈕,諮詢棋力或學習目標。聊天免費,傳送時需登入並驗證信箱。",ja:"はい。先生のカードのチャットから棋力や目標を相談できます。チャットは無料です。送信にはログインとメール認証が必要です。",fr:"Oui. Utilisez le bouton de discussion sur sa fiche pour parler de votre niveau ou de vos objectifs. C’est gratuit ; connectez-vous et vérifiez votre e-mail pour envoyer.",de:"Ja. Nutzen Sie den Chat auf der Lehrerkarte für Fragen zu Niveau und Zielen. Der Chat ist kostenlos. Zum Senden müssen Sie sich anmelden und Ihre E-Mail bestätigen."},"landing.questions.price":{en:"When do I pay, and can I try one lesson?",ko:"언제 결제하나요? 한 번만 들어볼 수 있나요?",zh:"什么时候付款?可以先试一堂吗?","zh-TW":"什麼時候付款?可以先試一堂嗎?",ja:"支払いはいつですか?まず1回試せますか?",fr:"Quand payer ? Puis-je essayer un seul cours ?",de:"Wann zahle ich? Kann ich eine Stunde ausprobieren?"},"landing.questions.language":{en:"Do we need to speak the same language?",ko:"선생님과 같은 언어를 써야 하나요?",zh:"需要和老师说同一种语言吗?","zh-TW":"需要和老師說同一種語言嗎?",ja:"先生と同じ言語を話す必要はありますか?",fr:"Faut-il parler la même langue ?",de:"Müssen wir dieselbe Sprache sprechen?"},"landing.questions.languageAnswer":{en:"No. Chat messages are translated, and live translated captions help you follow your teacher during lessons. If you prefer listening to reading, turn on text-to-speech (TTS) to hear the translations during your lesson.",ko:"아니요. 채팅 메시지는 번역되며, 수업 중에는 실시간 번역 자막으로 선생님의 설명을 따라갈 수 있어요. 읽는 것보다 듣는 것이 편하다면 수업 중 음성 읽기(TTS)를 켜서 번역 내용을 들어보세요.",zh:"不需要。聊天消息会自动翻译,上课时也有实时翻译字幕,帮助你理解老师的讲解。如果你更喜欢听而不是读,可以在课上开启文字转语音(TTS),收听翻译内容。","zh-TW":"不需要。聊天訊息會自動翻譯,上課時也有即時翻譯字幕,幫助你理解老師的講解。如果你更喜歡聽而不是讀,可以在課上開啟文字轉語音(TTS),收聽翻譯內容。",ja:"いいえ。チャットのメッセージは翻訳され、レッスン中もリアルタイムの翻訳字幕で先生の説明を確認できます。読むより聞くほうがよければ、レッスン中に読み上げ機能(TTS)をオンにして、翻訳を音声で聞くこともできます。",fr:"Non. Les messages sont traduits, et les sous-titres traduits en direct vous aident à suivre les explications du professeur pendant les cours. Si vous préférez écouter plutôt que lire, activez la synthèse vocale (TTS) pour entendre les traductions pendant votre cours.",de:"Nein. Chatnachrichten werden übersetzt, und live übersetzte Untertitel helfen Ihnen, dem Lehrer im Unterricht zu folgen. Wenn Sie lieber zuhören als lesen, aktivieren Sie im Unterricht die Sprachausgabe (TTS), um sich die Übersetzungen vorlesen zu lassen."},"landing.questions.cancel":{en:"What if I need to cancel?",ko:"취소해야 하면 어떻게 하나요?",zh:"需要取消怎么办?","zh-TW":"需要取消怎麼辦?",ja:"キャンセルしたい場合は?",fr:"Et si je dois annuler ?",de:"Was passiert bei einer Absage?"},"landing.closing.title":{en:"What would you like to ask your teacher?",ko:"선생님께 무엇을 물어보고 싶나요?",zh:"你想问老师什么?","zh-TW":"你想問老師什麼?",ja:"先生に、何を聞いてみたいですか?",fr:"Qu’aimeriez-vous demander à votre professeur ?",de:"Was möchten Sie Ihren Lehrer fragen?"}},Jie={"interview.contextUnavailable":{en:"Interview-specific translation is unavailable with the current service. Backgroun
92d can still be shared.",ko:"현재 서비스에서는 인터뷰 맞춤 번역을 사용할 수 없습니다. 배경 정보는 공유할 수 있습니다.",zh:"当前服务不支持访谈专用翻译,仍可共享背景信息。","zh-TW":"目前服務不支援訪談專用翻譯,仍可共用背景資訊。",ja:"現在のサービスではインタビュー向け翻訳を利用できません。背景情報は共有できます。",fr:"La traduction adaptée aux entretiens est indisponible avec le service actuel. Le contexte reste partagé.",de:"Interviewspezifische Übersetzung ist mit dem aktuellen Dienst nicht verfügbar. Hintergrundinformationen bleiben teilbar."},"interview.roomMode":{en:"Room mode",ko:"방 모드",zh:"房间模式","zh-TW":"房間模式",ja:"ルームモード",fr:"Mode de salle",de:"Raummodus"},"interview.classroom":{en:"Classroom",ko:"교실",zh:"课堂","zh-TW":"課堂",ja:"教室",fr:"Classe",de:"Unterricht"},"interview.title":{en:"Interview",ko:"인터뷰",zh:"访谈","zh-TW":"訪談",ja:"インタビュー",fr:"Entretien",de:"Interview"},"interview.showBoard":{en:"Show board",ko:"바둑판 표시",zh:"显示棋盘","zh-TW":"顯示棋盤",ja:"碁盤を表示",fr:"Afficher le goban",de:"Brett anzeigen"},"interview.hideBoard":{en:"Hide board",ko:"바둑판 숨기기",zh:"隐藏棋盘","zh-TW":"隱藏棋盤",ja:"碁盤を隠す",fr:"Masquer le goban",de:"Brett ausblenden"},"interview.clean":{en:"Clean view",ko:"녹화용 보기",zh:"简洁视图","zh-TW":"簡潔檢視",ja:"クリーン表示",fr:"Vue épurée",de:"Reduzierte Ansicht"},"interview.exitClean":{en:"Exit clean view (Esc)",ko:"녹화용 보기 종료 (Esc)",zh:"退出简洁视图 (Esc)","zh-TW":"退出簡潔檢視 (Esc)",ja:"クリーン表示を終了 (Esc)",fr:"Quitter la vue épurée (Échap)",de:"Ansicht verlassen (Esc)"},"interview.context":{en:"Interview context",ko:"인터뷰 배경",zh:"访谈背景","zh-TW":"訪談背景",ja:"インタビューの背景",fr:"Contexte de l’entretien",de:"Interview-Hintergrund"},"interview.contextHint":{en:"Names, tournaments, and topics. Both participants can edit this shared background. Saved changes apply to new speech and messages.",ko:"이름, 대회, 주제 등을 입력하세요. 두 참가자 모두 편집할 수 있으며 저장한 내용은 이후 발언과 메시지에 적용됩니다.",zh:"填写姓名、赛事和话题。双方均可编辑此共享背景,保存后用于新的发言和消息。","zh-TW":"填寫姓名、賽事和話題。雙方均可編輯此共享背景,儲存後用於新的發言和訊息。",ja:"名前、大会、話題などを入力します。双方が編集でき、保存後の発言とメッセージに適用されます。",fr:"Noms, tournois et sujets. Les deux participants peuvent modifier ce contexte partagé. Les changements enregistrés concernent les nouvelles paroles et les nouveaux messages.",de:"Namen, Turniere und Themen. Beide können diesen Hintergrund bearbeiten. Gespeicherte Änderungen gelten für neue Aussagen und Nachrichten."},"interview.save":{en:"Save context",ko:"배경 저장",zh:"保存背景","zh-TW":"儲存背景",ja:"背景を保存",fr:"Enregistrer le contexte",de:"Hintergrund speichern"},"interview.saveMine":{en:"Save my version",ko:"내 버전 저장",zh:"保存我的版本","zh-TW":"儲存我的版本",ja:"自分の版を保存",fr:"Enregistrer ma version",de:"Meine Version speichern"},"interview.useLatest":{en:"Use saved version",ko:"저장된 버전 사용",zh:"使用已保存版本","zh-TW":"使用已儲存版本",ja:"保存済みの版を使用",fr:"Utiliser la version enregistrée",de:"Gespeicherte Version verwenden"},"interview.conflict":{en:"The shared context changed. Compare the saved version below with your draft before saving.",ko:"공유 배경이 변경되었습니다. 저장하기 전에 아래 저장된 버전과 초안을 비교하세요.",zh:"共享背景已更改。保存前请将下方已保存版本与您的草稿进行比较。","zh-TW":"共享背景已變更。儲存前請將下方已儲存版本與您的草稿進行比較。",ja:"共有の背景が変更されました。保存前に下の保存済みの版と下書きを比較してください。",fr:"Le contexte partagé a changé. Comparez la ver
92sion enregistrée ci-dessous avec votre brouillon avant d’enregistrer.",de:"Der Hintergrund wurde geändert. Vergleichen Sie die gespeicherte Version unten mit Ihrem Entwurf."},"interview.activeGame":{en:"Finish the current game or exercise before changing this setting.",ko:"이 설정을 변경하기 전에 진행 중인 대국이나 문제를 마치세요.",zh:"请先结束当前对局或练习,再更改此设置。","zh-TW":"請先結束目前對局或練習,再變更此設定。",ja:"この設定を変更する前に対局や問題を終了してください。",fr:"Terminez la partie ou l’exercice avant de modifier ce réglage.",de:"Beenden Sie die Partie oder Übung, bevor Sie diese Einstellung ändern."},"interview.hostOnly":{en:"Only the room host can change this setting.",ko:"ë°© 호스트만 이 설정을 변경할 수 있습니다.",zh:"只有房主可以更改此设置。","zh-TW":"只有房主可以變更此設定。",ja:"この設定はホストのみ変更できます。",fr:"Seul l’hôte peut modifier ce réglage.",de:"Nur der Gastgeber kann diese Einstellung ändern."},"interview.invalid":{en:"The change could not be saved. Check the room mode and try again.",ko:"변경 사항을 저장할 수 없습니다. ë°© 모드를 확인하고 다시 시도하세요.",zh:"无法保存更改,请检查房间模式后重试。","zh-TW":"無法儲存變更,請檢查房間模式後重試。",ja:"変更を保存できませんでした。モードを確認して再試行してください。",fr:"Impossible d’enregistrer. Vérifiez le mode et réessayez.",de:"Änderung nicht gespeichert. Prüfen Sie den Raummodus und versuchen Sie es erneut."},"interview.waiting":{en:"Waiting for the other participant",ko:"다른 참가자를 기다리는 중",zh:"等待另一位参与者","zh-TW":"等待另一位參與者",ja:"相手の参加を待っています",fr:"En attente de l’autre participant",de:"Warten auf die andere Person"},"interview.captions":{en:"Interview captions",ko:"인터뷰 자막",zh:"访谈字幕","zh-TW":"訪談字幕",ja:"インタビュー字幕",fr:"Sous-titres de l’entretien",de:"Interview-Untertitel"}},wn=(e,t,n,r,s,i,a)=>({en:e,ko:t,zh:n,ja:r,"zh-TW":s,fr:i,de:a}),Zie={"export.title":wn("Export transcript","수업 기록 내보내기","导出课堂记录","レッスン記録の書き出し","匯出課堂記錄","Exporter la transcription","Transkript exportieren"),"export.format":wn("File format","파일 형식","文件格式","ファイル形式","檔案格式","Format du fichier","Dateiformat"),"export.srt":wn("SRT subtitles","SRT 자막","SRT 字幕","SRT字幕","SRT 字幕","Sous-titres SRT","SRT-Untertitel"),"export.txt":wn("Plain text (TXT)","텍스트 (TXT)","纯文本(TXT)","テキスト(TXT)","純文字(TXT)","Texte brut (TXT)","Textdatei (TXT)"),"export.content":wn("Text to include","포함할 텍스트","包含的文本","含めるテキスト","包含的文字","Texte à inclure","Textauswahl"),"export.original":wn("Original","원문","原文","原文","原文","Original","Original"),"export.translated":wn("Translated","번역","译文","翻訳","譯文","Traduction","Übersetzung"),"export.both":wn("Original and translated","원문 및 번역","原文和译文","原文と翻訳","原文和譯文","Original et traduction","Original und Übersetzung"),"export.language":wn("Translation language","번역 언어","翻译语言","翻訳先の言語","翻譯語言","Langue de traduction","Übersetzungssprache"),"export.currentLanguage":wn("My current classroom language","현재 수업 언어","我当前的课堂语言","現在のレッスン言語","我目前的課堂語言","Ma langue actuelle en classe","Meine aktuelle Unterrichtssprache"),"export.fallback":wn("Missing translations use the original text immediately.","번역이 없으면 원문을 바로 사용합니다.","缺少译文时立即使用原文。","翻訳がない場合は原文をそのまま使用します。","缺少譯文時立即使用原文。","Sans traduction disponible, le texte original est utilisé immédiatement.","Fehlende Übersetzungen werden sofort durch den Originaltext ersetzt."),"export.offset":wn("Recording start offset (seconds)","녹화 시작 시차 (초)","录制开始偏移(秒)","録画開始の差(秒)","錄影開始偏移(秒)","Décalage du début de l’enregistrement (secondes)","Versatz des Aufnahmebeginns (Sekunden)"),"export.offsetHelp":wn("Relative to the teacher joining. Positive = recording started later; negative = earlier. Blank uses lesson start.","교사 입장 기준입니다. 양수는 이후, 음수는 이전입니다. 비워 두면 수업 시작을 사용합니다.","以教师加入为基准。正数表示录制较晚开始,负数表示较早。留空使用课程开始时间。","先生の入室が基準です。正数は後、負数は前です。空欄ならレッスン開始を使用します。","以教師加入為基準。正數表示錄影較晚開始,負數表示較早。留空使用課程開始時間。","Par rapport à l’arrivée du professeur. Positif : après ; négatif : avant. Vide : début du cours.","Ab Eintritt der Lehrkraft. Positiv: später; negativ: früher. Leer: Unterrichtsbeginn."),"export.saved":wn("These settings also apply to the automatic download when you leave.","이 설정은 나갈 때 자동 다운로드에도 적용됩니다.","这些设置也用于离开时的自动下载。","退出時ã
92®è‡ªå‹•ダウンロードにも適用されます。","這些設定也用於離開時的自動下載。","Ces réglages s’appliquent aussi au téléchargement automatique à votre départ.","Diese Einstellungen gelten auch für den automatischen Download beim Verlassen."),"export.noStart":wn("SRT export becomes available when the teacher joins. You can download TXT now.","교사가 입장하면 SRT를 내보낼 수 있습니다. 지금은 TXT를 다운로드할 수 있습니다.","教师加入后可导出 SRT。现在可以下载 TXT。","先生の入室後にSRTを出力できます。今はTXTをダウンロードできます。","教師加入後可匯出 SRT。現在可以下載 TXT。","Le SRT sera disponible à l’arrivée du professeur. Le TXT est disponible maintenant.","SRT ist nach Eintritt der Lehrkraft verfügbar. TXT kann jetzt heruntergeladen werden."),"export.teacher":wn("Teacher","교사","教师","先生","教師","Professeur","Lehrkraft"),"export.student":wn("Student","학생","学生","生徒","學生","Élève","Lernende")},Xie={"tts.title":{en:"Translation audio",ko:"번역 음성",zh:"翻译语音","zh-TW":"翻譯語音",ja:"翻訳音声",fr:"Audio des traductions",de:"Übersetzungsaudio"},"tts.enable":{en:"Enable TTS for this classroom",ko:"이 교실에서 TTS 사용",zh:"为此课堂启用语音合成","zh-TW":"為此課堂啟用語音合成",ja:"この教室で読み上げを有効にする",fr:"Activer la synthèse vocale dans cette classe",de:"Sprachausgabe für diesen Unterricht aktivieren"},"tts.autoplay":{en:"Autoplay translated audio",ko:"번역 음성 자동 재생",zh:"自动播放翻译语音","zh-TW":"自動播放翻譯語音",ja:"翻訳音声を自動再生",fr:"Lire automatiquement les traductions",de:"Übersetzungen automatisch abspielen"},"tts.translatedOnly":{en:"Play translated audio only",ko:"번역 음성만 재생",zh:"仅播放翻译语音","zh-TW":"僅播放翻譯語音",ja:"翻訳音声のみ再生",fr:"Lire uniquement l’audio traduit",de:"Nur übersetzte Audioausgabe wiedergeben"},"tts.translatedOnlyHint":{en:"Mutes the other participant’s original voice on this device.",ko:"이 기기에서 상대방의 원래 음성을 음소거합니다.",zh:"在此设备上将对方的原始语音静音。","zh-TW":"在此裝置上將對方的原始語音靜音。",ja:"この端末では相手の元の音声をミュートします。",fr:"Coupe la voix originale de l’autre participant sur cet appareil.",de:"Schaltet die Originalstimme der anderen Person auf diesem Gerät stumm."},"tts.translatedOnlyWaiting":{en:"Takes effect when classroom TTS and autoplay are enabled.",ko:"교실 TTS와 자동 재생이 켜지면 적용됩니다.",zh:"课堂语音合成和自动播放启用后生效。","zh-TW":"課堂語音合成和自動播放啟用後生效。",ja:"教室の読み上げと自動再生が有効になると適用されます。",fr:"Prend effet lorsque la synthèse vocale et la lecture automatique sont activées.",de:"Wird wirksam, sobald Sprachausgabe und automatische Wiedergabe aktiviert sind."},"tts.hint":{en:"AI-generated voices. Use headphones to avoid microphone echo.",ko:"AI 생성 음성입니다. 마이크 에코를 방지하려면 헤드폰을 사용하세요.",zh:"AI 合成语音。请使用耳机,避免麦克风回声。","zh-TW":"AI 合成語音。請使用耳機,避免麥克風回聲。",ja:"AI生成音声です。マイクへの回り込みを防ぐためヘッドホンをご使用ください。",fr:"Voix générées par IA. Utilisez un casque pour éviter les échos.",de:"KI-generierte Stimmen. Kopfhörer verhindern Mikrofonechos."},"tts.setupRequired":{en:"An admin must configure the OpenRouter API key on the server.",ko:"관리자가 서버에서 OpenRouter API 키를 설정해야 합니다.",zh:"管理员需在服务器上配置 OpenRouter API 密钥。","zh-TW":"管理員需在伺服器上配置 OpenRouter API 金鑰。",ja:"管理者がサーバーにOpenRouter APIキーを設定する必要があります。",fr:"Un administrateur doit configurer la clé API OpenRouter sur le serveur.",de:"Ein Administrator muss den OpenRouter-API-Schlüssel auf dem Server einrichten."},"tts.teacherControls":{en:"Your teacher controls these classroom settings.",ko:"선생님이 이 교실 설정을 관리합니다.",zh:"这些课堂设置由老师控制。","zh-TW":"這些課堂設定由老師控制。",ja:"この教室の設定は先生が管理します。",fr:"Votre enseignant contrôle ces réglages.",de:"Diese Unterrichtseinstellungen verwaltet Ihre Lehrkraft."},"tts.play":{en:"Play translation",ko:"번역 듣기",zh:"播放翻译","zh-TW":"播放翻譯",ja:"翻訳を再生",fr:"Écouter la traduction",de:"Übersetzung abspielen"},"tts.stop":{en:"Stop audio",ko:"음성 중지",zh:"停止播放","zh-TW":"停止播放",ja:"音声を停止",fr:"Arrêter la lecture",de:"Audio stoppen"},"tts.loading":{en:"Loading audio…",ko:"음성 로딩 중…",zh:"正在加载语音…","zh-TW":"正在載入語音…",ja:"音声を読み込み中…",fr:"Chargement…",de:"Audio wird geladen…"}
92,"tts.blocked":{en:"Click Play translation to allow audio in this browser.",ko:"브라우저에서 음성을 허용하려면 번역 듣기를 클릭하세요.",zh:"点击“播放翻译”以允许浏览器播放音频。","zh-TW":"點擊「播放翻譯」以允許瀏覽器播放音訊。",ja:"「翻訳を再生」をクリックして音声を許可してください。",fr:"Cliquez sur Écouter la traduction pour autoriser le son.",de:"Klicken Sie auf Übersetzung abspielen, um Audio zu erlauben."},"tts.busy":{en:"Speech is busy. Please try again shortly.",ko:"음성 서비스가 사용 중입니다. 잠시 후 다시 시도하세요.",zh:"语音服务繁忙,请稍后重试。","zh-TW":"語音服務忙碌,請稍後重試。",ja:"音声サービスが混雑しています。少し待って再試行してください。",fr:"Le service vocal est occupé. Réessayez bientôt.",de:"Der Sprachdienst ist ausgelastet. Bitte versuchen Sie es gleich erneut."},"tts.expired":{en:"This translation is no longer available for audio.",ko:"이 번역의 음성을 더 이상 사용할 수 없습니다.",zh:"此翻译已无法生成语音。","zh-TW":"此翻譯已無法產生語音。",ja:"この翻訳の音声は利用できません。",fr:"Cette traduction ne peut plus être lue.",de:"Für diese Übersetzung ist kein Audio mehr verfügbar."},"tts.unavailable":{en:"Translation audio is unavailable. Text translations still work.",ko:"번역 음성을 사용할 수 없습니다. 텍스트 번역은 계속 제공됩니다.",zh:"翻译语音暂不可用,文字翻译仍可使用。","zh-TW":"翻譯語音暫不可用,文字翻譯仍可使用。",ja:"翻訳音声は利用できません。テキスト翻訳は引き続き使えます。",fr:"Audio indisponible. Les traductions écrites restent disponibles.",de:"Übersetzungsaudio ist nicht verfügbar. Textübersetzungen funktionieren weiterhin."},"adminConfig.title":{en:"Admin configuration",ko:"관리자 설정",zh:"管理配置","zh-TW":"管理設定",ja:"管理者設定",fr:"Configuration administrateur",de:"Administratorkonfiguration"},"adminConfig.intro":{en:"Configure realtime translation and speech services.",ko:"실시간 번역 및 음성 서비스를 설정합니다.",zh:"配置实时翻译和语音服务。","zh-TW":"設定即時翻譯和語音服務。",ja:"リアルタイム翻訳と音声サービスを設定します。",fr:"Configurez la traduction en temps réel et les services vocaux.",de:"Konfigurieren Sie Echtzeitübersetzung und Sprachdienste."},"adminConfig.provider":{en:"Provider",ko:"제공업체",zh:"提供商","zh-TW":"供應商",ja:"プロバイダー",fr:"Fournisseur",de:"Anbieter"},"adminConfig.model":{en:"Speech model ID",ko:"음성 모델 ID",zh:"语音模型 ID","zh-TW":"語音模型 ID",ja:"音声モデルID",fr:"Identifiant du modèle vocal",de:"Sprachmodell-ID"},"adminConfig.voice":{en:"Voice ID",ko:"음성 ID",zh:"音色 ID","zh-TW":"音色 ID",ja:"音声ID",fr:"Identifiant de voix",de:"Stimmen-ID"},"adminConfig.speed":{en:"Speech speed (0.5–2×)",ko:"음성 속도 (0.5–2ë°°)",zh:"语速(0.5–2 倍)","zh-TW":"語速(0.5–2 倍)",ja:"読み上げ速度(0.5〜2倍)",fr:"Vitesse (0,5–2×)",de:"Sprechgeschwindigkeit (0,5–2×)"},"adminConfig.voiceHint":{en:"Voice IDs vary by model. Choose a speech model and a voice it supports.",ko:"음성 ID는 모델마다 다릅니다. 음성 모델과 지원하는 음성을 선택하세요.",zh:"音色 ID 因模型而异。请选择语音模型及其支持的音色。","zh-TW":"音色 ID 因模型而異。請選擇語音模型及其支援的音色。",ja:"音声IDはモデルによって異なります。対応する音声を選んでください。",fr:"Les voix dépendent du modèle. Choisissez une voix compatible.",de:"Stimmen-IDs sind modellabhängig. Wählen Sie eine unterstützte Stimme."},"adminConfig.docs":{en:"OpenRouter speech docs",ko:"OpenRouter 음성 문서",zh:"OpenRouter 语音文档","zh-TW":"OpenRouter 語音文件",ja:"OpenRouter音声ドキュメント",fr:"Documentation vocale OpenRouter",de:"OpenRouter-Sprachdokumentation"},"adminConfig.speedHint":{en:"Speed is applied only by models that support it. Audio uses MP3 for browser playback.",ko:"속도는 지원하는 모델에만 적용됩니다. 브라우저 재생에는 MP3를 사용합니다.",zh:"仅支持调速的模型会应用此设置。浏览器播放使用 MP3 格式。","zh-TW":"僅支援調速的模型會套用此設定。瀏覽器播放使用 MP3 格式。",ja:"速度変更に対å¿
92œã™ã‚‹ãƒ¢ãƒ‡ãƒ«ã«ã®ã¿é©ç”¨ã•れます。再生形式はMP3です。",fr:"La vitesse dépend du modèle. Le format audio est MP3.",de:"Die Geschwindigkeit gilt nur bei unterstützten Modellen. Audio wird als MP3 abgespielt."},"adminConfig.behavior":{en:"New classrooms start with TTS and autoplay off. Teachers can enable them separately during class.",ko:"새 교실은 TTS와 자동 재생이 꺼진 상태로 시작합니다. 선생님이 수업 중 각각 켤 수 있습니다.",zh:"新课堂默认关闭语音合成和自动播放。老师可在课堂中分别启用。","zh-TW":"新課堂預設關閉語音合成和自動播放。老師可在課堂中分別啟用。",ja:"新しい教室では読み上げと自動再生はオフです。先生が授業中に個別に有効にできます。",fr:"La synthèse et la lecture automatique sont désactivées dans les nouvelles classes. Les enseignants peuvent les activer séparément.",de:"Neue Klassen starten ohne Sprachausgabe und automatische Wiedergabe. Lehrkräfte können beides separat aktivieren."},"adminConfig.keyReady":{en:"OpenRouter API key is configured on the server.",ko:"서버에 OpenRouter API 키가 설정되어 있습니다.",zh:"服务器已配置 OpenRouter API 密钥。","zh-TW":"伺服器已配置 OpenRouter API 金鑰。",ja:"サーバーにOpenRouter APIキーが設定済みです。",fr:"La clé API OpenRouter est configurée sur le serveur.",de:"Der OpenRouter-API-Schlüssel ist auf dem Server eingerichtet."},"adminConfig.keyMissing":{en:"Set OPENROUTER_API_KEY on the server, or use LLM_API_KEY with LLM_PROVIDER=openrouter. Keys are never stored here.",ko:"서버에 OPENROUTER_API_KEY를 설정하거나 LLM_PROVIDER=openrouter와 LLM_API_KEY를 사용하세요. 키는 여기에 저장되지 않습니다.",zh:"请在服务器设置 OPENROUTER_API_KEY,或使用 LLM_PROVIDER=openrouter 和 LLM_API_KEY。密钥不在此处保存。","zh-TW":"請在伺服器設定 OPENROUTER_API_KEY,或使用 LLM_PROVIDER=openrouter 和 LLM_API_KEY。金鑰不在此處儲存。",ja:"サーバーにOPENROUTER_API_KEY、またはLLM_PROVIDER=openrouterとLLM_API_KEYを設定してください。キーはここには保存されません。",fr:"Définissez OPENROUTER_API_KEY sur le serveur, ou LLM_API_KEY avec LLM_PROVIDER=openrouter. Aucune clé n’est stockée ici.",de:"Setzen Sie OPENROUTER_API_KEY auf dem Server oder LLM_API_KEY mit LLM_PROVIDER=openrouter. Schlüssel werden hier nicht gespeichert."},"adminConfig.save":{en:"Save settings",ko:"설정 저장",zh:"保存设置","zh-TW":"儲存設定",ja:"設定を保存",fr:"Enregistrer",de:"Einstellungen speichern"},"adminConfig.saving":{en:"Saving…",ko:"저장 중…",zh:"正在保存…","zh-TW":"正在儲存…",ja:"保存中…",fr:"Enregistrement…",de:"Wird gespeichert…"},"adminConfig.saved":{en:"Settings saved.",ko:"설정이 저장되었습니다.",zh:"设置已保存。","zh-TW":"設定已儲存。",ja:"設定を保存しました。",fr:"Réglages enregistrés.",de:"Einstellungen gespeichert."},"adminConfig.retry":{en:"Retry",ko:"다시 시도",zh:"重试","zh-TW":"重試",ja:"再試行",fr:"Réessayer",de:"Erneut versuchen"},"adminConfig.error.load":{en:"Could not load settings. Check the database connection and apply migration 055_tts_config.sql.",ko:"설정을 불러오지 못했습니다. 데이터베이스 연결을 확인하고 055_tts_config.sql을 실행하세요.",zh:"无法加载设置。请检查数据库连接并运行迁移 055_tts_config.sql。","zh-TW":"無法載入設定。請檢查資料庫連線並執行遷移 055_tts_config.sql。",ja:"設定を読み込めません。DB接続を確認し、055_tts_config.sqlを適用してください。",fr:"Impossible de charger les réglages. Vérifiez la base et appliquez 055_tts_config.sql.",de:"Einstellungen konnten nicht geladen werden. Prüfen Sie die Datenbank und wenden Sie 055_tts_config.sql an."},"adminConfig.error.save":{en:"Could not save settings. Please try again.",ko:"설정을 저장하지 못했습니다. 다시 시도하세요.",zh:"无法保存设置,请重试。","zh-TW":"無法儲存設定,請重試。",ja:"設定を保存できませんでした。再試行してください。",fr:"Impossible d’enregistrer. Réessayez.",de:"Speichern fehlgeschlagen. Bitte erneut versuchen."},"adminConfig.error.forbidden":{en:"This page is restricted to administrators.",ko:"관리자만 이 페이지에 접근할 수 있습니다.",zh:"此页面仅限管理员访问ã€
92‚","zh-TW":"此頁面僅限管理員存取。",ja:"このページは管理者専用です。",fr:"Cette page est réservée aux administrateurs.",de:"Diese Seite ist nur für Administratoren zugänglich."},"adminConfig.error.invalid":{en:"Enter a provider/model ID, a voice ID, and a speed between 0.5 and 2.",ko:"제공업체/모델 ID, 음성 ID 및 0.5~2 사이의 속도를 입력하세요.",zh:"请输入提供商/模型 ID、音色 ID 和 0.5 至 2 之间的语速。","zh-TW":"請輸入供應商/模型 ID、音色 ID 和 0.5 至 2 之間的語速。",ja:"プロバイダー/モデルID、音声ID、0.5〜2の速度を入力してください。",fr:"Saisissez un identifiant fournisseur/modèle, une voix et une vitesse entre 0,5 et 2.",de:"Geben Sie Anbieter/Modell-ID, Stimmen-ID und eine Geschwindigkeit zwischen 0,5 und 2 ein."}},Qie={"adminTranslation.loading":{en:"Loading translation settings…",ko:"번역 설정을 불러오는 중…",zh:"正在加载翻译设置…","zh-TW":"正在載入翻譯設定…",ja:"翻訳設定を読み込み中…",fr:"Chargement des réglages de traduction…",de:"Übersetzungseinstellungen werden geladen…"},"adminTranslation.title":{en:"Realtime translation",ko:"실시간 번역",zh:"实时翻译","zh-TW":"即時翻譯",ja:"リアルタイム翻訳",fr:"Traduction en temps réel",de:"Echtzeitübersetzung"},"adminTranslation.intro":{en:"Changes apply to the next subtitle or chat translation. The API key stays on the server.",ko:"변경 사항은 다음 자막 또는 채팅 번역부터 적용됩니다. API 키는 서버에만 보관됩니다.",zh:"更改将在下一条字幕或聊天翻译时生效。API 密钥仅保留在服务器上。","zh-TW":"變更將在下一則字幕或聊天翻譯時生效。API 金鑰僅保留在伺服器上。",ja:"変更は次の字幕またはチャット翻訳から適用されます。APIキーはサーバー内にのみ保存されます。",fr:"Les changements s’appliquent à la prochaine traduction de sous-titre ou de message. La clé API reste sur le serveur.",de:"Änderungen gelten ab der nächsten Untertitel- oder Chatübersetzung. Der API-Schlüssel bleibt auf dem Server."},"adminTranslation.keyReady":{en:"LLM_API_KEY is configured on the server.",ko:"서버에 LLM_API_KEY가 설정되어 있습니다.",zh:"服务器已配置 LLM_API_KEY。","zh-TW":"伺服器已設定 LLM_API_KEY。",ja:"サーバーにLLM_API_KEYが設定済みです。",fr:"LLM_API_KEY est configurée sur le serveur.",de:"LLM_API_KEY ist auf dem Server eingerichtet."},"adminTranslation.keyMissing":{en:"Set LLM_API_KEY on the server. Translation credentials are never stored here.",ko:"서버에 LLM_API_KEY를 설정하세요. 번역 자격 증명은 여기에 저장되지 않습니다.",zh:"请在服务器上设置 LLM_API_KEY。翻译凭据不会存储在此处。","zh-TW":"請在伺服器上設定 LLM_API_KEY。翻譯憑證不會儲存在此處。",ja:"サーバーにLLM_API_KEYを設定してください。翻訳認証情報はここには保存されません。",fr:"Définissez LLM_API_KEY sur le serveur. Les identifiants de traduction ne sont jamais stockés ici.",de:"Setzen Sie LLM_API_KEY auf dem Server. Zugangsdaten für die Übersetzung werden hier nie gespeichert."},"adminTranslation.model":{en:"Translation model",ko:"번역 모델",zh:"翻译模型","zh-TW":"翻譯模型",ja:"翻訳モデル",fr:"Modèle de traduction",de:"Übersetzungsmodell"},"adminTranslation.model.recommended":{en:"recommended",ko:"권장",zh:"推荐","zh-TW":"建議",ja:"推奨",fr:"recommandé",de:"empfohlen"},"adminTranslation.model.custom":{en:"Custom OpenRouter model…",ko:"사용자 지정 OpenRouter 모델…",zh:"自定义 OpenRouter 模型…","zh-TW":"自訂 OpenRouter 模型…",ja:"カスタムOpenRouterモデル…",fr:"Modèle OpenRouter personnalisé…",de:"Benutzerdefiniertes OpenRouter-Modell…"},"adminTranslation.model.customId":{en:"Custom model ID",ko:"사용자 지정 모델 ID",zh:"自定义模型 ID","zh-TW":"自訂模型 ID",ja:"カスタムモデルID",fr:"Identifiant du modèle personnalisé",de:"Benutzerdefinierte Modell-ID"},"adminTranslation.model.customHint":{en:"Custom models are checked against OpenRouter and smoke-tested before activation. Batch models are not allowed.",ko:"사용자 지정 모델은 활성화 전에 OpenRouter 확인과 번역 테스트를 거칩니다. 배치 모델은 사용할 수 없습니다.",zh:"自定义模型会在启用前通过 OpenRouter 检查并进行翻译测试。不允许批处理模型。","zh-TW":"自訂模型會在啟用前通過 OpenRouter 檢查並進行翻譯測試。不允許批次模型。",ja:"カスタムモデルは有効化前にOpenRouterで確認し、翻訳テストを行います。バッチモデルは使用できません。",fr:"Les modèles personnalisés sont vérifiés auprès d’OpenRouter et testés avant activation. Les modèles batch sont refusés.",de:"Benutzerdefinierte Modelle werden vor der Aktivierung bei OpenRouter geprüft und getestet. Batch-Modelle sind nicht zulässig."},"adminTranslation.model.acknowledge":{en:"I understand that lesson cost reporting may be unavailable until pricing is added for this model.",ko:"이 모델의 가격 정보가 추가될 때까지 수업 비용 보고를 사용할 수 없을 수 있음을 이해합니다.",zh:"我了解,在添加此模型的价格前,课程费用报告可能不可用。","zh-TW":"我瞭解,在新增此模型的價格前,課程費用報告可能無法使用。",ja:"このモデルの料金が追加されるまで、レッスン費用を集計できない場合があることを理解しました。",fr:"Je comprends que le coût des cours peut rester indisponible tant que le tarif de ce modèle n’est pas ajouté.",de:"Mir ist bewusst, dass Unterrichtskosten erst nach Hinterlegung der Modellpreise verfügbar sein können."},"adminTranslation.prompt":{en:"Lesson prompt",ko:"수업 프롬프트",zh:"课堂提示词","zh-TW":"課堂提示詞",ja:"レッスンプロンプト",fr:"Prompt de cours",de:"Unterrichts-Prompt"},"adminTranslation.prompt.compact":{en:"Compact — recommended",ko:"간결 — 권장",zh:"精简 — 推荐","zh-TW":"精簡 — 建議",ja:"コンパクト — 推奨",fr:"Compact — recommandé",de:"Kompakt — empfohlen"},"adminTranslation.prompt.legacy":{en:"Legacy — more context",ko:"기존 — 더 많은 문맥",zh:"旧版 — 更多上下文","zh-TW":"舊版 — 更多上下文",ja:"従来版 — 文脈多め",fr:"Historique — plus de contexte",de:"Alt — mehr Kontext"}
92,"adminTranslation.prompt.cached":{en:"Cached — slower, prompt caching",ko:"캐시 — 더 느림, 프롬프트 캐싱",zh:"缓存 — 较慢,提示词缓存","zh-TW":"快取 — 較慢,提示詞快取",ja:"キャッシュ — 低速、プロンプトキャッシュ",fr:"Cache — plus lent, mise en cache du prompt",de:"Cache — langsamer, Prompt-Caching"},"adminTranslation.prompt.cachedWarning":{en:"Cached mode sends a much larger stable prompt and can increase first-token latency. Use it only after benchmarking.",ko:"캐시 모드는 훨씬 큰 고정 프롬프트를 전송하므로 첫 토큰 지연시간이 늘어날 수 있습니다. 벤치마크 후에만 사용하세요.",zh:"缓存模式会发送大得多的固定提示词,可能增加首个令牌延迟。请仅在基准测试后使用。","zh-TW":"快取模式會傳送大得多的固定提示詞,可能增加首個權杖延遲。請僅在基準測試後使用。",ja:"キャッシュモードは大幅に長い固定プロンプトを送信するため、最初のトークンまでの時間が増える場合があります。ベンチマーク後にのみ使用してください。",fr:"Le mode cache envoie un prompt stable beaucoup plus volumineux et peut augmenter le délai du premier jeton. Utilisez-le uniquement après un benchmark.",de:"Der Cache-Modus sendet einen wesentlich größeren stabilen Prompt und kann die Zeit bis zum ersten Token erhöhen. Verwenden Sie ihn nur nach einem Benchmark."},"adminTranslation.reasoning":{en:"Reasoning effort",ko:"추론 수준",zh:"推理强度","zh-TW":"推理強度",ja:"推論レベル",fr:"Niveau de raisonnement",de:"Denkaufwand"},"adminTranslation.reasoning.minimal":{en:"Minimal",ko:"최소",zh:"极低","zh-TW":"極低",ja:"最小",fr:"Minimal",de:"Minimal"},"adminTranslation.reasoning.low":{en:"Low — recommended",ko:"낮음 — 권장",zh:"低 — 推荐","zh-TW":"低 — 建議",ja:"低 — 推奨",fr:"Faible — recommandé",de:"Niedrig — empfohlen"},"adminTranslation.reasoning.medium":{en:"Medium",ko:"중간",zh:"中","zh-TW":"中",ja:"中",fr:"Moyen",de:"Mittel"},"adminTranslation.reasoning.high":{en:"High",ko:"높음",zh:"高","zh-TW":"高",ja:"高",fr:"Élevé",de:"Hoch"},"adminTranslation.routing":{en:"OpenRouter priority",ko:"OpenRouter 우선순위",zh:"OpenRouter 路由优先级","zh-TW":"OpenRouter 路由優先順序",ja:"OpenRouter優先順位",fr:"Priorité OpenRouter",de:"OpenRouter-Priorität"},"adminTranslation.routing.latency":{en:"Lowest latency — recommended",ko:"최저 지연시간 — 권장",zh:"最低延迟 — 推荐","zh-TW":"最低延遲 — 建議",ja:"最低レイテンシー — 推奨",fr:"Latence minimale — recommandé",de:"Niedrigste Latenz — empfohlen"},"adminTranslation.routing.throughput":{en:"Highest throughput",ko:"최고 처리량",zh:"最高吞吐量","zh-TW":"最高輸送量",ja:"最高スループット",fr:"Débit maximal",de:"Höchster Durchsatz"},"adminTranslation.routing.price":{en:"Lowest price",ko:"최저 가격",zh:"最低价格","zh-TW":"最低價格",ja:"最低価格",fr:"Prix minimal",de:"Niedrigster Preis"},"adminTranslation.routing.default":{en:"OpenRouter default",ko:"OpenRouter 기본값",zh:"OpenRouter 默认","zh-TW":"OpenRouter 預設",ja:"OpenRouterデフォルト",fr:"Valeur OpenRouter par défaut",de:"OpenRouter-Standard"},"adminTranslation.fixedParams":{en:"Safety limits are fixed at temperature 0.2 and 512 completion tokens. Reasoning is used internally but excluded from responses.",ko:"안전 설정은 temperature 0.2와 완료 토큰 512개로 ê
92³ ì •됩니다. 추론은 내부적으로 사용되지만 응답에는 포함되지 않습니다.",zh:"安全限制固定为 temperature 0.2 和 512 个输出令牌。推理在内部使用,但不会包含在响应中。","zh-TW":"安全限制固定為 temperature 0.2 和 512 個輸出權杖。推理在內部使用,但不會包含在回應中。",ja:"安全上の上限はtemperature 0.2、完了トークン512に固定されています。推論は内部で使用され、応答には含まれません。",fr:"Les limites sont fixées à une température de 0,2 et 512 jetons de sortie. Le raisonnement reste interne et n’est pas renvoyé.",de:"Die Sicherheitsgrenzen sind auf Temperatur 0,2 und 512 Ausgabetoken festgelegt. Das interne Reasoning wird nicht zurückgegeben."},"adminTranslation.cost.tracked":{en:"Cost reporting is available for the active model.",ko:"활성 모델의 비용 보고를 사용할 수 있습니다.",zh:"当前模型可用费用报告。","zh-TW":"目前模型可使用費用報告。",ja:"有効なモデルのコスト集計を利用できます。",fr:"Le suivi des coûts est disponible pour le modèle actif.",de:"Die Kostenerfassung ist für das aktive Modell verfügbar."},"adminTranslation.cost.untracked":{en:"Cost reporting is unavailable for the active model until local pricing is added.",ko:"로컬 가격 정보가 추가될 때까지 활성 모델의 비용 보고를 사용할 수 없습니다.",zh:"在添加本地定价前,当前模型无法提供费用报告。","zh-TW":"在新增本機定價前,目前模型無法提供費用報告。",ja:"ローカル料金情報が追加されるまで、有効なモデルのコストは集計できません。",fr:"Le suivi des coûts reste indisponible pour le modèle actif jusqu’à l’ajout du tarif local.",de:"Die Kostenerfassung bleibt für das aktive Modell bis zur Hinterlegung lokaler Preise nicht verfügbar."},"adminTranslation.source.database":{en:"Active source: admin database configuration.",ko:"활성 소스: 관리자 데이터베이스 설정.",zh:"当前来源:管理员数据库配置。","zh-TW":"目前來源:管理員資料庫設定。",ja:"有効な設定元: 管理データベース。",fr:"Source active : configuration administrateur en base.",de:"Aktive Quelle: Administratorkonfiguration aus der Datenbank."},"adminTranslation.source.environment":{en:"Active source: server environment fallback.",ko:"활성 소스: 서버 환경 대체 설정.",zh:"当前来源:服务器环境回退配置。","zh-TW":"目前來源:伺服器環境備援設定。",ja:"有効な設定元: サーバー環境のフォールバック。",fr:"Source active : configuration de secours du serveur.",de:"Aktive Quelle: Server-Umgebungswerte als Rückfall."},"adminTranslation.updated":{en:"Last updated: {date}",ko:"마지막 업데이트: {date}",zh:"最后更新:{date}","zh-TW":"最後更新:{date}",ja:"最終更新: {date}",fr:"Dernière mise à jour : {date}",de:"Zuletzt aktualisiert: {date}"},"adminTranslation.save":{en:"Validate and save translation",ko:"번역 검증 및 저장",zh:"验证并保存翻译设置","zh-TW":"驗證並儲存翻譯設定",ja:"翻訳設定を検証して保存",fr:"Valider et enregistrer la traduction",de:"Übersetzung prüfen und speichern"},"adminTranslation.saving":{en:"Validating…",ko:"검증 중…",zh:"正在验证…","zh-TW":"正在驗證…",ja:"検証中…",fr:"Validation…",de:"Wird geprüft…"},"adminTranslation.saved":{en:"Translation settings validated and activated.",ko:"번역 설정이 검증되어 활성화되었습니다.",zh:"翻译设置已验证并启用。","zh-TW":"翻譯設定已驗證並啟用。",ja:"翻訳設定を検証し、有効化しました。",fr:"Réglages de traduction validés et activés.",de:"Übersetzungseinstellungen wurden geprüft und aktiviert."},"adminTranslation.error.load":{en:"Could not load translation settings. Check the database and apply migration 057_translation_config.sql.",ko:"번역 설정을 불러오지 못했습니다. 데이터베이스를 확인하고 057_translation_config.sql을 실행하세요.",zh:"无法加载翻译设置。请检查数据库并运行迁移 057_translation_config.sql。","zh-TW":"無法載入翻譯設定。請檢查資料庫並執行遷移 057_translation_config.sql。",ja:"翻訳設定を読み込めません。データベースを確認し、057_translation_config.sqlを適用してください。",fr:"Impossible de charger la traduction. Vérifiez la base et appliquez 057_translation_config.sql.",de:"Übersetzungseinstellungen konnten nicht geladen werden. Prüfen Sie die Datenbank und wenden Sie 057_translation_config.sql an."},"adminTranslation.error.save":{en:"Could not save translation settings. The previous configuration remains active.",ko:"번역 설정을 저장하지 못했습니다. 이전 설정이 계속 활성화됩니다.",zh:"无法保存翻译设置。先前的配置仍然有效。","zh-TW":"無法儲存翻譯設定。
92先前的設定仍然有效。",ja:"翻訳設定を保存できませんでした。以前の設定が引き続き有効です。",fr:"Impossible d’enregistrer. La configuration précédente reste active.",de:"Speichern fehlgeschlagen. Die vorherige Konfiguration bleibt aktiv."},"adminTranslation.error.forbidden":{en:"This page is restricted to administrators.",ko:"관리자만 이 페이지에 접근할 수 있습니다.",zh:"此页面仅限管理员访问。","zh-TW":"此頁面僅限管理員存取。",ja:"このページは管理者専用です。",fr:"Cette page est réservée aux administrateurs.",de:"Diese Seite ist nur für Administratoren zugänglich."},"adminTranslation.error.invalid":{en:"Enter a valid non-batch OpenRouter model and select compatible settings.",ko:"유효한 비배치 OpenRouter 모델을 입력하고 호환되는 설정을 선택하세요.",zh:"请输入有效的非批处理 OpenRouter 模型并选择兼容设置。","zh-TW":"請輸入有效的非批次 OpenRouter 模型並選擇相容設定。",ja:"有効な非バッチOpenRouterモデルと互換性のある設定を選んでください。",fr:"Saisissez un modèle OpenRouter non batch valide et des réglages compatibles.",de:"Geben Sie ein gültiges OpenRouter-Modell ohne Batch-Variante und kompatible Einstellungen an."},"adminTranslation.error.validation":{en:"The model failed compatibility or live translation validation. The previous configuration remains active.",ko:"모델이 호환성 또는 실시간 번역 검증에 실패했습니다. 이전 설정이 계속 활성화됩니다.",zh:"模型未通过兼容性或实时翻译验证。先前的配置仍然有效。","zh-TW":"模型未通過相容性或即時翻譯驗證。
92先前的設定仍然有效。",ja:"モデルが互換性またはライブ翻訳の検証に失敗しました。以前の設定が引き続き有効です。",fr:"Le modèle a échoué au contrôle de compatibilité ou de traduction. La configuration précédente reste active.",de:"Das Modell bestand die Kompatibilitäts- oder Live-Übersetzungsprüfung nicht. Die vorherige Konfiguration bleibt aktiv."},"adminTranslation.error.unpriced":{en:"Confirm the missing-cost warning before saving this custom model.",ko:"이 사용자 지정 모델을 저장하기 전에 비용 정보 누락 경고를 확인하세요.",zh:"保存此自定义模型前,请确认费用信息缺失警告。","zh-TW":"儲存此自訂模型前,請確認費用資訊缺失警告。",ja:"このカスタムモデルを保存する前に、料金未登録の警告を確認してください。",fr:"Confirmez l’avertissement de coût manquant avant d’enregistrer ce modèle.",de:"Bestätigen Sie vor dem Speichern den Hinweis auf fehlende Kostenangaben."},"adminTranslation.error.keyMissing":{en:"LLM_API_KEY is not configured on the server, so the model cannot be validated or activated.",ko:"서버에 LLM_API_KEY가 설정되지 않아 모델을 검증하거나 활성화할 수 없습니다.",zh:"服务器未配置 LLM_API_KEY,因此无法验证或启用模型。","zh-TW":"伺服器未設定 LLM_API_KEY,因此無法驗證或啟用模型。",ja:"サーバーにLLM_API_KEYが設定されていないため、モデルを検証・有効化できません。",fr:"LLM_API_KEY n’est pas configurée sur le serveur ; le modèle ne peut pas être validé ni activé.",de:"LLM_API_KEY ist auf dem Server nicht eingerichtet; das Modell kann nicht geprüft oder aktiviert werden."}},WA={...Fie,...$ie,...Bie,...Uie,...qie,...Hie,...Gie,...Kie,...Vie,...Yie,...Jie,...Zie,"controls.lessonSettings":{en:"Lesson settings & files",ko:"수업 설정 및 기보",zh:"课程设置与棋谱","zh-TW":"課程設定與棋譜",ja:"レッスン設定と棋譜",fr:"Réglages et fichiers",de:"Einstellungen & Dateien"},"controls.alternateMoves":{en:"Alternate moves with student",ko:"학생과 번갈아 두기",zh:"与学生轮流落子","zh-TW":"與學生輪流落子",ja:"生徒と交互に打つ",fr:"Jouer à tour de rôle avec l’élève",de:"Abwechselnd mit Schüler spielen"},"mediaCaptureRecovery.timeout":{en:"Microphone or camera access is taking too long. Check your browser permissions, then try the mic or camera control again.",ko:"마이크 또는 카메라 연결이 지연되고 있어요. 브라우저 권한을 확인한 뒤 마이크나 카메라 버튼으로 다시 시도하세요.",zh:"麦克风或摄像头访问超时。请检查浏览器权限,然后再次点击麦克风或摄像头按钮。","zh-TW":"麥克風或攝影機存取逾時。請檢查瀏覽器權限,然後再次點擊麥克風或攝影機按鈕。",ja:"マイクまたはカメラへの接続に時間がかかっています。ブラウザーの権限を確認し、マイクまたはカメラのボタンで再試行してください。",fr:"L’accès au micro ou à la caméra prend trop de temps. Vérifiez les autorisations du navigateur, puis réessayez avec le bouton du micro ou de la caméra.",de:"Der Zugriff auf Mikrofon oder Kamera dauert zu lange. Prüfen Sie die Browserberechtigungen und versuchen Sie es über die Mikrofon- oder Kamerataste erneut."},"mediaCaptureRecovery.retry":{en:"Your microphone or camera could not reconnect. Check your browser permissions and device, then try the mic or camera control again.",ko:"마이크 또는 카메라를 다시 연결하지 못했어요. 브라우저 권한과 장치를 확인한 뒤 마이크나 카메라 버튼으로 다시 시도하세요.",zh:"麦克风或摄像头无法重新连接。请检查浏览器权限和设备,然后再次点击麦克风或摄像头按钮。","zh-TW":"麥克風或攝影機無法重新連線。請檢查瀏覽器權限和裝置,然後再次點擊麥克風或攝影機按鈕。",ja:"マイクまたはカメラを再接続できませんでした。ブラウザーの権限と機器を確認し、マイクまたはカメラのボタンで再試行してください。",fr:"Impossible de reconnecter le micro ou la caméra. Vérifiez les autorisations et votre appareil, puis réessayez avec le bouton du micro ou de la caméra.",de:"Mikrofon oder Kamera konnte nicht erneut verbunden werden. Prüfen Sie Browserberechtigungen und Gerät und versuchen Sie es über die Mikrofon- oder Kamerataste erneut."},"publicRecovery.profileError":{en:"Couldn't load this teacher.",ko:"선생님 정보를 불러오지 못했어요.",zh:"无法加载这位老师的信息。","zh-TW":"無法載入這位老師的資訊。",ja:"先生の情報を読み込めませんでした。",fr:"Impossible de charger ce professeur.",de:"Diese Lehrkraft konnte nicht geladen werden."},"publicRecovery.tryAgain":{en:"Please try again, or browse other teachers.",ko:"다시 시도하거나 다른 선생님을 둘러보세요.",zh:"请重试,或浏览å
92…¶ä»–老师。","zh-TW":"請重試,或瀏覽其他老師。",ja:"再試行するか、ほかの先生をご覧ください。",fr:"Réessayez ou consultez les autres professeurs.",de:"Versuchen Sie es erneut oder sehen Sie sich andere Lehrkräfte an."},"publicRecovery.browseTeachers":{en:"Browse all teachers",ko:"모든 선생님 보기",zh:"浏览所有老师","zh-TW":"瀏覽所有老師",ja:"すべての先生を見る",fr:"Voir tous les professeurs",de:"Alle Lehrkräfte ansehen"},"publicRecovery.noMatchingTeachers":{en:"No matching teachers are listed here yet. Browse all teachers to explore other options.",ko:"아직 조건에 맞는 선생님이 없습니다. 모든 선생님을 둘러보며 다른 선택지를 찾아보세요.",zh:"这里暂时没有符合条件的老师。浏览所有老师,了解其他选择。","zh-TW":"這裡暫時沒有符合條件的老師。瀏覽所有老師,了解其他選擇。",ja:"条件に合う先生はまだ掲載されていません。すべての先生からほかの選択肢をご覧ください。",fr:"Aucun professeur correspondant pour le moment. Consultez tous les professeurs pour découvrir d’autres possibilités.",de:"Hier sind noch keine passenden Lehrkräfte aufgeführt. Sehen Sie sich alle Lehrkräfte an, um weitere Möglichkeiten zu entdecken."},...Xie,...Qie,"bootstrap.title.create":{ko:"새 바둑 수업",zh:"新围棋课","zh-TW":"新圍棋課",ja:"新しい囲碁レッスン",en:"New Baduk lesson",fr:"New Baduk lesson",de:"New Baduk lesson"},"bootstrap.title.join":{ko:"수업 참가",zh:"加入课程","zh-TW":"加入課程",ja:"レッスンに参加",en:"Join lesson",fr:"Join lesson",de:"Join lesson"},"bootstrap.name.label":{ko:"이름",zh:"姓名","zh-TW":"姓名",ja:"名前",en:"Your name",fr:"Votre nom",de:"Ihr Name"},"bootstrap.name.placeholder":{ko:"예: 김",zh:"例:李","zh-TW":"例:李",ja:"例:田中",en:"e.g. Kim",fr:"e.g. Kim",de:"e.g. Kim"},"bootstrap.lang.label":{ko:"사용 언어",zh:"语言","zh-TW":"語言",ja:"使用言語",en:"Your language",fr:"Votre langue",de:"Ihre Sprache"},"bootstrap.studentLang.label":{ko:"학생 언어",zh:"学生语言","zh-TW":"學生語言",ja:"生徒の言語",en:"Student language",fr:"Langue de l'élève",de:"Sprache des Schülers"},"bootstrap.sgf.label":{ko:"SGF 파일 (선택)",zh:"SGF 文件(可选)","zh-TW":"SGF 檔案(可選)",ja:"SGFファイル(任意)",en:"SGF file (optional)",fr:"SGF file (optional)",de:"SGF file (optional)"},"bootstrap.sgf.loaded":{ko:"불러옴:",zh:"已加载:","zh-TW":"已載入:",ja:"読込済:",en:"Loaded:",fr:"Loaded:",de:"Loaded:"},"bootstrap.sgf.remove":{ko:"삭제",zh:"删除","zh-TW":"刪除",ja:"削除",en:"Remove",fr:"Supprimer",de:"Entfernen"},"bootstrap.sgf.drop":{ko:".sgf 파일을 여기에 놓으세요…",zh:"将 .sgf 文件拖放到此处…","zh-TW":"將 .sgf 檔案拖放到此處…",ja:".sgfファイルをここにドロップ…",en:"Drop an .sgf file here…",fr:"Drop an .sgf file here…",de:"Drop an .sgf file here…"},"bootstrap.btn.create":{ko:"수업 만들기",zh:"创建课程","zh-TW":"建立課程",ja:"レッスン作成",en:"Create lesson",fr:"Create lesson",de:"Create lesson"},"bootstrap.btn.creating":{ko:"만드는 중…",zh:"创建中…","zh-TW":"建立中…",ja:"作成中…",en:"Creating…",fr:"Creating…",de:"Creating…"},"bootstrap.btn.join":{ko:"수업 참가",zh:"加入课程","zh-TW":"加入課程",ja:"レッスンに参加",en:"Join lesson",fr:"Join lesson",de:"Join lesson"},"bootstrap.error.noName":{ko:"이름을 입력하세요",zh:"请输入姓名","zh-TW":"請輸入姓名",ja:"名前を入力してください",en:"Please enter your name",fr:"Please enter your name",de:"Please enter your name"},"bootstrap.passcode.checkbox":{ko:"비밀번호로 보호",zh:"使用密码保护","zh-TW":"使用密碼保護",ja:"パスコードで保護",en:"Protect with passcode",fr:"Protect with passcode",de:"Protect with passcode"},"bootstrap.passcode.label":{ko:"ë°© 비밀번호",zh:"房间密码","zh-TW":"房間密碼",ja:"ルームパスコード",en:"Room passcode",fr:"Room passcode",de:"Room passcode"},"bootstrap.passcode.copy":{ko:"복사",zh:"复制","zh-TW":"複製",ja:"コピー",en:"Copy",fr:"Copier",de:"Kopieren"},"bootstrap.passcode.copied":{ko:"복사됨",zh:"已复制","zh-TW":"已複製",ja:"コピー済み",en:"Copied!",fr:"Copié !",de:"Kopiert!"},"bootstrap.passcode.title":{ko:"ë°© 비밀번호 입력",zh:"输入房间密码","zh-TW":"輸入房間密碼",ja:"ルームパスコードを入力",en:"Enter room passcode",fr:"Enter room passcode",de:"Enter room passcode"},"bootstrap.passcode.hint":{ko:"선생님이 알려준 비밀번호를 입력하세요",zh:"请输入老师提供的密码","zh-TW":"請輸入老師提供的密碼",ja:"先生から共有されたパスコードを入力してください",en:"Enter the passcode your teacher shared",fr:"Enter the passcode your teacher shared",de
92:"Enter the passcode your teacher shared"},"bootstrap.passcode.submit":{ko:"참가",zh:"加入","zh-TW":"加入",ja:"参加",en:"Join",fr:"Rejoindre",de:"Beitreten"},"bootstrap.passcode.invalid":{ko:"비밀번호가 틀립니다. 다시 시도하세요.",zh:"密码错误,请重试。","zh-TW":"密碼錯誤,請重試。",ja:"パスコードが違います。もう一度お試しください。",en:"Incorrect passcode. Please try again.",fr:"Incorrect passcode. Please try again.",de:"Incorrect passcode. Please try again."},"bootstrap.media.mic":{ko:"마이크 사용",zh:"启用麦克风","zh-TW":"啟用麥克風",ja:"マイクを使用",en:"Enable microphone",fr:"Activer le microphone",de:"Mikrofon aktivieren"},"bootstrap.media.cam":{ko:"카메라 사용",zh:"启用摄像头","zh-TW":"啟用攝像頭",ja:"カメラを使用",en:"Enable webcam",fr:"Activer la webcam",de:"Webcam aktivieren"},"bootstrap.multi.checkbox":{ko:"여러 학생 허용",zh:"允许多名学生","zh-TW":"允許多名學生",ja:"複数の生徒を許可",en:"Allow multiple students",fr:"Autoriser plusieurs élèves",de:"Mehrere Schüler erlauben"},"bootstrap.multi.hint":{ko:"최대 8명까지 참가할 수 있습니다. 이 모드에서는 학생 카메라와 마이크가 꺼져 있습니다.",zh:"最多 8 名学生。此模式下学生摄像头和麦克风关闭。","zh-TW":"最多 8 名學生。此模式下學生攝像頭和麥克風關閉。",ja:"最大8人の生徒が参加できます。このモードでは生徒のカメラとマイクはオフです。",en:"Up to 8 students. Student camera and microphone are off in this mode.",fr:"Up to 8 students. Student camera and microphone are off in this mode.",de:"Up to 8 students. Student camera and microphone are off in this mode."},"bootstrap.error.roomFull":{ko:"수업이 가득 찼습니다.",zh:"课程人数已满。","zh-TW":"課程人數已滿。",ja:"レッスンは満員です。",en:"This lesson is full.",fr:"This lesson is full.",de:"This lesson is full."},"presence.studentsCount":{ko:"학생 {count}/{max}명",zh:"学生 {count}/{max}","zh-TW":"學生 {count}/{max}",ja:"生徒 {count}/{max}",en:"{count}/{max} students",fr:"{count}/{max} students",de:"{count}/{max} students"},"controls.activeStudent.label":{ko:"활성 학생",zh:"当前学生","zh-TW":"當前學生",ja:"アクティブな生徒",en:"Active student",fr:"Active student",de:"Active student"},"controls.activeStudent.none":{ko:"학생 선택",zh:"选择学生","zh-TW":"選擇學生",ja:"生徒を選択",en:"Select student",fr:"Select student",de:"Select student"},"controls.giveControl":{ko:"제어권 주기",zh:"授予控制权","zh-TW":"授予控制權",ja:"操作権を渡す",en:"Give control",fr:"Donner le contrôle",de:"Kontrolle übergeben"},"controls.studentMediaOff":{ko:"그룹 수업 — 선생님 음성이 들립니다. 마이크와 카메라는 꺼져 있습니다.",zh:"小组课 — 你可以听到老师的声音。你的麦克风和摄像头已关闭。","zh-TW":"小組課 — 你可以聽到老師的聲音。你的麥克風和鏡頭已關閉。",ja:"グループレッスン — 先生の音声が聞こえます。あなたのマイクとカメラはオフです。",en:"Group lesson — you can hear your teacher. Your mic and camera are off.",fr:"Group lesson — you can hear your teacher. Your mic and camera are off.",de:"Group lesson — you can hear your teacher. Your mic and camera are off."},"bootstrap.reconnect.title":{ko:"수업으로 재연결 중…",zh:"正在重新连接课程…","zh-TW":"正在重新連線課程…",ja:"レッスンに再接続中…",en:"Reconnecting to your lesson…",fr:"Reconnecting to your lesson…",de:"Reconnecting to your lesson…"},"bootstrap.reconnect.body":{ko:"이전 설정으로 다시 참가합니다.",zh:"使用上次的设置重新加入。","zh-TW":"使用上次的設定重新加入。",ja:"前回の設定で再参加します。",en:"Rejoining with your last settings.",fr:"Rejoining with your last settings.",de:"Rejoining with your last settings."},"bootstrap.reconnect.edit":{ko:"설정 변경",zh:"修改设置","zh-TW":"修改設定",ja:"設定を変更",en:"Change settings",fr:"Change settings",de:"Change settings"},"timer.elapsed":{ko:"경과",zh:"已用时","zh-TW":"已用時",ja:"経過",en:"Elapsed",fr:"Elapsed",de:"Elapsed"},"board.tools.more":{en:"More",ko:"더보기",zh:"更多","zh-TW":"更多",ja:"その他",fr:"Plus",de:"Mehr"},"layout.focusOn":{ko:"집중 모드",zh:"专注模式","zh-TW":"專注模式",ja:"集中モード",en:"Focus board",fr:"Mode focus",de:"Fokusmodus"},"layout.focusOff":{ko:"집중 모드 해제",zh:"退出专注","zh-TW":"退出專注",ja:"集中モード解除",en:"Exit focus",fr:"Quitter le focus",de:"Fokus beenden"},"layout.openChat":{ko:"채팅 열기",zh:"打开聊天","zh-TW":"打開聊天",ja:"チャットを開く",en:"Open chat",fr:"Ouvrir le chat",de:"Chat öffnen"},"layout.collapseChat":{ko:"채팅 접기",zh:"收起聊天","zh-TW":"收起聊天",ja:"チャットを畳む",en:"Collapse chat",fr:"Réduire le chat",de:"Chat einklappen"},"layout.openPanels":{ko:"패널 열기",zh:"打开面板","zh-TW":"打開面板",ja:"パネルを開く",en:"Open panels",fr:"Ouvrir les panneaux",de:"Panels öffnen"},"layout.collapsePanels":{ko:"패널 접기",zh:"收起面板","zh-TW":"收起面板",ja:"パネルを畳む",en:"Collapse panels",fr:"Réduire les panneaux",de:"Panels einklappen"},"layout.chatUnread":{ko:"새 메시지 {count}개",zh:"{count}条新消息","zh-TW":"{count}則新訊息",ja:"新着メッセージ{count}ä»¶",en:"{count} new messages",fr:"{count} nouveaux messages",de:"{count} neue Nachrichten"},"controls.title":{ko:"수업 도구",zh:"课程控制","zh-TW":"課程控制",ja:"レッスン操作",en:"Lesson controls",fr:"Contrôles de la leçon",de:"Lektionssteuerung"},"controls.copyLink":{ko:"학생 링크 복사",zh:"复制学生链接","zh-TW":"複製學生連結",ja:"生徒リンクをコピー",en:"Copy student link",fr:"Copier le lien étudiant",de:"Schüler-Link kopieren"},"controls.driving":{ko:"내가 조작 중",zh:"你正在操控","zh-TW":"你正在操控",ja:"あなたが操作中",en:"You are driving",fr:"You are driving",de:"You are driving"},"controls.takeControl":{ko:"조작하기",zh:"获取控制权","zh-TW":"獲取控制權",ja:"操作権を取得",en:"Take control",fr:"Prendre le contrôle",de:"Übernehmen"},"controls.muteMic":{ko:"마이크 끄기",zh:"关闭麦克风","zh-TW":"關閉麥克風",ja:"マイクオフ",en:"Mute mic",fr:"Couper le micro",de:"Mikrofon stummschalten"},"controls.unmuteMic":{ko:"마이크 켜기",zh:"打开麦克风","zh-TW":"開å•
92Ÿéº¥å…‹é¢¨",ja:"マイクオン",en:"Unmute mic",fr:"Activer le micro",de:"Mikrofon einschalten"},"controls.muteStoneSound":{ko:"돌 소리 끄기",zh:"关闭落子音效","zh-TW":"關閉落子音效",ja:"石音をオフ",en:"Mute stone sound",fr:"Couper le son des pierres",de:"Steingeräusch stummschalten"},"controls.unmuteStoneSound":{ko:"돌 소리 켜기",zh:"开启落子音效","zh-TW":"開啟落子音效",ja:"石音をオン",en:"Unmute stone sound",fr:"Activer le son des pierres",de:"Steingeräusch aktivieren"},"controls.camOff":{ko:"카메라 끄기",zh:"关闭摄像头","zh-TW":"關閉攝像頭",ja:"カメラオフ",en:"Turn cam off",fr:"Désactiver la caméra",de:"Kamera ausschalten"},"controls.camOn":{ko:"카메라 켜기",zh:"打开摄像头","zh-TW":"開啟攝像頭",ja:"カメラオン",en:"Turn cam on",fr:"Activer la caméra",de:"Kamera einschalten"},"controls.acquiringMic":{ko:"마이크 활성화 중…",zh:"启用麦克风…","zh-TW":"啟用麥克風…",ja:"マイク有効化中…",en:"Enabling mic…",fr:"Enabling mic…",de:"Enabling mic…"},"controls.acquiringCam":{ko:"카메라 활성화 중…",zh:"启用摄像头…","zh-TW":"啟用攝像頭…",ja:"カメラ有効化中…",en:"Enabling cam…",fr:"Enabling cam…",de:"Enabling cam…"},"controls.loadSgf":{ko:"SGF 불러오기",zh:"加载 SGF","zh-TW":"載入 SGF",ja:"SGFを読み込む",en:"Load SGF",fr:"Charger SGF",de:"SGF laden"},"controls.downloadSgf":{ko:"SGF 다운로드",zh:"下载 SGF","zh-TW":"下載 SGF",ja:"SGFダウンロード",en:"Download SGF",fr:"Download SGF",de:"Download SGF"},"controls.leave":{ko:"수업 나가기",zh:"离开课程","zh-TW":"離開課程",ja:"レッスンを退出",en:"Leave lesson",fr:"Quitter la leçon",de:"Lektion verlassen"},"controls.leaveConfirm":{ko:"수업에서 나가시겠어요?",zh:"确定要离开本节课吗?","zh-TW":"確定要離開本節課嗎?",ja:"レッスンから退出しますか?",en:"Leave this lesson?",fr:"Quitter cette leçon ?",de:"Diese Lektion verlassen?"},"controls.studentLang.label":{ko:"학생 언어",zh:"学生语言","zh-TW":"學生語言",ja:"生徒の言語",en:"Student language",fr:"Langue de l'élève",de:"Sprache des Schülers"},"controls.studentLang.lockedByStudent":{ko:"학생이 선택함: {lang}",zh:"学生已选择:{lang}","zh-TW":"學生已選擇:{lang}",ja:"生徒が選択: {lang}",en:"Student selected {lang}",fr:"Student selected {lang}",de:"Student selected {lang}"},"controls.lockedDuringGame":{ko:"대국 중에는 잠금 상태입니다.",zh:"对局进行中已锁定。","zh-TW":"對局進行中已鎖定。",ja:"対局中はロックされています。",en:"Locked during the game.",fr:"Locked during the game.",de:"Locked during the game."},"controls.myLang.label":{ko:"내 언어",zh:"我的语言","zh-TW":"我的語言",ja:"自分の言語",en:"My language",fr:"Ma langue",de:"Meine Sprache"},"controls.myCaptions.label":{ko:"내 자막 언어",zh:"我的字幕语言","zh-TW":"我的字幕語言",ja:"字幕の言語",en:"My captions",fr:"Mes sous-titres",de:"Meine Untertitel"},"controls.translation.off":{ko:"번역 꺼짐",zh:"翻译已关闭","zh-TW":"翻譯已關閉",ja:"翻訳オフ",en:"Translation off",fr:"Traduction désactivée",de:"Übersetzung aus"},"controls.groupModeHint":{ko:"그룹 수업 — 학생에게 선생님 음성이 전달됩니다. 학생은 바둑판, 채팅, 자막으로 참여하며 카메라는 꺼져 있습니다. 각 학생은 자신의 자막 언어를 선택합니다.",zh:"小组课 — 学生可以听到老师的声音。学生通过棋盘、聊天和字幕参与,摄像头关闭。每位学生选择自己的字幕语言。","zh-TW":"小組課 — 學生可以聽到老師的聲音。學生透過棋盤、聊天和字幕參與,鏡頭關閉。每位學生選擇自己的字幕語言。",ja:"グループレッスン — 生徒に先生の音声が届きます。生徒は碁盤・チャット・字幕で参加し、カメラはオフです。各生徒が自分の字幕言語を選びます。",en:"Group lesson — your students can hear you. They take part by board, chat, and captions; cameras stay off. Each student picks their own caption language.",fr:"Group lesson — your students can hear you. They take part by board, chat, and captions; cameras stay off. Each student picks their own caption language.",de:"Group lesson — your students can hear you. They take part by board, chat, and captions; cameras stay off. Each student picks their own caption language."},"controls.analysis.show":{ko:"AI 분석 표시",zh:"显示 AI 分析","zh-TW":"顯示 AI 分析",ja:"AI解析を表示",en:"Show AI analysis",fr:"Afficher l'analyse IA",de:"KI-Analyse anzeigen"},"controls.analysis.hide":{ko:"AI 분석 숨기기",zh:"隐藏 AI 分析","zh-TW":"隱藏 AI 分析",ja:"AI解析を非表示",en:"Hide AI analysis",fr:"Masquer l'analyse IA",de:"KI-Analyse ausblenden"},"controls.interactive.title":{ko:"대국 모드",zh:"对弈模式","zh-TW":"對弈模式",ja:"対局モード",en:"Interactive mode",fr:"Interactive mode",de:"Interactive mode"},"controls.interactive.studentBlack":{ko:"학생이 흑 (검은 돌)",zh:"学生执黑","zh-TW":"學生執黑",ja:"生徒が黒",en:"Student plays Black",fr:"Student plays Black",de
92:"Student plays Black"},"controls.interactive.studentWhite":{ko:"학생이 백 (흰 돌)",zh:"学生执白","zh-TW":"學生執白",ja:"生徒が白",en:"Student plays White",fr:"Student plays White",de:"Student plays White"},"controls.interactive.exit":{ko:"대국 모드 종료",zh:"退出对弈模式","zh-TW":"退出對弈模式",ja:"対局モードを終了",en:"Exit interactive mode",fr:"Exit interactive mode",de:"Exit interactive mode"},"controls.interactive.activePrefix":{ko:"대국 모드 — 학생:",zh:"对弈中 — 学生:","zh-TW":"對弈中 — 學生:",ja:"対局中 — 生徒:",en:"Interactive on — student:",fr:"Interactive on — student:",de:"Interactive on — student:"},"controls.group.media":{ko:"미디어",zh:"媒体","zh-TW":"媒體",ja:"メディア",en:"Media",fr:"Médias",de:"Medien"},"controls.group.sound":{ko:"소리",zh:"声音","zh-TW":"聲音",ja:"サウンド",en:"Sound",fr:"Son",de:"Ton"},"controls.group.boardControl":{ko:"바둑판 제어",zh:"棋盘控制","zh-TW":"棋盤控制",ja:"盤面操作",en:"Board control",fr:"Contrôle du plateau",de:"Brettsteuerung"},"controls.group.share":{ko:"공유",zh:"分享","zh-TW":"分享",ja:"共有",en:"Share",fr:"Partage",de:"Teilen"},"controls.group.files":{ko:"기보 파일",zh:"棋谱文件","zh-TW":"棋譜檔案",ja:"棋譜ファイル",en:"Board files",fr:"Fichiers SGF",de:"SGF-Dateien"},"driver.you":{ko:"내가 조작 중",zh:"你正在操控","zh-TW":"你正在操控",ja:"あなたが操作中",en:"You're driving",fr:"You're driving",de:"You're driving"},"driver.teacher":{ko:"선생님 조작 중",zh:"老师操控中","zh-TW":"老師操控中",ja:"先生が操作中",en:"Teacher driving",fr:"Teacher driving",de:"Teacher driving"},"driver.student":{ko:"학생 조작 중",zh:"学生操控中","zh-TW":"學生操控中",ja:"生徒が操作中",en:"Student driving",fr:"Student driving",de:"Student driving"},"presence.alone":{ko:"혼자 있음",zh:"仅您一人","zh-TW":"僅您一人",ja:"あなただけ",en:"Just you",fr:"Vous seul",de:"Nur Sie"},"presence.with":{ko:"{role} 접속",zh:"{role}在线","zh-TW":"{role}線上",ja:"{role}が参加中",en:"{role} is here",fr:"{role} is here",de:"{role} is here"},"presence.withNamed":{ko:"{name} 접속",zh:"{name} 在线","zh-TW":"{name} 線上",ja:"{name}が参加中",en:"{name} is here",fr:"{name} is here",de:"{name} is here"},"presence.roleTeacher":{ko:"선생님",zh:"老师","zh-TW":"老師",ja:"先生",en:"Teacher",fr:"Professeur",de:"Lehrer"},"presence.roleStudent":{ko:"학생",zh:"学生","zh-TW":"學生",ja:"生徒",en:"Student",fr:"Élève",de:"Schüler"},"presence.health.reconnecting":{ko:"다시 연결 중…",zh:"正在重新连接…","zh-TW":"正在重新連線…",ja:"再接続中…",en:"Reconnecting…",fr:"Reconnecting…",de:"Reconnecting…"},"presence.health.lost":{ko:"연결이 끊어졌습니다",zh:"连接已断开","zh-TW":"連線已斷開",ja:"接続が切れました",en:"Connection lost",fr:"Connection lost",de:"Connection lost"},"board.turn.yours":{ko:"내 차례",zh:"轮到你","zh-TW":"輪到你",ja:"あなたの番",en:"Your move",fr:"À votre tour",de:"Du bist am Zug"},"board.turn.opponent.teacher":{ko:"선생님 차례",zh:"老师的回合","zh-TW":"老師的回合",ja:"先生の番",en:"Teacher's move",fr:"Tour du professeur",de:"Lehrer ist am Zug"},"board.turn.opponent.student":{ko:"학생 차례",zh:"学生的回合","zh-TW":"學生的回合",ja:"生徒の番",en:"Student's move",fr:"Tour de l'élève",de:"Schüler ist am Zug"},"board.turn.opponent.studentNamed":{ko:"{name} 차례",zh:"{name} 的回合","zh-TW":"{name} 的回合",ja:"{name}の番",en:"{name}'s move",fr:"{name}'s move",de:"{name}'s move"},"board.color.black":{ko:"흑 (검은 돌)",zh:"黑","zh-TW":"黑",ja:"黒",en:"Black",fr:"Noir",de:"Schwarz"},"board.color.white":{ko:"백 (흰 돌)",zh:"白","zh-TW":"白",ja:"白",en:"White",fr:"Blanc",de:"Weiß"},"board.zoom.label":{ko:"바둑판 크기",zh:"棋盘大小","zh-TW":"棋盤大小",ja:"碁盤サイズ",en:"Board size",fr:"Taille du goban",de:"Brettgröße"},"board.zoom.in":{ko:"확대",zh:"放大","zh-TW":"放大",ja:"拡大",en:"Zoom in",fr:"Agrandir",de:"Vergrößern"},"board.zoom.out":{ko:"축소",zh:"缩小","zh-TW":"縮小",ja:"縮小",en:"Zoom out",fr:"Réduire",de:"Verkleinern"},"board.nav.label":{ko:"수순 이동",zh:"手数导航","zh-TW":"手數導航",ja:"手順ナビ",en:"Move navigation",fr:"Navigation des coups",de:"Zugnavigation"},"board.nav.back5":{ko:"5수 뒤로",zh:"后退5手","zh-TW":"後退5手",ja:"5手戻る",en:"Back 5 moves",fr:"Back 5 moves",de:"Back 5 moves"},"board.nav.back1":{ko:"1수 뒤로",zh:"后退1手","zh-TW":"後退1手",ja:"1手戻る",en:"Back 1 move",fr:"Back 1 move",de:"Back 1 move"},"board.nav.forward1":{ko:"1수 앞으로",zh:"前进1手","zh-TW":"前進1手",ja:"1手進む",en:"Forward 1 move",fr:"Forward 1 move",de:"Forward 1 move"},"board.nav.forward5":{ko:"5수 앞으로",zh:"前进5手","zh-TW":"前進5手",ja:"5手進む",en:"Forward 5 moves",fr:"Forward 5 moves",de:"Forward 5 moves"},"board.moveNumbers.label":{ko:"수순 번호",zh:"手数编号","zh-TW":"手數編號",ja:"手数番号",en:"Move numbers",fr:"Numéros de coups",de:"Zugnummern"},"board.moveNumbers.mode.off":{ko:"끄기",zh:"关闭","zh-TW":"關閉",ja:"オフ",en:"Off",fr:"Off",de:"Off"},"board.moveNumbers.mode.all":{ko:"모든 수",zh:"所有手","zh-TW":"所有手",ja:"全ての手",en:"All moves",fr:"All moves",de:"All moves"},"board.moveNumbers.mode.last":{ko:"마지막 수",zh:"最后一手","zh-TW":"最後一手",ja:"最後の一手",en:"Last move",fr:"Last move",de:"Last move"},"board.moveNumbers.mode.lastN":{ko:"최근 N수",zh:"最近 N 手","zh-TW":"最近 N 手",ja:"最近のN手",en:"Last N moves",fr:"Last N moves",de:"Last N moves"},"board.moveNumbers.summary.off":{ko:"끄기",zh:"关闭","zh-TW":"關閉",ja:"オフ",en:"Off",fr:"Off",de:"Off"},"board.moveNumbers.summary.all":{ko:"모든 수",zh:"所有","zh-TW":"所有",ja:"全て",en:"All",fr:"All",de:"All"},"board.moveNumbers.summary.last":{ko:"마지막",zh:"最后","zh-TW":"最後",ja:"最後",en:"Last",fr:"Last",de:"Last"},"board.moveNumbers.summary.lastN":{ko:"최근 {n}수",zh:"最近 {n} 手","zh-TW":"最近 {n} 手",ja:"最近{n}手",en:"Last {n}",fr:"Last {n}",de:"Last {n}"},"video.camOff":{ko:"카메라 꺼짐",zh:"摄像头关闭","zh-TW":"攝像頭關閉",ja:"カメラオフ",en:"cam off",fr:"cam off",de:"cam off"},"video.you":{ko:"나",zh:"我","zh-TW":"我",ja:"自分",en:"you",fr:"you",de:"you"},"video.peer":{ko:"상대",zh:"对方","zh-TW":"對方",ja:"相手",en:"peer",fr:"peer",de:"peer"},"video.minimize.self":{ko:"내 카메라 최소화",zh:"最小化我的摄像头","zh-TW":"最小化我的攝像頭",ja:"自分のカメラを最小化",en:"Minimize your camera",fr:"Minimize your camera",de:"Minimize your camera"},"video.minimize.peer":{ko:"상대 카메라 최소화",zh:"最小化对方摄像头","zh-TW":"最小化對方攝像頭",ja:"相手のカメラを最小化",en:"Minimize peer's camera",fr:"Minimize peer's camera",de:"Minimize peer's camera"},"video.expand.self":{ko:"내 카메라 표시",zh:"显示我的摄像头","zh-TW":"顯示我的攝像頭",ja:"自分のカメラを表示",en:"Show your camera",fr:"Show your camera",de:"Show your camera"},"video.expand.peer":{ko:"상대 카메라 표시",zh:"显示对方摄像头","zh-TW":"顯示對方攝像頭",ja:"相手のカメラを表示",en:"Show peer's camera",fr:"Show peer's camera",de:"Show peer's camera"},"tree.root":{ko:"시작",zh:"根","zh-TW":"根",ja:"ルート",en:"root",fr:"root",de:"root"},"tree.empty":{ko:"(비어 있음)",zh:"(空)","zh-TW":"(空)",ja:"(空)",en:"(empty)",fr:"(empty)",de:"(empty)"},"error.title":{ko:"오류",zh:"错误","zh-TW":"錯誤",ja:"エラー",en:"Error",fr:"Erreur",de:"Fehler"},"error.back":{ko:"돌아가기",zh:"返回","zh-TW":"返回",ja:"戻る",en:"Back",fr:"Retour",de:"Zurück"},"profile.title":{ko:"프로필 수정",zh:"编辑资料","zh-TW":"編輯資料",ja:"プロフィール編集",en:"Edit Profile",fr:"Modifier le profil",de:"Profil bearbeiten"},"profile.back":{ko:"뒤로",zh:"返回","zh-TW":"返回",ja:"戻る",en:"Back",fr:"Retour",de:"Zurück"},"profile.publicUrl":{ko:"공개 URL:",zh:"公开 URL:","zh-TW":"公開 URL:",ja:"公開URL:",en:"Public URL:",fr:"Public URL:",de:"Public URL:"},"profile.displayName":{ko:"표시 이름",zh:"显示名称","zh-TW":"顯示名稱",
92ja:"表示名",en:"Display Name",fr:"Nom d'affichage",de:"Anzeigename"},"profile.bio":{ko:"자기소개",zh:"个人简介","zh-TW":"個人簡介",ja:"自己紹介",en:"Bio",fr:"Biographie",de:"Biografie"},"profile.languages":{ko:"사용 언어",zh:"语言","zh-TW":"語言",ja:"使用言語",en:"Languages",fr:"Langues",de:"Sprachen"},"profile.goRank":{ko:"바둑 급수",zh:"围棋段位","zh-TW":"圍棋段位",ja:"囲碁の段位",en:"Go Rank",fr:"Niveau Go",de:"Go-Rang"},"profile.noRank":{ko:"급수 없음",zh:"无段位","zh-TW":"無段位",ja:"段位なし",en:"No rank",fr:"Aucun niveau",de:"Kein Rang"},"profile.preferredLang":{ko:"선호 언어",zh:"偏好语言","zh-TW":"偏好語言",ja:"希望言語",en:"Preferred language",fr:"Langue préférée",de:"Bevorzugte Sprache"},"profile.preferredLangRequired":{ko:"선호 언어를 선택하세요",zh:"请选择偏好语言","zh-TW":"請選擇偏好語言",ja:"希望言語を選択してください",en:"Please choose a preferred language",fr:"Veuillez choisir une langue préférée",de:"Bitte wählen Sie eine bevorzugte Sprache"},"profile.student.subtitle":{ko:"교사·메시지·예약 화면에서 사용되는 이름과 언어입니다.",zh:"此姓名和语言将显示给教师,并用于消息和预约。","zh-TW":"此姓名和語言會顯示給教師,並用於訊息和預約。",ja:"この名前と言語は、先生に表示されメッセージや予約に使われます。",en:"This name and language are shown to teachers and used for messages and bookings.",fr:"Ce nom et cette langue sont visibles par les enseignants et utilisés pour les messages et réservations.",de:"Dieser Name und die Sprache sind für Lehrer sichtbar und werden für Nachrichten und Buchungen verwendet."},"profile.preferredLang.unset":{ko:"선택 안 함",zh:"未设置","zh-TW":"未設定",ja:"未設定",en:"Not set",fr:"Non défini",de:"Nicht festgelegt"},"profile.preferredLang.help":{ko:"이메일과 학생 메시지를 받을 언어입니다.",zh:"系统将使用此语言向您发送邮件并翻译学生的消息。","zh-TW":"系統將使用此語言向您發送郵件並翻譯學生的訊息。",ja:"メールと生徒からのメッセージはこの言語で届きます。",en:"Used for your emails and student-message translations.",fr:"Utilisée pour vos e-mails et la traduction des messages d'élèves.",de:"Wird für E-Mails und Schülernachrichten-Übersetzungen verwendet."},"profile.save":{ko:"프로필 저장",zh:"保存资料","zh-TW":"儲存資料",ja:"プロフィールを保存",en:"Save Profile",fr:"Enregistrer le profil",de:"Profil speichern"},"profile.saving":{ko:"저장 중...",zh:"保存中...","zh-TW":"儲存中...",ja:"保存中...",en:"Saving...",fr:"Enregistrement…",de:"Speichern…"},"profile.saved":{ko:"프로필이 저장되었습니다.",zh:"资料已保存。","zh-TW":"資料已儲存。",ja:"プロフィールが保存されました。",en:"Profile saved successfully.",fr:"Profile saved successfully.",de:"Profile saved successfully."},"profile.loginRequired":{ko:"프로필을 수정하려면 로그인하세요",zh:"请登录以编辑资料","zh-TW":"請登入以編輯資料",ja:"プロフィールを編集するにはログインしてください",en:"Please log in to edit your profile",fr:"Please log in to edit your profile",de:"Please log in to edit your profile"},"profile.nameRequired":{ko:"표시 이름을 입력하세요",zh:"请输入显示名称","zh-TW":"請輸入顯示名稱",ja:"表示名を入力してください",en:"Display name is required",fr:"Display name is required",de:"Display name is required"},"profile.nameTooLong":{ko:"표시 이름은 100자 이내여야 합니다",zh:"显示名称不能超过 100 个字符","zh-TW":"顯示名稱不能超過 100 個字元",ja:"表示名は100文字以内にしてください",en:"Display name must be 100 characters or fewer",fr:"Display name must be 100 characters or fewer",de:"Display name must be 100 characters or fewer"},"profile.bioTooLong":{ko:"자기소개는 {max}자 이내여야 합니다",zh:"个人简介不能超过 {max} 个字符","zh-TW":"個人簡介不能超過 {max} 個字元",ja:"自己紹介は{max}文字以内にしてください",en:"Bio must be {max} characters or fewer",fr:"Bio must be {max} characters or fewer",de:"Bio must be {max} characters or fewer"},"profile.bioTooManyVideos":{ko:"자기소개에는 유튜브 영ìƒ
92ì„ 5개까지만 넣을 수 있습니다",zh:"个人简介最多可嵌入 5 个 YouTube 视频","zh-TW":"個人簡介最多可嵌入 5 個 YouTube 影片",ja:"自己紹介には YouTube 動画を5本までしか埋め込めません",en:"Bio can embed up to 5 YouTube videos",fr:"Bio can embed up to 5 YouTube videos",de:"Bio can embed up to 5 YouTube videos"},"profile.bioVideoCount":{ko:"유튜브 영상 {count}/{max}",zh:"YouTube 视频 {count}/{max}","zh-TW":"YouTube 影片 {count}/{max}",ja:"YouTube動画 {count}/{max}",en:"YouTube videos {count}/{max}",fr:"YouTube videos {count}/{max}",de:"YouTube videos {count}/{max}"},"profile.bioBilibiliCount":{ko:"Bilibili 영상 {count}/{max}",zh:"Bilibili 视频 {count}/{max}","zh-TW":"Bilibili 影片 {count}/{max}",ja:"Bilibili動画 {count}/{max}",en:"Bilibili videos {count}/{max}",fr:"Bilibili videos {count}/{max}",de:"Bilibili videos {count}/{max}"},"profile.bioImageCount":{ko:"이미지 {count}/{max}",zh:"图片 {count}/{max}","zh-TW":"圖片 {count}/{max}",ja:"画像 {count}/{max}",en:"Images {count}/{max}",fr:"Images {count}/{max}",de:"Images {count}/{max}"},"profile.bioTooManyBilibili":{ko:"자기소개에는 Bilibili 영상을 5개까지만 넣을 수 있습니다",zh:"个人简介最多可嵌入 5 个 Bilibili 视频","zh-TW":"個人簡介最多可嵌入 5 個 Bilibili 影片",ja:"自己紹介には Bilibili 動画を5本までしか埋め込めません",en:"Bio can embed up to 5 Bilibili videos",fr:"Bio can embed up to 5 Bilibili videos",de:"Bio can embed up to 5 Bilibili videos"},"profile.bioTooManyImages":{ko:"자기소개에는 이미지를 10개까지만 넣을 수 있습니다",zh:"个人简介最多可嵌入 10 张图片","zh-TW":"個人簡介最多可嵌入 10 張圖片",ja:"自己紹介には画像を10枚までしか埋め込めません",en:"Bio can embed up to 10 images",fr:"Bio can embed up to 10 images",de:"Bio can embed up to 10 images"},"profile.bioBilibiliShortLinkHint":{ko:"b23.tv 단축 링크는 삽입할 수 없습니다. 링크를 열어 전체 bilibili.com/video/… 주소를 붙여넣으세요.",zh:"无法嵌入 b23.tv 短链接,请打开后粘贴完整的 bilibili.com/video/… 网址。","zh-TW":"無法嵌入 b23.tv 短連結,請開啟後貼上完整的 bilibili.com/video/… 網址。",ja:"b23.tv の短縮リンクは埋め込めません。リンクを開いて完全な bilibili.com/video/… の URL を貼り付けてください。",en:"b23.tv short links can't be embedded — open the link and paste the full bilibili.com/video/… URL.",fr:"b23.tv short links can't be embedded — open the link and paste the full bilibili.com/video/… URL.",de:"b23.tv short links can't be embedded — open the link and paste the full bilibili.com/video/… URL."},"teacher.notFound":{ko:"선생님을 찾을 수 없습니다",zh:"未找到老师","zh-TW":"未找到老師",ja:"先生が見つかりません",en:"Teacher Not Found",fr:"Teacher Not Found",de:"Teacher Not Found"},"teacher.notFoundDesc":{ko:"이 선생님 프로필은 존재하지 않습니다.",zh:"该教师资料不存在。","zh-TW":"該教師資料不存在。",ja:"この先生のプロフィールは存在しません。",en:"This teacher profile does not exist.",fr:"This teacher profile does not exist.",de:"This teacher profile does not exist."},"teacher.about":{ko:"소개",zh:"关于","zh-TW":"關於",ja:"について",en:"About",fr:"About",de:"About"},"teacher.joinWaitlist":{ko:"대기자 명단 등록",zh:"加入候补名单","zh-TW":"加入候補名單",ja:"ウェイトリストに登録",en:"Join waitlist",fr:"Join waitlist",de:"Join waitlist"},"teacher.backHome":{ko:"홈으로 돌아가기",zh:"返回首页","zh-TW":"返回首頁",ja:"ホームに戻る",en:"Back to Home",fr:"Back to Home",de:"Back to Home"},"teacher.playYoutubeVideo":{ko:"유튜브 동영상 재생",zh:"播放 YouTube 视频","zh-TW":"播放 YouTube 影片",ja:"YouTube動画を再生",en:"Play YouTube video",fr:"Play YouTube video",de:"Play YouTube video"},"teacher.playBilibiliVideo":{ko:"Bilibili 동영상 재생",zh:"播放 Bilibili 视频","zh-TW":"播放 Bilibili 影片",ja:"Bilibili動画を再生",en:"Play Bilibili video",fr:"Play Bilibili video",de:"Play Bilibili video"},"mylessons.loadError":{en:"Some bookings could not be refreshed. Previously loaded bookings may be out of date. Please retry.",ko:"일부 예약을 새로 불러오지 못했습니다. 이전에 불러온 예약은 최신 정보가 아닐 수 있습니다. 다시 시도해 주세요.",zh:"部分预约无法刷新。之前加载的预约可能不是最新信息。请重试。","zh-TW":"部分預約無法重新整理。先前載入的預約可能不是最新資訊。請重試。",ja:"一部の予約を更新できませんでした。表示中の予約は最新でない可能性があります。再試行してください。",fr:"Certaines réservations n’ont pas pu être actualisées. Les réservations affichées peuvent être obsolètes. Réessayez.",de:"Einige Buchungen konnten nicht aktualisiert werden. Angezeigte Buchungen sind möglicherweise veraltet. Bitte erneut versuchen."},"shared.loading":{ko:"로딩 중...",zh:"加载中...","zh-TW":"載入中...",ja:"読み込み中...",en:"Loading...",fr:"Chargement…",de:"Laden…"},"shared.close":{ko:"닫기",zh:"关闭","zh-TW":"關閉",ja:"閉じる",en:"Close",fr:"Fermer",de:"Schließen"},"profile.loadFailed":{ko:"프로필을 불러올 수 없습니다",zh:"无法加载资料","zh-TW":"無法載入資料",ja:"プロフィールの読み込みに失敗しました",en:"Failed to load profile",fr:"Impossible de charger le profil",de:"Profil konnte nicht geladen werden"},"lang.ko":{ko:"한국어",zh:"韩语","zh-TW":"韓語",ja:"韓国語",en:"Korean",fr:"Cor
92éen",de:"Koreanisch"},"lang.zh":{ko:"중국어(간체)",zh:"简体中文","zh-TW":"簡體中文",ja:"中国語(簡体)",en:"Simplified Chinese",fr:"Chinois simplifié",de:"Chinesisch (Vereinfacht)"},"lang.zh-TW":{ko:"중국어(번체)",zh:"繁体中文","zh-TW":"繁體中文",ja:"中国語(繁体)",en:"Traditional Chinese",fr:"Chinois traditionnel",de:"Chinesisch (Traditionell)"},"lang.ja":{ko:"일본어",zh:"日语","zh-TW":"日語",ja:"日本語",en:"Japanese",fr:"Japonais",de:"Japanisch"},"lang.en":{ko:"영어",zh:"英语","zh-TW":"英語",ja:"英語",en:"English",fr:"Anglais",de:"Englisch"},"lang.fr":{ko:"프랑스어",zh:"法语","zh-TW":"法語",ja:"フランス語",en:"French",fr:"Français",de:"Französisch"},"lang.de":{ko:"독일어",zh:"德语","zh-TW":"德語",ja:"ドイツ語",en:"German",fr:"Allemand",de:"Deutsch"},"auth.login":{ko:"로그인",zh:"登录","zh-TW":"登入",ja:"ログイン",en:"Log in",fr:"Se connecter",de:"Anmelden"},"auth.logout":{ko:"로그아웃",zh:"退出登录","zh-TW":"退出登入",ja:"ログアウト",en:"Log out",fr:"Se déconnecter",de:"Abmelden"},"auth.loading":{ko:"로딩 중...",zh:"加载中...","zh-TW":"載入中...",ja:"読み込み中...",en:"Loading...",fr:"Chargement…",de:"Laden…"},"auth.signInTitle":{ko:"로그인",zh:"登录","zh-TW":"登入",ja:"ログイン",en:"Sign in",fr:"Connexion",de:"Anmelden"},"auth.signInDesc":{ko:"계속하려면 로그인해 주세요.",zh:"请登录以继续。","zh-TW":"請登入以繼續。",ja:"続けるにはログインしてください。",en:"Sign in to continue.",fr:"Connectez-vous pour continuer.",de:"Melde dich an, um fortzufahren."},"auth.verifyEmail.title":{ko:"이메일을 인증하세요",zh:"请验证您的邮箱","zh-TW":"請驗證您的郵箱",ja:"メールアドレスを確認してください",en:"Verify your email",fr:"Verify your email",de:"Verify your email"},"auth.verifyEmail.body":{ko:"{email} 로 인증 링크를 보냈습니다. 클릭한 후 다시 돌아오세요.",zh:"我们已向 {email} 发送验证链接。请点击后返回此页面。","zh-TW":"我們已向 {email} 傳送驗證連結。請點選後返回此頁面。",ja:"{email} 宛に認証リンクを送信しました。クリックしてからこのページに戻ってください。",en:"We sent a verification link to {email}. Click it, then return here.",fr:"We sent a verification link to {email}. Click it, then return here.",de:"We sent a verification link to {email}. Click it, then return here."},"auth.verifyEmail.resend":{ko:"인증 메일 재전송",zh:"重新发送验证邮件","zh-TW":"重新發送驗證郵件",ja:"確認メールを再送信",en:"Resend email",fr:"Resend email",de:"Resend email"},"auth.verifyEmail.resendSuccess":{ko:"전송됨 — 받은 편지함을 확인하세요",zh:"已发送 — 请查收","zh-TW":"已傳送 — 請查收",ja:"送信しました — 受信トレイをご確認ください",en:"Sent — check your inbox",fr:"Sent — check your inbox",de:"Sent — check your inbox"},"auth.verifyEmail.resendCooldown":{ko:"{seconds}초 후 다시 시도하세요",zh:"请在 {seconds} 秒后重试","zh-TW":"請在 {seconds} 秒後重試",ja:"{seconds}秒後にもう一度お試しください",en:"Try again in {seconds}s",fr:"Try again in {seconds}s",de:"Try again in {seconds}s"},"auth.verifyEmail.resendCaptchaFailed":{ko:"봇 검증에 실패했습니다. 다시 시도해 주세요.",zh:"人机验证失败,请重试。","zh-TW":"人機驗證失敗,請重試。",ja:"ボット検証に失敗しました。もう一度お試しください。",en:"Captcha check failed. Please try again.",fr:"Captcha check failed. Please try again.",de:"Captcha check failed. Please try again."},"auth.verifyEmail.resendRateLimited":{ko:"잠시 후 다시 시도하세요",zh:"请稍后再试","zh-TW":"請稍後再試",ja:"しばらくしてから再度お試しください",en:"Please wait a few minutes",fr:"Please wait a few minutes",de:"Please wait a few minutes"},"auth.verifyEmail.resendUnconfigured":{ko:"메일 서비스가 설정되지 않았습니다. 운영자에게 문의하세요.",zh:"邮件服务未配置,请联系管理员。","zh-TW":"郵件服務未配置,請聯絡管理員。",ja:"メールサービスが設定されていません。管理者にお問い合わせください。",en:"Email service is not configured — contact support",fr:"Email service is not configured — contact support",de:"Email service is not configured — contact support"},"auth.verifyEmail.iVerified":{ko:"인증 완료 — 새로고침",zh:"我已验证 — 刷新","zh-TW":"我已驗證 — 重新整理",ja:"確認しました — 再読み込み",en:"I've verified — refresh",fr:"I've verified — refresh",de:"I've verified — refresh"},"auth.verifyEmail.captchaLoading":{ko:"봇 검증 로딩 중…",zh:"正在加载验证…","zh-TW":"正在載入驗證…",ja:"検証を読み込み中…",en:"Loading c
92aptcha…",fr:"Loading captcha…",de:"Loading captcha…"},"auth.verifyEmail.didYouMean":{ko:"이메일 주소가 잘못된 것 같아요 — 혹시 {suggestion} 아닌가요?",zh:"邮箱地址可能有误 — 您是否想输入 {suggestion}?","zh-TW":"電子郵件地址可能有誤 — 您是不是想輸入 {suggestion}?",ja:"メールアドレスが間違っている可能性があります — {suggestion} ではありませんか?",en:"That email address may be misspelled — did you mean {suggestion}?",fr:"That email address may be misspelled — did you mean {suggestion}?",de:"That email address may be misspelled — did you mean {suggestion}?"},"auth.verifyEmail.notNow":{ko:"나중에",zh:"稍后","zh-TW":"稍後",ja:"後で",en:"Not now",fr:"Not now",de:"Not now"},"auth.inAppBrowser.title":{ko:"앱 내 브라우저에서는 로그인할 수 없습니다",zh:"无法在应用内浏览器中登录","zh-TW":"無法在應用程式內瀏覽器中登入",ja:"アプリ内ブラウザではログインできません",en:"Sign-in not available in this browser",fr:"Connexion impossible dans ce navigateur",de:"Anmeldung in diesem Browser nicht möglich"},"auth.inAppBrowser.body":{ko:"Google는 Gmail과 같은 앱 내 브라우저에서의 로그인을 차단합니다. 계속하려면 기본 브라우저(Chrome, Safari 등)에서 이 페이지를 열어 주세요.",zh:"Google 会阻止在 Gmail 等应用内浏览器中登录。请在默认浏览器(Chrome、Safari 等)中打开此页面以继续。","zh-TW":"Google 會阻擋 Gmail 等應用程式內瀏覽器的登入。請在預設瀏覽器(Chrome、Safari 等)中開啟此頁面以繼續。",ja:"Google はGmailなどのアプリ内ブラウザからのログインをブロックしています。続行するには、既定のブラウザ(Chrome、Safari など)でこのページを開いてください。",en:"Google blocks sign-in inside in-app browsers like Gmail’s. To continue, open this page in your default browser (Chrome, Safari).",fr:"Google bloque la connexion depuis les navigateurs intégrés comme celui de Gmail. Pour continuer, ouvrez cette page dans votre navigateur par défaut (Chrome, Safari).",de:"Google blockiert die Anmeldung in In-App-Browsern wie dem von Gmail. Bitte öffnen Sie diese Seite in Ihrem Standardbrowser (Chrome, Safari), um fortzufahren."},"auth.inAppBrowser.step1":{ko:"화면 상단의 메뉴 (⋮ 또는 ⋯) 를 누르세요.",zh:"点按屏幕顶部的菜单图标(⋮ 或 ⋯)。","zh-TW":"點選螢幕頂端的選單圖示(⋮ 或 ⋯)。",ja:"画面上部のメニュー(⋮ または ⋯)をタップします。",en:"Tap the menu (⋮ or ⋯) at the top of this screen.",fr:"Appuyez sur le menu (⋮ ou ⋯) en haut de l’écran.",de:"Tippen Sie oben auf dem Bildschirm auf das Menü (⋮ oder ⋯)."},"auth.inAppBrowser.step2":{ko:"“브라우저에서 열기” (또는 “Chrome / Safari에서 열기”) 를 선택하세요.",zh:"选择「在浏览器中打开」(或「在 Chrome / Safari 中打开」)。","zh-TW":"選擇「在瀏覽器中開啟」(或「在 Chrome / Safari 中開啟」)。",ja:"「ブラウザで開く」(または「Chrome / Safariで開く」)を選びます。",en:"
92Choose “Open in browser” (or “Open in Chrome / Safari”).",fr:"Choisissez « Ouvrir dans le navigateur » (ou « Ouvrir dans Chrome / Safari »).",de:"Wählen Sie „Im Browser öffnen“ (oder „In Chrome / Safari öffnen“)."},"auth.inAppBrowser.openInChrome":{ko:"Chrome에서 열기",zh:"在 Chrome 中打开","zh-TW":"在 Chrome 中開啟",ja:"Chromeで開く",en:"Open in Chrome",fr:"Ouvrir dans Chrome",de:"In Chrome öffnen"},"auth.inAppBrowser.copy":{ko:"링크 복사",zh:"复制链接","zh-TW":"複製連結",ja:"リンクをコピー",en:"Copy link",fr:"Copier le lien",de:"Link kopieren"},"auth.inAppBrowser.copied":{ko:"복사됨",zh:"已复制","zh-TW":"已複製",ja:"コピーしました",en:"Copied",fr:"Copié",de:"Kopiert"},"auth.inAppBrowser.urlLabel":{ko:"페이지 주소",zh:"页面网址","zh-TW":"頁面網址",ja:"ページのURL",en:"Page URL",fr:"URL de la page",de:"Seiten-URL"},"tree.title":{ko:"수순",zh:"棋谱树","zh-TW":"棋譜樹",ja:"棋譜ツリー",en:"Move tree",fr:"Arbre de variantes",de:"Zugbaum"},"analysis.title":{ko:"AI 분석",zh:"AI 分析","zh-TW":"AI 分析",ja:"AI 解析",en:"AI analysis",fr:"Analyse IA",de:"KI-Analyse"},"analysis.noData":{ko:"이 수에는 분석 데이터가 없습니다.",zh:"此手无分析数据。","zh-TW":"此手無分析資料。",ja:"この手の解析データはありません。",en:"No analysis on this move.",fr:"No analysis on this move.",de:"No anal
92ysis on this move."},"analysis.visits":{ko:"계산",zh:"访问","zh-TW":"訪問",ja:"訪問",en:"visits",fr:"visits",de:"visits"},"analysis.score":{ko:"점수",zh:"目数","zh-TW":"目數",ja:"目数",en:"Score",fr:"Score",de:"Score"},"analysis.toggle":{ko:"수업에 표시",zh:"全班可见","zh-TW":"全班可見",ja:"全員に表示",en:"For class",fr:"Pour tous",de:"Für alle"},"analysis.expand":{ko:"펼치기 / 접기",zh:"展开 / 折叠","zh-TW":"展開 / 摺疊",ja:"展開 / 折りたたみ",en:"Expand / collapse",fr:"Expand / collapse",de:"Expand / collapse"},"analysis.topN":{ko:"표시 개수",zh:"显示数量","zh-TW":"顯示數量",ja:"候補数",en:"Show top",fr:"Show top",de:"Show top"},"analysis.pv.label":{ko:"예상 변화도:",zh:"预想变化:","zh-TW":"預想變化:",ja:"想定手順:",en:"Variation:",fr:"Variation:",de:"Variation:"},"analysis.candidate.aria":{ko:"후보 {coord}, 승률 {winrate}%",zh:"候选 {coord},胜率 {winrate}%","zh-TW":"候選 {coord},勝率 {winrate}%",ja:"候補 {coord}、勝率 {winrate}%",en:"Candidate {coord}, winrate {winrate}%",fr:"Candidate {coord}, winrate {winrate}%",de:"Candidate {coord}, winrate {winrate}%"},"analysis.chart.title":{ko:"승률 추이",zh:"胜率走势","zh-TW":"勝率走勢",ja:"勝率推移",en:"Winrate",fr:"Winrate",de:"Winrate"},"analysis.chart.aria":{ko:"대국 승률 차트",zh:"对局胜率图","zh-TW":"對局勝率圖",ja:"対局勝率チャート",en:"Game winrate chart",fr:"Game winrate chart",de:"Game winrate chart"},"analysis.chart.cursorRoot":{ko:"시작",zh:"起始","zh-TW":"起始",ja:"開始",en:"Start",fr:"Start",de:"Start"},"banner.reconnecting":{ko:"다시 연결 중…",zh:"正在重新连接…","zh-TW":"正在重新連線…",ja:"再接続中…",en:"Reconnecting...",fr:"Reconnexion…",de:"Verbindung wird wiederhergestellt…"},"banner.reconnected":{ko:"다시 연결되었습니다",zh:"已重新连接","zh-TW":"已重新連線",ja:"再接続しました",en:"Reconnected",fr:"Reconnecté",de:"Wieder verbunden"},"banner.connectionLost":{ko:"연결이 끊어졌습니다 — 다시 참가해 주세요",zh:"连接已断开 — 请重新加入","zh-TW":"連線已斷開 — 請重新加入",ja:"接続が切れました — もう一度参加してください",en:"Connection lost — please rejoin",fr:"Connection lost \\u2014 please rejoin",de:"Connection lost \\u2014 please rejoin"},"banner.mediaReconnecting":{ko:"음성/영상 다시 연결 중…",zh:"音视频重新连接中…","zh-TW":"音影片重新連線中…",ja:"音声・ビデオ再接続中…",en:"Reconnecting audio/video...",fr:"Reconnecting audio/video...",de:"Reconnecting audio/video..."},"banner.forceTurnActive":{ko:"진단 모드: TURN 릴레이 강제 사용 중 (?forceTurn=1 을 URL에서 제거하면 해제됩니다)",zh:"诊断模式:正在强制使用 TURN 中继(从网址中移除 ?forceTurn=1 即可关闭)","zh-TW":"診斷模式:正在強制使用 TURN 中繼(從網址中移除 ?forceTurn=1 即可關閉)",ja:"診断モード: TURNリレー強制使用中(URLから ?forceTurn=1 を削除すると解除されます)",en:"Diagnostic mode: forcing TURN relay (remove ?forceTurn=1 from URL to disable)",fr:"Diagnostic mode: forcing TURN relay (remove ?forceTurn=1 from URL to disable)",de:"Diagnostic mode: forcing TURN relay (remove ?forceTurn=1 from URL to disable)"},"banner.mediaTrackLost":{ko:"{kind} 장치 연결이 끊어졌습니다 — 다시 연결 중…",zh:"{kind}设备已断开 — 正在重新连接…","zh-TW":"{kind}裝置已斷開 — 正在重新連線…",ja:"{kind}デバイスが切断されました — 再接続中…",en:"{kind} device disconnected — reconnecting...",fr:"{kind} device disconnected — reconnecting...",de:"{kind} device disconnected — reconnecting..."},"banner.mediaTrackRecovered":{ko:"{kind} 다시 연결되었습니다",zh:"{kind}已恢复","zh-TW":"{kind}已恢復",ja:"{kind}を再接続しました",en:"{kind} reconnected",fr:"{kind} reconnected",de:"{kind} reconnected"},"banner.mediaTrackKindAudio":{ko:"마이크",zh:"麦克风","zh-TW":"麥克風",ja:"マイク",en:"Microphone",fr:"Microphone",de:"Mikrofon"},"banner.mediaTrackKindVideo":{ko:"카메라",zh:"摄像头","zh-TW":"攝像頭",ja:"カメラ",en:"Camera",fr:"Caméra",de:"Kamera"},"banner.partnerLeft":{ko:"상대방이 수업에서 나갔습니다",zh:"对方已离开课程","zh-TW":"對方已離開課程",ja:"相手がレッスンから退出しました",en:"Your partner left the lesson",fr:"Your partner left the lesson",de:"Your partner left the lesson"},"banner.partnerDisconnected":{ko:"상대방의 연결이 끊어졌습니다 — 재접속을 기다리는 중…",zh:"对方的连接已断开 — æ­£å
92œ¨ç­‰å¾…重新连接…","zh-TW":"對方的連線已斷開 — 正在等待重新連線…",ja:"相手の接続が切れました — 再接続を待っています…",en:"Your partner's connection dropped — waiting for reconnect...",fr:"Your partner's connection dropped \\u2014 waiting for reconnect...",de:"Your partner's connection dropped \\u2014 waiting for reconnect..."},"banner.partnerReconnected":{ko:"상대방이 다시 연결되었습니다",zh:"对方已重新连接","zh-TW":"對方已重新連線",ja:"相手が再接続しました",en:"Your partner reconnected",fr:"Your partner reconnected",de:"Your partner reconnected"},"banner.subtitlesReconnecting":{ko:"자막 다시 연결 중…",zh:"正在重新连接字幕…","zh-TW":"正在重新連接字幕…",ja:"字幕を再接続中…",en:"Reconnecting captions…",fr:"Reconnexion des sous-titres…",de:"Untertitel werden wiederhergestellt…"},"banner.translatorUnavailable":{ko:"번역을 일시적으로 사용할 수 없습니다 — 원어 자막은 계속 표시됩니다",zh:"翻译暂时不可用 — 仍会显示原语言字幕","zh-TW":"翻譯暫時不可用 — 仍會顯示原語言字幕",ja:"翻訳を一時的に利用できません — 元の言語の字幕は引き続き表示されます",en:"Translation temporarily unavailable — source-language captions continue",fr:"Traduction temporairement indisponible — les sous-titres en langue source continuent",de:"Übersetzung vorübergehend nicht verfügbar — Untertitel in Originalsprache werden weiterhin angezeigt"},"banner.subtitlesDegraded":{ko:"자막이 누락될 수 있습니다 — 네트워크 연결이 느립니다.",zh:"字幕可能不完整 — 您的网络连接较慢。","zh-TW":"字幕可能不完整 — 您的网络连接较慢。",ja:"字幕が不完全な可能性があります — ネットワーク接続が遅くなっています。",en:"Subtitles may be incomplete — your network connection is slow.",fr:"Subtitles may be incomplete \\u2014 your network connection is slow.",de:"Subtitles may be incomplete \\u2014 your network connection is slow."},"banner.trialWarning":{ko:"체험 수업: {minutes}분 남았습니다",zh:"试用课程:剩余 {minutes} 分钟","zh-TW":"試用課程:剩餘 {minutes} 分鐘",ja:"トライアルレッスン:残り {minutes} 分",en:"Trial lesson: {minutes} minutes remaining",fr:"Trial lesson: {minutes} minutes remaining",de:"Trial lesson: {minutes} minutes remaining"},"banner.trialEnded":{ko:"체험 수업이 종료되었습니다",zh:"试用课程已结束","zh-TW":"試用課程已結束",ja:"トライアルレッスンが終了しました",en:"Trial lesson ended",fr:"Leçon d'essai terminée",de:"Probelektion beendet"},"banner.writeRejected":{ko:"해당 작업을 적용할 수 없습니다.",zh:"无法执行该操作。","zh-TW":"無法執行該操作。",ja:"その操作を適用できませんでした。",en:"That action couldn't be applied.",fr:"Cette action n'a pas pu être appliquée.",de:"Diese Aktion konnte nicht angewendet werden."},"banner.mediaUnavailable":{ko:"마이크 / 카메라를 사용할 수 없습니다 ({reason}). 음성과 영상이 꺼졌습니다.",zh:"麦克风 / 摄像头不可用({reason})。语音和视频已禁用。","zh-TW":"麥克風 / 攝像頭不可用({reason})。語音和影片已停用。",ja:"マイク / カメラが使えません({reason})。音声とビデオは無効になります。",en:"Microphone / camera unavailable ({reason}). Voice and video are disabled.",fr:"Microphone / camera unavailable ({reason}). Voice and video are disabled.",de:"Microphone / camera unavailable ({reason}). Voice and video are disabled."},"banner.micPermissionDenied":{ko:"마이크 권한이 거부되었습니다",zh:"麦克风权限被拒绝","zh-TW":"麥克風許可權被拒絕",ja:"マイクの使用が拒否されました",en:"Microphone permission denied",fr:"Microphone permission denied",de:"Microphone permission denied"},"banner.micUnavailable":{ko:"마이크에 접근할 수 없습니다",zh:"无法
92访问麦克风","zh-TW":"無法訪問麥克風",ja:"マイクにアクセスできませんでした",en:"Could not access microphone",fr:"Could not access microphone",de:"Could not access microphone"},"banner.camPermissionDenied":{ko:"카메라 권한이 거부되었습니다",zh:"摄像头权限被拒绝","zh-TW":"攝像頭許可權被拒絕",ja:"カメラの使用が拒否されました",en:"Camera permission denied",fr:"Camera permission denied",de:"Camera permission denied"},"banner.camUnavailable":{ko:"카메라에 접근할 수 없습니다",zh:"无法访问摄像头","zh-TW":"無法訪問攝像頭",ja:"カメラにアクセスできませんでした",en:"Could not access camera",fr:"Could not access camera",de:"Could not access camera"},"errors.disposableEmail":{ko:"임시 또는 일회용 이메일 주소는 사용할 수 없습니다. 영구적인 이메일 주소로 로그인해 주세요.",zh:"不支持临时或一次性电子邮件地址。请使用长期有效的邮箱登录。","zh-TW":"不支援臨時或一次性電子郵件地址。請使用長期有效的電子郵件登入。",ja:"一時的または使い捨てのメールアドレスはご利用いただけません。恒久的なメールアドレスでサインインしてください。",en:"Temporary or disposable email addresses aren’t supported. Please sign in with a permanent email address.",fr:"Temporary or disposable email addresses aren’t supported. Please sign in with a permanent email address.",de:"Temporary or disposable email addresses aren’t supported. Please sign in with a permanent email address."},"error.connectFailed":{ko:"서버에 연결하지 못했습니다",zh:"无法连接到服务器","zh-TW":"無法連線到伺服器",ja:"サーバーに接続できませんでした",en:"Failed to connect to server",fr:"Impossible de se connecter au serveur",de:"Verbindung zum Server fehlgeschlagen"},"error.createRoomFailed":{ko:"수업을 만들지 못했습니다 ({status})",zh:"创建课程失败({status})","zh-TW":"建立課程失敗({status})",ja:"レッスンの作成に失敗しました({status})",en:"Failed to create room ({status})",fr:"Failed to create room ({status})",de:"Failed to create room ({status})"},"error.somethingWrong":{ko:"문제가 발생했습니다",zh:"发生错误","zh-TW":"發生錯誤",ja:"問題が発生しました",en:"Something went wrong",fr:"Une erreur est survenue",de:"Etwas ist schiefgelaufen"},"bootstrap.signInRequired":{ko:"수업을 만들려면 로그인하세요.",zh:"请登录以创建课程。","zh-TW":"請登入以建立課程。",ja:"レッスンを作成するにはログインしてください。",en:"Sign in to create a lesson room.",fr:"Sign in to create a lesson room.",de:"Sign in to create a lesson room."},"bootstrap.trialCount":{ko:"체험 수업 {used}/{max}",zh:"试用课程 {used} / {max}","zh-TW":"試用課程 {used} / {max}",ja:"トライアルレッスン {used} / {max}",en:"Trial lesson {used} of {max}",fr:"Trial lesson {used} of {max}",de:"Trial lesson {used} of {max}"},"bootstrap.trialExhausted.title":{ko:"연습용 수업을 모두 사용하셨습니다",zh:"免费练习课已用完","zh-TW":"免費練習課已用完",ja:"練習用レッスンを使い切りました",en:"You've used all your practice lessons",fr:"You've used all your practice lessons",de:"You've used all your practice lessons"},"bootstrap.trialExhausted.body":{ko:"온보딩 중에 추가 연습용 수업이 필요하면 운영자에게 문의해주세요.",zh:"如在使用阶段需要更多练习课,请联系管理员。","zh-TW":"如在使用階段需要更多練習課,請聯絡管理員。",ja:"オンボーディング中に練習用レッスンを追加したい場合は管理者にお問い合わせください。",en:"Contact support if you need more practice lessons during onboarding.",fr:"Contact support if you need more practice lessons during onboarding.",de:"Contact support if you need more practice lessons during onboarding."},"bootstrap.trialExhausted.back":{ko:"돌아가기",zh:"返回","zh-TW":"返回",ja:"戻る",en:"Go back",fr:"Go back",de
92:"Go back"},"nav.home":{ko:"Baduk Teacher 홈",zh:"Baduk Teacher 首页","zh-TW":"Baduk Teacher 首頁",ja:"Baduk Teacher ホーム",en:"Baduk Teacher home",fr:"Accueil Baduk Teacher",de:"Baduk Teacher Startseite"},"nav.findTeacher":{ko:"선생님 찾기",zh:"寻找老师","zh-TW":"尋找老師",ja:"先生を探す",en:"Find a teacher",fr:"Trouver un professeur",de:"Lehrer finden"},"nav.myProfile":{ko:"프로필",zh:"资料","zh-TW":"資料",ja:"プロフィール",en:"Profile",fr:"Profil",de:"Profil"},"nav.myLessons":{ko:"수업",zh:"课程","zh-TW":"課程",ja:"レッスン",en:"Lessons",fr:"Leçons",de:"Lektionen"},"nav.schedule":{ko:"일정",zh:"日程","zh-TW":"日程",ja:"スケジュール",en:"Schedule",fr:"Calendrier",de:"Zeitplan"},"nav.inbox":{ko:"받은 편지함",zh:"收件箱","zh-TW":"收件箱",ja:"受信トレイ",en:"Inbox",fr:"Boîte de réception",de:"Posteingang"},"nav.createClassroom":{ko:"교실 만들기",zh:"创建教室","zh-TW":"建立教室",ja:"教室を作成",en:"Create Classroom",fr:"Créer une classe",de:"Kurs erstellen"},"nav.teachOnBadukTeacher":{ko:"강사로 신청",zh:"成为老师","zh-TW":"成為老師",ja:"講師としてå
92‚加",en:"Teach on Baduk Teacher",fr:"Enseigner sur Baduk Teacher",de:"Auf Baduk Teacher unterrichten"},"nav.earnings":{ko:"수익",zh:"收益","zh-TW":"收益",ja:"収益",en:"Earnings",fr:"Revenus",de:"Einnahmen"},"nav.adminPayouts":{ko:"지급 관리",zh:"提现管理","zh-TW":"提現管理",ja:"支払管理",en:"Payouts",fr:"Versements",de:"Auszahlungen"},"nav.adminPromoCodes":{ko:"프로모션 코드",zh:"优惠码","zh-TW":"優惠碼",ja:"プロモコード",en:"Promo codes",fr:"Codes promo",de:"Promo-Codes"},"nav.adminCredits":{ko:"크레딧 지급",zh:"发放积分","zh-TW":"發放積分",ja:"クレジット付与",en:"Credits",fr:"Crédits",de:"Guthaben"},"nav.adminTeacherApplications":{ko:"교사 지원서",zh:"教师申请","zh-TW":"教師申請",ja:"講師申請",en:"Teacher applications",fr:"Candidatures enseignants",de:"Lehreranträge"},"nav.more":{ko:"더 보기",zh:"更多","zh-TW":"更多",ja:"メニュー",en:"More",fr:"Plus",de:"Mehr"},"nav.signIn":{ko:"로그인",zh:"登录","zh-TW":"登入",ja:"ログイン",en:"Sign in",fr:"Se connecter",de:"Anmelden"},"theme.label":{ko:"테마",zh:"主题","zh-TW":"主題",ja:"テーマ",en:"Theme",fr:"Thème",de:"Design"},"theme.auto":{ko:"자동",zh:"自动","zh-TW":"自動",ja:"自動",en:"Auto",fr:"Auto",de:"Automatisch"},"theme.light":{ko:"밝게",zh:"浅色","zh-TW":"淺色",ja:"ライト",en:"Light",fr:"Clair",de:"Hell"},"theme.dark":{ko:"어둡게",zh:"深色","zh-TW":"深色",ja:"ダーク",en:"Dark",fr:"Sombre",de:"Dunkel"},"lesson.empty.title":{ko:"학생을 기다리는 중…",zh:"等待学生加入…","zh-TW":"等待學生加入…",ja:"生徒を待っています…",en:"Waiting for student…",fr:"Waiting for student…",de:"Waiting for student…"},"lesson.empty.hint":{ko:"아래 링크를 공유하여 학생을 초대하세요. 학생이 입장하면 바둑판이 활성화됩니다.",zh:"分享下方链接邀请学生。学生加入后,棋盘将开始活动。","zh-TW":"分享下方連結邀請學生。學生加入後,棋盤將開始活動。",ja:"下のリンクを共有して生徒を招待してください。生徒が参加すると、碁盤が動き始めます。",en:"Share the link below to invite your student. The board comes alive the moment they join.",fr:"Share the link below to invite your student. The board comes alive the moment they join.",de:"Share the link below to invite your student. The board comes alive the moment they join."},"lesson.empty.studentTitle":{ko:"선생님을 기다리는 중…",zh:"等待老师加入…","zh-TW":"等待老師加入…",ja:"先生を待っています…",en:"Waiting for your teacher…",fr:"Waiting for your teacher…",de:"Waiting for your teacher…"},"lesson.empty.studentHint":{ko:"ê³§ 입장하실 거예요 — 이 탭을 열어 두세요.",zh:"老师很快就会进入 — 请保持此页面打开。","zh-TW":"老師很快就會進入 — 請保持此頁面開啟。",ja:"まもなく参加します — このタブを開いたままにしてください。",en:"They'll join shortly — keep this tab open.",fr:"They'll join shortly — keep this tab open.",de:"They'll join shortly — keep this tab open."},"anno.title":{ko:"표시",zh:"标注","zh-TW":"標註",ja:"注釈",en:"Annotations",fr:"Annotations",de:"Anmerkungen"},"anno.tool.play":{ko:"착수",zh:"落子","zh-TW":"落子",ja:"着手",en:"Play",fr:"Jouer",de:"Setzen"},"anno.tool.circle":{ko:"원",zh:"圆","zh-TW":"圓",ja:"丸",en:"Circle",fr:"Cercle",de:"Kreis"},"anno.tool.triangle":{ko:"삼각형",zh:"三角形","zh-TW":"三角形",ja:"三角",en:"Triangle",fr:"Triangle",de:"Dreieck"},"anno.tool.square":{ko:"사각형",zh:"方形","zh-TW":"方形",ja:"四角",en:"Square",fr:"Carré",de:"Quadrat"},"anno.tool.cross":{ko:"가위표",zh:"叉","zh-TW":"叉",ja:"バツ",en:"Cross",fr:"Croix",de:"Kreuz"},"anno.tool.number":{ko:"번호",zh:"编号","zh-TW":"編號",ja:"番号",en:"Number",fr:"Numéro",de:"Nummer"},"anno.tool.label":{ko:"글자",zh:"标签","zh-TW":"標籤",ja:"ラベル",en:"Label",fr:"Étiquette",de:"Beschriftung"},"anno.tool.rect":{ko:"직사각형",zh:"矩形","zh-TW":"矩形",ja:"長方形",en:"Rectangle",fr:"Rectangle",de:"Rechteck"},"anno.rect.clearAll":{ko:"이 수의 모든 직사각형 지우기",zh:"清除此手所有矩形","zh-TW":"清除此手所有矩形",ja:"この手のすべての矩形を消去",en:"
92Clear all rectangles on this move",fr:"Clear all rectangles on this move",de:"Clear all rectangles on this move"},"anno.tool.eraser":{ko:"지우개",zh:"橡皮擦","zh-TW":"橡皮擦",ja:"消しゴム",en:"Eraser",fr:"Gomme",de:"Radiergummi"},"anno.markers":{ko:"표시 도구",zh:"标记","zh-TW":"標記",ja:"マーク",en:"Markers",fr:"Marqueurs",de:"Markierungen"},"anno.labelPrompt":{ko:"표시할 글자?",zh:"标签文字?","zh-TW":"標籤文字?",ja:"ラベルの文字は?",en:"Label text?",fr:"Label text?",de:"Label text?"},"auth.teacherFallback":{ko:"선생님",zh:"老师","zh-TW":"老師",ja:"先生",en:"Teacher",fr:"Professeur",de:"Lehrer"},"account.menuLabel":{ko:"계정 메뉴",zh:"账户菜单","zh-TW":"帳戶選單",ja:"アカウントメニュー",en:"Account menu",fr:"Menu du compte",de:"Kontomenü"},"account.openMenu":{ko:"메뉴 열기",zh:"打开菜单","zh-TW":"開啟選單",ja:"メニューを開く",en:"Open menu",fr:"Ouvrir le menu",de:"Menü öffnen"},"waitlist.submit":{ko:"대기자 명단 등록",zh:"加入候补名单","zh-TW":"加入候補名單",ja:"ウェイトリストに登録",en:"Join the waitlist",fr:"Rejoindre la liste d'attente",de:"Auf die Warteliste setzen"},"waitlist.submitting":{ko:"등록 중…",zh:"提交中…","zh-TW":"提交中…",ja:"送信中…",en:"Joining…",fr:"Inscription…",de:"Eintragen…"},"waitlist.success.title":{ko:"등록되었습니다",zh:"已加入候补名单","zh-TW":"已加入候補名單",ja:"リクエストを受け付けました",en:"You're on the list",fr:"You're on the list",de:"You're on the list"},"waitlist.success.body":{ko:"선생님이 수업을 확정하면 이메일로 연락드리겠습니다.",zh:"老师确认课程后我们会通过邮件联系您。","zh-TW":"老師確認課程後我們會通過郵件聯絡您。",ja:"先生がレッスンを確定したらメールでご連絡します。",en:"We'll email you when the teacher confirms lessons.",fr:"We'll email you when the teacher confirms lessons.",de:"We'll email you when the teacher confirms lessons."},"waitlist.submitError":{ko:"제출에 실패했습니다. 다시 시도해 주세요.",zh:"提交失败,请重试。","zh-TW":"提交失敗,請重試。",ja:"送信に失敗しました。もう一度お試しください。",en:"Couldn't submit — please try again.",fr:"Couldn't submit — please try again.",de:"Couldn't submit — please try again."},"waitlist.intro":{ko:"아래에 정보를 입력해 주시면 선생님과 연결해 드리겠습니다.",zh:"请填写下面的信息,我们将帮您与老师对接。","zh-TW":"請填寫下面的資訊,我們將幫您與老師對接。",ja:"以下にご記入ください。先生とおつなぎします。",en:"Tell us about you — we'll connect you with the teacher(s) you pick when lessons open up.",fr:"Tell us about you — we'll connect you with the teacher(s) you pick when lessons open up.",de:"Tell us about you — we'll connect you with the teacher(s) you pick when lessons open up."},"waitlist.page.heading":{ko:"대기자 명단 등록",zh:"加入候补名单","zh-TW":"加入候補名單",ja:"ウェイトリストに登録",en:"Join the waitlist",fr:"Rejoindre la liste d'attente",de:"Auf die Warteliste setzen"},"waitlist.page.subhead":{ko:"함께 배우고 싶은 선생님을 골라주세요.",zh:"挑选您想跟随学习的老师。","zh-TW":"挑選您想跟隨學習的老師。",ja:"一緒に学びたい先生を選んでください。",en:"Pick the teacher(s) you'd like lessons with.",fr:"Pick the teacher(s) you'd like lessons with.",de:"Pick the teacher(s) you'd like lessons with."},"waitlist.page.loading":{ko:"선생님 목록 불러오는 중…",zh:"正在加载老师列表…","zh-TW":"正在載入老師列表…",ja:"先生の一覧を読み込み中…",en:"Loading teachers…",fr:"Loading teachers…",de:"Loading teachers…"},"waitlist.page.error":{ko:"지금 선생님 목록을 불러오지 못했어요. 잠시 후 다시 시도해 주세요.",zh:"暂时无法加载老师列表,请稍后再试。","zh-TW":"暫時無法載入老師列表,請稍後再試。",ja:"先生の一覧を読み込めませんでした。少し時間をおいて再度お試しください。",en:"
92Couldn't load teachers right now. Try again in a moment.",fr:"Couldn't load teachers right now. Try again in a moment.",de:"Couldn't load teachers right now. Try again in a moment."},"waitlist.page.browseTeachers":{ko:"선생님 둘러보기",zh:"浏览老师","zh-TW":"瀏覽老師",ja:"先生を見てみる",en:"Browse our teachers",fr:"Browse our teachers",de:"Browse our teachers"},"waitlist.q0.label":{ko:"어느 선생님과 수업하고 싶으세요?",zh:"您想跟哪位老师学习?","zh-TW":"您想跟哪位老師學習?",ja:"どの先生とレッスンを受けたいですか?",en:"Which teacher(s) would you like lessons with?",fr:"Which teacher(s) would you like lessons with?",de:"Which teacher(s) would you like lessons with?"},"waitlist.q0.hint":{ko:"여러 명 선택할 수 있어요. 최소 한 명을 고르거나 아래의 “기타”에 직접 입력해 주세요.",zh:"可多选。请至少选一位老师,或在下方“其他”中填写您想要的老师。","zh-TW":"可多選。請至少選一位老師,或在下方“其他”中填寫您想要的老師。",ja:"複数選択できます。少なくとも1名を選ぶか、下の「その他」に希望の先生を記入してください。",en:"Select all that apply — choose at least one, or fill in 'Other' below.",fr:"Select all that apply — choose at least one, or fill in 'Other' below.",de:"Select all that apply — choose at least one, or fill in 'Other' below."},"waitlist.q0.otherLabel":{ko:"기타 (앱에 아직 없는 선생님)",zh:"其他(尚未上线的老师)","zh-TW":"其他(尚未上線的老師)",ja:"その他(まだ登録されていない先生)",en:"Other (a teacher who isn't on the platform yet)",fr:"Other (a teacher who isn't on the platform yet)",de:"Other (a teacher who isn't on the platform yet)"},"waitlist.q0.otherInputLabel":{ko:"선생님 이름",zh:"老师姓名","zh-TW":"老師姓名",ja:"先生のお名前",en:"Teacher's name",fr:"Teacher's name",de:"Teacher's name"},"waitlist.q0.otherPlaceholder":{ko:"예: 박민정",zh:"例:朴敏正","zh-TW":"例:樸敏正",ja:"例:パク・ミンジョン",en:"e.g. Park Min-jung",fr:"e.g. Park Min-jung",de:"e.g. Park Min-jung"},"waitlist.name.label":{ko:"이름",zh:"姓名","zh-TW":"姓名",ja:"お名前",en:"Your name",fr:"Votre nom",de:"Ihr Name"},"waitlist.name.placeholder":{ko:"예: Alex",zh:"例:Alex","zh-TW":"例:Alex",ja:"例:Alex",en:"e.g. Alex",fr:"e.g. Alex",de:"e.g. Alex"},"waitlist.email.label":{ko:"이메일",zh:"邮箱","zh-TW":"郵箱",ja:"メールアドレス",en:"Email",fr:"E-mail",de:"E-Mail"},"waitlist.email.placeholder":{ko:"[email protected]",zh:"[email protected]","zh-TW":"[email protected]",ja:"[email protected]",en:"[email protected]",fr:"[email protected]",de:"[email protected]"},"waitlist.foxId.label":{ko:"Fox 아이디 (선택)",zh:"野狐账号(可选)","zh-TW":"野狐帳號(可選)",ja:"Fox ID(任意)",en:"Fox ID (optional)",fr:"Fox ID (optional)",de:"Fox ID (optional)"},"waitlist.foxId.placeholder":{ko:"예: foxplayer123",zh:"例:foxplayer123","zh-TW":"例:foxplayer123",ja:"例:foxplayer123",en:"e.g. foxplayer123",fr:"e.g. foxplayer123",de:"e.g. foxplayer123"},"waitlist.ogsId.label":{ko:"OGS 아이디 (선택)",zh:"OGS 账号(可选)","zh-TW":"OGS 帳號(可選)",ja:"OGS ID(任意)",en:"OGS ID (optional)",fr:"OGS ID (optional)",de:"OGS ID (optional)"},"waitlist.ogsId.placeholder":{ko:"예: ogsplayer",zh:"例:ogsplayer","zh-TW":"例:ogsplayer",ja:"例:ogsplayer",en:"e.g. ogsplayer",fr:"e.g. ogsplayer",de:"e.g. ogsplayer"},"waitlist.q1.label":{ko:"현재 기력",zh:"目前棋力","zh-TW":"目前棋力",ja:"現在の棋力",en:"Your current ranking",fr:"Your current ranking",de:"Your current ranking"},"waitlist.q1.platform.ogs":{ko:"OGS",zh:"OGS","zh-TW":"OGS",ja:"OGS",en:"OGS",fr:"OGS",de:"OGS"},"waitlist.q1.platform.aga":{ko:"미국아마",zh:"美国业余","zh-TW":"美國業餘",ja:"AGA",en:"AGA",fr:"AGA",de:"AGA"},"waitlist.q1.platform.egf":{ko:"유럽아마",zh:"欧洲业余","zh-TW":"歐洲業餘",ja:"EGF",en:"EGF",fr:"EGF",de:"EGF"},"waitlist.q1.platform.fox":{ko:"한큐",zh:"野狐","zh-TW":"野狐",ja:"Fox",en:"Fox",fr:"Fox",de:"Fox"},"waitlist.q1.platform.tygem":{ko:"타이젬",zh:"弈城","zh-TW":"弈城",ja:"Tygem",en:"Tygem",fr:"Tygem",de:"Tygem"},"waitlist.q1.platform.other":{ko:"기타",zh:"其他","zh-TW":"其他",ja:"その他",en:"Other",fr:"Other",de:"Other"},"waitlist.q1.value.label":{ko:"기력 (예: 5k, 3d)",zh:"棋力(例:5k、3d)","zh-TW":"棋力(例:5k、3d)",ja:"棋力(例:5k、3d)",en:"Your rank (e.g. 5k, 3d)",fr:"Your rank (e.g. 5k, 3d)",de:"Your rank (e.g. 5k, 3d)"},"waitlist.q1.value.placeholder":{ko:"— 선택하세요 —",zh:"— 请选择 —","zh-TW":"— 請選擇 —",ja:"— 選択してください —",en:"— Select your rank —",fr:"— Sélectionnez votre rang —",de:"— Rang wählen —"},"waitlist.q1.playing.label":{ko:"얼마나 두셨나요?",zh:"您下了多久?","zh-TW":"您下了多久?",ja:"どのくらい打っていますか?",en:"How long have you been playing?",fr:"How long have you been playing?",de:"How long have you been playing?"},"waitlist.q1.playing.lt_6mo":{ko:"6개월 미만",zh:"不到半年","zh-TW":"不到半年",ja:"6ヶ月未満",en:"Less than 6 months",fr:"Less than 6 months",de:"Less than 6 months"},"waitlist.q1.playing.6mo_2yr":{ko:"6개월~2년",zh:"半年到两年","zh-TW":"半年到兩年",ja:"6ヶ月〜2å¹´",en:"6 months to 2 years",fr:"6 months to 2 years",de:"6 months to 2 years"},"waitlist.q1.playing.2yr_plus":{ko:"2년 이상",zh:"两年以上","zh-TW":"兩年以上",ja:"2年以上",en:"2+ 
92years",fr:"2+ years",de:"2+ years"},"waitlist.q1.playing.longtime_casual":{ko:"오래 뒀지만 가볍게",zh:"下了很久但不认真","zh-TW":"下了很久但不認真",ja:"長年だがカジュアル",en:"Longtime casual",fr:"Longtime casual",de:"Longtime casual"},"waitlist.q2.label":{ko:"원하는 수업 방식",zh:"希望的课程形式","zh-TW":"希望的課程形式",ja:"希望するレッスン形式",en:"Preferred lesson format",fr:"Preferred lesson format",de:"Preferred lesson format"},"waitlist.q2.hint":{ko:"여러 개 선택 가능",zh:"可多选","zh-TW":"可多選",ja:"複数選択可",en:"Select all that apply",fr:"Select all that apply",de:"Select all that apply"},"waitlist.q2.teaching_game":{ko:"지도 대국",zh:"指导棋","zh-TW":"指導棋",ja:"指導碁",en:"Teaching game",fr:"Partie pédagogique",de:"Lehrpartie"},"waitlist.q2.game_review":{ko:"복기",zh:"复盘","zh-TW":"覆盤",ja:"局後検討",en:"Game review",fr:"Analyse de partie",de:"Partieanalyse"},"waitlist.q2.specific_topics":{ko:"특정 주제",zh:"特定主题","zh-TW":"特定主題",ja:"特定のテーマ",en:"Specific topics",fr:"Specific topics",de:"Specific topics"},"waitlist.q2.topic.joseki":{ko:"정석",zh:"定式","zh-TW":"定式",ja:"定石",en:"Joseki",fr:"Joseki",de:"Joseki"},"waitlist.q2.topic.opening":{ko:"포석",zh:"布局","zh-TW":"佈局",ja:"布石",en:"Opening (Fuseki)",fr:"Ouverture (Fuseki)",de:"Eröffnung (Fuseki)"},"waitlist.q2.topic.middlegame":{ko:"중반",zh:"中盘","zh-TW":"中盤",ja:"中盤",en:"Middle game",fr:"Milieu de partie",de:"Mittelspiel"},"waitlist.q2.topic.endgame":{ko:"끝내기",zh:"官子","zh-TW":"官子",ja:"終盤 (ヨセ)",en:"Endgame (Yose)",fr:"Fin de partie (Yose)",de:"Endspiel (Yose)"},"waitlist.q2.topic.life_death":{ko:"사활",zh:"死活","zh-TW":"死活",ja:"詰碁",en:"Life and death",fr:"Vie et mort",de:"Leben und Tod"},"waitlist.q2.topic.tesuji":{ko:"수",zh:"手筋","zh-TW":"手筋",ja:"手筋",en:"Tesuji",fr:"Tesuji",de:"Tesuji"},"waitlist.q2.topic.shape":{ko:"모양",zh:"棋形","zh-TW":"棋形",ja:"å½¢",en:"Shape",fr:"Forme",de:"Form"},"waitlist.q2.topic.direction":{ko:"방향",zh:"方向","zh-TW":"方向",ja:"方向",en:"Direction",fr:"Direction",de:"Richtung"},"waitlist.q2.topic.other":{ko:"기타",zh:"其他","zh-TW":"其他",ja:"その他",en:"Other",fr:"Other",de:"Other"},"waitlist.q2.topic.otherLabel":{ko:"기타 주제 (간단히)",zh:"其他主题(简述)","zh-TW":"其他主題(簡述)",ja:"その他のテーマ(短く)",en:"Other topic (short)",fr:"Other topic (short)",de:"Other topic (short)"},"waitlist.q3.label":{ko:"수업 인원",zh:"上课人数","zh-TW":"上課人數",ja:"クラス規模",en:"Acceptable class size",fr:"Acceptable class size",de:"Acceptable class size"},"waitlist.q3.hint":{ko:"여러 개 선택 가능",zh:"可多选","zh-TW":"可多選",ja:"複数選択可",en:"Select all that apply",fr:"Select all that apply",de:"Select all that apply"},"waitlist.q3.one_on_one":{ko:"1:1",zh:"一对一","zh-TW":"一對一",ja:"1対1",en:"1-on-1",fr:"1 contre 1",de:"Einzelunterricht"},"waitlist.q3.small_group":{ko:"소그룹 (2-4명)",zh:"小组(2-4人)","zh-TW":"小組(2-4人)",ja:"少人数グループ (2-4人)",en:"Small group (2-4)",fr:"Small group (2-4)",de:"Small group (2-4)"},"waitlist.qc.label":{ko:"주간 가능 시간대",zh:"每周可上课时段","zh-TW":"每週可上課時段",ja:"週ごとに受講可能な時間帯",en:"Weekly availability",fr:"Disponibilités hebdomadaires",de:"Wöchentliche Verfügbarkeit"},"waitlist.qc.hint":{ko:"수업이 가능한 시간을 모두 선택해 주세요. (현지 시간 기준)",zh:"请勾选您每周方便上课的所有时段。(按您的本地时间)","zh-TW":"請勾選您每週方便上課的所有時段。(按您的本地時間)",ja:"受講可能な時間帯をすべてタップしてください(あなたの現地時間)。",en:"Tap every period when you could take a lesson. Times are in your local timezone.",fr:"Sélectionnez tous les créneaux où vous pourriez prendre un cours. Heures locales.",de:"Wählen Sie alle Zeiträume aus, in denen Sie eine Lektion nehmen könnten. Lokale Zeit."},"waitlist.qc.day.mon":{ko:"월",zh:"周一","zh-TW":"週一",ja:"月",en:"Mon",fr:"Lun",de:"Mo"},"waitlist.qc.day.tue":{ko:"화",zh:"周二","zh-TW":"週二",ja:"火",en:"Tue",fr:"Mar",de:"Di"},"waitlist.qc.day.wed":{ko:"수",zh:"周三","zh-TW":"週三",ja:"æ°´",en:"Wed",fr:"Mer",de:"Mi"},"waitlist.qc.day.thu":{ko:"목",zh:"周四","zh-TW":"週四",ja:"木",en:"Thu",fr:"Jeu",de:"Do"},"waitlist.qc.day.fri":{ko:"금",zh:"周五","zh-TW":"週五",ja:"金",en:"Fri",fr:"Ven",de:"Fr"},"waitlist.qc.day.sat":{ko:"토",zh:"周六","zh-TW":"週六",ja:"土",en:"Sat",fr:"Sam",de:"Sa"},"waitlist.qc.day.sun":{ko:"일",zh:"周日","zh-TW":"週日",ja:"日",en:"Sun",fr:"Dim",de:"So"},"waitlist.qc.period.morning":{ko:"오전",zh:"上午","zh-TW":"上午",ja:"午前",en:"Morning",fr:"Matin",de:"Morgen"},"waitlist.qc.period.afternoon":{ko:"오후",zh:"下午","zh-TW":"下午",ja:"午後",en:"Afternoon",fr:"Après-midi",de:"Nachmittag"},"waitlist.qc.period.evening":{ko:"저녁",zh:"晚上","zh-TW":"晚上",ja:"夜",en:"Evening",fr:"Soir",de:"Abend"},"waitlist.qc.tz.label":{ko:"시간대",zh:"时区","zh-TW":"時區",ja:"タイムゾーン",en:"Your timezone",fr:"Votre fuseau horaire",de:"Ihre Zeitzone"},"waitlist.q4.label":{ko:"선생님께 하고 싶은 말 (선택, 200자 이내)",zh:"想对老师说的话(可选,200字以内)","zh-TW":"想對老師說的話(可選,200字以內)",ja:"先生へのメッセージ(任意、200文字以内)",en:"Anything else the teacher should know? (optional, 200 chars)",fr:"Anything else the teacher should know? (optional, 200 chars)",de:"Anything else the teacher should know? (optional, 200 chars)"},"waitlist.q4.placeholder":{ko:"원하는 목표, 지난 복기 경험 등…",zh:"您的目标、之前的复盘经历等…","zh-TW":"您的目標、之前的覆盤經歷等…",ja:"目標、これまでの検討経験など…",en:"Your goals, past review experience, etc.",fr:"Your goals, past review experience, etc.",de:"Your goals, past review experience, etc."},"waitlist.error.teacherRequired":{ko:"선생님 한 명 이상을 선택하거나 “기타”에 이름을 입력해 주세요",zh:"请至少选择一位老师,或在“其他”中填写老师姓名","zh-TW":"請至少選擇一位老師,或在“其他”中填寫老師姓名",ja:"少なくとも1名の先生を選ぶか、「その他」に名前を入力してください",en:"Pick at least one teacher or fill in 'Other'",fr:"Pick at least one teacher or fill in 'Other'",de:"Pick at least one teacher or fill in 'Other'"},"waitlist.error.nameRequired":{ko:"이름을 입력해 주세요",zh:"请输入姓名","zh-TW":"請輸入姓名",ja:"お名前を入力してください",en:"Please enter your name",fr:"Please enter your name",de:"Please enter your name"},"waitlist.error.emailRequired":{ko:"유효한 이메일을 입력해 주세요",zh:"请输入有效的邮箱","zh-TW":"請輸入有效的郵箱",ja:"有効なメールアドレスを入力してください",en:"Please enter a valid email",fr:"Please enter a valid email",de:"Please enter a valid email"},"waitlist.error.rankingRequired":{ko:"기력 플랫폼을 선택해 주세요",zh:"请选择棋力平台","zh-TW":"請選擇棋力平臺",ja:"棋力プラットフォームを選択してください",en:"Please pick a ranking source",fr:"Please pick a ranking source",de:"Please pick a ranking source"},"waitlist.error.formatRequired":{ko:"하나 이상의 수업 방식을 선택해 주세요",zh:"请至少选择一种课程形式","zh-TW":"請至少選擇一種課程形式",ja:"少なくとも1つのレッスン形式を選択してください",en:"Pick at least one lesson format",fr:"Pick at least one lesson format",de:"Pick at least one lesson format"},"waitlist.error.classSizeRequired":{ko:"수업 인원을 선택해 주세요",zh:"请选择上课人数","zh-TW":"請選擇上課人數",ja:"クラス規模を選択してください",en:"Pick at least one class size",fr:"Pick at least one class size",de:"Pick at least one class size"},"waitlist.error.signInRequired":{ko:"제출하려면 로그인이 필요합니다.",zh:"提交前请先登录。","zh-TW":"提交前請先登入。",ja:"送信するにはログインが必要です。",en:"Please sign in to submit.",fr:"Please sign in to submit.",de:"Please sign in to submit."},"waitlist.signInPrompt":{ko:"선생님이 안정적으로 연락할 수 있도록 인증된 이메일이 필요합니다.",zh:"我们需要é
92ªŒè¯è¿‡çš„邮箱,以便老师能可靠地联系到你。","zh-TW":"我們需要驗證過的郵箱,以便老師能可靠地聯絡到你。",ja:"先生が確実にご連絡できるよう、認証済みのメールアドレスが必要です。",en:"We require a verified email so teachers can reliably reach you.",fr:"We require a verified email so teachers can reliably reach you.",de:"We require a verified email so teachers can reliably reach you."},"waitlist.signInCta":{ko:"로그인하고 계속",zh:"登录并继续","zh-TW":"登入並繼續",ja:"ログインして続ける",en:"Sign in & continue",fr:"Sign in & continue",de:"Sign in & continue"},"waitlist.emailLockedNote":{ko:"인증된 Auth0 이메일을 사용합니다.",zh:"使用已验证的 Auth0 邮箱。","zh-TW":"使用已驗證的 Auth0 郵箱。",ja:"認証済みの Auth0 メールアドレスを使用します。",en:"We use your verified Auth0 email.",fr:"We use your verified Auth0 email.",de:"We use your verified Auth0 email."},"waitlist.rateLimitExceeded":{ko:"오늘의 신청 한도에 도달했습니다. 내일 다시 시도하세요.",zh:"今日报名次数已达上限。请明天再试。","zh-TW":"今日報名次數已達上限。請明天再試。",ja:"本日の申し込み上限に達しました。明日もう一度お試しください。",en:"You've reached today's signup limit. Please try again tomorrow.",fr:"You've reached today's signup limit. Please try again tomorrow.",de:"You've reached today's signup limit. Please try again tomorrow."},"gallery.title":{ko:"바둑 선생님 찾기",zh:"寻找围棋老师","zh-TW":"尋找圍棋老師",ja:"囲碁の先生を見つける",en:"Find your Go teacher",fr:"Find your Go teacher",de:"Find your Go teacher"},"gallery.subtitle":{ko:"실시간 통역과 함께하는 다국어 수업.",zh:"实时翻译的跨语言课程。","zh-TW":"即時翻譯的跨語言課程。",ja:"ライブ翻訳付きの多言語レッスン。",en:"Cross-language lessons with live translation.",fr:"Cross-language lessons with live translation.",de:"Cross-language lessons with live translation."},"gallery.loading":{ko:"선생님 불러오는 중…",zh:"正在加载老师…","zh-TW":"正在載入老師…",ja:"先生を読み込み中…",en:"Loading teachers…",fr:"Loading teachers…",de:"Loading teachers…"},"gallery.empty.title":{ko:"ê³§ 만나요",zh:"即将上线","zh-TW":"即將上線",ja:"まもなく公開",en:"Teacher gallery coming soon.",fr:"Galerie des professeurs bientôt disponible.",de:"Lehrer-Galerie bald verfügbar."},"gallery.empty.body":{ko:"선생님을 모집 중입니다. ê³§ 다시 확인해 주세요.",zh:"我们正在邀请老师,请稍后再来查看。","zh-TW":"我們正在邀請老師,請稍後再來檢視。",ja:"先生を招待中です。後ほどご確認ください。",en:"We're onboarding teachers. Check back soon.",fr:"Nous recrutons des professeurs. Revenez vite.",de:"Wir nehmen gerade Lehrer auf. Schauen Sie bald wieder vorbei."},"gallery.error.title":{ko:"선생님 목록을 불러오지 못했어요.",zh:"无法加载老师列表。","zh-TW":"無法載入老師列表。",ja:"先生の一覧を読み込めませんでした。",en:"Couldn't load teachers.",fr:"Couldn't load teachers.",de:"Couldn't load teachers."},"gallery.error.retry":{ko:"다시 시도",zh:"重试","zh-TW":"重試",ja:"再試行",en:"Retry",fr:"Réessayer",de:"Erneut versuchen"},"gallery.card.photoAlt":{ko:"{name} 사진",zh:"{name} 的照片","zh-TW":"{name} 的照片",ja:"{name} の写真",en:"Photo of {name}",fr:"Photo of {name}",de:"Photo of {name}"},"gallery.card.photoMissing":{ko:"사진 준비 중",zh:"照片准备中","zh-TW":"照片準備中",ja:"写真準備中",en:"Photo coming soon",fr:"Photo coming soon",de:"Photo coming soon"},"gallery.card.startingFrom":{ko:"회당 {price}부터",zh:"每课 {price} èµ·","zh-TW":"每堂 {price} èµ·",ja:"1レッスン {price}〜",en:"From {price} / lesson",fr:"À partir de {price} / leçon",de:"Ab {price} / Stunde"},"gallery.card.trialFrom":{ko:"체험 {price}부터",zh:"体验 {price} èµ·","zh-TW":"體驗 {price} èµ·",ja:"体験 {price}〜",en:"Trial from {price}",fr:"Essai dès {price}
92",de:"Probe ab {price}"},"gallery.heading.aria":{ko:"선생님 갤러리",zh:"老师画廊","zh-TW":"老師畫廊",ja:"先生ギャラリー",en:"Teacher gallery",fr:"Teacher gallery",de:"Teacher gallery"},"chat.title":{ko:"채팅",zh:"聊天","zh-TW":"聊天",ja:"チャット",en:"Chat",fr:"Discussion",de:"Chat"},"chat.placeholder":{ko:"메시지 입력…",zh:"输入消息…","zh-TW":"輸入訊息…",ja:"メッセージを入力…",en:"Type a message…",fr:"Écrire un message…",de:"Nachricht eingeben…"},"chat.peerOffline":{ko:"상대 연결 끊김 — 메시지가 전달되지 않습니다",zh:"对方已离线 — 消息将无法送达","zh-TW":"對方已離線 — 訊息將無法送達",ja:"相手はオフラインです — メッセージは届きません",en:"Peer offline — messages won't be delivered",fr:"Peer offline — messages won't be delivered",de:"Peer offline — messages won't be delivered"},"chat.charLimit":{ko:"{n}/500",zh:"{n}/500","zh-TW":"{n}/500",ja:"{n}/500",en:"{n}/500",fr:"{n}/500",de:"{n}/500"},"chat.send":{ko:"보내기",zh:"发送","zh-TW":"傳送",ja:"送信",en:"Send",fr:"Envoyer",de:"Senden"},"chat.empty":{ko:"아직 메시지가 없습니다",zh:"暂无消息","zh-TW":"暫無訊息",ja:"まだメッセージはありません",en:"No messages yet",fr:"Aucun message pour le moment",de:"Noch keine Nachrichten"},"landing.skipLink":{ko:"본문으로 건너뛰기",zh:"跳到主要内容","zh-TW":"跳到主要內容",ja:"メインコンテンツへスキップ",en:"Skip to main content",fr:"Aller au contenu principal",de:"Zum Hauptinhalt springen"},"landing.hero.headline":{ko:"아시아 프로급 선생님과의 실시간 바둑 수업 — 당신의 언어로",zh:"与亚洲职业水平老师进行实时围棋课程 — 用您的语言","zh-TW":"與亞洲職業水平老師進行即時圍棋課程 — 用您的語言",ja:"アジアのプロ級先生とライブで囲碁レッスン — あなたの言語で",en:"Live Go lessons with pro-level teachers from Asia — in your language",fr:"Cours de Go en direct avec des professeurs de niveau pro d'Asie — dans votre langue",de:"Live-Go-Unterricht mit Lehrern auf Profi-Niveau aus Asien — in Ihrer Sprache"},"landing.hero.subhead":{ko:"AI가 음성을 실시간으로 통역해 언어의 장벽이 수업을 가로막지 않도록 도와드려요.",zh:"AI 实时翻译语音,让语言不再阻碍课程。","zh-TW":"AI 即時翻譯語音,讓語言不再阻礙課程。",ja:"AIが音声をリアルタイムで翻訳し、言葉の壁がレッスンの邪魔にならないようサポートします。",en:"AI translates speech in real time, so the language barrier doesn't get in the way.",fr:"L'IA traduit la parole en temps réel, pour que la barrière de la langue ne gêne plus la leçon.",de:"KI übersetzt Sprache in Echtzeit, damit die Sprachbarriere dem Unterricht nicht im Weg steht."},"landing.hero.cta.primaryGeneric":{ko:"선생님 만나보기",zh:"认识老师","zh-TW":"認識老師",ja:"先生を見てみる",en:"Meet the teachers",fr:"Rencontrez les professeurs",de:"Lehrer kennenlernen"},"landing.hero.peerNote":{ko:"최고에게서 배우는 일이 그들의 언어를 할 줄 아느냐에 달려 있어선 안 됩니다.",zh:"向最厉害的老师学习,不该取决于你会不会说他们的语言。","zh-TW":"向最厲害的老師學習,不該取決於你會不會說他們的語言。",ja:"最高の先生から学べるかどうかが、その人の言語を話せるかで決まってはいけません。",en:"Learning from the best shouldn't depend on speaking their language.",fr:"Apprendre auprès des meilleurs ne devrait pas dépendre de leur langue.",de:"Von den Besten zu lernen sollte nicht davon abhängen, ob man ihre Sprache spricht."},"landing.hero.cta.secondary":{ko:"모든 선생님 보기 →",zh:"查看所有老师 →","zh-TW":"檢視所有老師 →",ja:"すべての先生を見る →",en:"See all teachers →",fr:"Voir tous les professeurs →",de:"Alle Lehrer ansehen →"},"landing.hero.ariaLabel":{ko:"실시간 수업 미리보기 애니메이션: 선생님의 한국어 설명이 바둑돌이 놓일 때마ë
92‹¤ 영어로 번역되는 모습.",zh:"实时课程预览动画:老师的韩语讲解随着棋子落下而实时翻译成英文。","zh-TW":"即時課程預覽動畫:老師的韓語講解隨著棋子落下而即時翻譯成英文。",ja:"ライブレッスンのアニメーションプレビュー: 先生の韓国語の解説が碁石が置かれるたびに英語へリアルタイムで翻訳されます。",en:"Animated preview of a live lesson: a teacher's Korean speech is translated to English in real time as stones are placed on the board.",fr:"Aperçu animé d'une leçon en direct : la parole coréenne d'un professeur est traduite en temps réel à mesure que les pierres sont posées sur le goban.",de:"Animierte Vorschau einer Live-Lektion: Die koreanische Sprache eines Lehrers wird in Echtzeit übersetzt, während Steine auf dem Brett platziert werden."},"landing.teachers.heading":{ko:"선생님 소개",zh:"认识我们的老师","zh-TW":"認識我們的老師",ja:"先生紹介",en:"Meet our teachers",fr:"Rencontrez nos professeurs",de:"Lernen Sie unsere Lehrer kennen"},"landing.testimonial.quote":{ko:"번역이 정말 매끄러웠어요. 언어의 장벽 없이 전 세계 사람들과 이 깊고 오래된 게임을 함께 나눌 수 있다는 게 정말 멋집니다.",zh:"翻译非常流畅。能够跨越语言障碍,和世界各地的人一起享受这门古老而深邃的棋艺,真的太棒了。","zh-TW":"翻譯非常流暢。能夠跨越語言障礙,和世界各地的人一起享受這門古老而深邃的棋藝,真的太棒了。",ja:"翻訳がとても滑らかでした。言葉の壁なしに、世界中の人とこの奥深い古来のゲームを分かち合えるのは本当に素晴らしいです。",en:"The translations were really smooth. It's wonderful to connect with people around the world over this deep, ancient game — without the language barrier.",fr:"Les traductions ont été très fluides. C'est super de pouvoir échanger avec les gens autour du monde en profitant de cet ancien jeu profond, sans les barrières de langue !",de:"Die Übersetzungen waren wirklich flüssig. Es ist wunderbar, sich ohne Sprachbarriere mit Menschen aus aller Welt über dieses tiefe, alte Spiel auszutauschen."},"landing.testimonial.attribution":{ko:"프랑스어를 쓰는 한 학생",zh:"一位讲法语的学员","zh-TW":"一位講法語的學員",ja:"フランス語を話す生徒さん",en:"A French-speaking student",fr:"Un élève francophone",de:"Ein französischsprachiger Schüler"},"landing.assurance.heading":{ko:"알아두면 좋아요",zh:"预约前须知","zh-TW":"預約前須知",ja:"知っておくと安心",en:"Good to know",fr:"Bon à savoir",de:"Gut zu wissen"},"landing.assurance.item1.title":{ko:"요청은 무료예요",zh:"请求课程不收费","zh-TW":"請求課程不收費",ja:"リクエストは無料",en:"No charge to request",fr:"Demander ne coûte rien",de:"Anfragen ist kostenlos"},"landing.assurance.item1.body":{ko:"선생님과 가격을 자유롭게 둘러보세요. 선생님이 요청을 수락한 뒤에만 결제합니다.",zh:"自由浏览老师和价格。只有在老师接受你的请求后才付款。","zh-TW":"自由瀏覽老師和價格。只有在老師接受你的請求後才付款。",ja:"先生も料金も自由に見られます。お支払いは、先生がリクエストを承認したあとだけです。",en:"Browse teachers and prices freely. You only pay after a teacher accepts your request.",fr:"Parcourez les professeurs et les tarifs librement. Vous ne payez qu'après l'acceptation de votre demande par un professeur.",de:"Stöbern Sie frei durch Lehrer und Preise. Sie zahlen erst, nachdem ein Lehrer Ihre Anfrage angenommen hat."},"landing.assurance.item2.title":{ko:"부담 없이 시작",zh:"小成本起步","zh-TW":"小成本起步",ja:"小さく始める",en:"Start small",fr:"Commencez petit",de:"Klein anfangen"},"landing.assurance.item2.body":{ko:"일부 선생님은 첫 수업을 더 저렴한 가격에 제공해요. 부담 없이 한 번 ê²½í—
92˜í•´ 보세요.",zh:"部分老师为首次课程提供更低的价格 —— 让你先轻松试一节,再决定是否继续。","zh-TW":"部分老師為首次課程提供更低的價格 —— 讓你先輕鬆試一節,再決定是否繼續。",ja:"一部の先生は初回レッスンを割安な価格で用意しています。気軽に一度試してから決められます。",en:"Some teachers offer a lower price for your first lesson — a low-stakes way to try one before committing.",fr:"Certains professeurs proposent un tarif réduit pour votre premier cours — un essai sans risque avant de vous engager.",de:"Einige Lehrer bieten einen günstigeren Preis für Ihre erste Lektion — ein risikoarmer Einstieg, bevor Sie sich festlegen."},"landing.assurance.item3.title":{ko:"일정이 바뀌어도",zh:"计划有变也没关系","zh-TW":"計畫有變也沒關係",ja:"予定が変わっても",en:"Plans change",fr:"Les plans changent",de:"Pläne ändern sich"},"landing.assurance.item3.body":{ko:"수업 24시간 전까지 취소하면 수업료가 계정 크레딧으로 적립되어 다음 예약에 쓸 수 있어요. (24시간 이내에는 환불되지 않습니다.)",zh:"课程开始前 24 小时取消,费用将以账户积分形式退还,可用于日后预约。(24 小时以内取消则不予退还。)","zh-TW":"課程開始前 24 小時取消,費用將以帳戶積分形式退還,可用於日後預約。(24 小時以內取消則不予退還。)",ja:"レッスンの24時間前までにキャンセルすれば、料金はアカウントクレジットとして次回の予約に使えます。(24時間を切ると返金はありません。)",en:"Cancel 24 hours ahead and your fee returns as account credit for a future lesson. (Inside 24 hours, the fee is kept.)",fr:"Annulez 24 heures à l'avance et votre paiement revient sous forme de crédit pour un futur cours. (À moins de 24 heures, le paiement est conservé.)",de:"Sagen Sie 24 Stunden vorher ab, und Ihre Gebühr kommt als Guthaben für eine spätere Lektion zurück. (Unter 24 Stunden bleibt die Gebühr einbehalten.)"},"landing.assurance.item4.title":{ko:"한마디에 좌우되지 않아요",zh:"不怕漏听一句","zh-TW":"不怕漏聽一句",ja:"ひと言に頼りきりにならない",en:"Nothing rides on one line",fr:"Rien ne tient à une seule phrase",de:"Es hängt nicht an einem Satz"},"landing.assurance.item4.body":{ko:"선생님의 말은 모두 화면에 글로도 표시돼요. 다시 읽거나, 한 번 더 말해 달라고 해도 좋아요.",zh:"老师说的每一句话都会同时以文字显示在屏幕上 —— 可以再读一遍,或直接请老师重复。","zh-TW":"老師說的每一句話都會同時以文字顯示在螢幕上 —— 可以再讀一遍,或直接請老師重複。",ja:"先生の言葉はすべて画面に文字でも表示されます。読み返しても、もう一度言ってもらっても大丈夫でã
92™ã€‚",en:"Every word your teacher speaks also appears on screen as text — re-read it, or just ask them to repeat.",fr:"Chaque phrase de votre professeur s'affiche aussi à l'écran sous forme de texte — relisez-la, ou demandez-lui simplement de répéter.",de:"Jeder Satz Ihres Lehrers erscheint auch als Text auf dem Bildschirm — lesen Sie ihn noch einmal oder bitten Sie einfach um Wiederholung."},"landing.how.eyebrow":{ko:"작동 방식",zh:"运作原理","zh-TW":"運作原理",ja:"仕組み",en:"How it works",fr:"Comment ça marche",de:"So funktioniert es"},"landing.how.heading":{ko:"당신의 언어로. 프로급에게 배우다.",zh:"说你的语言,向职业水平老师学习。","zh-TW":"說你的語言,向職業水平老師學習。",ja:"あなたの言葉で。プロ級に学ぶ。",en:"Speak your language. Learn at pro level.",fr:"Parlez votre langue. Apprenez au niveau pro.",de:"Sprechen Sie Ihre Sprache. Lernen Sie auf Profi-Niveau."},"landing.how.lede":{ko:"프로급 바둑 선생님과 실시간으로 연결되는 3단계. 공통 언어가 필요 없습니다.",zh:"三步即可与职业水平的围棋老师实时连线 —— 无需共通语言。","zh-TW":"三步即可與職業水平的圍棋老師即時連線 —— 無需共通語言。",ja:"プロ級の囲碁の先生とリアルタイムでつながる 3 つのステップ。共通の言語は必要ありません。",en:"Three steps connect you to a pro-level Baduk teacher in real time — no shared language required.",fr:"En trois étapes, vous êtes en direct avec un professeur de Baduk de niveau pro — sans langue commune nécessaire.",de:"In drei Schritten sind Sie in Echtzeit mit einem Baduk-Lehrer auf Profiniveau verbunden — keine gemeinsame Sprache nötig."},"landing.how.step1.role":{ko:"선생님",zh:"老师","zh-TW":"老師",ja:"先生",en:"Teacher",fr:"Professeur",de:"Lehrer"},"landing.how.step1.title":{ko:"선생님은 자신의 언어로 말합니다.",zh:"老师用自己的语言讲解。","zh-TW":"老師用自己的語言講解。",ja:"先生は自分の言語で話します。",en:"They speak in their language.",fr:"Ils parlent dans leur langue.",de:"Sie sprechen in ihrer Sprache."},"landing.how.step1.body":{ko:"한국어, 중국어, 또는 일본어. 당신은 모국어로 자연스럽게 말하면 됩니다.",zh:"韩语、中文或日语 —— 您用自己的母语自然交流即可,无需排练。","zh-TW":"韓語、中文或日語 —— 您用自己的母語自然交流即可,無需排練。",ja:"韓国語、中国語、または日本語。あなたは自分の言語で自然に話せば大丈夫でã
92™ã€‚",en:"Your teacher speaks Korean, Chinese, or Japanese. You speak your own — naturally, no rehearsing.",fr:"Votre professeur parle coréen, chinois ou japonais. Vous parlez la vôtre — naturellement, sans répétition.",de:"Ihr Lehrer spricht Koreanisch, Chinesisch oder Japanisch. Sie sprechen Ihre eigene Sprache — natürlich, ohne Einüben."},"landing.how.step2.role":{ko:"AI",zh:"AI","zh-TW":"AI",ja:"AI",en:"AI",fr:"IA",de:"KI"},"landing.how.step2.title":{ko:"AI가 실시간으로 받아 적고 번역합니다.",zh:"AI 实时转录并翻译。","zh-TW":"AI 即時轉錄並翻譯。",ja:"AIがリアルタイムで文字起こしと翻訳をします。",en:"AI transcribes & translates live.",fr:"L'IA transcrit et traduit en direct.",de:"KI transkribiert und übersetzt live."},"landing.how.step2.body":{ko:"음성이 원어 텍스트로, 그리고 당신의 언어로 — 수업이 진행되는 동안 실시간으로.",zh:"语音先转为原文文字,再翻译为您的语言 —— 课程进行中实时呈现。","zh-TW":"語音先轉為原文文字,再翻譯為您的語言 —— 課程進行中即時呈現。",ja:"音声が原語のテキストになり、続いてあなたの言語へ —— レッスンが進む間、リアルタイムで。",en:"Speech becomes text in the source language, then your language, in real time as the lesson unfolds.",fr:"La parole devient du texte dans la langue source, puis dans la vôtre, en temps réel à mesure que la leçon avance.",de:"Sprache wird zu Text in der Ausgangssprache, dann in Ihrer Sprache — in Echtzeit, während die Lektion läuft."},"landing.how.step3.role":{ko:"당신",zh:"您","zh-TW":"您",ja:"あなた",en:"You",fr:"Vous",de:"Sie"},"landing.how.step3.title":{ko:"바둑판 옆에서 읽고 답합니다.",zh:"在棋盘旁边阅读和回应。","zh-TW":"在棋盤旁邊閱讀和回應。",ja:"碁盤のそばで読み、返します。",en:"You read & reply, beside the board.",fr:"Vous lisez et répondez, à côté du goban.",de:"Sie lesen und antworten — direkt neben dem Brett."},"landing.how.step3.body":{ko:"바둑판 옆 채팅창에서 선생님의 말이 당신의 언어로 도착하고, 당신의 답은 선생님의 언어로 전달됩니다.",zh:"棋盘旁边的实时聊天框中,老师的话以您的语言到达,您的回复则以老师的语言送达。","zh-TW":"棋盤旁邊的即時聊天框中,老師的話以您的語言到達,您的回覆則以老師的語言送達。",ja:"碁盤の隣のチャットに、先生の言葉があなたの言語で届き、あなたの返事は先生の言語で伝わります。",en:"A live chat sits next to the goban — the teacher's words arrive in your language, and your replies go back in theirs.",fr:"Une discussion en direct se trouve à côté du goban — les paroles du professeur arrivent dans votre langue, et vos réponses repartent dans la sienne.",de:"Neben dem Goban läuft ein Live-Chat — die Worte des Lehrers kommen in Ihrer Sprache an, und Ihre Antworten gehen in seiner Sprache zurück."},"landing.how.chatLive":{ko:"실시간",zh:"实时","zh-TW":"即時",ja:"ライブ",en:"Live",fr:"Direct",de:"Live"},"landing.how.chatTitle":{ko:"채팅",zh:"聊天","zh-TW":"聊天",ja:"チャット",en:"Chat",fr:"Discussion",de:"Chat"},"landing.why.eyebrow":{ko:"우리만의 강점",zh:"我们的优势","zh-TW":"我們的優勢",ja:"私たちの強み",en:"Why us",fr:"Pourquoi nous",de:"Warum wir"},"landing.why.heading":{ko:"아시아 프로의 가르침. 언어의 벽은 사라지게.",zh:"亚洲职业棋手的教学。语言隔阂消失。","zh-TW":"亞洲職業棋手的教學。語言隔閡消失。",ja:"アジアのプロが教える。言葉の壁はなくす。",en:"The teaching East-Asian pros give. The language gap, gone.",fr:"L'enseignement que donnent les pros d'Asie de l'Est. La barrière de la langue, disparue.",de:"Der Unterricht, den ostasiatische Profis geben. Die Sprachbarriere — weg."},"landing.why.lede":{ko:"화상 통화 + 자막 도구나, 일반 AI 도구로는 얻을 수 없는 세 가지.",zh:"三件事 —— 视频通话加字幕做不到,通用 AI 工具也做不到。","zh-TW":"三件事 —— 視訊通話加字幕做不到,通用 AI 工具也做不到。",ja:"ビデオ通話+字幕ツールや、汎用 AI ツールでは得られない 3 つのこと。",en:"Three things you won't get from a video-call + caption setup, or from a generic AI tool.",fr:"Trois choses qu'un appel vidéo avec sous-titres ou un outil d'IA générique ne vous donneront pas.",de:"Drei Dinge, die Sie weder mit einem Videoanruf + Untertiteln noch mit einem generischen KI-Tool bekommen."},"landing.why.card1.tag":{ko:"실력",zh:"实力","zh-TW":"實力",ja:"実力",en:"Caliber",fr:"Calibre",de:"Kaliber"},"landing.why.card1.title":{ko:"프로 출신 선생님을, 합리적인 가격에.",zh:"受过职业训练的老师,价格合理。","zh-TW":"受過職業訓練的老師,價格合理。",ja:"プロ修行を積んだ先生を、リーズナブルな価格で。",en:"Pro-trained teachers, at reasonable prices.",fr:"Des professeurs formés au niveau pro, à des tarifs raisonnables.",de:"Profi-ausgebildete Lehrer zu fairen Preisen."},"landing.why.card1.body":{ko:"저희 선생님들은 도장에서 청소년기를 보낸 분들입니다 — 프로 기사를 키우는 전문 학교죠. 일부는 여전히 최고 레벨 바둑 기전에서 활약하고 있고, 저희 플랫폼은 ê·¸ 수준의 가르침에 접근할 수 있게 해 드립니다. ê·¸ 깊은 동아시아 네트워크가 있기에, 이런 선생님들을 당신께 모셔올 수 있습니다.",zh:"我们的老师从青少年时期起便在道场修行 —— 那是培养职业棋手的专门学校。其中一些人仍活跃å
92œ¨æœ€é«˜çº§åˆ«çš„围棋赛事,我们的平台让您接触到这一层次的教学。正是这份深厚的东亚连接,让我们能把这样的老师带到你面前。","zh-TW":"我們的老師從青少年時期起便在道場修行 —— 那是培養職業棋手的專門學校。其中一些人仍活躍在最高級別的圍棋賽事,我們的平臺讓您接觸到這一層次的教學。正是這份深厚的東亞連結,讓我們能把這樣的老師帶到你面前。",ja:"当社の先生方は道場 — プロ棋士を育てる専門の学校 — で十代を過ごしました。今も最高レベルの囲碁棋戦で戦う先生もおり、当プラットフォームはその水準の指導にアクセスできるようにします。その深い東アジアのつながりがあるからこそ、こうした先生方をあなたのもとへお連れできます。",en:"Our teachers spent their teenage years inside dojos — the specialised schools that train professional players. Some still compete at the highest level of Go tournaments, and our platform gives you access to teaching at that level. Those deep East-Asian connections are how we bring teachers like these to you.",fr:"Nos professeurs ont passé leur adolescence dans des dojos — ces écoles spécialisées qui forment les joueurs professionnels. Certains disputent encore les tournois de Go au plus haut niveau, et notre plateforme vous donne accès à un enseignement de ce calibre. Ce sont ces liens profonds avec l'Asie de l'Est qui nous permettent de vous proposer des professeurs comme ceux-ci.",de:"Unsere Lehrer haben ihre Jugend in Dojos verbracht — den Spezialschulen, die Profispieler ausbilden. Einige treten weiterhin auf höchstem Niveau in Go-Turnieren an, und unsere Plattform öffnet Ihnen den Zugang zu Unterricht auf diesem Niveau. Diese tiefen Verbindungen nach Ostasien sind der Grund, warum wir Ihnen Lehrer wie diese anbieten können."},"landing.why.card1.bullet1":{ko:"도장에서 다년간의 프로 트랙 수련",zh:"在道场接受多年职业培训","zh-TW":"在道場接受多年職業培訓",ja:"道場でのプロ志向カリキュラムを長年経験",en:"Years of dojo training (pro-track curriculum)",fr:"Des années de formation en dojo (cursus voie pro)",de:"Jahre der Dojo-Ausbildung (Profi-Curriculum)"},"landing.why.card1.bullet2":{ko:"현역 기전 출전 선수 다수",zh:"部分老师仍是现役比赛棋手","zh-TW":"部分老師仍是現役比賽棋手",ja:"現役のトーナメントプレイヤーも在籍",en:"Active tournament players among the roster",fr:"Des joueurs de tournoi en activité parmi nos professeurs",de:"Aktive Turnierspieler unter unseren Lehrern"},"landing.why.card1.bullet3":{ko:"목표에 맞춘 1:1 개인 레슨",zh:"一对一私教,按您的目标定制","zh-TW":"一對一私教,按您的目標定製",ja:"目標に合わせた 1 対 1 のプライベートレッスン",en:"Private 1-on-1 lessons tuned to your goals",fr:"Cours particuliers 1-à-1, adaptés à vos objectifs",de:"Private 1-zu-1-Lektionen, auf Ihre Ziele zugeschnitten"},"landing.why.card1.videoLabel":{ko:"소개 영상 재생 (YouTube)",zh:"播放介绍视频 (YouTube)","zh-TW":"播放介紹影片 (YouTube)",ja:"紹介動画を再生 (YouTube)",en:"Play the intro video (YouTube)",fr:"Lire la vidéo de présentation (YouTube)",de:"Vorstellungsvideo abspielen (YouTube)"},"landing.why.card1.video2Label":{ko:"지도 대국 영상 재생 (YouTube)",zh:"播放指导棋视频 (YouTube)","zh-TW":"播放指導棋影片 (YouTube)",ja:"指導碁の動画を再生 (YouTube)",en:"Play the teaching-game video (YouTube)",fr:"Lire la vidéo de partie commentée (YouTube)",de:"Lehrpartie-Video abspielen (YouTube)"},"landing.why.card1.videoPrev":{ko:"이전 영상",zh:"上一个视频","zh-TW":"上一個影片",ja:"前の動画",en:"Previous video",fr:"Vidéo précédente",de:"Vorheriges Video"},"landing.why.card1.videoNext":{ko:"다음 영상",zh:"下一个视频","zh-TW":"下一個影片",ja:"次の動画",en:"Next video",fr:"Vidéo suivante",de:"Nächstes Video"},"landing.why.card1.videoNav":{ko:"영상 {current} / {total}",zh:"视频 {current} / {total}","zh-TW":"影片 {current} / {total}",ja:"動画 {current} / {total}",en:"Video {current} of {total}",fr:"Vidéo {current} sur {total}",de:"Video {current} von {total}"},"landing.why.card2.tag":{ko:"직접 만든 도구",zh:"自己造的工具","zh-TW":"自己造的工具",ja:"自分たちで作った道具",en:"Built by us",fr:"Construit par nous",de:"Von uns gebaut"},"landing.why.card2.title":{ko:"저희도 직접 이 수업을 듣고 있습니다.",zh:"我们自己也在上这些课。","zh-TW":"我們自己也在上這些課。",ja:"私たち自身も、このレッスンを受けています。",en:"We actually take these lessons ourselves.",fr:"Nous prenons nous-mêmes ces cours.",de:"Wir nehmen die
92se Lektionen selbst."},"landing.why.card2.body":{ko:"저는 수년 동안 이 선생님들의 학생이었습니다. 영어로 바둑 콘텐츠를 만드는 유튜버이기도 한데, 영어가 모국어가 아니라서 양쪽 입장을 모두 압니다. 제 선생님은 한국분이고, 중국어 음성으로 수업할 수 있을 만큼 독학을 하셨지만 제 중국어 답글은 여전히 못 읽으십니다. 그런 일들이 많아요. 제품은 실제로 흐름을 끊는 것들을 고칩니다.",zh:"我跟这些老师上课已经好几年了,也在 YouTube 上做英文围棋内容 —— 而英语不是我的母语,所以两边的处境我都懂。我的老师是韩国人,他靠自学能用中文口语上课,但中文回复仍然看不懂。这种事情很多。这个产品就是把那些真正卡住流程的事情修好。","zh-TW":"我跟這些老師上課已經好幾年了,也在 YouTube 上做英文圍棋內容 —— 而英語不是我的母語,所以兩邊的處境我都懂。我的老師是韓國人,他靠自學能用中文口語上課,但中文回覆仍然看不懂。這種事情很多。這個產品就是把那些真正卡住流程的事情修好。",ja:"私はこれらの先生の生徒として何年も学んできました。英語で囲碁コンテンツを YouTube に上げてもいて、英語は私の母語ではないので、両方の立場を知っています。私の先生は韓国人で、独学で中国語の会話レッスンを行えるようになりましたが、私の中国語の返信は今でも読めません。そういうことが多々あります。この製品は、実際に流れを止めることを直すものです。",en:"I've been a student of these teachers for years. I also make English baduk content on YouTube, and English isn't my first language — so I know both sides of this. My teacher is Korean, and he taught himself enough Chinese to run lessons in spoken Chinese, but he still can't read my Chinese replies. Stuff like that. The product fixes the things that actually get in the way.",fr:"Je suis élève de ces professeurs depuis des années. Je fais aussi du contenu Baduk en anglais sur YouTube, et l'anglais n'est pas ma langue maternelle — je connais donc les deux côtés. Mon professeur est coréen ; il a appris suffisamment de chinois pour donner ses cours en chinois oral, mais il ne peut toujours pas lire mes réponses écrites en chinois. Ce genre de choses. Le produit règle ce qui gêne vraiment.",de:"Ich bin seit Jahren Schüler dieser Lehrer. Ich mache außerdem englischsprachige Baduk-Inhalte auf YouTube, und Englisch ist nicht meine Muttersprache — ich kenne also beide Seiten. Mein Lehrer ist Koreaner; er hat sich genug Chinesisch beigebracht, um Lektionen auf gesprochenem Chinesisch zu halten, aber meine schriftlichen chinesischen Antworten kann er immer noch nicht lesen. Solche Dinge. Das Produkt löst genau das, was wirklich im Weg steht."},"landing.why.card2.bullet1":{ko:"언어가 다른 수업 — 드디어 매끄럽게",zh:"跨语言的课 —— 终于真正能上","zh-TW":"跨語言的課 —— 終於真正能上",ja:"言葉が違うレッスンが、ようやくスムーズに",en:"Lessons across languages — finally workable",fr:"Des cours entre langues — enfin praticables",de:"Lektionen über Sprachgrenzen hinweg — endlich machbar"},"landing.why.card2.bullet2":{ko:"같은 언어 사이에서도 더 자연스럽게 흐릅니다",zh:"即使是同语言对,节奏也更顺畅","zh-TW":"即使是同語言對,節奏也更順暢",ja:"同じ言語同士でも、流れがよりスムーズに",en:"Even between same-language pairs, things just flow better",fr:"Même entre locuteurs de la même langue, tout coule mieux",de:"Selbst bei gleicher Sprache läuft alles flüssiger"},"landing.why.card2.bullet3":{ko:"바둑에 특화 — 일반 번역기를 갖다 붙인 것이 아닙니다",zh:"专为围棋打造 —— 不是把通用翻译器拼上去","zh-TW":"專為圍棋打造 —— 不是把通用翻譯器拼上去",ja:"囲碁を理解した翻訳 — 汎用ツールの後付けではありません",en:"Baduk-aware, not a generic translator stapled on",fr:"Conçu pour le baduk — pas un traducteur générique recollé par-dessus",de:"Baduk-bewusst — kein generischer Übersetzer obendrauf geklebt"},"landing.why.viz.quoteBefore":{ko:"저는 한국어로 바둑 수업을 받고, 영어로 바둑 영상을 만듭니다. 둘 다 제 모국어가 아닙니다. ",zh:"我用韩语上围棋课,也用英语做围棋视频。两种都不是我的母语。","zh-TW":"我用韓語上圍棋課,也用英語做圍棋影片。兩種都不是我的母語。",ja:"私は韓国語で囲碁レッスンを受け、英語で囲碁動画を作ります。どちらも私の母語ではありません。",en:"I take Baduk lessons in Korean. I make English Baduk videos on YouTube. Neither is my mother tongue. ",fr:"Je prends mes cours de Baduk en coréen. Je fais des vidéos de Baduk en anglais sur YouTube. Aucune des deux n'est ma langue maternelle. ",de:"Ich nehme Baduk-Unterricht auf Koreanisch. Ich mache englische Baduk-Videos auf YouTube. Keines davon ist meine Muttersprache. "},"landing.why.viz.quoteStrong":{ko:"그래서 제가 직접 다리를 놓았습니다.",zh:"所以我自己造了这座桥。","zh-TW":"所以我自己造了這座橋。",ja:"だから私自身が橋を架けました。",en:"So I built the bridge.",fr:"Alors j'ai construit le pont.",de:"Also habe ich die Brücke selbst gebaut."},"landing.why.viz.chip1.label":{ko:"말함",zh:"说","zh-TW":"說",ja:"話す",en:"Speaks",fr:"Parle",de:"Spricht"},"landing.why.viz.chip1.value":{ko:"한국어",zh:"韩语","zh-TW":"韓語",ja:"韓国語",en:"Korean",fr:"Cor
92éen",de:"Koreanisch"},"landing.why.viz.chip2.label":{ko:"읽음",zh:"读","zh-TW":"讀",ja:"読む",en:"Reads",fr:"Lit",de:"Liest"},"landing.why.viz.chip2.value":{ko:"영어",zh:"英语","zh-TW":"英語",ja:"英語",en:"English",fr:"Anglais",de:"Englisch"},"landing.why.viz.caption":{ko:"실제 선생님–학생 페어. 제품이 그 간극에 맞습니다.",zh:"真实的师生组合。产品就是为这个间隙而生。","zh-TW":"真實的師生組合。產品就是為這個間隙而生。",ja:"実在の先生と生徒のペア。製品はそのギャップに合わせて作られています。",en:"A real teacher / student pair. The product fits the gap.",fr:"Un vrai duo professeur / élève. Le produit comble l'écart.",de:"Ein echtes Lehrer-/Schüler-Paar. Das Produkt schließt genau diese Lücke."},"landing.why.card3.tag":{ko:"함께",zh:"同桌而坐","zh-TW":"同桌而坐",ja:"同席",en:"Side by side",fr:"Côte à côte",de:"Seite an Seite"},"landing.why.card3.title":{ko:"바둑판 앞에 함께 앉아 있는 느낌으로.",zh:"像并肩坐在棋盘前。","zh-TW":"像並肩坐在棋盤前。",ja:"碁盤を挟んで隣に座っている感覚で。",en:"Like sitting across the board.",fr:"Comme assis face à face devant le goban.",de:"Als säßen Sie sich am Brett gegenüber."},"landing.why.card3.body":{ko:"대국 복기는 손가락으로 짚고, 시선을 따라가고, 함께 변화도를 놓아보는 일이 절반입니다. 그 작은 동작들을 바둑판 자체에 그대로 옮겼어요. 화상 통화로 화면만 공유할 때보다, 옆자리에 앉아 있는 느낌이 훨씬 더 가깝습니다.",zh:"复盘一半的工作,是用手指点棋、跟着对方的视线、一起摆出变化图。我们把这些小动作直接做进了棋盘里 —— 比起视频通话单纯共享画面,更像是真的并肩坐着复盘。","zh-TW":"覆盤一半的工作,是用手指點棋、跟著對方的視線、一起擺出變化圖。我們把這些小動作直接做進了棋盤裡 —— 比起視訊通話單純共享畫面,更像是真的並肩坐著覆盤。",ja:"対局の振り返りは、指で示し、視線を追い、一緒に変化図を並べることが半分です。その小さな動作を碁盤そのものに乗せました。ビデオ通話で画面を共有するよりも、隣に座っている感覚にぐっと近づきます。",en:"In person, half the review is pointing at stones, following each other's eyes, and playing variations out together. We rebuilt those small moves on the board itself — so a remote review feels less like a screen share and more like sitting across from each other.",fr:"En vrai, la moitié d'une revue de partie consiste à pointer des pierres, suivre le regard de l'autre et dérouler des variantes ensemble. Nous avons remis ces petits gestes directement dans le goban — pour qu'une revue à distance ressemble moins à un partage d'écran et plus à deux personnes assises l'une en face de l'autre.",de:"In echt besteht die halbe Partienbesprechung darin, auf Steine zu zeigen, dem Blick des anderen zu folgen und Varianten gemeinsam durchzuspielen. Genau diese kleinen Gesten haben wir ins Brett selbst geholt — eine Online-Besprechung fühlt sich dann weniger nach Bildschirmfreigabe an und mehr danach, sich am Brett gegenüberzusitzen."},"landing.why.card3.bullet1":{ko:"서로의 커서가 보입니다 — 선생님이 어디를 보고 있는지 실시간으로 따라가요",zh:"看得到彼此的光标 —— 实时跟随老师正在看的位置","zh-TW":"看得到彼此的游標 —— 即時跟隨老師正在看的位置",ja:"お互いのカーソルが見える — 先生が今どこを見ているか、リアルタイムで追える",en:"See each other's cursor — watch where the teacher is looking, in real time",fr:"On voit le curseur de l'autre — vous suivez en temps réel où le professeur regarde",de:"Beide sehen den Cursor des anderen — Sie folgen in Echtzeit dem Blick des Lehrers"},"landing.why.card3.bullet2":{ko:"한 번 클릭하면 잔물결이 — 두지 않고도 다음 수를 가리킬 수 있어요",zh:"一次点击发出涟漪 —— 不用真的落子,也能指出你想下哪儿","zh-TW":"一次點擊發出漣漪 —— 不用真的落子,也能指出你想下哪兒",ja:"クリック一つで波紋が広がる — 着手せずに「ここ」と指差せる",en:"Click anyw
92here to send a ripple — point at a move without committing it",fr:"Un clic envoie une onde — vous montrez un coup sans avoir à le jouer",de:"Ein Klick sendet einen Wellenring — Sie zeigen einen Zug, ohne ihn spielen zu müssen"},"landing.why.card3.bullet3":{ko:"인터랙티브 모드에서 변화도를 함께 놓아봅니다 — 실제 바둑판 앞에서 하듯이",zh:"互动模式里一起摆变化 —— 就像真在棋盘前演练那样","zh-TW":"互動模式裡一起擺變化 —— 就像真在棋盤前演練那樣",ja:"インタラクティブモードで変化図を一緒に並べる — 本物の碁盤を前にしているのと同じ感覚で",en:"Play out variations together in interactive mode — the way you would across the table",fr:"Déroulez les variantes ensemble en mode interactif — comme vous le feriez face à face",de:"Im interaktiven Modus spielen Sie Varianten gemeinsam durch — so, wie Sie es am echten Brett tun würden"},"landing.teach.eyebrow":{ko:"함께 가르치세요",zh:"成为我们的老师","zh-TW":"成為我們的老師",ja:"一緒に教えませんか",en:"Teach with us",fr:"Enseignez avec nous",de:"Unterrichten Sie mit uns"},"landing.teach.heading":{ko:"전 세계 학생들에게 바둑을 가르치세요.",zh:"向世界各地的学生教授围棋。","zh-TW":"向世界各地的學生教授圍棋。",ja:"世界中の生徒に囲碁を教えてみませんか。",en:"Teach Baduk to students around the world.",fr:"Enseignez le Baduk à des élèves du monde entier.",de:"Unterrichten Sie Baduk — Schüler aus aller Welt."},"landing.teach.lede":{ko:"프로급 실력과 바둑에 대한 사랑만 가져오세요. 통역, 결제, 플랫폼 운영은 저희가 맡습니다 — 가격과 일정은 당신이 정합니다.",zh:"您带着职业水平的实力和对围棋的热爱来 —— 翻译、付款、技术平台都由我们处理。价格与时间,由您自己决定。","zh-TW":"您帶著職業水平的實力和對圍棋的熱愛來 —— 翻譯、付款、技術平台都由我們處理。價格與時間,由您自己決定。",ja:"プロ級の実力と囲碁への愛情だけ持ってきてください。通訳・決済・プラットフォーム運営は私たちが引き受けます — 料金とスケジュールはあなたが決めます。",en:"You bring pro-level experience and your love of the game. We handle the translation, the payments, and the platform — you keep your price and your schedule.",fr:"Vous apportez votre expérience de niveau pro et votre amour du jeu. Nous nous occupons de la traduction, des paiements et de la plateforme — vous gardez votre tarif et votre emploi du temps.",de:"Sie bringen Erfahrung auf Profi-Niveau und Ihre Liebe zum Spiel mit. Wir kümmern uns um Übersetzung, Zahlungen und Plattform — Preis und Zeitplan bestimmen Sie."},"landing.teach.item1.tag":{ko:"전 세계",zh:"全球学生","zh-TW":"全球學生",ja:"世界とつながる",en:"Reach",fr:"Portée",de:"Reichweite"},"landing.teach.item1.title":{ko:"전 세계에서 찾아오는 학생들",zh:"来自世界各地的学生","zh-TW":"來自世界各地的學生",ja:"世界中から来る生徒たち",en:"Students from across the world",fr:"Des élèves du monde entier",de:"Schüler aus aller Welt"},"landing.teach.item1.body":{ko:"모든 수업은 다른 바둑 문화 속에서 자란 사람에게 바둑을 전할 기회입니다. 가르치는 일이 곧 세상과 만나는 방식이 됩니다.",zh:"每一节课都是与不同围棋文化中长大的人分享棋艺的机会,教学本身就是与世界相遇的方式。","zh-TW":"每一節課都是與不同圍棋文化中長大的人分享棋藝的機會,教學本身就是與世界相遇的方式。",ja:"どのレッスンも、違う囲碁文化で育った相手に碁を伝える機会になります。教えることが、そのまま世界と出会う方法になります。",en:"Each booking is a chance to share Baduk with someone who grew up with a different game culture. Teaching here is how you meet the world.",fr:"Chaque cours est l'occasion de partager le Baduk avec quelqu'un qui a grandi dans une autre culture du jeu. Enseigner ici, c'est rencontrer le monde.",de:"Jede Buchung ist eine Gelegenheit, Baduk mit jemandem zu teilen, der in einer anderen Spielkultur aufgewachsen ist. Unterrichten heißt hier, der Welt zu begegnen."},"landing.teach.item2.tag":{ko:"주도권",zh:"自主权","zh-TW":"自主權",ja:"主導権",en:"Control",fr:"Contrôle",de:"Kontrolle"},"landing.teach.item2.title":{ko:"가격도, 시간도 당신이 정합니다",zh:"价格自定,时间自选","zh-TW":"價格自訂,時間自選",ja:"料金もスケジュールも、あなた次第",en:"Your price, your hours",fr:"Votre tarif, vos horaires",de:"Ihr Preis, Ihre Zeiten"},"landing.teach.item2.body":{ko:"수업료는 직접 정하시고, 본인의 생활 리듬에 맞는 시간만 열어두세요.",zh:"每节课的价格由您自定,按自己的生活节奏开放时段。","zh-TW":"每節課的價格由您自訂,按自己的生活節奏開放時段。",ja:"1 レッスンの料金は自分で決められます。生活に合う時間だけ開けてください。",en:"Set your per-lesson rate. Open the time slots that fit your life.",fr:"Fixez votre tarif par cours. Ouvrez les créneaux qui vous conviennent.",de:"Legen Sie Ihren Preis pro Lektion fest. Öffnen Sie nur die Zeiten, die zu Ihrem Leben passen."},"landing.teach.item3.tag":{ko:"언어",zh:"无语言障碍","zh-TW":"無語言障礙",ja:"言葉の壁を超える",en:"Language",fr:"Langue",de:"Sprache"},"landing.teach.item3.title":{ko:"수업 안에서도, 밖에서도 통역",zh:"课内课外,全程翻译","zh-TW":"課內課外,全程翻譯",ja:"レッスン中も、レッスン外も翻訳",en:"Translation, on and off the board",fr:"Traduction, au goban et au-delà",de:"Übersetzung — am Brett und außerhalb"},"landing.teach.item3.body":{ko:"수업 중에는 AI 자막이 실시간으로 언어 장벽을 메워줍니다. 학생과 주고받는 플랫폼 메시지도 자동으로 번역되어, 공통 언어가 없어도 다음 수업까지 학생과의 관계를 따뜻하게 유지할 수 있습니다.",zh:"课程中,AI 字幕实时跨越语言障碍;课程之间,平台上的师生消息自动翻译 —— 即便没有共同语言,您也能让学生持续保持热情,直到下一次相约棋盘。","zh-TW":"課程中,AI 字幕即時跨越語言障礙;課程之間,平台上的師生訊息自動翻譯 —— 即便沒有共同語言,您也能讓學生持續保持熱情,直到下一次相約棋盤。",ja:"レッスン中は AI 字幕がリアルタイムで言葉の壁を埋めます。プラットフォーム上での生徒とのメッセージも自動翻訳されるので、共通の言語がなくても次のレッスンまで生徒との関係を温め続けられます。",en:"AI subtitles bridge the language gap live during lessons. Messages between you and your students on the platform are translated automatically — so you can keep a student warm between bookings without sharing a language.",fr:"Les sous-titres IA franchissent la barrière de la langue en direct pendant les cours. Les messages échangés avec vos élèves sur la plateforme sont traduits automatiquement — vous gardez le contact entre deux séances, même sans langue commune.",de:"KI-Untertitel überbrücke
92n die Sprachbarriere in Echtzeit während der Lektion. Nachrichten zwischen Ihnen und Ihren Schülern auf der Plattform werden automatisch übersetzt — so bleiben Sie zwischen den Buchungen mit einem Schüler in Kontakt, auch ohne gemeinsame Sprache."},"landing.teach.viz.label":{ko:"학생들이 사용하는 언어 — 통역은 저희가 합니다",zh:"学生使用的语言 —— 翻译由我们负责","zh-TW":"學生使用的語言 —— 翻譯由我們負責",ja:"生徒が話す言語 — 翻訳は私たちが担当します",en:"Your students' languages — we handle the translation",fr:"Les langues de vos élèves — nous gérons la traduction",de:"Die Sprachen Ihrer Schüler — die Übersetzung übernehmen wir"},"landing.teach.contact.hint":{ko:"본인의 실력, 가르치는 언어, 그리고 짧은 자기 소개를 함께 보내주세요. 창업자가 직접 읽고 답장합니다.",zh:"请简单介绍您的水平、教授的语言,以及一点关于您自己的内容。每条消息都由创始人亲自阅读并回复。","zh-TW":"請簡單介紹您的水平、教授的語言,以及一點關於您自己的內容。每則訊息都由創辦人親自閱讀並回覆。",ja:"ご自身の段位、教えられる言語、そして簡単な自己紹介を添えてください。すべてのメッセージに創業者が直接目を通し、お返事します。",en:"Tell us your rank, the languages you teach in, and a bit about yourself. The founder reads and replies to every message personally.",fr:"Dites-nous votre niveau, les langues dans lesquelles vous enseignez, et présentez-vous brièvement. Le fondateur lit et répond personnellement à chaque message.",de:"Nennen Sie Ihren Rang, die Sprachen, in denen Sie unterrichten, und stellen Sie sich kurz vor. Der Gründer liest und beantwortet jede Nachricht persönlich."},"landing.teach.contact.email":{ko:"이메일 보내기",zh:"发邮件给我们","zh-TW":"寄信給我們",ja:"メールで連絡",en:"Email us",fr:"Nous écrire",de:"Schreiben Sie uns"},"landing.teach.contact.xDm":{ko:"X에서 DM 보내기",zh:"在 X 上私信","zh-TW":"在 X 上私訊",ja:"X で DM",en:"DM on X",fr:"DM sur X",de:"DM auf X"},"landing.faq.eyebrow":{ko:"자주 묻는 질문",zh:"常见问题","zh-TW":"常見問題",ja:"よくある質問",en:"FAQ",fr:"FAQ",de:"FAQ"},"landing.faq.heading":{ko:"많이 받는 질문들.",zh:"常见问题。","zh-TW":"常見問題。",ja:"よくある質問。",en:"Common questions.",fr:"Questions fréquentes.",de:"Häufige Fragen."},"landing.faq.q1.tag":{ko:"범위",zh:"业务范围","zh-TW":"業務範圍",ja:"スコープ",en:"Scope",fr:"Périmètre",de:"Umfang"},"landing.faq.q1.q":{ko:"OGS / Fox / Tygem 같은 또 다른 바둑 서버를 만드는 건가요? 또는 또 하나의 AI 분석 도구?",zh:"你们是要做另一个像 OGS / Fox / Tygem 这样的围棋服务器吗?或者另一个 AI 分析工具?","zh-TW":"你們是要做另一個像 OGS / Fox / Tygem 這樣的圍棋伺服器嗎?或者另一個 AI 分析工具?",ja:"OGS / Fox / Tygem のような別の囲碁サーバーを作っているのですか? あるいは別の AI 分析ツール?",en:"Are you building another Go server like OGS / Fox / Tygem? Or another AI analysis tool?",fr:"Êtes-vous en train de construire un autre serveur de Go comme OGS / Fox / Tygem ? Ou un autre outil d'analyse IA ?",de:"Bauen Sie noch einen weiteren Go-Server wie OGS / Fox / Tygem? Oder noch ein KI-Analysetool?"},"landing.faq.q1.a1":{ko:"아닙니다 — 바퀴를 다시 발명하지 않습니다. 저희가 풀려는 문제는 언어 장벽 너머의 바둑 수업을 가능하게 하는 것입니다.",zh:"不 —— 我们不打算重新造轮子。我们要解决的是让跨语言的围棋课成为可能。","zh-TW":"不 —— 我們不打算重新造輪子。我們要解決的是讓跨語言的圍棋課成為可能。",ja:"いいえ — 車輪の再発明はしません。私たちが解決したいのは、言葉を越えて囲碁レッスンを成り立たせることです。",en:"No — we're not reinventing the wheel. The problem we're solving is making baduk lessons possible across languages.",fr:"Non — nous ne réinventons pas la roue. Le problème que nous résolvons, c'est de rendre possibles les cours de baduk au-delà des langues.",de:"Nein — wir erfinden das Rad nicht neu. Was wir lösen, ist: Baduk-Unterricht über Sprachgrenzen hinweg möglich zu machen."},"landing.faq.q1.a2":{ko:"영어권 바둑 커뮤니티는 가장 강한 선수들이 모여 있는 동아시아의 최고 수준 가르침에 접근하기 어렵습니다. 저희가 ê·¸ 다리를 놓습ë
92‹ˆë‹¤. 기존 바둑 서버와 AI 분석 도구는 이미 자기 일을 잘하고 있으니, 대체할 계획은 없습니다.",zh:"英文围棋圈很难接触到亚洲最强棋手的高水平教学,我们做的就是搭这座桥。现有的围棋服务器和 AI 分析工具各自做得很好,我们没有取代它们的打算。","zh-TW":"英文圍棋圈很難接觸到亞洲最強棋手的高水平教學,我們做的就是搭這座橋。現有的圍棋伺服器和 AI 分析工具各自做得很好,我們沒有取代它們的打算。",ja:"英語圏の囲碁コミュニティは、最強の棋士たちが集まる東アジアからのトップレベルの指導にアクセスしづらい状況にあります。私たちはそのギャップを埋めます。既存の囲碁サーバーや AI 分析ツールはそれぞれの役割を十分に果たしており、置き換えるつもりはありません。",en:"The English-speaking Go community has limited access to top-level teaching from East Asia, where the strongest players live and train. We bridge that gap. The existing Go servers and AI analysis tools already do their jobs well; we have no plans to replace them.",fr:"La communauté Go anglophone a un accès limité à l'enseignement de haut niveau venu d'Asie de l'Est, où vivent et s'entraînent les joueurs les plus forts. Nous comblons cet écart. Les serveurs de Go et les outils d'analyse IA existants font déjà bien leur travail ; nous n'avons pas l'intention de les remplacer.",de:"Die englischsprachige Go-Community hat nur begrenzten Zugang zum Top-Unterricht aus Ostasien, wo die stärksten Spieler leben und trainieren. Wir schließen diese Lücke. Bestehende Go-Server und KI-Analysetools machen ihre Arbeit bereits gut; wir haben nicht vor, sie zu ersetzen."},"landing.faq.q2.tag":{ko:"도구",zh:"工具","zh-TW":"工具",ja:"ツール",en:"Tooling",fr:"Outils",de:"Werkzeuge"},"landing.faq.q2.q":{ko:"Zoom / WeChat / 다른 화상 도구를 쓰면 안 되나요? 그쪽도 실시간 자막과 번역이 있잖아요.",zh:"为什么不直接用 Zoom / 微信会议 / 其他视频工具?它们也有实时字幕和翻译。","zh-TW":"為什麼不直接用 Zoom / 微信會議 / 其他影片工具?它們也有即時字幕和翻譯。",ja:"Zoom / WeChat / 他のビデオツールでは駄目なのですか? あれもリアルタイム字幕や翻訳があります。",en:"Why not just use Zoom / WeChat / other video tools? They have real-time captions and translation too.",fr:"Pourquoi ne pas simplement utiliser Zoom / WeChat / d'autres outils de visio ? Ils ont aussi des sous-titres et une traduction en temps réel.",de:"Warum nicht einfach Zoom / WeChat / andere Videotools nutzen? Die haben doch auch Echtzeit-Untertitel und Übersetzung."},"landing.faq.q2.a1":{ko:"두 가지 이유가 있습니다:",zh:"两个原因:","zh-TW":"兩個原因:",ja:"理由は 2 つあります:",en:"Two reasons:",fr:"Pour deux raisons :",de:"Aus zwei Gründen:"},"landing.faq.q2.bullet1":{ko:"WeChat 회의는 중국어 ↔ 영어만 번역합니다. 한국어 지원이 없죠. 대부분의 프로 선생님은 한국어, 중국어, 또는 일본어를 씁니다.",zh:"微信会议只在中文 ↔ 英文之间互译,没有韩语。但大部分职业老师讲韩语、中文或日语。","zh-TW":"微信會議只在中文 ↔ 英文之間互譯,沒有韓語。但大部分職業老師講韓語、中文或日語。",ja:"WeChat ミーティングは中国語 ↔ 英語しか翻訳しません。韓国語には対応していない。プロの先生方の多くは韓国語、中国語、または日本語を使います。",en:"WeChat Meeting only translates Chinese ↔ English. No Korean. Most pro teachers speak Korean, Chinese, or Japanese.",fr:"WeChat Meeting ne traduit que le chinois ↔ anglais. Pas de coréen. Or la plupart des professeurs pros parlent cor
92éen, chinois ou japonais.",de:"WeChat Meeting übersetzt nur Chinesisch ↔ Englisch. Kein Koreanisch. Die meisten Profi-Lehrer sprechen aber Koreanisch, Chinesisch oder Japanisch."},"landing.faq.q2.bullet2":{ko:"번역이 된다 해도 그 도구들은 바둑 맥락이 없습니다. 'sente', 'aji', 'hane' 같은 용어가 엉망이 되죠. 저희 파이프라인에서는 바둑 개념과 용어가 일급 시민이라, 라이브 수업 중에도 번역이 정확하게 유지됩니다.",zh:'即便能翻译,这些工具也没有围棋上下文。"先手"、"味"、"扳"这类术语会被翻乱。在我们的流水线里,围棋概念和术语是一等公民 —— 实时课程中翻译保持准确。',"zh-TW":'即便能翻譯,這些工具也沒有圍棋上下文。"先手"、"味"、"扳"這類術語會被翻亂。在我們的流水線裡,圍棋概念和術語是一等公民 —— 即時課程中翻譯保持準確。',ja:"たとえ翻訳できても、それらのツールには囲碁の文脈がありません。「先手」「味」「ハネ」のような用語が崩れてしまう。当社のパイプラインでは囲碁の概念と用語がファーストクラスで、ライブレッスン中も翻訳が正確に保たれます。",en:"Even when those tools translate, they have no baduk context. Terms like 'sente', 'aji', 'hane' get mangled. In our pipeline, baduk concepts and terminology are first-class citizens — translations stay accurate during a live lesson.",fr:"Même quand ces outils traduisent, ils n'ont aucun contexte baduk. Des termes comme « sente », « aji » ou « hane » sont massacrés. Dans notre pipeline, les concepts et le vocabulaire du baduk sont des citoyens de première classe — les traductions restent justes pendant un cours en direct.",de:'Selbst wenn diese Tools übersetzen, fehlt ihnen jeder Baduk-Kontext. Begriffe wie „sente", „aji" oder „hane" werden verstümmelt. In unserer Pipeline sind Baduk-Konzepte und -Fachbegriffe erstklassig vertreten — Übersetzungen bleiben während einer Live-Lektion präzise.'},"landing.faq.q3.tag":{ko:"실력 적합성",zh:"水平匹配","zh-TW":"水平匹配",ja:"レベル適合",en:"Level fit",fr:"Niveau adapté",de:"Passendes Niveau"},"landing.faq.q3.q":{ko:"저는 DDK / SDK인데요. 정말 프로 수준의 선생님이 필요할까요?",zh:"我是 DDK / SDK 水平。真的需要职业级老师吗?","zh-TW":"我是 DDK / SDK 水平。真的需要職業級老師嗎?",ja:"私は DDK / SDK レベルです。本当にプロ級の先生が必要ですか?",en:"I'm a DDK / SDK player. Do I really need a pro-level teacher?",fr:"Je suis joueur DDK / SDK. Ai-je vraiment besoin d'un professeur de niveau pro ?",de:"Ich bin DDK-/SDK-Spieler. Brauche ich wirklich einen Lehrer auf Profi-Niveau?"},"landing.faq.q3.a1":{ko:"오버킬처럼 느껴질 수 있지만 — 강한 선생님을 만날 수 있다면 거의 항상 그쪽이 더 좋은 선택입니다.",zh:"听上去可能像杀鸡用牛刀 —— 但只要有机会,跟强老师学几乎总是更好的选择。","zh-TW":"聽上去可能像殺雞用牛刀 —— 但只要有機會,跟強老師學幾乎總是更好的選擇。",ja:"やり過ぎに感じるかもしれません — でも強い先生に学べる機会があるなら、ほぼ必ずその方が良い選択です。",en:"It might feel like overkill — but a strong teacher is almost always the better choice when one is available.",fr:"Cela peut sembler excessif — mais un professeur fort est presque toujours le meilleur choix dès qu'il est disponible.",de:"Das mag übertrieben wirken — aber ein starker Lehrer ist fast immer die bessere Wahl, sobald einer verfügbar ist."},"landing.faq.q3.a2":{ko:"저단 아마추어 선생님도 실력 향상에 도움을 줄 수 있지만, 미묘하게 잘못된 개념을 함께 전수하는 경우가 있습니다 (그게 그분들이 아직 아마추어인 이유 중 하나죠). 그런 개념들이 처음에는 조금 늘게 해 주다가, 곧 천장이 됩니다. 처음부터 프로 트레이닝을 받은 선생님께 배우면 이해의 불순물이 적어지고 — 따라서 더 빠르고 더 멀리 갈 수 있습니다.",zh:"低段位的业余老师也能帮你进步,但有时会传授一些细节上有误的概念(这也是他们仍然是业余的原因之一)。这些概念可能让你提升一点点,然后就成了天花板。从一开始就跟受过职业训练的老师学习,理解里的杂质更少 —— 因此进步更快、走得更远。","zh-TW":"低段位的業餘老師也能幫你進步,但有時會傳授一些細節上有誤的概念(這也是他們仍然是業餘的原因之一)。這些概念可能讓你提升一點點,然後就成了天花板。從一開始就跟受過職業訓練的老師學習,理解裡的雜質更少 —— 因此進步更快、走得更遠。",ja:"低段の有段アマ先生でも上達は手伝えますが、微妙に誤った概念を一緒に伝えてしまうことがあります(彼らが今もアマチュアである理由の一つです)。それらの概念で少し上達できても、やがて天井になります。最初からプロ修行を積んだ先生に学べば、理解の中の不純物が少なくなり — その結果、より速く、より遠くまで進めます。",en:"Lower-dan amateur teachers can help you climb, but they sometimes pass on subtly wrong concepts (which is part of why they're still amateurs). Those concepts may help you improve a bit, then become a ceiling. Learning from pro-trained teachers early means fewer impurities in your understanding — and therefore faster, further progress.",fr:"Les professeurs amateurs de petit dan peuvent vous aider à progresser, mais ils transmettent parfois des concepts subtilement faux (c'est en partie pour cela qu'ils sont encore amateurs). Ces concepts vous font monter un peu, puis deviennent un plafond. Apprendre tôt auprès de professeurs formés au pro, c'est moins d'impuretés dans votre compréhension — et donc des progrès plus rapides et plus durables.",de:"Amateurlehrer im niedrigen Dan-Bereich können beim Aufstieg helfen, geben aber manchmal subtil falsche Konzepte weiter (das ist mit ein Grund, warum sie noch Amateure sind). Solche Konzepte bringen Sie ein Stück weiter — und werden dann zur Decke. Früh von profi-ausgebildeten Lehrer
92n zu lernen heißt: weniger Unreinheiten im Verständnis — und damit schnellere, weitreichendere Fortschritte."},"landing.faq.q4.tag":{ko:"AI vs 선생님",zh:"AI 与老师","zh-TW":"AI 與老師",ja:"AI と先生",en:"AI vs. teacher",fr:"IA vs professeur",de:"KI vs. Lehrer"},"landing.faq.q4.q":{ko:"AI 엔진이 이미 최정상 인간을 이기는데, 왜 굳이 사람 프로에게 배워야 하나요?",zh:"AI 引擎已经胜过顶尖人类。为什么还要跟人类职业棋手学?","zh-TW":"AI 引擎已經勝過頂尖人類。為什麼還要跟人類職業棋手學?",ja:"AI エンジンはすでにトップ棋士に勝っています。それでも人間のプロから学ぶ意味は?",en:"AI engines beat top humans now. Why still learn from a human pro?",fr:"Les moteurs d'IA battent désormais les meilleurs humains. Pourquoi continuer à apprendre auprès d'un professionnel humain ?",de:"KI-Engines schlagen heute die besten Menschen. Warum überhaupt noch von einem menschlichen Profi lernen?"},"landing.faq.q4.a1":{ko:"AI는 무엇 (최선의 수, 승률) ê³¼ 어떻게 (변화도) 를 줍니다. 왜 — 이 자리에서 왜 이 수가 최선인지, 왜 한 모양은 통하고 다른 ê±´ 무너지는지 — 는 알려주지 않습니다.",zh:'AI 给你"是什么"(最佳手、胜率)和"怎么走"(变化图)。它给不了"为什么" —— 为什么这个位置该这么下,为什么一个形可行而另一个崩盘。',"zh-TW":'AI 給你"是什麼"(最佳手、勝率)和"怎麼走"(變化圖)。它給不了"為什麼" —— 為什麼這個位置該這麼下,為什麼一個形可行而另一個崩盤。',ja:"AI は「何」(最善手、勝率)と「どのように」(変化図)を教えてくれます。けれど「なぜ」 — なぜこの局面でこの手が最善か、なぜある形は機能して別の形は崩れるか — は教えてくれません。",en:"AI gives you the what (best move, win-rate) and the how (variations). It doesn't give you the why — why this move is best in this position, why one shape works and another collapses.",fr:"L'IA vous donne le quoi (meilleur coup, taux de victoire) et le comment (variantes). Elle ne vous donne pas le pourquoi — pourquoi ce coup est le meilleur dans cette position, pourquoi une forme fonctionne et une autre s'effondre.",de:"KI gibt Ihnen das Was (bester Zug, Gewinnrate) und das Wie (Varianten). Sie gibt Ihnen nicht das Warum — warum dieser Zug in dieser Stellung der beste ist, warum eine Form funktioniert und eine andere zusammenbricht."},"landing.faq.q4.a2":{ko:"프로 트레이닝을 받은 선생님은 AI의 제안 뒤에 있는 추론을 말로 풀어줄 수 있고, ê·¸ 추론이 실제로 자기 바둑에 내재화되는 것입니다. 왜가 ê³§ 수업입니다.",zh:'受过职业训练的老师能把 AI 推荐背后的逻辑讲清楚,而你真正能内化进自己棋艺的,就是那份逻辑。"为什么"才是课的核心。',"zh-TW":'受過職業訓練的老師能把 AI 推薦背後的邏輯講清楚,而你真正能內化進自己棋藝的,就是那份邏輯。"為什麼"才是課的核心。',ja:"プロ修行を積んだ先生は、AI の提案の背後にある理由を言語化できます。あなたが自分の対局に取り込めるのは、その理由なのです。「なぜ」こそがレッスンの本体です。",en:"Pro-trained teachers can articulate the reasoning behind AI's suggestions, and that reasoning is what you actually internalise into your own play. The why is the lesson.",fr:"Les professeurs formés au niveau pro savent expliquer le raisonnement derrière les suggestions de l'IA, et c'est ce raisonnement que vous intégrez réellement à votre propre jeu. Le pourquoi, voilà la leçon.",de:"Pro-trainierte Lehrer können die Überlegungen hinter den KI-Vorschlägen in Worte fassen, und genau diese Überlegungen verinnerlichen Sie in Ihr eigenes Spiel. Das Warum ist die Lektion."},"landing.faq.viz.cmp.head.baduk":{ko:"바둑 인식",zh:"懂围棋","zh-TW":"懂圍棋",ja:"囲碁対応",en:"Baduk-aware",fr:"Conscient du baduk",de:"Baduk-bewusst"},"landing.faq.viz.cmp.row.zoom":{ko:"Zoom 자막",zh:"Zoom 字幕","zh-TW":"Zoom 字幕",ja:"Zoom 字幕",en:"Zoom captions",fr:"Sous-titres Zoom",de:"Zoom-Untertitel"},"landing.faq.viz.cmp.row.wechat":{ko:"WeChat 회의",zh:"微信会è®
92®","zh-TW":"微信會議",ja:"WeChat ミーティング",en:"WeChat Meeting",fr:"WeChat Meeting",de:"WeChat Meeting"},"landing.faq.viz.cmp.row.generic":{ko:"일반 AI 번역",zh:"通用 AI 翻译","zh-TW":"通用 AI 翻譯",ja:"汎用 AI 翻訳",en:"Generic AI translate",fr:"Traduction IA générique",de:"Generische KI-Übersetzung"},"landing.faq.viz.cmp.row.us":{ko:"Baduk Teacher",zh:"Baduk Teacher","zh-TW":"Baduk Teacher",ja:"Baduk Teacher",en:"Baduk Teacher",fr:"Baduk Teacher",de:"Baduk Teacher"},"landing.faq.viz.growth.amateur":{ko:"아마 선생님",zh:"业余老师","zh-TW":"業餘老師",ja:"アマ先生",en:"amateur teacher",fr:"professeur amateur",de:"Amateurlehrer"},"landing.faq.viz.growth.pro":{ko:"프로 선생님",zh:"职业老师","zh-TW":"職業老師",ja:"プロ先生",en:"pro teacher",fr:"professeur pro",de:"Profi-Lehrer"},"landing.faq.viz.growth.yLabel1":{ko:"내",zh:"你的","zh-TW":"你的",ja:"あなたの",en:"your",fr:"votre",de:"Ihr"},"landing.faq.viz.growth.yLabel2":{ko:"실력",zh:"æ°´å¹³","zh-TW":"æ°´å¹³",ja:"レベル",en:"level",fr:"niveau",de:"Niveau"},"landing.faq.viz.growth.xLabel":{ko:"학습 시간 →",zh:"学习时间 →","zh-TW":"學習時間 →",ja:"学んだ時間 →",en:"time studying →",fr:"temps d'étude →",de:"Lernzeit →"},"landing.faq.viz.growth.caption":{ko:"아마 경로는 잘못된 개념이 천장이 되는 지점에서 평탄해집니다. 처음부터 프로와 시작하면 곡선이 계속 올라갑니다.",zh:"业余路径在错误概念变成天花板的地方变平。从一开始跟职业棋手学,曲线就一直往上走。","zh-TW":"業餘路徑在錯誤概念變成天花板的地方變平。從一開始跟職業棋手學,曲線就一直往上走。",ja:"アマ路線は誤った概念が天井になるところでフラットになります。最初からプロと始めれば、曲線は伸び続けます。",en:"The amateur path plateaus where wrong concepts become the ceiling. Starting with a pro keeps the curve climbing.",fr:"La trajectoire amateur plafonne là où des concepts erronés deviennent une limite. Commencer avec un pro maintient la courbe en hausse.",de:"Der Amateurweg flacht dort ab, wo falsche Konzepte zur Decke werden. Mit einem Profi zu starten hält die Kurve oben."},"landing.faq.viz.aivt.aiChip":{ko:"AI 엔진",zh:"AI 引擎","zh-TW":"AI 引擎",ja:"AI エンジン",en:"AI engine",fr:"Moteur d'IA",de:"KI-Engine"},"landing.faq.viz.aivt.proChip":{ko:"프로 선생님",zh:"职业老师","zh-TW":"職業老師",ja:"プロ先生",en:"Pro teacher",fr:"Professeur pro",de:"Profi-Lehrer"},"landing.faq.viz.aivt.bestMove":{ko:"최선의 수",zh:"最佳手","zh-TW":"最佳手",ja:"最善手",en:"Best move",fr:"Meilleur coup",de:"Bester Zug"},"landing.faq.viz.aivt.winRate":{ko:"승률",zh:"胜率","zh-TW":"勝率",ja:"勝率",en:"Win rate",fr:"Taux de victoire",de:"Gewinnrate"},"landing.faq.viz.aivt.variation":{ko:"변화도",zh:"变化","zh-TW":"變化",ja:"変化",en:"Variation",fr:"Variante",de:"Variante"},"landing.faq.viz.aivt.why":{ko:"왜",zh:"为什么","zh-TW":"為什麼",ja:"なぜ",en:"Why",fr:"Pourquoi",de:"Warum"},"landing.faq.viz.aivt.quote":{ko:'"P16이 통하는 이유는 흑의 두터움에 영향을 주기 때문입니다. Q15도 둘 수 있지만, 흑을 더 나쁜 모양으로 강제하기 때문에 P16에 비해 효율이 떨어집니다."',zh:'"P16 之所以好,是因为它影响黑的厚势。Q15 也能下,但相比 P16 效率更低 —— P16 强制黑形成更差的形状。"',"zh-TW":'"P16 之所以好,是因為它影響黑的厚勢。Q15 也能下,但相比 P16 效率更低 —— P16 強制黑形成更差的形狀。"',ja:"「P16 が機能するのは、黒の厚みに影響するからです。Q15 も打てますが、黒をより悪い形に強いるため P16 ほど効率的ではありません。」",en:'"P16 works because it affects the thickness of Black. Q15 is also playable, but it is less efficient compared with P16, because P16 forces Black into a worse shape."',fr:"« P16 fonctionne parce que ce coup influence l'épaisseur de Noir. Q15 est jouable au
92ssi, mais c'est moins efficace que P16, car P16 force Noir dans une forme moins bonne. »",de:'„P16 funktioniert, weil dieser Zug die Dicke von Schwarz beeinflusst. Q15 wäre auch spielbar, ist aber weniger effizient als P16, weil P16 Schwarz in eine schlechtere Form zwingt."'},"landing.faq.viz.aivt.tag":{ko:"↑ 자기 대국에 가져갈 수 있는 추론",zh:"↑ 你能带到自己对局里的逻辑","zh-TW":"↑ 你能帶到自己對局裡的邏輯",ja:"↑ あなた自身の対局に持ち帰れる思考",en:"↑ the reasoning you can carry into your own games",fr:"↑ le raisonnement que vous emportez dans vos propres parties",de:"↑ die Überlegung, die Sie in Ihre eigenen Partien mitnehmen"},"landing.footer.links.teachers":{ko:"선생님 목록",zh:"所有老师","zh-TW":"所有老師",ja:"先生一覧",en:"All teachers",fr:"Tous les professeurs",de:"Alle Lehrer"},"landing.footer.links.signIn":{ko:"로그인",zh:"登录","zh-TW":"登入",ja:"ログイン",en:"Sign in",fr:"Connexion",de:"Anmelden"},"landing.footer.links.terms":{ko:"이용약관",zh:"服务条款","zh-TW":"服務條款",ja:"利用規約",en:"Terms",fr:"Conditions",de:"AGB"},"landing.footer.links.privacy":{ko:"개인정보",zh:"隐私","zh-TW":"隱私",ja:"プライバシー",en:"Privacy",fr:"Confidentialité",de:"Datenschutz"},"landing.footer.links.tutorGuidelines":{ko:"선생님 안내",zh:"老师指南","zh-TW":"老師指南",ja:"ガイドライン",en:"Tutor Guidelines",fr:"Directives pour les enseignants",de:"Richtlinien für Lehrer"},"landing.footer.links.learn":{ko:"학습 가이드",zh:"学习指南","zh-TW":"學習指南",ja:"学習ガイド",en:"Learn",fr:"Apprendre",de:"Lernen"},"landing.footer.links.teachWithUs":{ko:"함께 가르치세요",zh:"成为我们的老师","zh-TW":"成為我們的老師",ja:"一緒に教えませんか",en:"Teach with us",fr:"Enseignez avec nous",de:"Unterrichten Sie mit uns"},"landing.footer.social.x":{ko:"X에서 Baduk Teacher 팔로우",zh:"在 X 上关注 Baduk Teacher","zh-TW":"在 X 上追蹤 Baduk Teacher",ja:"XでBaduk Teacherをフォロー",en:"Follow Baduk Teacher on X",fr:"Suivre Baduk Teacher sur X",de:"Baduk Teacher auf X folgen"},"legal.terms.title":{ko:"이용약관",zh:"服务条款","zh-TW":"服務條款",ja:"利用規約",en:"Terms of Service",fr:"Conditions d'utilisation",de:"Nutzungsbedingungen"},"legal.privacy.title":{ko:"개인정보처리방침",zh:"隐私政策","zh-TW":"隱私政策",ja:"プライバシーポリシー",en:"Privacy Policy",fr:"Politique de confidentialité",de:"Datenschutzerklärung"},"legal.tutorGuidelines.title":{ko:"선생님 안내",zh:"老师指南","zh-TW":"老師指南",ja:"先生向けガイドライン",en:"Tutor Guidelines",fr:"Directives pour les enseignants",de:"Richtlinien für Lehrer"},"legal.loading":{ko:"문서를 불러오는 중…",zh:"正在加载文档…","zh-TW":"正在載入文件…",ja:"読み込み中…",en:"Loading…",fr:"Chargement…",de:"Laden…"},"legal.error":{ko:"문서를 불러오지 못했습니다. 잠시 후 다시 시도해 주세요.",zh:"无法加载此文档,请稍后再试。","zh-TW":"無法載入此文件,請稍後再試。",ja:"文書を読み込めませんでした。しばらくしてからお試しください。",en:"We couldn’t load this document. Please try again in a moment.",fr:"Impossible de charger ce document. Veuillez réessayer dans un instant.",de:"Dieses Dokument konnte nicht geladen werden. Bitte versuchen Sie es gleich erneut."},"landing.footer.contact":{ko:"문의 또는 피드백:",zh:"问题或反馈:","zh-TW":"問題或反饋:",ja:"ご質問・ご意見:",en:"Questions or feedback?",fr:"Questions ou retours ?",de:"Fragen oder Feedback?"},"landing.footer.address":{ko:"Room 3604, 36/F, Hong Kong Plaza, 188 Connaught Road West, Hong Kong",zh:"Room 3604, 36/F, Hong Kong Plaza, 188 Connaught Road West, Hong Kong","zh-TW":"Room 3604, 36/F, Hong Kong Plaza, 188 Connaught Road West, Hong Kong",ja:"Room 3604, 36/F, Hong Kong Plaza, 188 Connaught Road West, Hong Kong",en:"Room 3604, 36/F, Hong Kong Plaza, 188 Connaught Road West, Hong Kong",fr:"Room 3604, 36/F, Hong Kong Plaza, 188 Connaught Road West, Hong Kong",de:"Room 3604, 36/F, Hong Kong Plaza, 188 Connaught Road West, Hong Kong"},"landing.footer.legal":{ko:"© {year} Baduk Teacher.",zh:"© {year} Baduk Teacher。","zh-TW":"© {year} Baduk Teacher。",ja:"© {year} Baduk Teacher。",en:"© {year} Baduk Teacher.",fr:"© {year} Baduk Teacher.",de:"© {year} Baduk Teacher."},"landing.error.title":{ko:"불러오지 못했어요.",zh:"加载失败。","zh-TW":"載入失敗。",ja:"読み込めませんでした。",en:"
92Couldn't load.",fr:"Échec du chargement.",de:"Konnte nicht laden."},"landing.groupClasses.heading":{ko:"예정된 그룹 수업",zh:"即将开始的小组课","zh-TW":"即將開始的小組課",ja:"予定されているグループレッスン",en:"Upcoming group classes",fr:"Upcoming group classes",de:"Upcoming group classes"},"landing.groupClasses.seeAll":{ko:"모든 그룹 수업 보기 →",zh:"查看所有小组课 →","zh-TW":"查看所有小組課 →",ja:"すべてのグループレッスンを見る →",en:"See all group classes →",fr:"See all group classes →",de:"See all group classes →"},"landing.compare.eyebrow":{ko:"두 가지 학습 방식",zh:"两种学习方式","zh-TW":"兩種學習方式",ja:"2つの学び方",en:"Two ways to learn",fr:"Deux façons d'apprendre",de:"Zwei Wege zu lernen"},"landing.compare.heading":{ko:"1:1 레슨과 그룹 수업, 무엇이 다를까요?",zh:"私教课与小组课,有何不同?","zh-TW":"一對一課程與小組課,有何不同?",ja:"プライベートとグループ、何が違う?",en:"Private or group?",fr:"Cours privé ou en groupe ?",de:"Privat oder Gruppe?"},"landing.compare.lede":{ko:"두 방식 모두 실시간 번역을 통해 프로급 선생님에게 직접 배웁니다. 차이는 ê·¸ 수업이 얼마나 ‘당신만의 것’인가에 있습니다.",zh:"两种方式都让你在实时翻译下,直接向职业水平的老师学习。区别在于:这堂课有多少属于你一个人。","zh-TW":"兩種方式都讓你在即時翻譯下,直接向職業水平的老師學習。差別在於:這堂課有多少屬於你一個人。",ja:"どちらもリアルタイム翻訳で、プロ級の先生から直接学べます。違いは、そのレッスンがどれだけ「あなただけのもの」かです。",en:"Both put you in front of a pro-level teacher with live translation in your language. What changes is how much of the lesson is yours.",fr:"Les deux vous placent face à un professeur de niveau pro, avec une traduction en direct dans votre langue. Ce qui change, c'est la part du cours qui vous revient.",de:"Beide bringen Sie mit einem Lehrer auf Profiniveau zusammen — mit Live-Übersetzung in Ihrer Sprache. Der Unterschied: wie viel von der Stunde Ihnen allein gehört."},"landing.compare.col.group":{ko:"그룹 수업",zh:"小组课","zh-TW":"小組課",ja:"グループレッスン",en:"Group class",fr:"Cours en groupe",de:"Gruppenkurs"},"landing.compare.col.groupTag":{ko:"가장 부담 없는",zh:"最实惠","zh-TW":"最實惠",ja:"最も手頃",en:"Most affordable",fr:"Le plus abordable",de:"Am günstigsten"},"landing.compare.col.private":{ko:"1:1 레슨",zh:"一对一私教","zh-TW":"一對一課程",ja:"プライベート(1対1)",en:"Private 1-on-1",fr:"Cours privé (1-à-1)",de:"Privat (1-zu-1)"},"landing.compare.col.privateTag":{ko:"온전히 당신만",zh:"完全属于你","zh-TW":"完全屬於你",ja:"あなただけの時間",en:"Fully yours",fr:"Rien que pour vous",de:"Ganz für Sie"},"landing.compare.cost.aspect":{ko:"비용",zh:"费用","zh-TW":"費用",ja:"費用",en:"Cost",fr:"Tarif",de:"Kosten"},"landing.compare.cost.group":{ko:"1:1 레슨의 일부 비용으로 — 프로에게 배우는 가장 부담 없는 방법입니다.",zh:"只需私教课的零头 —— 跟职业水平老师学棋最实惠的方式。","zh-TW":"只需一對一課程的零頭 —— 向職業水平老師學棋最實惠的方式。",ja:"プライベートレッスンの何分の一かの費用で、プロに学べる最も手頃な方法です。",en:"A fraction of a private lesson — the most affordable way to study with a pro.",fr:"Une fraction du prix d'un cours privé — la façon la plus abordable d'apprendre avec un pro.",de:"Ein Bruchteil eines Privatkurses — der günstigste Weg, von einem Profi zu lernen."},"landing.compare.cost.private":{ko:"선생님의 시간을 온전히 독차지하는 1:1 요금입니다.",zh:"一对一的价格,换来老师不被分走的全部时间。","zh-TW":"一對一的價格,換來老師不被分走的全部時間。",ja:"先生の時間を独り占めできる、1対1の料金です。",en:"A one-to-one rate for the teacher's full, undivided time.",fr:"Un tarif individuel pour bénéficier de tout le temps du professeur, rien que pour vous.",de:"Ein Einzeltarif für die volle, ungeteilte Zeit des Lehrers."},"landing.compare.voice.aspect":{ko:"선생님과의 대화",zh:"与老师的交流","zh-TW":"與老師的交流",ja:"先生との対話",en:"Talking with the teacher",fr:"Échanger avec le professeur",de:"Austausch mit dem Lehrer"},"landing.compare.voice.group":{ko:"여러 목소리로 어수선해지지 않도록 학생 마이크는 꺼져 있습니다. 하지만 채팅으로 질문을 입력할 수 있고, 선생님의 모든 ë§
92ì´ 당신의 언어로 화면에 표시됩니다.",zh:"为避免人多声音嘈杂,学生麦克风保持关闭;但你仍可在聊天框中打字提问,老师说的每句话都会以你的语言显示在屏幕上。","zh-TW":"為避免人多聲音嘈雜,學生麥克風保持關閉;但你仍可在聊天框中打字提問,老師說的每句話都會以你的語言顯示在螢幕上。",ja:"大勢の声で騒がしくならないよう、生徒のマイクはオフです。ただしチャットで質問を入力でき、先生の言葉はすべてあなたの言語で画面に表示されます。",en:"Student mics stay off so the room doesn't fill with voices — but you can still type questions in chat, and every word the teacher says is on screen in your language.",fr:"Les micros des élèves restent coupés pour éviter un brouhaha de voix — mais vous pouvez toujours poser vos questions par écrit dans le chat, et chaque mot du professeur s'affiche à l'écran dans votre langue.",de:"Die Mikrofone der Schüler bleiben aus, damit der Raum nicht voller Stimmen ist — aber Sie können Fragen weiterhin im Chat eintippen, und jedes Wort des Lehrers steht in Ihrer Sprache auf dem Bildschirm."},"landing.compare.voice.private":{ko:"마이크가 켜져 있습니다. 질문하고 생각을 나누며, 진짜 주고받는 대화를 합니다.",zh:"麦克风开启。你可以提问、说出自己的想法,与老师真正地一来一往。","zh-TW":"麥克風開啟。你可以提問、說出自己的想法,與老師真正地一來一往。",ja:"マイクはオン。質問したり考えを言葉にしたり、本当の意味でのやり取りができます。",en:"Your mic is on. Ask questions and talk through your ideas in a real back-and-forth.",fr:"Votre micro est activé. Posez des questions et exprimez vos idées dans un véritable échange.",de:"Ihr Mikrofon ist an. Stellen Sie Fragen und besprechen Sie Ihre Ideen in einem echten Hin und Her."},"landing.compare.game.aspect":{ko:"지도기",zh:"指导棋","zh-TW":"指導棋",ja:"指導碁",en:"Teaching game",fr:"Partie d'enseignement",de:"Lehrpartie"},"landing.compare.game.group":{ko:"선생님이 여러 학생과 동시에 두며, 여러 대국을 오갑니다.",zh:"老师同时与多名学生对弈,在多盘棋之间轮流指导。","zh-TW":"老師同時與多名學生對弈,在多盤棋之間輪流指導。",ja:"先生が複数の生徒と同時に打ち、いくつもの対局を行き来します。",en:"The teacher plays several students at once, moving between simultaneous games.",fr:"Le professeur joue contre plusieurs élèves à la fois, en passant d'une partie simultanée à l'autre.",de:"Der Lehrer spielt gegen mehrere Schüler gleichzeitig und wechselt zwischen den parallel laufenden Partien."},"landing.compare.game.private":{ko:"선생님과 단둘이 두는 한 판 — 당신의 한 수 한 수에 온전히 집중합니다.",zh:"与老师单独下一盘指导棋,他的注意力全在你的每一手上。","zh-TW":"與老師單獨下一盤指導棋,他的注意力全在你的每一手上。",ja:"先生と一対一で打つ一局。あなたの一手一手に集中してくれます。",en:"One dedicated game against the teacher, with their full attention on your moves.",fr:"Une partie dédiée contre le professeur, toute son attention portée sur vos coups.",de:"Eine eigene Partie gegen den Lehrer, dessen volle Aufmerksamkeit Ihren Zügen gilt."},"landing.compare.review.aspect":{ko:"복기",zh:"复盘","zh-TW":"覆盤",ja:"検討",en:"Game review",fr:"Analyse de partie",de:"Partieanalyse"},"landing.compare.review.group":{ko:"핵심 장면을 간단히 짚어 봅니다 — 보통 학생당 한 판 정도를 복기합니다.",zh:"简要回顾关键之处 —— 通常每位学生复盘一局。","zh-TW":"簡要回顧關鍵之處 —— 通常每位學生覆盤一局。",ja:"要所をかいつまんで振り返ります。通常は生徒一人につき1局ほどを検討します。",en:"A brief look at the key moments — usually one game reviewed per student.",fr:"Un survol des moments clés — en général une partie analysée par élève.",de:"Ein kurzer Bl
92ick auf die Schlüsselmomente — meist eine Partie pro Schüler."},"landing.compare.review.private":{ko:"바둑판 위에 변화도를 직접 펼쳐 보이며 깊이 있게 복기하고, 시간이 허락하면 여러 판도 다룹니다.",zh:"在棋盘上摆出变化图,深入复盘 —— 时间允许时还可复盘多局。","zh-TW":"在棋盤上擺出變化圖,深入覆盤 —— 時間允許時還可覆盤多局。",ja:"盤上に変化図を並べながらじっくり検討し、時間が許せば複数局も扱います。",en:"An in-depth review with variations played out on the board — and more than one game if time allows.",fr:"Une analyse approfondie, variations jouées sur le goban — et plusieurs parties si le temps le permet.",de:"Eine ausführliche Analyse mit Varianten auf dem Brett — und mehr als eine Partie, wenn die Zeit reicht."},"landing.compare.cta.group":{ko:"그룹 수업 둘러보기 →",zh:"浏览小组课 →","zh-TW":"瀏覽小組課 →",ja:"グループレッスンを見る →",en:"Browse group classes →",fr:"Voir les cours en groupe →",de:"Gruppenkurse ansehen →"},"landing.compare.cta.private":{ko:"1:1 선생님 찾기 →",zh:"寻找一对一老师 →","zh-TW":"尋找一對一老師 →",ja:"プライベートの先生を探す →",en:"Find a private teacher →",fr:"Trouver un professeur privé →",de:"Privatlehrer finden →"},"chat.download":{ko:"기록 다운로드",zh:"下载记录","zh-TW":"下載記錄",ja:"記録をダウンロード",en:"Download transcript",fr:"Download transcript",de:"Download transcript"},"chat.speaking.teacher":{ko:"선생님이 말하는 중…",zh:"老师正在讲话…","zh-TW":"老師正在講話…",ja:"先生が話しています…",en:"Teacher is speaking…",fr:"Teacher is speaking…",de:"Teacher is speaking…"},"chat.speaking.student":{ko:"학생이 말하는 중…",zh:"学生正在讲话…","zh-TW":"學生正在講話…",ja:"生徒が話しています…",en:"Student is speaking…",fr:"Student is speaking…",de:"Student is speaking…"},"chat.stillListening":{ko:"계속 듣고 있어요…",zh:"仍在聆听…","zh-TW":"仍在聆聽…",ja:"まだ聞いています…",en:"Still listening…",fr:"Still listening…",de:"Still listening…"},"help.button":{ko:"바둑판 사용법",zh:"棋盘操作帮助","zh-TW":"棋盤操作幫助",ja:"碁盤の使い方",en:"Board help",fr:"Aide du goban",de:"Brett-Hilfe"},"help.title":{ko:"바둑판 사용법",zh:"棋盘操作方法","zh-TW":"棋盤操作方法",ja:"碁盤の操作方法",en:"How to use the board",fr:"How to use the board",de:"How to use the board"},"help.intro":{ko:"키보드, 마우스, 화면 버튼으로 바둑판을 조작하는 방법입니다.",zh:"使用键盘、鼠标和屏幕按钮来操作棋盘。","zh-TW":"使用鍵盤、滑鼠和螢幕按鈕來操作棋盤。",ja:"キーボード、マウス、画面のボタンで碁盤を操作します。",en:"Navigate the board with your keyboard, mouse, and on-screen buttons.",fr:"Navigate the board with your keyboard, mouse, and on-screen buttons.",de:"Navigate the board with your keyboard, mouse, and on-screen buttons."},"help.close":{ko:"닫기",zh:"关闭","zh-TW":"關閉",ja:"閉じる",en:"Close",fr:"Fermer",de:"Schließen"},"help.gotIt":{ko:"확인",zh:"知道了","zh-TW":"知道了",ja:"はい",en:"Got it",fr:"Compris",de:"Verstanden"},"help.teacherOnly":{ko:"선생님 전용",zh:"仅老师","zh-TW":"僅老師",ja:"先生のみ",en:"Teacher only",fr:"Teacher only",de:"Teacher only"},"help.section.keyboard":{ko:"키보드",zh:"键盘","zh-TW":"鍵盤",ja:"キーボード",en:"Keyboard",fr:"Clavier",de:"Tastatur"},"help.section.mouse":{ko:"마우스",zh:"鼠标","zh-TW":"滑鼠",ja:"マウス",en:"Mouse",fr:"Souris",de:"Maus"},"help.section.controls":{ko:"화면 버튼",zh:"屏幕按钮","zh-TW":"螢幕按鈕",ja:"画面のボタン",en:"On-screen controls",fr:"Contrôles à l'écran",de:"Bildschirmsteuerung"},"help.keyboard.prev":{ko:"이전 수",zh:"上一手","zh-TW":"上一手",ja:"前の手",en:"Previous move",fr:"Coup précédent",de:"Vorheriger Zug"},"help.keyboard.next":{ko:"다음 수",zh:"下一手","zh-TW":"下一手",ja:"次の手",en:"Next move",fr:"Coup suivant",de:"Nächster Zug"},"help.keyboard.jumpBack":{ko:"10수 뒤로",zh:"后退 10 手","zh-TW":"後退 10 手",ja:"10手戻る",en:"Jump back 10 moves",fr:"Jump back 10 moves",de:"Jump back 10 moves"},"help.keyboard.jumpForward":{ko:"10수 앞으로",zh:"前进 10 手","zh-TW":"前進 10 手",ja:"10手進む",en:"Jump forward 10 moves",fr:"Jump forward 10 moves",de:"Jump forward 10 moves"},"help.mouse.leftClick":{ko:"좌클릭",zh:"左键点击","zh-TW":"左鍵點選",ja:"左クリック",en:"Left-click",fr:"Clic gauche",de:"Linksklick"},"help.mouse.ctrlClick":{ko:"Ctrl + 좌클릭",zh:"Ctrl + 左键点击","zh-TW":"Ctrl + 左鍵點選",ja:"Ctrl + 左クリック",en:"Ctrl + Left-click",fr:"Ctrl + Clic gauche",de:"Strg + Linksklick"},"help.mouse.hover":{ko:"마우스 올리기",zh:"悬停","zh-TW":"懸停",ja:"ホバー",en:"Hover",fr:"Survoler",de:"Schweben"},"help.mouse.drag":{ko:"드래그",zh:"按住拖动","zh-TW":"按住拖動",ja:"ドラッグ",en:"Click & drag",fr:"Cliquer-glisser",de:"Klicken und ziehen"},"help.mouse.playOrPing":{ko:"빈 곳에 착수 — 내 차례가 아닐 땐 상대에게 위치 알림",zh:"在空位落子;不是你的回合时,向对方标记位置","zh-TW":"在空位落子;不是你的回合時,向對方標記位置",ja:"空いた位置に着手 — 自分の番でない時は相手に位置を知らせる",en:"Place a stone on an empty spot — or ping your partner when it isn't your turn",fr:"Place a stone on an empty spot — or ping your partner when it isn't your turn",de:"Place a stone on an empty spot — or ping your partner when it isn't your turn"},"help.mouse.annotate":{ko:"주석 도구 선택 후 클릭하면 도형·글자를 표시",zh:"选择标注工具后点击即可添加图形或文字","zh-TW":"選擇標註工具後點擊即可新增圖形或文字",ja:"注釈ツールを選んでからクリックで図形・文字を描画",en:"With an annotation tool selected, draw a shape or label",fr:"With an annotation tool selected, draw a shape or label",de:"With an annotation tool selected, draw a shape or label"},"help.mouse.dragRect":{ko:"직사각형 도구를 선택한 뒤 두 모서리를 드래그하면 영역 강조",zh:"选择矩形工具后ï¼
92Œä»Žä¸€è§’拖到另一角即可高亮整片区域","zh-TW":"選擇矩形工具後,從一角拖到另一角即可高亮整片區域",ja:"矩形ツールを選び、対角にドラッグすると範囲をハイライト",en:"With the Rectangle tool, drag from corner to corner to highlight an area",fr:"With the Rectangle tool, drag from corner to corner to highlight an area",de:"With the Rectangle tool, drag from corner to corner to highlight an area"},"help.mouse.jumpToMove":{ko:"착수된 돌을 클릭하면 ê·¸ 수로 이동",zh:"点击已落的棋子,跳转到那一手","zh-TW":"點選已落的棋子,跳轉到那一手",ja:"打たれた石をクリックするとその手にジャンプ",en:"Click a played stone to jump the cursor to that move",fr:"Click a played stone to jump the cursor to that move",de:"Click a played stone to jump the cursor to that move"},"help.mouse.peerCursor":{ko:"바둑판 위에서 움직이면 상대에게 내 커서가 보임",zh:"在棋盘上移动时,对方会看到你的光标","zh-TW":"在棋盤上移動時,對方會看到你的游標",ja:"碁盤の上で動かすと相手にカーソルが見える",en:"Your cursor appears to your partner so you can point together",fr:"Your cursor appears to your partner so you can point together",de:"Your cursor appears to your partner so you can point together"},"help.controls.moveNumbers":{ko:"수순 번호 표시 방식 선택 (오른쪽 아래)",zh:"选择手数编号的显示方式(右下)","zh-TW":"選擇手數編號的顯示方式(右下)",ja:"手数番号の表示方法を選択(右下)",en:"Choose how move numbers are shown (bottom-right)",fr:"Choose how move numbers are shown (bottom-right)",de:"Choose how move numbers are shown (bottom-right)"},"help.controls.zoom":{ko:"바둑판 크기 조절 (오른쪽 아래)",zh:"调整棋盘大小(右下)","zh-TW":"調整棋盤大小(右下)",ja:"碁盤の大きさを調整(右下)",en:"Zoom the board in or out (bottom-right)",fr:"Zoom the board in or out (bottom-right)",de:"Zoom the board in or out (bottom-right)"},"help.controls.annotations":{ko:"동그라미, 세모, 글자 등 도구는 사이드바에 있어요",zh:"圆、三角、标签等标注工具位于侧边栏","zh-TW":"圓、三角、標籤等標註工具位於側邊欄",ja:"丸・三角・ラベルなどの注釈ツールはサイドバーに",en:"Circle, triangle, label and other annotation tools live in the sidebar",fr:"Circle, triangle, label and other annotation tools live in the sidebar",de:"Circle, triangle, label and other annotation tools live in the sidebar"},"myLessons.title":{ko:"내 수업",zh:"我的课程","zh-TW":"我的課程",ja:"マイレッスン",en:"My Lessons",fr:"Mes leçons",de:"Meine Lektionen"},"myLessons.actionsLabel":{ko:"수업 관리 메뉴",zh:"课程操作","zh-TW":"課程操作",ja:"レッスンの操作",en:"Lesson actions",fr:"Actions de leçon",de:"Lektionsaktionen"},"myLessons.peerTeacher":{ko:"{name} 선생님과",zh:"与 {name}","zh-TW":"與 {name}",ja:"{name} 先生と",en:"With {name}",fr:"With {name}",de:"With {name}"},"myLessons.peerStudent":{ko:"{name} 학생과",zh:"与学生 {name}","zh-TW":"與學生 {name}",ja:"{name} さんと",en:"With {name}",fr:"With {name}",de:"With {name}"},"myLessons.detailBackLink":{ko:"← 내 수업으로",zh:"← 返回我的课程","zh-TW":"← 返回我的課程",ja:"← マイレッスンへ",en:"← Back to My Lessons",fr:"← Back to My Lessons",de:"← Back to My Lessons"},"myLessons.showOriginal":{ko:"원문",zh:"原文","zh-TW":"原文",ja:"原文",en:"Original",fr:"Original",de:"Original"},"myLessons.showTranslation":{ko:"번역",zh:"译文","zh-TW":"譯文",ja:"翻訳",en:"Translation",fr:"Traduction",de:"Übersetzung"},"myLessons.showBoth":{ko:"모두",zh:"全部","zh-TW":"全部",ja:"両方",en:"Both",fr:"Les deux",de:"Beides"},"myLessons.detailEmpty":{ko:"이 수업의 자막이나 채팅 기록이 없습니다.",zh:"此课程没有字幕或聊天记录。","zh-TW":"此課程沒有字幕或聊天記錄。",ja:"このレッスンには字幕やチャットの記録がありません。",en:"No transcripts or chat were captured for this lesson.",fr:"No transcripts or chat were captured for this lesson.",de:"No transcripts or chat were captured for this lesson."},"myLessons.nudgeSignInTitle":{ko:"수업 내용을 저장하려면 로그인하세요",zh:"登录以保存此课程的聊天记录","zh-TW":"登入以儲存此課程的聊天記錄",ja:"このレッスンのチャットを保存するにはログインしてください",en:"Sign in to save this lesson's chat",fr:"Sign in to save this lesson's chat",de:"Sign in to save this lesson's chat"},"myLessons.nudgeSignInCta":{ko:"로그인",zh:"登录","zh-TW":"登入",ja:"ログイン",en:"Sign in",fr:"Se connecter",de:"Anmelden"},"myLessons.nudgeDismiss":{ko:"다음에",zh:"稍后","zh-TW":"稍後",ja:"後で",en:"Not now",fr:"Plus tard",de:"Nicht jetzt"},"chatpage.title":{ko:"{name} 선생님과 채팅",zh:"与 {name} 老师聊天","zh-TW":"與 {name} 老師聊天",ja:"{name}先生とチャット",en:"Chat with {name}",fr:"Chat with {name}",de:"Chat with {name}"},"chatpage.subtitle":{ko:"선생님이 시간이 될 때 답장해요. 답장이 도착하면 이메일로 알려드릴게요.",zh:"老师有空时会回复。收到回复时我们会发邮件通知您。","zh-TW":"老師有空時會回覆。收到回覆時我們會發郵件通知您。",ja:"先生は手が空いたときに返信します。返信が届いたらメールでお知らせします。",en:"Your teacher will reply when they're free — we'll email you when they do.",fr:"Your teacher will reply when they're free — we'll email you when they do.",de:"Your teacher will reply when they're free — we'll email you when they do."},"chatpage.intro":{ko:"질문을 하거나 목표를 공유하세요. 메시지는 자동으로 번역되어 선생님이 자신의 언어로 읽을 수 있어요.",zh:"提出问题或分享你的目标。消息会自动翻译,老师能用自己的语言阅读。","zh-TW":"提出問題或分享你的目標。訊息會自動翻譯,老師能用自己的語言閱讀。",ja:"質問や目標を共有してください。メッセージは自動翻訳され、先生は母語で読めます。",en:"Ask a question, share your goals, or say hello. Your message will be translated automatically so your teacher can read it in their own language.",fr:"Ask a question, share your goals, or say hello. Your message will be translated automatically so your teacher can read it in their own language.",de:"Ask a question, share your goals, or say hello. Your message will be translated automatically so your teacher can read it in their own language."},"chatpage.startHeading":{ko:"대화 시작하기",zh:"开始对话","zh-TW":"開始對話",ja:"会話を始める",en:"Start the conversation",fr:"Start the conversation",de:"Start the conversation"},"chatpage.nameLabel":{ko:"이름",zh:"姓名","zh-TW":"姓名",ja:"名前",en:"Your name",fr:"Votre nom",de:"Ihr Name"},"chatpage.namePlaceholder":{ko:"예: 알렉스",zh:"例:Alex","zh-TW":"例:Alex",ja:"例:Alex",en:"e.g. Alex",fr:"e.g. Alex",de:"e.g. Alex"},"chatpage.emailLabel":{ko:"이메일 (선택)",zh:"邮箱(可选)","zh-TW":"郵箱(可選)",j
92a:"メール(任意)",en:"Email (optional)",fr:"Email (optional)",de:"Email (optional)"},"chatpage.emailHelp":{ko:"선생님이 답장하면 이메일로 알려드립니다.",zh:"老师回复时,我们会发邮件通知你。","zh-TW":"老師回覆時,我們會發郵件通知你。",ja:"先生から返信が届いたらメールでお知らせします。",en:"We'll email you when the teacher replies.",fr:"We'll email you when the teacher replies.",de:"We'll email you when the teacher replies."},"chatpage.localeLabel":{ko:"내가 쓸 언어",zh:"我用的语言","zh-TW":"我用的語言",ja:"私が書く言語",en:"I'll write in",fr:"I'll write in",de:"I'll write in"},"chatpage.composeLabel":{ko:"메시지",zh:"消息","zh-TW":"訊息",ja:"メッセージ",en:"Your message",fr:"Your message",de:"Your message"},"chatpage.composePlaceholder":{ko:"메시지를 입력하세요…",zh:"请输入消息…","zh-TW":"請輸入訊息…",ja:"メッセージを入力…",en:"Type your message…",fr:"Type your message…",de:"Type your message…"},"chatpage.send":{ko:"메시지 보내기",zh:"发送消息","zh-TW":"傳送訊息",ja:"メッセージを送信",en:"Send message",fr:"Send message",de:"Send message"},"chatpage.sending":{ko:"보내는 중…",zh:"发送中…","zh-TW":"傳送中…",ja:"送信中…",en:"Sending…",fr:"Envoi…",de:"Senden…"},"chatpage.errorGeneric":{ko:"문제가 발생했어요. 다시 시도해 주세요.",zh:"出了点问题,请再试一次。","zh-TW":"出了點問題,請再試一次。",ja:"問題が発生しました。もう一度お試しください。",en:"Something went wrong. Please try again.",fr:"Something went wrong. Please try again.",de:"Something went wrong. Please try again."},"chatpage.errorRateLimited":{ko:"메시지를 너무 빠르게 보냈어요. 잠시 후에 다시 시도해 주세요.",zh:"消息发送过快,请稍等片刻再试。","zh-TW":"訊息傳送過快,請稍等片刻再試。",ja:"メッセージを送りすぎました。少し時間を置いて再度お試しください。",en:"You've sent a lot of messages just now — please wait a moment.",fr:"You've sent a lot of messages just now — please wait a moment.",de:"You've sent a lot of messages just now — please wait a moment."},"chatpage.errorTeacherNotFound":{ko:"선생님을 찾을 수 없어요.",zh:"找不到这位老师。","zh-TW":"找不到這位老師。",ja:"先生が見つかりません。",en:"Teacher not found.",fr:"Teacher not found.",de:"Teacher not found."},"chatpage.empty":{ko:"아직 메시지가 없어요. 첫 메시지를 보내 보세요!",zh:"还没有消息,发出第一条吧!","zh-TW":"還沒有訊息,發出第一條吧!",ja:"まだメッセージがありません。最初の一通を送ってみましょう!",en:"No messages yet. Send the first one!",fr:"No messages yet. Send the first one!",de:"No messages yet. Send the first one!"},"chatpage.translationPending":{ko:"번역 중…",zh:"翻译中…","zh-TW":"翻譯中…",ja:"翻訳中…",en:"Translating…",fr:"Translating…",de:"Translating…"},"chatpage.translationFailed":{ko:"번역이 실패했어요. 선생님은 원문을 ë³¼ 수 있어요.",zh:"翻译未成功 — 老师将看到原文。","zh-TW":"翻譯未成功 — 老師將看到原文。",ja:"翻訳に失敗しました。先生には原文が表示されます。",en:"Translation unavailable — the teacher will see the original text.",fr:"Translation unavailable — the teacher will see the original text.",de:"Translation unavailable — the teacher will see the original text."},"chatpage.refundPolicy":{ko:"현재 베타 서비스 — 번역이 항상 완벽하지 않을 수 있어요.",zh:"当前为测试版 — 翻译可能并非始终完美。","zh-TW":"當前為測試版 — 翻譯可能並非始終完美。",ja:"現在ベータ版 — 翻訳が常に完璧とは限りません。",en:"Currently in beta — translation may not always be perfect.",fr:"Currently in beta — translation may not always be perfect.",de:"Currently in beta — translation may not always be perfect."},"chatpage.greeting":{ko:"안녕하세요! 메시지를 보내주세요. 답장해 드릴게요.",zh:"你好!欢迎留言,我会回复你。","zh-TW":"你好!歡迎留言,我會回覆你。",ja:"こんにちは!メッセージをどうぞ。お返事します。",en:"Hi! I'd love to hear from you. Send me a message below.",fr:"Hi! I'd love to hear from you. Send me a message below.",de:"Hi! I'd love to hear from you. Send me a message below."},"chatpage.verifyPending.title":{ko:"받은 편지함을 확인하세요",zh:"请检查您的收件箱","zh-TW":"請檢查您的收件箱",ja:"受信トレイを確認してください",en:"Check your inbox",fr:"Check your inbox",de:"Check your inbox"},"chatpage.verifyPending.body":{ko:"{email}로 인증 링크를 보냈어요. 링크를 누른 뒤 다시 돌아오세요.",zh:"我们已向 {email} 发送了链接,请点击后再回到此页面。","zh-TW":"我們已向 {email} 傳送了連結,請點選後再回到此頁面。",ja:"{email} にリンクを送りました。クリックしてからこのページに戻ってください。",en:"We sent a link to {email}. Click it, then come back here.",fr:"We sent a link to {email}. Click it, then come back here.",de:"We sent a link to {email}. Click it, then come back here."},"chatpage.verifyPending.recheck":{ko:"인증 완료 — 다시 시도",zh:"已验证 — 重试","zh-TW":"已驗證 — 重試",ja:"認証完了 — 再試行",en:"I verified — try again",fr:"I verified — try again",de:"I verified — try again"},"chatpage.verifyPending.stillNotVerified":{ko:"아직 인증되지 않았어요. 이메일의 링크를 다시 눌러보세요.",zh:"尚未é
92ªŒè¯ã€‚请再次点击邮件中的链接。","zh-TW":"尚未驗證。請再次點選郵件中的連結。",ja:"まだ認証されていません。メール内のリンクをもう一度クリックしてください。",en:"Still not verified. Try clicking the link in the email again.",fr:"Still not verified. Try clicking the link in the email again.",de:"Still not verified. Try clicking the link in the email again."},"chatpage.popupBlocked.title":{ko:"로그인 팝업을 열 수 없었어요.",zh:"无法打开登录弹窗。","zh-TW":"無法開啟登入彈窗。",ja:"サインインのポップアップを開けませんでした。",en:"We couldn't open the sign-in popup.",fr:"We couldn't open the sign-in popup.",de:"We couldn't open the sign-in popup."},"chatpage.popupBlocked.fallback":{ko:"전체 페이지로 로그인 계속하기",zh:"使用整页登录继续","zh-TW":"使用整頁登入繼續",ja:"フルページでサインインを続ける",en:"Continue with full-page sign-in",fr:"Continue with full-page sign-in",de:"Continue with full-page sign-in"},"chatpage.errorEmailUnverified":{ko:"이메일을 인증해야 보낼 수 있어요.",zh:"请先验证邮箱再发送。","zh-TW":"請先驗證郵箱再發送。",ja:"メールを認証してから送信してください。",en:"Please verify your email to send.",fr:"Please verify your email to send.",de:"Please verify your email to send."},"chatpage.bookLesson":{ko:"수업 예약하기",zh:"预约课程","zh-TW":"預約課程",ja:"レッスンを予約",en:"Book a lesson",fr:"Réserver un cours",de:"Unterricht buchen"},"chatpage.aria.honeypot":{ko:"이 필드는 비워 두세요",zh:"请保持此字段为空","zh-TW":"請保持此欄位為空",ja:"このフィールドは空のままにしてください",en:"Please leave this field empty",fr:"Please leave this field empty",de:"Please leave this field empty"},"inbox.title":{ko:"받은 편지함",zh:"收件箱","zh-TW":"收件箱",ja:"受信トレイ",en:"Inbox",fr:"Boîte de réception",de:"Posteingang"},"inbox.messages":{en:"Conversation messages",ko:"대화 메시지",zh:"对话消息","zh-TW":"對話訊息",ja:"会話メッセージ",fr:"Messages de la conversation",de:"Nachrichten der Unterhaltung"},"inbox.jumpToLatest":{en:"Jump to latest",ko:"최신 메시지로 이동",zh:"跳至最新消息","zh-TW":"跳至最新訊息",ja:"最新のメッセージへ",fr:"Aller au dernier message",de:"Zur neuesten Nachricht"},"inbox.reconnecting":{en:"Reconnecting to chat…",ko:"채팅에 다시 연결 중…",zh:"正在重新连接聊天…","zh-TW":"正在重新連線聊天…",ja:"チャットに再接続中…",fr:"Reconnexion au chat…",de:"Verbindung zum Chat wird wiederhergestellt…"},"inbox.disconnected":{en:"Live chat is disconnected. New messages may be delayed.",ko:"실시간 채팅 연결이 끊어졌어요. 새 메시지가 늦게 표시될 수 있어요.",zh:"实时聊天已断开。新消息可能会延迟显示。","zh-TW":"即時聊天已中斷。新訊息可能會延遲顯示。",ja:"チャットの接続が切れました。新しいメッセージの表示が遅れる場合があります。",fr:"Le chat est déconnecté. Les nouveaux messages peuvent apparaître en retard.",de:"Der Live-Chat ist getrennt. Neue Nachrichten können verzögert erscheinen."},"inbox.reconnect":{en:"Reconnect",ko:"다시 연결",zh:"重新连接","zh-TW":"重新連線",ja:"再接続",fr:"Reconnecter",de:"Erneut verbinden"},"inbox.empty":{ko:"아직 대화가 없어요.",zh:"还没有会话。","zh-TW":"還沒有會話。",ja:"まだ会話がありません。",en:"No conversations yet.",fr:"No conversations yet.",de:"No conversations yet."},"inbox.openConversation":{ko:"열기",zh:"打开","zh-TW":"開啟",ja:"開く",en:"Open",fr:"Ouvrir",de:"Öffnen"},"inbox.backToList":{ko:"← 편지함으로 돌아가기",zh:"← 返回收件箱","zh-TW":"← 返回收件箱",ja:"← 受信トレイに戻る",en:"← Back to inbox",fr:"← Back to inbox",de:"← Back to inbox"},"inbox.replyPlaceholder":{ko:"한국어로 답장하면 학생은 자기 언어로 읽어요.",zh:"用中文回复,学生将以自己的语言阅读。","zh-TW":"用中文回覆,學生將以自己的語言閱讀。",ja:"自分の言語で返信すると、生徒は自分の言語で読みます。",en:"Reply in your language — the student will see it in theirs.",fr:"Reply in your language — the student will see it in theirs.",de:"Reply in your language — the student will see it in theirs."},"inbox.send":{ko:"보내기",zh:"发送","zh-TW":"傳送",ja:"送信",en:"Send",fr:"Envoyer",de:"Senden"},"inbox.studentLocale":{ko:"학생이 읽는 언어",zh:"学生阅读的语言","zh-TW":"學生閱讀的語言",ja:"生徒が読む言語",en:"Student reads 
92in",fr:"Student reads in",de:"Student reads in"},"inbox.loginRequired":{ko:"편지함을 보려면 로그인해 주세요.",zh:"请登录以查看收件箱。","zh-TW":"請登入以檢視收件箱。",ja:"受信トレイを見るにはログインしてください。",en:"Please sign in to view your inbox.",fr:"Please sign in to view your inbox.",de:"Please sign in to view your inbox."},"inbox.loadFailed":{ko:"편지함을 불러오지 못했어요.",zh:"加载收件箱失败。","zh-TW":"載入收件箱失敗。",ja:"受信トレイを読み込めませんでした。",en:"Failed to load inbox.",fr:"Failed to load inbox.",de:"Failed to load inbox."},"inbox.sendFailed":{ko:"메시지를 보낼 수 없어요. 다시 시도해 주세요.",zh:"无法发送消息,请再试一次。","zh-TW":"無法傳送訊息,請再試一次。",ja:"メッセージを送信できませんでした。もう一度お試しください。",en:"Couldn't send the message. Please try again.",fr:"Couldn't send the message. Please try again.",de:"Couldn't send the message. Please try again."},"inbox.unreadBadge":{ko:"답장 필요",zh:"待回复","zh-TW":"待回覆",ja:"返信待ち",en:"Reply needed",fr:"Réponse requise",de:"Antwort erforderlich"},"inbox.selectConversation":{ko:"왼쪽에서 대화를 선택하세요.",zh:"请从左侧选择一个会话。","zh-TW":"請從左側選擇一個會話。",ja:"左側から会話を選んでください。",en:"Select a conversation on the left.",fr:"Select a conversation on the left.",de:"Select a conversation on the left."},"inbox.studentEmpty":{ko:"아직 선생님과의 대화가 없어요.",zh:"还没有与老师的对话。","zh-TW":"還沒有與老師的對話。",ja:"先生との会話はまだありません。",en:"No conversations with teachers yet.",fr:"No conversations with teachers yet.",de:"No conversations with teachers yet."},"inbox.studentReplyPlaceholder":{ko:"자기 언어로 답장하면 선생님은 자기 언어로 읽어요.",zh:"用您的语言回复,老师会以他们的语言阅读。","zh-TW":"用您的語言回覆,老師會以他們的語言閱讀。",ja:"自分の言語で返信すると、先生はその言語で読みます。",en:"Reply in your language — the teacher will read it in theirs.",fr:"Reply in your language — the teacher will read it in theirs.",de:"Reply in your language — the teacher will read it in theirs."},"inbox.attachImage":{ko:"이미지 첨부",zh:"附加图片","zh-TW":"附加圖片",ja:"画像を添付",en:"Attach image",fr:"Joindre une image",de:"Bild anhängen"},"inbox.attachNotImage":{ko:"이미지 파일만 보낼 수 있어요.",zh:"只能发送图片文件。","zh-TW":"只能傳送圖片檔案。",ja:"画像ファイルのみ送信できます。",en:"Only image files can be sent.",fr:"Seuls les fichiers image peuvent être envoyés.",de:"Nur Bilddateien können gesendet werden."},"inbox.attachTooLarge":{ko:"파일이 너무 큽니다 (최대 25MB).",zh:"文件过大(最大 25MB)。","zh-TW":"檔案過大(最大 25MB)。",ja:"ファイルが大きすぎます(最大 25MB)。",en:"File is too large (max 25 MB).",fr:"Fichier trop volumineux (max 25 Mo).",de:"Datei zu groß (max. 25 MB)."},"inbox.attachFailed":{ko:"이미지 처리에 실패했어요.",zh:"处理图片失败。","zh-TW":"處理圖片失敗。",ja:"画像の処理に失敗しました。",en:"Failed to process the image.",fr:"Échec du traitement de l’image.",de:"Bildverarbeitung fehlgeschlagen."},"inbox.attachUploadFailed":{ko:"이미지 업로드에 실패했어요.",zh:"上传图片失败。","zh-TW":"上傳圖片失敗。",ja:"画像のアップロードに失敗しました。",en:"Failed to upload the image.",fr:"Échec du téléversement de l’image.",de:"Bild-Upload fehlgeschlagen."},"inbox.viewFullSize":{ko:"원본 크기로 보기",zh:"查看原始尺寸","zh-TW":"檢視原始尺寸",ja:"原寸大で表示",en:"View full size",fr:"Voir en taille réelle",de:"In voller Größe anzeigen"},"inbox.attachFile":{ko:"파일 첨부",zh:"附加文件","zh-TW":"附加檔案",ja:"ファイルを添付",en:"Attach file",fr:"Joindre un fichier",de:"Datei anhängen"},"inbox.attachUnsupported":{ko:"이미지 또는 SGF 파일만 보낼 수 있어요.",zh:"只能发送图片或 SGF 文件。","zh-TW":"只能傳送圖片或 SGF 檔案。",ja:"画像または SGF ファイルのみ送信できます。",en:"Only image or SGF files can be sent.",fr:"Only image or SGF files can be sent.",de:"Only image or SGF files can be sent."},"inbox.attachSgfTooLarge":{ko:"SGF 파일이 너무 큽니다 (최대 
921MB).",zh:"SGF 文件过大(最大 1MB)。","zh-TW":"SGF 檔案過大(最大 1MB)。",ja:"SGF ファイルが大きすぎます(最大 1MB)。",en:"SGF file is too large (max 1 MB).",fr:"SGF file is too large (max 1 MB).",de:"SGF file is too large (max 1 MB)."},"inbox.attachSgfEncodingUnsupported":{ko:"SGF 파일이 UTF-8 형식이 아니에요. UTF-8로 저장한 후 다시 시도해 주세요.",zh:"SGF 文件不是 UTF-8 编码。请另存为 UTF-8 后重试。","zh-TW":"SGF 檔案不是 UTF-8 編碼。請另存為 UTF-8 後重試。",ja:"SGF ファイルが UTF-8 形式ではありません。UTF-8 で保存し直してからもう一度お試しください。",en:"This SGF file isn’t UTF-8 text. Please re-save it as UTF-8 and try again.",fr:"This SGF file isn’t UTF-8 text. Please re-save it as UTF-8 and try again.",de:"This SGF file isn’t UTF-8 text. Please re-save it as UTF-8 and try again."},"inbox.sgfDownloadFailed":{ko:"파일 다운로드에 실패했어요.",zh:"下载文件失败。","zh-TW":"下載檔案失敗。",ja:"ファイルのダウンロードに失敗しました。",en:"Failed to download the file.",fr:"Failed to download the file.",de:"Failed to download the file."},"inbox.download":{ko:"다운로드",zh:"下载","zh-TW":"下載",ja:"ダウンロード",en:"Download",fr:"Télécharger",de:"Herunterladen"},"inbox.sgfMalformed":{ko:"형식이 올바르지 않을 수 있어요",zh:"文件可能格式有误","zh-TW":"檔案可能格式有誤",ja:"形式が不正な可能性があります",en:"May be malformed",fr:"May be malformed",de:"May be malformed"},"inbox.pendingPayment.title":{ko:"결제 대기 중인 수업",zh:"有待付款的课程","zh-TW":"有待付款的課程",ja:"お支払い待ちのレッスン",en:"A lesson is awaiting payment",fr:"Une leçon est en attente de paiement",de:"Eine Lektion wartet auf Bezahlung"},"inbox.pendingPayment.singleDetail":{ko:"{name} 선생님 · {when} ({tz})",zh:"{name} 老师 · {when}({tz})","zh-TW":"{name} 老師 · {when}({tz})",ja:"{name} 先生 · {when} ({tz})",en:"{name} · {when} ({tz})",fr:"{name} · {when} ({tz})",de:"{name} · {when} ({tz})"},"inbox.pendingPayment.multiDetail":{ko:"{name} 선생님 · {when} ({tz}) 외 {extra}건",zh:"{name} 老师 · {when}({tz}),另有 {extra} 节","zh-TW":"{name} 老師 · {when}({tz}),另有 {extra} 節",ja:"{name} 先生 · {when} ({tz}) ほか {extra} 件",en:"{name} · {when} ({tz}) + {extra} more",fr:"{name} · {when} ({tz}) + {extra} more",de:"{name} · {when} ({tz}) + {extra} more"},"inbox.pendingPayment.cta":{ko:"결제하기",zh:"前往付款","zh-TW":"前往付款",ja:"お支払いへ",en:"Pay now",fr:"Payer",de:"Jetzt bezahlen"},"inbox.pendingAcceptance.title":{ko:"응답 대기 중인 수업 요청",zh:"有待回应的课程请求","zh-TW":"有待回應的課程請求",ja:"応答待ちのレッスン依頼",en:"A lesson request is awaiting your response",fr:"A lesson request is awaiting your response",de:"A lesson request is awaiting your response"},"inbox.pendingAcceptance.singleDetail":{ko:"{name} 학생 · {when} ({tz})",zh:"{name} 学生 · {when}({tz})","zh-TW":"{name} 學生 · {when}({tz})",ja:"{name} さん · {when} ({tz})",en:"{name} · {when} ({tz})",fr:"{name} · {when} ({tz})",de:"{name} · {when} ({tz})"},"inbox.pendingAcceptance.multiDetail":{ko:"{name} 학생 · {when} ({tz}) 외 {extra}건",zh:"{name} 学生 · {when}({tz}),另有 {extra} 个请求","zh-TW":"{name} 學生 · {when}({tz}),另有 {extra} 個請求",ja:"{name} さん · {when} ({tz}) ほか {extra} 件",en:"{name} · {when} ({tz}) + {extra} more",fr:"{name} · {when} ({tz}) + {extra} more",de:"{name} · {when} ({tz}) + {extra} more"},"inbox.pendingAcceptance.cta":{ko:"수락 / 거절",zh:"接受 / 拒绝","zh-TW":"接受 / 拒絕",ja:"承認 / お断り",en:"Accept / Reject",fr:"Accepter / Refuser",de:"Annehmen / Ablehnen"},"inbox.classroomOpen.title":{ko:"수업이 곧 시작돼요",zh:"您的课程即将开始","zh-TW":"您的課程即將開始",ja:"レッスンが始まります",en:"Your lesson is ready",fr:"Votre leçon est prête",de:"Ihre Lektion ist bereit"},"inbox.classroomOpen.singleDetail":{ko:"{name} 선생님 · {when} ({tz})",zh:"{name} 老师 · {when}({tz})","zh-TW":"{name} 老師 · {when}({tz})",ja:"{name} 先生 · {when} ({tz})",en:"{name} · {when} ({tz})",fr:"{name} · {when} ({tz})",de:"{name} · {when} ({tz})"},"inbox.classroomOpen.multiDetail":{ko:"{name} 선생님 · {when} ({tz}) 외 {extra}건",zh:"{name} 老师 · {when}({tz}),另有 {extra} 节","zh-TW":"{name} 老師 · {when}({tz}),另有 {extra} 節",ja:"{name} 先生 · {when} ({tz}) ほか {extra} 件",en:"{name} · {when} ({tz}) + {extra} more",fr:"{name} · {when} ({tz}) + {extra} more",de:"{name} · {when} ({tz}) + {extra} more"},"inbox.classroomOpen.cta":{ko:"입장하기",zh:"进入教室","zh-TW":"進入教室",ja:"入室する",en:"Enter classroom",fr:"Entrer en classe",de:"Klassenzimmer betreten"},"inbox.classroomOpen.payFirst":{ko:"먼저 결제하고 입장하세요",zh:"请先付款再进入","zh-TW":"請先付款再進入",ja:"先にお支払いください",en:"Pay first to enter",fr:"Payez d'abord pour entrer",de:"Erst bezahlen, dann eintreten"},"inbox.classroomOpen.joinError":{ko:"수업에 입장하지 못했어요. 다시 시도해 주세요.",zh:"无法
92进入教室。请再试一次。","zh-TW":"無法進入教室。請再試一次。",ja:"教室に入室できませんでした。もう一度お試しください。",en:"Couldn't enter the classroom. Please try again.",fr:"Impossible d'entrer en classe. Veuillez réessayer.",de:"Konnte den Klassenraum nicht betreten. Bitte erneut versuchen."},"inbox.notice.dismiss":{ko:"닫기",zh:"关闭","zh-TW":"關閉",ja:"閉じる",en:"Dismiss",fr:"Fermer",de:"Schließen"},"teacherprofile.chatCta":{ko:"이 선생님과 채팅하기",zh:"与这位老师聊天","zh-TW":"與這位老師聊天",ja:"この先生とチャット",en:"Chat with this teacher",fr:"Chat with this teacher",de:"Chat with this teacher"},"teacherprofile.bookCta":{ko:"$60 첫 수업 예약",zh:"预约 $60 试听课","zh-TW":"預約 $60 試聽課",ja:"$60 の体験レッスンを予約",en:"Book a $60 intro lesson",fr:"Book a $60 intro lesson",de:"Book a $60 intro lesson"},"teacherprofile.bookCtaDisabled":{ko:"예약 준비 중",zh:"预约即将开放","zh-TW":"預約即將開放",ja:"予約は近日公開",en:"Booking coming soon",fr:"Booking coming soon",de:"Booking coming soon"},"teacherprofile.joinWaitlist":{ko:"대기 목록 등록",zh:"加入候补名单","zh-TW":"加入候補名單",ja:"順番待ちリストに登録",en:"Join the waitlist",fr:"Rejoindre la liste d'attente",de:"Auf die Warteliste setzen"},"teacherprofile.trustLine":{ko:"실시간 번역되는 {languages} 수업",zh:"实时翻译的{languages}课程","zh-TW":"即時翻譯的{languages}課程",ja:"リアルタイム翻訳される{languages}レッスン",en:"Lessons in {languages} with real-time translation",fr:"Cours en {languages} avec traduction en temps réel",de:"Unterricht auf {languages} mit Echtzeitübersetzung"},"teacherprofile.trustLine.fallbackLang":{ko:"선생님의 언어",zh:"老师的母语","zh-TW":"老師的母語",ja:"先生の言語",en:"the teacher's language",fr:"la langue du professeur",de:"die Sprache des Lehrers"},"teacherprofile.ctaBar.label":{ko:"선생님과의 다음 단계",zh:"与老师的下一步","zh-TW":"與老師的下一步",ja:"先生との次のステップ",en:"Next step with this teacher",fr:"Étape suivante avec ce professeur",de:"Nächster Schritt mit diesem Lehrer"},"booking.cta":{ko:"레슨 예약",zh:"预约课程","zh-TW":"預約課程",ja:"レッスンを予約",en:"Book a lesson",fr:"Réserver une leçon",de:"Lektion buchen"},"booking.title":{ko:"{teacher} 선생님과 레슨 예약",zh:"与 {teacher} 老师预约课程","zh-TW":"與 {teacher} 老師預約課程",ja:"{teacher} 先生のレッスンを予約",en:"Book a lesson with {teacher}",fr:"Book a lesson with {teacher}",de:"Book a lesson with {teacher}"},"booking.step1.title":{ko:"레슨 시간 선택",zh:"选择课程时长","zh-TW":"選擇課程時長",ja:"レッスンの長さを選択",en:"Pick a duration",fr:"Choisissez une durée",de:"Dauer auswählen"},"booking.step2.title":{ko:"날짜 선택",zh:"选择日期","zh-TW":"選擇日期",ja:"日付を選択",en:"Pick a date",fr:"Choisissez une date",de:"Datum auswählen"},"booking.step3.title":{ko:"시간 선택",zh:"选择时间段","zh-TW":"選擇時間段",ja:"時間帯を選択",en:"Pick a time slot",fr:"Choisissez un créneau",de:"Zeitfenster auswählen"},"booking.confirm":{ko:"예약 확인",zh:"确认预约","zh-TW":"確認預約",ja:"予約を確定",en:"Confirm booking",fr:"Confirmer la réservation",de:"Buchung bestätigen"},"booking.confirmed":{ko:"예약 완료! {time}에 만나요",zh:"预约成功!{time} 见","zh-TW":"預約成功!{time} 見",ja:"予約完了!{time} にお会いしましょう",en:"Booked! See you at {time}",fr:"Booked! See you at {time}",de:"Booked! See you at {time}"},"booking.error.conflict":{ko:"선택한 시간은 더 이상 예약할 수 없습니다. 다른 시간을 선택해 주세요.",zh:"所选时间已无法预约,请选择其他时间。","zh-TW":"所選時間已無法預約,請選擇其他時間。",ja:"選択した時間は予約できなくなりました。別の時間をお選びください。",en:"That time is no longer available. Please choose another time.",fr:"Ce créneau n’est plus disponible. Veuillez choisir un autre horaire.",de:"Dieser Termin ist nicht mehr verfügbar. Bitte wähle eine andere Zeit."},"booking.availability.noOfferings":{en:"This teacher is not offering private lessons right now.",ko:"이 선생님은 현재 개인 수업을 제공하지 않습니다.",zh:"这位老师目前暂不提供一对一课程。","zh-TW":"這位老師目前暫不提供一對一課程。",ja:"この先生は現在、個人レッスンを提供していません。",fr:"Ce professeur ne propose pas de cours particuliers pour le moment.",de:"Diese Lehrkraft bietet derzeit keinen Einzelunterricht an."},"booking.availability.refreshError":{ko:"예약 가능한 시간을 새로 불러오지 못했습니다. 다시 불러와 주세요.",zh:"无法刷新可预约时间,请重新加载。","zh-TW":"無法重新整理可預約時間,請重新載入。",ja:"予約可能な時間を更新できませんでした。再読み込みしてください。",en:"Available times could not be refreshed. Please reload them.",fr:"Les créneaux disponibles n’ont pas pu être actualisés. Veuillez les recharger.",de:"Die verfügbaren Zeiten konnten nicht aktualisiert werden. Bitte lade sie erneut."},"booking.availability.retry":{ko:"예약 가능한 시간 다시 불러오기",zh:"重新加载可预约时间","zh-TW":"重新載入可預約時間",ja:"予約可能な時間を再読み込み",en:"Reload available times",fr:"Recharger les créneaux disponibles",de:"Verfügbare Zeiten neu laden"},"booking.error.horizon":{ko:"최대 14일 후까지 예약할 수 있습니다.",zh:"最多可提前 14 天预约。","zh-TW":"最多可提前 14 天預約。",ja:"最大14日先まで予約できます。",en:"You can book up to 14 days in advance.",fr:"You can book up to 14 days in advance.",de:"You can book up to 14 days in advance."},"booking.error.generic":{ko:"예약 중 문제가 발생했습니다. 다시 시도해 주세요.",zh:"预约时出现问题,请重试。","zh-TW":"預約時出現問題,請重試。",ja:"予約中に問題が発生しました。もう一度お試しください。",en:"Something went wrong booking that slot. Try again.",fr:"Something went wrong booking that slot. Try again.",de:"Something went wrong booking that slot. Try again."},"booking.resume.offeringMissing":{ko:"선택했던 레슨이 더 이상 제공되지 않습니다. 다시 선택해 주세요.",zh:"所选课程已不再提供,请重新选择。","zh-TW":"所選課程已不再提供,請重新選擇。",ja:"選択していたレッスンは現在提供されていません。もう一度選択してください。",en:"The lesson you selected is no longer offered — please pick again.",fr:"The lesson you selected is no longer offered — please pick again.",de:"The lesson you selected is no longer offered — please pick again."},"booking.resume.slotUnavailable":{ko:"선택했던 시간이 더 이상 비어 있지 않습니다. 다른 시간을 선택해 주세요.",zh:"所选时段已不可用,请选择其他时间。","zh-TW":"所選時段已不可用,請選擇其他時間。",ja:"選択していた時間は空きがなã
92ãªã‚Šã¾ã—た。別の時間をお選びください。",en:"The slot you picked is no longer available — please choose another.",fr:"The slot you picked is no longer available — please choose another.",de:"The slot you picked is no longer available — please choose another."},"booking.signinPrompt":{ko:"예약하려면 로그인하세요",zh:"登录后即可预约","zh-TW":"登入後即可預約",ja:"予約するにはサインインしてください",en:"Sign in to book",fr:"Sign in to book",de:"Sign in to book"},"booking.lessonType.title":{ko:"어떤 레슨인가요?",zh:"想上什么课?","zh-TW":"想上什麼課?",ja:"レッスンの種類は?",en:"What kind of lesson?",fr:"What kind of lesson?",de:"What kind of lesson?"},"booking.lessonType.helper":{ko:"종류를 선택하면 시간과 가격이 함께 표시됩니다.",zh:"选择类型后会显示对应时长和价格。","zh-TW":"選擇型別後會顯示對應時長和價格。",ja:"種類を選ぶと、時間と価格も表示されます。",en:"Pick the type — duration and price update accordingly.",fr:"Pick the type — duration and price update accordingly.",de:"Pick the type — duration and price update accordingly."},"booking.lessonType.description.gameReview":{ko:"선생님이 직접 둔 대국을 함께 살펴보며 실수와 개선할 점을 짚어주고, 한 단계 더 높은 바둑으로 가는 길을 함께 안내합니다.",zh:"老师会和你一起复盘你下过的棋——指出失误、建议改进方向,并在你向更高水平迈进的路上分享心得。","zh-TW":"老師會和你一起復盤你下過的棋——指出失誤、建議改進方向,並在你向更高水平邁進的路上分享心得。",ja:"先生があなたの対局を一緒に振り返り、ミスや改善点を指摘し、上達への道筋を示してくれます。",en:"Your teacher walks through your games — pointing out mistakes, suggesting room for improvement, and sharing insights along your path to a higher level of Go.",fr:"Your teacher walks through your games — pointing out mistakes, suggesting room for improvement, and sharing insights along your path to a higher level of Go.",de:"Your teacher walks through your games — pointing out mistakes, suggesting room for improvement, and sharing insights along your path to a higher level of Go."},"booking.lessonType.expect.gameReview":{ko:"30분 레슨에서는 보통 1~1.5êµ­ 정도를 복기합니다.",zh:"30 分钟一节课通常可复盘 1~1.5 局。","zh-TW":"30 分鐘一節課通常可覆盤 1~1.5 局。",ja:"30分のレッスンで、おおむね1〜1.5局を検討できます。",en:"Expect 1 to 1.5 games reviewed in a 30-minute lesson.",fr:"Expect 1 to 1.5 games reviewed in a 30-minute lesson.",de:"Expect 1 to 1.5 games reviewed in a 30-minute lesson."},"booking.lessonType.description.topicLecture":{ko:"포석 이론, 정석 연구, 끝내기, 중반전 사고 방식 등 주제를 골라 선생님과 함께 깊이 있게 살펴봅니다.",zh:"老师会就布局理论、定式研究、官子技巧或中盘心法等主题展开讲解。","zh-TW":"老師會就佈局理論、定式研究、官子技巧或中盤心法等主題展開講解。",ja:"布石理論、定石研究、ヨセの技術、中盤の考え方など、テーマを絞って先生が解説します。",en:"Your teacher shares on topics like opening theory, joseki research, endgame techniques, or mid-game mindset.",fr:"Your teacher shares on topics like opening theory, joseki research, endgame techniques, or mid-game mindset.",de:"Your teacher shares on topics like opening theory, joseki research, endgame techniques, or mid-game mindset."},"booking.lessonType.expect.topicLecture":{ko:"집중해서 다루고 싶은 주제를 미리 알려 주세요. 그에 맞춰 레슨을 준비해 드립니다.",zh:"提前告诉老师你最想聚焦的内容,课程会针对你的需求来安排。","zh-TW":"提前告訴老師你最想聚焦的內容,課程會針對你的需求來安排。",ja:"取り上げてほしいテーマを先に伝えておくと、レッスンをあなたに合わせて構成してくれます。",en:"Tell them upfront what you’d like to focus on, so the lesson is tailored to your needs.",fr:"Tell them upfront what you’d like to focus on, so the lesson is tailored to your needs.",de:"Tell them upfront what you’d like to focus on, so the lesson is tailored to your needs."},"booking.lessonType.description.teachingGameWithReview":{ko:"교실 바둑판에서 바로 선생님과 지도기를 둔 다음, 같은 교실에서 함께 복기합니다.",zh:"直接在课堂棋盘上与老师下一盘指导棋,然后在同一课堂里一起复盘讲解。","zh-TW":"直接在課堂棋盤上與老師下一盤指導棋,然後在同一課堂裡一起復盤講解。",ja:"教室の碁盤でそのまま先生と指導碁を打ち、その後同じ教室で一緒に検討します。",en:"Play a teaching game with your teacher right on the classroom board, then review it together in the same classroom.",fr:"Play a teaching game with your teacher right on the classroom board, then review it together in the same classroom.",de:"Play a teaching game with your teacher right on the classroom board, then review it together in the same classroom."},"booking.lessonType.expect.teachingGameWithReview":{ko:"보통 치수(접바둑)를 두지만, 세부 설정은 선생님과 상의해 정할 수 있어요.",zh:"通常会让子,具体规则可以和老师商量。","zh-TW":"通常會讓子,具體規則可以和老師商量。",ja:"通常は置き碁で進めますが、設定は先生と相談して決められます。",en:"Games usually include handicaps, but you can discuss the settings with your teacher.",fr:"Games usually include handicaps, but you can discuss the settings with your teacher.",de:"Games usually include handicaps, but you can discuss the settings with your teacher."},"booking.lessonType.learnMore":{ko:"자세히",zh:"了解更多","zh-TW":"瞭解更多",ja:"もっと見る",en:"Learn more",fr:"En savoir plus",de:"Mehr erfahren"},"booking.lessonType.hideDetails":{ko:"숨기기",zh:"收起","zh-TW":"收起",ja:"隠す",en:"Hide",fr:"Masquer",de:"Ausblenden"},"booking.tz.label":{ko:"표시 시간대",zh:"显示时区","zh-TW":"顯示時區",ja:"表示タイムゾーン",en:"Times shown in",fr:"Times shown in",de:"Times shown in"},"booking.tz.teacherIs":{ko:"선생님은 {tz} 시간대입니다",zh:"老师位于 {tz}","zh-TW":"老師位於 {tz}",ja:"先生は {tz}
92 にいます",en:"Teacher is in {tz}",fr:"Teacher is in {tz}",de:"Teacher is in {tz}"},"booking.tz.useTeacherTz":{ko:"선생님 시간대 사용",zh:"使用老师时区","zh-TW":"使用老師時區",ja:"先生のタイムゾーンを使う",en:"Use teacher's timezone",fr:"Use teacher's timezone",de:"Use teacher's timezone"},"booking.tz.browserDefault":{ko:"브라우저 기본 시간대",zh:"浏览器默认时区","zh-TW":"瀏覽器預設時區",ja:"ブラウザのタイムゾーン",en:"Browser default",fr:"Browser default",de:"Browser default"},"booking.tz.group.regions":{ko:"지역",zh:"地区","zh-TW":"地區",ja:"地域",en:"Regions",fr:"Régions",de:"Regionen"},"booking.tz.group.utcOffsets":{ko:"기타 (UTC 오프셋)",zh:"其他(UTC 偏移)","zh-TW":"其他(UTC 偏移)",ja:"その他(UTC オフセット)",en:"Other (UTC offsets)",fr:"Autres (décalages UTC)",de:"Sonstige (UTC-Offsets)"},"booking.calendar.empty":{ko:"향후 2주 동안 가능한 시간이 없습니다.",zh:"未来两周暂无可预约时段。","zh-TW":"未來兩週暫無可預約時段。",ja:"今後2週間は空き時間がありません。",en:"No availability in the next 2 weeks.",fr:"No availability in the next 2 weeks.",de:"No availability in the next 2 weeks."},"booking.calendar.dayEmpty":{ko:"이 날에는 가능한 시간이 없습니다.",zh:"这一天暂无可预约时段。","zh-TW":"這一天暫無可預約時段。",ja:"この日は空き時間がありません。",en:"No openings on this day.",fr:"No openings on this day.",de:"No openings on this day."},"booking.calendar.pickDay":{ko:"날짜 선택",zh:"选择日期","zh-TW":"選擇日期",ja:"日付を選択",en:"Pick a day",fr:"Pick a day",de:"Pick a day"},"booking.calendar.nextAvailable":{ko:"다음 가능 시간: {date}",zh:"下次可约:{date}","zh-TW":"下次可約:{date}",ja:"次の空き:{date}",en:"Next available: {date}",fr:"Next available: {date}",de:"Next available: {date}"},"booking.calendar.gridAriaLabel":{ko:"예약 가능 시간 ({tz})",zh:"可预约时间({tz})","zh-TW":"可預約時間({tz})",ja:"予約可能な時間({tz})",en:"Available slots in {tz}",fr:"Available slots in {tz}",de:"Available slots in {tz}"},"booking.confirm.summary":{ko:"{lessonType} • {duration}분 • ${price}",zh:"{lessonType} • {duration}分钟 • ${price}","zh-TW":"{lessonType} • {duration}分鐘 • ${price}",ja:"{lessonType} • {duration}分 • ${price}",en:"{lessonType} • {duration} min • ${price}",fr:"{lessonType} • {duration} min • ${price}",de:"{lessonType} • {duration} min • ${price}"},"booking.confirm.when":{ko:"{dateTime} ({tz})",zh:"{dateTime}({tz})","zh-TW":"{dateTime}({tz})",ja:"{dateTime}({tz})",en:"{dateTime} ({tz})",fr:"{dateTime} ({tz})",de:"{dateTime} ({tz})"},"booking.confirm.lessonLabel":{ko:"레슨",zh:"课程","zh-TW":"課程",ja:"レッスン",en:"Lesson",fr:"Lesson",de:"Lesson"},"booking.confirm.whenLabel":{ko:"시간",zh:"时间","zh-TW":"時間",ja:"日時",en:"When",fr:"When",de:"When"},"booking.confirm.durationLabel":{ko:"길이",zh:"时长","zh-TW":"時長",ja:"時間",en:"Duration",fr:"Durée",de:"Dauer"},"booking.confirm.durationValue":{ko:"{duration}분",zh:"{duration} 分钟","zh-TW":"{duration} 分鐘",ja:"{duration}分",en:"{duration} min",fr:"{duration} min",de:"{duration} min"},"booking.confirm.totalLabel":{ko:"합계",zh:"合计","zh-TW":"合計",ja:"合計",en:"Total",fr:"Total",de:"Total"},"booking.confirm.betaDisclaimer":{ko:"현재 베타 서비스 — 번역이 항상 완벽하지 않을 수 있어요.",zh:"当前为测试版 — 翻译可能并非始终完美。","zh-TW":"當前為測試版 — 翻譯可能並非始終完美。",ja:"現在ベータ版 — 翻訳が常に完璧とは限りません。",en:"Currently in beta — translation may not always be perfect.",fr:"Currently in beta — translation may not always be perfect.",de:"Currently in beta — translation may not always be perfect."},"booking.confirm.nextSteps.title":{ko:"다음 단계",zh:"接下来会发生什么","zh-TW":"接下來會發生什麼",ja:"このあとの流れ",en:"What happens next",fr:"Ce qui se passe ensuite",de:"So geht es weiter"},"booking.confirm.nextSteps.step1.title":{ko:"선생님이 요청을 검토합니다",zh:"老师审核您的请求","zh-TW":"老師稽核您的請求",ja:"先生がリクエストを確認",en:"Teacher reviews your request",fr:"Teacher reviews your request",de:"Teacher reviews your request"},"booking.confirm.nextSteps.step1.desc":{ko:"보통 24시간 이내에 응답해요.",zh:"通常会在 24 小时内回复。","zh-TW":"通常會在 24 小時內
92回覆。",ja:"通常24時間以内に返信があります。",en:"Most teachers respond within 24 hours.",fr:"Most teachers respond within 24 hours.",de:"Most teachers respond within 24 hours."},"booking.confirm.nextSteps.step2.title":{ko:"결정을 이메일로 알려드려요",zh:"我们会通过邮件告知结果","zh-TW":"我們會通過郵件告知結果",ja:"結果はメールでお知らせ",en:"We email you the decision",fr:"We email you the decision",de:"We email you the decision"},"booking.confirm.nextSteps.step2.desc":{ko:"수락 또는 거절 안내 메일을 받게 됩니다.",zh:"请留意接受或拒绝的通知邮件。","zh-TW":"請留意接受或拒絕的通知郵件。",ja:"承認または辞退の通知メールをご確認ください。",en:"You'll get an accept or decline notice — check your inbox.",fr:"You'll get an accept or decline notice — check your inbox.",de:"You'll get an accept or decline notice — check your inbox."},"booking.confirm.nextSteps.step3.title":{ko:"수락되면 결제",zh:"获接受后再付款","zh-TW":"獲接受後再付款",ja:"承認後にお支払い",en:"Pay only if accepted",fr:"Pay only if accepted",de:"Pay only if accepted"},"booking.confirm.nextSteps.step3.desc":{ko:'"내 수업" 페이지로 돌아가 지금 결제를 누르면 Stripe로 결제가 완료됩니다.',zh:"回到「我的课程」并点击立即付款,由 Stripe 完成结算。","zh-TW":"回到「我的課程」並點選立即付款,由 Stripe 完成結算。",ja:"「マイレッスン」を開き、今すぐお支払いを押すと Stripe で決済が完了します。",en:"Return to My Lessons and tap Pay now — Stripe completes the checkout.",fr:"Return to My Lessons and tap Pay now — Stripe completes the checkout.",de:"Return to My Lessons and tap Pay now — Stripe completes the checkout."},"booking.confirm.nextSteps.trust":{ko:"결제는 Stripe가 안전하게 처리하며, 카드 정보는 저희가 보지도 저장하지도 않습니다.",zh:"支付由 Stripe 安全处理;我们不会查看或保存您的银行卡信息。","zh-TW":"支付由 Stripe 安全處理;我們不會檢視或儲存您的銀行卡資訊。",ja:"決済はStripeが安全に処理します。カード情報を当社が閲覧・保存することはありません。",en:"Payments are secured by Stripe. We never see or store your card details.",fr:"Payments are secured by Stripe. We never see or store your card details.",de:"Payments are secured by Stripe. We never see or store your card details."},"booking.header.subtitle.pickType":{ko:"레슨을 선택해 주세요",zh:"请选择课程","zh-TW":"請選擇課程",ja:"レッスンを選んでください",en:"Choose a lesson to begin",fr:"Choose a lesson to begin",de:"Choose a lesson to begin"},"booking.header.subtitle.selected":{ko:"{lessonType} · {duration}분 · ${price}",zh:"{lessonType} · {duration} 分钟 · ${price}","zh-TW":"{lessonType} · {duration} 分鐘 · ${price}",ja:"{lessonType} · {duration}分 · ${price}",en:"{lessonType} · {duration} min · ${price}",fr:"{lessonType} · {duration} min · ${price}",de:"{lessonType} · {duration} min · ${price}"},"booking.header.subtitle.selectedDurationOnly":{ko:"{duration}분 레슨 · ${price}",zh:"{duration} 分钟课程 · ${price}","zh-TW":"{duration} 分鐘課程 · ${price}",ja:"{duration}分レッスン · ${price}",en:"{duration} min lesson · ${price}",fr:"{duration} min lesson · ${price}",de:"{duration} min lesson · ${price}"},"booking.footer.back":{ko:"뒤로",zh:"返回","zh-TW":"返回",ja:"戻る",en:"Back",fr:"Retour",de:"Zurück"},"booking.footer.submitting":{ko:"요청 보내는 중…",zh:"正在发送…","zh-TW":"正在傳送…",ja:"送信中…",en:"Sending…",fr:"Envoi…",de:"Senden…"},"booking.chatCta.profile":{ko:"{teacher} 선생님과 채팅",zh:"与 {teacher} 老师聊天","zh-TW":"與 {teacher} 老師聊天",ja:"{teacher} 先生とチャット",en:"Chat with {teacher}",fr:"Chat with {teacher}",de:"Chat with {teacher}"},"booking.chatCta.modalFooter":{ko:"먼저 질문하고 싶나요? {teacher} 선생님과 채팅",zh:"想先聊聊吗?与 {teacher} 老师聊天","zh-TW":"想先聊聊嗎?與 {teacher} 老師聊天",ja:"質問してから予約しますか?{teacher} 先生とチャット",en:"Have a question first? Chat with {teacher}",fr:"Have a question first? Chat with {teacher}",de:"Have a question first? Chat with {teacher}"},"booking.chatCta.tooltip":{ko:"레슨, 단급, 목표에 대해 자유롭게 물어보세요. 답변은 자동 번역됩니다.",zh:"关于课程、段位、学习目标都可以问,回复会自动翻译。","zh-TW":"關於課程、段位、學習目標都可以問,回覆會自動翻譯。",ja:"レッスン、級位、目標について何でも聞いてください。返信は自動翻訳されます。",en:"Ask about lessons, ranks, or your goals before booking. Replies are translated automatically.",fr:"Ask about lessons, ranks, or your goals before booking. Replies are translated automatically.",de:"Ask about lessons, ranks, or your goals before booking. Replies are translated automatically."},"booking.waitlist.helper":{ko:"원하는 시간을 찾지 못하셨나요?",zh:"没有找到合适的时段?","zh-TW":"沒有找到合適的時段?",ja:"ご都合の良い時間が見つかりませんか?",en:"Unable to find a time that suits you?",fr:"Unable to find a time that suits you?",de:"Unable to find a time that suits you?"},"booking.waitlist.cta":{ko:"대기자 명단에 등록해 선생님께 관심을 알리세요",zh:"加入候补名单ï¼
92Œè®©è€å¸ˆçŸ¥é“您感兴趣","zh-TW":"加入候補名單,讓老師知道您感興趣",ja:"ウェイトリストに登録して先生に関心を伝えましょう",en:"Join the waitlist so the teacher knows you’re interested",fr:"Join the waitlist so the teacher knows you’re interested",de:"Join the waitlist so the teacher knows you’re interested"},"groupClasses.tab":{ko:"그룹 수업",zh:"小组课","zh-TW":"小組課",ja:"グループ",en:"Group classes",fr:"Group classes",de:"Group classes"},"groupClasses.title":{ko:"그룹 수업",zh:"小组课","zh-TW":"小組課",ja:"グループレッスン",en:"Group classes",fr:"Group classes",de:"Group classes"},"groupClasses.subtitle":{ko:"여러 학생이 함께하는 수업 일정을 게시하세요.",zh:"发布多名学生共同参加的课程时段。","zh-TW":"發布多名學生共同參加的課程時段。",ja:"複数の生徒が一緒に参加するレッスンを公開します。",en:"Publish time slots where several students learn together.",fr:"Publish time slots where several students learn together.",de:"Publish time slots where several students learn together."},"groupClasses.create":{ko:"수업 게시",zh:"发布课程","zh-TW":"發布課程",ja:"レッスンを公開",en:"Publish class",fr:"Publish class",de:"Publish class"},"groupClasses.field.start":{ko:"시작 시간",zh:"开始时间","zh-TW":"開始時間",ja:"開始時刻",en:"Start time",fr:"Start time",de:"Start time"},"groupClasses.field.duration":{ko:"길이 (분)",zh:"时长(分钟)","zh-TW":"時長(分鐘)",ja:"長さ(分)",en:"Length (min)",fr:"Length (min)",de:"Length (min)"},"groupClasses.field.type":{ko:"수업 유형",zh:"课程类型","zh-TW":"課程類型",ja:"レッスンの種類",en:"Lesson type",fr:"Lesson type",de:"Lesson type"},"groupClasses.field.min":{ko:"최소 인원",zh:"最少人数","zh-TW":"最少人數",ja:"最少人数",en:"Min students",fr:"Min students",de:"Min students"},"groupClasses.field.max":{ko:"최대 인원",zh:"最多人数","zh-TW":"最多人數",ja:"最多人数",en:"Max students",fr:"Max students",de:"Max students"},"groupClasses.field.price":{ko:"좌석당 가격 (USD)",zh:"每个名额价格(USD)","zh-TW":"每個名額價格(USD)",ja:"1席あたりの価格(USD)",en:"Price per seat (USD)",fr:"Price per seat (USD)",de:"Price per seat (USD)"},"groupClasses.field.timezone":{ko:"시간대",zh:"时区","zh-TW":"時區",ja:"タイムゾーン",en:"Timezone",fr:"Timezone",de:"Timezone"},"groupClasses.tzRef.heading":{ko:"참고 시간대",zh:"参考时区","zh-TW":"參考時區",ja:"参考タイムゾーン",en:"For reference",fr:"For reference",de:"For reference"},"groupClasses.tzRef.usEast":{ko:"미국 동부",zh:"美国东部","zh-TW":"美國東部",ja:"米国東部",en:"US Eastern",fr:"US Eastern",de:"US Eastern"},"groupClasses.tzRef.usWest":{ko:"미국 서부",zh:"美国西部","zh-TW":"美國西部",ja:"米国西部",en:"US Pacific",fr:"US Pacific",de:"US Pacific"},"groupClasses.tzRef.ukLondon":{ko:"영국 (런던)",zh:"英国(伦敦)","zh-TW":"英國(倫敦)",ja:"英国(ロンドン)",en:"UK (London)",fr:"UK (London)",de:"UK (London)"},"groupClasses.tzRef.euCentral":{ko:"중부 유럽",zh:"中欧","zh-TW":"中歐",ja:"中央ヨーロッパ",en:"Central Europe",fr:"Central Europe",de:"Central Europe"},"groupClasses.tzRef.hint":{ko:"팁: 학생이 있는 지역의 저녁 시간(오후 6~11시)에 맞춰 보세요.",zh:"提示:尽量安排在学生所在地区的晚上(傍晚 6 点到 11 点)。","zh-TW":"提示:盡量安排在學生所在地區的晚上(傍晚 6 點到 11 點)。",ja:"ヒント:生徒のいる地域の夜(午後6〜11時)に合わせましょう。",en:"Tip: aim for evening (~6–11 PM) where your students are.",fr:"Tip: aim for evening (~6–11 PM) where your students are.",de:"Tip: aim for evening (~6–11 PM) where your students are."},"groupClasses.type.game_review":{ko:"대국 복기",zh:"复盘","zh-TW":"復盤",ja:"碁の検討",en:"Game review",fr:"Game review",de:"Game review"},"groupClasses.type.teaching_game_with_review":{ko:"지도대국 + 복기",zh:"指导棋 + 复盘","zh-TW":"指導棋 + 復盤",ja:"指導碁 + 検討",en:"Teaching game + review",fr:"Teaching game + review",de:"Teaching game + review"},"groupClasses.type.topic_lecture":{ko:"주제 강의",zh:"专题讲座","zh-TW":"專題講座",ja:"テーマ講義",en:"Topic lecture",fr:"Topic lecture",de:"Topic lecture"},"groupClasses.seatsLeft":{ko:"남은 좌석 {n}석",zh:"剩余 {n} 个名额","zh-TW":"剩餘 {n} 個名額",ja:"残り{n}席",en:"{n} seats left",fr:"{n} seats left",de:"{n} seats left"},"groupClasses.full":{ko:"마감",zh:"已满","zh-TW":"已滿",ja:"満席",en:"Full",fr:"Full",de:"Full"},"groupClasses.book":{ko:"좌석 예약",zh:"预订名额","zh-TW":"預訂名額",ja:"席を予約",en:"Book a seat",fr:"Book a seat",de:"Book a seat"},"groupClasses.continuePayment":{ko:"결제 계속하기",zh:"继续付款","zh-TW":"繼續付款",ja:"支払いを続ける",en:"Continue payment",fr:"Continuer le paiement",de:"Zahlung fortsetzen"},"groupClasses.paymentHeld":{ko:"좌석이 {deadline}까지 예약되어 있습니다. 결제를 계속하거나 예약을 관리하세요:",zh:"您的名额保留至 {deadline}。请继续付款,或管理预订:","zh-TW":"您的名額保留至 {deadline}。請繼續付款,或管理預訂:",ja:"席は {deadline} まで確保されています。支払いを続けるか、予約を管理してください:",en:"Your seat is held until {deadline}. Continue payment or manage your booking:",fr:"Votre place est réservée jusqu’au {deadline}. Continuez le paiement ou gérez votre réservation :",de:"Ihr Platz ist bis {deadline} reserviert. Setzen Sie die Zahlung fort oder verwalten Sie Ihre Buchung:"},"groupClasses.paymentUnavailable":{ko:"이 예약의 결제를 계속할 수 없습니다. 내 수업에서 현재 상태를 확인하세요.",zh:"此预订目前无法继续付款。请在“我的课程”中查看最新状态。","zh-TW":"此預訂目前無法繼續付款。請在「我的課程」中查看最新狀態。",ja:"この予約の支払いは現在続行できません。マイレッスンで最新の状態を確認してください。",en:"This booking cannot continue to payment. Check its current status in My Lessons.",fr:"Le paiement de cette réservation ne peut pas continuer. Consultez son statut dans Mes leçons.",de:"Die Zahlung für diese Buchung kann nicht fortgesetzt werden. Prüfen Sie den aktuellen Status unter Meine Lektionen."},"groupClasses.cancel":{ko:"수업 취소",zh:"取消课程","zh-TW":"取消課程",ja:"レッスンをキャンセル",en:"Cancel class",fr:"Cancel class",de:"Cancel class"},"groupClasses.empty":{ko:"예정된 그룹 수업이 없습니다.",zh:"暂无即将开始的小组课。","zh-TW":"暫無即將開始的小組課。",ja:"予定されているグループレッスンはありません。",en:"No upcoming group classes.",fr:"No upcoming group classes.",de:"No upcoming group classes."},"groupClasses.minMaxRange":{ko:"{min}–{max}명",zh:"{min}–{max} 人","zh-TW":"{min}–{max} 人",ja:"{min}〜{max}人",en:"{min}–{max} students",fr:"{min}–{max} students",de:"{min}–{max} students"},"groupClasses.status.cancelled":{ko:"취소됨",zh:"已取消","zh-TW":"已取消",ja:"キャンセル済み",en:"Cancelled",fr:"Cancelled",de
92:"Cancelled"},"groupClasses.status.completed":{ko:"완료됨",zh:"已完成","zh-TW":"已完成",ja:"完了",en:"Completed",fr:"Completed",de:"Completed"},"groupClasses.durationMin":{ko:"{n}분",zh:"{n}分钟","zh-TW":"{n}分鐘",ja:"{n}分",en:"{n} min",fr:"{n} min",de:"{n} min"},"groupLessons.seoTitle":{ko:"그룹 수업 | 바둑 선생님",zh:"小组课 | 围棋老师","zh-TW":"小組課 | 圍棋老師",ja:"グループレッスン | 囲碁の先生",en:"Group classes | Baduk Teacher",fr:"Group classes | Baduk Teacher",de:"Group classes | Baduk Teacher"},"groupLessons.seoDescription":{ko:"여러 학생과 함께 배우는 예정된 그룹 바둑 수업을 둘러보고 좌석을 예약하세요.",zh:"浏览并预订与其他学生一起学习的围棋小组课。","zh-TW":"瀏覽並預訂與其他學生一起學習的圍棋小組課。",ja:"複数の生徒と一緒に学べる予定されたグループ囲碁レッスンを見つけて席を予約しましょう。",en:"Browse and book upcoming group Baduk classes where you learn alongside other students.",fr:"Browse and book upcoming group Baduk classes where you learn alongside other students.",de:"Browse and book upcoming group Baduk classes where you learn alongside other students."},"groupLessons.intro":{ko:"여러 학생이 함께하는 예정된 그룹 수업입니다. 좌석은 선착순입니다.",zh:"与其他学生一起参加的预定小组课。名额先到先得。","zh-TW":"與其他學生一起參加的預定小組課。名額先到先得。",ja:"複数の生徒が一緒に参加する予定されたグループレッスンです。席は先着順です。",en:"Scheduled classes where several students learn together. Seats are first come, first served.",fr:"Scheduled classes where several students learn together. Seats are first come, first served.",de:"Scheduled classes where several students learn together. Seats are first come, first served."},"groupLessons.emptyCta":{ko:"선생님 둘러보기",zh:"浏览老师","zh-TW":"瀏覽老師",ja:"先生を探す",en:"Browse teachers",fr:"Browse teachers",de:"Browse teachers"},"mylessons.upcoming.tzLabel":{ko:"{tz} 시간대 표시",zh:"按 {tz} 显示","zh-TW":"按 {tz} 顯示",ja:"{tz} で表示",en:"Times shown in {tz}",fr:"Times shown in {tz}",de:"Times shown in {tz}"},"chat.bookCta":{ko:"레슨 예약 →",zh:"预约课程 →","zh-TW":"預約課程 →",ja:"レッスンを予約 →",en:"Book a lesson →",fr:"Book a lesson →",de:"Book a lesson →"},"booking.success.title":{ko:"예약 완료!",zh:"预约成功!","zh-TW":"預約成功!",ja:"予約完了!",en:"Booking confirmed!",fr:"Booking confirmed!",de:"Booking confirmed!"},"booking.success.body":{ko:"{teacher} 선생님과 {duration}분 레슨이 {time}에 예정되었습니다.",zh:"与 {teacher} 老师的 {duration} 分钟课程已预约 — {time}","zh-TW":"與 {teacher} 老師的 {duration} 分鐘課程已預約 — {time}",ja:"{teacher} 先生との {duration} 分レッスンを {time} に予約しました。",en:"Your {duration}-minute lesson with {teacher} is scheduled for {time}.",fr:"Your {duration}-minute lesson with {teacher} is scheduled for {time}.",de:"Your {duration}-minute lesson with {teacher} is scheduled for {time}."},"booking.success.loading":{ko:"확인 중…",zh:"加载中…","zh-TW":"載入中…",ja:"確認中…",en:"Loading…",fr:"Chargement…",de:"Laden…"},"booking.success.confirming":{ko:"결제 확인 중…",zh:"正在确认付款…","zh-TW":"正在確認付款…",ja:"お支払い確認中…",en:"Confirming your payment…",fr:"Confirming your payment…",de:"Confirming your payment…"},"booking.success.delayed":{ko:"결제 확인이 평소보다 오래 걸리고 있습니다. 아직 확인 대기 중입니다. 상태를 다시 확인하거나 내 예약에서 나중에 확인해 주세요.",zh:"付款确认所需时间比平时更长,目前仍在等待确认。您可以再次查询状态,或稍后在“我的课程”中查看。","zh-TW":"付款確認所需時間比平時更長,目前仍在等待確認。您可以再次查詢狀態,或稍後在「我的課程」中查看。",ja:"お支払いの確認に通常より時間がかかっています。現在も確認待ちです。もう一度状況を確認するか、後ほどマイレッスンでご確認ください。",en:"Payment c
92onfirmation is taking longer than usual and is still pending. Check the status again or visit My Lessons later for an update.",fr:"La confirmation du paiement prend plus de temps que prévu et est toujours en attente. Vérifiez à nouveau le statut ou consultez Mes leçons plus tard.",de:"Die Zahlungsbestätigung dauert länger als üblich und steht noch aus. Prüfe den Status erneut oder sieh später unter Meine Lektionen nach."},"booking.success.checkAgain":{ko:"상태 다시 확인",zh:"再次查询状态","zh-TW":"再次查詢狀態",ja:"状況を再確認",en:"Check status again",fr:"Vérifier à nouveau le statut",de:"Status erneut prüfen"},"booking.success.failed":{ko:"결제 처리에 문제가 있습니다 (상태: {status}). 예약 목록을 확인해 주세요.",zh:"付款处理出现问题(状态:{status})。请查看您的预约。","zh-TW":"付款處理出現問題(狀態:{status})。請檢視您的預約。",ja:"お支払い処理に問題が発生しました(状態:{status})。予約をご確認ください。",en:"Something went wrong with your payment (status: {status}). Please check your bookings.",fr:"Something went wrong with your payment (status: {status}). Please check your bookings.",de:"Something went wrong with your payment (status: {status}). Please check your bookings."},"booking.success.notFound":{ko:"예약을 찾을 수 없습니다.",zh:"找不到该预约。","zh-TW":"找不到該預約。",ja:"予約が見つかりません。",en:"We couldn't find that booking.",fr:"We couldn't find that booking.",de:"We couldn't find that booking."},"booking.success.invalidLink":{ko:"잘못된 링크입니다.",zh:"链接无效。","zh-TW":"連結無效。",ja:"無効なリンクです。",en:"Invalid link.",fr:"Invalid link.",de:"Invalid link."},"booking.success.signInRequired":{ko:"예약을 확인하려면 로그인하세요.",zh:"请登录以查看预约。","zh-TW":"請登入以檢視預約。",ja:"予約を確認するにはサインインしてください。",en:"Please sign in to view your booking.",fr:"Please sign in to view your booking.",de:"Please sign in to view your booking."},"booking.success.viewBookings":{ko:"내 예약 보기",zh:"查看我的预约","zh-TW":"檢視我的預約",ja:"予約一覧を見る",en:"View my bookings",fr:"View my bookings",de:"View my bookings"},"booking.acceptance.requestCta":{ko:"레슨 요청",zh:"请求课程","zh-TW":"請求課程",ja:"レッスンをリクエスト",en:"Request lesson",fr:"Request lesson",de:"Request lesson"},"booking.acceptance.successTitle":{ko:"요청을 보냈어요",zh:"您的请求已发送","zh-TW":"您的請求已傳送",ja:"リクエストを送信しました",en:"Your request was sent",fr:"Your request was sent",de:"Your request was sent"},"booking.payment.checkoutClosed":{en:"Checkout was closed. Check your lesson below to continue payment.",ko:"결제 창이 닫혔습니다. 아래 수업을 확인하고 결제를 계속해 주세요.",zh:"支付页面已关闭。请查看下方课程以继续付款。","zh-TW":"付款頁面已關閉。請查看下方課程以繼續付款。",ja:"お支払い画面が閉じられました。下のレッスンを確認して、お支払いを続けてください。",fr:"La page de paiement a été fermée. Retrouvez votre cours ci-dessous pour poursuivre le paiement.",de:"Die Zahlungsseite wurde geschlossen. Wähle unten deine Lektion aus, um die Zahlung fortzusetzen."},"booking.payment.continue":{en:"Continue payment",ko:"결제 계속하기",zh:"继续付款","zh-TW":"繼續付款",ja:"お支払いを続ける",fr:"Poursuivre le paiement",de:"Zahlung fortsetzen"},"booking.acceptance.viewRequest":{en:"View request in My Lessons",ko:"내 수업에서 요청 보기",zh:"在我的课程中查看预约","zh-TW":"在我的課程中查看預約",ja:"マイレッスンでリクエストを見る",fr:"Voir la demande dans Mes cours",de:"Anfrage unter Meine Lektionen ansehen"},"booking.acceptance.responseBy":{en:"The teacher can respond until {deadline}. We'll email you their decision.",ko:"선생님은 {deadline}까지 응답할 수 있습니다. 결과를 이메일로 알려드리겠습니다.",zh:"老师可在{deadline}前回复。我们会通过邮件通知您结果。","zh-TW":"老師可在{deadline}前回覆。我們會透過郵件通知您結果。",ja:"先生の回答期限は{deadline}です。結果はメールでお知らせします。",fr:"Le professeur peut répondre jusqu’au {deadline}. Nous vous enverrons sa décision par e-mail.",de:"Die Lehrkraft kann bis {deadline} antworten. Wir informieren dich per E-Mail über die Entscheidung."},"booking.acceptance.successBody":{ko:"선생님께서 최대 {hours}시간 안에 응답해 주실 거예요. 결정이 나면 이메일로 알려드립니다.",zh:"老师有 {hours} 小时来回复您的请求。我们将在老师作出决定后通过邮件通知您。","zh-TW":"老師有 {hours} 小時來回復您的請求。我們將在老師作出決定後通過郵件通知您。",ja:"先生は最大{hours}時間以内にお返事します。決定があり次第メールでお知らせします。",en:"The teacher has up to {hours} hours to respond. We'll email you when they decide.",fr:"The teacher has up to {hours} hours to respond. We'll email you when they decide.",de:"The teacher has up to {hours} hours to respond. We'll email you when they decide."},"booking.acceptance.chatWithTeacher":{ko:"{teacher} 선생님과 채팅",zh:"与 {teacher} 老师聊天","zh-TW":"與 {teacher} 老師聊天",ja:"{teacher} 先生とチャット",en:"Chat with {teacher}",fr:"Chat with {teacher}",de:"Chat with {teacher}"},"booking.acceptance.gotIt":{ko:"확인",zh:"知道了","zh-TW":"知道了",ja:"了解しました",en:"Got it",fr:"Compris",de:"Verstanden"},"booking.acceptance.awaitingResponse":{ko:"선생님 응답 대기 중",zh:"等待老师回复","zh-TW":"等待老師回覆",ja:"先生の返答待ち",en:"Awaiting teacher response",fr:"Awaiting teacher response",de:"Awaiting teacher response"},"booking.acceptance.deadlineHours":{ko:"응답까지 {hours}시간 남음",zh:"还有 {hours} 小时回复","zh-TW":"還有 {hours} 小時回覆",ja:"あと{hours}時間で返答",en:"{hours}h left to respond",fr:"{hours}h left to respond",de:"{hours}h left to respond"},"booking.acceptance.withdrawCta":{ko:"요청 취소",zh:"撤回请求","zh-TW":"撤回請求",ja:"リクエストを取り下げる",en:"Withdraw request",fr:"Withdraw request",de:"Withdraw request"},"booking.acceptance.withdrawInProgress":{ko:"취소 중…",zh:"正在撤回…","zh-TW":"正在撤回…",ja:"取り下げ中…",en:"Withdrawing…",fr:"Withdrawing…",de:"Withdrawing…"},"booking.acceptance.withdrawError":{ko:"요청을 취소하지 못했습니다. 다시 시도해 주세요.",zh:"撤回请求失败,请重试。","zh-TW":"撤回請求失敗,請重試。",ja:"リクエストの取り下げに失敗しました。もう一度お試しください。",en:"
92Couldn't withdraw the request. Please try again.",fr:"Couldn't withdraw the request. Please try again.",de:"Couldn't withdraw the request. Please try again."},"booking.payment.payNow":{ko:"지금 결제",zh:"立即付款","zh-TW":"立即付款",ja:"今すぐお支払い",en:"Pay now",fr:"Pay now",de:"Pay now"},"booking.payment.payInProgress":{ko:"결제로 이동 중…",zh:"正在跳转付款…","zh-TW":"正在跳轉付款…",ja:"決済へ移動中…",en:"Redirecting to payment…",fr:"Redirecting to payment…",de:"Redirecting to payment…"},"booking.payment.payError":{ko:"결제 페이지를 열지 못했습니다. 다시 시도해 주세요.",zh:"无法打开付款页面,请重试。","zh-TW":"無法開啟付款頁面,請重試。",ja:"決済ページを開けませんでした。もう一度お試しください。",en:"Couldn't open the payment page. Please try again.",fr:"Couldn't open the payment page. Please try again.",de:"Couldn't open the payment page. Please try again."},"booking.payment.awaitingPayment":{ko:"결제 대기 중",zh:"等待付款","zh-TW":"等待付款",ja:"お支払い待ち",en:"Awaiting payment",fr:"En attente de paiement",de:"Zahlung ausstehend"},"mylessons.settlement.refreshError":{en:"Your booking is confirmed, but we couldn't refresh your lessons or credit balance. Please retry the refresh.",ko:"예약이 확정되었지만 수업 목록 또는 크레딧 잔액을 새로 불러오지 못했습니다. 다시 불러와 주세요.",zh:"您的预约已确认,但课程列表或积分余额刷新失败。请重试刷新。","zh-TW":"您的預約已確認,但課程清單或積分餘額重新整理失敗。請重試重新整理。",ja:"予約は確定しましたが、レッスン一覧またはクレジット残高を更新できませんでした。もう一度更新してください。",fr:"Votre réservation est confirmée, mais vos cours ou votre solde de crédits n’ont pas pu être actualisés. Réessayez l’actualisation.",de:"Ihre Buchung ist bestätigt, aber Ihre Lektionen oder Ihr Guthaben konnten nicht aktualisiert werden. Bitte versuchen Sie die Aktualisierung erneut."},"mylessons.settlement.retryRefresh":{en:"Retry refresh",ko:"다시 불러오기",zh:"重试刷新","zh-TW":"重試重新整理",ja:"再読み込み",fr:"Réessayer l’actualisation",de:"Erneut aktualisieren"},"mylessons.credits.refreshError":{en:"Balance unavailable",ko:"잔액을 불러올 수 없습니다",zh:"余额暂不可用","zh-TW":"餘額暫時無法顯示",ja:"残高を取得できません",fr:"Solde indisponible",de:"Guthaben nicht verfügbar"},"booking.payment.deadlineLine":{ko:"{time}까지 결제해 주세요",zh:"请在 {time} 之前付款","zh-TW":"請在 {time} 之前付款",ja:"{time} までにお支払いください",en:"Pay before {time}",fr:"Pay before {time}",de:"Pay before {time}"},"booking.payment.lateGrantedDeadlineLine":{ko:"{teacher} 선생님이 결제 기한을 연장했습니다 · {time}까지 결제해 주세요",zh:"{teacher} 老师为您延长了付款期限 · 请在 {time} 之前付款","zh-TW":"{teacher} 老師為您延長了付款期限 · 請在 {time} 之前付款",ja:"{teacher}先生がお支払い期限を延長しました · {time}までにお支払いください",en:"{teacher} extended your payment deadline · pay before {time}",fr:"{teacher} a prolongé votre échéance de paiement · payez avant {time}",de:"{teacher} hat Ihre Zahlungsfrist verlängert · bezahlen Sie vor {time}"},"booking.rejection.title":{ko:"최근 거절된 요청",zh:"最近被拒绝的请求","zh-TW":"最近被拒絕的請求",ja:"最近お断りしたリクエスト",en:"Recent rejections",fr:"Recent rejections",de:"Recent rejections"},"booking.rejection.rejectedHeading":{ko:"선생님이 이 예약을 수락할 수 없었습니다",zh:"老师无法接受此预约","zh-TW":"老師無法接受此預約",ja:"先生がこのリクエストをお受けできませんでした",en:"Teacher couldn't accept this booking",fr:"Teacher couldn't accept this booking",de:"Teacher couldn't accept this booking"},"booking.rejection.autoExpiredHeading":{ko:"선생님이 시간 내에 응답하지 않았습니다",zh:"老师未在规定时间内回复","zh-TW":"老師未在規定時間內回覆",ja:"先生から期限内にご返答がありませんでした",en:"Teacher didn't respond in time",fr:"Teacher didn't respond in time",de:"Teacher didn't respond in time"},"booking.rejection.reasonLine":{ko:"사유: {reason}",zh:"原因:{reason}","zh-TW":"原因:{reason}",ja:"理由: {reason}",en:"Reason: {reason}",fr:"Reason: {reason}",de:"Reason: {reason}"},"booking.rejection.findAnotherSlot":{ko:"다른 시간 찾기",zh:"查找其他时段","zh-TW":"查詢其他時段",ja:"別の時間を探す",en:"Find another slot",fr:"Find another slot",de:"Find another slot"},"booking.tab.private":{ko:"개인 수업",zh:"一对一课程","zh-TW":"一對一課程",ja:"個人レッスン",en:"Private",fr:"Private",de:"Private"},"bookingSgf.section.title":{en:"Game records for review",ko:"복기할 기보",zh:"复盘棋谱","zh-TW":"覆盤棋譜",ja:"検討用棋譜",fr:"Enregistrements de partie à analyser",de:"Spielaufzeichnungen zur Besprechung"},"bookingSgf.section.description.student":{en:"Upload your games and the teacher will prepare to review them with you.",ko:"기보를 업로드하면 선생님이 함께 복기할 준비를 합니다.",zh:"上传您的对局,老师会准备与您一起复盘。","zh-TW":"上傳您的對局,老師會準備與您一起復盤。",ja:"棋譜をアップロードすると、先生が一緒に検討する準備をします。",fr:"Téléchargez vos parties et le professeur préparera leur analyse.",de:"Laden Sie Ihre Partien hoch, und der Lehrer bereitet die Besprechung vor."},"bookingSgf.empty.student":{en:"No games uploaded yet.",ko:"아직 업로드된 기보가 없습니다.",zh:"尚未上传任何对局。","zh-TW":"尚未上傳任何對局。",ja:"まだ棋譜はアップロードされていません。",fr:"Aucune partie encore téléchargée.",de:"Noch keine Partien hochgeladen."},"bookingSgf.empty.teacher":{en:"The student has not uploaded any games yet.",ko:"학생이 아직 기보를 업로드하지 않았습니다.",zh:"学生尚未上传任何对局。","zh-TW":"學生尚未上傳任何對局。",ja:"生徒はまだ棋譜をアップロードしていません。",fr:"L'élève n'a pas encore téléchargé de parties.",de:"Der Schüler hat noch keine Partien hochgeladen."},"bookingSgf.dropzone.label":{en:"Drop SGF files here, or click to choose",ko:"여기에 SGF 파일ì
92„ 끌어다 놓거나 클릭하여 선택하세요",zh:"将 SGF 文件拖到此处,或点击选择","zh-TW":"將 SGF 檔案拖到此處,或點選選擇",ja:"SGFファイルをここにドロップ、またはクリックして選択",fr:"Déposez des fichiers SGF ici, ou cliquez pour choisir",de:"SGF-Dateien hier ablegen oder zum Auswählen klicken"},"bookingSgf.paste.tabLabel":{en:"Paste SGF text",ko:"SGF 텍스트 붙여넣기",zh:"粘贴 SGF 文本","zh-TW":"貼上 SGF 文本",ja:"SGFテキストを貼り付け",fr:"Coller le texte SGF",de:"SGF-Text einfügen"},"bookingSgf.paste.placeholder":{en:"(;FF[4]GM[1]SZ[19]…)",ko:"(;FF[4]GM[1]SZ[19]…)",zh:"(;FF[4]GM[1]SZ[19]…)","zh-TW":"(;FF[4]GM[1]SZ[19]…)",ja:"(;FF[4]GM[1]SZ[19]…)",fr:"(;FF[4]GM[1]SZ[19]…)",de:"(;FF[4]GM[1]SZ[19]…)"},"bookingSgf.paste.submit":{en:"Upload pasted text",ko:"붙여넣은 텍스트 업로드",zh:"上传粘贴的文本","zh-TW":"上傳貼上的文本",ja:"貼り付けたテキストをアップロード",fr:"Télécharger le texte collé",de:"Eingefügten Text hochladen"},"bookingSgf.row.delete":{en:"Delete",ko:"삭제",zh:"删除","zh-TW":"刪除",ja:"削除",fr:"Supprimer",de:"Löschen"},"bookingSgf.row.restore":{en:"Restore",ko:"복원",zh:"恢复","zh-TW":"恢復",ja:"復元",fr:"Restaurer",de:"Wiederherstellen"},"bookingSgf.row.retry":{en:"Retry",ko:"다시 시도",zh:"重试","zh-TW":"重試",ja:"再試行",fr:"Réessayer",de:"Wiederholen"},"bookingSgf.row.download":{en:"Download",ko:"다운로드",zh:"下载","zh-TW":"下載",ja:"ダウンロード",fr:"Télécharger",de:"Herunterladen"},"bookingSgf.row.malformed":{en:"This file may not be a valid SGF — best-effort preview shown.",ko:"유효한 SGF가 아닐 수 있습니다 — 최선의 노력으로 미리보기를 표시합니다.",zh:"该文件可能不是有效的 SGF — 显示尽力呈现的预览。","zh-TW":"該檔案可能不是有效的 SGF — 顯示盡力呈現的預覽。",ja:"有効なSGFでない可能性があります — ベストエフォートのプレビューを表示します。",fr:"Ce fichier n'est peut-être pas un SGF valide — aperçu au mieux affiché.",de:"Diese Datei ist möglicherweise kein gültiges SGF — bestmögliche Vorschau angezeigt."},"bookingSgf.miniBoard.unavailable":{en:"preview unavailable",ko:"미리보기 사용 불가",zh:"无法预览","zh-TW":"無法預覽",ja:"プレビュー不可",fr:"aperçu indisponible",de:"Vorschau nicht verfügbar"},"bookingSgf.recentlyDeleted.heading":{en:"Recently deleted",ko:"최근 삭제됨",zh:"最近删除","zh-TW":"最近刪除",ja:"最近削除",fr:"Récemment supprimés",de:"Kürzlich gelöscht"},"bookingSgf.status.queued":{en:"Queued",ko:"대기 중",zh:"排队中","zh-TW":"排隊中",ja:"待機中",fr:"En attente",de:"In Warteschlange"},"bookingSgf.status.uploading":{en:"Uploading…",ko:"업로드 중…",zh:"上传中…","zh-TW":"上傳中…",ja:"アップロード中…",fr:"Envoi…",de:"Hochladen…"},"bookingSgf.status.failed":{en:"Failed",ko:"실패",zh:"失败","zh-TW":"失敗",ja:"失敗",fr:"Échec",de:"Fehlgeschlagen"},"bookingSgf.error.tooLarge":{en:"File too large — maximum {max_mb} MB per SGF.",ko:"파일이 너무 큽니다 — SGF당 최대 {max_mb} MB.",zh:"文件过大 — 每个 SGF 最多 {max_mb} MB。","zh-TW":"檔案過大 — 每個 SGF 最多 {max_mb} MB。",ja:"ファイルが大きすぎます — SGFあたり最大{max_mb} MB。",fr:"Fichier trop volumineux — maximum {max_mb} Mo par SGF.",de:"Datei zu groß — maximal {max_mb} MB pro SGF."},"bookingSgf.error.tooMany":{en:"You can upload up to {max_count} games per booking.",ko:"예약당 최대 {max_count}개의 기보를 업로드할 수 있습니다.",zh:"每次预约最多可上传 {max_count} 个对局。","zh-TW":"每次預約最多可上傳 {max_count} 個對局。",ja:"予約ごとに最大{max_count}件の棋譜をアップロードできます。",fr:"Vous pouvez télécharger jusqu'à {max_count} parties par réservation.",de:"Sie können bis zu {max_count} Partien pro Buchung hochladen."},"bookingSgf.error.totalTooLarge":{en:"Total upload size for this booking would exceed {max_mb} MB.",ko:"이 예약의 총 업로드 크기가 {max_mb} MB를 초과합니다.",zh:"此预约的总上传大小将超过 {max_mb} MB。","zh-TW":"此預約的總上傳大小將超過 {max_mb} MB。",ja:"この予約の合計アップロードサイズが{max_mb} MBを超えます。",fr:"La taille totale des téléchargements pour cette réservation dépasserait {max_mb} Mo.",de:"Die Gesamtgröße der Uploads für diese Buchung würde {max_mb} MB überschreiten."},"bookingSgf.error.lifecycleLocked":{en:"Uploads are locked once the lesson starts.",ko:"레슨이 시작되면 업로드가 잠깁니다.",zh:"课程开始后无法再上传。","zh-TW":"課程開始後無法再上傳。",ja:"レッスンが始まるとアップロードはロックされます。",fr:"Les téléchargements sont verrouillés une fois la leçon commencée.",de:"Uploads werden gesperrt, sobald die Lektion beginnt."},"bookingSgf.error.network":{en:"Upload failed — check your connection and try again.",ko:"업로드 실패 — 연결을 확인하고 다시 시도하세요.",zh:"上传失败 — 请检查网络后重试。","zh-TW":"上傳失敗 — 請檢查網路後重試。",ja:"アップロードに失敗しました — 接続を確認して再試
92行してください。",fr:"Échec du téléchargement — vérifiez votre connexion et réessayez.",de:"Upload fehlgeschlagen — Verbindung prüfen und erneut versuchen."},"bookingSgf.teacher.badge":{en:"{count} SGFs",ko:"기보 {count}개",zh:"{count} 个棋谱","zh-TW":"{count} 個棋譜",ja:"棋譜{count}件",fr:"{count} SGFs",de:"{count} SGFs"},"bookingSgf.teacher.previewTitle":{en:"Student's uploaded games",ko:"학생이 업로드한 기보",zh:"学生上传的对局","zh-TW":"學生上傳的對局",ja:"生徒がアップロードした棋譜",fr:"Parties téléchargées par l'élève",de:"Vom Schüler hochgeladene Partien"},"bookingSgf.teacher.openInBoard":{en:"Open in board",ko:"바둑판에서 열기",zh:"在棋盘中打开","zh-TW":"在棋盤中開啟",ja:"碁盤で開く",fr:"Ouvrir dans le plateau",de:"Im Brett öffnen"},"bookingSgf.inLesson.button":{en:"Load student SGF",ko:"학생 SGF 불러오기",zh:"加载学生 SGF","zh-TW":"載入學生 SGF",ja:"生徒のSGFを読み込む",fr:"Charger SGF élève",de:"Schüler-SGF laden"},"bookingSgf.inLesson.pickerTitle":{en:"Choose an uploaded SGF to load",ko:"불러올 업로드된 SGF 선택",zh:"选择要加载的已上传 SGF","zh-TW":"選擇要載入的已上傳 SGF",ja:"読み込む棋譜を選択",fr:"Choisissez un SGF téléchargé à charger",de:"Hochgeladenes SGF zum Laden auswählen"},"common.close":{en:"Close",ko:"닫기",zh:"关闭","zh-TW":"關閉",ja:"閉じる",fr:"Fermer",de:"Schließen"},"schedule.title":{ko:"내 일정",zh:"我的日程","zh-TW":"我的日程",ja:"マイスケジュール",en:"My Schedule",fr:"Mon calendrier",de:"Mein Zeitplan"},"schedule.tab.offerings":{ko:"레슨 종류",zh:"课程设置","zh-TW":"課程設定",ja:"レッスンタイプ",en:"Offerings",fr:"Offres",de:"Angebote"},"schedule.tab.recurring":{ko:"주간 가능 시간",zh:"每周可上课时间","zh-TW":"每週可上課時間",ja:"週次の対応時間",en:"Recurring availability",fr:"Recurring availability",de:"Recurring availability"},"schedule.tab.overrides":{ko:"예외 일정",zh:"日期调整","zh-TW":"日期調整",ja:"個別調整",en:"Overrides",fr:"Overrides",de:"Overrides"},"schedule.offerings.title":{ko:"레슨 시간 및 가격",zh:"课程时长与价格","zh-TW":"課程時長與價格",ja:"レッスン時間と料金",en:"Lesson durations and prices",fr:"Lesson durations and prices",de:"Lesson durations and prices"},"schedule.offerings.duration":{ko:"시간",zh:"时长","zh-TW":"時長",ja:"時間",en:"Duration",fr:"Durée",de:"Dauer"},"schedule.offerings.price":{ko:"내 수강료 (USD)",zh:"我的课酬(美元)","zh-TW":"我的課酬(美元)",ja:"自分の受取額(USD)",en:"Your rate (USD)",fr:"Your rate (USD)",de:"Your rate (USD)"},"schedule.offerings.priceStudentsSee":{ko:"학생이 보는 가격: ${price} ({feePct}% 플랫폼 수수료 포함)",zh:"学生看到的价格:${price}(含 {feePct}% 平台费)","zh-TW":"學生看到的價格:${price}(含 {feePct}% 平臺費)",ja:"生徒が見る価格: ${price}({feePct}% プラットフォーム手数料込み)",en:"Students see ${price} (incl. {feePct}% platform fee)",fr:"Students see ${price} (incl. {feePct}% platform fee)",de:"Students see ${price} (incl. {feePct}% platform fee)"},"schedule.offerings.trialAddAffordance":{ko:"+ 체험 수업 가격 추가",zh:"+ 添加体验课价格","zh-TW":"+ 新增體驗課價格",ja:"+ 体験レッスン価格を追加",en:"+ Add trial pricing",fr:"+ Add trial pricing",de:"+ Add trial pricing"},"schedule.offerings.trialPriceLabel":{ko:"첫 수업 가격 (USD)",zh:"首次课程价格(美元)","zh-TW":"首次課程價格(美元)",ja:"初回レッスン価格(USD)",en:"First-lesson price (USD)",fr:"First-lesson price (USD)",de:"First-lesson price (USD)"},"schedule.offerings.trialHelperText":{ko:"학생이 선생님과 처음 수업할 때 내는 가격입니다. 일반 수업 가격보다 낮아야 합니다.",zh:"学生与您首次上课时支付的价格。必须低于您的常规价格。","zh-TW":"學生與您首次上課時支付的價格。必須低於您的常規價格。",ja:"生徒があなたと初めてレッスンを受ける際に支払う価格です。通常価格より安く設定してください。",en:"What students pay for their first lesson with you. Must be lower than your regular price.",fr:"What students pay for their first lesson with you. Must be lower than your regular price.",de:"What students pay for their first lesson with you. Must be lower than your regular price."},"schedule.offerings.trialRemove":{ko:"체험 가격 제거",zh:"移除体验课价格","zh-TW":"移除體驗課價格",ja:"体験価格を削除",en:"Remove trial pricing",fr:"Remove trial pricing",de:"Remove trial pricing"},"schedule.offerings.trialPriceError.range":{ko:"체험 가격은 ${min}에서 ${max} 사이여야 합니다.",zh:"体验课价格必须在 ${min} 至 ${max} 之间。","zh-TW":"體驗課價格必須在 ${min} 至 ${max} 之間。",ja:"体験価格は ${min}〜${max} の範囲で入力してください。",en:"Trial price must be between ${min} and ${max}.",fr:"Trial price must be between ${min} and ${max}.",de:"Trial price must be between ${min} and ${max}."},"schedule.offerings.trialPriceError.tooHigh":{ko:"체험 가격은 일반 수업 가격보다 낮아야 합니다.",zh:"体验课价格必须低于常规价格。","zh-TW":"體驗課價格必須低於常規價格。",ja:"体験価格は通常価格より安く設定してください。",en:"Trial price must be lower than your regular price.",fr:"Trial price must be lower than your regular price.",de:"Trial price must be lower than your regular price."},"schedule.offerings.trialStudentsSee":{ko:"학생이 처음 보는 가격: ${price}",zh:"学生首次看到的价格:${price}","zh-TW":"學生首次看到的價格:${price}",ja:"初回時に生徒が見る価格: ${price}",en:"Students see ${price} for their first lesson",fr:"Students see ${price} for their first lesson",de:"Students see ${price} for their first lesson"},"bookings.trialLabel":{ko:"체험",zh:"体验课","zh-TW":"體驗課",ja:"体験",en:"TRIAL",fr:"TRIAL",de:"TRIAL"},"bookings.typeBadge.private":{ko:"개인 레슨",zh:"一对一课程","zh-TW":"一對一課程",ja:"個人レッスン",en:"Private lesson",fr:"Cours privé",de:"Einzelstunde"},"bookings.typeBadge.group":{ko:"그룹 레슨",zh:"小组课程","zh-TW":"小組課程",ja:"グループレッスン",en:"Group lesson",fr:"Cours collectif",de:"Gruppenstunde"},"teacherProfile.trialOfferLabel":{ko:"첫 수업: ${price}",zh:"首次课程:${price}","zh-TW":"首次課程:${price}",ja:"初回レッスン: ${price}",en:"First lesson: ${price}",fr:"First lesson: ${price}
92",de:"First lesson: ${price}"},"teacherProfile.trialOfferSubLabel":{ko:"(일반 ${price})",zh:"(常规 ${price})","zh-TW":"(常規 ${price})",ja:"(通常 ${price})",en:"(regularly ${price})",fr:"(regularly ${price})",de:"(regularly ${price})"},"checkout.trialApplied":{ko:"첫 수업 특별가가 적용되었습니다.",zh:"已应用首次课程优惠价。","zh-TW":"已套用首次課程優惠價。",ja:"初回レッスン特別価格が適用されました。",en:"First-lesson special applied.",fr:"First-lesson special applied.",de:"First-lesson special applied."},"checkout.trialPending":{ko:"첫 수업 특별가 — 예약 시 자격 확인.",zh:"首次课程优惠价 — 预约时确认资格。","zh-TW":"首次課程優惠價 — 預約時確認資格。",ja:"初回レッスン特別価格 — 予約時に資格確認。",en:"First-lesson special — eligibility confirmed at booking.",fr:"First-lesson special — eligibility confirmed at booking.",de:"First-lesson special — eligibility confirmed at booking."},"checkout.trialIneligibleMessage":{ko:"첫 수업 특별가가 적용되지 않습니다 — 이 선생님과 이미 수업한 적이 있습니다.",zh:"首次课程优惠不适用 — 您之前已经预约过这位老师。","zh-TW":"首次課程優惠不適用 — 您之前已經預約過這位老師。",ja:"初回特別価格は適用されません — このティーチャーと既に予約したことがあります。",en:"First-lesson special doesn't apply — you've booked with this teacher before.",fr:"First-lesson special doesn't apply — you've booked with this teacher before.",de:"First-lesson special doesn't apply — you've booked with this teacher before."},"schedule.offerings.add":{ko:"레슨 추가",zh:"添加课程","zh-TW":"新增課程",ja:"レッスンを追加",en:"Add an offering",fr:"Add an offering",de:"Add an offering"},"schedule.offerings.save":{ko:"저장",zh:"保存","zh-TW":"儲存",ja:"保存",en:"Save",fr:"Enregistrer",de:"Speichern"},"schedule.offerings.empty":{ko:"아직 레슨이 등록되지 않았습니다. 등록 전까지 학생들은 프로필에서 대기 신청서를 보게 됩니다.",zh:"尚未添加任何课程。在添加前,学生在您的主页上将看到等候名单表单。","zh-TW":"尚未新增任何課程。在新增前,學生在您的主頁上將看到等候名單表單。",ja:"まだレッスンが登録されていません。登録するまで、生徒はプロフィールにウェイトリストフォームを見ます。",en:"You have not added any offerings yet. Until you do, students will see a waitlist form on your profile.",fr:"You have not added any offerings yet. Until you do, students will see a waitlist form on your profile.",de:"You have not added any offerings yet. Until you do, students will see a waitlist form on your profile."},"schedule.offerings.priceError.range":{ko:"가격은 ${min}에서 ${max} 사이여야 합니다.",zh:"价格必须在 ${min} 至 ${max} 之间。","zh-TW":"價格必須在 ${min} 至 ${max} 之間。",ja:"料金は ${min}〜${max} の範囲で入力してください。",en:"Price must be between ${min} and ${max}.",fr:"Le prix doit être compris entre ${min} et ${max}.",de:"Der Preis muss zwischen ${min} und ${max} liegen."},"schedule.offerings.priceError.empty":{ko:"가격을 입력해 주세요.",zh:"请输入价格。","zh-TW":"請輸入價格。",ja:"料金を入力してください。",en:"Please enter a price.",fr:"Veuillez saisir un prix.",de:"Bitte einen Preis eingeben."},"schedule.offerings.saveError.invalid":{ko:"일부 가격이 허용 범위(${min}~${max})를 벗어났습니다. 빨간색으로 표시된 항목을 확인해 주세요.",zh:"部分价格超出允许范围(${min}~${max})。请检查标红的项。","zh-TW":"部分價格超出允許範圍(${min}~${max})。請檢查標紅的項。",ja:"一部の料金が許容範囲(${min}〜${max})を超えています。赤くハイライトされた項目をご確認ください。",en:"Some prices are outside the allowed range (${min}–${max}). Please review the rows highlighted in red.",fr:"Certains prix sont hors de la plage autorisée (${min}–${max}). Vérifiez les lignes en rouge.",de:"Einige Preise liegen außerhalb des erlaubten Bereichs (${min}–${max}). Bitte rot markierte Zeilen prüfen."},"schedule.offerings.saveError.generic":{ko:"저장하지 못했습니다. 잠시 후 다시 시도해 주세요.",zh:"保存失败,请稍后重试。","zh-TW":"儲存失敗,請稍後重試。",ja:"保存できませんでした。少し時間をおいて再度お試しください。",en:"
92Could not save changes. Please try again.",fr:"Impossible d'enregistrer les modifications. Veuillez réessayer.",de:"Änderungen konnten nicht gespeichert werden. Bitte erneut versuchen."},"schedule.recurring.title":{ko:"주간 가능 시간",zh:"每周可上课时间","zh-TW":"每週可上課時間",ja:"週次の対応時間",en:"Weekly availability",fr:"Weekly availability",de:"Weekly availability"},"schedule.recurring.tz":{ko:"시간대",zh:"时区","zh-TW":"時區",ja:"タイムゾーン",en:"Time zone",fr:"Fuseau horaire",de:"Zeitzone"},"schedule.recurring.empty":{ko:"등록된 시간이 없습니다.",zh:"尚未设置任何时段。","zh-TW":"尚未設定任何時段。",ja:"対応時間が登録されていません。",en:"No recurring availability yet.",fr:"No recurring availability yet.",de:"No recurring availability yet."},"schedule.recurring.save":{ko:"저장",zh:"保存","zh-TW":"儲存",ja:"保存",en:"Save",fr:"Enregistrer",de:"Speichern"},"schedule.overrides.title":{ko:"특정 날짜 조정",zh:"特定日期调整","zh-TW":"特定日期調整",ja:"特定日の調整",en:"Date-specific overrides",fr:"Date-specific overrides",de:"Date-specific overrides"},"schedule.overrides.kind.block":{ko:"차단 (참여 불가)",zh:"屏蔽(不可上课)","zh-TW":"遮蔽(不可上課)",ja:"ブロック(対応不可)",en:"Block (I am unavailable)",fr:"Block (I am unavailable)",de:"Block (I am unavailable)"},"schedule.overrides.kind.add":{ko:"추가 (별도 시간)",zh:"添加(额外时间)","zh-TW":"新增(額外時間)",ja:"追加(特別対応時間)",en:"Add (extra availability)",fr:"Add (extra availability)",de:"Add (extra availability)"},"schedule.overrides.add":{ko:"예외 추가",zh:"添加调整","zh-TW":"新增調整",ja:"調整を追加",en:"Add an override",fr:"Add an override",de:"Add an override"},"schedule.overrides.add.submit":{ko:"추가",zh:"添加","zh-TW":"新增",ja:"追加",en:"Add",fr:"Ajouter",de:"Hinzufügen"},"schedule.overrides.empty":{ko:"예약된 예외가 없습니다.",zh:"暂无调整。","zh-TW":"暫無調整。",ja:"予定された調整はありません。",en:"No overrides scheduled.",fr:"No overrides scheduled.",de:"No overrides scheduled."},"schedule.overrides.delete":{ko:"삭제",zh:"删除","zh-TW":"刪除",ja:"削除",en:"Delete",fr:"Supprimer",de:"Löschen"},"schedule.overrides.help":{ko:"특정 날짜에 한해 평소 일정을 변경합니다.",zh:"为特定日期临时调整您的常规可用时段。","zh-TW":"為特定日期臨時調整您的常規可用時段。",ja:"特定の日にだけ通常の予定を変更します。",en:"Adjust your usual schedule for specific dates.",fr:"Adjust your usual schedule for specific dates.",de:"Adjust your usual schedule for specific dates."},"schedule.overrides.reason":{ko:"사유 (선택)",zh:"原因(可选)","zh-TW":"原因(可選)",ja:"理由(任意)",en:"Reason (optional)",fr:"Reason (optional)",de:"Reason (optional)"},"schedule.subtitle":{ko:"학생들이 예약할 때 보게 될 레슨 시간, 주간 가능 시간, 날짜별 조정을 설정합니다.",zh:"设置学生预约时看到的课程时长、每周可上课时间和日期调整。","zh-TW":"設定學生預約時看到的課程時長、每週可上課時間和日期調整。",ja:"生徒が予約時に見るレッスン時間、週次の対応時間、特定日の調整を設定します。",en:"
92Configure the lesson durations, weekly hours, and date overrides students see when booking.",fr:"Configure the lesson durations, weekly hours, and date overrides students see when booking.",de:"Configure the lesson durations, weekly hours, and date overrides students see when booking."},"schedule.loading":{ko:"불러오는 중…",zh:"加载中…","zh-TW":"載入中…",ja:"読み込み中…",en:"Loading…",fr:"Chargement…",de:"Laden…"},"schedule.saving":{ko:"저장 중…",zh:"保存中…","zh-TW":"儲存中…",ja:"保存中…",en:"Saving…",fr:"Saving…",de:"Saving…"},"schedule.offerings.help":{ko:"학생이 예약할 수 있는 레슨 시간과 가격을 설정합니다.",zh:"设置学生可以预约的课程时长与价格。","zh-TW":"設定學生可以預約的課程時長與價格。",ja:"生徒が予約できるレッスンの時間と料金を設定します。",en:"Set the durations and prices students can book.",fr:"Set the durations and prices students can book.",de:"Set the durations and prices students can book."},"schedule.offerings.minutes":{ko:"분",zh:"分钟","zh-TW":"分鐘",ja:"分",en:"min",fr:"min",de:"min"},"schedule.recurring.help":{ko:"학생이 예약할 수 있는 매주 반복되는 시간대를 설정합니다.",zh:"设置每周重复的可预约时段。","zh-TW":"設定每週重複的可預約時段。",ja:"生徒が予約できる毎週の対応時間を設定します。",en:"Define the weekly recurring windows when students can book lessons.",fr:"Define the weekly recurring windows when students can book lessons.",de:"Define the weekly recurring windows when students can book lessons."},"schedule.recurring.add":{ko:"+ 시간 추가",zh:"+ 添加时段","zh-TW":"+ 新增時段",ja:"+ 時間を追加",en:"+ Add window",fr:"+ Ajouter un créneau",de:"+ Zeitfenster hinzufügen"},"schedule.recurring.remove":{ko:"시간 삭제",zh:"删除时段","zh-TW":"刪除時段",ja:"時間を削除",en:"Remove window",fr:"Remove window",de:"Remove window"},"schedule.weekday.sun":{ko:"일",zh:"日","zh-TW":"日",ja:"日",en:"Sun",fr:"Dim",de:"So"},"schedule.weekday.mon":{ko:"월",zh:"一","zh-TW":"一",ja:"月",en:"Mon",fr:"Lun",de:"Mo"},"schedule.weekday.tue":{ko:"화",zh:"二","zh-TW":"二",ja:"火",en:"Tue",fr:"Mar",de:"Di"},"schedule.weekday.wed":{ko:"수",zh:"三","zh-TW":"三",ja:"æ°´",en:"Wed",fr:"Mer",de:"Mi"},"schedule.weekday.thu":{ko:"목",zh:"四","zh-TW":"四",ja:"木",en:"Thu",fr:"Jeu",de:"Do"},"schedule.weekday.fri":{ko:"금",zh:"五","zh-TW":"五",ja:"金",en:"Fri",fr:"Ven",de:"Fr"},"schedule.weekday.sat":{ko:"토",zh:"六","zh-TW":"六",ja:"土",en:"Sat",fr:"Sam",de:"Sa"},"schedule.tz.korea":{ko:"한국 시간 (KST)",zh:"韩国时间 (KST)","zh-TW":"韓國時間 (KST)",ja:"韓国時間 (KST)",en:"Korea Time (KST)",fr:"Korea Time (KST)",de:"Korea Time (KST)"},"schedule.tz.china":{ko:"중국 시간 (CST)",zh:"中国时间 (CST)","zh-TW":"中國時間 (CST)",ja:"中国時間 (CST)",en:"China Time (CST)",fr:"China Time (CST)",de:"China Time (CST)"},"schedule.tz.japan":{ko:"일본 시간 (JST)",zh:"日本时间 (JST)","zh-TW":"日本時間 (JST)",ja:"日本時間 (JST)",en:"Japan Time (JST)",fr:"Japan Time (JST)",de:"Japan Time (JST)"},"schedule.tz.taiwan":{ko:"대만 시간",zh:"台湾时间","zh-TW":"臺灣時間",ja:"台湾時間",en:"Taiwan Time",fr:"Taiwan Time",de:"Taiwan Time"},"schedule.tz.hongKong":{ko:"홍콩 시간",zh:"香港时间","zh-TW":"香港時間",ja:"香港時間",en:"Hong Kong Time",fr:"Hong Kong Time",de:"Hong Kong Time"},"schedule.tz.singapore":{ko:"싱가포르 시간",zh:"新加坡时间","zh-TW":"新加坡時間",ja:"シンガポール時間",en:"Singapore Time",fr:"Singapore Time",de:"Singapore Time"},"schedule.tz.sydney":{ko:"시드니 시간",zh:"悉尼时间","zh-TW":"悉尼時間",ja:"シドニー時間",en:"Sydney Time",fr:"Sydney Time",de:"Sydney Time"},"schedule.tz.london":{ko:"런던 시간",zh:"伦敦时间","zh-TW":"倫敦時間",ja:"ロンドン時間",en:"London Time",fr:"London Time",de:"London Time"},"schedule.tz.berlin":{ko:"베를린 시간 (CET)",zh:"柏林时间 (CET)","zh-TW":"柏林時間 (CET)",ja:"ベルリン時間 (CET)",en:"Berlin Time (CET)",fr:"Berlin Time (CET)",de:"Berlin Time (CET)"},"schedule.tz.usEast":{ko:"미 동부 시간",zh:"美东时间","zh-TW":"美æ
92±æ™‚é–“",ja:"米東部時間",en:"US Eastern",fr:"US Eastern",de:"US Eastern"},"schedule.tz.usWest":{ko:"미 서부 시간",zh:"美西时间","zh-TW":"美西時間",ja:"米西部時間",en:"US Pacific",fr:"US Pacific",de:"US Pacific"},"schedule.tz.other":{ko:"기타",zh:"其他","zh-TW":"其他",ja:"その他",en:"Other",fr:"Other",de:"Other"},"schedule.lessonTypes.title":{ko:"레슨 종류 (선택)",zh:"课程类型(可选)","zh-TW":"課程型別(可選)",ja:"レッスンタイプ(任意)",en:"Lesson types (optional)",fr:"Lesson types (optional)",de:"Lesson types (optional)"},"schedule.lessonTypes.gameReview":{ko:"복기 (대국 검토)",zh:"复盘(对局讲解)","zh-TW":"覆盤(對局講解)",ja:"棋譜検討",en:"Game review",fr:"Analyse de partie",de:"Partieanalyse"},"schedule.lessonTypes.teachingGameWithReview":{ko:"지도기 + 복기",zh:"指导棋 + 复盘","zh-TW":"指導棋 + 覆盤",ja:"指導碁 + 検討",en:"Teaching game + review",fr:"Teaching game + review",de:"Teaching game + review"},"schedule.lessonTypes.topicLecture":{ko:"주제 강의",zh:"专题讲座","zh-TW":"專題講座",ja:"テーマ講義",en:"Topic lecture",fr:"Topic lecture",de:"Topic lecture"},"profile.modal.title":{ko:"한 가지만 확인할게요",zh:"请补充一下","zh-TW":"請補充一下",ja:"少しだけ確認させてください",en:"One quick thing",fr:"One quick thing",de:"One quick thing"},"profile.modal.subtitle.chat":{ko:"{teacher_name} 선생님이 누가 메시지를 보내는지 알 수 있도록 이름과 선호 언어를 알려주세요.",zh:"请填写姓名和偏好语言,让 {teacher_name} 老师知道是谁在发消息。","zh-TW":"請填寫姓名和偏好語言,讓 {teacher_name} 老師知道是誰在發訊息。",ja:"{teacher_name} 先生に誰からのメッセージか分かるよう、お名前と希望言語を教えてください。",en:"We need your name and preferred language so {teacher_name} knows who's writing.",fr:"We need your name and preferred language so {teacher_name} knows who's writing.",de:"We need your name and preferred language so {teacher_name} knows who's writing."},"profile.modal.subtitle.booking":{ko:"{teacher_name} 선생님이 수업을 확정할 수 있도록 이름과 선호 언어를 알려주세요.",zh:"请填写姓名和偏好语言,以便 {teacher_name} 老师确认课程。","zh-TW":"請填寫姓名和偏好語言,以便 {teacher_name} 老師確認課程。",ja:"{teacher_name} 先生にレッスンを確定してもらうため、お名前と希望言語を教えてください。",en:"We need your name and preferred language so {teacher_name} can confirm your lesson.",fr:"We need your name and preferred language so {teacher_name} can confirm your lesson.",de:"We need your name and preferred language so {teacher_name} can confirm your lesson."},"profile.modal.subtitle.default":{ko:"선생님이 학생을 알아볼 수 있도록 이름과 선호 언어를 알려주세요.",zh:"请填写姓名和偏好语言,让老师能正确称呼您。","zh-TW":"請填寫姓名和偏好語言,讓老師能正確稱呼您。",ja:"先生があなたを正しく呼べるよう、お名前と希望言語を教えてください。",en:"We need your name and preferred language so teachers can address you properly.",fr:"We need your name and preferred language so teachers can address you properly.",de:"We need your name and preferred language so teachers can address you properly."},"profile.modal.field.displayName":{ko:"표시 이름",zh:"显示名称","zh-TW":"顯示名稱",ja:"表示名",en:"Display name",fr:"Display name",de:"Display name"},"profile.modal.field.displayNameHelp":{ko:"선생님에게 보이는 이름입니다",zh:"老师将看到的名称","zh-TW":"老師將看到的名稱",ja:"先生に表示される名前です",en:"What teachers will see",fr:"What teachers will see",de:"What teachers will see"},"profile.modal.field.preferredLang":{ko:"선호 언어",zh:"偏好语言","zh-TW":"偏好語言",ja:"希望言語",en:"Preferred language",fr:"Preferred language",de:"Preferred language"},"profile.modal.field.preferredLangHelp":{ko:"선생님 메시지를 이 언어로 번역해 드립니다.",zh:"我们会将老师的消息翻译为此语言。","zh-TW":"我們會將老師的訊息翻譯為此語言。",ja:"先生のメッセージをこの言語に翻訳します。",en:"We'll translate teacher messages into this language.",fr:"We'll translate teacher messages into this language.",de:"We'll translate teacher messages into this language."},"profile.modal.cancel":{ko:"취소",zh:"取消","zh-TW":"取消",ja:"キャンセル",en:"Cancel",fr:"Annuler",de:"Abbrechen"},"profile.modal.submit":{ko:"저장하고 계속",zh:"保存并继续","zh-TW":"儲存並繼續",ja:"保存して続ける",en:"Save and continue",fr:"Save and continue",de:"Save and continue"},"profile.modal.submitting":{ko:"저장 중…",zh:"保存中…","zh-TW":"儲存中…",ja:"保存中…",en:"Saving…",fr:"Saving…",de:"Saving…"},"profile.modal.error.serverError":{ko:"저장하지 못했습니다. 다시 시도해 주세요.",zh:"保存失败,请重试。","zh-TW":"儲存失敗,請重試。",ja:"保存できませんでした。もう一度お試しください。",en:"
92Could not save. Please try again.",fr:"Could not save. Please try again.",de:"Could not save. Please try again."},"profile.modal.error.network":{ko:"네트워크 오류입니다. 연결을 확인하고 다시 시도해 주세요.",zh:"网络错误,请检查您的连接后重试。","zh-TW":"網路錯誤,請檢查您的連線後重試。",ja:"ネットワークエラーです。接続をご確認のうえ、もう一度お試しください。",en:"Network error. Please check your connection and try again.",fr:"Network error. Please check your connection and try again.",de:"Network error. Please check your connection and try again."},"profile.modal.error.validation":{ko:"입력 내용을 확인해 주세요.",zh:"请检查您填写的内容。","zh-TW":"請檢查您填寫的內容。",ja:"入力内容をご確認ください。",en:"Please check your name and language selection.",fr:"Please check your name and language selection.",de:"Please check your name and language selection."},"profile.banner.message.student":{ko:"프로필이 비어 있습니다. 이름과 선호 언어를 입력하면 선생님이 학생을 정확히 알아볼 수 있습니다.",zh:"您的资料尚未填写。请补充姓名和偏好语言,老师才能正确称呼您。","zh-TW":"您的資料尚未填寫。請補充姓名和偏好語言,老師才能正確稱呼您。",ja:"プロフィールが未完了です。お名前と希望言語を入力すると、先生があなたを正しく呼べるようになります。",en:"Your profile is incomplete. Add your name and preferred language so teachers can address you properly.",fr:"Your profile is incomplete. Add your name and preferred language so teachers can address you properly.",de:"Your profile is incomplete. Add your name and preferred language so teachers can address you properly."},"profile.banner.message.teacher":{ko:"프로필이 비어 있습니다. 이름과 가르치는 언어를 입력해 주세요.",zh:"您的资料尚未填写。请补充姓名以及您教授的语言。","zh-TW":"您的資料尚未填寫。請補充姓名以及您教授的語言。",ja:"プロフィールが未完了です。お名前と教える言語を入力してください。",en:"Your profile is incomplete. Add your name and the languages you teach in.",fr:"Your profile is incomplete. Add your name and the languages you teach in.",de:"Your profile is incomplete. Add your name and the languages you teach in."},"profile.banner.cta":{ko:"지금 작성",zh:"立即填写","zh-TW":"立即填寫",ja:"今すぐ完了",en:"Complete now",fr:"Complete now",de:"Complete now"},"mylessons.upcoming.title":{ko:"예정된 레슨",zh:"即将到来的预约","zh-TW":"即將到來的預約",ja:"今後の予約",en:"Upcoming bookings",fr:"Upcoming bookings",de:"Upcoming bookings"},"mylessons.upcoming.empty":{ko:"예정된 레슨이 없습니다.",zh:"暂无预约。","zh-TW":"暫無預約。",ja:"今後の予約はありません。",en:"No upcoming bookings.",fr:"No upcoming bookings.",de:"No upcoming bookings."},"mylessons.completed.title":{ko:"지난 레슨",zh:"已完成的课程","zh-TW":"已完成的課程",ja:"完了したレッスン",en:"Completed bookings",fr:"Completed bookings",de:"Completed bookings"},"mylessons.completed.empty":{ko:"아직 완료된 레슨이 없습니다.",zh:"暂无已完成的课程。","zh-TW":"暫無已完成的課程。",ja:"完了したレッスンはまだありません。",en:"No completed bookings yet.",fr:"No completed bookings yet.",de:"No completed bookings yet."},"mylessons.completed.viewRecord":{ko:"레슨 기록 보기 →",zh:"查看课程记录 →","zh-TW":"查看課程記錄 →",ja:"レッスン記録を見る →",en:"View lesson record →",fr:"View lesson record →",de:"View lesson record →"},"mylessons.upcoming.join":{ko:"레슨 입장",zh:"加入课程","zh-TW":"加入課程",ja:"レッスンに参加",en:"Join lesson",fr:"Join lesson",de:"Join lesson"},"mylessons.upcoming.joining":{ko:"입장 중…",zh:"正在进入…","zh-TW":"正在進入…",ja:"参加中…",en:"Joining…",fr:"Inscription…",de:"Eintragen…"},"mylessons.upcoming.joinError":{ko:"레슨에 입장하지 못했습니다. 다시 시도해 주세요.",zh:"无法
92进入课程,请重试。","zh-TW":"無法進入課程,請重試。",ja:"レッスンに参加できませんでした。もう一度お試しください。",en:"Couldn't join the lesson. Please try again.",fr:"Couldn't join the lesson. Please try again.",de:"Couldn't join the lesson. Please try again."},"mylessons.reconvene.heading":{ko:"복습을 기다리고 있어요",zh:"您的复盘已就绪","zh-TW":"您的覆盤已就緒",ja:"復習の準備ができました",en:"Ready for your review",fr:"Ready for your review",de:"Ready for your review"},"mylessons.reconvene.joinCta":{ko:"복습 입장",zh:"进入复盘","zh-TW":"進入覆盤",ja:"復習に参加",en:"Join review",fr:"Join review",de:"Join review"},"mylessons.reconvene.joinError":{ko:"복습 방을 열지 못했어요. 다시 시도해 주세요.",zh:"无法打开复盘教室,请重试。","zh-TW":"無法開啟覆盤教室,請重試。",ja:"復習ルームを開けませんでした。もう一度お試しください。",en:"Couldn't open the review room. Please try again.",fr:"Couldn't open the review room. Please try again.",de:"Couldn't open the review room. Please try again."},"mylessons.reconvene.captionReady":{ko:"선생님이 방에 계실 수 있어요 — 지금 입장하세요.",zh:"老师可能已在教室中 — 立即进入。","zh-TW":"老師可能已在教室中 — 立即進入。",ja:"先生が入室しているかもしれません — 今すぐ参加しましょう。",en:"Your teacher may be in the room — join now.",fr:"Your teacher may be in the room — join now.",de:"Your teacher may be in the room — join now."},"mylessons.reconvene.captionReenter":{ko:"언제든 다시 입장할 수 있어요 — 복습이 아직 끝나지 않았습니다.",zh:"随时可以再次进入 — 您的复盘尚未结束。","zh-TW":"隨時可以再次進入 — 您的覆盤尚未結束。",ja:"いつでも再入室できます — 復習はまだ終わっていません。",en:"Re-enter anytime — your review isn't finished yet.",fr:"Re-enter anytime — your review isn't finished yet.",de:"Re-enter anytime — your review isn't finished yet."},"mylessons.detail.gamesHeading":{ko:"이번 레슨의 대국",zh:"本课对局","zh-TW":"本課對局",ja:"このレッスンの対局",en:"Games from this lesson",fr:"Games from this lesson",de:"Games from this lesson"},"mylessons.detail.gameNoResult":{ko:"결과 없음",zh:"无结果","zh-TW":"無結果",ja:"結果なし",en:"No result",fr:"No result",de:"No result"},"mylessons.detail.downloadSgf":{ko:"SGF 다운로드",zh:"下载 SGF","zh-TW":"下載 SGF",ja:"SGFをダウンロード",en:"Download SGF",fr:"Download SGF",de:"Download SGF"},"mylessons.detail.downloadSgfFor":{ko:"SGF 다운로드 ({label})",zh:"下载 SGF({label})","zh-TW":"下載 SGF({label})",ja:"SGFをダウンロード({label})",en:"Download SGF ({label})",fr:"Download SGF ({label})",de:"Download SGF ({label})"},"mylessons.detail.reviewedHeading":{ko:"복기된 대국",zh:"复盘棋谱","zh-TW":"覆盤棋譜",ja:"検討した対局",en:"Reviewed game",fr:"Reviewed game",de:"Reviewed game"},"mylessons.detail.downloadReviewed":{ko:"복기 SGF 다운로드",zh:"下载复盘 SGF","zh-TW":"下載覆盤 SGF",ja:"検討SGFをダウンロード",en:"Download reviewed SGF",fr:"Download reviewed SGF",de:"Download reviewed SGF"},"mylessons.upcoming.cancel":{ko:"취소",zh:"取消","zh-TW":"取消",ja:"キャンセル",en:"Cancel",fr:"Annuler",de:"Abbrechen"},"mylessons.upcoming.chatWith":{ko:"{name}님과 대화",zh:"与 {name} 聊天","zh-TW":"與 {name} 聊天",ja:"{name} とチャット",en:"Chat with {name}",fr:"Chat with {name}",de:"Chat with {name}"},"mylessons.upcoming.addToCalendar":{ko:"캘린더에 추가",zh:"添加到日历","zh-TW":"新增到日曆",ja:"カレンダーに追加",en:"Add to calendar",fr:"Add to calendar",de:"Add to calendar"},"mylessons.upcoming.statusPill.pendingPayment":{ko:"결제 대기",zh:"等待付款","zh-TW":"等待付款",ja:"支払い待ち",en:"Awaiting payment",fr:"En attente de paiement",de:"Zahlung ausstehend"},"mylessons.upcoming.joinWindowFootnote":{ko:"“레슨 입장” 버튼은 시작 {minutes}분 전부터 활성화됩니다.",zh:"“加入课程”按钮将在开始前 {minutes} 分钟开放。","zh-TW":"“加入課程”按鈕將在開始前 {minutes} 分鐘開放。",ja:"「レッスンに参加」ボタンは開始 {minutes} 分前から有効になります。",en:"The “Join lesson” button becomes available {minutes} minutes before the lesson starts.",fr:"The “Join lesson” button becomes available {minutes} minutes before the lesson starts.",de:"The “Join lesson” button becomes available {minutes} minutes before the lesson starts."},"mylessons.upcoming.steps.coordinate":{ko:"사전 조율",zh:"协商设置","zh-TW":"協商設定",ja:"事前打ち合わせ",en:"Coordinate setup",fr:"Coordinate setup",de:"Coordinate setup"},"mylessons.upcoming.steps.playReview":{ko:"대국과 복기",zh:"对局与复盘","zh-TW":"對局與覆盤",ja:"対局と検討",en:"Play and review",fr:"Play and review",de:"Play and review"},"mylessons.upcoming.steps.playReviewHint":{ko:"교실 바둑판에서 함께 두고 그 자리에서 바로 복기까지 — 별도의 바둑 서버가 필요 없습니다.",zh:"在课堂棋盘上一起对局,并就地复盘 —— 无需另开围棋平台。","zh-TW":"在課堂棋盤上一起對局,並就地覆盤 —— 無需另開圍棋平臺。",ja:"教室の碁盤で一緒に対局し、そのまま検討まで — 別の囲碁サーバーは不要です。",en:"Play your game and review it together on the classroom board — no separate Go server needed",fr:"Play your game and review it together on the classroom board — no separate Go server needed",de:"Play your game and review it together on the classroom board — no separate Go server needed"},"mylessons.upcoming.ics.summaryWithType":{ko:"{name}님과 {type}",zh:"与 {name} 的{type}","zh-TW":"與 {name} 的{type}",ja:"{name} との{type}",en:"{type} with {name}",fr:"{type} with {name}",de:"{type} with {name}"},"mylessons.upcoming.ics.summaryNoType":{ko:"{name}님과 바둑 레슨",zh:"与 {name} 的围棋课程","zh-TW":"與 {name} 的圍棋課程",ja:"{name} との囲碁レッスン",en:"Baduk lesson with {name}",fr:"Baduk lesson with {name}",de:"Baduk lesson with {name}"},"mylessons.upcoming.ics.descriptionWithType":{ko:"Baduk Teacher 예약 — {type}, {duration}분",zh:"Baduk Teacher 预约 — {type},{duration} 分钟","zh-TW":"Baduk Teacher 預約 — {type},{duration} 分鐘",ja:"Baduk Teacher の予約 — {type}、{duration}分",en:"Baduk Teacher booking — {type}, {duration} min",fr:"Baduk Teacher booking — {type}, {duration} min",de:"Baduk Teacher booking — {type}, {duration} min"},"mylessons.upcoming.ics.descriptionNoType":{ko:"Baduk Teacher 예약 — {duration}분",zh:"Baduk Teacher 预约 — {duration} 分钟","zh-TW":"Baduk Teacher 預約 — {duration} 分鐘",ja:"Baduk Teacher の予約 — {duration}分",en:"Baduk Teacher booking — {duration} min",fr:"Baduk Teacher booking — {duration} min",de:"Baduk Teacher booking — {duration} min"},"mylessons.cancel.title":{ko:"레슨 취소",zh:"取消课程","zh-TW":"取消課程",ja:"レッスンをキャンセル",en:"Cancel lesson?",fr:"Cancel lesson?",de:"Cancel lesson?"},"mylessons.cancel.titlePending":{ko:"예약 취소",zh:"取消预约","zh-TW":"取消預約",ja:"予約をキャンセル",en:"Cancel booking?",fr:"Cancel booking?",de:"Cancel booking?"},"mylessons.cancel.refundFullStudent":{ko:"{teacher} 선생님과의 {date} 레슨을 취소하시겠습니까? ${amount}이(가) 계정 크레딧으로 적립되며, 다음 예약 시 사용할 수 있어요.",zh:"取消与 {teacher} 老师在 {date} 的课程?${amount} 将以账户积分形式入账,可在下次预约时使用。","zh-TW":"取消與 {teacher} 老師在 {date} 的課程?${amount} 將以帳戶積分形式入帳,可在下次預約時使用。",ja:"{teacher} 先生との {date} のレッスンをキャンセルしますか?${amount} はアカウントクレジットとして入金され、次回の予約に利用できます。",en:"
92Cancel your lesson with {teacher} on {date}? ${amount} will be credited to your account, redeemable on future bookings.",fr:"Cancel your lesson with {teacher} on {date}? ${amount} will be credited to your account, redeemable on future bookings.",de:"Cancel your lesson with {teacher} on {date}? ${amount} will be credited to your account, redeemable on future bookings."},"mylessons.cancel.forfeit":{ko:"{teacher} 선생님과의 {date} 레슨을 취소하시겠습니까? 레슨 시작까지 24시간 미만이라 환불되지 않습니다.",zh:"取消与 {teacher} 老师在 {date} 的课程?因距离开课不到 24 小时,将不予退款。","zh-TW":"取消與 {teacher} 老師在 {date} 的課程?因距離開課不到 24 小時,將不予退款。",ja:"{teacher} 先生との {date} のレッスンをキャンセルしますか?レッスン開始まで 24 時間未満のため、返金されません。",en:"Cancel your lesson with {teacher} on {date}? Because the lesson starts in less than 24 hours, the lesson fee will not be refunded.",fr:"Cancel your lesson with {teacher} on {date}? Because the lesson starts in less than 24 hours, the lesson fee will not be refunded.",de:"Cancel your lesson with {teacher} on {date}? Because the lesson starts in less than 24 hours, the lesson fee will not be refunded."},"mylessons.cancel.refundFullTeacher":{ko:"{student} 학생과의 {date} 레슨을 취소하시겠습니까? 학생에게 ${amount}이(가) 계정 크레딧으로 적립되어 다음 예약 시 사용할 수 있게 됩니다.",zh:"取消与 {student} 学员在 {date} 的课程?${amount} 将以账户积分形式入账给学员,可在下次预约时使用。","zh-TW":"取消與 {student} 學員在 {date} 的課程?${amount} 將以帳戶積分形式入帳給學員,可在下次預約時使用。",ja:"{student} 生徒との {date} のレッスンをキャンセルしますか?${amount} は生徒のアカウントクレジットとして入金され、次回の予約に利用できます。",en:"
92Cancel your lesson with {student} on {date}? ${amount} will be credited to the student's account, redeemable on future bookings.",fr:"Cancel your lesson with {student} on {date}? ${amount} will be credited to the student's account, redeemable on future bookings.",de:"Cancel your lesson with {student} on {date}? ${amount} will be credited to the student's account, redeemable on future bookings."},"mylessons.cancel.noChargeYet":{ko:"아직 결제되지 않은 예약을 취소하시겠습니까?",zh:"取消尚未付款的预约?","zh-TW":"取消尚未付款的預約?",ja:"まだ支払いが完了していない予約をキャンセルしますか?",en:"Cancel this unconfirmed booking? No payment has been processed yet.",fr:"Cancel this unconfirmed booking? No payment has been processed yet.",de:"Cancel this unconfirmed booking? No payment has been processed yet."},"mylessons.cancel.confirmRefund":{ko:"취소 및 크레딧 적립",zh:"取消并积分入账","zh-TW":"取消並積分入帳",ja:"キャンセルしてクレジット付与",en:"Cancel and credit my account",fr:"Cancel and credit my account",de:"Cancel and credit my account"},"mylessons.cancel.confirmRefundTeacher":{ko:"취소 및 학생에게 크레딧 적립",zh:"取消并向学员入账积分","zh-TW":"取消並向學員入帳積分",ja:"キャンセルして生徒にクレジット付与",en:"Cancel and credit the student",fr:"Cancel and credit the student",de:"Cancel and credit the student"},"mylessons.cancel.confirmForfeit":{ko:"환불 없이 취소",zh:"不退款取消","zh-TW":"不退款取消",ja:"返金なしでキャンセル",en:"Cancel without refund",fr:"Cancel without refund",de:"Cancel without refund"},"mylessons.cancel.confirmNoCharge":{ko:"예약 취소",zh:"取消预约","zh-TW":"取消預約",ja:"予約をキャンセル",en:"Cancel booking",fr:"Cancel booking",de:"Cancel booking"},"mylessons.cancel.dismiss":{ko:"돌아가기",zh:"返回","zh-TW":"返回",ja:"戻る",en:"Keep booking",fr:"Keep booking",de:"Keep booking"},"mylessons.cancel.errorGeneric":{ko:"취소하지 못했습니다. 다시 시도해주세요.",zh:"取消失败,请重试。","zh-TW":"取消失敗,請重試。",ja:"キャンセルできませんでした。もう一度お試しください。",en:"Couldn't cancel — please try again.",fr:"Couldn't cancel — please try again.",de:"Couldn't cancel — please try again."},"mylessons.cancel.errorTerminal":{ko:"이 예약은 더 이상 취소할 수 없습니다.",zh:"此预约已无法取消。","zh-TW":"此預約已無法取消。",ja:"この予約はキャンセルできない状態です。",en:"This booking can't be cancelled — its lesson may have already started or finished.",fr:"This booking can't be cancelled — its lesson may have already started or finished.",de:"This booking can't be cancelled — its lesson may have already started or finished."},"mylessons.credits.balanceLabel":{ko:"계정 크레딧",zh:"账户积分","zh-TW":"帳戶積分",ja:"アカウントクレジット",en:"Account credit",fr:"Account credit",de:"Account credit"},"mylessons.credits.balanceHint":{ko:"다음 예약 시 자동으로 사용됩니다.",zh:"下次预约时将自动使用。","zh-TW":"下次預約時將自動使用。",ja:"次回の予約時に自動で使用されます。",en:"Applied automatically to your next booking.",fr:"Applied automatically to your next booking.",de:"Applied automatically to your next booking."},"booking.payment.creditApplied":{ko:"크레딧 ${amount} 사용",zh:"使用积分 ${amount}","zh-TW":"使用積分 ${amount}",ja:"クレジット ${amount} 利用",en:"Apply ${amount} in credits",fr:"Apply ${amount} in credits",de:"Apply ${amount} in credits"},"booking.payment.cashRemainder":{ko:"카드 결제 ${amount}",zh:"银行卡支付 ${amount}","zh-TW":"銀行卡支付 ${amount}",ja:"カード請求 ${amount}",en:"${amount} charged to your card",fr:"${amount} charged to your card",de:"${amount} charged to your card"},"booking.payment.fullyCovered":{ko:"크레딧으로 전액 결제됩니다 — 카드 결제 없음",zh:"由积分全额支付 — 无需扣卡","zh-TW":"由積分全額支付 — 無需扣卡",ja:"クレジットで全額カバー — カード請求なし",en:"Fully covered by credits — no card charge",fr:"Fully covered by credits — no card charge",de:"Fully covered by credits — no card charge"},"booking.payment.payNowCash":{ko:"${amount} 결제하기",zh:"支付 ${amount}","zh-TW":"支付 ${amount}",ja:"${amount} を支払う",en:"Pay ${amount}",fr:"Pay ${amount}",de:"Pay ${amount}"},"booking.payment.confirmWithCredits":{ko:"크레딧으로 확정",zh:"使用积分确认","zh-TW":"使用積分確認",ja:"クレジットで確定",en:"Confirm with credits",fr:"Confirm with credits",de:"Confirm with credits"},"mylessons.teacher.pendingRequests.heading":{ko:"대기 중인 요청",zh:"待处理的请求","zh-TW":"待處理的請求",ja:"承認待ちのリクエスト",en:"Pending requests",fr:"Pending requests",de:"Pending requests"},"mylessons.teacher.pendingRequests.empty":{ko:"대기 중인 요청이 없습니다",zh:"暂无待处理的请求","zh-TW":"暫無待處理的請求",ja:"承認待ちのリクエストはありません",en:"No pending requests",fr:"No pending requests",de:"No pending requests"},"mylessons.teacher.pendingRequests.deadlineHours":{ko:"응답까지 {hours}시간 남음",zh:"还有 {hours} 小时回复","zh-TW":"還有 {hours} 小時回覆",ja:"あと{hours}時間で返答",en:"{hours}h left to respond",fr:"{hours}h left to respond",de:"{hours}h left to respond"},"mylessons.teacher.pendingRequests.chatWithStudent":{ko:"{student} 학생과 채팅",zh:"与 {student} 学生聊天","zh-TW":"與 {student} 學生聊天",ja:"{student} さんとチャット",en:"Chat with {student}",fr:"Chat with {student}",de:"Chat with {student}"},"mylessons.teacher.pendingRequests.acceptCta":{ko:"수락",zh:"接受","zh-TW":"接受",ja:"承認",en:"Accept",fr:"Accept",de:"Accept"},"mylessons.teacher.pendingRequests.acceptInProgress":{ko:"수락 중…",zh:"接受中…","zh-TW":"接受中…",ja:"承認中…",en:"Accepting…",fr:"Accepting…",de:"Accepting…"},"mylessons.teacher.pendingRequests.acceptError":{ko:"예약을 수락하지 못했습니다. 다시 시도해 주세요.",zh:"无法接受预约,请重试。","zh-TW":"無法接受預約,請重試。",ja:"予約を承認できませんでした。もう一度お試しください。",en:"
92Couldn't accept the booking. Please try again.",fr:"Couldn't accept the booking. Please try again.",de:"Couldn't accept the booking. Please try again."},"mylessons.teacher.pendingRequests.rejectCta":{ko:"거절",zh:"拒绝","zh-TW":"拒絕",ja:"お断り",en:"Reject",fr:"Reject",de:"Reject"},"mylessons.teacher.pendingRequests.rejectInProgress":{ko:"거절 중…",zh:"拒绝中…","zh-TW":"拒絕中…",ja:"お断り中…",en:"Rejecting…",fr:"Rejecting…",de:"Rejecting…"},"mylessons.teacher.pendingRequests.rejectError":{ko:"예약을 거절하지 못했습니다. 다시 시도해 주세요.",zh:"无法拒绝预约,请重试。","zh-TW":"無法拒絕預約,請重試。",ja:"予約をお断りできませんでした。もう一度お試しください。",en:"Couldn't reject the booking. Please try again.",fr:"Couldn't reject the booking. Please try again.",de:"Couldn't reject the booking. Please try again."},"mylessons.teacher.pendingRequests.openChat":{ko:"채팅 열기",zh:"打开聊天","zh-TW":"開啟聊天",ja:"チャットを開く",en:"Open chat",fr:"Open chat",de:"Open chat"},"mylessons.teacher.pendingRequests.lessonTypeLabel":{ko:"종류",zh:"类型","zh-TW":"型別",ja:"種類",en:"Type",fr:"Type",de:"Type"},"mylessons.teacher.pendingRequests.reasonInputLabel":{ko:"사유 (선택, 학생에게 표시됩니다)",zh:"原因(可选,会显示给学生)","zh-TW":"原因(可選,會顯示給學生)",ja:"理由(任意、生徒に表示されます)",en:"Reason (optional, shown to student)",fr:"Reason (optional, shown to student)",de:"Reason (optional, shown to student)"},"mylessons.teacher.pendingRequests.reasonInputPlaceholder":{ko:"예: 제 단급 범위와 ë§
92žì§€ 않습니다",zh:"例如:超出我的段位范围","zh-TW":"例如:超出我的段位範圍",ja:"例: 私の対応段位の範囲外です",en:"e.g., outside my rank range",fr:"e.g., outside my rank range",de:"e.g., outside my rank range"},"mylessons.teacher.pendingRequests.rejectModalTitle":{ko:"예약 요청 거절",zh:"拒绝预约请求","zh-TW":"拒絕預約請求",ja:"予約リクエストをお断りする",en:"Reject booking request",fr:"Reject booking request",de:"Reject booking request"},"mylessons.teacher.pendingRequests.submitReject":{ko:"거절",zh:"拒绝","zh-TW":"拒絕",ja:"お断り",en:"Reject",fr:"Reject",de:"Reject"},"mylessons.teacher.pendingRequests.cancelReject":{ko:"취소",zh:"取消","zh-TW":"取消",ja:"キャンセル",en:"Cancel",fr:"Annuler",de:"Abbrechen"},"mylessons.teacher.pendingRequests.reasonCharCount":{ko:"{count}/500",zh:"{count}/500","zh-TW":"{count}/500",ja:"{count}/500",en:"{count}/500",fr:"{count}/500",de:"{count}/500"},"mylessons.teacher.pendingPayment.heading":{ko:"학생 결제 대기 중",zh:"等待学生付款","zh-TW":"等待學生付款",ja:"生徒の支払い待ち",en:"Awaiting student payment",fr:"Paiement de l'élève en attente",de:"Schülerzahlung ausstehend"},"mylessons.teacher.pendingPayment.deadlineLine":{ko:"학생은 {time}까지 결제해야 합니다",zh:"学生须在 {time} 之前付款","zh-TW":"學生須在 {time} 之前付款",ja:"生徒は {time} までに支払いが必要です",en:"Student must pay by {time}",fr:"L'élève doit payer avant {time}",de:"Schüler muss bis {time} bezahlen"},"mylessons.teacher.pendingPayment.notPaidYet":{ko:"아직 결제되지 않음",zh:"尚未付款","zh-TW":"尚未付款",ja:"未払いです",en:"Not paid yet",fr:"Pas encore payé",de:"Noch nicht bezahlt"},"mylessons.teacher.pendingPayment.grantCta":{ko:"늦은 결제 허용",zh:"允许延后付款","zh-TW":"允許延後付款",ja:"後払いを許可",en:"Allow late payment",fr:"Autoriser le paiement tardif",de:"Spätzahlung erlauben"},"mylessons.teacher.pendingPayment.grantingCta":{ko:"허용 중…",zh:"允许中…","zh-TW":"允許中…",ja:"許可中…",en:"Granting…",fr:"Autorisation…",de:"Wird erlaubt…"},"mylessons.teacher.pendingPayment.grantError":{ko:"늦은 결제를 허용하지 못했습니다. 다시 시도해 주세요.",zh:"无法允许延后付款,请重试。","zh-TW":"無法允許延後付款,請重試。",ja:"後払いを許可できませんでした。もう一度お試しください。",en:"Couldn't allow late payment. Please try again.",fr:"Impossible d'autoriser le paiement tardif. Veuillez réessayer.",de:"Spätzahlung konnte nicht erlaubt werden. Bitte erneut versuchen."},"mylessons.teacher.pendingPayment.grantedLine":{ko:"늦은 결제 허용됨 · 학생은 {time}까지 결제해야 합니다",zh:"已允许延后付款 · 学生须在 {time} 之前付款","zh-TW":"已允許延後付款 · 學生須在 {time} 之前付款",ja:"後払いを許可しました · 生徒は {time} までに支払いが必要です",en:"Late payment allowed · student must pay by {time}",fr:"Paiement tardif autorisé · l'élève doit payer avant {time}",de:"Spätzahlung erlaubt · Schüler muss bis {time} bezahlen"},"mylessons.teacher.awaitingCompletion.heading":{ko:"완료 확인이 필요한 수업",zh:"等待确认完成的课程","zh-TW":"等待確認完成的課程",ja:"完了確認待ちのレッスン",en:"Lessons awaiting completion",fr:"Lessons awaiting completion",de:"Lessons awaiting completion"},"mylessons.teacher.awaitingCompletion.subline":{ko:"예정된 종료 시간: {time}",zh:"原定结束时间:{time}","zh-TW":"原定結束時間:{time}",ja:"予定終了時刻: {time}",en:"Lesson was scheduled to end at {time}",fr:"Lesson was scheduled to end at {time}",de:"Lesson was scheduled to end at {time}"},"mylessons.teacher.awaitingCompletion.markCompletedCta":{ko:"완료로 표시",zh:"标记为完成","zh-TW":"標記為完成",ja:"完了として記録",en:"Mark as completed",fr:"Mark as completed",de:"Mark as completed"},"mylessons.teacher.awaitingCompletion.markCompletedInProgress":{ko:"처리 중…",zh:"处理中…","zh-TW":"處理中…",ja:"処理中…",en:"Marking…",fr:"Marking…",de:"Marking…"},"mylessons.teacher.awaitingCompletion.markCompletedError":{ko:"완료로 표시하지 못했습니다. 다시 시도해 주세요.",zh:"无法标记为完成,请重试。","zh-TW":"無法標記為完成,請重試。",ja:"完了として記録できませんでした。もう一度お試しください。",en:"
92Couldn't mark this lesson as completed. Please try again.",fr:"Couldn't mark this lesson as completed. Please try again.",de:"Couldn't mark this lesson as completed. Please try again."},"mylessons.teacher.awaitingCompletion.reminder":{ko:"결제를 받으려면 이 레슨을 완료로 표시하세요.",zh:"请将此课程标记为完成以释放您的款项。","zh-TW":"請將此課程標記為完成以釋放您的款項。",ja:"お支払いを受け取るには、このレッスンを完了として記録してください。",en:"Mark this lesson done to release your payment.",fr:"Mark this lesson done to release your payment.",de:"Mark this lesson done to release your payment."},"teach.apply.title":{ko:"바둑 강사 신청",zh:"申请成为围棋老师","zh-TW":"申請成為圍棋老師",ja:"囲碁講師に申し込む",en:"Apply to teach on Baduk Teacher",fr:"Apply to teach on Baduk Teacher",de:"Apply to teach on Baduk Teacher"},"teach.apply.subtitle":{ko:"저희는 모든 강사 신청을 직접 검토하여 수업의 품질을 유지하고 있습니다.",zh:"我们会亲自审核每一份老师申请,以保证课程质量。","zh-TW":"我們會親自稽核每一份老師申請,以保證課程質量。",ja:"すべての講師の申し込みを丁寧に審査し、レッスンの品質を保っています。",en:"We review every teacher application personally to keep quality high.",fr:"We review every teacher application personally to keep quality high.",de:"We review every teacher application personally to keep quality high."},"teach.apply.field.displayName":{ko:"표시 이름",zh:"显示名称","zh-TW":"顯示名稱",ja:"表示名",en:"Display name",fr:"Display name",de:"Display name"},"teach.apply.field.rankLabel":{ko:'기력 (예: "KGS 5단", "AGA 1프로")',zh:'段位(例如:"KGS 5d"、"AGA 1p")',"zh-TW":'段位(例如:"KGS 5d"、"AGA 1p")',ja:"段位 (例: 「KGS 5段」「AGA 1プロ」)",en:'Rank (e.g. "5d KGS", "1p AGA")',fr:'Rank (e.g. "5d KGS", "1p AGA")',de:'Rank (e.g. "5d KGS", "1p AGA")'},"teach.apply.field.languages":{ko:"수업 가능한 언어",zh:"可教学的语言","zh-TW":"可教學的語言",ja:"指導できる言語",en:"Languages you can teach in",fr:"Languages you can teach in",de:"Languages you can teach in"},"teach.apply.submit":{ko:"신청서 제출",zh:"提交申请","zh-TW":"提交申請",ja:"申し込みを送信",en:"Submit application",fr:"Submit application",de:"Submit application"},"teach.apply.error.network":{ko:"제출하지 못했습니다. 다시 시도해 주세요.",zh:"提交失败,请重试。","zh-TW":"提交失敗,請重試。",ja:"送信できませんでした。もう一度お試しください。",en:"Could not submit. Please try again.",fr:"Could not submit. Please try again.",de:"Could not submit. Please try again."},"teach.pending.title":{ko:"신청서가 접수되었습니다",zh:"申请已收到","zh-TW":"申請已收到",ja:"申し込みを受け付けました",en:"Application received",fr:"Application received",de:"Application received"},"teach.pending.body":{ko:"감사합니다 — 신청서를 검토 중입니다. 보통 3일 이내에 답변드립니다.",zh:"感谢您的申请,我们正在审核。通常会在 3 天内给您回复。","zh-TW":"感謝您的申請,我們正在稽核。通常會在 3 天內給您回覆。",ja:"ありがとうございます — 申し込みを審査中です。通常3日以内にご連絡いたします。",en:"Thanks — we're reviewing your application. You'll usually hear back within 3 days.",fr:"Thanks — we're reviewing your application. You'll usually hear back within 3 days.",de:"Thanks — we're reviewing your application. You'll usually hear back within 3 days."},"teach.pending.subtitle":{ko:"그 동안에는 학생으로 Baduk Teacher를 자유롭게 이용해 주세요.",zh:"在此期间,欢迎您以学生身份使用 Baduk Teacher。","zh-TW":"在此期間,歡迎您以學生身份使用 Baduk Teacher。",ja:"その間は生徒として Baduk Teacher をご自由にご利用ください。",en:"Feel free to use Baduk Teacher as a student in the meantime.",fr:"Feel free to use Baduk Teacher as a student in the meantime.",de:"Feel free to use Baduk Teacher as a student in the meantime."},"teach.rejected.title":{ko:"신청이 승인되지 않았습니다",zh:"申请未通过","zh-TW":"申請未通過",ja:"申し込みは承認されませんでした",en:"Application not approved",fr:"Application not approved",de:"Application not approved"},"teach.rejected.body":{ko:"현재 새로운 강사를 모집하고 있지 않습니다. 논의를 원하시면 언제든 연락해 주세요.",zh:"我们目前暂不接收新老师入驻。如
92希望进一步沟通,欢迎与我们联系。","zh-TW":"我們目前暫不接收新老師入駐。如希望進一步溝通,歡迎與我們聯絡。",ja:"現在、新しい講師の受け入れは行っておりません。ご相談がありましたらお気軽にお問い合わせください。",en:"We aren't onboarding new teachers right now. Please reach out if you'd like to discuss.",fr:"We aren't onboarding new teachers right now. Please reach out if you'd like to discuss.",de:"We aren't onboarding new teachers right now. Please reach out if you'd like to discuss."},"earnings.title":{ko:"수익",zh:"收益","zh-TW":"收益",ja:"収益",en:"Earnings",fr:"Revenus",de:"Einnahmen"},"earnings.subtitle":{ko:"레슨에서 정산까지 모든 금액을 확인하세요.",zh:"追踪每一笔从课程到结算的收入。","zh-TW":"追蹤每一筆從課程到結算的收入。",ja:"レッスンから支払いまでをすべて追跡。",en:"Track every dollar from lesson to payout.",fr:"Track every dollar from lesson to payout.",de:"Track every dollar from lesson to payout."},"earnings.bucket.earned.title":{ko:"확정",zh:"已结算","zh-TW":"已結算",ja:"確定",en:"Earned",fr:"Earned",de:"Earned"},"earnings.bucket.pending.title":{ko:"대기 중",zh:"待处理","zh-TW":"待處理",ja:"保留中",en:"Pending",fr:"Pending",de:"Pending"},"earnings.bucket.transferable.title":{ko:"송금 가능",zh:"可转账","zh-TW":"可轉帳",ja:"送金可能",en:"Transferable",fr:"Transferable",de:"Transferable"},"earnings.bucket.transferred.title":{ko:"송금 완료",zh:"已转账","zh-TW":"已轉帳",ja:"送金済み",en:"Transferred",fr:"Transferred",de:"Transferred"},"earnings.bucket.earned.tooltip":{ko:"레슨이 끝나고 학생이 결제한 금액입니다. 7일 환불 기간이 지나면 ‘송금 가능’으로 이동합니다.",zh:'课程已完成且学生已付款,但仍在7天退款期内。退款期结束后会进入"可转账"。',"zh-TW":"課程已完成且學生已付款,但仍在7天退款期內。退款期結束後會進入「可轉帳」。",ja:"レッスンが終了し、生徒の支払いが完了した金額です。7日間の返金期間が過ぎると「送金可能」に移動します。",en:"Lessons completed and paid for, but still inside the 7-day refund window. They move to Transferable once the window closes.",fr:"Lessons completed and paid for, but still inside the 7-day refund window. They move to Transferable once the window closes.",de:"Lessons completed and paid for, but still inside the 7-day refund window. They move to Transferable once the window closes."},"earnings.bucket.pending.tooltip":{ko:"학생이 결제했지만 아직 끝나지 않은 레슨입니다.",zh:"学生已付款但尚未结束的课程。","zh-TW":"學生已付款但尚未結束的課程。",ja:"生徒が支払い済みで、まだ終了していないレッスンです。",en:"Paid lessons that haven't ended yet.",fr:"Paid lessons that haven't ended yet.",de:"Paid lessons that haven't ended yet."},"earnings.bucket.transferable.tooltip":{ko:"환불 기간 7일이 지나면 송금 가능 상태가 됩니다. 플랫폼이 주기적으로 직접 송금합니다.",zh:"课程在7天退款期满后会进入可转账状态,平台按周期手动结算。","zh-TW":"課程在7天退款期滿後會進入可轉帳狀態,平臺按週期手動結算。",ja:"レッスンは終了から7日後に送金可能になります。各サイクルで手動で送金します。",en:"Lessons within the 7-day refund window appear here once eligible. The platform pays out manually each cycle.",fr:"Lessons within the 7-day refund window appear here once eligible. The platform pays out manually each cycle.",de:"Lessons within the 7-day refund window appear here once eligible. The platform pays out manually each cycle."},"earnings.bucket.transferred.tooltip":{ko:"플랫폼이 이미 송금을 완료한 레슨 수익입니다. 가장 최근 송금 날짜는 카드에 표시됩니다.",zh:"平台已经向您转账的课程收入。最近一次转账的日期显示在卡片上。","zh-TW":"å¹
92³è‡ºå·²ç¶“向您轉帳的課程收入。最近一次轉帳的日期顯示在卡片上。",ja:"プラットフォームがすでに送金を完了したレッスンの収益です。直近の送金日はカードに表示されます。",en:"Lessons the platform has already paid out to you. The most recent payout date is shown on the card.",fr:"Lessons the platform has already paid out to you. The most recent payout date is shown on the card.",de:"Lessons the platform has already paid out to you. The most recent payout date is shown on the card."},"earnings.bucket.transferred.lastPaid":{ko:"최근: {date}",zh:"最近:{date}","zh-TW":"最近:{date}",ja:"最終: {date}",en:"Last: {date}",fr:"Last: {date}",de:"Last: {date}"},"earnings.bucket.lessonCount":{ko:"{count}회",zh:"{count} 节课","zh-TW":"{count} 節課",ja:"{count} レッスン",en:"{count} lessons",fr:"{count} lessons",de:"{count} lessons"},"earnings.dateFilter.last7":{ko:"최근 7일",zh:"最近 7 天","zh-TW":"最近 7 天",ja:"直近 7 日",en:"Last 7 days",fr:"Last 7 days",de:"Last 7 days"},"earnings.dateFilter.last30":{ko:"최근 30일",zh:"最近 30 天","zh-TW":"最近 30 天",ja:"直近 30 日",en:"Last 30 days",fr:"Last 30 days",de:"Last 30 days"},"earnings.dateFilter.thisMonth":{ko:"이번 달",zh:"本月","zh-TW":"本月",ja:"今月",en:"This month",fr:"This month",de:"This month"},"earnings.dateFilter.lastMonth":{ko:"지난 달",zh:"上月","zh-TW":"上月",ja:"先月",en:"Last month",fr:"Last month",de:"Last month"},"earnings.dateFilter.thisYear":{ko:"올해",zh:"今年","zh-TW":"今年",ja:"今年",en:"This year",fr:"This year",de:"This year"},"earnings.dateFilter.allTime":{ko:"전체",zh:"全部","zh-TW":"全部",ja:"全期間",en:"All time",fr:"All time",de:"All time"},"earnings.dateFilter.custom":{ko:"사용자 지정 범위…",zh:"自定义范围…","zh-TW":"自定義範圍…",ja:"カスタム範囲…",en:"Custom range…",fr:"Custom range…",de:"Custom range…"},"earnings.table.title":{ko:"레슨",zh:"课程","zh-TW":"課程",ja:"レッスン",en:"Lessons",fr:"Leçons",de:"Lektionen"},"earnings.table.col.date":{ko:"날짜",zh:"日期","zh-TW":"日期",ja:"日付",en:"Date",fr:"Date",de:"Date"},"earnings.table.col.student":{ko:"학생",zh:"学生","zh-TW":"學生",ja:"生徒",en:"Student",fr:"Élève",de:"Schüler"},"earnings.table.col.type":{ko:"유형",zh:"类型","zh-TW":"型別",ja:"タイプ",en:"Type",fr:"Type",de:"Type"},"earnings.table.col.duration":{ko:"시간",zh:"时长","zh-TW":"時長",ja:"時間",en:"Duration",fr:"Durée",de:"Dauer"},"earnings.table.col.gross":{ko:"총액",zh:"总额","zh-TW":"總額",ja:"総額",en:"Gross",fr:"Gross",de:"Gross"},"earnings.table.col.platformFee":{ko:"수수료",zh:"平台费","zh-TW":"平臺費",ja:"手数料",en:"Platform fee",fr:"Platform fee",de:"Platform fee"},"earnings.table.col.net":{ko:"순수익",zh:"净额","zh-TW":"淨額",ja:"純額",en:"Net",fr:"Net",de:"Net"},"earnings.table.col.bucket":{ko:"상태",zh:"状态","zh-TW":"狀態",ja:"状態",en:"Bucket",fr:"Bucket",de:"Bucket"},"earnings.table.lessonCount":{ko:"{count}회",zh:"{count} 节课","zh-TW":"{count} 節課",ja:"{count} レッスン",en:"{count} lessons",fr:"{count} lessons",de:"{count} lessons"},"earnings.table.filterChip":{ko:"{bucket}만",zh:"仅 {bucket}","zh-TW":"僅 {bucket}",ja:"{bucket} のみ",en:"{bucket} only",fr:"{bucket} only",de:"{bucket} only"},"earnings.table.clearFilter":{ko:"필터 지우기",zh:"清除筛选","zh-TW":"清除篩選",ja:"フィルターを解除",en:"Clear filter",fr:"Clear filter",de:"Clear filter"},"earnings.recentPayouts.title":{ko:"최근 송금 내역",zh:"最近转账记录","zh-TW":"最近轉賬記錄",ja:"最近の送金履歴",en:"Recent payouts",fr:"Recent payouts",de:"Recent payouts"},"earnings.recentPayouts.empty":{ko:"이 기간에는 송금 내역이 없습니다.",zh:"此期间没有转账记录。","zh-TW":"此期間沒有轉賬記錄。",ja:"この期間に送金履歴はありません。",en:"No payouts in this range.",fr:"No payouts in this range.",de:"No payouts in this range."},"earnings.recentPayouts.loadError":{ko:"송금 내역을 불러오지 못했습니다. 다시 시도해 주세요.",zh:"无法加载转账记录,请重试。","zh-TW":"無法載入轉帳紀錄,請重試。",ja:"送金履歴を読み込めませんでした。もう一度お試しください。",en:"
92Could not load payouts. Please try again.",fr:"Impossible de charger les versements. Veuillez réessayer.",de:"Auszahlungen konnten nicht geladen werden. Bitte versuche es erneut."},"earnings.recentPayouts.column.initiated":{ko:"시작",zh:"发起","zh-TW":"發起",ja:"開始",en:"Initiated",fr:"Initiated",de:"Initiated"},"earnings.recentPayouts.column.method":{ko:"방법",zh:"方式","zh-TW":"方式",ja:"方法",en:"Method",fr:"Method",de:"Method"},"earnings.recentPayouts.column.ref":{ko:"참조 번호",zh:"参考编号","zh-TW":"參考編號",ja:"参照番号",en:"Reference",fr:"Reference",de:"Reference"},"earnings.recentPayouts.column.earned":{ko:"USD 수익",zh:"USD 收益","zh-TW":"USD 收益",ja:"USD 収益",en:"USD earned",fr:"USD earned",de:"USD earned"},"earnings.recentPayouts.column.remittance":{ko:"송금액",zh:"汇款金额","zh-TW":"匯款金額",ja:"送金額",en:"Remittance",fr:"Remittance",de:"Remittance"},"earnings.recentPayouts.column.proof":{ko:"증빙",zh:"凭证","zh-TW":"憑證",ja:"証明",en:"Proof",fr:"Proof",de:"Proof"},"earnings.recentPayouts.column.status":{ko:"상태",zh:"状态","zh-TW":"狀態",ja:"状態",en:"Status",fr:"Status",de:"Status"},"earnings.recentPayouts.status.transferred":{ko:"{date} 송금 완료",zh:"{date} 已转账","zh-TW":"{date} 已轉賬",ja:"{date} 送金済み",en:"Transferred {date}",fr:"Transferred {date}",de:"Transferred {date}"},"earnings.recentPayouts.status.pending":{ko:"송금 대기 중",zh:"等待转账","zh-TW":"等待轉賬",ja:"送金待ち",en:"Pending transfer",fr:"Pending transfer",de:"Pending transfer"},"earnings.recentPayouts.proof.image":{ko:"이미지",zh:"图片","zh-TW":"圖片",ja:"画像",en:"Image",fr:"Image",de:"Image"},"earnings.recentPayouts.proof.note":{ko:"메모",zh:"备注","zh-TW":"備註",ja:"メモ",en:"Note",fr:"Note",de:"Note"},"earnings.table.refundedAfterPayout":{ko:"환불됨",zh:"已退款","zh-TW":"已退款",ja:"返金済み",en:"refunded",fr:"refunded",de:"refunded"},"earnings.table.disputedAfterPayout":{ko:"분쟁 중",zh:"争议中","zh-TW":"爭議中",ja:"紛争中",en:"disputed",fr:"disputed",de:"disputed"},"earnings.lessonType.gameReview":{ko:"대국 리뷰",zh:"棋谱讲评","zh-TW":"棋譜講評",ja:"棋譜検討",en:"Game review",fr:"Analyse de partie",de:"Partieanalyse"},"earnings.lessonType.teachingGameWithReview":{ko:"지도기 + 리뷰",zh:"教学对局 + 讲评","zh-TW":"教學對局 + 講評",ja:"指導碁 + 検討",en:"Teaching game",fr:"Partie pédagogique",de:"Lehrpartie"},"earnings.lessonType.topicLecture":{ko:"주제 강의",zh:"专题讲座","zh-TW":"專題講座",ja:"トピック講義",en:"Topic lecture",fr:"Topic lecture",de:"Topic lecture"},"earnings.banner.truncated":{ko:"이 기간의 처음 500개 레슨만 표시됩니다. 기간을 좁혀 모두 보세요.",zh:"当前范围内仅显示前 500 节课程,缩小日期范围以查看全部。","zh-TW":"當前範圍內僅顯示前 500 節課程,縮小日期範圍以檢視全部。",ja:"この期間の最初の500レッスンのみ表示しています。期間を絞ってすべて表示してください。",en:"Showing first 500 lessons in this range. Narrow the date filter to see everything.",fr:"Showing first 500 lessons in this range. Narrow the date filter to see everything.",de:"Showing first 500 lessons in this range. Narrow the date filter to see everything."},"earnings.empty.title":{ko:"아직 수익이 없습니다",zh:"尚无收入","zh-TW":"尚無收入",ja:"まだ収益はありません",en:"No earnings yet",fr:"No earnings yet",de:"No earnings yet"},"earnings.empty.body":{ko:"첫 레슨이 완료되는 즉시 여기에 표시됩니다.",zh:"第一节课程完成后会显示在这里。","zh-TW":"第一節課程完成後會顯示在這裡。",ja:"最初のレッスンが完了するとここに表示されます。",en:"Your first lesson will show up here as soon as it's completed.",fr:"Your first lesson will show up here as soon as it's completed.",de:"Your first lesson will show up here as soon as it's completed."},"earnings.empty.cta":{ko:"가능 시간 설정하기 →",zh:"设置可教学时间 →","zh-TW":"設定可教學時間 →",ja:"空き時間を設定する →",en:"Set your availability →",fr:"Set your availability →",de:"Set your availability →"},"earnings.error.title":{ko:"수익을 불러올 수 없습니다",zh:"无法加载收益","zh-TW":"無法載入收益",ja:"収益を読み込めません",en:"Couldn't load earnings",fr:"Couldn't load earnings",de:"Couldn't load earnings"}
92,"earnings.error.body":{ko:"데이터를 가져오는 중 오류가 발생했습니다.",zh:"获取数据时出错。","zh-TW":"獲取資料時出錯。",ja:"データの取得中にエラーが発生しました。",en:"Something went wrong fetching your data.",fr:"Something went wrong fetching your data.",de:"Something went wrong fetching your data."},"earnings.error.retry":{ko:"다시 시도",zh:"重试","zh-TW":"重試",ja:"再試行",en:"Retry",fr:"Réessayer",de:"Erneut versuchen"},"earnings.updated":{ko:"{relative} 전 업데이트",zh:"{relative}前更新","zh-TW":"{relative}前更新",ja:"{relative}前に更新",en:"Updated {relative} ago",fr:"Updated {relative} ago",de:"Updated {relative} ago"},"promo.input.signInToCheck":{en:"Sign in and verify your email to check this code. Your code will be kept.",ko:"로그인하고 이메일을 인증하면 코드를 확인할 수 있습니다. 입력한 코드는 유지됩니다.",zh:"登录并验证邮箱后即可验证此优惠码。您的优惠码将被保留。","zh-TW":"登入並驗證電子郵件後即可驗證此優惠碼。您的優惠碼將被保留。",ja:"ログインしてメール認証を完了するとコードを確認できます。入力したコードは保存されます。",fr:"Connectez-vous et vérifiez votre e-mail pour vérifier ce code. Il sera conservé.",de:"Melde dich an und bestätige deine E-Mail, um diesen Code zu prüfen. Er bleibt gespeichert."},"promo.input.loadError":{en:"Couldn't check the code. Please try again.",ko:"코드를 확인하지 못했습니다. 다시 시도해 주세요.",zh:"无法验证优惠码,请重试。","zh-TW":"無法驗證優惠碼,請重試。",ja:"コードを確認できませんでした。もう一度お試しください。",fr:"Impossible de vérifier le code. Réessayez.",de:"Der Code konnte nicht geprüft werden. Bitte versuche es erneut."},"promo.input.fixOrRemove":{en:"Check or remove the code to request your lesson.",ko:"수업을 신청하려면 코드를 확인하거나 삭제해 주세요.",zh:"请验证或移除优惠码后再申请课程。","zh-TW":"請驗證或移除優惠碼後再申請課程。",ja:"レッスンを申し込むにはコードを確認するか削除してください。",fr:"Vérifiez ou retirez le code pour demander votre cours.",de:"Prüfe oder entferne den Code, um deine Unterrichtsstunde anzufragen."},"promo.input.label":{ko:"프로모션 코드",zh:"优惠码","zh-TW":"優惠碼",ja:"プロモコード",en:"Promo code",fr:"Promo code",de:"Promo code"},"promo.input.placeholder":{ko:"WELCOME10",zh:"WELCOME10","zh-TW":"WELCOME10",ja:"WELCOME10",en:"WELCOME10",fr:"WELCOME10",de:"WELCOME10"},"promo.input.apply":{ko:"적용",zh:"应用","zh-TW":"應用",ja:"適用",en:"Apply",fr:"Apply",de:"Apply"},"promo.input.applying":{ko:"적용 중…",zh:"应用中…","zh-TW":"應用中…",ja:"適用中…",en:"Applying…",fr:"Applying…",de:"Applying…"},"promo.input.remove":{ko:"제거",zh:"移除","zh-TW":"移除",ja:"削除",en:"Remove",fr:"Supprimer",de:"Entfernen"},"promo.applied.banner":{ko:"{discount} 할인 적용됨 (총 {final})",zh:"已应用 {discount} 折扣(总计 {final})","zh-TW":"已應用 {discount} 折扣(總計 {final})",ja:"{discount}の割引を適用しました(合計 {final})",en:"{discount} discount applied (total {final})",fr:"{discount} discount applied (total {final})",de:"{discount} discount applied (total {final})"},"promo.error.not_found":{ko:"프로모션 코드를 찾을 수 없습니다",zh:"未找到优惠码","zh-TW":"未找到優惠碼",ja:"プロモコードが見つかりません",en:"Promo code not found",fr:"Promo code not found",de:"Promo code not found"},"promo.error.inactive":{ko:"이 프로모션 코드는 더 이상 사용할 수 없습니다",zh:"此优惠码已停用","zh-TW":"此優惠碼已停用",ja:"このプロモコードは無効です",en:"This promo code is no longer active",fr:"This promo code is no longer active",de:"This promo code is no longer active"},"promo.error.not_started":{ko:"이 프로모션 코드는 아직 사용할 수 없습니다",zh:"此优惠码尚未生效","zh-TW":"此優惠碼尚未生效",ja:"このプロモコードはまだ有効ではありません",en:"This promo code isn't active yet",fr:"This promo code isn't active yet",de:"This promo code isn't active yet"},"promo.error.expired":{ko:"이 프로모션 코드는 만료되었습니다",zh:"此优惠码已过期","zh-TW":"此優惠碼已過期",ja:"このプロモコードは期限切れです",en:"This promo code has expired",fr:"This promo code has expired",de:"This promo code has expired"},"promo.error.wrong_teacher":{ko:"이 선생님에게는 이 코드를 사용할 수 없습니다",zh:"此优惠码不适用于该老师","zh-TW":"此優惠碼不適用於該老師",ja:"この先生にはこのコードを使えません",en:"This promo code isn't valid for this teacher",fr:"This promo code isn't valid for this teacher",de:"This promo code isn't valid for this teacher"},"promo.error.wrong_lesson_type":{ko:"이 수업 유형에는 이 코드를 사용할 수 없습니다",zh:"此优惠码不适用于该课程类型","zh-TW":"此優惠碼不適用於該課程型別",ja:"このレッスンタイプにはこのコードを使えません",en:"This promo code isn't valid for this lesson type",fr:"This promo code isn't valid for this lesson type",de:"This promo code isn't valid for this lesson type"},"promo.error.wrong_duration":{ko:"이 수업 시간에는 이 코드를 사용할 수 없습니다",zh:"此优惠码不适用于该课程时长","zh-TW":"此優惠碼不適用於該課程時長",ja:"このレッスン時間にはこのコードを使えません",en:"This promo code isn't valid for this lesson length",fr:"This promo code isn't valid for this lesson length",de
92:"This promo code isn't valid for this lesson length"},"promo.error.min_not_met":{ko:"이 코드는 최소 가격을 충족해야 합니다",zh:"此优惠码需要达到最低金额","zh-TW":"此優惠碼需要達到最低金額",ja:"このコードは最低価格を満たす必要があります",en:"This promo code requires a higher minimum lesson price",fr:"This promo code requires a higher minimum lesson price",de:"This promo code requires a higher minimum lesson price"},"promo.error.total_quota_exhausted":{ko:"이 프로모션 코드는 모두 소진되었습니다",zh:"此优惠码已被全部领完","zh-TW":"此優惠碼已被全部領完",ja:"このプロモコードは満員です",en:"This promo code has been fully claimed",fr:"This promo code has been fully claimed",de:"This promo code has been fully claimed"},"promo.error.student_quota_exhausted":{ko:"이미 이 프로모션 코드를 사용하셨습니다",zh:"您已使用过此优惠码","zh-TW":"您已使用過此優惠碼",ja:"既にこのプロモコードを使用しています",en:"You've already used this promo code",fr:"You've already used this promo code",de:"You've already used this promo code"},"promo.error.not_first_time_student":{ko:"이 프로모션 코드는 첫 수업 학생만 사용할 수 있습니다",zh:"此优惠码仅限新学生使用","zh-TW":"此優惠碼僅限新學生使用",ja:"このプロモコードは初回利用者限定です",en:"This promo code is for first-time students only",fr:"This promo code is for first-time students only",de:"This promo code is for first-time students only"},"promo.redeem_free.button":{ko:"무료 수업 받기",zh:"领取免费课程","zh-TW":"領取免費課程",ja:"無料レッスンを受け取る",en:"Redeem free lesson",fr:"Redeem free lesson",de:"Redeem free lesson"},"promo.redeem_free.processing":{ko:"처리 중…",zh:"处理中…","zh-TW":"處理中…",ja:"処理中…",en:"Processing…",fr:"Processing…",de:"Processing…"},"payoneer.title":{en:"Payoneer payouts",ko:"Payoneer 정산",zh:"Payoneer 结算","zh-TW":"Payoneer 結算",ja:"Payoneer 支払い",fr:"Payoneer payouts",de:"Payoneer payouts"},"payoneer.subtitle":{en:"Set up Payoneer once, then request your transferable lesson balance.",ko:"Payoneer를 한 번 설정한 뒤 송금 가능 수익을 요청하세요.",zh:"先设置 Payoneer,然后申请可转账课程收入。","zh-TW":"先設定 Payoneer,然後申請可轉帳課程收
92入。",ja:"Payoneer を設定して、送金可能なレッスン収益を申請できます。",fr:"Set up Payoneer once, then request your transferable lesson balance.",de:"Set up Payoneer once, then request your transferable lesson balance."},"payoneer.status.verified":{en:"Verified",ko:"확인됨",zh:"已验证","zh-TW":"已驗證",ja:"確認済み",fr:"Verified",de:"Verified"},"payoneer.status.pendingReview":{en:"Waiting for review.",ko:"검토 대기 중입니다.",zh:"正在等待审核。","zh-TW":"正在等待稽核。",ja:"審査待ちです。",fr:"Waiting for review.",de:"Waiting for review."},"payoneer.status.rejected":{en:"Payoneer details need changes.",ko:"Payoneer 정보 수정이 필요합니다.",zh:"Payoneer 信息需要修改。","zh-TW":"Payoneer 資訊需要修改。",ja:"Payoneer 情報の修正が必要です。",fr:"Payoneer details need changes.",de:"Payoneer details need changes."},"payoneer.form.email":{en:"Payoneer email",ko:"Payoneer 이메일",zh:"Payoneer 邮箱","zh-TW":"Payoneer 郵箱",ja:"Payoneer メール",fr:"Payoneer email",de:"Payoneer email"},"payoneer.form.holderName":{en:"Account holder name",ko:"계정 소유자 이름",zh:"账户持有人姓名","zh-TW":"帳戶持有人姓名",ja:"口座名義",fr:"Account holder name",de:"Account holder name"},"payoneer.form.country":{en:"Country",ko:"국가",zh:"国家/地区","zh-TW":"國家/地區",ja:"国",fr:"Country",de:"Country"},"payoneer.form.confirmRegistered":{en:"I have registered a Payoneer account.",ko:"Payoneer 계정을 등록했습니다.",zh:"我已注册 Payoneer 账户。","zh-TW":"我已註冊 Payoneer 帳戶。",ja:"Payoneer アカウントを登録済みです。",fr:"I have registered a Payoneer account.",de:"I have registered a Payoneer account."},"payoneer.form.confirmUsd":{en:"USD receiving is enabled in Payoneer.",ko:"Payoneer에서 USD 수취를 설정했습니다.",zh:"Payoneer 已启用 USD 收款。","zh-TW":"Payoneer 已啟用 USD 收款。",ja:"Payoneer で USD 受け取りを有効にしています。",fr:"USD receiving is enabled in Payoneer.",de:"USD receiving is enabled in Payoneer."},"payoneer.form.submit":{en:"Submit Payoneer details",ko:"Payoneer 정보 제출",zh:"提交 Payoneer 信息","zh-TW":"提交 Payoneer 資訊",ja:"Payoneer 情報を送信",fr:"Submit Payoneer details",de:"Submit Payoneer details"},"payoneer.transferable":{en:"Transferable balance: {amount}",ko:"송금 가능 금액: {amount}",zh:"可转账余额:{amount}","zh-TW":"可轉帳餘額:{amount}",ja:"送金可能残高: {amount}",fr:"Transferable balance: {amount}",de:"Transferable balance: {amount}"},"payoneer.cutoff":{en:"Requests by the 5th are expected by the 15th of the same month. Later requests are expected by the 15th of next month.",ko:"매월 5일까지 요청하면 같은 달 15일까지, 이후 요청은 다음 달 15일까지 지급 예정입니다.",zh:"每月 5 日前申请预计当月 15 日前到账;之后申请预计下月 15 日前到账。","zh-TW":"每月 5 日前申請預計當月 15 日前到帳;之後申請預計下月 15 日前到帳。",ja:"毎月5日までの申請は同月15日まで、それ以降は翌月15日までの支払い予定です。",fr:"Requests by the 5th are expected by the 15th of the same month. Later requests are expected by the 15th of next month.",de:"Requests by the 5th are expected by the 15th of the same month. Later requests are expected by the 15th of next month."},"payoneer.bankGuidance":{en:"Payoneer bank withdrawal minimum is usually $50, so request at least about $55 if your Payoneer balance is empty and you want to withdraw to a bank.",ko:"Payoneer 은행 인출 최소 금액은 보통 $50이므로, Payoneer 잔액이 비어 있고 은행으로 바로 인출하려면 약 $55 이상 요청하세요.",zh:"Payoneer 银行提现最低通常为 50 美元;如果 Payoneer 余额为空且想转到银行,建议申请至少约 55 美元。","zh-TW":"Payoneer 銀行提現最低通常為 50 美元;如果 Payoneer 餘額為空且想轉到銀行,建議申請至少約 55 美元。",ja:"Payoneer の銀行出金最低額は通常 $50 です。残高が空で銀行へ出金したい場合は約 $55 以上を申請してください。",fr:"Payoneer bank withdrawal minimum is usually $50, so request at least about $55 if your Payoneer balance is empty and you want to withdraw to a bank.",de:"Payoneer bank withdrawal minimum is usually $50, so request at least about $55 if your Payoneer balance is empty and you want to withdraw to a bank."},"payoneer.request.cta":{en:"Request full transferable balance",ko:"송금 가능 전액 요청",zh:"申请全部可转账余额","zh-TW":"申請全部可轉帳餘額",ja:"送金可能額を全額申請",fr:"Request full transferable balance",de:"Request full transferable balance"},"payoneer.request.openTitle":{en:"Payout request open",ko:"정산 요청 진행 중",zh:"结算申请处理中","zh-TW":"結算申請處理中",ja:"支払い申請中",fr:"Payout request open",de:"Payout request open"},"payoneer.request.openBody":{en:"{amount} requested. Expected by {date}.",ko:"{amount} 요청됨. 예상일: {date}.",zh:"已申请 {amount},预计 {date} 前到账。","zh-TW":"已申請 {amount},預計 {date} 前到帳。",ja:"{amount} を申請済み。予定日: {date}。",fr:"{amount} requested. Expected by {date}.",de:"{amount} requested. Expected by {date}."},"payoneer.blocked.profile_required":{en:"Submit Payoneer details first",ko:"먼저 Payoneer 정보를 제출하세요",zh:"请先提交 Payoneer 信息","zh-TW":"請先提交 Payoneer 資訊",ja:"先に Payoneer 情報を送ä
92¿¡ã—てください",fr:"Submit Payoneer details first",de:"Submit Payoneer details first"},"payoneer.blocked.profile_pending_review":{en:"Waiting for review",ko:"검토 대기 중",zh:"等待审核","zh-TW":"等待稽核",ja:"審査待ち",fr:"Waiting for review",de:"Waiting for review"},"payoneer.blocked.profile_rejected":{en:"Update Payoneer details",ko:"Payoneer 정보 수정",zh:"更新 Payoneer 信息","zh-TW":"更新 Payoneer 資訊",ja:"Payoneer 情報を更新",fr:"Update Payoneer details",de:"Update Payoneer details"},"payoneer.blocked.below_minimum":{en:"Minimum payout is $20",ko:"최소 정산 금액은 $20입니다",zh:"最低结算金额为 20 美元","zh-TW":"最低結算金額為 20 美元",ja:"最低支払額は $20 です",fr:"Minimum payout is $20",de:"Minimum payout is $20"},"payoneer.blocked.open_request_exists":{en:"Request already open",ko:"이미 요청이 진행 중입니다",zh:"已有处理中申请","zh-TW":"已有處理中申請",ja:"申請がすでに進行中です",fr:"Request already open",de:"Request already open"},"consent.banner.region":{en:"Cookie consent",ko:"쿠키 동의",zh:"Cookie同意","zh-TW":"Cookie同意",ja:"Cookie同意",fr:"Consentement aux cookies",de:"Cookie-Einwilligung"},"consent.banner.message":{en:"We use cookies to understand how the site is used.",ko:"사이트 사용 방식을 이해하기 위해 쿠키를 사용합니다.",zh:"我们使用Cookie来了解网站使用情况。","zh-TW":"我們使用Cookie來了解網站使用情況。",ja:"サイトの使用状況を理解するためにCookieを使用しています。",fr:"Nous utilisons des cookies pour comprendre comment le site est utilisé.",de:"Wir verwenden Cookies, um zu verstehen, wie die Website genutzt wird."},"consent.banner.accept":{en:"Accept",ko:"수락",zh:"接受","zh-TW":"接受",ja:"同意する",fr:"Accepter",de:"Akzeptieren"},"consent.banner.reject":{en:"Reject",ko:"거부",zh:"拒绝","zh-TW":"拒絕",ja:"拒否する",fr:"Refuser",de:"Ablehnen"},"consent.banner.customize":{en:"Customize",ko:"사용자 지정",zh:"自定义","zh-TW":"自定義",ja:"カスタマイズ",fr:"Personnaliser",de:"Anpassen"},"consent.banner.privacyLink":{en:"Privacy policy",ko:"개인정보 처리방침",zh:"隐私政策","zh-TW":"隱私政策",ja:"プライバシーポリシー",fr:"Politique de confidentialité",de:"Datenschutzerklärung"},"consent.dialog.title":{en:"Privacy preferences",ko:"개인정보 설정",zh:"隐私偏好","zh-TW":"隱私偏好",ja:"プライバシー設定",fr:"Préférences de confidentialité",de:"Datenschutz-Einstellungen"},"consent.dialog.necessary.label":{en:"Necessary",ko:"필수",zh:"必要","zh-TW":"必要",ja:"必須",fr:"Nécessaires",de:"Notwendig"},"consent.dialog.necessary.description":{en:"Auth and billing — always on.",ko:"인증 및 결제 — 항상 활성화됩니다.",zh:"认证和结算 — 始终启用。","zh-TW":"認證和結算 — 始終啟用。",ja:"認証と決済 — 常に有効です。",fr:"Authentification et facturation — toujours activés.",de:"Authentifizierung und Abrechnung — immer aktiv."},"consent.dialog.analytics.label":{en:"Analytics",ko:"분석",zh:"分析","zh-TW":"分析",ja:"分析",fr:"Analytique",de:"Analyse"},"consent.dialog.analytics.description":{en:"Page views, clicks, and funnel events to understand how the site is used.",ko:"사이트 사용 방식을 이해하기 위한 페이지 조회, 클릭, 퍼널 이벤트.",zh:"页面浏览、点击和转化漏斗事件,帮助我们了解网站使用情况。","zh-TW":"頁面瀏覽、點選和轉化漏斗事件,幫助我們瞭解網站使用情況。",ja:"サイトの使用状況を把握するためのページビュー、クリック、ファネルイベント。",fr:"Pages vues, clics et événements de tunnel pour comprendre comment le site est utilisé.",de:"Seitenaufrufe, Klicks und Funnel-Ereignisse, um die Nutzung der Website zu verstehen."},"consent.dialog.replay.label":{en:"Session replay",ko:"세션 녹화",zh:"会话录制","zh-TW":"會話錄製",ja:"セッション録画",fr:"Relecture de session",de
92:"Sitzungswiedergabe"},"consent.dialog.replay.description":{en:"Recordings of your visits to marketing pages (never lessons or chat) to help us find usability issues.",ko:"마케팅 페이지 방문 녹화(레슨 또는 채팅은 제외) — 사용성 문제 발견에 도움이 됩니다.",zh:"对您访问营销页面的录制(从不录制课程或聊天),用于发现可用性问题。","zh-TW":"對您訪問營銷頁面的錄製(從不錄製課程或聊天),用於發現可用性問題。",ja:"マーケティングページ訪問時の録画(レッスンやチャットは録画しません) — ユーザビリティ問題の発見に役立ちます。",fr:"Enregistrements de vos visites sur les pages marketing (jamais les leçons ni les messages) pour nous aider à repérer des problèmes d'ergonomie.",de:"Aufzeichnungen Ihrer Besuche auf Marketingseiten (niemals Lektionen oder Chats), um Usability-Probleme zu finden."},"consent.dialog.save":{en:"Save preferences",ko:"설정 저장",zh:"保存偏好","zh-TW":"儲存偏好",ja:"設定を保存",fr:"Enregistrer les préférences",de:"Einstellungen speichern"},"consent.dialog.cancel":{en:"Cancel",ko:"취소",zh:"取消","zh-TW":"取消",ja:"キャンセル",fr:"Annuler",de:"Abbrechen"},"consent.footer.link":{en:"Privacy settings",ko:"개인정보 설정",zh:"隐私设置","zh-TW":"隱私設定",ja:"プライバシー設定",fr:"Paramètres de confidentialité",de:"Datenschutzeinstellungen"},"consent.footer.privacyLink":{en:"Privacy policy",ko:"개인정보 처리방침",zh:"隐私政策","zh-TW":"隱私政策",ja:"プライバシーポリシー",fr:"Politique de confidentialité",de:"Datenschutzerklärung"},"seo.landing.title":{ko:"바둑 선생님 — 아시아 프로급 선생님과의 실시간 바둑 수업",zh:"围棋老师 — 与亚洲职业水平老师的实时围棋课程","zh-TW":"圍棋老師 — 與亞洲職業水平老師的即時圍棋課程",ja:"囲碁の先生 — アジアのプロ級先生とライブで囲碁レッスン",en:"Baduk Teacher | Live Go Lessons with Pro Teachers from Asia",fr:"Baduk Teacher — Cours de Go en direct avec des professeurs de niveau pro d'Asie",de:"Baduk Teacher — Live-Go-Unterricht mit Lehrern auf Profi-Niveau aus Asien"},"seo.landing.description":{ko:"한국, 중국, 일본의 프로급 선생님과 라이브 바둑 레슨을 — 당신의 언어로. AI가 음성을 실시간으로 통역해 언어의 장벽이 수업을 가로막지 않도록 도와드려요. 현재 베타 중입니다.",zh:"与来自韩国、中国、日本的职业水平老师上实时围棋课 — 用你的语言。AI 实时翻译语音,让语言不再阻碍课程。目前为测试版。","zh-TW":"與來自韓國、中國、日本的職業水平老師上即時圍棋課 — 用你的語言。AI 即時翻譯語音,讓語言不再阻礙課程。目前為測試版。",ja:"韓国、中国、日本のプロ級先生とライブ囲碁レッスンを — あなたの言語で。AIが音声をリアルタイムで翻訳し、言葉の壁がレッスンの邪魔にならないようサポートします。現在ベータ版。",en:"Live online Baduk lessons with pro-level teachers from Korea, China & Japan. AI translates speech in real time — learn Go in your language.",fr:"Cours de Go en direct avec des professeurs de niveau pro de Corée, de Chine et du Japon — dans votre langue. L'IA traduit la parole en temps réel pour que la barrière de la langue ne gêne plus la leçon. Actuellement en bêta.",de:"Live-Go-Unterricht mit Lehrern auf Profi-Niveau aus Korea, China und Japan — in Ihrer Sprache. KI übersetzt Sprache in Echtzeit, damit die Sprachbarriere dem Unterricht nicht im Weg steht. Derzeit in der Beta-Phase."},"seo.teachWithUs.title":{ko:"함께 가르치세요 — 바둑 선생님",zh:"成为我们的老师 — 围棋老师","zh-TW":"成為我們的老師 — 圍棋老師",ja:"一緒に教えませんか — 囲碁の先生",en:"Teach with us | Baduk Teacher",fr:"Enseignez avec nous | Baduk Teacher",de:"Unterrichten Sie mit uns | Baduk Teacher"},"seo.teachWithUs.description":{ko:"전 세계 학생들에게 바둑을 가르치
92세요. 프로급 실력과 바둑에 대한 사랑만 가져오시면 통역·결제·플랫폼은 저희가 맡습니다 — 가격과 일정은 당신이 정합니다.",zh:"向世界各地的学生教授围棋。您带着职业水平的实力和对围棋的热爱,翻译、付款和平台都由我们处理 —— 价格与时间,由您自己决定。","zh-TW":"向世界各地的學生教授圍棋。您帶著職業水平的實力和對圍棋的熱愛,翻譯、付款和平台都由我們處理 —— 價格與時間,由您自己決定。",ja:"世界中の生徒に囲碁を教えませんか。プロ級の実力と囲碁への愛情だけ持ってきてください。通訳・決済・プラットフォームは私たちが担当し、料金とスケジュールはあなたが決めます。",en:"Teach Baduk to students around the world. Bring pro-level experience; we handle translation, payments, and the platform — you keep your price and your schedule.",fr:"Enseignez le Baduk à des élèves du monde entier. Apportez votre expérience de niveau pro ; nous gérons la traduction, les paiements et la plateforme — vous gardez votre tarif et vos horaires.",de:"Unterrichten Sie Baduk für Schüler aus aller Welt. Bringen Sie Erfahrung auf Profi-Niveau mit; wir kümmern uns um Übersetzung, Zahlungen und Plattform — Preis und Zeitplan bestimmen Sie."},"seo.teachers.title":{ko:"바둑 선생님 둘러보기 — 한국, 중국, 일본 | 바둑 선생님",zh:"浏览围棋老师 — 韩国、中国、日本 | 围棋老师","zh-TW":"瀏覽圍棋老師 — 韓國、中國、日本 | 圍棋老師",ja:"囲碁の先生を探す — 韓国・中国・日本 | 囲碁の先生",en:"Browse Baduk teachers — Korea, China, Japan | Baduk Teacher",fr:"Parcourir les professeurs de Baduk — Corée, Chine, Japon | Baduk Teacher",de:"Baduk-Lehrer entdecken — Korea, China, Japan | Baduk Teacher"},"seo.teachers.description":{ko:"바둑 선생님을 찾고 라이브 레슨을 예약하세요. 한국, 중국, 일본의 선생님, AI 실시간 번역 지원.",zh:"寻找围棋老师并预约实时课程。来自韩国、中国、日本的老师,提供 AI 实时翻译。","zh-TW":"尋找圍棋老師並預約即時課程。來自韓國、中國、日本的老師,提供 AI 即時翻譯。",ja:"囲碁の先生を見つけてライブレッスンを予約。韓国・中国・日本の先生、AIリアルタイム翻訳付き。",en:"Find a Baduk teacher and book a live lesson. Teachers from Korea, China, and Japan, with AI-powered real-time translation.",fr:"Trouvez un professeur de Baduk et réservez une leçon en direct. Des professeurs de Corée, de Chine et du Japon, avec une traduction en temps réel propulsée par IA.",de:"Finden Sie einen Baduk-Lehrer und buchen Sie eine Live-Lektion. Lehrer aus Korea, China und Japan, mit KI-gestützter Echtzeit-Übersetzung."},"seo.teacher_profile.title":{ko:"{name} — 바둑 레슨 | 바둑 선생님",zh:"{name} — 围棋课程 | 围棋老师","zh-TW":"{name} — 圍棋課程 | 圍棋老師",ja:"{name} — 囲碁レッスン | 囲碁の先生",en:"{name} — Baduk lessons | Baduk Teacher",fr:"{name} — Baduk lessons | Baduk Teacher",de:"{name} — Baduk lessons | Baduk Teacher"},"seo.teacher_profile.description":{ko:"{name} 선생님과 라이브 바둑을 배우세요 ({rank}). 실시간 번역, 라이브 보드 공유.",zh:"与 {name} 老师学习实时围棋({rank})。实时翻译,实时棋盘共享。","zh-TW":"與 {name} 老師學習即時圍棋({rank})。即時翻譯,即時棋盤共享。",ja:"{name} 先生とライブで囲碁を学びましょう({rank})。リアルタイム翻訳、ライブ碁盤共有。",en:"Learn Baduk live with {name}, {rank}. Real-time translation, live board sharing.",fr:"Learn Baduk live with {name}, {rank}. Real-time translation, live board sharing.",de:"Learn Baduk live with {name}, {rank}. Real-time translation, live board sharing."},"seo.waitlist.title":{ko:"바둑 선생님 대기자 명단에 등록하기",zh:"加入围棋老师等候名单","zh-TW":"加入圍棋老師等候名單",ja:"囲碁の先生のウェイトリストに登録",en:"Join the Baduk Teacher waitlist",fr:"Join the Baduk Teacher waitlist",de:"Join the Baduk Teacher waitlist"},"seo.waitlist.description":{ko:"새로운 선생님이 레슨 자리를 열 때 가장 먼저 알림을 받으세요.",zh:"当有新è€
92å¸ˆå¼€æ”¾è¯¾ç¨‹åé¢æ—¶ç¬¬ä¸€æ—¶é—´èŽ·å¾—é€šçŸ¥ã€‚","zh-TW":"當有新老師開放課程名額時第一時間獲得通知。",ja:"新しい先生がレッスン枠を開放したとき、いち早くお知らせします。",en:"Be first in line when new teachers open lesson slots.",fr:"Be first in line when new teachers open lesson slots.",de:"Be first in line when new teachers open lesson slots."},"seo.teach_apply.title":{ko:"바둑 선생님으로 가르치기 — 지원하기",zh:"在围棋老师上教课 — 申请","zh-TW":"在圍棋老師上教課 — 申請",ja:"囲碁の先生で教える — 応募",en:"Teach on Baduk Teacher — apply",fr:"Teach on Baduk Teacher — apply",de:"Teach on Baduk Teacher — apply"},"seo.teach_apply.description":{ko:"당신은 바둑 선생님입니까? 바둑 선생님 플랫폼에서 전 세계 학생을 가르치는 데 지원하세요.",zh:"你是围棋老师吗?申请在围棋老师平台上教授全球学生。","zh-TW":"你是圍棋老師嗎?申請在圍棋老師平臺上教授全球學生。",ja:"あなたは囲碁ã
92®å…ˆç”Ÿã§ã™ã‹?囲碁の先生プラットフォームで世界中の生徒を教える応募をしましょう。",en:"Are you a Baduk teacher? Apply to teach students worldwide on Baduk Teacher.",fr:"Are you a Baduk teacher? Apply to teach students worldwide on Baduk Teacher.",de:"Are you a Baduk teacher? Apply to teach students worldwide on Baduk Teacher."},"seo.legal.terms.description":{ko:"바둑 선생님 서비스 이용약관.",zh:"围棋老师服务条款。","zh-TW":"圍棋老師服務條款。",ja:"囲碁の先生サービス利用規約。",en:"Baduk Teacher terms of service.",fr:"Baduk Teacher terms of service.",de:"Baduk Teacher terms of service."},"seo.legal.privacy.description":{ko:"바둑 선생님 개인정보처리방침.",zh:"围棋老师隐私政策。","zh-TW":"圍棋老師隱私政策。",ja:"囲碁の先生プライバシーポリシー。",en:"Baduk Teacher privacy policy.",fr:"Baduk Teacher privacy policy.",de:"Baduk Teacher privacy policy."},"seo.legal.tutorGuidelines.description":{ko:"바둑 선생님 플랫폼에서 가르치는 선생님을 위한 안내.",zh:"围棋老师平台上教课的老师指南。","zh-TW":"圍棋老師平臺上教課的老師指南。",ja:"囲碁の先生プラットフォームで教える先生向けガイドライン。",en:"Guidelines for teachers teaching on the Baduk Teacher platform.",fr:"Guidelines for teachers teaching on the Baduk Teacher platform.",de:"Guidelines for teachers teaching on the Baduk Teacher platform."},"learn.loadingTitle":{ko:"불러오는 중… — 바둑 선생님",zh:"正在加载… — 围棋老师","zh-TW":"正在載入… — 圍棋老師",ja:"読み込み中… — 囲碁の先生",en:"Loading article… — Baduk Teacher",fr:"Loading article… — Baduk Teacher",de:"Loading article… — Baduk Teacher"},"learn.loadingDescription":{ko:"바둑 학습 가이드를 불러오는 중입니다.",zh:"正在加载围棋学习指南。","zh-TW":"正在載入圍棋學習指南。",ja:"囲碁学習ガイドを読み込んでいます。",en:"Loading a Baduk learning guide.",fr:"Loading a Baduk learning guide.",de:"Loading a Baduk learning guide."},"learn.breadcrumb.label":{ko:"경로 안내",zh:"面包屑导航","zh-TW":"麵包屑導航",ja:"パンくずリスト",en:"Breadcrumb",fr:"Fil d'Ariane",de:"Breadcrumb"},"learn.breadcrumb.back":{ko:"← 모든 학습 가이드",zh:"← 所有学习指南","zh-TW":"← 所有學習指南",ja:"← すべての学習ガイド",en:"← All learn articles",fr:"← Tous les articles",de:"← Alle Artikel"},"learn.index.title":{ko:"바둑 학습 가이드",zh:"围棋学习指南","zh-TW":"圍棋學習指南",ja:"囲碁学習ガイド",en:"Learn Baduk online",fr:"Learn Baduk online",de:"Learn Baduk online"},"learn.index.description":{ko:"바둑을 배우는 방법, 선생님 선택, 실시간 AI 번역 — 결정에 도움이 되는 진솔한 가이드.",zh:"如何学习围棋、如何选老师、实时 AI 翻译 — 帮你决定的诚实指南。","zh-TW":"如何學習圍棋、如何選老師、即時 AI 翻譯 — 幫你決定的誠實指南。",ja:"囲碁の学び方、先生の選び方、リアルタイムAI翻訳 — 決断を助ける率直なガイド。",en:"Honest guides on how to learn Baduk, how to pick a teacher, and how real-time AI translation removes the language barrier.",fr:"Honest guides on how to learn Baduk, how to pick a teacher, and how real-time AI translation removes the language barrier.",de:"Honest guides on how to learn Baduk, how to pick a teacher, and how real-time AI translation removes the language barrier."},"learn.index.heading":{ko:"바둑 학습 가이드",zh:"围棋学习指南","zh-TW":"圍棋學習指南",ja:"囲碁学習ガイド",en:"Learn Baduk online",fr:"Apprendre le Baduk en ligne",de:"Baduk online lernen"},"learn.index.intro":{ko:"바둑을 어떻게 배울지, 어떤 선생님을 선택할지, 그리고 실시간 AI 번역이 어떻게 언어 장벽을 없애는지에 대한 진솔한 가이드.",zh:"诚实的指南,告诉你如何学习围棋、如何挑选老师,以及实时 AI 翻译如何打破语言障碍。","zh-TW":"誠實的指南,告訴你如何學習圍棋、如何挑選老師,以及即時 AI 翻譯如何打破語言障礙。",ja:"囲碁の学び方、先生の選び方、リアルタイムAI翻訳が言語の壁をどう取り除くかについての率直なガイド。",en:"Honest guides on how to learn Baduk, how to pick a teacher, and how real-time AI translation removes the language barr
92ier.",fr:"Des guides honnêtes sur la façon d'apprendre le Baduk, de choisir un professeur, et sur la traduction IA en temps réel.",de:"Ehrliche Anleitungen, wie man Baduk lernt, wie man einen Lehrer auswählt und wie KI-Echtzeitübersetzung die Sprachbarriere aufhebt."},"learn.index.readMore":{ko:"계속 읽기 →",zh:"继续阅读 →","zh-TW":"繼續閱讀 →",ja:"続きを読む →",en:"Read the guide →",fr:"Lire le guide →",de:"Anleitung lesen →"},"learn.index.cards.howToLearn.title":{ko:"온라인으로 바둑 배우는 법",zh:"如何在线学习围棋","zh-TW":"如何線上學習圍棋",ja:"オンラインで囲碁を学ぶ方法",en:"How to learn Baduk online",fr:"How to learn Baduk online",de:"How to learn Baduk online"},"learn.index.cards.howToLearn.description":{ko:"앱, 유튜브, 강좌, 선생님 — 네 가지 학습 방법을 솔직하게 비교하고 어느 단계에 무엇이 맞는지 안내합니다.",zh:"诚实对比四种学习方式:自学应用、YouTube 频道、在线课程、人类老师,告诉你哪个阶段适合哪种方式。","zh-TW":"誠實對比四種學習方式:自學應用、YouTube 頻道、線上課程、人類老師,告訴你哪個階段適合哪種方式。",ja:"アプリ、YouTube、コース、先生 — 4つの学習方法を率直に比較し、どの段階に何が向いているかを案内します。",en:"An honest comparison of self-study apps, YouTube channels, online courses, and human teachers — and which fits each skill stage.",fr:"An honest comparison of self-study apps, YouTube channels, online courses, and human teachers — and which fits each skill stage.",de:"An honest comparison of self-study apps, YouTube channels, online courses, and human teachers — and which fits each skill stage."},"learn.index.cards.aiTranslation.title":{ko:"실시간 AI 번역 작동 방식",zh:"实时 AI 翻译如何工作","zh-TW":"即時 AI 翻譯如何運作",ja:"リアルタイムAI翻訳の仕組ã
92¿",en:"How real-time AI translation works",fr:"How real-time AI translation works",de:"How real-time AI translation works"},"learn.index.cards.aiTranslation.description":{ko:"한국·중국·일본 프로급 선생님과 모국어로 수업을 받을 수 있도록 만든 파이프라인 — 일반 번역 도구가 실패하는 이유.",zh:"让你能用母语跟韩、中、日职业水平老师上课的翻译管道 — 以及为什么普通翻译工具会失败。","zh-TW":"讓你能用母語跟韓、中、日職業水平老師上課的翻譯管道 — 以及為什麼普通翻譯工具會失敗。",ja:"韓国・中国・日本のプロ級先生と母国語でレッスンを受けられるパイプライン — 一般的な翻訳ツールが失敗する理由。",en:"The pipeline that lets you take lessons in your own language with Korean, Chinese, and Japanese pro-level teachers — and why generic tools fail.",fr:"The pipeline that lets you take lessons in your own language with Korean, Chinese, and Japanese pro-level teachers — and why generic tools fail.",de:"The pipeline that lets you take lessons in your own language with Korean, Chinese, and Japanese pro-level teachers — and why generic tools fail."},"learn.index.cards.choosingTeacher.title":{ko:"바둑 선생님 고르는 법",zh:"如何选围棋老师","zh-TW":"如何選圍棋老師",ja:"囲碁の先生の選び方",en:"Choosing a Baduk teacher",fr:"Choosing a Baduk teacher",de:"Choosing a Baduk teacher"},"learn.index.cards.choosingTeacher.description":{ko:"랭크, 언어, 교습 철학, 수업 형식, 가격 — 약속을 잡기 전 살펴봐야 할 여섯 가지 기준.",zh:"段位、语言、教学理念、课程形式、价格 — 预约前要看的六个标准。","zh-TW":"段位、語言、教學理念、課程形式、價格 — 預約前要看的六個標準。",ja:"段位、言語、教育方針、レッスン形式、価格 — 予約前に確認すべき6つの基準。",en:"Rank, language fit, teaching philosophy, lesson format, price — six criteria to check before you book.",fr:"Rank, language fit, teaching philosophy, lesson format, price — six criteria to check before you book.",de:"Rank, language fit, teaching philosophy, lesson format, price — six criteria to check before you book."},"learn.index.cards.teachingGame.title":{ko:"지도대국에서 최대한 배우는 법",zh:"如何充分利用指导棋","zh-TW":"如何充分利用指導棋",ja:"指導碁を最大限に活かす方法",en:"Getting the most from a teaching game",fr:"Getting the most from a teaching game",de:"Getting the most from a teaching game"},"learn.index.cards.teachingGame.description":{ko:"핸디캡은 생각보다 작은 우세라는 점, 그리고 지도대국에서 더 많이 배우기 위한 다섯 가지 습관.",zh:"为什么让子优势比你想的小,以及五个让你从每盘指导棋学到更多的习惯。","zh-TW":"為什麼讓子優勢比你想的小,以及五個讓你從每盤指導棋學到更多的習慣。",ja:"置き石のリードは思うほど大きくない理由と、指導碁からより多くを学ぶための5つの習慣。",en:"Why a handicap is a smaller lead than you think, and five habits for learning more from every teaching game.",fr:"Why a handicap is a smaller lead than you think, and five habits for learning more from every teaching game.",de:"Why a handicap is a smaller lead than you think, and five habits for learning more from every teaching game."},"game.setup.title":{ko:"대국 설정",zh:"对局设置","zh-TW":"對局設定",ja:"対局設定",en:"Game setup",fr:"Game setup",de:"Game setup"},"game.setup.boardSize":{ko:"바둑판",zh:"棋盘","zh-TW":"棋盤",ja:"碁盤",en:"Board size",fr:"Board size",de:"Board size"},"game.setup.handicap":{ko:"치석",zh:"让子","zh-TW":"讓子",ja:"置石",en:"Handicap",fr:"Handicap",de:"Handicap"},"game.setup.handicapNone":{ko:"없음",zh:"无","zh-TW":"無",ja:"なし",en:"None",fr:"None",de:"None"},"game.setup.rules":{ko:"규칙",zh:"规则","zh-TW":"規則",ja:"ルール",en:"Rules",fr:"Rules",de:"Rules"},"game.setup.rulesJapanese":{ko:"일본 규칙(집)",zh:"日本规则(数目)","zh-TW":"日本規則(數目)",ja:"日本ルール",en:"Japanese (territory)",fr:"Japanese (territory)",de:"Japanese (territory)"},"game.setup.rulesChinese":{ko:"중국 규칙(반면)",zh:"中国规则(数子)","zh-TW":"中國規則(數子)",ja:"中国ルール",en:"Chinese (area)",fr:"Chinese (area)",de:"Chinese (area)"},"game.setup.defaultHint":{en:"Blank uses {value}.",ko:"비워 두면 {value}을(를) 사용합니다.",zh:"留空使用 {value}。","zh-TW":"留空使用 {value}。",ja:"空欄の場合は {value} を使用します。",fr:"Vide : {value}.",de:"Leer: {value}."},"game.setup.starting":{en:"Starting…",ko:"시작 중…",zh:"正在开始…","zh-TW":"正在開始…",ja:"開始中…",fr:"Démarrage…",de:"Wird gestartet…"},"game.setup.error.range":{en:"Enter a number from {min} to {max}.",ko:"{min}~{max} 사이의 숫자를 입력하세요.",zh:"请输入 {min} 到 {max} 之间的数字。","zh-TW":"請輸入 {min} 到 {max} 之間的數字。",ja:"{min} から {max} までの数値を入力してください。",fr:"Saisissez un nombre entre {min} et {max}.",de:"Geben Sie eine Zahl von {min} bis {max} ein."},"game.setup.error.integer":{en:"Enter a whole number from {min} to {max}.",ko:"{min}~{max} 사이의 정수를 입력하세요.",zh:"请输入 {min} 到 {max} 之间的整数。","zh-TW":"請輸入 {min} 到 {max} 之間的整數。",ja:"{min} から {max} までの整数を入力してください。",fr:"Saisissez un entier entre {min} et {max}.",de:"Geben Sie eine ganze Zahl von {min} bis {max} ein."},"game.setup.error.positive":{en:"Enter a number greater than {min} and at most {max}.",ko:"{min}보다 크고 {max} 이하인 숫자를 입력하세요.",zh:"请输入大于 {min} 且不超过 {max} 的数字。","zh-TW":"請輸入大於 {min} 且不超過 {max} 的數字。",ja:"{min} より大きく、{max} 以下の数値を入力してください。",fr:"Saisissez un nombre supérieur à {min} et inférieur ou égal à {max}.",de:"Geben Sie eine Zahl größer als {min} und höchstens {max} ein."},"game.setup.error.peer":{en:"A student is no longer connected. Wait for them to rejoin, then try again.",ko:"학생의 연결이 끊겼습니다. 다시 입장하면 재시도하세요.",zh:"学生已断开连接。请等待其重新加入后再试。","zh-TW":"學生已中斷連線。請等待其重新加入後再試。",ja:"生徒の接続が切れました。再入室してからお試しください。",fr:"Un élève est déconnecté. Attendez son retour, puis réessayez.",de:"Ein Schüler ist nicht mehr verbunden. Warten Sie auf seine Rückkehr und versuchen Sie es erneut."},"game.setup.error.disabled":{en:"Game mode is unavailable. Close setup and contact the lesson organizer.",ko:"대국 모드를 사용할 수 없습니다. 설정을 닫ê
92³  수업 진행자에게 문의하세요.",zh:"对局模式不可用。请关闭设置并联系课程组织者。","zh-TW":"對局模式無法使用。請關閉設定並聯絡課程組織者。",ja:"対局モードは利用できません。設定を閉じて主催者にお問い合わせください。",fr:"Le mode partie est indisponible. Fermez et contactez l’organisateur.",de:"Der Spielmodus ist nicht verfügbar. Schließen Sie die Einrichtung und kontaktieren Sie den Veranstalter."},"game.setup.error.active":{en:"A game or problem is already active. Close setup and finish it before starting another.",ko:"이미 진행 중인 대국 또는 문제가 있습니다. 설정을 닫고 먼저 완료하세요.",zh:"已有正在进行的对局或题目。请关闭设置并先完成它。","zh-TW":"已有正在進行的對局或題目。請關閉設定並先完成它。",ja:"対局または問題が進行中です。設定を閉じ、終了してから始めてください。",fr:"Une partie ou un problème est en cours. Fermez et terminez-le d’abord.",de:"Ein Spiel oder eine Aufgabe läuft bereits. Schließen Sie die Einrichtung und beenden Sie es zuerst."},"game.setup.error.connection":{en:"Connection interrupted. Your settings are kept. Wait for reconnection, check the board, then try again if needed.",ko:"연결이 끊겼습니다. 설정은 유지됩니다. 재연결 후 바둑판을 확인하고 필요하면 재시도하세요.",zh:"连接中断,设置已保留。请等待重新连接,检查棋盘后按需重试。","zh-TW":"連線中斷,設定已保留。請等待重新連線,檢查棋盤後視需要重試。",ja:"接続が切れました。設定は保持されます。再接続後に盤面を確認し、必要なら再試行してください。",fr:"Connexion interrompue. Vos réglages sont conservés. Après reconnexion, vérifiez le plateau avant de réessayer.",de:"Verbindung unterbrochen. Ihre Einstellungen bleiben erhalten. Prüfen Sie nach der Wiederverbindung das Brett, bevor Sie es erneut versuchen."},"game.setup.error.timeout":{en:"Start could not be confirmed. Reconnecting to check the room; check the board before trying again.",ko:"시작을 확인할 수 없습니다. ë°© 상태를 확인하기 위해 재연결합니다. 재시도 전 바둑판을 확인하세요.",zh:"无法确认是否已开始。正在重新连接以检查教室,请先检查棋盘再重试。","zh-TW":"無法確認是否已開始。正在重新連線以檢查教室,請先檢查棋盤再重試。",ja:"開始を確認できませんでした。再接続して教室を確認します。盤面を確認してから再試行してください。",fr:"Le démarrage n’a pas été confirmé. Reconnexion en cours ; vérifiez le plateau avant de réessayer.",de:"Der Start konnte nicht bestätigt werden. Verbindung wird erneuert; prüfen Sie das Brett vor einem erneuten Versuch."},"game.setup.error.pending":{en:"A start is already being processed. Wait for it to finish before trying again.",ko:"시작 요청을 처리 중입니다. 완료될 때까지 기다려 주세요.",zh:"正在处理开始请求,请等待处理完成后再试。","zh-TW":"正在處理開始請求,請等待處理完成後再試。",ja:"開始リクエストを処理中です。完了してから再試行してください。",fr:"Un démarrage est en cours. Attendez avant de réessayer.",de:"Ein Start wird bereits verarbeitet. Warten Sie, bevor Sie es erneut versuchen."},"game.setup.error.config":{en:"The setup was rejected. Check the values and connected students, then try again.",ko:"설정이 거부되었습니다. 입력값과 연결된 학생을 확인한 후 재시도하세요.",zh:"设置被拒绝。请检查数值和已连接的学生后重试。","zh-TW":"設定遭拒絕。請檢查數值和已連線的學生後重試。",ja:"設定が拒否されました。入力値と接続中の生徒を確認して再試行してください。",fr:"Réglages refusés. Vérifiez les valeurs et les élèves connectés, puis réessayez.",de:"Die Einrichtung wurde abgelehnt. Prüfen Sie Werte und verbundene Schüler und versuchen Sie es erneut."},"game.setup.error.rejected":{en:"Unable to start. Check that you are the teacher and the room is ready, then try again.",ko:"시작할 수 없습니다. 선생님으로 접속했는지와 ë°© 상태를 확인한 후 재시도하세요.",zh:"无法开始。请确认您是教师且教室已就绪,然后重试。","zh-TW":"無法開始。請確認您是教師且教室已就緒,然後重試。",ja:"開始できません。講師として接続していることと教室の状態を確認して再試
92行してください。",fr:"Démarrage impossible. Vérifiez votre rôle d’enseignant et l’état du salon, puis réessayez.",de:"Start nicht möglich. Prüfen Sie Ihre Lehrerrolle und den Raumstatus und versuchen Sie es erneut."},"game.setup.komi":{ko:"덤",zh:"贴目","zh-TW":"貼目",ja:"コミ",en:"Komi",fr:"Komi",de:"Komi"},"game.setup.studentColor":{ko:"학생 돌 색",zh:"学生执子","zh-TW":"學生執子",ja:"生徒の手番",en:"Student's color",fr:"Student's color",de:"Student's color"},"game.setup.colorBlack":{ko:"흑",zh:"黑","zh-TW":"黑",ja:"黒",en:"Black",fr:"Black",de:"Black"},"game.setup.colorWhite":{ko:"백",zh:"白","zh-TW":"白",ja:"白",en:"White",fr:"White",de:"White"},"game.setup.timeControl":{ko:"시간 규정",zh:"用时规则","zh-TW":"用時規則",ja:"持ち時間",en:"Time control",fr:"Time control",de:"Time control"},"game.setup.tcNone":{ko:"시간 제한 없음",zh:"不限时","zh-TW":"不限時",ja:"時間無制限",en:"No clock",fr:"No clock",de:"No clock"},"game.setup.tcAbsolute":{ko:"총시간제",zh:"包干用时","zh-TW":"包乾用時",ja:"切れ負け",en:"Absolute",fr:"Absolute",de:"Absolute"},"game.setup.tcByoyomi":{ko:"초읽기",zh:"读秒","zh-TW":"讀秒",ja:"秒読み",en:"Byo-yomi",fr:"Byo-yomi",de:"Byo-yomi"},"game.setup.tcFischer":{ko:"피셔",zh:"加秒制","zh-TW":"加秒制",ja:"フィッシャー",en:"Fischer",fr:"Fischer",de:"Fischer"},"game.setup.mainTime":{ko:"기본 시간(분)",zh:"基本用时(分钟)","zh-TW":"基本用時(分鐘)",ja:"持ち時間(分)",en:"Main time (min)",fr:"Main time (min)",de:"Main time (min)"},"game.setup.periods":{ko:"초읽기 횟수",zh:"读秒次数","zh-TW":"讀秒次數",ja:"秒読み回数",en:"Periods",fr:"Periods",de:"Periods"},"game.setup.periodTime":{ko:"초읽기 시간(초)",zh:"每次读秒(秒)","zh-TW":"每次讀秒(秒)",ja:"秒読み時間(秒)",en:"Period time (sec)",fr:"Period time (sec)",de:"Period time (sec)"},"game.setup.increment":{ko:"추가 시간(초)",zh:"每手加时(秒)","zh-TW":"每手加時(秒)",ja:"1手ごとの加算(秒)",en:"Increment (sec)",fr:"Increment (sec)",de:"Increment (sec)"},"game.setup.fromCurrentPosition":{ko:"현재 배치에서 시작",zh:"从当前局面开始","zh-TW":"從當前局面開始",ja:"現在の局面から開始",en:"Start from current position",fr:"Start from current position",de:"Start from current position"},"game.setup.startCta":{ko:"대국 시작",zh:"开始对局","zh-TW":"開始對局",ja:"対局開始",en:"Start game",fr:"Start game",de:"Start game"},"game.setup.cancel":{ko:"취소",zh:"取消","zh-TW":"取消",ja:"キャンセル",en:"Cancel",fr:"Cancel",de:"Cancel"},"game.hud.startGame":{ko:"대국 시작",zh:"开始对局","zh-TW":"開始對局",ja:"対局を開始",en:"Start game",fr:"Start game",de:"Start game"},"game.hud.startAnother":{ko:"새 대국",zh:"再来一局","zh-TW":"再來一局",ja:"もう一局",en:"Start another game",fr:"Start another game",de:"Start another game"},"game.hud.pass":{ko:"패스",zh:"停一手","zh-TW":"停一手",ja:"パス",en:"Pass",fr:"Pass",de:"Pass"},"game.time.totals":{ko:"생각 시간",zh:"用时","zh-TW":"用時",ja:"考慮時間",en:"Think time",fr:"Temps de réflexion",de:"Bedenkzeit"},"game.time.longest":{ko:"최장",zh:"最长","zh-TW":"最長",ja:"最長",en:"longest",fr:"plus longue",de:"längste"},"game.hud.resign":{ko:"기권",zh:"认输","zh-TW":"認輸",ja:"投了",en:"Resign",fr:"Resign",de:"Resign"},"game.hud.resignConfirm":{ko:"정말 기권하시겠어요?",zh:"确定认输吗?","zh-TW":"確定認輸嗎?",ja:"本当に投了しますか?",en:"Really resign this game?",fr:"Really resign this game?",de:"Really resign this game?"},"game.hud.undo":{ko:"한 수 무르기",zh:"悔棋","zh-TW":"悔棋",ja:"待った(一手戻す)",en:"Undo move",fr:"Undo move",de:"Undo move"},"game.hud.endGame":{ko:"대국 종료",zh:"结束对局","zh-TW":"結束對局",ja:"対局終了",en:"End game",fr:"End game",de:"End game"},"game.hud.pauseClock":{ko:"시계 일시정지",zh:"暂停计时","zh-TW":"暫停計時",ja:"時計を一時停止",en:"Pause clock",fr:"Pause clock",de
92:"Pause clock"},"game.hud.resumeClock":{ko:"시계 재개",zh:"继续计时","zh-TW":"繼續計時",ja:"時計を再開",en:"Resume clock",fr:"Resume clock",de:"Resume clock"},"game.hud.paused":{ko:"일시정지됨",zh:"已暂停","zh-TW":"已暫停",ja:"一時停止中",en:"Paused",fr:"Paused",de:"Paused"},"game.hud.captures":{ko:"따낸 돌",zh:"提子","zh-TW":"提子",ja:"アゲハマ",en:"Captures",fr:"Captures",de:"Captures"},"game.hud.onePass":{ko:"한 수 쉼 — 한 번 더 패스하면 계가로 넘어갑니다",zh:"已停一手——再停一手进入点目","zh-TW":"已停一手——再停一手進入點目",ja:"パス——もう一度パスで計算へ",en:"One pass — another pass starts scoring",fr:"One pass — another pass starts scoring",de:"One pass — another pass starts scoring"},"game.hud.timeExpired":{ko:"{color} 시간 초과",zh:"{color}方超时","zh-TW":"{color}方超時",ja:"{color}の時間切れ",en:"{color} ran out of time",fr:"{color} ran out of time",de:"{color} ran out of time"},"game.hud.flagDeclare":{ko:"시간승 선언",zh:"判超时负","zh-TW":"判超時負",ja:"時間切れ勝ちを宣言",en:"Declare win on time",fr:"Declare win on time",de:"Declare win on time"},"game.hud.flagAddTime":{ko:"5분 추가",zh:"加5分钟","zh-TW":"加5分鐘",ja:"5分追加",en:"Add 5 minutes",fr:"Add 5 minutes",de:"Add 5 minutes"},"game.hud.flagRemoveClock":{ko:"시계 없애기",zh:"取消计时","zh-TW":"取消計時",ja:"時計を外す",en:"Remove the clock",fr:"Remove the clock",de:"Remove the clock"},"game.hud.scoringHint":{ko:"죽은 돌을 탭해서 표시하세요",zh:"点击棋盘标记死子","zh-TW":"點擊棋盤標記死子",ja:"死に石をタップして指定",en:"Tap groups to mark them dead",fr:"Tap groups to mark them dead",de:"Tap groups to mark them dead"},"game.hud.scoringUnlockHint":{ko:"계가를 확정하면 판 편집이 잠금 해제됩니다.",zh:"确认比分后即可再次编辑棋盘。","zh-TW":"確認比分後即可再次編輯棋盤。",ja:"結果を確定すると盤面の編集ができるようになります。",en:"Board editing unlocks when the score is confirmed.",fr:"Board editing unlocks when the score is confirmed.",de:"Board editing unlocks when the score is confirmed."},"game.hud.confirmScore":{ko:"계가 확정",zh:"确认点目","zh-TW":"確認點目",ja:"結果を確定",en:"Confirm score",fr:"Confirm score",de:"Confirm score"},"game.hud.resumePlay":{ko:"대국 재개",zh:"继续对局","zh-TW":"繼續對局",ja:"対局再開",en:"Resume play",fr:"Resume play",de:"Resume play"},"game.hud.noResult":{ko:"결과 없이 종료",zh:"无结果结束","zh-TW":"無結果結束",ja:"結果なしで終了",en:"Ended without a result",fr:"Ended without a result",de:"Ended without a result"},"game.hud.reviewHint":{ko:"이제 함께 복기해 보세요",zh:"现在开始复盘吧","zh-TW":"現在開始覆盤吧",ja:"ここから検討しましょう",en:"Now review it together",fr:"Now review it together",de:"Now review it together"},"game.count.voiceOn":{ko:"초읽기 음성 켜짐 — 누르면 꺼집니다",zh:"读秒语音已开启——点击关闭","zh-TW":"讀秒語音已開啟——點擊關閉",ja:"秒読み音声オン — クリックでオフ",en:"Countdown voice on — click to mute",fr:"Countdown voice on — click to mute",de:"Countdown voice on — click to mute"},"game.count.voiceOff":{ko:"초읽기 음성 꺼짐 — 누르면 켜집니다",zh:"读秒语音已关闭——点击开启","zh-TW":"讀秒語音已關閉——點擊開啟",ja:"秒読み音声オフ — クリックでオン",en:"Countdown voice off — click to unmute",fr:"Countdown voice off — click to unmute",de:"Countdown voice off — click to unmute"},"game.count.language":{ko:"초읽기 음성 언어",zh:"读秒语音语言","zh-TW":"讀秒語音語言",ja:"秒読み音声の言語",en:"Countdown voice language",fr:"Countdown voice language",de:"Countdown voice language"},"simul.setup.title":{ko:"동시 대국 설정",zh:"多面打设置","zh-TW":"多面打設置",ja:"多面打ち設定",en:"Start a simul",fr:"Start a simul",de:"Start a simul"},"simul.setup.teacherColor":{ko:"선생님 색 (호선 기준)",zh:"老师执子(分先时)","zh-TW":"老師執子(分先時)",ja:"先生の色(互先)",en:"Teacher's color (even games)",fr:"Teacher's color (even games)",de:"Teacher's color (even games)"},"simul.setup.perStudentHandicap":{ko:"학생별 접바둑",zh:"每位学生的让子","zh-TW":"每位學生的讓子",ja:"生徒ごとの置石",en:"Handicap per student",fr:"Handicap per student",de:"Handicap per student"},"simul.setup.handicapDisabledHint":{ko:"현재 국면에서 시작할 때는 사용할 수 없습니다",zh:"从当前局面开始时不可用","zh-TW":"從目前局面開始時無法使用",ja:"現在の局面から開始する場合は使用できません",en:"Disabled 
92when starting from the current position",fr:"Disabled when starting from the current position",de:"Disabled when starting from the current position"},"simul.setup.startCta":{ko:"동시 대국 시작",zh:"开始多面打","zh-TW":"開始多面打",ja:"多面打ち開始",en:"Start simul",fr:"Start simul",de:"Start simul"},"simul.hud.startSimul":{ko:"동시 대국 시작",zh:"开始多面打","zh-TW":"開始多面打",ja:"多面打ち開始",en:"Start simul",fr:"Start simul",de:"Start simul"},"simul.dashboard.title":{ko:"동시 대국 ({count}판)",zh:"多面打({count}盘)","zh-TW":"多面打({count}盤)",ja:"多面打ち({count}局)",en:"Simul ({count} boards)",fr:"Simul ({count} boards)",de:"Simul ({count} boards)"},"simul.dashboard.yourMove":{ko:"둘 차례",zh:"该你下","zh-TW":"該你下",ja:"あなたの番",en:"Your move",fr:"Your move",de:"Your move"},"simul.dashboard.focus":{ko:"보기",zh:"查看","zh-TW":"查看",ja:"表示",en:"Focus",fr:"Focus",de:"Focus"},"simul.dashboard.endSimul":{ko:"동시 대국 종료",zh:"结束多面打","zh-TW":"結束多面打",ja:"多面打ち終了",en:"End simul",fr:"End simul",de:"End simul"},"simul.dashboard.endConfirm":{ko:"모든 대국을 종료할까요?",zh:"结束所有对局吗?","zh-TW":"結束所有對局嗎?",ja:"すべての対局を終了しますか?",en:"End all boards?",fr:"End all boards?",de:"End all boards?"},"simul.review.heading":{ko:"동시 대국 복기",zh:"多面打复盘","zh-TW":"多面打復盤",ja:"多面打ち検討",en:"Simul review",fr:"Simul review",de:"Simul review"},"simul.review.load":{ko:"불러오기",zh:"加载","zh-TW":"載入",ja:"表示",en:"Load",fr:"Load",de:"Load"},"simul.review.loadFor":{ko:"{name} 대국 불러오기",zh:"加载与 {name} 的对局","zh-TW":"載入與 {name} 的對局",ja:"{name} との対局を表示",en:"Load game vs {name}",fr:"Load game vs {name}",de:"Load game vs {name}"},"simul.review.done":{ko:"복기 종료",zh:"结束复盘","zh-TW":"結束復盤",ja:"検討を終了",en:"Done reviewing",fr:"Done reviewing",de:"Done reviewing"},"problem.hud.start":{ko:"문제 내기",zh:"出题","zh-TW":"出題",ja:"問題を出す",en:"Pose a problem",fr:"Pose a problem",de:"Pose a problem"},"problem.setup.title":{ko:"문제 설정",zh:"设置题目","zh-TW":"設定題目",ja:"問題の設定",en:"Set up a problem",fr:"Set up a problem",de:"Set up a problem"},"problem.setup.toolBlack":{ko:"흑돌",zh:"黑子","zh-TW":"黑子",ja:"黒石",en:"Black",fr:"Black",de:"Black"},"problem.setup.toolWhite":{ko:"백돌",zh:"白子","zh-TW":"白子",ja:"白石",en:"White",fr:"White",de:"White"},"problem.setup.toolErase":{ko:"지우기",zh:"擦除","zh-TW":"擦除",ja:"消す",en:"Erase",fr:"Erase",de:"Erase"},"problem.setup.clear":{ko:"모두 지우기",zh:"清空棋盘","zh-TW":"清空棋盤",ja:"盤面をクリア",en:"Clear board",fr:"Clear board",de:"Clear board"},"problem.setup.reseed":{ko:"현재 장면으로",zh:"恢复当前局面","zh-TW":"恢復目前局面",ja:"現在の局面に戻す",en:"Use current position",fr:"Use current position",de:"Use current position"},"problem.setup.toMove":{ko:"두는 쪽",zh:"先手方","zh-TW":"先手方",ja:"手番",en:"To play",fr:"To play",de:"To play"},"problem.setup.startCta":{ko:"문제 시작",zh:"开始解题","zh-TW":"開始解題",ja:"出題開å
92§‹",en:"Start problem",fr:"Start problem",de:"Start problem"},"problem.dashboard.title":{ko:"문제 풀이 ({count}명)",zh:"解题中({count}人)","zh-TW":"解題中({count}人)",ja:"問題演習({count}人)",en:"Problem ({count} students)",fr:"Problem ({count} students)",de:"Problem ({count} students)"},"problem.dashboard.focus":{ko:"보기",zh:"查看","zh-TW":"查看",ja:"表示",en:"Focus",fr:"Focus",de:"Focus"},"problem.dashboard.end":{ko:"문제 종료",zh:"结束解题","zh-TW":"結束解題",ja:"出題終了",en:"End problem",fr:"End problem",de:"End problem"},"problem.dashboard.endConfirm":{ko:"문제 풀이를 종료하고 공유 바둑판으로 돌아갈까요?",zh:"结束解题并返回共享棋盘?","zh-TW":"結束解題並返回共用棋盤?",ja:"出題を終了して共有盤に戻りますか?",en:"End the problem and return to the shared board?",fr:"End the problem and return to the shared board?",de:"End the problem and return to the shared board?"},"problem.dashboard.endConfirmAria":{ko:"문제 종료 확인",zh:"确认结束解题","zh-TW":"確認結束解題",ja:"出題終了を確認",en:"Confirm end problem",fr:"Confirm end problem",de:"Confirm end problem"},"problem.dashboard.markCorrect":{ko:"정답",zh:"正确","zh-TW":"正確",ja:"正解",en:"Correct",fr:"Correct",de:"Correct"},"problem.dashboard.markIncorrect":{ko:"오답",zh:"错误","zh-TW":"錯誤",ja:"不正解",en:"Incorrect",fr:"Incorrect",de:"Incorrect"},"problem.dashboard.clearVerdict":{ko:"판정 지우기",zh:"清除判定","zh-TW":"清除判定",ja:"判定を消す",en:"Clear mark",fr:"Clear mark",de:"Clear mark"},"problem.dashboard.reset":{ko:"처음부터",zh:"重新开始","zh-TW":"重新開始",ja:"やり直す",en:"Reset",fr:"Reset",de:"Reset"},"problem.dashboard.done":{ko:"다 풀었어요",zh:"我做完了","zh-TW":"我做完了",ja:"できました",en:"I'm done",fr:"I'm done",de:"I'm done"},"problem.dashboard.doneBadge":{ko:"완료",zh:"完成","zh-TW":"完成",ja:"完了",en:"Done",fr:"Done",de:"Done"},"problem.dashboard.verdictCorrect":{ko:"정답입니다!",zh:"答对了!","zh-TW":"答對了!",ja:"正解です!",en:"Correct!",fr:"Correct!",de:"Correct!"},"problem.dashboard.verdictIncorrect":{ko:"다시 생각해 보세요",zh:"再想想","zh-TW":"再想想",ja:"もう一度考えてみましょう",en:"Not quite — try again",fr:"Not quite — try again",de:"Not quite — try again"},"problem.dashboard.nextStone":{ko:"다음 수: {color}",zh:"下一手:{color}","zh-TW":"下一手:{color}",ja:"次の手:{color}",en:"Next stone: {color}",fr:"Next stone: {color}",de:"Next stone: {color}"},"roster.title":{ko:"현재 참가자",zh:"房间内成员","zh-TW":"房間內成員",ja:"参加者",en:"In this room",fr:"Dans cette salle",de:"In diesem Raum"}
92,"roster.you":{ko:"(나)",zh:"(你)","zh-TW":"(你)",ja:"(あなた)",en:"(you)",fr:"(vous)",de:"(Sie)"},"roster.driving":{ko:"조작 중",zh:"操作中","zh-TW":"操作中",ja:"操作中",en:"Driving",fr:"Aux commandes",de:"Steuert"},"chat.retryTranslation":{en:"Retry translation",ko:"번역 다시 시도",zh:"重试翻译","zh-TW":"重試翻譯",ja:"翻訳を再試行",fr:"Réessayer la traduction",de:"Übersetzung erneut versuchen"},"chat.translationFailed":{en:"Translation unavailable",ko:"번역할 수 없습니다",zh:"翻译暂不可用","zh-TW":"翻譯暫不可用",ja:"翻訳できませんでした",fr:"Traduction indisponible",de:"Übersetzung nicht verfügbar"},"chat.translating":{en:"Translating…",ko:"번역 중…",zh:"正在翻译…","zh-TW":"正在翻譯…",ja:"翻訳中…",fr:"Traduction en cours…",de:"Wird übersetzt…"},"support.contactLine":{ko:"문의나 의견이 있으신가요?",zh:"有疑问或反馈吗?","zh-TW":"有疑問或意見嗎?",ja:"ご質問・ご意見はありますか?",en:"Questions or feedback?",fr:"Des questions ou des commentaires ?",de:"Fragen oder Feedback?"}},FA=(e,t)=>{if(!t)return e;let n=e;for(const[r,s]of Object.entries(t))n=n.split(`{${r}}`).join(String(s));return n},H=()=>{const e=vt(t=>t.uiLang);return(t,n)=>FA(WA[t][e],n)},en=(e,t)=>{const n=vt.getState().uiLang;return FA(WA[e][n],t)},$A=25e3;class eae{constructor(t){se(this,"queue",[]);se(this,"active",null);se(this,"waitingTimer",null);this.deps=t}enqueue(t,n=!1){n||this.stop(),this.append(t,null)}reserveTranslation(t){this.append(t,Date.now()+$A)}resolveTranslation(t,n){const r=this.queue.findIndex(i=>i.item.source===t.source&&i.item.id===t.id),s=this.queue[r];!s||s.waitingUntil===null||(!n||Date.now()>=s.waitingUntil?this.queue.splice(r,1):s.waitingUntil=null,this.next())}append(t,n){var r;[(r=this.active)==null?void 0:r.item,...this.queue.map(s=>s.item)].some(s=>(s==null?void 0:s.source)===t.source&&s.id===t.id)||(this.queue.length>=5&&this.queue.shift(),this.queue.push({item:t,waitingUntil:n}),this.next())}next(){var i;if(this.waitingTimer!==null&&clearTimeout(this.waitingTimer),this.waitingTimer=null,this.active)return;for(;((i=this.queue[0])==null?void 0:i.waitingUntil)!=null&&this.queue[0].waitingUntil<=Date.now();)this.queue.shift();const t=this.queue[0];if(!t)return;if(t.waitingUntil!==null){this.waitingTimer=setTimeout(()=>this.next(),Math.max(0,t.waitingUntil-Date.now()));return}this.queue.shift();const{item:n}=t,r=na(12),s=setTimeout(()=>{var a;((a=this.active)==null?void 0:a.requestId)===r&&this.fail("unavailable")},3e4);this.active={item:n,requestId:r,received:!1,controller:new AbortController,timer:s},this.deps.onState({...n,status:"loading"}),this.deps.send({t:"tts.request",requestId:r,...n})}handle(t){if(t.t!=="tts.audio"&&t.t!=="tts.error")return;if(t.t==="tts.error"&&t.requestId===""){t.code!=="disabled"&&this.deps.onError(t.code);return}const n=this.active;if(!(!n||n.received||t.requestId!==n.requestId)){if(n.received=!0,clearTimeout(n.timer),t.t==="tts.error"){this.fail(t.code);return}this.deps.play(t.audio,n.controller.signal,()=>{this.active===n&&(this.active=null,this.deps.onState(null),this.next())}).then(()=>{this.active===n&&this.deps.onState({...n.item,status:"playing"})}).catch(r=>{this.active===n&&this.fail(r instanceof Error&&r.name==="NotAllowedError"?"blocked":"unavailable")})}}fail(t){this.stop(),t!=="disabled"&&this.deps.onError(t)}stop(){const t=this.active;this.active=null,this.queue=[],this.waitingTimer!==null&&clearTimeout(this.waitingTimer),this.waitingTimer=null,t&&(clearTimeout(t.timer),t.controller.abort(),t.received||this.deps.send({t:"tts.cancel",requestId:t.requestId})),this.deps.onState(null)}}const bv=mt(()=>({current:null})),BA=e=>{const t=e==="blocked"?"tts.blocked":e==="busy"?"tts.busy":e==="not-found"?"tts.expired":"tts.unavailable";qt.getState().add("warn",en(t),6e3)},Xn=new eae({send:e=>he.send(e),onState:e=>bv.setState({current:e}),onError:BA,play:async(e,t,n)=>{const r=pi();if(!r||r.state!=="running")throw new DOMException("Audio locked","NotAllowedError");const s=Uint8Array.from(atob(e),u=>u.charCodeAt(0)),i=await r.decodeAudioData(s.buffer);if(t.aborted)return;if(r.state!=="running")throw new DOMException("Audio locked","NotAllowedError");const a=r.createBufferSource();a.buffer=i,a.connect(r.destination);const l=()=>{t.removeEventListener("abort",c),a.onended=null,a.disconnect()},c=()=>
92{l();try{a.stop()}catch{}};t.addEventListener("abort",c,{once:!0}),a.onended=()=>{l(),n()};try{a.start()}catch(u){throw c(),u}}}),tae=()=>{D3();const e=AA(n=>{if(n==="running")return;const r=bv.getState().current;Xn.stop(),r&&BA("blocked")}),t=J.subscribe((n,r)=>{var s,i,a,l,c,u,d,h,f,p,m,y;(n.roomId!==r.roomId||((s=n.self)==null?void 0:s.participantId)!==((i=r.self)==null?void 0:i.participantId)||((a=n.self)==null?void 0:a.lang)!==((l=r.self)==null?void 0:l.lang)||n.studentLang!==r.studentLang||((c=n.peer)==null?void 0:c.participantId)!==((u=r.peer)==null?void 0:u.participantId)||((d=n.peer)==null?void 0:d.lang)!==((h=r.peer)==null?void 0:h.lang)||((f=n.teacher)==null?void 0:f.participantId)!==((p=r.teacher)==null?void 0:p.participantId)||((m=n.teacher)==null?void 0:m.lang)!==((y=r.teacher)==null?void 0:y.lang)||n.allowMultipleStudents!==r.allowMultipleStudents||n.tts.enabled!==r.tts.enabled||n.tts.autoplay!==r.tts.autoplay||n.wsState!==r.wsState||n.status!==r.status)&&Xn.stop()});return()=>{t(),e(),Xn.stop()}},nae=(e,t)=>{var r;const n=J.getState();n.status!=="ready"||n.wsState!=="connected"||n.allowMultipleStudents||!n.tts.enabled||((r=pi())==null||r.resume().catch(()=>{}),Xn.enqueue({source:e,id:t}))},Ah=e=>{var n,r;const t=J.getState();if(!(t.status!=="ready"||t.wsState!=="connected"||t.allowMultipleStudents||!t.tts.enabled||!t.tts.autoplay||!t.self||LA()!=="running")){if(e.t==="subtitle.new"){const s=e.subtitle;if(s.speakerLang!==s.tgtLang){const i={source:"subtitle",id:s.id};Xn.reserveTranslation(i),s.translated!==null&&Xn.resolveTranslation(i,!!s.translated.trim()&&s.translated!==s.original)}}else if(e.t==="message.new"){const s=e.senderRole==="teacher"?t.studentLang:((n=t.teacher)==null?void 0:n.lang)??(t.self.role==="teacher"?t.self.lang:null);t.peer!==null&&s!==null&&e.sourceLang!==s&&Xn.reserveTranslation({source:"chat",id:e.id})}else if(e.t==="subtitle.translated"){const s=ht.getState().rows.find(i=>i.id===e.id);Xn.resolveTranslation({source:"subtitle",id:e.id},!!s&&s.tgtLang!==null&&s.speakerLang!==s.tgtLang&&!!((r=e.translated)!=null&&r.trim())&&e.translated!==s.original)}else if(e.t==="message.translated"){const s=Cn.getState().messages.find(i=>i.id===e.id);Xn.resolveTranslation({source:"chat",id:e.id},!!s&&s.sourceLang!==e.lang&&!!e.translated.trim()&&e.translated!==s.text)}}},Mx={localStream:null,remoteStream:null,remoteStreams:{},micEnabled:!0,camEnabled:!0,pcState:"idle",permissionError:null,localTrackReacquiring:{audio:!1,video:!1}},ze=mt(e=>({...Mx,setLocalStream:t=>e({localStream:t}),setRemoteStream:t=>e({remoteStream:t}),setRemoteStreamFor:(t,n)=>e(r=>({remoteStreams:{...r.remoteStreams,[t]:n}})),removeRemoteStream:t=>e(n=>{if(!(t in n.remoteStreams))return n;const r={...n.remoteStreams};return delete r[t],{remoteStreams:r}}),setMicEnabled:t=>e({micEnabled:t}),setCamEnabled:t=>e({camEnabled:t}),setPcState:t=>e({pcState:t}),setPermissionError:t=>e({permissionError:t,pcState:t?"error":"idle"}
92),setLocalTrackReacquiring:(t,n)=>e(r=>({localTrackReacquiring:{...r.localTrackReacquiring,[t]:n}})),reset:()=>e({...Mx,remoteStreams:{}})})),UA="audio/webm;codecs=opus",rae=200,sae=64e3,Ox=6e4,iae=5,Oi={recorder:null},tc=[];let za=null,Go=null;const aae=()=>{Go!==null&&(clearTimeout(Go),Go=null),za!==null&&(qt.getState().dismiss(za),za=null),tc.length=0},oae=()=>{const e=Date.now();for(tc.push(e);tc.length>0&&e-tc[0]>Ox;)tc.shift();tc.length>=iae&&za===null&&(za=qt.getState().add("warn",en("banner.subtitlesDegraded"))),Go!==null&&clearTimeout(Go),Go=setTimeout(()=>{Go=null,za!==null&&(qt.getState().dismiss(za),za=null)},Ox)},lae=()=>{if(typeof MediaRecorder>"u")return!1;try{return MediaRecorder.isTypeSupported(UA)}catch{return!1}},Lh=e=>{ht.getState().setAsrUnavailable(!0),e!==void 0&&console.warn("[audioCapture] recorder unavailable",e)},qA=e=>{if(!lae()){Lh();return}const t=e.getAudioTracks().filter(l=>l.readyState==="live");if(t.length===0){Lh();return}const n=new MediaStream(t);let r;try{r=new MediaRecorder(n,{mimeType:UA,audioBitsPerSecond:32e3})}catch(l){Lh(l);return}let s=!0,i=!1,a=performance.now();r.ondataavailable=l=>{if(l.data.size===0)return;const c=he.wsState;if(c&&c.bufferedAmount>sae){console.warn("[audioCapture] WS backpressure, dropping chunk",c.bufferedAmount),oae(),i=!0;return}if(i){GA(e);return}s&&(s=!1,he.send({t:"asr.ready",captureAgeMs:performance.now()-a})),he.sendBinary(l.data)},r.onerror=l=>{r.ondataavailable=null,Oi.recorder===r&&(Oi.recorder=null),console.warn("[audioCapture] recorder error",l),ht.getState().setAsrUnavailable(!0)},r.onstop=()=>{Oi.recorder===r&&(Oi.recorder=null)};try{a=performance.now(),r.start(rae)}catch(l){r.ondataavailable=null,r.onerror=null,r.onstop=null,Lh(l);return}Oi.recorder=r},HA=()=>{const e=Oi.recorder;if(e){e.ondataavailable=null,e.onerror=null,e.onstop=null,Oi.recorder=null;try{e.stop()}catch{}}},cae=e=>{Oi.recorder||qA(e)},uae=()=>{HA(),aae()},GA=e=>{HA(),qA(e)},dae=()=>Oi.recorder!==null,nn={start:cae,stop:uae,restart:GA,isRunning:dae},L5=()=>({format:"srt",mode:"translated",targetLang:null,offsetSeconds:0}),_v="baduk.attended-transcript.v1";function hae(){try{const e=sessionStorage.getItem(_v);if(!e)return null;const t=JSON.parse(e);return!t.snapshot||!Array.isArray(t.snapshot.entries)||!t.settings?null:t}catch{return null}}function Mh(e){if(!(!e.roomId||!e.snapshot))try{sessionStorage.setItem(_v,JSON.stringify(e))}catch{}}function Dx(e,t){var r;const n=new Map(e.map(s=>[s.id,s]));for(const s of t)n.set(s.id,{...s,translations:{...(r=n.get(s.id))==null?void 0:r.translations,...s.translations}});return[...n.values()]}const Vi=mt((e,t)=>({roomId:null,snapshot:null,settings:L5(),begin:(n,r)=>{var c;const s=t(),i=s.snapshot?s:hae(),a=(i==null?void 0:i.roomId)===n&&((c=i.snapshot)==null?void 0:c.lessonId)===r.lessonId,l={roomId:n,snapshot:a?{...r,attendedFrom:Math.min(r.attendedFrom,i.snapshot.attendedFrom),entries:Dx(i.snapshot.entries,r.entries)}:r,settings:a?i.settings:L5()};e(l),Mh(l)},capture:n=>{const r=t();if(!r.snapshot)return;const s=qte(n);if(!s)return;const i=r.snapshot.entries,a=Ute(n,i.find(c=>c.id===s));if(!a||(a.endMs??a.ts)<r.snapshot.attendedFrom)return;const l={...r.snapshot,entries:Dx(i,[a])};e({snapshot:l}),Mh({...r,snapshot:l})},setStartedAt:n=>{const r=t();if(!r.snapshot||n===r.snapshot.startedAt)return;const s={...r.snapshot,startedAt:n};e({snapshot:s}),Mh({...r,snapshot:s})},setSettings:n=>{Number.isFinite(n.offsetSeconds)&&(e({settings:n}),Mh(t()))},reset:()=>{e({roomId:null,snapshot:null,settings:L5()});try{sessionStorage.removeItem(_v)}catch{}}})),KA=()=>{Nie(),Xn.stop(),he.send({t:"leave"}),he.close(),nn.stop(),tn.clear(),ze.getState().reset(),ht.getState().reset(),Cn.getState().reset(),Vi.getState().reset(),un.getState().clear(),Nr.getState().clear(),Dn.getState().clear(),qt.getState().clear(),Mo.getState().reset(),Ho.getState().reset(),J.getState().reset()};class Wx{constructor(t){se(this,"timerId",null);se(this,"bannerId",null);this.actions=t}requestShow(t,n,r){this.bannerId===null&&this.timerId===null&&(this.timerId=window.setTimeout(()=>{this.timerId=null,this.bannerId=this.actions.add(t,n)},r))}cancel(){this.timerId!==null&&(window.clearTimeout(this.timerId),this.timerId=null),this.bannerId!==null&&(this.actions.dismiss(this.bannerId),this.bannerId=null)}}const fae=(e,t)=>e.code==="write-rejected"&&t.allowMultipleStudents?{level:"warn",key:"banner.writeRejected"}:null;class pae{constructor(t,n={}){se(this,"speakingMsSinceCaption",0);
92se(this,"lastObserveAt",null);se(this,"lastRecoveryAt",null);se(this,"speakingThreshold");se(this,"deadAfterSpeakingMs");se(this,"cooldownMs");se(this,"maxSampleGapMs");this.deps=t,this.speakingThreshold=n.speakingThreshold??.02,this.deadAfterSpeakingMs=n.deadAfterSpeakingMs??6e3,this.cooldownMs=n.cooldownMs??2e4,this.maxSampleGapMs=n.maxSampleGapMs??2e3}noteAsrActivity(){this.speakingMsSinceCaption=0}observe(t,n){const r=this.lastObserveAt;if(this.lastObserveAt=n,!this.deps.isCapturing()){this.speakingMsSinceCaption=0;return}const s=r===null?0:Math.min(Math.max(0,n-r),this.maxSampleGapMs);if(t>=this.speakingThreshold&&(this.speakingMsSinceCaption+=s),!(this.speakingMsSinceCaption<this.deadAfterSpeakingMs)){if(this.lastRecoveryAt!==null&&n-this.lastRecoveryAt<this.cooldownMs){this.speakingMsSinceCaption=0;return}this.lastRecoveryAt=n,this.speakingMsSinceCaption=0,this.deps.onRecover()}}reset(){this.speakingMsSinceCaption=0,this.lastObserveAt=null,this.lastRecoveryAt=null}}const Du={ko:"한국어",zh:"简体中文","zh-TW":"繁體中文","zh-HK":"粵語 (香港)",ja:"日本語",en:"English",fr:"Français",de:"Deutsch",es:"Español","pt-BR":"Português (BR)","pt-PT":"Português (PT)",ru:"Русский"},Ds=["ko","zh","zh-TW","zh-HK","ja","en","fr","de","es","pt-BR","pt-PT","ru"],ef=({value:e,onChange:t,label:n,disabled:r})=>o.jsxs("div",{className:"field",children:[o.jsx("label",{children:n}),o.jsx("select",{value:e,onChange:s=>t(s.target.value),disabled:r??!1,"aria-label":n,children:Ds.map(s=>o.jsx("option",{value:s,children:Du[s]},s))})]}),VA=()=>{const e=H(),t=J(f=>f.self),n=(t==null?void 0:t.role)==="teacher",r=(t==null?void 0:t.lang)??null,s=J(f=>f.studentLang),i=J(f=>f.studentLangLocked),a=J(f=>f.setStudentLang),l=J(f=>f.allowMultipleStudents),c=ze(f=>f.micEnabled),u=ze(f=>f.localStream),d=f=>{a(f),he.send({t:"lang.set",lang:f}),(t==null?void 0:t.role)==="student"&&u&&c&&nn.restart(u)},h=f=>{t&&(J.getState().setParticipantLang(t.participantId,f),he.send({t:"lang.self.set",lang:f}),he.updateCachedLang(f),u&&c&&nn.restart(u))};return o.jsx("div",{className:"lesson-language-controls",children:l?r&&o.jsx("div",{className:"lc-group",children:o.jsx(ef,{value:r,onChange:h,label:e(n?"controls.myLang.label":"controls.myCaptions.label")})}):s&&o.jsxs("div",{className:"lc-group",children:[o.jsx(ef,{value:s,onChange:d,label:e("controls.studentLang.label"),disabled:n&&i}),n&&i&&o.jsx("p",{className:"lc-hint",children:e("controls.studentLang.lockedByStudent",{lang:Du[s]})}),n&&r&&o.jsx(ef,{value:r,onChange:h,label:e("controls.myLang.label")}),n&&r===s&&o.jsx("p",{className:"lc-hint",children:e("controls.translation.off")})]})})},YA=({gameActive:e=!1})=>{const t=H(),n=J(W3),r=J(_=>{var g;return((g=_.self)==null?void 0:g.role)==="teacher"}),s=J(_=>_.peer),i=J(_=>_.interactive),a=J(_=>_.students),l=J(_=>_.allowMultipleStudents),c=J(_=>_.activeStudentId),[u,d]=v.useState(c??""),h=()=>{if(l&&r){if(!u)return;he.send({t:"role.take",participantId:u});return}he.send({t:"role.take"})},f=()=>{s&&he.send({t:"role.take",participantId:s.participantId})},p=_=>{if(!e){if(l){if(!u)return;he.send({t:"interactive.enable",studentColor:_,studentParticipantId:u});return}he.send({t:"interactive.enable",studentColor:_})}},m=()=>{he.send({t:"interactive.disable"})},y=r&&(e||s!==null||l&&a.length>0);return o.jsx("div",{className:"lesson-controls lesson-board-controls",role:"group","aria-label":t("controls.group.boardControl"),children:o.jsxs("div",{className:"lc-group",children:[o.jsx("span",{className:"lc-eyebrow",children:t("controls.group.boardControl")}),r&&l?o.jsxs(o.Fragment,{children:[o.jsx("label",{htmlFor:"active-student-select",className:"lc-eyebrow",children:t("controls.activeStudent.label")}),o.jsxs("select",{id:"active-student-select",className:"lc-select","aria-label":t("controls.activeStudent.label"),value:u,onChange:_=>d(_.target.value),children:[o.jsx("option",{value:"",children:t("controls.activeStudent.none")}),a.map(_=>o.jsx("option",{value:_.participantId,children:_.name},_.participantId))]}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm btn--block",onClick:h,disabled:!u,children:t("controls.giveControl")})]}):r&&n&&s!==null?o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm btn--block",onClick:f,children:t("controls.giveControl")}):o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm btn--block",onClick:h,disabled:n,children:t(n?"controls.driving":"controls.takeControl")}),y&&o.jsxs("div",{className:"lc-interactive",children:[o.jsx("span",{className:"lc-eyebrow",children:t("controls.alternateMoves")}),e||i===null?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"lc-interactive__choices",children:[o.jsxs("button",{type:"button",className:"lc-stone-btn",onClick:()=>p("B"),disabled:e||l&&!u,children:[o.jsx("span",{className:"lc-stone lc-stone--black","aria-hidden":"true"}),o.jsx("span",{children:t("controls.interactive.studentBlack")})]}),o.jsxs("button",{type:"button",className:"lc-stone-btn",onClick:()=>p("W"),disabled:e||l&&!u,children:[o.jsx("span",{className:"lc-stone lc-stone--white","aria-hidden":"true"}),o.jsx("span",{children:t("controls.interactive.studentWhite")})]})]}),e&&o.jsx("p",{className:"lc-hint",children:t("controls.lockedDuringGame")})]}):o.jsxs("div",{className:"lc-interactive__active",children:[o.jsxs("span",{className:"lc-interactive__active-state",children:[t("controls.interactive.activePrefix"),o.jsx("span",{"aria-label":i.studentColor==="B"?t("board.color.black"):t("board.color.white"),className:`lc-stone lc-stone--${i.studentColor==="B"?"black":"white"}`})]}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--xs",onClick:m,children:t("controls.interactive.exit")})]})]})]})})},JA=({disabled:e,onLoad:t})=>{const n=H(),r=v.useRef(null),s=v.useRef(e);return s.current=e,o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:e,onClick:()=>{var i;return(i=r.current)==null?void 0:i.click()},children:n("controls.loadSgf")}),o.jsx("input",{ref:r,type:"file",accept:".sgf",style:{display:"none"},onChange:async i=>{var c;const a=(c=i.target.files)==null?void 0:c[0];if(i.target.value="",!a||s.current)return;const l=await a.text();s.current||t(l)}})]})},lp=({label:e})=>o.jsxs(o.Fragment,{children:[o.jsx("svg",{className:"room-disclosure-chevron",width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",children:o.jsx("path",{d:"m6 4 4 4-4 4",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),o.jsx("span",{children:e})]}),mae=e=>{if(!e)return;const t=e.trim().match(/^(\d+)\s*(d|dan|段|단|k|kyu|級|级|급|p|pro)$/i);if(!t)return e;const n=/^(d|dan|段|단)$/i.test(t[2])?"d":/^(p|pro)$/i.test(t[2])?"p":"k";return`${t[1]}${n}`},gae=()=>{const e=yt(n=>{var r;return(r=n.state)==null?void 0:r.metadata}),t=yt(n=>{var r;return(r=n.state)==null?void 0:r.tree.id});return e?o.jsx(yae,{metadata:e},t):null},yae=({metadata:e})=>{const t=H(),n=v.useId(),r=v.useRef(null),s=v.useRef(null),i=v.useRef(!1),[a,l]=v.useState("closed"),[c,u]=v.useState(!1),d=a!=="closed",h=()=>{l("closed"),u(!1)};v.useEffect(()=>{if(!d)return;const y=g=>{var b;(b=r.current)!=null&&b.contains(g.target)||h()},_=g=>{var k,x;if(g.key!=="Escape")return;const b=(k=r.current)==null?void 0:k.contains(document.activeElement);i.current=!0,h(),b&&((x=s.current)==null||x.focus())};return document.addEventListener("pointerdown",y),document.addEventListener("keydown",_),()=>{document.removeEventListener("pointerdown",y),document.removeEventListener("keydown",_)}},[d]);const f=[];if(e.handicap!==void 0&&f.push([t("sgfInfo.handicap"),t("sgfInfo.stones",{count:e.handicap})]),e.komi!==void 0&&f.push([t("sgfInfo.komi"),t("sgfInfo.points",{count:e.komi})]),e.mainTimeSeconds!==void 0){const y=e.mainTimeSeconds%60===0?t("sgfInfo.minutes",{count:e.mainTimeSeconds/60}):t("sgfInfo.seconds",{count:e.mainTimeSeconds});f.push([t("sgfInfo.mainTime"),y])}
92e.overtime?f.push([t("sgfInfo.overtime"),e.overtime]):e.byoYomi&&f.push([t("sgfInfo.overtime"),t("sgfInfo.byoYomi",e.byoYomi)]),e.rules&&f.push([t("sgfInfo.rules"),e.rules]),e.date&&f.push([t("sgfInfo.date"),e.date]),e.event&&f.push([t("sgfInfo.event"),e.event]);const p=f.length>0||!!e.result,m=!!(e.blackName||e.whiteName);return!m&&!p?null:o.jsxs("div",{className:"sgf-game-info",children:[m&&o.jsx("div",{className:"sgf-game-info__players",children:["black","white"].map(y=>o.jsxs("span",{className:"sgf-game-info__player",children:[o.jsx("span",{className:`turn-badge__dot turn-badge__dot--${y}`,"aria-hidden":"true"}),o.jsxs("span",{children:[t(y==="black"?"sgfInfo.black":"sgfInfo.white")," ",o.jsx("bdi",{children:e[`${y}Name`]||t("sgfInfo.unknown")})," ",o.jsx("span",{className:"sgf-game-info__rank",children:mae(e[`${y}Rank`])})]})]},y))}),p&&o.jsxs("div",{className:"sgf-game-info__control",ref:r,onPointerEnter:y=>{y.pointerType!=="touch"&&(i.current=!1,l(_=>_==="pinned"?_:"preview"))},onPointerLeave:()=>{var y;a==="preview"&&!((y=r.current)!=null&&y.contains(document.activeElement))&&h()},onFocus:()=>{i.current||l(y=>y==="pinned"?y:"preview")},onBlur:y=>{y.currentTarget.contains(y.relatedTarget)||(i.current=!1,a!=="pinned"&&h())},children:[o.jsx("button",{ref:s,type:"button",className:"sgf-game-info__trigger","aria-label":t("sgfInfo.details"),"aria-expanded":d,"aria-controls":n,onClick:()=>{a==="pinned"?(i.current=!0,h()):l("pinned")},children:o.jsx("span",{"aria-hidden":"true",children:"ⓘ"})}),d&&o.jsxs("section",{id:n,className:"sgf-game-info__popover","aria-label":t("sgfInfo.details"),children:[o.jsxs("div",{className:"sgf-game-info__heading",children:[o.jsx("strong",{children:t("sgfInfo.details")}),o.jsx("button",{type:"button","aria-label":t("sgfInfo.close"),onClick:()=>{var y;i.current=!0,h(),(y=s.current)==null||y.focus()},children:o.jsx("span",{"aria-hidden":"true",children:"✕"})})]}),o.jsxs("dl",{children:[f.map(([y,_])=>o.jsxs("div",{children:[o.jsx("dt",{children:y}),o.jsx("dd",{children:_})]},y)),e.result&&o.jsxs("div",{children:[o.jsx("dt",{children:t("sgfInfo.result")}),o.jsx("dd",{children:c?o.jsx("span",{children:e.result}):o.jsx("button",{type:"button",className:"sgf-game-info__spoiler",onClick:()=>u(!0),children:t("sgfInfo.reveal")})})]})]})]})]})]})};function Fx({clean:e,onClean:t,compact:n=!1}){const r=H(),s=J(j=>j.presentation),i=J(j=>{var I;return((I=j.self)==null?void 0:I.role)==="teacher"}),a=J(j=>j.allowMultipleStudents),l=J(j=>j.interviewContextSupported),c=J(j=>j.interviewError),u=J(j=>j.wsState),d=un(j=>j.game),h=Dn(j=>j.boards.size>0),[f,p]=v.useState(s.context),[m,y]=v.useState(s.contextRevision),[_,g]=v.useState(!1),[b,k]=v.useState(!1),x=s.mode==="interview",S=!!d&&d.phase!=="finished",T=S&&d.config.timeControl.kind!=="none"||!!h,C=_&&s.contextRevision!==m;v.useEffect(()=>{(!_||b&&f.trim()===s.context)&&(p(s.context),y(s.contextRevision),g(!1),k(!1))},[s.context,s.contextRevision,_,f,b]),v.useEffect(()=>{(c||u!=="connected")&&k(!1)},[c,u]);const E=j=>{J.getState().setInterviewError(null),he.send(j)};if(a)return null;const N=r(c==="conflict"?"interview.conflict":c==="activeGame"?"interview.activeGame":c==="hostOnly"?"interview.hostOnly":"interview.invalid");return n?o.jsxs("div",{className:"room-mode-control",children:[i?o.jsxs("label",{children:[r("interview.roomMode"),o.jsxs("select",{value:s.mode,disabled:u!=="connected",onChange:j=>E({t:"room.mode",mode:j.target.value==="interview"?"interview":"classroom"}),children:[o.jsx("option",{value:"classroom",children:r("interview.classroom")}),o.jsx("option",{value:"interview",disabled:T,children:r("interview.title")})]})]}):o.jsx("strong",{children:r(x?"interview.title":"interview.classroom")}),c&&o.jsx("span",{role:"alert",className:"room-mode-error",children:N})]}):o.jsxs("section",{className:"interview-controls","aria-label":r("interview.roomMode"),children:[o.jsxs("div",{className:"interview-controls__bar",children:[x&&i&&o.jsx("button",{className:"btn",disabled:u!=="connected"||S,onClick:()=>E({t:"interview.board",visible:!s.boardVisible}),children:s.boardVisible?r("interview.hideBoard"):r("interview.showBoard")}),x&&o.jsx("button",{className:"btn","aria-pressed":e,onClick:()=>t(!e),children:r("interview.clean")})]}),x&&!l&&o.jsx("p",{role:"status",children:r("interview.contextUnavailable")}),c&&o.jsx("p",{role:"alert",children:N}),x&&o.jsxs("details",{className:"interview-context",children:[o.jsx("summary",{children:r("interview.context")}),o.jsx("p",{children:r("interview.contextHint")}),o.jsx("label",{htmlFor:"interview-context",children:r("interview.context")}),o.jsx("textarea",{id:"interview-context",maxLength:LZ,value:f,onChange:j=>{p(j.target.value),g(!0)}}),C&&o.jsxs("div",{role:"status",children:[o.jsx("p",{children:r("interview.conflict")}),o.jsx("blockquote",{children:s.context})]}),o.jsx("button",{className:"btn",disabled:!_||b||u!=="connected",onClick:()=>{E({t:"interview.context",context:f,revision:C?s.contextRevision:m}),k(!0)},children:r(C?"interview.saveMine":"interview.save")}),_&&o.jsx("button",{className:"btn btn--ghost",onClick:()=>{p(s.context),y(s.contextRevision),g(!1)},children:r("interview.useLatest")})]})]})}const $x=1e4,M5=e=>Math.min(6e3,Math.max(2400,Array.from(e).length*65));function O5(e,t=80){const n=[];let r=Array.from(e.trim());const s=i=>/[\u2E80-\u9FFF\uAC00-\uD7AF]/u.test(i)?2:1;for(;r.reduce((i,a)=>i+s(a),0)>t;){let i=0,a=0;for(;i<r.length&&a+s(r[i])<=t;)a+=s(r[i++]);for(let l=i;l>=Math.floor(i/2);l--)if(/[\s。!?.!?,,]/u.test(r[l-1])){i=l;break}n.push(r.slice(0,i).join("").trim()),r=r.slice(i)}return r.length&&n.push(r.join("").trim()),n}class Bx{constructor(t=[],n=80){se(this,"seen");se(this,"waiting",[]);se(this,"current",null);se(this,"sourcePage",0);se(this,"translationPage",0);se(this,"until",0);this.limit=n,this.seen=new Set(t.filter(r=>r.status!=="interim").map(r=>r.id))}ingest(t,n){var r;for(const s of t){if(s.status==="interim")continue;
92const i=((r=this.current)==null?void 0:r.row.id)===s.id?this.current:this.waiting.find(l=>l.row.id===s.id),a=s.status==="final"&&s.translated!==s.original?s.translated:null;i?(i.row=s,a&&i.translation.length===0&&(i.translation=O5(a,this.limit),i===this.current&&(this.until=Math.max(this.until,n+M5(i.translation[this.translationPage]??""))))):this.seen.has(s.id)||(this.seen.add(s.id),this.waiting.push({row:s,source:O5(s.original,this.limit),translation:a?O5(a,this.limit):[],received:n}))}this.waiting.sort((s,i)=>(s.row.startMs??s.row.ts)-(i.row.startMs??i.row.ts)||s.row.id.localeCompare(i.row.id)),this.waiting=this.waiting.filter(s=>n-s.received<=$x).slice(-3)}tick(t){var s;const n=((s=this.current)==null?void 0:s.row.status)==="translating"&&this.current.translation.length===0&&this.sourcePage>=this.current.source.length-1&&t-this.current.received<8e3;this.current&&t>=this.until&&!n&&(this.sourcePage++,this.current.translation.length&&this.translationPage++,this.sourcePage>=this.current.source.length&&this.translationPage>=this.current.translation.length?this.current=null:this.until=t+this.duration()),this.current||(this.waiting.length>1&&t-this.waiting[0].received>$x&&(this.waiting=this.waiting.slice(-1)),this.current=this.waiting.shift()??null,this.sourcePage=0,this.translationPage=0,this.current&&(this.until=t+this.duration()));const r=this.current;return r?{id:r.row.id,speakerRole:r.row.speakerRole,speakerName:r.row.speakerName,original:r.source[Math.min(this.sourcePage,r.source.length-1)]??"",translated:r.translation[Math.min(this.translationPage,r.translation.length-1)]??""}:null}duration(){var t,n;return Math.max(M5(((t=this.current)==null?void 0:t.source[this.sourcePage])??""),M5(((n=this.current)==null?void 0:n.translation[this.translationPage])??""))}}function vae(){const e=H(),t=ht(d=>d.rows),n=J(d=>d.wsState),r=J(d=>d.peerConnectionDropped),s=J(d=>d.self),i=J(d=>d.peer),a=v.useRef(null);a.current||(a.current=new Bx(t,window.matchMedia("(max-width: 480px)").matches?72:80));const[l,c]=v.useState(null);v.useEffect(()=>{a.current.ingest(t,Date.now())},[t]),v.useEffect(()=>{if(n!=="connected"||r){a.current=new Bx(ht.getState().rows),c(null);return}const d=window.setInterval(()=>{const h=a.current.tick(Date.now());c(f=>JSON.stringify(f)===JSON.stringify(h)?f:h)},100);return()=>window.clearInterval(d)},[n,r]);const u=(l==null?void 0:l.speakerName)??((l==null?void 0:l.speakerRole)===(s==null?void 0:s.role)?s==null?void 0:s.name:i==null?void 0:i.name);return o.jsx("div",{className:"interview-captions","aria-label":e("interview.captions"),"aria-live":"polite","aria-atomic":"true",children:l&&n==="connected"&&!r&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"interview-captions__name",children:u}),l.original&&o.jsx("div",{className:"interview-captions__original",children:l.original}),l.translated&&o.jsx("div",{className:"interview-captions__translation",children:l.translated})]})})}const bae=[{id:"black",hex:"#000000"},{id:"white",hex:"#FFFFFF"},{id:"red",hex:"#D84315"},{id:"blue",hex:"#1565C0"},{id:"green",hex:"#2E7D32"}],Bi=mt((e,t)=>({tool:"none",color:"#000000",numberCounter:1,pickTool:n=>{const r=t().tool;e({tool:r===n?"none":n,...r==="number"&&n!=="number"?{numberCounter:1}:{},...n==="number"?{numberCounter:1}:{}})},pickColor:n=>e({color:n}),resetCounter:()=>e({numberCounter:1}),incrementCounter:()=>{const n=t().numberCounter;return e({numberCounter:n+1}),n}})),_ae=()=>o.jsx("svg",{width:"15",height:"15",viewBox:"0 0 16 16","aria-hidden":"true",children:o.jsx("circle",{cx:"8",cy:"8",r:"5.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8"})}),kae=[{id:"circle",label:o.jsx(_ae,{}),nameKey:"anno.tool.circle"},{id:"triangle",label:"△",nameKey:"anno.tool.triangle"},{id:"square",label:"□",nameKey:"anno.tool.square"},{id:"cross",label:"✕",nameKey:"anno.tool.cross"},{id:"rect",label:"▭",nameKey:"anno.tool.rect"},{id:"number",label:"1",nameKey:"anno.tool.number"},{id:"label",label:"A",nameKey:"anno.tool.label"},{id:"eraser",label:"⌫",nameKey:"anno.tool.eraser"}],wae=({disabled:e,compact:t=!1})=>{const{tool:n,color:r,pickTool:s,pickColor:i}=Bi(),a=H(),[l,c]=v.useState(!0),u=yt(h=>
92{if(!h.state)return 0;let f=h.state.tree;for(const p of h.state.cursor){const m=f.children[p];if(!m)return 0;f=m}return(h.state.annotations[f.id]??[]).filter(p=>p.kind==="rect").length});if(e)return null;const d=n!=="none"&&n!=="eraser";return o.jsxs("div",{className:t?"anno-panel anno-panel--board":"panel anno-panel",role:"group","aria-label":a("anno.title"),children:[!t&&o.jsx("h3",{children:a("anno.title")}),t&&o.jsx("button",{type:"button",className:"room-widget-toggle anno-fold-toggle","aria-expanded":l,onClick:()=>c(h=>!h),children:o.jsx(lp,{label:a("anno.title")})}),(!t||l)&&o.jsxs("div",{className:"anno-panel-content",children:[o.jsxs("button",{type:"button",className:`anno-play ${n==="none"?"active":""}`,onClick:()=>s("none"),"aria-pressed":n==="none",title:a("anno.tool.play"),"aria-label":a("anno.tool.play"),children:[o.jsx("span",{className:"anno-play__stone","aria-hidden":"true"}),o.jsx("span",{children:a("anno.tool.play")})]}),!t&&o.jsx("span",{className:"anno-markers-label",children:a("anno.markers")}),o.jsx("div",{className:"anno-tool-row",children:kae.map(h=>o.jsx("button",{type:"button",className:`anno-tool-btn ${n===h.id?"active":""}`,onClick:()=>s(h.id),title:a(h.nameKey),"aria-label":a(h.nameKey),"aria-pressed":n===h.id,children:h.label},h.id))}),(d||t)&&o.jsx("div",{className:"anno-color-row",children:bae.map(h=>o.jsx("button",{className:`anno-swatch ${r===h.hex?"active":""}`,disabled:!d,onClick:()=>i(h.hex),title:h.id,style:{backgroundColor:h.hex,border:h.id==="white"?"2px solid #666":`2px solid ${h.hex}`}},h.id))}),n==="rect"&&u>0&&o.jsx("button",{className:"anno-clear-rects",onClick:()=>he.send({t:"board.clearRects"}),children:a("anno.rect.clearAll")})]})]})};var ZA={exports:{}};/*!
93	Copyright (c) 2018 Jed Watson.
94	Licensed under the MIT License (MIT), see
95	http://jedwatson.github.io/classnames
96*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=s(i,r(l)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=s(a,l));return a}function s(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(ZA);var xae=ZA.exports;const K8=yi(xae),D5="ABCDEFGHJKLMNOPQRSTUVWXYZ",V8=["Click","MouseDown","MouseUp","MouseMove","MouseEnter","MouseLeave","PointerDown","PointerUp","PointerMove","PointerEnter","PointerLeave"],Sae=e=>e.length===0?0:e.reduce((t,n)=>t+n,0)/e.length,Oh=e=>Array(e).fill(0).map((t,n)=>n),Y8=e=>Math.floor(Math.random()*(e+1)),Tae=([e,t])=>[[e,t],[e-1,t],[e+1,t],[e,t-1],[e,t+1]],Xs=([e,t],[n,r])=>e===n&&t===r,Dh=(...e)=>e.length===0?!0:e.every(t=>Math.sign(t)===Math.sign(e[0]));
96function jae(e,t){if(Math.min(e,t)<=6)return[];let[n,r]=[e,t].map(u=>u>=13?3:2),[s,i]=[e-n-1,t-r-1],[a,l]=[e,t].map(u=>(u-1)/2),c=[[n,i],[s,r],[s,i],[n,r]];return e%2!==0&&t%2!==0&&e!==7&&t!==7&&c.push([a,l]),e%2!==0&&e!==7&&c.push([a,r],[a,i]),t%2!==0&&t!==7&&c.push([n,l],[s,l]),c}function kv(e,t=null){if(t==null)for(let n=0;n<e.length;n++)for(let r=0;r<e[0].length;r++)kv(e,[r,n]);else{let[n,r]=t,s=e[r][n],i=[[[1,5,8],[n-1,r],[3,7,6]],[[2,5,6],[n,r-1],[4,7,8]],[[3,7,6],[n+1,r],[1,5,8]],[[4,7,8],[n,r+1],[2,5,6]]];for(let[a,[l,c],u]of i)a.includes(s)&&e[c]&&u.includes(e[c][l])&&(e[c][l]=0)}return e}function Cae(e,t){if(e===t||e.length===0||e.length!==t.length||e[0].length!==t[0].length)return[];let n=[];for(let r=0;r<e.length;r++)for(let s=0;s<e[0].length;s++)e[r][s]===0&&t[r]!=null&&t[r][s]&&n.push([s,r]);return n}class Ux extends v.Component{render(){let{style:t,xs:n,coordX:r=s=>D5[s]||D5[D5.length-1]}=this.props;return v.createElement("div",{className:"shudan-coordx",style:{display:"flex",textAlign:"center",...t}},n.map(s=>v.createElement("div",{key:s,style:{width:"1em"}},v.createElement("span",{style:{display:"block"}},r(s)))))}}class qx extends v.Component{render(){let{style:t,height:n,ys:r,coordY:s=i=>n-i}=this.props;return v.createElement("div",{className:"shudan-coordy",style:{textAlign:"center",...t}},r.map(i=>v.createElement("div",{key:i,style:{height:"1em"}},v.createElement("span",{style:{display:"block"}},s(i)))))}}class Eae extends v.Component{shouldComponentUpdate(t){return t.vertexSize!==this.props.vertexSize||t.width!==this.props.width||t.height!==this.props.height||t.xs.length!==this.props.xs.length||t.ys.length!==this.props.ys.length||t.xs[0]!==this.props.xs[0]||t.ys[0]!==this.props.ys[0]}render(){let{vertexSize:t,width:n,height:r,xs:s,ys:i,hoshis:a}=this.props,l=t/2;return s.length>0&&i.length>0&&v.createElement("svg",{className:"shudan-grid",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:0}},i.map((c,u)=>{let d=s[0]===0?l:0;return v.createElement("rect",{key:`h${u}`,className:"shudan-gridline shudan-horizontal",x:d,y:(2*u+1)*l,width:s[s.length-1]===n-1?(2*s.length-1)*l-d:s.length*t-d,height:1})}),s.map((c,u)=>{let d=i[0]===0?l:0;return v.createElement("rect",{key:`v${u}`,className:"shudan-gridline shudan-vertical",x:(2*u+1)*l,y:d,width:1,height:i[i.length-1]===r-1?(2*i.length-1)*l-d:i.length*t-d})}),a.map(([c,u])=>{let d=s.indexOf(c),h=i.indexOf(u);if(!(d<0||h<0))return v.createElement("circle",{key:[c,u].join("-"),className:"shudan-hoshi",cx:(2*d+1)*l+.5,cy:(2*h+1)*l+.5,r:".1em"})}))}}function zae({sign:e,type:t,label:n,zIndex:r}){let s={className:"shudan-marker",style:{position:"absolute",zIndex:r}};return t==="label"?v.createElement("div",s,n):v.createElement("svg",{...s,viewBox:"0 0 1 1"},t==="circle"||t==="loader"||t==="point"?v.createElement("circle",{cx:.5,cy:.5,r:t==="point"?.18:.25,"vector-effect":"non-scaling-stroke"}):t==="square"?v.createElement("rect",{x:.25,y:.25,width:.5,height:.5,"vector-effect":"non-scaling-stroke"}):t==="cross"?[e===0&&v.createElement("rect",{x:.25,y:.25,width:.5,height:.5,stroke:"none"}),v.createElement("path",{d:"M 0 0 L .5 .5 M .5 0 L 0 .5",transform:"translate(.25 .25)","vector-effect":"non-scaling-stroke"})]:t==="triangle"?v.createElement("path",{d:"M 0 .5 L .6 .5 L .3 0 z",transform:"translate(.2 .2)","vector-effect":"non-scaling-stroke"}):null)}const Ti=e=>({position:"absolute",zIndex:e});function Nae(e){let{position:t,shift:n,random:r,sign:s,heat:i,paint:a,paintLeft:l,paintRight:c,paintTop:u,paintBottom:d,paintTopLeft:h,paintTopRight:f,paintBottomLeft:p,paintBottomRight:m,dimmed:y,marker:_,ghostStone:g,animate:b,selected:k,selectedLeft:x,selectedRight:S,selectedTop:T,selectedBottom:C}=e,E={};for(let j of V8)E[j]=v.useCallback(I=>{var P;(P=e[`on${j}`])==null||P.call(e,I,t)},[...t,e[`on${j}`]]);let N=j=>!!_&&v.createElement(zae,{key:"marker",sign:s,type:_.type,label:_.label,zIndex:j});return v.createElement("div",Object.assign({"data-x":t[0],"data-y":t[1],title:_==null?void 0:_.label,style:{position:"relative"},className:K8("shudan-vertex",`shudan-random_${r}`,`shudan-sign_${s}`,{[`shudan-shift_${n}`]:!!n,[`shudan-heat_${!!i&&i.strength}`]:!!i,"shudan-dimmed":y,[`shudan-paint_${a>0?1:-1}`]:!!a,"shudan-paintedleft":!!a&&Math.sign(l)===Math.sign(a),"shudan-paintedright":!!a&&Math.sign(c)===Math.sign(a),"shudan-paintedtop":!!a&&Math.sign(u)===Math.sign(a),"shudan-paintedbottom":!!a&&Math.sign(d)===Math.sign(a),"shudan-selected":k,"shudan-selectedleft":x,"shudan-selectedright":S,"shudan-selectedtop":T,"shudan-selectedbottom":C,"shudan-animate":b},_&&_.type&&`shudan-marker_${_.type}`,_&&_.type==="label"&&_.label&&(_.label.includes(`
97`)||_.label.length>=3)&&"shudan-smalllabel",g&&`shudan-ghost_${g.sign}`,g&&g.type&&`shudan-ghost_${g.type}`,g&&g.faint&&"shudan-ghost_faint")},...V8.map(j=>({[`on${j}`]:E[j]}))),!s&&N(0),!s&&!!g&&v.createElement("div",{key:"ghost",className:"shudan-ghost",style:Ti(1)}),v.createElement("div",{key:"stone",className:"shudan-stone",style:Ti(2)},!!s&&v.createElement("div",{key:"shadow",className:"shudan-shadow",style:Ti()}),!!s&&v.createElement("div",{key:"inner",className:K8("shudan-inner","shudan-stone-image",`shudan-random_${r}`,`shudan-sign_${s}`),style:Ti()},s),!!s&&N()),(!!a||!!l||!!c||!!u||!!d)&&v.createElement("div",{key:"paint",className:"shudan-paint",style:Ti(3)},v.createElement("div",{className:"shudan-inner",style:{...Ti(),opacity:Sae((a?[a]:[l,c,u,d].map(j=>j!==0&&!isNaN(j))).map(j=>
97Math.abs(j??0)*.5)),boxShadow:[Dh(l,u,h)?[Math.sign(u),"-.5em -.5em"]:null,Dh(c,u,f)?[Math.sign(u),".5em -.5em"]:null,Dh(l,d,p)?[Math.sign(d),"-.5em .5em"]:null,Dh(c,d,m)?[Math.sign(d),".5em .5em"]:null].filter(j=>!!j&&j[0]!==0).map(([j,I])=>`${I} 0 0 var(${j>0?"--shudan-black-background-color":"--shudan-white-background-color"})`).join(",")}})),!!k&&v.createElement("div",{key:"selection",className:"shudan-selection",style:Ti(4)}),v.createElement("div",{key:"heat",className:"shudan-heat",style:Ti(5)}),!!i&&v.createElement("div",{key:"heatlabel",className:"shudan-heatlabel",style:Ti(6)},i.text&&i.text.toString()))}class Iae extends v.Component{shouldComponentUpdate(t){let{v1:n,v2:r,type:s,vertexSize:i}=this.props;return s!==t.type||i!==t.vertexSize||!Xs(n,t.v1)||!Xs(r,t.v2)}render(){let{v1:t,v2:n,type:r="line",vertexSize:s}=this.props;if(Xs(t,n))return;let[i,a]=[t,n].map(m=>m.map(y=>y*s)),[l,c]=i.map((m,y)=>a[y]-m),[u,d]=i.map((m,y)=>(m+a[y]+s)/2),h=Math.atan2(c,l)*180/Math.PI,f=Math.sqrt(l*l+c*c),p=u+f;return v.createElement("path",{className:`shudan-${r}`,d:`M ${u} ${d} h ${f} ${r==="arrow"?(()=>{let[m,y]=[p-s/2,d-s/4],[_,g]=[p-s/2,d+s/4];return`L ${m} ${y} M ${p} ${d} L ${_} ${g}`})():""}`,transform:`rotate(${h} ${u} ${d}) translate(${-f/2} 0)`})}}let $3=class extends v.Component{constructor(t){super(t),this.state={}}componentDidUpdate(){if(this.props.animateStonePlacement&&!this.state.clearAnimatedVerticesHandler&&this.state.animatedVertices.length>0){for(let[t,n]of this.state.animatedVertices)this.state.shiftMap[n][t]=Y8(7)+1,kv(this.state.shiftMap,[t,n]);this.setState({shiftMap:this.state.shiftMap}),this.setState({clearAnimatedVerticesHandler:setTimeout(()=>{this.setState({animatedVertices:[],clearAnimatedVerticesHandler:null})},this.props.animationDuration??200)})}}render(){let{width:t,height:n,rangeX:r,rangeY:s,xs:i,ys:a,hoshis:l,shiftMap:c,randomMap:u}=this.state,{innerProps:d={},vertexSize:h=24,coordX:f,coordY:p,busy:m,signMap:y,paintMap:_,heatMap:g,markerMap:b,ghostStoneMap:k,fuzzyStonePlacement:x=!1,showCoordinates:S=!1,lines:T=[],selectedVertices:C=[],dimmedVertices:E=[]}=this.props,N=[].concat(...this.state.animatedVertices.map(Tae));return v.createElement("div",{...d,id:this.props.id,className:K8("shudan-goban","shudan-goban-image",{"shudan-busy":m,"shudan-coordinates":S})+" "+(this.props.class??this.props.className??""),style:{display:"inline-grid",gridTemplateRows:S?"1em 1fr 1em":"1fr",gridTemplateColumns:S?"1em 1fr 1em":"1fr",fontSize:h,lineHeight:"1em",...this.props.style??{}}},S&&v.createElement(Ux,{xs:i,style:{gridRow:"1",gridColumn:"2"},coordX:f}),S&&v.createElement(qx,{height:n,ys:a,style:{gridRow:"2",gridColumn:"1"},coordY:p}),v.createElement("div",{className:"shudan-content",style:{position:"relative",width:`${i.length}em`,height:`${a.length}em`,gridRow:S?"2":"1",gridColumn:S?"2":"1"}},v.createElement(Eae,{vertexSize:h,width:t,height:n,xs:i,ys:a,hoshis:l}),v.createElement("div",{className:"shudan-vertices",style:{display:"grid",gridTemplateColumns:`repeat(${i.length}, 1em)`,gridTemplateRows:`repeat(${a.length}, 1em)`,position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:1}},a.map(j=>i.map(I=>{var F,B,$,D,z,R,w,L,M,A,q,W,U,G,oe;let P=de=>Xs(de,[I,j]),O=C.some(P);return v.createElement(Nae,Object.assign({key:[I,j].join("-"),position:[I,j],shift:x?(F=c==null?void 0:c[j])==null?void 0:F[I]:0,random:(B=u==null?void 0:u[j])==null?void 0:B[I],sign:($=y==null?void 0:y[j])==null?void 0:$[I],heat:(D=g==null?void 0:g[j])==null?void 0:D[I],marker:(z=b==null?void 0:b[j])==null?void 0:z[I],ghostStone:(R=k==null?void 0:k[j])==null?void 0:R[I],dimmed:E.some(P),animate:N.some(P),paint:(w=_==null?void 0:_[j])==null?void 0:w[I],paintLeft:(L=_==null?void 0:_[j])==null?void 0:L[I-1],paintRight:(M=_==null?void 0:_[j])==null?void 0:M[I+1],paintTop:(A=_==null?void 0:_[j-1])==null?void 0:A[I],paintBottom:(q=_==null?void 0:_[j+1])==null?void 0:q[I],paintTopLeft:(W=_==null?void 0:_[j-1])==null?void 0:W[I-1],paintTopRight:(U=_==null?void 0:_[j-1])==null?void 0:U[I+1],paintBottomLeft:(G=_==null?void 0:_[j+1])==null?void 0:G[I-1],paintBottomRight:(oe=_==null?void 0:_[j+1])==null?void 0:oe[I+1],selected:O,selectedLeft:O&&C.some(de=>Xs(de,[I-1,j])),selectedRight:O&&C.some(de=>Xs(de,[I+1,j])),selectedTop:O&&C.some(de=>Xs(de,[I,j-1])),selectedBottom:O&&C.some(de=>Xs(de,[I,j+1]))},...V8.map(de=>({[`on${de}`]:this.props[`onVertex${de}`]}
97))))}))),v.createElement("svg",{className:"shudan-lines",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:2}},v.createElement("g",{transform:`translate(-${r[0]*h} -${s[0]*h})`},T.map(({v1:j,v2:I,type:P},O)=>v.createElement(Iae,{key:O,v1:j,v2:I,type:P,vertexSize:h}))))),S&&v.createElement(qx,{height:n,ys:a,style:{gridRow:"2",gridColumn:"3"},coordY:p}),S&&v.createElement(Ux,{xs:i,style:{gridRow:"3",gridColumn:"2"},coordX:f}))}};$3.getDerivedStateFromProps=function(e,t){let{signMap:n=[],rangeX:r=[0,1/0],rangeY:s=[0,1/0]}=e,i=n.length===0?0:n[0].length,a=n.length;if(t.width===i&&t.height===a){let l=t.animatedVertices;e.animateStonePlacement&&e.fuzzyStonePlacement&&t.clearAnimatedVerticesHandler==null&&(l=Cae(t.signMap,n));let c={signMap:n,animatedVertices:l};return(!Xs(t.rangeX,r)||!Xs(t.rangeY,s))&&Object.assign(c,{rangeX:r,rangeY:s,xs:Oh(i).slice(r[0],r[1]+1),ys:Oh(a).slice(s[0],s[1]+1)}),c}return{signMap:n,width:i,height:a,rangeX:r,rangeY:s,animatedVertices:[],clearAnimatedVerticesHandler:null,xs:Oh(i).slice(r[0],r[1]+1),ys:Oh(a).slice(s[0],s[1]+1),hoshis:jae(i,a),shiftMap:kv(n.map(l=>l.map(c=>Y8(8)))),randomMap:n.map(l=>l.map(c=>Y8(4)))}};const XA=1,QA=99,eL=5,Rae=e=>Number.isFinite(e)?Math.max(XA,Math.min(QA,Math.round(e))):eL,zc=mt(e=>({mode:"last",lastN:eL,setMode:t=>e({mode:t}),setLastN:t=>e({lastN:Rae(t)})})),Hx="ABCDEFGHJKLMNOPQRSTUVWXYZ";function Wh([e,t],[n,r]){return e===n&&t===r}let J8=class tL{constructor(t=[]){if(this.signMap=t,this.height=t.length,this.width=this.height===0?0:t[0].length,t.some(n=>n.length!==this.width))throw new Error("signMap is not well-formed");this._players=[1,-1],this._captures=[0,0],this._koInfo={sign:0,vertex:[-1,-1]}}get([t,n]){return this.signMap[n]!=null?this.signMap[n][t]:null}set([t,n],r){return this.has([t,n])&&(this.signMap[n][t]=r),this}has([t,n]){return 0<=t&&t<this.width&&0<=n&&n<this.height}clear(){return this.signMap=this.signMap.map(t=>t.map(n=>0)),this}makeMove(t,n,{preventSuicide:r=!1,preventOverwrite:s=!1,preventKo:i=!1}={}){let a=this.clone();if(t===0||!this.has(n))return a;if(s&&this.get(n))throw new Error("Overwrite prevented");if(t=t>0?1:-1,i&&this._koInfo.sign===t&&Wh(this._koInfo.vertex,n))throw new Error("Ko prevented");a.set(n,t);let l=a.getNeighbors(n),c=[],u=l.filter(f=>a.get(f)===-t&&!a.hasLiberties(f));for(let f of u)if(a.get(f)!==0)for(let p of a.getChain(f))a.set(p,0).setCaptures(t,m=>m+1),c.push(p);let d=a.getLiberties(n),h=c.length===1&&d.length===1&&Wh(d[0],c[0])&&l.every(f=>a.get(f)!==t);if(a._koInfo={sign:h?-t:0,vertex:h?c[0]:[-1,-1]},c.length===0&&d.length===0){if(r)throw new Error("Suicide prevented");for(let f of a.getChain(n))a.set(f,0).setCaptures(-t,p=>p+1)}return a}analyzeMove(t,n){let r=t===0||!this.has(n),s=!r&&!!this.get(n),i=this._koInfo.sign===t&&Wh(this._koInfo.vertex,n),a=this.get(n);this.set(n,t);let l=!r&&this.getNeighbors(n).some(u=>this.get(u)===-t&&!this.hasLiberties(u)),c=!r&&!l&&!this.hasLiberties(n);return this.set(n,a),{pass:r,overwrite:s,capturing:l,suicide:c,ko:i}}getCaptures(t){let n=this._players.indexOf(t);return n<0?null:this._captures[n]}setCaptures(t,n){let r=this._players.indexOf(t);return r>=0&&(this._captures[r]=typeof n=="function"?n(this._captures[r]):n),this}isSquare(){return this.width===this.height}isEmpty(){return this.signMap.every(t=>t.every(n=>!n))}isValid(){let t={};for(let n=0;n<this.width;n++)for(let r=0;r<this.height;r++){let s=[n,r];if(!(this.get(s)===0||s in t)){if(!this.hasLiberties(s))return!1;
97this.getChain(s).forEach(i=>t[i]=!0)}}return!0}getDistance([t,n],[r,s]){return Math.abs(r-t)+Math.abs(s-n)}getNeighbors(t){if(!this.has(t))return[];let[n,r]=t;return[[n-1,r],[n+1,r],[n,r-1],[n,r+1]].filter(s=>this.has(s))}getConnectedComponent(t,n,r=null){if(!this.has(t))return[];r||(r=[t]);for(let s of this.getNeighbors(t))n(s)&&(r.some(i=>Wh(i,s))||(r.push(s),this.getConnectedComponent(s,n,r)));return r}getChain(t){let n=this.get(t);return this.getConnectedComponent(t,r=>this.get(r)===n)}getRelatedChains(t){if(!this.has(t)||this.get(t)===0)return[];let n=[this.get(t),0];return this.getConnectedComponent(t,s=>n.includes(this.get(s))).filter(s=>this.get(s)===this.get(t))}getLiberties(t){if(!this.has(t)||this.get(t)===0)return[];let n=this.getChain(t),r=[],s={};for(let i of n){let a=this.getNeighbors(i).filter(l=>this.get(l)===0);r.push(...a.filter(l=>!(l in s))),a.forEach(l=>s[l]=!0)}return r}hasLiberties(t,n={}){let r=this.get(t);if(!this.has(t)||r===0||t in n)return!1;let s=this.getNeighbors(t);return s.some(i=>this.get(i)===0)?!0:(n[t]=!0,s.filter(i=>this.get(i)===r).some(i=>this.hasLiberties(i,n)))}clone(){let t=new tL(this.signMap.map(n=>[...n])).setCaptures(1,this.getCaptures(1)).setCaptures(-1,this.getCaptures(-1));return t._koInfo=this._koInfo,t}diff(t){if(t.width!==this.width||t.height!==this.height)return null;let n=[];for(let r=0;r<this.width;r++)for(let s=0;s<this.height;s++){let i=t.get([r,s]);this.get([r,s])!==i&&n.push([r,s])}return n}stringifyVertex(t){return this.has(t)?Hx[t[0]]+(this.height-t[1]):""}parseVertex(t){if(t.length<2)return[-1,-1];let n=Hx.indexOf(t[0].toUpperCase()),r=this.height-+t.slice(1),s=[n,r];return this.has(s)?s:[-1,-1]}getHandicapPlacement(t,{tygem:n=!1}={}){if(Math.min(this.width,this.height)<=6||t<2)return[];let[r,s]=[this.width,this.height].map(d=>d>=13?3:2),[i,a]=[this.width-r-1,this.height-s-1],[l,c]=[this.width,this.height].map(d=>(d-1)/2),u=n?[[r,a],[i,s],[r,s],[i,a]]:[[r,a],[i,s],[i,a],[r,s]];return this.width%2!==0&&this.height%2!==0&&this.width!==7&&this.height!==7?(t===5&&u.push([l,c]),u.push([r,c],[i,c]),t===7&&u.push([l,c]),u.push([l,s],[l,a],[l,c])):this.width%2!==0&&this.width!==7?u.push([l,s],[l,a]):this.height%2!==0&&this.height!==7&&u.push([r,c],[i,c]),u.slice(0,t)}};J8.fromDimensions=(e,t=null)=>{t==null&&(t=e);let n=[...Array(t)].map(r=>Array(e).fill(0));return new J8(n)};var Pae=J8;const Aae=Pae;var Lae=Aae;const wv=yi(Lae),Mae=(e,t)=>Array.from({length:t},()=>Array.from({length:t},()=>e)),nL=e=>e==="B"?1:-1,Oae=(e,t)=>{let n=e;for(const r of t){const s=n.children[r];if(!s)return null;n=s}return n},Gx=(e,t)=>{if(!t.setup)return e;let n=e;for(const r of t.setup)n=n.set([r.x,r.y],nL(r.color));return n},Dae=(e,t,n)=>{let r=wv.fromDimensions(n);r=Gx(r,e);let s=e;for(const i of t){const a=s.children[i];if(!a)break;r=Gx(r,a),a.move&&!a.move.pass&&(r=r.makeMove(nL(a.move.color),[a.move.x,a.move.y])),s=a}return r.signMap},Wae=(e,t)=>{const n=Mae(null,t),r=[];for(const s of e)switch(s.kind){case"circle":n[s.at[1]][s.at[0]]={type:"circle"};break;case"triangle":n[s.at[1]][s.at[0]]={type:"triangle"};break;case"square":n[s.at[1]][s.at[0]]={type:"square"};break;case"cross":n[s.at[1]][s.at[0]]={type:"cross"};break;case"label":n[s.at[1]][s.at[0]]={type:"label",label:s.text};break;case"arrow":r.push({v1:s.from,v2:s.to,type:"arrow"});break}return{markerMap:n,lines:r}},Fae=(e,t)=>{const n=[];let r=e,s=0;for(const i of t){const a=r.children[i];if(!a)break;a.move&&!a.move.pass&&(s+=1,n.push({x:a.move.x,y:a.move.y,color:a.move.color,num:s})),r=a}return n},$ae=(e,t)=>{switch(t.mode){case"off":return[];case"all":return e;case"last":return e.length>0?[e[e.length-1]]:[];case"lastN":return t.lastN>0?e.slice(-t.lastN):[]}},Bae=(e,t,n)=>{const r=new Map;for(const s of n)r.set(`${s.x},${s.y}`,s);for(const s of r.values()){if(e[s.y][s.x]!==null)continue;const i=t[s.y][s.x],a=s.color==="B"?1:-1;i===a&&(e[s.y][s.x]={type:"label",label:String(s.num)})}},Qa=(e,t={mode:"off",lastN:0})=>{const n=e.size??19,r=Dae(e.tree,e.cursor,n),s=Oae(e.tree,e.cursor),i=s?e.annotations[s.id]??[]:[],{markerMap:a,lines:l}=Wae(i,n);if(t.mode!=="off"){const c=Fae(e.tree,e.cursor),u=$ae(c,t);Bae(a,r,u)}return{signMap:r,markerMap:a,lines:l}},yu=mt((e,t)=>
97({pending:null,setPending:n=>e({pending:n}),clear:()=>{cie(),e({pending:null})},reconcile:n=>{const r=t().pending;r&&n>r.baseVersion&&t().clear()}}));yt.subscribe(e=>{var n;const t=(n=e.state)==null?void 0:n.version;t!==void 0&&yu.getState().reconcile(t)});J.subscribe((e,t)=>{e.wsState!==t.wsState&&e.wsState!=="connected"&&yu.getState().clear()});const Uae=(e,t,n=()=>performance.now())=>{let r=0,s=null,i=null;const a=()=>{i=null;const u=s;s=null,u&&(r=n(),t(u.value))};return{fire:u=>{const d=n(),h=d-r;if(h>=e){r=d,s=null,i!==null&&(clearTimeout(i),i=null),t(u);return}s={value:u},i===null&&(i=setTimeout(a,e-h))},cancel:()=>{i!==null&&(clearTimeout(i),i=null),s=null}}},qae=({vertexSize:e=W1,isExternal:t=!1})=>{const n=Ho(s=>s.pings),r=Sv(e);return t?null:o.jsx("div",{className:"click-ping-layer","aria-hidden":"true",children:n.map(s=>o.jsx("span",{className:"click-ping","data-role":s.role,style:{left:`${s.x*e+e/2+r}px`,top:`${s.y*e+e/2+r}px`,width:`${e}px`,height:`${e}px`}},s.id))})},xv=e=>e!==null&&e.phase!=="finished",Ta=mt(e=>({start:null,hover:null,begin:t=>e({start:t,hover:t}),update:t=>e({hover:t}),cancel:()=>e({start:null,hover:null})})),Hae=e=>{let t=e.tree;for(const n of e.cursor){const r=t.children[n];if(!r)return[];t=r}return e.annotations[t.id]??[]},Kx=(e,t,n,r,s,i)=>{const a=Math.min(e[0],t[0]),l=Math.max(e[0],t[0]),c=Math.min(e[1],t[1]),u=Math.max(e[1],t[1]);return{left:`${a*n+r}px`,top:`${c*n+r}px`,width:`${(l-a+1)*n}px`,height:`${(u-c+1)*n}px`,backgroundColor:`${s}40`,borderColor:s,borderStyle:i?"dashed":"solid"}},Gae=({vertexSize:e=W1,isExternal:t=!1})=>{const n=yt(d=>d.state),r=Bi(d=>d.tool),s=Bi(d=>d.color),i=Ta(d=>d.start),a=Ta(d=>d.hover),l=Sv(e);if(t)return null;const c=n?Hae(n).filter(d=>d.kind==="rect"):[],u=r==="rect"&&i!==null&&a!==null;return o.jsxs("div",{className:"rect-overlay","aria-hidden":"true",children:[c.map(d=>o.jsx("div",{className:"rect-overlay__rect",style:Kx(d.from,d.to,e,l,d.color,!1)},d.id)),u&&o.jsx("div",{className:"rect-overlay__preview",style:Kx(i,a,e,l,s,!0)})]})},rL=1,sL=8,iL=5,Kae=e=>Number.isFinite(e)?Math.max(rL,Math.min(sL,Math.round(e))):iL,Ys=mt(e=>({showPanel:!1,topN:iL,selectedCandidateIdx:0,setShowPanel:t=>e({showPanel:t}),setTopN:t=>e({topN:Kae(t)}),setSelectedCandidate:t=>e({selectedCandidateIdx:Math.max(0,Math.round(t))}),resetSelection:()=>e({selectedCandidateIdx:0})})),Vae=(e,t)=>{let n=e;for(const r of t){const s=n.children[r];if(!s)return null;n=s}return n},aL=e=>{const t=Vae(e.tree,e.cursor);return(t==null?void 0:t.analysis)??null},oL=(e,t=600)=>{var c;const n=[];let r=e,s=0,i=0,a=e.analysis?e.analysis.winrate:.5,l=e.analysis?e.analysis.scoreLead:0;for(;r&&s<t;){const u=((c=r.move)==null?void 0:c.color)??null;u!==null&&(i+=1);let d=a,h=l;const f=r.analysis!==void 0;if(r.analysis){const p=r.analysis.winrate,m=r.analysis.scoreLead;u==="W"?(d=1-p,h=-m):(d=p,h=m),a=d,l=h}n.push({depth:s,moveNumber:i,color:u,blackWinrate:d,blackScoreLead:h,hasAnalysis:f}),r=r.children[0],s+=1}return n},Yae=e=>e.every(t=>t===0)?e.length:-1,lL=e=>e!=null&&e.candidates.length>0,Jae=(e,t)=>e===0?{bg:"rgba(10, 186, 181, 0.94)",ring:"#0ABAB5",text:"#FFFFFF"}:t<=2?{bg:"rgba(184, 118, 45, 0.90)",ring:"#B8762D",text:"#FFFFFF"}:t<=5?{bg:"rgba(204, 136, 34, 0.88)",ring:"#CC8822",text:"#FFFFFF"}:{bg:"rgba(181, 51, 46, 0.85)",ring:"#B5332E",text:"#FFFFFF"},Zae=(e,t)=>{const n=e.candidates.slice(0,t);if(n.length===0)return[];const r=n.reduce((s,i)=>Math.max(s,i.winrate),-1/0);return n.map((s,i)=>({candidate:s,rank:i,lossPercent:(r-s.winrate)*100}))},Xae=(e,t,n,r,s)=>{const i=Math.max(20,t-2);return{position:"absolute",left:`${e.x*t+t/2+n}px`,top:`${e.y*t+t/2+n}px`,width:`${i}px`,height:`${i}px`,transform:"translate(-50%, -50%)",borderRadius:"50%",backgroundColor:r,border:`1.5px solid ${s}`,boxShadow:"0 1px 3px rgba(0, 0, 0, 0.35)",pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",fontFamily:"var(--font-body)",fontVariantNumeric:"tabular-nums",lineHeight:1}},Qae=(e,t)=>{var s;const{signMap:n}=Qa(e),r=(s=n[t.y])==null?void 0:s[t.x];return r!==void 0&&r!==0},eoe=({vertexSize:e=W1,isExternal:t=!1})=>{const n=yt(u=>u.state),r=Ys(u=>u.showPanel),s=Ys(u=>u.topN),i=Ys(u=>u.selectedCandidateIdx),a=J(u=>u.analysisVisible),l=Sv(e),c=v.useMemo(()=>
97{if(!n)return[];const u=aL(n);return lL(u)?Zae(u,s).filter(d=>d.candidate.point?!Qae(n,d.candidate.point):!1):[]},[n,s]);return t||!a||!r||c.length===0?null:o.jsx("div",{className:"lz-top-moves","aria-hidden":"true",children:c.map(u=>{const{bg:d,ring:h,text:f}=Jae(u.rank,u.lossPercent),p=u.rank===0,m=u.rank===i,y=u.candidate.point,_=(u.candidate.winrate*100).toFixed(1),g=u.candidate.scoreMean,b=`${g>=0?"+":""}${g.toFixed(1)}`,k=Math.max(10,Math.round(e*.36));return o.jsxs("div",{className:`lz-top-moves__candidate${m?" is-selected":""}${p?" is-best":""}`,style:Xae(y,e,l,d,h),children:[o.jsx("span",{className:"lz-top-moves__rank",style:{position:"absolute",top:0,right:0,transform:"translate(50%, -50%)",width:`${Math.max(12,Math.round(e*.46))}px`,height:`${Math.max(12,Math.round(e*.46))}px`,borderRadius:"50%",background:"#1C1B18",color:"#FFFFFF",fontSize:`${Math.max(8,Math.round(e*.3))}px`,fontWeight:700,lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.4)",border:`1px solid ${h}`},children:u.rank+1}),o.jsx("span",{style:{color:f,fontWeight:p?700:600,fontSize:`${k}px`,lineHeight:1},children:_}),o.jsx("span",{style:{color:f,opacity:.85,fontSize:`${Math.max(8,Math.round(e*.26))}px`,marginTop:"1px"},children:b})]},`${y.x},${y.y}`)})})},toe=$3,noe=33,roe=4e3,W1=28,Sv=e=>e+4,soe=(e,t)=>{const n=Array.from({length:e},()=>Array.from({length:e},()=>null));for(const r of t){const{x:s,y:i}=r;!Number.isInteger(s)||!Number.isInteger(i)||s<0||s>=e||i<0||i>=e||(n[i][s]={sign:1,faint:!0})}return n},vu=({onVertexClick:e,state:t,scoring:n,onVertexJump:r,onVertexPing:s,disabled:i,vertexSize:a=W1,moveNumbers:l})=>{const c=yt(W=>W.state),u=t??c,d=t!==void 0,h=Mo(W=>W.cursors),f=zc(W=>W.mode),p=zc(W=>W.lastN),m=(l==null?void 0:l.mode)??f,y=(l==null?void 0:l.lastN)??p,_=Bi(W=>W.tool),g=Bi(W=>W.color),b=Ta(W=>W.start),k=Ta(W=>W.begin),x=Ta(W=>W.update),S=Ta(W=>W.cancel),T=v.useMemo(()=>u?Qa(u,{mode:m,lastN:y}):null,[u,m,y]),C=yu(W=>W.pending),E=yu(W=>W.clear);v.useEffect(()=>{if(!C)return;const W=setTimeout(()=>E(),roe);return()=>clearTimeout(W)}
97,[C,E]),v.useEffect(()=>()=>E(),[E]);const N=un(W=>W.game),j=d?n:N,I=(j==null?void 0:j.phase)==="scoring"?j:null,P=xv(N),O=v.useMemo(()=>{if(!I||!T)return;const W=T.signMap.length,U=Array.from({length:W},()=>Array(W).fill(0));for(const G of I.territory)G.y>=0&&G.y<W&&G.x>=0&&G.x<W&&(U[G.y][G.x]=G.owner==="B"?.6:-.6);return U},[I,T]),F=v.useMemo(()=>{if(I)return I.deadStones.map(W=>[W.x,W.y])},[I]),B=v.useRef(!1),$=v.useRef(null);$.current===null&&($.current=Uae(noe,([W,U])=>he.send({t:"cursor.move",x:W,y:U}))),v.useEffect(()=>()=>{var W;(W=$.current)==null||W.cancel()},[]),v.useEffect(()=>{if(d)return;const W=()=>{var G;(G=$.current)==null||G.cancel(),he.send({t:"cursor.clear"})},U=()=>{document.visibilityState==="hidden"&&W()};return window.addEventListener("blur",W),document.addEventListener("visibilitychange",U),()=>{window.removeEventListener("blur",W),document.removeEventListener("visibilitychange",U)}},[d]),v.useEffect(()=>{var W;d||P&&((W=$.current)==null||W.cancel(),he.send({t:"cursor.clear"}))},[d,P]),v.useEffect(()=>{if(_!=="rect")return;const W=()=>{Ta.getState().start&&Ta.getState().cancel()},U=G=>{G.key==="Escape"&&W()};return window.addEventListener("pointerup",W),window.addEventListener("pointercancel",W),window.addEventListener("keydown",U),()=>{window.removeEventListener("pointerup",W),window.removeEventListener("pointercancel",W),window.removeEventListener("keydown",U)}},[_]);const D=v.useMemo(()=>{if(!T)return null;const W=T.signMap.length;return soe(W,d||P?[]:h.values())},[T,h,P,d]);if(!u||!T||!D)return o.jsx("div",{style:{padding:40},children:"No board loaded."});const z=!d&&C&&u.version<=C.baseVersion?C.signMap:T.signMap,R=()=>{var W;d||((W=$.current)==null||W.cancel(),he.send({t:"cursor.clear"}))},w=W=>{const U=W.target,G=U==null?void 0:U.closest(".shudan-vertex");if(!G)return null;const oe=Number(G.dataset.x),de=Number(G.dataset.y);return!Number.isInteger(oe)||!Number.isInteger(de)?null:[oe,de]},L=W=>{const U=w(W);U&&(W.preventDefault(),!B.current&&(s==null||s(U[0],U[1])))},M=W=>{if(B.current=!1,W.ctrlKey&&W.button===0&&W.pointerType==="mouse"&&r){const G=w(W);if(G){B.current=!0,W.preventDefault(),r(G[0],G[1]);return}}if(d||_!=="rect")return;const U=w(W);U&&(W.preventDefault(),k(U))},A=W=>{if(d||_!=="rect"||!b)return;const U=w(W);U&&x(U)},q=W=>{if(d||_!=="rect"||!b)return;const U=w(W)??b;S(),he.send({t:"board.annotate",anno:{kind:"rect",id:na(6),from:b,to:U,color:g}})};return o.jsxs("div",{className:"board-wrap",onPointerLeave:R,onContextMenu:L,onPointerDown:M,onPointerMove:A,onPointerUp:q,children:[o.jsx(Gae,{vertexSize:a,isExternal:d}),o.jsx(toe,{vertexSize:a,signMap:z,markerMap:T.markerMap,ghostStoneMap:D,lines:T.lines,showCoordinates:!0,...O?{paintMap:O}:{},...F?{dimmedVertices:F}:{},onVertexClick:(W,[U,G])=>{B.current||i||e(U,G)},onVertexMouseEnter:(W,[U,G])=>{var oe;d||P||(oe=$.current)==null||oe.fire([U,G])}}),o.jsx(eoe,{vertexSize:a,isExternal:d}),o.jsx(qae,{vertexSize:a,isExternal:d})]})},t1=[20,24,28,34,40],cp=2,Vx=e=>Math.max(0,Math.min(t1.length-1,e)),Dd=mt((e,t)=>({level:cp,increase:()=>e({level:Vx(t().level+1)}),decrease:()=>e({level:Vx(t().level-1)}),reset:()=>e({level:cp})})),cL=e=>t1[e.level]??t1[cp],Ks=8,Ln=8,W5=(e,t,n,r)=>{const s=Math.max(1,t-1),i=Ks+e.depth/s*(n-2*Ks),a=Ln+(1-e.blackWinrate)*(r-2*Ln);return{x:i,y:a}},ioe=({onSampleClick:e,height:t=80})=>{const n=yt(y=>y.state),r=H(),s=v.useRef(null),i=v.useMemo(()=>n?oL(n.tree):[],[n]),a=v.useMemo(()=>n?Yae(n.cursor):-1,[n]),l=v.useCallback(y=>{if(!e||i.length===0)return;const _=s.current;if(!_)return;const g=_.getBoundingClientRect(),b=y.clientX-g.left,k=g.width,x=Math.max(1,i.length-1),S=k-2*Ks;if(S<=0)return;const T=(b-Ks)/S,C=Math.round(Math.max(0,Math.min(1,T))*x);e(C)},[e,i.length]);if(i.length===0||!i.some(y=>y.hasAnalysis))return null;const u=232,d=i.map(y=>{const{x:_,y:g}=W5(y,i.length,u,t);return`${_.toFixed(1)},${g.toFixed(1)}`}).join(" "),h=a>=0&&a<i.length?i[a]:null,f=h?W5(h,i.length,u,t):null,p=h?h.color===null?r("analysis.chart.cursorRoot"):`${h.color==="B"?"●":"○"} ${h.moveNumber}`:null,m=h?(h.blackWinrate*100).toFixed(1):null;return o.jsxs("div",{className:"lz-winrate-chart","data-testid":"lz-winrate-chart",children:[o.jsxs("div",{className:"lz-winrate-chart__legend",children:[o.jsx("span",{className:"lz-winrate-chart__legend-label",children:r("analysis.chart.title")}),p&&o.jsxs("span",{className:"lz-winrate-chart__legend-current",children:[p," · ",o.jsxs("strong",{children:[m,"%"]})]})]}),o.jsxs("svg",{ref:s,className:"lz-winrate-chart__svg",viewBox:`0 0 ${u} ${t}`,preserveAspectRatio:"none",role:"img","aria-label":r("analysis.chart.aria"),onClick:e?l:void 0,style:{cursor:e?"pointer":"default"},children:[o.jsx("line",{x1:Ks,x2:u-Ks,y1:Ln+.5*(t-2*Ln),y2:Ln+.5*(t-2*Ln),stroke:"var(--border)",strokeDasharray:"2 3",strokeWidth:1}),o.jsx("line",{x1:Ks,x2:u-Ks,y1:Ln+.25*(t-2*Ln),y2:Ln+.25*(t-2*Ln),stroke:"var(--border-light)",strokeWidth:1}),o.jsx("line",{x1:Ks,x2:u-Ks,y1:Ln+.75*(t-2*Ln),y2:Ln+.75*(t-2*Ln),stroke:"var(--border-light)",strokeWidth:1}),o.jsx("polyline",{points:d,fill:"none",stroke:"var(--primary)",strokeWidth:1.5,strokeLinejoin:"round",strokeLinecap:"round"}),i.map(y=>{if(!y.hasAnalysis)return null;const{x:_,y:g}=W5(y,i.length,u,t);
97return o.jsx("circle",{cx:_,cy:g,r:1.4,fill:"var(--primary)",opacity:.7},y.depth)}),f&&o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:f.x,x2:f.x,y1:Ln,y2:t-Ln,stroke:"var(--accent)",strokeWidth:1.5,strokeOpacity:.85}),o.jsx("circle",{cx:f.x,cy:f.y,r:3,fill:"var(--accent)",stroke:"var(--surface)",strokeWidth:1.5})]})]})]})},aoe=$3,id=19,ooe=e=>e==="B"?1:-1,loe=(e,t,n)=>{var h;const r=Qa(e).signMap,s=k3(e);let i=wv.fromDimensions(id);for(let f=0;f<id;f++)for(let p=0;p<id;p++){const m=(h=r[f])==null?void 0:h[p];m===1?i=i.set([p,f],1):m===-1&&(i=i.set([p,f],-1))}const a=Array.from({length:id},()=>Array.from({length:id},()=>null)),l=Math.min(t.pvPoints.length,Math.max(1,n));let c=s,u=0,d=!1;for(let f=0;f<l;f++){const p=t.pvPoints[f];if(!p){d=!0;break}try{i=i.makeMove(ooe(c),[p.x,p.y])}catch{d=!0;break}u+=1,a[p.y][p.x]={type:"label",label:String(u)},c=c==="B"?"W":"B"}return{signMap:i.signMap,markerMap:a,truncated:d}},coe=({candidate:e,state:t,vertexSize:n=12,maxPlies:r=8})=>{const s=v.useMemo(()=>e?loe(t,e,r):null,[e,t,r]);return!e||!s?o.jsx("div",{className:"lz-pv-board lz-pv-board--empty","aria-hidden":"true",children:o.jsx("div",{className:"lz-pv-board__placeholder",children:"—"})}):o.jsx("div",{className:"lz-pv-board",children:o.jsx(aoe,{vertexSize:n,signMap:s.signMap,markerMap:s.markerMap,showCoordinates:!1})})},uL=e=>e>=1e6?`${(e/1e6).toFixed(1)}m`:e>=1e3?`${(e/1e3).toFixed(1)}k`:String(e),dL=e=>`${e>=0?"+":""}${e.toFixed(1)}`,uoe=({candidate:e,rank:t,selected:n,bestWinrate:r,onSelect:s})=>{const i=H(),a=(e.winrate*100).toFixed(1),l=(r-e.winrate)*100,c=uL(e.visits),u=dL(e.scoreMean),d=t===0?null:` (${l>=0?"−":"+"}${Math.abs(l).toFixed(1)}%)`;return o.jsxs("button",{type:"button",className:`lz-candidate${n?" is-selected":""}${t===0?" is-best":""}`,onClick:s,"aria-label":i("analysis.candidate.aria").replace("{coord}",e.coord).replace("{winrate}",a),children:[o.jsx("span",{className:"lz-candidate__rank",children:t+1}),o.jsx("span",{className:"lz-candidate__coord",children:e.coord}),o.jsxs("span",{className:"lz-candidate__winrate",children:[a,"%",d&&o.jsx("span",{className:"lz-candidate__loss",children:d})]}),o.jsxs("span",{className:"lz-candidate__meta",children:[c,"v · ",u]})]})},doe=()=>{const e=yt(N=>N.state),t=H(),n=Ys(N=>N.showPanel),r=Ys(N=>N.topN),s=Ys(N=>N.selectedCandidateIdx),i=Ys(N=>N.setShowPanel),a=Ys(N=>N.setTopN),l=Ys(N=>N.setSelectedCandidate),c=Ys(N=>N.resetSelection),u=J(N=>N.analysisVisible),d=J(N=>N.setAnalysisVisible),h=J(N=>{var j;return((j=N.self)==null?void 0:j.role)==="teacher"}),f=e?e.cursor.join(","):"",p=v.useRef(f);v.useEffect(()=>{p.current!==f&&(p.current=f,c())},[f,c]);const m=e?aL(e):null,y=v.useMemo(()=>e?m?!0:oL(e.tree).some(j=>j.hasAnalysis):!1,[e,m]);if(!e||!y||!u&&!h)return null;const _=()=>{const N=!u;d(N),he.send({t:"analysis.setVisible",visible:N})},b=((m==null?void 0:m.candidates)??[]).slice(0,r),k=b.length>0?b.reduce((N,j)=>Math.max(N,j.winrate),-1/0):0,x=b[Math.min(s,b.length-1)]??null,S=()=>m?o.jsxs("div",{className:"lz-analysis__summary",children:[o.jsx("span",{className:"lz-analysis__engine",children:m.engine}),o.jsx("span",{className:"lz-analysis__sep",children:"·"}),o.jsxs("span",{children:[uL(m.totalVisits)," ",t("analysis.visits")]}),o.jsx("span",{className:"lz-analysis__sep",children:"·"}),o.jsxs("span",{children:[t("analysis.score")," ",dL(m.scoreLead)]})]}):o.jsx("div",{className:"lz-analysis__no-data",children:t("analysis.noData")}),T=u,C=T&&n,E=t(u?"controls.analysis.hide":"controls.analysis.show");return o.jsxs("div",{className:"panel panel--analysis lz-analysis",children:[o.jsxs("div",{className:"lz-analysis__head",children:[o.jsx("h3",{children:o.jsx("button",{type:"button",className:"room-widget-toggle",onClick:()=>i(!n),"aria-expanded":C,disabled:!T,children:o.jsx(lp,{label:t("analysis.title")})})}),o.jsx("div",{className:"lz-analysis__head-actions",children:h&&o.jsxs("button",{type:"button",role:"switch","aria-checked":u,"aria-label":E,className:`lz-analysis__switch${u?" is-on":""}`,onClick:_,title:E,children:[o.jsx("span",{className:"lz-analysis__switch-track","aria-hidden":"true",children:o.jsx("span",{className:"lz-analysis__switch-thumb"})}),o.jsx("span",{className:"lz-analysis__switch-label",children:t("analysis.toggle")})]})})]}),C&&o.jsxs(o.Fragment,{children:[S(),o.jsx(ioe,{}),lL(m)&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"lz-analysis__candidates",role:"list",children:b.map((N,j)=>o.jsx(uoe,{candidate:N,rank:j,selected:j===s,bestWinrate:k,onSelect:()=>l(j)},`${N.coord}-${j}`))}),o.jsx("div",{className:"lz-analysis__pv",children:x&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"lz-analysis__pv-label",children:[t("analysis.pv.label")," ",o.jsx("strong",{children:x.coord}),o.jsx("span",{className:"lz-analysis__pv-sequence",children:x.pv.slice(1,9).join(" ")})]}),o.jsx(coe,{candidate:x,state:e})]})})]}),o.jsx("div",{className:"lz-analysis__controls",children:o.jsxs("label",{className:"lz-analysis__topn",children:[o.jsx("span",{children:t("analysis.topN")}),o.jsx("input",{type:"number",min:rL,max:sL,value:r,onChange:N=>a(Number(N.target.value))})]})})]})]})},Yx="ABCDEFGHJKLMNOPQRSTUVWXYZ",Tv=19,hL=(e,t,n=Tv)=>e<0||e>=n||t<0||t>=n||e>=Yx.length?"?":`${Yx[e]}${n-t}`,tf=e=>
97{const t=Math.round(e/1e3),n=Math.floor(t/3600),r=Math.floor(t%3600/60),s=String(t%60).padStart(2,"0");return n>0?`${n}:${String(r).padStart(2,"0")}:${s}`:`${r}:${s}`},hoe=(e,t)=>{let n=e,r=n.move?1:0;for(const s of t){const i=n.children[s];if(!i)return null;n=i,n.move&&(r+=1)}return{node:n,moveNumber:r}},foe=e=>{let t=0,n=0,r=0,s=null,i=0,a=e;for(;a;)a.move&&(i+=1),a.move&&a.moveTimeMs!==void 0&&(r+=1,a.move.color==="B"?t+=a.moveTimeMs:n+=a.moveTimeMs,(!s||a.moveTimeMs>s.ms)&&(s={ms:a.moveTimeMs,moveNumber:i,color:a.move.color})),a=a.children[0];return{blackMs:t,whiteMs:n,movesTimed:r,longest:s}},poe=()=>{const e=yt(i=>i.state),t=H();if(!e)return null;const n=hoe(e.tree,e.cursor);if(!n||!n.node.move||n.node.moveTimeMs===void 0)return null;const r=n.node.move,s=r.pass?t("game.hud.pass"):hL(r.x,r.y,e.size??Tv);return o.jsxs("span",{className:"move-time-readout",children:[o.jsxs("span",{children:[n.moveNumber,".",r.color]}),o.jsx("span",{children:s}),o.jsx("span",{className:"move-time-readout__time",children:tf(n.node.moveTimeMs)})]})},Z8=(e,t,n,r,s,i,a,l)=>{const c=t.length===r.length&&t.every((f,p)=>f===r[p]),u=e.move?`${n}.${e.move.color}`:t.length===0?i("tree.root"):"·",d=e.move?hL(e.move.x,e.move.y,a):null,h=()=>e.children.length===0?null:e.children.length===1?Z8(e.children[0],[...t,0],n+1,r,s,i,a,l):o.jsx("div",{className:"branch-row",children:e.children.map((f,p)=>{const m=[...t,p],y=p===0?"branch-col":"branch-col variation";return o.jsx("div",{className:y,children:Z8(f,m,n+1,r,s,i,a,l)},m.join("-"))})});return o.jsxs("div",{children:[o.jsxs("button",{type:"button",disabled:l,"aria-current":c?"step":void 0,className:`node ${c?"cursor":""}`,onClick:()=>s(t),title:d??(t.length===0?i("tree.root"):void 0),children:[u,d&&o.jsx("span",{className:"coord",children:d})]}),h()]},t.join("-")||"root")},moe=({onNavigate:e,disabled:t=!1})=>{const n=yt(a=>a.state),r=H(),s=v.useRef(null),i=n==null?void 0:n.cursor.join(",");return v.useLayoutEffect(()=>{const a=s.current;if(!a)return;const l=()=>{const u=a.querySelector(".node.cursor");if(!u)return;const d=a.getBoundingClientRect(),h=u.getBoundingClientRect();h.top<d.top?a.scrollTop+=h.top-d.top:h.bottom>d.bottom&&(a.scrollTop+=h.bottom-d.bottom),h.left<d.left?a.scrollLeft+=h.left-d.left:h.right>d.right&&(a.scrollLeft+=h.right-d.right)};if(l(),typeof ResizeObserver>"u")return;const c=new ResizeObserver(l);return c.observe(a),()=>c.disconnect()},[i,n==null?void 0:n.tree]),n?o.jsx("div",{className:"move-tree",ref:s,children:Z8(n.tree,[],0,n.cursor,e,r,n.size??Tv,t)}):o.jsx("div",{className:"move-tree",children:r("tree.empty")})},jv=e=>e==="B"?1:-1,Jx=(e,t)=>{if(!t.setup)return e;let n=e;for(const r of t.setup)n=n.set([r.x,r.y],jv(r.color));return n},goe=e=>{let t=wv.fromDimensions(e.size??19);t=Jx(t,e.tree);let n=e.tree;for(const r of e.cursor){const s=n.children[r];if(!s)break;t=Jx(t,s),s.move&&!s.move.pass&&(t=t.makeMove(jv(s.move.color),[s.move.x,s.move.y])),n=s}return t},yoe=(e,t,n,r)=>{const s=e.size??19;if(!Number.isInteger(t)||!Number.isInteger(n)||t<0||t>=s||n<0||n>=s)return null;const i=goe(e);if(i.get([t,n])!==0)return null;try{return i.makeMove(jv(r),[t,n],{preventOverwrite:!0,preventSuicide:!0,preventKo:!0}).signMap}catch{return null}},X8=(e,t)=>{let n=e;for(const r of t){if(r<0||r>=n.children.length)return null;n=n.children[r]}return n},up=(e,t,n)=>{switch(n){case"right":{const r=X8(e,t);return!r||r.children.length===0?null:[...t,0]}case"left":return t.length===0?null:t.slice(0,-1);case"down":{if(t.length===0)return null;const r=t[t.length-1],s=t.slice(0,-1),i=X8(e,s);return!i||r+1>=i.children.length?null:[...s,r+1]}case"up":{if(t.length===0)return null;const r=t[t.length-1];return r<=0?null:[...t.slice(0,-1),r-1]}}},voe=(e,t,n,r,s)=>{let i=null,a=e;const l=[];for(const c of t){const u=a.children[c];if(!u)break;l.push(c),u.move&&u.move.x===n&&u.move.y===r&&u.move.color===s&&(i=[...l]),a=u}return i},dp=(e,t,n,r)=>{if(r<=0)return null;if(n==="back")return t.length===0?null:t.slice(0,Math.max(0,t.length-r));let s=t;for(let i=0;i<r;i++){const a=X8(e,s);if(!a||a.children.length===0)break;s=[...s,0]}return s===t?null:s},Zx=e=>String.fromCharCode(97+e),Qr=(e,t)=>
97Zx(e)+Zx(t),boe=e=>{const t=[],n=[],r=[],s=[],i=[],a=[],l=[];for(const u of e)switch(u.kind){case"circle":t.push(`[${Qr(u.at[0],u.at[1])}]`);break;case"triangle":n.push(`[${Qr(u.at[0],u.at[1])}]`);break;case"square":r.push(`[${Qr(u.at[0],u.at[1])}]`);break;case"cross":s.push(`[${Qr(u.at[0],u.at[1])}]`);break;case"label":i.push(`[${Qr(u.at[0],u.at[1])}:${iw(u.text)}]`);break;case"arrow":a.push(`[${Qr(u.from[0],u.from[1])}:${Qr(u.to[0],u.to[1])}]`);break;case"rect":l.push(`[${Qr(u.from[0],u.from[1])}:${Qr(u.to[0],u.to[1])}:${iw(u.color)}]`);break}let c="";return t.length&&(c+="CR"+t.join("")),n.length&&(c+="TR"+n.join("")),r.length&&(c+="SQ"+r.join("")),s.length&&(c+="MA"+s.join("")),i.length&&(c+="LB"+i.join("")),a.length&&(c+="AR"+a.join("")),l.length&&(c+="RC"+l.join("")),c},Q8=(e,t,n,r)=>{let s="";if(n&&(s+=`GM[1]FF[4]SZ[${r.size??19}]${r.extraRootProps??""}`),e.move&&(s+=e.move.pass?`${e.move.color}[]`:`${e.move.color}[${Qr(e.move.x,e.move.y)}]`),e.playerToMove&&(s+=`PL[${e.playerToMove}]`),e.moveTimeMs!==void 0&&(s+=`BTMT[${e.moveTimeMs}]`),e.setup&&e.setup.length){const l=e.setup.filter(u=>u.color==="B"),c=e.setup.filter(u=>u.color==="W");l.length&&(s+="AB"+l.map(u=>`[${Qr(u.x,u.y)}]`).join("")),c.length&&(s+="AW"+c.map(u=>`[${Qr(u.x,u.y)}]`).join(""))}e.comment&&(s+=`C[${Ty(e.comment)}]`);const i=t[e.id];i&&i.length&&(s+=boe(i));let a=";"+s;if(e.children.length===1)a+=Q8(e.children[0],t,!1,r);else if(e.children.length>1)for(const l of e.children)a+="("+Q8(l,t,!1,r)+")";return a},_oe=(e,t,n={})=>"("+Q8(e,t,!0,n)+")",koe=e=>{if(!e)return"";const t=e.config;return Ite({komi:t.komi,rules:t.rules,handicap:t.handicap,result:e.result,timeControl:t.timeControl})},Cv=(e,t)=>{const n=new Blob([t],{type:"application/x-go-sgf"}),r=URL.createObjectURL(n),s=document.createElement("a");s.href=r,s.download=e,s.click(),URL.revokeObjectURL(r)},Xx=e=>{const t=Math.max(0,Math.ceil(e/1e3)),n=Math.floor(t/60),r=t%60;return`${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`},Qx=(e,t)=>t.kind==="byoyomi"&&(e.inByoyomi||e.mainMs<=0&&(e.periodsLeft??0)>0)?`${Xx(e.periodMsLeft??0)} (${e.periodsLeft??0})`:Xx(e.mainMs),woe=(e,t,n)=>{const r=mR({...e,turnStartedAt:e.paused?null:t},n);return{black:r.black,white:r.white,blackLabel:Qx(r.black,e.control),whiteLabel:Qx(r.white,e.control),running:r.running,paused:r.paused}},fL=({title:e,startLabel:t,children:n,pending:r,error:s,onClose:i,onSubmit:a})=>{const l=H(),[c,u]=v.useState(0),d=v.useRef(null),h=()=>{r||i()};return v.useEffect(()=>{var p,m;const f=document.activeElement;return(m=(p=d.current)==null?void 0:p.querySelector("select, input, button"))==null||m.focus(),()=>f==null?void 0:f.focus()},[]),v.useEffect(()=>{var f;r&&((f=d.current)==null||f.focus())},[r]),v.useEffect(()=>{var f,p;(p=(f=d.current)==null?void 0:f.querySelector('[aria-invalid="true"]'))==null||p.focus()},[c]),o.jsx("div",{className:"game-setup__backdrop",onClick:h,children:o.jsxs("form",{ref:d,className:"game-setup",tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":"setup-title","aria-busy":r,noValidate:!0,onClick:f=>f.stopPropagation(),onSubmit:f=>{f.preventDefault(),r||(u(p=>p+1),a())},onKeyDown:f=>{var _;if(f.key==="Escape"&&(f.preventDefault(),h()),f.key!=="Tab")return;const p=Array.from(((_=d.current)==null?void 0:_.querySelectorAll('select:not(:disabled), input:not(:disabled), button:not(:disabled), [tabindex="0"]'))??[]).filter(g=>!g.closest("fieldset:disabled")),m=p[0],y=p.at(-1);if(!m){f.preventDefault();return}f.shiftKey&&(document.activeElement===m||document.activeElement===d.current)&&(f.preventDefault(),y==null||y.focus()),!f.shiftKey&&document.activeElement===y&&(f.preventDefault(),m.focus())},children:[o.jsx("h2",{id:"setup-title",children:l(e)}),o.jsx("fieldset",{className:"game-setup__fields",disabled:r,children:n}),s&&o.jsx("p",{className:"game-setup__error",role:"alert",children:l(s)}),r&&o.jsx("p",{role:"status",children:l("game.setup.starting")}),o.jsxs("div",{className:"game-setup__buttons",children:[o.jsx("button",{type:"button",className:"btn btn--ghost",disabled:r,onClick:h,children:l("game.setup.cancel")}),o.jsx("button",{type:"submit",className:"btn btn--primary",disabled:r,children:l(t)})]})]})})},hp={min:-rw,max:rw},eS={min:1,max:Ete,integer:!0},Fh={min:0,max:pR,exclusiveMin:!0},tS=e=>({min:0,max:pR/60,exclusiveMin:!e}),nc=(e,t)=>e.trim()===""?t:Number(e),Do=(e,t)=>{if(e.trim()==="")return null;const n=Number(e);return!Number.isFinite(n)||n<t.min||n>t.max||t.exclusiveMin&&n===t.min||t.integer&&!Number.isInteger(n)?t.integer?"game.setup.error.integer":t.exclusiveMin?"game.setup.error.positive":"game.setup.error.range":null},rc=({label:e,value:t,onChange:n,rule:r,fallback:s,showErrors:i})=>{const a=H(),l=v.useId(),c=i?Do(t,r):null;return o.jsxs("div",{children:[o.jsxs("label",{className:"game-setup__field",htmlFor:l,children:[o.jsx("span",{children:a(e)}),o.jsx("input",{id:l,type:"number",min:r.min,max:r.max,step:r.integer?1:"any",value:t==="NaN"?"":t,placeholder:String(s),"aria-invalid":!!c,"aria-describedby":`${l}-hint${c?` ${l}-error`:""}`,onChange:u=>n(u.currentTarget.validity.badInput?"NaN":u.currentTarget.value)})]}),o.jsx("p",{id:`${l}-hint`,className:"game-setup__hint",children:a("game.setup.defaultHint",{value:s})}),c&&o.jsx("p",{id:`${l}-error`,className:"game-setup__error",role:"alert",children:a(c,{min:r.min,max:r.max})})]})},xoe=e=>{switch(e){case"peer-required":return"game.setup.error.peer";case"game-disabled":return"game.setup.error.disabled";case"game-active":return"game.setup.error.active";case"disconnected":case"not-hello":case"no-room":return"game.setup.error.connection";case"timeout":return"game.setup.error.timeout";
97case"pending":return"game.setup.error.pending";case"bad-config":return"game.setup.error.config";default:return"game.setup.error.rejected"}},pL=e=>{const[t,n]=v.useState(!1),[r,s]=v.useState(null),i=v.useRef(!1),a=v.useRef(!1);return v.useEffect(()=>(a.current=!0,()=>{a.current=!1}),[]),{pending:t,error:r,submit:async c=>{if(i.current)return;if(J.getState().students.length===0){s("game.setup.error.peer");return}i.current=!0,n(!0),s(null);try{const d=await he.startSetup(c);if(!a.current)return;d.code===null?e():s(xoe(d.code))}catch{a.current&&s("game.setup.error.connection")}finally{i.current=!1,a.current&&n(!1)}}}},nS="game-setup-last",Soe=({onClose:e})=>{const t=H(),{pending:n,error:r,submit:s}=pL(e),[i,a]=v.useState(!1),l=v.useMemo(()=>{try{const D=JSON.parse(localStorage.getItem(nS)??"null");return{boardSize:D!=null&&D.boardSize&&q6.includes(D.boardSize)?D.boardSize:19,handicap:[0,2,3,4,5,6,7,8,9].includes((D==null?void 0:D.handicap)??-1)?D.handicap:0,rules:(D==null?void 0:D.rules)==="chinese"?"chinese":"japanese"}}catch{return null}},[]),[c,u]=v.useState((l==null?void 0:l.boardSize)??19),[d,h]=v.useState((l==null?void 0:l.handicap)??0),[f,p]=v.useState((l==null?void 0:l.rules)??"japanese"),[m,y]=v.useState(String(Ia((l==null?void 0:l.rules)??"japanese",(l==null?void 0:l.handicap)??0))),[_,g]=v.useState(!1),[b,k]=v.useState("B"),[x,S]=v.useState("none"),[T,C]=v.useState("20"),[E,N]=v.useState("3"),[j,I]=v.useState("30"),[P,O]=v.useState("10"),[F,B]=v.useState(!1);v.useEffect(()=>{_||y(String(Ia(f,d)))},[f,d,_]);const $=()=>{if(a(!0),[[m,hp]].some(([W,U])=>Do(W,U))||x!=="none"&&Do(T,tS(x==="byoyomi"))||x==="byoyomi"&&(Do(E,eS)||Do(j,Fh))||x==="fischer"&&Do(P,{...Fh,exclusiveMin:!1}))return;const z=nc(m,Ia(f,d)),R=nc(T,20),w=nc(E,3),L=nc(j,30),M=nc(P,10),A=x==="none"?{kind:"none"}:x==="absolute"?{kind:"absolute",mainTimeSec:R*60}:x==="byoyomi"?{kind:"byoyomi",mainTimeSec:R*60,periods:w,periodTimeSec:L}:{kind:"fischer",mainTimeSec:R*60,incrementSec:M},q={boardSize:c,handicap:d,komi:z,rules:f,studentColor:b,timeControl:A,fromCurrentPosition:F};try{localStorage.setItem(nS,JSON.stringify({boardSize:c,handicap:d,rules:f}))}catch{}s({t:"game.start",config:q})};return o.jsxs(fL,{title:"game.setup.title",startLabel:"game.setup.startCta",pending:n,error:r,onClose:e,onSubmit:$,children:[o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("game.setup.boardSize")}),o.jsx("select",{value:c,onChange:D=>u(Number(D.target.value)),children:q6.map(D=>o.jsxs("option",{value:D,children:[D,"×",D]},D))})]}),o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("game.setup.handicap")}),o.jsx("select",{"aria-label":t("game.setup.handicap"),value:d,onChange:D=>h(Number(D.target.value)),children:[0,2,3,4,5,6,7,8,9].map(D=>o.jsx("option",{value:D,children:D===0?t("game.setup.handicapNone"):D},D))})]}),o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("game.setup.rules")}),o.jsxs("select",{value:f,onChange:D=>p(D.target.value),children:[o.jsx("option",{value:"japanese",children:t("game.setup.rulesJapanese")}),o.jsx("option",{value:"chinese",children:t("game.setup.rulesChinese")})]})]}),o.jsx(rc,{label:"game.setup.komi",value:m,onChange:D=>{g(!0),y(D)},rule:hp,fallback:Ia(f,d),showErrors:i}),o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("game.setup.studentColor")}),o.jsxs("select",{value:b,onChange:D=>k(D.target.value),children:[o.jsx("option",{value:"B",children:t("game.setup.colorBlack")}),o.jsx("option",{value:"W",children:t("game.setup.colorWhite")})]})]}),o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("game.setup.timeControl")}),o.jsxs("select",{"aria-label":t("game.setup.timeControl"),value:x,onChange:D=>S(D.target.value),children:[o.jsx("option",{value:"none",children:t("game.setup.tcNone")}),o.jsx("option",{value:"absolute",children:t("game.setup.tcAbsolute")}),o.jsx("option",{value:"byoyomi",children:t("game.setup.tcByoyomi")}),o.jsx("option",{value:"fischer",children:t("game.setup.tcFischer")})]})]}),x!=="none"&&o.jsx(rc,{label:"game.setup.mainTime",value:T,onChange:C,rule:tS(x==="byoyomi"),fallback:20,showErrors:i}),x==="byoyomi"&&o.jsxs(o.Fragment,{children:[o.jsx(rc,{label:"game.setup.periods",value:E,onChange:N,rule:eS,fallback:3,showErrors:i}),o.jsx(rc,{label:"game.setup.periodTime",value:j,onChange:I,rule:Fh,fallback:30,showErrors:i})]}),x==="fischer"&&o.jsx(rc,{label:"game.setup.increment",value:P,onChange:O,rule:{...Fh,exclusiveMin:!1},fallback:10,showErrors:i}),o.jsxs("label",{className:"game-setup__field game-setup__field--checkbox",children:[o.jsx("input",{type:"checkbox",checked:F,onChange:D=>B(D.target.checked)}),o.jsx("span",{children:t("game.setup.fromCurrentPosition")})]})]})},Toe=({onClose:e})=>{const t=H(),{pending:n,error:r,submit:s}=pL(e),[i,a]=v.useState(!1),l=J(N=>N.students),c=yt(N=>{var j;return(j=N.state)==null?void 0:j.size})??19,[u,d]=v.useState(19),[h,f]=v.useState("japanese"),[p,m]=v.useState("W"),[y,_]=v.useState(String(Ia("japanese",0))),[g,b]=v.useState(!1),[k,x]=v.useState(!1),[S,T]=v.useState({}),C=(N,j)=>T(I=>({...I,[N]:j}));v.useEffect(()=>{g||_(String(Ia(h,0)))},[h,g]);const E=()=>
97{if(a(!0),Do(y,hp))return;const N=nc(y,Ia(h,0)),j={boardSize:k?c:u,rules:h,teacherColor:p,komi:N,fromCurrentPosition:k,seats:l.map(I=>({studentParticipantId:I.participantId,handicap:k?0:S[I.participantId]??0}))};s({t:"simul.start",config:j})};return o.jsxs(fL,{title:"simul.setup.title",startLabel:"simul.setup.startCta",pending:n,error:r,onClose:e,onSubmit:E,children:[o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("game.setup.boardSize")}),o.jsx("select",{value:k?c:u,disabled:k,onChange:N=>d(Number(N.target.value)),children:q6.map(N=>o.jsxs("option",{value:N,children:[N,"×",N]},N))})]}),o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("game.setup.rules")}),o.jsxs("select",{value:h,onChange:N=>f(N.target.value),children:[o.jsx("option",{value:"japanese",children:t("game.setup.rulesJapanese")}),o.jsx("option",{value:"chinese",children:t("game.setup.rulesChinese")})]})]}),o.jsx(rc,{label:"game.setup.komi",value:y,onChange:N=>{b(!0),_(N)},rule:hp,fallback:Ia(h,0),showErrors:i}),o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("simul.setup.teacherColor")}),o.jsxs("select",{value:p,onChange:N=>m(N.target.value),children:[o.jsx("option",{value:"W",children:t("game.setup.colorWhite")}),o.jsx("option",{value:"B",children:t("game.setup.colorBlack")})]})]}),o.jsxs("label",{className:"game-setup__field game-setup__field--checkbox",children:[o.jsx("input",{type:"checkbox",checked:k,onChange:N=>x(N.target.checked)}),o.jsx("span",{children:t("game.setup.fromCurrentPosition")})]}),o.jsxs("div",{className:"simul-setup__roster",children:[o.jsx("span",{className:"game-setup__field",children:o.jsx("span",{children:t("simul.setup.perStudentHandicap")})}),k&&o.jsx("p",{className:"simul-setup__hint",children:t("simul.setup.handicapDisabledHint")}),l.map(N=>o.jsxs("label",{className:"simul-setup__seat",children:[o.jsx("span",{className:"simul-setup__seat-name",children:N.name}),o.jsx("select",{"aria-label":`${N.name} ${t("game.setup.handicap")}`,value:k?0:S[N.participantId]??0,disabled:k,onChange:j=>C(N.participantId,Number(j.target.value)),children:[0,2,3,4,5,6,7,8,9].map(j=>o.jsx("option",{value:j,children:j===0?t("game.setup.handicapNone"):j},j))})]},N.participantId))]})]})},mL=["zh","ko","en","ja"],joe={zh:"中文",ko:"한국어",en:"English",ja:"日本語"},Coe={ko:"ko",ja:"ja",zh:"zh","zh-TW":"zh",en:"en",fr:"en",de:"en"},Eoe=e=>Coe[e],rS=(e,t)=>`/audio/count/${e}/${t}.mp3`,sS=(e,t)=>t<=1?`/audio/count/${e}/last-period.mp3`:`/audio/count/${e}/left-${t}.mp3`,gL="gt.countdownVoice",ad={enabled:!0,pack:null},zoe=()=>{if(typeof window>"u")return ad;try{const e=localStorage.getItem(gL);if(!e)return ad;const t=JSON.parse(e);if(typeof t!="object"||t===null)return ad;const{enabled:n,pack:r}=t;return{enabled:typeof n=="boolean"?n:ad.enabled,pack:mL.includes(r)?r:null}}catch{return ad}},iS=e=>{if(!(typeof window>"u"))try{localStorage.setItem(gL,JSON.stringify(e))}catch{}},$h=mt((e,t)=>({...zoe(),setEnabled:n=>{e({enabled:n}),iS({enabled:n,pack:t().pack})},setPack:n=>{e({pack:n}),iS({enabled:t().enabled,pack:n})}})),Noe=1e3,Ioe=10,Roe=30,F5=(e,t,n)=>{const r=[];for(let s=1;s<=Ioe;s++){const i=s*Noe;if(i>=n)continue;const a=t-i;a<=0||r.push({n:s,inMs:a,windowKey:e})}return r},aS=(e,t,n,r)=>{r<1||n<=0||e.push({periodsLeft:r,inMs:n,key:`${t}|byoyomi|cue|${r}`})},oS=(e,t,n,r)=>{const{control:s,running:i}=e;if(s.kind==="none"||e.paused||i===null)return null;const a=mR({...e,turnStartedAt:t},n),l=i==="B"?a.black:a.white;if(Nte(l,s))return null;const c=`${r}|${i}`;if(s.kind!=="byoyomi"){const _=`${c}|${s.kind}`,g=F5(_,l.mainMs,1/0);return g.sort((b,k)=>b.inMs-k.inMs),{windowKey:_,entries:g,cues:[]}}const u=s.periodTimeSec*1e3,d=[],h=[];let f=0,p,m,y;if(l.mainMs>0)y=`${c}|byoyomi|main`,p=l.mainMs,m=l.periodsLeft??0;else{const _=l.periodsLeft??0;y=`${c}|byoyomi|p${_}`,p=l.periodMsLeft??0,d.push(...F5(y,p,u)),aS(h,c,p,_-1),f++,m=_-1}for(let _=m;_>=1&&f<Roe;_--,f++)p+=u,d.push(...F5(`${c}|byoyomi|p${_}`,p,u)),aS(h,c,p,_-1);return d.sort((_,g)=>_.inMs-g.inMs),h.sort((_,g)=>_.inMs-g.inMs),{windowKey:y,entries:d,cues:h}},Poe=1200,Aoe=3e4,Loe=()=>{const e=un(_=>_.game),t=un(_=>_.clock),n=un(_=>_.clockReceivedAt),r=vt(_=>_.uiLang),s=$h(_=>_.enabled),i=$h(_=>_.pack),a=$h(_=>_.setEnabled),l=$h(_=>_.setPack),c=i??Eoe(r),[u,d]=v.useState(()=>LA());v.useEffect(()=>AA(d),[]);const h=e?String(e.startedAt):"",f=s&&t!==null&&(e==null?void 0:e.phase)==="playing"&&!e.flagFell,p=v.useRef([]),m=v.useRef(new Map),y=v.useCallback(()=>{const _=Date.now();for(const g of p.current)g.fireAt<=_&&m.current.set(g.key,g.fireAt),g.clip.stop();p.current=[]},[]);return v.useEffect(()=>{m.current.clear()},[h]),v.useEffect(()=>{f&&D3()},[f]),v.useEffect(()=>{if(!f||!t||u!=="running")return;let _=!1;const g=oS(t,n,Date.now(),h);if(!g)return;const b=new Set;for(const k of g.entries)b.add(rS(c,k.n));for(const k of g.cues)b.add(sS(c,k.periodsLeft));return Promise.all([...b].map(k=>eie(k).then(x=>[k,x]))).then(k=>{if(_)return;const x=new Map(k),S=Date.now(),T=oS(t,n,S,h);if(!T)return;for(const[E,N]of m.current)S-N>Aoe&&m.current.delete(E);const C=(E,N,j)=>{const I=x.get(E);if(!I)return;const P=S+N,O=m.current.get(j);if(O!==void 0&&P-O<Poe)return;const F=tie(I,N);F&&p.current.push({clip:F,fireAt:P,key:j})};for(const E of T.entries)C(rS(c,E.n),E.inMs,`${E.windowKey}|${E.n}`);for(const E of T.cues)C(sS(c,E.periodsLeft),E.inMs,E.key)}),()=>{_=!0,y()}},[f,t,n,h,c,u,y]),{enabled:s,pack:c,setEnabled:a,setPack:l}},Moe=()=>o.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[o.jsx("path",{d:"M2 6v4h2.6L8 13V3L4.6 6H2z",fill:"
97currentColor"}),o.jsx("path",{d:"M10.5 5.5a3.4 3.4 0 0 1 0 5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),o.jsx("path",{d:"M12.5 3.8a6 6 0 0 1 0 8.4",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]}),Ooe=()=>o.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[o.jsx("path",{d:"M2 6v4h2.6L8 13V3L4.6 6H2z",fill:"currentColor"}),o.jsx("path",{d:"M10.5 6.5l4 3m0-3l-4 3",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]}),Doe=()=>{const e=H(),{enabled:t,pack:n,setEnabled:r,setPack:s}=Loe(),i=e(t?"game.count.voiceOn":"game.count.voiceOff");return o.jsxs("div",{className:"game-hud__voice",children:[o.jsx("button",{type:"button",className:"game-hud__voice-toggle","aria-pressed":t,"aria-label":i,title:i,onClick:()=>r(!t),children:t?o.jsx(Moe,{}):o.jsx(Ooe,{})}),o.jsx("select",{className:"game-hud__voice-select","aria-label":e("game.count.language"),title:e("game.count.language"),value:n,onChange:a=>s(a.target.value),children:mL.map(a=>o.jsx("option",{value:a,children:joe[a]},a))})]})},Woe=e=>{const{signMap:t}=Qa(e);return zte(t,e.size??19)},Foe=(e,t)=>({tree:{id:"problem-setup-root",children:[],...e.length>0?{setup:e}:{}},cursor:[],annotations:{},version:0,size:t}),lS=(e,t)=>`${e},${t}`,$5=({onClose:e})=>{const t=H(),n=yt(_=>_.state),r=(n==null?void 0:n.size)??19,s=()=>{const _=new Map;if(n)for(const g of Woe(n))_.set(lS(g.x,g.y),g.color);return _},[i,a]=v.useState(s),[l,c]=v.useState("B"),[u,d]=v.useState(()=>n?k3(n):"B"),h=v.useMemo(()=>[...i.entries()].map(([_,g])=>{const[b,k]=_.split(",").map(Number);return{x:b,y:k,color:g}}),[i]),f=v.useMemo(()=>Foe(h,r),[h,r]),p=(_,g)=>{a(b=>{const k=new Map(b),x=lS(_,g);return l==="erase"||k.get(x)===l?k.delete(x):k.set(x,l),k})},m=()=>{he.send({t:"problem.start",setup:h,toMove:u}),e()},y=(_,g)=>o.jsx("button",{type:"button",className:`btn btn--sm ${l===_?"btn--primary":"btn--ghost"}`,"aria-pressed":l===_,onClick:()=>c(_),children:g});return o.jsx("div",{className:"game-setup__backdrop",onClick:e,children:o.jsxs("div",{className:"game-setup problem-setup",onClick:_=>_.stopPropagation(),role:"dialog","aria-modal":"true","aria-labelledby":"problem-setup-title",children:[o.jsx("h2",{id:"problem-setup-title",children:t("problem.setup.title")}),o.jsxs("div",{className:"problem-setup__tools",children:[y("B",t("problem.setup.toolBlack")),y("W",t("problem.setup.toolWhite")),y("erase",t("problem.setup.toolErase")),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>a(new Map),children:t("problem.setup.clear")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>a(s()),children:t("problem.setup.reseed")})]}),o.jsx("div",{className:"problem-setup__board",children:o.jsx(vu,{state:f,onVertexClick:p,disabled:!1,vertexSize:20})}),o.jsxs("label",{className:"game-setup__field",children:[o.jsx("span",{children:t("problem.setup.toMove")}),o.jsxs("select",{value:u,onChange:_=>d(_.target.value),children:[o.jsx("option",{value:"B",children:t("game.setup.colorBlack")}),o.jsx("option",{value:"W",children:t("game.setup.colorWhite")})]})]}),o.jsxs("div",{className:"game-setup__buttons",children:[o.jsx("button",{type:"button",className:"btn btn--ghost",onClick:e,children:t("game.setup.cancel")}),o.jsx("button",{type:"button",className:"btn btn--primary",onClick:m,children:t("problem.setup.startCta")})]})]})})},$oe=e=>{const[t,n]=v.useState(()=>Date.now());return v.useEffect(()=>{if(!e)return;n(Date.now());const r=setInterval(()=>n(Date.now()),200);return()=>clearInterval(r)},[e]),t},cS=({color:e,label:t,active:n,low:r})=>{const s=H();return o.jsxs("div",{className:`game-hud__clock${n?" is-active":""}${r?" is-low":""}`,role:"timer","aria-label":`${s(e==="B"?"game.setup.colorBlack":"game.setup.colorWhite")} ${t}`,children:[o.jsx("span",{className:`game-hud__stone game-hud__stone--${e==="B"?"black":"white"}`}),o.jsx("span",{className:"game-hud__time",children:t})]})},Boe=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1);return o.jsxs(o.Fragment,{children:[o.jsx(Uoe,{openGame:()=>t(!0),openSimul:()=>r(!0)}),e&&o.jsx(Soe,{onClose:()=>t(!1)}),n&&o.jsx(Toe,{onClose:()=>r(!1)})]})},Uoe=({openGame:e,openSimul:t})=>{const n=H(),r=J(T=>T.self),s=J(T=>T.gameModeEnabled),i=J(T=>T.allowMultipleStudents),a=J(vv),l=un(T=>T.game),c=un(T=>T.clock),u=un(T=>T.clockReceivedAt),d=yt(T=>T.state),h=Nr(T=>T.boards.size>0),f=Dn(PA),[p,m]=v.useState(!1),y=!!(c&&!c.paused&&(l==null?void 0:l.phase)==="playing"),_=$oe(y);if(!r)return null;const g=r.role==="teacher";if(h||f)return null;if(!l)return!g||!a?null:i?o.jsxs("div",{className:"game-hud game-hud--idle",children:[s&&o.jsx("button",{type:"button",className:"btn btn--primary btn--sm",onClick:t,children:n("simul.hud.startSimul")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>m(!0),children:n("problem.hud.start")}),p&&o.jsx($5,{onClose:()=>m(!1)})]}):o.jsxs("div",{className:"game-hud game-hud--idle",children:[s&&o.jsx("button",{type:"button",className:"btn btn--primary btn--sm",onClick:e,children:n("game.hud.startGame")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>m(!0),children:n("problem.hud.start")}),p&&o.jsx($5,{onClose:()=>m(!1)})]});const b=r.participantId===l.blackParticipantId||r.participantId===l.whiteParticipantId,k=c?woe(c,u,_):null,x=1e4,S=l.phase==="finished"&&d?foe(d.tree):null;return o.jsxs("div",{className:"game-hud",children:[k&&o.jsxs("div",{className:"game-hud__clocks",children:[o.jsx(cS,{color:"B",label:k.blackLabel,active:k.running==="B"&&!k.paused,low:k.black.mainMs+(k.black.peri
97odMsLeft??0)<x}),o.jsx(cS,{color:"W",label:k.whiteLabel,active:k.running==="W"&&!k.paused,low:k.white.mainMs+(k.white.periodMsLeft??0)<x}),o.jsx(Doe,{}),k.paused&&l.phase==="playing"&&!l.flagFell&&o.jsx("span",{className:"game-hud__paused",children:n("game.hud.paused")})]}),o.jsxs("div",{className:"game-hud__captures",children:[o.jsxs("span",{children:[n("game.hud.captures"),":"]}),o.jsx("span",{className:"game-hud__stone game-hud__stone--black"})," ",l.captures.byBlack,o.jsx("span",{className:"game-hud__stone game-hud__stone--white"})," ",l.captures.byWhite]}),l.phase==="playing"&&!l.flagFell&&o.jsxs("div",{className:"game-hud__actions",children:[b&&o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:"game.pass"}),children:n("game.hud.pass")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>{window.confirm(n("game.hud.resignConfirm"))&&he.send({t:"game.resign"})},children:n("game.hud.resign")})]}),g&&o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:"game.undo"}),children:n("game.hud.undo")}),c&&o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:c.paused?"game.resumeClock":"game.pauseClock"}),children:c.paused?n("game.hud.resumeClock"):n("game.hud.pauseClock")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:"game.endEarly",toScoring:!0}),children:n("game.hud.endGame")})]}),l.consecutivePasses===1&&o.jsx("span",{className:"game-hud__hint",children:n("game.hud.onePass")})]}),l.flagFell&&l.phase==="playing"&&o.jsxs("div",{className:"game-hud__flag",children:[o.jsx("span",{className:"game-hud__flag-title",children:n("game.hud.timeExpired",{color:l.flagFell==="B"?n("game.setup.colorBlack"):n("game.setup.colorWhite")})}),g&&o.jsxs("div",{className:"game-hud__actions",children:[o.jsx("button",{type:"button",className:"btn btn--primary btn--sm",onClick:()=>he.send({t:"game.flagAction",action:"declare"}),children:n("game.hud.flagDeclare")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:"game.flagAction",action:"addTime",addSeconds:300}),children:n("game.hud.flagAddTime")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:"game.flagAction",action:"removeClock"}),children:n("game.hud.flagRemoveClock")})]})]}),l.phase==="scoring"&&o.jsxs("div",{className:"game-hud__scoring",children:[o.jsx("span",{className:"game-hud__hint",children:n("game.hud.scoringHint")}),o.jsx("span",{className:"game-hud__hint",children:n("game.hud.scoringUnlockHint")}),l.scorePreview&&o.jsx("span",{className:"game-hud__result",children:l.scorePreview.result}),g&&o.jsxs("div",{className:"game-hud__actions",children:[o.jsx("button",{type:"button",className:"btn btn--primary btn--sm",onClick:()=>he.send({t:"game.confirmScore"}),children:n("game.hud.confirmScore")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:"game.resumePlay"}),children:n("game.hud.resumePlay")})]})]}),l.phase==="finished"&&o.jsxs("div",{className:"game-hud__finished",children:[o.jsx("span",{className:"game-hud__result",children:l.result??n("game.hud.noResult")}),S&&S.movesTimed>0&&o.jsxs("span",{className:"game-hud__think-totals",children:[n("game.time.totals"),": ● ",tf(S.blackMs)," · ○ ",tf(S.whiteMs),S.longest!==null&&o.jsxs(o.Fragment,{children:[" · ",n("game.time.longest")," ",tf(S.longest.ms)," (#",S.longest.moveNumber,")"]})]}),o.jsx("span",{className:"game-hud__hint",children:n("game.hud.reviewHint")}),g&&s&&!i&&a&&o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:e,children:n("game.hud.startAnother")}),g&&a&&o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>m(!0),children:n("problem.hud.start")})]}),p&&o.jsx($5,{onClose:()=>m(!1)})]})},yL=({board:e,size:t=54})=>{var c;const n=e.size??19,{signMap:r}=Qa(e),s=3,i=(t-s*2)/Math.max(1,n-1),a=[];for(let u=0;u<n;u++){const d=s+u*i;a.push(o.jsx("line",{x1:s,y1:d,x2:t-s,y2:d,className:"mini-board__line"},`h${u}`)),a.push(o.jsx("line",{x1:d,y1:s,x2:d,y2:t-s,className:"mini-board__line"},`v${u}`))}const l=[];for(let u=0;u<n;u++)for(let d=0;d<n;d++){const h=(c=r[u])==null?void 0:c[d];(h===1||h===-1)&&l.push(o.jsx("circle",{cx:s+d*i,cy:s+u*i,r:i*.45,fill:h===1?"#1a1a1a":"#f6f1e6",stroke:h===-1?"rgba(0,0,0,0.25)":void 0,strokeWidth:h===-1?.4:void 0},`${d},${u}`))}return o.jsxs("svg",{className:"mini-board",width:t,height:t,viewBox:`0 0 ${t} ${t}`,role:"img","aria-hidden":"true",children:[a,l]})},uS=({entry:e,boardId:t,isTeacher:n})=>{const r=H(),{phase:s,scorePreview:i,result:a}=e.game;return s==="playing"?o.jsxs("div",{className:"simul-dashboard__focus-actions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send(n?{t:"game.pass",boardId:t}:{t:"game.pass"}),children:r("game.hud.pass")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>{window.confirm(r("game.hud.resignConfirm"))&&he.send(n?{t:"game.resign",boardId:t}:{t:"game.resign"})},children:r("game.hud.resign")}),n&&o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>
97he.send({t:"game.undo",boardId:t}),children:r("game.hud.undo")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:"game.endEarly",toScoring:!0,boardId:t}),children:r("game.hud.endGame")})]})]}):s==="scoring"?o.jsxs("div",{className:"simul-dashboard__focus-actions",children:[o.jsx("span",{className:"game-hud__hint",children:r("game.hud.scoringHint")}),i&&o.jsx("span",{className:"game-hud__result",children:i.result}),n&&o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",className:"btn btn--primary btn--sm",onClick:()=>he.send({t:"game.confirmScore",boardId:t}),children:r("game.hud.confirmScore")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>he.send({t:"game.resumePlay",boardId:t}),children:r("game.hud.resumePlay")})]})]}):s==="finished"?o.jsx("div",{className:"simul-dashboard__focus-actions",children:o.jsx("span",{className:"game-hud__result",children:a??r("game.hud.noResult")})}):null},dS=(e,t,n,r)=>(s,i)=>{const{phase:a}=e.game;if(a==="scoring"){he.send(n?{t:"game.markDead",x:s,y:i,boardId:r}:{t:"game.markDead",x:s,y:i});return}a==="playing"&&t&&he.send(n?{t:"board.play",x:s,y:i,boardId:r}:{t:"board.play",x:s,y:i})},hS=(e,t)=>{const{phase:n}=e.game;return n==="scoring"||n==="playing"&&t},qoe=()=>{const e=H(),t=J(h=>h.self),n=Nr(h=>h.boards),r=Nr(h=>h.focusedBoardId),s=Nr(h=>h.setFocus),[i,a]=v.useState(!1);if(!t||n.size===0)return null;const l=t.role==="teacher",c=h=>{const f=n.get(h);return f?f.game.blackParticipantId===t.participantId?"B":f.game.whiteParticipantId===t.participantId?"W":null:null},u=h=>{const f=n.get(h);if(!f||f.game.phase!=="playing")return!1;const p=c(h);return p?f.game.sideToMove===p:!1};if(!l){const[h,f]=[...n.entries()][0],p=u(h),m=c(h)!==null;return o.jsx("div",{className:"simul-dashboard simul-dashboard--student",children:o.jsxs("div",{className:"simul-dashboard__focus-area",children:[p&&o.jsx("span",{className:"simul-dashboard__turn",children:e("simul.dashboard.yourMove")}),o.jsx(vu,{state:f.board,scoring:f.game,onVertexClick:dS(f,p,!1,void 0),disabled:!hS(f,p)}),m&&o.jsx(uS,{entry:f,boardId:void 0,isTeacher:!1})]})})}const d=r?n.get(r):null;return o.jsxs("div",{className:"simul-dashboard",children:[o.jsxs("div",{className:"simul-dashboard__topbar",children:[o.jsx("span",{className:"simul-dashboard__title",children:e("simul.dashboard.title",{count:n.size})}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>a(!0),children:e("simul.dashboard.endSimul")})]}),o.jsxs("div",{className:"simul-dashboard__body",children:[o.jsx("div",{className:"simul-dashboard__focus-area",children:d&&r&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"simul-dashboard__focus-header",children:[o.jsx("span",{className:"simul-dashboard__focus-name",children:d.studentName}),u(r)&&o.jsx("span",{className:"simul-dashboard__turn",children:e("simul.dashboard.yourMove")})]}),o.jsx(vu,{state:d.board,scoring:d.game,onVertexClick:dS(d,u(r),!0,r),disabled:!hS(d,u(r))}),o.jsx(uS,{entry:d,boardId:r,isTeacher:!0})]})}),o.jsx("div",{className:"simul-dashboard__rail",children:[...n.entries()].map(([h,f])=>o.jsxs("button",{type:"button",className:`simul-dashboard__thumb${h===r?" is-focused":""}`,"aria-label":`${e("simul.dashboard.focus")} ${f.studentName}`,onClick:()=>s(h),children:[o.jsx(yL,{board:f.board,size:72}),o.jsx("span",{className:"simul-dashboard__thumb-name",children:f.studentName}),u(h)&&o.jsx("span",{className:"simul-dashboard__thumb-badge",children:e("simul.dashboard.yourMove")})]},h))})]}),i&&o.jsx("div",{className:"simul-dashboard__backdrop",onClick:()=>a(!1),children:o.jsxs("div",{className:"simul-dashboard__modal",role:"dialog","aria-modal":"true",onClick:h=>h.stopPropagation(),children:[o.jsx("p",{className:"simul-dashboard__modal-msg",children:e("simul.dashboard.endConfirm")}),o.jsxs("div",{className:"simul-dashboard__modal-actions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>a(!1),children:e("game.setup.cancel")}),o.jsx("button",{type:"button",className:"btn btn--primary btn--sm","aria-label":e("simul.dashboard.endSimul")+" confirm",onClick:()=>
97{he.send({t:"simul.end"}),a(!1)},children:e("simul.dashboard.endSimul")})]})]})})]})},Hoe=()=>{const e=H(),t=J(l=>{var c;return((c=l.self)==null?void 0:c.role)==="teacher"}),n=Nr(l=>l.review),[r,s]=v.useState(null);if(!t||n.length===0)return null;const i=n.some(l=>l.reviewId===r)?r:null,a=l=>{s(l),he.send({t:"simul.loadReview",reviewId:l})};return o.jsxs("section",{className:"panel simul-review","aria-labelledby":"simul-review-heading",children:[o.jsxs("div",{className:"simul-review__head",children:[o.jsxs("h3",{id:"simul-review-heading",children:[e("simul.review.heading"),o.jsx("span",{className:"simul-review__count","aria-hidden":"true",children:n.length})]}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm simul-review__done",onClick:()=>he.send({t:"simul.clearReview"}),children:e("simul.review.done")})]}),o.jsx("ul",{className:"simul-review__list",children:n.map(l=>{const c=`${l.result??e("mylessons.detail.gameNoResult")} · ${l.boardSize}×${l.boardSize}${l.handicap>=2?` · H${l.handicap}`:""}`,u=l.reviewId===i;return o.jsx("li",{children:o.jsxs("button",{type:"button",className:`simul-review__game${u?" is-active":""}`,"aria-label":e("simul.review.loadFor",{name:l.studentName}),"aria-current":u?"true":void 0,onClick:()=>a(l.reviewId),children:[o.jsxs("span",{className:"simul-review__info",children:[o.jsx("span",{className:"simul-review__name",children:l.studentName}),o.jsx("span",{className:"simul-review__meta",children:c})]}),o.jsx("span",{className:"simul-review__cue","aria-hidden":"true",children:u?"✓":e("simul.review.load")})]})},l.reviewId)})})]})},fS={mode:"all",lastN:0},pS=({verdict:e})=>{const t=H();return e?o.jsx("span",{className:`problem-dashboard__verdict problem-dashboard__verdict--${e}`,children:t(e==="correct"?"problem.dashboard.markCorrect":"problem.dashboard.markIncorrect")}):null},Goe=()=>{const e=H(),t=J(f=>f.self),n=Dn(f=>f.toMove),r=Dn(f=>f.boards),s=Dn(f=>f.focusedBoardId),i=Dn(f=>f.pending),a=Dn(f=>f.setFocus),[l,c]=v.useState(!1);if(!t||r.size===0)return null;if(!(t.role==="teacher")){const[f,p]=[...r.entries()][0],m=(i==null?void 0:i.boardId)===f?i:null,y=m?Xse(p.board,m):p.board,_=Bte(y,n),g=e(_==="B"?"game.setup.colorBlack":"game.setup.colorWhite"),b=(k,x)=>{m||(Dn.getState().setPending({boardId:f,x:k,y:x,color:_}),he.send({t:"problem.play",x:k,y:x}))};return o.jsx("div",{className:"problem-dashboard problem-dashboard--student",children:o.jsxs("div",{className:"problem-dashboard__focus-area",children:[p.verdict&&o.jsx("div",{className:`problem-dashboard__banner problem-dashboard__banner--${p.verdict}`,children:p.verdict==="correct"?e("problem.dashboard.verdictCorrect"):e("problem.dashboard.verdictIncorrect")}),o.jsx("span",{className:"problem-dashboard__next",children:e("problem.dashboard.nextStone",{color:g})}),o.jsx(vu,{state:y,onVertexClick:b,disabled:!1,moveNumbers:fS}),o.jsxs("div",{className:"problem-dashboard__focus-actions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:p.board.cursor.length===0,onClick:()=>he.send({t:"problem.undo"}),children:e("game.hud.undo")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:p.board.cursor.length===0,onClick:()=>he.send({t:"problem.reset"}),children:e("problem.dashboard.reset")}),o.jsx("button",{type:"button",className:`btn btn--sm ${p.done?"btn--primary":"btn--ghost"}`,"aria-pressed":p.done,onClick:()=>he.send({t:"problem.done",done:!p.done}),children:e("problem.dashboard.done")})]})]})})}const d=s?r.get(s):null,h=f=>{s&&he.send({t:"problem.mark",boardId:s,verdict:f})};return o.jsxs("div",{className:"problem-dashboard",children:[o.jsxs("div",{className:"problem-dashboard__topbar",children:[o.jsx("span",{className:"problem-dashboard__title",children:e("problem.dashboard.title",{count:r.size})}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>c(!0),children:e("problem.dashboard.end")})]}),o.jsxs("div",{className:"problem-dashboard__body",children:[o.jsx("div",{className:"problem-dashboard__focus-area",children:d&&s&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"problem-dashboard__focus-header",children:[o.jsx("span",{className:"problem-dashboard__focus-name",children:d.studentName}),d.done&&o.jsx("span",{className:"problem-dashboard__done",children:e("problem.dashboard.doneBadge")}),o.jsx(pS,{verdict:d.verdict})]}),o.jsx(vu,{state:d.board,onVertexClick:()=>{},disabled:!0,moveNumbers:fS}),o.jsxs("div",{className:"problem-dashboard__focus-actions",children:[o.jsx("button",{type:"button",className:"btn btn--primary btn--sm",onClick:()=>h("correct"),children:e("problem.dashboard.markCorrect")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>h("incorrect"),children:e("problem.dashboard.markIncorrect")}),d.verdict&&o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>h(null),children:e("problem.dashboard.clearVerdict")})]})]})}),o.jsx("div",{className:"problem-dashboard__rail",children:[...r.entries()].map(([f,p])=>o.jsxs("button",{type:"button",className:["problem-dashboard__thumb",f===s?"is-focused":"",p.done?"is-done":""].filter(
97Boolean).join(" "),"aria-label":`${e("problem.dashboard.focus")} ${p.studentName}`,onClick:()=>a(f),children:[o.jsx(yL,{board:p.board,size:72}),o.jsxs("span",{className:"problem-dashboard__thumb-name",children:[p.studentName,!p.studentConnected&&" ⚠"]}),p.done&&o.jsx("span",{className:"problem-dashboard__thumb-badge",children:e("problem.dashboard.doneBadge")}),o.jsx(pS,{verdict:p.verdict})]},f))})]}),l&&o.jsx("div",{className:"problem-dashboard__backdrop",onClick:()=>c(!1),children:o.jsxs("div",{className:"problem-dashboard__modal",role:"dialog","aria-modal":"true",onClick:f=>f.stopPropagation(),children:[o.jsx("p",{className:"problem-dashboard__modal-msg",children:e("problem.dashboard.endConfirm")}),o.jsxs("div",{className:"problem-dashboard__modal-actions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>c(!1),children:e("game.setup.cancel")}),o.jsx("button",{type:"button",className:"btn btn--primary btn--sm","aria-label":e("problem.dashboard.endConfirmAria"),onClick:()=>{he.send({t:"problem.end"}),c(!1)},children:e("problem.dashboard.end")})]})]})})]})},Koe=e=>Math.min(1e4,Math.max(3e3,Array.from(e).length*80)),B5=e=>e.replace(/[\r\n\t\u0000-\u001f]+/g," ").replace(/\s+/g," ").trim(),Voe=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");function vL(e,t,n=!1){const r=t.targetLang??t.currentLang,s=B5(e.original);if(!s)return[];const i=e.sourceLang===r?s:B5(e.translations[r]??"")||s,a=t.mode==="original"?[s]:t.mode==="translated"?[i]:i===s?[s]:[s,i],l=B5(e.name??"")||t.roleLabel(e.role);return a.map(c=>{const u=`${l}: ${c}`,d=e.kind==="chat"?`[${u}]`:u;return n?Voe(d):d})}function mS(e){const t=Math.max(0,Math.round(e)),n=(r,s=2)=>String(r).padStart(s,"0");return`${n(Math.floor(t/36e5))}:${n(Math.floor(t/6e4)%60)}:${n(Math.floor(t/1e3)%60)},${n(t%1e3,3)}`}function Yoe(e,t){if(t.startedAt===null||!Number.isFinite(t.startedAt)||!Number.isFinite(t.offsetSeconds))return"";const n=t.startedAt+t.offsetSeconds*1e3,r=e.flatMap((c,u)=>{const d=vL(c,t,!0);if(!d.length||!Number.isFinite(c.ts))return[];const h=Koe(d.join(" ")),f=Number.isFinite(c.startMs)&&Number.isFinite(c.endMs)&&c.endMs>c.startMs,p=c.kind==="speech"?f?c.startMs:c.ts-h:c.ts,m=c.kind==="speech"?f?c.endMs:c.ts:c.ts+h,y=Math.max(p,t.attendedFrom??-1/0,n);if(m<=y)return[];const _=Math.round(y-n),g=Math.round(m-n);return g>_?[{start:_,end:g,text:d.join(`
98`),order:u}]:[]}),s=new Map;for(const c of r){for(const u of[c.start,c.end])s.has(u)||s.set(u,{add:[],remove:[]});s.get(c.start).add.push(c),s.get(c.end).remove.push(c.order)}const i=[...s.keys()].sort((c,u)=>c-u),a=new Map,l=[];for(let c=0;c<i.length-1;c++){const u=i[c],d=i[c+1],h=s.get(u);for(const m of h.remove)a.delete(m);for(const m of h.add)a.set(m.order,m);if(!a.size)continue;const f=[...a.values()].sort((m,y)=>m.start-y.start||m.order-y.order).map(m=>m.text).join(`
99`),p=l.at(-1);p&&p.end===u&&p.text===f?p.end=d:l.push({start:u,end:d,text:f})}return l.map((c,u)=>`${u+1}
100${mS(c.start)} --> ${mS(c.end)}
101${c.text}
102`).join(`
103`)}function Joe(e,t){return[...e].sort((n,r)=>n.ts-r.ts).map(n=>{const r=vL(n,t);return r.length?`[${new Date(n.ts).toISOString().slice(11,23)}] ${r.join(`
104`)}
105`:""}).filter(Boolean).join(`
106`)}const bL=(e,t)=>{var h,f,p;const n=Vi.getState(),r=J.getState(),s={...n.settings,currentLang:((h=r.self)==null?void 0:h.lang)??"en",startedAt:((f=n.snapshot)==null?void 0:f.startedAt)??r.sessionStartedAt,...n.snapshot?{attendedFrom:n.snapshot.attendedFrom}:{},roleLabel:m=>en(m==="teacher"?"export.teacher":"export.student")},i=((p=n.snapshot)==null?void 0:p.entries)??[...e.map(m=>({id:m.id,kind:"chat",role:m.senderRole,sourceLang:m.sourceLang,original:m.text,ts:m.ts,translations:m.translated?{[m.translated.lang]:m.translated.text}:{}})),...t.filter(m=>m.status!=="interim").map(m=>({id:m.id,kind:"speech",role:m.speakerRole,sourceLang:m.speakerLang,original:m.original,ts:m.ts,translations:m.status==="final"&&m.translated&&m.tgtLang?{[m.tgtLang]:m.translated}:{}}))],a=s.format==="srt"?Yoe(i,s):Joe(i,s),l=new Blob([a],{type:s.format==="srt"?"application/x-subrip;charset=utf-8":"text/plain;charset=utf-8"}),c=URL.createObjectURL(l);let u=null,d=!1;try{u=document.createElement("a"),u.href=c;const m=new Date().toISOString().slice(0,10);u.download=`lesson-transcript-${m}.${s.format}`,document.body.appendChild(u),u.click(),d=!0}finally{try{u==null||u.remove()}finally{d?window.setTimeout(()=>URL.revokeObjectURL(c),1e3):URL.revokeObjectURL(c)}}},Zoe=()=>{try{bL(Cn.getState().messages,ht.getState().rows)}catch{console.warn("[leaveLesson] Transcript download could not start; ending the lesson")}window.history.replaceState(null,"","/"),KA(),window.setTimeout(()=>{window.close(),window.closed||window.location.replace("/")},1e3)},Xoe=()=>{const e=H(),t=qt(r=>r.banners),n=qt(r=>r.dismiss);return t.length===0?null:o.jsx("div",{className:"banner-bar",children:t.map(r=>o.jsxs("div",{className:`banner-item banner-item--${r.level}`,role:r.level==="error"?"alert":"status",children:[o.jsx("span",{className:"banner-item__text",children:r.message}
106),o.jsx("button",{type:"button",className:"banner-item__dismiss","aria-label":e("shared.close"),onClick:()=>n(r.id),children:o.jsx("span",{"aria-hidden":"true",children:"x"})})]},r.id))})},Qoe=[{titleKey:"help.section.keyboard",rows:[{glyphs:[{kind:"key",text:"←"}],descKey:"help.keyboard.prev",teacherOnly:!0},{glyphs:[{kind:"key",text:"→"}],descKey:"help.keyboard.next",teacherOnly:!0},{glyphs:[{kind:"key",text:"↑"}],descKey:"help.keyboard.jumpBack",teacherOnly:!0},{glyphs:[{kind:"key",text:"↓"}],descKey:"help.keyboard.jumpForward",teacherOnly:!0}]},{titleKey:"help.section.mouse",rows:[{glyphs:[{kind:"mouse",text:"help.mouse.leftClick"}],descKey:"help.mouse.playOrPing"},{glyphs:[{kind:"mouse",text:"help.mouse.leftClick"}],descKey:"help.mouse.annotate",teacherOnly:!0},{glyphs:[{kind:"mouse",text:"help.mouse.drag"}],descKey:"help.mouse.dragRect",teacherOnly:!0},{glyphs:[{kind:"mouse",text:"help.mouse.ctrlClick"}],descKey:"help.mouse.jumpToMove",teacherOnly:!0},{glyphs:[{kind:"mouse",text:"help.mouse.hover"}],descKey:"help.mouse.peerCursor"}]},{titleKey:"help.section.controls",rows:[{glyphs:[{kind:"plain",text:"#"}],descKey:"help.controls.moveNumbers"},{glyphs:[{kind:"plain",text:"−"},{kind:"plain",text:"+"}],descKey:"help.controls.zoom"},{glyphs:[{kind:"plain",text:"○△□"}],descKey:"help.controls.annotations",teacherOnly:!0}]}],ele=()=>{const e=H(),[t,n]=v.useState(!1),r=v.useRef(null),s=v.useRef(null);v.useEffect(()=>{if(!t)return;const a=l=>{l.key==="Escape"&&(l.preventDefault(),n(!1))};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[t]),v.useEffect(()=>{var a,l;t?(a=s.current)==null||a.focus():(l=r.current)==null||l.focus({preventScroll:!0})},[t]);const i=a=>{a.target===a.currentTarget&&n(!1)};return o.jsxs(o.Fragment,{children:[o.jsx("button",{ref:r,type:"button",className:"board-help",onClick:()=>n(!0),"aria-label":e("help.button"),title:e("help.button"),"aria-haspopup":"dialog","aria-expanded":t,children:o.jsx("span",{"aria-hidden":"true",children:"?"})}),t&&o.jsx("div",{className:"board-help-backdrop",onClick:i,role:"presentation",children:o.jsxs("div",{ref:s,className:"board-help-dialog",role:"dialog","aria-modal":"true","aria-labelledby":"board-help-title",tabIndex:-1,children:[o.jsxs("div",{className:"board-help-dialog__header",children:[o.jsx("h2",{id:"board-help-title",className:"board-help-dialog__title",children:e("help.title")}),o.jsx("button",{type:"button",className:"board-help-dialog__close",onClick:()=>n(!1),"aria-label":e("help.close"),title:e("help.close"),children:o.jsx("span",{"aria-hidden":"true",children:"✕"})})]}),o.jsx("p",{className:"board-help-dialog__intro",children:e("help.intro")}),o.jsx("div",{className:"board-help-dialog__body",children:Qoe.map(a=>o.jsxs("section",{className:"board-help-section",children:[o.jsx("h3",{className:"board-help-section__title",children:e(a.titleKey)}),o.jsx("dl",{className:"board-help-section__rows",children:a.rows.map((l,c)=>o.jsxs("div",{className:"board-help-row",children:[o.jsx("dt",{className:"board-help-row__glyphs",children:l.glyphs.map((u,d)=>u.kind==="key"?o.jsx("kbd",{className:"board-help-kbd",children:u.text},d):u.kind==="mouse"?o.jsx("span",{className:"board-help-mouse",children:e(u.text)},d):o.jsx("span",{className:"board-help-glyph",children:u.text},d))}),o.jsxs("dd",{className:"board-help-row__desc",children:[o.jsx("span",{children:e(l.descKey)}),l.teacherOnly&&o.jsx("span",{className:"board-help-row__badge",title:e("help.teacherOnly"),children:e("help.teacherOnly")})]})]},`${a.titleKey}-${c}`))})]},a.titleKey))}),o.jsx("div",{className:"board-help-dialog__footer",children:o.jsx("button",{type:"button",className:"btn btn--primary board-help-dialog__done",onClick:()=>n(!1),children:e("help.gotIt")})})]})})]})},U5=t1[cp],tle=({fitToViewport:e}={})=>{const t=Dd(u=>u.level),n=Dd(u=>u.increase),r=Dd(u=>u.decrease),s=Dd(cL),i=H(),a=t<=0,l=e?s>=U5:t>=t1.length-1,c=Math.round(Math.min(s,e?U5:1/0)/U5*100);return o.jsxs("div",{className:"board-zoom",role:"group","aria-label":i("board.zoom.label"),children:[o.jsx("button",{type:"button",className:"board-zoom__btn",onClick:r,disabled:a,"aria-label":i("board.zoom.out"),title:i("board.zoom.out"),children:"−"}),o.jsxs("span",{className:"board-zoom__value","aria-live":"polite",children:[c,"%"]}),o.jsx("button",{type:"button",className:"board-zoom__btn",onClick:n,disabled:l,"aria-label":i("board.zoom.in"),title:i("board.zoom.in"),children:"+"})]})},gS=5,nle=[{action:"back5",glyph:"«",labelKey:"board.nav.back5"},{action:"back1",glyph:"‹",labelKey:"board.nav.back1"},{action:"forward1",glyph:"›",labelKey:"board.nav.forward1"},{action:"forward5",glyph:"»",labelKey:"board.nav.forward5"}],yS=(e,t,n)=>{switch(e){case"back5":return dp(t,n,"back",gS);case"back1":return up(t,n,"left");case"forward1":return up(t,n,"right");case"forward5":return dp(t,n,"forward",gS)}},rle=({disabled:e=!1}={})=>{const t=H(),n=J(W3),r=yt(i=>i.state),s=i=>{if(e||!n||!r)return;const a=yS(i,r.tree,r.cursor);
106a&&he.send({t:"board.navigate",path:a})};return o.jsx("div",{className:"move-nav",role:"group","aria-label":t("board.nav.label"),children:nle.map(({action:i,glyph:a,labelKey:l})=>{const c=r?yS(i,r.tree,r.cursor):null,u=e||!n||!r||c===null,d=t(l);return o.jsx("button",{type:"button",className:"move-nav__btn","data-action":i,onClick:()=>s(i),disabled:u,"aria-label":d,title:d,children:a},i)})})},sle=["off","all","last","lastN"],ile=()=>{const e=zc(d=>d.mode),t=zc(d=>d.lastN),n=zc(d=>d.setMode),r=zc(d=>d.setLastN),s=H(),[i,a]=v.useState(!1),l=v.useRef(null);v.useEffect(()=>{if(!i)return;const d=f=>{l.current&&(l.current.contains(f.target)||a(!1))},h=f=>{f.key==="Escape"&&a(!1)};return document.addEventListener("mousedown",d),document.addEventListener("keydown",h),()=>{document.removeEventListener("mousedown",d),document.removeEventListener("keydown",h)}},[i]);const c=(()=>{switch(e){case"off":return s("board.moveNumbers.summary.off");case"all":return s("board.moveNumbers.summary.all");case"last":return s("board.moveNumbers.summary.last");case"lastN":return s("board.moveNumbers.summary.lastN").replace("{n}",String(t))}})(),u=d=>{switch(d){case"off":return s("board.moveNumbers.mode.off");case"all":return s("board.moveNumbers.mode.all");case"last":return s("board.moveNumbers.mode.last");case"lastN":return s("board.moveNumbers.mode.lastN")}};return o.jsxs("div",{className:"move-numbers",ref:l,role:"group","aria-label":s("board.moveNumbers.label"),children:[o.jsxs("button",{type:"button",className:"move-numbers__trigger",onClick:()=>a(d=>!d),"aria-haspopup":"menu","aria-expanded":i,title:s("board.moveNumbers.label"),children:[o.jsx("span",{className:"move-numbers__icon","aria-hidden":"true",children:"#"}),o.jsx("span",{className:"move-numbers__summary",children:c})]}),i&&o.jsx("div",{className:"move-numbers__popover",role:"menu",children:sle.map(d=>o.jsxs("label",{className:`move-numbers__option ${e===d?"is-active":""}`,children:[o.jsx("input",{type:"radio",name:"move-numbers-mode",value:d,checked:e===d,onChange:()=>n(d)}),o.jsx("span",{children:u(d)}),d==="lastN"&&o.jsx("input",{type:"number",className:"move-numbers__n",min:XA,max:QA,value:t,onChange:h=>{const f=parseInt(h.target.value,10);Number.isFinite(f)&&r(f)},onFocus:()=>n("lastN"),"aria-label":s("board.moveNumbers.mode.lastN")})]},d))})]})},ale=()=>{const e=J(W3),t=J(r=>r.driverRole),n=H();return o.jsx("div",{className:"driver-indicator",children:n(e?"driver.you":t==="teacher"?"driver.teacher":"driver.student")})};var e7=function(e,t){return e7=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&
106(n[s]=r[s])},e7(e,t)};function ole(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e7(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var vn=function(){return vn=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},vn.apply(this,arguments)};function vS(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function fa(e,t,n,r){function s(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function l(d){try{u(r.next(d))}catch(h){a(h)}}function c(d){try{u(r.throw(d))}catch(h){a(h)}}function u(d){d.done?i(d.value):s(d.value).then(l,c)}u((r=r.apply(e,t||[])).next())})}function pa(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(u){return function(d){return c([u,d])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(n=0)),n;)try{if(r=1,s&&(i=u[0]&2?s.return:u[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,u[1])).done)return i;switch(s=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,s=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(d){u=[6,d],s=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function lle(e,t,n){for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function _L(e,t){this.v=e,this.k=t}function kt(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function cle(e){return new _L(e,0)}function kL(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ee(e,t){return e.get(kt(e,t))}function wt(e,t,n){kL(e,t),t.set(e,n)}function et(e,t,n){return e.set(kt(e,t),n),n}function Q(e,t,n){return(t=function(r){var s=function(i,a){if(typeof i!="object"||!i)return i;var l=i[Symbol.toPrimitive];if(l!==void 0){var c=l.call(i,a);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return typeof s=="symbol"?s:s+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bS(Object(n),!0).forEach(function(r){Q(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bS(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Er(e,t){if(e==null)return{};var n,r,s=function(a,l){if(a==null)return{};var c={};for(var u in a)if({}.hasOwnProperty.call(a,u)){if(l.indexOf(u)!==-1)continue;c[u]=a[u]}return c}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}function ule(e){return function(){return new Wd(e.apply(this,arguments))}}function Wd(e){var t,n;function r(i,a){try{var l=e[i](a),c=l.value,u=c instanceof _L;Promise.resolve(u?c.v:c).then(function(d){if(u){var h=i==="return"&&c.k?i:"next";if(!c.k||d.done)return r(h,d);d=e[h](d).value}s(!!l.done,d)},function(d){r("throw",d)})}catch(d){s(2,d)}}function s(i,a){i===2?t.reject(a):t.resolve({value:a,done:i}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(i,a){return new Promise(function(l,c){var u={key:i,arg:a,resolve:l,reject:c,next:null};n?n=n.next=u:(t=n=u,r(i,a))})},typeof e.return!="function"&&(this.return=void 0)}Wd.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Wd.prototype.next=function(e){return this._invoke("next",e)},Wd.prototype.throw=function(e){return this._invoke("throw",e)},Wd.prototype.return=function(e){return this._invoke("return",e)};const dle={timeoutInSeconds:60},_S="memory",wL={name:"auth0-spa-js",version:"2.18.3"},xL=()=>Date.now(),ur="default";
106let Mt=class t7 extends Error{constructor(t,n){super(n),this.error=t,this.error_description=n,Object.setPrototypeOf(this,t7.prototype)}static fromPayload(t){let{error:n,error_description:r}=t;return new t7(n,r)}},hle=class SL extends Mt{constructor(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;super(t,n),this.state=r,this.appState=s,Object.setPrototypeOf(this,SL.prototype)}},fle=class TL extends Mt{constructor(t,n,r,s){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;super(t,n),this.connection=r,this.state=s,this.appState=i,Object.setPrototypeOf(this,TL.prototype)}},B3=class jL extends Mt{constructor(){super("timeout","Timeout"),Object.setPrototypeOf(this,jL.prototype)}},ple=class CL extends B3{constructor(t){super(),this.popup=t,Object.setPrototypeOf(this,CL.prototype)}},mle=class EL extends Mt{constructor(t){super("cancelled","Popup closed"),this.popup=t,Object.setPrototypeOf(this,EL.prototype)}},gle=class zL extends Mt{constructor(){super("popup_open","Unable to open a popup for loginWithPopup - window.open returned `null`"),Object.setPrototypeOf(this,zL.prototype)}},fp=class NL extends Mt{constructor(t,n,r,s){super(t,n),this.mfa_token=r,this.mfa_requirements=s,Object.setPrototypeOf(this,NL.prototype)}},IL=class RL extends Mt{constructor(t,n){super("missing_refresh_token","Missing Refresh Token (audience: '".concat(pp(t,["default"]),"', scope: '").concat(pp(n),"')")),this.audience=t,this.scope=n,Object.setPrototypeOf(this,RL.prototype)}},yle=class PL extends Mt{constructor(t,n){super("missing_scopes","Missing requested scopes after refresh (audience: '".concat(pp(t,["default"]),"', missing scope: '").concat(pp(n),"')")),this.audience=t,this.scope=n,Object.setPrototypeOf(this,PL.prototype)}},AL=class LL extends Mt{constructor(t){super("use_dpop_nonce","Server rejected DPoP proof: wrong nonce"),this.newDpopNonce=t,Object.setPrototypeOf(this,LL.prototype)}};function pp(e){return e&&!(arguments.length>1&&arguments[1]!==void 0?arguments[1]:[]).includes(e)?e:""}const vle=["clientId"],mp=()=>window.crypto,od=()=>{const e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.";let t="";for(;t.length<43;){const n=mp().getRandomValues(new Uint8Array(43-t.length));for(const r of n)t.length<43&&r<198&&(t+=e[r%66])}return t},q5=e=>btoa(e),ble=[{key:"name",type:["string"]},{key:"version",type:["string","number"]},{key:"env",type:["object"]}],ML=function(e){let t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return Object.keys(e).reduce((n,r)=>{if(t&&r==="env")return n;const s=ble.find(i=>i.key===r);return s&&s.type.includes(typeof e[r])&&(n[r]=e[r]),n},{})},n7=e=>{let{clientId:t}=e,n=Er(e,vle);return new URLSearchParams((r=>Object.keys(r).filter(s=>r[s]!==void 0).reduce((s,i)=>Z(Z({},s),{},{[i]:r[i]}),{}))(Z({client_id:t},n))).toString()},kS=async e=>await mp().subtle.digest({name:"SHA-256"},new TextEncoder().encode(e)),wS=e=>(t=>decodeURIComponent(atob(t).split("").map(n=>"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)).join("")))(e.replace(/_/g,"/").replace(/-/g,"+")),xS=e=>{const t=new Uint8Array(e);return(n=>{const r={"+":"-","/":"_","=":""};return n.replace(/[+/=]/g,s=>r[s])})(window.btoa(String.fromCharCode(...Array.from(t))))};var pl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},OL={},Ev={};Object.defineProperty(Ev,"__esModule",{value:!0});var _le=function(){function e(){var t=this;this.locked=new Map,this.addToLocked=function(n,r){var s=t.locked.get(n);s===void 0?r===void 0?t.locked.set(n,[]):t.locked.set(n,[r]):r!==void 0&&(s.unshift(r),t.locked.set(n,s))},this.isLocked=function(n){return t.locked.has(n)},this.lock=function(n){return new Promise(function(r,s){t.isLocked(n)?t.addToLocked(n,r):(t.addToLocked(n),r())})},this.unlock=function(n){var r=t.locked.get(n);if(r!==void 0&&r.length!==0){var s=r.pop();t.locked.set(n,r),s!==void 0&&setTimeout(s,0)}else t.locked.delete(n)}}return e.getInstance=function(){return e.instance===void 0&&(e.instance=new e),e.instance},e}();Ev.default=function(){return _le.getInstance()};var Ss=pl&&pl.__awaiter||function(e,t,n,r){return new(n||(n=Prom
vendor: 5,409 bytes, line 106
106ise))(function(s,i){function a(u){try{c(r.next(u))}catch(d){i(d)}}function l(u){try{c(r.throw(u))}catch(d){i(d)}}function c(u){u.done?s(u.value):new n(function(d){d(u.value)}).then(a,l)}c((r=r.apply(e,t||[])).next())})},Ts=pl&&pl.__generator||function(e,t){var n,r,s,i,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(c){return function(u){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(s=2&d[0]?r.return:d[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,d[1])).done)return s;switch(r=0,s&&(d=[2&d[0],s.value]),d[0]){case 0:case 1:s=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,r=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(s=a.trys,!((s=s.length>0&&s[s.length-1])||d[0]!==6&&d[0]!==2)){a=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){a.label=d[1];break}if(d[0]===6&&a.label<s[1]){a.label=s[1],s=d;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(d);break}s[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(e,a)}catch(h){d=[6,h],r=0}finally{n=s=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([c,u])}}},ld=pl;Object.defineProperty(OL,"__esModule",{value:!0});var Ol=Ev,H5="browser-tabs-lock-key",Bh={key:function(e){return Ss(ld,void 0,void 0,function(){return Ts(this,function(t){throw new Error("Unsupported")})})},getItem:function(e){return Ss(ld,void 0,void 0,function(){return Ts(this,function(t){throw new Error("Unsupported")})})},clear:function(){return Ss(ld,void 0,void 0,function(){return Ts(this,function(e){return[2,window.localStorage.clear()]})})},removeItem:function(e){return Ss(ld,void 0,void 0,function(){return Ts(this,function(t){throw new Error("Unsupported")})})},setItem:function(e,t){return Ss(ld,void 0,void 0,function(){return Ts(this,function(n){throw new Error("Unsupported")})})},keySync:function(e){return window.localStorage.key(e)},getItemSync:function(e){return window.localStorage.getItem(e)},clearSync:function(){return window.localStorage.clear()},removeItemSync:function(e){return window.localStorage.removeItem(e)},setItemSync:function(e,t){return window.localStorage.setItem(e,t)}};function G5(e){return new Promise(function(t){return setTimeout(t,e)})}function K5(e){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",n="",r=0;r<e;r++)n+=t[Math.floor(61*Math.random())];return n}var kle=function(){function e(t){this.acquiredIatSet=new Set,this.storageHandler=void 0,this.id=Date.now().toString()+K5(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),this.storageHandler=t,e.waiters===void 0&&(e.waiters=[])}return e.prototype.acquireLock=function(t,n){return n===void 0&&(n=5e3),Ss(this,void 0,void 0,function(){var r,s,i,a,l,c,u;return Ts(this,function(d){switch(d.label){case 0:r=Date.now()+K5(4),s=Date.now()+n,i=H5+"-"+t,a=this.storageHandler===void 0?Bh:this.storageHandler,d.label=1;case 1:return Date.now()<s?[4,G5(30)]:[3,8];case 2:return d.sent(),a.getItemSync(i)!==null?[3,5]:(l=this.id+"-"+t+"-"+r,[4,G5(Math.floor(25*Math.random()))]);case 3:return d.sent(),a.setItemSync(i,JSON.stringify({id:this.id,iat:r,timeoutKey:l,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,G5(30)];case 4:return d.sent(),(c=a.getItemSync(i))!==null&&(u=JSON.parse(c)).id===this.id&&u.iat===r?(this.acquiredIatSet.add(r),this.refreshLockWhileAcquired(i,r),[2,!0]):[3,7];case 5:return e.lockCorrector(this.storageHandler===void 0?Bh:this.storageHandler),[4,this.waitForSomethingToChange(s)];case 6:d.sent(),d.label=7;case 7:return r=Date.now()+K5(4),[3,1];case 8:return[2,!1]}})})},e.prototype.refreshLockWhileAcquired=function(t,n){return Ss(this,void 0,void 0,function(){var r=this;return Ts(this,function(s){return setTimeout(function(){return Ss(r,void 0,void 0,function(){var i,a,l;return Ts(this,function(c){switch(c.label){case 0:return[4,Ol.default().lock(n)];case 1:return c.sent(),this.acquiredIatSet.has(n)?(i=this.storageHandler===void 0?Bh:this.storageHandler,(a=i.getItemSync(t))===null?(Ol.default().unlock(n),[2]):((l=JSON.parse(a)).timeRefreshed=Date.now(),i.setItemSync(t,JSON.stringify(l)),Ol.default().unlock(n),this.refreshLockWhileAcquired(t,n),[2])):(Ol.default().unlock(n),[2])}})})},1e3),[2]})})},e.prototype.waitForSomethingToChange=function(t){return Ss(this,void 0,void 0,function(){return Ts(this,function(n){switch(n.label){case 0:return[4,new Promise(function(r){var s=!1,i=Date.now(),a=!1;function l(){if(a||(window.removeEventListener("storage",l),e.removeFromWaiting(l),clearTimeout(c),a=!0),!s){s=!0;var u=50-(Date.now()-i);u>0?setTimeout(r,u):r(null)}}window.addEventListener("storage",l),e.addToWaiting(l);var c=setTimeout(l,Math.max(0,t-Date.now()))})];case 1:return n.sent(),[2]}})})},e.addToWaiting=function(t){this.removeFromWaiting(t),e.waiters!==void 0&&e.waiters.push(t)},e.removeFromWaiting=function(t){e.waiters!==void 0&&(e.waiters=e.waiters.filter(function(n){return n!==t}))},e.notifyWaiters=function(){e.waiters!==void 0&&e.waiters.slice().forEac
106h(function(t){return t()})},e.prototype.releaseLock=function(t){return Ss(this,void 0,void 0,function(){return Ts(this,function(n){switch(n.label){case 0:return[4,this.releaseLock__private__(t)];case 1:return[2,n.sent()]}})})},e.prototype.releaseLock__private__=function(t){return Ss(this,void 0,void 0,function(){var n,r,s,i;return Ts(this,function(a){switch(a.label){case 0:return n=this.storageHandler===void 0?Bh:this.storageHandler,r=H5+"-"+t,(s=n.getItemSync(r))===null?[2]:(i=JSON.parse(s)).id!==this.id?[3,2]:[4,Ol.default().lock(i.iat)];case 1:a.sent(),this.acquiredIatSet.delete(i.iat),n.removeItemSync(r),Ol.default().unlock(i.iat),e.notifyWaiters(),a.label=2;case 2:return[2]}})})},e.lockCorrector=function(t){for(var n=Date.now()-5e3,r=t,s=[],i=0;;){var a=r.keySync(i);if(a===null)break;s.push(a),i++}for(var l=!1,c=0;c<s.length;c++){var u=s[c];if(u.includes(H5)){var d=r.getItemSync(u);if(d!==null){var h=JSON.parse(d);(h.timeRefreshed===void 0&&h.timeAcquired<n||h.timeRefreshed!==void 0&&h.timeRefreshed<n)&&(r.removeItemSync(u),l=!0)}}}l&&e.notifyWaiters()},e.waiters=void 0,e}(),wle=OL.default=kle;let xle=class{async runWithLock(t,n,r){const s=new AbortController,i=setTimeout(()=>s.abort(),n);try{return await navigator.locks.request(t,{mode:"exclusive",signal:s.signal},async a=>{if(clearTimeout(i),!a)throw new Error("Lock not available");return await r()})}catch(a){throw clearTimeout(i),(a==null?void 0:a.name)==="AbortError"?new B3:a}}},Sle=class{constructor(){Q(this,"lock",void 0),Q(this,"activeLocks",new Set),Q(this,"pagehideHandler",void 0),this.lock=new wle,this.pagehideHandler=()=>{this.activeLocks.forEach(t=>this.lock.releaseLock(t)),this.activeLocks.clear()}}async runWithLock(t,n,r){let s=!1;for(let i=0;i<10&&!s;i++)s=await this.lock.acquireLock(t,n);if(!s)throw new B3;this.activeLocks.add(t),this.activeLocks.size===1&&typeof window<"u"&&window.addEventListener("pagehide",this.pagehideHandler);try{return await r()}finally{this.activeLocks.delete(t),await this.lock.releaseLock(t),this.activeLocks.size===0&&typeof window<"u"&&window.removeEventListener("pagehide",this.pagehideHandler)}}};function Tle(){return typeof navigator<"u"&&typeof((e=navigator.locks)===null||e===void 0?void 0:e.request)=="function"?new xle:new Sle;var e}let V5=null;const jle=new TextEncoder,Cle=new TextDecoder;function f0(e){return typeof e=="string"?jle.encode(e):Cle.decode(e)}function SS(e){if(typeof e.modulusLength!="number"||e.modulusLength<2048)throw new zle(`${e.name} modulusLength must be at least 2048 bits`)}async function Ele(e,t,n){if(n.usages.includes("sign")===!1)throw new TypeError('private CryptoKey instances used for signing assertions must include "sign" in their "usages"');const r=`${p0(f0(JSON.stringify(e)))}.${p0(f0(JSON.stringify(t)))}`;return`${r}.${p0(await crypto.subtle.sign(function(s){switch(s.algorithm.name){case"ECDSA":return{name:s.algorithm.name,hash:"SHA-256"};case"RSA-PSS":return SS(s.algorithm),{name:s.algorithm.name,saltLength:32};case"RSASSA-PKCS1-v1_5":return SS(s.algorithm),{name:s.algorithm.name};case"Ed25519":return{name:s.algorithm.name}}throw new Ko}(n),n,f0(r)))}`}let r7;Uint8Array.prototype.toBase64?r7=e=>(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e.toBase64({alphabet:"base64url",omitPadding:!0})):r7=t=>{t instanceof ArrayBuffer&&(t=new Uint8Array(t));const n=[];for(let r=0;r<t.byteLength;r+=32768)n.push(String.fromCharCode.apply(null,t.subarray(r,r+32768)));return btoa(n.join("")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")};function p0(e){return r7(e)}let Ko=class extends Error{constructor(t){var n;super(t??"operation not supported"),this.name=this.constructor.name,(n=Error.captureStackTrace)===null||n===void 0||n.call(Error,this,this.constructor)}},zle=class extends Error{constructor(t){var n;super(t),this.name=this.constructor.name,(n=Error.captureStackTrace)===null||n===void 0||n.call(Error,this,this.constructor)}};function Nle(e){switch(e.algorithm.name){case"RSA-PSS":return function(t){if(t.algorithm.hash.name==="SHA-256")return"PS256";throw new Ko("unsupported RsaHashedKeyAlgorithm hash name")}(e);case"RSASSA-PKCS1-v1_5":return function(t){if(t.algorithm.hash.name==="SHA-256")return"RS256";throw new Ko("unsupported RsaHashedKeyAlgorithm hash name")}(e);case"ECDSA":return function(t){if(t.algorithm.namedCurve==="P-256")return"ES256";throw new Ko("unsupported EcKeyAlgorithm namedCurve")}(e);case"Ed25519":return"Ed25519";default:throw new Ko("unsupported CryptoKey algorithm name")}}function DL(e){return e instanceof CryptoKey}function WL(e){return DL(e)&&e.type==="public"}async function Ile(e,t,n,r,s,i){const a=e==null?void 0:e.privateKey,l=e==null?void 0:e.publicKey;if(!DL(c=a)||c.type!=="private")throw new TypeError('"keypair.privateKey" must be a private CryptoKey');var c;if(!WL(l))throw new TypeError('"keypair.publicKey" must be a public CryptoKey');if(l.extractable!==!0)throw new TypeError('"keypair.publicKey.extractable" must be true');
106if(typeof t!="string")throw new TypeError('"htu" must be a string');if(typeof n!="string")throw new TypeError('"htm" must be a string');if(r!==void 0&&typeof r!="string")throw new TypeError('"nonce" must be a string or undefined');if(s!==void 0&&typeof s!="string")throw new TypeError('"accessToken" must be a string or undefined');return Ele({alg:Nle(a),typ:"dpop+jwt",jwk:await FL(l)},Object.assign(Object.assign({},i),{iat:Math.floor(Date.now()/1e3),jti:crypto.randomUUID(),htm:n,nonce:r,htu:t,ath:s?p0(await crypto.subtle.digest("SHA-256",f0(s))):void 0}),a)}async function FL(e){const{kty:t,e:n,n:r,x:s,y:i,crv:a}=await crypto.subtle.exportKey("jwk",e);return{kty:t,crv:a,e:n,n:r,x:s,y:i}}const $L="dpop-nonce",Rle=["authorization_code","refresh_token","urn:ietf:params:oauth:grant-type:token-exchange","http://auth0.com/oauth/grant-type/mfa-oob","http://auth0.com/oauth/grant-type/mfa-otp","http://auth0.com/oauth/grant-type/mfa-recovery-code"];function Ple(){return async function(e,t){var n;let r;if(e.length===0)throw new TypeError('"alg" must be a non-empty string');switch(e){case"PS256":r={name:"RSA-PSS",hash:"SHA-256",modulusLength:2048,publicExponent:new Uint8Array([1,0,1])};break;case"RS256":r={name:"RSASSA-PKCS1-v1_5",hash:"SHA-256",modulusLength:2048,publicExponent:new Uint8Array([1,0,1])};break;case"ES256":r={name:"ECDSA",namedCurve:"P-256"};break;case"Ed25519":r={name:"Ed25519"};break;default:throw new Ko}return crypto.subtle.generateKey(r,(n=t==null?void 0:t.extractable)!==null&&n!==void 0&&n,["sign","verify"])}("ES256",{extractable:!1})}function Ale(e){return async function(t){if(!WL(t))throw new TypeError('"publicKey" must be a public CryptoKey');if(t.extractable!==!0)throw new TypeError('"publicKey.extractable" must be true');const n=await FL(t);let r;switch(n.kty){case"EC":r={crv:n.crv,kty:n.kty,x:n.x,y:n.y};break;case"OKP":r={crv:n.crv,kty:n.kty,x:n.x};break;case"RSA":r={e:n.e,kty:n.kty,n:n.n};break;default:throw new Ko("unsupported JWK kty")}return p0(await crypto.subtle.digest({name:"SHA-256"},f0(JSON.stringify(r))))}(e.publicKey)}function Lle(e){let{keyPair:t,url:n,method:r,nonce:s,accessToken:i}=e;const a=function(l){const c=new URL(l);return c.search="",c.hash="",c.href}(n);return Ile(t,a,r,s,i)}const Mle=["error","error_description"],Ole=async(e,t)=>{const n=await fetch(e,t);return{ok:n.ok,json:await n.json(),headers:(r=n.headers,[...r].reduce((s,i)=>{let[a,l]=i;return s[a]=l,s},{}))};var r},Dle=async(e,t,n)=>{const r=new AbortController;let s;return t.signal=r.signal,Promise.race([Ole(e,t),new Promise((i,a)=>{s=setTimeout(()=>{r.abort(),a(new Error("Timeout when executing 'fetch'"))},n)})]).finally(()=>{clearTimeout(s)})},Wle=async(e,t,n,r,s,i,a,l)=>((c,u)=>new Promise(function(d,h){const f=new MessageChannel;f.port1.onmessage=function(p){p.data.error?h(new Error(p.data.error)):d(p.data),f.port1.close()},u.postMessage(c,[f.port2])}))({auth:{audience:t,scope:n},timeout:s,fetchUrl:e,fetchOptions:r,useFormData:a,useMrrt:l},i),Fle=async function(e,t,n,r,s,i){let a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1e4;return s?Wle(e,t,n,r,a,s,i,arguments.length>7?arguments[7]:void 0):Dle(e,r,a)};async function BL(e,t,n,r,s,i,a,l,c,u){if(c){const b=await c.generateProof({url:e,method:s.method||"GET",nonce:await c.getNonce()});s.headers=Z(Z({},s.headers),{},{dpop:b})}let d,h=null;for(let b=0;b<3;b++)try{d=await Fle(e,n,r,s,i,a,t,l),h=null;break}catch(k){h=k}if(h)throw h;const{json:{error:f,error_description:p},headers:m,ok:y}=d,_=Er(d.json,Mle);let g;if(c&&(g=m[$L],g&&await c.setNonce(g)),!y){const b=p||"HTTP error. Unable to fetch ".concat(e);if(f==="mfa_required")throw new fp(f,b,_.mfa_token,_.mfa_requirements);if(f==="missing_refresh_token")throw new IL(n,r);if(f==="use_dpop_nonce"){if(!c||!g||u)throw new AL(g);return BL(e,t,n,r,s,i,a,l,c,!0)}throw new Mt(f||"request_error",b)}return _}const $le=["baseUrl","timeout","audience","scope","auth0Client","useFormData","useMrrt","dpop"];async function Ble(e,t){let{baseUrl:n,timeout:r,audience:s,scope:i,auth0Client:a,useFormData:l,useMrrt:c,dpop:u}=e,d=Er(e,$le);const h=d.grant_type==="urn:ietf:params:oauth:grant-type:token-exchange",f=d.grant_type==="refresh_token"&&c,p=Z(Z(Z(Z({},d),h&&s&&{audience:s}),h&&i&&{scope:i}),f&&{audience:s,scope:i}
106),m=l?n7(p):JSON.stringify(p),y=(_=d.grant_type,Rle.includes(_));var _;return await BL("".concat(n,"/oauth/token"),r,s||ur,i,{method:"POST",body:m,headers:{"Content-Type":l?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(ML(a||wL)))}},t,l,c,y?u:void 0)}const nf=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(r=t.filter(Boolean).join(" ").trim().split(/\s+/),Array.from(new Set(r))).join(" ");var r},Uh=(e,t,n)=>{let r;return n&&(r=e[n]),r||(r=e[ur]),nf(r,t)},Vc="@@auth0spajs@@",sc="@@user@@";let Di=class s7{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vc,r=arguments.length>2?arguments[2]:void 0;this.prefix=n,this.suffix=r,Q(this,"clientId",void 0),Q(this,"scope",void 0),Q(this,"audience",void 0),this.clientId=t.clientId,this.scope=t.scope,this.audience=t.audience}toKey(){return[this.prefix,this.clientId,this.audience,this.scope,this.suffix].filter(Boolean).join("::")}static fromKey(t){const[n,r,s,i]=t.split("::");return new s7({clientId:r,scope:i,audience:s},n)}static fromCacheEntry(t){const{scope:n,audience:r,client_id:s}=t;return new s7({scope:n,audience:r,clientId:s})}},Ule=class{set(t,n){localStorage.setItem(t,JSON.stringify(n))}get(t){const n=window.localStorage.getItem(t);if(n)try{return JSON.parse(n)}catch{return}}remove(t){localStorage.removeItem(t)}allKeys(){return Object.keys(window.localStorage).filter(t=>t.startsWith(Vc))}},UL=class{constructor(){Q(this,"enclosedCache",function(){let t={};return{set(n,r){t[n]=r},get(n){const r=t[n];if(r)return r},remove(n){delete t[n]},allKeys:()=>Object.keys(t)}}())}},qle=class{constructor(t,n,r){this.cache=t,this.keyManifest=n,Q(this,"nowProvider",void 0),this.nowProvider=r||xL}async setIdToken(t,n,r){var s;const i=this.getIdTokenCacheKey(t);await this.cache.set(i,{id_token:n,decodedToken:r}),await((s=this.keyManifest)===null||s===void 0?void 0:s.add(i))}async getIdToken(t){const n=await this.cache.get(this.getIdTokenCacheKey(t.clientId));if(!n&&t.scope&&t.audience){const r=await this.get(t);return!r||!r.id_token||!r.decodedToken?void 0:{id_token:r.id_token,decodedToken:r.decodedToken}}if(n)return{id_token:n.id_token,decodedToken:n.decodedToken}}async get(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],s=arguments.length>3?arguments[3]:void 0,i=await this.cache.get(t.toKey());if(!i){const u=await this.getCacheKeys();if(!u)return;const d=this.matchExistingCacheKey(t,u);if(d&&(i=await this.cache.get(d)),!i&&r&&s!=="cache-only")return this.getEntryWithRefreshToken(t,u)}if(!i)return;const a=await this.nowProvider(),l=Math.floor(a/1e3);var c;return i.expiresAt-n<l?i.body.refresh_token?this.modifiedCachedEntry(i,t):(await this.cache.remove(t.toKey()),void await((c=this.keyManifest)===null||c===void 0?void 0:c.remove(t.toKey()))):i.body}async modifiedCachedEntry(t,n){return t.body={refresh_token:t.body.refresh_token,audience:t.body.audience,scope:t.body.scope},await this.cache.set(n.toKey(),t),{refresh_token:t.body.refresh_token,audience:t.body.audience,scope:t.body.scope}}async set(t){var n;const r=new Di({clientId:t.client_id,scope:t.scope,audience:t.audience}),s=await this.wrapCacheEntry(t);await this.cache.set(r.toKey(),s),await((n=this.keyManifest)===null||n===void 0?void 0:n.add(r.toKey()))}async remove(t,n,r){const s=new Di({clientId:t,scope:r,audience:n});await this.cache.remove(s.toKey())}async clear(t){var n;const r=await this.getCacheKeys();r&&(await r.filter(s=>!t||s.includes(t)).reduce(async(s,i)=>{await s,await this.cache.remove(i)},Promise.resolve()),await((n=this.keyManifest)===null||n===void 0?void 0:n.clear()))}async wrapCacheEntry(t){const n=await this.nowProvider();return{body:t,expiresAt:Math.floor(n/1e3)+t.expires_in}}async getCacheKeys(){var t;return this.keyManifest?(t=await this.keyManifest.get())===null||t===void 0?void 0:t.keys:this.cache.allKeys?this.cache.allKeys():void 0}getIdTokenCacheKey(t){return new Di({clientId:t},Vc,sc).toKey()}matchExistingCacheKey(t,n){return n.filter(r=>{var s;const i=Di.fromKey(r),a=new Set(i.scope&&i.scope.split(" ")),l=((s=t.scope)===null||s===void 0?void 0:s.split(" "))||[],c=i.scope&&l.reduce((u,d)=>u&&a.has(d),!0);return i.prefix===Vc&&i.clientId===t.clientId&&i.audience===t.audience&&c})[0]}async getEntryWithRefreshToken(t,n){for(const s of n){const i=Di.fromKey(s);if(i.prefix===Vc&&i.clientId===t.clientId){var r;const a=await this.cache.get(s);if(a!=null&&(r=a.body)!==null&&r!==void 0&&r.refresh_token)return this.modifiedCachedEntry(a,t)}}}async updateEntry(t,n){const r=await this.getCacheKeys();if(r)for(const i of r){var s;const a=await this.cache.get(i);(a==null||(s=a.body)===null||s===void 0?void 0:s.refresh_token)===t&&(a.body.refresh_token=n,await this.cache.set(i,a))}}},Hle=class{constructor(t,n,r){this.storage=t,this.clientId=n,this.cookieDomain=r,Q(this,"storageKey",void 0),this.storageKey="".concat("a0.spajs.txs",".").concat(this.clientId)}create(t){this.storage.save(this.storageKey,t,{daysUntilExpire:1,cookieDomain:this.cookieDomain})}get(){return this.storage.get(this.storageKey)}remove(){this.storage.remove(this.storageKey,{cookieDomain:this.cookieDomain})}};const cd=e=>typeof e=="number",Gle=["iss","aud","exp","nbf","iat","jti","azp","
106nonce","auth_time","at_hash","c_hash","acr","amr","sub_jwk","cnf","sip_from_tag","sip_date","sip_callid","sip_cseq_num","sip_via_branch","orig","dest","mky","events","toe","txn","rph","sid","vot","vtm"],Kle=e=>{if(!e.id_token)throw new Error("ID token is required but missing");const t=(i=>{const a=i.split("."),[l,c,u]=a;if(a.length!==3||!l||!c||!u)throw new Error("ID token could not be decoded");const d=JSON.parse(wS(c)),h={__raw:i},f={};return Object.keys(d).forEach(p=>{h[p]=d[p],Gle.includes(p)||(f[p]=d[p])}),{encoded:{header:l,payload:c,signature:u},header:JSON.parse(wS(l)),claims:h,user:f}})(e.id_token);if(!t.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(t.claims.iss!==e.iss)throw new Error('Issuer (iss) claim mismatch in the ID token; expected "'.concat(e.iss,'", found "').concat(t.claims.iss,'"'));if(!t.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if(t.header.alg!=="RS256")throw new Error('Signature algorithm of "'.concat(t.header.alg,'" is not supported. Expected the ID token to be signed with "RS256".'));if(!t.claims.aud||typeof t.claims.aud!="string"&&!Array.isArray(t.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(t.claims.aud)){if(!t.claims.aud.includes(e.aud))throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(e.aud,'" but was not one of "').concat(t.claims.aud.join(", "),'"'));if(t.claims.aud.length>1){if(!t.claims.azp)throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");if(t.claims.azp!==e.aud)throw new Error('Authorized Party (azp) claim mismatch in the ID token; expected "'.concat(e.aud,'", found "').concat(t.claims.azp,'"'))}}else if(t.claims.aud!==e.aud)throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(e.aud,'" but found "').concat(t.claims.aud,'"'));if(e.nonce){if(!t.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(t.claims.nonce!==e.nonce)throw new Error('Nonce (nonce) claim mismatch in the ID token; expected "'.concat(e.nonce,'", found "').concat(t.claims.nonce,'"'))}if(e.max_age&&!cd(t.claims.auth_time))throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");if(t.claims.exp==null||!cd(t.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!cd(t.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");const n=e.leeway||60,r=new Date(e.now||Date.now()),s=new Date(0);if(s.setUTCSeconds(t.claims.exp+n),r>s)throw new Error("Expiration Time (exp) claim error in the ID token; current time (".concat(r,") is after expiration time (").concat(s,")"));if(t.claims.nbf!=null&&cd(t.claims.nbf)){const i=new Date(0);if(i.setUTCSeconds(t.claims.nbf-n),r<i)throw new Error("Not Before time (nbf) claim in the ID token indicates that this token can't be used just yet. Current time (".concat(r,") is before ").concat(i))}if(t.claims.auth_time!=null&&cd(t.claims.auth_time)){const i=new Date(0);if(i.setUTCSeconds(parseInt(t.claims.auth_time)+e.max_age+n),r>i)throw new Error("Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time (".concat(r,") is after last auth at ").concat(i))}if(e.organization){const i=e.organization.trim();if(i.startsWith("org_")){const a=i;if(!t.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(a!==t.claims.org_id)throw new Error('Organization ID (org_id) claim mismatch in the ID token; expected "'.concat(a,'", found "').concat(t.claims.org_id,'"'))}else{const a=i.toLowerCase();if(!t.claims.org_name)throw new Error("Organization Name (org_name) claim must be a string present in the ID token");if(a!==t.claims.org_name)throw new Error('Organization Name (org_name) claim mismatch in the ID token; expected "'.concat(a,'", found "').concat(t.claims.org_name,'"'))}}return t};var n1=pl&&pl.__assign||function(){return n1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n1.apply(this,arguments)};function ud(e,t){if(!t)return"";var n="; "+e;return t===!0?n:n+"="+t}function Vle(e,t,n){return encodeURIComponent(e).replace(/%(23|24|26|2B|5E|60|7C)/g,decode
106URIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(t).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(r){if(typeof r.expires=="number"){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*r.expires),r.expires=s}return ud("Expires",r.expires?r.expires.toUTCString():"")+ud("Domain",r.domain)+ud("Path",r.path)+ud("Secure",r.secure)+ud("SameSite",r.sameSite)}(n)}function Yle(){return function(e){for(var t={},n=e?e.split("; "):[],r=/(%[\dA-F]{2})+/gi,s=0;s<n.length;s++){var i=n[s].split("="),a=i.slice(1).join("=");a.charAt(0)==='"'&&(a=a.slice(1,-1));try{t[i[0].replace(r,decodeURIComponent)]=a.replace(r,decodeURIComponent)}catch{}}return t}(document.cookie)}var Jle=function(e){return Yle()[e]};function qL(e,t,n){document.cookie=Vle(e,t,n1({path:"/"},n))}var HL=qL,GL=function(e,t){qL(e,"",n1(n1({},t),{expires:-1}))};const ic={get(e){const t=Jle(e);if(t!==void 0)return JSON.parse(t)},save(e,t,n){let r={};window.location.protocol==="https:"&&(r={secure:!0,sameSite:"none"}),n!=null&&n.daysUntilExpire&&(r.expires=n.daysUntilExpire),n!=null&&n.cookieDomain&&(r.domain=n.cookieDomain),HL(e,JSON.stringify(t),r)},remove(e,t){let n={};t!=null&&t.cookieDomain&&(n.domain=t.cookieDomain),GL(e,n)}},Y5="_legacy_",Zle={get(e){return ic.get(e)||ic.get("".concat(Y5).concat(e))},save(e,t,n){let r={};window.location.protocol==="https:"&&(r={secure:!0}),n!=null&&n.daysUntilExpire&&(r.expires=n.daysUntilExpire),n!=null&&n.cookieDomain&&(r.domain=n.cookieDomain),HL("".concat(Y5).concat(e),JSON.stringify(t),r),ic.save(e,t,n)},remove(e,t){let n={};t!=null&&t.cookieDomain&&(n.domain=t.cookieDomain),GL(e,n),ic.remove(e,t),ic.remove("".concat(Y5).concat(e),t)}},Xle={get(e){if(typeof sessionStorage>"u")return;const t=sessionStorage.getItem(e);return t!=null?JSON.parse(t):void 0},save(e,t){sessionStorage.setItem(e,JSON.stringify(t))},remove(e){sessionStorage.removeItem(e)}};let ac=function(e){return e.Code="code",e.ConnectCode="connect_code",e}({});function Qle(e,t,n){var r=t===void 0?null:t,s=function(c,u){var d=atob(c);if(u){for(var h=new Uint8Array(d.length),f=0,p=d.length;f<p;++f)h[f]=d.charCodeAt(f);return String.fromCharCode.apply(null,new Uint16Array(h.buffer))}return d}(e,n!==void 0&&n),i=s.indexOf(`
107`,10)+1,a=s.substring(i)+(r?"//# sourceMappingURL="+r:""),l=new Blob([a],{type:"application/javascript"});return URL.createObjectURL(l)}var TS,jS,CS,J5,ece=(TS="Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7ZnVuY3Rpb24gZShlLHIsdCl7cmV0dXJuKHI9ZnVuY3Rpb24oZSl7dmFyIHI9ZnVuY3Rpb24oZSxyKXtpZigib2JqZWN0IiE9dHlwZW9mIGV8fCFlKXJldHVybi
107BlO3ZhciB0PWVbU3ltYm9sLnRvUHJpbWl0aXZlXTtpZih2b2lkIDAhPT10KXt2YXIgbj10LmNhbGwoZSxyfHwiZGVmYXVsdCIpO2lmKCJvYmplY3QiIT10eXBlb2YgbilyZXR1cm4gbjt0aHJvdyBuZXcgVHlwZUVycm9yKCJAQHRvUHJpbWl0aXZlIG11c3QgcmV0dXJuIGEgcHJpbWl0aXZlIHZhbHVlLiIpfXJldHVybigic3RyaW5nIj09PXI/U3RyaW5nOk51bWJlcikoZSl9KGUsInN0cmluZyIpO3JldHVybiJzeW1ib2wiPT10eXBlb2Ygcj9yOnIrIiJ9KHIpKWluIGU/T2JqZWN0LmRlZmluZVByb3BlcnR5KGUscix7dmFsdWU6dCxlbnVtZXJhYmxlOiEwLGNvbmZpZ3VyYWJsZTohMCx3cml0YWJsZTohMH0pOmVbcl09dCxlfWZ1bmN0aW9uIHIoZSxyKXt2YXIgdD1PYmplY3Qua2V5cyhlKTtpZihPYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzKXt2YXIgbj1PYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzKGUpO3ImJihuPW4uZmlsdGVyKGZ1bmN0aW9uKHIpe3JldHVybiBPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKGUscikuZW51bWVyYWJsZX0pKSx0LnB1c2guYXBwbHkodCxuKX1yZXR1cm4gdH1mdW5jdGlvbiB0KHQpe2Zvcih2YXIgbj0xO248YXJndW1lbnRzLmxlbmd0aDtuKyspe3ZhciBvPW51bGwhPWFyZ3VtZW50c1tuXT9hcmd1bWVudHNbbl06e307biUyP3IoT2JqZWN0KG8pLCEwKS5mb3JFYWNoKGZ1bmN0aW9uKHIpe2UodCxyLG9bcl0pfSk6T2JqZWN0LmdldE93blByb3BlcnR5RGVzY3JpcHRvcnM/T2JqZWN0LmRlZmluZVByb3BlcnRpZXModCxPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9ycyhvKSk6cihPYmplY3QobykpLmZvckVhY2goZnVuY3Rpb24oZSl7T2JqZWN0LmRlZmluZVByb3BlcnR5KHQsZSxPYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9yKG8sZSkpfSl9cmV0dXJuIHR9Y2xhc3MgbiBleHRlbmRzIEVycm9ye2NvbnN0cnVjdG9yKGUscil7c3VwZXIociksdGhpcy5lcnJvcj1lLHRoaXMuZXJyb3JfZGVzY3JpcHRpb249cixPYmplY3Quc2V0UHJvdG90eXBlT2YodGhpcyxuLnByb3RvdHlwZSl9c3RhdGljIGZyb21QYXlsb2FkKGUpe2xldHtlcnJvcjpyLGVycm9yX2Rlc2NyaXB0aW9uOnR9PWU7cmV0dXJuIG5ldyBuKHIsdCl9fWNsYXNzIG8gZXh0ZW5kcyBue2NvbnN0cnVjdG9yKGUscil7c3VwZXIoIm1pc3NpbmdfcmVmcmVzaF90b2tlbiIsIk1pc3NpbmcgUmVmcmVzaCBUb2tlbiAoYXVkaWVuY2U6ICciLmNvbmNhdChzKGUsWyJkZWZhdWx0Il0pLCInLCBzY29wZTogJyIpLmNvbmNhdChzKHIpLCInKSIpKSx0aGlzLmF1ZGllbmNlPWUsdGhpcy5zY29wZT1yLE9iamVjdC5zZXRQcm90b3R5cGVPZih0aGlzLG8ucHJvdG90eXBlKX19ZnVuY3Rpb24gcyhlKXtyZXR1cm4gZSYmIShhcmd1bWVudHMubGVuZ3RoPjEmJnZvaWQgMCE9PWFyZ3VtZW50c1sxXT9hcmd1bWVudHNbMV06W10pLmluY2x1ZGVzKGUpP2U6IiJ9Y29uc3QgaT1bImNsaWVudElkIl0sYz1lPT57bGV0e2NsaWVudElkOnJ9PWUsbj1mdW5jdGlvbihlLHIpe2lmKG51bGw9PWUpcmV0dXJue307dmFyIHQsbixvPWZ1bmN0aW9uKGUscil7aWYobnVsbD09ZSlyZXR1cm57fTt2YXIgdD17fTtmb3IodmFyIG4gaW4gZSlpZih7fS5oYXNPd25Qcm9wZXJ0eS5jYWxsKGUsbikpe2lmKC0xIT09ci5pbmRleE9mKG4pKWNvbnRpbnVlO3Rbbl09ZVtuXX1yZXR1cm4gdH0oZSxyKTtpZihPYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzKXt2YXIgcz1PYmplY3QuZ2V0T3duUHJvcGVydHlTeW1ib2xzKGUpO2ZvcihuPTA7bj
107xzLmxlbmd0aDtuKyspdD1zW25dLC0xPT09ci5pbmRleE9mKHQpJiZ7fS5wcm9wZXJ0eUlzRW51bWVyYWJsZS5jYWxsKGUsdCkmJihvW3RdPWVbdF0pfXJldHVybiBvfShlLGkpO3JldHVybiBuZXcgVVJMU2VhcmNoUGFyYW1zKChlPT5PYmplY3Qua2V5cyhlKS5maWx0ZXIocj0+dm9pZCAwIT09ZVtyXSkucmVkdWNlKChyLG4pPT50KHQoe30scikse30se1tuXTplW25dfSkse30pKSh0KHtjbGllbnRfaWQ6cn0sbikpKS50b1N0cmluZygpfTtsZXQgYT17fSxsPW51bGw7Y29uc3QgdT0oZSxyKT0+IiIuY29uY2F0KGUsInwiKS5jb25jYXQociksZj1hc3luYyBlPT57bGV0IHIsbix7ZGF0YTp7dGltZW91dDpzLGF1dGg6aSxmZXRjaFVybDpsLGZldGNoT3B0aW9uczpmLHVzZUZvcm1EYXRhOnAsdXNlTXJydDpofSxwb3J0czpbZF19PWUseT17fTtjb25zdHthdWRpZW5jZTpiLHNjb3BlOk99PWl8fHt9O3RyeXtjb25zdCBlPXA/KGU9Pntjb25zdCByPW5ldyBVUkxTZWFyY2hQYXJhbXMoZSksdD17fTtyZXR1cm4gci5mb3JFYWNoKChlLHIpPT57dFtyXT1lfSksdH0pKGYuYm9keSk6SlNPTi5wYXJzZShmLmJvZHkpO2lmKCFlLnJlZnJlc2hfdG9rZW4mJiJyZWZyZXNoX3Rva2VuIj09PWUuZ3JhbnRfdHlwZSl7aWYobj0oKGUscik9PmFbdShlLHIpXSkoYixPKSwhbiYmaCl7Y29uc3QgZT1hLmxhdGVzdF9yZWZyZXNoX3Rva2VuLHI9KChlLHIpPT57Y29uc3QgdD1PYmplY3Qua2V5cyhhKS5maW5kKHQ9PntpZigibGF0ZXN0X3JlZnJlc2hfdG9rZW4iIT09dCl7Y29uc3Qgbj0oKGUscik9PnIuc3RhcnRzV2l0aCgiIi5jb25jYXQoZSwifCIpKSkocix0KSxvPXQuc3BsaXQoInwiKVsxXS5zcGxpdCgiICIpLHM9ZS5zcGxpdCgiICIpLmV2ZXJ5KGU9Pm8uaW5jbHVkZXMoZSkpO3JldHVybiBuJiZzfX0pO3JldHVybiEhdH0pKE8sYik7ZSYmIXImJihuPWUpfWlmKCFuKXRocm93IG5ldyBvKGIsTyk7Zi5ib2R5PXA/Yyh0KHQoe30sZSkse30se3JlZnJlc2hfdG9rZW46bn0pKTpKU09OLnN0cmluZ2lmeSh0KHQoe30sZSkse30se3JlZnJlc2hfdG9rZW46bn0pKX1sZXQgaSx2OyJmdW5jdGlvbiI9PXR5cGVvZiBBYm9ydENvbnRyb2xsZXImJihpPW5ldyBBYm9ydENvbnRyb2xsZXIsZi5zaWduYWw9aS5zaWduYWwpO3RyeXt2PWF3YWl0IFByb21pc2UucmFjZShbKGo9cyxuZXcgUHJvbWlzZS
107hlPT5zZXRUaW1lb3V0KGUsaikpKSxmZXRjaChsLHQoe30sZikpXSl9Y2F0Y2goZSl7cmV0dXJuIHZvaWQgZC5wb3N0TWVzc2FnZSh7ZXJyb3I6ZS5tZXNzYWdlfSl9aWYoIXYpcmV0dXJuIGkmJmkuYWJvcnQoKSx2b2lkIGQucG9zdE1lc3NhZ2Uoe2Vycm9yOiJUaW1lb3V0IHdoZW4gZXhlY3V0aW5nICdmZXRjaCcifSk7dz12LmhlYWRlcnMseT1bLi4ud10ucmVkdWNlKChlLHIpPT57bGV0W3Qsbl09cjtyZXR1cm4gZVt0XT1uLGV9LHt9KSxyPWF3YWl0IHYuanNvbigpLHIucmVmcmVzaF90b2tlbj8oaCYmKGEubGF0ZXN0X3JlZnJlc2hfdG9rZW49ci5yZWZyZXNoX3Rva2VuLGc9bixtPXIucmVmcmVzaF90b2tlbixPYmplY3QuZW50cmllcyhhKS5mb3JFYWNoKGU9PntsZXRbcix0XT1lO3Q9PT1nJiYoYVtyXT1tKX0pKSwoKGUscix0KT0+e2FbdShyLHQpXT1lfSkoci5yZWZyZXNoX3Rva2VuLGIsTyksZGVsZXRlIHIucmVmcmVzaF90b2tlbik6KChlLHIpPT57ZGVsZXRlIGFbdShlLHIpXX0pKGIsTyksZC5wb3N0TWVzc2FnZSh7b2s6di5vayxqc29uOnIsaGVhZGVyczp5fSl9Y2F0Y2goZSl7ZC5wb3N0TWVzc2FnZSh7b2s6ITEsanNvbjp7ZXJyb3I6ZS5lcnJvcixlcnJvcl9kZXNjcmlwdGlvbjplLm1lc3NhZ2V9LGhlYWRlcnM6eX0pfXZhciBnLG0sdyxqfTthZGRFdmVudExpc3RlbmVyKCJtZXNzYWdlIixlPT57Y29uc3R7ZGF0YTpyLHBvcnRzOnR9PWUsW25dPXQ7aWYoInR5cGUiaW4gciYmImluaXQiPT09ci50eXBlKXtpZihudWxsPT09bCl0cnl7bmV3IFVSTChyLmFsbG93ZWRCYXNlVXJsKSxsPXIuYWxsb3dlZEJhc2VVcmx9Y2F0Y2goZSl7cmV0dXJufX1lbHNlImZldGNoVXJsImluIHImJihlPT57aWYoIWwpcmV0dXJuITE7dHJ5e2NvbnN0IHI9bmV3IFVSTChsKS5vcmlnaW4sdD1uZXcgVVJMKGUuZmV0Y2hVcmwpO3JldHVybiB0Lm9yaWdpbj09PXImJiIvb2F1dGgvdG9rZW4iPT09dC5wYXRobmFtZX1jYXRjaChlKXtyZXR1cm4hMX19KShyKT9mKGUpOm51bGw9PW58fG4ucG9zdE1lc3NhZ2Uoe29rOiExLGpzb246e2Vycm9yOiJpbnZhbGlkX2ZldGNoX3VybCIsZXJyb3JfZGVzY3JpcHRpb246IlVuYXV0aG9yaXplZCBmZXRjaCBVUkwifSxoZWFkZXJzOnt9fSl9KX0oKTsKCg==",jS=null,CS=!1,function(e){return J5=J5||Qle(TS,jS,CS),new Worker(J5,e)});const Z5={};let tce=class{constructor(t,n){this.cache=t,this.clientId=n,Q(this,"manifestKey",void 0),this.manifestKey=this.createManifestKeyFrom(this.clientId)}async add(t){var n;const r=new Set(((n=await this.cache.get(this.manifestKey))===null||n===void 0?void 0:n.keys)||[]);r.add(t),await this.cache.set(this.manifestKey,{keys:[...r]})}async remove(t){const n=await this.cache.get(this.manifestKey);if(n){const r=new Set(n.keys);return r.delete(t),r.size>0?await this.cache.set(this.manifestKey,{keys:[...r]}):await this.cache.remove(this.manifestKey)}}get(){return this.cache.get(this.manifestKey)}clear(){return this.cache.remove(this.manifestKey)}createManifestKeyFrom(t){return"".concat(Vc,"::").concat(t)}};const nce=["openUrl","onRedirect"],ES="auth0.is.authenticated",rce={memory:()=>new UL().enclosedCache,localstorage:()=>new Ule},zS=e=>rce[e],NS=e=>{const{openUrl:t,onRedirect:n}=e;return Z(Z({},Er(e,nce)),{},{openUrl:t===!1||t?t:n})},IS=(e,t)=>{const n=(t==null?void 0:t.split(" "))||[];return((e==null?void 0:e.split(" "))||[]).every(r=>n.includes(r))},yo={NONCE:"nonce",KEYPAIR:"keypair"};let sce=class{constructor(t){Q(this,"clientId",void 0),Q(this,"dbHandle",void 0),this.clientId=t}getVersion(){return 1}createDbHandle(){const t=window.indexedDB.open("auth0-spa-js",this.getVersion());return new Promise((n,r)=>{t.onupgradeneeded=()=>Object.values(yo).forEach(s=>t.result.createObjectStore(s)),t.onerror=()=>r(t.error),t.onsuccess=()=>n(t.result)})}async getDbHandle(){return this.dbHandle||(this.dbHandle=await this.createDbHandle()),this.dbHandle}async executeDbRequest(t,n,r){const s=r((await this.getDbHandle()).transaction(t,n).objectStore(t));return new Promise((i,a)=>{s.onsuccess=()=>i(s.result),s.onerror=()=>a(s.error)})}buildKey(t){const n=t?"_".concat(t):"auth0";return"".concat(this.clientId,"::").concat(n)}setNonce(t,n){return this.save(yo.NONCE,this.buildKey(n),t)}setKeyPair(t){return this.save(yo.KEYPAIR,this.buildKey(),t)}async save(t,n,r){await this.executeDbRequest(t,"readwrite",s=>s.put(r,n))}findNonce(t){return this.find(yo.NONCE,this.buildKey(t))}findKeyPair(){return this.find(yo.KEYPAIR,this.buildKey())}find(t,n){return this.executeDbRequest(t,"readonly",r=>r.get(n))}async deleteBy(t,n){const r=await this.executeDbRequest(t,"readonly",s=>s.getAllKeys());r==null||r.filter(n).map(s=>this.executeDbRequest(t,"readwrite",i=>i.delete(s)))}deleteByClientId(t,n){return this.deleteBy(t,r=>typeof r=="string"&&r.startsWith("".concat(n,"::")))}clearNonces(){return this.deleteByClientId(yo.NONCE,this.clientId)}clearKeyPairs(){return this.deleteByClientId(yo.KEYPAIR,this.clientId)}},ice=class{constructor(t){Q(this,"storage",void 0),this.storage=new sce(t)}
107getNonce(t){return this.storage.findNonce(t)}setNonce(t,n){return this.storage.setNonce(t,n)}async getOrGenerateKeyPair(){let t=await this.storage.findKeyPair();return t||(t=await Ple(),await this.storage.setKeyPair(t)),t}async generateProof(t){return Lle(Z({keyPair:await this.getOrGenerateKeyPair()},t))}async calculateThumbprint(){return Ale(await this.getOrGenerateKeyPair())}async clear(){await Promise.all([this.storage.clearNonces(),this.storage.clearKeyPairs()])}};var Fd=function(e){return e.Bearer="Bearer",e.DPoP="DPoP",e}(Fd||{});let ace=class{constructor(t,n){Q(this,"config",void 0),Q(this,"hooks",void 0),this.hooks=n,this.config=Z(Z({},t),{},{fetch:t.fetch||(typeof window>"u"?fetch:window.fetch.bind(window))})}isAbsoluteUrl(t){return/^(https?:)?\/\//i.test(t)}buildUrl(t,n){if(n){if(this.isAbsoluteUrl(n))return n;if(t)return"".concat(t.replace(/\/?\/$/,""),"/").concat(n.replace(/^\/+/,""))}throw new TypeError("`url` must be absolute or `baseUrl` non-empty.")}getAccessToken(t){return this.config.getAccessToken?this.config.getAccessToken(t):this.hooks.getAccessToken(t)}extractUrl(t){return typeof t=="string"?t:t instanceof URL?t.href:t.url}buildBaseRequest(t,n){if(!this.config.baseUrl)return new Request(t,n);const r=this.buildUrl(this.config.baseUrl,this.extractUrl(t)),s=t instanceof Request?new Request(r,t):r;return new Request(s,n)}setAuthorizationHeader(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fd.Bearer;t.headers.set("authorization","".concat(r," ").concat(n))}async setDpopProofHeader(t,n){if(!this.config.dpopNonceId)return;const r=await this.hooks.getDpopNonce(),s=await this.hooks.generateDpopProof({accessToken:n,method:t.method,nonce:r,url:t.url});t.headers.set("dpop",s)}async prepareRequest(t,n){const r=await this.getAccessToken(n);let s,i;typeof r=="string"?(s=this.config.dpopNonceId?Fd.DPoP:Fd.Bearer,i=r):(s=r.token_type,i=r.access_token),this.setAuthorizationHeader(t,i,s),s===Fd.DPoP&&await this.setDpopProofHeader(t,i)}getHeader(t,n){return Array.isArray(t)?new Headers(t).get(n)||"":typeof t.get=="function"?t.get(n)||"":t[n]||""}hasUseDpopNonceError(t){if(t.status!==401)return!1;const n=this.getHeader(t.headers,"www-authenticate");return n.includes("invalid_dpop_nonce")||n.includes("use_dpop_nonce")}async handleResponse(t,n){const r=this.getHeader(t.headers,$L);if(r&&await this.hooks.setDpopNonce(r),!this.hasUseDpopNonceError(t))return t;if(!r||!n.onUseDpopNonceError)throw new AL(r);return n.onUseDpopNonceError()}async internalFetchWithAuth(t,n,r,s){const i=this.buildBaseRequest(t,n);await this.prepareRequest(i,s);const a=await this.config.fetch(i);return this.handleResponse(a,r)}fetchWithAuth(t,n,r){const s={onUseDpopNonceError:()=>this.internalFetchWithAuth(t,n,Z(Z({},s),{},{onUseDpopNonceError:void 0}),r)};return this.internalFetchWithAuth(t,n,s,r)}},oce=class{constructor(t,n){this.myAccountFetcher=t,this.apiBase=n}async connectAccount(t){const n=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/connected-accounts/connect"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});return this._handleResponse(n)}async completeAccount(t){const n=await this.myAccountFetcher.fetchWithAuth("".concat(this.apiBase,"v1/connected-accounts/complete"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});return this._handleResponse(n)}async _handleResponse(t){let n;try{n=await t.text(),n=JSON.parse(n)}catch(r){throw new RS({type:"invalid_json",status:t.status,title:"Invalid JSON response",detail:n||String(r)})}if(t.ok)return n;throw new RS(n)}}
107,RS=class KL extends Error{constructor(t){let{type:n,status:r,title:s,detail:i,validation_errors:a}=t;super(i),Q(this,"type",void 0),Q(this,"status",void 0),Q(this,"title",void 0),Q(this,"detail",void 0),Q(this,"validation_errors",void 0),this.name="MyAccountApiError",this.type=n,this.status=r,this.title=s,this.detail=i,this.validation_errors=a,Object.setPrototypeOf(this,KL.prototype)}};const lce={otp:{authenticatorTypes:["otp"]},sms:{authenticatorTypes:["oob"],oobChannels:["sms"]},email:{authenticatorTypes:["oob"],oobChannels:["email"]},push:{authenticatorTypes:["oob"],oobChannels:["auth0"]},voice:{authenticatorTypes:["oob"],oobChannels:["voice"]}},cce="http://auth0.com/oauth/grant-type/mfa-otp",uce="http://auth0.com/oauth/grant-type/mfa-oob",dce="http://auth0.com/oauth/grant-type/mfa-recovery-code";var qh,X5;let i7;(typeof navigator>"u"||(qh=navigator.userAgent)===null||qh===void 0||(X5=qh.startsWith)===null||X5===void 0||!X5.call(qh,"Mozilla/5.0 "))&&(i7="".concat("oauth4webapi","/").concat("v3.8.5"));function Wu(e,t){if(e==null)return!1;try{return e instanceof t||Object.getPrototypeOf(e)[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}catch{return!1}}const Fn="ERR_INVALID_ARG_VALUE",wr="ERR_INVALID_ARG_TYPE";function dt(e,t,n){const r=new TypeError(e,{cause:n});return Object.assign(r,{code:t}),r}const hs=Symbol(),a7=Symbol(),o7=Symbol(),$s=Symbol(),ra=Symbol(),hce=new TextEncoder,fce=new TextDecoder;function Yc(e){return typeof e=="string"?hce.encode(e):fce.decode(e)}let l7,VL;Uint8Array.prototype.toBase64?l7=e=>(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e.toBase64({alphabet:"base64url",omitPadding:!0})):l7=t=>{t instanceof ArrayBuffer&&(t=new Uint8Array(t));const n=[];for(let r=0;r<t.byteLength;r+=32768)n.push(String.fromCharCode.apply(null,t.subarray(r,r+32768)));return btoa(n.join("")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")};function tl(e){return typeof e=="string"?VL(e):l7(e)}VL=Uint8Array.fromBase64?e=>{try{return Uint8Array.fromBase64(e,{alphabet:"base64url"})}catch(t){throw dt("The input to be decoded is not correctly encoded.",Fn,t)}}:e=>{try{const t=atob(e.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"")),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}catch(t){throw dt("The input to be decoded is not correctly encoded.",Fn,t)}};let Pr=class extends Error{constructor(t,n){var r;super(t,n),Q(this,"code",void 0),this.name=this.constructor.name,this.code=d7,(r=Error.captureStackTrace)===null||r===void 0||r.call(Error,this,this.constructor)}},zv=class extends Error{constructor(t,n){var r;super(t,n),Q(this,"code",void 0),this.name=this.constructor.name,n!=null&&n.code&&(this.code=n==null?void 0:n.code),(r=Error.captureStackTrace)===null||r===void 0||r.call(Error,this,this.constructor)}};function Pe(e,t,n){return new zv(e,{code:t,cause:n})}function pce(e,t){if(function(n,r){if(!(n instanceof CryptoKey))throw dt("".concat(r," must be a CryptoKey"),wr)}(e,t),e.type!=="private")throw dt("".concat(t," must be a private CryptoKey"),Fn)}function gp(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function U3(e){Wu(e,Headers)&&(e=Object.fromEntries(e.entries()));const t=new Headers(e??{});if(i7&&!t.has("user-agent")&&t.set("user-agent",i7),t.has("authorization"))throw dt('"options.headers" must not include the "authorization" header name',Fn);return t}function YL(e,t){if(t!==void 0){if(typeof t=="function"&&(t=t(e.href)),!(t instanceof AbortSignal))throw dt('"options.signal" must return or be an instance of AbortSignal',wr);return t}}function PS(e){return e.includes("//")?e.replace("//","/"):e}async function mce(e,t){return async function(n,r,s,i){if(!(n instanceof URL))throw dt('"'.concat(r,'" must be an instance of URL'),wr);Nv(n,(i==null?void 0:i[hs])!==!0);const a=s(new URL(n.href)),l=U3(i==null?void 0:i.headers);return l.set("accept","application/json"),((i==null?void 0:i[$s])||fetch)(a.href,{body:void 0,headers:Object.fromEntries(l.entries()),method:"GET",redirect:"manual",signal:YL(a,i==null?void 0:i.signal)})}(e,"issuerIdentifier",n=>{switch(t==null?void 0:t.algorithm){case void 0:case"oidc":(function(r,s){r.pathname=PS("".concat(r.pathname,"/").concat(s))})(n,".well-known/openid-configuration");break;case"oauth2":(function(r,s){let i=arguments.length>2&&arguments[2]!==void 0&&arguments[2];r.pathname==="/"?r.pathname=s:r.pathname=PS("".concat(s,"/").concat(i?r.pathname:r.pathname.replace(/(\/)$/,"")))})(n,".well-known/oauth-authorization-server");break;default:throw dt('"options.algorithm" must be "oidc" (default), or "oauth2"',Fn)}return n},t)}
107function Ka(e,t,n,r,s){try{if(typeof e!="number"||!Number.isFinite(e))throw dt("".concat(n," must be a number"),wr,s);if(e>0)return;if(t){if(e!==0)throw dt("".concat(n," must be a non-negative number"),Fn,s);return}throw dt("".concat(n," must be a positive number"),Fn,s)}catch(i){throw r?Pe(i.message,r,s):i}}function sn(e,t,n,r){try{if(typeof e!="string")throw dt("".concat(t," must be a string"),wr,r);if(e.length===0)throw dt("".concat(t," must not be empty"),Fn,r)}catch(s){throw n?Pe(s.message,n,r):s}}function JL(e){(function(t,n){if(eM(t)!==n)throw function(r){let s='"response" content-type must be ';for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];if(a.length>2){const c=a.pop();s+="".concat(a.join(", "),", or ").concat(c)}else a.length===2?s+="".concat(a[0]," or ").concat(a[1]):s+=a[0];return Pe(s,nM,r)}(t,n)})(e,"application/json")}function ZL(){return tl(crypto.getRandomValues(new Uint8Array(32)))}function gce(e){switch(e.algorithm.name){case"RSA-PSS":return function(t){switch(t.algorithm.hash.name){case"SHA-256":return"PS256";case"SHA-384":return"PS384";case"SHA-512":return"PS512";default:throw new Pr("unsupported RsaHashedKeyAlgorithm hash name",{cause:t})}}(e);case"RSASSA-PKCS1-v1_5":return function(t){switch(t.algorithm.hash.name){case"SHA-256":return"RS256";case"SHA-384":return"RS384";case"SHA-512":return"RS512";default:throw new Pr("unsupported RsaHashedKeyAlgorithm hash name",{cause:t})}}(e);case"ECDSA":return function(t){switch(t.algorithm.namedCurve){case"P-256":return"ES256";case"P-384":return"ES384";case"P-521":return"ES512";default:throw new Pr("unsupported EcKeyAlgorithm namedCurve",{cause:t})}}(e);case"Ed25519":case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return e.algorithm.name;case"EdDSA":return"Ed25519";default:throw new Pr("unsupported CryptoKey algorithm name",{cause:e})}}function yp(e){const t=e==null?void 0:e[a7];return typeof t=="number"&&Number.isFinite(t)?t:0}function c7(e){const t=e==null?void 0:e[o7];return typeof t=="number"&&Number.isFinite(t)&&Math.sign(t)!==-1?t:30}function vp(){return Math.floor(Date.now()/1e3)}function Ws(e){if(typeof e!="object"||e===null)throw dt('"as" must be an object',wr);sn(e.issuer,'"as.issuer"')}function Fs(e){if(typeof e!="object"||e===null)throw dt('"client" must be an object',wr);sn(e.client_id,'"client.client_id"')}function AS(e){return sn(e,'"clientSecret"'),(t,n,r,s)=>{r.set("client_id",n.client_id),r.set("client_secret",e)}}function yce(e,t){const{key:n,kid:r}=(s=e)instanceof CryptoKey?{key:s}:(s==null?void 0:s.key)instanceof CryptoKey?(s.kid!==void 0&&sn(s.kid,'"kid"'),{key:s.key,kid:s.kid}):{};var s;return pce(n,'"clientPrivateKey.key"'),async(i,a,l,c)=>{const u={alg:gce(n),kid:r},d=function(h,f){const p=vp()+yp(f);return{jti:ZL(),aud:h.issuer,exp:p+60,iat:p,nbf:p,iss:f.client_id,sub:f.client_id}}(i,a);l.set("client_id",a.client_id),l.set("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),l.set("client_assertion",await async function(h,f,p){if(!p.usages.includes("sign"))throw dt('CryptoKey instances used for signing assertions must include "sign" in their "usages"',Fn);const m="".concat(tl(Yc(JSON.stringify(h))),".").concat(tl(Yc(JSON.stringify(f)))),y=tl(await crypto.subtle.sign(function(_){switch(_.algorithm.name){case"ECDSA":return{name:_.algorithm.name,hash:Mce(_)};case"RSA-PSS":switch(OS(_),_.algorithm.hash.name){case"SHA-256":case"SHA-384":case"SHA-512":return{name:_.algorithm.name,saltLength:parseInt(_.algorithm.hash.name.slice(-3),10)>>3};default:throw new Pr("unsupported RSA-PSS hash name",{cause:_})}case"RSASSA-PKCS1-v1_5":return OS(_),_.algorithm.name;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":case"Ed25519":return _.algorithm.name}throw new Pr("unsupported CryptoKey algorithm name",{cause:_})}(p),p,Yc(m)));return"".concat(m,".").concat(y)}(u,d,n))}}const vce=URL.parse?(e,t)=>URL.parse(e,t):(e,t)=>{try{return new URL(e,t)}catch{return null}};function Nv(e,t){if(t&&e.protocol!=="https:")throw Pe("only requests to HTTPS are allowed",rM,e);if(e.protocol!=="https:"&&e.protocol!=="http:")throw Pe("only HTTP and HTTPS requests are allowed",sM,e)}function LS(e,t,n,r){let s;if(typeof e!="string"||!(s=vce(e)))throw Pe("authorization server metadata does not contain a valid ".concat(n?'"as.mtls_endpoint_aliases.'.concat(t,'"'):'"as.'.concat(t,'"')),e===void 0?Ace:Lce,{attribute:n?"mtls_endpoint_aliases.".concat(t):t});return Nv(s,r),s}function F1(e,t,n,r){return n&&e.mtls_endpoint_aliases&&t in e.mtls_endpoint_aliases?LS(e.mtls_endpoint_aliases[t],t,n,r):LS(e[t],t,n,r)}
107let q3=class extends Error{constructor(t,n){var r;super(t,n),Q(this,"cause",void 0),Q(this,"code",void 0),Q(this,"error",void 0),Q(this,"status",void 0),Q(this,"error_description",void 0),Q(this,"response",void 0),this.name=this.constructor.name,this.code=Rce,this.cause=n.cause,this.error=n.cause.error,this.status=n.response.status,this.error_description=n.cause.error_description,Object.defineProperty(this,"response",{enumerable:!1,value:n.response}),(r=Error.captureStackTrace)===null||r===void 0||r.call(Error,this,this.constructor)}},XL=class extends Error{constructor(t,n){var r,s;super(t,n),Q(this,"cause",void 0),Q(this,"code",void 0),Q(this,"error",void 0),Q(this,"error_description",void 0),this.name=this.constructor.name,this.code=Pce,this.cause=n.cause,this.error=n.cause.get("error"),this.error_description=(r=n.cause.get("error_description"))!==null&&r!==void 0?r:void 0,(s=Error.captureStackTrace)===null||s===void 0||s.call(Error,this,this.constructor)}},Iv=class extends Error{constructor(t,n){var r;super(t,n),Q(this,"cause",void 0),Q(this,"code",void 0),Q(this,"response",void 0),Q(this,"status",void 0),this.name=this.constructor.name,this.code=Ice,this.cause=n.cause,this.status=n.response.status,this.response=n.response,Object.defineProperty(this,"response",{enumerable:!1}),(r=Error.captureStackTrace)===null||r===void 0||r.call(Error,this,this.constructor)}};const bp="[a-zA-Z0-9!#$%&\\'\\*\\+\\-\\.\\^_`\\|~]+",bce="("+bp+')\\s*=\\s*"((?:[^"\\\\]|\\\\[\\s\\S])*)"',_ce="("+bp+")\\s*=\\s*("+bp+")",kce=new RegExp("^[,\\s]*("+bp+")"),wce=new RegExp("^[,\\s]*"+bce+"[,\\s]*(.*)"),xce=new RegExp("^[,\\s]*"+_ce+"[,\\s]*(.*)"),Sce=new RegExp("^([a-zA-Z0-9\\-\\._\\~\\+\\/]+={0,2})(?:$|[,\\s])(.*)");async function Rv(e,t,n){if(e.status!==t){let s;var r;throw function(i){let a;if(a=function(l){if(!Wu(l,Response))throw dt('"response" must be an instance of Response',wr);const c=l.headers.get("www-authenticate");if(c===null)return;const u=[];let d=c;for(;d;){var h;let f=d.match(kce);const p=(h=f)===null||h===void 0?void 0:h[1].toLowerCase();if(!p)return;const m=d.substring(f[0].length);if(m&&!m.match(/^[\s,]/))return;const y=m.match(/^\s+(.*)$/),_=!!y;d=y?y[1]:void 0;const g={};let b;if(_)for(;d;){let x,S;if(f=d.match(wce)){if([,x,S,d]=f,S.includes("\\"))try{S=JSON.parse('"'.concat(S,'"'))}catch{}g[x.toLowerCase()]=S}else{if(!(f=d.match(xce))){if(f=d.match(Sce)){if(Object.keys(g).length)break;[,b,d]=f;break}return}[,x,S,d]=f,g[x.toLowerCase()]=S}}else d=m||void 0;const k={scheme:p,parameters:g};b&&(k.token68=b),u.push(k)}return u.length?u:void 0}(i))throw new Iv("server responded with a challenge in the WWW-Authenticate HTTP Header",{cause:a,response:i})}(e),(s=await async function(i){if(i.status>399&&i.status<500){B1(i),JL(i);try{const a=await i.clone().json();if(gp(a)&&typeof a.error=="string"&&a.error.length)return a}catch{}}}(e))?(await((r=e.body)===null||r===void 0?void 0:r.cancel()),new q3("server responded with an error in the response body",{cause:s,response:e})):Pe('"response" is not a conform '.concat(n," response (unexpected HTTP status code)"),Lv,e)}}function QL(e){if(!Av.has(e))throw dt('"options.DPoP" is not a valid DPoPHandle',Fn)}function eM(e){var t;return(t=e.headers.get("content-type"))===null||t===void 0?void 0:t.split(";")[0]}async function Pv(e,t,n,r,s,i,a){return await n(e,t,s,i),i.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),((a==null?void 0:a[$s])||fetch)(r.href,{body:s,headers:Object.fromEntries(i.entries()),method:"POST",redirect:"manual",signal:YL(r,a==null?void 0:a.signal)})}async function $1(e,t,n,r,s,i){var a;const l=F1(e,"token_endpoint",t.use_mtls_endpoint_aliases,(i==null?void 0:i[hs])!==!0);s.set("grant_type",r);const c=U3(i==null?void 0:i.headers);c.set("accept","application/json"),(i==null?void 0:i.DPoP)!==void 0&&(QL(i.DPoP),await i.DPoP.addProof(l,c,"POST"));const u=await Pv(e,t,n,l,s,c,i);return i==null||(a=i.DPoP)===null||a===void 0||a.cacheNonce(u,l),u}const tM=new WeakMap,Tce=new WeakMap;function u7(e){if(!e.id_token)return;const t=tM.get(e);if(!t)throw dt('"ref" was already garbage collected or did not resolve from the proper sources',Fn);return t}async function bu(e,t,n,r,s,i){if(Ws(e),Fs(t),!Wu(n,Response))throw dt('"response" must be an instance of Response',wr);await Rv(n,200,"Token Endpoint"),B1(n);const a=await H3(n);if(sn(a.access_token,'"response" body "access_token" property',tt,{body:a}),sn(a.token_type,'"response" body "token_type" property',tt,{body:a}),a.token_type=a.token_type.toLowerCase(),a.expires_in!==void 0){let l=typeof a.expires_in!="number"?parseFloat(a.expires_in):a.expires_in;Ka(l,!0,'"response" body "expires_in" property',tt,{body:a}),a.expires_in=l}if(a.refresh_token!==void 0&&sn(a.refresh_token,'"response" body "refresh_token" property',tt,{body:a}),a.scope!==void 0&&typeof a.scope!="string")throw Pe('"response" body "scope" property must be a string',tt,{body:a});if(a.id_token!==void 0){sn(a.id_token,'"response" body "id_token" property',tt,{body:a});const l=["aud","exp","iat","iss","sub"];t.require_auth_time===!0&&l.push("auth_time"),t.default_max_age!==void 0&&(Ka(t.default_max_age,!0,'"client.default_max_age"'),l.push("auth_time")),r!=null&&r.length&&l.push(...r);const{claims:c,jwt:u}=await async function(d,h,f,p,m){let y,_,{0:g,1:b,length:k}=d.split(".");if(k===5){if(m===void 0)throw new Pr("JWE decryption is not configured",{cause:d});d=await m(d),{0:g,1:b,length:k}=d.split(".")}if(k!==3)throw Pe("Invalid JWT",tt,d);try{y=JSON.parse(Yc(tl(g)))}catch(S){throw Pe("failed to parse JWT Header body as base64url encoded JSON",_p,S)}if(!gp(y))throw Pe("JWT Header must be a top level object",tt,d);if(h(y),y.crit!==void 0)throw new Pr('no JWT "crit" header parameter extensions are supported',{cause:{header:y}});try{_=JSON.parse(Yc(tl(b)))}catch(S){throw Pe("failed to parse JWT Payload body as base64url encoded JSON",_p,S)}if(!gp(_))throw Pe("JWT Payload must be a top level object",tt,d);const x=vp()+f;if(_.exp!==void 0){if(typeof _.exp!="number")throw Pe('unexpected JWT "exp" (expiration time) claim type',tt,{claims:_});if(_.exp<=x-p)throw Pe('unexpected JWT "exp" (expiration time) claim value, expiration is past current timestamp',r1,{claims:_,now:x,tolerance:p,claim:"exp"})}if(_.iat!==void 0&&typeof _.iat!="number")throw Pe('unexpected JWT "iat" (issued at) claim type',tt,{claims:_});if(_.iss!==void 0&&typeof _.iss!="string")throw Pe('unexpected JWT "iss" (issuer) claim type',tt,{claims:_});if(_.nbf!==void 0){if(typeof _.nbf!="number")throw Pe('unexpected JWT "nbf" (not before) claim type',tt,{claims:_});if(_.nbf>x+p)throw Pe('unexpected JWT "nbf" (not before) claim value',r1,{claims:_,now:x,tolerance:p,claim:"nbf"})}if(_.aud!==void 0&&typeof _.aud!="string"&&!Array.isArray(_.aud))throw Pe('unexpected JWT "aud" (audience) claim type',tt,{claims:_});return{header:y,claims:_,jwt:d}}(a.id_token,Dce.bind(void 0,t.id_token_signed_response_alg,e.id_token_signing_alg_values_supported,"RS256"),yp(t),c7(t),s).then(zce.bind(void 0,l)).then(Cce.bind(void 0,e)).then(jce.bind(void 0,t.client_id));if(Array.isArray(c.aud)&&c.aud.length!==1){if(c.azp===void 0)throw Pe('ID Token "aud" (audience) claim includes additional untrusted audiences',Yi,{claims:c,claim:"aud"});if(c.azp!==t.client_id)throw Pe('unexpected ID Token "azp" (authorized party) claim value',Yi,{expected:t.client_id,claims:c,claim:"azp"})}c.auth_time!==void 0&&Ka(c.auth_time,!0,'ID Token "auth_time" (authentication time)',tt,{claims:c}),Tce.set(n,u),tM.set(a,c)}if((i==null?void 0:i[a.token_type])!==void 0)i[a.token_type](n,a);else if(a.token_type!=="dpop"&&a.token_type!=="bearer")throw new Pr("unsupported `token_type` value",{cause:{body:a}});return a}function jce(e,t){if(Array.isArray(t.claims.aud)){if(!t.claims.aud.includes(e))throw Pe('unexpected JWT "aud" (audience) claim value',Yi,{expected:e,claims:t.claims,claim:"aud"})}else if(t.claims.aud!==e)throw Pe('unexpected JWT "aud" (audience) claim value',Yi,{expected:e,claims:t.claims,claim:"aud"});return t}function Cce(e,t){var n,r;const s=(n=(r=e[iM])===null||r===void 0?void 0:r.call(e,t))!==null&&n!==void 0?n:e.issuer;if(t.claims.iss!==s)throw Pe('unexpected JWT "iss" (issuer) claim value',Yi,{expected:s,claims:t.claims,claim:"iss"});return t}const Av=new WeakSet,MS=Symbol(),Ece={aud:"audience",c_hash:"code hash",client_id:"client id",exp:"expiration time",iat:"issued at",iss:"issuer",jti:"jwt id",nonce:"nonce",s_hash:"state hash",sub:"subject",ath:"access token hash",htm:"http method",htu:"http uri",cnf:"confirmation",auth_time:"authentication time"};function zce(e,t){for(const n of e)if(t.claims[n]===void 0)throw Pe('JWT "'.concat(n,'" (').concat(Ece[n],") claim missing"),tt,{claims:t.claims});return t}const Q5=Symbol(),e4=Symbol();async function Nce(e,t,n,r){return typeof(r==null?void 0:r.expectedNonce)=="string"||typeof(r==null?void 0:r.maxAge)=="number"||r!=null&&r.requireIdToken?async function(s,i,a,l,c,u,d){const h=[];switch(l){case void 0:l=Q5;break;case Q5:break;default:sn(l,'"expectedNonce" argument'),h.push("nonce")}switch(c!=null||(c=i.default_max_age),c){case void 0:c=e4;break;case e4:break;default:Ka(c,!0,'"maxAge" argument'),h.push("auth_time")}const f=await bu(s,i,a,h,u,d);sn(f.id_token,'"response" body "id_token" property',tt,{body:f});const p=u7(f);if(c!==e4){const m=vp()+yp(i),y=c7(i);if(p.auth_time+c<m-y)throw Pe("too much time has elapsed since the last End-User authentication",r1,{claims:p,now:m,tolerance:y,claim:"auth_time"})}if(l===Q5){if(p.nonce!==void 0)throw Pe('unexpected ID Token "nonce" claim value',Yi,{expected:void 0,claims:p,claim:"nonce"})}else if(p.nonce!==l)throw Pe('unexpected ID Token "nonce" claim value',Yi,{expected:l,claims:p,claim:"nonce"});return f}(e,t,n,r.expectedNonce,r.maxAge,r[ra],r.recognizedTokenTypes):async function(s,i,a,l,c){const u=await bu(s,i,a,void 0,l,c),d=u7(u);if(d){if(i.default_max_age!==void 0){Ka(i.default_max_age,!0,'"client.default_max_age"');const h=vp()+yp(i),f=c7(i);if(d.auth_time+i.default_max_age<h-f)throw Pe("too much time has elapsed since the last End-User authentication",r1,{claims:d,now:h,tolerance:f,claim:"auth_time"})}if(d.nonce!==void 0)throw Pe('unexpected ID Token "nonce" claim value',Yi,{expected:void 0,claims:d,claim:"nonce"})}return u}(e,t,n,r==null?void 0:r[ra],r==null?void 0:r.recognizedTokenTypes)}const Ice="OAUTH_WWW_AUTHENTICATE_CHALLENGE",Rce="OAUTH_RESPONSE_BODY_ERROR",d7="OAUTH_UNSUPPORTED_OPERATION",Pce="OAUTH_AUTHORIZATION_RESPONSE_E
107RROR",_p="OAUTH_PARSE_ERROR",tt="OAUTH_INVALID_RESPONSE",nM="OAUTH_RESPONSE_IS_NOT_JSON",Lv="OAUTH_RESPONSE_IS_NOT_CONFORM",rM="OAUTH_HTTP_REQUEST_FORBIDDEN",sM="OAUTH_REQUEST_PROTOCOL_FORBIDDEN",r1="OAUTH_JWT_TIMESTAMP_CHECK_FAILED",Yi="OAUTH_JWT_CLAIM_COMPARISON_FAILED",h7="OAUTH_JSON_ATTRIBUTE_COMPARISON_FAILED",Ace="OAUTH_MISSING_SERVER_METADATA",Lce="OAUTH_INVALID_SERVER_METADATA";function B1(e){if(e.bodyUsed)throw dt('"response" body has been used already',Fn)}function OS(e){const{algorithm:t}=e;if(typeof t.modulusLength!="number"||t.modulusLength<2048)throw new Pr("unsupported ".concat(t.name," modulusLength"),{cause:e})}function Mce(e){const{algorithm:t}=e;switch(t.namedCurve){case"P-256":return"SHA-256";case"P-384":return"SHA-384";case"P-521":return"SHA-512";default:throw new Pr("unsupported ECDSA namedCurve",{cause:e})}}async function Oce(e){if(e.method!=="POST")throw dt("form_post responses are expected to use the POST method",Fn,{cause:e});if(eM(e)!=="application/x-www-form-urlencoded")throw dt("form_post responses are expected to use the application/x-www-form-urlencoded content-type",Fn,{cause:e});return async function(t){if(t.bodyUsed)throw dt("form_post Request instances must contain a readable body",Fn,{cause:t});return t.text()}(e)}function Dce(e,t,n,r){if(e===void 0)if(Array.isArray(t)){if(!t.includes(r.alg))throw Pe('unexpected JWT "alg" header parameter',tt,{header:r,expected:t,reason:"authorization server metadata"})}else{if(n===void 0)throw Pe('missing client or server configuration to verify used JWT "alg" header parameter',void 0,{client:e,issuer:t,fallback:n});if(typeof n=="string"?r.alg!==n:typeof n=="function"?!n(r.alg):!n.includes(r.alg))throw Pe('unexpected JWT "alg" header parameter',tt,{header:r,expected:n,reason:"default value"})}else if(typeof e=="string"?r.alg!==e:!e.includes(r.alg))throw Pe('unexpected JWT "alg" header parameter',tt,{header:r,expected:e,reason:"client configuration"})}function Ro(e,t){const{0:n,length:r}=e.getAll(t);if(r>1)throw Pe('"'.concat(t,'" parameter must be provided only once'),tt);return n}const Wce=Symbol(),Fce=Symbol();function $ce(e,t,n,r){if(Ws(e),Fs(t),n instanceof URL&&(n=n.searchParams),!(n instanceof URLSearchParams))throw dt('"parameters" must be an instance of URLSearchParams, or URL',wr);if(Ro(n,"response"))throw Pe('"parameters" contains a JARM response, use validateJwtAuthResponse() instead of validateAuthResponse()',tt,{parameters:n});const s=Ro(n,"iss"),i=Ro(n,"state");if(!s&&e.authorization_response_iss_parameter_supported)throw Pe('response parameter "iss" (issuer) missing',tt,{parameters:n});if(s&&s!==e.issuer)throw Pe('unexpected "iss" (issuer) response parameter value',tt,{expected:e.issuer,parameters:n});switch(r){case void 0:case Fce:if(i!==void 0)throw Pe('unexpected "state" response parameter encountered',tt,{expected:void 0,parameters:n});break;case Wce:break;default:if(sn(r,'"expectedState" argument'),i!==r)throw Pe(i===void 0?'response parameter "state" missing':'unexpected "state" response parameter value',tt,{expected:r,parameters:n})}if(Ro(n,"error"))throw new XL("authorization response from the server is an error",{cause:n});const a=Ro(n,"id_token"),l=Ro(n,"token");if(a!==void 0||l!==void 0)throw new Pr("implicit and hybrid flows are not supported");return c=new URLSearchParams(n),Av.add(c),c;var c}async function H3(e){let t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:JL;try{t=await e.json()}catch(r){throw n(e),Pe('failed to parse "response" body as JSON',_p,r)}if(!gp(t))throw Pe('"response" body must be a top level object',tt,{body:t});return t}const t4=Symbol(),iM=Symbol(),DS=new TextEncoder,s1=new TextDecoder;function n4(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(r>127)throw new TypeError("non-ASCII string encountered in encode()");t[n]=r}return t}function aM(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}function G3(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(typeof e=="string"?e:s1.decode(e),{alphabet:"base64url"});let t=e;t instanceof Uint8Array&&(t=s1.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/");try{return aM(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}}const _a=function(e){return new TypeError("CryptoKey does not support this operation, its ".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:"algorithm.name"," must be ").concat(e))},Dl=(e,t)=>e.name===t;function r4(e,t){var n;if(n=e.hash,parseInt(n.name.slice(4),10)!==t)throw _a("SHA-".concat(t),"algorithm.hash")}
107function Bce(e,t,n){switch(t){case"HS256":case"HS384":case"HS512":if(!Dl(e.algorithm,"HMAC"))throw _a("HMAC");r4(e.algorithm,parseInt(t.slice(2),10));break;case"RS256":case"RS384":case"RS512":if(!Dl(e.algorithm,"RSASSA-PKCS1-v1_5"))throw _a("RSASSA-PKCS1-v1_5");r4(e.algorithm,parseInt(t.slice(2),10));break;case"PS256":case"PS384":case"PS512":if(!Dl(e.algorithm,"RSA-PSS"))throw _a("RSA-PSS");r4(e.algorithm,parseInt(t.slice(2),10));break;case"Ed25519":case"EdDSA":if(!Dl(e.algorithm,"Ed25519"))throw _a("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!Dl(e.algorithm,t))throw _a(t);break;case"ES256":case"ES384":case"ES512":{if(!Dl(e.algorithm,"ECDSA"))throw _a("ECDSA");const r=function(s){switch(s){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(t);if(e.algorithm.namedCurve!==r)throw _a(r,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}(function(r,s){if(!r.usages.includes(s))throw new TypeError("CryptoKey does not support this operation, its usages must include ".concat(s,"."))})(e,n)}function oM(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),s=2;s<n;s++)r[s-2]=arguments[s];if((r=r.filter(Boolean)).length>2){const a=r.pop();e+="one of type ".concat(r.join(", "),", or ").concat(a,".")}else r.length===2?e+="one of type ".concat(r[0]," or ").concat(r[1],"."):e+="of type ".concat(r[0],".");if(t==null)e+=" Received ".concat(t);else if(typeof t=="function"&&t.name)e+=" Received function ".concat(t.name);else if(typeof t=="object"&&t!=null){var i;(i=t.constructor)!==null&&i!==void 0&&i.name&&(e+=" Received an instance of ".concat(t.constructor.name))}return e}const WS=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),s=2;s<n;s++)r[s-2]=arguments[s];return oM("Key for the ".concat(e," algorithm must be "),t,...r)};let Rn=class extends Error{constructor(t,n){var r;super(t,n),Q(this,"code","ERR_JOSE_GENERIC"),this.name=this.constructor.name,(r=Error.captureStackTrace)===null||r===void 0||r.call(Error,this,this.constructor)}};Q(Rn,"code","ERR_JOSE_GENERIC");let ys=class extends Rn{constructor(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"unspecified",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unspecified";super(t,{cause:{claim:r,reason:s,payload:n}}),Q(this,"code","ERR_JWT_CLAIM_VALIDATION_FAILED"),Q(this,"claim",void 0),Q(this,"reason",void 0),Q(this,"payload",void 0),this.claim=r,this.reason=s,this.payload=n}};Q(ys,"code","ERR_JWT_CLAIM_VALIDATION_FAILED");let f7=class extends Rn{constructor(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"unspecified",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unspecified";super(t,{cause:{claim:r,reason:s,payload:n}}),Q(this,"code","ERR_JWT_EXPIRED"),Q(this,"claim",void 0),Q(this,"reason",void 0),Q(this,"payload",void 0),this.claim=r,this.reason=s,this.payload=n}};Q(f7,"code","ERR_JWT_EXPIRED");let lM=class extends Rn{constructor(){super(...arguments),Q(this,"code","ERR_JOSE_ALG_NOT_ALLOWED")}};Q(lM,"code","ERR_JOSE_ALG_NOT_ALLOWED");let Ir=class extends Rn{constructor(){super(...arguments),Q(this,"code","ERR_JOSE_NOT_SUPPORTED")}};Q(Ir,"code","ERR_JOSE_NOT_SUPPORTED");Q(class extends Rn{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"decryption operation failed",arguments.length>1?arguments[1]:void 0),Q(this,"code","ERR_JWE_DECRYPTION_FAILED")}},"code","ERR_JWE_DECRYPTION_FAILED");Q(class extends Rn{constructor(){super(...arguments),Q(this,"code","ERR_JWE_INVALID")}},"code","ERR_JWE_INVALID");let gn=class extends Rn{constructor(){super(...arguments),Q(this,"code","ERR_JWS_INVALID")}};Q(gn,"code","ERR_JWS_INVALID");let Mv=class extends Rn{constructor(){super(...arguments),Q(this,"code","ERR_JWT_INVALID")}};
107Q(Mv,"code","ERR_JWT_INVALID");Q(class extends Rn{constructor(){super(...arguments),Q(this,"code","ERR_JWK_INVALID")}},"code","ERR_JWK_INVALID");let Ov=class extends Rn{constructor(){super(...arguments),Q(this,"code","ERR_JWKS_INVALID")}};Q(Ov,"code","ERR_JWKS_INVALID");let Dv=class extends Rn{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"no applicable key found in the JSON Web Key Set",arguments.length>1?arguments[1]:void 0),Q(this,"code","ERR_JWKS_NO_MATCHING_KEY")}};Q(Dv,"code","ERR_JWKS_NO_MATCHING_KEY");let cM=class extends Rn{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"multiple matching keys found in the JSON Web Key Set",arguments.length>1?arguments[1]:void 0),Q(this,Symbol.asyncIterator,void 0),Q(this,"code","ERR_JWKS_MULTIPLE_MATCHING_KEYS")}};Q(cM,"code","ERR_JWKS_MULTIPLE_MATCHING_KEYS");let uM=class extends Rn{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"request timed out",arguments.length>1?arguments[1]:void 0),Q(this,"code","ERR_JWKS_TIMEOUT")}};Q(uM,"code","ERR_JWKS_TIMEOUT");let dM=class extends Rn{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"signature verification failed",arguments.length>1?arguments[1]:void 0),Q(this,"code","ERR_JWS_SIGNATURE_VERIFICATION_FAILED")}};Q(dM,"code","ERR_JWS_SIGNATURE_VERIFICATION_FAILED");const hM=e=>{if((e==null?void 0:e[Symbol.toStringTag])==="CryptoKey")return!0;try{return e instanceof CryptoKey}catch{return!1}},fM=e=>(e==null?void 0:e[Symbol.toStringTag])==="KeyObject",FS=e=>hM(e)||fM(e);function $S(e,t,n){try{return G3(e)}catch{throw new n("Failed to base64url decode the ".concat(t))}}function eo(e){if(typeof(t=e)!="object"||t===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var t;if(Object.getPrototypeOf(e)===null)return!0;let n=e;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}const p7=e=>eo(e)&&typeof e.kty=="string";async function Uce(e,t,n){if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(function(r){for(var s=arguments.length,i=new Array(s>1?s-1:0),a=1;a<s;a++)i[a-1]=arguments[a];return oM("Key must be ",r,...i)}(t,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",t,{hash:"SHA-".concat(e.slice(-3)),name:"HMAC"},!1,[n])}return Bce(t,e,n),t}async function qce(e,t,n,r){const s=await Uce(e,t,"verify");(function(a,l){if(a.startsWith("RS")||a.startsWith("PS")){const{modulusLength:c}=l.algorithm;if(typeof c!="number"||c<2048)throw new TypeError("".concat(a," requires key modulusLength to be 2048 bits or larger"))}})(e,s);const i=function(a,l){const c="SHA-".concat(a.slice(-3));switch(a){case"HS256":case"HS384":case"HS512":return{hash:c,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:c,name:"RSA-PSS",saltLength:parseInt(a.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:c,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:c,name:"ECDSA",namedCurve:l.namedCurve};
107case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:a};default:throw new Ir("alg ".concat(a," is not supported either by JOSE or your javascript runtime"))}}(e,s.algorithm);try{return await crypto.subtle.verify(i,s,n,r)}catch{return!1}}const Hh='Invalid or unsupported JWK "alg" (Algorithm) Parameter value';async function rf(e){var t,n;if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:r,keyUsages:s}=function(a){let l,c;switch(a.kty){case"AKP":switch(a.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":l={name:a.alg},c=a.priv?["sign"]:["verify"];break;default:throw new Ir(Hh)}break;case"RSA":switch(a.alg){case"PS256":case"PS384":case"PS512":l={name:"RSA-PSS",hash:"SHA-".concat(a.alg.slice(-3))},c=a.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":l={name:"RSASSA-PKCS1-v1_5",hash:"SHA-".concat(a.alg.slice(-3))},c=a.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":l={name:"RSA-OAEP",hash:"SHA-".concat(parseInt(a.alg.slice(-3),10)||1)},c=a.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new Ir(Hh)}break;case"EC":switch(a.alg){case"ES256":case"ES384":case"ES512":l={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[a.alg]},c=a.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":l={name:"ECDH",namedCurve:a.crv},c=a.d?["deriveBits"]:[];break;default:throw new Ir(Hh)}break;
107case"OKP":switch(a.alg){case"Ed25519":case"EdDSA":l={name:"Ed25519"},c=a.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":l={name:a.crv},c=a.d?["deriveBits"]:[];break;default:throw new Ir(Hh)}break;default:throw new Ir('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:l,keyUsages:c}}(e),i=Z({},e);return i.kty!=="AKP"&&delete i.alg,delete i.use,crypto.subtle.importKey("jwk",i,r,(t=e.ext)!==null&&t!==void 0?t:!e.d&&!e.priv,(n=e.key_ops)!==null&&n!==void 0?n:s)}const Wl="given KeyObject instance cannot be used for this algorithm";let La;const BS=async function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];La||(La=new WeakMap);let s=La.get(e);if(s!=null&&s[n])return s[n];const i=await rf(Z(Z({},t),{},{alg:n}));return r&&Object.freeze(e),s?s[n]=i:La.set(e,{[n]:i}),i};async function Hce(e,t){if(e instanceof Uint8Array||hM(e))return e;if(fM(e)){if(e.type==="secret")return e.export();if("toCryptoKey"in e&&typeof e.toCryptoKey=="function")try{return((r,s)=>{La||(La=new WeakMap);let i=La.get(r);if(i!=null&&i[s])return i[s];const a=r.type==="public",l=!!a;let c;if(r.asymmetricKeyType==="x25519"){switch(s){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw new TypeError(Wl)}c=r.toCryptoKey(r.asymmetricKeyType,l,a?[]:["deriveBits"])}if(r.asymmetricKeyType==="ed25519"){if(s!=="EdDSA"&&s!=="Ed25519")throw new TypeError(Wl);c=r.toCryptoKey(r.asymmetricKeyType,l,[a?"verify":"sign"])}switch(r.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(s!==r.asymmetricKeyType.toUpperCase())throw new TypeError(Wl);c=r.toCryptoKey(r.asymmetricKeyType,l,[a?"verify":"sign"])}if(r.asymmetricKeyType==="rsa"){let d;switch(s){case"RSA-OAEP":d="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":d="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":d="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":d="SHA-512";break;default:throw new TypeError(Wl)}if(s.startsWith("RSA-OAEP"))return r.toCryptoKey({name:"RSA-OAEP",hash:d},l,a?["encrypt"]:["decrypt"]);c=r.toCryptoKey({name:s.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:d},l,[a?"verify":"sign"])}if(r.asymmetricKeyType==="ec"){var u;const d=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get((u=r.asymmetricKeyDetails)===null||u===void 0?void 0:u.namedCurve);if(!d)throw new TypeError(Wl);const h={ES256:"P-256",ES384:"P-384",ES512:"P-521"};h[s]&&d===h[s]&&(c=r.toCryptoKey({name:"ECDSA",namedCurve:d},l,[a?"verify":"sign"])),s.startsWith("ECDH-ES")&&(c=r.toCryptoKey({name:"ECDH",namedCurve:d},l,a?[]:["deriveBits"]))}if(!c)throw new TypeError(Wl);return i?i[s]=c:La.set(r,{[s]:c}),c})(e,t)}catch(r){if(r instanceof TypeError)throw r}let n=e.export({format:"jwk"});return BS(e,n,t)}if(p7(e))return e.k?G3(e.k):BS(e,e,t,!0);throw new Error("unreachable")}const s4=(e,t)=>{if(e.byteLength!==t.length)return!1;for(let n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0},m0=e=>{const t=e.data[e.pos++];if(128&t){const n=127&t;let r=0;for(let s=0;s<n;s++)r=r<<8|e.data[e.pos++];return r}return t},g0=(e,t,n)=>{if(e.data[e.pos++]!==t)throw new Error(n)},US=(e,t)=>{const n=e.data.subarray(e.pos,e.pos+t);return e.pos+=t,n},Gce=e=>{const t=(s=>{g0(s,6,"Expected algorithm OID");const i=m0(s);return US(s,i)})(e);if(s4(t,[43,101,110]))return"X25519";if(!s4(t,[42,134,72,206,61,2,1]))throw new Error("Unsupported key algorithm");g0(e,6,"Expected curve OID");const n=m0(e),r=US(e,n);for(const{name:s,oid:i}of[{name:"P-256",oid:[42,134,72,206,61,3,1,7]},{name:"P-384",oid:[43,129,4,0,34]},{name:"P-521",oid:[43,129,4,0,35]}])if(s4(r,i))return s;throw new Error("Unsupported named curve")},Kce=async(e,t,n,r)=>{var s;let i,a;const l=()=>["sign"];switch(n){case"PS256":case"PS384":case"PS512":i={name:"RSA-PSS",hash:"SHA-".concat(n.slice(-3))},a=l();break;case"RS256":case"RS384":case"RS512":i={name:"RSASSA-PKCS1-v1_5",hash:"SHA-".concat(n.slice(-3))},a=l();break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":i={name:"RSA-OAEP",hash:"SHA-".concat(parseInt(n.slice(-3),10)||1)},a=["decrypt","unwrapKey"];break;case"ES256":case"ES384":case"ES512":i={name:"ECDSA",namedCurve:{ES256:"P-256",ES384:"P-384",ES512:"P-521"}[n]},a=l();break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":try{const c=r.getNamedCurve(t);i=c==="X25519"?{name:"X25519"}:{name:"ECDH",namedCurve:c}}catch{throw new Ir("Invalid or unsupported key format")}a=["deriveBits"];break;
107case"Ed25519":case"EdDSA":i={name:"Ed25519"},a=l();break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":i={name:n},a=l();break;default:throw new Ir('Invalid or unsupported "alg" (Algorithm) value')}return crypto.subtle.importKey(e,t,i,(s=r==null?void 0:r.extractable)!==null&&s!==void 0?s:!1,a)},Vce=(e,t,n)=>{var r;const s=((a,l)=>aM(a.replace(l,"")))(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);let i=n;return t!=null&&(r=t.startsWith)!==null&&r!==void 0&&r.call(t,"ECDH-ES")&&(i||(i={}),i.getNamedCurve=a=>{const l={data:a,pos:0};return function(c){g0(c,48,"Invalid PKCS#8 structure"),m0(c),g0(c,2,"Expected version field");const u=m0(c);c.pos+=u,g0(c,48,"Expected algorithm identifier"),m0(c)}(l),Gce(l)}),Kce("pkcs8",s,t,i)},Fl=e=>e==null?void 0:e[Symbol.toStringTag],i4=(e,t,n)=>{if(t.use!==void 0){let i;switch(n){case"sign":case"verify":i="sig";break;case"encrypt":case"decrypt":i="enc"}if(t.use!==i)throw new TypeError('Invalid key for this operation, its "use" must be "'.concat(i,'" when present'))}if(t.alg!==void 0&&t.alg!==e)throw new TypeError('Invalid key for this operation, its "alg" must be "'.concat(e,'" when present'));if(Array.isArray(t.key_ops)){var r,s;let i;switch(!0){case n==="verify":case e==="dir":case e.includes("CBC-HS"):i=n;break;case e.startsWith("PBES2"):i="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):i=!e.includes("GCM")&&e.endsWith("KW")?"unwrapKey":n;break;case n==="encrypt":i="wrapKey";break;case n==="decrypt":i=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(i&&((r=t.key_ops)===null||r===void 0||(s=r.includes)===null||s===void 0?void 0:s.call(r,i))===!1)throw new TypeError('Invalid key for this operation, its "key_ops" must include "'.concat(i,'" when present'))}return!0};function Yce(e,t,n){switch(e.substring(0,2)){case"A1":case"A2":case"di":case"HS":case"PB":((r,s,i)=>{if(!(s instanceof Uint8Array)){if(p7(s)){if((a=>a.kty==="oct"&&typeof a.k=="string")(s)&&i4(r,s,i))return;throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!FS(s))throw new TypeError(WS(r,s,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if(s.type!=="secret")throw new TypeError("".concat(Fl(s),' instances for symmetric algorithms must be of type "secret"'))}})(e,t,n);break;default:((r,s,i)=>{if(p7(s))switch(i){case"decrypt":case"sign":if((a=>a.kty!=="oct"&&(a.kty==="AKP"&&typeof a.priv=="string"||typeof a.d=="string"))(s)&&i4(r,s,i))return;throw new TypeError("JSON Web Key for this operation must be a private JWK");case"encrypt":case"verify":if((a=>a.kty!=="oct"&&a.d===void 0&&a.priv===void 0)(s)&&i4(r,s,i))return;throw new TypeError("JSON Web Key for this operation must be a public JWK")}if(!FS(s))throw new TypeError(WS(r,s,"CryptoKey","KeyObject","JSON Web Key"));if(s.type==="secret")throw new TypeError("".concat(Fl(s),' instances for asymmetric algorithms must not be of type "secret"'));if(s.type==="public")switch(i){case"sign":throw new TypeError("".concat(Fl(s),' instances for asymmetric algorithm signing must be of type "private"'));case"decrypt":throw new TypeError("".concat(Fl(s),' instances for asymmetric algorithm decryption must be of type "private"'))}if(s.type==="private")switch(i){case"verify":throw new TypeError("".concat(Fl(s),' instances for asymmetric algorithm verifying must be of type "public"'));case"encrypt":throw new TypeError("".concat(Fl(s),' instances for asymmetric algorithm encryption must be of type "public"'))}})(e,t,n)}}var Gh,a4;let mi,qS;(typeof navigator>"u"||(Gh=navigator.userAgent)===null||Gh===void 0||(a4=Gh.startsWith)===null||a4===void 0||!a4.call(Gh,"Mozilla/5.0 "))&&(qS="".concat("openid-client","/").concat("v6.8.2"),mi={"user-agent":qS});const En=e=>sf.get(e);let sf,Kh;function pM(e){return e!==void 0?AS(e):(Kh||(Kh=new WeakMap),(t,n,r,s)=>{let i;return(i=Kh.get(n))||(function(a,l){if(typeof a!="string")throw gi("".concat(l," must be a string"),q1);if(a.length===0)throw gi("".concat(l," must not be empty"),U1)}(n.client_secret,'"metadata.client_secret"'),i=AS(n.client_secret),Kh.set(n,i)),i(t,n,r,s)})}const ri=$s,U1="ERR_INVALID_ARG_VALUE",q1="ERR_INVALID_ARG_TYPE";function gi(e,t,n){const r=new TypeError(e,{cause:n});return Object.assign(r,{code:t}),r}
107function Jce(e){return async function(t){return sn(t,"codeVerifier"),tl(await crypto.subtle.digest("SHA-256",Yc(t)))}(e)}function Zce(){return ZL()}let kp=class extends Error{constructor(t,n){var r;super(t,n),Q(this,"code",void 0),this.name=this.constructor.name,this.code=n==null?void 0:n.code,(r=Error.captureStackTrace)===null||r===void 0||r.call(Error,this,this.constructor)}};function qn(e,t,n){return new kp(e,{cause:t,code:n})}function tr(e){if(e instanceof TypeError||e instanceof kp||e instanceof q3||e instanceof XL||e instanceof Iv)throw e;if(e instanceof zv)switch(e.code){case rM:throw qn("only requests to HTTPS are allowed",e,e.code);case sM:throw qn("only requests to HTTP or HTTPS are allowed",e,e.code);case Lv:throw qn("unexpected HTTP response status code",e.cause,e.code);case nM:throw qn("unexpected response content-type",e.cause,e.code);case _p:throw qn("parsing error occured",e,e.code);case tt:throw qn("invalid response encountered",e,e.code);case Yi:throw qn("unexpected JWT claim value encountered",e,e.code);case h7:throw qn("unexpected JSON attribute value encountered",e,e.code);case r1:throw qn("JWT timestamp claim value failed validation",e,e.code);default:throw qn(e.message,e,e.code)}if(e instanceof Pr)throw qn("unsupported operation",e,e.code);if(e instanceof DOMException)switch(e.name){case"OperationError":throw qn("runtime operation error",e,d7);case"NotSupportedError":throw qn("runtime unsupported operation",e,d7);case"TimeoutError":throw qn("operation timed out",e,"OAUTH_TIMEOUT");case"AbortError":throw qn("operation aborted",e,"OAUTH_ABORT")}throw new kp("something went wrong",{cause:e})}async function Xce(e,t,n,r,s){const i=await async function(c,u){var d,h;if(!(c instanceof URL))throw gi('"server" must be an instance of URL',q1);const f=!c.href.includes("/.well-known/"),p=(d=u==null?void 0:u.timeout)!==null&&d!==void 0?d:30,m=AbortSignal.timeout(1e3*p),y=await(f?mce(c,{algorithm:u==null?void 0:u.algorithm,[$s]:u==null?void 0:u[ri],[hs]:u==null||(h=u.execute)===null||h===void 0?void 0:h.includes(KS),signal:m,headers:new Headers(mi)}):((u==null?void 0:u[ri])||fetch)((Nv(c,u==null||(_=u.execute)===null||_===void 0||!_.includes(KS)),c.href),{headers:Object.fromEntries(new Headers(Z({accept:"application/json"},mi)).entries()),body:void 0,method:"GET",redirect:"manual",signal:m})).then(g=>async function(b,k){const x=b;if(!(x instanceof URL)&&x!==t4)throw dt('"expectedIssuerIdentifier" must be an instance of URL',wr);if(!Wu(k,Response))throw dt('"response" must be an instance of Response',wr);if(k.status!==200)throw Pe('"response" is not a conform Authorization Server Metadata response (unexpected HTTP status code)',Lv,k);B1(k);const S=await H3(k);if(sn(S.issuer,'"response" body "issuer" property',tt,{body:S}),x!==t4&&new URL(S.issuer).href!==x.href)throw Pe('"response" body "issuer" property does not match the expected value',h7,{expected:x.href,body:S,attribute:"issuer"});return S}(t4,g)).catch(tr);var _;return f&&new URL(y.issuer).href!==c.href&&(function(g,b,k){return!(g.origin!=="https://login.microsoftonline.com"||k!=null&&k.algorithm&&k.algorithm!=="oidc"||(b[mM]=!0,0))}(c,y,u)||function(g,b){return!(!g.hostname.endsWith(".b2clogin.com")||b!=null&&b.algorithm&&b.algorithm!=="oidc")}(c,u)||(()=>{throw new kp("discovered metadata issuer does not match the expected issuer",{code:h7,cause:{expected:c.href,body:y,attribute:"issuer"}})})()),y}(e,s),a=new _u(i,t,n,r);let l=En(a);if(s!=null&&s[ri]&&(l.fetch=s[ri]),s!=null&&s.timeout&&(l.timeout=s.timeout),s!=null&&s.execute)for(const c of s.execute)c(a);return a}new TextDecoder;const mM=Symbol();let _u=class{constructor(t,n,r,s){var i,a,l,c,u;if(typeof n!="string"||!n.length)throw gi('"clientId" must be a non-empty string',q1);if(typeof r=="string"&&(r={client_secret:r}),((i=r)===null||i===void 0?void 0:i.client_id)!==void 0&&n!==r.client_id)throw gi('"clientId" and "metadata.client_id" must be the same',U1);const d=Z(Z({},structuredClone(r)),{},{client_id:n});let h;d[a7]=(a=(l=r)===null||l===void 0?void 0:l[a7])!==null&&a!==void 0?a:0,d[o7]=(c=(u=r)===null||u===void 0?void 0:u[o7])!==null&&c!==void 0?c:30,h=s||(typeof d.client_secret=="string"&&d.client_secret.length?pM(d.client_secret):(y,_,g,b)=>{g.set("client_id",_.client_id)});let f=Object.freeze(d);const p=structuredClone(t);mM in t&&(p[iM]=y=>{let{claims:{tid:_}}=y;return t.issuer.replace("{tenantid}",_)});let m=Object.freeze(p);sf||(sf=new WeakMap),sf.set(this,{__proto__:null,as:m,c:f,auth:h,tlsOnly:!0,jwksCache:{}})}serverMetadata(){const t=structuredClone(En(this).as);return function(n){Object.defineProperties(n,function(r){return{supportsPKCE:{__proto__:null,value(){var s;let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"S256";return((s=r.code_challenge_methods_supported)===null||s===void 0?void 0:s.includes(i))===!0}}}}(n))}(t),t}clientMetadata(){return structuredClone(En(this).c)}get timeout(){return En(this).timeout}set timeout(t){En(this).timeout=t}get[ri](){return En(this).fetch}set[ri](t){En(this).fetch=t}};function H1(e){Object.defineProperties(e,function(t){let n;if(t.expires_in!==void 0){const r=new Date;r.setSeconds(r.getSeconds()+t.expires_in),n=r.getTime()}
107return{expiresIn:{__proto__:null,value(){if(n){const r=Date.now();return n>r?Math.floor((n-r)/1e3):0}}},claims:{__proto__:null,value(){try{return u7(this)}catch{return}}}}}(e))}async function HS(e,t,n){var r;let s=arguments.length>3&&arguments[3]!==void 0&&arguments[3];const i=(r=e.headers.get("retry-after"))===null||r===void 0?void 0:r.trim();if(i===void 0)return;let a;if(/^\d+$/.test(i))a=parseInt(i,10);else{const l=new Date(i);if(Number.isFinite(l.getTime())){const c=new Date,u=l.getTime()-c.getTime();u>0&&(a=Math.ceil(u/1e3))}}if(s&&!Number.isFinite(a))throw new zv("invalid Retry-After header value",{cause:e});a>t&&await gM(a-t,n)}function gM(e,t){return new Promise((n,r)=>{const s=i=>{try{t.throwIfAborted()}catch(l){return void r(l)}if(i<=0)return void n();const a=Math.min(i,5);setTimeout(()=>s(i-a),1e3*a)};s(e)})}async function GS(e,t){ia(e);const{as:n,c:r,auth:s,fetch:i,tlsOnly:a,timeout:l}=En(e);return async function(c,u,d,h,f){Ws(c),Fs(u);const p=F1(c,"backchannel_authentication_endpoint",u.use_mtls_endpoint_aliases,(f==null?void 0:f[hs])!==!0),m=new URLSearchParams(h);m.set("client_id",u.client_id);const y=U3(f==null?void 0:f.headers);return y.set("accept","application/json"),Pv(c,u,d,p,m,y,f)}(n,r,s,t,{[$s]:i,[hs]:!a,headers:new Headers(mi),signal:Tl(l)}).then(c=>async function(u,d,h){if(Ws(u),Fs(d),!Wu(h,Response))throw dt('"response" must be an instance of Response',wr);await Rv(h,200,"Backchannel Authentication Endpoint"),B1(h);const f=await H3(h);sn(f.auth_req_id,'"response" body "auth_req_id" property',tt,{body:f});let p=typeof f.expires_in!="number"?parseFloat(f.expires_in):f.expires_in;return Ka(p,!0,'"response" body "expires_in" property',tt,{body:f}),f.expires_in=p,f.interval!==void 0&&Ka(f.interval,!1,'"response" body "interval" property',tt,{body:f}),f}(n,r,c)).catch(tr)}async function yM(e,t,n,r){var s,i;ia(e),n=new URLSearchParams(n);let a=(s=t.interval)!==null&&s!==void 0?s:5;const l=(i=r==null?void 0:r.signal)!==null&&i!==void 0?i:AbortSignal.timeout(1e3*t.expires_in);try{await gM(a,l)}catch(S){tr(S)}const{as:c,c:u,auth:d,fetch:h,tlsOnly:f,nonRepudiation:p,timeout:m,decrypt:y}=En(e),_=(S,T)=>yM(e,Z(Z({},t),{},{interval:S}),n,Z(Z({},r),{},{signal:l,flag:T})),g=await async function(S,T,C,E,N){Ws(S),Fs(T),sn(E,'"authReqId"');const j=new URLSearchParams(N==null?void 0:N.additionalParameters);return j.set("auth_req_id",E),$1(S,T,C,"urn:openid:params:grant-type:ciba",j,N)}(c,u,d,t.auth_req_id,{[$s]:h,[hs]:!f,additionalParameters:n,DPoP:r==null?void 0:r.DPoP,headers:new Headers(mi),signal:l.aborted?l:Tl(m)}).catch(tr);var b;if(g.status===503&&g.headers.has("retry-after"))return await HS(g,a,l,!0),await((b=g.body)===null||b===void 0?void 0:b.cancel()),_(a);const k=async function(S,T,C,E){return bu(S,T,C,void 0,E==null?void 0:E[ra],E==null?void 0:E.recognizedTokenTypes)}(c,u,g,{[ra]:y});let x;try{x=await k}catch(S){if(G1(S,r))return _(a,Va);
107if(S instanceof q3)switch(S.error){case"slow_down":a+=5;case"authorization_pending":return await HS(S.response,a,l),_(a)}tr(S)}return x.id_token&&await(p==null?void 0:p(g)),H1(x),x}function KS(e){En(e).tlsOnly=!1}async function vM(e,t,n,r,s){if(ia(e),!((s==null?void 0:s.flag)===Va||t instanceof URL||function(S,T){try{return Object.getPrototypeOf(S)[Symbol.toStringTag]===T}catch{return!1}}(t,"Request")))throw gi('"currentUrl" must be an instance of URL, or Request',q1);let i,a;const{as:l,c,auth:u,fetch:d,tlsOnly:h,jarm:f,hybrid:p,nonRepudiation:m,timeout:y,decrypt:_,implicit:g}=En(e);if((s==null?void 0:s.flag)===Va)i=s.authResponse,a=s.redirectUri;else{if(!(t instanceof URL)){const S=t;switch(t=new URL(t.url),S.method){case"GET":break;case"POST":const T=new URLSearchParams(await Oce(S));if(p)t.hash=T.toString();else for(const[C,E]of T.entries())t.searchParams.append(C,E);break;default:throw gi("unexpected Request HTTP method",U1)}}switch(a=function(S){return(S=new URL(S)).search="",S.hash="",S.href}(t),!0){case!!f:i=await f(t,n==null?void 0:n.expectedState);break;case!!p:i=await p(t,n==null?void 0:n.expectedNonce,n==null?void 0:n.expectedState,n==null?void 0:n.maxAge);break;case!!g:throw new TypeError("authorizationCodeGrant() cannot be used by response_type=id_token clients");default:try{i=$ce(l,c,t.searchParams,n==null?void 0:n.expectedState)}catch(S){tr(S)}}}const b=await async function(S,T,C,E,N,j,I){if(Ws(S),Fs(T),!Av.has(E))throw dt('"callbackParameters" must be an instance of URLSearchParams obtained from "validateAuthResponse()", or "validateJwtAuthResponse()',Fn);sn(N,'"redirectUri"');const P=Ro(E,"code");if(!P)throw Pe('no authorization code in "callbackParameters"',tt);const O=new URLSearchParams(I==null?void 0:I.additionalParameters);return O.set("redirect_uri",N),O.set("code",P),j!==MS&&(sn(j,'"codeVerifier"'),O.set("code_verifier",j)),$1(S,T,C,"authorization_code",O,I)}(l,c,u,i,a,(n==null?void 0:n.pkceCodeVerifier)||MS,{additionalParameters:r,[$s]:d,[hs]:!h,DPoP:s==null?void 0:s.DPoP,headers:new Headers(mi),signal:Tl(y)}).catch(tr);typeof(n==null?void 0:n.expectedNonce)!="string"&&typeof(n==null?void 0:n.maxAge)!="number"||(n.idTokenExpected=!0);const k=Nce(l,c,b,{expectedNonce:n==null?void 0:n.expectedNonce,maxAge:n==null?void 0:n.maxAge,requireIdToken:n==null?void 0:n.idTokenExpected,[ra]:_});let x;try{x=await k}catch(S){if(G1(S,s))return vM(e,void 0,n,r,Z(Z({},s),{},{flag:Va,authResponse:i,redirectUri:a}));tr(S)}return x.id_token&&await(m==null?void 0:m(b)),H1(x),x}async function bM(e,t,n,r){ia(e),n=new URLSearchParams(n);const{as:s,c:i,auth:a,fetch:l,tlsOnly:c,nonRepudiation:u,timeout:d,decrypt:h}=En(e),f=await async function(y,_,g,b,k){Ws(y),Fs(_),sn(b,'"refreshToken"');const x=new URLSearchParams(k==null?void 0:k.additionalParameters);return x.set("refresh_token",b),$1(y,_,g,"refresh_token",x,k)}(s,i,a,t,{[$s]:l,[hs]:!c,additionalParameters:n,DPoP:r==null?void 0:r.DPoP,headers:new Headers(mi),signal:Tl(d)}).catch(tr),p=async function(y,_,g,b){return bu(y,_,g,void 0,b==null?void 0:b[ra],b==null?void 0:b.recognizedTokenTypes)}(s,i,f,{[ra]:h});let m;try{m=await p}catch(y){if(G1(y,r))return bM(e,t,n,Z(Z({},r),{},{flag:Va}));tr(y)}return m.id_token&&await(u==null?void 0:u(f)),H1(m),m}async function _M(e,t,n){ia(e),t=new URLSearchParams(t);const{as:r,c:s,auth:i,fetch:a,tlsOnly:l,timeout:c}=En(e),u=await async function(f,p,m,y,_){return Ws(f),Fs(p),$1(f,p,m,"client_credentials",new URLSearchParams(y),_)}(r,s,i,t,{[$s]:a,[hs]:!l,DPoP:n==null?void 0:n.DPoP,headers:new Headers(mi),signal:Tl(c)}).catch(tr),d=async function(f,p,m,y){return bu(f,p,m,void 0,void 0,void 0)}(r,s,u);let h;try{h=await d}catch(f){if(G1(f,n))return _M(e,t,Z(Z({},n),{},{flag:Va}));tr(f)}return H1(h),h}function m7(e,t){ia(e);const{as:n,c:r,tlsOnly:s,hybrid:i,jarm:a,implicit:l}=En(e),c=F1(n,"authorization_endpoint",!1,s);if((t=new URLSearchParams(t)).has("client_id")||t.set("client_id",r.client_id),!t.has("request_uri")&&!t.has("request")){if(t.has("response_type")||t.set("response_type",i?"code id_token":l?"id_token":"code"),l&&!t.has("nonce"))throw gi("response_type=id_token clients must provide a nonce parameter in their authorization request parameters",U1);a&&t.set("response_mode","jwt")}for(const[u,d]of t.entries())c.searchParams.append(u,d);return c}async function kM(e,t,n){ia(e);const r=m7(e,t),{as:s,c:i,auth:a,fetch:l,tlsOnly:c,timeout:u}=En(e),d=await async function(p,m,y,_,g){var b;Ws(p),Fs(m);const k=F1(p,"pushed_authorization_request_endpoint",m.use_mtls_endpoint_aliases,(g==null?void 0:g[hs])!==!0),x=new URLSearchParams(_);x.set("client_id",m.client_id);const S=U3(g==null?void 0:g.headers);S.set("accept","application/json"),(g==null?void 0:g.DPoP)!==void 0&&(QL(g.DPoP),await g.DPoP.addProof(k,S,"POST"));const T=await Pv(p,m,y,k,x,S,g);
107return g==null||(b=g.DPoP)===null||b===void 0||b.cacheNonce(T,k),T}(s,i,a,r.searchParams,{[$s]:l,[hs]:!c,DPoP:n==null?void 0:n.DPoP,headers:new Headers(mi),signal:Tl(u)}).catch(tr),h=async function(p,m,y){if(Ws(p),Fs(m),!Wu(y,Response))throw dt('"response" must be an instance of Response',wr);await Rv(y,201,"Pushed Authorization Request Endpoint"),B1(y);const _=await H3(y);sn(_.request_uri,'"response" body "request_uri" property',tt,{body:_});let g=typeof _.expires_in!="number"?parseFloat(_.expires_in):_.expires_in;return Ka(g,!0,'"response" body "expires_in" property',tt,{body:_}),_.expires_in=g,_}(s,i,d);let f;try{f=await h}catch(p){if(G1(p,n))return kM(e,t,Z(Z({},n),{},{flag:Va}));tr(p)}return m7(e,{request_uri:f.request_uri})}function ia(e){if(!(e instanceof _u))throw gi('"config" must be an instance of Configuration',q1);if(Object.getPrototypeOf(e)!==_u.prototype)throw gi("subclassing Configuration is not allowed",U1)}function Tl(e){return e?AbortSignal.timeout(1e3*e):void 0}function G1(e,t){return!(t==null||!t.DPoP||t.flag===Va)&&function(n){if(n instanceof Iv){const{0:r,length:s}=n.cause;return s===1&&r.scheme==="dpop"&&r.parameters.error==="use_dpop_nonce"}return n instanceof q3&&n.error==="use_dpop_nonce"}(e)}Object.freeze(_u.prototype);const Va=Symbol();async function wp(e,t,n,r){ia(e);const{as:s,c:i,auth:a,fetch:l,tlsOnly:c,timeout:u,decrypt:d}=En(e),h=await async function(f,p,m,y,_,g){return Ws(f),Fs(p),sn(y,'"grantType"'),$1(f,p,m,y,new URLSearchParams(_),g)}(s,i,a,t,new URLSearchParams(n),{[$s]:l,[hs]:!c,DPoP:void 0,headers:new Headers(mi),signal:Tl(u)}).then(f=>{let p;return t==="urn:ietf:params:oauth:grant-type:token-exchange"&&(p={n_a:()=>{}}),async function(m,y,_,g){return bu(m,y,_,void 0,g==null?void 0:g[ra],g==null?void 0:g.recognizedTokenTypes)}(s,i,f,{[ra]:d,recognizedTokenTypes:p})}).catch(tr);return H1(h),h}async function Qce(e,t,n){if(!eo(e))throw new gn("Flattened JWS must be an object");if(e.protected===void 0&&e.header===void 0)throw new gn('Flattened JWS must have either of the "protected" or "header" members');if(e.protected!==void 0&&typeof e.protected!="string")throw new gn("JWS Protected Header incorrect type");if(e.payload===void 0)throw new gn("JWS Payload missing");if(typeof e.signature!="string")throw new gn("JWS Signature missing or incorrect type");if(e.header!==void 0&&!eo(e.header))throw new gn("JWS Unprotected Header incorrect type");let r={};if(e.protected)try{const y=G3(e.protected);r=JSON.parse(s1.decode(y))}catch{throw new gn("JWS Protected Header is invalid")}if(!function(){for(var y=arguments.length,_=new Array(y),g=0;g<y;g++)_[g]=arguments[g];const b=_.filter(Boolean);if(b.length===0||b.length===1)return!0;let k;for(const x of b){const S=Object.keys(x);if(k&&k.size!==0)for(const T of S){if(k.has(T))return!1;k.add(T)}else k=new Set(S)}return!0}(r,e.header))throw new gn("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const s=Z(Z({},r),e.header),i=function(y,_,g,b,k){if(k.crit!==void 0&&(b==null?void 0:b.crit)===void 0)throw new y('"crit" (Critical) Header Parameter MUST be integrity protected');if(!b||b.crit===void 0)return new Set;if(!Array.isArray(b.crit)||b.crit.length===0||b.crit.some(S=>typeof S!="string"||S.length===0))throw new y('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let x;x=g!==void 0?new Map([...Object.entries(g),..._.entries()]):_;for(const S of b.crit){if(!x.has(S))throw new Ir('Extension Header Parameter "'.concat(S,'" is not recognized'));if(k[S]===void 0)throw new y('Extension Header Parameter "'.concat(S,'" is missing'));if(x.get(S)&&b[S]===void 0)throw new y('Extension Header Parameter "'.concat(S,'" MUST be integrity protected'))}return new Set(b.crit)}(gn,new Map([["b64",!0]]),n==null?void 0:n.crit,r,s);let a=!0;if(i.has("b64")&&(a=r.b64,typeof a!="boolean"))throw new gn('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:l}=s;if(typeof l!="string"||!l)throw new gn('JWS "alg" (Algorithm) Header Parameter missing or invalid');const c=n&&function(y,_){if(_!==void 0&&(!Array.isArray(_)||_.some(g=>typeof g!="string")))throw new TypeError('"'.concat(y,'" option must be an array of str
107ings'));if(_)return new Set(_)}("algorithms",n.algorithms);if(c&&!c.has(l))throw new lM('"alg" (Algorithm) Header Parameter value not allowed');if(a){if(typeof e.payload!="string")throw new gn("JWS Payload must be a string")}else if(typeof e.payload!="string"&&!(e.payload instanceof Uint8Array))throw new gn("JWS Payload must be a string or an Uint8Array instance");let u=!1;typeof t=="function"&&(t=await t(r,e),u=!0),Yce(l,t,"verify");const d=function(){for(var y=arguments.length,_=new Array(y),g=0;g<y;g++)_[g]=arguments[g];const b=_.reduce((S,T)=>{let{length:C}=T;return S+C},0),k=new Uint8Array(b);let x=0;for(const S of _)k.set(S,x),x+=S.length;return k}(e.protected!==void 0?n4(e.protected):new Uint8Array,n4("."),typeof e.payload=="string"?a?n4(e.payload):DS.encode(e.payload):e.payload),h=$S(e.signature,"signature",gn),f=await Hce(t,l);if(!await qce(l,f,h,d))throw new dM;let p;p=a?$S(e.payload,"payload",gn):typeof e.payload=="string"?DS.encode(e.payload):e.payload;const m={payload:p};return e.protected!==void 0&&(m.protectedHeader=r),e.header!==void 0&&(m.unprotectedHeader=e.header),u?Z(Z({},m),{},{key:f}):m}const eue=86400,tue=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;function VS(e){const t=tue.exec(e);if(!t||t[4]&&t[1])throw new TypeError("Invalid time period format");const n=parseFloat(t[2]);let r;switch(t[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":r=Math.round(n);break;case"minute":case"minutes":case"min":case"mins":case"m":r=Math.round(60*n);break;case"hour":case"hours":case"hr":case"hrs":case"h":r=Math.round(3600*n);break;case"day":case"days":case"d":r=Math.round(n*eue);break;case"week":case"weeks":case"w":r=Math.round(604800*n);break;default:r=Math.round(31557600*n)}return t[1]==="-"||t[4]==="ago"?-r:r}const YS=e=>e.includes("/")?e.toLowerCase():"application/".concat(e.toLowerCase());function nue(e,t){let n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};try{n=JSON.parse(s1.decode(t))}catch{}if(!eo(n))throw new Mv("JWT Claims Set must be a top-level JSON object");const{typ:s}=r;if(s&&(typeof e.typ!="string"||YS(e.typ)!==YS(s)))throw new ys('unexpected "typ" JWT header value',n,"typ","check_failed");const{requiredClaims:i=[],issuer:a,subject:l,audience:c,maxTokenAge:u}=r,d=[...i];u!==void 0&&d.push("iat"),c!==void 0&&d.push("aud"),l!==void 0&&d.push("sub"),a!==void 0&&d.push("iss");for(const g of new Set(d.reverse()))if(!(g in n))throw new ys('missing required "'.concat(g,'" claim'),n,g,"missing");if(a&&!(Array.isArray(a)?a:[a]).includes(n.iss))throw new ys('unexpected "iss" claim value',n,"iss","check_failed");if(l&&n.sub!==l)throw new ys('unexpected "sub" claim value',n,"sub","check_failed");if(c&&(h=n.aud,f=typeof c=="string"?[c]:c,!(typeof h=="string"?f.includes(h):Array.isArray(h)&&f.some(Set.prototype.has.bind(new Set(h))))))throw new ys('unexpected "aud" claim value',n,"aud","check_failed");var h,f;let p;switch(typeof r.clockTolerance){case"string":p=VS(r.clockTolerance);break;case"number":p=r.clockTolerance;break;case"undefined":p=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:m}=r,y=(_=m||new Date,Math.floor(_.getTime()/1e3));var _;if((n.iat!==void 0||u)&&typeof n.iat!="number")throw new ys('"iat" claim must be a number',n,"iat","invalid");if(n.nbf!==void 0){if(typeof n.nbf!="number")throw new ys('"nbf" claim must be a number',n,"nbf","invalid");if(n.nbf>y+p)throw new ys('"nbf" claim timestamp check failed',n,"nbf","check_failed")}if(n.exp!==void 0){if(typeof n.exp!="number")throw new ys('"exp" claim must be a number',n,"exp","invalid");if(n.exp<=y-p)throw new f7('"exp" claim timestamp check failed',n,"exp","check_failed")}if(u){const g=y-n.iat;if(g-p>(typeof u=="number"?u:VS(u)))throw new f7('"iat" claim timestamp check failed (too far in the past)',n,"iat","check_failed");if(g<0-p)throw new ys('"iat" claim timestamp check failed (it should be in the past)',n,"iat","check_failed")}return n}async function rue(e,t,n){var r;const s=await async function(a,l,c){if(a instanceof Uint8Array&&(a=s1.decode(a)),typeof a!="string")throw new gn("Compact JWS must be a string or Uint8Array");const{0:u,1:d,2:h,length:f}=a.split(".");if(f!==3)throw new gn("Invalid Compact JWS");const p=await Qce({payload:d,protected:u,signature:h},l,c),m={payload:p.payload,protectedHeader:p.protectedHeader};return typeof l=="function"?Z(Z({},m),{},{key:p.key}):m}(e,t,n);if((r=s.protectedHeader.crit)!==null&&r!==void 0&&r.includes("b64")&&s.protectedHeader.b64===!1)throw new Mv("JWTs MUST NOT use unencoded payload");const i={payload:nue(s.protectedHeader,s.payload,n),protectedHeader:s.protectedHeader};return typeof t=="function"?Z(Z({},i),{},{key:s.key}):i}function sue(e){return eo(e)}var Vh,o4,Yh=new WeakMap,l4=new WeakMap;
107let iue=class{constructor(t){if(wt(this,Yh,void 0),wt(this,l4,new WeakMap),!function(n){return n&&typeof n=="object"&&Array.isArray(n.keys)&&n.keys.every(sue)}(t))throw new Ov("JSON Web Key Set malformed");et(Yh,this,structuredClone(t))}jwks(){return ee(Yh,this)}async getKey(t,n){const{alg:r,kid:s}=Z(Z({},t),n==null?void 0:n.header),i=function(u){switch(typeof u=="string"&&u.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";case"ML":return"AKP";default:throw new Ir('Unsupported "alg" value for a JSON Web Key Set')}}(r),a=ee(Yh,this).keys.filter(u=>{let d=i===u.kty;if(d&&typeof s=="string"&&(d=s===u.kid),!d||typeof u.alg!="string"&&i!=="AKP"||(d=r===u.alg),d&&typeof u.use=="string"&&(d=u.use==="sig"),d&&Array.isArray(u.key_ops)&&(d=u.key_ops.includes("verify")),d)switch(r){case"ES256":d=u.crv==="P-256";break;case"ES384":d=u.crv==="P-384";break;case"ES512":d=u.crv==="P-521";break;case"Ed25519":case"EdDSA":d=u.crv==="Ed25519"}return d}),{0:l,length:c}=a;if(c===0)throw new Dv;if(c!==1){const u=new cM,d=ee(l4,this);throw u[Symbol.asyncIterator]=ule(function*(){for(const h of a)try{yield yield cle(JS(d,h,r))}catch{}}),u}return JS(ee(l4,this),l,r)}};async function JS(e,t,n){const r=e.get(t)||e.set(t,{}).get(t);if(r[n]===void 0){const s=await async function(i,a,l){var c;if(!eo(i))throw new TypeError("JWK must be an object");let u;switch(a!=null||(a=i.alg),u!=null||(u=(c=void 0)!==null&&c!==void 0?c:i.ext),i.kty){case"oct":if(typeof i.k!="string"||!i.k)throw new TypeError('missing "k" (Key Value) Parameter value');return G3(i.k);case"RSA":if("oth"in i&&i.oth!==void 0)throw new Ir('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');return rf(Z(Z({},i),{},{alg:a,ext:u}));case"AKP":if(typeof i.alg!="string"||!i.alg)throw new TypeError('missing "alg" (Algorithm) Parameter value');if(a!==void 0&&a!==i.alg)throw new TypeError("JWK alg and alg option value mismatch");return rf(Z(Z({},i),{},{ext:u}));case"EC":case"OKP":return rf(Z(Z({},i),{},{alg:a,ext:u}));default:throw new Ir('Unsupported "kty" (Key Type) Parameter value')}}(Z(Z({},t),{},{ext:!0}),n);if(s instanceof Uint8Array||s.type!=="public")throw new Ov("JSON Web Key Set members must be public keys");r[n]=s}return r[n]}function ZS(e){const t=new iue(e),n=async(r,s)=>t.getKey(r,s);return Object.defineProperties(n,{jwks:{value:()=>structuredClone(t.jwks()),enumerable:!1,configurable:!1,writable:!1}}),n}let g7;(typeof navigator>"u"||(Vh=navigator.userAgent)===null||Vh===void 0||(o4=Vh.startsWith)===null||o4===void 0||!o4.call(V
107h,"Mozilla/5.0 "))&&(g7="".concat("jose","/").concat("v6.2.2"));const wM=Symbol(),af=Symbol();var c4=new WeakMap,u4=new WeakMap,d4=new WeakMap,Jh=new WeakMap,vo=new WeakMap,ji=new WeakMap,ma=new WeakMap,h4=new WeakMap,bo=new WeakMap,_o=new WeakMap;let aue=class{constructor(t,n){if(wt(this,c4,void 0),wt(this,u4,void 0),wt(this,d4,void 0),wt(this,Jh,void 0),wt(this,vo,void 0),wt(this,ji,void 0),wt(this,ma,void 0),wt(this,h4,void 0),wt(this,bo,void 0),wt(this,_o,void 0),!(t instanceof URL))throw new TypeError("url must be an instance of URL");var r,s;et(c4,this,new URL(t.href)),et(u4,this,typeof(n==null?void 0:n.timeoutDuration)=="number"?n==null?void 0:n.timeoutDuration:5e3),et(d4,this,typeof(n==null?void 0:n.cooldownDuration)=="number"?n==null?void 0:n.cooldownDuration:3e4),et(Jh,this,typeof(n==null?void 0:n.cacheMaxAge)=="number"?n==null?void 0:n.cacheMaxAge:6e5),et(ma,this,new Headers(n==null?void 0:n.headers)),g7&&!ee(ma,this).has("User-Agent")&&ee(ma,this).set("User-Agent",g7),ee(ma,this).has("accept")||(ee(ma,this).set("accept","application/json"),ee(ma,this).append("accept","application/jwk-set+json")),et(h4,this,n==null?void 0:n[wM]),(n==null?void 0:n[af])!==void 0&&(et(_o,this,n==null?void 0:n[af]),r=n==null?void 0:n[af],s=ee(Jh,this),typeof r=="object"&&r!==null&&"uat"in r&&typeof r.uat=="number"&&!(Date.now()-r.uat>=s)&&"jwks"in r&&eo(r.jwks)&&Array.isArray(r.jwks.keys)&&Array.prototype.every.call(r.jwks.keys,eo)&&(et(vo,this,ee(_o,this).uat),et(bo,this,ZS(ee(_o,this).jwks))))}pendingFetch(){return!!ee(ji,this)}coolingDown(){return typeof ee(vo,this)=="number"&&Date.now()<ee(vo,this)+ee(d4,this)}fresh(){return typeof ee(vo,this)=="number"&&Date.now()<ee(vo,this)+ee(Jh,this)}jwks(){var t;return(t=ee(bo,this))===null||t===void 0?void 0:t.jwks()}async getKey(t,n){ee(bo,this)&&this.fresh()||await this.reload();try{return await ee(bo,this).call(this,t,n)}catch(r){if(r instanceof Dv&&this.coolingDown()===!1)return await this.reload(),ee(bo,this).call(this,t,n);throw r}}async reload(){ee(ji,this)&&(typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel")&&et(ji,this,void 0),ee(ji,this)||et(ji,this,async function(t,n,r){const i=await(arguments.length>3&&arguments[3]!==void 0?arguments[3]:fetch)(t,{method:"GET",signal:r,redirect:"manual",headers:n}).catch(a=>{throw a.name==="TimeoutError"?new uM:a});if(i.status!==200)throw new Rn("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await i.json()}catch{throw new Rn("Failed to parse the JSON Web Key Set HTTP response as JSON")}}(ee(c4,this).href,ee(ma,this),AbortSignal.timeout(ee(u4,this)),ee(h4,this)).then(t=>{et(bo,this,ZS(t)),ee(_o,this)&&(ee(_o,this).uat=Date.now(),ee(_o,this).jwks=t),et(vo,this,Date.now()),et(ji,this,void 0)}).catch(t=>{throw et(ji,this,void 0),t})),await ee(ji,this)}};const oue=["mfaToken"],lue=["mfaToken"];var ko,Zh,wo,Vr,Xh,Qh,vs,Vs,Nc,ct,Li,dd,y0,Jc,e2,_t,XS=class extends Error{constructor(t,n){super(n),Q(this,"code",void 0),this.name="NotSupportedError",this.code=t}},bi=class extends Error{constructor(t,n,r){super(n),Q(this,"cause",void 0),Q(this,"code",void 0),this.code=t,this.cause=r&&{error:r.error,error_description:r.error_description,message:r.message}}},cue=class extends bi{constructor(t,n){super("token_by_code_error",t,n),this.name="TokenByCodeError"}},uue=class extends bi{constructor(t,n){super("token_by_client_credentials_error",t,n),this.name="TokenByClientCredentialsError"}},due=class extends bi{constructor(t,n){super("token_by_refresh_token_error",t,n),this.name="TokenByRefreshTokenError"}},hue=class extends bi{constructor(t,n){super("token_by_password_error",t,n),this.name="TokenByPasswordError"}},f4=class extends bi{constructor(t,n){super("token_for_connection_error",t,n),this.name="TokenForConnectionErrorCode"}},Qs=class extends bi{constructor(t,n){super("token_exchange_error",t,n),this.name="TokenExchangeError"}},ga=class extends Error{constructor(t){super(t),Q(this,"code","verify_logout_token_error"),this.name="VerifyLogoutTokenError"}},p4=class extends bi{constructor(t){super("backchannel_authentication_error","There was an error when trying to use Client-Initiated Backchannel Authentication.",t),Q(this,"code","backchannel_authentication_error"),this.name="BackchannelAuthenticationError"}},fue=class extends bi{constructor(t){super("build_authorization_url_error","There was an error when trying to build the authorization URL.",t),this.name="BuildAuthorizationUrlError"}},pue=class extends bi{constructor(t){super("build_link_user_url_error","There was an error when trying to build the Link User URL.",t),this.name="BuildLinkUserUrlError"}},mue=class extends bi{constructor(t){super("build_unlink_user_url_error","There was an error when trying to build the Unlink User URL.",t),this.name="BuildUnlinkUserUrlError"}}
107,gue=class extends Error{constructor(){super("The client secret or client assertion signing key must be provided."),Q(this,"code","missing_client_auth_error"),this.name="MissingClientAuthError"}};function y7(e){return Object.entries(e).filter(t=>{let[,n]=t;return n!==void 0}).reduce((t,n)=>Z(Z({},t),{},{[n[0]]:n[1]}),{})}var K3=class extends Error{constructor(t,n,r){super(n),Q(this,"cause",void 0),Q(this,"code",void 0),this.code=t,this.cause=r&&{error:r.error,error_description:r.error_description,message:r.message}}},xM=class extends K3{constructor(t,n){super("mfa_list_authenticators_error",t,n),this.name="MfaListAuthenticatorsError"}},SM=class extends K3{constructor(t,n){super("mfa_enrollment_error",t,n),this.name="MfaEnrollmentError"}},yue=class extends K3{constructor(t,n){super("mfa_delete_authenticator_error",t,n),this.name="MfaDeleteAuthenticatorError"}},TM=class extends K3{constructor(t,n){super("mfa_challenge_error",t,n),this.name="MfaChallengeError"}};function vue(e){return{id:e.id,authenticatorType:e.authenticator_type,active:e.active,name:e.name,oobChannels:e.oob_channels,type:e.type}}var bue=(ko=new WeakMap,Zh=new WeakMap,wo=new WeakMap,class{constructor(e){var t;wt(this,ko,void 0),wt(this,Zh,void 0),wt(this,wo,void 0),et(ko,this,"https://".concat(e.domain)),et(Zh,this,e.clientId),et(wo,this,(t=e.customFetch)!==null&&t!==void 0?t:function(){return fetch(...arguments)})}async listAuthenticators(e){const t="".concat(ee(ko,this),"/mfa/authenticators"),{mfaToken:n}=e,r=await ee(wo,this).call(this,t,{method:"GET",headers:{Authorization:"Bearer ".concat(n),"Content-Type":"application/json"}});if(!r.ok){const s=await r.json();throw new xM(s.error_description||"Failed to list authenticators",s)}return(await r.json()).map(vue)}async enrollAuthenticator(e){const t="".concat(ee(ko,this),"/mfa/associate"),{mfaToken:n}=e,r=Er(e,oue),s={authenticator_types:r.authenticatorTypes};"oobChannels"in r&&(s.oob_channels=r.oobChannels),"phoneNumber"in r&&r.phoneNumber&&(s.phone_number=r.phoneNumber),"email"in r&&r.email&&(s.email=r.email);const i=await ee(wo,this).call(this,t,{method:"POST",headers:{Authorization:"Bearer ".concat(n),"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok){const a=await i.json();throw new SM(a.error_description||"Failed to enroll authenticator",a)}return function(a){if(a.authenticator_type==="otp")return{authenticatorType:"otp",secret:a.secret,barcodeUri:a.barcode_uri,recoveryCodes:a.recovery_codes,id:a.id};if(a.authenticator_type==="oob")return{authenticatorType:"oob",oobChannel:a.oob_channel,oobCode:a.oob_code,bindingMethod:a.binding_method,id:a.id,barcodeUri:a.barcode_uri,recoveryCodes:a.recovery_codes};throw new Error("Unexpected authenticator type: ".concat(a.authenticator_type))}(await i.json())}async deleteAuthenticator(e){const{authenticatorId:t,mfaToken:n}=e,r="".concat(ee(ko,this),"/mfa/authenticators/").concat(encodeURIComponent(t)),s=await ee(wo,this).call(this,r,{method:"DELETE",headers:{Authorization:"Bearer ".concat(n),"Content-Type":"application/json"}});if(!s.ok){const i=await s.json();throw new yue(i.error_description||"Failed to delete authenticator",i)}}async challengeAuthenticator(e){const t="".concat(ee(ko,this),"/mfa/challenge"),{mfaToken:n}=e,r=Er(e,lue),s={mfa_token:n,client_id:ee(Zh,this),challenge_type:r.challengeType};r.authenticatorId&&(s.authenticator_id=r.authenticatorId);const i=await ee(wo,this).call(this,t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok){const a=await i.json();throw new TM(a.error_description||"Failed to challenge authenticator",a)}return function(a){const l={challengeType:a.challenge_type};return a.oob_code!==void 0&&(l.oobCode=a.oob_code),a.binding_method!==void 0&&(l.bindingMethod=a.binding_method),l}(await i.json())}}),ja=class jM{constructor(t,n,r,s,i,a,l){Q(this,"accessToken",void 0),Q(this,"idToken",void 0),Q(this,"refreshToken",void 0),Q(this,"expiresAt",void 0),Q(this,"scope",void 0),Q(this,"claims",void 0),Q(this,"authorizationDetails",void 0),Q(this,"tokenType",void 0),Q(this,"issuedTokenType",void 0),this.accessToken=t,this.idToken=r,this.refreshToken=s,this.expiresAt=n,this.scope=i,this.claims=a,this.authorizationDetail
107s=l}static fromTokenEndpointResponse(t){const n=t.id_token?t.claims():void 0,r=new jM(t.access_token,Math.floor(Date.now()/1e3)+Number(t.expires_in),t.id_token,t.refresh_token,t.scope,n,t.authorization_details);return r.tokenType=t.token_type,r.issuedTokenType=t.issued_token_type,r}},_ue=(Vr=new WeakMap,Xh=new WeakMap,Qh=new WeakMap,class{constructor(e,t){wt(this,Vr,new Map),wt(this,Xh,void 0),wt(this,Qh,void 0),et(Qh,this,Math.max(1,Math.floor(e))),et(Xh,this,Math.max(0,Math.floor(t)))}get(e){const t=ee(Vr,this).get(e);if(t){if(!(Date.now()>=t.expiresAt))return ee(Vr,this).delete(e),ee(Vr,this).set(e,t),t.value;ee(Vr,this).delete(e)}}set(e,t){for(ee(Vr,this).has(e)&&ee(Vr,this).delete(e),ee(Vr,this).set(e,{value:t,expiresAt:Date.now()+ee(Xh,this)});ee(Vr,this).size>ee(Qh,this);){const n=ee(Vr,this).keys().next().value;if(n===void 0)break;ee(Vr,this).delete(n)}}}),QS=new Map;function eT(e){return{ttlMs:1e3*(typeof(e==null?void 0:e.ttl)=="number"?e.ttl:600),maxEntries:typeof(e==null?void 0:e.maxEntries)=="number"&&e.maxEntries>0?e.maxEntries:100}}var tT=class{static createDiscoveryCache(t){const n=(r=t.maxEntries,s=t.ttlMs,"".concat(r,":").concat(s));var r,s;let i=(a=n,QS.get(a));var a;return i||(i=new _ue(t.maxEntries,t.ttlMs),QS.set(n,i)),i}static createJwksCache(){return{}}},v7="openid profile email offline_access",kue=Object.freeze(new Set(["grant_type","client_id","client_secret","client_assertion","client_assertion_type","subject_token","subject_token_type","requested_token_type","actor_token","actor_token_type","audience","aud","resource","resources","resource_indicator","scope","connection","login_hint","organization","assertion"]));function CM(e){if(e==null)throw new Qs("subject_token is required");if(typeof e!="string")throw new Qs("subject_token must be a string");if(e.trim().length===0)throw new Qs("subject_token cannot be blank or whitespace");if(e!==e.trim())throw new Qs("subject_token must not include leading or trailing whitespace");if(/^bearer\s+/i.test(e))throw new Qs("subject_token must not include the 'Bearer ' prefix")}function EM(e,t){if(t){for(const[n,r]of Object.entries(t))if(!kue.has(n))if(Array.isArray(r)){if(r.length>20)throw new Qs("Parameter '".concat(n,"' exceeds maximum array size of ").concat(20));r.forEach(s=>{e.append(n,s)})}else e.append(n,r)}}var zM="urn:ietf:params:oauth:token-type:access_token",wue=(vs=new WeakMap,Vs=new WeakMap,Nc=new WeakMap,ct=new WeakMap,Li=new WeakMap,dd=new WeakMap,y0=new WeakMap,Jc=new WeakMap,e2=new WeakMap,_t=new WeakSet,class{constructor(e){var t,n,r,s;if(function(a,l){kL(a,l),l.add(a)}(this,_t),wt(this,vs,void 0),wt(this,Vs,void 0),wt(this,Nc,void 0),wt(this,ct,void 0),wt(this,Li,void 0),wt(this,dd,void 0),wt(this,y0,void 0),wt(this,Jc,void 0),wt(this,e2,void 0),Q(this,"mfa",void 0),et(ct,this,e),e.useMtls&&!e.customFetch)throw new XS("mtls_without_custom_fetch_not_supported","Using mTLS without a custom fetch implementation is not supported");et(Li,this,function(a,l){if(l.enabled===!1)return a;const c={name:l.name,version:l.version},u=btoa(JSON.stringify(c));return async(d,h)=>{const f=d instanceof Request?new Headers(d.headers):new Headers;return h!=null&&h.headers&&new Headers(h.headers).forEach((p,m)=>{f.set(m,p)}),f.set("Auth0-Client",u),a(d,Z(Z({},h),{},{headers:f}))}}((t=e.customFetch)!==null&&t!==void 0?t:function(){return fetch(...arguments)},((n=e.telemetry)==null?void 0:n.enabled)===!1?n:{enabled:!0,name:(r=n==null?void 0:n.name)!==null&&r!==void 0?r:"@auth0/auth0-auth-js",version:(s=n==null?void 0:n.version)!==null&&s!==void 0?s:"1.6.0"}));const i=eT(e.discoveryCache);et(y0,this,tT.createDiscoveryCache(i)),et(Jc,this,new Map),et(e2,this,tT.createJwksCache()),this.mfa=new bue({domain:ee(ct,this).domain,clientId:ee(ct,this).clientId,customFetch:ee(Li,this)})}async getServerMetadata(){const{serverMetadata:e}=await kt(_t,this,dr).call(this);return e}async buildAuthorizationUrl(e){const{serverMetadata:t}=await kt(_t,this,dr).call(this);if(e!=null&&e.pushedAuthorizationRequests&&!t.pushed_authorization_request_endpoint)throw new XS("par_not_supported_error","The Auth0 tenant does not have pushed authorization requests enabled. Learn how to enable it here: https://auth0.com/docs/get-started/applications/configure-par");try{return await kt(_t,this,m4).call(this,e)}catch(n){throw new fue(n)}}async buildLinkUserUrl(e){try{const t=await kt(_t,this,m4).call(this,{authorizationParams:Z(Z({},e.authorizationParams),{},{requested_connection:e.connection,requested_connection_scope:e.connectionScope,scope:"openid link_account offline_access",id_token_hint:e.idToken})});return{linkUserUrl:t.authorizationUrl,codeVerifier:t.codeVerifier}}catch(t){throw new pue(t)}}async buildUnlinkUserUrl(e){try{const t=await kt(_t,this,m4).call(this,{authorizationParams:Z(Z({},e.authorizationParams),{},{requested_connection:e.connection,scope:"openid unlink_account",id_token_hint:e.idToken})});return{unlinkUserUrl:t.authorizationUrl,codeVerifier:t.codeVerifier}}catch(t){throw new mue(t)}}async backchannelAuthentication(e){const{configuration:t,serverMetadata:n}=await kt(_t,this,dr).call(this),r=y7(Z(Z({},ee(ct,this).authorizationParams),e==null?void 0:e.authorizationParams)),s=new URLSearchParams(Z(Z({scope:v7},r),{},{client_id:ee(ct,this).clientId,binding_message:e.bindingMessage,login_hint:JSON.stringify({format:"iss_sub",iss:n.issuer,sub:e.loginHint.sub})}));e.requestedExpiry&&s.append("requested_expiry",e.requestedExpiry.toString()),e.authorizationDetail
107s&&s.append("authorization_details",JSON.stringify(e.authorizationDetails));try{const i=await GS(t,s),a=await yM(t,i);return ja.fromTokenEndpointResponse(a)}catch(i){throw new p4(i)}}async initiateBackchannelAuthentication(e){const{configuration:t,serverMetadata:n}=await kt(_t,this,dr).call(this),r=y7(Z(Z({},ee(ct,this).authorizationParams),e==null?void 0:e.authorizationParams)),s=new URLSearchParams(Z(Z({scope:v7},r),{},{client_id:ee(ct,this).clientId,binding_message:e.bindingMessage,login_hint:JSON.stringify({format:"iss_sub",iss:n.issuer,sub:e.loginHint.sub})}));e.requestedExpiry&&s.append("requested_expiry",e.requestedExpiry.toString()),e.authorizationDetails&&s.append("authorization_details",JSON.stringify(e.authorizationDetails));try{const i=await GS(t,s);return{authReqId:i.auth_req_id,expiresIn:i.expires_in,interval:i.interval}}catch(i){throw new p4(i)}}async backchannelAuthenticationGrant(e){let{authReqId:t}=e;const{configuration:n}=await kt(_t,this,dr).call(this),r=new URLSearchParams({auth_req_id:t});try{const s=await wp(n,"urn:openid:params:grant-type:ciba",r);return ja.fromTokenEndpointResponse(s)}catch(s){throw new p4(s)}}async getTokenForConnection(e){var t;if(e.refreshToken&&e.accessToken)throw new f4("Either a refresh or access token should be specified, but not both.");const n=(t=e.accessToken)!==null&&t!==void 0?t:e.refreshToken;if(!n)throw new f4("Either a refresh or access token must be specified.");try{return await this.exchangeToken({connection:e.connection,subjectToken:n,subjectTokenType:e.accessToken?zM:"urn:ietf:params:oauth:token-type:refresh_token",loginHint:e.loginHint})}catch(r){throw r instanceof Qs?new f4(r.message,r.cause):r}}async exchangeToken(e){return"connection"in e?kt(_t,this,Sue).call(this,e):kt(_t,this,Tue).call(this,e)}async getTokenByCode(e,t){const{configuration:n}=await kt(_t,this,dr).call(this);try{const r=await vM(n,e,{pkceCodeVerifier:t.codeVerifier});return ja.fromTokenEndpointResponse(r)}catch(r){throw new cue("There was an error while trying to request a token.",r)}}async getTokenByRefreshToken(e){const{configuration:t}=await kt(_t,this,dr).call(this),n=new URLSearchParams;e.audience&&n.append("audience",e.audience),e.scope&&n.append("scope",e.scope);try{const r=await bM(t,e.refreshToken,n);return ja.fromTokenEndpointResponse(r)}catch(r){throw new due("The access token has expired and there was an error while trying to refresh it.",r)}}async getTokenByPassword(e){const{configuration:t}=await kt(_t,this,dr).call(this),n=new URLSearchParams({username:e.username,password:e.password});e.audience&&n.append("audience",e.audience),e.scope&&n.append("scope",e.scope),e.realm&&n.append("realm",e.realm);let r=t;if(e.auth0ForwardedFor){const s=await kt(_t,this,Wv).call(this);r=new _u(t.serverMetadata(),ee(ct,this).clientId,ee(ct,this).clientSecret,s),r[ri]=(i,a)=>ee(Li,this).call(this,i,Z(Z({},a),{},{headers:Z(Z({},a.headers),{},{"auth0-forwarded-for":e.auth0ForwardedFor})}))}try{const s=await wp(r,"password",n);return ja.fromTokenEndpointResponse(s)}catch(s){throw new hue("There was an error while trying to request a token.",s)}}async getTokenByClientCredentials(e){const{configuration:t}=await kt(_t,this,dr).call(this);try{const n=new URLSearchParams({audience:e.audience});e.organization&&n.append("organization",e.organization);const r=await _M(t,n);return ja.fromTokenEndpointResponse(r)}catch(n){throw new uue("There was an error while trying to request a token.",n)}}async buildLogoutUrl(e){const{configuration:t,serverMetadata:n}=await kt(_t,this,dr).call(this);if(!n.end_session_endpoint){const r=new URL("https://".concat(ee(ct,this).domain,"/v2/logout"));return r.searchParams.set("returnTo",e.returnTo),r.searchParams.set("client_id",ee(ct,this).clientId),r}return function(r,s){ia(r);const{as:i,c:a,tlsOnly:l}=En(r),c=F1(i,"end_session_endpoint",!1,l);(s=new URLSearchParams(s)).has("client_id")||s.set("client_id",a.client_id);for(const[u,d]of s.entries())c.searchParams.append(u,d);return c}(t,{post_logout_redirect_uri:e.returnTo})}async verifyLogoutToken(e){const{serverMetadata:t}=await kt(_t,this,dr).call(this),n=eT(ee(ct,this).discoveryCache),r=t.jwks_uri;ee(dd,this)||et(dd,this,function(i,a){const l=new aue(i,a),c=async(u,d)=>l.getKey(u,d);return Object.defineProperties(c,{coolingDown:{get:()=>l.coolingDown(),enumerable:!0,configurable:!1},fresh:{get:()=>l.fresh(),enumerable:!0,configurable:!1},reload:{value:()=>l.reload(),enumerable:!0,configurable:!1,writable:!1},reloading:{get:()=>l.pendingFetch(),enumerable:!0,configurable:!1},jwks:{value:()=>l.jwks(),enumerable:!0,configurable:!1,writable:!1}}),c}(new URL(r),{cacheMaxAge:n.ttlMs,[wM]:ee(Li,this),[af]:ee(e2,this)}));const{payload:s}
107=await rue(e.logoutToken,ee(dd,this),{issuer:t.issuer,audience:ee(ct,this).clientId,algorithms:["RS256"],requiredClaims:["iat"]});if(!("sid"in s)&&!("sub"in s))throw new ga('either "sid" or "sub" (or both) claims must be present');if("sid"in s&&typeof s.sid!="string")throw new ga('"sid" claim must be a string');if("sub"in s&&typeof s.sub!="string")throw new ga('"sub" claim must be a string');if("nonce"in s)throw new ga('"nonce" claim is prohibited');if(!("events"in s))throw new ga('"events" claim is missing');if(typeof s.events!="object"||s.events===null)throw new ga('"events" claim must be an object');if(!("http://schemas.openid.net/event/backchannel-logout"in s.events))throw new ga('"http://schemas.openid.net/event/backchannel-logout" member is missing in the "events" claim');if(typeof s.events["http://schemas.openid.net/event/backchannel-logout"]!="object")throw new ga('"http://schemas.openid.net/event/backchannel-logout" member in the "events" claim must be an object');return{sid:s.sid,sub:s.sub}}});function xue(){const e=ee(ct,this).domain.toLowerCase();return"".concat(e,"|mtls:").concat(ee(ct,this).useMtls?"1":"0")}async function nT(e){const t=await kt(_t,this,Wv).call(this),n=new _u(e,ee(ct,this).clientId,ee(ct,this).clientSecret,t);return n[ri]=ee(Li,this),n}async function dr(){if(ee(vs,this)&&ee(Vs,this))return{configuration:ee(vs,this),serverMetadata:ee(Vs,this)};const e=kt(_t,this,xue).call(this),t=ee(y0,this).get(e);if(t)return et(Vs,this,t.serverMetadata),et(vs,this,await kt(_t,this,nT).call(this,t.serverMetadata)),{configuration:ee(vs,this),serverMetadata:ee(Vs,this)};const n=ee(Jc,this).get(e);if(n){const i=await n;return et(Vs,this,i.serverMetadata),et(vs,this,await kt(_t,this,nT).call(this,i.serverMetadata)),{configuration:ee(vs,this),serverMetadata:ee(Vs,this)}}const r=(async()=>{const i=await kt(_t,this,Wv).call(this),a=await Xce(new URL("https://".concat(ee(ct,this).domain)),ee(ct,this).clientId,{use_mtls_endpoint_aliases:ee(ct,this).useMtls},i,{[ri]:ee(Li,this)}),l=a.serverMetadata();return ee(y0,this).set(e,{serverMetadata:l}),{configuration:a,serverMetadata:l}})(),s=r.then(i=>{let{serverMetadata:a}=i;return{serverMetadata:a}});s.catch(()=>{}),ee(Jc,this).set(e,s);try{const{configuration:i,serverMetadata:a}=await r;et(vs,this,i),et(Vs,this,a),ee(vs,this)[ri]=ee(Li,this)}finally{ee(Jc,this).delete(e)}return{configuration:ee(vs,this),serverMetadata:ee(Vs,this)}}async function Sue(e){var t,n;const{configuration:r}=await kt(_t,this,dr).call(this);if("audience"in e||"resource"in e)throw new Qs("audience and resource parameters are not supported for Token Vault exchanges");CM(e.subjectToken);const s=new URLSearchParams({connection:e.connection,subject_token:e.subjectToken,subject_token_type:(t=e.subjectTokenType)!==null&&t!==void 0?t:zM,requested_token_type:(n=e.requestedTokenType)!==null&&n!==void 0?n:"http://auth0.com/oauth/token-type/federated-connection-access-token"});e.loginHint&&s.append("login_hint",e.loginHint),e.scope&&s.append("scope",e.scope),EM(s,e.extra);try{const i=await wp(r,"urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token",s);return ja.fromTokenEndpointResponse(i)}catch(i){throw new Qs("Failed to exchange token for connection '".concat(e.connection,"'."),i)}}async function Tue(e){const{configuration:t}=await kt(_t,this,dr).call(this);CM(e.subjectToken);const n=new URLSearchParams({subject_token_type:e.subjectTokenType,subject_token:e.subjectToken});e.audience&&n.append("audience",e.audience),e.scope&&n.append("scope",e.scope),e.requestedTokenType&&n.append("requested_token_type",e.requestedTokenType),e.organization&&n.append("organization",e.organization),EM(n,e.extra);try{const r=await wp(t,"urn:ietf:params:oauth:grant-type:token-exchange",n);return ja.fromTokenEndpointResponse(r)}catch(r){throw new Qs("Failed to exchange token of type '".concat(e.subjectTokenType,"'").concat(e.audience?" for audience '".concat(e.audience,"'"):"","."),r)}}async function Wv(){return ee(Nc,this)||et(Nc,this,(async()=>{if(!ee(ct,this).clientSecret&&!ee(ct,this).clientAssertionSigningKey&&!ee(ct,this).useMtls)throw new gue;if(ee(ct,this).useMtls)return(t,n,r,s)=>{r.set("client_id",n.client_id)};let e=ee(ct,this).clientAssertionSigningKey;return!e||e instanceof CryptoKey||(e=await async function(t,n,r){if(typeof t!="string"||t.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return Vce(t,n,r)}(e,ee(ct,this).clientAssertionSigningAlg||"RS256")),e?function(t,n){return yce(t)}
107(e):pM(ee(ct,this).clientSecret)})().catch(e=>{throw et(Nc,this,void 0),e})),ee(Nc,this)}async function m4(e){const{configuration:t}=await kt(_t,this,dr).call(this),n=Zce(),r=await Jce(n),s=y7(Z(Z({},ee(ct,this).authorizationParams),e==null?void 0:e.authorizationParams)),i=new URLSearchParams(Z(Z({scope:v7},s),{},{client_id:ee(ct,this).clientId,code_challenge:r,code_challenge_method:"S256"}));return{authorizationUrl:e!=null&&e.pushedAuthorizationRequests?await kM(t,i):await m7(t,i),codeVerifier:n}}let K1=class b7 extends Mt{constructor(t,n){super(t,n),Object.setPrototypeOf(this,b7.prototype)}static fromPayload(t){let{error:n,error_description:r}=t;return new b7(n,r)}},rT=class NM extends K1{constructor(t,n){super(t,n),Object.setPrototypeOf(this,NM.prototype)}},jue=class IM extends K1{constructor(t,n){super(t,n),Object.setPrototypeOf(this,IM.prototype)}},Cue=class RM extends K1{constructor(t,n){super(t,n),Object.setPrototypeOf(this,RM.prototype)}};class Ic extends K1{constructor(t,n){super(t,n),Object.setPrototypeOf(this,Ic.prototype)}}class Fv extends K1{constructor(t,n){super(t,n),Object.setPrototypeOf(this,Fv.prototype)}}class Eue{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:6e5;Q(this,"contexts",new Map),Q(this,"ttlMs",void 0),this.ttlMs=t}set(t,n){this.cleanup(),this.contexts.set(t,Z(Z({},n),{},{createdAt:Date.now()}))}get(t){const n=this.contexts.get(t);if(n){if(!(Date.now()-n.createdAt>this.ttlMs))return n;this.contexts.delete(t)}}remove(t){this.contexts.delete(t)}cleanup(){const t=Date.now();for(const[n,r]of this.contexts)t-r.createdAt>this.ttlMs&&this.contexts.delete(n)}get size(){return this.contexts.size}}class zue{constructor(t,n){Q(this,"authJsMfaClient",void 0),Q(this,"auth0Client",void 0),Q(this,"contextManager",void 0),this.authJsMfaClient=t,this.auth0Client=n,this.contextManager=new Eue}setMFAAuthDetails(t,n,r,s){this.contextManager.set(t,{scope:n,audience:r,mfaRequirements:s})}async getAuthenticators(t){var n;const r=this.contextManager.get(t);if(r==null||(n=r.mfaRequirements)===null||n===void 0||!n.challenge||r.mfaRequirements.challenge.length===0)throw new rT("invalid_request","challengeType is required and must contain at least one challenge type, please check mfa_required error payload");const s=r.mfaRequirements.challenge.map(a=>a.type);try{return(await this.authJsMfaClient.listAuthenticators({mfaToken:t})).filter(a=>!!a.type&&s.includes(a.type))}catch(a){var i;throw a instanceof xM?new rT((i=a.cause)===null||i===void 0?void 0:i.error,a.message):a}}async enroll(t){const n=function(s){const i=lce[s.factorType];return Z(Z(Z({mfaToken:s.mfaToken,authenticatorTypes:i.authenticatorTypes},i.oobChannels&&{oobChannels:i.oobChannels}),"phoneNumber"in s&&{phoneNumber:s.phoneNumber}),"email"in s&&{email:s.email})}(t);try{return await this.authJsMfaClient.enrollAuthenticator(n)}catch(s){var r;throw s instanceof SM?new jue((r=s.cause)===null||r===void 0?void 0:r.error,s.message):s}}async challenge(t){try{const r={challengeType:t.challengeType,mfaToken:t.mfaToken};return t.authenticatorId&&(r.authenticatorId=t.authenticatorId),await this.authJsMfaClient.challengeAuthenticator(r)}catch(r){var n;throw r instanceof TM?new Cue((n=r.cause)===null||n===void 0?void 0:n.error,r.message):r}}async getEnrollmentFactors(t){const n=this.contextManager.get(t);if(!n||!n.mfaRequirements)throw new Fv("mfa_context_not_found","MFA context not found for this MFA token. Please retry the original request to get a new MFA token.");return n.mfaRequirements.enroll&&n.mfaRequirements.enroll.length!==0?n.mfaRequirements.enroll:[]}async verify(t){const n=this.contextManager.get(t.mfaToken);if(!n)throw new Ic("mfa_context_not_found","MFA context not found for this MFA token. Please retry the original request to get a new MFA token.");const r=function(a){return"otp"in a&&a.otp?cce:"oobCode"in a&&a.oobCode?uce:"recoveryCode"in a&&a.recoveryCode?dce:void 0}(t);if(!r)throw new Ic("invalid_request","Unable to determine grant type. Provide one of: otp, oobCode, or recoveryCode.");const s=n.scope,i=n.audience;try{const a=await this.auth0Client._requestTokenForMfa({grant_type:r,mfaToken:t.mfaToken,scope:s,audience:i,otp:t.otp,oob_code:t.oobCode,binding_code:t.bindingCode,recovery_code:t.re
107coveryCode});return this.contextManager.remove(t.mfaToken),a}catch(a){if(a instanceof fp)this.setMFAAuthDetails(a.mfa_token,s,i,a.mfa_requirements);else if(a instanceof Ic)throw new Ic(a.error,a.error_description);throw a}}}const Nue=["openUrl","fragment","appState"],Iue=["url"],Rue=["cacheMode"],Pue=["federated"],Aue=["openUrl"],Lue=["id_token","decodedToken"],Mue=["mfaToken"];class Oue{constructor(t){let n,r;if(Q(this,"transactionManager",void 0),Q(this,"cacheManager",void 0),Q(this,"lockManager",void 0),Q(this,"domainUrl",void 0),Q(this,"tokenIssuer",void 0),Q(this,"scope",void 0),Q(this,"cookieStorage",void 0),Q(this,"dpop",void 0),Q(this,"sessionCheckExpiryDays",void 0),Q(this,"orgHintCookieName",void 0),Q(this,"isAuthenticatedCookieName",void 0),Q(this,"nowProvider",void 0),Q(this,"httpTimeoutMs",void 0),Q(this,"options",void 0),Q(this,"userCache",new UL().enclosedCache),Q(this,"myAccountApi",void 0),Q(this,"mfa",void 0),Q(this,"worker",void 0),Q(this,"authJsClient",void 0),Q(this,"defaultOptions",{authorizationParams:{scope:"openid profile email"},useRefreshTokensFallback:!1,useFormData:!0}),this.options=Z(Z(Z({},this.defaultOptions),t),{},{authorizationParams:Z(Z({},this.defaultOptions.authorizationParams),t.authorizationParams)}),typeof window<"u"&&(()=>{if(!mp())throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");if(mp().subtle===void 0)throw new Error(`
108      auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.
109    `)})(),this.lockManager=(V5||(V5=Tle()),V5),t.cache&&t.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),t.cache)r=t.cache;else{if(n=t.cacheLocation||_S,!zS(n))throw new Error('Invalid cache location "'.concat(n,'"'));r=zS(n)()}var s;this.httpTimeoutMs=t.httpTimeoutInSeconds?1e3*t.httpTimeoutInSeconds:1e4,this.cookieStorage=t.legacySameSiteCookie===!1?ic:Zle,this.orgHintCookieName=(s=this.options.clientId,"auth0.".concat(s,".organization_hint")),this.isAuthenticatedCookieName=(u=>"auth0.".concat(u,".is.authenticated"))(this.options.clientId),this.sessionCheckExpiryDays=t.sessionCheckExpiryDays||1;const i=t.useCookiesForTransactions?this.cookieStorage:Xle;var a;this.scope=function(u,d){for(var h=arguments.length,f=new Array(h>2?h-2:0),p=2;p<h;p++)f[p-2]=arguments[p];if(typeof u!="object")return{[ur]:nf(d,u,...f)};let m={[ur]:nf(d,...f)};return Object.keys(u).forEach(y=>{const _=u[y];m[y]=nf(d,_,...f)}),m}(this.options.authorizationParams.scope,"openid",this.options.useRefreshTokens?"offline_access":""),this.transactionManager=new Hle(i,this.options.clientId,this.options.cookieDomain),this.nowProvider=this.options.nowProvider||xL,this.cacheManager=new qle(r,r.allKeys?void 0:new tce(r,this.options.clientId),this.nowProvider),this.dpop=this.options.useDpop?new ice(this.options.clientId):void 0,this.domainUrl=(a=this.options.domain,/^https?:\/\//.test(a)?a:"https://".concat(a)),this.tokenIssuer=((u,d)=>u?u.startsWith("https://")?u:"https://".concat(u,"/"):"".concat(d,"/"))(this.options.issuer,this.domainUrl);const l="".concat(this.domainUrl,"/me/"),c=this.createFetcher(Z(Z({},this.options.useDpop&&{dpopNonceId:"__auth0_my_account_api__"}),{},{getAccessToken:()=>this.getTokenSilently({authorizationParams:{scope:"create:me:connected_accounts",audience:l},detailedResponse:!0})}));this.myAccountApi=new oce(c,l),this.authJsClient=new wue({domain:this.options.domain,clientId:this.options.clientId}),this.mfa=new zue(this.authJsClient.mfa,this),typeof window<"u"&&window.Worker&&this.options.useRefreshTokens&&n===_S&&(this.options.workerUrl?this.worker=new Worker(this.options.workerUrl):this.worker=new ece,this.worker.postMessage({type:"init",allowedBaseUrl:this.domainUrl}))}getConfiguration(){return Object.freeze({domain:this.options.domain,clientId:this.options.clientId})}_url(t){const n=this.options.auth0Client||wL,r=ML(n,!0),s=encodeURIComponent(btoa(JSON.stringify(r)));return"".concat(this.domainUrl).concat(t,"&auth0Client=").concat(s)}_authorizeUrl(t){return this._url("/authorize?".concat(n7(t)))}async _verifyIdToken(t,n,r){const s=await this.nowProvider();return Kle({iss:this.tokenIssuer,aud:this.options.clientId,id_token:t,nonce:n,organization:r,leeway:this.options.leeway,max_age:(i=this.options.authorizationParams.max_age,typeof i!="str
109ing"?i:parseInt(i,10)||void 0),now:s});var i}_processOrgHint(t){t?this.cookieStorage.save(this.orgHintCookieName,t,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}):this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain})}_extractSessionTransferToken(t){return new URLSearchParams(window.location.search).get(t)||void 0}_clearSessionTransferTokenFromUrl(t){try{const n=new URL(window.location.href);n.searchParams.has(t)&&(n.searchParams.delete(t),window.history.replaceState({},"",n.toString()))}catch{}}_applySessionTransferToken(t){const n=this.options.sessionTransferTokenQueryParamName;if(!n||t.session_transfer_token)return t;const r=this._extractSessionTransferToken(n);return r?(this._clearSessionTransferTokenFromUrl(n),Z(Z({},t),{},{session_transfer_token:r})):t}async _prepareAuthorizeUrl(t,n,r){var s;const i=q5(od()),a=q5(od()),l=od(),c=await kS(l),u=xS(c),d=await((s=this.dpop)===null||s===void 0?void 0:s.calculateThumbprint()),h=((p,m,y,_,g,b,k,x,S)=>Z(Z(Z({client_id:p.clientId},p.authorizationParams),y),{},{scope:Uh(m,y.scope,y.audience),response_type:"code",response_mode:x||"query",state:_,nonce:g,redirect_uri:k||p.authorizationParams.redirect_uri,code_challenge:b,code_challenge_method:"S256",dpop_jkt:S}))(this.options,this.scope,t,i,a,u,t.redirect_uri||this.options.authorizationParams.redirect_uri||r,n==null?void 0:n.response_mode,d),f=this._authorizeUrl(h);return{nonce:a,code_verifier:l,scope:h.scope,audience:h.audience||ur,redirect_uri:h.redirect_uri,state:i,url:f}}async loginWithPopup(t,n){var r;if(t=t||{},!(n=n||{}).popup&&(n.popup=(c=>{const u=window.screenX+(window.innerWidth-400)/2,d=window.screenY+(window.innerHeight-600)/2;return window.open(c,"auth0:authorize:popup","left=".concat(u,",top=").concat(d,",width=").concat(400,",height=").concat(600,",resizable,scrollbars=yes,status=1"))})(""),!n.popup))throw new gle;const s=this._applySessionTransferToken(t.authorizationParams||{}),i=await this._prepareAuthorizeUrl(s,{response_mode:"web_message"},window.location.origin);n.popup.location.href=i.url;const a=await((c,u)=>new Promise((d,h)=>{let f;const p=setInterval(()=>{c.popup&&c.popup.closed&&(clearInterval(p),clearTimeout(m),window.removeEventListener("message",f,!1),h(new mle(c.popup)))},1e3),m=setTimeout(()=>{clearInterval(p),h(new ple(c.popup)),window.removeEventListener("message",f,!1)},1e3*(c.timeoutInSeconds||60));f=function(y){if(y.origin===u&&y.data&&y.data.type==="authorization_response"){if(clearTimeout(m),clearInterval(p),window.removeEventListener("message",f,!1),c.closePopup!==!1&&c.popup.close(),y.data.response.error)return h(Mt.fromPayload(y.data.response));d(y.data.response)}},window.addEventListener("message",f)}))(Z(Z({},n),{},{timeoutInSeconds:n.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}),new URL(i.url).origin);if(i.state!==a.state)throw new Mt("state_mismatch","Invalid state");const l=((r=t.authorizationParams)===null||r===void 0?void 0:r.organization)||this.options.authorizationParams.organization;await this._requestToken({audience:i.audience,scope:i.scope,code_verifier:i.code_verifier,grant_type:"authorization_code",code:a.code,redirect_uri:i.redirect_uri},{nonceIn:i.nonce,organization:l})}async getUser(){var t;const n=await this._getIdTokenFromCache();return n==null||(t=n.decodedToken)===null||t===void 0?void 0:t.user}async getIdTokenClaims(){var t;const n=await this._getIdTokenFromCache();return n==null||(t=n.decodedToken)===null||t===void 0?void 0:t.claims}async loginWithRedirect(){var t;const n=NS(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),{openUrl:r,fragment:s,appState:i}=n,a=Er(n,Nue),l=((t=a.authorizationParams)===null||t===void 0?void 0:t.organization)||this.options.authorizationParams.organization,c=this._applySessionTransferToken(a.authorizationParams||{}),u=await this._prepareAuthorizeUrl(c),{url:d}=u,h=Er(u,Iue);this.transactionManager.create(Z(Z({},h),{},{appState:i,response_type:ac.Code},l&&{organization:l}));const f=s?"".concat(d,"#").concat(s):d;r?await r(f):window.location.assign(f)}async handleRedirectCallback(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.location.href).split("?").slice(1);if(t.length===0)throw new Error("There are no query params available for parsing.");const n=this.transactionManager.get();if(!n)throw new Mt("missing_transaction","Invalid state");this.transactionManager.remove();const r=(s=>{s.indexOf("#")>-1&&(s=s.substring(0,s.indexOf("#")));const i=new URLSearchParams(s);return{state:i.get("state"),code:i.get("code")||void 0,connect_code:i.get("connect_code")||void 0,error:i.get("error")||void 0,error_description:i.get("error_description")||void 0}})(t.join(""));return n.response_type===ac.ConnectCode?this._handleConnectAccountRedirectCallback(r,n):this._handleLoginRedirectCallback(r,n)}async _handleLoginRedirectCallback(t,n){const{code:r,state:s,error:i,error_description:a}=t;if(i)throw new hle(i,a||i,s,n.appState);if(!n.code_verifier||n.state&&n.state!==s)throw new Mt("state_mismatch","Invalid state");const l=n.organization,c=n.nonce,u=n.redirect_uri;return await this._requestToken(Z({audience:n.audience,scope:n.scope,code_verifier:n.code_verifier,grant_type:"authorization_code",code:r},u?{redirect_uri:u}:{}),{nonceIn:c,organization:l}),{appState:n.appState,response_type:ac.Code}}async _handleConnectAccountRedirectCallback(t,n){const{connect_code:r,state:s,error:i,error_description:a}=t;if(i)throw new fle(i,a||i,n.connection,s,n.appState);if(!r)throw new Mt("missing_connect_code","Missing connect code");if(!(n.code_verifier&&n.state&&n.auth_session&&n.redirect_uri&&n.state===s))throw new Mt("state_mismatch","Invalid state");return Z(Z({},await this.myAccountApi.completeAccount({auth_session:n.auth_session,connect_code:r,redirect_uri:n.redirect_uri,code_verifier:n.code_verifier})),{},{appState:n.appState,response_type:ac.ConnectCode})}async checkSession(t){if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get(ES))return;this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove(ES)}try{await this.getTokenSilently(t)}catch{}}async getTokenSilently(){var t,n;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const s=Z(Z({cacheMode:"on"},r),{},{authorizationParams:Z(Z(Z({},this.options.authorizationParams),r.authorizationParams),{},{scope:Uh(this.scope,(t=r.authorizationParams)===null||t===void 0?void 0:t.scope,((n=r.authorizationParams)===null||n===void 0?void 0:n.audience)||this.options.authorizationParams.audience)})}),i=await((a,l)=>{let c=Z5[l];return c||(c=a().finally(()=>{delete Z5[l],c=null}),Z5[l]=c),c})(()=>this._getTokenSilently(s),"".concat(this.options.clientId,"::").concat(s.authorizationParams.audience,"::").concat(s.authorizationParams.scope));return r.detailedResponse?i:i==null?void 0:i.access_token}async _getTokenSilently(t){const{cacheMode:n}=t,r=Er(t,Rue);if(n!=="off"){const l=await this._getEntryFromCache({scope:r.authorizationParams.scope,audience:r.authorizationParams.audience||ur,clientId:this.options.clientId,cacheMode:n});if(l)return l}if(n==="cache-only")return;const s=(i=this.options.clientId,a=r.authorizationParams.audience||"default","".concat("auth0.lock.getTokenSilently",".").concat(i,".").concat(a));var i,a;try{return await this.lockManager.runWithLock(s,5e3,async()=>
109{if(n!=="off"){const p=await this._getEntryFromCache({scope:r.authorizationParams.scope,audience:r.authorizationParams.audience||ur,clientId:this.options.clientId});if(p)return p}const l=this.options.useRefreshTokens?await this._getTokenUsingRefreshToken(r):await this._getTokenFromIFrame(r),{id_token:c,token_type:u,access_token:d,oauthTokenScope:h,expires_in:f}=l;return Z(Z({id_token:c,token_type:u,access_token:d},h?{scope:h}:null),{},{expires_in:f})})}catch(l){if(this._isInteractiveError(l)&&this.options.interactiveErrorHandler==="popup")return await this._handleInteractiveErrorWithPopup(r);throw l}}_isInteractiveError(t){return t instanceof fp||t instanceof Mt&&this._isIframeMfaError(t)}_isIframeMfaError(t){return t.error==="login_required"&&t.error_description==="Multifactor authentication required"}async _handleInteractiveErrorWithPopup(t){try{await this.loginWithPopup({authorizationParams:t.authorizationParams});const n=await this._getEntryFromCache({scope:t.authorizationParams.scope,audience:t.authorizationParams.audience||ur,clientId:this.options.clientId});if(!n)throw new Mt("interactive_handler_cache_miss","Token not found in cache after interactive authentication");return n}catch(n){throw n}}async getTokenWithPopup(){var t,n;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=Z(Z({},r),{},{authorizationParams:Z(Z(Z({},this.options.authorizationParams),r.authorizationParams),{},{scope:Uh(this.scope,(t=r.authorizationParams)===null||t===void 0?void 0:t.scope,((n=r.authorizationParams)===null||n===void 0?void 0:n.audience)||this.options.authorizationParams.audience)})});return s=Z(Z({},dle),s),await this.loginWithPopup(i,s),(await this.cacheManager.get(new Di({scope:i.authorizationParams.scope,audience:i.authorizationParams.audience||ur,clientId:this.options.clientId}),void 0,this.options.useMrrt)).access_token}async isAuthenticated(){return!!await this.getUser()}_buildLogoutUrl(t){t.clientId!==null?t.clientId=t.clientId||this.options.clientId:delete t.clientId;const n=t.logoutParams||{},{federated:r}=n,s=Er(n,Pue),i=r?"&federated":"";return this._url("/v2/logout?".concat(n7(Z({clientId:t.clientId},s))))+i}async logout(){var t;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=NS(n),{openUrl:s}=r,i=Er(r,Aue);n.clientId===null?await this.cacheManager.clear():await this.cacheManager.clear(n.clientId||this.options.clientId),this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove(this.isAuthenticatedCookieName,{cookieDomain:this.options.cookieDomain}),this.userCache.remove(sc),await((t=this.dpop)===null||t===void 0?void 0:t.clear());const a=this._buildLogoutUrl(i);s?await s(a):s!==!1&&window.location.assign(a)}async _getTokenFromIFrame(t){const n=(r=this.options.clientId,"".concat("auth0.lock.getTokenFromIFrame",".").concat(r));var r;try{return await this.lockManager.runWithLock(n,5e3,async()=>{const s=Z(Z({},t.authorizationParams),{},{prompt:"none"}),i=this.cookieStorage.get(this.orgHintCookieName);i&&!s.organization&&(s.organization=i);const{url:a,state:l,nonce:c,code_verifier:u,redirect_uri:d,scope:h,audience:f}=await this._prepareAuthorizeUrl(s,{response_mode:"web_message"},window.location.origin);if(window.crossOriginIsolated)throw new Mt("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");const p=t.timeoutInSeconds||this.options.authorizeTimeoutInSeconds;let m;try{m=new URL(this.domainUrl).origin}catch{m=this.domainUrl}const y=await function(g,b){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:60;return new Promise((x,S)=>{const T=window.document.createElement("iframe");T.setAttribute("width","0"),T.setAttribute("height","0"),T.style.display="none";const C=()=>{window.document.body.contains(T)&&(window.document.body.removeChild(T),window.removeEventListener("message",E,!1))};let E;const N=setTimeout(()=>{S(new B3),C()},1e3*k);E=function(j){if(j.origin!=b||!j.data||j.data.type!=="authorization_response")return;const I=j.source;I&&I.close(),j.data.response.error?S(Mt.fromPayload(j.data.response)):x(j.data.response),clearTimeout(N),window.removeEventListener("message",E,!1),setTimeout(C,2e3)},window.addEventListener("message",E,!1),window.document.body.appendChild(T),T.setAttribute("src",g)})}(a,m,p);if(l!==y.state)throw new Mt("state_mismatch","Invalid state");const _=await this._requestToken(Z(Z({},t.authorizationParams),{},{code_verifier:u,code:y.code,grant_type:"authorization_code",redirect_uri:d,timeout:t.authorizationParams.timeout||this.httpTimeoutMs}),{nonceIn:c,organization:s.organization});return Z(Z({},_),{},{scope:h,oauthTokenScope:_.scope,audience:f})})}catch(s){throw s.error==="login_required"&&(s instanceof Mt&&this._isIframeMfaError(s)&&this.options.interactiveErrorHandler==="popup"||this.logout({openUrl:!1})),s}}async _getTokenUsingRefreshToken(t){const n=await this.cacheManager.get(new Di({scope:t.authorizationParams.scope,audience:t.authorizationParams.audience||ur,clientId:this.options.clientId}),void 0,this.options.useMrrt);if(!(n&&n.refresh_token||this.worker)){if(this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(t);throw new IL(t.authorizationParams.audience||ur,t.authorizationParams.scope)}const r=t.authorizationParams.redirect_uri||this.options.authorizationParams.redirect_uri||window.location.origin,s=typeof t.timeoutInSeconds=="number"?1e3*t.timeoutInSeconds:null,i=((f,p,m,y)=>{if(f&&m&&y){var _;if(p.audience!==m)return p.scope;const g=y.split(" "),b=((_=p.scope)===null||_===void 0?void 0:_.split(" "))||[],k=b.every(x=>g.includes(x));return g.length>=b.length&&k?y:p.scope}return p.scope})(this.options.useMrrt,t.authorizationParams,n==null?void 0:n.audience,n==null?void 0:n.scope);try{const f=await this._requestToken(Z(Z({},t.authorizationParams),{},{grant_type:"refresh_token",refresh_token:n&&n.refresh_token,redirect_uri:r},s&&{timeout:s}
109),{scopesToRequest:i});if(f.refresh_token&&n!=null&&n.refresh_token&&await this.cacheManager.updateEntry(n.refresh_token,f.refresh_token),this.options.useMrrt&&(c=n==null?void 0:n.audience,u=n==null?void 0:n.scope,d=t.authorizationParams.audience,h=t.authorizationParams.scope,(c!==d||!IS(h,u))&&!IS(i,f.scope))){if(this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(t);await this.cacheManager.remove(this.options.clientId,t.authorizationParams.audience,t.authorizationParams.scope);const p=((m,y)=>{const _=(m==null?void 0:m.split(" "))||[],g=(y==null?void 0:y.split(" "))||[];return _.filter(b=>g.indexOf(b)==-1).join(",")})(i,f.scope);throw new yle(t.authorizationParams.audience||"default",p)}return Z(Z({},f),{},{scope:t.authorizationParams.scope,oauthTokenScope:f.scope,audience:t.authorizationParams.audience||ur})}catch(f){if(f.message){if(f.message.includes("user is blocked"))throw await this.logout({openUrl:!1}),f;if((f.message.includes("Missing Refresh Token")||f.message.includes("invalid refresh token"))&&this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(t)}var a,l;throw f instanceof fp&&this.mfa.setMFAAuthDetails(f.mfa_token,(a=t.authorizationParams)===null||a===void 0?void 0:a.scope,(l=t.authorizationParams)===null||l===void 0?void 0:l.audience,f.mfa_requirements),f}var c,u,d,h}async _saveEntryInCache(t){const{id_token:n,decodedToken:r}=t,s=Er(t,Lue);this.userCache.set(sc,{id_token:n,decodedToken:r}),await this.cacheManager.setIdToken(this.options.clientId,t.id_token,t.decodedToken),await this.cacheManager.set(s)}async _getIdTokenFromCache(){const t=this.options.authorizationParams.audience||ur,n=this.scope[t],r=await this.cacheManager.getIdToken(new Di({clientId:this.options.clientId,audience:t,scope:n})),s=this.userCache.get(sc);return r&&r.id_token===(s==null?void 0:s.id_token)?s:(this.userCache.set(sc,r),r)}async _getEntryFromCache(t){let{scope:n,audience:r,clientId:s,cacheMode:i}=t;const a=await this.cacheManager.get(new Di({scope:n,audience:r,clientId:s}),60,this.options.useMrrt,i);if(a&&a.access_token){const{token_type:l,access_token:c,oauthTokenScope:u,expires_in:d}=a,h=await this._getIdTokenFromCache();return h&&Z(Z({id_token:h.id_token,token_type:l||"Bearer",access_token:c},u?{scope:u}:null),{},{expires_in:d})}}async _requestToken(t,n){const{nonceIn:r,organization:s,scopesToRequest:i}=n||{},a=await Ble(Z(Z({baseUrl:this.domainUrl,client_id:this.options.clientId,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs,useMrrt:this.options.useMrrt,dpop:this.dpop},t),{},{scope:i||t.scope}),this.worker),l=await this._verifyIdToken(a.id_token,r,s);if(t.grant_type==="authorization_code"){var c;const u=await this._getIdTokenFromCache();u!=null&&(c=u.decodedToken)!==null&&c!==void 0&&(c=c.claims)!==null&&c!==void 0&&c.sub&&u.decodedToken.claims.sub!==l.claims.sub&&(await this.cacheManager.clear(this.options.clientId),this.userCache.remove(sc))}return await this._saveEntryInCache(Z(Z(Z({},a),{},{decodedToken:l,scope:t.scope,audience:t.audience||ur},a.scope?{oauthTokenScope:a.scope}:null),{},{client_id:this.options.clientId})),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgHint(s||l.claims.org_id),Z(Z({},a),{},{decodedToken:l})}async loginWithCustomTokenExchange(t){return this._requestToken(Z(Z({},t),{},{grant_type:"urn:ietf:params:oauth:grant-type:token-exchange",subject_token:t.subject_token,subject_token_type:t.subject_token_type,scope:Uh(this.scope,t.scope,t.audience||this.options.authorizationParams.audience),audience:t.audience||this.options.authorizationParams.audience,organization:t.organization||this.options.authorizationParams.organization}))}async exchangeToken(t){return this.loginWithCustomTokenExchange(t)}
109_assertDpop(t){if(!t)throw new Error("`useDpop` option must be enabled before using DPoP.")}getDpopNonce(t){return this._assertDpop(this.dpop),this.dpop.getNonce(t)}setDpopNonce(t,n){return this._assertDpop(this.dpop),this.dpop.setNonce(t,n)}generateDpopProof(t){return this._assertDpop(this.dpop),this.dpop.generateProof(t)}createFetcher(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new ace(t,{isDpopEnabled:()=>!!this.options.useDpop,getAccessToken:n=>{var r;return this.getTokenSilently({authorizationParams:{scope:n==null||(r=n.scope)===null||r===void 0?void 0:r.join(" "),audience:n==null?void 0:n.audience},detailedResponse:!0})},getDpopNonce:()=>this.getDpopNonce(t.dpopNonceId),setDpopNonce:n=>this.setDpopNonce(n,t.dpopNonceId),generateDpopProof:n=>this.generateDpopProof(n)})}async connectAccountWithRedirect(t){const{openUrl:n,appState:r,connection:s,scopes:i,authorization_params:a,redirectUri:l=this.options.authorizationParams.redirect_uri||window.location.origin}=t;if(!s)throw new Error("connection is required");const c=q5(od()),u=od(),d=await kS(u),h=xS(d),{connect_uri:f,connect_params:p,auth_session:m}=await this.myAccountApi.connectAccount({connection:s,scopes:i,redirect_uri:l,state:c,code_challenge:h,code_challenge_method:"S256",authorization_params:a});this.transactionManager.create({state:c,code_verifier:u,auth_session:m,redirect_uri:l,appState:r,connection:s,response_type:ac.ConnectCode});const y=new URL(f);y.searchParams.set("ticket",p.ticket),n?await n(y.toString()):window.location.assign(y)}async _requestTokenForMfa(t,n){const{mfaToken:r}=t,s=Er(t,Mue);return this._requestToken(Z(Z({},s),{},{mfa_token:r}),n)}}var PM={isAuthenticated:!1,isLoading:!0,error:void 0,user:void 0},Ut=function(){throw new Error("You forgot to wrap your component in <Auth0Provider>.")},Due=vn(vn({},PM),{buildAuthorizeUrl:Ut,buildLogoutUrl:Ut,getAccessTokenSilently:Ut,getAccessTokenWithPopup:Ut,getIdTokenClaims:Ut,loginWithCustomTokenExchange:Ut,exchangeToken:Ut,loginWithRedirect:Ut,loginWithPopup:Ut,connectAccountWithRedirect:Ut,logout:Ut,handleRedirectCallback:Ut,getDpopNonce:Ut,setDpopNonce:Ut,generateDpopProof:Ut,createFetcher:Ut,getConfiguration:Ut,mfa:{getAuthenticators:Ut,enroll:Ut,challenge:Ut,verify:Ut,getEnrollmentFactors:Ut}}),AM=v.createContext(Due),sT=function(e){ole(t,e);function t(n,r){var s=e.call(this,r??n)||this;return s.error=n,s.error_description=r,Object.setPrototypeOf(s,t.prototype),s}return t}(Error),Wue=/[?&](?:connect_)?code=[^&]+/,Fue=/[?&]state=[^&]+/,$ue=/[?&]error=[^&]+/,Bue=function(e){return e===void 0&&(e=window.location.search),(Wue.test(e)||$ue.test(e))&&Fue.test(e)},LM=function(e){return function(t){if(t instanceof Error)return t;if(t!==null&&typeof t=="object"&&"error"in t&&typeof t.error=="string"){if("error_description"in t&&typeof t.error_description=="string"){var n=t;return new sT(n.error,n.error_description)}var r=t;return new sT(r.error)}return new Error(e)}},iT=LM("Login failed"),t2=LM("Get access token failed"),MM=function(e){var t,n;e!=null&&e.redirectUri&&(console.warn("Using `redirectUri` has been deprecated, please use `authorizationParams.redirect_uri` instead as `redirectUri` will be no longer supported in a future version"),e.authorizationParams=(t=e.authorizationParams)!==null&&t!==void 0?t:{},e.authorizationParams.redirect_uri=e.redirectUri,delete e.redirectUri),!((n=e==null?void 0:e.authorizationParams)===null||n===void 0)&&n.redirectUri&&(console.warn("Using `authorizationParams.redirectUri` has been deprecated, please use `authorizationParams.redirect_uri` instead as `authorizationParams.redirectUri` will be removed in a future version"),e.authorizationParams.redirect_uri=e.authorizationParams.redirectUri,delete e.authorizationParams.redirectUri)},Uue=function(e,t){switch(t.type){case"LOGIN_POPUP_STARTED":return vn(vn({},e),{isLoading:!0});case"LOGIN_POPUP_COMPLETE":case"INITIALISED":return vn(vn({},e),{isAuthenticated:!!t.user,user:t.user,isLoading:!1,error:void 0});case"HANDLE_REDIRECT_COMPLETE":case"GET_ACCESS_TOKEN_COMPLETE":return e.user===t.user?e:vn(vn({},e),{isAuthenticated:!!t.user,user:t.user});case"LOGOUT":return vn(vn({},e),{isAuthenticated:!1,user:void 0});case"ERROR":return vn(vn({},e),{isLoading:!1,error:t.error})}},que=function(e){return MM(e),vn(vn({},e),{auth0Client:{name:"auth0-react",version:"2.16.1"}})},Hue=function(e){var t;window.history.replaceState({},document.title,(t=e.returnTo)!==null&&t!==void 0?t:window.location.pathname)},Gue=function(e){var t=e,n=t.children,r=t.skipRedirectCallback,s=t.onRedirectCallback,i=s===void 0?Hue:s,a=t.context,l=a===void 0?AM:a,c=t.client,u=vS(t,["children","skipRedirectCallback","onRedirectCallback","context","client"]);c&&(u.domain||u.clientId)&&console.warn("Auth0Provider: the `client` prop takes precedence over `domain`/`clientId` and other configuration options. Remove `domain`, `clientId`, and any other Auth0Client configuration props when using the `client` prop.");var d=v.useState(function(){return c??new Oue(que(u))})[0],h=v.useReducer(Uue,PM),f=h[0],p=h[1],m=v.useRef(!1),y=v.useCallback(function(D){return p({type:"ERROR",error:D}),D},[]);v.useEffect(function(){m.current||(m.current=!0,function(){return fa(void 0,void 0,void 0,function(){var D,z,R,w,L,M,A;return pa(this,function(q){switch(q.label){case 0:return q.trys.push([0,7,,8]),D=void 0,Bue()&&!r?[4,d.handleRedirectCallback()]:[3,3];case 1:return z=q.sent(),R=z.appState,w=R===void 0?{}:R,L=z.response_type,M=vS(z,["appState","response_type"]),[4,d.getUser()];case 2:return D=q.sent(),w.response_type=L,L===ac.ConnectCode&&(w.connectedAccount=M),i(w,D),[3,6];case 3:return[4,d.checkSession()];case 4:return q.sent(),[4,d.getUser()];case 5:D=q.sent(),q.label=6;case 6:return p({type:"INITIALISED",user:D}),[3,8];case 7:return A=q.sent(),y(iT(A)),[3,8];case 8:return[2]}})})}())},[d,i,r,y]);var _=v.useCallback(function(D){return MM(D),d.loginWithRedirect(D)},[d]),g=v.useCallback(function(D,z){return fa(void 0,void 0,void 0,function(){var R,w;return pa(this,function(L){switch(L.label){case 0:p({type:"LOGIN_POPUP_STARTED"}),L.label=1;case 1:return L.trys.push([1,3,,4]),[4,d.loginWithPopup(D,z)];case 2:return L.sent(),[3,4];case 3:return R=L.sent(),y(iT(R)),[2];case 4:return[4,d.getUser()];case 5:return w=L.sent(),p({type:"LOGIN_POPUP_COMPLETE",user:w}),[2]}})})},[d,y]),b=v.useCallback(function(){for(var D=[],z=0;z<arguments.length;z++)D[z]=arguments[z];return fa(void 0,lle([],D),void 0,function(R){return R===void 0&&(R={}),pa(this,function(w){switch(w.label){case 0:return[4,d.logout(R)];case 1:return w.sent(),(R.openUrl||R.openUrl===!1)&&p({type:"LOGOUT"}),[2]}})})},[d]),k=v.useCallback(function(D){return fa(void 0,void 0,void 0,function(){var z,R,w,L;return pa(this,function(M){switch(M.label){case 0:return M.trys.push([0,2,3,5]),[4,d.getTokenSilently(D)];case 1:return z=M.sent(),[3,5];case 2:throw R=M.sent(),t2(R);case 3:return w=p,L={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,d.getUser()];case 4:return w.apply(void 0,[(L.user=M.sent(),L)]),[7];case 5:return[2,z]}})})},[d]),x=v.useCallback(function(D,z){return fa(void 0,void 0,void 0,function(){var R,w,L,M;return pa(this,function(A){switch(A.label){case 0:return A.trys.push([0,2,3,5]),[4,d.getTokenWithPopup(D,z)];case 1:return R=A.sent(),[3,5];case 2:throw w=A.sent(),t2(w);case 3:return L=p,M={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,d.getUser()];case 4:return L.apply(void 0,[(M.user=A.sent(),M)]),[7];case 5:return[2,R]}})})},[d]),S=v.useCallback(function(D){return d.connectAccountWithRedirect(D)},[d]),T=v.useCallback(function(){return d.getIdTokenClaims()},[d]),C=v.useCallback(function(D){return fa(void 0,void 0,void 0,function(){var z,R,w,L;return pa(this,function(M){switch(M.label){case 0:return M.trys.push([0,2,3,5]),[4,d.loginWithCustomTokenExchange(D)];case 1:return z=M.sent(),[3,5];case 2:throw R=M.sent(),t2(R);case 3:return w=p,L={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,d.getUser()];case 4:return w.apply(void 0,[(L.user=M.sent(),L)]),[7];case 5:return[2,z]}})})},[d]),E=v.useCallback(function(D){return fa(void 0,void 0,void 0,function(){return pa(this,function(z){return[2,C(D)]})})},[C]),N=v.useCallback(function(D){return fa(void 0,void 0,void 0,function(){var z,R,w;return pa(this,function(L){switch(L.label){case 0:return L.trys.push([0,2,3,5]),[4,d.handleRedirectCallback(D)];case 1:return[2,L.sent()];
109case 2:throw z=L.sent(),t2(z);case 3:return R=p,w={type:"HANDLE_REDIRECT_COMPLETE"},[4,d.getUser()];case 4:return R.apply(void 0,[(w.user=L.sent(),w)]),[7];case 5:return[2]}})})},[d]),j=v.useCallback(function(D){return d.getDpopNonce(D)},[d]),I=v.useCallback(function(D,z){return d.setDpopNonce(D,z)},[d]),P=v.useCallback(function(D){return d.generateDpopProof(D)},[d]),O=v.useCallback(function(D){return d.createFetcher(D)},[d]),F=v.useCallback(function(){return d.getConfiguration()},[d]),B=v.useMemo(function(){return d.mfa},[d]),$=v.useMemo(function(){return vn(vn({},f),{getAccessTokenSilently:k,getAccessTokenWithPopup:x,getIdTokenClaims:T,loginWithCustomTokenExchange:C,exchangeToken:E,loginWithRedirect:_,loginWithPopup:g,connectAccountWithRedirect:S,logout:b,handleRedirectCallback:N,getDpopNonce:j,setDpopNonce:I,generateDpopProof:P,createFetcher:O,getConfiguration:F,mfa:B})},[f,k,x,T,C,E,_,g,S,b,N,j,I,P,O,F,B]);return Es.createElement(l.Provider,{value:$},n)},ar=function(e){return e===void 0&&(e=AM),v.useContext(e)};const OM=e=>{const t=UZ(e);return t==="zh"?"zh-CN":t},Kue="auth.badukteacher.com",Vue="ukU7YDxF8RQewcI1JkZwnGiBhaVX6azY",DM="https://baduk-teacher.fly.dev/api",Yue="memory",nr=!!DM,Jue=({children:e})=>typeof window>"u"?o.jsx(o.Fragment,{children:e}):o.jsx(Zue,{children:e}),Zue=({children:e})=>{const t=vt(r=>r.uiLang),n=r=>{const s=(r==null?void 0:r.returnTo)??window.location.pathname;window.history.replaceState({},"",s)};return o.jsx(Gue,{domain:Kue,clientId:Vue,cacheLocation:Yue,authorizationParams:{redirect_uri:window.location.origin,ui_locales:OM(t),audience:DM},onRedirectCallback:n,children:e})},V3="AW-18176106153",Xue="C9LzCMWX47QcEKm9hdtD",Que="RQJBCLKO47QcEKm9hdtD",ede="naIOCNC7rsMcEKm9hdtD",tde="f2O7CJrKrsMcEKm9hdtD";
109function nde(e){typeof window>"u"||typeof window.gtag!="function"||window.gtag("event","conversion",{send_to:`${V3}/${Xue}`,value:e.gross_usd_cents/100,currency:"USD",transaction_id:e.booking_id})}function rde(e){if(typeof window>"u"||typeof window.gtag!="function")return;const n=!e.settlement||e.settlement==="stripe"?e.gross_usd_cents/100:0;window.gtag("event","conversion",{send_to:`${V3}/${Que}`,value:n,currency:"USD",transaction_id:e.booking_id})}function sde(){typeof window>"u"||typeof window.gtag!="function"||window.gtag("event","conversion",{send_to:`${V3}/${ede}`})}function ide(){typeof window>"u"||typeof window.gtag!="function"||window.gtag("event","conversion",{send_to:`${V3}/${tde}`})}async function ade(e){const t=new TextEncoder().encode(e.trim().toLowerCase()),n=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(n)).map(r=>r.toString(16).padStart(2,"0")).join("")}async function ode(e){if(!e||typeof window>"u"||typeof window.gtag!="function")return;const t=await ade(e);window.gtag("set","user_data",{sha256_email_address:t})}function lde(){typeof window>"u"||typeof window.gtag!="function"||window.gtag("set","user_data",null)}var Y=typeof window<"u"?window:void 0,hn=typeof globalThis<"u"?globalThis:Y;typeof self>"u"&&(hn.self=hn),typeof File>"u"&&(hn.File=function(){});var Ar=hn==null?void 0:hn.navigator,pe=hn==null?void 0:hn.document,Sn=hn==null?void 0:hn.location,_7=hn==null?void 0:hn.fetch,k7=hn!=null&&hn.XMLHttpRequest&&"withCredentials"in new hn.XMLHttpRequest?hn.XMLHttpRequest:void 0,aT=hn==null?void 0:hn.AbortController,cde=hn==null?void 0:hn.CompressionStream,hr=Ar==null?void 0:Ar.userAgent,we=Y??{},oT="1.373.2",Vn={DEBUG:!1,LIB_VERSION:oT,LIB_NAME:"web",JS_SDK_VERSION:oT};function lT(e,t,n,r,s,i,a){try{var l=e[i](a),c=l.value}catch(u){return void n(u)}l.done?t(c):Promise.resolve(c).then(r,s)}function zr(e){return function(){var t=this,n=arguments;return new Promise(function(r,s){var i=e.apply(t,n);function a(c){lT(i,r,s,a,l,"next",c)}function l(c){lT(i,r,s,a,l,"throw",c)}a(void 0)})}}function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(null,arguments)}function WM(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var hd,FM="NativeGzipValidationError",cT=e=>!(!e||typeof e!="object")&&("name"in e?String(e.name):"")==="NotReadableError",n2=e=>{var t=new Error("Native gzip produced invalid output: "+e);throw t.name=FM,t},ude=function(){var e=zr(function*(t,n){18>t.size&&n2("too-short");var r=new Uint8Array(yield t.slice(0,10).arrayBuffer());r[0]===31&&r[1]===139&&r[2]===8||n2("invalid-header");var s=new DataView(yield t.slice(t.size-8).arrayBuffer());s.getUint32(0,!0)!==(a=>{for(var l=(()=>{if(hd)return hd;hd=[];for(var d=0;256>d;d++){for(var h=d,f=0;8>f;f++)h=1&h?3988292384^h>>>1:h>>>1;hd[d]=h>>>0}return hd})(),c=4294967295,u=0;a.length>u;u++)c=l[255&(c^a[u])]^c>>>8;return(4294967295^c)>>>0})(n)&&n2("invalid-crc");var i=n.length>>>0;s.getUint32(4,!0)!==i&&n2("invalid-size")});return function(t,n){return e.apply(this,arguments)}}();function w7(){return w7=zr(function*(e,t,n){t===void 0&&(t=!0);try{var r=new TextEncoder().encode(e),s=new CompressionStream("gzip"),i=s.writable.getWriter(),a=i.write(r).then(()=>i.close()).catch(function(){var u=zr(function*(d){try{yield i.abort(d)}catch{}throw d});return function(d){return u.apply(this,arguments)}}()),l=new Response(s.readable).blob(),[c]=yield Promise.all([l,a]);return yield ude(c,r),c}catch(u){if(n!=null&&n.rethrow)throw u;return t&&console.error("Failed to gzip compress data",u),null}}),w7.apply(this,arguments)}var dde=["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"],uT=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var n=e.toLowerCase();return dde.concat(t).some(r=>{var s=r.toLowerCase();return n.indexOf(s)!==-1})},hde=["$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"];function Ve(e,t){return e.indexOf(t)!==-1}var Y3=function(e){return e.trim()},x7=function(e){return e.replace(/^\$/,"")},$M=Object.prototype,BM=$M.hasOwnProperty,J3=$M.toString,it=Array.isArray||function(e){return J3.call(e)==="[object Array]"},Mi=e=>typeof e=="function",Vt=e=>e===Object(e)&&!it(e),Rc=e=>{if(Vt(e)){for(var t in e)if(BM.call(e,t))return!1;return!0}return!1},me=e=>e===void 0,Wt=e=>J3.call(e)=="[object String]",of=e=>Wt(e)&&e.trim().length===0,aa=e=>e===null,Ye=e=>me(e)||aa(e),fs=e=>J3.call(e)=="[object Number]"&&e==e,oc=e=>fs(e)&&e>0,si=e=>J3.call(e)==="[object Boolean]",fde=e=>e instanceof FormData,pde=e=>Ve(hde,e);function UM(e){return e===null||typeof e!="object"}function xp(e,t){return{}.toString.call(e)==="[object "+t+"]"}function $v(e){return typeof Event<"u"&&function(t,n){try{return t instanceof n}catch{return!1}}(e,Event)}var mde=[!0,"true",1,"1","yes"],g4=e=>Ve(mde,e),gde=[!1,"false",0,"0","no"];
109function ii(e,t,n,r,s){return t>n&&(r.warn("min cannot be greater than max."),t=n),fs(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: "+s),ii(s||n,t,n,r))}class yde{constructor(t){this.$t={},this.zt=t.zt,this.Zt=ii(t.bucketSize,0,100,t.Gt),this.Qt=ii(t.refillRate,0,this.Zt,t.Gt),this.Jt=ii(t.refillInterval,0,864e5,t.Gt)}Kt(t,n){var r=Math.floor((n-t.lastAccess)/this.Jt);r>0&&(t.tokens=Math.min(t.tokens+r*this.Qt,this.Zt),t.lastAccess=t.lastAccess+r*this.Jt)}consumeRateLimit(t){var n,r=Date.now(),s=String(t),i=this.$t[s];return i?this.Kt(i,r):this.$t[s]=i={tokens:this.Zt,lastAccess:r},i.tokens===0||(i.tokens--,i.tokens===0&&((n=this.zt)==null||n.call(this,t)),i.tokens===0)}stop(){this.$t={}}}var r2,dT,y4,Wr="Mobile",Sp="iOS",Ui="Android",ku="Tablet",qM=Ui+" "+ku,HM="iPad",GM="Apple",KM=GM+" Watch",v0="Safari",wu="BlackBerry",VM="Samsung",YM=VM+"Browser",JM=VM+" Internet",nl="Chrome",vde=nl+" OS",ZM=nl+" "+Sp,Bv="Internet Explorer",XM=Bv+" "+Wr,Uv="Opera",bde=Uv+" Mini",qv="Edge",QM="Microsoft "+qv,Zc="Firefox",eO=Zc+" "+Sp,i1="Nintendo",a1="PlayStation",Xc="Xbox",tO=Ui+" "+Wr,nO=Wr+" "+v0,$d="Windows",S7=$d+" Phone",hT="Nokia",T7="Ouya",rO="Generic",_de=rO+" "+Wr.toLowerCase(),sO=rO+" "+ku.toLowerCase(),j7="Konqueror",Gn="(\\d+(\\.\\d+)?)",v4=new RegExp("Version/"+Gn),kde=new RegExp(Xc,"i"),wde=new RegExp(a1+" \\w+","i"),xde=new RegExp(i1+" \\w+","i"),Hv=new RegExp(wu+"|PlayBook|BB10","i"),Sde={"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"},iO=function(e,t){return t=t||"",Ve(e," OPR/")&&Ve(e,"Mini")?bde:Ve(e," OPR/")?Uv:Hv.test(e)?wu:Ve(e,"IE"+Wr)||Ve(e,"WPDesktop")?XM:Ve(e,YM)?JM:Ve(e,qv)||Ve(e,"Edg/")?QM:Ve(e,"FBIOS")?"Facebook "+Wr:Ve(e,"UCWEB")||Ve(e,"UCBrowser")?"UC Browser":Ve(e,"CriOS")?ZM:Ve(e,"CrMo")||Ve(e,nl)?nl:Ve(e,Ui)&&Ve(e,v0)?tO:Ve(e,"FxiOS")?eO:Ve(e.toLowerCase(),j7.toLowerCase())?j7:((n,r)=>r&&Ve(r,GM)||function(s){return Ve(s,v0)&&!Ve(s,nl)&&!Ve(s,Ui)}(n))(e,t)?Ve(e,Wr)?nO:v0:Ve(e,Zc)?Zc:Ve(e,"MSIE")||Ve(e,"Trident/")?Bv:Ve(e,"Gecko")?Zc:""},Tde={[XM]:[new RegExp("rv:"+Gn)],[QM]:[new RegExp(qv+"?\\/"+Gn)],[nl]:[new RegExp("("+nl+"|CrMo)\\/"+Gn)],[ZM]:[new RegExp("CriOS\\/"+Gn)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Gn)],[v0]:[v4],[nO]:[v4],[Uv]:[new RegExp("(Opera|OPR)\\/"+Gn)],[Zc]:[new RegExp(Zc+"\\/"+Gn)],[eO]:[new RegExp("FxiOS\\/"+Gn)],[j7]:[new RegExp("Konqueror[:/]?"+Gn,"i")],[wu]:[new RegExp(wu+" "+Gn),v4],[tO]:[new RegExp("android\\s"+Gn,"i")],[JM]:[new RegExp(YM+"\\/"+Gn)],[Bv]:[new RegExp("(rv:|MSIE )"+Gn)],Mozilla:[new RegExp("rv:"+Gn)]},jde=function(e,t){var n=iO(e,t),r=Tde[n];if(me(r))return null;for(var s=0;r.length>s;s++){var i=e.match(r[s]);if(i)return parseFloat(i[i.length-2])}return null},fT=[[new RegExp(Xc+"; "+Xc+" (.*?)[);]","i"),e=>[Xc,e&&e[1]||""]],[new RegExp(i1,"i"),[i1,""]],[new RegExp(a1,"i"),[a1,""]],[Hv,[wu,""]],[new RegExp($d,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[S7,""];if(new RegExp(Wr).test(t)&&!/IEMobile\b/.test(t))return[$d+" "+Wr,""];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var r=Sde[n[1]]||"";return/arm/i.test(t)&&(r="RT"),[$d,r]}return[$d,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>e&&e[3]?[Sp,[e[3],e[4],e[5]||"0"].join(".")]:[Sp,""]],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=me(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Ui+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Ui+")","i"),e=>e&&e[2]?[Ui,[e[2],e[3],e[4]||"0"].join(".")]:[Ui,""]],[/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/,[vde,""]],[/Linux|debian/i,["Linux",""]]],pT=function(e){return xde.test(e)?i1:wde.test(e)?a1:kde.test(e)?Xc:new RegExp(T7,"i").test(e)?T7:new RegExp("("+S7+"|WPDesktop)","i").test(e)?S7:/iPad/.test(e)?HM:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?KM:Hv.test(e)?wu:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(hT,"i").test(e)?hT:/(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(Wr).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)?Ui:qM:new RegExp("(pda|"+Wr+")","i").test(e)?_de:new RegExp(ku,"i").test(e)&&!new RegExp(ku+" pc","i").test(e)?sO:""},Cde=e=>e instanceof Error,aO={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}},Ede=aO.info;function oO(e){if(si(e))return{boolValue:e};if(typeof e=="number")return Number.isFinite(e)?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:{stringValue:String(e)};if(typeof e=="string")return{stringValue:e};if(it(e))return{arrayValue:{values:e.map(t=>oO(t))}};try{return{stringValue:JSON.stringify(e)}}catch{return{stringValue:String(e)}}}function mT(e){var t=[];for(var n in e){var r=e[n];aa(r)||me(r)||t.push({key:n,value:oO(r)})}return t}function zde(e){var t=globalThis._posthogChunkIds;if(t){var n=Object.keys(t);return y4&&n.length===dT||(dT=n.length,y4=n.reduce((r,s)=>{r2||(r2={});var i=r2[s];if(i)r[i[0]]=i[1];else for(var a=e(s),l=a.length-1;l>=0;l--){var c=a[l],u=c==null?void 0:c.filename,d=t[s];if(u&&d){r[u]=d,r2[s]=[u,d];break}}return r},{})),y4}}class Nde{constructor(t,n,r){r===void 0&&(r=[]),this.coercers=t,this.stackParser=n,this.modifiers=r}buildFromUnknown(t,n){n===void 0&&(n={});var r=n&&n.mechanism||{handled:!0,type:"generic"},s=this.buildCoercingContext(r,n,0).apply(t),i=this.buildParsingContext(n),a=this.parseStacktrace(s,i);return{$exception_list:this.convertToExceptionList(a,r),$exception_level:"error"}}modifyFrames(t){var n=this;return zr(function*(){for(var r of t)r.stacktrace&&r.stacktrace.frames&&it(r.stacktrace.frames)&&(r.stacktrace.frames=yield n.applyModifiers(r.stacktrace.frames));return t})()}coerceFallback(t){var n;return{type:"Error",value:"Unknown error",stack:(n=t.syntheticException)==null?void 0:n.stack,synthetic:!0}}parseStacktrace(t,n){var r,s;return t.cause!=null&&(r=this.parseStacktrace(t.cause,n)),t.stack!=""&&t.stack!=null&&(s=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?n.skipFirstLines:0),n.chunkIdMap)),ue({},t,{cause:r,stack:s})}applyChunkIds(t,n){return t.map(r=>(r.filename&&n&&(r.chunk_id=n[r.filename]),r))}applyCoercers(t,n){for(var r of this.coercers)if(r.match(t))return r.coerce(t,n);return this.coerceFallback(n)}applyModifiers(t){var n=this;return zr(function*(){var r=t;for(var s of n.modifiers)r=yield s(r);return r})()}convertToExceptionList(t,n){var r,s,i,a={type:t.type,value:t.value,mechanism:{type:(r=n.type)!==null&&r!==void 0?r:"generic",handled:(s=n.handled)===null||s===void 0||s,synthetic:(i=t.synthetic)!==null&&i!==void 0&&i}};t.stack&&(a.stacktrace={type:"raw",frames:t.stack});var l=[a];return t.cause!=null&&l.push(...this.convertToExceptionList(t.cause,ue({},n,{handled:!0}))),l}buildParsingContext(t){var n;return{chunkIdMap:zde(this.stackParser),skipFirstLines:(n=t.skipFirstLines)!==null&&n!==void 0?n:1}}buildCoercingContext(t,n,r){r===void 0&&(r=0);var s=(i,a)=>
109{if(4>=a){var l=this.buildCoercingContext(t,n,a);return this.applyCoercers(i,l)}};return ue({},n,{syntheticException:r==0?n.syntheticException:void 0,mechanism:t,apply:i=>s(i,r),next:i=>s(i,r+1)})}}var xu="?";function C7(e,t,n,r,s){var i={platform:e,filename:t,function:n==="<anonymous>"?xu:n,in_app:!0};return me(r)||(i.lineno=r),me(s)||(i.colno=s),i}var lO=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:xu,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},Ide=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Rde=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Pde=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ade=(e,t)=>{var n=Ide.exec(e);if(n){var[,r,s,i]=n;return C7(t,r,xu,+s,+i)}var a=Rde.exec(e);if(a){if(a[2]&&a[2].indexOf("eval")===0){var l=Pde.exec(a[2]);l&&(a[2]=l[1],a[3]=l[2],a[4]=l[3])}var[c,u]=lO(a[1]||xu,a[2]);return C7(t,u,c,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}},Lde=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Mde=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ode=(e,t)=>{var n=Lde.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=Mde.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var s=n[3],i=n[1]||xu;return[i,s]=lO(i,s),C7(t,s,i,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}},gT=/\(error: (.*)\)/;class Dde{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,n){var r=Wt(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:r?t.stack:void 0,cause:t.cause?n.next(t.cause):void 0,synthetic:!1}}getType(t){return this.isDOMError(t)?"DOMError":"DOMException"}getValue(t){var n=t.name||(this.isDOMError(t)?"DOMError":"DOMException");return t.message?n+": "+t.message:n}isDOMException(t){return xp(t,"DOMException")}isDOMError(t){return xp(t,"DOMError")}}class Wde{match(t){return(n=>n instanceof Error)(t)}coerce(t,n){return{type:this.getType(t),value:this.getMessage(t,n),stack:this.getStack(t),cause:t.cause?n.next(t.cause):void 0,synthetic:!1}}getType(t){return t.name||t.constructor.name}getMessage(t,n){var r=t.message;return String(r.error&&typeof r.error.message=="string"?r.error.message:r)}getStack(t){return t.stacktrace||t.stack||void 0}}class Fde{constructor(){}match(t){return xp(t,"ErrorEvent")&&t.error!=null}coerce(t,n){var r;return n.apply(t.error)||{type:"ErrorEvent",value:t.message,stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}var $de=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class Bde{match(t){return typeof t=="string"}coerce(t,n){var r,[s,i]=this.getInfos(t);return{type:s??"Error",value:i??t,stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}getInfos(t){var n="Error",r=t,s=t.match($de);return s&&(n=s[1],r=s[2]),[n,r]}}var Ude=["fatal","error","warning","log","info","debug"];function cO(e,t){t===void 0&&(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 s=n.slice(0,r).join(", ");if(t>=s.length)return r===n.length?s:s.length>t?s.slice(0,t)+"...":s}return""}class qde{match(t){return typeof t=="object"&&t!==null}coerce(t,n){var r,s=this.getErrorPropertyFromObject(t);return s?n.apply(s):{type:this.getType(t),value:this.getValue(t),stack:(r=n.syntheticException)==null?void 0:r.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return $v(t)?t.constructor.name:"Error"}getValue(t){if("name"in t&&typeof t.name=="string"){var n="'"+t.name+"' captured as exception";return"message"in t&&typeof t.message=="string"&&(n+=" with message: '"+t.message+"'"),n}if("message"in t&&typeof t.message=="string")return t.message;var r=this.getObjectClassName(t);return(r&&r!=="Object"?"'"+r+"'":"Object")+" captured as exception with keys: "+cO(t)}isSeverityLevel(t){return Wt(t)&&!of(t)&&Ude.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var n in t)if({}.hasOwnProperty.call(t,n)){var r=t[n];if(Cde(r))return r}}getObjectClassName(t){try{var n=Object.getPrototypeOf(t);return n?n.constructor.name:void 0}catch{return}}}class Hde{match(t){return $v(t)}coerce(t,n){var r,s=t.constructor.name;return{type:s,value:s+" captured as exception with keys: "+cO(t),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}class Gde{match(t){return UM(t)}coerce(t,n){var r;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}class Kde{match(t){return xp(t,"PromiseRejectionEvent")||this.isCu
109stomEventWrappingRejection(t)}isCustomEventWrappingRejection(t){if(!$v(t))return!1;try{var n=t.detail;return n!=null&&typeof n=="object"&&"reason"in n}catch{return!1}}coerce(t,n){var r,s=this.getUnhandledRejectionReason(t);return UM(s)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(s),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}:n.apply(s)}getUnhandledRejectionReason(t){try{if("reason"in t)return t.reason;if("detail"in t&&t.detail!=null&&typeof t.detail=="object"&&"reason"in t.detail)return t.detail.reason}catch{}return t}}var Tp="$message",jp="$timestamp",Vde=new Set([Tp,jp]),b4={enabled:!0,max_bytes:32768};function Cp(e){var t;return e?{enabled:(t=e.enabled)!==null&&t!==void 0?t:b4.enabled,max_bytes:Jde(e.max_bytes,b4.max_bytes)}:ue({},b4)}class Yde{constructor(t){this.Yt=[],this.Xt=0,this.qt=Cp(t)}setConfig(t){this.qt=Cp(t),this.er()}add(t){var n=function(s){var i=function(d){var h=new WeakSet;try{return JSON.stringify(d,(f,p)=>{if(typeof p=="bigint")return p.toString();if(typeof p!="function"&&typeof p!="symbol"){if(p instanceof Date)return p.toISOString();if(p instanceof Error)return{name:p.name,message:p.message,stack:p.stack};if(p&&typeof p=="object"){if(h.has(p))return"[Circular]";h.add(p)}return p}})}catch{return}}(s);if(i)try{var a=JSON.parse(i);if(!Vt(a))return;var l=a,c=l[Tp],u=l[jp];return!Wt(c)||c.trim().length===0||!Wt(u)&&!fs(u)?void 0:{step:l,json:i}}catch{return}}(t);if(n){var r=function(s){if(typeof TextEncoder<"u")return new TextEncoder().encode(s).length;for(var i=encodeURIComponent(s),a=0,l=0;i.length>l;l++)i[l]==="%"?(a+=1,l+=2):a+=1;return a}(n.json);r>this.qt.max_bytes||(this.Yt.push({step:n.step,bytes:r}),this.Xt+=r,this.er())}}getAttachable(){return this.Yt.map(t=>t.step)}clear(){this.Yt=[],this.Xt=0}size(){return this.Yt.length}er(){for(;this.Xt>this.qt.max_bytes&&this.Yt.length>0;){var t=this.Yt.shift();t&&(this.Xt-=t.bytes)}}}function Jde(e,t){if(!fs(e)||e===1/0||e===-1/0)return t;var n=Math.floor(e);return 0>n?t:n}var uO=function(e,t){var{debugEnabled:n}=t===void 0?{}:t,r={k(s){if(Y&&(Vn.DEBUG||we.POSTHOG_DEBUG||n)&&!me(Y.console)&&Y.console){for(var i=("__rrweb_original__"in Y.console[s])?Y.console[s].__rrweb_original__:Y.console[s],a=arguments.length,l=new Array(a>1?a-1:0),c=1;a>c;c++)l[c-1]=arguments[c];i(e,...l)}},debug(){for(var s=arguments.length,i=new Array(s),a=0;s>a;a++)i[a]=arguments[a];r.k("debug",...i)},info(){for(var s=arguments.length,i=new Array(s),a=0;s>a;a++)i[a]=arguments[a];r.k("log",...i)},warn(){for(var s=arguments.length,i=new Array(s),a=0;s>a;a++)i[a]=arguments[a];r.k("warn",...i)},error(){for(var s=arguments.length,i=new Array(s),a=0;s>a;a++)i[a]=arguments[a];r.k("error",...i)},critical(){for(var s=arguments.length,i=new Array(s),a=0;s>a;a++)i[a]=arguments[a];console.error(e,...i)},uninitializedWarning(s){r.error("You must initialize PostHog before calling "+s)},createLogger:(s,i)=>uO(e+" "+s,i)};return r},fe=uO("[PostHog.js]"),Lt=fe.createLogger,Zde=Lt("[ExternalScriptsLoader]"),_4=(e,t,n)=>{if(e.config.disable_external_dependency_loading)return Zde.warn(t+" was requested but loading of external scripts is disabled."),n("Loading of external scripts is disabled");var r=pe==null?void 0:pe.querySelectorAll("script");if(r){for(var s,i=function(){if(r[a].src===t){var c=r[a];return c.__posthog_loading_callback_fired?{v:n()}:(c.addEventListener("load",u=>{c.__posthog_loading_callback_fired=!0,n(void 0,u)}),c.onerror=u=>n(u),{v:void 0})}},a=0;r.length>a;a++)if(s=i())return s.v}var l=()=>{if(!pe)return n("document not found");var c=pe.createElement("script");if(c.type="text/javascript",c.crossOrigin="anonymous",c.src=t,c.onload=h=>{c.__posthog_loading_callback_fired=!0,n(void 0,h)},c.onerror=h=>n(h),e.config.prepare_external_dependency_script&&(c=e.config.prepare_external_dependency_script(c)),!c)return n("prepare_external_dependency_script returned null");if(e.config.external_scripts_inject_target==="head")pe.head.appendChild(c);else{var u,d=pe.querySelectorAll("body > script");d.length>0?(u=d[0].parentNode)==null||u.insertBefore(c,d[0]):pe.body.appendChild(c)}};pe!=null&&pe.body?l():pe==null||pe.addEventListener("DOMContentLoaded",l)};we.__PosthogExtensions__=we.__PosthogExtensions__||{},we.__PosthogExtensions__.loadExternalDependency=(e,t,n)=>{if(t!=="remote-config"){var r;if(e.config.__preview_external_dependency_versioned_paths)r=e.requestRouter.endpointFor("assets","/static/"+e.version+"/"+t+".js");else{var s="/static/"+t+".js?v="+e.version;if(t==="toolbar"){var i=3e5;
109s=s+"&t="+Math.floor(Date.now()/i)*i}r=e.requestRouter.endpointFor("assets",s)}_4(e,r,n)}else{var a=e.requestRouter.endpointFor("assets","/array/"+e.config.token+"/config.js");_4(e,a,n)}},we.__PosthogExtensions__.loadSiteApp=(e,t,n)=>{var r=e.requestRouter.endpointFor("api",t);_4(e,r,n)};var dO="$people_distinct_id",Ep="$device_id",Bd="__alias",Ud="__timers",E7="$autocapture_disabled_server_side",z7="$heatmaps_enabled_server_side",N7="$exception_capture_enabled_server_side",I7="$error_tracking_suppression_rules",R7="$error_tracking_capture_extension_exceptions",P7="$web_vitals_enabled_server_side",Gv="$dead_clicks_enabled_server_side",A7="$product_tours_enabled_server_side",L7="$web_vitals_allowed_metrics",qd="$session_recording_remote_config",hO="$replay_override_sampling",fO="$replay_override_linked_flag",pO="$replay_override_url_trigger",mO="$replay_override_event_trigger",zp="$sesid",Kv="$session_is_sampled",Pc="$enabled_feature_flags",lf="$active_feature_flags",Hd="$early_access_features",M7="$feature_flag_details",O7="$feature_flag_payloads",D7="$feature_flag_request_id",Ri="$override_feature_flags",lc="$override_feature_flag_payloads",Gd="$stored_person_properties",Po="$stored_group_properties",W7="$surveys",F7="$surveys_activated",cf="ph_product_tours",b0="$flag_call_reported",$7="$flag_call_reported_session_id",B7="$feature_flag_errors",Np="$feature_flag_evaluated_at",bs="$user_state",U7="$client_session_props",q7="$capture_rate_limit",H7="$initial_campaign_params",G7="$initial_referrer_info",Ip="$initial_person_info",Rp="$epp",gO="__POSTHOG_TOOLBAR__",s2="$posthog_cookieless",yO="$sdk_debug_extensions_init_method",vO="$sdk_debug_extensions_init_time_ms",bO="$sdk_debug_recording_script_not_loaded",Vv="PostHog loadExternalDependency extension not found.",Ao="on_reject",Wi="always",$l="anonymous",Bl="identified",K7="identified_only",Pp="visibilitychange",Ap="beforeunload",cc="$pageview",k4="$pageleave",w4="$identify",yT="$groupidentify";function i2(e,t){it(e)&&e.forEach(t)}function It(e,t){if(!Ye(e))if(it(e))e.forEach(t);else if(fde(e))e.forEach((r,s)=>t(r,s));else for(var n in e)BM.call(e,n)&&t(e[n],n)}var Gt=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];for(var s of n)for(var i in s)s[i]!==void 0&&(e[i]=s[i]);return e};function uf(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}var vT=function(e){try{return e()}catch{return}},Xde=function(e){return function(){try{for(var t=arguments.length,n=new Array(t),r=0;t>r;r++)n[r]=arguments[r];return e.apply(this,n)}catch(s){fe.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),fe.critical(s)}}},Yv=function(e){var t={};return It(e,function(n,r){(Wt(n)&&n.length>0||fs(n))&&(t[r]=n)}),t},Qde=["herokuapp.com","vercel.app","netlify.app"];function e0e(e){var t=e==null?void 0:e.hostname;if(!Wt(t))return!1;var n=t.split(".").slice(-2).join(".");for(var r of Qde)if(n===r)return!1;return!0}function Zt(e,t,n,r){var{capture:s=!1,passive:i=!0}=r??{};e==null||e.addEventListener(t,n,{capture:s,passive:i})}function _O(e){return e.name==="ph_toolbar_internal"}Math.trunc||(Math.trunc=function(e){return 0>e?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return fs(e)&&isFinite(e)&&Math.floor(e)===e});class Lp{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,n,r,s){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||!Number.isInteger(s)||0>t||0>n||0>r||0>s||t>0xffffffffffff||n>4095||r>1073741823||s>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=t/Math.pow(2,40),i[1]=t/Math.pow(2,32),i[2]=t/Math.pow(2,24),i[3]=t/Math.pow(2,16),i[4]=t/Math.pow(2,8),i[5]=t,i[6]=112|n>>>8,i[7]=n,i[8]=128|r>>>24,i[9]=r>>>16,i[10]=r>>>8,i[11]=r,i[12]=s>>>24,i[13]=s>>>16,i[14]=s>>>8,i[15]=s,new Lp(i)}toString(){for(var t="",n=0;this.bytes.length>n;n++)t=t+(this.bytes[n]>>>4).toString(16)+(15&this.bytes[n]).toString(16),n!==3&&n!==5&&n!==7&&n!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new Lp(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var n=0;16>n;n++){var r=this.bytes[n]-t.bytes[n];if(r!==0)return Math.sign(r)}return 0}}class t0e{constructor(){this.S=0,this.C=0,this.I=new n0e}generate(){var t=this.generateOrAbort();if(me(t)){this.S=0;var n=this.generateOrAbort();if(me(n))throw new Error("Could not generate UUID after timestamp reset");return n}return t}generateOrAbort(){var t=Date.now();if(t>this.S)this.S=t,this.T();else{if(this.S>=t+1e4)return;this.C++,this.C>4398046511103&&(this.S++,this.T())}return Lp.fromFieldsV7(this.S,Math.trunc(this.C/Math.pow(2,30)),this.C&Math.pow(2,30)-1,this.I.nextUint32())}T(){this.C=1024*this.I.nextUint32()+(1023&this.I.nextUint32())}}var bT,kO=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new 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};Y&&!me(Y.crypto)&&crypto.getRandomValues&&(kO=e=>crypto.getRandomValues(e));
109class n0e{constructor(){this.M=new Uint32Array(8),this.O=1/0}nextUint32(){return this.M.length>this.O||(kO(this.M),this.O=0),this.M[this.O++]}}var Na=()=>r0e().toString(),r0e=()=>(bT||(bT=new t0e)).generate(),fd="",s0e=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i,ei={R:()=>!!pe,D(e){fe.error("cookieStore error: "+e)},A(e){if(pe){try{for(var t=e+"=",n=pe.cookie.split(";").filter(i=>i.length),r=0;n.length>r;r++){for(var s=n[r];s.charAt(0)==" ";)s=s.substring(1,s.length);if(s.indexOf(t)===0)return decodeURIComponent(s.substring(t.length,s.length))}}catch{}return null}},F(e){var t;try{t=JSON.parse(ei.A(e))||{}}catch{}return t},N(e,t,n,r,s){if(pe)try{var i="",a="",l=function(d,h){if(h){var f=function(m,y){if(y===void 0&&(y=pe),fd)return fd;if(!y||["localhost","127.0.0.1"].includes(m))return"";for(var _=m.split("."),g=Math.min(_.length,8),b="dmn_chk_"+Na();!fd&&g--;){var k=_.slice(g).join("."),x=b+"=1;domain=."+k+";path=/";y.cookie=x+";max-age=3",y.cookie.includes(b)&&(y.cookie=x+";max-age=0",fd=k)}return fd}(d);if(!f){var p=(m=>{var y=m.match(s0e);return y?y[0]:""})(d);p!==f&&fe.info("Warning: cookie subdomain discovery mismatch",p,f),f=p}return f?"; domain=."+f:""}return""}(pe.location.hostname,r);if(n){var c=new Date;c.setTime(c.getTime()+864e5*n),i="; expires="+c.toUTCString()}s&&(a="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+l+a;return u.length>3686.4&&fe.warn("cookieStore warning: large cookie, len="+u.length),pe.cookie=u,u}catch{return}},q(e,t){if(pe!=null&&pe.cookie)try{ei.N(e,"",-1,t)}catch{return}}},x4=null,Dt={R(){if(!aa(x4))return x4;var e=!0;if(me(Y))e=!1;else try{var t="__mplssupport__";Dt.N(t,"xyz"),Dt.A(t)!=='"xyz"'&&(e=!1),Dt.q(t)}catch{e=!1}return e||fe.error("localStorage unsupported; falling back to cookie store"),x4=e,e},D(e){fe.error("localStorage error: "+e)},A(e){try{return Y==null?void 0:Y.localStorage.getItem(e)}catch(t){Dt.D(t)}return null},F(e){try{return JSON.parse(Dt.A(e))||{}}catch{}return null},N(e,t){try{Y==null||Y.localStorage.setItem(e,JSON.stringify(t))}catch(n){Dt.D(n)}},q(e){try{Y==null||Y.localStorage.removeItem(e)}catch(t){Dt.D(t)}}},i0e=[Ep,"distinct_id",zp,Kv,Rp,Ip,bs],a2={},a0e={R:()=>!0,D(e){fe.error("memoryStorage error: "+e)},A:e=>a2[e]||null,F:e=>a2[e]||null,N(e,t){a2[e]=t},q(e){delete a2[e]}},xo=null,Tn={R(){if(!aa(xo))return xo;if(xo=!0,me(Y))xo=!1;else try{var e="__support__";Tn.N(e,"xyz"),Tn.A(e)!=='"xyz"'&&(xo=!1),Tn.q(e)}catch{xo=!1}return xo},D(e){fe.error("sessionStorage error: ",e)},A(e){try{return Y==null?void 0:Y.sessionStorage.getItem(e)}catch(t){Tn.D(t)}return null},F(e){try{return JSON.parse(Tn.A(e))||null}catch{}return null},N(e,t){try{Y==null||Y.sessionStorage.setItem(e,JSON.stringify(t))}catch(n){Tn.D(n)}},q(e){try{Y==null||Y.sessionStorage.removeItem(e)}catch(t){Tn.D(t)}}};class o0e{constructor(t){this._instance=t}get qt(){return this._instance.config}get consent(){return this.rr()?0:this.ir}isOptedOut(){return this.qt.cookieless_mode===Wi||this.isRejected()||this.consent===-1&&this.qt.cookieless_mode===Ao}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===0}isRejected(){return this.consent===0||this.consent===-1&&this.qt.opt_out_capturing_by_default}optInOut(t){this.nr.N(this.sr,t?1:0,this.qt.cookie_expiration,this.qt.cross_subdomain_cookie,this.qt.secure_cookie)}reset(){this.nr.q(this.sr,this.qt.cross_subdomain_cookie)}get sr(){var{token:t,opt_out_capturing_cookie_prefix:n,consent_persistence_name:r}=this._instance.config;return r||(n?n+t:"__ph_opt_in_out_"+t)}get ir(){var t=this.nr.A(this.sr);return g4(t)?1:Ve(gde,t)?0:-1}get nr(){var t=this.qt.opt_out_capturing_persistence_type,n=t==="localStorage"?Dt:ei;if(!this.ar||this.ar!==n){this.ar=n;var r=t==="localStorage"?ei:Dt;r.A(this.sr)&&(this.ar.A(this.sr)||this.optInOut(g4(r.A(this.sr))),r.q(this.sr,this.qt.cross_subdomain_cookie))}return this.ar}rr(){return!!this.qt.respect_dnt&&[Ar==null?void 0:Ar.doNotTrack,Ar==null?void 0:Ar.msDoNotTrack,we.doNotTrack].some(t=>g4(t))}}var o2=Lt("[Dead Clicks]"),l0e=()=>!0,c0e=e=>{var t,n=!((t=e.instance.persistence)==null||!t.get_property(Gv)),r=e.instance.config.capture_dead_clicks;return si(r)?r:!!Vt(r)||n};class _T{get lazyLoadedDeadClicksAutocapture(){return this.ur}constructor(t,n,r){this.instance=t,this.isEnabled=n,this.onCapture=r,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[Gv]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.lr(()=>{this.hr()}):this.stop()}lr(t){var n,r;(n=we.__PosthogExtensions__)!=null&&n.initDeadClicksAutocapture&&t(),(r=we.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this.instance,"dead-clicks-autocapture",s=>{s?o2.error("failed to load script",s):t()})}hr(){var t;if(pe){if(!this.ur&&(t=we.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var n=Vt(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};n.__onCapture=this.onCapture,this.ur=we.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,n),this.ur.start(pe),o2.info("starting...")}}else o2.error("`document` not found. Cannot start.")}stop(){this.ur&&(this.ur.stop(),this.ur=void 0,o2.info("stopping..."))}}var S4=Lt("[SegmentIntegration]"),wO="posthog-js";function xO(e,t){var{organization:n,projectId:r,prefix:s,severityAllowList:i=["error"],sendExceptionsToPostHog:a=!0}=t===void 0?{}:t;return l=>{var c,u,d,h,f;if(i!=="*"&&!i.includes(l.level)||!e.__loaded)return l;l.tags||(l.tags={});var p=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/pers
109on/"+e.get_distinct_id());l.tags["PostHog Person URL"]=p,e.sessionRecordingStarted()&&(l.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var m,y=((c=l.exception)==null?void 0:c.values)||[],_=y.map(b=>ue({},b,{stacktrace:b.stacktrace?ue({},b.stacktrace,{type:"raw",frames:(b.stacktrace.frames||[]).map(k=>ue({},k,{platform:"web:javascript"}))}):void 0})),g={$exception_message:((u=y[0])==null?void 0:u.value)||l.message,$exception_type:(d=y[0])==null?void 0:d.type,$exception_level:l.level,$exception_list:_,$sentry_event_id:l.event_id,$sentry_exception:l.exception,$sentry_exception_message:((h=y[0])==null?void 0:h.value)||l.message,$sentry_exception_type:(f=y[0])==null?void 0:f.type,$sentry_tags:l.tags};return n&&r&&(g.$sentry_url=(s||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+l.event_id),a&&((m=e.exceptions)==null||m.sendExceptionEvent(g)),l}}class u0e{constructor(t,n,r,s,i,a){this.name=wO,this.setupOnce=function(l){l(xO(t,{organization:n,projectId:r,prefix:s,severityAllowList:i,sendExceptionsToPostHog:a==null||a}))}}}class kT{constructor(t){this.cr=(n,r,s)=>{s&&(s.noSessionId||s.activityTimeout||s.sessionPastMaximumLength)&&(fe.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:n,changeReason:s}),this.dr=void 0,this._instance.scrollManager.resetContext())},this._instance=t,this.vr()}vr(){var t;this.pr=(t=this._instance.sessionManager)==null?void 0:t.onSessionId(this.cr)}destroy(){var t;(t=this.pr)==null||t.call(this),this.pr=void 0}doPageView(t,n){var r,s=this.gr(t,n);return this.dr={pathname:(r=Y==null?void 0:Y.location.pathname)!==null&&r!==void 0?r:"",pageViewId:n,timestamp:t},this._instance.scrollManager.resetContext(),s}doPageLeave(t){var n;return this.gr(t,(n=this.dr)==null?void 0:n.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.dr)==null?void 0:t.pageViewId}}gr(t,n){var r=this.dr;if(!r)return{$pageview_id:n};var s={$pageview_id:n,$prev_pageview_id:r.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:a,lastScrollY:l,maxScrollY:c,maxContentHeight:u,lastContentY:d,maxContentY:h}=i;if(!(me(a)||me(l)||me(c)||me(u)||me(d)||me(h))){a=Math.ceil(a),l=Math.ceil(l),c=Math.ceil(c),u=Math.ceil(u),d=Math.ceil(d),h=Math.ceil(h);var f=a>1?ii(l/a,0,1,fe):1,p=a>1?ii(c/a,0,1,fe):1,m=u>1?ii(d/u,0,1,fe):1,y=u>1?ii(h/u,0,1,fe):1;s=Gt(s,{$prev_pageview_last_scroll:l,$prev_pageview_last_scroll_percentage:f,$prev_pageview_max_scroll:c,$prev_pageview_max_scroll_percentage:p,$prev_pageview_last_content:d,$prev_pageview_last_content_percentage:m,$prev_pageview_max_content:h,$prev_pageview_max_content_percentage:y})}}return r.pathname&&(s.$prev_pageview_pathname=r.pathname),r.timestamp&&(s.$prev_pageview_duration=(t.getTime()-r.timestamp.getTime())/1e3),s}}var d0e={[dO]:{exposure:"hidden"},[Bd]:{exposure:"hidden"},__cmpns:{exposure:"hidden"},[Ud]:{exposure:"hidden"},[E7]:{exposure:"event"},[z7]:{exposure:"hidden"},[N7]:{exposure:"event"},[I7]:{exposure:"hidden"},[R7]:{exposure:"event"},[P7]:{exposure:"event"},[Gv]:{exposure:"event"},[A7]:{exposure:"hidden"},[L7]:{exposure:"event"},[qd]:{exposure:"hidden"},$session_recording_enabled_server_side:{exposure:"hidden"},[zp]:{exposure:"hidden"},[Kv]:{exposure:"event"},$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"},[Pc]:{exposure:"derived",shouldSkipFromEventProperties:(e,t)=>t(),transformToEventProperties(e){if(!Vt(e))return{};for(var t={},n=Object.keys(e),r=0;n.length>r;r++)t["$feature/"+n[r]]=e[n[r]];return t}},[lf]:{exposure:"event"},[Hd]:{exposure:"hidden"},[M7]:{exposure:"hidden"},[O7]:{exposure:"event"},[D7]:{exposure:"event"},[Ri]:{exposure:"event"},[lc]:{exposure:"hidden"},[Gd]:{exposure:"hidden"},[Po]:{exposure:"hidden"},[W7]:{exposure:"hidden"},[F7]:{exposure:"event"},[cf]:{exposure:"hidden"},$product_tours_activated:{exposure:"hidden"},$conversations_widget_session_id:{exposure:"event"},$conversations_ticket_id:{exposure:"event"},$conversations_widget_state:{exposure:"event"}
109,$conversations_user_traits:{exposure:"event"},[b0]:{exposure:"hidden"},[$7]:{exposure:"hidden"},[B7]:{exposure:"hidden"},[Np]:{exposure:"hidden"},[bs]:{exposure:"hidden"},[U7]:{exposure:"hidden"},[q7]:{exposure:"hidden"},[H7]:{exposure:"hidden"},[G7]:{exposure:"hidden"},[Ip]:{exposure:"hidden"},[Rp]:{exposure:"hidden"},[hO]:{exposure:"event"},[fO]:{exposure:"event"},[pO]:{exposure:"event"},[mO]:{exposure:"event"},[yO]:{exposure:"event"},[vO]:{exposure:"event"},[bO]:{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"}},h0e=[["$posthog_sr_group_event_trigger_",{exposure:"hidden"}],["$posthog_sr_group_url_trigger_",{exposure:"hidden"}],["$posthog_sr_group_sampling_",{exposure:"hidden"}]],Mp=e=>{var t=pe==null?void 0:pe.createElement("a");return me(t)?null:(t.href=e,t)},Op=function(e,t){for(var n,r=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),s=0;r.length>s;s++){var i=r[s].split("=");if(i[0]===t){n=i;break}}if(!it(n)||2>n.length)return"";var a=n[1];try{a=decodeURIComponent(a)}catch{fe.error("Skipping decoding for malformed query param: "+a)}return a.replace(/\+/g," ")},o1=function(e,t,n){if(!e||!t||!t.length)return e;for(var r=e.split("#"),s=r[1],i=(r[0]||"").split("?"),a=i[1],l=i[0],c=(a||"").split("&"),u=[],d=0;c.length>d;d++){var h=c[d].split("=");it(h)&&(t.includes(h[0])?u.push(h[0]+"="+n):u.push(c[d]))}var f=l;return a!=null&&(f+="?"+u.join("&")),s!=null&&(f+="#"+s),f},Dp=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},l2="https?://(.*)",Su=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],f0e=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid",...Su],l1="<masked>",p0e=["li_fat_id"];function SO(e,t,n){if(!pe)return{};var r,s=t?[...Su,...n||[]]:[],i=TO(o1(pe.URL,s,l1),e),a=(r={},It(p0e,function(l){var c=ei.A(l);r[l]=c||null}),r);return Gt(a,i)}function TO(e,t){var n=f0e.concat(t||[]),r={};return It(n,function(s){var i=Op(e,s);r[s]=i||null}),r}function jO(e){var t=function(i){return i?i.search(l2+"google.([^/?]*)")===0?"google":i.search(l2+"bing.com")===0?"bing":i.search(l2+"yahoo.com")===0?"yahoo":i.search(l2+"duckduckgo.com")===0?"duckduckgo":null:null}(e),n=t!="yahoo"?"q":"p",r={};if(!aa(t)){r.$search_engine=t;var s=pe?Op(pe.referrer,n):"";s.length&&(r.ph_keyword=s)}return r}function wT(){return navigator.language||navigator.userLanguage}var Wp="$direct";function CO(){return(pe==null?void 0:pe.referrer)||Wp}function EO(e,t){var n=e?[...Su,...t||[]]:[],r=Sn==null?void 0:Sn.href.substring(0,1e3);return{r:CO().substring(0,1e3),u:r?o1(r,n,l1):void 0}}function zO(e){var t,{r:n,u:r}=e,s={$referrer:n,$referring_domain:n==null?void 0:n==Wp?Wp:(t=Mp(n))==null?void 0:t.host};if(r){s.$current_url=r;var i=Mp(r);s.$host=i==null?void 0:i.host,s.$pathname=i==null?void 0:i.pathname;var a=TO(r);Gt(s,a)}if(n){var l=jO(n);Gt(s,l)}return s}function NO(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function m0e(){try{return new Date().getTimezoneOffset()}catch{return}}var g0e=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class T4{constructor(t,n){this.qt=t,this.props={},this.mr=!1,this.yr=(r=>{var s="";return r.token&&(s=r.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),r.persistence_name?"ph_"+r.persistence_name:"ph_"+s+"_posthog"})(t),this.nr=this.br(t),this.load(),t.debug&&fe.info("Persistence loaded",t.persistence,ue({},this.props)),this.update_config(t,t,n),this.save()}isDisabled(){return!!this._r}br(t){g0e.indexOf(t.persistence.toLowerCase())===-1&&(fe.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var n=function(s){s===void 0&&(s=[]);var i=[...i0e,...s];return ue({},Dt,{F(a){try{var l={};try{l=ei.F(a)||{}}catch{}var c=Gt(l,JSON.parse(Dt.A(a)||"{}"));return Dt.N(a,c),c}catch{}return null},N(a,l,c,u,d,h){try{Dt.N(a,l,void 0,void 0,h);var f={};
109i.forEach(p=>{l[p]&&(f[p]=l[p])}),Object.keys(f).length&&ei.N(a,f,c,u,d,h)}catch(p){Dt.D(p)}},q(a,l){try{Y==null||Y.localStorage.removeItem(a),ei.q(a,l)}catch(c){Dt.D(c)}}})}(t.cookie_persisted_properties||[]),r=t.persistence.toLowerCase();return r==="localstorage"&&Dt.R()?Dt:r==="localstorage+cookie"&&n.R()?n:r==="sessionstorage"&&Tn.R()?Tn:r==="memory"?a0e:r==="cookie"?ei:n.R()?n:ei}wr(t){var n=t??this.qt.feature_flag_cache_ttl_ms;if(!n||0>=n)return!1;var r=this.props[Np];return!r||typeof r!="number"||Date.now()-r>n}properties(){var t={};return It(this.props,(n,r)=>{var s=(i=>{var a=d0e[i];if(a)return a;for(var[l,c]of h0e)if(i.indexOf(l)===0)return c})(r);if((s==null?void 0:s.exposure)==="derived"){if(s.shouldSkipFromEventProperties!=null&&s.shouldSkipFromEventProperties(n,r===Pc?()=>this.wr():()=>!1))return;s.transformToEventProperties&&Gt(t,s.transformToEventProperties(n))}else s&&s.exposure!=="event"||(t[r]=n)}),t}load(){if(!this._r){var t=this.nr.F(this.yr);t&&(this.props=Gt({},t))}}save(){this._r||this.nr.N(this.yr,this.props,this.Sr,this.kr,this.Cr,this.qt.debug)}remove(){this.nr.q(this.yr,!1),this.nr.q(this.yr,!0)}clear(){this.remove(),this.props={}}register_once(t,n,r){if(Vt(t)){me(n)&&(n="None"),this.Sr=me(r)?this.Ir:r;var s=!1;if(It(t,(i,a)=>{this.props.hasOwnProperty(a)&&this.props[a]!==n||(this.Tr(a,i),s=!0)}),s)return this.save(),!0}return!1}register(t,n){if(Vt(t)){this.Sr=me(n)?this.Ir:n;var r=!1;if(It(t,(s,i)=>{t.hasOwnProperty(i)&&this.props[i]!==s&&(this.Tr(i,s),r=!0)}),r)return this.save(),!0}return!1}unregister(t){t in this.props&&(this.Er(t),this.save())}update_campaign_params(){if(!this.mr){var t=SO(this.qt.custom_campaign_params,this.qt.mask_personal_data_properties,this.qt.custom_personal_data_properties);Rc(Yv(t))||this.register(t),this.mr=!0}}update_search_keyword(){var t;this.register((t=pe==null?void 0:pe.referrer)?jO(t):{})}update_referrer_info(){var t;this.register_once({$referrer:CO(),$referring_domain:pe!=null&&pe.referrer&&((t=Mp(pe.referrer))==null?void 0:t.host)||Wp},void 0)}set_initial_person_info(){this.props[H7]||this.props[G7]||this.register_once({[Ip]:EO(this.qt.mask_personal_data_properties,this.qt.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};It([G7,H7],a=>{var l=this.props[a];l&&It(l,function(c,u){t["$initial_"+x7(u)]=c})});var n,r,s=this.props[Ip];if(s){var i=(n=zO(s),r={},It(n,function(a,l){r["$initial_"+x7(l)]=a}),r);Gt(t,i)}return t}safe_merge(t){return It(this.props,function(n,r){r in t||(t[r]=n)}),t}update_config(t,n,r){if(this.Ir=this.Sr=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!r),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==n.persistence||!((a,l)=>{if(a.length!==l.length)return!1;var c=[...a].sort(),u=[...l].sort();return c.every((d,h)=>d===u[h])})(t.cookie_persisted_properties||[],n.cookie_persisted_properties||[])){var s=this.br(t),i=this.props;this.clear(),this.nr=s,this.props=i,this.save()}}set_disabled(t){this._r=t,this._r?this.remove():this.save()}set_cross_subdomain(t){t!==this.kr&&(this.kr=t,this.remove(),this.save())}set_secure(t){t!==this.Cr&&(this.Cr=t,this.remove(),this.save())}set_event_timer(t,n){var r=this.props[Ud]||{};r[t]=n,this.Tr(Ud,r),this.save()}remove_event_timer(t){var n=this.props[Ud]||{},r=n[t];return me(r)||(delete n[t],this.Tr(Ud,n),this.save()),r}get_property(t){return this.props[t]}set_property(t,n){this.Tr(t,n),this.save()}Tr(t,n){this.props[t]=n}Er(t){delete this.props[t]}}var pd={Activation:"events",Cancellation:"cancelEvents"},j4={Popover:"popover",API:"api",Widget:"widget"},Kd={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},C4={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},V7={Popover:"popover",Inline:"inline"},y0e={SHOWN:"product tour shown"},xT={TOUR_LAST_SEEN_DATE:"$product_tour_last_seen_date",TOUR_TYPE:"$product_tour_type"},ST=Lt("[RateLimiter]");class v0e{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=n=>{var r=n.text;
109if(r&&r.length)try{(JSON.parse(r).quota_limited||[]).forEach(s=>{ST.info((s||"events")+" is quota limited."),this.serverLimits[s]=new Date().getTime()+6e4})}catch(s){return void ST.warn('could not rate limit - continuing. Error: "'+(s==null?void 0:s.message)+'"',{text:r})}},this.instance=t,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var t;return((t=this.instance.config.rate_limiting)==null?void 0:t.events_per_second)||10}get captureEventsBurstLimit(){var t;return Math.max(((t=this.instance.config.rate_limiting)==null?void 0:t.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(t){var n,r,s;t===void 0&&(t=!1);var{captureEventsBurstLimit:i,captureEventsPerSecond:a}=this,l=new Date().getTime(),c=(n=(r=this.instance.persistence)==null?void 0:r.get_property(q7))!==null&&n!==void 0?n:{tokens:i,last:l};c.tokens+=(l-c.last)/1e3*a,c.last=l,c.tokens>i&&(c.tokens=i);var u=1>c.tokens;return u||t||(c.tokens=Math.max(0,c.tokens-1)),!u||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+a+" events per second and "+i+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=u,(s=this.instance.persistence)==null||s.set_property(q7,c),{isRateLimited:u,remainingTokens:c.tokens}}isServerRateLimited(t){var n=this.serverLimits[t||"events"]||!1;return n!==!1&&new Date().getTime()<n}}var md=Lt("[RemoteConfig]");class IO{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=we._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}Mr(t){var n,r;(n=we.__PosthogExtensions__)!=null&&n.loadExternalDependency?(r=we.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,"remote-config",()=>t(this.remoteConfig)):t()}Pr(t){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback(n){t(n.json)}})}load(){try{if(this.remoteConfig)return md.info("Using preloaded remote config",this.remoteConfig),this.Rr(this.remoteConfig),void this.Or();if(this._instance.Lr())return void md.warn("Remote config is disabled. Falling back to local config.");this.Mr(t=>{if(!t)return md.info("No config found after loading remote JS config. Falling back to JSON."),void this.Pr(n=>{this.Rr(n),this.Or()});this.Rr(t),this.Or()})}catch(t){md.error("Error loading remote config",t)}}stop(){this.Fr&&(clearInterval(this.Fr),this.Fr=void 0)}refresh(){!this._instance.Lr()&&pe&&pe.visibilityState!=="hidden"&&this._instance.reloadFeatureFlags()}Or(){var t;if(!this.Fr){var n=(t=this._instance.config.remote_config_refresh_interval_ms)!==null&&t!==void 0?t:3e5;n!==0&&(this.Fr=setInterval(()=>{this.refresh()},n))}}Rr(t){var n;t||md.error("Failed to fetch remote config from PostHog."),this._instance.Rr(t??{}),(t==null?void 0:t.hasFeatureFlags)!==!1&&(this._instance.config.advanced_disable_feature_flags_on_first_load||(n=this._instance.featureFlags)==null||n.ensureFlagsLoaded())}}var Js={GZipJS:"gzip-js",Base64:"base64"},ls=Uint8Array,yr=Uint16Array,Tu=Uint32Array,Jv=new ls([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]),Zv=new ls([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]),TT=new ls([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),RO=function(e,t){for(var n=new yr(31),r=0;31>r;++r)n[r]=t+=1<<e[r-1];var s=new Tu(n[30]);for(r=1;30>r;++r)for(var i=n[r];n[r+1]>i;++i)s[i]=i-n[r]<<5|r;return[n,s]},PO=RO(Jv,2),Y7=PO[1];PO[0][28]=258,Y7[258]=28;for(var jT=RO(Zv,0)[1],AO=new yr(32768),Rt=0;32768>Rt;++Rt){var Ul=(43690&Rt)>>>1|(21845&Rt)<<1;AO[Rt]=((65280&(Ul=(61680&(Ul=(52428&Ul)>>>2|(13107&Ul)<<2))>>>4|(3855&Ul)<<4))>>>8|(255&Ul)<<8)>>>1}var _0=function(e,t,n){for(var r=e.length,s=0,i=new yr(t);r>s;++s)++i[e[s]-1];var a,l=new yr(t);for(s=0;t>s;++s)l[s]=l[s-1]+i[s-1]<<1;for(a=new yr(r),s=0;r>s;++s)a[s]=AO[l[e[s]-1]++]>>>15-e[s];return a},ml=new ls(288);for(Rt=0;144>Rt;++Rt)ml[Rt]=8;for(Rt=144;256>Rt;++Rt)ml[Rt]=9;for(Rt=256;280>Rt;++Rt)ml[Rt]=7;for(Rt=280;288>Rt;++Rt)ml[Rt]=8;var Fp=new ls(32);for(Rt=0;32>Rt;++Rt)Fp[Rt]=5;var b0e=_0(ml,9),_0e=_0(Fp,5),LO=function(e){return(e/8>>0)+(7&e&&1)},MO=function(e,t,n){(n==null||n>e.length)&&(n=e.length);var r=new(e instanceof yr?yr:e instanceof Tu?Tu:ls)(n-t);return r.set(e.subarray(t,n)),r},Ci=function(e,t,n){var r=t/8>>0;e[r]|=n<<=7&t,e[r+1]|=n>>>8},gd=function(e,t,n){var r=t/8>>0;e[r]|=n<<=7&t,e[r+1]|=n>>>8,e[r+2]|=n>>>16},E4=function(e,t){for(var n=[],r=0;e.length>r;++r)e[r]&&n.push({s:r,f:e[r]});var s=n.length,i=n.slice();if(!s)return[new ls(0),0];if(s==1){var a=new ls(n[0].s+1);return a[n[0].s]=1,[a,1]}n.sort(function(S,T){return S.f-T.f}),n.push({s:-1,f:25001});var l=n[0],c=n[1],u=0,d=1,h=2;for(n[0]={s:-1,f:l.f+c.f,l,r:c};d!=s-1;)l=n[n[h].f>n[u].f?u++:h++],c=n[u!=d&&n[h].f>n[u].f?u++:h++],n[d++]={s:-1,f:l.f+c.f,l,r:c};var f=i[0].s;for(r=1;s>r;++r)i[r].s>f&&(f=i[r].s);var p=new yr(f+1),m=J7(n[d-1],p,0);if(m>t){r=0;var y=0,_=m-t,g=1<<_;for(i.sort(function(S,T){return p[T.s]-p[S.s]||S.f-T.f});s>r;++r){var b=i[r].s;if(t>=p[b])break;y+=g-(1<<m-p[b]),p[b]=t}for(y>>>=_;y>0;){var k=i[r].s;t>p[k]?y-=1<<t-p[k]++-1:++r}for(;r>=0&&y;--r){var x=i[r].s;p[x]==t&&(--p[x],++y)}m=t}return[new ls(p),m]},J7=function(e,t,n){return e.s==-1?Math.max(J7(e.l,t,n+1),J7(e.r,t,n+1)):t[e.s]=n},CT=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new yr(++t),r=0,s=e[0],i=1,a=function(c){n[r++]=c},l=1;t>=l;++l)if(e[l]==s&&l!=t)++i;else{if(!s&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(s),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(s);i=1,s=e[l]}return[n.subarray(0,r),t]},yd=function(e,t){for(var n=0,r=0;t.length>r;++r)n+=e[r]*t[r];return n},Z7=function(e,t,n){var r=n.length,s=LO(t+2);e[s]=255&r,e[s+1]=r>>>8,e[s+2]=255^e[s],e[s+3]=255^e[s+1];for(var i=0;r>i;++i)e[s+i+4]=n[i];return 8*(s+4+r)},ET=function(e,t,n,r,s,i,a,l,c,u,d){Ci(t,d++,n),++s[256];
vendor: 5,176 bytes, line 109
109for(var h=E4(s,15),f=h[0],p=h[1],m=E4(i,15),y=m[0],_=m[1],g=CT(f),b=g[0],k=g[1],x=CT(y),S=x[0],T=x[1],C=new yr(19),E=0;b.length>E;++E)C[31&b[E]]++;for(E=0;S.length>E;++E)C[31&S[E]]++;for(var N=E4(C,7),j=N[0],I=N[1],P=19;P>4&&!j[TT[P-1]];--P);var O,F,B,$,D=u+5<<3,z=yd(s,ml)+yd(i,Fp)+a,R=yd(s,f)+yd(i,y)+a+14+3*P+yd(C,j)+(2*C[16]+3*C[17]+7*C[18]);if(z>=D&&R>=D)return Z7(t,d,e.subarray(c,c+u));if(Ci(t,d,1+(z>R)),d+=2,z>R){O=_0(f,p),F=f,B=_0(y,_),$=y;var w=_0(j,I);for(Ci(t,d,k-257),Ci(t,d+5,T-1),Ci(t,d+10,P-4),d+=14,E=0;P>E;++E)Ci(t,d+3*E,j[TT[E]]);d+=3*P;for(var L=[b,S],M=0;2>M;++M){var A=L[M];for(E=0;A.length>E;++E)Ci(t,d,w[q=31&A[E]]),d+=j[q],q>15&&(Ci(t,d,A[E]>>>5&127),d+=A[E]>>>12)}}else O=b0e,F=ml,B=_0e,$=Fp;for(E=0;l>E;++E)if(r[E]>255){var q;gd(t,d,O[257+(q=r[E]>>>18&31)]),d+=F[q+257],q>7&&(Ci(t,d,r[E]>>>23&31),d+=Jv[q]);var W=31&r[E];gd(t,d,B[W]),d+=$[W],W>3&&(gd(t,d,r[E]>>>5&8191),d+=Zv[W])}else gd(t,d,O[r[E]]),d+=F[r[E]];return gd(t,d,O[256]),d+F[256]},k0e=new Tu([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),w0e=function(){for(var e=new Tu(256),t=0;256>t;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),z4=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function x0e(e,t){t===void 0&&(t={});var n=function(){var h=4294967295;return{p(f){for(var p=h,m=0;f.length>m;++m)p=w0e[255&p^f[m]]^p>>>8;h=p},d(){return 4294967295^h}}}(),r=e.length;n.p(e);var s,i,a,l,c,u=(l=10+((s=t).filename&&s.filename.length+1||0),c=8,function(h,f,p,m,y,_){var g=h.length,b=new ls(m+g+5*(1+Math.floor(g/7e3))+y),k=b.subarray(m,b.length-y),x=0;if(!f||8>g)for(var S=0;g>=S;S+=65535){var T=S+65535;g>T?x=Z7(k,x,h.subarray(S,T)):(k[S]=!0,x=Z7(k,x,h.subarray(S,g)))}else{for(var C=k0e[f-1],E=C>>>13,N=8191&C,j=(1<<p)-1,I=new yr(32768),P=new yr(j+1),O=Math.ceil(p/3),F=2*O,B=function(ne){return(h[ne]^h[ne+1]<<O^h[ne+2]<<F)&j},$=new Tu(25e3),D=new yr(288),z=new yr(32),R=0,w=0,L=(S=0,0),M=0,A=0;g>S;++S){var q=B(S),W=32767&S,U=P[q];if(I[W]=U,P[q]=W,S>=M){var G=g-S;if((R>7e3||L>24576)&&G>423){x=ET(h,k,0,$,D,z,w,L,A,S-A,x),L=R=w=0,A=S;for(var oe=0;286>oe;++oe)D[oe]=0;for(oe=0;30>oe;++oe)z[oe]=0}var de=2,Ae=0,te=N,be=W-U&32767;if(G>2&&q==B(S-be))for(var Be=Math.min(E,G)-1,He=Math.min(32767,S),Ne=Math.min(258,G);He>=be&&--te&&W!=U;){if(h[S+de]==h[S+de-be]){for(var We=0;Ne>We&&h[S+We]==h[S+We-be];++We);if(We>de){if(de=We,Ae=be,We>Be)break;var re=Math.min(be,We-2),Le=0;for(oe=0;re>oe;++oe){var Ke=S-be+oe+32768&32767,Se=Ke-I[Ke]+32768&32767;Se>Le&&(Le=Se,U=Ke)}}}be+=(W=U)-(U=I[W])+32768&32767}if(Ae){$[L++]=268435456|Y7[de]<<18|jT[Ae];var lt=31&Y7[de],je=31&jT[Ae];w+=Jv[lt]+Zv[je],++D[257+lt],++z[je],M=S+de,++R}else $[L++]=h[S],++D[h[S]]}}x=ET(h,k,!0,$,D,z,w,L,A,S-A,x)}return MO(b,0,m+LO(x)+y)}(i=e,(a=t).level==null?6:a.level,a.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(i.length)))):12+a.mem,l,c)),d=u.length;return function(h,f){var p=f.filename;if(h[0]=31,h[1]=139,h[2]=8,h[8]=2>f.level?4:f.level==9?2:0,h[9]=3,f.mtime!=0&&z4(h,4,Math.floor(new Date(f.mtime||Date.now())/1e3)),p){h[3]=8;for(var m=0;p.length>=m;++m)h[m+10]=p.charCodeAt(m)}}(u,t),z4(u,d-8,n.d()),z4(u,d-4,r),u}var S0e=!!k7||!!_7,OO="text/plain",N4=!1,Z3=function(e,t,n){var r;n===void 0&&(n=!0);var[s,i]=e.split("?"),a=ue({},t),l=(r=i==null?void 0:i.split("&").map(u=>{var d,[h,f]=u.split("="),p=n&&(d=a[h])!==null&&d!==void 0?d:f;return delete a[h],h+"="+p}))!==null&&r!==void 0?r:[],c=function(u,d){var h,f;d===void 0&&(d="&");var p=[];return It(u,function(m,y){me(m)||me(y)||y==="undefined"||(h=encodeURIComponent((_=>_ instanceof File)(m)?m.name:m.toString()),f=encodeURIComponent(y),p[p.length]=f+"="+h)}),p.join(d)}(a);return c&&l.push(c),s+"?"+l.join("&")},Ac=(e,t)=>JSON.stringify(e,(n,r)=>typeof r=="bigint"?r.toString():r,t),I4=e=>{if(e.tr)return e.tr;var{data:t,compression:n}=e;if(t){if(n===Js.GZipJS){var r=x0e(function(l,c){var u=l.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(l);for(var d=new ls(l.length+(l.length>>>1)),h=0,f=function(_){d[h++]=_},p=0;u>p;++p){if(h+5>d.length){var m=new ls(h+8+(u-p<<1));m.set(d),d=m}var y=l.charCodeAt(p);128>y?f(y):2048>y?(f(192|y>>>6),f(128|63&y)):y>55295&&57344>y?(f(240|(y=65536+(1047552&y)|1023&l.charCodeAt(++p))>>>18),f(128|y>>>12&63),f(128|y>>>6&63),f(128|63&y)):(f(224|y>>>12),f(128|y>>>6&63),f(128|63&y))}return MO(d,0,h)}(Ac(t)),{mtime:0});return{contentType:OO,body:r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength),estimatedSize:r.byteLength}}if(n===Js.Base64){var s=function(l){return l&&btoa(encodeURIComponent(l).replace(/%([0-9A-F]{2})/g,(c,u)=>String.fromCharCode(parseInt(u,16))))}(Ac(t)),i=(l=>"data="+encodeURIComponent(typeof l=="string"?l:Ac(l)))(s);return{contentType:"application/x-www-form-urlencoded",body:i,estimatedSize:new Blob([i]).size}}var a=Ac(t);return{contentType:"application/json",body:a,estimatedSize:new Blob([a]).size}}},T0e=function(){var e=zr(function*(t){var n=Ac(t.data),r=yield function(i,a,l){return w7.apply(this,arguments)}(n,Vn.DEBUG,{rethrow:!0});if(!r)return t;var s=yield r.arrayBuffer();return ue({},t,{tr:{contentType:OO,body:s,estimatedSize:s.byteLength}})});return function(t){return e.apply(this,arguments)}}(),zT=(e,t)=>
109Z3(e,{_:new Date().getTime().toString(),ver:Vn.JS_SDK_VERSION,compression:t}),df=[];_7&&df.push({transport:"fetch",method(e){var t,n,{contentType:r,body:s,estimatedSize:i}=(t=I4(e))!==null&&t!==void 0?t:{},a=new Headers;It(e.headers,function(d,h){a.append(h,d)}),r&&a.append("Content-Type",r);var l=e.url,c=null;if(aT){var u=new aT;c={signal:u.signal,timeout:setTimeout(()=>u.abort(),e.timeout)}}_7(l,ue({method:(e==null?void 0:e.method)||"GET",headers:a,keepalive:e.method==="POST"&&52428.8>(i||0),body:s,signal:(n=c)==null?void 0:n.signal},e.fetchOptions)).then(d=>d.text().then(h=>{var f={statusCode:d.status,text:h};if(d.status===200)try{f.json=JSON.parse(h)}catch(p){fe.error(p)}e.callback==null||e.callback(f)})).catch(d=>{fe.error(d),e.callback==null||e.callback({statusCode:0,error:d})}).finally(()=>c?clearTimeout(c.timeout):null)}}),k7&&df.push({transport:"XHR",method(e){var t,n=new k7;n.open(e.method||"GET",e.url,!0);var{contentType:r,body:s}=(t=I4(e))!==null&&t!==void 0?t:{};It(e.headers,function(i,a){n.setRequestHeader(a,i)}),r&&n.setRequestHeader("Content-Type",r),e.timeout&&(n.timeout=e.timeout),e.disableXHRCredentials||(n.withCredentials=!0),n.onreadystatechange=()=>{if(n.readyState===4){var i={statusCode:n.status,text:n.responseText};if(n.status===200)try{i.json=JSON.parse(n.responseText)}catch{}e.callback==null||e.callback(i)}},n.send(s)}}),Ar!=null&&Ar.sendBeacon&&df.push({transport:"sendBeacon",method(e){var t=Z3(e.url,{beacon:"1"});try{var n,{contentType:r,body:s}=(n=I4(e))!==null&&n!==void 0?n:{};if(!s)return;var i=s instanceof Blob?s:new Blob([s],{type:r});Ar.sendBeacon(t,i)}catch{}}});var X7=3e3;class j0e{constructor(t,n){this.Ar=!0,this.Nr=[],this.$r=ii((n==null?void 0:n.flush_interval_ms)||X7,250,5e3,fe.createLogger("flush interval"),X7),this.Dr=t}enqueue(t){this.Nr.push(t),this.qr||this.jr()}unload(){this.Hr();var t=this.Nr.length>0?this.Ur():{},n=Object.values(t);[...n.filter(r=>r.url.indexOf("/e")===0),...n.filter(r=>r.url.indexOf("/e")!==0)].map(r=>{this.Dr(ue({},r,{transport:"sendBeacon"}))})}enable(){this.Ar=!1,this.jr()}jr(){var t=this;this.Ar||(this.qr=setTimeout(()=>{if(this.Hr(),this.Nr.length>0){var n=this.Ur(),r=function(){var i=n[s],a=new Date().getTime();i.data&&it(i.data)&&It(i.data,l=>{l.offset=Math.abs(l.timestamp-a),delete l.timestamp}),t.Dr(i)};for(var s in n)r()}},this.$r))}Hr(){clearTimeout(this.qr),this.qr=void 0}Ur(){var t={};return It(this.Nr,n=>{var r,s=n,i=(s?s.batchKey:null)||s.url;me(t[i])&&(t[i]=ue({},s,{data:[]})),(r=t[i].data)==null||r.push(s.data)}),this.Nr=[],t}}var C0e=["retriesPerformedSoFar"];class E0e{constructor(t){this.Br=!1,this.zr=3e3,this.Nr=[],this._instance=t,this.Nr=[],this.Vr=!0,!me(Y)&&"onLine"in Y.navigator&&(this.Vr=Y.navigator.onLine,this.Wr=()=>{this.Vr=!0,this.Zr()},this.Gr=()=>{this.Vr=!1},Zt(Y,"online",this.Wr),Zt(Y,"offline",this.Gr))}get length(){return this.Nr.length}retriableRequest(t){var{retriesPerformedSoFar:n}=t,r=WM(t,C0e);oc(n)&&(r.url=Z3(r.url,{retry_count:n})),this._instance._send_request(ue({},r,{callback:s=>{s.statusCode===200||s.statusCode>=400&&500>s.statusCode||(n??0)>=10?r.callback==null||r.callback(s):this.Qr(ue({retriesPerformedSoFar:n},r))}}))}Qr(t){var n=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=n+1;var r=function(a){var l=3e3*Math.pow(2,a),c=l/2,u=Math.min(18e5,l),d=Math.random()-.5;return Math.ceil(u+d*(u-c))}(n),s=Date.now()+r;this.Nr.push({retryAt:s,requestOptions:t});var i="Enqueued failed request for retry in "+r;navigator.onLine||(i+=" (Browser is offline)"),fe.warn(i),this.Br||(this.Br=!0,this.Jr())}Jr(){if(this.Kr&&clearTimeout(this.Kr),this.Nr.length===0)return this.Br=!1,void(this.Kr=void 0);this.Kr=setTimeout(()=>{this.Vr&&this.Nr.length>0&&this.Zr(),this.Jr()},this.zr)}Zr(){var t=Date.now(),n=[],r=this.Nr.filter(i=>t>i.retryAt||(n.push(i),!1));if(this.Nr=n,r.length>0)for(var{requestOptions:s}of r)this.retriableRequest(s)}unload(){for(var{requestOptions:t}of(this.Kr&&(clearTimeout(this.Kr),this.Kr=void 0),this.Br=!1,me(Y)||(this.Wr&&(Y.removeEventListener("online",this.Wr),this.Wr=void 0),this.Gr&&(Y.removeEventListener("offline",this.Gr),this.Gr=void 0)),this.Nr))try{this._instance._send_request(ue({},t,{transport:"sendBeacon"}))}catch(n){fe.error(n)}this.Nr=[]}}class z0e{constructor(t){this.Yr=()=>{var n,r,s,i;this.Xr||(this.Xr={});var a=this.scrollElement(),l=this.scrollY(),c=a?Math.max(0,a.scrollHeight-a.clientHeight):0,u=l+((a==null?void 0:a.clientHeight)||0),d=(a==null?void 0:a.scrollHeight)||0;this.Xr.lastScrollY=Math.ceil(l),this.Xr.maxScrollY=Math.max(l,(n=this.Xr.maxScrollY)!==null&&n!==void 0?n:0),this.Xr.maxScrollHeight=Math.max(c,(r=this.Xr.maxScrollHeight)!==null&&r!==void 0?r:0),this.Xr.lastContentY=u,this.Xr.maxContentY=Math.max(u,(s=this.Xr.maxContentY)!==null&&s!==void 0?s:0),this.Xr.maxContentHeight=Math.max(d,(i=this.Xr.maxContentHeight)!==null&&i!==void 0?i:0)},this._instance=t}get ei(){return this._instance.config.scroll_root_selector}getContext(){return this.Xr}resetContext(){var t=this.Xr;return setTimeout(this.Yr,0),t}startMeasuringScrollPosition(){Zt(Y,"scroll",this.Yr,{capture:!0}),Zt(Y,"scrollend",this.Yr,{capture:!0}),Zt(Y,"resize",this.Yr)}scrollElement(){if(!this.ei)return Y==null?void 0:Y.document.documentElement;var t=it(this.ei)?this.ei:[this.ei];for(var n of t){var r=Y==null?void 0:Y.document.querySelector(n);if(r)return r}}scrollY(){if(this.ei){var t=this.scrollElement();return t&&t.scrollTop||0}return Y&&(Y.scrollY||Y.pageYOffset||Y.document.documentElement.scrollTop)||0}scrollX(){if(this.ei){var t=this.scrollElement();return t&&t.scrollLeft||0}return Y&&(Y.scrollX||Y.pageXOffset||Y.document.documentElement.scrollLeft)||0}}var N0e=e=>EO(e==null?void 0:e.config.mask_personal_data_properties,e==null?void 0:e.config.custom_personal_data_properties);class NT{constructor(t,n,r,s){this.ti=i=>{var a=this.ri();if(!a||a.sessionId!==i){var l={sessionId:i,props:this.ii(this._instance)};this.ni.register({[U7]:l})}},this._instance=t,this.si=n,this.ni=r,this.ii=s||N0e,this.si.onSessionId(this.ti)}ri(){return this.ni.props[U7]}getSetOnceProps(){var t,n=(t=this.ri())==null?void 0:t.props;return n?"r"in n?zO(n):{$referring_domain:n.referringDomain,$pathname:n.initialPathName,utm_source:n.utm_source,utm_campaign:n.utm_campaign,utm_medium:n.utm_medium,utm_content:n.utm_content,utm_term:n.utm_term}:{}}getSessionProps(){var t={};return It(Yv(this.getSetOnceProps()),(n,r)=>{r==="$current_url"&&(r="url"),t["$session_entry_"+x7(r)]=n}),t}}
vendor: 4,118 bytes, line 109
109class Xv{constructor(){this.oi={}}on(t,n){return this.oi[t]||(this.oi[t]=[]),this.oi[t].push(n),()=>{this.oi[t]=this.oi[t].filter(r=>r!==n)}}emit(t,n){for(var r of this.oi[t]||[])r(n);for(var s of this.oi["*"]||[])s(t,n)}}var R4=Lt("[SessionId]");class IT{on(t,n){return this.ai.on(t,n)}constructor(t,n,r){var s;if(this.ui=[],this.li=void 0,this.ai=new Xv,this.hi=(u,d)=>!(!oc(u)||!oc(d))&&Math.abs(u-d)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode===Wi)throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.qt=t.config,this.ni=t.persistence,this.ci=void 0,this.di=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.vi=n||Na,this.fi=r||Na;var i=this.qt.persistence_name||this.qt.token;if(this._sessionTimeoutMs=1e3*ii(this.qt.session_idle_timeout_seconds||1800,60,36e3,R4.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.pi(),this.gi="ph_"+i+"_window_id",this.mi="ph_"+i+"_primary_window_exists",this.yi()){var a=Tn.F(this.gi),l=Tn.F(this.mi);a&&!l?this.ci=a:Tn.q(this.gi),Tn.N(this.mi,!0)}if((s=this.qt.bootstrap)!=null&&s.sessionID)try{var c=(u=>{var d=this.qt.bootstrap.sessionID.replace(/-/g,"");if(d.length!==32)throw new Error("Not a valid UUID");if(d[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(d.substring(0,12),16)})();this.bi(this.qt.bootstrap.sessionID,new Date().getTime(),c)}catch(u){R4.error("Invalid sessionID in bootstrap",u)}this.wi()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return me(this.ui)&&(this.ui=[]),this.ui.push(t),this.di&&t(this.di,this.ci),()=>{this.ui=this.ui.filter(n=>n!==t)}}yi(){return this.qt.persistence!=="memory"&&!this.ni._r&&Tn.R()}xi(t){t!==this.ci&&(this.ci=t,this.yi()&&Tn.N(this.gi,t))}Si(){return this.ci?this.ci:this.yi()?Tn.F(this.gi):null}bi(t,n,r){t===this.di&&n===this._sessionActivityTimestamp&&r===this._sessionStartTimestamp||(this._sessionStartTimestamp=r,this._sessionActivityTimestamp=n,this.di=t,this.ni.register({[zp]:[n,t,r]}))}ki(){var t=this.ni.props[zp];return it(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.bi(null,null,null)}destroy(){clearTimeout(this.Ci),this.Ci=void 0,this.li&&Y&&(Y.removeEventListener(Ap,this.li,{capture:!1}),this.li=void 0),this.ui=[]}wi(){this.li=()=>{this.yi()&&Tn.q(this.mi)},Zt(Y,Ap,this.li,{capture:!1})}checkAndGetSessionAndWindowId(t,n){if(t===void 0&&(t=!1),n===void 0&&(n=null),this.qt.cookieless_mode===Wi)throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var r=n||new Date().getTime(),[s,i,a]=this.ki(),l=this.Si(),c=oc(a)&&Math.abs(r-a)>864e5,u=!1,d=!i,h=!d&&!t&&this.hi(r,s);d||h||c?(i=this.vi(),l=this.fi(),R4.info("new session ID generated",{sessionId:i,windowId:l,changeReason:{noSessionId:d,activityTimeout:h,sessionPastMaximumLength:c}}),a=r,u=!0):l||(l=this.fi(),u=!0);var f=oc(s)&&t&&!c?s:r,p=oc(a)?a:new Date().getTime();return this.xi(l),this.bi(i,f,p),t||this.pi(),u&&this.ui.forEach(m=>m(i,l,u?{noSessionId:d,activityTimeout:h,sessionPastMaximumLength:c}:void 0)),{sessionId:i,windowId:l,sessionStartTimestamp:p,changeReason:u?{noSessionId:d,activityTimeout:h,sessionPastMaximumLength:c}:void 0,lastActivityTimestamp:s}}pi(){clearTimeout(this.Ci),this.Ci=setTimeout(()=>{var[t]=this.ki();if(this.hi(new Date().getTime(),t)){var n=this.di;this.resetSessionId(),this.ai.emit("forcedIdleReset",{idleSessionId:n})}},1.1*this.sessionTimeoutMs)}}var DO=function(e,t){if(!e)return!1;var n=e.userAgent;if(n&&uT(n,t))return!0;try{var r=e==null?void 0:e.userAgentData;if(r!=null&&r.brands&&r.brands.some(s=>uT(s==null?void 0:s.brand,t)))return!0}catch{}return!!e.webdriver},$p=function(e,t){if(!function(n){try{new RegExp(n)}catch{return!1}return!0}(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function RT(e,t,n){return Ac({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:n})}var WO={exact:(e,t)=>t.some(n=>e.some(r=>n===r)),is_not:(e,t)=>
109t.every(n=>e.every(r=>n!==r)),regex:(e,t)=>t.some(n=>e.some(r=>$p(n,r))),not_regex:(e,t)=>t.every(n=>e.every(r=>!$p(n,r))),icontains:(e,t)=>t.map(c2).some(n=>e.map(c2).some(r=>n.includes(r))),not_icontains:(e,t)=>t.map(c2).every(n=>e.map(c2).every(r=>!n.includes(r))),gt:(e,t)=>t.some(n=>{var r=parseFloat(n);return!isNaN(r)&&e.some(s=>r>parseFloat(s))}),lt:(e,t)=>t.some(n=>{var r=parseFloat(n);return!isNaN(r)&&e.some(s=>r<parseFloat(s))})},c2=e=>e.toLowerCase();function FO(e,t){return!e||Object.entries(e).every(n=>{var[r,s]=n,i=t==null?void 0:t[r];if(me(i)||aa(i))return!1;var a=[String(i)],l=WO[s.operator];return!!l&&l(s.values,a)})}var Q7="custom",PT="i.posthog.com",I0e=/^\/static\//;class R0e{constructor(t){this.Ii={},this.instance=t}get apiHost(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}get flagsApiHost(){var t=this.instance.config.flags_api_host;return t?t.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var t,n=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return n||(n=this.apiHost.replace("."+PT,".posthog.com")),n==="https://app.posthog.com"?"https://us.posthog.com":n}get region(){return this.Ii[this.apiHost]||(this.Ii[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":Q7),this.Ii[this.apiHost]}Ti(t){var n=this.instance.config.__preview_external_dependency_versioned_paths;if(typeof n=="string"&&I0e.test(t))return n.trim().replace(/\/$/,"")||void 0}endpointFor(t,n){if(n===void 0&&(n=""),n&&(n=n[0]==="/"?n:"/"+n),t==="ui")return this.uiHost+n;if(t==="flags")return this.flagsApiHost+n;if(t==="assets"){var r=this.Ti(n);if(r)return""+r+n}if(this.region===Q7)return this.apiHost+n;var s=PT+n;switch(t){case"assets":return"https://"+this.region+"-assets."+s;case"api":return"https://"+this.region+"."+s}}}var gt=Lt("[Surveys]"),e9="seenSurvey_",P0e=[j4.Popover,j4.Widget,j4.API],A0e={ignoreConditions:!1,ignoreDelay:!1,displayType:V7.Popover},L0e=Lt("[PostHog ExternalIntegrations]"),M0e={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class O0e{constructor(t){this._instance=t}lr(t,n){var r;(r=we.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,t,s=>{if(s)return L0e.error("failed to load script",s);n()})}startIfEnabledOrStop(){var t=this,n=function(a){var l,c,u;!s||(l=we.__PosthogExtensions__)!=null&&(l=l.integrations)!=null&&l[a]||t.lr(M0e[a],()=>{var d;(d=we.__PosthogExtensions__)==null||(d=d.integrations)==null||(d=d[a])==null||d.start(t._instance)}),!s&&(c=we.__PosthogExtensions__)!=null&&(c=c.integrations)!=null&&c[a]&&((u=we.__PosthogExtensions__)==null||(u=u.integrations)==null||(u=u[a])==null||u.stop())};for(var[r,s]of Object.entries((i=this._instance.config.integrations)!==null&&i!==void 0?i:{})){var i;n(r)}}}var ql,k0={},P4=0,t9=()=>{},AT='Consent opt in/out is not valid with cookieless_mode="always" and will be ignored',vd="Surveys module not available",LT="sanitize_properties is deprecated. Use before_send instead",$O="Invalid value for property_denylist config: ",uc="posthog",BO=!S0e&&(hr==null?void 0:hr.indexOf("MSIE"))===-1&&(hr==null?void 0:hr.indexOf("Mozilla"))===-1,MT=e=>{var t;return ue({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:e0e(pe==null?void 0:pe.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:t9,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:e??"unset",__preview_deferred_init_extensions:!1,__preview_external_dependency_versioned_paths:!1,debug:Sn&&Wt(Sn==null?void 0:Sn.search)&&Sn.search.indexOf("__posthog_debug=true")!==-1||!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,enable_recording_console_log:void 0,secure_cookie:(Y==null||(t=Y.location)==null?void 0:t.protocol)==="https:",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(n){fe.error("Bad HTTP status: "+n.statusCode+" "+n.text)},get_device_id:n=>n,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:K7,before_send:void 0,request_queue_config:{flush_interval_ms:X7},error_tracking:{},_onCapture:t9,__preview_eager_load_replay:!1},(n=>({rageclick:!n||"2025-11-30">n||{content_ignorelist:!0},capture_pageview:!n||"2025-05-24">n||"history_change",session_recording:n&&n>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:n&&n>="2026-01-30"?"head":"body",internal_or_test_user_hostname:n&&n>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},D0e=[["process_person","person_profiles"],["xhr_headers","request_headers"],["cookie_name","persistence_name"],["disable_cookie","disable_persistence"],["store_google","save_campaign_params"],["verbose","debug"]],OT=e=>{var t={};for(var[n,r]of D0e)me(e[n])||(t[r]=e[n]);var s=Gt({},t,e);return it(e.property_blacklist)&&(me(e.property_denylist)?s.property_denylist=e.property_blacklist:it(e.property_denylist)?s.property_denylist=[...e.property_blacklist,...e.property_denylist]:fe.error($O+e.property_denylist)),s};class W0e{constructor(){this.__forceAllowLocalhost=!1}get Ei(){return this.__forceAllowLocalhost}set Ei(t){fe.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class rs{Mi(t,n){if(t){var r=this.Pi.indexOf(t);r!==-1&&this.Pi.splice(r,1)}return this.Pi.push(n),n.initialize==null||n.initialize(),n}Ri(){return this.config.cookieless_mode===Wi||this.config.cookieless_mode===Ao&&this.consent.isRejected()}get decideEndpointWasHit(){var t,n;return(t=(n=this.featureFlags)==null?void 0:n.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,n;return(t=(n=this.featureFlags)==null?void 0:n.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){var t;
109this.webPerformance=new W0e,this.Oi=!1,this.version=Vn.LIB_VERSION,this.Li=new Xv,this.Pi=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=MT(),this.SentryIntegration=u0e,this.sentryIntegration=r=>function(s,i){var a=xO(s,i);return{name:wO,processEvent:l=>a(l)}}(this,r),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.Fi=!1,this.Ai=null,this.Ni=null,this.$i=null,this.scrollManager=new z0e(this),this.pageViewManager=new kT(this),this.rateLimiter=new v0e(this),this.requestRouter=new R0e(this),this.consent=new o0e(this),this.externalIntegrations=new O0e(this);var n=(t=rs.__defaultExtensionClasses)!==null&&t!==void 0?t:{};this.featureFlags=n.featureFlags&&new n.featureFlags(this),this.toolbar=n.toolbar&&new n.toolbar(this),this.surveys=n.surveys&&new n.surveys(this),this.conversations=n.conversations&&new n.conversations(this),this.logs=n.logs&&new n.logs(this),this.experiments=n.experiments&&new n.experiments(this),this.exceptions=n.exceptions&&new n.exceptions(this),this.people={set:(r,s,i)=>{var a=Wt(r)?{[r]:s}:r;this.setPersonProperties(a),i==null||i({})},set_once:(r,s,i)=>{var a=Wt(r)?{[r]:s}:r;this.setPersonProperties(void 0,a),i==null||i({})}},this.on("eventCaptured",r=>fe.info('send "'+(r==null?void 0:r.event)+'"',r))}init(t,n,r){if(r&&r!==uc){var s,i=(s=k0[r])!==null&&s!==void 0?s:new rs;return i._init(t,n,r),k0[r]=i,k0[uc][r]=i,i}return this._init(t,n,r)}_init(t,n,r){var s,i;if(n===void 0&&(n={}),me(t)||of(t))return fe.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={},n.debug=this.Di(n.debug),this.qi=n,this.ji=[],n.person_profiles?this.Ni=n.person_profiles:n.process_person&&(this.Ni=n.process_person),this.set_config(Gt({},MT(n.defaults),OT(n),{name:r,token:t})),this.config.on_xhr_error&&fe.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=n.disable_compression?void 0:Js.GZipJS;var a=this.Hi();this.persistence=new T4(this.config,a),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new T4(ue({},this.config,{persistence:"sessionStorage"}),a);var l=ue({},this.persistence.props),c=ue({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Ui=new j0e(_=>this.Bi(_),this.config.request_queue_config),this.zi=new E0e(this),this.__request_queue=[];var u=this.Ri();if(u||(this.sessionManager=new IT(this),this.sessionPropsManager=new NT(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(fe.info("Deferring extension initialization to improve startup performance"),setTimeout(()=>{this.Vi(u)},0)):(fe.info("Initializing extensions synchronously"),this.Vi(u)),Vn.DEBUG=Vn.DEBUG||this.config.debug,Vn.DEBUG&&fe.info("Starting in debug mode",{this:this,config:n,thisC:ue({},this.config),p:l,s:c}),!this.config.identity_distinct_id||(s=n.bootstrap)!=null&&s.distinctID||(n.bootstrap=ue({},n.bootstrap,{distinctID:this.config.identity_distinct_id,isIdentifiedID:!0})),((i=n.bootstrap)==null?void 0:i.distinctID)!==void 0){var d=n.bootstrap.distinctID,h=this.get_distinct_id(),f=this.persistence.get_property(bs);if(n.bootstrap.isIdentifiedID&&h!=null&&h!==d&&f===$l)this.identify(d);else if(n.bootstrap.isIdentifiedID&&h!=null&&h!==d&&f===Bl)fe.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 p=this.config.get_device_id(Na()),m=n.bootstrap.isIdentifiedID?p:d;this.persistence.set_property(bs,n.bootstrap.isIdentifiedID?Bl:$l),this.register({distinct_id:d,$device_id:m})}}if(u)this.register_once({distinct_id:s2,$device_id:null},"");else if(!this.get_distinct_id()){var y=this.config.get_device_id(Na());this.register_once({distinct_id:y,$device_id:y},""),this.persistence.set_property(bs,$l)}return Zt(Y,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),n.segment?function(_,g){var b=_.config.segment;if(!b)return g();(function(k,x){var S=k.config.segment;if(!S)return x();var T=E=>{var N=()=>E.anonymousId()||Na();k.config.get_device_id=N,E.id()&&(k.register({distinct_id:E.id(),$device_id:N()}),k.persistence.set_property(bs,Bl)),x()},C=S.user();"then"in C&&Mi(C.then)?C.then(T):T(C)})(_,()=>{b.register((k=>{Promise&&Promise.resolve||S4.warn("This browser does not have Promise support, and can not use the segment integration");var x=(S,T)=>{if(!T)return S;S.event.userId||S.event.anonymousId===k.get_distinct_id()||(S4.info("No userId set, resetting PostHog"),k.reset()),S.event.userId&&S.event.userId!==k.get_distinct_id()&&(S4.info("UserId set, identifying with PostHog"),k.identify(S.event.userId)
109);var C=k.calculateEventProperties(T,S.event.properties);return S.event.properties=Object.assign({},C,S.event.properties),S};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:S=>x(S,S.event.event),page:S=>x(S,cc),identify:S=>x(S,w4),screen:S=>x(S,"$screen")}})(_)).then(()=>{g()})})}(this,()=>this.Wi()):this.Wi(),Mi(this.config._onCapture)&&this.config._onCapture!==t9&&(fe.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",_=>this.config._onCapture(_.event,_))),this.config.ip&&fe.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}Vi(t){var n,r,s,i,a,l,c,u=performance.now(),d=ue({},rs.__defaultExtensionClasses,this.config.__extensionClasses),h=[];d.featureFlags&&this.Pi.push(this.featureFlags=(n=this.featureFlags)!==null&&n!==void 0?n:new d.featureFlags(this)),d.exceptions&&this.Pi.push(this.exceptions=(r=this.exceptions)!==null&&r!==void 0?r:new d.exceptions(this)),d.historyAutocapture&&this.Pi.push(this.historyAutocapture=new d.historyAutocapture(this)),d.tracingHeaders&&this.Pi.push(new d.tracingHeaders(this)),d.siteApps&&this.Pi.push(this.siteApps=new d.siteApps(this)),d.sessionRecording&&!t&&this.Pi.push(this.sessionRecording=new d.sessionRecording(this)),this.config.disable_scroll_properties||h.push(()=>{this.scrollManager.startMeasuringScrollPosition()}),d.autocapture&&this.Pi.push(this.autocapture=new d.autocapture(this)),d.surveys&&this.Pi.push(this.surveys=(s=this.surveys)!==null&&s!==void 0?s:new d.surveys(this)),d.logs&&this.Pi.push(this.logs=(i=this.logs)!==null&&i!==void 0?i:new d.logs(this)),d.conversations&&this.Pi.push(this.conversations=(a=this.conversations)!==null&&a!==void 0?a:new d.conversations(this)),d.productTours&&this.Pi.push(this.productTours=new d.productTours(this)),d.heatmaps&&this.Pi.push(this.heatmaps=new d.heatmaps(this)),d.webVitalsAutocapture&&this.Pi.push(this.webVitalsAutocapture=new d.webVitalsAutocapture(this)),d.exceptionObserver&&this.Pi.push(this.exceptionObserver=new d.exceptionObserver(this)),d.deadClicksAutocapture&&this.Pi.push(this.deadClicksAutocapture=new d.deadClicksAutocapture(this,c0e)),d.toolbar&&this.Pi.push(this.toolbar=(l=this.toolbar)!==null&&l!==void 0?l:new d.toolbar(this)),d.experiments&&this.Pi.push(this.experiments=(c=this.experiments)!==null&&c!==void 0?c:new d.experiments(this)),this.Pi.forEach(f=>{f.initialize&&h.push(()=>{f.initialize==null||f.initialize()})}),h.push(()=>{if(this.Zi){var f=this.Zi;this.Zi=void 0,this.Rr(f)}}),this.Gi(h,u)}Gi(t,n){for(;t.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-n>=30&&t.length>0)return void setTimeout(()=>{this.Gi(t,n)},0);var r=t.shift();if(r)try{r()}catch(i){fe.error("Error initializing extension:",i)}}var s=Math.round(performance.now()-n);this.register_for_session({[yO]:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",[vO]:s}),this.config.__preview_deferred_init_extensions&&fe.info("PostHog extensions initialized ("+s+"ms)")}Rr(t){var n;if(!pe||!pe.body)return fe.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(()=>{this.Rr(t)},500);this.config.__preview_deferred_init_extensions&&(this.Zi=t),this.Qi=t,this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=Ve(t.supportedCompression,Js.GZipJS)?Js.GZipJS:Ve(t.supportedCompression,Js.Base64)?Js.Base64:void 0),(n=t.analytics)!=null&&n.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Ni?this.Ni:K7}),this.Pi.forEach(r=>r.onRemoteConfig==null?void 0:r.onRemoteConfig(t))}Wi(){try{this.config.loaded(this)}catch(r){fe.critical("`loaded` function failed",r)}if(this.Ji(),this.config.internal_or_test_user_hostname&&Sn!=null&&Sn.hostname){var t=Sn.hostname,n=this.config.internal_or_test_user_hostname;(typeof n=="string"?t===n:n.test(t))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout(()=>{(this.consent.isOptedIn()||this.Ri())&&this.Ki()},1),this.Yi=new IO(this),this.Yi.load()}Ji(){var t;this.is_capturing()&&this.config.request_batching&&((t=this.Ui)==null||t.enable())}_dom_loaded(){this.is_capturing()&&i2(this.__request_queue,t=>this.Bi(t)),this.__request_queue=[],this.Ji()}_handle_unload(){var t,n,r,s;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Xi()&&this.capture(k4),(n=this.logs)==null||n.flushLogs("sendBeacon"),(r=this.Ui)==null||r.unload(),(s=this.zi)==null||s.unload()):this.Xi()&&this.capture(k4,null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&(BO?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=Z3(t.url,{ip:this.config.ip?1:0}),t.headers=ue({},this.config.request_headers,t.headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(t.disableTransport=["sendBeacon"]),t.fetchOptions=t.fetchOptions||this.config.fetch_options,
109(n=>{var r,s,i,a=ue({},n);a.timeout=a.timeout||6e4,a.url=zT(a.url,a.compression);var l=(r=a.transport)!==null&&r!==void 0?r:"fetch",c=df.filter(d=>!a.disableTransport||!d.transport||!a.disableTransport.includes(d.transport)),u=(s=(i=function(d,h){for(var f=0;d.length>f;f++)if(d[f].transport===l)return d[f]}(c))==null?void 0:i.method)!==null&&s!==void 0?s:c[0].method;if(!u)throw new Error("No available transport method");l!=="sendBeacon"&&a.data&&a.compression===Js.GZipJS&&cde&&!N4?T0e(a).then(d=>{u(d)}).catch(d=>{if(cT(d))return N4=!0,void u(ue({},a,{compression:void 0,url:zT(n.url,void 0)}));(h=>{if(!h||typeof h!="object")return!1;var f="name"in h?String(h.name):"";return cT(h)||f===FM})(d)&&(N4=!0),u(a)}):u(a)})(ue({},t,{callback:n=>{var r,s;this.rateLimiter.checkForLimiting(n),400>n.statusCode||(r=(s=this.config).on_request_error)==null||r.call(s,n),t.callback==null||t.callback(n)}}))))}Bi(t){this.zi?this.zi.retriableRequest(t):this._send_request(t)}_execute_array(t){P4++;try{var n,r=[],s=[],i=[];i2(t,l=>{if(l)if(it(n=l[0]))i.push(l);else if(Mi(l))try{l.call(this)}catch(c){fe.error("Error executing queued PostHog call",l,c)}else it(l)&&n==="alias"?r.push(l):it(l)&&n.indexOf("capture")!==-1&&Mi(this[n])?i.push(l):s.push(l)});var a=function(l,c){i2(l,function(u){try{if(it(u[0])){var d=c;It(u,function(h){d=d[h[0]].apply(d,h.slice(1))})}else c[u[0]].apply(c,u.slice(1))}catch(h){fe.error("Error executing queued PostHog call",u,h)}})};a(r,this),a(s,this),a(i,this)}finally{P4--}}push(t){if(P4>0&&it(t)&&Wt(t[0])){var n=rs.prototype[t[0]];Mi(n)&&n.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,n,r){var s,i,a,l,c;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Ui){if(this.is_capturing())if(!me(t)&&Wt(t)){var u=!this.config.opt_out_useragent_filter&&this._is_bot();if(!u||this.config.__preview_capture_bot_pageviews){var d=r!=null&&r.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(d==null||!d.isRateLimited){n!=null&&n.$current_url&&!Wt(n==null?void 0:n.$current_url)&&(fe.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),n==null||delete n.$current_url),t!=="$exception"||r!=null&&r.en||fe.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 h=new Date,f=(r==null?void 0:r.timestamp)||h,p=(r==null?void 0:r.uuid)||Na(),m={uuid:p,event:t,properties:this.calculateEventProperties(t,n||{},f,p)};t===cc&&this.config.__preview_capture_bot_pageviews&&u&&(m.event="$bot_pageview",m.properties.$browser_type="bot"),d&&(m.properties.$lib_rate_limit_remaining_tokens=d.remainingTokens),r!=null&&r.$set&&(m.$set=r==null?void 0:r.$set);var y,_,g,b=this.tn(r==null?void 0:r.$set_once,t!==yT,t===w4);if(b&&(m.$set_once=b),r!=null&&r._noTruncate||(i=this.config.properties_string_max_length,a=m,l=N=>Wt(N)?N.slice(0,i):N,c=new Set,m=function N(j,I){return j!==Object(j)?l?l(j):j:c.has(j)?void 0:(c.add(j),it(j)?(P=[],i2(j,O=>{P.push(N(O))})):(P={},It(j,(O,F)=>{c.has(O)||(P[F]=N(O))})),P);var P}(a)),m.timestamp=f,me(r==null?void 0:r.timestamp)||(m.properties.$event_time_override_provided=!0,m.properties.$event_time_override_system_time=h),t===Kd.DISMISSED||t===Kd.SENT){var k=n==null?void 0:n[C4.SURVEY_ID],x=n==null?void 0:n[C4.SURVEY_ITERATION];(N=>{try{var j=(I=>((P,O)=>{var F=""+e9+O.id;return O.current_iteration&&O.current_iteration>0&&(F=""+e9+O.id+"_"+O.current_iteration),F})(0,I))(N);if(localStorage.getItem(j))return;localStorage.setItem(j,"true")}catch(I){gt.error("Failed to persist survey seen state",I)}})({id:k,current_iteration:x}),m.$set=ue({},m.$set,{[(y={id:k,current_iteration:x},_=t===Kd.SENT?"responded":"dismissed",g="$survey_"+_+"/"+y.id,y.current_iteration&&y.current_iteration>0&&(g="$survey_"+_+"/"+y.id+"/"+y.current_iteration),g)]:!0})}else t===Kd.SHOWN&&(m.$set=ue({},m.$set,{[C4.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===y0e.SHOWN){var S=n==null?void 0:n[xT.TOUR_TYPE];S&&(m.$set=ue({},m.$set,{[xT.TOUR_LAST_SEEN_DATE+"/"+S]:new Date().toISOString()}))}var T=ue({},m.properties.$set,m.$set);if(Rc(T)||this.setPersonPropertiesForFlags(T),!Ye(this.config.before_send)){var C=this.rn(m);if(!C)return;m=C}this.Li.emit("eventCaptured",m);var E={method:"POST",url:(s=r==null?void 0:r._url)!==null&&s!==void 0?s:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:m,compression:"best-available",batchKey:r==null?void 0:r._batchKey};return!this.config.request_batching||r&&(r==null||!r._batchKey)||r!=null&&r.send_instantly?this.Bi(E):this.Ui.enqueue(E),m}fe.critical("This capture call is ignored due to client rate limiting.")}}else fe.error("No event name provided to posthog.capture")}else fe.uninitializedWarning("posthog.capture")}_addCaptureHook(t){return this.on("eventCaptured",n=>t(n.event,n))}calculateEventProperties(t,n,r,s,i){if(r=r||new Date,!this.persistence||!this.sessionPersistence)return n;var a=i?void 0:this.persistence.remove_event_timer(t),l=ue({},n);if(l.token=this.config.token,l.$config_defaults=this.config.defaults,this.Ri()&&(l.$cookieless_mode=!0),t==="$snapshot"){var c=ue({},this.persistence.properties(),this.sessionPersistence.properties());return l.distinct_id=c.distinct_id,(!Wt(l.distinct_id)&&!fs(l.distinct_id)||of(l.distinct_id))&&fe.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),l}var u,d=function(g,b){var k,x,S,T;if(!hr)return{};var C,E,N,j,I,P,O,F,B=g?[...Su,...b||[]]:[],[$,D]=function(z){for(var R=0;fT.length>R;R++){var[w,L]=fT[R],M=w.exec(z),A=M&&(Mi(L)?L(M,z):L);if(A)return A}return["",""]}(hr);
109return Gt(Yv({$os:$,$os_version:D,$browser:iO(hr,navigator.vendor),$device:pT(hr),$device_type:(E=hr,N={userAgentDataPlatform:(k=navigator)==null||(k=k.userAgentData)==null?void 0:k.platform,maxTouchPoints:(x=navigator)==null?void 0:x.maxTouchPoints,screenWidth:Y==null||(S=Y.screen)==null?void 0:S.width,screenHeight:Y==null||(T=Y.screen)==null?void 0:T.height,devicePixelRatio:Y==null?void 0:Y.devicePixelRatio},F=pT(E),F===HM||F===qM||F==="Kobo"||F==="Kindle Fire"||F===sO?ku:F===i1||F===Xc||F===a1||F===T7?"Console":F===KM?"Wearable":F?Wr:(N==null?void 0:N.userAgentDataPlatform)==="Android"&&((j=N==null?void 0:N.maxTouchPoints)!==null&&j!==void 0?j:0)>0?600>Math.min((I=N==null?void 0:N.screenWidth)!==null&&I!==void 0?I:0,(P=N==null?void 0:N.screenHeight)!==null&&P!==void 0?P:0)/((O=N==null?void 0:N.devicePixelRatio)!==null&&O!==void 0?O:1)?Wr:ku:"Desktop"),$timezone:NO(),$timezone_offset:m0e()}),{$current_url:o1(Sn==null?void 0:Sn.href,B,l1),$host:Sn==null?void 0:Sn.host,$pathname:Sn==null?void 0:Sn.pathname,$raw_user_agent:hr.length>1e3?hr.substring(0,997)+"...":hr,$browser_version:jde(hr,navigator.vendor),$browser_language:wT(),$browser_language_prefix:(C=wT(),typeof C=="string"?C.split("-")[0]:void 0),$screen_height:Y==null?void 0:Y.screen.height,$screen_width:Y==null?void 0:Y.screen.width,$viewport_height:Y==null?void 0:Y.innerHeight,$viewport_width:Y==null?void 0:Y.innerWidth,$lib:Vn.LIB_NAME,$lib_version:Vn.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:h,windowId:f}=this.sessionManager.checkAndGetSessionAndWindowId(i,r.getTime());l.$session_id=h,l.$window_id=f}this.sessionPropsManager&&Gt(l,this.sessionPropsManager.getSessionProps());try{var p;this.sessionRecording&&Gt(l,this.sessionRecording.sdkDebugProperties),l.$sdk_debug_retry_queue_size=(p=this.zi)==null?void 0:p.length}catch(g){l.$sdk_debug_error_capturing_properties=String(g)}if(this.requestRouter.region===Q7&&(l.$lib_custom_api_host=this.config.api_host),u=t!==cc||i?t!==k4||i?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(r):this.pageViewManager.doPageView(r,s),l=Gt(l,u),t===cc&&pe&&(l.title=pe.title),!me(a)){var m=r.getTime()-a;l.$duration=parseFloat((m/1e3).toFixed(3))}hr&&this.config.opt_out_useragent_filter&&(l.$browser_type=this._is_bot()?"bot":"browser"),(l=Gt({},d,this.persistence.properties(),this.sessionPersistence.properties(),l)).$is_identified=this._isIdentified(),it(this.config.property_denylist)?It(this.config.property_denylist,function(g){delete l[g]}):fe.error($O+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var y=this.config.sanitize_properties;y&&(fe.error(LT),l=y(l,t));var _=this.nn();return l.$process_person_profile=_,_&&!i&&this.sn("_calculate_event_properties"),l}tn(t,n,r){var s;if(n===void 0&&(n=!0),r===void 0&&(r=!1),!this.persistence||!this.nn()||this.Oi&&!r)return t;var i=this.persistence.get_initial_props(),a=(s=this.sessionPropsManager)==null?void 0:s.getSetOnceProps(),l=Gt({},i,a||{},t||{}),c=this.config.sanitize_properties;return c&&(fe.error(LT),l=c(l,"$set_once")),n&&(this.Oi=!0),Rc(l)?void 0:l}register(t,n){var r;(r=this.persistence)==null||r.register(t,n)}register_once(t,n,r){var s;(s=this.persistence)==null||s.register_once(t,n,r)}register_for_session(t){var n;(n=this.sessionPersistence)==null||n.register(t)}unregister(t){var n;(n=this.persistence)==null||n.unregister(t)}unregister_for_session(t){var n;(n=this.sessionPersistence)==null||n.unregister(t)}an(t,n){this.register({[t]:n})}getFeatureFlag(t,n){var r;return(r=this.featureFlags)==null?void 0:r.getFeatureFlag(t,n)}getFeatureFlagPayload(t){var n;return(n=this.featureFlags)==null?void 0:n.getFeatureFlagPayload(t)}getFeatureFlagResult(t,n){var r;return(r=this.featureFlags)==null?void 0:r.getFeatureFlagResult(t,n)}isFeatureEnabled(t,n){var r;return(r=this.featureFlags)==null?void 0:r.isFeatureEnabled(t,n)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,n,r){var s;(s=this.featureFlags)==null||s.updateFlags(t,n,r)}updateEarlyAccessFeatureEnrollment(t,n,r){var s;(s=this.featureFlags)==null||s.updateEarlyAccessFeatureEnrollment(t,n,r)}getEarlyAccessFeatures(t,n,r){var s;return n===void 0&&(n=!1),(s=this.featureFlags)==null?void 0:s.getEarlyAccessFeatures(t,n,r)}on(t,n){return this.Li.on(t,n)}onFeatureFlags(t){return this.featureFlags?this.featureFlags.onFeatureFlags(t):(t([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(t){return this.surveys?this.surveys.onSurveysLoaded(t):(t([],{isLoaded:!1,error:vd}),()=>{})}onSessionId(t){var n,r;return(n=(r=this.sessionManager)==null?void 0:r.onSessionId(t))!==null&&n!==void 0?n:()=>{}}getSurveys(t,n){n===void 0&&(n=!1),this.surveys?this.surveys.getSurveys(t,n):t([],{isLoaded:!1,error:vd})}getActiveMatchingSurveys(t,n){n===void 0&&(n=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,n):t([],{isLoaded:!1,error:vd})}renderSurvey(t,n){var r;(r=this.surveys)==null||r.renderSurvey(t,n)}displaySurvey(t,n){var r;n===void 0&&(n=A0e),(r=this.surveys)==null||r.displaySurvey(t,n)}cancelPendingSurvey(t){var n;(n=this.surveys)==null||n.cancelPendingSurvey(t)}canRenderSurvey(t){var n,r;return(n=(r=this.surveys)==null?void 0:r.canRenderSurvey(t))!==null&&n!==void 0?n:{visible:!1,disabledReason:vd}}canRenderSurveyAsync(t,n){var r,s;return n===void 0&&(n=!1),(r=(s=this.surveys)==null?void 0:s.canRenderSurveyAsync(t,n))!==null&&r!==void 0?r:Promise.resolve({visible:!1,disabledReason:vd})}un(t){return!t||of(t)?(fe.critical("Unique user id has not been set in posthog.identify"),!1):t===s2?(fe.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.'),!1):!["distinct_id","distinctid"].includes(t.toLowerCase())&&!["undefined","null"].includes(t.toLowerCase())||(fe.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and n
109ot a hardcoded string.'),!1)}identify(t,n,r){if(!this.__loaded||!this.persistence)return fe.uninitializedWarning("posthog.identify");if(fs(t)&&(t=t.toString(),fe.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),this.un(t)&&this.sn("posthog.identify")){var s=this.get_distinct_id();this.register({$user_id:t}),this.get_property(Ep)||this.register_once({$had_persisted_distinct_id:!0,$device_id:s},""),t!==s&&t!==this.get_property(Bd)&&(this.unregister(Bd),this.register({distinct_id:t}));var i,a=(this.persistence.get_property(bs)||$l)===$l;t!==s&&a?(this.persistence.set_property(bs,Bl),this.setPersonPropertiesForFlags({$set:n||{},$set_once:r||{}},!1),this.capture(w4,{distinct_id:t,$anon_distinct_id:s},{$set:n||{},$set_once:r||{}}),this.$i=RT(t,n,r),(i=this.featureFlags)==null||i.setAnonymousDistinctId(s)):(n||r)&&this.setPersonProperties(n,r),t!==s&&(this.reloadFeatureFlags(),this.unregister(b0))}}setPersonProperties(t,n){if((t||n)&&this.sn("posthog.setPersonProperties")){var r=RT(this.get_distinct_id(),t,n);this.$i!==r?(this.setPersonPropertiesForFlags({$set:t||{},$set_once:n||{}},!0),this.capture("$set",{$set:t||{},$set_once:n||{}}),this.$i=r):fe.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,n,r){if(t&&n){var s=this.getGroups(),i=s[t]!==n;if(i&&this.resetGroupPropertiesForFlags(t),this.register({$groups:ue({},s,{[t]:n})}),i||r){var a={$group_type:t,$group_key:n};r&&(a.$group_set=r),this.capture(yT,a)}r&&this.setGroupPropertiesForFlags({[t]:r}),i&&!r&&this.reloadFeatureFlags()}else fe.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,n){var r;n===void 0&&(n=!0),(r=this.featureFlags)==null||r.setPersonPropertiesForFlags(t,n)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,n){var r;n===void 0&&(n=!0),this.sn("posthog.setGroupPropertiesForFlags")&&((r=this.featureFlags)==null||r.setGroupPropertiesForFlags(t,n))}resetGroupPropertiesForFlags(t){var n;(n=this.featureFlags)==null||n.resetGroupPropertiesForFlags(t)}reset(t){var n,r,s,i,a,l,c,u;if(fe.info("reset"),!this.__loaded)return fe.uninitializedWarning("posthog.reset");var d=this.get_property(Ep);if(this.consent.reset(),(n=this.persistence)==null||n.clear(),(r=this.sessionPersistence)==null||r.clear(),(s=this.surveys)==null||s.reset(),(i=this.Yi)==null||i.stop(),(a=this.featureFlags)==null||a.reset(),(l=this.conversations)==null||l.reset(),(c=this.persistence)==null||c.set_property(bs,$l),(u=this.sessionManager)==null||u.resetSessionId(),this.$i=null,this.config.cookieless_mode===Wi)this.register_once({distinct_id:s2,$device_id:null},"");else{var h=this.config.get_device_id(Na());this.register_once({distinct_id:h,$device_id:t?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(t,n){var r;this.config.identity_distinct_id=t,this.config.identity_hash=n,this.alias(t),(r=this.conversations)==null||r.ln()}clearIdentity(){var t;delete this.config.identity_distinct_id,delete this.config.identity_hash,(t=this.conversations)==null||t.hn()}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,n;return(t=(n=this.sessionManager)==null?void 0:n.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:n,sessionStartTimestamp:r}=this.sessionManager.checkAndGetSessionAndWindowId(!0),s=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+n);if(t!=null&&t.withTimestamp&&r){var i,a=(i=t.timestampLookBack)!==null&&i!==void 0?i:10;if(!r)return s;s+="?t="+Math.max(Math.floor((new Date().getTime()-r)/1e3)-a,0)}return s}alias(t,n){return t===this.get_property(dO)?(fe.critical("Attempting to create alias for existing People user - aborting."),-2):this.sn("posthog.alias")?(me(n)&&(n=this.get_distinct_id()),t!==n?(this.an(Bd,t),this.capture("$create_alias",{alias:t,distinct_id:n})):(fe.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var n=ue({},this.config);if(Vt(t)){var r,s,i,a,l,c,u,d,h,f;Gt(this.config,OT(t));var p=this.Hi();(r=this.persistence)==null||r.update_config(this.config,n,p),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new T4(ue({},this.config,{persistence:"sessionStorage"}),p);var m=this.Di(this.config.debug);si(m)&&(this.config.debug=m),si(this.config.debug)&&(this.config.debug?(Vn.DEBUG=!0,Dt.R()&&Dt.N("ph_debug",!0),fe.info("set_config",{config:t,oldConfig:n,newConfig:ue({},this.config)})):(Vn.DEBUG=!1,Dt.R()&&Dt.q("ph_debug"))),(s=this.exceptionObserver)==null||s.onConfigChange(),(i=this.exceptions)==null||i.onConfigChange(),(a=this.sessionRecording)==null||a.startIfEnabledOrStop(),(l=this.autocapture)==null||l.startIfEnabled(),(c=this.heatmaps)==null||c.startIfEnabled(),(u=this.exceptionObserver)==null||u.startIfEnabledOrStop(),(d=this.deadClicksAutocapture)==null||d.startIfEnabledOrStop(),(h=this.surveys)==null||h.loadIfEnabled(),this.cn(),(f=this.externalIntegrations)==null||f.startIfEnabledOrStop()}}_overrideSDKInfo(t,n){Vn.LIB_NAME=t,Vn.LIB_VERSION=n}startSessionRecording(t){var n,r,s,i,a,l=t===!0,c={sampling:l||!(t==null||!t.sampling),linked_flag:l||!(t==null||!t.linked_flag),url_trigger:l||!(t==null||!t.url_trigger),event_trigger:l||!(t==null||!t.event_trigger)};Object.values(c).some(Boolean)&&((n=this.sessionManager)==null||n.checkAndGetSessionAndWindowId(),c.sampling&&((r=this.sessionRecording)==null||r.overrideSampling()),c.linked_flag&&((s=this.sessionRecording)==null||s.overrideLinkedFlag()),c.url_trigger&&((i=this.sessionRecording)==null||i.overrideTrigger("url")),c.event_trigger&&((a=this.sessionRecording)==null||a.overrideTrigger("event"))),this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var t;return!((t=this.sessionRecording)==null||!t.started)}captureException(t,n){if(this.exceptions){var r=new Error("PostHog syntheticException"),s=this.exceptions.buildProperties(t,{handled:!0,syntheticException:r});return this.exceptions.sendExceptionEvent(ue({},s,n))}}addExceptionStep(t,n){var r;(r=this.exceptions)==null||r.addExceptionStep(t,n)}captureLog(t){var n;(n=this.logs)==null||n.captureLog(t)}get logger(){var t,n;return(t=(n=this.logs)==null?void 0:n.logger)!==null&&t!==void 0?t:rs.dn}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var n,r;return(n=(r=this.toolbar)==null?void 0:r.loadToolbar(t))!==null&&n!==void 0&&n}get_property(t){var n;return(n=this.persistence)==null?void 0:n.props[t]}getSessionProperty(t){var n;return(n=this.sessionPersistence)==null?void 0:n.props[t]}toString(){var t,n=(t=this.config.name)!==null&&t!==void 0?t:uc;return n!==uc&&(n=uc+"."+n),n}_isIdentified(){var t,n;return((t=this.persistence)==null?void 0:t.get_property(bs))===Bl||((n=this.sessionPersistence)==null?void 0:n.get_property(bs))===Bl}nn(){var t,n;return!(this.config.person_profiles==="never"||this.config.person_profiles===K7&&!this._isIdentified()&&Rc(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[Bd])&&((n=this.persistence)==null||(n=n.props)==null||!n[Rp]))}Xi(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&(this.config.capture_pageview===!0||this.config.capture_pageview==="history_change")}createPersonProfile(){this.nn()||this.sn("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.sn("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}sn(t){return this.config.person_profiles==="never"?(fe.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.an(Rp,!0),!0)}Hi(){if(this.config.cookieless_mode==="always")return!0;var t=this.consent.isOptedOut();return this.config.disable_persistence||t&&!(!this.config.opt_out_persistence_by_default&&this.config.cookieless_mode!==Ao)}cn(){var t,n,r,s,i=this.Hi();return((t=this.persistence)==null?void 0:t._r)!==i&&((r=this.persistence)==null||r.set_disabled(i)),((n=this.sessionPersistence)==null?void 0:n._r)!==i&&((s=this.sessionPersistence)==null||s.set_disabled(i)),i}opt_in_capturing(t){var n;if(this.config.cookieless_mode!==Wi){if(this.Ri()){var r,s,i,a,l;this.reset(!0),(r=this.sessionManager)==null||r.destroy(),(s=this.pageViewM
109anager)==null||s.destroy(),this.sessionManager=new IT(this),this.pageViewManager=new kT(this),this.persistence&&(this.sessionPropsManager=new NT(this,this.sessionManager,this.persistence));var c,u=(i=(a=this.config.__extensionClasses)==null?void 0:a.sessionRecording)!==null&&i!==void 0?i:(l=rs.__defaultExtensionClasses)==null?void 0:l.sessionRecording;u&&(this.sessionRecording=this.Mi(this.sessionRecording,new u(this)),this.Qi&&((c=this.sessionRecording)==null||c.onRemoteConfig==null||c.onRemoteConfig(this.Qi)))}var d,h;this.consent.optInOut(!0),this.cn(),this.Ji(),(n=this.sessionRecording)==null||n.startIfEnabledOrStop(),this.config.cookieless_mode==Ao&&((d=this.surveys)==null||d.loadIfEnabled()),(me(t==null?void 0:t.captureEventName)||t!=null&&t.captureEventName)&&this.capture((h=t==null?void 0:t.captureEventName)!==null&&h!==void 0?h:"$opt_in",t==null?void 0:t.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ki()}else fe.warn(AT)}opt_out_capturing(){var t,n,r;this.config.cookieless_mode!==Wi?(this.config.cookieless_mode===Ao&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.cn(),this.config.cookieless_mode===Ao&&(this.register({distinct_id:s2,$device_id:null}),(t=this.sessionRecording)==null||t.stopRecording(),this.sessionRecording=void 0,(n=this.sessionManager)==null||n.destroy(),(r=this.pageViewManager)==null||r.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,this.Ki())):fe.warn(AT)}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var t=this.consent.consent;return t===1?"granted":t===0?"denied":"pending"}is_capturing(){return this.config.cookieless_mode===Wi||(this.config.cookieless_mode===Ao?this.consent.isRejected()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.cn()}_is_bot(){return Ar?DO(Ar,this.config.custom_blocked_useragents):void 0}Ki(){pe&&(pe.visibilityState==="visible"?this.Fi||(this.Fi=!0,this.capture(cc,{title:pe.title},{send_instantly:!0}),this.Ai&&(pe.removeEventListener(Pp,this.Ai),this.Ai=null)):this.Ai||(this.Ai=this.Ki.bind(this),Zt(pe,Pp,this.Ai)))}debug(t){t===!1?(Y==null||Y.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(Y==null||Y.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}))}Lr(){var t,n,r,s,i,a,l=this.qi||{};return"advanced_disable_flags"in l?!!l.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(fe.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):(r="advanced_disable_decide",s=fe,i=(n="advanced_disable_flags")in(t=l)&&!Ye(t[n]),a=r in t&&!Ye(t[r]),i?t[n]:!!a&&(s&&s.warn("Config field '"+r+"' is deprecated. Please use '"+n+"' instead. The old field will be removed in a future major version."),t[r]))}rn(t){if(Ye(this.config.before_send))return t;var n=it(this.config.before_send)?this.config.before_send:[this.config.before_send],r=t;for(var s of n){if(r=s(r),Ye(r)){var i="Event '"+t.event+"' was rejected in beforeSend function";return pde(t.event)?fe.warn(i+". This can cause unexpected behavior."):fe.info(i),null}r.properties&&!Rc(r.properties)||fe.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return r}getPageViewId(){var t;return(t=this.pageViewManager.dr)==null?void 0:t.pageViewId}captureTraceFeedback(t,n){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:n})}captureTraceMetric(t,n,r){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:n,$ai_metric_value:String(r)})}Di(t){var n=si(t)&&!t,r=Dt.R()&&Dt.A("ph_debug")==="true";return!n&&(!!r||t)}}rs.__defaultExtensionClasses={},rs.dn={trace:ql=()=>{},debug:ql,info:ql,warn:ql,error:ql,fatal:ql},function(e,t){for(var n=0;t.length>n;n++)e.prototype[t[n]]=Xde(e.prototype[t[n]])}(rs,["identify"]);var F0e=1,$0e=3,B0e=11;function DT(e){return e instanceof Element&&(e.id===gO||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function gl(e){return!!e&&e.nodeType===F0e}function Ns(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function UO(e){return!!e&&e.nodeType===$0e}function qO(e){return!!e&&e.nodeType===B0e&&gl(e.host)}function Qv(e){return e?Y3(e).split(/\s+/):[]}function WT(e){var t=Y==null?void 0:Y.location.href;return!!(t&&e&&e.some(n=>t.match(n)))}function Bp(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 Qv(t)}function HO(e){return Ye(e)?null:Y3(e).split(/(\s+)/).filter(t=>w0(t)).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function c1(e){var t="";return r9(e)&&!KO(e)&&e.childNodes&&e.childNodes.length&&It(e.childNodes,function(n){var r;UO(n)&&n.textContent&&(t+=(r=HO(n.textContent))!==null&&r!==void 0?r:"")}),Y3(t)}function FT(e){return me(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}var eb=["a","button","form","input","select","textarea","label"];function $T(e,t){if(me(t))return!0;var n,r=function(i){if(t.some(a=>i.matches(a)))return{v:!0}};for(var s of e)if(n=r(s))return n.v;return!1}function GO(e){var t=e.parentNode;return!(!t||!gl(t))&&t}var U0e=["next","previous","prev",">","<"],BT=[".ph-no-rageclick",".ph-no-capture"],n9=e=>!e||Ns(e,"html")||!gl(e),UT=(e,t)=>{if(!Y||n9(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var n=!1,r=[e],s=e;s.parentNode&&!Ns(s,"body");)if(qO(s.parentNode))r.push(s.parentNode.host),s=s.parentNode.host;else{var i=GO(s);if(!i)break;if(t||eb.indexOf(i.tagName.toLowerCase())>-1)n=!0;else{var a=Y.getComputedStyle(i);a&&a.getPropertyValue("cursor")==="pointer"&&(n=!0)}r.push(i),s=i}return{parentIsUsefulElement:n,targetElementList:r}};function r9(e){for(var t=e;t.parentNode&&!Ns(t,"body");t=t.parentNode){var n=Bp(t);if(Ve(n,"ph-sensitive")||Ve(n,"ph-no-capture"))return!1}if(Ve(Bp(e),"ph-include"))return!0;var r=e.type||"";if(Wt(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}
109var s=e.name||e.id||"";return!Wt(s)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(s.replace(/[^a-zA-Z0-9]/g,""))}function KO(e){return!!(Ns(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||Ns(e,"select")||Ns(e,"textarea")||e.getAttribute("contenteditable")==="true")}var VO="(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})",q0e=new RegExp("^(?:"+VO+")$"),H0e=new RegExp(VO),YO="\\d{3}-?\\d{2}-?\\d{4}",G0e=new RegExp("^("+YO+")$"),K0e=new RegExp("("+YO+")");function w0(e,t){return t===void 0&&(t=!0),!(Ye(e)||Wt(e)&&(e=Y3(e),(t?q0e:H0e).test((e||"").replace(/[- ]/g,""))||(t?G0e:K0e).test(e)))}function qT(e){var t=c1(e);return w0(t=(t+" "+JO(e)).trim())?t:""}function JO(e){var t="";return e&&e.childNodes&&e.childNodes.length&&It(e.childNodes,function(n){var r;if(n&&((r=n.tagName)==null?void 0:r.toLowerCase())==="span")try{var s=c1(n);t=(t+" "+s).trim(),n.childNodes&&n.childNodes.length&&(t=(t+" "+JO(n)).trim())}catch(i){fe.error("[AutoCapture]",i)}}),t}function HT(e){return e.replace(/"|\\"/g,'\\"')}function V0e(e){var t=e.attr__class;return t?it(t)?t:Qv(t):void 0}let GT=class{constructor(t){this.disabled=t===!1;var n=Vt(t)?t:{};this.thresholdPx=n.threshold_px||30,this.timeoutMs=n.timeout_ms||1e3,this.clickCount=n.click_count||3,this.clicks=[]}isRageClick(t,n,r){if(this.disabled)return!1;var s=this.clicks[this.clicks.length-1];if(s&&Math.abs(t-s.x)+Math.abs(n-s.y)<this.thresholdPx&&this.timeoutMs>r-s.timestamp){if(this.clicks.push({x:t,y:n,timestamp:r}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:n,timestamp:r}];return!1}};var A4="$copy_autocapture",L4=Lt("[AutoCapture]");function M4(e,t){return t.length>e?t.slice(0,e)+"...":t}function Y0e(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!gl(t));return t}function J0e(e,t){var n,r,{e:s,maskAllElementAttributes:i,maskAllText:a,elementAttributeIgnoreList:l,elementsChainAsString:c}=t;if(!gl(e))return{props:{}};for(var u=[e],d=e;d.parentNode&&!Ns(d,"body");)if(qO(d.parentNode))u.push(d.parentNode.host),d=d.parentNode.host;else{if(!gl(d.parentNode))break;u.push(d.parentNode),d=d.parentNode}var h,f,p=[],m={},y=!1,_=!1;if(It(u,S=>{var T=r9(S);if(Ns(S,"a")){var C=S.getAttribute("href");y=T&&!!C&&w0(C)&&C}Ve(Bp(S),"ph-no-capture")&&(_=!0),p.push(function(N,j,I,P){var O=N.tagName.toLowerCase(),F={tag_name:O};eb.indexOf(O)>-1&&!I&&(F.$el_text=O.toLowerCase()==="a"||O.toLowerCase()==="button"?M4(1024,qT(N)):M4(1024,c1(N)));var B=Bp(N);B.length>0&&(F.classes=B.filter(function(R){return R!==""})),It(N.attributes,function(R){var w;if((!KO(N)||["name","id","class","aria-label"].indexOf(R.name)!==-1)&&(P==null||!P.includes(R.name))&&!j&&w0(R.value)&&(!Wt(w=R.name)||w.substring(0,10)!=="_ngcontent"&&w.substring(0,7)!=="_nghost")){var L=R.value;R.name==="class"&&(L=Qv(L).join(" ")),F["attr__"+R.name]=M4(1024,L)}});for(var $=1,D=1,z=N;z=Y0e(z);)$++,z.tagName===N.tagName&&D++;return F.nth_child=$,F.nth_of_type=D,F}(S,i,a,l));var E=function(N){if(!r9(N))return{};var j={};return It(N.attributes,function(I){if(I.name&&I.name.indexOf("data-ph-capture-attribute")===0){var P=I.name.replace("data-ph-capture-attribute-",""),O=I.value;P&&O&&w0(O)&&(j[P]=O)}}),j}(S);Gt(m,E)}),_)return{props:{},explicitNoCapture:_};if(a||(p[0].$el_text=Ns(e,"a")||Ns(e,"button")?qT(e):c1(e)),y){var g,b;p[0].attr__href=y;var k=(g=Mp(y))==null?void 0:g.host,x=Y==null||(b=Y.location)==null?void 0:b.host;k&&x&&k!==x&&(h=y)}return{props:Gt({$event_type:s.type,$ce_version:1},c?{}:{$elements:p},{$elements_chain:(f=p,function(S){return S.map(T=>{var C,E,N="";if(T.tag_name&&(N+=T.tag_name),T.attr_class)for(var j of(T.attr_class.sort(),T.attr_class))N+="."+j.replace(/"/g,"");var I=ue({},T.text?{text:T.text}:{},{"nth-child":(C=T.nth_child)!==null&&C!==void 0?C:0,"nth-of-type":(E=T.nth_of_type)!==null&&E!==void 0?E:0},T.href?{href:T.href}:{},T.attr_id?{attr_id:T.attr_id}:{},T.attributes),P={};return uf(I).sort((O,F)=>{var[B]=O,[$]=F;return B.localeCompare($)}
109).forEach(O=>{var[F,B]=O;return P[HT(F.toString())]=HT(B.toString())}),(N+=":")+uf(P).map(O=>{var[F,B]=O;return F+'="'+B+'"'}).join("")}).join(";")}(function(S){return S.map(T=>{var C,E,N={text:(C=T.$el_text)==null?void 0:C.slice(0,400),tag_name:T.tag_name,href:(E=T.attr__href)==null?void 0:E.slice(0,2048),attr_class:V0e(T),attr_id:T.attr__id,nth_child:T.nth_child,nth_of_type:T.nth_of_type,attributes:{}};return uf(T).filter(j=>{var[I]=j;return I.indexOf("attr__")===0}).forEach(j=>{var[I,P]=j;return N.attributes[I]=P}),N})}(f)))},(n=p[0])!=null&&n.$el_text?{$el_text:(r=p[0])==null?void 0:r.$el_text}:{},h&&s.type==="click"?{$external_click_url:h}:{},m)}}var bd=Lt("[ExceptionAutocapture]");function KT(e,t,n){try{if(!(t in e))return()=>{};var r=e[t],s=n(r);return Mi(s)&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=s,()=>{e[t]=r}}catch{return()=>{}}}var Z0e=Lt("[TracingHeaders]"),ya=Lt("[Web Vitals]"),VT=9e5,YT="disabled",JT="lazy_loading",_d="awaiting_config",u2="missing_config";Lt("[SessionRecording]"),Lt("[SessionRecording]");var s9="[SessionRecording]",Ei=Lt(s9),X0e=Lt("[Heatmaps]");function ZT(e){return Vt(e)&&"clientX"in e&&"clientY"in e&&fs(e.clientX)&&fs(e.clientY)}var XT=Lt("[Product Tours]"),Q0e=["$set_once","$set"],va=Lt("[SiteApps]"),QT="Error while initializing PostHog app with config id ";function Hl(e,t,n){if(Ye(e))return!1;switch(n){case"exact":return e===t;case"contains":var r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(r,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class e1e{constructor(t){this.vn=new Xv,this.fn=(n,r)=>this.pn(n,r)&&this.gn(n,r)&&this.mn(n,r)&&this.yn(n,r),this.pn=(n,r)=>r==null||!r.event||(n==null?void 0:n.event)===(r==null?void 0:r.event),this._instance=t,this.bn=new Set,this._n=new Set}init(){var t,n;me((t=this._instance)==null?void 0:t._addCaptureHook)||(n=this._instance)==null||n._addCaptureHook((r,s)=>{this.on(r,s)})}register(t){var n,r;if(!me((n=this._instance)==null?void 0:n._addCaptureHook)&&(t.forEach(a=>{var l,c;(l=this._n)==null||l.add(a),(c=a.steps)==null||c.forEach(u=>{var d;
vendor: 5,594 bytes, line 109
109(d=this.bn)==null||d.add((u==null?void 0:u.event)||"")})}),(r=this._instance)!=null&&r.autocapture)){var s,i=new Set;t.forEach(a=>{var l;(l=a.steps)==null||l.forEach(c=>{c!=null&&c.selector&&i.add(c==null?void 0:c.selector)})}),(s=this._instance)==null||s.autocapture.setElementSelectors(i)}}on(t,n){var r;n!=null&&t.length!=0&&(this.bn.has(t)||this.bn.has(n==null?void 0:n.event))&&this._n&&((r=this._n)==null?void 0:r.size)>0&&this._n.forEach(s=>{this.wn(n,s)&&this.vn.emit("actionCaptured",s.name)})}xn(t){this.onAction("actionCaptured",n=>t(n))}wn(t,n){if((n==null?void 0:n.steps)==null)return!1;for(var r of n.steps)if(this.fn(t,r))return!0;return!1}onAction(t,n){return this.vn.on(t,n)}gn(t,n){if(n!=null&&n.url){var r,s=t==null||(r=t.properties)==null?void 0:r.$current_url;if(!s||typeof s!="string"||!Hl(s,n.url,n.url_matching||"contains"))return!1}return!0}mn(t,n){return!!this.Sn(t,n)&&!!this.kn(t,n)&&!!this.Cn(t,n)}Sn(t,n){var r;if(n==null||!n.href)return!0;var s=this.In(t);if(s.length>0)return s.some(l=>Hl(l.href,n.href,n.href_matching||"exact"));var i,a=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";return!!a&&Hl((i=a.match(/(?::|")href="(.*?)"/))?i[1]:"",n.href,n.href_matching||"exact")}kn(t,n){var r;if(n==null||!n.text)return!0;var s=this.In(t);if(s.length>0)return s.some(u=>Hl(u.text,n.text,n.text_matching||"exact")||Hl(u.$el_text,n.text,n.text_matching||"exact"));var i,a,l,c=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";return!!c&&(i=function(u){for(var d,h=[],f=/(?::|")text="(.*?)"/g;!Ye(d=f.exec(u));)h.includes(d[1])||h.push(d[1]);return h}(c),a=n.text,l=n.text_matching||"exact",i.some(u=>Hl(u,a,l)))}Cn(t,n){var r,s;if(n==null||!n.selector)return!0;var i=t==null||(r=t.properties)==null?void 0:r.$element_selectors;if(i!=null&&i.includes(n.selector))return!0;var a=(t==null||(s=t.properties)==null?void 0:s.$elements_chain)||"";if(n.selector_regex&&a)try{return new RegExp(n.selector_regex).test(a)}catch{return!1}return!1}In(t){var n;return(t==null||(n=t.properties)==null?void 0:n.$elements)==null?[]:t==null?void 0:t.properties.$elements}yn(t,n){return n==null||!n.properties||n.properties.length===0||FO(n.properties.reduce((r,s)=>{var i=it(s.value)?s.value.map(String):s.value!=null?[String(s.value)]:[];return r[s.key]={values:i,operator:s.operator||"exact"},r},{}),t==null?void 0:t.properties)}}class t1e{constructor(t){this._instance=t,this.Tn=new Map,this.En=new Map,this.Mn=new Map}Pn(t,n){return!!t&&FO(t.propertyFilters,n==null?void 0:n.properties)}Rn(t,n){var r=new Map;return t.forEach(s=>{var i;(i=s.conditions)==null||(i=i[n])==null||(i=i.values)==null||i.forEach(a=>{if(a!=null&&a.name){var l=r.get(a.name)||[];l.push(s.id),r.set(a.name,l)}})}),r}On(t,n,r){var s=(r===pd.Activation?this.Tn:this.En).get(t),i=[];return this.Ln(a=>{i=a.filter(l=>s==null?void 0:s.includes(l.id))}),i.filter(a=>{var l,c=(l=a.conditions)==null||(l=l[r])==null||(l=l.values)==null?void 0:l.find(u=>u.name===t);return this.Pn(c,n)})}register(t){var n;me((n=this._instance)==null?void 0:n._addCaptureHook)||(this.Fn(t),this.An(t))}An(t){var n=t.filter(r=>{var s,i;return((s=r.conditions)==null?void 0:s.actions)&&((i=r.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0});n.length!==0&&(this.Nn==null&&(this.Nn=new e1e(this._instance),this.Nn.init(),this.Nn.xn(r=>{this.onAction(r)})),n.forEach(r=>{var s,i,a,l,c;r.conditions&&(s=r.conditions)!=null&&s.actions&&(i=r.conditions)!=null&&(i=i.actions)!=null&&i.values&&((a=r.conditions)==null||(a=a.actions)==null||(a=a.values)==null?void 0:a.length)>0&&((l=this.Nn)==null||l.register(r.conditions.actions.values),(c=r.conditions)==null||(c=c.actions)==null||(c=c.values)==null||c.forEach(u=>{if(u&&u.name){var d=this.Mn.get(u.name);d&&d.push(r.id),this.Mn.set(u.name,d||[r.id])}}))}))}Fn(t){var n,r=t.filter(i=>{var a,l;return((a=i.conditions)==null?void 0:a.events)&&((l=i.conditions)==null||(l=l.events)==null||(l=l.values)==null?void 0:l.length)>0}),s=t.filter(i=>{var a,l;return((a=i.conditions)==null?void 0:a.cancelEvents)&&((l=i.conditions)==null||(l=l.cancelEvents)==null||(l=l.values)==null?void 0:l.length)>0});r.length===0&&s.length===0||((n=this._instance)==null||n._addCaptureHook((i,a)=>{this.onEvent(i,a)}),this.Tn=this.Rn(t,pd.Activation),this.En=this.Rn(t,pd.Cancellation))}onEvent(t,n){var r,s=this.le(),i=this.$n(),a=this.Dn(),l=((r=this._instance)==null||(r=r.persistence)==null?void 0:r.props[i])||[];if(a===t&&n&&l.length>0){var c,u;s.info("event matched, removing item from activated items",{event:t,eventPayload:n,existingActivatedItems:l});var d=(n==null||(c=n.properties)==null?void 0:c.$survey_id)||(n==null||(u=n.properties)==null?void 0:u.$product_tour_id);if(d){var h=l.indexOf(d);0>h||(l.splice(h,1),this.qn(l))}}else{if(this.En.has(t)){var f=this.On(t,n,pd.Cancellation);f.length>0&&(s.info("cancel event matched, cancelling items",{event:t,itemsToCancel:f.map(m=>m.id)}),f.forEach(m=>{var y=l.indexOf(m.id);0>y||l.splice(y,1),this.jn(m.id)}),this.qn(l))}if(this.Tn.has(t)){s.info("event name matched",{event:t,eventPayload:n,items:this.Tn.get(t)});var p=this.On(t,n,pd.Activation);this.qn(l.concat(p.map(m=>m.id)||[]))}}}onAction(t){var n,r=this.$n(),s=((n=this._instance)==null||(n=n.persistence)==null?void 0:n.props[r])||[];this.Mn.has(t)&&this.qn(s.concat(this.Mn.get(t)||[]))}qn(t){var n=this.le(),r=[...new Set(t)].filter(s=>!this.Hn(s));n.info("updating activated items",{activatedItems:r}),this.Un(r)}getActivatedIds(){var t,n=this.$n();return((t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[n])||[]}
109getEventToItemsMap(){return this.Tn}Bn(){return this.Nn}}class n1e extends t1e{constructor(t){super(t)}$n(){return F7}Dn(){return Kd.SHOWN}Ln(t){var n;(n=this._instance)==null||n.getSurveys(t)}jn(t){var n;(n=this._instance)==null||n.cancelPendingSurvey(t)}le(){return gt}Un(t){var n;(n=this._instance)==null||(n=n.persistence)==null||n.register({[F7]:t})}Hn(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var O4="SDK is not enabled or survey functionality is not yet loaded",ej="Disabled. Not loading surveys.",r1e=Y!=null&&Y.location?Dp(Y.location.hash,"__posthog")||Dp(location.hash,"state"):null,tj="_postHogToolbarParams",nj=Lt("[Toolbar]"),Hn=Lt("[FeatureFlags]"),So=Lt("[FeatureFlags]",{debugEnabled:!0}),D4=`" failed. Feature flags didn't load in time.`,rj=e=>{for(var t={},n=0;e.length>n;n++)t[e[n]]=!0;return t},sj=e=>{var t={};for(var[n,r]of uf(e||{}))r&&(t[n]=r);return t},zi=Lt("[Error tracking]"),ij="Refusing to render web experiment since the viewer is a likely bot",s1e={icontains:(e,t)=>!!Y&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!Y&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!Y&&$p(t.href,e),not_regex:(e,t)=>!!Y&&!$p(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class Mn{get qt(){return this._instance.config}constructor(t){var n=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(r){r===void 0&&(r=!1),n.getWebExperiments(s=>{Mn.zn("retrieved web experiments from the server"),n.Vn=new Map,s.forEac
109h(i=>{if(i.feature_flag_key){var a;n.Vn&&(Mn.zn("setting flag key ",i.feature_flag_key," to web experiment ",i),(a=n.Vn)==null||a.set(i.feature_flag_key,i));var l=n._instance.getFeatureFlag(i.feature_flag_key);Wt(l)&&i.variants[l]&&n.Wn(i.name,l,i.variants[l].transforms)}else if(i.variants)for(var c in i.variants){var u=i.variants[c];Mn.Zn(u)&&n.Wn(i.name,c,u.transforms)}})},r)},this._instance=t,this._instance.onFeatureFlags(r=>{this.onFeatureFlags(r)})}initialize(){}onFeatureFlags(t){if(this._is_bot())Mn.zn(ij);else if(!this.qt.disable_web_experiments){if(Ye(this.Vn))return this.Vn=new Map,this.loadIfEnabled(),void this.previewWebExperiment();Mn.zn("applying feature flags",t),t.forEach(n=>{var r;if(this.Vn&&(r=this.Vn)!=null&&r.has(n)){var s,i=this._instance.getFeatureFlag(n),a=(s=this.Vn)==null?void 0:s.get(n);i&&a!=null&&a.variants[i]&&this.Wn(a.name,i,a.variants[i].transforms)}})}}previewWebExperiment(){var t=Mn.getWindowLocation();if(t!=null&&t.search){var n=Op(t==null?void 0:t.search,"__experiment_id"),r=Op(t==null?void 0:t.search,"__experiment_variant");n&&r&&(Mn.zn("previewing web experiments "+n+" && "+r),this.getWebExperiments(s=>{this.Gn(parseInt(n),r,s)},!1,!0))}}loadIfEnabled(){this.qt.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,n,r){if(this.qt.disable_web_experiments&&!r)return t([]);var s=this._instance.get_property("$web_experiments");if(s&&!n)return t(s);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this.qt.token),method:"GET",callback:i=>t(i.statusCode===200&&i.json&&i.json.experiments||[])})}Gn(t,n,r){var s=r.filter(i=>i.id===t);s&&s.length>0&&(Mn.zn("Previewing web experiment ["+s[0].name+"] with variant ["+n+"]"),this.Wn(s[0].name,n,s[0].variants[n].transforms))}static Zn(t){return!Ye(t.conditions)&&Mn.Qn(t)&&Mn.Jn(t)}static Qn(t){var n;if(Ye(t.conditions)||Ye((n=t.conditions)==null?void 0:n.url))return!0;var r,s,i,a=Mn.getWindowLocation();return!!a&&((r=t.conditions)==null||!r.url||s1e[(s=(i=t.conditions)==null?void 0:i.urlMatchType)!==null&&s!==void 0?s:"icontains"](t.conditions.url,a))}
109static getWindowLocation(){return Y==null?void 0:Y.location}static Jn(t){var n;if(Ye(t.conditions)||Ye((n=t.conditions)==null?void 0:n.utm))return!0;var r=SO();if(r.utm_source){var s,i,a,l,c,u,d,h,f=(s=t.conditions)==null||(s=s.utm)==null||!s.utm_campaign||((i=t.conditions)==null||(i=i.utm)==null?void 0:i.utm_campaign)==r.utm_campaign,p=(a=t.conditions)==null||(a=a.utm)==null||!a.utm_source||((l=t.conditions)==null||(l=l.utm)==null?void 0:l.utm_source)==r.utm_source,m=(c=t.conditions)==null||(c=c.utm)==null||!c.utm_medium||((u=t.conditions)==null||(u=u.utm)==null?void 0:u.utm_medium)==r.utm_medium,y=(d=t.conditions)==null||(d=d.utm)==null||!d.utm_term||((h=t.conditions)==null||(h=h.utm)==null?void 0:h.utm_term)==r.utm_term;return f&&m&&y&&p}return!1}static zn(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;n>s;s++)r[s-1]=arguments[s];fe.info("[WebExperiments] "+t,r)}Wn(t,n,r){this._is_bot()?Mn.zn(ij):n!=="control"?r.forEach(s=>{if(s.selector){var i;Mn.zn("applying transform of variant "+n+" for experiment "+t+" ",s);var a=(i=document)==null?void 0:i.querySelectorAll(s.selector);a==null||a.forEach(l=>{var c=l;s.html&&(c.innerHTML=s.html),s.css&&c.setAttribute("style",s.css)})}}):Mn.zn("Control variants leave the page unmodified.")}_is_bot(){return Ar&&this._instance?DO(Ar,this.qt.custom_blocked_useragents):void 0}}var Yr=Lt("[Conversations]"),To="Conversations not available yet.",X3={featureFlags:class{constructor(e){this.Kn=!1,this.Yn=!1,this.Xn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.ns=!1,this.ss=!1,this._instance=e,this.featureFlagEventHandlers=[]}get qt(){return this._instance.config}get ni(){return this._instance.persistence}os(e){return this._instance.get_property(e)}us(){var e,t;return(e=(t=this.ni)==null?void 0:t.wr(this.qt.feature_flag_cache_ttl_ms))!==null&&e!==void 0&&e}ls(){return!!this.us()&&(this.ss||this.Xn||(this.ss=!0,Hn.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}hs(){var e,t=(e=this.qt.evaluation_contexts)!==null&&e!==void 0?e:this.qt.evaluation_environments;return!this.qt.evaluation_environments||this.qt.evaluation_contexts||this.ns||(Hn.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.ns=!0),t!=null&&t.length?t.filter(n=>{var r=n&&typeof n=="string"&&n.trim().length>0;return r||Hn.error("Invalid evaluation context found:",n,"Expected non-empty string"),r}):[]}cs(){return this.hs().length>0}initialize(){var e,t,{config:n}=this._instance,r=(e=(t=n.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(r).length){var s,i,a=(s=(i=n.bootstrap)==null?void 0:i.featureFlagPayloads)!==null&&s!==void 0?s:{},l=Object.keys(r).filter(u=>!!r[u]).reduce((u,d)=>(u[d]=r[d]||!1,u),{}),c=Object.keys(a).filter(u=>l[u]).reduce((u,d)=>(a[d]&&(u[d]=a[d]),u),{});this.receivedFeatureFlags({featureFlags:l,featureFlagPayloads:c})}}updateFlags(e,t,n){var r=n!=null&&n.merge?this.getFlagVariants():{},s=n!=null&&n.merge?this.getFlagPayloads():{},i=ue({},r,e),a=ue({},s,t),l={};for(var[c,u]of Object.entries(i)){var d=typeof u=="string";l[c]={key:c,enabled:!!d||!!u,variant:d?u:void 0,reason:void 0,metadata:me(a==null?void 0:a[c])?void 0:{id:0,version:void 0,description:void 0,payload:a[c]}}}this.receivedFeatureFlags({flags:l})}get hasLoadedFlags(){return this.Yn}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this.os(M7),t=this.os(Ri),n=this.os(lc);if(!n&&!t)return e||{};var r=Gt({},e||{}),s=[...new Set([...Object.keys(n||{}),...Object.keys(t||{})])];for(var i of s){var a,l,c=r[i],u=t==null?void 0:t[i],d=me(u)?(a=c==null?void 0:c.enabled)!==null&&a!==void 0&&a:!!u,h=me(u)?c.variant:typeof u=="string"?u:void 0,f=n==null?void 0:n[i],p=ue({},c,{enabled:d,variant:d?h??(c==null?void 0:c.variant):void 0});d!==(c==null?void 0:c.enabled)&&(p.original_enabled=c==null?void 0:c.enabled),h!==(c==null?void 0:c.variant)&&(p.original_variant=c==null?void 0:c.variant),f&&(p.metadata=ue({},c==null?void 0:c.metadata,{payload:f,original_payload:c==null||(l=c.metadata)==null?void 0:l.payload})),r[i]=p}return this.Kn||(Hn.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:n,finalDetails:r}),this.Kn=!0),r}getFlagVariants(){var e=this.os(Pc),t=this.os(Ri);if(!t)return e||{};for(var n=Gt({},e),r=Object.keys(t),s=0;r.length>s;s++)n[r[s]]=t[r[s]];return this.Kn||(Hn.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:n}),this.Kn=!0),n}getFlagPayloads(){var e=this.os(O7),t=this.os(lc);if(!t)return e||{};for(var n=Gt({},e||{}),r=Object.keys(t),s=0;r.length>s;s++)n[r[s]]=t[r[s]];return this.Kn||(Hn.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:n}),this.Kn=!0),n}reloadFeatureFlags(){this.es||this.qt.advanced_disable_feature_flags||this.ds||(this._instance.Li.emit("featureFlagsReloading",!0),this.ds=setTimeout(()=>{this.vs()},5))}fs(){clearTimeout(this.ds),this.ds=void 0}ensureFlagsLoaded(){this.Yn||this.Xn||this.ds||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.es=e}vs(e){var t;if(this.fs(),!this._instance.Lr())if(this.Xn)this.ts=!0;else{var n=this.qt.token,r=this.os(Ep),s={token:n,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:ue({},((t=this.ni)==null?void 0:t.get_initial_props())||{},this.os(Gd)||{}),group_properties:this.os(Po),timezone:NO()};aa(r)||me(r)||(s.$device_id=r),(e!=null&&e.disableFlags||this.qt.advanced_disable_feature_flags)&&(s.disable_flags=!0),this.cs()&&(s.evaluation_contexts=this.hs());var i=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+(this.qt.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":""));this.Xn=!0,this._instance._send_request({method:"POST",url:i,data:s,compression:this.qt.disable_compression?void 0:Js.Base64,timeout:this.qt.feature_flag_request_timeout_ms,callback:a=>{var l,c,u,d=!0;if(a.statusCode===200&&(this.ts||(this.$anon_distinct_id=void 0),d=!1),this.Xn=!1,!s.disable_flags||this.ts){this.rs=!d;var h=[];
109a.error?a.error instanceof Error?h.push(a.error.name==="AbortError"?"timeout":"connection_error"):h.push("unknown_error"):a.statusCode!==200&&h.push("api_error_"+a.statusCode),(l=a.json)!=null&&l.errorsWhileComputingFlags&&h.push("errors_while_computing_flags");var f,p=!((c=a.json)==null||(c=c.quotaLimited)==null||!c.includes("feature_flags"));p&&h.push("quota_limited"),(u=this.ni)==null||u.register({[B7]:h}),p?Hn.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."):(s.disable_flags||this.receivedFeatureFlags((f=a.json)!==null&&f!==void 0?f:{},d,{partialResponse:!!this.qt.advanced_only_evaluate_survey_feature_flags}),this.ts&&(this.ts=!1,this.vs()))}}})}}getFeatureFlag(e,t){var n;if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Yn||this.getFlags()&&this.getFlags().length>0){if(!this.ls()){var r=this.getFeatureFlagResult(e,t);return(n=r==null?void 0:r.variant)!==null&&n!==void 0?n:r==null?void 0:r.enabled}}else Hn.warn('getFeatureFlag for key "'+e+D4)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return t==null?void 0:t.payload}getFeatureFlagResult(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs)if(this.Yn||this.getFlags()&&this.getFlags().length>0){if(!this.ls()){var n=this.getFlagVariants(),r=e in n,s=n[e],i=this.getFlagPayloads()[e],a=String(s),l=this.os(D7)||void 0,c=this.os(Np)||void 0,u=this.os(b0)||{};if(this.qt.advanced_feature_flags_dedup_per_session){var d,h=this._instance.get_session_id(),f=this.os($7);h&&h!==f&&(u={},(d=this.ni)==null||d.register({[b0]:u,[$7]:h}))}if((t.send_event||!("send_event"in t))&&(!(e in u)||!u[e].includes(a))){var p,m,y,_,g,b,k,x,S,T;it(u[e])?u[e].push(a):u[e]=[a],(p=this.ni)==null||p.register({[b0]:u});var C=this.getFeatureFlagDetails(e),E=[...(m=this.os(B7))!==null&&m!==void 0?m:[]];me(s)&&E.push("flag_missing");var N={$feature_flag:e,$feature_flag_response:s,$feature_flag_payload:i||null,$feature_flag_request_id:l,$feature_flag_evaluated_at:c,$feature_flag_bootstrapped_response:((y=this.qt.bootstrap)==null||(y=y.featureFlags)==null?void 0:y[e])||null,$feature_flag_bootstrapped_payload:((_=this.qt.bootstrap)==null||(_=_.featureFlagPayloads)==null?void 0:_[e])||null,$used_bootstrap_value:!this.rs};me(C==null||(g=C.metadata)==null?void 0:g.version)||(N.$feature_flag_version=C.metadata.version);var j,I=(b=C==null||(k=C.reason)==null?void 0:k.description)!==null&&b!==void 0?b:C==null||(x=C.reason)==null?void 0:x.code;I&&(N.$feature_flag_reason=I),C!=null&&(S=C.metadata)!=null&&S.id&&(N.$feature_flag_id=C.metadata.id),me(C==null?void 0:C.original_variant)&&me(C==null?void 0:C.original_enabled)||(N.$feature_flag_original_response=me(C.original_variant)?C.original_enabled:C.original_variant),C!=null&&(T=C.metadata)!=null&&T.original_payload&&(N.$feature_flag_original_payload=C==null||(j=C.metadata)==null?void 0:j.original_payload),E.length&&(N.$feature_flag_error=E.join(",")),this._instance.capture("$feature_flag_called",N)}if(r){var P=i;if(!me(i))try{P=JSON.parse(i)}catch{}return{key:e,enabled:!!s,variant:typeof s=="string"?s:void 0,payload:P}}}}else Hn.warn('getFeatureFlagResult for key "'+e+D4)}getRemoteConfigPayload(e,t){var n=this.qt.token,r={distinct_id:this._instance.get_distinct_id(),token:n};this.cs()&&(r.evaluation_contexts=this.hs()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:r,compression:this.qt.disable_compression?void 0:Js.Base64,timeout:this.qt.feature_flag_request_timeout_ms,callback(s){var i,a=(i=s.json)==null?void 0:i.featureFlagPayloads;t((a==null?void 0:a[e])||void 0)}})}isFeatureEnabled(e,t){if(t===void 0&&(t={}),!t.fresh||this.rs){if(this.Yn||this.getFlags()&&this.getFlags().length>0){var n=this.getFeatureFlag(e,t);return me(n)?void 0:!!n}Hn.warn('isFeatureEnabled for key "'+e+D4)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(t=>t!==e)}
109receivedFeatureFlags(e,t,n){if(this.ni){this.Yn=!0;var r=this.getFlagVariants(),s=this.getFlagPayloads(),i=this.getFlagsWithDetails();(function(a,l,c,u,d,h){c===void 0&&(c={}),u===void 0&&(u={}),d===void 0&&(d={});var f=(E=>{var N=E.flags;return N?(E.featureFlags=Object.fromEntries(Object.keys(N).map(j=>{var I;return[j,(I=N[j].variant)!==null&&I!==void 0?I:N[j].enabled]})),E.featureFlagPayloads=Object.fromEntries(Object.keys(N).filter(j=>N[j].enabled).filter(j=>{var I;return(I=N[j].metadata)==null?void 0:I.payload}).map(j=>{var I;return[j,(I=N[j].metadata)==null?void 0:I.payload]}))):Hn.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),E})(a),p=f.flags,m=f.featureFlags,y=f.featureFlagPayloads;if(m){var _=a.requestId,g=a.evaluatedAt;if(it(m)){Hn.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var b={};if(m)for(var k=0;m.length>k;k++)b[m[k]]=!0;l&&l.register({[lf]:m,[Pc]:b})}else{var x=m,S=y,T=p;if(h!=null&&h.partialResponse)x=ue({},c,x),S=ue({},u,S),T=ue({},d,T);else if(a.errorsWhileComputingFlags)if(p){var C=new Set(Object.keys(p).filter(E=>{var N;return!((N=p[E])!=null&&N.failed)}));x=ue({},c,Object.fromEntries(Object.entries(x).filter(E=>{var[N]=E;return C.has(N)}))),S=ue({},u,Object.fromEntries(Object.entries(S||{}).filter(E=>{var[N]=E;return C.has(N)}))),T=ue({},d,Object.fromEntries(Object.entries(T||{}).filter(E=>{var[N]=E;return C.has(N)})))}else x=ue({},c,x),S=ue({},u,S),T=ue({},d,T);l&&l.register(ue({[lf]:Object.keys(sj(x)),[Pc]:x||{},[O7]:S||{},[M7]:T||{}},_?{[D7]:_}:{},g?{[Np]:g}:{}))}}})(e,this.ni,r,s,i,n),t||(this.ss=!1),this.ps(t)}}override(e,t){t===void 0&&(t=!1),Hn.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this.ni)return Hn.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this.ni.unregister(Ri),this.ni.unregister(lc),this.ps(),So.info("All overrides cleared");if(it(e)){var t=rj(e);return this.ni.register({[Ri]:t}),this.ps(),So.info("Flag overrides set",{flags:e})}if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var n,r=e;if(this.Kn=!!((n=r.suppressWarning)!==null&&n!==void 0&&n),"flags"in r){if(r.flags===!1)this.ni.unregister(Ri),So.info("Flag overrides cleared");else if(r.flags){if(it(r.flags)){var s=rj(r.flags);this.ni.register({[Ri]:s})}else this.ni.register({[Ri]:r.flags});So.info("Flag overrides set",{flags:r.flags})}}return"payloads"in r&&(r.payloads===!1?(this.ni.unregister(lc),So.info("Payload overrides cleared")):r.payloads&&(this.ni.register({[lc]:r.payloads}),So.info("Payload overrides set",{payloads:r.payloads}))),void this.ps()}if(e&&typeof e=="object")return this.ni.register({[Ri]:e}),this.ps(),So.info("Flag overrides set",{flags:e});Hn.warn("Invalid overrideOptions provided to overrideFeatureFlags",{overrideOptions:e})}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Yn){var{flags:t,flagVariants:n}=this.gs();e(t,n)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,n){var r,s=(this.os(Hd)||[]).find(c=>c.flagKey===e),i={["$feature_enrollment/"+e]:t},a={$feature_flag:e,$feature_enrollment:t,$set:i};s&&(a.$early_access_feature_name=s.name),n&&(a.$feature_enrollment_stage=n),this._instance.capture("$feature_enrollment_update",a),this.setPersonPropertiesForFlags(i,!1);var l=ue({},this.getFlagVariants(),{[e]:t});(r=this.ni)==null||r.register({[lf]:Object.keys(sj(l)),[Pc]:l}),this.ps()}getEarlyAccessFeatures(e,t,n){t===void 0&&(t=!1);var r=this.os(Hd),s=n?"&"+n.map(i=>"stage="+i).join("&"):"";if(r&&!t)return e(r);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this.qt.token+s),method:"GET",callback:i=>{var a,l;if(i.json){var c=i.json.earlyAccessFeatures;return(a=this.ni)==null||a.unregister(Hd),(l=this.ni)==null||l.register({[Hd]:c}),e(c)}}})}gs(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter(n=>t[n]),flagVariants:Object.keys(t).filter(n=>t[n]).reduce((n,r)=>(n[r]=t[r],n),{})}}ps(e){var{flags:t,flagVariants:n}=this.gs();
109this.featureFlagEventHandlers.forEach(r=>r(t,n,{errorsLoading:e}))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var n=this.os(Gd)||{},r=(e==null?void 0:e.$set)||(e!=null&&e.$set_once?{}:e),s=e==null?void 0:e.$set_once,i={};if(s)for(var a in s)({}).hasOwnProperty.call(s,a)&&(a in n||(i[a]=s[a]));this._instance.register({[Gd]:ue({},n,i,r)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(Gd)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var n=this.os(Po)||{};Object.keys(n).length!==0&&Object.keys(n).forEach(r=>{n[r]=ue({},n[r],e[r]),delete e[r]}),this._instance.register({[Po]:ue({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this.os(Po)||{};this._instance.register({[Po]:ue({},t,{[e]:{}})})}else this._instance.unregister(Po)}reset(){this.Yn=!1,this.Xn=!1,this.es=!1,this.ts=!1,this.rs=!1,this.$anon_distinct_id=void 0,this.fs(),this.Kn=!1}}},i1e={sessionRecording:class{get qt(){return this._instance.config}get ni(){return this._instance.persistence}get started(){var e;return!((e=this.ys)==null||!e.isStarted)}get status(){var e,t;return this.bs===_d||this.bs===u2?this.bs:(e=(t=this.ys)==null?void 0:t.status)!==null&&e!==void 0?e:this.bs}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.bs=YT,this._s=void 0,this._instance=e,!this._instance.sessionManager)throw Ei.error("started without valid sessionManager"),new Error(s9+" started without valid sessionManager. This is a bug.");if(this.qt.cookieless_mode===Wi)throw new Error(s9+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}get ws(){var e,t=!((e=this._instance.get_property(qd))==null||!e.enabled),n=!this.qt.disable_session_recording,r=this.qt.disable_session_recording||this._instance.consent.isOptedOut();return Y&&t&&n&&!r}startIfEnabledOrStop(e){var t;if(!this.ws||(t=this.ys)==null||!t.isStarted){var n=!me(Object.assign)&&!me(Array.from);this.ws&&n?(this.xs(e),Ei.info("starting")):(this.bs=YT,this.stopRecording())}}xs(e){var t,n,r;this.ws&&(this.bs!==_d&&this.bs!==u2&&(this.bs=JT),we!=null&&(t=we.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(n=we.__PosthogExtensions__)!=null&&n.initSessionRecording?this.Ss(e):(r=we.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,this.ks,s=>{if(s)return Ei.error("could not load recorder",s);this.Ss(e)}))}stopRecording(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.stop()}Cs(){var e,t;(e=this._s)==null||e.call(this),this._s=void 0,(t=this.ys)==null||t.discard()}Is(){var e;(e=this.ni)==null||e.unregister(Kv)}Ts(e,t){if(Ye(e))return null;var n,r=fs(e)?e:parseFloat(e);return typeof(n=r)!="number"||!Number.isFinite(n)||0>n||n>1?(Ei.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null):r}Es(e){if(this.ni){var t,n,r=this.ni,s=()=>{var i,a=e.sessionRecording===!1?void 0:e.sessionRecording,l=this.Ts((i=this.qt.session_recording)==null?void 0:i.sampleRate,"session_recording.sampleRate"),c=this.Ts(a==null?void 0:a.sampleRate,"remote config sampleRate"),u=l??c;Ye(u)&&this.Is();var d=a==null?void 0:a.minimumDurationMilliseconds;r.register({[qd]:ue({cache_timestamp:Date.now(),enabled:!!a},a,{networkPayloadCapture:ue({capturePerformance:e.capturePerformance},a==null?void 0:a.networkPayloadCapture),canvasRecording:{enabled:a==null?void 0:a.recordCanvas,fps:a==null?void 0:a.canvasFps,quality:a==null?void 0:a.canvasQuality},sampleRate:u,minimumDurationMilliseconds:me(d)?null:d,endpoint:a==null?void 0:a.endpoint,triggerMatchType:a==null?void 0:a.triggerMatchType,masking:a==null?void 0:a.masking,urlTriggers:a==null?void 0:a.urlTriggers,version:a==null?void 0:a.version,triggerGroups:a==null?void 0:a.triggerGroups})})};s(),(t=this._s)==null||t.call(this),this._s=(n=this._instance.sessionManager)==null?void 0:n.onSessionId(s)}}onRemoteConfig(e){return"sessionRecording"in e?e.sessionRecording===!1?(this.Es(e),void this.Cs()):(this.Es(e),void this.startIfEnabledOrStop()):(this.bs===_d&&(this.bs=u2,Ei.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var n;t===void 0&&(t="log"),(n=this.ys)!=null&&n.log?this.ys.log(e,t):Ei.warn("log called before recorder was ready")}get ks(){var e,t,n=(e=this._instance)==null||(e=e.persistence)==null?void 0:e.get_property(qd);return(n==null||(t=n.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}Ms(){var e,t,n=this._instance.get_property(qd);if(!n)return!1;try{t=typeof n=="object"?n:JSON.parse(n)}catch(s){return Ei.warn("persisted remote config for session recording is invali
109d and will be ignored",s),!1}var r=(e=t.cache_timestamp)!==null&&e!==void 0?e:Date.now();return 36e5>=Date.now()-r}Ss(e){var t,n;if((t=we.__PosthogExtensions__)==null||!t.initSessionRecording)return Ei.warn("Called on script loaded before session recording is available. This can be caused by adblockers."),void this._instance.register_for_session({[bO]:!0});if(this.ys||(this.ys=(n=we.__PosthogExtensions__)==null?void 0:n.initSessionRecording(this._instance),this.ys._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.Ms())return this.bs===u2||this.bs===_d?void 0:(this.bs=_d,Ei.info("persisted remote config is stale, requesting fresh config before starting"),void new IO(this._instance).load());this.bs=JT,this.ys.start(e)}onRRwebEmit(e){var t;(t=this.ys)==null||t.onRRwebEmit==null||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.ys||(t=this.ni)==null||t.register({[fO]:!0}),(e=this.ys)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.ys||(t=this.ni)==null||t.register({[hO]:!0}),(e=this.ys)==null||e.overrideSampling()}overrideTrigger(e){var t,n;this.ys||(n=this.ni)==null||n.register({[e==="url"?pO:mO]:!0}),(t=this.ys)==null||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return((e=this.ys)==null?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var n;return!((n=this.ys)==null||!n.tryAddCustomEvent(e,t))}}},a1e={autocapture:class{constructor(e){this.Ps=!1,this.Rs=null,this.Os=!1,this.instance=e,this.rageclicks=new GT(e.config.rageclick),this.Ls=null}initialize(){this.startIfEnabled()}get qt(){var e,t,n=Vt(this.instance.config.autocapture)?this.instance.config.autocapture:{};return n.url_allowlist=(e=n.url_allowlist)==null?void 0:e.map(r=>new RegExp(r)),n.url_ignorelist=(t=n.url_ignorelist)==null?void 0:t.map(r=>new RegExp(r)),n}Fs(){if(this.isBrowserSupported()){if(Y&&pe){var e=n=>{n=n||(Y==null?void 0:Y.event);try{this.As(n)}catch(r){L4.error("Failed to capture event",r)}};if(Zt(pe,"submit",e,{capture:!0}),Zt(pe,"change",e,{capture:!0}),Zt(pe,"click",e,{capture:!0}),this.qt.capture_copied_text){var t=n=>{n=n||(Y==null?void 0:Y.event);try{this.As(n,A4)}catch(r){L4.error("Failed to capture copy/cut event",r)}};Zt(pe,"copy",t,{capture:!0}),Zt(pe,"cut",t,{capture:!0})}}}else L4.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.Ps&&(this.Fs(),this.Ps=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.Os=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[E7]:!!e.autocapture_opt_out}),this.Rs=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.Ls=e}getElementSelectors(e){var t,n=[];return(t=this.Ls)==null||t.forEach(r=>{var s=pe==null?void 0:pe.querySelectorAll(r);s==null||s.forEach(i=>{e===i&&n.push(r)})}),n}get isEnabled(){var e,t,n=(e=this.instance.persistence)==null?void 0:e.props[E7];if(aa(this.Rs)&&!si(n)&&!this.instance.Lr())return!1;var r=(t=this.Rs)!==null&&t!==void 0?t:!!n;return!!this.instance.config.autocapture&&!r}As(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var n,r=FT(e);UO(r)&&(r=r.parentNode||null),t==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(n=this.rageclicks)!=null&&n.isRageClick(e.clientX,e.clientY,e.timeStamp||new Date().getTime())&&function(h,f){if(!Y||n9(h))return!1;var p,m,y;if(si(f)?(p=!!f&&BT,m=void 0):(p=(y=f==null?void 0:f.css_selector_ignorelist)!==null&&y!==void 0?y:BT,m=f==null?void 0:f.content_ignorelist),p===!1)return!1;var{targetElementList:_}=UT(h,!1);return!function(g,b){if(g===!1||me(g))return!1;var k;if(g===!0)k=U0e;else{if(!it(g))return!1;if(g.length>10)return fe.error("[PostHog] content_ignorelist array cannot exceed 10 items. Use css_selector_ignorelist for more complex matching."),!1;k=g.map(x=>x.toLowerCase())}return b.some(x=>{var{safeText:S,ariaLabel:T}=x;return k.some(C=>S.includes(C)||T.includes(C))})}(m,_.map(g=>{var b;return{safeText:c1(g).toLowerCase(),ariaLabel:((b=g.getAttribute("aria-label"))==null?void 0:b.toLowerCase().trim())||""}}))&&!$T(_,p)}(r,this.instance.config.rageclick)&&this.As(e,"$rageclick");var s=t===A4;if(r&&function(h,f,p,m,y){var _,g,b,k;if(p===void 0&&(p=void 0),!Y||n9(h)||(_=p)!=null&&_.url_allowlist&&!WT(p.url_allowlist)||(g=p)!=null&&g.url_ignorelist&&WT(p.url_ignorelist))return!1;if((b=p)!=null&&b.dom_event_allowlist){var x=p.dom_event_allowlist;if(x&&!x.some(N=>f.type===N))return!1}var{parentIsUsefulElement:S,targetElementList:T}=UT(h,m);if(!function(N,j){var I=j==null?void 0:j.element_allowlist;if(me(I))return!0;var P,O=function(B){if(I.some($=>B.tagName.toLowerCase()===$))return{v:!0}};for(var F of N)if(P=O(F))return P.v;return!1}(T,p)||!$T(T,(k=p)==null?void 0:k.css_selector_allowlist))return!1;var C=Y.getComputedStyle(h);if(C&&C.getPropertyValue("cursor")==="pointer"&&f.type==="click")return!0;var E=h.tagName.toLowerCase();switch(E){case"html":return!1;case"form":return(y||["submit"]).indexOf(f.type)>=0;case"input":case"select":case"textarea":return(y||["change","click"]).indexOf(f.type)>=0;default:return S?(y||["click"]).indexOf(f.type)>=0:(y||["click"]).indexOf(f.type)>=0&&(eb.indexOf(E)>-1||h.getAttribute("contenteditable")==="true")}}(r,e,this.qt,s,s?["copy","cut"]:void 0)){var{props:i,explicitNoCapture:a}=J0e(r,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.qt.element_attribute_ignorelist,elementsC
109hainAsString:this.Os});if(a)return!1;var l=this.getElementSelectors(r);if(l&&l.length>0&&(i.$element_selectors=l),t===A4){var c,u=HO(Y==null||(c=Y.getSelection())==null?void 0:c.toString()),d=e.type||"clipboard";if(!u)return!1;i.$selected_content=u,i.$copy_type=d}return this.instance.capture(t,i),!0}}}isBrowserSupported(){return Mi(pe==null?void 0:pe.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.Ns=(Y==null||(t=Y.location)==null?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(fe.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.$s&&this.$s(),this.$s=void 0,fe.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(Y&&Y.history){var n=this;(e=Y.history.pushState)!=null&&e.__posthog_wrapped__||KT(Y.history,"pushState",r=>function(s,i,a){r.call(this,s,i,a),n.Ds("pushState")}),(t=Y.history.replaceState)!=null&&t.__posthog_wrapped__||KT(Y.history,"replaceState",r=>function(s,i,a){r.call(this,s,i,a),n.Ds("replaceState")}),this.qs()}}Ds(e){try{var t,n=Y==null||(t=Y.location)==null?void 0:t.pathname;if(!n)return;n!==this.Ns&&this.isEnabled&&this._instance.capture(cc,{navigation_type:e}),this.Ns=n}catch(r){fe.error("Error capturing "+e+" pageview",r)}}qs(){if(!this.$s){var e=()=>{this.Ds("popstate")};Zt(Y,"popstate",e),this.$s=()=>{Y&&Y.removeEventListener("popstate",e)}}}},heatmaps:class{get qt(){return this.instance.config}constructor(e){var t;this.js=!1,this.Ps=!1,this.Hs=null,this.instance=e,this.js=!((t=this.instance.persistence)==null||!t.props[z7]),this.rageclicks=new GT(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Vt(this.qt.capture_heatmaps)&&this.qt.capture_heatmaps.flush_interval_milliseconds&&(e=this.qt.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return Ye(this.qt.capture_heatmaps)?Ye(this.qt.enable_heatmaps)?this.js:this.qt.enable_heatmaps:this.qt.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.Ps)return;X0e.info("starting..."),this.Us(),this.At()}else{var e;clearInterval((e=this.Hs)!==null&&e!==void 0?e:void 0),this.Bs(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[z7]:t}),this.js=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.M;return this.M=void 0,e}zs(e){this.Mt(e.originalEvent,"deadclick")}At(){this.Hs&&clearInterval(this.Hs),this.Hs=(pe==null?void 0:pe.visibilityState)==="visible"?setInterval(this.Zr.bind(this),this.flushIntervalMilliseconds):null}Us(){Y&&pe&&(this.Vs=this.Zr.bind(this),Zt(Y,Ap,this.Vs),this.Ws=e=>this.Mt(e||(Y==null?void 0:Y.event)),Zt(pe,"click",this.Ws,{capture:!0}),this.Zs=e=>this.Gs(e||(Y==null?void 0:Y.event)),Zt(pe,"mousemove",this.Zs,{capture:!0}),this.Qs=new _T(this.instance,l0e,this.zs.bind(this)),this.Qs.startIfEnabledOrStop(),this.Js=this.At.bind(this),Zt(pe,Pp,this.Js),this.Ps=!0)}Bs(){var e;Y&&pe&&(this.Vs&&Y.removeEventListener(Ap,this.Vs),this.Ws&&pe.removeEventListener("click",this.Ws,{capture:!0}),this.Zs&&pe.removeEventListener("mousemove",this.Zs,{capture:!0}),this.Js&&pe.removeEventListener(Pp,this.Js),clearTimeout(this.Ks),(e=this.Qs)==null||e.stop(),this.Ps=!1)}Ys(e,t){var n=this.instance.scrollManager.scrollY(),r=this.instance.scrollManager.scrollX(),s=this.instance.scrollManager.scrollElement(),i=function(a,l,c){for(var u=a;u&&gl(u)&&!Ns(u,"body");){if(u===c)return!1;if(Ve(l,Y==null?void 0:Y.getComputedStyle(u).position))return!0;u=GO(u)}return!1}(FT(e),["fixed","sticky"],s);return{x:e.clientX+(i?0:r),y:e.clientY+(i?0:n),target_fixed:i,type:t}}Mt(e,t){var n;if(t===void 0&&(t="click"),!DT(e.target)&&ZT(e)){var r=this.Ys(e,t);(n=this.rageclicks)!=null&&n.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Xs(ue({},r,{type:"rageclick"})),this.Xs(r)}}Gs(e){!DT(e.target)&&ZT(e)&&(clearTimeout(this.Ks),this.Ks=setTimeout(()=>{this.Xs(this.Ys(e,"mousemove"))},500))}Xs(e){if(Y){var t=Y.location.href,n=this.qt.custom_personal_data_properties,r=this.qt.mask_personal_data_properties?[...Su,...n||[]]:[],s=o1(t,r,l1);this.M=this.M||{},this.M[s]||(this.M[s]=[]),this.M[s].push(e)}}Zr(){this.M&&!Rc(this.M)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:_T,webVitalsAutocapture:class{constructor(e){var t;this.js=!1,this.Ps=!1,this.M={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.eo=()=>{clearTimeout(this.ro),this.M.metrics.length!==0&&(this._instance.capture("$web_vitals",this.M.metrics.reduce((n,r)=>ue({},n,{["$web_vitals_"+r.name+"_event"]:ue({},r),["$web_vitals_"+r.name+"_value"]:r.value}),{})),this.M={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.ht=n=>{var r,s=(r=this._instance.sessionManager)==null?void 0:r.checkAndGetSessionAndWindowId(!0);if(me(s))ya.error("Could not read session ID. Dropping metrics!");else{this.M=this.M||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var i=this.io();me(i)||(Ye(n==null?void 0:n.name)||Ye(n==null?void 0:n.value)?ya.error("Invalid metric received",n):!this.no||this.no>n.value?(this.M.url!==i&&(this.eo(),this.ro=setTimeout(this.eo,this.flushToCaptureTimeoutMs)),me(this.M.url)&&(this.M.url=i),this.M.firstMetricTimestamp=me(this.M.firstMetricTimestamp)?Date.now():this.M.firstMetricTimestamp,n.attribution&&n.attribution.interactionTargetElement&&(n.attribution.interactionTargetElement=void 0),this.M.metrics.push(ue({},n,{$current_url:i,$session_id:s.sessionId,$window_id:s.windowId,timestamp:Date.now()})),this.M.metrics.length===this.allowedMetrics.length&&this.eo()):ya.error("Ignoring metric with value >= "+this.no,n))}},this.so=()=>
109{if(!this.Ps){var n,r,s,i,a=we.__PosthogExtensions__;me(a)||me(a.postHogWebVitalsCallbacks)||({onLCP:n,onCLS:r,onFCP:s,onINP:i}=a.postHogWebVitalsCallbacks),n&&r&&s&&i?(this.allowedMetrics.indexOf("LCP")>-1&&n(this.ht.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&r(this.ht.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&s(this.ht.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&i(this.ht.bind(this)),this.Ps=!0):ya.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.js=!((t=this._instance.persistence)==null||!t.props[P7]),this.startIfEnabled()}get oo(){return this._instance.config.capture_performance}get allowedMetrics(){var e,t,n=Vt(this.oo)?(e=this.oo)==null?void 0:e.web_vitals_allowed_metrics:void 0;return Ye(n)?((t=this._instance.persistence)==null?void 0:t.props[L7])||["CLS","FCP","INP","LCP"]:n}get flushToCaptureTimeoutMs(){return(Vt(this.oo)?this.oo.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Vt(this.oo)?this.oo.web_vitals_attribution:void 0;return e!=null&&e}get no(){var e=Vt(this.oo)&&fs(this.oo.__web_vitals_max_value)?this.oo.__web_vitals_max_value:VT;return e>0&&6e4>=e?VT:e}get isEnabled(){var e=Sn==null?void 0:Sn.protocol;if(e!=="http:"&&e!=="https:")return ya.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Vt(this.oo)?this.oo.web_vitals:si(this.oo)?this.oo:void 0;return si(t)?t:this.js}startIfEnabled(){this.isEnabled&&!this.Ps&&(ya.info("enabled, starting..."),this.lr(this.so))}onRemoteConfig(e){if("capturePerformance"in e){var t=Vt(e.capturePerformance)&&!!e.capturePerformance.web_vitals,n=Vt(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[P7]:t}),this._instance.persistence.register({[L7]:n})),this.js=t,this.startIfEnabled()}}lr(e){var t,n;(t=we.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks?e():(n=we.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,this.useAttribution?"web-vitals-with-attribution":"web-vitals",r=>{r?ya.error("failed to load script",r):e()})}io(){var e=Y?Y.location.href:void 0;if(e){var t=this._instance.config.custom_personal_data_properties,n=this._instance.config.mask_personal_data_properties?[...Su,...t||[]]:[];return o1(e,n,l1)}ya.error("Could not determine current URL")}}},o1e={exceptionObserver:class{constructor(e){var t,n,r;this.so=()=>{var s;if(Y&&this.isEnabled&&(s=we.__PosthogExtensions__)!=null&&s.errorWrappingFunctions){var i=we.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,a=we.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,l=we.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ao&&this.qt.capture_unhandled_errors&&(this.ao=i(this.captureException.bind(this))),!this.uo&&this.qt.capture_unhandled_rejections&&(this.uo=a(this.captureException.bind(this))),!this.lo&&this.qt.capture_console_errors&&(this.lo=l(this.captureException.bind(this)))}catch(c){bd.error("failed to start",c),this.ho()}}},this._instance=e,this.co=!((t=this._instance.persistence)==null||!t.props[N7]),this.do=new yde({refillRate:(n=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&n!==void 0?n:1,bucketSize:(r=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&r!==void 0?r:10,refillInterval:1e4,Gt:bd}),this.qt=this.vo(),this.startIfEnabledOrStop()}vo(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return Vt(e)?t=ue({},t,e):(me(e)?this.co:e)&&(t=ue({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.qt.capture_console_errors||this.qt.capture_unhandled_errors||this.qt.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(bd.info("enabled"),this.ho(),this.lr(this.so)):this.ho()}lr(e){var t,n;(t=we.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(),(n=we.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"exception-autocapture",r=>{if(r)return bd.error("failed to load script",r);e()})}ho(){var e,t,n;(e=this.ao)==null||e.call(this),this.ao=void 0,(t=this.uo)==null||t.call(this),this.uo=void 0,(n=this.lo)==null||n.call(this),this.lo=void 0}onRemoteConfig(e){"autocaptureExceptions"in e&&(this.co=!!e.autocaptureExceptions||!1,this._instance.persistence&&this._instance.persistence.register({[N7]:this.co}),this.qt=this.vo(),this.startIfEnabledOrStop())}onConfigChange(){this.qt=this.vo()}captureException(e){var t,n,r,s=(t=e==null||(n=e.$exception_list)==null||(n=n[0])==null?void 0:n.type)!==null&&t!==void 0?t:"Exception";this.do.consumeRateLimit(s)?bd.info("Skipping exception capture because of client rate limiting.",{exception:s}):(r=this._instance.exceptions)==null||r.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,n;this.fo=[],this.po=new Nde([new Dde,new Kde,new Fde,new Wde,new Hde,new qde,new Bde,new Gde],function(r){for(var s=arguments.length,i=new Array(s>1?s-1:0),a=1;s>a;a++)i[a-1]=arguments[a];return function(l,c){c===void 0&&(c=0);for(var u=[],d=l.split(`
110`),h=c;d.length>h;h++){var f=d[h];if(1024>=f.length){var p=gT.test(f)?f.replace(gT,"$1"):f;if(!p.match(/\S*Error: /)){for(var m of i){var y=m(p,r);if(y){u.push(y);break}}if(u.length>=50)break}}}return function(_){if(!_.length)return[];var g=Array.from(_);return g.reverse(),g.slice(0,50).map(b=>{return ue({},b,{filename:b.filename||(k=g,k[k.length-1]||{}).filename,function:b.function||xu});var k})}(u)}}("web:javascript",Ade,Ode)),this._instance=e,this.fo=(t=(n=this._instance.persistence)==null?void 0:n.get_property(I7))!==null&&t!==void 0?t:[],this.mo=Cp(this.yo()),this.bo=new Yde(this.mo)}onConfigChange(){this.mo=Cp(this.yo()),this.bo.setConfig(this.mo)}onRemoteConfig(e){var t,n,r;if("errorTracking"in e){var s=(t=(n=e.errorTracking)==null?void 0:n.suppressionRules)!==null&&t!==void 0?t:[],i=(r=e.errorTracking)==null?void 0:r.captureExtensionExceptions;this.fo=s,this._instance.persistence&&this._instance.persistence.register({[I7]:this.fo,[R7]:i})}}get _o(){var e,t=!!this._instance.get_property(R7),n=this._instance.config.error_tracking.captureExtensionExceptions;return(e=n??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.po.buildFromUnknown(e,{syntheticException:t==null?void 0:t.syntheticException,mechanism:{handled:t==null?void 0:t.handled}})}addExceptionStep(e,t){if(this.mo.enabled)try{if(!Wt(e)||e.trim().length===0)return void zi.warn("Ignoring exception step because message must be a non-empty string");var n=this.wo(t),{sanitizedProperties:r,droppedKeys:s}=function(i){if(!i)return{sanitizedProperties:{},droppedKeys:[]};var a=[];return{sanitizedProperties:Object.keys(i).reduce((l,c)=>Vde.has(c)?(a.push(c),l):(l[c]=i[c],l),{}),droppedKeys:a}}(n);s.length>0&&zi.warn("Ignoring reserved exception step fields",{droppedKeys:s}
110),this.bo.add(ue({[Tp]:e,[jp]:new Date().toISOString()},r))}catch(i){zi.error("Failed to add exception step. Ignoring breadcrumb.",i)}}sendExceptionEvent(e){try{var t=e.$exception_list;if(this.xo(t)){if(this.So(t))return this.ko("Exception dropped: matched a suppression rule"),void zi.info("Skipping exception capture because a suppression rule matched");if(!this._o&&this.Co(t))return this.ko("Exception dropped: thrown by a browser extension"),void zi.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.Io(t))return this.ko("Exception dropped: thrown by the PostHog SDK"),void zi.info("Skipping exception capture because it was thrown by the PostHog SDK")}var n=this.mo.enabled&&Ye(e.$exception_steps)?this.To(e):e;try{var r=this._instance.capture("$exception",n,{_noTruncate:!0,_batchKey:"exceptionEvent",en:!0});return r&&this.bo.clear(),r}catch(s){return zi.error("Failed to capture exception event. Dropping this exception.",s),void this.bo.clear()}}catch(s){return void zi.error("Failed to process exception event. Ignoring this exception.",s)}}To(e){try{var t=this.bo.getAttachable();return t.length===0?e:ue({},e,{$exception_steps:t})}catch(n){return zi.error("Failed to read buffered exception steps. Capturing exception without steps.",n),e}}ko(e){this.mo.enabled&&this.bo.add({[Tp]:e,[jp]:new Date().toISOString()})}wo(e){return Vt(e)?ue({},e):{}}yo(){var e,t;return(e=(t=this._instance.config.error_tracking)==null?void 0:t.exception_steps)!==null&&e!==void 0?e:{}}So(e){if(e.length===0)return!1;var t=e.reduce((n,r)=>{var{type:s,value:i}=r;return Wt(s)&&s.length>0&&n.$exception_types.push(s),Wt(i)&&i.length>0&&n.$exception_values.push(i),n},{$exception_types:[],$exception_values:[]});return this.fo.some(n=>{var r=n.values.map(s=>{var i,a=WO[s.operator],l=it(s.value)?s.value:[s.value],c=(i=t[s.key])!==null&&i!==void 0?i:[];return l.length>0&&a(l,c)});return n.type==="OR"?r.some(Boolean):r.every(Boolean)})}Co(e){return e.flatMap(t=>{var n,r;return(n=(r=t.stacktrace)==null?void 0:r.frames)!==null&&n!==void 0?n:[]}).some(t=>t.filename&&t.filename.startsWith("chrome-extension://"))}Io(e){if(e.length>0){var t,n,r,s,i=(t=(n=e[0].stacktrace)==null?void 0:n.frames)!==null&&t!==void 0?t:[],a=i[i.length-1];return(r=a==null||(s=a.filename)==null?void 0:s.includes("posthog.com/static"))!==null&&r!==void 0&&r}return!1}xo(e){return!Ye(e)&&it(e)}}},l1e=ue({productTours:class{get ni(){return this._instance.persistence}constructor(e){this.Eo=null,this.Mo=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this.ni&&this.ni.register({[A7]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Eo||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(A7)||this.lr(()=>this.Po())}lr(e){var t,n;(t=we.__PosthogExtensions__)!=null&&t.generateProductTours?e():(n=we.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"product-tours",r=>{r?XT.error("Could not load product tours script",r):e()})}Po(){var e;!this.Eo&&(e=we.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Eo=we.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!it(this.Mo)||t){var n=this.ni;if(n){var r=n.props[cf];if(it(r)&&!t)return this.Mo=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:s=>{var i=s.statusCode;if(i!==200||!s.json){var a="Product Tours API could not be loaded, status: "+i;return XT.error(a),void e([],{isLoaded:!1,error:a})}var l=it(s.json.product_tours)?s.json.product_tours:[];this.Mo=l,n&&n.register({[cf]:l}),e(l,{isLoaded:!0})}})}else e(this.Mo,{isLoaded:!0})}getActiveProductTours(e){Ye(this.Eo)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Eo.getActiveProductTours(e)}showProductTour(e){var t;(t=this.Eo)==null||t.showTourById(e)}previewTour(e){this.Eo?this.Eo.previewTour(e):this.lr(()=>{var t;this.Po(),(t=this.Eo)==null||t.previewTour(e)})}dismissProductTour(){var e;(e=this.Eo)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Eo)==null||e.nextStep()}previousStep(){var e;(e=this.Eo)==null||e.previousStep()}clearCache(){var e;this.Mo=null,(e=this.ni)==null||e.unregister(cf)}resetTour(e){var t;(t=this.Eo)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Eo)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Eo)==null||t.cancelPendingTour(e)}}},X3),c1e={siteApps:class{constructor(e){this._instance=e,this.Ro=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}Oo(e,t){if(t){var n=this.globalsForEvent(t);this.Ro.push(n),this.Ro.length>1e3&&(this.Ro=this.Ro.slice(10))}}get siteAppLoaders(){var e;return(e=we._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.Oo.bind(this));this.Lo=()=>{e(),this.Ro=[],this.Lo=void 0}}}globalsForEvent(e){var t,n,r,s,i,a,l;if(!e)throw new Error("Event payload is required");var c={},u=this._instance.get_property("$groups")||[],d=this._instance.get_property("$stored_group_properties")||{};for(var[h,f]of Object.entries(d))c[h]={id:u[h],type:h,properties:f};var{$set_once:p,$set:m}=e;return{event:ue({},WM(e,Q0e),{properties:ue({},e.properties,m?{$set:ue({},(t=(n=e.properties)==null?void 0:n.$set)!==null&&t!==void 0?t:{},m)}:{},p?{$set_once:ue({},(r=(s=e.properties)==null?void 0:s.$set_once)!==null&&r!==void 0?r:{},p)}:{}),elements_chain:(i=(a=e.properties)==null?void 0:a.$elements_chain)!==null&&i!==void 0?i:"",distinct_id:(l=e.properties)==null?void 0:l.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:c}}setupSiteApp(e){var t=this.apps[e.id],n=()=>{var a;!t.errored&&this.Ro.length&&(va.info("Processing "+this.Ro.length+" events for site app with id "+e.id),this.Ro.forEac
vendor: 5,337 bytes, line 110
110h(l=>t.processEvent==null?void 0:t.processEvent(l)),t.processedBuffer=!0),Object.values(this.apps).every(l=>l.processedBuffer||l.errored)&&((a=this.Lo)==null||a.call(this))},r=!1,s=a=>{t.errored=!a,t.loaded=!0,va.info("Site app with id "+e.id+" "+(a?"loaded":"errored")),r&&n()};try{var{processEvent:i}=e.init({posthog:this._instance,callback(a){s(a)}});i&&(t.processEvent=i),r=!0}catch(a){va.error(QT+e.id,a),s(!1)}if(r&&t.loaded)try{n()}catch(a){va.error("Error while processing buffered events PostHog app with config id "+e.id,a),t.errored=!0}}Fo(){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)}Ao(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var n of Object.values(this.apps))try{n.processEvent==null||n.processEvent(t)}catch(r){va.error("Error while processing event "+e.event+" for site app "+n.id,r)}}}onRemoteConfig(e){var t,n,r,s=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.Fo(),void this._instance.on("eventCaptured",c=>this.Ao(c))):void va.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((n=this.Lo)==null||n.call(this),(r=e.siteApps)!=null&&r.length)if(this.isEnabled){var i=function(c){var u;we["__$$ph_site_app_"+c]=s._instance,(u=we.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(s._instance,l,d=>{if(d)return va.error(QT+c,d)})};for(var{id:a,url:l}of e.siteApps)i(a)}else va.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},u1e={tracingHeaders:class{constructor(e){this.No=void 0,this.$o=void 0,this.so=()=>{var t,n,r=this.Do()||[];me(this.No)&&((t=we.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(r,this._instance.get_distinct_id(),this._instance.sessionManager)),me(this.$o)&&((n=we.__PosthogExtensions__)==null||(n=n.tracingHeadersPatchFns)==null||n._patchFetch(r,this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}lr(e){var t,n;(t=we.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(n=we.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"tracing-headers",r=>{if(r)return Z0e.error("failed to load script",r);e()})}Do(){var e;return(e=this._instance.config.addTracingHeaders)!==null&&e!==void 0?e:this._instance.config.__add_tracing_headers}startIfEnabledOrStop(){var e,t;this.Do()?this.lr(this.so):((e=this.No)==null||e.call(this),(t=this.$o)==null||t.call(this),this.No=void 0,this.$o=void 0)}}},d1e=ue({surveys:class{get qt(){return this._instance.config}constructor(e){this.qo=void 0,this._surveyManager=null,this.jo=!1,this.Ho=[],this.Uo=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this.qt.disable_surveys){var t=e.surveys;if(Ye(t))return gt.warn("Flags not loaded yet. Not loading surveys.");var n=it(t);this.qo=n?t.length>0:t,gt.info("flags response received, isSurveysEnabled: "+this.qo),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var n=localStorage.key(t);(n!=null&&n.startsWith(e9)||n!=null&&n.startsWith("inProgressSurvey_"))&&e.push(n)}e.forEach(r=>localStorage.removeItem(r))}loadIfEnabled(){if(!this._surveyManager)if(this.jo)gt.info("Already initializing surveys, skipping...");else if(this.qt.disable_surveys)gt.info(ej);else if(this.qt.cookieless_mode&&this._instance.consent.isOptedOut())gt.info("Not loading surveys in cookieless mode without consent.");else{var e=we==null?void 0:we.__PosthogExtensions__;if(e){if(!me(this.qo)||this.qt.advanced_enable_surveys){var t=this.qo||this.qt.advanced_enable_surveys;this.jo=!0;try{var n=e.generateSurveys;if(n)return void this.Bo(n,t);var r=e.loadExternalDependency;if(!r)return void this.zo(Vv);r(this._instance,"surveys",s=>{s||!e.generateSurveys?this.zo("Could not load surveys script",s):this.Bo(e.generateSurveys,t)})}catch(s){throw this.zo("Error initializing surveys",s),s}finally{this.jo=!1}}}else gt.error("PostHog Extensions not found.")}}Bo(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new n1e(this._instance),gt.info("Surveys loaded successfully"),this.Vo({isLoaded:!0})}zo(e,t){gt.error(e,t),this.Vo({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.Ho.push(e),this._surveyManager&&this.Vo({isLoaded:!0}),()=>{this.Ho=this.Ho.filter(t=>t!==e)}}getSurveys(e,t){if(t===void 0&&(t=!1),this.qt.disable_surveys)return gt.info(ej),e([]);var n,r=this._instance.get_property(W7);if(r&&!t)return e(r,{isLoaded:!0});typeof Promise<"u"&&this.Uo?this.Uo.then(s=>{var{surveys:i,context:a}=s;return e(i,a)}):(typeof Promise<"u"&&(this.Uo=new Promise(s=>{n=s})),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this.qt.token),method:"GET",timeout:this.qt.surveys_request_timeout_ms,callback:s=>{var i;this.Uo=null;var a=s.statusCode;if(a!==200||!s.json){var l="Surveys API could not be loaded, status: "+a;gt.error(l);var c={isLoaded:!1,error:l};return e([],c),void(n==null||n({surveys:[],context:c}))}var u,d=s.json.surveys||[],h=d.filter(p=>function(m){return!(!m.start_date||m.end_date)}
110(p)&&(function(m){var y;return!((y=m.conditions)==null||(y=y.events)==null||(y=y.values)==null||!y.length)}(p)||function(m){var y;return!((y=m.conditions)==null||(y=y.actions)==null||(y=y.values)==null||!y.length)}(p)));h.length>0&&((u=this._surveyEventReceiver)==null||u.register(h)),(i=this._instance.persistence)==null||i.register({[W7]:d});var f={isLoaded:!0};e(d,f),n==null||n({surveys:d,context:f})}}))}Vo(e){for(var t of this.Ho)try{if(!e.isLoaded)return t([],e);this.getSurveys(t)}catch(n){gt.error("Error in survey callback",n)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!Ye(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);gt.warn("init was not called")}Wo(e){var t=null;return this.getSurveys(n=>{var r;t=(r=n.find(s=>s.id===e))!==null&&r!==void 0?r:null}),t}Zo(e){if(Ye(this._surveyManager))return{eligible:!1,reason:O4};var t=typeof e=="string"?this.Wo(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(Ye(this._surveyManager))return gt.warn("init was not called"),{visible:!1,disabledReason:O4};var t=this.Zo(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return Ye(this._surveyManager)?(gt.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:O4})):new Promise(n=>{this.getSurveys(r=>{var s,i=(s=r.find(l=>l.id===e))!==null&&s!==void 0?s:null;if(i){var a=this.Zo(i);n({visible:a.eligible,disabledReason:a.reason})}else n({visible:!1,disabledReason:"Survey not found"})},t)})}renderSurvey(e,t,n){var r;if(Ye(this._surveyManager))gt.warn("init was not called");else{var s=typeof e=="string"?this.Wo(e):e;if(s!=null&&s.id)if(P0e.includes(s.type)){var i=pe==null?void 0:pe.querySelector(t);if(i)return(r=s.appearance)!=null&&r.surveyPopupDelaySeconds?(gt.info("Rendering survey "+s.id+" with delay of "+s.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout(()=>{var a,l;gt.info("Rendering survey "+s.id+" with delay of "+((a=s.appearance)==null?void 0:a.surveyPopupDelaySeconds)+" seconds"),(l=this._surveyManager)==null||l.renderSurvey(s,i,n),gt.info("Survey "+s.id+" rendered")},1e3*s.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(s,i,n);gt.warn("Survey element not found")}else gt.warn("Surveys of type "+s.type+" cannot be rendered in the app");else gt.warn("Survey not found")}}displaySurvey(e,t){var n;if(Ye(this._surveyManager))gt.warn("init was not called");else{var r=this.Wo(e);if(r){var s=r;if((n=r.appearance)!=null&&n.surveyPopupDelaySeconds&&t.ignoreDelay&&(s=ue({},r,{appearance:ue({},r.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==V7.Popover&&t.initialResponses&&gt.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(r);if(!i.visible)return void gt.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==V7.Inline?this._surveyManager.handlePopoverSurvey(s,t):this.renderSurvey(s,t.selector,t.properties)}else gt.warn("Survey not found")}}cancelPendingSurvey(e){Ye(this._surveyManager)?gt.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},X3),h1e={toolbar:class{constructor(e){this.instance=e}Go(e){we.ph_toolbar_state=e}Qo(){var e;return(e=we.ph_toolbar_state)!==null&&e!==void 0?e:0}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,n){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),n===void 0&&(n=void 0),_O(this.instance.config)||!Y||!pe)return!1;e=e??Y.location,n=n??Y.history;try{if(!t){try{Y.localStorage.setItem("test","test"),Y.localStorage.removeItem("test")}catch{return!1}t=Y==null?void 0:Y.localStorage}var r,s=r1e||Dp(e.hash,"__posthog")||Dp(e.hash,"state"),i=s?vT(()=>JSON.parse(atob(decodeURIComponent(s))))||vT(()=>JSON.parse(decodeURIComponent(s))):null;return i&&i.action==="ph_authorize"?((r=i).source="url",r&&Object.keys(r).length>0&&(i.desiredHash?e.hash=i.desiredHash:n?n.replaceState(n.state,"",e.pathname+e.search):e.hash="")):((r=JSON.parse(t.getItem(tj)||"{}")).source="localstorage",delete r.userIntent),!(!r.token||this.instance.config.token!==r.token||(this.loadToolbar(r),0))}catch{return!1}}Jo(e){var t=we.ph_load_toolbar||we.ph_load_editor;!Ye(t)&&Mi(t)?t(e,this.instance):nj.warn("No toolbar load function found")}loadToolbar(e){var t=!(pe==null||!pe.getElementById(gO));if(!Y||t)return!1;var n=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,r=ue({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},n?{instrument:!1}:{});if(Y.localStorage.setItem(tj,JSON.stringify(ue({},r,{source:void 0}))),this.Qo()===2)this.Jo(r);else if(this.Qo()===0){var s;this.Go(1),(s=we.__PosthogExtensions__)==null||s.loadExternalDependency==null||s.loadExternalDependency(this.instance,"toolbar",i=>{if(i)return nj.error("[Toolbar] Failed to load",i),void this.Go(0);this.Go(2),this.Jo(r)}),Zt(Y,"turbolinks:load",()=>{this.Go(0),this.loadToolbar(r)})}return!0}Ko(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,n){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),n===void 0&&(n=void 0),this.maybeLoadToolbar(e,t,n)}}},f1e=ue({experiments:Mn},X3),p1e={conversations:class{constructor(e){this.Yo=void 0,this._conversationsManager=null,this.Xo=!1,this.ea=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;Ye(t)||(si(t)?this.Yo=t:(this.Yo=t.enabled,this.ea=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.Yo=void 0,this.ea=null}loadIfEnabled(){if(!(this._conversationsManager||this.Xo||this._instance.config.disable_conversations||_O(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=we==null?void 0:we.__PosthogExtensions__;if(e&&!me(this.Yo)&&this.Yo)if(this.ea&&this.ea.token){this.Xo=!0;try{var t=e.initConversations;if(t)return this.ta(t),void(this.Xo=!1);var n=e.loadExternalDependency;if(!n)return void this.ra(Vv);n(this._instance,"conversations",r=>{r||!e.initConversations?this.ra("Could not load conversations script",r):this.ta(e.initConversations),this.Xo=!1})}catch(r){this.ra("Error initializing conversations",r),this.Xo=!1}}else Yr.error("Conversations enabled but missing token in remote config.")}}ta(e){if(this.ea)try{this._conversationsManager=e(this.ea,this._instance),Yr.info("Conversations loaded successfully")}catch(t){this.ra("Error completing conversations initialization",t)}else Yr.error("Cannot complete initialization: remote config is null")}ra(e,t){Yr.error(e,t),this._conversationsManager=null,this.Xo=!1}show(){this._conversationsManager?this._conversationsManager.show():Yr.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.Yo===!0&&!aa(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,n){var r=this;return zr(function*(){return r._conversationsManager?r._conversationsManager.sendMessage(e,t,n):(Yr.warn(To),null)})()}getMessages(e,t){var n=this;return zr(function*(){return n._conversationsManager?n._conversationsManager.getMessages(e,t):(Yr.warn(To),null)})()}markAsRead(e){var t=this;return zr(function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Yr.warn(To),null)})()}getTickets(e){var t=this;return zr(function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Yr.warn(To),null)})()}requestRestoreLink(e){var t=this;return zr(function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Yr.warn(To),null)})()}restoreFromToken(e){var t=this;return zr(function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Yr.warn(To),null)})()}restoreFromUrlToken(){var e=this;return zr(function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Yr.warn(To),null)})()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}ln(){var e;(e=this._conversationsManager)==null||e.setIdentity()}hn(){var e;(e=this._conversationsManager)==null||e.clearIdentity()}}},m1e={logs:class{constructor(e){var t;this.ia=!1,this.na=!1,this.Gt=Lt("[logs]"),this.sa=[],this.oa=0,this.aa=0,this.ua=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.ia=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,n=(t=e.logs)==null?void 0:t.captureConsoleLogs;!Ye(n)&&n&&(this.ia=!0,this.loadIfEnabled())}reset(){this.sa=[],this.qr&&(clearTimeout(this.qr),this.qr=void 0),this.oa=0,this.aa=0,this.ua=!1}loadIfEnabled(){if(this.ia&&!this.na){var e=we==null?void 0:we.__PosthogExtensions__;if(e){var t=e.loadExternalDependency;t?t(this._instance,"logs",n=>{var r;n||(r=e.logs)==null||!r.initializeLogs?this.Gt.error("Could not load logs script",n):(e.logs.initializeLogs(this._instance),this.na=!0)}):this.Gt.error(Vv)}else this.Gt.error("PostHog Extensions not found.")}}captureLog(e){var t,n,r,s,i,a;if(this._instance.is_capturing())if(e&&e.body){var l=(t=(n=this._instance.config.logs)==null?void 0:n.flushIntervalMs)!==null&&t!==void 0?t:3e3,c=(r=(s=this._instance.config.logs)==null?void 0:s.maxLogsPerInterval)!==null&&r!==void 0?r:1e3,u=Date.now();if(l>u-this.aa||(this.aa=u,this.oa=0,this.ua=!1),c>this.oa){this.oa++;var d=function(h,f){var p=h.level||"info",{text:m,number:y}=aO[p]||Ede,_=String(Date.now())+"000000",g={};f.distinctId&&(g.posthogDistinctId=f.distinctId),f.sessionId&&(g.sessionId=f.sessionId),f.currentUrl&&(g["url.full"]=f.currentUrl),f.screenName&&(g["screen.name"]=f.screenName),f.appState&&(g["app.state"]=f.appState),f.activeFeatureFlags&&f.activeFeatureFlags.length>0&&(g.feature_flags=f.activeFeatureFlags);var b=ue({},g,h.attributes||{}
110),k={timeUnixNano:_,observedTimeUnixNano:_,severityNumber:y,severityText:m,body:{stringValue:h.body},attributes:mT(b)};return h.trace_id&&(k.traceId=h.trace_id),h.span_id&&(k.spanId=h.span_id),me(h.trace_flags)||(k.flags=h.trace_flags),k}(e,this.la());this.sa.push({record:d}),((i=(a=this._instance.config.logs)==null?void 0:a.maxBufferSize)!==null&&i!==void 0?i:100)>this.sa.length?this.ha():this.flushLogs()}else this.ua||(this.Gt.warn("captureLog dropping logs: exceeded "+c+" logs per "+l+"ms"),this.ua=!0)}else this.Gt.warn("captureLog requires a body")}get logger(){return this.ca||(this.ca={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)=>this.captureLog({body:e,level:"error",attributes:t}),fatal:(e,t)=>this.captureLog({body:e,level:"fatal",attributes:t})}),this.ca}flushLogs(e){if(this.qr&&(clearTimeout(this.qr),this.qr=void 0),this.sa.length!==0){var t=this.sa;this.sa=[];var n=this._instance.config.logs,r=ue({"service.name":(n==null?void 0:n.serviceName)||"unknown_service"},(n==null?void 0:n.environment)&&{"deployment.environment":n.environment},(n==null?void 0:n.serviceVersion)&&{"service.version":n.serviceVersion},n==null?void 0:n.resourceAttributes),s=function(a,l,c,u){return{resourceLogs:[{resource:{attributes:mT(l)},scopeLogs:[{scope:{name:c,version:u},logRecords:a}]}]}}(t.map(a=>a.record),r,Vn.LIB_NAME,Vn.LIB_VERSION),i=this._instance.requestRouter.endpointFor("api","/i/v1/logs")+"?token="+encodeURIComponent(this._instance.config.token);this._instance.Bi({method:"POST",url:i,data:s,compression:"best-available",batchKey:"logs",transport:e})}}ha(){var e,t;this.qr||(this.qr=setTimeout(()=>{this.qr=void 0,this.flushLogs()},(e=(t=this._instance.config.logs)==null?void 0:t.flushIntervalMs)!==null&&e!==void 0?e:3e3))}la(){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(we!=null&&(e=we.location)!=null&&e.href&&(t.currentUrl=we.location.href),this._instance.featureFlags){var r=this._instance.featureFlags.getFlags();r&&r.length>0&&(t.activeFeatureFlags=r)}return t}}},g1e=ue({},X3,i1e,a1e,o1e,l1e,c1e,d1e,u1e,h1e,f1e,p1e,m1e);rs.__defaultExtensionClasses=ue({},g1e);var aj,ZO=(aj=k0[uc]=new rs,function(){function e(){e.done||(e.done=!0,BO=!1,It(k0,function(t){t._dom_loaded()}))}pe!=null&&pe.addEventListener?pe.readyState==="complete"?e():Zt(pe,"DOMContentLoaded",e,{capture:!1}):Y&&fe.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")}(),aj);const y1e="phc_vgHPP2a5UYw63JSweUktx6dWyGtde4UrB65EiHDsaBFH",yl=ZO;function v1e(){ZO.init(y1e,{api_host:"/ingest",ui_host:"https://eu.posthog.com",autocapture:!1,capture_pageview:!0,capture_pageleave:!0,disable_session_recording:!0,opt_out_capturing_by_default:!0,session_recording:{maskAllInputs:!0,maskTextSelector:".ph-private",blockSelector:".ph-block",recordCrossOriginIframes:!1},loaded:e=>{e.debug(!1)}})}const b1e=(e,t)=>{yl.identify(e,t),ode(t==null?void 0:t.email)},_1e=()=>{lde(),yl.reset()},k1e=()=>{yl.opt_in_capturing()},w1e=()=>{yl.opt_out_capturing()},x1e="gt.",oj=e=>{let t;try{t=[];for(let n=0;n<e.length;n++){const r=e.key(n);r!==null&&r.startsWith(x1e)&&t.push(r)}}catch{return}for(const n of t)try{e.removeItem(n)}catch{}},S1e=()=>{oj(window.localStorage),oj(window.sessionStorage)};function V1(e){_1e(),S1e(),e({logoutParams:{returnTo:window.location.origin}})}const T1e=async e=>{if(e.status!==403)return!1;try{return(await e.clone().json()).code==="email_not_verified"}catch{return!1}},bt=()=>{if(typeof window>"u")return{isAuthenticated:!1,isLoading:!0,user:void 0,authFetch:async(a,l)=>fetch(a,l)};const{isAuthenticated:e,isLoading:t,user:n,getAccessTokenSilently:r,logout:s}=ar(),i=v.useCallback(async(a,l)=>{if(!nr||!e)return fetch(a,l);const c=await r(),u=new Headers(l==null?void 0:l.headers);u.set("Authorization",`Bearer ${c}`);let d=await fetch(a,{...l,headers:u});if(d.status===401){const h=await r({cacheMode:"off"}).catch(()=>null);h&&(u.set("Authorization",`Bearer ${h}`),d=await fetch(a,{...l,headers:u})),d.status===401&&V1(s)}return await T1e(d)&&await r({cacheMode:"off"}).catch(()=>null),d},[r,e,s]);return{isAuthenticated:nr&&e,isLoading:t,user:n,authFetch:i}},Q3=async e=>{const t=await e.json().catch(()=>({error:`HTTP ${e.status}`}));throw new Error(t.error??`HTTP ${e.status}`)},j1e=async(e,t,n)=>{const r=await e(`/api/bookings/${encodeURIComponent(t)}/sgfs`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)});return r.ok||await Q3(r),(await r.json()).sgf},tb=async(e,t,n)=>{const s=((n==null?void 0:n.role)??"student")==="teacher"?`/api/teachers/me/bookings/${encodeURIComponent(t)}/sgfs`:`/api/bookings/${encodeURIComponent(t)}/sgfs`,i=n!=null&&n.includeDeleted?`${s}?include_deleted=true`:s,a=await e(i,{method:"GET"});return a.ok||await Q3(a),(await a.json()).sgfs},C1e=async(e,t,n)=>{const r=await e(`/api/bookings/${encodeURIComponent(t)}/sgfs/${encodeURIComponent(n)}`,{method:"DELETE"});r.ok||await Q3(r)},E1e=async(e,t,n)=>{const r=await e(`/api/bookings/${encodeURIComponent(t)}/sgfs/${encodeURIComponent(n)}/restore`,{method:"POST"});return r.ok||await Q3(r),(await r.json()).sgf},z1e=({bookingId:e,authFetch:t,onLoadSgf:n,disabled:r=!1})=>{const s=H(),[i,a]=v.useState(!1),[l,c]=v.useState(null),[u,d]=v.useState(null);if(v.useEffect(()=>{if(!i)return;const f=p=>{p.key==="Escape"&&a(!1)};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[i]),v.useEffect(()=>{r&&a(!1)},[r]),!e)return null;const h=async()=>
110{if(a(!0),l===null)try{const f=await tb(t,e,{role:"teacher"});c(f.filter(p=>p.parseStatus==="ok"))}catch(f){d(f.message)}};return o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>{h()},disabled:r,children:s("bookingSgf.inLesson.button")}),i&&o.jsx("div",{className:"modal",onClick:()=>a(!1),children:o.jsxs("div",{className:"modal__panel",onClick:f=>f.stopPropagation(),role:"dialog","aria-modal":"true",children:[o.jsx("h3",{children:s("bookingSgf.inLesson.pickerTitle")}),u&&o.jsx("p",{className:"booking-sgf__error",children:u}),l===null&&o.jsx("p",{children:"…"}),l&&l.length===0&&o.jsx("p",{children:s("bookingSgf.empty.teacher")}),l&&l.length>0&&o.jsx("ul",{children:l.map(f=>o.jsx("li",{children:o.jsx("button",{type:"button",className:"btn btn--sm",onClick:()=>{n(f.sgfText),a(!1)},children:f.label??f.originalFilename??f.id})},f.id))})]})})]})},XO=e=>{const[t,n]=v.useState(0),r=v.useRef(null),s=v.useRef(null),i=v.useRef(0);return v.useEffect(()=>{if(!e){n(0);return}const a=new AudioContext,l=a.createAnalyser();l.fftSize=256,a.createMediaStreamSource(e).connect(l),r.current=a,s.current=l;const u=new Uint8Array(l.fftSize),d=()=>{if(!ze.getState().micEnabled){n(0),i.current=requestAnimationFrame(d);return}l.getByteTimeDomainData(u);let f=0;for(let m=0;m<u.length;m++){const y=(u[m]-128)/128;f+=y*y}const p=Math.sqrt(f/u.length);n(Math.min(1,p)),i.current=requestAnimationFrame(d)};return i.current=requestAnimationFrame(d),()=>{cancelAnimationFrame(i.current),a.close(),r.current=null,s.current=null}},[e]),t},N1e=({volume:e})=>{const t=Math.round(e*100),n=e>.8?"var(--error)":e>.5?"var(--warning)":"var(--success)";return o.jsx("div",{className:"mic-meter",title:`Volume: ${t}%`,children:o.jsx("div",{className:"mic-meter__fill",style:{width:`${t}%`,backgroundColor:e>0?n:void 0}})})},I1e=({on:e})=>o.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[o.jsx("rect",{x:"6",y:"2",width:"4",height:"8",rx:"2"}),o.jsx("path",{d:"M3.5 8a4.5 4.5 0 0 0 9 0"}),o.jsx("line",{x1:"8",y1:"13",x2:"8",y2:"14.5"}),!e&&o.jsx("line",{x1:"2.5",y1:"13.5",x2:"13.5",y2:"2.5"})]}),R1e=({on:e})=>o.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[o.jsx("rect",{x:"1.5",y:"4",width:"9",height:"8",rx:"1.5"}),o.jsx("path",{d:"m10.5 7.5 4-2.5v6l-4-2.5z"}),!e&&o.jsx("line",{x1:"2.5",y1:"13.5",x2:"13.5",y2:"2.5"})]}),QO=({compact:e=!1})=>{const t=ze(C=>C.micEnabled),n=ze(C=>C.camEnabled),r=ze(C=>C.localStream),s=ze(C=>C.pcState),i=ze(C=>C.setMicEnabled),a=ze(C=>C.setCamEnabled),l=H(),c=XO(r),[u,d]=v.useState(!1),[h,f]=v.useState(!1),p=J(C=>{var E;return((E=C.self)==null?void 0:E.role)==="teacher"}),m=J(C=>C.allowMultipleStudents),y=async()=>{const C=G8();d(!0);try{const E=await Kc({audio:!0});if(jn(C,E))return;const[N]=E.getAudioTracks();if(!N){E.getTracks().forEach(O=>O.stop());return}const j=ze.getState().localStream,I=((j==null?void 0:j.getAudioTracks().length)??0)>0;let P;if(j){for(const O of j.getTracks())O.kind===N.kind&&O.readyState==="ended"&&j.removeTrack(O);j.addTrack(N),E.removeTrack(N),P=j}else P=E;if(await tn.addLocalTrack(N,P),jn(C,P))return;ze.getState().setLocalStream(P),ze.getState().setMicEnabled(!0),nn.stop(),I?nn.restart(P):nn.start(P)}catch(E){if(jn(C,null))return;const N=E instanceof Error&&(E.name==="NotAllowedError"||E.name==="SecurityError");qt.getState().add("error",E instanceof Aa?l("mediaCaptureRecovery.timeout"):l(N?"banner.micPermissionDenied":"banner.micUnavailable"),E instanceof Aa?0:5e3)}finally{d(!1)}},_=async()=>{const C=G8();f(!0);try{const E=await Kc({video:!0});if(jn(C,E))return;const[N]=E.getVideoTracks();if(!N){E.getTracks().forEach(P=>P.stop());return}const j=ze.getState().localStream;let I;if(j){for(const P of j.getTracks())P.kind===N.kind&&P.readyState==="ended"&&j.removeTrack(P);j.addTrack(N),E.removeTrack(N),I=j}else I=E;if(await tn.addLocalTrack(N,I),jn(C,I))return;ze.getState().setLocalStream(I),ze.getState().setCamEnabled(!0)}
110catch(E){if(jn(C,null))return;const N=E instanceof Error&&(E.name==="NotAllowedError"||E.name==="SecurityError");qt.getState().add("error",E instanceof Aa?l("mediaCaptureRecovery.timeout"):l(N?"banner.camPermissionDenied":"banner.camUnavailable"),E instanceof Aa?0:5e3)}finally{f(!1)}},g=async()=>{if(u||ze.getState().pcState==="requesting-media")return;if(ze.getState().localTrackReacquiring.audio){const N=!ze.getState().micEnabled;i(N),tn.toggleMic(N),N||nn.stop();return}if(!((r==null?void 0:r.getAudioTracks().some(N=>N.readyState!=="ended"))??!1)){await y();return}const E=!t;i(E),tn.toggleMic(E),E?r&&nn.restart(r):nn.stop()},b=async()=>{if(h||ze.getState().pcState==="requesting-media")return;if(ze.getState().localTrackReacquiring.video){const E=!ze.getState().camEnabled;if(a(E),!E){tn.stopCam();for(const N of(r==null?void 0:r.getVideoTracks())??[])N.stop(),r==null||r.removeTrack(N)}return}if(!((r==null?void 0:r.getVideoTracks().some(E=>E.readyState!=="ended"))??!1)){await _();return}if(n){if(tn.stopCam(),r)for(const E of r.getVideoTracks())try{r.removeTrack(E)}catch{}a(!1)}else await _()},k=r!==null,x=s==="requesting-media",S=m&&!p,T=!m;return o.jsx("div",{className:`lesson-controls lesson-media${e?" lesson-media--compact":""}`,role:"group","aria-label":l("controls.group.media"),children:S?o.jsx("div",{className:"lc-group",children:o.jsx("p",{className:"lc-hint",children:l("controls.studentMediaOff")})}):o.jsxs("div",{className:"lc-group lc-media",children:[!e&&o.jsx("span",{className:"lc-eyebrow",children:l("controls.group.media")}),o.jsxs("button",{type:"button",className:"lc-toggle",onClick:g,disabled:u||x,"data-on":t,title:l(t?"controls.muteMic":"controls.unmuteMic"),children:[o.jsx("span",{className:"lc-toggle__glyph",children:o.jsx(I1e,{on:t})}),o.jsx("span",{className:"lc-toggle__label",children:l(u?"controls.acquiringMic":t?"controls.muteMic":"controls.unmuteMic")}),o.jsx("span",{className:"lc-toggle__meter",children:k&&o.jsx(N1e,{volume:t?c:0})})]}),T&&o.jsxs("button",{type:"button",className:"lc-toggle",onClick:b,disabled:h||x,"data-on":n,title:l(n?"controls.camOff":"controls.camOn"),children:[o.jsx("span",{className:"lc-toggle__glyph",children:o.jsx(R1e,{on:n})}),o.jsx("span",{className:"lc-toggle__label",children:l(h?"controls.acquiringCam":n?"controls.camOff":"controls.camOn")}),o.jsx("span",{className:"lc-toggle__meter","aria-hidden":"true"})]})]})})},eD="gt.ttsTranslatedOnly",P1e=()=>{if(typeof window>"u")return!1;try{const e=localStorage.getItem(eD);if(e==="1")return!0;if(e==="0")return!1}catch{}return!1},A1e=e=>{if(!(typeof window>"u"))try{localStorage.setItem(eD,e?"1":"0")}catch{}},i9=mt(e=>({translatedOnly:P1e(),setTranslatedOnly:t=>{A1e(t),e({translatedOnly:t})}})),L1e=e=>e.translatedOnly&&e.ttsEnabled&&e.autoplay&&!e.allowMultipleStudents,M1e=()=>{const e=H(),t=J(f=>f.tts),n=J(f=>{var p;return((p=f.self)==null?void 0:p.role)==="teacher"}),r=J(f=>f.allowMultipleStudents),s=J(f=>f.ttsAvailable),i=J(f=>f.wsState==="connected"),a=i9(f=>f.translatedOnly),l=i9(f=>f.setTranslatedOnly);if(r)return null;const c=t.enabled&&t.autoplay,u=f=>{var p;Xn.stop(),(p=pi())==null||p.resume().catch(()=>{}),he.send({t:"tts.configure",settings:{...t,...f}})},d=f=>{var p;l(f),f&&((p=pi())==null||p.resume().catch(()=>{}),n&&!c&&i&&s&&(Xn.stop(),he.send({t:"tts.configure",settings:{enabled:!0,autoplay:!0}})))},h=c||n&&i&&s;return o.jsxs("div",{className:"lc-group tts-controls",children:[o.jsx("span",{className:"lc-eyebrow",children:e("tts.title")}),o.jsxs("label",{className:"tts-switch",children:[o.jsx("input",{type:"checkbox",checked:t.enabled,disabled:!n||!i||!s&&!t.enabled,onChange:f=>u({enabled:f.target.checked})}),e("tts.enable")]}),o.jsxs("label",{className:"tts-switch",children:[o.jsx("input",{type:"checkbox",checked:t.autoplay,disabled:!n||!i||!t.enabled,onChange:f=>u({autoplay:f.target.checked})}),e("tts.autoplay")]}),o.jsxs("label",{className:"tts-switch",children:[o.jsx("input",{type:"checkbox",checked:a,disabled:!a&&!h,onChange:f=>d(f.target.checked)}),e("tts.translatedOnly")]}),o.jsx("p",{className:"lc-hint",children:e("tts.translatedOnlyHint")}),a&&!c&&o.jsx("p",{className:"lc-hint",children:e("tts.translatedOnlyWaiting")}),s&&o.jsx("p",{className:"lc-hint",children:e("tts.hint")}),!n&&o.jsx("p",{className:"lc-hint",children:e("tts.teacherControls")})]})},O1e=({on:e})=>o.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[o.jsx("path",{d:"M2.5 6.5H5L8 4v8L5 9.5H2.5z"}),e&&o.jsx("path",{d:"M10.5 6a3 3 0 0 1 0 4"}),!e&&o.jsx("line",{x1:"2.5",y1:"13.5",x2:"13.5",y2:"2.5"})]}),D1e=({studentUrl:e,onDownloadSgf:t,gameActive:n=!1,includeQuickControls:r=!0,includeLoadSgf:s=!0,includeLanguageControls:i=!0})=>{const a=J(S=>{var T;return((T=S.self)==null?void 0:T.role)==="teacher"}),l=yt(S=>S.state!==null),c=H(),u=H8(S=>S.enabled),d=H8(S=>S.setEnabled),h=J(S=>S.self),f=(h==null?void 0:h.role)==="teacher"?sessionStorage.getItem("gt.passcode"):null,[p,m]=v.useState(!1),y=J(S=>S.allowMultipleStudents),_=()=>{f&&(navigator.clipboard.writeText(f),m(!0),setTimeout(()=>m(!1),2e3))},g=async()=>{e&&await navigator.clipboard.writeText(e)},b=S=>
110{he.send({t:"board.load",sgfText:S})},{authFetch:k}=bt(),x=v.useMemo(()=>typeof window>"u"?null:new URLSearchParams(window.location.search).get("bookingId"),[]);return o.jsxs("div",{className:"panel lesson-controls",children:[o.jsx("h3",{children:c("controls.title")}),y&&a&&o.jsx("div",{className:"lc-group",children:o.jsx("p",{className:"lc-hint",children:c("controls.groupModeHint")})}),r&&o.jsx(QO,{}),o.jsxs("div",{className:"lc-group",children:[o.jsx("span",{className:"lc-eyebrow",children:c("controls.group.sound")}),o.jsxs("button",{type:"button",className:"lc-toggle",onClick:()=>d(!u),"data-on":u,children:[o.jsx("span",{className:"lc-toggle__glyph",children:o.jsx(O1e,{on:u})}),o.jsx("span",{className:"lc-toggle__label",children:c(u?"controls.muteStoneSound":"controls.unmuteStoneSound")}),o.jsx("span",{className:"lc-toggle__meter","aria-hidden":"true"})]})]}),o.jsx(M1e,{}),r&&o.jsx(YA,{gameActive:n}),i&&o.jsx(VA,{}),(e||f)&&o.jsxs("div",{className:"lc-group",children:[o.jsx("span",{className:"lc-eyebrow",children:c("controls.group.share")}),e&&o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm btn--block",onClick:g,children:c("controls.copyLink")}),f&&o.jsxs("div",{className:"lc-passcode",children:[o.jsxs("div",{className:"lc-passcode__head",children:[o.jsx("span",{className:"lc-eyebrow",children:c("bootstrap.passcode.label")}),o.jsx("button",{type:"button",className:"btn btn--link",onClick:_,children:c(p?"bootstrap.passcode.copied":"bootstrap.passcode.copy")})]}),o.jsx("div",{className:"passcode-grid lc-passcode__grid",children:f.split("").map((S,T)=>o.jsx("span",{className:"passcode-cell passcode-cell--sm",children:S},T))})]})]}),o.jsxs("div",{className:"lc-group lc-files",children:[o.jsx("span",{className:"lc-eyebrow",children:c("controls.group.files")}),a&&o.jsxs(o.Fragment,{children:[s&&o.jsx(JA,{disabled:n,onLoad:b}),o.jsx(z1e,{bookingId:x,authFetch:k,onLoadSgf:b,disabled:n}),n&&o.jsx("p",{className:"lc-hint",children:c("controls.lockedDuringGame")})]}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:t,disabled:!l,children:c("controls.downloadSgf")})]})]})},W1e=e=>{const t=Math.floor(e/1e3),n=Math.floor(t/3600),r=Math.floor(t%3600/60),s=t%60,i=String(r).padStart(2,"0"),a=String(s).padStart(2,"0");return n>0?`${n}:${i}:${a}`:`${i}:${a}`},F1e=e=>{const[t,n]=v.useState("--:--");return v.useEffect(()=>{if(e===null){n("--:--");return}const r=()=>n(W1e(Date.now()-e));r();const s=setInterval(r,1e3);return()=>clearInterval(s)},[e]),t},rr=mt(e=>({focus:!1,chatExpanded:!1,sidebarExpanded:!1,lastSeenChatTs:0,setFocus:t=>e({focus:t,chatExpanded:!1,sidebarExpanded:!1}),toggleChat:()=>e(t=>t.focus?{chatExpanded:!t.chatExpanded}:{focus:!0,chatExpanded:!1,sidebarExpanded:!0}),toggleSidebar:()=>e(t=>t.focus?{sidebarExpanded:!t.sidebarExpanded}:{focus:!0,sidebarExpanded:!1,chatExpanded:!0}),markChatSeen:t=>e(n=>({lastSeenChatTs:Math.max(n.lastSeenChatTs,t)}))})),tD="gt.themeMode",$1e=e=>e==="auto"||e==="light"||e==="dark",B1e=()=>{try{const e=localStorage.getItem(tD);if($1e(e))return e}catch{}return"auto"},nD=e=>{if(typeof document>"u")return;const t=document.documentElement;e==="auto"?t.removeAttribute("data-theme"):t.setAttribute("data-theme",e)},U1e={auto:"light",light:"dark",dark:"auto"},u1=mt((e,t)=>({mode:"auto",setMode:n=>{try{localStorage.setItem(tD,n)}catch{}nD(n),e({mode:n})},cycle:()=>t().setMode(U1e[t().mode])})),q1e=()=>{if(typeof window>"u")return;const e=B1e();nD(e),u1.setState({mode:e})},H1e=e=>{var i,a;const t=e.trim();if(!t)return"?";const n=t.split(/\s+/),r=(i=n[0])==null?void 0:i[0],s=(a=n[1])==null?void 0:a[0];return r&&s?(r+s).toUpperCase():t.slice(0,2).toUpperCase()},rD=(e,t)=>{var a,l;const n=(a=e==null?void 0:e.name)==null?void 0:a.trim(),r=(l=e==null?void 0:e.email)==null?void 0:l.trim(),s=n||r||t;return{displayName:s,email:r&&r!==s?r:null,picture:e==null?void 0:e.picture,initials:H1e(s)}},G1e={auto:o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"8",cy:"8",r:"5.5"}),o.jsx("path",{d:"M8 2.5v11"}),o.jsx("path",{d:"M8 13.5a5.5 5.5 0 0 0 0-11",fill:"currentColor",stroke:"none"})]}),light:o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"8",cy:"8",r:"3"}),o.jsx("path",{d:"M8 1.5v1.5M8 13v1.5M1.5 8h1.5M13 8h1.5M3.2 3.2l1.1 1.1M11.7 11.7l1.1 1.1M3.2 12.8l1.1-1.1M11.7 4.3l1.1-1.1"})]}),dark:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M13.5 9.5A5.5 5.5 0 1 1 6.5 2.5a4.5 4.5 0 0 0 7 7z"})})},K1e={auto:"theme.auto",light:"theme.light",dark:"theme.dark"},sD=({asMenuItem:e=!0})=>{const t=H(),n=u1(i=>i.mode),r=u1(i=>i.cycle),s=t(K1e[n]);return o.jsxs("button",{type:"button",role:e?"menuitem":void 0,className:"account-menu__item",onClick:r,"aria-label":`${t("theme.label")}: ${s}`,title:`${t("theme.label")}: ${s}`,children:[o.jsx("span",{className:"account-menu__item-icon","aria-hidden":"true",children:G1e[n]}),o.jsx("span",{className:"account-menu__item-label",children:t("theme.label")}),o.jsx("span",{className:"account-menu__item-value","aria-hidden":"true",children:s})]})},iD=({item:e,asMenuItem:t=!0,onNavigate:n})=>o.jsxs("a",{role:t?"menuitem":void 0,href:e.href,className:"account-menu__item","aria-current":e.ariaCurrent,"aria-label":e.ariaLabel,onClick:n,children:[o.jsx("span",{className:"account-menu__item-icon","aria-hidden":"true",children:e.icon}),o.jsx("span",{className:"account-menu__item-label",children:e.label}),e.badge!=null&&e.badge>0&&o.jsx("span",{className:"account-menu__item-badge","aria-hidden":"true",children:e.badge>99?"99+":e.badge})]}),aD=({onSignOut:e,asMenuItem:t=!0})=>{const n=H();return o.jsxs("button",{type:"button",role:t?"menuitem":void 0,className:"account-menu__item",onClick:e,children:[o.jsx("span",{className:"account-menu__item-icon","aria-hidden":"true",children:o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M9.5 2.5h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-2"}),o.jsx("path",{d:"M6.5 11 3.5 8l3-3"}),o.jsx("path",{d:"M3.5 8h7"})]})}),o.jsx("span",{className:"account-menu__item-label",children:n("auth.logout")})]})},V1e=({navItems:e=[],showThemeRow:t=!0})=>{const n=H(),{user:r,logout:s}=ar(),[i,a]=v.useState(!1),l=v.useRef(null),c=v.useRef(null);v.useEffect(()=>{if(!i)return;const m=_=>{l.current&&!l.current.contains(_.target)&&a(!1)},y=_=>{var g;
110_.key==="Escape"&&(a(!1),(g=c.current)==null||g.focus())};return document.addEventListener("mousedown",m),document.addEventListener("keydown",y),()=>{document.removeEventListener("mousedown",m),document.removeEventListener("keydown",y)}},[i]);const{displayName:u,email:d,picture:h,initials:f}=rD(r,n("auth.teacherFallback")),p=()=>{a(!1),V1(s)};return o.jsxs("div",{className:"account-menu",ref:l,children:[o.jsx("button",{ref:c,type:"button",className:"btn btn--ghost btn--sm account-menu__trigger",onClick:()=>a(m=>!m),"aria-haspopup":"menu","aria-expanded":i,"aria-label":n("account.menuLabel"),title:u,children:h?o.jsx("img",{className:"account-menu__avatar",src:h,alt:"",referrerPolicy:"no-referrer"}):o.jsx("span",{className:"account-menu__avatar account-menu__avatar--initials","aria-hidden":"true",children:f})}),i&&o.jsxs("div",{className:"account-menu__dropdown",role:"menu","aria-label":n("account.menuLabel"),children:[o.jsxs("div",{className:"account-menu__header",children:[o.jsx("div",{className:"account-menu__name",title:u,children:u}),d&&o.jsx("div",{className:"account-menu__email",title:d,children:d})]}),e.length>0&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"account-menu__separator","aria-hidden":"true"}),e.map(m=>o.jsx(iD,{item:m,onNavigate:()=>a(!1)},m.href))]}),t&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"account-menu__separator","aria-hidden":"true"}),o.jsx(sD,{})]}),o.jsx("div",{className:"account-menu__separator","aria-hidden":"true"}),o.jsx(aD,{onSignOut:p})]})]})},Gl=mt(e=>({data:null,loaded:!1,fetching:!1,setData:t=>e({data:t}),setLoaded:t=>e({loaded:t}),setFetching:t=>e({fetching:t})}));function _i(){const{isAuthenticated:e,isLoading:t,user:n,authFetch:r}=bt(),s=Gl(d=>d.data),i=Gl(d=>d.loaded),a=Gl(d=>d.setData),l=Gl(d=>d.setLoaded),c=Gl(d=>d.setFetching),u=async(d={})=>{if(!(!e||t)&&(n==null?void 0:n.email_verified)===!0){c(!0);try{const h=await r("/api/me");if(h.ok){const f=await h.json();a(f)}else throw new Error(`HTTP ${h.status}`)}catch(h){if(d.throwOnError)throw h;a(null)}finally{l(!0),c(!1)}}};return v.useEffect(()=>{i||!e||t||(n==null?void 0:n.email_verified)!==!0||Gl.getState().fetching||u()},[e,t,n==null?void 0:n.email_verified,i]),v.useEffect(()=>{!e&&i&&(a(null),l(!1),c(!1))},[e,i]),{data:s,loaded:i,refetch:u}}const Y1e=async e=>{const t=await e("/api/inbox");if(!t.ok)throw new Error(`GET /api/inbox failed: ${t.status}`);return(await t.json()).conversations},J1e=async(e,t,n)=>{const s=await e(`/api/inbox/${encodeURIComponent(t)}/messages`);if(!s.ok)throw new Error(`GET /api/inbox/:id/messages failed: ${s.status}`);return await s.json()},oD=async e=>{if(e.ok)return{kind:"ok",message:(await e.json()).message};if(e.status===429){const t=e.headers.get("retry-after");return t?{kind:"rate_limited",retryAfterSec:Number(t)}:{kind:"rate_limited"}}return{kind:"error",status:e.status}},Z1e=async(e,t,n)=>{const r=await e(`/api/inbox/${encodeURIComponent(t)}/messages`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});return oD(r)},X1e=async(e,t)=>{const n=await fetch(`/api/me/conversations/${encodeURIComponent(e)}`,{headers:{authorization:`Bearer ${t}`}});if(!n.ok)throw new Error(`fetchMyConversation failed: ${n.status}`);return await n.json()},Q1e=async e=>{const t=await e("/api/student/inbox");if(!t.ok)throw new Error(`GET /api/student/inbox failed: ${t.status}`);return(await t.json()).conversations},ehe=async(e,t,n)=>{const s=await e(`/api/student/inbox/${encodeURIComponent(t)}/messages`);if(!s.ok)throw new Error(`GET /api/student/inbox/:id/messages failed: ${s.status}`);return await s.json()},the=async(e,t,n)=>{const r=await e(`/api/student/inbox/${encodeURIComponent(t)}/messages`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});return oD(r)},lD=async e=>{if(e.status===201)return{kind:"ok",message:(await e.json()).message};if(e.status===413){const t=await e.json().catch(()=>({}));return t.maxBytes!==void 0?{kind:"too_large",maxBytes:t.maxBytes}:{kind:"too_large"}}if(e.status===415)return{kind:"unsupported_mime"};if(e.status===429){const t=e.headers.get("retry-after");return t?{kind:"rate_limited",retryAfterSec:Number(t)}:{kind:"rate_limited"}}return{kind:"error",status:e.status}},nhe=async(e,t,n,r)=>{const s=new FormData;s.append("sender_locale",r),s.append("image",n,"image");const i=await e(`/api/student/inbox/${encodeURIComponent(t)}/attachments`,{method:"POST",body:s});return lD(i)},rhe=async(e,t,n,r)=>{const s=new FormData;s.append("sender_locale",r),s.append("image",n,"image");const i=await e(`/api/inbox/${encodeURIComponent(t)}/attachments`,{method:"POST",body:s});return lD(i)},she=async(e,t,n)=>{let r;try{r=await fetch(`/api/conversations/${encodeURIComponent(e)}/messages`,{method:"POST",headers:{"content-type":"application/json",authorization:`Bearer ${n}`},body:JSON.stringify(t)})}catch{return{kind:"error",status:0}}if(r.status===201){const s=await r.json();return{kind:"ok",conversationId:s.conversationId,message:s.message}}if(r.status===429){const s=r.headers.get("retry-after");return s?{kind:"rate_limited",retryAfterSec:Number(s)}:{kind:"rate_limited"}}return r.status===403&&(await r.json().catch(()=>({}))).error==="email_unverified"?{kind:"email_unverified"}:{kind:"error",status:r.status}},ihe=async(e,t)=>{const n=await e(`/api/inbox/${encodeURIComponent(t)}/mark-seen`,{method:"POST"});if(!n.ok)throw new Error(`Mark seen failed: ${n.status}`)},ahe=async(e,t)=>{const n=await e(`/api/student/inbox/${encodeURIComponent(t)}/mark-seen`,{method:"POST"});if(!n.ok)throw new Error(`Mark seen failed: ${n.status}`)},ohe=async e=>{if(e.status===201)return{kind:"ok",message:(await e.json()).message};
110if(e.status===413){const t=await e.json().catch(()=>({}));return t.maxBytes!==void 0?{kind:"too_large",maxBytes:t.maxBytes}:{kind:"too_large"}}if(e.status===429){const t=e.headers.get("retry-after");return t?{kind:"rate_limited",retryAfterSec:Number(t)}:{kind:"rate_limited"}}return{kind:"error",status:e.status}},cD=async(e,t,n,r)=>{const s=await e(`${t}/${encodeURIComponent(n)}/sgf`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});return ohe(s)},lhe=(e,t,n)=>cD(e,"/api/student/inbox",t,n),che=(e,t,n)=>cD(e,"/api/inbox",t,n),uhe=async(e,t,n,r,s)=>{const a=await e(`${t==="teacher"?"/api/inbox":"/api/student/inbox"}/${encodeURIComponent(n)}/sgf/${encodeURIComponent(r)}`);if(!a.ok)return!1;const l=await a.blob(),c=URL.createObjectURL(l),u=document.createElement("a");return u.href=c,u.download=s,document.body.appendChild(u),u.click(),u.remove(),URL.revokeObjectURL(c),!0},Up=()=>({rows:[],loaded:!1,error:!1}),dhe=Up(),nb=mt(()=>({teacher:Up(),student:Up()})),lj=()=>({users:0,epoch:0,version:0,again:!1,authFetch:null,request:null,stopPolling:null}),em={teacher:lj(),student:lj()},d1=(e,t)=>nb.setState(n=>({...n,[e]:t(n[e])})),Qc=(e,t=!0)=>{const n=em[e];if(!n.authFetch)return Promise.resolve();if(n.request)return t&&(n.again=!0),n.request;const{epoch:r,version:s,authFetch:i}=n,a=(async()=>{try{const l=await(e==="teacher"?Y1e(i):Q1e(i));if(n.epoch!==r)return;if(n.version!==s){n.again=!0;return}d1(e,()=>({rows:l,loaded:!0,error:!1}))}catch{n.epoch===r&&d1(e,l=>({...l,error:!0}))}finally{n.epoch===r&&(n.request=null,n.again&&(n.again=!1,Qc(e)))}})();return n.request=a,a},hhe=(e,t,n)=>{const r=em[e],s=nb.getState()[e].rows;if(r.version+=1,!s.some(i=>i.id===t.conversation_id)){Qc(e);return}d1(e,i=>({...i,rows:i.rows.map(a=>a.id===t.conversation_id&&a.last_message_at<=t.created_at?{...a,unread_preview:t.content_original.slice(0,120),last_message_at:t.created_at,awaiting_reply:t.sender_role!==e&&!n}:a).sort((a,l)=>l.last_message_at.localeCompare(a.last_message_at))}))},fhe=async(e,t,n)=>{const r=em[e],{authFetch:s,epoch:i}=r;if(!s)return!1;const a=()=>{r.version+=1,d1(e,l=>({...l,rows:l.rows.map(c=>c.id===t&&c.last_message_at<=n?{...c,awaiting_reply:!1}:c)}))};a();try{return await(e==="teacher"?ihe(s,t):ahe(s,t)),r.epoch!==i?!1:(a(),!0)}catch{return r.epoch===i&&Qc(e),!1}};function rb(e){const{authFetch:t,isAuthenticated:n,isLoading:r}=bt(),s=nb(c=>e?c[e]:dhe);v.useEffect(()=>{if(!e||!n||r)return;const c=em[e];if(c.users+=1,c.authFetch=t,c.users===1){const u=()=>{document.visibilityState==="visible"&&Qc(e,!1)},d=setInterval(u,6e4);document.addEventListener("visibilitychange",u),window.addEventListener("focus",u),c.stopPolling=()=>{clearInterval(d),document.removeEventListener("visibilitychange",u),window.removeEventListener("focus",u)}}return Qc(e,!1),()=>{var u;c.users-=1,c.users===0&&((u=c.stopPolling)==null||u.call(c),c.stopPolling=null,c.epoch+=1,c.authFetch=null,c.request=null,c.again=!1,d1(e,()=>Up()))}},[e,t,n,r]);const i=v.useCallback(()=>e?Qc(e):Promise.resolve(),[e]),a=v.useCallback((c,u=!1)=>{e&&hhe(e,c,u)},[e]),l=v.useCallback((c,u)=>e?fhe(e,c,u):Promise.resolve(!1),[e]);return{...s,rows:s.rows,refresh:i,receiveMessage:a,markSeen:l}}const uD=e=>{const t=rb(e==="idle"?null:e);return{count:t.loaded?t.rows.filter(n=>n.awaiting_reply).length:null}},phe=!1,ut=(e,t={})=>{phe&&console.info("[analytics]",e,{...t,ts:new Date().toISOString()});try{yl.capture(e,t)}catch{}try{e==="booking.created"?nde(t):e==="checkout.completed"&&rde(t)}catch{}},mhe={auto:"◐",light:"☀",dark:"☾"},ghe={auto:"theme.auto",light:"theme.light",dark:"theme.dark"},yhe=()=>{const e=H(),t=u1(s=>s.mode),n=u1(s=>s.cycle),r=e(ghe[t]);return o.jsxs("button",{type:"button",className:"btn btn--ghost btn--sm theme-switcher",onClick:n,"aria-label":`${e("theme.label")}: ${r}`,title:`${e("theme.label")}: ${r}`,children:[o.jsx("span",{className:"theme-switcher__icon","aria-hidden":"true",children:mhe[t]}),o.jsx("span",{className:"theme-switcher__label",children:r})]})},cj={ko:"한국어",zh:"简体中文","zh-TW":"繁體中文",ja:"日本語",en:"English",fr:"Français",de:"Deutsch"},vhe=ly,dD=()=>{const e=vt(i=>i.uiLang),t=vt(i=>i.setUiLang),[n,r]=v.useState(!1),s=v.useRef(null);return v.useEffect(()=>{if(!n)return;const i=a=>{s.current&&!s.current.contains(a.target)&&r(!1)};return document.addEventListener("mousedown",i),()=>document.removeEventListener("mousedown",i)},[n]),o.jsxs("div",{className:"ui-lang-switcher",ref:s,children:[o.jsxs("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>r(!n),"aria-haspopup":"listbox","aria-expanded":n,children:[o.jsx("span",{className:"ui-lang-switcher__globe","aria-hidden":"true",children:"🌐"}),o.jsx("span",{children:cj[e]}),o.jsx("span",{className:"ui-lang-switcher__chevron","aria-hidden":"true",children:"▾"})]}),n&&o.jsx("div",{className:"ui-lang-switcher__dropdown",role:"listbox",children:vhe.filter(i=>i!==e).map(i=>o.jsx("button",{type:"button",role:"option","aria-selected":!1,onClick:()=>{t(i),r(!1)},children:cj[i]},i))})]})},a9=e=>{const[t,n]=v.useState(()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia(e).matches);return v.useEffect(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const r=window.matchMedia(e);n(r.matches);const s=i=>{n(i.matches)};
110return r.addEventListener("change",s),()=>{r.removeEventListener("change",s)}},[e]),t},bhe=()=>o.jsx("svg",{width:"18",height:"18",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:o.jsx("path",{d:"M2.5 4.5h11M2.5 8h11M2.5 11.5h11"})}),_he=()=>o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:o.jsx("path",{d:"M4 4l8 8M12 4l-8 8"})}),khe='a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])',whe=({navItems:e})=>{const t=H(),{user:n,logout:r}=ar(),[s,i]=v.useState(!1),a=v.useRef(null),l=v.useRef(null),c=v.useRef(!1),{displayName:u,email:d,picture:h,initials:f}=rD(n,t("auth.teacherFallback"));v.useEffect(()=>{var k;if(!s)return;const y=document.body.style.overflow;document.body.style.overflow="hidden";const _=l.current;(k=_==null?void 0:_.querySelector(".account-drawer__close"))==null||k.focus();const g=x=>{if(x.key==="Escape"){i(!1);return}if(x.key==="Tab"&&_){const S=Array.from(_.querySelectorAll(khe));if(S.length===0)return;const T=S[0],C=S[S.length-1];x.shiftKey&&document.activeElement===T?(x.preventDefault(),C.focus()):!x.shiftKey&&document.activeElement===C&&(x.preventDefault(),T.focus())}},b=()=>i(!1);return document.addEventListener("keydown",g),window.addEventListener("popstate",b),()=>{document.removeEventListener("keydown",g),window.removeEventListener("popstate",b),document.body.style.overflow=y}},[s]),v.useEffect(()=>{var y;c.current&&!s&&((y=a.current)==null||y.focus()),c.current=s},[s]);const p=()=>i(!1),m=()=>{i(!1),V1(r)};return o.jsxs(o.Fragment,{children:[o.jsx("button",{ref:a,type:"button",className:"nav-hamburger",onClick:()=>i(!0),"aria-haspopup":"dialog","aria-expanded":s,"aria-controls":"account-drawer","aria-label":t("account.openMenu"),children:o.jsx(bhe,{})}),s&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"account-drawer__scrim",onClick:p,"aria-hidden":"true"}),o.jsxs("div",{id:"account-drawer",ref:l,className:"account-drawer__panel",role:"dialog","aria-modal":"true","aria-label":t("account.menuLabel"),children:[o.jsxs("div",{className:"account-drawer__header",children:[h?o.jsx("img",{className:"account-drawer__avatar",src:h,alt:"",referrerPolicy:"no-referrer"}):o.jsx("span",{className:"account-drawer__avatar account-menu__avatar--initials","aria-hidden":"true",children:f}),o.jsxs("div",{className:"account-drawer__identity",children:[o.jsx("div",{className:"account-menu__name",title:u,children:u}),d&&o.jsx("div",{className:"account-menu__email",title:d,children:d})]}),o.jsx("button",{type:"button",className:"account-drawer__close",onClick:p,"aria-label":t("shared.close"),children:o.jsx(_he,{})})]}),o.jsx("div",{className:"account-menu__separator","aria-hidden":"true"}),o.jsx("nav",{className:"account-drawer__nav",children:e.map(y=>o.jsx(iD,{item:y,asMenuItem:!1,onNavigate:p},y.href))}),o.jsx("div",{className:"account-menu__separator","aria-hidden":"true"}),o.jsx("div",{className:"account-drawer__lang",children:o.jsx(dD,{})}),o.jsx(sD,{asMenuItem:!1}),o.jsx("div",{className:"account-menu__separator","aria-hidden":"true"}),o.jsx(aD,{onSignOut:m,asMenuItem:!1})]})]})]})},hD=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("rect",{x:"2.5",y:"3.5",width:"11",height:"10",rx:"1"}),o.jsx("path",{d:"M2.5 6.5h11"}),o.jsx("path",{d:"M5.5 2v3M10.5 2v3"})]}),fD=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M2.5 9 4 3.5h8L13.5 9"}),o.jsx("path",{d:"M2.5 9h3l1 1.5h3l1-1.5h3v3.5a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1z"})]}),pD=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"7",cy:"7",r:"4.5"}),o.jsx("path",{d:"m13.5 13.5-3-3"})]}),xhe=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"1"}),o.jsx("path",{d:"M6 2.5v11M10 2.5v11M2.5 6h11M2.5 10h11"})]}),She=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M3 2.5h6a2 2 0 0 1 2 2v9a1 1 0 0 0-1-1H3v-10z"}),o.jsx("path",{d:"M3 12.5h7"}),o.jsx("path",{d:"M5 5.5h4M5 7.5h3"})]}),uj=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"8",cy:"6",r:"2.5"}),o.jsx("path",{d:"M3 13.5c.5-2.5 2.5-4 5-4s4.5 1.5 5 4"})]}),dj=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M1 6.5 8 3l7 3.5L8 10z"}),o.jsx("path",{d:"M4.5 8v3.2c0 .6 1.5 1.6 3.5 1.6s3.5-1 3.5-1.6V8"})]}),The=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("rect",{x:"1.5",y:"4",width:"13",height:"8",rx:"1"}),o.jsx("circle",{cx:"8",cy:"8",r:"1.5"}),o.jsx("path",{d:"M3.5 6v4M12.5 6v4"})]}),jhe=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M2 11.5h12"}),o.jsx("path",{d:"M4 11.5v-3M12 11.5v-3"}),o.jsx("path",{d:"M8 9V2.5M5.5 5l2.5-2.5L10.5 5"})]}),Che=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M2 5.5a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1V7a1.5 1.5 0 0 0 0 3v1.5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V10a1.5 1.5 0 0 0 0-3z"}),o.jsx("path",{d:"M9 4.5l-2 7"})]}),Ehe=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("ellipse",{cx:"8",cy:"4",rx:"5",ry:"2"}),o.jsx("path",{d:"M3 4v4c0 1.1 2.24 2 5 2s5-.9 5-2V4"}),o.jsx("path",{d:"M3 8v4c0 1.1 2.24 2 5 2s5-.9 5-2V8"})]}),o9="gt.navAuthed",zhe=()=>{if(typeof window>"u")return!1;try{return window.localStorage.getItem(o9)==="1"}catch{return!1}},Ge=({compact:e=!1})=>{var R,w,L;const t=H(),{isAuthenticated:n,isLoading:r}=ar(),s=_i(),i=s.loaded?((R=s.data)==null?void 0:R.teacher_status)??"none":"unknown",a=s.loaded&&((w=s.data)==null?void 0:w.is_admin)===!0,l=s.loaded&&((L=s.data)==null?void 0:L.student)!=null,c=i==="approved"?"teacher":l?"student":"idle",{count:u}=uD(c),d=typeof window<"u"&&window.location.pathname==="/profile",h=typeof window<"u"&&window.location.pathname.startsWith("/my-lessons"),f=typeof window<"u"&&window.location.pathname.startsWith("/teacher/me/schedule"),p=typeof window<"u"&&(window.location.pathname==="/inbox"||window.location.pathname.startsWith("/admin/inbox")),m=typeof window<"u"&&window.location.pathname==="/teachers",y=typeof window<"u"&&window.location.pathname==="/teach/earnings",_=typeof window<"u"&&window.location.pathname==="/admin/payouts",g=typeof window<"u"&&window.location.pathname==="/admin/promo-codes",b=typeof window<"u"&&window.location.pathname==="/admin/credits",k=typeof window<"u"&&window.location.pathname==="/admin/teacher-applications",x=typeof window<"u"&&window.location.pathname==="/admin/config",S=nr&&n&&i!=="unknown",T=nr&&!r&&!n,C=!S,[E,N]=v.useState(!1);v.useEffect(()=>N(!0),[]),v.useEffect(()=>{if(!(typeof window>"u"))try{n?window.localStorage.setItem(o9,"1"):r||window.localStorage.removeItem(o9)}catch{}},[n,r]);const j=a9("(min-width: 768px)"),I=n||r&&E&&zhe(),P=nr&&!e&&j&&I,O=v.useMemo(()=>
110{if(!S)return[];const M=[{href:"/my-lessons",label:t("nav.myLessons"),icon:o.jsx(She,{}),ariaCurrent:h?"page":void 0}];return i==="approved"&&M.push({href:"/teacher/me/schedule",label:t("nav.schedule"),icon:o.jsx(hD,{}),ariaCurrent:f?"page":void 0}),(i==="approved"||l)&&M.push({href:"/inbox",label:t("nav.inbox"),icon:o.jsx(fD,{}),ariaCurrent:p?"page":void 0,badge:u,ariaLabel:u&&u>0?`${t("nav.inbox")} — ${u} ${t("inbox.unreadBadge")}`:t("nav.inbox")}),i==="approved"&&M.push({href:"/teach/earnings",label:t("nav.earnings"),icon:o.jsx(The,{}),ariaCurrent:y?"page":void 0}),M.push({href:"/profile",label:t("nav.myProfile"),icon:o.jsx(uj,{}),ariaCurrent:d?"page":void 0}),i!=="approved"&&M.push({href:i==="pending"?"/teach/pending":"/teach/apply",label:t("nav.teachOnBadukTeacher"),icon:o.jsx(dj,{})}),a&&(M.push({href:"/admin/config",label:t("adminConfig.title"),icon:o.jsx(uj,{}),ariaCurrent:x?"page":void 0}),M.push({href:"/admin/payouts",label:t("nav.adminPayouts"),icon:o.jsx(jhe,{}),ariaCurrent:_?"page":void 0}),M.push({href:"/admin/promo-codes",label:t("nav.adminPromoCodes"),icon:o.jsx(Che,{}),ariaCurrent:g?"page":void 0}),M.push({href:"/admin/credits",label:t("nav.adminCredits"),icon:o.jsx(Ehe,{}),ariaCurrent:b?"page":void 0}),M.push({href:"/admin/teacher-applications",label:t("nav.adminTeacherApplications"),icon:o.jsx(dj,{}),ariaCurrent:k?"page":void 0})),M},[S,i,l,a,u,d,h,f,p,y,_,g,b,k,x,t]),F=v.useMemo(()=>P?[{href:"/teachers",label:t("nav.findTeacher"),icon:o.jsx(pD,{}),ariaCurrent:m?"page":void 0},...O]:[],[P,O,m,t]),[B,$]=v.useState(!1),D=v.useRef(null);v.useEffect(()=>{if(!e||!B)return;const M=q=>{D.current&&!D.current.contains(q.target)&&$(!1)},A=q=>{q.key==="Escape"&&$(!1)};return document.addEventListener("mousedown",M),document.addEventListener("keydown",A),()=>{document.removeEventListener("mousedown",M),document.removeEventListener("keydown",A)}},[e,B]);const z=o.jsxs(o.Fragment,{children:[o.jsx("a",{href:"/teachers",className:"btn btn--ghost btn--sm top-toolbar__find-teacher","aria-current":m?"page":void 0,children:t("nav.findTeacher")}),S&&o.jsxs(o.Fragment,{children:[o.jsx(V1e,{navItems:O}),o.jsx("span",{className:"top-toolbar__divider","aria-hidden":"true"})]}),T&&o.jsxs(o.Fragment,{children:[o.jsx("a",{href:"/login",className:"btn btn--sm top-toolbar__signin",onClick:()=>ut("nav.signin_clicked",{}),children:t("nav.signIn")}),o.jsx("span",{className:"top-toolbar__divider","aria-hidden":"true"})]}),C&&o.jsx(yhe,{}),o.jsx(dD,{})]});return o.jsxs(o.Fragment,{children:[o.jsx("a",{className:"brand-home",href:"/","aria-label":t("nav.home"),children:o.jsx("img",{className:"brand-home__icon",src:"/icon.svg",alt:"","aria-hidden":"true"})}),P?o.jsx(whe,{navItems:F}):e?o.jsxs("div",{className:"top-toolbar top-toolbar--compact",ref:D,children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm top-toolbar__more",onClick:()=>$(M=>!M),"aria-haspopup":"menu","aria-expanded":B,"aria-label":t("nav.more"),title:t("nav.more"),children:o.jsx("span",{"aria-hidden":"true",children:"⋯"})}),B&&o.jsx("div",{className:"top-toolbar__menu",role:"menu","aria-label":t("nav.more"),children:z})]}):o.jsx("div",{className:`top-toolbar${S?" top-toolbar--authed":""}`,children:z})]})},Nhe=({on:e})=>o.jsx("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:e?o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M6 6 2.5 2.5M6 6H3M6 6V3"}),o.jsx("path",{d:"M10 10l3.5 3.5M10 10h3M10 10v3"})]}):o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M2 5.5V3a1 1 0 0 1 1-1h2.5"}),o.jsx("path",{d:"M14 5.5V3a1 1 0 0 0-1-1h-2.5"}),o.jsx("path",{d:"M2 10.5V13a1 1 0 0 0 1 1h2.5"}),o.jsx("path",{d:"M14 10.5V13a1 1 0 0 1-1 1h-2.5"})]})}),Ihe=({onLeave:e,children:t})=>{const n=H(),r=J(l=>l.sessionStartedAt),s=F1e(r),i=rr(l=>l.focus),a=rr(l=>l.setFocus);return o.jsxs("header",{className:"room-header",children:[o.jsx("span",{className:"room-header__timer",role:"timer","aria-label":`${n("timer.elapsed")} ${s}`,children:s}),t,o.jsx(QO,{compact:!0}),o.jsx("span",{className:"room-header__spacer","aria-hidden":"true"}),o.jsxs("button",{type:"button",className:"btn btn--ghost btn--sm room-header__focus",onClick:()=>a(!i),"aria-pressed":i,children:[o.jsx(Nhe,{on:i}),o.jsx("span",{children:n(i?"layout.focusOff":"layout.focusOn")})]}),o.jsx("button",{type:"button",className:"room-header__leave",onClick:e,children:n("controls.leave")}),o.jsx(Ge,{compact:!0})]})},Rhe=({studentUrl:e})=>{const t=H(),n=J(_=>_.self),r=J(vv),[s,i]=v.useState(!1),[a,l]=v.useState(!1),[c,u]=v.useState(!1),d=v.useRef([]);if(v.useEffect(()=>()=>{d.current.forEach(_=>window.clearTimeout(_))},[]),!n||r||c)return null;const h=n.role==="teacher",f=h&&typeof sessionStorage<"u"?sessionStorage.getItem("gt.passcode"):null,p=async()=>{e&&(await navigator.clipboard.writeText(e),i(!0),d.current.push(window.setTimeout(()=>l(!0),700),window.setTimeout(()=>u(!0),1300)))},m=t(h?"lesson.empty.title":"lesson.empty.studentTitle"),y=t(h?"lesson.empty.hint":"lesson.empty.studentHint");return o.jsx("div",{className:`lesson-empty-state${a?" is-fading-out":""}`,role:"status","aria-live":"polite",children:o.jsxs("div",{className:"lesson-empty-state__card",children:[o.jsx("div",{className:"lesson-empty-state__pulse","aria-hidden":"true"}),o.jsx("h2",{className:"lesson-empty-state__title",children:m}),o.jsx("p",{className:"lesson-empty-state__hint",children:y}),h&&f&&o.jsxs("div",{className:"lesson-empty-state__passcode",children:[o.jsx("span",{className:"lesson-empty-state__label",children:t("bootstrap.passcode.label")}),o.jsx("div",{className:"passcode-grid",children:f.split("").map((_,g)=>o.jsx("span",{className:"passcode-cell",children:_},g))})]}),h&&e&&o.jsx("button",{type:"button",className:"btn btn--primary lesson-empty-state__cta",onClick:p,children:t(s?"bootstrap.passcode.copied":"controls.copyLink")})]})})},Phe=(e,t,n,r)=>e==="disconnected"?"lost":e==="reconnecting"||t==="reconnecting"||t==="error"||n.audio||n.video||r?"degraded":"healthy",Ahe=750,Lhe=()=>{const e=J(l=>l.wsState),t=J(l=>l.peerConnectionDropped),n=ze(l=>l.pcState),r=ze(l=>l.localTrackReacquiring),s=Phe(e,n,r,t),[i,a]=v.useState(s==="lost"?"lost":"healthy");return v.useEffect(()=>{if(s==="healthy"||s==="lost"){a(s);return}const l=setTimeout(()=>{a("degraded")},Ahe);return()=>clearTimeout(l)},[s]),i},Mhe=()=>{const e=H(),t=J(c=>c.self),n=J(c=>c.teacher),r=J(c=>c.students),s=J(c=>c.driverParticipantId),i=J(c=>c.interactive),a=(i==null?void 0:i.studentParticipantId)??s,l=[...n?[n]:[],...r];return o.jsx("ul",{className:"room-roster","aria-label":e("roster.title"),children:l.map(c=>{const u=(t==null?void 0:t.participantId)===c.participantId,d=c.participantId===a;return o.jsxs("li",{className:"room-roster__row",children:[o.jsxs("span",{className:"room-roster__name",children:[c.name,u?` ${e("roster.you")}`:""]}),d&&o.jsx("span",{className:"room-roster__driving",children:e("roster.driving")}),o.jsx("span",{className:"room-roster__lang",children:Du[c.lang]}),o.jsx("span",{className:"room-roster__dot","aria-hidden":"true"})]},c.participantId)})})},Ohe=()=>{const e=H(),t=J(S=>S.self),n=J(S=>S.peer),r=J(S=>S.allowMultipleStudents),s=J(S=>S.studentCount),i=J(S=>S.studentCapacity),a=Lhe(),l=r?s:(t?1:0)+(n?1:0),[c,u]=v.useState(0),d=v.useRef(l);v.useEffect(()=>{d.current!==l&&(d.current=l,u(S=>S+1))},[l]);const[h,f]=v.useState(!1),p=v.useRef(null);if(v.useEffect(()=>{if(!h)return;const S=C=>{p.current&&!p.current.contains(C.target)&&f(!1)},T=C=>{C.key==="Escape"&&f(!1)};
110return document.addEventListener("mousedown",S),document.addEventListener("keydown",T),()=>{document.removeEventListener("mousedown",S),document.removeEventListener("keydown",T)}},[h]),!t)return null;const m=a==="degraded"?" presence-indicator__dot--degraded":a==="lost"?" presence-indicator__dot--lost":"",y=a==="degraded"?` — ${e("presence.health.reconnecting")}`:a==="lost"?` — ${e("presence.health.lost")}`:"";if(r){const S=e("presence.studentsCount",{count:s,max:i});return o.jsxs("div",{className:"presence-indicator presence-indicator--paired presence-indicator--roster",role:"status","aria-live":"polite",title:`${S}${y}`,"aria-label":`${S}${y}`,ref:p,children:[o.jsxs("button",{type:"button",className:"presence-indicator__trigger","aria-expanded":h,"aria-label":e("roster.title"),onClick:()=>f(T=>!T),children:[o.jsx("span",{className:`presence-indicator__dot${m}`,"aria-hidden":"true"},c),o.jsxs("span",{className:"presence-indicator__count",children:[s,"/",i]}),o.jsx("span",{className:"presence-indicator__label",children:S})]}),h&&o.jsxs("div",{className:"presence-indicator__popover",children:[o.jsx("div",{className:"presence-indicator__popover-title",children:e("roster.title")}),o.jsx(Mhe,{})]})]})}const _=n!==null,g=n==null?void 0:n.name.trim(),b=(n==null?void 0:n.role)==="teacher"?"presence.roleTeacher":"presence.roleStudent",k=_?g?e("presence.withNamed",{name:g}):e("presence.with",{role:e(b)}):e("presence.alone"),x=_&&g?`${t.name} + ${g}`:k;return o.jsxs("div",{className:`presence-indicator ${_?"presence-indicator--paired":"presence-indicator--alone"}`,role:"status","aria-live":"polite",title:`${x}${y}`,"aria-label":`${x}${y}`,children:[o.jsx("span",{className:`presence-indicator__dot${m}`,"aria-hidden":"true"},c),o.jsxs("span",{className:"presence-indicator__count",children:[l,"/2"]}),o.jsx("span",{className:"presence-indicator__label",children:k})]})},mD=()=>{const e=J(l=>l.self),t=J(l=>l.interactive),n=J(l=>l.driverParticipantId),r=J(l=>l.driverRole),s=yt(l=>l.state),i=un(l=>l.game);return e?i&&i.phase==="playing"?i.flagFell?!1:i.sideToMove==="B"?e.participantId===i.blackParticipantId:e.participantId===i.whiteParticipantId:i&&i.phase==="scoring"?!0:t===null?n?e.participantId===n:e.role===r:(s?k3(s):"B")===t.studentColor?e.participantId===t.studentParticipantId:e.role==="teacher":!1},Dhe=()=>{const e=H(),t=J(d=>d.interactive),n=J(d=>{var h;return((h=d.self)==null?void 0:h.role)??null}),r=J(d=>d.students),s=J(d=>d.peer),i=yt(d=>d.state),a=mD();if(t===null||n===null)return null;const l=i?k3(i):"B",c=l==="B"?"turn-badge__dot--black":"turn-badge__dot--white";let u;if(a)u=e("board.turn.yours");else if(l===t.studentColor){const d=t.studentParticipantId,h=r.find(f=>f.participantId===d)??(s&&s.role==="student"&&s.participantId===d?s:null);u=h?e("board.turn.opponent.studentNamed",{name:h.name}):e("board.turn.opponent.student")}else u=e("board.turn.opponent.teacher");return o.jsxs("div",{className:"turn-badge",children:[o.jsx("span",{className:`turn-badge__dot ${c}`,"aria-hidden":"true"}),o.jsx("span",{className:"turn-badge__label",children:u})]})},gD="gt.videoThumbsMinimized",Whe="gt.videoThumbsMinimized.self",Fhe="gt.videoThumbsMinimized.peer",l9=e=>e==="self"?Whe:Fhe,hj=e=>{try{const t=localStorage.getItem(l9(e));return t!==null?t==="1":localStorage.getItem(gD)==="1"}catch{return!1}},$he=(e,t)=>{try{t?localStorage.setItem(l9(e),"1"):localStorage.setItem(l9(e),"0"),localStorage.removeItem(gD)}catch{}},W4=mt((e,t)=>({selfMinimized:hj("self"),peerMinimized:hj("peer"),setMinimized:(n,r)=>{$he(n,r),e(n==="self"?{selfMinimized:r}:{peerMinimized:r})},toggle:n=>{const r=n==="self"?t().selfMinimized:t().peerMinimized;t().setMinimized(n,!r)}})),Bhe=e=>{const[t,n]=v.useState(!1);return v.useEffect(()=>{if(!e){n(!1);return}const r=()=>n(e.getVideoTracks().length>0);return r(),e.addEventListener("addtrack",r),e.addEventListener("removetrack",r),()=>{e.removeEventListener("addtrack",r),e.removeEventListener("removetrack",r)}},[e]),t},Uhe=()=>{const e=ze(T=>T.localStream),t=ze(T=>T.remoteStream),n=J(T=>T.presentation.mode==="interview"),r=J(T=>T.self),s=J(T=>T.peer),i=ze(T=>T.camEnabled),a=Bhe(t),l=W4(T=>T.selfMinimized),c=W4(T=>T.peerMinimized),u=W4(T=>
110T.setMinimized),d=i9(T=>T.translatedOnly),h=J(T=>T.tts.enabled),f=J(T=>T.tts.autoplay),p=J(T=>T.allowMultipleStudents),m=H(),y=L1e({translatedOnly:d,ttsEnabled:h,autoplay:f,allowMultipleStudents:p}),_=v.useRef(null),g=v.useRef(null);v.useEffect(()=>{_.current&&(_.current.srcObject=e)},[e]),v.useEffect(()=>{g.current&&(g.current.srcObject=t)},[t]);const b=(T,C)=>o.jsx("button",{type:"button",className:"video-thumbs__minimize",onClick:()=>u(T,!0),"aria-label":m(C),title:m(C),children:"−"}),k=(T,C,E,N)=>o.jsxs("button",{type:"button",className:"video-thumbs__expand",onClick:()=>u(T,!1),"aria-label":m(C),title:m(C),children:[o.jsx("span",{"aria-hidden":"true","data-side":T,className:`video-thumbs__dot${N?" video-thumbs__dot--active":""}`}),o.jsx("span",{children:m(E)})]}),x=!!e&&i,S=!!t&&a;return o.jsxs("div",{className:`video-thumbs${n?" video-thumbs--interview":""}`,children:[e?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"video-tile",hidden:!n&&(!i||l),style:{order:n?(r==null?void 0:r.role)==="teacher"?0:1:void 0},children:[o.jsx("video",{ref:_,autoPlay:!0,playsInline:!0,muted:!0,"data-media-side":"self",hidden:!i}),n&&!i&&o.jsx("div",{className:"video-placeholder",children:m("video.camOff")}),o.jsx("span",{className:"video-label",children:n?r==null?void 0:r.name:m("video.you")}),!n&&b("self","video.minimize.self")]}),!n&&l&&i&&k("self","video.expand.self","video.you",x)]}):i||n?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"video-tile",hidden:!n&&l,style:{order:n?(r==null?void 0:r.role)==="teacher"?0:1:void 0},children:[o.jsx("div",{className:"video-placeholder",children:m("video.camOff")}),o.jsx("span",{className:"video-label",children:n?r==null?void 0:r.name:m("video.you")}),!n&&b("self","video.minimize.self")]}),!n&&l&&k("self","video.expand.self","video.you",x)]}):null,n&&!t&&o.jsxs("div",{className:"video-tile",style:{order:n?(r==null?void 0:r.role)==="teacher"?1:0:void 0},children:[o.jsx("div",{className:"video-placeholder",children:m(s?"video.camOff":"interview.waiting")}),o.jsx("span",{className:"video-label",children:s==null?void 0:s.name})]}),t&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"video-tile",hidden:!n&&(!a||c),style:{order:n?(r==null?void 0:r.role)==="teacher"?1:0:void 0},children:[o.jsx("video",{ref:g,autoPlay:!0,playsInline:!0,muted:y,"data-media-side":"peer",hidden:!a}),n&&!a&&o.jsx("div",{className:"video-placeholder",children:m("video.camOff")}),o.jsx("span",{className:"video-label",children:n?s==null?void 0:s.name:m("video.peer")}),!n&&b("peer","video.minimize.peer")]}),!n&&c&&a&&k("peer","video.expand.peer","video.peer",S)]})]})};function qhe({target:e}){const[t]=v.useState(()=>{if(typeof document>"u")return null;const n=document.createElement("div");return n.className="video-dock",n});return v.useLayoutEffect(()=>{var n;if(t)return(n=e.current)==null||n.appendChild(t),()=>t.remove()},[t,e]),t?gv.createPortal(o.jsx(Uhe,{}),t):null}function Hhe(e,t,n){return Math.max(1,Math.floor((Math.min(e,t)-8)/(n+2)))}function Ghe(e,t,n,r){const[s,i]=v.useState(1);return v.useLayoutEffect(()=>{const a=e.current;if(!a||!r||typeof ResizeObserver>"u")return;const l=a.querySelector(".board-badges"),c=()=>{const d=parseFloat(getComputedStyle(a).rowGap)||0,h=(l==null?void 0:l.getBoundingClientRect().height)??0;i(Hhe(a.clientWidth,n?1/0:a.clientHeight-h-(h?d:0),t))},u=new ResizeObserver(c);return u.observe(a),l&&u.observe(l),c(),()=>u.disconnect()},[e,t,n,r]),s}const Khe=({stream:e})=>{const t=v.useRef(null);return v.useEffect(()=>{const n=t.current;if(n)return n.srcObject=e,n.play().catch(()=>{}),()=>{n.srcObject=null}},[e]),o.jsx("audio",{ref:t,autoPlay:!0,playsInline:!0})},Vhe=()=>{const e=J(n=>n.allowMultipleStudents),t=ze(n=>n.remoteStreams);return e?o.jsx("div",{className:"remote-audio","aria-hidden":"true",children:Object.entries(t).map(([n,r])=>o.jsx(Khe,{stream:r},n))}):null},Kl=[];let fj="";const Yhe="a[href],button,input,select,textarea,[tabindex]",F4=e=>!e.matches(":disabled")&&!e.closest("[hidden],[inert]")&&e.getClientRects().length>0;function tm({open:e=!0,onClose:t,returnFocus:n}){const r=v.useRef(null),s=v.useRef(t);return s.current=t,v.useEffect(()=>{const i=r.current;if(!e||!i)return;const a=document.activeElement instanceof HTMLElement?document.activeElement:null;Kl.length===0&&(fj=document.body.style.overflow,document.body.style.overflow="hidden"),Kl.push(i);const l=()=>Kl.at(-1)===i,c=()=>Array.from(i.querySelectorAll(Yhe)).filter(p=>p.tabIndex>=0&&F4(p)),u=()=>{const p=i.querySelector("[data-modal-autofocus]");(p&&F4(p)?p:c()[0]??i).focus({preventScroll:!0})},d=p=>{if(l()){if(p.key==="Escape")p.preventDefault(),p.stopPropagation(),s.current();else if(p.key==="Tab"){const m=c(),y=m[0],_=m.at(-1);y?p.shiftKey&&(document.activeElement===y||!m.includes(document.activeElement))?(p.preventDefault(),_==null||_.focus()):!p.shift
110Key&&(document.activeElement===_||!i.contains(document.activeElement))&&(p.preventDefault(),y.focus()):(p.preventDefault(),i.focus())}}},h=p=>{l()&&!i.contains(p.target)&&u()},f=new MutationObserver(()=>{l()&&(!i.contains(document.activeElement)||document.activeElement instanceof HTMLElement&&!F4(document.activeElement))&&u()});return f.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["disabled","hidden"]}),document.addEventListener("keydown",d,!0),document.addEventListener("focusin",h),u(),()=>{const p=l();f.disconnect(),document.removeEventListener("keydown",d,!0),document.removeEventListener("focusin",h),Kl.splice(Kl.indexOf(i),1),Kl.length===0&&(document.body.style.overflow=fj);const m=(n==null?void 0:n.current)??a;p&&(m!=null&&m.isConnected)&&m.focus({preventScroll:!0})}},[e,n]),r}function Jhe({onClose:e}){const t=H(),n=tm({onClose:e}),r=Vi(d=>d.settings),s=Vi(d=>{var h;return(h=d.snapshot)==null?void 0:h.startedAt}),i=J(d=>d.sessionStartedAt),[a,l]=v.useState(r.offsetSeconds===0?"":String(r.offsetSeconds)),c=d=>Vi.getState().setSettings({...r,...d}),u=r.format==="srt"&&s==null&&i===null;return gv.createPortal(o.jsx("div",{className:"transcript-export-backdrop",onClick:d=>{d.target===d.currentTarget&&e()},children:o.jsxs("div",{ref:n,className:"transcript-export-dialog",role:"dialog","aria-modal":"true","aria-labelledby":"transcript-export-title",tabIndex:-1,children:[o.jsx("h2",{id:"transcript-export-title",children:t("export.title")}),o.jsxs("form",{onSubmit:d=>{d.preventDefault(),!u&&(bL(Cn.getState().messages,ht.getState().rows),e())},children:[o.jsxs("label",{children:[t("export.format"),o.jsxs("select",{value:r.format,onChange:d=>c({format:d.target.value}),children:[o.jsx("option",{value:"srt",children:t("export.srt")}),o.jsx("option",{value:"txt",children:t("export.txt")})]})]}),o.jsxs("label",{children:[t("export.content"),o.jsxs("select",{value:r.mode,onChange:d=>c({mode:d.target.value}),children:[o.jsx("option",{value:"original",children:t("export.original")}),o.jsx("option",{value:"translated",children:t("export.translated")}),o.jsx("option",{value:"both",children:t("export.both")})]})]}),r.mode!=="original"&&o.jsxs("label",{children:[t("export.language"),o.jsxs("select",{value:r.targetLang??"",onChange:d=>c({targetLang:d.target.value?d.target.value:null}),children:[o.jsx("option",{value:"",children:t("export.currentLanguage")}),Ds.map(d=>o.jsx("option",{value:d,children:Du[d]},d))]})]}),r.mode!=="original"&&o.jsx("p",{children:t("export.fallback")}),r.format==="srt"&&o.jsxs(o.Fragment,{children:[o.jsxs("label",{children:[t("export.offset"),o.jsx("input",{type:"number",step:"0.001",value:a,"aria-describedby":"transcript-offset-help",onChange:d=>{l(d.target.value),d.target.validity.valid&&c({offsetSeconds:d.target.value===""?0:d.target.valueAsNumber})}})]}),o.jsx("p",{id:"transcript-offset-help",children:t("export.offsetHelp")})]}),u&&o.jsx("p",{role:"status",children:t("export.noStart")}),o.jsx("p",{children:t("export.saved")}),o.jsxs("div",{className:"transcript-export-actions",children:[o.jsx("button",{type:"button",className:"btn",onClick:e,children:t("common.close")}),o.jsx("button",{type:"submit",className:"btn btn-primary",disabled:u,children:t("chat.download")})]})]})]})}),document.body)}const Zhe=({children:e})=>{const t=H(),[n,r]=v.useState(!1),s=Vi(u=>{var d;return((d=u.snapshot)==null?void 0:d.entries.length)??0}),i=Cn(u=>u.messages),a=ht(u=>u.rows),l=s+i.length+a.length>0,c=()=>{r(!0)};return o.jsxs("header",{className:"chat-header",children:[o.jsx("span",{className:"chat-header__title",children:t("chat.title")}),o.jsx("button",{type:"button",className:"chat-header__download",onClick:c,disabled:!l,"aria-label":t("chat.download"),title:t("chat.download"),children:"â­³"}),e,n&&o.jsx(Jhe,{onClose:()=>r(!1)})]})},Xhe=({source:e,id:t,status:n})=>{const r=H(),s=J(l=>l.wsState==="connected"),i=J(l=>l.allowMultipleStudents),a=()=>{e==="subtitle"?ht.getState().setTranslationStatus(t,"translating"):Cn.getState().setTranslationStatus(t,"translating"),he.send({t:"translation.retry",source:e,id:t})};return o.jsxs("div",{className:"chat-bubble__translation",children:[o.jsx("span",{role:"status",children:r(n==="translating"?"chat.translating":"chat.translationFailed")}),n==="failed"&&!i&&o.jsx("button",{type:"button",className:"chat-bubble__retry",disabled:!s,onClick:a,children:r("chat.retryTranslation")})]})},Qhe=({source:e,id:t})=>{const n=H(),r=J(a=>
110a.tts.enabled&&!a.allowMultipleStudents),s=J(a=>a.wsState==="connected"),i=bv(a=>{var l;return((l=a.current)==null?void 0:l.id)===t&&a.current.source===e?a.current.status:null});return r?o.jsxs("button",{type:"button",className:"tts-play",disabled:!s,onClick:()=>i?Xn.stop():nae(e,t),"aria-label":n(i?"tts.stop":"tts.play"),"aria-pressed":!!i,children:[o.jsx("span",{"aria-hidden":"true",children:i?"■":"▶"}),n(i==="loading"?"tts.loading":i?"tts.stop":"tts.play")]}):null},pj=e=>{var f;const t=e.mine,n=e.kind,r=n==="typed"?e.msg.text:e.row.original,s=n==="typed"?((f=e.msg.translated)==null?void 0:f.text)??null:e.row.translated,i=p=>p!==null&&p!==r,a=n==="asr"?e.row.status:e.msg.translationStatus,l=a==="failed",c=n==="asr"&&(e.row.status==="interim"||e.row.status==="translating"),u=["chat-bubble",t?"chat-bubble--mine":"chat-bubble--peer",n==="asr"?"chat-bubble--asr":"chat-bubble--typed",c?"chat-bubble--interim":"",l?"chat-bubble--failed":""].filter(Boolean).join(" "),d=t?r:i(s)?s:r,h=t?i(s)?s:null:i(s)?r:null;return o.jsxs("div",{className:u,children:[n==="asr"&&o.jsx("span",{className:"chat-bubble__mic","aria-hidden":"true",children:"🎤"}),o.jsx("div",{className:"chat-bubble__primary",children:d}),h!==null&&o.jsx("div",{className:"chat-bubble__secondary",children:h}),(a==="translating"||a==="failed")&&o.jsx(Xhe,{source:n==="asr"?"subtitle":"chat",id:n==="asr"?e.row.id:e.msg.id,status:a}),!c&&!l&&i(s)&&s.trim()&&o.jsx(Qhe,{source:n==="asr"?"subtitle":"chat",id:n==="asr"?e.row.id:e.msg.id})]})},e2e=64,t2e=(e,t)=>{const n=[];for(const r of e)n.push({kind:"typed",key:`t:${r.id}`,ts:r.ts,msg:r});for(const r of t)n.push({kind:"asr",key:`a:${r.id}`,ts:r.ts,row:r});return n.sort((r,s)=>r.ts-s.ts),n},n2e=()=>{const e=H(),t=Cn(c=>c.messages),n=ht(c=>c.rows),r=J(c=>{var u;return((u=c.self)==null?void 0:u.role)??null}),s=v.useRef(null),i=v.useRef(!0),a=v.useMemo(()=>t2e(t,n),[t,n]),l=()=>{const c=s.current;if(!c)return;const u=c.scrollHeight-c.scrollTop-c.clientHeight;i.current=u<e2e};return v.useLayoutEffect(()=>{if(!i.current)return;const c=s.current;c&&(c.scrollTop=c.scrollHeight)},[a]),a.length===0?o.jsx("div",{className:"chat-list chat-list--empty",children:e("chat.empty")}):o.jsx("div",{className:"chat-list",ref:s,onScroll:l,children:a.map(c=>c.kind==="typed"?o.jsx(pj,{kind:"typed",msg:c.msg,mine:r===c.msg.senderRole},c.key):o.jsx(pj,{kind:"asr",row:c.row,mine:r===c.row.speakerRole},c.key))})},r2e=5,s2e=[0,.15,.3,.2,.1],i2e=({mode:e,volume:t=0})=>o.jsx("div",{className:"asr-waveform","aria-hidden":"true",children:Array.from({length:r2e},(n,r)=>{let s;return e==="live"?s=15+Math.min(1,t+(s2e[r]??0)*t)*85:s=0,o.jsx("div",{className:`asr-waveform__bar ${e==="generic"?`asr-waveform__bar--generic-${r}`:""}`,style:e==="live"?{height:`${s}%`}:void 0},r)})}),a2e=()=>{const e=ht(u=>u.listeningRole),t=ht(u=>u.stillListening),n=J(u=>{var d;return((d=u.self)==null?void 0:d.role)??null}),r=ze(u=>u.localStream),s=XO(e!==null?r:null),i=H();if(e===null)return o.jsx("div",{className:"chat-typing",role:"status","aria-live":"polite",children:o.jsx("span",{className:"chat-typing__idle","aria-hidden":"true"})});const a=n!==null&&e===n,l=i(e==="teacher"?"chat.speaking.teacher":"chat.speaking.student"),c=t?i("chat.stillListening"):l;return o.jsxs("div",{className:"chat-typing chat-typing--active",role:"status","aria-live":"polite",children:[o.jsx(i2e,{mode:a?"live":"generic",volume:s}),o.jsx("span",{className:"chat-typing__label",children:c})]})},o2e=500,l2e=({onSend:e,disabled:t})=>{const n=H(),[r,s]=v.useState(""),i=v.useRef(null),a=r.trim(),l=!t&&a.length>0,c=()=>{l&&(e(a),s(""),i.current&&(i.current.style.height="auto"))},u=h=>{h.nativeEvent.isComposing||h.keyCode===229||h.key==="Enter"&&(h.shiftKey||(h.preventDefault(),c()))},d=h=>{const f=h.target.value.slice(0,o2e);s(f);const p=i.current;p&&(p.style.height="auto",p.style.height=`${Math.min(p.scrollHeight,120)}px`)};return o.jsxs("div",{className:"chat-input",children:[o.jsx("textarea",{ref:i,className:"chat-input__textarea",rows:1,placeholder:n("chat.placeholder"),"aria-label":n("chat.placeholder"),value:r,onChange:d,onKeyDown:u}),o.jsxs("div",{className:"chat-input__row",children:[r.length>400&&o.jsx("span",{className:"chat-input__counter",children:n("chat.charLimit",{n:r.length})}),o.jsx("button",{type:"button",className:"chat-input__send",onClick:c,disabled:!l,children:n("chat.send")})]})]})},c2e=({children:e})=>{const t=H(),n=!J(vv),r=s=>
110{he.send({t:"message.send",text:s,clientNonce:na(8)})};return o.jsxs("div",{className:"chat-body",children:[o.jsx(Zhe,{children:e}),o.jsx("div",{className:"chat-body__scroll",children:o.jsx(n2e,{})}),o.jsx(a2e,{}),n&&o.jsx("div",{className:"chat-body__peer-offline",children:t("chat.peerOffline")}),o.jsx(l2e,{onSend:r,disabled:n})]})},u2e=({children:e})=>{const t=H();return o.jsx("aside",{className:"chat-panel","aria-label":t("chat.title"),children:o.jsx(c2e,{children:e})})},d2e=4e3,h2e=1e4,f2e=()=>{const e=ht(c=>c.listeningRole),t=ht(c=>c.rows),n=Cn(c=>c.messages),r=ht(c=>c.setListening),s=ht(c=>c.setStillListening),i=v.useRef(0),a=v.useRef(0),l=v.useRef(new Map);v.useEffect(()=>{if(e===null){window.clearTimeout(i.current),window.clearTimeout(a.current);return}return i.current=window.setTimeout(()=>{s(!0)},d2e),a.current=window.setTimeout(()=>{r(null)},h2e),()=>{window.clearTimeout(i.current),window.clearTimeout(a.current)}},[e,r,s]),v.useEffect(()=>{const c=new Map;for(const u of t)u.status==="translating"&&c.set(`subtitle:${u.id}`,()=>ht.getState().setTranslationStatus(u.id,"failed"));for(const u of n)u.translationStatus==="translating"&&c.set(`chat:${u.id}`,()=>Cn.getState().setTranslationStatus(u.id,"failed"));for(const[u,d]of l.current)c.has(u)||(clearTimeout(d),l.current.delete(u));for(const[u,d]of c)l.current.has(u)||l.current.set(u,setTimeout(()=>{l.current.delete(u),d()},$A))},[t,n]),v.useEffect(()=>()=>{for(const c of l.current.values())clearTimeout(c);l.current.clear()},[])},p2e=()=>o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M2.5 3.5h11v7h-6l-3 3v-3h-2z"})}),m2e=()=>o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[o.jsx("rect",{x:"2",y:"2.5",width:"12",height:"11",rx:"1"}),o.jsx("path",{d:"M9.5 2.5v11M2 6h7.5M2 10h7.5"})]}),g2e=()=>{const e=H(),t=rr(u=>u.chatExpanded),n=rr(u=>u.toggleChat),r=rr(u=>u.lastSeenChatTs),s=Cn(u=>u.messages.filter(d=>d.ts>r).length),i=ht(u=>u.listeningRole!==null),a=s>9?"9+":s>0?String(s):null,l=e(t?"layout.collapseChat":"layout.openChat"),c=s>0?`${l} — ${e("layout.chatUnread",{count:String(s)})}`:l;return o.jsxs("div",{className:"room-rail",role:"toolbar","aria-orientation":"vertical",children:[o.jsxs("button",{type:"button",className:"room-rail__btn",onClick:n,title:l,"aria-label":c,"aria-expanded":t,children:[o.jsx(p2e,{}),a!==null&&o.jsx("span",{className:"room-rail__badge",children:a})]}),i&&o.jsx("span",{className:"room-rail__dot","aria-hidden":"true"})]})},y2e=()=>{const e=H(),t=rr(s=>s.sidebarExpanded),n=rr(s=>s.toggleSidebar),r=e(t?"layout.collapsePanels":"layout.openPanels");return o.jsx("div",{className:"room-rail",role:"toolbar","aria-orientation":"vertical",children:o.jsx("button",{type:"button",className:"room-rail__btn",onClick:n,title:r,"aria-label":r,"aria-expanded":t,children:o.jsx(m2e,{})})})},mj=({side:e})=>{const n=H()(e==="chat"?"layout.collapseChat":"layout.collapsePanels");return o.jsx("button",{type:"button",className:"room-column-collapse",title:n,"aria-label":n,onClick:()=>e==="chat"?rr.getState().toggleChat():rr.getState().toggleSidebar(),children:o.jsx("span",{"aria-hidden":"true",children:e==="chat"?"‹":"›"})})},gj={circle:{icon:"○",nameKey:"anno.tool.circle"},triangle:{icon:"△",nameKey:"anno.tool.triangle"},square:{icon:"□",nameKey:"anno.tool.square"},cross:{icon:"✕",nameKey:"anno.tool.cross"},label:{icon:"A",nameKey:"anno.tool.label"},rect:{icon:"▭",nameKey:"anno.tool.rect"},eraser:{icon:"⌫",nameKey:"anno.tool.eraser"}},v2e=({tool:e,counter:t})=>{const n=H();if(e==="none")return null;const r=e==="number"?`# ${t}`:`${gj[e].icon} ${n(gj[e].nameKey)}`;return o.jsx("div",{className:"anno-mode-badge",children:r})},b2e=()=>{const e=Cn(s=>s.messages),t=rr(s=>s.focus),n=rr(s=>s.chatExpanded),r=!t||n;return v.useEffect(()=>{!r||e.length===0||rr.getState().markChatSeen(e[e.length-1].ts)},[r,e]),null},$4=()=>xv(un.getState().game),_2e=({studentUrl:e})=>{const t=H(),[n,r]=v.useState(!1),s=J(z=>{var R;return((R=z.self)==null?void 0:R.role)==="teacher"});f2e();const i=J(W3),a=mD();v.useEffect(()=>{D3()},[]);const l=v.useCallback((z,R)=>{var L;const w=(L=J.getState().self)==null?void 0:L.role;w&&(Ho.getState().addPing({id:na(8),x:z,y:R,role:w}
110),he.send({t:"click.ping",x:z,y:R}))},[]),c=v.useCallback((z,R)=>{var U;const w=un.getState().game;if(w&&w.phase==="scoring"){he.send({t:"game.markDead",x:z,y:R});return}if(w&&w.phase==="playing"){if(!a||yu.getState().pending)return;const G=yt.getState().state;if(!G)return;const oe=w.sideToMove,de=yoe(G,z,R,oe);if(!de)return;yu.getState().setPending({x:z,y:R,color:oe,signMap:de,baseVersion:G.version}),he.send({t:"board.play",x:z,y:R}),oie(z,R);return}const{tool:L,color:M,incrementCounter:A}=Bi.getState();if(L==="none"){if(!a){l(z,R);return}const G=yt.getState().state;if(G){const{signMap:oe}=Qa(G);if(((U=oe[R])==null?void 0:U[z])!==0){l(z,R);return}}he.send({t:"board.play",x:z,y:R});return}if(L==="rect")return;if(!i){l(z,R);return}if(L==="eraser"){const G=yt.getState().state;if(!G){l(z,R);return}const{tree:oe,cursor:de,annotations:Ae}=G;let te=oe;for(const Ne of de){const We=te.children[Ne];if(!We){l(z,R);return}te=We}const be=Ae[te.id];if(!be||be.length===0){l(z,R);return}const Be=be.filter(Ne=>"at"in Ne&&Ne.at[0]===z&&Ne.at[1]===R);if(Be.length>0){const Ne=Be[Be.length-1];he.send({t:"board.unannotate",id:Ne.id});return}const He=be.filter(Ne=>{if(Ne.kind!=="rect")return!1;const We=Math.min(Ne.from[0],Ne.to[0]),re=Math.max(Ne.from[0],Ne.to[0]),Le=Math.min(Ne.from[1],Ne.to[1]),Ke=Math.max(Ne.from[1],Ne.to[1]);return z>=We&&z<=re&&R>=Le&&R<=Ke});if(He.length>0){const Ne=He[He.length-1];he.send({t:"board.unannotate",id:Ne.id});return}l(z,R);return}const q=na(6);let W;switch(L){case"circle":W={kind:"circle",id:q,at:[z,R],color:M};break;case"triangle":W={kind:"triangle",id:q,at:[z,R],color:M};break;case"square":W={kind:"square",id:q,at:[z,R],color:M};break;case"cross":W={kind:"cross",id:q,at:[z,R],color:M};break;case"label":{const G=window.prompt(en("anno.labelPrompt"))??"";if(!G){l(z,R);return}W={kind:"label",id:q,at:[z,R],text:G,color:M};break}case"number":{const G=A();W={kind:"label",id:q,at:[z,R],text:String(G),color:M};break}default:l(z,R);return}he.send({t:"board.annotate",anno:W})},[a,i,l]),u=v.useCallback(z=>{const R=J.getState().presentation;R.mode==="interview"&&!R.boardVisible||$4()||i&&he.send({t:"board.navigate",path:z})},[i]),d=v.useCallback((z,R)=>{var U;if($4()){l(z,R);return}if(!i){l(z,R);return}const w=yt.getState().state;if(!w){l(z,R);return}const{signMap:L}=Qa(w),M=(U=L[R])==null?void 0:U[z];if(!M){l(z,R);return}const A=M===1?"B":"W",q=voe(w.tree,w.cursor,z,R,A);if(!q){l(z,R);return}const W=w.cursor;if(q.length===W.length&&q.every((G,oe)=>G===W[oe])){l(z,R);return}he.send({t:"board.navigate",path:q})},[i,l]),h=()=>{const z=yt.getState().state;if(!z)return;const R=_oe(z.tree,z.annotations,{size:z.size??19,extraRootProps:koe(un.getState().game)});Cv("lesson.sgf",R)},f=()=>{window.confirm(en("controls.leaveConfirm"))&&Zoe()};v.useEffect(()=>{const z=R=>{var q;const w=(q=R.target)==null?void 0:q.tagName;if(w==="INPUT"||w==="TEXTAREA"||w==="SELECT")return;const L=J.getState().presentation;if(L.mode==="interview"&&!L.boardVisible||$4()||!i)return;const M=yt.getState().state;if(!M)return;let A=null;switch(R.key){case"ArrowLeft":A=up(M.tree,M.cursor,"left");break;case"ArrowRight":A=up(M.tree,M.cursor,"right");break;case"ArrowUp":A=dp(M.tree,M.cursor,"back",10);break;case"ArrowDown":A=dp(M.tree,M.cursor,"forward",10);break;default:return}A&&(R.preventDefault(),he.send({t:"board.navigate",path:A}))};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[i]);const p=J(z=>z.presentation),m=p.mode==="interview",[y,_]=v.useState(!1);v.useEffect(()=>{m||_(!1);const z=R=>{R.key==="Escape"&&_(!1)};return window.addEventListener("keydown",z),()=>window.removeEventListener("keydown",z)},[m]);const g=v.useRef(null),b=v.useRef(null),k=v.useRef(null),x=yt(z=>{var R;return((R=z.state)==null?void 0:R.size)??19}),S=Bi(z=>z.tool),T=Bi(z=>z.numberCounter),C=Dd(cL),E=un(z=>z.game),N=xv(E),j=Nr(z=>z.boards.size>0),I=Dn(PA),P=rr(z=>z.focus),O=rr(z=>z.chatExpanded),F=rr(z=>z.sidebarExpanded),B=Ghe(g,x,m,!j&&!I&&(!m||p.boardVisible)),$=m?Math.min(C,B):Math.max(1,Math.floor(B*Math.min(1,C/W1)));v.useEffect(()=>{N&&Bi.getState().pickTool("none")},[N]);const D=["lesson-room",m?"lesson-room--interview":"",m&&p.boardVisible?"lesson-room--interview-board":"",m&&y?"lesson-room--clean":"",P?"lesson-room--focus":"",P&&O?"lesson-room--chat-open":"",P&&F?"lesson-room--side-open":""].filter(
110Boolean).join(" ");return o.jsxs(o.Fragment,{children:[o.jsx(Xoe,{}),o.jsxs("div",{className:D,children:[o.jsx(Ihe,{onLeave:f,children:o.jsx(Fx,{clean:y,onClean:_,compact:!0})}),m&&o.jsx(Fx,{clean:y,onClean:_}),m&&y&&o.jsx("div",{className:"interview-exit",children:o.jsx("button",{className:"btn",onClick:()=>_(!1),children:en("interview.exitClean")})}),o.jsxs("div",{className:"room-side room-side--chat",children:[o.jsx(b2e,{}),o.jsx(g2e,{}),o.jsx("div",{className:"classroom-cameras",ref:b}),o.jsx(u2e,{children:o.jsx(mj,{side:"chat"})})]}),o.jsxs("div",{className:"board-col",ref:k,children:[o.jsxs("div",{className:"review-board-actions",children:[o.jsx(Boe,{}),!j&&!I&&(!m||p.boardVisible)&&o.jsxs(o.Fragment,{children:[s&&o.jsx(JA,{disabled:N,onLoad:z=>he.send({t:"board.load",sgfText:z})}),!N&&o.jsx(wae,{disabled:!i,compact:!0})]})]}),j?o.jsx(qoe,{}):I?o.jsx(Goe,{}):o.jsxs(o.Fragment,{children:[o.jsx(gae,{}),o.jsxs("div",{className:"board-stage",ref:g,children:[o.jsxs("div",{className:"board-badges",children:[o.jsx(ale,{}),o.jsx(Ohe,{}),o.jsx(Dhe,{}),o.jsx(poe,{}),!N&&S!=="none"&&o.jsx(v2e,{tool:S,counter:T})]}),o.jsx(vu,{onVertexClick:c,onVertexJump:d,onVertexPing:l,disabled:!a&&!i,vertexSize:$})]}),o.jsx(Vhe,{}),o.jsxs("div",{className:"board-footer",children:[o.jsx(rle,{disabled:N}),o.jsxs("details",{className:"board-tools",children:[o.jsx("summary",{className:"btn btn--ghost",children:t("board.tools.more")}),o.jsxs("div",{className:"board-tools__content",children:[o.jsx(ele,{}),o.jsx(ile,{}),o.jsx(tle,{fitToViewport:!m})]})]})]}),!m&&o.jsx(Rhe,{studentUrl:e}),m&&o.jsx(vae,{})]})]}),o.jsxs("div",{className:"room-side room-side--side",children:[o.jsx(y2e,{}),o.jsxs("div",{className:`sidebar${m&&!p.boardVisible?" sidebar--no-board":""}`,children:[o.jsx(Hoe,{}),o.jsx("div",{className:"panel panel--languages",children:o.jsx(VA,{})}),o.jsx("div",{className:"panel panel--participation",children:o.jsx(YA,{gameActive:N})}),o.jsxs("div",{className:`panel panel--tree${n?"":" panel--tree-collapsed"}`,children:[o.jsxs("div",{className:"room-panel-heading",children:[o.jsx("h3",{children:o.jsx("button",{type:"button",className:"room-widget-toggle","aria-expanded":n,onClick:()=>r(z=>!z),children:o.jsx(lp,{label:t("tree.title")})})}),o.jsx(mj,{side:"sidebar"})]}),n&&o.jsx(moe,{onNavigate:u,disabled:!i||N})]}),o.jsx(doe,{}),o.jsxs("details",{className:"room-settings",children:[o.jsx("summary",{className:"room-widget-toggle",children:o.jsx(lp,{label:t("controls.lessonSettings")})}),o.jsx(D1e,{studentUrl:e,onDownloadSgf:h,gameActive:N,includeQuickControls:!1,includeLoadSgf:!1,includeLanguageControls:!1})]})]})]}),o.jsx(qhe,{target:m?k:b})]})]})},yj=e=>({...e,authorizationParams:{...e==null?void 0:e.authorizationParams,ui_locales:OM(vt.getState().uiLang)}}),po=()=>{const{loginWithRedirect:e,loginWithPopup:t}=ar(),n=v.useCallback(s=>{var l;const i=window.location.pathname+window.location.search+window.location.hash,a=i.startsWith("/")&&!/^\/[\\/]/.test(i)?i:"/";return e(yj({...s,appState:{...s==null?void 0:s.appState,returnTo:((l=s==null?void 0:s.appState)==null?void 0:l.returnTo)??a}}))},[e]),r=v.useCallback((s,i)=>t(yj(s),i),[t]);return{login:n,loginPopup:r}},yD=()=>{const e=H(),{isAuthenticated:t,isLoading:n,user:r,logout:s}=ar(),{login:i}=po();return n?o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:!0,children:e("auth.loading")}):t?o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,flexWrap:"wrap"},children:[o.jsx("span",{style:{fontSize:14,color:"var(--text-muted)"},children:(r==null?void 0:r.name)??(r==null?void 0:r.email)??e("auth.teacherFallback")}),o.jsx("button",{type:"button",onClick:()=>V1(s),className:"btn btn--ghost btn--sm",children:e("auth.logout")})]}):o.jsx("button",{type:"button",onClick:()=>i(),className:"btn btn--primary",children:e("auth.login")})},Hr=()=>{const{getAccessTokenSilently:e}=ar(),t=v.useCallback(async(n,r)=>{const s=await e(),i=new Headers(r==null?void 0:r.headers);return i.set("Authorization",`Bearer ${s}`),fetch(n,{...r,headers:i})},[e]);return{getAccessTokenSilently:e,authFetch:t}},vD="gt.lessonPrefs",k2e=Ds,w2e=e=>typeof e=="string"&&k2e.includes(e),x2e=()=>{let e;try{e=window.localStorage.getItem(vD)}catch{return null}if(e===null)return null;let t;try{t=JSON.parse(e)}catch{return null}if(typeof t!="object"||t===null)return null;const n=t;return typeof n.name!="string"||n.name.trim()===""||!w2e(n.lang)?null:{name:n.name,lang:n.lang}},S2e=e=>{try{window.localStorage.setItem(vD,JSON.stringify(e))}catch{}},T2e="gt.studentUrl:",bD=e=>`${T2e}${e}`,j2e=(e,t)=>
110{try{window.localStorage.setItem(bD(e),t)}catch{}},C2e=e=>{try{return window.localStorage.getItem(bD(e))}catch{return null}};let c9=null;const E2e=e=>{c9=e},z2e=e=>c9!==null&&c9===e,vj="gt.myLessonsNudge.dismissed",N2e=()=>{const e=H(),{login:t}=po(),[n,r]=v.useState(!1);return v.useEffect(()=>{window.sessionStorage.getItem(vj)==="1"&&r(!0)},[]),n?null:o.jsxs("div",{className:"signin-nudge",children:[o.jsx("span",{className:"signin-nudge__text",children:e("myLessons.nudgeSignInTitle")}),o.jsx("button",{type:"button",onClick:()=>t(),className:"btn btn--primary btn--sm",children:e("myLessons.nudgeSignInCta")}),o.jsx("button",{type:"button",onClick:()=>{window.sessionStorage.setItem(vj,"1"),r(!0)},className:"btn btn--link btn--sm",children:e("myLessons.nudgeDismiss")})]})},I2e=()=>{if(typeof window>"u")return null;const e=window.location.pathname.match(/^\/lesson\/([^/]+)$/);if(!e)return null;const t=new URLSearchParams(window.location.search),n=t.get("token");if(!n)return null;const r=t.get("lang"),s=r&&Ds.includes(r)?r:null,i=t.get("multi")==="1";return{roomId:e[1],token:n,studentLang:s,multi:i}},bj=({onReady:e})=>{const t=H(),n=v.useId(),r=v.useRef(null),s=v.useRef(null),i=v.useRef(!1),[a,l]=v.useState(!1),[c,u]=v.useState(null),d=vt(K=>K.uiLang),{isAuthenticated:h,isLoading:f,authFetch:p,user:m}=bt(),y=_i(),{getAccessTokenSilently:_}=Hr(),g=I2e(),b=g?"join":"create",k=v.useRef(null);k.current===null&&g&&(k.current=x2e());const x=k.current,[S,T]=v.useState(x===null),[C]=v.useState(b),[E,N]=v.useState(null),[j,I]=v.useState((x==null?void 0:x.name)??(m==null?void 0:m.name)??""),[P,O]=v.useState((x==null?void 0:x.lang)??(g==null?void 0:g.studentLang)??d),[F,B]=v.useState(null),$=async()=>{if(!(!nr||!h))try{const K=_(),ve=new Promise(Qe=>setTimeout(()=>Qe(void 0),3e3)),Me=await Promise.race([K,ve]);return Me===void 0&&console.warn("[auth] silent token timeout — joining without history linkage"),Me}catch(K){console.warn("[auth] silent token failed — joining without history linkage:",K);return}};v.useEffect(()=>{if(C!=="create"||!y.loaded)return;const K=y.data;K&&K.teacher_status==="approved"&&(N({display_name:K.display_name,subscription_status:K.subscription_status,trial_lessons_used:K.trial_lessons_used,trial_lesson_max:K.trial_lesson_max}),K.display_name&&I(K.display_name))},[C,y.loaded,y.data]),v.useEffect(()=>{g!=null&&g.studentLang||x||O(d)},[d,g==null?void 0:g.studentLang,x]);const[D,z]=v.useState(null),[R,w]=v.useState(null),[L,M]=v.useState(!1),[A,q]=v.useState(null);v.useEffect(()=>{var K,ve;c==="name"&&((K=r.current)==null||K.focus()),c==="studentLanguage"&&((ve=s.current)==null||ve.focus())},[c,A]);const[W,U]=v.useState(!1),[G,oe]=v.useState(!1),[de,Ae]=v.useState(null),[te,be]=v.useState(!0),[Be,He]=v.useState(!0),[Ne,We]=v.useState(!1),[re,Le]=v.useState(!1),[Ke,Se]=v.useState("classroom"),lt=C==="join"&&(g==null?void 0:g.multi)===!0,je=C==="create"&&re,ne=v.useRef(!1);v.useEffect(()=>{!g||!x||z2e(g.roomId)||ne.current||(ne.current=!0,(async()=>{const K=await $();e({roomId:g.roomId,token:g.token,lang:x.lang,name:x.name,sgfText:null,wantMic:!0,wantCam:!0,studentLang:g.studentLang,...g.multi?{allowMultipleStudents:!0}:{},...K?{authToken:K}:{}})})())},[]);const ge=async K=>{K.preventDefault();const ve=K.dataTransfer.files[0];if(!ve)return;const Me=await ve.text();z(Me),w(ve.name)},xe=async K=>{var Qe;const ve=(Qe=K.target.files)==null?void 0:Qe[0];if(!ve)return;const Me=await ve.text();z(Me),w(ve.name)},V=()=>{var K;return j.trim()?!0:(u("name"),q(t("bootstrap.error.noName")),(K=r.current)==null||K.focus(),!1)},ce=async()=>{var K;if(!(i.current||!V())){if(!F){u("studentLanguage"),q(t("bootstrap.form.chooseStudentLanguage")),(K=s.current)==null||K.focus();return}i.current=!0,u(null),M(!0),q(null);try{const ve=await p(`/api/rooms${G?"?passcode=true":""}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({mode:Ke,studentLang:F,...re?{allowMultipleStudents:!0}:{}})});if(ve.status===402){U(!0),i.current=!1,M(!1);return}if(!ve.ok)throw new Error(t("error.createRoomFailed",{status:ve.status}));const Me=await ve.json();E2e(Me.roomId),window.history.replaceState(null,"",`/lesson/${Me.roomId}?token=${Me.teacherToken}`);
110const Qe=new URL(Me.studentUrl,window.location.origin).href;j2e(Me.roomId,Qe),Me.passcode&&(Ae(Me.passcode),window.sessionStorage.setItem("gt.passcode",Me.passcode));const Sr=await $();e({roomId:Me.roomId,token:Me.teacherToken,lang:P,name:j,sgfText:D,wantMic:te,wantCam:Be,studentLang:F,allowMultipleStudents:Me.allowMultipleStudents??re,studentCapacity:Me.studentCapacity??(re?8:1),...Sr?{authToken:Sr}:{}})}catch(ve){q(ve instanceof Error?ve.message:String(ve)),i.current=!1,M(!1)}}},ke=async()=>{if(!(!g||i.current||!V())){i.current=!0,l(!0),u(null),q(null);try{const K=await $();await e({roomId:g.roomId,token:g.token,lang:P,name:j,sgfText:null,wantMic:te,wantCam:Be,studentLang:g.studentLang,...lt?{allowMultipleStudents:!0}:{},...K?{authToken:K}:{}})}catch{q(t("error.connectFailed")),i.current=!1,l(!1)}}};if(W)return o.jsxs("div",{className:"room-bootstrap",children:[o.jsx("h1",{children:t("bootstrap.trialExhausted.title")}),o.jsx("p",{style:{color:"var(--text-muted)",marginTop:8},children:t("bootstrap.trialExhausted.body")}),o.jsx("div",{className:"field",style:{marginTop:16},children:o.jsx("button",{type:"button",onClick:()=>window.location.assign("/"),className:"btn btn--ghost",children:t("bootstrap.trialExhausted.back")})})]});if(!S&&x!==null)return o.jsxs("div",{className:"room-bootstrap",children:[o.jsx("h1",{children:t("bootstrap.reconnect.title")}),o.jsx("p",{style:{color:"var(--text-muted)",marginTop:8},children:t("bootstrap.reconnect.body")}),o.jsx("div",{className:"field",style:{marginTop:16},children:o.jsx("button",{type:"button",onClick:()=>T(!0),className:"btn btn--link btn--sm",children:t("bootstrap.reconnect.edit")})})]});if(C==="create"&&nr&&!h)return f?o.jsx("div",{className:"room-bootstrap",children:o.jsx("p",{children:t("shared.loading")})}):o.jsxs("div",{className:"room-bootstrap",children:[o.jsx("h1",{children:t("bootstrap.title.create")}),o.jsx("p",{style:{color:"var(--text-muted)",marginBottom:16},children:t("bootstrap.signInRequired")}),o.jsx(yD,{})]});const Fe=nr&&!h&&C==="join";return o.jsxs("form",{className:"room-bootstrap",noValidate:!0,"aria-labelledby":`${n}-title`,onSubmit:K=>{K.preventDefault(),C==="create"?ce():ke()},children:[o.jsx("h1",{id:`${n}-title`,children:t(C==="create"?"bootstrap.title.create":"bootstrap.title.join")}),Fe&&o.jsx(N2e,{}),C==="create"&&E&&E.subscription_status==="trial"&&o.jsx("div",{style:{padding:"8px 16px",marginBottom:16,background:"var(--warning-tint)",borderRadius:6,fontSize:14,color:"var(--warning)"},children:t("bootstrap.trialCount",{used:E.trial_lessons_used+1,max:E.trial_lesson_max})}),(C==="join"||c==="name")&&o.jsxs("div",{className:"field",children:[o.jsx("label",{htmlFor:`${n}-name`,children:t("bootstrap.name.label")}),o.jsx("input",{id:`${n}-name`,ref:r,required:!0,"aria-invalid":c==="name"||void 0,"aria-describedby":c==="name"?`${n}-error`:void 0,type:"text",value:j,onChange:K=>I(K.target.value),placeholder:t("bootstrap.name.placeholder")})]}),o.jsx(ef,{value:P,onChange:O,label:t("bootstrap.lang.label")}),C==="create"&&o.jsxs("div",{className:"field",children:[o.jsx("label",{htmlFor:`${n}-student-language`,children:t("bootstrap.studentLang.label")}),o.jsxs("select",{id:`${n}-student-language`,ref:s,required:!0,"aria-describedby":`${n}-student-language-hint${c==="studentLanguage"?` ${n}-error`:""}`,"aria-invalid":c==="studentLanguage"||void 0,value:F??"",onChange:K=>B(K.target.value),children:[o.jsx("option",{value:"",disabled:!0,children:t("bootstrap.form.chooseStudentLanguage")}),Ds.map(K=>o.jsx("option",{value:K,children:Du[K]},K))]}),o.jsx("p",{id:`${n}-student-language-hint`,className:"bootstrap-field-hint",children:t("bootstrap.form.studentLanguageRequired")})]}),C==="create"&&o.jsxs("div",{className:"field",onDragOver:K=>K.preventDefault(),onDrop:ge,style:{border:"2px dashed var(--border)",padding:16,borderRadius:6,textAlign:"center"},children:[o.jsx("label",{htmlFor:R?void 0:`${n}-sgf`,children:t("bootstrap.sgf.label")}),R?o.jsxs("div",{children:[t("bootstrap.sgf.loaded")," ",o.jsx("code",{children:R})," ",o.jsx("button",{type:"button",onClick:()=>{z(null),w(null)},className:"btn btn--ghost btn--sm",children:t("bootstrap.sgf.remove")})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{style:{color:"var(--text-muted)",marginBottom:8},children:t("bootstrap.sgf.drop")}),o.jsx("input",{id:`${n}-sgf`,type:"file",accept:".sgf",onChange:xe})]})]}),C==="create"&&o.jsxs("div",{className:"field",children:[o.jsx("label",{htmlFor:"room-mode",children:t("interview.roomMode")}),o.jsxs("select",{id:"room-mode",value:Ke,onChange:K=>{const ve=K.target.value==="interview"?"interview":"classroom";Se(ve),ve==="interview"&&Le(!1)},children:[o.jsx("option",{value:"classroom",children:t("interview.classroom")}),o.jsx("option",{value:"interview",children:t("interview.title")})]})]}),C==="create"&&o.jsx("div",{className:"field",style:{marginTop:12},children:o.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,cursor:"pointer"},children:[o.jsx("input",{type:"checkbox",checked:G,onChange:K=>oe(K.target.checked)}),t("bootstrap.passcode.checkbox")]})}),C==="create"&&o.jsxs("div",{className:"field",style:{marginTop:12},children:[o.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,cursor:"pointer"},children:[o.jsx("input",{type:"checkbox",disabled:Ke==="interview",checked:re,"aria-describedby":je?`${n}-group-media`:void 0,onChange:K=>Le(K.target.checked)}),t("bootstrap.multi.checkbox")]}),re&&o.jsx("div",{style:{fontSize:12,color:"var(--text-muted)",marginTop:4},children:t("bootstrap.multi.hint")}),je&&o.jsx("p",{id:`${n}-group-media`,role:"status",style:{fontSize:13,color:"var(--text-muted)",marginTop:4},children:t("groupSetup.mediaHint")})]}),de&&o.jsxs("div",{className:"field",style:{marginTop:12,padding:12,background:"var(--surface-alt)",borderRadius:6},children:[o.jsx("div",{style:{fontWeight:600,marginBottom:8},children:t("bootstrap.passcode.label")}),o.jsx("div",{className:"passcode-grid",style:{marginBottom:8},children:de.split("").map((K,ve)=>o.jsx("span",{className:"passcode-cell",children:K},ve))}),o.jsx("button",{type:"button",onClick:()=>{navigator.clipboard.writeText(de),We(!0),setTimeout(()=>We(!1),2e3)},className:"btn btn--ghost btn--sm",children:t(Ne?"bootstrap.passcode.copied":"bootstrap.passcode.copy")})]}),lt?o.jsx("div",{className:"field",style:{marginTop:12,color:"var(--text-muted)",fontSize:13},children:t("bootstrap.multi.hint")}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"field",style:{marginTop:12},children:o.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,cursor:"pointer"},children:[o.jsx("input",{type:"checkbox",checked:te,onChange:K=>be(K.target.checked)}),t("bootstrap.media.mic")]})}),!je&&o.jsx("div",{className:"field",style:{marginTop:6},children:o.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,cursor:"pointer"}
110,children:[o.jsx("input",{type:"checkbox",checked:Be,onChange:K=>He(K.target.checked)}),t("bootstrap.media.cam")]})})]}),A&&o.jsx("div",{id:`${n}-error`,role:"alert",className:"bootstrap-error",children:A}),o.jsx("div",{className:"field",style:{marginTop:20},children:C==="create"?o.jsx("button",{type:"submit",disabled:L,className:"btn btn--primary btn--block",children:t(L?"bootstrap.btn.creating":"bootstrap.btn.create")}):o.jsx("button",{type:"submit",disabled:a,className:"btn btn--primary btn--block",children:t(a?"bootstrap.form.joining":"bootstrap.btn.join")})})]})},kd=6,R2e=({onSubmit:e,error:t})=>{const n=H(),[r,s]=v.useState(Array(kd).fill("")),i=v.useRef([]),a=(f,p)=>{var _;const m=p.replace(/\D/g,"").slice(-1),y=[...r];y[f]=m,s(y),m&&f<kd-1&&((_=i.current[f+1])==null||_.focus())},l=(f,p)=>{var m;p.key==="Backspace"&&!r[f]&&f>0&&((m=i.current[f-1])==null||m.focus())},c=f=>{var _;f.preventDefault();const p=f.clipboardData.getData("text").replace(/\D/g,"").slice(0,kd);if(!p)return;const m=[...r];for(let g=0;g<p.length;g++)m[g]=p[g];s(m);const y=Math.min(p.length,kd-1);(_=i.current[y])==null||_.focus()},u=r.join(""),d=u.length===kd&&r.every(f=>f!==""),h=f=>{f.preventDefault(),d&&e(u)};return o.jsxs("div",{className:"room-bootstrap",children:[o.jsx("h1",{children:n("bootstrap.passcode.title")}),o.jsx("p",{style:{color:"var(--text-muted)",marginBottom:16},children:n("bootstrap.passcode.hint")}),o.jsxs("form",{onSubmit:h,children:[o.jsx("div",{className:"passcode-grid",style:{marginBottom:16},children:r.map((f,p)=>o.jsx("input",{ref:m=>{i.current[p]=m},type:"text",inputMode:"numeric",maxLength:1,value:f,onChange:m=>a(p,m.target.value),onKeyDown:m=>l(p,m),onPaste:p===0?c:void 0,className:`passcode-cell passcode-cell--input${t?" passcode-cell--error":""}`},p))}),t&&o.jsx("div",{style:{color:"var(--error)",marginBottom:12},children:n("bootstrap.passcode.invalid")}),o.jsx("button",{type:"submit",disabled:!d,className:"btn btn--primary btn--block",children:n("bootstrap.passcode.submit")})]})]})};function P2e(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const A2e=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,L2e=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,M2e={};function _j(e,t){return(M2e.jsx?L2e:A2e).test(e)}const O2e=/[ \t\n\f\r]/g;function D2e(e){return typeof e=="object"?e.type==="text"?kj(e.value):!1:kj(e)}function kj(e){return e.replace(O2e,"")===""}class Y1{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Y1.prototype.normal={};Y1.prototype.property={};Y1.prototype.space=void 0;function _D(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new Y1(n,r,t)}function u9(e){return e.toLowerCase()}class xr{constructor(t,n){this.attribute=n,this.property=t}}xr.prototype.attribute="";xr.prototype.booleanish=!1;xr.prototype.boolean=!1;xr.prototype.commaOrSpaceSeparated=!1;xr.prototype.commaSeparated=!1;xr.prototype.defined=!1;xr.prototype.mustUseProperty=!1;xr.prototype.number=!1;xr.prototype.overloadedBoolean=!1;xr.prototype.property="";xr.prototype.spaceSeparated=!1;xr.prototype.space=void 0;let W2e=0;const $e=jl(),Jt=jl(),d9=jl(),le=jl(),jt=jl(),eu=jl(),Tr=jl();function jl(){return 2**++W2e}const h9=Object.freeze(Object.defineProperty({__proto__:null,boolean:$e,booleanish:Jt,commaOrSpaceSeparated:Tr,commaSeparated:eu,number:le,overloadedBoolean:d9,spaceSeparated:jt},Symbol.toStringTag,{value:"Module"})),B4=Object.keys(h9);class sb extends xr{constructor(t,n,r,s){let i=-1;if(super(t,n),wj(this,"space",s),typeof r=="number")for(;++i<B4.length;){const a=B4[i];wj(this,B4[i],(r&h9[a])===h9[a])}}}sb.prototype.defined=!0;function wj(e,t,n){n&&(e[t]=n)}function Fu(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const i=new sb(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[u9(r)]=r,n[u9(i.attribute)]=r}return new Y1(t,n,e.space)}const kD=Fu({properties:{ariaActiveDescendant:null,ariaAtomic:Jt,ariaAutoComplete:null,ariaBusy:Jt,ariaChecked:Jt,ariaColCount:le,ariaColIndex:le,ariaColSpan:le,ariaControl
vendor: 5,436 bytes, line 110
110s:jt,ariaCurrent:null,ariaDescribedBy:jt,ariaDetails:null,ariaDisabled:Jt,ariaDropEffect:jt,ariaErrorMessage:null,ariaExpanded:Jt,ariaFlowTo:jt,ariaGrabbed:Jt,ariaHasPopup:null,ariaHidden:Jt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:jt,ariaLevel:le,ariaLive:null,ariaModal:Jt,ariaMultiLine:Jt,ariaMultiSelectable:Jt,ariaOrientation:null,ariaOwns:jt,ariaPlaceholder:null,ariaPosInSet:le,ariaPressed:Jt,ariaReadOnly:Jt,ariaRelevant:null,ariaRequired:Jt,ariaRoleDescription:jt,ariaRowCount:le,ariaRowIndex:le,ariaRowSpan:le,ariaSelected:Jt,ariaSetSize:le,ariaSort:null,ariaValueMax:le,ariaValueMin:le,ariaValueNow:le,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function wD(e,t){return t in e?e[t]:t}function xD(e,t){return wD(e,t.toLowerCase())}const F2e=Fu({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:eu,acceptCharset:jt,accessKey:jt,action:null,allow:null,allowFullScreen:$e,allowPaymentRequest:$e,allowUserMedia:$e,alt:null,as:null,async:$e,autoCapitalize:null,autoComplete:jt,autoFocus:$e,autoPlay:$e,blocking:jt,capture:null,charSet:null,checked:$e,cite:null,className:jt,cols:le,colSpan:null,content:null,contentEditable:Jt,controls:$e,controlsList:jt,coords:le|eu,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$e,defer:$e,dir:null,dirName:null,disabled:$e,download:d9,draggable:Jt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$e,formTarget:null,headers:jt,height:le,hidden:d9,high:le,href:null,hrefLang:null,htmlFor:jt,httpEquiv:jt,id:null,imageSizes:null,imageSrcSet:null,inert:$e,inputMode:null,integrity:null,is:null,isMap:$e,itemId:null,itemProp:jt,itemRef:jt,itemScope:$e,itemType:jt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$e,low:le,manifest:null,max:null,maxLength:le,media:null,method:null,min:null,minLength:le,multiple:$e,muted:$e,name:null,nonce:null,noModule:$e,noValidate:$e,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:$e,optimum:le,pattern:null,ping:jt,placeholder:null,playsInline:$e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$e,referrerPolicy:null,rel:jt,required:$e,reversed:$e,rows:le,rowSpan:le,sandbox:jt,scope:null,scoped:$e,seamless:$e,selected:$e,shadowRootClonable:$e,shadowRootDelegatesFocus:$e,shadowRootMode:null,shape:null,size:le,sizes:null,slot:null,span:le,spellCheck:Jt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:le,step:null,style:null,tabIndex:le,target:null,title:null,translate:null,type:null,typeMustMatch:$e,useMap:null,value:Jt,width:le,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:jt,axis:null,background:null,bgColor:null,border:le,borderColor:null,bottomMargin:le,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$e,declare:$e,event:null,face:null,frame:null,frameBorder:null,hSpace:le,leftMargin:le,link:null,longDesc:null,lowSrc:null,marginHeight:le,marginWidth:le,noResize:$e,noHref:$e,noShade:$e,noWrap:$e,object:null,profile:null,prompt:null,rev:null,rightMargin:le,rules:null,scheme:null,scrolling:Jt,standby:null,summary:null,text:null,topMargin:le,valueType:null,version:null,vAlign:null,vLink:null,vSpace:le,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$e,disableRemotePlayback:$e,prefix:null,property:null,results:le,security:null,unselectable:null},space:"html",transform:xD}),$2e=Fu({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
110dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Tr,accentHeight:le,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:le,amplitude:le,arabicForm:null,ascent:le,attributeName:null,attributeType:null,azimuth:le,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:le,by:null,calcMode:null,capHeight:le,className:jt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
110dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:le,diffuseConstant:le,direction:null,display:null,dur:null,divisor:le,dominantBaseline:null,download:$e,dx:null,dy:null,edgeMode:null,editable:null,elevation:le,enableBackground:null,end:null,event:null,exponent:le,externalResourcesRequired:null,fill:null,fillOpacity:le,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:eu,g2:eu,glyphName:eu,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:le,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:le,horizOriginX:le,horizOriginY:le,id:null,ideographic:le,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:le,k:le,k1:le,k2:le,k3:le,k4:le,kernelMatrix:Tr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:le,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:le,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:le,overlineThickness:le,paintOrder:null,panose1:null,path:null,pathLength:le,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:jt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:le,pointsAtY:le,pointsAtZ:le,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Tr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Tr,rev:Tr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Tr,requiredFeatures:Tr,requiredFonts:Tr,requiredFormats:Tr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:le,specularExponent:le,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:le,strikethroughThickness:le,string:null,stroke:null,strokeDashArray:Tr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:le,strokeOpacity:le,strokeWidth:null,style:null,surfaceScale:le,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Tr,tabIndex:le,tableValues:null,target:null,targetX:le,targetY:le,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Tr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:le,underlineThickness:le,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:le,values:null,vAlphabetic:le,vMathematical:le,vectorEffect:null,vHanging:le,vIdeographic:le,version:null,vertAdvY:le,vertOriginX:le,vertOriginY:le,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:le,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:wD}),SD=Fu({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,712 bytes, lines 110-111
110,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),TD=Fu({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:xD}),jD=Fu({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),B2e={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},U2e=/[A-Z]/g,xj=/-[a-z]/g,q2e=/^data[-\w.:]+$/i;function H2e(e,t){const n=u9(t);let r=t,s=xr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&q2e.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(xj,K2e);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!xj.test(i)){let a=i.replace(U2e,G2e);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}s=sb}return new s(r,t)}function G2e(e){return"-"+e.toLowerCase()}function K2e(e){return e.charAt(1).toUpperCase()}const V2e=_D([kD,F2e,SD,TD,jD],"html"),ib=_D([kD,$2e,SD,TD,jD],"svg");function Y2e(e){return e.join(" ").trim()}var ab={},Sj=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,J2e=/\n/g,Z2e=/^\s*/,X2e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Q2e=/^:\s*/,efe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,tfe=/^[;\s]*/,nfe=/^\s+|\s+$/g,rfe=`
111`,Tj="/",jj="*",Wo="",sfe="comment",ife="declaration";function afe(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function s(m){var y=m.match(J2e);y&&(n+=y.length);var _=m.lastIndexOf(rfe);r=~_?m.length-_:r+m.length}function i(){var m={line:n,column:r};return function(y){return y.position=new a(m),u(),y}}function a(m){this.start=m,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function l(m){var y=new Error(t.source+":"+n+":"+r+": "+m);if(y.reason=m,y.filename=t.source,y.line=n,y.column=r,y.source=e,!t.silent)throw y}function c(m){var y=m.exec(e);if(y){var _=y[0];return s(_),e=e.slice(_.length),y}}function u(){c(Z2e)}function d(m){var y;for(m=m||[];y=h();)y!==!1&&m.push(y);return m}function h(){var m=i();if(!(Tj!=e.charAt(0)||jj!=e.charAt(1))){for(var y=2;Wo!=e.charAt(y)&&(jj!=e.charAt(y)||Tj!=e.charAt(y+1));)++y;if(y+=2,Wo===e.charAt(y-1))return l("End of comment missing");var _=e.slice(2,y-2);return r+=2,s(_),e=e.slice(y),r+=2,m({type:sfe,comment:_})}}function f(){var m=i(),y=c(X2e);if(y){if(h(),!c(Q2e))return l("property missing ':'");var _=c(efe),g=m({type:ife,property:Cj(y[0].replace(Sj,Wo)),value:_?Cj(_[0].replace(Sj,Wo)):Wo});return c(tfe),g}}function p(){var m=[];d(m);for(var y;y=f();)y!==!1&&(m.push(y),d(m));return m}return u(),p()}function Cj(e){return e?e.replace(nfe,Wo):Wo}var ofe=afe,lfe=pf&&pf.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ab,"__esModule",{value:!0});ab.default=ufe;const cfe=lfe(ofe);function ufe(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,cfe.default)(e),s=typeof t=="function";return r.forEach(i=>{if(i.type!=="declaration")return;const{property:a,value:l}=i;s?t(a,l,i):l&&(n=n||{},n[a]=l)}),n}var nm={};Object.defineProperty(nm,"__esModule",{value:!0});nm.camelCase=void 0;var dfe=/^--[a-zA-Z0-9_-]+$/,hfe=/-([a-z])/g,ffe=/^[^-]+$/,pfe=/^-(webkit|moz|ms|o|khtml)-/,mfe=/^-(ms)-/,gfe=function(e){return!e||ffe.test(e)||dfe.test(e)},yfe=function(e,t){return t.toUpperCase()},Ej=function(e,t){return"".concat(t,"-")},vfe=function(e,t){return t===void 0&&(t={}),gfe(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(mfe,Ej):e=e.replace(pfe,Ej),e.replace(hfe,yfe))};nm.camelCase=vfe;var bfe=pf&&pf.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},_fe=bfe(ab),kfe=nm;function f9(e,t){var n={};return!e||typeof e!="string"||(0,_fe.default)(e,function(r,s){r&&s&&(n[(0,kfe.camelCase)(r,t)]=s)}),n}f9.default=f9;var wfe=f9;const xfe=yi(wfe),ob={}.hasOwnProperty,Sfe=new Map,Tfe=/[A-Z]/g,jfe=new Set(["table","tbody","thead","tfoot","tr"]),Cfe=new Set(["td","th"]),CD="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Efe(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Mfe(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 8,600 bytes, line 111
111if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Lfe(n,t.jsx,t.jsxs)}const s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ib:V2e,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=ED(s,e,void 0);return i&&typeof i!="string"?i:s.create(e,s.Fragment,{children:i||void 0},void 0)}function ED(e,t,n){if(t.type==="element")return zfe(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Nfe(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Rfe(e,t,n);if(t.type==="mdxjsEsm")return Ife(e,t);if(t.type==="root")return Pfe(e,t,n);if(t.type==="text")return Afe(e,t)}function zfe(e,t,n){const r=e.schema;let s=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(s=ib,e.schema=s),e.ancestors.push(t);const i=ND(e,t.tagName,!1),a=Ofe(e,t);let l=cb(e,t);return jfe.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!D2e(c):!0})),zD(e,a,i,t),lb(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function Nfe(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}h1(e,t.position)}function Ife(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);h1(e,t.position)}function Rfe(e,t,n){const r=e.schema;let s=r;t.name==="svg"&&r.space==="html"&&(s=ib,e.schema=s),e.ancestors.push(t);const i=t.name===null?e.Fragment:ND(e,t.name,!0),a=Dfe(e,t),l=cb(e,t);return zD(e,a,i,t),lb(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function Pfe(e,t,n){const r={};return lb(r,cb(e,t)),e.create(t,e.Fragment,r,n)}function Afe(e,t){return t.value}function zD(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function lb(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Lfe(e,t,n){return r;function r(s,i,a,l){const u=Array.isArray(a.children)?n:t;return l?u(i,a,l):u(i,a)}}function Mfe(e,t){return n;function n(r,s,i,a){const l=Array.isArray(i.children),c=gy(r);return t(s,i,a,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function Ofe(e,t){const n={};let r,s;for(s in t.properties)if(s!=="children"&&ob.call(t.properties,s)){const i=Wfe(e,s,t.properties[s]);if(i){const[a,l]=i;e.tableCellAlignToStyle&&a==="align"&&typeof l=="string"&&Cfe.has(t.tagName)?r=l:n[a]=l}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Dfe(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const a=i.expression;a.type;const l=a.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else h1(e,t.position);else{const s=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const l=r.value.data.estree.body[0];l.type,i=e.evaluater.evaluateExpression(l.expression)}else h1(e,t.position);else i=r.value===null?!0:r.value;n[s]=i}return n}function cb(e,t){const n=[];let r=-1;const s=e.passKeys?new Map:Sfe;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const c=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(c){const u=s.get(c)||0;a=c+"-"+u,s.set(c,u+1)}}const l=ED(e,i,a);l!==void 0&&n.push(l)}return n}function Wfe(e,t,n){const r=H2e(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?P2e(n):Y2e(n)),r.property==="style"){let s=typeof n=="object"?n:Ffe(e,String(n));return e.stylePropertyNameCase==="css"&&(s=$fe(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&r.space?B2e[r.property]||r.property:r.attribute,n]}}function Ffe(e,t){try{return xfe(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,s=new Un("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=CD+"#cannot-parse-style-attribute",s}}function ND(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const s=t.split(".");let i=-1,a;for(;++i<s.length;){const l=_j(s[i])?{type:"Identifier",name:s[i]}:{type:"Literal",value:s[i]};a=a?{type:"MemberExpression",object:a,property:l,computed:!!(i&&l.type==="Literal"),optional:!1}:l}r=a}else r=_j(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const s=r.value;return ob.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(r);h1(e)}function h1(e,t){const n=new Un("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=CD+"#cannot-handle-mdx-estrees-without-createevaluater",n}function $fe(e){const t={};let n;for(n in e)ob.call(e,n)&&(t[Bfe(n)]=e[n]);return t}function Bfe(e){let t=e.replace(Tfe,Ufe);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Ufe(e){return"-"+e.toLowerCase()}const U4={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},qfe="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",zj=[],Nj={allowDangerousHtml:!0},Hfe=/^(https?|ircs?|mailto|xmpp)$/i,Gfe=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function rm(e){const t=Kfe(e),n=Vfe(e);return Yfe(t.runSync(t.parse(n),n),e)}function Kfe(e){const t=e.rehypePlugins||zj,n=e.remarkPlugins||zj,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Nj}:Nj;return Sy().use(py).use(n).use(wy,r).use(t)}function Vfe(e){const t=e.children||"",n=new uR;return typeof t=="string"&&(n.value=t),n}function Yfe(e,t){const n=t.allowedElements,r=t.allowElement,s=t.components,i=t.disallowedElements,a=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||Jfe;for(const d of Gfe)Object.hasOwn(t,d.from)&&(""+d.from+(d.to?"use `"+d.to+"` instead":"remove it")+qfe+d.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),ky(e,u),Efe(e,{Fragment:o.Fragment,components:s,ignoreInvalidStyle:!0,jsx:o.jsx,jsxs:o.jsxs,passKeys:!0,passNode:!0});function u(d,h,f){if(d.type==="raw"&&f&&typeof h=="number")return a?f.children.splice(h,1):f.children[h]={type:"text",value:d.value},h;if(d.type==="element"){let p;for(p in U4)if(Object.hasOwn(U4,p)&&Object.hasOwn(d.properties,p)){const m=d.properties[p],y=U4[p];(y===null||y.includes(d.tagName))&&(d.properties[p]=c(String(m||""),p,d))}}if(d.type==="element"){let p=n?!n.includes(d.tagName):i?i.includes(d.tagName):!1;if(!p&&r&&typeof h=="number"&&(p=!r(d,h,f)),p&&f&&typeof h=="number")return l&&d.children?f.children.splice(h,1,...d.children):f.children.splice(h,1),h}}}function Jfe(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||n!==-1&&t>n||r!==-1&&t>r||Hfe.test(e.slice(0,t))?e:""}const vl=(e,t)=>
111OI(e)?t(`lang.${e}`):Du[e];function Zfe(e){const t=H(),n=tm({open:e.open,onClose:()=>{e.submitting||e.onCancel()}}),r=v.useId(),s=v.useId(),i=v.useId(),[a,l]=v.useState(e.initialDisplayName),[c,u]=v.useState(e.initialPreferredLang??e.uiLang);if(v.useEffect(()=>{l(e.initialDisplayName),u(e.initialPreferredLang??e.uiLang)},[e.open,e.initialDisplayName,e.initialPreferredLang,e.uiLang]),!e.open)return null;const d=a.trim(),h=d.length>=1&&d.length<=100&&c!==null,f=e.reason==="default"||!e.teacherName?t("profile.modal.subtitle.default"):e.reason==="chat"?t("profile.modal.subtitle.chat",{teacher_name:e.teacherName}):t("profile.modal.subtitle.booking",{teacher_name:e.teacherName});return o.jsx("div",{ref:n,tabIndex:-1,"data-testid":"profile-modal-backdrop",className:"profile-modal__backdrop",role:"dialog","aria-modal":"true","aria-labelledby":"profile-modal-title",children:o.jsxs("div",{className:"profile-modal",onClick:p=>p.stopPropagation(),children:[o.jsx("h2",{id:"profile-modal-title",className:"profile-modal__title",children:t("profile.modal.title")}),o.jsx("p",{className:"profile-modal__subtitle",children:f}),o.jsxs("div",{className:"profile-modal__field",children:[o.jsx("label",{htmlFor:r,className:"profile-modal__field-label",children:t("profile.modal.field.displayName")}),o.jsx("input",{id:r,type:"text",className:"profile-modal__input",value:a,onChange:p=>l(p.target.value),maxLength:100,disabled:e.submitting,"aria-describedby":s}),o.jsx("small",{id:s,className:"profile-modal__help",children:t("profile.modal.field.displayNameHelp")})]}),o.jsxs("fieldset",{className:"profile-modal__lang-group","aria-describedby":i,children:[o.jsx("legend",{className:"profile-modal__lang-legend",children:t("profile.modal.field.preferredLang")}),o.jsx("div",{className:"profile-modal__lang-options",children:Ds.map(p=>o.jsxs("label",{className:"profile-modal__lang-option",children:[o.jsx("input",{type:"radio",name:"preferred_lang",value:p,checked:c===p,onChange:()=>u(p),disabled:e.submitting}),vl(p,t)]},p))}),o.jsx("small",{id:i,className:"profile-modal__help",children:t("profile.modal.field.preferredLangHelp")})]}),e.errorMessage?o.jsx("p",{role:"alert",className:"profile-modal__error",children:e.errorMessage}):null,o.jsxs("div",{className:"profile-modal__buttons",children:[o.jsx("button",{type:"button",className:"btn btn--ghost",onClick:e.onCancel,disabled:e.submitting,children:t("profile.modal.cancel")}),o.jsx("button",{type:"button",className:"btn btn--accent",disabled:!h||e.submitting,onClick:()=>h&&c&&e.onSubmit({display_name:d,preferred_lang:c}),children:e.submitting?t("profile.modal.submitting"):t("profile.modal.submit")})]})]})})}var Xfe=v.forwardRef(({as:e="div",...t},n)=>o.jsx(e,{...t,ref:n}));const Qfe="https://challenges.cloudflare.com/turnstile/v0/api.js",epe="cf-turnstile-script",ID="onloadTurnstileCallback",RD=e=>!!document.getElementById(e),tpe=({render:e="explicit",onLoadCallbackName:t=ID,scriptOptions:{nonce:n="",defer:r=!0,async:s=!0,id:i="",appendTo:a,onError:l,crossOrigin:c=""}={}})=>{let u=i||"cf-turnstile-script";if(RD(u))return;let d=document.createElement("script");d.id=u,d.src=`${Qfe}?onload=${t}&render=${e}`,!document.querySelector(`script[src="${d.src}"]`)&&(d.defer=!!r,d.async=!!s,n&&(d.nonce=n),c&&(d.crossOrigin=c),l&&(d.onerror=l,delete window[t]),(a==="body"?document.body:document.getElementsByTagName("head")[0]).appendChild(d))},jo={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}};function npe(e){if(e!=="invisible"&&e!=="interactionOnly")return e}function rpe(e=epe){let[t,n]=v.useState(!1);return v.useEffect(()=>{let r=()=>{RD(e)&&n(!0)},s=new MutationObserver(r);return s.observe(document,{childList:!0,subtree:!0}),r(),()=>{s.disconnect()}},[e]),t}let x0="unloaded",PD;const spe=new Promise((e,t)=>{PD={resolve:e,reject:t},x0==="ready"&&e(void 0)}),Ij=(e=ID)=>(x0==="unloaded"&&(x0="loading",window[e]=()=>{PD.resolve(),x0="ready",delete window[e]}),spe),AD=v.forwardRef((e,t)=>
111{let{scriptOptions:n,options:r={},siteKey:s,onWidgetLoad:i,onSuccess:a,onExpire:l,onError:c,onBeforeInteractive:u,onAfterInteractive:d,onUnsupported:h,onTimeout:f,onLoadScript:p,id:m,style:y,as:_="div",injectScript:g=!0,rerenderOnCallbackChange:b=!1,...k}=e,x=r.size,S=v.useCallback(()=>x===void 0?{}:r.execution==="execute"?jo.invisible:r.appearance==="interaction-only"?jo.interactionOnly:jo[x],[r.execution,x,r.appearance]),[T,C]=v.useState(S()),E=v.useRef(null),[N,j]=v.useState(!1),I=v.useRef(void 0),P=v.useRef(!1),O=m||"cf-turnstile",F=v.useRef({onSuccess:a,onError:c,onExpire:l,onBeforeInteractive:u,onAfterInteractive:d,onUnsupported:h,onTimeout:f});v.useEffect(()=>{b||(F.current={onSuccess:a,onError:c,onExpire:l,onBeforeInteractive:u,onAfterInteractive:d,onUnsupported:h,onTimeout:f})});let B=(n==null?void 0:n.id)||"cf-turnstile-script",$=rpe(B),D=(n==null?void 0:n.onLoadCallbackName)||"onloadTurnstileCallback",z=r.appearance||"always",R=v.useMemo(()=>({sitekey:s,action:r.action,cData:r.cData,theme:r.theme||"auto",language:r.language||"auto",tabindex:r.tabIndex,"response-field":r.responseField,"response-field-name":r.responseFieldName,size:npe(x),retry:r.retry||"auto","retry-interval":r.retryInterval||8e3,"refresh-expired":r.refreshExpired||"auto","refresh-timeout":r.refreshTimeout||"auto",execution:r.execution||"render",appearance:r.appearance||"always","feedback-enabled":r.feedbackEnabled??!0,callback:L=>{var M,A;P.current=!0,b?a==null||a(L):(A=(M=F.current).onSuccess)==null||A.call(M,L)},"error-callback":b?c:(...L)=>{var M,A;return(A=(M=F.current).onError)==null?void 0:A.call(M,...L)},"expired-callback":b?l:(...L)=>{var M,A;return(A=(M=F.current).onExpire)==null?void 0:A.call(M,...L)},"before-interactive-callback":b?u:(...L)=>{var M,A;return(A=(M=F.current).onBeforeInteractive)==null?void 0:A.call(M,...L)},"after-interactive-callback":b?d:(...L)=>{var M,A;return(A=(M=F.current).onAfterInteractive)==null?void 0:A.call(M,...L)},"unsupported-callback":b?h:(...L)=>{var M,A;return(A=(M=F.current).onUnsupported)==null?void 0:A.call(M,...L)},"timeout-callback":b?f:(...L)=>{var M,A;return(A=(M=F.current).onTimeout)==null?void 0:A.call(M,...L)}}),[r.action,r.appearance,r.cData,r.execution,r.language,r.refreshExpired,r.responseField,r.responseFieldName,r.retry,r.retryInterval,r.tabIndex,r.theme,r.feedbackEnabled,r.refreshTimeout,s,x,b,b?a:null,b?c:null,b?l:null,b?u:null,b?d:null,b?h:null,b?f:null]),w=v.useCallback(()=>typeof window<"u"&&!!window.turnstile,[]);return v.useEffect(function(){g&&!N&&(Ij(D),tpe({onLoadCallbackName:D,scriptOptions:{...n,id:B}}))},[g,N,n,B,D]),v.useEffect(function(){x0!=="ready"&&Ij(D).then(()=>j(!0)).catch(console.error)},[D]),v.useEffect(function(){if(!E.current||!N)return;let L=!1;return(async()=>L||!E.current||(I.current=window.turnstile.render(E.current,R),I.current&&(i==null||i(I.current))))(),()=>{L=!0,I.current&&(window.turnstile.remove(I.current),P.current=!1)}},[O,N,R]),v.useImperativeHandle(t,()=>{let{turnstile:L}=window;return{getResponse(){if(!(L!=null&&L.getResponse)||!I.current||!w()){console.warn("Turnstile has not been loaded");return}return L.getResponse(I.current)},async getResponsePromise(M=3e4,A=100){return new Promise((q,W)=>{let U,G=async()=>{if(P.current&&window.turnstile&&I.current)try{let oe=window.turnstile.getResponse(I.current);return U&&clearTimeout(U),oe?q(oe):W(Error("No response received"))}catch(oe){return U&&clearTimeout(U),console.warn("Failed to get response",oe),W(Error("Failed to get response"))}U||(U=setTimeout(()=>{U&&clearTimeout(U),W(Error("Timeout"))},M)),await new Promise(oe=>setTimeout(oe,A)),await G()};G()})},reset(){if(!(L!=null&&L.reset)||!I.current||!w()){console.warn("Turnstile has not been loaded");return}r.execution==="execute"&&C(jo.invisible);try{P.current=!1,L.reset(I.current)}catch(M){console.warn(`Failed to reset Turnstile widget ${I.current}`,M)}},remove(){if(!(L!=null&&L.remove)||!I.current||!w()){console.warn("Turnstile has not been loaded");return}C(jo.invisible),P.current=!1,L.remove(I.current),I.current=null},render(){if(!(L!=null&&L.render)||!E.current||!w()||I.current){console.warn("Turnstile has not been loaded or container not found");return}let M=L.render(E.current,R);return I.current=M,I.current&&(i==null||i(I.current)),r.execution!=="execute"&&C(x?jo[x]:{}),M},execute(){if(r.execution!=="execute"){console.warn('Execution mode is not set to "execute"');return}if(!(L!=null&&L.execute)||!E.current||!I.current||!w()){console.warn("Turnstile has not been loaded or container not found");return}L.execute(E.current),C(x?jo[x]:{})},isExpired(){return!(L!=null&&L.isExpired)||!I.current||!w()?(console.warn("Turnstile has not been loaded"),!1):L.isExpired(I.current)}}},[I,r.execution,x,R,E,w,N,i]),v.useEffect(()=>{if(N||!$)return;if(window.turnstile){j(!0);return}let L=setInterval(()=>{window.turnstile&&(j(!0),clearInterval(L))},50);return()=>{clearInterval(L)}},[N,$]),v.useEffect(()=>{C(S())},[r.execution,x,z]),v.useEffect(()=>{!$||typeof p!="function"||p()},[$]),o.jsx(Xfe,{ref:E,as:_,id:O,style:{...T,...y},...k})});AD.displayName="Turnstile";const ipe={"gamil.com":"gmail.com","gmial.com":"gmail.com","gmai.com":"gmail.com","gmil.com":"gmail.com","gnail.com":"gmail.com","gmail.co":"gmail.com","gmail.con":"gmail.com","gmail.cm":"gmail.com","gmaill.com":"gmail.com","googlemail.con":"gmail.com","hotmial.com":"hotmail.com","hotmal.com":"hotmail.com","hotmail.co":"hotmail.com","hotmail.con":"hotmail.com","hotmil.com":"hotmail.com","outlok.com":"outlook.com","outloo.com":"outlook.com","outlook.con":"outlook.com","yaho.com":"yaho
111o.com","yahooo.com":"yahoo.com","yahoo.con":"yahoo.com","yhaoo.com":"yahoo.com","iclould.com":"icloud.com","icloud.co":"icloud.com","iclod.com":"icloud.com","qq.con":"qq.com","163.con":"163.com"},ape=e=>{if(!e)return null;const t=e.lastIndexOf("@");if(t<=0||t===e.length-1)return null;const n=e.slice(0,t),r=e.slice(t+1).toLowerCase(),s=ipe[r];return!s||s===r?null:`${n}@${s}`},ope=60,Cl=({onClose:e})=>{const t="0x4AAAAAADGzf5YXKNW4BSdn",n=H(),{user:r,getAccessTokenSilently:s,logout:i}=ar(),{authFetch:a}=bt(),[l,c]=v.useState(null),[u,d]=v.useState({kind:"idle"}),[h,f]=v.useState(0),p=v.useRef(null),m=ape(r==null?void 0:r.email);v.useEffect(()=>{if(h<=0)return;const k=setInterval(()=>f(x=>Math.max(0,x-1)),1e3);return()=>clearInterval(k)},[h]);const y=v.useCallback(async()=>{var k,x;if(!(!l||h>0)){d({kind:"sending"});try{const S=await a("/api/auth/resend-verification",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({turnstileToken:l,lang:vt.getState().uiLang})});if(S.ok){d({kind:"success"}),f(ope),(k=p.current)==null||k.reset(),c(null);return}const T=await S.json().catch(()=>({}));S.status===400&&T.code==="captcha_failed"?(d({kind:"error",messageKey:"auth.verifyEmail.resendCaptchaFailed"}),(x=p.current)==null||x.reset(),c(null)):S.status===429?d({kind:"error",messageKey:"auth.verifyEmail.resendRateLimited"}):S.status===502||S.status===503?d({kind:"error",messageKey:"auth.verifyEmail.resendUnconfigured"}):d({kind:"error",messageKey:"auth.verifyEmail.resendCaptchaFailed"})}catch{d({kind:"error",messageKey:"auth.verifyEmail.resendCaptchaFailed"})}}},[a,l,h]),_=v.useCallback(async()=>{await s({cacheMode:"off"}),window.location.reload()},[s]),g=!l||h>0||u.kind==="sending",b=h>0?n("auth.verifyEmail.resendCooldown",{seconds:String(h)}):n("auth.verifyEmail.resend");return o.jsxs("div",{className:e?"profile-modal verify-card":"room-bootstrap",children:[o.jsx("h1",{children:n("auth.verifyEmail.title")}),o.jsx("p",{style:{color:"var(--text-muted)",marginBottom:16},children:n("auth.verifyEmail.body",{email:(r==null?void 0:r.email)??""})}),m?o.jsx("p",{style:{color:"var(--danger, #b00020)",fontSize:14,marginTop:-8,marginBottom:16},children:n("auth.verifyEmail.didYouMean",{suggestion:m})}):null,o.jsx("div",{style:{marginBottom:16},children:o.jsx(AD,{ref:p,siteKey:t,onSuccess:c,onError:()=>c(null),onExpire:()=>c(null)})}),o.jsxs("div",{style:{display:"flex",gap:8,flexWrap:"wrap",marginBottom:12},children:[o.jsx("button",{type:"button",onClick:y,disabled:g,className:"btn btn--primary","data-testid":"resend-button",children:b}),o.jsx("button",{type:"button",onClick:_,className:"btn btn--ghost","data-testid":"verified-refresh-button",children:n("auth.verifyEmail.iVerified")}),o.jsx("button",{type:"button",onClick:()=>V1(i),className:"btn btn--ghost btn--sm",children:n("auth.logout")}),e?o.jsx("button",{type:"button",onClick:e,className:"btn btn--ghost btn--sm","data-testid":"verify-not-now-button",children:n("auth.verifyEmail.notNow")}):null]}),u.kind==="success"&&o.jsx("p",{style:{color:"var(--success, green)",fontSize:14},children:n("auth.verifyEmail.resendSuccess")}),u.kind==="error"&&o.jsx("p",{style:{color:"var(--danger, red)",fontSize:14},children:n(u.messageKey)})]})};async function LD(e,t){let n;try{n=await t("/api/me/profile",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}catch{return{ok:!1,error:{kind:"network"}}}if(n.status===200)return{ok:!0,row:await n.json()};if(n.status===400)return{ok:!1,error:{kind:"validation",field:(await n.json()).field??"display_name"}};if(n.status===401)return{ok:!1,error:{kind:"unauthorized"}};if(n.status===403){const r=await n.json().catch(()=>({}));return r.code==="email_not_verified"?{ok:!1,error:{kind:"email_unverified"}}:r.code==="disposable_email"?{ok:!1,error:{kind:"disposable_email"}}:{ok:!1,error:{kind:"server"}}}return{ok:!1,error:{kind:"server"}}}const MD=v.createContext(null);function ub(){const e=v.useContext(MD);if(!e)throw new Error("useEnsureStudentProfile requires <ProfileGateProvider>");return e}const lpe=e=>{switch(e){case"validation":return"profile.modal.error.validation";case"network":return"profile.modal.error.network";case"disposable_email":return"errors.disposableEmail";
111case"unauthorized":case"server":default:return"profile.modal.error.serverError"}};function cpe({children:e}){var L,M,A,q;const t=_i(),{authFetch:n,isAuthenticated:r}=bt(),s=ar(),{login:i}=po(),a=vt(W=>W.uiLang),l=H(),[c,u]=v.useState(!1),[d,h]=v.useState("profile"),[f,p]=v.useState(!1),[m,y]=v.useState(null),[_,g]=v.useState({}),b=v.useRef(null),k=v.useRef(null);v.useEffect(()=>{var G,oe;if(!r)return;const W=(G=s.user)==null?void 0:G.sub;if(!W||k.current===W)return;k.current=W;const U=(oe=s.user)==null?void 0:oe.email;b1e(W,{...U?{email:U}:{},locale:a})},[r,(L=s.user)==null?void 0:L.sub]);const x=v.useRef(0),S=v.useRef(!1),T=v.useRef("en"),C=v.useRef("default"),E=t.data&&"student"in t.data?t.data.student:null,N=((M=s.user)==null?void 0:M.name)??"",j=((A=s.user)==null?void 0:A.email)??"",I=!!N&&!!j&&N===j.split("@")[0],P=N.includes("@"),O=!I&&!P?N:"",F=E!=null&&E.display_name&&E.display_name.length>0?E.display_name:O,B=(E==null?void 0:E.preferred_lang)??null,$=v.useCallback(()=>{nr&&i({appState:{returnTo:window.location.pathname+window.location.search}})},[i]),D=v.useCallback((W,U)=>{ut("profile_completion_modal",{trigger:C.current,outcome:W,display_name_was_prefilled:S.current,preferred_lang_changed_from_default:U!==null&&U!==T.current,ms_open:Date.now()-x.current})},[]),z=v.useCallback(async W=>{var G,oe;const U=t.data;return r&&((G=s.user)==null?void 0:G.email_verified)===!0&&U&&"student"in U&&U.student&&U.student.profile_completed_at?!0:r?(x.current=Date.now(),S.current=F.length>0,T.current=B??a,C.current=(W==null?void 0:W.reason)??"default",g(W??{}),y(null),((oe=s.user)==null?void 0:oe.email_verified)!==!0?(h("verify"),D("verify_required",null),u(!0),new Promise(de=>{b.current=de})):(h("profile"),u(!0),new Promise(de=>{b.current=de}))):($(),!1)},[t.data,F,B,a,r,$,(q=s.user)==null?void 0:q.email_verified,D]),R=()=>{var W;D("cancelled",null),u(!1),(W=b.current)==null||W.call(b,!1),b.current=null},w=async W=>{var U;p(!0),y(null);try{const G=await LD(W,n);if(G.ok)D("submitted",W.preferred_lang),await t.refetch(),u(!1),p(!1),(U=b.current)==null||U.call(b,!0),b.current=null;else{if(G.error.kind==="unauthorized"){D("errored",W.preferred_lang),$();return}if(G.error.kind==="email_unverified"){D("verify_required",W.preferred_lang),h("verify"),p(!1);return}D("errored",W.preferred_lang),y(l(lpe(G.error.kind))),p(!1)}}catch{D("errored",W.preferred_lang),y(l("profile.modal.error.serverError")),p(!1)}};return o.jsxs(MD.Provider,{value:z,children:[e,o.jsx(Zfe,{open:c&&d==="profile",onCancel:R,onSubmit:w,initialDisplayName:F,initialPreferredLang:B,uiLang:a,reason:_.reason??"default",teacherName:_.teacherName,submitting:f,errorMessage:m}),c&&d==="verify"?o.jsx(upe,{onClose:R}):null]})}function upe({onClose:e}){const t=H(),n=tm({onClose:e});return o.jsx("div",{ref:n,tabIndex:-1,className:"profile-modal__backdrop",role:"dialog","aria-modal":"true","aria-label":t("auth.verifyEmail.title"),onClick:e,children:o.jsx("div",{onClick:r=>r.stopPropagation(),children:o.jsx(Cl,{onClose:e})})})}async function dpe(e,t=8){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),s=new Uint8Array(r);let i="";for(let a=0;a<s.length&&i.length<t;a++)i+=s[a].toString(16).padStart(2,"0");return i.slice(0,t)}const hpe=async(e,t,n,r,s)=>{const i=new URLSearchParams;n!==null&&i.set("duration",String(n)),r&&i.set("from",r),s&&i.set("to",s);const a=await e(`/api/teachers/${encodeURIComponent(t)}/availability?${i}`);if(!a.ok)throw new Error(`HTTP ${a.status}`);return a.json()},fpe=async(e,t)=>{const n=await e("/api/bookings",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)});if(!n.ok){const r=await n.json().catch(()=>({error:`HTTP ${n.status}`}));throw new Error(r.error??`HTTP ${n.status}`)}return n.json()},ppe=async(e,t,n)=>{const r=n==="student"?`/api/bookings/${encodeURIComponent(t)}/cancel`:`/api/teachers/me/bookings/${encodeURIComponent(t)}/cancel`,s=await e(r,{method:"POST"});if(!s.ok&&s.status!==204){const i=await s.json().catch(()=>({error:`HTTP ${s.status}`}));throw new Error(i.error??`HTTP ${s.status}`)}},sm=async(e,t,n)=>{const r=n==="student"?`/api/bookings/${encodeURIComponent(t)}/join`:`/api/teachers/me/bookings/${encodeURIComponent(t)}/join`,s=await e(r,{method:"POST"});if(!s.ok){const i=await s.json().catch(()=>({error:`HTTP ${s.status}`}));throw new Error(i.error??`HTTP ${s.status}`)}return s.json()},mpe=async e=>{const t=await e("/api/teachers/me/offerings");if(!t.ok)throw new Error(`HTTP ${t.status}`);return t.json()},gpe=async(e,t)=>{const n=await e("/api/teachers/me/offerings",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({offerings:t})});if(!n.ok){const r=await n.json().catch(()=>({error:`HTTP ${n.status}`}));throw new Error(r.error??`HTTP ${n.status}`)}return n.json()},OD=async e=>{const t=await e("/api/teachers/me/availability");if(!t.ok)throw new Error(`HTTP ${t.status}`);return t.json()},ype=async(e,t)=>{const n=await e("/api/teachers/me/availability",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({recurring:t})});if(!n.ok)throw new Error(`HTTP ${n.status}`);return(await n.json()).recurring},vpe=async(e,t)=>{const n=await e("/api/teachers/me/availability/overrides",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)});if(!n.ok)throw new Error(`HTTP ${n.status}`);return n.json()},bpe=async(e,t)=>{const n=await e(`/api/teachers/me/availability/overrides/${encodeURIComponent(t)}`,{method:"DELETE"});if(!n.ok&&n.status!==204)throw new Error(`HTTP ${n.status}`)};
111class DD extends Error{constructor(t,n){super("bookings_load_failed"),this.partialBookings=t,this.failedRoles=n}}const db=async(e,t={})=>{const n=async a=>{const l=await e(a);if(l.status===401||l.status===403||l.status===404)return[];if(!l.ok)throw new Error(`HTTP ${l.status}`);return(await l.json()).bookings},[r,s]=await Promise.allSettled([n("/api/students/me/bookings"),n("/api/teachers/me/bookings")]),i=[];if(r.status==="fulfilled"&&i.push(...r.value),s.status==="fulfilled"&&i.push(...s.value),i.sort((a,l)=>a.startUtc.localeCompare(l.startUtc)),t.throwOnError){const a=[];if(r.status==="rejected"&&a.push("student"),s.status==="rejected"&&a.push("teacher"),a.length)throw new DD(i,a)}return i},_pe=async e=>{const t=async i=>{const a=await e(i);if(a.status===401||a.status===403||a.status===404)return[];if(!a.ok)throw new Error(`HTTP ${a.status}`);return(await a.json()).bookings},[n,r]=await Promise.all([t("/api/students/me/bookings/completed"),t("/api/teachers/me/bookings/completed")]);return[...n,...r].sort((i,a)=>a.startUtc.localeCompare(i.startUtc))},kpe=async e=>{const t=await e("/api/students/me/bookings/awaiting-review");if(t.status===401||t.status===403||t.status===404)return[];if(!t.ok)throw new Error(`HTTP ${t.status}`);return(await t.json()).bookings},wpe=async(e,t)=>{const n=await e(`/api/bookings/by-checkout-session/${encodeURIComponent(t)}`);if(n.status===404)return null;if(!n.ok)throw new Error(`HTTP ${n.status}`);return n.json()},xpe=async e=>{const t=await e("/api/bookings/me/rejections");if(t.status===401||t.status===403||t.status===404)return[];if(!t.ok)throw new Error(`HTTP ${t.status}`);return(await t.json()).rejections},WD=async(e,t)=>{const n=await e(`/api/bookings/${encodeURIComponent(t)}/checkout`,{method:"POST"});if(!n.ok){const r=await n.json().catch(()=>({}));throw new Error(r.error??`HTTP ${n.status}`)}return n.json()},Spe=async(e,t)=>{const n=await e(`/api/bookings/${encodeURIComponent(t)}/withdraw`,{method:"POST"});if(!n.ok&&n.status!==204){const r=await n.json().catch(()=>({error:`HTTP ${n.status}`}));throw new Error(r.error??`HTTP ${n.status}`)}},Tpe=async(e,t)=>{const n=await e(`/api/teachers/me/bookings/${encodeURIComponent(t)}/accept`,{method:"POST"});if(!n.ok&&n.status!==204){const r=await n.json().catch(()=>({error:`HTTP ${n.status}`}));throw new Error(r.error??`HTTP ${n.status}`)}},jpe=async(e,t,n)=>{const r=await e(`/api/teachers/me/bookings/${encodeURIComponent(t)}/reject`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n?{reason:n}:{})});if(!r.ok&&r.status!==204){const s=await r.json().catch(()=>({error:`HTTP ${r.status}`}));throw new Error(s.error??`HTTP ${r.status}`)}},Cpe=async(e,t)=>{const n=await e(`/api/teachers/me/bookings/${encodeURIComponent(t)}/grant-late-payment`,{method:"POST"});if(!n.ok&&n.status!==204){const r=await n.json().catch(()=>({error:`HTTP ${n.status}`}));throw new Error(r.error??`HTTP ${n.status}`)}},Epe=async(e,t)=>{const n=await e("/api/promo-codes/preview",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)});if(!n.ok)throw new Error(`HTTP ${n.status}`);return n.json()},zpe=async(e,t)=>{const n=await e(`/api/bookings/${encodeURIComponent(t)}/redeem-free`,{method:"POST"});if(!n.ok){const r=await n.json().catch(()=>({}));throw new Error(r.error??`HTTP ${n.status}`)}},Npe=async(e,t)=>{const n=await e(`/api/teachers/me/bookings/${encodeURIComponent(t)}/complete`,{method:"POST"});if(!n.ok&&n.status!==204){const r=await n.json().catch(()=>({error:`HTTP ${n.status}`}));throw new Error(r.error??`HTTP ${n.status}`)}},FD=e=>{if(!e||typeof e!="object")return!1;const t=e,n=r=>typeof r=="string"&&Number.isFinite(Date.parse(r));return typeof t.id=="string"&&t.id.length>0&&typeof t.teacherId=="string"&&t.teacherId.length>0&&n(t.startUtc)&&n(t.endAtPlannedUtc)&&Number.isInteger(t.durationMinutes)&&Number(t.durationMinutes)>0&&MI(t.lessonType)&&Number.isInteger(t.pricePerSeatUsdCents)&&Number(t.pricePerSeatUsdCents)>0&&Number.isInteger(t.minStudents)&&Number.isInteger(t.maxStudents)&&Number(t.minStudents)>0&&Number(t.minStudents)<=Number(t.maxStudents)&&$te.includes(t.status)&&(t.cancelledAtUtc===null||n(t.cancelledAtUtc))&&(t.cancelReason===null||typeof t.cancelReason=="str
111ing")},Ipe=async e=>{const t=await e("/api/teachers/me/group-sessions");if(!t.ok)throw new Error(`HTTP ${t.status}`);const n=await t.json();if(!Array.isArray(n.sessions)||!n.sessions.every(FD)||!Number.isFinite(n.marketplaceFeePct)||n.marketplaceFeePct<0||n.marketplaceFeePct>=100)throw new Error("invalid_group_response");return n},Rpe=async(e,t)=>{const n=await e("/api/teachers/me/group-sessions",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)});if(!n.ok){const s=await n.json().catch(()=>({}));throw new Error(s.errorCode??s.error??`HTTP ${n.status}`)}if(n.status!==201)throw new Error("unconfirmed_group_change");const r=await n.json();if(!FD(r)||r.status!=="scheduled"||!vR.includes(r.durationMinutes)||r.minStudents<Pd||r.maxStudents>G6)throw new Error("unconfirmed_group_change");return r},Ppe=async(e,t)=>{const n=await e(`/api/teachers/me/group-sessions/${encodeURIComponent(t)}/cancel`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({})});if(!n.ok){const s=await n.json().catch(()=>({error:`HTTP ${n.status}`}));throw new Error(s.error??`HTTP ${n.status}`)}if(n.status!==200)throw new Error("unconfirmed_group_change");const r=await n.json();if(!r||!Number.isInteger(r.refundedSeats)||Number(r.refundedSeats)<0||!Number.isInteger(r.cancelledHolds)||Number(r.cancelledHolds)<0)throw new Error("unconfirmed_group_change")},$D=async e=>{const t=await fetch(`/api/teachers/${encodeURIComponent(e)}/group-sessions`);if(!t.ok)throw new Error(`HTTP ${t.status}`);return(await t.json()).sessions},BD=async e=>{const t=e!=null?`?limit=${encodeURIComponent(String(e))}`:"",n=await fetch(`/api/group-sessions${t}`);if(!n.ok)throw new Error(`HTTP ${n.status}`);return(await n.json()).sessions},Ape=async e=>{const t=await e("/api/students/me/bookings");if(!t.ok)throw new Error(`HTTP ${t.status}`);const{bookings:n}=await t.json();return Object.fromEntries(n.filter(r=>r.groupSessionId&&r.status==="pending_payment"&&r.paymentDeadlineUtc&&Date.parse(r.paymentDeadlineUtc)>Date.now()&&Date.parse(r.startUtc)>Date.now()).map(r=>[r.groupSessionId,{bookingId:r.id,paymentDeadlineUtc:r.paymentDeadlineUtc}]))},Lpe=async(e,t)=>{const n=await e(`/api/group-sessions/${encodeURIComponent(t)}/seats`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({})});if(!n.ok){const r=await n.json().catch(()=>({}));throw new Error(r.errorCode??r.error??`HTTP ${n.status}`)}return n.json()},hb=[{iana:"Asia/Seoul",label:"schedule.tz.korea"},{iana:"Asia/Shanghai",label:"schedule.tz.china"},{iana:"Asia/Tokyo",label:"schedule.tz.japan"},{iana:"Asia/Taipei",label:"schedule.tz.taiwan"},{iana:"Asia/Hong_Kong",label:"schedule.tz.hongKong"},{iana:"Asia/Singapore",label:"schedule.tz.singapore"},{iana:"Australia/Sydney",label:"schedule.tz.sydney"},{iana:"Europe/London",label:"schedule.tz.london"},{iana:"Europe/Berlin",label:"schedule.tz.berlin"}
111,{iana:"America/New_York",label:"schedule.tz.usEast"},{iana:"America/Los_Angeles",label:"schedule.tz.usWest"}],p9=e=>hb.some(t=>t.iana===e),Mpe=e=>e===0?"UTC":e>0?`UTC+${e}`:`UTC${e}`,Ope=(()=>{const e=[];for(let t=-12;t<=14;t++)e.push({value:Mpe(t),offset:t});return e})(),Dpe=e=>/^UTC(?:\+(?:[0-9]|1[0-4])|-(?:[0-9]|1[0-2]))?$/.test(e),im=({value:e,onChange:t,teacherTz:n,labelKey:r,hideUtcOffsets:s})=>{const i=H(),a=(()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return"UTC"}})(),l=!p9(a)&&!Dpe(a),c=n!==null&&!p9(n);return o.jsxs("label",{className:"tz-picker",children:[o.jsx("span",{className:"tz-picker__label",children:i(r??"booking.tz.label")}),o.jsxs("select",{className:"tz-picker__select",value:e,onChange:u=>t(u.target.value),children:[l&&o.jsxs("option",{value:a,children:[i("booking.tz.browserDefault")," (",a,")"]}),c&&o.jsxs("option",{value:n,children:[i("booking.tz.useTeacherTz")," (",n,")"]}),o.jsx("optgroup",{label:i("booking.tz.group.regions"),children:hb.map(u=>o.jsxs("option",{value:u.iana,children:[i(u.label)," (",u.iana,")"]},u.iana))}),!s&&o.jsx("optgroup",{label:i("booking.tz.group.utcOffsets"),children:Ope.map(u=>o.jsx("option",{value:u.value,children:u.value},u.value))})]})]})},UD=e=>e==="ko"||e==="zh"||e==="ja",Wpe=(e,t,n="en")=>new Intl.DateTimeFormat(n,{hour:"numeric",minute:"2-digit",timeZone:t,hour12:!UD(n)}).format(new Date(e)),Kt=(e,t,n="en")=>new Intl.DateTimeFormat(n,{weekday:"short",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",timeZone:t,hour12:!UD(n)}).format(new Date(e)),mn=(e,t)=>{var n;try{return((n=new Intl.DateTimeFormat("en",{timeZone:t,timeZoneName:"short"}).formatToParts(new Date(e)).find(s=>s.type==="timeZoneName"))==null?void 0:n.value)??t}catch{return t}},Fpe=14*24*60*6e4,d2=(e,t)=>{var a,l,c;const n=new Intl.DateTimeFormat("en-CA",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).formatToParts(new Date(e)),r=((a=n.find(u=>u.type==="year"))==null?void 0:a.value)??"1970",s=((l=n.find(u=>u.type==="month"))==null?void 0:l.value)??"01",i=((c=n.find(u=>u.type==="day"))==null?void 0:c.value)??"01";return`${r}-${s}-${i}`},$pe=(e,t)=>{const[n,r,s]=e.split("-").map(Number),i=new Date(Date.UTC(n,r-1,s+t));return`${i.getUTCFullYear()}-${String(i.getUTCMonth()+1).padStart(2,"0")}-${String(i.getUTCDate()).padStart(2,"0")}`},q4=(e,t)=>{const[n,r,s]=e.split("-").map(Number),i=new Date(Date.UTC(n,r-1,s,12,0)),a=new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(i),l=new Intl.DateTimeFormat(t,{day:"numeric",timeZone:"UTC"}).format(i),c=new Intl.DateTimeFormat(t,{month:"long",year:"numeric",timeZone:"UTC"}).format(i);return{weekday:a,day:l,month:c}},Bpe=(e,t)=>{const[n,r,s]=e.split("-").map(Number);return new Intl.DateTimeFormat(t,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(new Date(Date.UTC(n,r-1,s,12,0)))},Upe=({slots:e,rangeStartUtc:t,displayTz:n,teacherTz:r,onDisplayTzChange:s,selectedSlot:i,onSelect:a})=>{const l=H(),c=vt(k=>k.uiLang),u=d2(t.toISOString(),n),d=d2(new Date(t.getTime()+Fpe).toISOString(),n),h=v.useMemo(()=>{const k=[];for(let x=u;x<=d;x=$pe(x,1)){const S=q4(x,c);k.push({key:x,weekday:S.weekday,dayNum:S.day,slots:e.filter(T=>d2(T.startUtc,n)===x).sort((T,C)=>T.startUtc.localeCompare(C.startUtc))})}return k},[e,n,u,d,c]),[f,p]=v.useState(()=>{var x;if(i){const S=d2(i.startUtc,n);if(h.some(T=>T.key===S))return S}const k=h.find(S=>S.slots.length>0);return(k==null?void 0:k.key)??((x=h[0])==null?void 0:x.key)??u});v.useEffect(()=>{var S;const k=h.find(T=>T.key===f),x=h.find(T=>T.slots.length>0);k&&k.slots.length>0||k&&!x||p((x==null?void 0:x.key)??((S=h[0])==null?void 0:S.key)??u)},[h,f,u]);const m=v.useMemo(()=>{const k=q4(u,c).month,x=q4(d,c).month;return k===x?k:`${k} – ${x}`},[u,d,c]),y=h.find(k=>k.key===f),_=y?Bpe(y.key,c):"",g=mn(t.toISOString(),n),b=h.reduce((k,x)=>k+x.slots.length,0);return o.jsxs("div",{className:"booking-slot-picker",children:[o.jsx("div",{className:"booking-slot-picker__head",children:o.jsxs("div",{className:"booking-slot-picker__week-label",children:[o.jsx("span",{className:"booking-slot-picker__caption",children:l("booking.calendar.pickDay")}),o.jsx("span",{className:"booking-slot-picker__month",children:m})]})}),o.jsx("div",{className:"booking-slot-picker__date-strip","aria-label":l("booking.calendar.pickDay"),
111children:h.map(k=>{const x=k.slots.length===0,S=k.key===f;return o.jsxs("button",{type:"button","aria-pressed":S,className:`booking-slot-picker__day${S?" is-active":""}${x?" is-empty":""}`,onClick:()=>p(k.key),disabled:x,children:[o.jsx("span",{className:"booking-slot-picker__day-name",children:k.weekday}),o.jsx("span",{className:"booking-slot-picker__day-num",children:k.dayNum}),!x&&o.jsx("span",{className:"booking-slot-picker__day-dot","aria-hidden":"true"})]},k.key)})}),o.jsxs("div",{className:"booking-slot-picker__body",children:[o.jsx("aside",{className:"booking-slot-picker__sidebar",children:o.jsxs("div",{className:"booking-slot-picker__tz-card",children:[s?o.jsx(im,{hideUtcOffsets:!0,value:n,onChange:s,teacherTz:r}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"booking-slot-picker__tz-label",children:l("booking.tz.label")}),o.jsxs("div",{className:"booking-slot-picker__tz-value",children:[n," ",o.jsxs("span",{children:["(",g,")"]})]})]}),r&&r!==n&&o.jsx("p",{className:"booking-slot-picker__tz-hint",children:l("booking.tz.teacherIs",{tz:r})})]})}),o.jsxs("div",{className:"booking-slot-picker__slots-col",children:[o.jsxs("div",{className:"booking-slot-picker__slots-caption",children:[_," ",o.jsxs("span",{className:"booking-slot-picker__slots-tz",children:["· ",g]})]}),b===0?o.jsx("p",{className:"booking-slot-picker__empty",children:l("booking.calendar.empty")}):!y||y.slots.length===0?o.jsx("p",{className:"booking-slot-picker__empty",children:l("booking.calendar.dayEmpty")}):o.jsx("div",{className:"booking-slot-picker__slots",role:"radiogroup","aria-label":l("booking.calendar.gridAriaLabel",{tz:g}),children:y.slots.map(k=>{const x=(i==null?void 0:i.startUtc)===k.startUtc;return o.jsx("button",{type:"button",role:"radio","aria-checked":x,className:`booking-slot-picker__slot${x?" is-selected":""}`,onClick:()=>a(k),children:Wpe(k.startUtc,n,c)},k.startUtc)})})]})]})]})},Rj="bt:displayTz",Pj=e=>{try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),!0}catch{return!1}},qpe=()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"}catch{return"UTC"}},ki=()=>{const[e,t]=v.useState(()=>{const r=typeof localStorage<"u"?localStorage.getItem(Rj):null;return r&&Pj(r)?r:qpe()});return[e,r=>{if(Pj(r)){t(r);try{localStorage.setItem(Rj,r)}catch{}}}]},Hpe=e=>"teacher"in e,am=({session:e,showTeacher:t=!1,busy:n,pending:r=!1,paymentDeadlineUtc:s,onBook:i})=>{const a=H(),l=vt(d=>d.uiLang),[c]=ki(),u=e.seatsRemaining<=0;return o.jsxs("li",{className:"group-session-card",children:[t&&Hpe(e)&&o.jsxs("a",{className:"group-session-card__teacher",href:`/teacher/${encodeURIComponent(e.teacher.slug)}`,children:[e.teacher.avatarUrl?o.jsx("img",{className:"group-session-card__avatar",src:e.teacher.avatarUrl,alt:e.teacher.displayName}):o.jsx("span",{className:"group-session-card__avatar group-session-card__avatar--placeholder","aria-hidden":"true",children:e.teacher.displayName.charAt(0).toUpperCase()}),o.jsx("span",{className:"group-session-card__teacher-name",children:e.teacher.displayName}),e.teacher.goRank&&o.jsx("span",{className:"group-session-card__teacher-rank",children:e.teacher.goRank.toUpperCase()})]}),o.jsxs("div",{className:"group-session-card__body",children:[o.jsxs("div",{className:"group-session-card__info",children:[o.jsxs("span",{className:"group-session-card__when",children:[Kt(e.startUtc,c,l)," ",mn(e.startUtc,c)]}),o.jsxs("span",{className:"group-session-card__meta",children:[a(`groupClasses.type.${e.lessonType}`)," · ",a("groupClasses.durationMin",{n:String(e.durationMinutes)})]}),o.jsx("span",{className:"group-session-card__seats",children:u?a("groupClasses.full"):a("groupClasses.seatsLeft",{n:String(e.seatsRemaining)})})]}),o.jsxs("div",{className:"group-session-card__action",children:[o.jsxs("span",{className:"group-session-card__price",children:["$",(e.displayPricePerSeatUsdCents/100).toFixed(2)]}),o.jsx("button",{className:"btn btn--accent",disabled:u&&!s||n||r,onClick:i,children:a(n?"booking.footer.submitting":s?"groupClasses.continuePayment":"groupClasses.book")})]})]}),s&&o.jsxs("p",{className:"group-session-card__hold",children:[a("groupClasses.paymentHeld",{deadline:`${Kt(s,c,l)} ${mn(s,c)}`})," ",o.jsx("a",{href:"/my-lessons",children:a("myLessons.title")})]})]})},om=({error:e,className:t})=>{const n=H();return e?e==="verification"?o.jsx(Cl,{}):o.jsxs("p",{className:t,role:"alert",children:[n(e==="full"?"groupClasses.full":e==="unavailable"?"groupClasses.paymentUnavailable":"error.somethingWrong")," ",o.jsx("a",{className:"group-seat-booking-error__link",href:"/my-lessons",children:n("myLessons.title")})]}):null};let H4=!1;
111const Aj=new Set(["payment_window_closed","invalid_status","not_found","already_paid","booking_changed_during_checkout","not_accepted_yet","already_seated","closed","started"]),lm=()=>{const{authFetch:e,isAuthenticated:t,user:n}=bt(),{login:r}=po(),[s,i]=v.useState(null),[a,l]=v.useState(null),[c,u]=v.useState({}),d=v.useRef(c),h=v.useRef(0);return v.useEffect(()=>{let p=!1;const m=++h.current;return Object.keys(d.current).length>0&&(d.current={},u({})),nr&&t&&(n==null?void 0:n.email_verified)===!0&&Ape(e).then(y=>{!p&&h.current===m&&(d.current=y,u(y))}).catch(()=>{!p&&h.current===m&&l("generic")}),()=>{p=!0}},[e,t,n==null?void 0:n.sub,n==null?void 0:n.email_verified]),{book:async p=>{if(!nr){l("generic");return}if(!t){await r({appState:{returnTo:window.location.pathname}});return}if((n==null?void 0:n.email_verified)!==!0){l("verification");return}if(!H4){H4=!0,++h.current,i(p),l(null);try{let m=d.current[p];if(m||(m=await Lpe(e,p)),d.current={...d.current,[p]:m},u(d.current),Date.parse(m.paymentDeadlineUtc)<=Date.now())throw new Error("payment_window_closed");const y=await WD(e,m.bookingId);window.location.href=y.checkoutUrl??"/my-lessons"}catch(m){const y=m instanceof Error?m.message:"";if(Aj.has(y)){const{[p]:_,...g}=d.current;d.current=g,u(g)}l(y==="full"?"full":Aj.has(y)?"unavailable":"generic"),i(null),H4=!1}}},busyId:s,error:a,heldSeats:c,clearError:()=>l(null)}},Lj=e=>`$${(e/100).toFixed(2)}`,Gpe=({teacherSlug:e,offeringId:t,lessonType:n,initialCode:r,canPreview:s,disabled:i,authFetch:a,onCodeChange:l,onApply:c,onClear:u})=>{const d=H(),h=v.useId(),[f,p]=v.useState(r??""),[m,y]=v.useState(!1),[_,g]=v.useState(null),[b,k]=v.useState(!1),[x,S]=v.useState(0),[T,C]=v.useState(null),E=v.useRef({onApply:c,onClear:u});return E.current={onApply:c,onClear:u},v.useEffect(()=>{let N=!1;if(g(null),k(!1),C(null),E.current.onClear(),y(!!(f&&s)),!f||!s)return;const j=setTimeout(()=>{(async()=>{try{const I=await Epe(a,{code:f,teacherSlug:e,offeringId:t,lessonType:n});if(N)return;I.ok?(C({discount:I.discountCents,final:I.finalGrossCents}),E.current.onApply(f,I.discountCents,I.finalGrossCents)):(ut("booking_modal.promo_rejected",{error_code:I.errorCode}),g(I.errorCode))}catch{N||k(!0)}finally{N||y(!1)}})()},400);return()=>{N=!0,clearTimeout(j)}},[f,e,t,n,s,a,x]),o.jsxs("div",{className:"promo-code-input",children:[o.jsxs("label",{children:[d("promo.input.label"),o.jsx("input",{value:f,maxLength:64,disabled:i,onChange:N=>{const j=N.target.value.toUpperCase().trim();p(j),l(j),E.current.onClear()},placeholder:d("promo.input.placeholder"),"aria-busy":m,"aria-describedby":h})]}),o.jsxs("div",{id:h,"aria-live":"polite",children:[f&&!s&&o.jsx("p",{children:d("promo.input.signInToCheck")}),m&&o.jsx("p",{children:d("promo.input.applying")}),T&&o.jsx("div",{className:"promo-code-input__applied",children:d("promo.applied.banner",{discount:Lj(T.discount),final:Lj(T.final)})}),_&&o.jsx("div",{className:"promo-code-input__error",role:"alert",children:d(`promo.error.${_}`)}),b&&o.jsxs("div",{className:"promo-code-input__error",role:"alert",children:[o.jsx("p",{children:d("promo.input.loadError")}),o.jsx("button",{type:"button",className:"btn btn--ghost",disabled:i,onClick:()=>S(N=>N+1),children:d("gallery.error.retry")})]}),f&&s&&!T&&!m&&o.jsx("p",{children:d("promo.input.fixOrRemove")})]})]})},Mj="[email protected]",cm=({className:e})=>{const t=H();return o.jsxs("p",{className:e?`support-contact ${e}`:"support-contact",children:[t("support.contactLine")," ",o.jsx("a",{className:"support-contact__link",href:`mailto:${Mj}`,children:Mj})]})},Kpe=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$/,Vpe=()=>{var a;if(typeof window>"u")return null;const e=new URLSearchParams(window.location.search),t=e.get("offeringId"),n=e.get("startUtc");if(!t||!n||!Kpe.test(n))return null;const r=e.get("lessonType"),s=r&&MI(r)?r:null,i=(a=e.get("promoCode"))==null?void 0:a.trim().toUpperCase().slice(0,64);return{offeringId:t,startUtc:n,lessonType:s,...i?{promoCode:i}:{}}},Ype=(e,t)=>{const n=new URLSearchParams({offeringId:t.offeringId,startUtc:t.startUtc});return t.promoCode&&n.set("promoCode",t.promoCode.slice(0,64)),t.lessonType&&n.set("lessonType",t.lessonType),`${e}?${n.toString()}`},Jpe=()=>{if(typeof window>"u")return;const e=new URL(window.location.href);e.searchParams.delete("offeringId"),e.searchParams.delete("startUtc"),e.searchParams.delete("lessonType"),e.searchParams.delete("promoCode"),e.searchParams.delete("book"),window.history.replaceState({},"",e.toString())},Zpe=({slug:e,teacherDisplayName:t,autoResume:n})=>{const r=H(),s=v.useRef(null),[i,a]=v.useState(n!=null),[l,c]=v.useState(n??null),u=()=>{a(!1),c(null),Jpe()};return o.jsxs(o.Fragment,{children:[o.jsx("button",{ref:s,className:"btn btn--accent",onClick:()=>a(!0),children:r("booking.cta")}),i&&o.jsx(r3e,{slug:e,teacherDisplayName:t,onClose:u,returnFocus:s,autoResume:l},e)]})},fb={game_review:"schedule.lessonTypes.gameReview",teaching_game_with_review:"schedule.lessonTypes.teachingGameWithReview",topic_lecture:"schedule.lessonTypes.topicLecture"},Xpe={game_review:"booking.lessonType.description.gameReview",teaching_game_with_review:"booking.lessonType.description.teachingGameWithReview",topic_lecture:"booking.lessonType.description.topicLecture"},Qpe={game_review:"booking.lessonType.expect.gameReview",teaching_game_with_review:"booking.lessonType.expect.teachingGameWithReview",topic_lecture:"booking.lessonType.expect.topicLecture"},e3e=["game_review","topic_lecture","teaching_game_with_review"],Oj="booking.lessonType.visitedV1",Dj=24*60*6e4,Wj=14,t3e=e=>e.trim().charAt(0).toUpperCase()||"?",n3e=({sessions:e,booking:t})=>o.jsxs("div",{className:"booking-group-tab",children:[o.jsx(om,{error:t.error,className:"booking-modal__error"}),o.jsx("ul",{className:"booking-group-tab__list",children:e.map(n=>{var r;return o.jsx(am,{session:n,busy:t.busyId===n.id,pending:t.busyId!==null,paymentDeadlineUtc:(r=t.heldSeats[n.id])==null?void 0:r.paymentDeadlineUtc,onBook:()=>t.book(n.id)},n.id)})})]}),r3e=({slug:e,teacherDisplayName:t,onClose:n,autoResume:r,returnFocus:s})=>{const i=H(),a=vt(K=>K.uiLang),{isAuthenticated:l,authFetch:c,user:u}=bt(),d=l&&(u==null?void 0:u.email_verified)===!0,{login:h}=po(),f=ub(),[p,m]=ki(),[y,_]=v.useState("pick-type"),[g,b]=v.useState(null),[k,x]=v.useState(null),S=(k==null?void 0:k.data)??null,T=k!==null&&k.selection===g,[C]=v.useState(()=>new Date),[E,N]=v.useState(!1),[j,I]=v.useState(0),[P,O]=v.useState(null),[F,B]=v.useState([]),[$,D]=v.useState(null),[z,R]=v.useState(null),[w,L]=v.useState(!1),[M,A]=v.useState(null),[q,W]=v.useState((r==null?void 0:r.promoCode)??""),[U,G]=v.useState(null),oe=!!(q&&(U==null?void 0:U.code)!==q),[de,Ae]=v.useState("private"),[te,be]=v.useState([]),Be=lm();v.useEffect(()=>{ut("booking_modal.opened",{teacher_slug:e,lesson_type:null,duration_minutes:null})},[]);const He=K=>{w||(ut("booking_modal.closed",{teacher_slug:e,reason:K}),n())},Ne=tm({onClose:()=>He(M?"submitted":"abandoned"),returnFocus:s});v.useEffect(()=>{let K=!1;return be([]),Ae("private"),$D(e).then(ve=>{K||be(ve)}).catch(()=>{}),()=>{K=!0}},[e]),v.useEffect(()=>{let K=!1;R(null),N(!1);const ve=C.toISOString().slice(0,10),Me=new Date(C.getTime()+Wj*Dj).toISOString().slice(0,10);return hpe(c,e,(g==null?void 0:g.durationMinutes)??null,ve,Me).then(Qe=>{K||(x({selection:g,data:Qe}),D(Sr=>Sr===null?null:"ready"))}).catch(Qe=>{K||(N(!0),$!==null&&D("error"))}),()=>{K=!0}},[g,e,C,j]);const We=v.useMemo(()=>!T||!S||!g?[]:S.offerings.some(K=>K.id===g.offeringId&&K.durationMinutes===g.durationMinutes)?S.slots.filter(K=>Date.parse(K.startUtc)<=C.getTime()+Wj*Dj&&K.durationMinutes===g.durationMinutes&&!F.some(ve=>ve.offeringId===g.offeringId&&ve.startUtc===K.startUtc)):[],[T,S,g,F,C]),re=P&&We.find(K=>K.startUtc===P.startUtc&&K.endUtc===P.endUtc&&K.durationMinutes===P.durationMinutes);v.useEffect(()=>{P&&!re&&(O(null),_(K=>K==="confirm"?"pick-slot":K))},[P,re]);const Le=v.useRef(null);v.useEffect(()=>(Le.current=g&&re?{selection:g,slot:re}:null,()=>{Le.current=null}),[g,re,q,U]);const[Ke,Se]=v.useState(r?"pending":"done");v.useEffect(()=>{if(!r||Ke!=="pending"||!S)return;const K=S.offerings.find(Me=>Me.id===r.offeringId);if(!K){R(i("booking.resume.offeringMissing")),Se("failed");return}const ve=r.lessonType&&K.lessonTypes.includes(r.lessonType)?r.lessonType:null;b({offeringId:K.id,durationMinutes:K.durationMinutes,displayPriceUsdCents:K.displayPriceUsdCents,displayTrialPriceUsdCents:K.displayTrialPriceUsdCents,lessonType:ve}),_("pick-slot"),Se("resolving-slot")},[r,Ke,S,i]),v.useEffect(()=>{if(!r||Ke!=="resolving-slot"||!T||!g)return;const K=We.find(ve=>ve.startUtc===r.startUtc);if(!K){R(i("booking.resume.slotUnavailable")),Se("failed");return}O(K),_("confirm"),Se("done")},[r,Ke,T,We,g,i]);const lt=v.useMemo(()=>s3e(S),[S]),je=()=>{x(null),N(!1),D(K=>K===null?null:"loading"),I(K=>K+1)},ne=K=>{const ve=K instanceof Error?K.message:"";(ve==="slot_unavailable"||ve==="slot_conflict"||ve==="past_start")&&P&&g?(B(Me=>[...Me,{offeringId:g.offeringId,startUtc:P.startUtc}]),O(null),_("pick-slot"),D("loading"),je()):R(i("booking.error.generic"))},ge=async()=>{const K=Le.current;if(!P||!g||!re||!K||w||d&&oe)return;if(!nr){R(i("booking.error.generic"));return}if(!l){const Qe=Ype(location.pathname,{offeringId:g.offeringId,startUtc:P.startUtc,lessonType:g.lessonType,...q?{promoCode:q}:{}});await h({appState:{returnTo:Qe}}
111);return}if(!await f({reason:"booking",teacherName:t})||Le.current!==K)return;L(!0),R(null);const Me=()=>fpe(c,{teacherSlug:e,offeringId:g.offeringId,startUtc:P.startUtc,...g.lessonType?{lessonType:g.lessonType}:{},...U?{promoCode:U.code}:{}});try{const Qe=await Me();A(Qe),ut("booking.created",{teacher_slug:e,offering_id:g.offeringId,lesson_type:g.lessonType,duration_minutes:g.durationMinutes,gross_usd_cents:Qe.grossUsdCents,booking_id:Qe.id,was_trial_priced:Qe.wasTrialPriced,offering_had_trial:g.displayTrialPriceUsdCents!==null,used_promo:U!==null})}catch(Qe){if((Qe instanceof Error?Qe.message:"")==="profile_incomplete"){if(!await f({reason:"booking",teacherName:t})||Le.current!==K){L(!1);return}try{const ln=await Me();A(ln)}catch(ln){ne(ln)}}else ne(Qe)}finally{L(!1)}},xe=(S==null?void 0:S.teacher.timeZone)??null,V=(()=>{if(!g)return i("booking.header.subtitle.pickType");const K=(g.displayPriceUsdCents/100).toFixed(2),ve=String(g.durationMinutes);return g.lessonType?i("booking.header.subtitle.selected",{lessonType:i(fb[g.lessonType]),duration:ve,price:K}):i("booking.header.subtitle.selectedDurationOnly",{duration:ve,price:K})})(),ce=y==="pick-slot"&&T&&!E,ke=y==="confirm"&&re&&g,Fe=y==="pick-type"&&S!==null;return o.jsx("div",{ref:Ne,tabIndex:-1,className:"booking-modal__backdrop",onClick:()=>He("abandoned"),role:"dialog","aria-modal":"true","aria-labelledby":"booking-modal-title",children:o.jsxs("div",{className:"booking-modal",onClick:K=>K.stopPropagation(),children:[o.jsxs("header",{className:"booking-modal__header",children:[o.jsx("div",{className:"booking-modal__avatar","aria-hidden":"true",children:t3e(t)}),o.jsxs("div",{className:"booking-modal__title-block",children:[o.jsx("h2",{tabIndex:-1,"data-modal-autofocus":!0,id:"booking-modal-title",className:"booking-modal__title",children:i("booking.title",{teacher:t})}),o.jsx("p",{className:"booking-modal__subtitle",children:V})]}),o.jsx("button",{type:"button",className:"booking-modal__close",disabled:w,onClick:()=>He("abandoned"),"aria-label":i("help.close"),children:o.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M18 6L6 18M6 6l12 12"})})})]}),M?o.jsx(d3e,{slug:e,teacherDisplayName:t,submittedBooking:M,displayTz:p,uiLang:a,offeringHadTrial:(g==null?void 0:g.displayTrialPriceUsdCents)!==null&&(g==null?void 0:g.displayTrialPriceUsdCents)!==void 0,onClose:()=>He("submitted")}):o.jsxs(o.Fragment,{children:[te.length>0&&o.jsxs("nav",{className:"booking-modal__tabs",role:"tablist","aria-label":i("booking.title",{teacher:t}),children:[o.jsx("button",{role:"tab","aria-selected":de==="private",className:`booking-modal__tab${de==="private"?" is-active":""}`,onClick:()=>Ae("private"),children:i("booking.tab.private")}),o.jsx("button",{role:"tab","aria-selected":de==="group",className:`booking-modal__tab${de==="group"?" is-active":""}`,onClick:()=>Ae("group"),children:i("groupClasses.tab")})]}),o.jsx("div",{className:"booking-modal__body",children:de==="group"?o.jsx(n3e,{sessions:te,booking:Be}):o.jsxs(o.Fragment,{children:[Fe&&o.jsx(a3e,{groups:lt,slug:e,teacherDisplayName:t,onPick:K=>{(!g||g.offeringId!==K.offeringId||g.lessonType!==K.lessonType)&&G(null),b({offeringId:K.offeringId,durationMinutes:K.durationMinutes,displayPriceUsdCents:K.displayPriceUsdCents,displayTrialPriceUsdCents:K.displayTrialPriceUsdCents,lessonType:K.lessonType}),O(null),D(null),_("pick-slot")}}),!T&&!E&&(y==="pick-slot"||!S)&&o.jsx("p",{role:"status",children:i("shared.loading")}),E&&o.jsxs("div",{children:[o.jsx("p",{className:"booking-modal__error",role:"alert",children:i("booking.availability.refreshError")}),o.jsx("button",{type:"button",className:"btn btn--primary booking-modal__reload",onClick:je,children:i("booking.availability.retry")})]}),ce&&o.jsxs(o.Fragment,{children:[o.jsx(Upe,{slots:We,rangeStartUtc:C,displayTz:p,teacherTz:xe,onDisplayTzChange:m,selectedSlot:re??null,onSelect:K=>{We.includes(K)&&(O(K),D(null),R(null),_("confirm"))}}),o.jsxs("p",{className:"booking-waitlist-footer",children:[i("booking.waitlist.helper")," ",o.jsx("a",{className:"booking-waitlist-footer__link",href:`/waitlist?teacher=${encodeURIComponent(e)}&from=booking_modal`,children:i("booking.waitlist.cta")})]})]}),ke&&P&&g&&o.jsx(c3e,{slug:e,slot:P,selection:g,displayTz:p,uiLang:a,authFetch:c,appliedPromo:U,promoCode:q,canPreviewPromo:d,submitting:w,onPromoCodeChange:W,onApplyPromo:async(K,ve,Me)=>{G({code:K,discount:ve,final:Me});const Qe=await dpe(K,8);ut("booking_modal.promo_applied",{code_hash:Qe,discount_cents:ve,final_cents:Me})},onClearPromo:()=>G(null)})]})}),$!==null&&o.jsx("p",{className:"booking-modal__error",role:"alert",children:i("booking.error.conflict")}),z&&o.jsx("p",{className:"booking-modal__error",role:"alert",children:z}),de==="private"&&y==="pick-slot"&&o.jsx("footer",{className:"booking-modal__footer",children:o.jsx("button",{type:"button",className:"btn btn--ghost",onClick:()=>{_("pick-type"),S||(b(null),N(!1)),O(null),G(null)},children:i("booking.footer.back")})}),de==="private"&&ke&&o.jsxs("footer",{className:"booking-modal__footer booking-modal__footer--confirm",children:[o.jsx("button",{type:"button",className:"btn btn--ghost",disabled:w,onClick:()=>{G(null),_("pick-slot")},children:i("booking.footer.back")}),o.jsx("button",{type:"button",className:"btn btn--primary",onClick:ge,disabled:w||d&&oe,children:i(w?"booking.footer.submitting":"booking.acceptance.requestCta")})]})]}),o.jsx(cm,{className:"booking-modal__support"})]})})},s3e=e=>{if(!e)return[];const t=new Map,n=[];for(const s of e.offerings){const i={offeringId:s.id,durationMinutes:s.durationMinutes,displayPriceUsdCents:s.displayPriceUsdCents,displayTrialPriceUsdCents:s.displayTrialPriceUsdCents};if(s.lessonTypes.length===0)n.push({key:`untyped:${s.id}`,lessonType:null,offerings:[i]});else for(const a of s.lessonTypes){const l=t.get(a)??[];l.push(i),t.set(a,l)}}const r=e3e.filter(s=>t.has(s)).map(s=>({key:s,lessonType:s,offerings:t.get(s).sort((i,a)=>i.durationMinutes-a.durationMinutes)}));return n.sort((s,i)=>s.offerings[0].durationMinutes-i.offerings[0].durationMinutes),[...r,...n]},i3e=e=>{const[t]=v.useState(()=>{let n=!1;try{n=localStorage.getItem(Oj)==="1"}catch{}if(n)return new Set;try{localStorage.setItem(Oj,"1")}catch{}return new Set(e.map(r=>r.lessonType).filter(r=>r!==null))});return t},a3e=({groups:e,slug:t,teacherDisplayName:n,onPick:r})=>{const s=H(),i=i3e(e),[a,l]=v.useState(i),c=u=>l(d=>{const h=new Set(d);return h.has(u)?h.delete(u):h.add(u),h});return e.length===0?o.jsxs("div",{children:[o.jsx("p",{children:s("booking.availability.noOfferings")}),o.jsx("p",{children:o.jsx("a",{href:`/waitlist?teacher=${encodeURIComponent(t)}&from=booking_modal`,children:s("booking.waitlist.cta")})}),o.jsx("p",{children:o.jsx("a",{href:`/chat/${encodeURIComponent(t)}`,children:s("booking.chatCta.modalFooter",{teacher:n})})})]}):o.jsxs("div",{className:"booking-lesson-step",children:[o.jsx("div",{className:"booking-section-caption",children:s("booking.lessonType.title")}),o.jsx("p",{className:"booking-helper",children:s("booking.lessonType.helper")}),o.jsx("div",{className:"lesson-groups",children:e.map(u=>u.lessonType?o.jsx(o3e,{group:u,lessonType:u.lessonType,isOpen:a.has(u.lessonType),onToggle:()=>c(u.lessonType),onPick:r},u.key):o.jsx(l3e,{group:u,onPick:r},u.key))}),o.jsx("p",{className:"booking-chat-footer",children:o.jsx("a",{href:`/chat/${encodeURIComponent(t)}`,children:s("booking.chatCta.modalFooter",{teacher:n})})})]})},o3e=({group:e,lessonType:t,isOpen:n,onToggle:r,onPick:s})=>{const i=H();return o.jsxs("article",{className:`lesson-group${n?" lesson-group--open":""}`,children:[o.jsxs("div",{className:"lesson-group__row",children:[o.jsx("h3",{className:"lesson-group__title",children:i(fb[t])}),o.jsxs("button",{type:"button",className:"lesson-group__disclosure","aria-expanded":n,onClick:r,children:[i(n?"booking.lessonType.hideDetails":"booking.lessonType.learnMore"),o.jsx("svg",{className:"lesson-group__chevron",viewBox:"0 0 12 12",width:"10",height:"10","aria-hidden":"true",children:o.jsx("path",{d:"M2 4 L6 8 L10 4",stroke:"currentColor",strokeWidth:"1.6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})})]})]}),o.jsxs("div",{className:"lesson-group__panel",hidden:!n,children:[o.jsx("p",{className:"lesson-group__blurb",children:i(Xpe[t])}),o.jsx("p",{className:"lesson-group__expect",children:i(Qpe[t])})]}),o.jsx("div",{className:"lesson-group__chips",children:e.offerings.map(a=>o.jsxs("button",{type:"button",className:"lesson-group__chip",onClick:()=>s({...a,lessonType:t}),children:[o.jsxs("span",{className:"lesson-group__chip-duration",children:[a.durationMinutes," min"]}),o.jsx("span",{className:"lesson-group__chip-sep","aria-hidden":"true",children:"·"}),a.displayTrialPriceUsdCents!==null?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"lesson-group__chip-trial-badge",children:i("bookings.trialLabel")}),o.jsxs("span",{className:"lesson-group__chip-price",children:["$",(a.displayTrialPriceUsdCents/100).toFixed(2)]}),o.jsxs("span",{className:"lesson-group__chip-regular",children:["$",(a.displayPriceUsdCents/100).toFixed(2)]})]}):o.jsxs("span",{className:"lesson-group__chip-price",children:["$",(a.displayPriceUsdCents/100).toFixed(2)]})]},a.offeringId))})]})},l3e=({group:e,onPick:t})=>{const n=H(),r=e.offerings[0];return o.jsxs("article",{className:"lesson-group lesson-group--untyped",children:[o.jsx("div",{className:"lesson-group__row",children:o.jsxs("h3",{className:"lesson-group__title",children:[r.durationMinutes," min"]})}),o.jsx("div",{className:"lesson-group__chips",children:o.jsxs("button",{type:"button",className:"lesson-group__chip",onClick:()=>t({...r,lessonType:null}),children:[o.jsxs("span",{className:"lesson-group__chip-duration",children:[r.durationMinutes," min"]}),o.jsx("span",{className:"lesson-group__chip-sep","aria-hidden":"true",children:"·"}),r.displayTrialPriceUsdCents!==null?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"lesson-group__chip-trial-badge",children:n("bookings.trialLabel")}),o.jsxs("span",{className:"lesson-group__chip-price",children:["$",(r.displayTrialPriceUsdCents/100).toFixed(2)]}),o.jsxs("span",{className:"lesson-group__chip-regular",children:["$",(r.displayPriceUsdCents/100).toFixed(2)]})]}):o.jsxs("span",{className:"lesson-group__chip-price",children:["$",(r.displayPriceUsdCents/100).toFixed(2)]})]})})]})},c3e=({slug:e,slot:t,selection:n,displayTz:r,uiLang:s,authFetch:i,appliedPromo:a,onApplyPromo:l,onClearPromo:c,promoCode:u,canPreviewPromo:d,onPromoCodeChange:h,submitting:f})=>{const p=H(),m=n.lessonType?p(fb[n.lessonType]):`${n.durationMinutes} min`,y=n.displayTrialPriceUsdCents!==null,_=(n.displayPriceUsdCents/100).toFixed(2),g=y?(n.displayTrialPriceUsdCents/100).toFixed(2):_,k=a&&!y?(a.final/100).toFixed(2):y?g:_;return o.jsxs("div",{className:"booking-confirm-step",children:[o.jsx("div",{className:"booking-section-caption",children:p("booking.confirm")}),o.jsxs("div",{className:"booking-confirm__summary",children:[o.jsxs("dl",{className:"booking-confirm__rows",children:[o.jsxs("div",{className:"booking-confirm__row",children:[o.jsx("dt",{children:p("booking.confirm.lessonLabel")}),o.jsx("dd",{children:m})]}),o.jsxs("div",{className:"booking-confirm__row",children:[o.jsx("dt",{children:p("booking.confirm.whenLabel")}),o.jsxs("dd",{children:[Kt(t.startUtc,r,s)," ",o.jsxs("span",{className:"booking-confirm__tz",children:["(",mn(t.startUtc,r),")"]})]})]}),o.jsxs("div",{className:"booking-confirm__row",children:[o.jsx("dt",{children:p("booking.confirm.durationLabel")}),o.jsx("dd",{children:p("booking.confirm.durationValue",{duration:String(n.durationMinutes)})})]}),o.jsxs("div",{className:"booking-confirm__row booking-confirm__row--total",children:[o.jsx("dt",{children:p("booking.confirm.totalLabel")}),o.jsx("dd",{children:y?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"booking-confirm__trial-badge",children:p("bookings.trialLabel")}),o.jsxs("span",{className:"booking-confirm__final",children:["$",g]}),o.jsx("span",{className:"booking-confirm__regular-aside",children:p("teacherProfile.trialOfferSubLabel",{price:_})})]}):a?o.jsxs(o.Fragment,{children:[o.jsxs("span",{className:"booking-confirm__str
111ikethrough",children:["$",_]}),o.jsxs("span",{className:"booking-confirm__final",children:["$",k]})]}):o.jsxs("span",{className:"booking-confirm__final",children:["$",_]})})]})]}),y&&o.jsx("p",{className:"booking-confirm__trial-note",children:p("checkout.trialPending")})]}),o.jsx(Gpe,{teacherSlug:e,offeringId:n.offeringId,lessonType:n.lessonType,initialCode:u,canPreview:d,disabled:f,onCodeChange:h,authFetch:i,onApply:l,onClear:c}),o.jsx(u3e,{}),o.jsx("p",{className:"booking-confirm__disclaimer",children:p("booking.confirm.betaDisclaimer")})]})},u3e=()=>{const e=H(),t=[{title:e("booking.confirm.nextSteps.step1.title"),desc:e("booking.confirm.nextSteps.step1.desc")},{title:e("booking.confirm.nextSteps.step2.title"),desc:e("booking.confirm.nextSteps.step2.desc")},{title:e("booking.confirm.nextSteps.step3.title"),desc:e("booking.confirm.nextSteps.step3.desc")}];return o.jsxs("section",{className:"booking-confirm__next-steps","aria-labelledby":"booking-next-steps-title",children:[o.jsx("h3",{id:"booking-next-steps-title",className:"booking-confirm__next-steps-title",children:e("booking.confirm.nextSteps.title")}),o.jsx("ol",{className:"booking-confirm__next-steps-list",children:t.map((n,r)=>o.jsxs("li",{className:"booking-confirm__next-steps-item",children:[o.jsx("span",{className:"booking-confirm__next-steps-num","aria-hidden":"true",children:r+1}),o.jsxs("div",{className:"booking-confirm__next-steps-text",children:[o.jsx("div",{className:"booking-confirm__next-steps-heading",children:n.title}),o.jsx("div",{className:"booking-confirm__next-steps-desc",children:n.desc})]})]},r))}),o.jsxs("div",{className:"booking-confirm__next-steps-trust",children:[o.jsxs("svg",{className:"booking-confirm__next-steps-lock",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[o.jsx("rect",{x:"4",y:"11",width:"16",height:"10",rx:"2"}),o.jsx("path",{d:"M8 11V8a4 4 0 1 1 8 0v3"})]}),o.jsx("span",{children:e("booking.confirm.nextSteps.trust")})]})]})},d3e=({slug:e,teacherDisplayName:t,submittedBooking:n,offeringHadTrial:r,displayTz:s,uiLang:i,onClose:a})=>{const l=H(),c=n.wasTrialPriced,u=!c&&r;return o.jsxs("div",{className:"booking-modal__success",children:[o.jsx("div",{className:"booking-modal__success-icon","aria-hidden":"true",children:o.jsx("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("polyline",{points:"20 6 9 17 4 12"})})}),o.jsx("h3",{className:"booking-modal__success-title",children:l("booking.acceptance.successTitle")}),o.jsx("p",{className:"booking-modal__success-body",children:l("booking.acceptance.responseBy",{deadline:`${Kt(n.acceptanceDeadlineUtc,s,i)} (${mn(n.acceptanceDeadlineUtc,s)})`})}),o.jsxs("dl",{className:"booking-confirm__rows",children:[o.jsxs("div",{className:"booking-confirm__row",children:[o.jsx("dt",{children:l("booking.confirm.whenLabel")}),o.jsxs("dd",{children:[Kt(n.startUtc,s,i)," (",mn(n.startUtc,s),")"]})]}),o.jsxs("div",{className:"booking-confirm__row",children:[o.jsx("dt",{children:l("booking.confirm.totalLabel")}),o.jsxs("dd",{children:["$",(n.grossUsdCents/100).toFixed(2)]})]})]}),c&&o.jsx("p",{className:"booking-modal__success-trial-note booking-modal__success-trial-note--applied",children:l("checkout.trialApplied")}),u&&o.jsx("p",{className:"booking-modal__success-trial-note booking-modal__success-trial-note--ineligible",children:l("checkout.trialIneligibleMessage")}),o.jsxs("div",{className:"booking-modal__success-actions",children:[o.jsx("a",{className:"btn btn--primary",href:`/my-lessons?bookingId=${encodeURIComponent(n.id)}`,children:l("booking.acceptance.viewRequest")}),o.jsx("a",{href:`/chat/${encodeURIComponent(e)}`,target:"_blank",rel:"noreferrer",className:"btn btn--ghost",children:l("booking.acceptance.chatWithTeacher",{teacher:t})}),o.jsx("button",{type:"button",className:"btn btn--ghost",onClick:a,children:l("booking.acceptance.gotIt")})]})]})},h3e=({slug:e})=>{const t=H(),[n,r]=v.useState([]),[s,i]=v.useState(null),a=lm();return v.useEffect(()=>{let l=!1;return r([]),i(null),a.clearError(),$D(e).then(c=>{l||r(c)}).catch(()=>{l||i(t("error.somethingWrong"))}),()=>{l=!0}},[e]),n.length===0?null:o.jsxs("section",{className:"group-classes-section","aria-labelledby":"group-classes-title",children:[o.jsx("h2",{id:"group-classes-title",className:"group-classes-section__title",children:t("groupClasses.title")}),s&&o.jsx("p",{className:"group-classes-section__error",role:"alert",children:s}),o.jsx(om,{error:a.error,className:"group-classes-section__error"}),o.jsx("ul",{className:"group-classes-section__list",children:n.map(l=>{var c;return o.jsx(am,{session:l,busy:a.busyId===l.id,pending:a.busyId!==null,paymentDeadlineUtc:(c=a.heldSeats[l.id])==null?void 0:c.paymentDeadlineUtc,onBook:()=>a.book(l.id)},l.id)})})]})},f3e=e=>`https://i.ytimg.com/vi/${e}/hqdefault.jpg`,p3e=e=>`https://www.youtube-nocookie.com/embed/${e}
111?autoplay=1&rel=0`,qD=({videoId:e,playLabel:t})=>{const[n,r]=v.useState(!1);return n?o.jsx("div",{className:"lite-youtube",children:o.jsx("iframe",{className:"lite-youtube__iframe",src:p3e(e),title:t,allow:"autoplay; fullscreen; picture-in-picture; encrypted-media",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin"})}):o.jsx("div",{className:"lite-youtube",children:o.jsxs("button",{type:"button",className:"lite-youtube__poster",onClick:()=>r(!0),"aria-label":t,children:[o.jsx("img",{className:"lite-youtube__thumb",src:f3e(e),alt:"",loading:"lazy"}),o.jsx("span",{className:"lite-youtube__play","aria-hidden":"true",children:o.jsxs("svg",{viewBox:"0 0 68 48",width:"68",height:"48",children:[o.jsx("path",{d:"M66.52 7.74A8.6 8.6 0 0 0 60.46 1.6C55.13 0 34 0 34 0S12.87 0 7.54 1.6A8.6 8.6 0 0 0 1.48 7.74C0 13.06 0 24 0 24s0 10.94 1.48 16.26a8.6 8.6 0 0 0 6.06 6.14C12.87 48 34 48 34 48s21.13 0 26.46-1.6a8.6 8.6 0 0 0 6.06-6.14C68 34.94 68 24 68 24s0-10.94-1.48-16.26z",fill:"#212121",fillOpacity:"0.85"}),o.jsx("path",{d:"M27 34V14l18 10-18 10z",fill:"#fff"})]})})]})})},m3e=e=>`https://player.bilibili.com/player.html?bvid=${e}&page=1&autoplay=1&danmaku=0`,g3e=({bvid:e,playLabel:t})=>{const[n,r]=v.useState(!1);return n?o.jsx("div",{className:"lite-bilibili",children:o.jsx("iframe",{className:"lite-bilibili__iframe",src:m3e(e),title:t,allow:"autoplay; fullscreen; picture-in-picture; encrypted-media",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin"})}):o.jsx("div",{className:"lite-bilibili",children:o.jsx("button",{type:"button",className:"lite-bilibili__poster",onClick:()=>r(!0),"aria-label":t,children:o.jsx("span",{className:"lite-bilibili__play","aria-hidden":"true",children:o.jsxs("svg",{viewBox:"0 0 68 48",width:"68",height:"48",children:[o.jsx("path",{d:"M66.52 7.74A8.6 8.6 0 0 0 60.46 1.6C55.13 0 34 0 34 0S12.87 0 7.54 1.6A8.6 8.6 0 0 0 1.48 7.74C0 13.06 0 24 0 24s0 10.94 1.48 16.26a8.6 8.6 0 0 0 6.06 6.14C12.87 48 34 48 34 48s21.13 0 26.46-1.6a8.6 8.6 0 0 0 6.06-6.14C68 34.94 68 24 68 24s0-10.94-1.48-16.26z",fill:"#FB7299",fillOpacity:"0.9"}),o.jsx("path",{d:"M27 34V14l18 10-18 10z",fill:"#fff"})]})})})})},HD=v.createContext({}),y3e=({value:e,children:t})=>o.jsx(HD.Provider,{value:e,children:t}),di=e=>v.useContext(HD)[e],v3e=()=>{if(typeof window>"u")return null;const e=new URLSearchParams(window.location.search).get("from");return e&&/^[a-z_]+$/.test(e)?e:null},b3e=Ds,_3e=({slug:e})=>{const t=H(),n=vt($=>$.uiLang),r=di("teacherProfile"),s=v.useRef(e),i=di("teacherNotFoundSlug"),a=di("teacherNotFound")===!0&&(i??s.current)===e,[l,c]=v.useState(()=>({slug:e,kind:a?"missing":(r==null?void 0:r.slug)===e?"ready":"loading",profile:(r==null?void 0:r.slug)===e?r:null})),u=l.slug===e?l:{kind:"loading",profile:null},d=u.profile,h=u.kind==="loading",[f,p]=v.useState(0),[m,y]=v.useState(!1),_=v.useRef(!1),g=v.useRef(null),b=v.useRef(null);v.useEffect(()=>{_.current=!1,y(!1)},[e]),v.useEffect(()=>{var $;_.current&&(u.kind==="ready"||u.kind==="missing")&&(($=g.current)==null||$.focus(),_.current=!1)},[u.kind]);const[k]=v.useState(()=>Vpe()),x=v.useRef(null),S=v.useRef(null);v.useEffect(()=>{const $=x.current,D=S.current;if(!$||!D)return;const z=()=>$.style.setProperty("--teacher-profile-cta-h",`${D.offsetHeight}px`);z();const R=typeof ResizeObserver>"u"?null:new ResizeObserver(z);return R==null||R.observe(D,{box:"border-box"}),window.addEventListener("resize",z),()=>{R==null||R.disconnect(),window.removeEventListener("resize",z),$.style.removeProperty("--teacher-profile-cta-h")}},[h,u.kind,d]);const T=d?t("seo.teacher_profile.title",{name:d.display_name}):t("seo.teachers.title"),C=d?t("seo.teacher_profile.description",{name:d.display_name,rank:d.go_rank??"Baduk teacher"}):t("seo.teachers.description"),E=`https://badukteacher.com/teacher/${e}`,N=d!=null&&d.bio?xte(d.bio):"",j=d?as({"@context":"https://schema.org","@type":"Person",name:d.display_name,url:E,...d.avatar_url&&{image:d.avatar_url},...N&&{description:N},jobTitle:d.go_rank??"Baduk teacher",knowsLanguage:d.languages,...d.starting_from_usd_cents!=null&&d.offeringsCount>0?{makesOffer:{"@type":"AggregateOffer",priceCurrency:"USD",lowPrice:(d.starting_from_usd_cents/100).toFixed(2),offerCount:d.offeringsCount,availability:"https://schema.org/InStock",itemOffered:{"@type":"Service",serviceType:"Baduk lesson"}}}:{}}):null,I=d?as({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Baduk Teacher",item:"https://badukteacher.com/"},{"@type":"ListItem",position:2,name:"Teachers",item:"https://badukteacher.com/teachers"},{"@type":"ListItem",position:3,name:d.display_name}]}
111):null,P=u.kind==="missing",O=o.jsxs(qr,{children:[o.jsx("title",{children:T}),o.jsx("meta",{name:"description",content:C}),P&&o.jsx("meta",{name:"robots",content:"noindex, follow"}),!P&&o.jsx("link",{rel:"canonical",href:E}),o.jsx("meta",{property:"og:title",content:T}),o.jsx("meta",{property:"og:description",content:C}),o.jsx("meta",{property:"og:url",content:E}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"profile"}),o.jsx("meta",{name:"twitter:title",content:T}),o.jsx("meta",{name:"twitter:description",content:C}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"}),!P&&j&&o.jsx("script",{type:"application/ld+json",children:j}),!P&&I&&o.jsx("script",{type:"application/ld+json",children:I})]});if(v.useEffect(()=>{ut("teacher_profile.viewed",{teacher_slug:e})},[e]),v.useEffect(()=>{new URLSearchParams(window.location.search).get("from")==="stripe_cancel"&&window.location.replace(`/my-lessons?from=stripe_cancel&teacher=${encodeURIComponent(e)}`)},[e]),v.useEffect(()=>{if((r==null?void 0:r.slug)===e){c({slug:e,kind:"ready",profile:r});return}if(a){c({slug:e,kind:"missing",profile:null});return}let $=!1;const D=new AbortController;return c(R=>R.slug===e&&R.kind==="error"?R:{slug:e,kind:"loading",profile:null}),(async()=>{try{const R=await fetch(`/api/teachers/${encodeURIComponent(e)}`,{signal:D.signal});if(R.status===404){$||(document.activeElement!==b.current&&(_.current=!1),c({slug:e,kind:"missing",profile:null}));return}if(!R.ok)throw new Error(`HTTP ${R.status}`);const w=await R.json();$||(document.activeElement!==b.current&&(_.current=!1),c({slug:e,kind:"ready",profile:w}))}catch{$||c({slug:e,kind:"error",profile:null})}finally{$||y(!1)}})(),()=>{$=!0,D.abort()}},[e,r,a,f]),h)return o.jsxs(o.Fragment,{children:[O,o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{role:"status",children:t("shared.loading")})})]});if(!d)return o.jsxs(o.Fragment,{children:[O,o.jsxs("div",{className:"room-bootstrap",style:{textAlign:"center"},children:[o.jsx("h1",{ref:g,tabIndex:-1,children:t(P?"teacher.notFound":"publicRecovery.profileError")}),P?o.jsx("p",{children:t("teacher.notFoundDesc")}):o.jsxs(o.Fragment,{children:[o.jsx("p",{role:"alert",children:t("publicRecovery.tryAgain")}),m&&o.jsx("p",{role:"status",children:t("shared.loading")}),o.jsx("button",{ref:b,type:"button",className:"btn btn--primary",style:{minHeight:48},"aria-disabled":m,onClick:()=>{m||(_.current=!0,y(!0),p($=>$+1))},children:t("gallery.error.retry")})]}),o.jsx("a",{className:"btn btn--ghost",style:{minHeight:48},href:"/teachers",children:t("publicRecovery.browseTeachers")})]})]});const F=d.languages.filter($=>b3e.includes($)).map($=>vl($,t)),B=F.length>0?new Intl.ListFormat(n,{type:"conjunction"}).format(F):t("teacherprofile.trustLine.fallbackLang");return o.jsxs(o.Fragment,{children:[O,o.jsxs("article",{ref:x,className:"teacher-profile",children:[o.jsxs("header",{className:"teacher-profile__hero",children:[d.avatar_url?o.jsx("img",{className:"teacher-profile__avatar",src:d.avatar_url,alt:d.display_name}):o.jsx("div",{className:"teacher-profile__avatar-placeholder","aria-hidden":"true",children:d.display_name.charAt(0).toUpperCase()}),o.jsxs("div",{className:"teacher-profile__identity",children:[o.jsx("h1",{ref:g,tabIndex:-1,className:"teacher-profile__name",children:d.display_name}),d.go_rank&&o.jsx("span",{className:"teacher-profile__rank",children:d.go_rank.toUpperCase()})]})]}),d.languages.length>0&&o.jsxs("section",{className:"teacher-profile__section",children:[o.jsx("span",{className:"teacher-profile__section-label",children:t("profile.languages")}),o.jsx("div",{className:"teacher-profile__lang-chips",children:d.languages.map($=>o.jsx("span",{className:"teacher-profile__lang-chip",children:vl($,t)},$))})]}),d.bio&&o.jsxs("section",{className:"teacher-profile__section",children:[o.jsx("span",{className:"teacher-profile__section-label",children:t("teacher.about")}),o.jsx("div",{className:"teacher-bio",children:o.jsx(rm,{remarkPlugins:[my],components:{p:({children:$,node:D})=>{var R;
111const z=(D==null?void 0:D.children.length)===1?D.children[0]:null;if(z&&z.type==="element"&&z.tagName==="a"&&typeof((R=z.properties)==null?void 0:R.href)=="string"){const w=z.properties.href,L=cy(w);if(L)return o.jsx(qD,{videoId:L,playLabel:t("teacher.playYoutubeVideo")});const M=uy(w);if(M)return o.jsx(g3e,{bvid:M,playLabel:t("teacher.playBilibiliVideo")})}return o.jsx("p",{children:$})},img:({src:$,alt:D})=>typeof $!="string"||!$.startsWith("https://")?null:o.jsx("img",{className:"bio-image",src:$,alt:D??"",loading:"lazy",referrerPolicy:"no-referrer"}),a:({href:$,children:D})=>o.jsx("a",{href:$,target:"_blank",rel:"noopener noreferrer nofollow ugc",children:D})},children:d.bio})})]}),o.jsx("p",{className:"teacher-profile__trust-line",children:t("teacherprofile.trustLine",{languages:B})}),o.jsx(h3e,{slug:d.slug}),o.jsx("div",{ref:S,className:"teacher-profile__cta-bar",role:"region","aria-label":t("teacherprofile.ctaBar.label"),children:o.jsx("div",{className:"teacher-profile__cta-stack",children:d.offeringsCount>0?o.jsxs(o.Fragment,{children:[o.jsx(Zpe,{slug:d.slug,teacherDisplayName:d.display_name,autoResume:k}),o.jsx("a",{className:"btn btn--ghost",href:`/chat/${encodeURIComponent(d.slug)}`,title:t("booking.chatCta.tooltip"),children:t("booking.chatCta.profile",{teacher:d.display_name})})]}):o.jsxs(o.Fragment,{children:[o.jsx("a",{className:"btn btn--accent",href:`/waitlist?teacher=${encodeURIComponent(d.slug)}&from=teacher_profile`,children:t("teacherprofile.joinWaitlist")}),o.jsx("a",{className:"btn btn--ghost",href:`/chat/${encodeURIComponent(d.slug)}`,title:t("booking.chatCta.tooltip"),children:t("booking.chatCta.profile",{teacher:d.display_name})})]})})})]})]})},Fj=(e,t)=>{const n=Math.floor(e/100);try{return new Intl.NumberFormat(t,{style:"currency",currency:"USD",maximumFractionDigits:0,minimumFractionDigits:0}).format(n)}catch{return`$${n}`}},um=({card:e,from:t="gallery",priority:n=!1})=>{const r=H(),s=vt(g=>g.uiLang),[i,a]=v.useState(!1),l=v.useRef(null),c=`/teacher/${encodeURIComponent(e.slug)}`,u=r("gallery.card.photoAlt",{name:e.display_name}),d=typeof e.starting_from_usd_cents=="number",h=d?e.starting_from_usd_cents:null,f=d?r("gallery.card.startingFrom",{price:Fj(h,s)}):null,p=typeof e.trial_starting_from_usd_cents=="number",m=p?e.trial_starting_from_usd_cents:null,y=p?r("gallery.card.trialFrom",{price:Fj(m,s)}):null;v.useEffect(()=>{l.current&&n&&l.current.setAttribute("fetchpriority","high"),l.current&&!n&&l.current.setAttribute("fetchpriority","auto")},[n]);const _=()=>{ut("teacher_card.clicked",{from:/^[a-z_]+$/.test(t)?t:null,teacher_id:e.id,teacher_slug:e.slug,display_order_at_click:e.display_order,has_pricing:d,starting_from_usd_cents:h,has_trial_pricing:p,trial_starting_from_usd_cents:m})};return o.jsxs("a",{className:"teacher-card",href:c,onClick:_,onAuxClick:g=>{g.button===1&&_()},children:[e.avatar_url&&!i?o.jsx("img",{ref:l,className:"teacher-card__photo",src:e.avatar_url,alt:u,loading:n?"eager":"lazy",referrerPolicy:"no-referrer",onError:()=>a(!0)}):o.jsx("div",{className:"teacher-card__photo teacher-card__photo--placeholder","aria-label":r("gallery.card.photoMissing"),role:"img",children:o.jsx("span",{"aria-hidden":"true",children:e.display_name.charAt(0).toUpperCase()})}),o.jsxs("div",{className:"teacher-card__body",children:[o.jsx("h2",{className:"teacher-card__name",children:e.display_name}),e.rank_label&&o.jsx("p",{className:"teacher-card__rank",children:e.rank_label}),e.headline_en&&o.jsx("p",{className:"teacher-card__headline",children:e.headline_en}),(y||f)&&o.jsxs("div",{className:"teacher-card__pricing",children:[y&&o.jsx("span",{className:"teacher-card__trial-badge",children:y}),f&&o.jsx("p",{className:"teacher-card__price",children:f})]})]})]})},k3e=3,w3e=()=>{const e=H();return o.jsxs("header",{className:"gallery__hero",children:[o.jsx("h1",{className:"gallery__title",id:"gallery-heading",children:e("gallery.title")}),o.jsx("p",{className:"gallery__subtitle",children:e("gallery.subtitle")})]})},x3e=()=>o.jsxs("div",{className:"teacher-card teacher-card--skeleton","aria-hidden":"true",children:[o.jsx("div",{className:"teacher-card__photo teacher-card__photo--placeholder"}),o.jsx("div",{className:"teacher-card__skeleton-line teacher-card__skeleton-line--lg"}),o.jsx("div",{className:"teacher-card__skeleton-line teacher-card__skeleton-line--sm"}),o.jsx("div",{className:"teacher-card__skeleton-line"}),o.jsx("div",{className:"teacher-card__skeleton-line"})]}),S3e=()=>{const e=H(),t=di("teachers"),[n,r]=v.useState(t?{kind:"success",cards:t}:{kind:"loading"}),[s,i]=v.useState(0);return v.useEffect(()=>{if(t&&s===0){const u=t.filter(d=>typeof d.starting_from_usd_cents=="number").length;ut("gallery.viewed",{teachers_visible:t.length,with_pricing:u>0,cards_with_pricing:u});return}const a=new AbortController;let l=!1;return(async()=>{r({kind:"loading"});try{const u=await fetch("/api/teachers",{signal:a.signal});if(!u.ok){l||(r({kind:"error",status:u.status}),ut("gallery.fetch_failed",{status_code:u.status}));return}const d=await u.json();if(!l){r({kind:"success",cards:d});const h=d.filter(f=>typeof f.starting_from_usd_cents=="number").length;ut("gallery.viewed",{teachers_visible:d.length,with_pricing:h>0,cards_with_pricing:h})}}catch(u){if(u.name==="AbortError")return;l||(r({kind:"error",status:null}),ut("gallery.fetch_failed",{status_code:null}))}})(),()=>{l=!0,a.abort()}},[s,t]),o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:e("seo.teachers.title")}),o.jsx("meta",{name:"description",content:e("seo.teachers.description")}),o.jsx("link",{rel:"canonical",href:"https://badukteacher.com/teachers"}),o.jsx("meta",{property:"og:title",content:e("seo.teachers.title")}),o.jsx("meta",{property:"og:description",content:e("seo.teachers.description")}),o.jsx("meta",{property:"og:url",content:"https://badukteacher.com/teachers"}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{name:"twitter:title",content:e("seo.teachers.title")}),o.jsx("meta",{name:"twitter:description",content:e("seo.teachers.description")}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"})]}),o.jsxs("main",{className:"gallery",children:[o.jsx(w3e,{}),n.kind==="loading"&&o.jsx("section",{className:"gallery__grid",role:"status","aria-busy":"true","aria-label":e("gallery.loading"),children:Array.from({length:k3e},(a,l)=>o.jsx(x3e,{},l))}),n.kind==="error"&&o.jsxs("div",{className:"gallery__state",role:"alert",children:[o.jsx("p",{className:"gallery__state-title",children:e("gallery.error.title")}),o.jsx("button",{type:"button",className:"gallery__retry",onClick:()=>{i(a=>a+1)},children:e("gallery.error.retry")})]}),n.kind==="success"&&n.cards.length===0&&o.jsxs("div",{className:"gallery__state",role:"status",children:[o.jsx("p",{className:"gallery__state-title",children:e("gallery.empty.title")}),o.jsx("p",{className:"gallery__state-body",children:e("gallery.empty.body")})]}),n.kind==="success"&&n.cards.length>0&&o.jsx("section",{className:"gallery__grid","aria-labelledby":"gallery-heading",children:n.cards.map(a=>o.jsx(um,{card:a},a.id))})]})]})},T3e=60*6e4,pb="waitlist-draft",j3e=e=>{const t={savedAt:Date.now(),formState:e};
111try{sessionStorage.setItem(pb,JSON.stringify(t))}catch{}},$j=(e=T3e)=>{let t;try{t=sessionStorage.getItem(pb)}catch{return null}if(!t)return null;let n;try{n=JSON.parse(t)}catch{return null}if(!n||typeof n!="object"||typeof n.savedAt!="number"||typeof n.formState!="object"||n.formState===null)return null;const r=n;if(Date.now()-r.savedAt>e)return null;const s=r.formState;return{requested_teacher_slugs:Array.isArray(s.requested_teacher_slugs)?s.requested_teacher_slugs:[],requested_teacher_other:typeof s.requested_teacher_other=="string"?s.requested_teacher_other:"",name:s.name??"",ranking_platform:s.ranking_platform??"",ranking_value:s.ranking_value??"",playing_duration:s.playing_duration??"",fox_id:s.fox_id??"",ogs_id:s.ogs_id??"",lesson_formats:s.lesson_formats??[],specific_topics:s.specific_topics??[],specific_topics_other:s.specific_topics_other??"",class_sizes:s.class_sizes??[],weekly_timeslots:Array.isArray(s.weekly_timeslots)?s.weekly_timeslots:[],timezone:typeof s.timezone=="string"?s.timezone:"",other_notes:s.other_notes??""}},C3e=()=>{try{sessionStorage.removeItem(pb)}catch{}},GD=()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"}catch{return"UTC"}},E3e=["9d","8d","7d","6d","5d","4d","3d","2d","1d","1k","2k","3k","4k","5k","6k","7k","8k","9k","10k","11k","12k","13k","14k","15k","16k","17k","18k"],z3e=[{code:"mon",key:"waitlist.qc.day.mon"},{code:"tue",key:"waitlist.qc.day.tue"},{code:"wed",key:"waitlist.qc.day.wed"},{code:"thu",key:"waitlist.qc.day.thu"},{code:"fri",key:"waitlist.qc.day.fri"},{code:"sat",key:"waitlist.qc.day.sat"},{code:"sun",key:"waitlist.qc.day.sun"}],Bj=[{code:"morning",key:"waitlist.qc.period.morning"},{code:"afternoon",key:"waitlist.qc.period.afternoon"},{code:"evening",key:"waitlist.qc.period.evening"}],Co={width:"100%",padding:"6px 10px",fontSize:14,border:"1px solid var(--border)",borderRadius:4},wd={display:"flex",alignItems:"center",gap:6,cursor:"pointer",fontSize:14,padding:"2px 0"},qs={display:"block",fontSize:13,fontWeight:600,color:"var(--text)",marginBottom:6},N3e=e=>({requested_teacher_slugs:e?[e]:[],requested_teacher_other:"",name:"",ranking_platform:"",ranking_value:"",playing_duration:"",fox_id:"",ogs_id:"",lesson_formats:[],specific_topics:[],specific_topics_other:"",class_sizes:[],weekly_timeslots:[],timezone:GD(),other_notes:""}),I3e=({teachers:e,preselectedSlug:t,fromAttribution:n,pageOfOriginSlug:r,onSuccess:s})=>{const i=H(),{isAuthenticated:a,isLoading:l,user:c,authFetch:u}=bt(),{login:d}=po(),h=v.useMemo(()=>$j()??N3e(t??null),[]),[f,p]=v.useState(h.requested_teacher_slugs),[m,y]=v.useState(h.requested_teacher_other.length>0),[_,g]=v.useState(h.requested_teacher_other),[b,k]=v.useState(h.name),[x,S]=v.useState(h.ranking_platform),[T,C]=v.useState(h.ranking_value),[E]=v.useState(h.playing_duration),[N,j]=v.useState(h.fox_id),[I,P]=v.useState(h.ogs_id),[O,F]=v.useState(h.lesson_formats),[B,$]=v.useState(h.specific_topics),[D,z]=v.useState(h.specific_topics_other),[R,w]=v.useState(h.class_sizes),[L,M]=v.useState(h.weekly_timeslots),[A,q]=v.useState(h.timezone||GD()),[W,U]=v.useState(h.other_notes),[G,oe]=v.useState(!1),de=v.useRef(!1),Ae=v.useRef(!1),[te,be]=v.useState(null);v.useEffect(()=>{if(a&&c&&!b){const ne=c.name??(c.email?c.email.split("@")[0]:"");ne&&k(ne)}},[a,c,b]),v.useEffect(()=>{te&&be(null)},[b,x,O,R,f,m,_]);const Be=()=>({requested_teacher_slugs:f,requested_teacher_other:m?_:"",name:b,ranking_platform:x,ranking_value:T,playing_duration:E,fox_id:N,ogs_id:I,lesson_formats:O,specific_topics:B,specific_topics_other:D,class_sizes:R,weekly_timeslots:L,timezone:A,other_notes:W}),He=(ne,ge)=>ne.includes(ge)?ne.filter(xe=>xe!==ge):[...ne,ge],Ne=ne=>p(ge=>He(ge,ne)),We=m?_.trim():"",re=f.length>0||We.length>0,Le=()=>re?b.trim()?x?O.length===0?i("waitlist.error.formatRequired"):R.length===0?i("waitlist.error.classSizeRequired"):null:i("waitlist.error.rankingRequired"):i("waitlist.error.nameRequired"):i("waitlist.error.teacherRequired"),Ke=async()=>{if(de.current)return;if(!a||!(c!=null&&c.email)){be(i("waitlist.error.signInRequired")??"Sign in required");return}const ne=Le();if(ne){be(ne);return}de.current=!0,oe(!0),be(null);const ge=O.includes("specific_topics"),xe={teacher_slug:r??null,requested_teacher_slugs:f,requested_teacher_other:We.length>0?We:null,name:b.trim(),ranking_platform:x,ranking_value:T.trim()||null,playing_duration:null,fox_id:N.trim()||null,ogs_id:I.trim()||null,lesson_formats:O,specific_topics:ge?B:null,specific_topics_other:ge&&B.includes("other")&&D.trim()||null,class_
111sizes:R,weekly_timeslots:L,timezone:A||null,other_notes:W.trim()||null,from_attribution:n};try{const V=await u("/api/waitlist",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(xe)});if(V.status===429){be(i("waitlist.rateLimitExceeded"));return}if(!V.ok){const ke=await V.json().catch(()=>null);if(V.status===403&&(ke==null?void 0:ke.code)==="disposable_email"){be(i("errors.disposableEmail"));return}throw new Error((ke==null?void 0:ke.error)??`HTTP ${V.status}`)}const ce=await V.json();ut("waitlist.created",{from:n,entry_id:ce.id,teacher_count:f.length,has_other:We.length>0}),C3e(),s()}catch(V){be(V instanceof Error?V.message:i("waitlist.submitError"))}finally{de.current=!1,oe(!1)}},Se=async()=>{j3e(Be());const ne=n?`&from=${encodeURIComponent(n)}`:"",ge=t?`&teacher=${encodeURIComponent(t)}`:"",xe=`/waitlist?wlResume=1${ne}${ge}`;await d({appState:{returnTo:xe}})};v.useEffect(()=>{if(Ae.current||typeof window>"u"||new URLSearchParams(window.location.search).get("wlResume")!=="1"||!a||!(c!=null&&c.email))return;if($j()===null){const xe=new URL(window.location.href);xe.searchParams.delete("wlResume"),window.history.replaceState({},"",xe.pathname+xe.search);return}Ae.current=!0;const ge=new URL(window.location.href);ge.searchParams.delete("wlResume"),window.history.replaceState({},"",ge.pathname+ge.search),Ke()},[a,c]);const lt=O.includes("specific_topics"),je=B.includes("other");return l?o.jsx("div",{style:{marginTop:24,color:"var(--text-muted)",fontSize:14},children:i("waitlist.intro")}):o.jsxs("div",{className:"waitlist-form",children:[o.jsx("p",{style:{fontSize:14,color:"var(--text-muted)",marginTop:0,marginBottom:16},children:i("waitlist.intro")}),!a&&o.jsx("div",{style:{fontSize:13,color:"var(--text-muted)",marginBottom:16,padding:"8px 12px",background:"var(--surface-2, var(--surface))",borderRadius:4},children:i("waitlist.signInPrompt")}),o.jsxs("div",{className:"field",style:{marginTop:4},children:[o.jsxs("span",{style:qs,children:[i("waitlist.q0.label")," *"]}),o.jsx("span",{style:{fontSize:12,color:"var(--text-subtle)",display:"block",marginBottom:8},children:i("waitlist.q0.hint")}),o.jsx("div",{className:"waitlist-form__teacher-grid",children:e.map(ne=>{const ge=f.includes(ne.slug);return o.jsxs("label",{className:`waitlist-form__teacher-card${ge?" is-selected":""}`,children:[o.jsx("input",{type:"checkbox",className:"waitlist-form__teacher-checkbox",checked:ge,onChange:()=>Ne(ne.slug)}),ne.avatar_url?o.jsx("img",{className:"waitlist-form__teacher-avatar",src:ne.avatar_url,alt:"",referrerPolicy:"no-referrer"}):o.jsx("div",{className:"waitlist-form__teacher-avatar waitlist-form__teacher-avatar--placeholder","aria-hidden":"true",children:ne.display_name.charAt(0).toUpperCase()}),o.jsxs("div",{className:"waitlist-form__teacher-text",children:[o.jsx("div",{className:"waitlist-form__teacher-name",children:ne.display_name}),ne.rank_label&&o.jsx("div",{className:"waitlist-form__teacher-rank",children:ne.rank_label})]})]},ne.id)})}),o.jsxs("label",{className:`waitlist-form__other-row${m?" is-selected":""}`,style:{...wd,marginTop:12},children:[o.jsx("input",{type:"checkbox",checked:m,onChange:()=>{y(ne=>{const ge=!ne;return ge||g(""),ge})}}),i("waitlist.q0.otherLabel")]}),m&&o.jsxs("div",{style:{marginTop:8,paddingLeft:16,borderLeft:"2px solid var(--border)"},children:[o.jsx("label",{htmlFor:"wl-teacher-other",style:{fontSize:12,color:"var(--text-muted)",display:"block",marginBottom:4},children:i("waitlist.q0.otherInputLabel")}),o.jsx("input",{id:"wl-teacher-other",type:"text",value:_,onChange:ne=>g(ne.target.value),placeholder:i("waitlist.q0.otherPlaceholder"),maxLength:200,style:Co})]})]}),a&&c&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"field",style:{marginTop:24},children:[o.jsxs("label",{htmlFor:"wl-name",style:qs,children:[i("waitlist.name.label")," *"]}),o.jsx("input",{id:"wl-name",type:"text",value:b,onChange:ne=>k(ne.target.value),placeholder:i("waitlist.name.placeholder"),maxLength:100,autoComplete:"name",style:Co})]}),o.jsxs("div",{className:"field",style:{marginTop:20},children:[o.jsx("span",{style:qs,children:i("waitlist.email.label")}),o.jsx("p",{style:{margin:0,fontSize:14,color:"var(--text)"},children:c.email}),o.jsx("div",{style:{fontSize:11,color:"var(--text-subtle)",marginTop:2},children:i("waitlist.emailLockedNote")})]})]}),o.jsxs("div",{className:"field",style:{marginTop:20},children:[o.jsxs("span",{style:qs,children:[i("waitlist.q1.label")," *"]}),o.jsx("div",{role:"radiogroup","aria-label":i("waitlist.q1.label"),children:[["fox","waitlist.q1.platform.fox"],["tygem","
111waitlist.q1.platform.tygem"],["ogs","waitlist.q1.platform.ogs"],["aga","waitlist.q1.platform.aga"],["egf","waitlist.q1.platform.egf"],["other","waitlist.q1.platform.other"]].map(([ne,ge])=>o.jsxs("label",{style:wd,children:[o.jsx("input",{type:"radio",name:"wl-ranking-platform",checked:x===ne,onChange:()=>S(ne)}),i(ge)]},ne))}),x!==""&&o.jsxs("div",{style:{marginTop:8},children:[o.jsx("label",{htmlFor:"wl-ranking-value",style:{fontSize:12,color:"var(--text-muted)",display:"block",marginBottom:4},children:i("waitlist.q1.value.label")}),o.jsxs("select",{id:"wl-ranking-value",value:T,onChange:ne=>C(ne.target.value),style:Co,children:[o.jsx("option",{value:"",children:i("waitlist.q1.value.placeholder")}),E3e.map(ne=>o.jsx("option",{value:ne,children:ne},ne))]})]})]}),o.jsxs("div",{className:"field",style:{marginTop:20},children:[o.jsx("label",{htmlFor:"wl-fox-id",style:qs,children:i("waitlist.foxId.label")}),o.jsx("input",{id:"wl-fox-id",type:"text",value:N,onChange:ne=>j(ne.target.value),placeholder:i("waitlist.foxId.placeholder"),maxLength:100,style:Co})]}),o.jsxs("div",{className:"field",style:{marginTop:16},children:[o.jsx("label",{htmlFor:"wl-ogs-id",style:qs,children:i("waitlist.ogsId.label")}),o.jsx("input",{id:"wl-ogs-id",type:"text",value:I,onChange:ne=>P(ne.target.value),placeholder:i("waitlist.ogsId.placeholder"),maxLength:100,style:Co})]}),o.jsxs("div",{className:"field",style:{marginTop:20},children:[o.jsxs("span",{style:qs,children:[i("waitlist.q2.label")," *"]}),o.jsx("span",{style:{fontSize:12,color:"var(--text-subtle)",display:"block",marginBottom:6},children:i("waitlist.q2.hint")}),[["teaching_game","waitlist.q2.teaching_game"],["game_review","waitlist.q2.game_review"],["specific_topics","waitlist.q2.specific_topics"]].map(([ne,ge])=>o.jsxs("label",{style:wd,children:[o.jsx("input",{type:"checkbox",checked:O.includes(ne),onChange:()=>{F(xe=>{const V=He(xe,ne);return ne==="specific_topics"&&!V.includes("specific_topics")&&($([]),z("")),V})}}),i(ge)]},ne)),lt&&o.jsxs("div",{style:{marginTop:8,paddingLeft:16,borderLeft:"2px solid var(--border)"},children:[[["joseki","waitlist.q2.topic.joseki"],["opening","waitlist.q2.topic.opening"],["middlegame","waitlist.q2.topic.middlegame"],["endgame","waitlist.q2.topic.endgame"],["life_death","waitlist.q2.topic.life_death"],["tesuji","waitlist.q2.topic.tesuji"],["shape","waitlist.q2.topic.shape"],["direction","waitlist.q2.topic.direction"],["other","waitlist.q2.topic.other"]].map(([ne,ge])=>o.jsxs("label",{style:wd,children:[o.jsx("input",{type:"checkbox",checked:B.includes(ne),onChange:()=>$(xe=>He(xe,ne))}),i(ge)]},ne)),je&&o.jsxs("div",{style:{marginTop:6},children:[o.jsx("label",{htmlFor:"wl-topic-other",style:{fontSize:12,color:"var(--text-muted)",display:"block",marginBottom:4},children:i("waitlist.q2.topic.otherLabel")}),o.jsx("input",{id:"wl-topic-other",type:"text",value:D,onChange:ne=>z(ne.target.value),maxLength:100,style:Co})]})]})]}),o.jsxs("div",{className:"field",style:{marginTop:20},children:[o.jsxs("span",{style:qs,children:[i("waitlist.q3.label")," *"]}),o.jsx("span",{style:{fontSize:12,color:"var(--text-subtle)",display:"block",marginBottom:6},children:i("waitlist.q3.hint")}),[["one_on_one","waitlist.q3.one_on_one"],["small_group","waitlist.q3.small_group"]].map(([ne,ge])=>o.jsxs("label",{style:wd,children:[o.jsx("input",{type:"checkbox",checked:R.includes(ne),onChange:()=>w(xe=>He(xe,ne))}),i(ge)]},ne))]}),o.jsxs("div",{className:"field",style:{marginTop:20},children:[o.jsx("span",{style:qs,children:i("waitlist.qc.label")}),o.jsx("span",{style:{fontSize:12,color:"var(--text-subtle)",display:"block",marginBottom:8},children:i("waitlist.qc.hint")}),o.jsx("div",{className:"waitlist-form__tz-row",children:o.jsx(im,{value:A,onChange:q,teacherTz:null,labelKey:"waitlist.qc.tz.label"})}),o.jsxs("div",{className:"waitlist-form__timeslot-grid",role:"group","aria-label":i("waitlist.qc.label"),children:[o.jsx("div",{className:"waitlist-form__timeslot-corner","aria-hidden":"true"}),Bj.map(ne=>o.jsx("div",{className:"waitlist-form__timeslot-header",children:i(ne.key)},ne.code)),z3e.map(ne=>o.jsxs(v.Fragment,{children:[o.jsx("div",{className:"waitlist-form__timeslot-row-label",children:i(ne.key)}),Bj.map(ge=>{const xe=`${ne.code}_${ge.code}`,V=L.includes(xe);return o.jsx("label",{className:`waitlist-form__timeslot-cell${V?" is-selected":""}`,"aria-label":`${i(ne.key)} ${i(ge.key)}`,children:o.jsx("input",{type:"checkbox",checked:V,onChange:()=>M(ce=>He(ce,xe))})},ge.code)})]},ne.code))]})]}),o.jsxs("div",{className:"field",style:{marginTop:20},children:[o.jsx("label",{htmlFor:"wl-notes",style:qs,children:i("waitlist.q4.label")}),o.jsx("textarea",{id:"wl-notes",value:W,onChange:ne=>U(ne.target.value),maxLength:200,rows:3,placeholder:i("waitlist.q4.placeholder"),style:{...Co,resize:"vertical",fontFamily:"inherit"}}),o.jsxs("div",{style:{fontSize:11,color:"var(--text-subtle)",textAlign:"right"},children:[W.length,"/200"]})]}),te&&o.jsx("div",{role:"alert",style:{color:"var(--error)",fontSize:14,marginTop:12},children:te}),o.jsx("div",{style:{display:"flex",gap:8,marginTop:20},children:a?o.jsx("button",{onClick:Ke,disabled:G,className:"btn btn--primary",style:{flex:1},children:i(G?"waitlist.submitting":"waitlist.submit")}):o.jsx("button",{onClick:Se,className:"btn btn--primary",style:{flex:1},children:i("waitlist.signInCta")})})]})},R3e=()=>{if(typeof window>"u")return null;const e=new URLSearchParams(window.location.search).get("teacher");return e&&/^[A-Za-z0-9_-]+$/.test(e)?e:null},P3e=()=>{const e=H(),t=di("teachers"),n=o.jsxs(qr,{children:[o.jsx("title",{children:e("seo.waitlist.title")}),o.jsx("meta",{name:"description",content:e("seo.waitlist.description")}),o.jsx("link",{rel:"canonical",href:"https://badukteacher.com/waitlist"}),o.jsx("meta",{property:"og:title",content:e("seo.waitlist.title")}),o.jsx("meta",{property:"og:description",content:e("seo.waitlist.description")}),o.jsx("meta",{property:"og:url",content:"https://badukteacher.com/waitlist"}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{name:"twitter:title",content:e("seo.waitlist.title")}),o.jsx("meta",{name:"twitter:description",content:e("seo.waitlist.description")}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"})]}),[r,s]=v.useState(t?{kind:"success",cards:t}:{kind:"loading"}),[i,a]=v.useState(!1),[l]=v.useState(R3e),[c]=v.useState(()=>v3e());return v.useEffect(()=>{if(t)return;const u=new AbortController;let d=!1;return(async()=>{try{const f=await fetch("/api/teachers",{signal:u.signal});if(!f.ok){d||s({kind:"error"});return}const p=await f.json();d||s({kind:"success",cards:p})}
111catch(f){if(f.name==="AbortError")return;d||s({kind:"error"})}})(),()=>{d=!0,u.abort()}},[t]),i?o.jsxs(o.Fragment,{children:[n,o.jsx("main",{className:"waitlist-page",children:o.jsxs("div",{className:"waitlist-page__panel",children:[o.jsx("h1",{className:"waitlist-page__heading",children:e("waitlist.success.title")}),o.jsx("p",{style:{color:"var(--text-muted)",marginTop:8},children:e("waitlist.success.body")}),o.jsx("a",{href:"/teachers",className:"btn btn--ghost",style:{marginTop:16},children:e("waitlist.page.browseTeachers")})]})})]}):o.jsxs(o.Fragment,{children:[n,o.jsx("main",{className:"waitlist-page",children:o.jsxs("div",{className:"waitlist-page__panel",children:[o.jsx("h1",{className:"waitlist-page__heading",children:e("waitlist.page.heading")}),o.jsx("p",{className:"waitlist-page__subhead",children:e("waitlist.page.subhead")}),r.kind==="loading"&&o.jsx("p",{style:{color:"var(--text-muted)"},role:"status",children:e("waitlist.page.loading")}),r.kind==="error"&&o.jsx("p",{style:{color:"var(--error)"},role:"alert",children:e("waitlist.page.error")}),r.kind==="success"&&o.jsx(I3e,{teachers:r.cards,preselectedSlug:l,pageOfOriginSlug:l,fromAttribution:c,onSuccess:()=>a(!0)})]})})]})},A3e=()=>{const e=H();return o.jsxs(qr,{children:[o.jsx("title",{children:e("seo.teach_apply.title")}),o.jsx("meta",{name:"description",content:e("seo.teach_apply.description")}),o.jsx("meta",{name:"robots",content:"noindex, follow"}),o.jsx("link",{rel:"canonical",href:"https://badukteacher.com/teach/apply"}),o.jsx("meta",{property:"og:title",content:e("seo.teach_apply.title")}),o.jsx("meta",{property:"og:description",content:e("seo.teach_apply.description")}),o.jsx("meta",{property:"og:url",content:"https://badukteacher.com/teach/apply"}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{name:"twitter:title",content:e("seo.teach_apply.title")}),o.jsx("meta",{name:"twitter:description",content:e("seo.teach_apply.description")}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"})]})},L3e=()=>{const e=H(),{authFetch:t}=bt(),[n,r]=v.useState(""),[s,i]=v.useState(""),[a,l]=v.useState(["en"]),[c,u]=v.useState(null),[d,h]=v.useState(!1),[f,p]=v.useState(!1),m=async g=>{g.preventDefault(),u(null),h(!0);try{const b=await t("/api/teach/apply",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({display_name:n.trim(),rank_label:s.trim(),languages:a})});if(!b.ok&&b.status!==403){u(e("teach.apply.error.network")),h(!1);return}const k=await b.json();if(b.status===403&&"code"in k&&k.code==="disposable_email"){u(e("errors.disposableEmail")),h(!1);return}if(b.status===403&&"code"in k&&k.code==="email_not_verified"){p(!0),h(!1);return}if("status"in k){if(k.status==="pending"){window.location.assign("/teach/pending");return}if(k.status==="approved"){window.location.assign("/");return}}window.location.assign("/teach/pending")}catch{u(e("teach.apply.error.network")),h(!1)}};if(f)return o.jsx(Cl,{});const y=g=>{l(b=>b.includes(g)?b.filter(k=>k!==g):[...b,g])},_=n.trim().length>=Si.displayNameMin&&n.trim().length<=Si.displayNameMax&&s.trim().length>=Si.rankLabelMin&&s.trim().length<=Si.rankLabelMax&&a.length>=Si.languagesMin&&a.length<=Si.languagesMax;return o.jsxs("div",{className:"teach-apply",children:[o.jsx("h1",{children:e("teach.apply.title")}),o.jsx("p",{children:e("teach.apply.subtitle")}),o.jsxs("form",{onSubmit:m,children:[o.jsxs("label",{children:[e("teach.apply.field.displayName"),o.jsx("input",{value:n,onChange:g=>r(g.target.value),maxLength:Si.displayNameMax,required:!0})]}),o.jsxs("label",{children:[e("teach.apply.field.rankLabel"),o.jsx("input",{value:s,onChange:g=>i(g.target.value),maxLength:Si.rankLabelMax,required:!0})]}),o.jsxs("fieldset",{children:[o.jsx("legend",{children:e("teach.apply.field.languages")}),Si.supportedLanguages.map(g=>o.jsxs("label",{children:[o.jsx("input",{type:"checkbox",checked:a.includes(g),onChange:()=>y(g)}),vl(g,e)]},g))]}),c&&o.jsx("div",{role:"alert",children:c}),o.jsx("button",{type:"submit",className:"btn btn--accent",disabled:!_||d,children:e("teach.apply.submit")})]})]})},M3e=e=>e==="none"||e==="pending"||e==="approved"||e==="rejected",O3e=()=>{const e=H(),{authFetch:t}=bt(),[n,r]=v.useState({source:t,status:"loading"}),[s,i]=v.useState(!1),a=v.useRef(()=>{}),l=v.useRef(null),c=v.useRef(null),u=v.useRef(!1),d=n.source===t?n.status:"loading";return v.useEffect(()=>{let h=!1,f=!1,p=!1,m=null;r({source:t,status:"loading"}),i(!1);const y=async()=>
111{if(!(h||f||p)){f=!0,m=new AbortController,i(!0);try{const g=await t("/api/me",{signal:m.signal});if(!g.ok)throw new Error("Application status unavailable");const b=await g.json(),k=typeof b=="object"&&b!==null&&"teacher_status"in b?b.teacher_status:null;if(!M3e(k))throw new Error("Invalid application status");if(h)return;u.current=l.current!==null&&document.activeElement===l.current,r({source:t,status:k}),k==="approved"&&(p=!0,window.location.assign("/"))}catch{h||r({source:t,status:"error"})}finally{f=!1,h||i(!1)}}};a.current=()=>{y()},y();const _=window.setInterval(()=>{y()},3e4);return()=>{h=!0,m==null||m.abort(),window.clearInterval(_),a.current=()=>{}}},[t]),v.useLayoutEffect(()=>{var h;d!=="loading"&&d!=="error"&&u.current&&(u.current=!1,(h=c.current)==null||h.focus())},[d]),o.jsxs("div",{className:"teach-pending",children:[o.jsx("h1",{ref:c,tabIndex:-1,children:e(d==="pending"?"teach.pending.title":d==="rejected"?"teach.rejected.title":"teach.status.title")}),d==="loading"&&o.jsx("p",{role:"status",children:e("teach.status.loading")}),d==="error"&&o.jsxs("div",{className:"schedule-editor-recovery",children:[o.jsx("p",{role:"alert",children:e("teach.status.loadError")}),o.jsx("button",{ref:l,className:"btn btn--ghost","aria-disabled":s,onClick:()=>a.current(),children:e("teach.status.retry")}),s&&o.jsx("p",{role:"status",children:e("teach.status.loading")})]}),d==="none"&&o.jsxs(o.Fragment,{children:[o.jsx("p",{children:e("teach.status.none")}),o.jsx("a",{className:"btn btn--accent",href:"/teach/apply",children:e("teach.status.apply")})]}),d==="pending"&&o.jsxs(o.Fragment,{children:[o.jsx("p",{children:e("teach.pending.body")}),o.jsx("p",{children:e("teach.pending.subtitle")})]}),d==="rejected"&&o.jsx("p",{children:e("teach.status.rejectedBody")}),d==="approved"&&o.jsx("p",{role:"status",children:e("teach.status.redirecting")})]})},D3e="modulepreload",W3e=function(e){return"/"+e},Uj={},F3e=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=W3e(c),c in Uj)return;Uj[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":D3e,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((f,p)=>{h.addEventListener("load",f),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return s.then(a=>{for(const l of a||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},$3e=v.lazy(()=>F3e(()=>import("./TeachWithUsGlobeCanvas-C3NTqLjX.js"),[])),B3e=()=>{try{const e=document.createElement("canvas"),t=e.getContext("webgl")??e.getContext("experimental-webgl");if(!t)return"no";const n=t.getExtension("WEBGL_lose_context");return n==null||n.loseContext(),"yes"}catch{return"no"}},U3e=()=>{const e=a9("(prefers-reduced-motion: reduce)"),t=a9("(max-width: 1023px), (pointer: coarse)"),n=v.useRef(null),[r,s]=v.useState(!1),[i,a]=v.useState("unknown"),[l,c]=v.useState(!1),u=e||t;if(v.useEffect(()=>{if(u||typeof window>"u"||typeof window.IntersectionObserver!="function")return;const h=n.current;if(!h)return;const f=new window.IntersectionObserver(p=>{for(const m of p)if(m.isIntersecting){s(!0),f.disconnect();return}},{rootMargin:"200px"});return f.observe(h),()=>{f.disconnect()}},[u]),v.useEffect(()=>{u||r&&i==="unknown"&&a(B3e())},[u,r,i]),u)return null;const d=r&&i==="yes"&&!l;return o.jsx("div",{ref:n,className:"landing-teach__globe","data-near-viewport":r?"true":"false",children:d&&o.jsx(v.Suspense,{fallback:null,children:o.jsx($3e,{onTextureFailed:()=>c(!0)})})})},qj="[email protected]",q3e="Teaching on Baduk Teacher",H3e="https://x.com/baduk_teacher",G3e=[{id:"ko",label:"한국어"},{id:"zh",label:"中文"},{id:"ja",label:"日本語"},{id:"en",label:"English"},{id:"fr",label:"Français"},{id:"de",label:"Deutsch"},{id:"es",label:"Español"},{id:"pt",label:"Português"},{id:"ru",label:"Русский"}],K3e=({label:e})=>o.jsxs("div",{className:"landing-teach__viz","aria-hidden":"true",children:[o.jsx("span",{className:"landing-teach__viz-caption",children:e}),o.jsx("div",{className:"landing-teach__viz-row",children:G3e.map(t=>o.jsx("span",{className:`landing-teach__viz-chip landing-teach__viz-chip--${t.id}
111`,lang:t.id,children:t.label},t.id))})]}),G4=({n:e,tag:t,title:n,body:r})=>o.jsxs("article",{className:"landing-teach__item",children:[o.jsxs("div",{className:"landing-teach__item-head",children:[o.jsx("span",{className:"landing-teach__item-num",children:e}),o.jsx("span",{className:"landing-teach__item-tag",children:t})]}),o.jsx("h3",{className:"landing-teach__item-title",children:n}),o.jsx("p",{className:"landing-teach__item-body",children:r})]}),V3e=()=>o.jsxs("svg",{className:"landing-teach__cta-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:[o.jsx("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),o.jsx("path",{d:"M3 7l9 6 9-6"})]}),Y3e=()=>o.jsx("svg",{className:"landing-teach__cta-icon",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",focusable:"false",children:o.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),J3e=()=>{const e=H(),t=a=>()=>{ut("landing.teach_contact_clicked",{channel:a}),a==="email"&&sde()},n=`mailto:${qj}?subject=${encodeURIComponent(q3e)}`,r="https://badukteacher.com/teach-with-us",s=e("seo.teachWithUs.title"),i=e("seo.teachWithUs.description");return o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:s}),o.jsx("meta",{name:"description",content:i}),o.jsx("link",{rel:"canonical",href:r}),o.jsx("meta",{property:"og:title",content:s}),o.jsx("meta",{property:"og:description",content:i}),o.jsx("meta",{property:"og:url",content:r}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{name:"twitter:title",content:s}),o.jsx("meta",{name:"twitter:description",content:i}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"})]}),o.jsx("main",{id:"main-content",className:"teach-with-us",children:o.jsx("section",{className:"landing-teach","aria-labelledby":"teach-heading",children:o.jsxs("div",{className:"landing-teach__panel",children:[o.jsxs("div",{className:"landing-teach__header",children:[o.jsxs("div",{className:"landing-teach__eyebrow",children:["— ",e("landing.teach.eyebrow")]}),o.jsx("h1",{className:"landing-teach__heading",id:"teach-heading",children:e("landing.teach.heading")}),o.jsx("p",{className:"landing-teach__lede",children:e("landing.teach.lede")})]}),o.jsx(K3e,{label:e("landing.teach.viz.label")}),o.jsxs("div",{className:"landing-teach__grid",children:[o.jsx(G4,{n:"01",tag:e("landing.teach.item1.tag"),title:e("landing.teach.item1.title"),body:e("landing.teach.item1.body")}),o.jsx(G4,{n:"02",tag:e("landing.teach.item2.tag"),title:e("landing.teach.item2.title"),body:e("landing.teach.item2.body")}),o.jsx(G4,{n:"03",tag:e("landing.teach.item3.tag"),title:e("landing.teach.item3.title"),body:e("landing.teach.item3.body")})]}),o.jsxs("div",{className:"landing-teach__cta-wrap",children:[o.jsxs("div",{className:"landing-teach__cta-row",children:[o.jsxs("a",{className:"btn btn--accent landing-teach__cta",href:n,onClick:t("email"),children:[o.jsx(V3e,{}),e("landing.teach.contact.email")]}),o.jsxs("a",{className:"btn btn--ghost landing-teach__cta",href:H3e,target:"_blank",rel:"noopener noreferrer",onClick:t("x"),children:[o.jsx(Y3e,{}),e("landing.teach.contact.xDm")]})]}),o.jsx("a",{className:"landing-teach__cta-address",href:n,onClick:t("email"),children:qj}),o.jsx("p",{className:"landing-teach__cta-hint",children:e("landing.teach.contact.hint")})]}),o.jsx(U3e,{})]})})})]})},K4=200,xd=mt(e=>({messages:[],conversations:[],activeConversationId:null,appendMessage:t=>e(n=>{if(n.messages.some(s=>s.id===t.id))return{};const r=[...n.messages,t];return r.length>K4&&r.splice(0,r.length-K4),{messages:r}}),attachTranslation:(t,n)=>e(r=>({messages:r.messages.map(s=>s.id===t?{...s,translation_status:n.translation_status,content_translated:n.content_translated}:s)})),hydrateMessages:t=>e(()=>({messages:t.slice(-K4)})),setConversations:t=>e(()=>({conversations:t})),bumpConversationPreview:(t,n,r)=>e(s=>({conversations:s.conversations.map(i=>i.id===t?{...i,unread_preview:n,last_message_at:r}:i)})),markConversationLocallySeen:t=>e(n=>({conversations:n.conversations.map(r=>r.id===t?{...r,awaiting_reply:!1}:r)}
111)),setActiveConversation:t=>e(()=>({activeConversationId:t})),reset:()=>e(()=>({messages:[],conversations:[],activeConversationId:null}))}));class Z3e{constructor(){se(this,"ws",null);se(this,"mode",null);se(this,"state","idle");se(this,"listeners",new Set);se(this,"stateListeners",new Set);se(this,"generation",0);se(this,"reconnectAttempt",0);se(this,"authRefreshUsed",!1);se(this,"reconnectTimer",null)}onMessage(t){return this.listeners.add(t),()=>this.listeners.delete(t)}onState(t){return this.stateListeners.add(t),t(this.state),()=>this.stateListeners.delete(t)}connect(t){this.cancelConnection(),this.mode=t,this.reconnectAttempt=0,this.authRefreshUsed=!1,this.openSocket(!1)}retry(){this.mode&&(this.cancelConnection(),this.reconnectAttempt=1,this.authRefreshUsed=!0,this.openSocket(!0))}close(){this.cancelConnection(),this.mode=null,this.setState("idle")}cancelConnection(){this.generation+=1,this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectTimer=null;const t=this.ws;if(this.ws=null,t){t.onopen=t.onmessage=t.onclose=t.onerror=null;try{t.close()}catch{}}}disconnect(){this.cancelConnection(),this.setState("disconnected")}async openSocket(t){const n=this.mode;if(!n)return;const r=++this.generation;this.setState(this.reconnectAttempt>0?"reconnecting":"connecting");try{const s=n.kind==="student"?null:await n.getAuth0Token(t);if(r!==this.generation||this.mode!==n)return;const i=window.location.protocol==="https:"?"wss":"ws",a=new WebSocket(`${i}://${window.location.host}/ws/chat`);this.ws=a;const l=()=>r===this.generation&&this.ws===a;a.onopen=()=>{if(!l())return;const c=n.kind==="student"?{t:"hello.student",conversationId:n.conversationId,conversationToken:n.conversationToken}:n.kind==="student-auth0"?{t:"hello.student.auth0",conversationId:n.conversationId,auth0Token:s}:{t:"hello.teacher",auth0Token:s};a.send(JSON.stringify(c))},a.onmessage=c=>{if(!l())return;let u;try{u=JSON.parse(c.data)}catch{return}if(!(!u||typeof u!="object")){if(u.t==="hello.ok")this.reconnectAttempt=0,this.authRefreshUsed=!1,this.setState("connected");else if(u.t==="hello.err"){if(u.code==="unauthorized"&&n.kind!=="student"&&!this.authRefreshUsed){this.authRefreshUsed=!0,this.cancelConnection(),this.scheduleReconnect(!0);return}this.disconnect()}for(const d of this.listeners)d(u)}},a.onclose=()=>{l()&&(this.cancelConnection(),this.scheduleReconnect(!1))},a.onerror=()=>{}}catch{r===this.generation&&this.disconnect()}}scheduleReconnect(t){if(!this.mode)return;this.setState("reconnecting"),this.reconnectAttempt+=1;const n=this.generation,r=Math.min(3e4,500*2**(this.reconnectAttempt-1));this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,!(n!==this.generation||!this.mode)&&this.openSocket(t)},r)}setState(t){if(this.state!==t){this.state=t;for(const n of this.stateListeners)n(t)}}}const Lr=new Z3e;class f1 extends Error{constructor(t,n){super(n),this.error=t,this.error_description=n,Object.setPrototypeOf(this,f1.prototype)}static fromPayload(t){let{error:n,error_description:r}=t;return new f1(n,r)}}class mb extends f1{constructor(){super("timeout","Timeout"),Object.setPrototypeOf(this,mb.prototype)}}class gb extends mb{constructor(t){super(),this.popup=t,Object.setPrototypeOf(this,gb.prototype)}}class yb extends f1{constructor(t){super("cancelled","Popup closed"),this.popup=t,Object.setPrototypeOf(this,yb.prototype)}}var bl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},KD={},vb={};Object.defineProperty(vb,"__esModule",{value:!0});var X3e=function(){function e(){var t=this;this.locked=new Map,this.addToLocked=function(n,r){var s=t.locked.get(n);s===void 0?r===void 0?t.locked.set(n,[]):t.locked.set(n,[r]):r!==void 0&&(s.unshift(r),t.locked.set(n,s))},this.isLocked=function(n){return t.locked.has(n)},this.lock=function(n){return new Promise(function(r,s){t.isLocked(n)?t.addToLocked(n,r):(t.addToLocked(n),r())})},this.unlock=function(n){var r=t.locked.get(n);if(r!==void 0&&r.length!==0){var s=r.pop();t.locked.set(n,r),s!==void 0&&setTimeout(s,0)}else t.locked.delete(n)}}return e.getInstance=function(){return e.instance===void 0&&(e.instance=new e),e.instance},e}();vb.default=function(){return X3e.getInstance()};var js=bl&&bl.__awaiter||function(e,t,n,r){return new(n||(n=Prom
vendor: 5,409 bytes, line 111
111ise))(function(s,i){function a(u){try{c(r.next(u))}catch(d){i(d)}}function l(u){try{c(r.throw(u))}catch(d){i(d)}}function c(u){u.done?s(u.value):new n(function(d){d(u.value)}).then(a,l)}c((r=r.apply(e,t||[])).next())})},Cs=bl&&bl.__generator||function(e,t){var n,r,s,i,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(c){return function(u){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(s=2&d[0]?r.return:d[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,d[1])).done)return s;switch(r=0,s&&(d=[2&d[0],s.value]),d[0]){case 0:case 1:s=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,r=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(s=a.trys,!((s=s.length>0&&s[s.length-1])||d[0]!==6&&d[0]!==2)){a=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){a.label=d[1];break}if(d[0]===6&&a.label<s[1]){a.label=s[1],s=d;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(d);break}s[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(e,a)}catch(h){d=[6,h],r=0}finally{n=s=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([c,u])}}},Sd=bl;Object.defineProperty(KD,"__esModule",{value:!0});var Vl=vb,V4="browser-tabs-lock-key",h2={key:function(e){return js(Sd,void 0,void 0,function(){return Cs(this,function(t){throw new Error("Unsupported")})})},getItem:function(e){return js(Sd,void 0,void 0,function(){return Cs(this,function(t){throw new Error("Unsupported")})})},clear:function(){return js(Sd,void 0,void 0,function(){return Cs(this,function(e){return[2,window.localStorage.clear()]})})},removeItem:function(e){return js(Sd,void 0,void 0,function(){return Cs(this,function(t){throw new Error("Unsupported")})})},setItem:function(e,t){return js(Sd,void 0,void 0,function(){return Cs(this,function(n){throw new Error("Unsupported")})})},keySync:function(e){return window.localStorage.key(e)},getItemSync:function(e){return window.localStorage.getItem(e)},clearSync:function(){return window.localStorage.clear()},removeItemSync:function(e){return window.localStorage.removeItem(e)},setItemSync:function(e,t){return window.localStorage.setItem(e,t)}};function Y4(e){return new Promise(function(t){return setTimeout(t,e)})}function J4(e){for(var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",n="",r=0;r<e;r++)n+=t[Math.floor(61*Math.random())];return n}var Q3e=function(){function e(t){this.acquiredIatSet=new Set,this.storageHandler=void 0,this.id=Date.now().toString()+J4(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),this.storageHandler=t,e.waiters===void 0&&(e.waiters=[])}return e.prototype.acquireLock=function(t,n){return n===void 0&&(n=5e3),js(this,void 0,void 0,function(){var r,s,i,a,l,c,u;return Cs(this,function(d){switch(d.label){case 0:r=Date.now()+J4(4),s=Date.now()+n,i=V4+"-"+t,a=this.storageHandler===void 0?h2:this.storageHandler,d.label=1;case 1:return Date.now()<s?[4,Y4(30)]:[3,8];case 2:return d.sent(),a.getItemSync(i)!==null?[3,5]:(l=this.id+"-"+t+"-"+r,[4,Y4(Math.floor(25*Math.random()))]);case 3:return d.sent(),a.setItemSync(i,JSON.stringify({id:this.id,iat:r,timeoutKey:l,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,Y4(30)];case 4:return d.sent(),(c=a.getItemSync(i))!==null&&(u=JSON.parse(c)).id===this.id&&u.iat===r?(this.acquiredIatSet.add(r),this.refreshLockWhileAcquired(i,r),[2,!0]):[3,7];case 5:return e.lockCorrector(this.storageHandler===void 0?h2:this.storageHandler),[4,this.waitForSomethingToChange(s)];case 6:d.sent(),d.label=7;case 7:return r=Date.now()+J4(4),[3,1];case 8:return[2,!1]}})})},e.prototype.refreshLockWhileAcquired=function(t,n){return js(this,void 0,void 0,function(){var r=this;return Cs(this,function(s){return setTimeout(function(){return js(r,void 0,void 0,function(){var i,a,l;return Cs(this,function(c){switch(c.label){case 0:return[4,Vl.default().lock(n)];case 1:return c.sent(),this.acquiredIatSet.has(n)?(i=this.storageHandler===void 0?h2:this.storageHandler,(a=i.getItemSync(t))===null?(Vl.default().unlock(n),[2]):((l=JSON.parse(a)).timeRefreshed=Date.now(),i.setItemSync(t,JSON.stringify(l)),Vl.default().unlock(n),this.refreshLockWhileAcquired(t,n),[2])):(Vl.default().unlock(n),[2])}})})},1e3),[2]})})},e.prototype.waitForSomethingToChange=function(t){return js(this,void 0,void 0,function(){return Cs(this,function(n){switch(n.label){case 0:return[4,new Promise(function(r){var s=!1,i=Date.now(),a=!1;function l(){if(a||(window.removeEventListener("storage",l),e.removeFromWaiting(l),clearTimeout(c),a=!0),!s){s=!0;var u=50-(Date.now()-i);u>0?setTimeout(r,u):r(null)}}window.addEventListener("storage",l),e.addToWaiting(l);var c=setTimeout(l,Math.max(0,t-Date.now()))})];case 1:return n.sent(),[2]}})})},e.addToWaiting=function(t){this.removeFromWaiting(t),e.waiters!==void 0&&e.waiters.push(t)},e.removeFromWaiting=function(t){e.waiters!==void 0&&(e.waiters=e.waiters.filter(function(n){return n!==t}))},e.notifyWaiters=function(){e.waiters!==void 0&&e.waiters.slice().forEac
111h(function(t){return t()})},e.prototype.releaseLock=function(t){return js(this,void 0,void 0,function(){return Cs(this,function(n){switch(n.label){case 0:return[4,this.releaseLock__private__(t)];case 1:return[2,n.sent()]}})})},e.prototype.releaseLock__private__=function(t){return js(this,void 0,void 0,function(){var n,r,s,i;return Cs(this,function(a){switch(a.label){case 0:return n=this.storageHandler===void 0?h2:this.storageHandler,r=V4+"-"+t,(s=n.getItemSync(r))===null?[2]:(i=JSON.parse(s)).id!==this.id?[3,2]:[4,Vl.default().lock(i.iat)];case 1:a.sent(),this.acquiredIatSet.delete(i.iat),n.removeItemSync(r),Vl.default().unlock(i.iat),e.notifyWaiters(),a.label=2;case 2:return[2]}})})},e.lockCorrector=function(t){for(var n=Date.now()-5e3,r=t,s=[],i=0;;){var a=r.keySync(i);if(a===null)break;s.push(a),i++}for(var l=!1,c=0;c<s.length;c++){var u=s[c];if(u.includes(V4)){var d=r.getItemSync(u);if(d!==null){var h=JSON.parse(d);(h.timeRefreshed===void 0&&h.timeAcquired<n||h.timeRefreshed!==void 0&&h.timeRefreshed<n)&&(r.removeItemSync(u),l=!0)}}}l&&e.notifyWaiters()},e.waiters=void 0,e}();KD.default=Q3e;new TextEncoder;new TextDecoder;var Hj=bl&&bl.__assign||function(){return Hj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},Hj.apply(this,arguments)},Gj;(function(e){e.Code="code",e.ConnectCode="connect_code"})(Gj||(Gj={}));var Kj;(function(e){e.Bearer="Bearer",e.DPoP="DPoP"})(Kj||(Kj={}));function Ze(e,t,n){return(t=function(r){var s=function(i,a){if(typeof i!="object"||!i)return i;var l=i[Symbol.toPrimitive];if(l!==void 0){var c=l.call(i,a);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}(r,"string");return typeof s=="symbol"?s:s+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f2,Z4;typeof navigator>"u"||(f2=navigator.userAgent)===null||f2===void 0||(Z4=f2.startsWith)===null||Z4===void 0||Z4.call(f2,"Mozilla/5.0 ");new TextEncoder;new TextDecoder;new TextEncoder;new TextDecoder;class or extends Error{constructor(t,n){var r;super(t,n),Ze(this,"code","ERR_JOSE_GENERIC"),this.name=this.constructor.name,(r=Error.captureStackTrace)===null||r===void 0||r.call(Error,this,this.constructor)}}Ze(or,"code","ERR_JOSE_GENERIC");class eme extends or{constructor(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"unspecified",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unspecified";super(t,{cause:{claim:r,reason:s,payload:n}}),Ze(this,"code","ERR_JWT_CLAIM_VALIDATION_FAILED"),Ze(this,"claim",void 0),Ze(this,"reason",void 0),Ze(this,"payload",void 0),this.claim=r,this.reason=s,this.payload=n}}Ze(eme,"code","ERR_JWT_CLAIM_VALIDATION_FAILED");class tme extends or{constructor(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"unspecified",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unspecified";super(t,{cause:{claim:r,reason:s,payload:n}}),Ze(this,"code","ERR_JWT_EXPIRED"),Ze(this,"claim",void 0),Ze(this,"reason",void 0),Ze(this,"payload",void 0),this.claim=r,this.reason=s,this.payload=n}}Ze(tme,"code","ERR_JWT_EXPIRED");class nme extends or{constructor(){super(...arguments),Ze(this,"code","ERR_JOSE_ALG_NOT_ALLOWED")}}Ze(nme,"code","ERR_JOSE_ALG_NOT_ALLOWED");class rme extends or{constructor(){super(...arguments),Ze(this,"code","ERR_JOSE_NOT_SUPPORTED")}}Ze(rme,"code","ERR_JOSE_NOT_SUPPORTED");Ze(class extends or{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"decryption operation failed",arguments.length>1?arguments[1]:void 0),Ze(this,"code","ERR_JWE_DECRYPTION_FAILED")}},"code","ERR_JWE_DECRYPTION_FAILED");Ze(class extends or{constructor(){super(...arguments),Ze(this,"code","ERR_JWE_INVALID")}},"code","ERR_JWE_INVALID");class sme extends or{constructor(){super(...arguments),Ze(this,"code","ERR_JWS_INVALID")}}Ze(sme,"code","ERR_JWS_INVALID");class ime extends or{constructor(){super(...arguments),Ze(this,"code","
111ERR_JWT_INVALID")}}Ze(ime,"code","ERR_JWT_INVALID");Ze(class extends or{constructor(){super(...arguments),Ze(this,"code","ERR_JWK_INVALID")}},"code","ERR_JWK_INVALID");class ame extends or{constructor(){super(...arguments),Ze(this,"code","ERR_JWKS_INVALID")}}Ze(ame,"code","ERR_JWKS_INVALID");class ome extends or{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"no applicable key found in the JSON Web Key Set",arguments.length>1?arguments[1]:void 0),Ze(this,"code","ERR_JWKS_NO_MATCHING_KEY")}}Ze(ome,"code","ERR_JWKS_NO_MATCHING_KEY");class lme extends or{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"multiple matching keys found in the JSON Web Key Set",arguments.length>1?arguments[1]:void 0),Ze(this,Symbol.asyncIterator,void 0),Ze(this,"code","ERR_JWKS_MULTIPLE_MATCHING_KEYS")}}Ze(lme,"code","ERR_JWKS_MULTIPLE_MATCHING_KEYS");class cme extends or{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"request timed out",arguments.length>1?arguments[1]:void 0),Ze(this,"code","ERR_JWKS_TIMEOUT")}}Ze(cme,"code","ERR_JWKS_TIMEOUT");class ume extends or{constructor(){super(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"signature verification failed",arguments.length>1?arguments[1]:void 0),Ze(this,"code","ERR_JWS_SIGNATURE_VERIFICATION_FAILED")}}Ze(ume,"code","ERR_JWS_SIGNATURE_VERIFICATION_FAILED");var p2,X4;typeof navigator>"u"||(p2=navigator.userAgent)===null||p2===void 0||(X4=p2.startsWith)===null||X4===void 0||X4.call(p2,"Mozilla/5.0 ");new TextDecoder;var m2,Q4;typeof navigator>"u"||(m2=navigator.userAgent)===null||m2===void 0||(Q4=m2.startsWith)===null||Q4===void 0||Q4.call(m2,"Mozilla/5.0 ");Object.freeze(new Set(["grant_type","client_id","client_secret","client_assertion","client_assertion_type","subject_token","subject_token_type","requested_token_type","actor_token","actor_token_type","audience","aud","resource","resources","resource_indicator","scope","connection","login_hint","organization","assertion"]));const eg=e=>`bt.chat.draft.${e}`,dme=e=>{if(e instanceof yb||e instanceof gb)return!0;if(e instanceof Error){const t=e.message.toLowerCase();return t.includes("popup")&&(t.includes("blocked")||t.includes("closed")||t.includes("timeout"))}return!1},hme=(e,{onMessageSent:t,locale:n,pageMountedAtMs:r,honeypotValue:s})=>{const{isAuthenticated:i,isLoading:a,user:l,getAccessTokenSilently:c}=ar(),{login:u,loginPopup:d}=po(),h=v.useRef(!1),[f,p]=v.useState(()=>typeof window>"u"?"":window.localStorage.getItem(eg(e))??""),[m,y]=v.useState(()=>a?{kind:"prechat"}:i&&(l==null?void 0:l.email_verified)===!0?{kind:"chat-active"}:i&&(l==null?void 0:l.email_verified)===!1?{kind:"verify-pending",email:(l==null?void 0:l.email)??null}:{kind:"prechat"});v.useEffect(()=>{typeof window>"u"||(f.length>0?window.localStorage.setItem(eg(e),f):window.localStorage.removeItem(eg(e)))},[f,e]);const _=v.useCallback(async()=>{const x=f.trim();if(x.length===0)return;let S;try{S=await c()}catch{y({kind:"error",reason:"generic"});return}const T=Date.now()-r,C=s??"",E=await she(e,C.length>0?{content:x,student_locale:n,fill_duration_ms:T,website:C}:{content:x,student_locale:n,fill_duration_ms:T},S);E.kind==="ok"?(t(E.message,E.conversationId),p(""),y({kind:"chat-active"})):E.kind==="email_unverified"?y({kind:"verify-pending",email:(l==null?void 0:l.email)??null}):E.kind==="rate_limited"?y(E.retryAfterSec!==void 0?{kind:"error",reason:"rate_limited",retryAfterSec:E.retryAfterSec}:{kind:"error",reason:"rate_limited"}):y({kind:"error",reason:"generic"})},[f,c,s,n,t,r,e,l==null?void 0:l.email]);v.useEffect(()=>{a||(i&&(l==null?void 0:l.email_verified)===!0?(m.kind!=="chat-active"&&y({kind:"chat-active"}),h.current&&(h.current=!1,_())):i&&(l==null?void 0:l.email_verified)===!1&&m.kind==="prechat"&&y({kind:"verify-pending",email:(l==null?void 0:l.email)??null}))},[i,a,l==null?void 0:l.email_verified,l==null?void 0:l.email,m.kind,_]);const g=v.useCallback(async()=>{if(f.trim().length!==0&&!(m.kind==="verify-pending"||m.kind==="auth-pending")){if(!i){h.current=!0,y({kind:"auth-pending"});try{await d(),await c({cacheMode:"off"}).catch(()=>{})}catch(x){h.current=!1,y(dme(x)?{kind:"popup-blocked"}:{kind:"prechat"})}return}if((l==null?void 0:l.email_verified)!==!0){y({kind:"verify-pending",email:(l==null?void 0:l.email)??null});return}await _()}},[f,c,i,d,_,m.kind,l==null?void 0:l.email,l==null?void 0:l.email_verified]),b=v.useCallback(async()=>{try{await c({cacheMode:"off"}),(l==null?void 0:l.email_verified)===!0&&await _()}catch{}},[c,_,l==null?void 0:l.email_verified]),k=v.useCallback(async()=>{await u({appState:{returnTo:`/chat/${e}`,draftMessage:f}})},[f,u,e]);return{state:m,draft:f,setDraft:p,onSendClicked:g,onRecheckVerification:b,onPopupBlockedFallback:k,setState:y}},fme=/(?:https?:\/\/|www\.)[^\s<>"']+/gi,pme=/[.,!?;:]+$/,mme=e=>{var s;let t=e,n="";const r=((s=t.match(pme))==null?void 0:s[0])??"";for(r&&(t=t.slice(0,-r.length),n=r+n);t.endsWith(")");){const i=(t.match(/\(/g)??[]).length;if((t.match(/\)/g)??[]).length<=i)break;t=t.slice(0,-1),n=`)${n}`}return{urlText:t,trailing:n}},gme=e=>e.toLowerCase().startsWith("www.")?`https://${e}`:e,yme=e=>{try{const t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}},vme=(e,t)=>
111{const n=[];let r=0;for(const s of e.matchAll(fme)){const i=s[0],a=s.index??0;a>r&&n.push(e.slice(r,a));const{urlText:l,trailing:c}=mme(i),u=gme(l);l.length>0&&yme(u)?n.push(o.jsx("a",{className:t,href:u,target:"_blank",rel:"noopener noreferrer",children:l},`${a}-${l}`)):n.push(i),c&&n.push(c),r=a+i.length}return r<e.length&&n.push(e.slice(r)),n},ju=({text:e,className:t,linkClassName:n})=>o.jsx("div",{className:t,children:vme(e,n)}),g2=e=>String(e).padStart(2,"0"),bme=e=>{const t=new Date(e);return Number.isNaN(t.getTime())?"":[`${t.getFullYear()}-${g2(t.getMonth()+1)}-${g2(t.getDate())}`,`${g2(t.getHours())}:${g2(t.getMinutes())}`].join(" ")},bb=({createdAt:e,className:t})=>{const n=bme(e);return n?o.jsx("time",{className:t,dateTime:e,children:n}):null},_me=1e3,kme=({slug:e})=>{const t=H(),n=vt(O=>O.uiLang),{isAuthenticated:r,getAccessTokenSilently:s,user:i}=ar(),[a,l]=v.useState(null),[c,u]=v.useState(!0),[d,h]=v.useState(null),[f,p]=v.useState(null),m=xd(O=>O.messages),y=xd(O=>O.appendMessage),_=xd(O=>O.attachTranslation),g=xd(O=>O.hydrateMessages),b=xd(O=>O.reset),k=v.useRef(Date.now()),[x,S]=v.useState(""),T=v.useCallback((O,F)=>{y(O),p(F)},[y]),C=hme(e,{pageMountedAtMs:k.current,locale:n,onMessageSent:T,honeypotValue:x});v.useEffect(()=>{let O=!1;return(async()=>{u(!0),h(null);try{const B=await fetch(`/api/teachers/${encodeURIComponent(e)}`);
111if(B.status===404){O||h(t("chatpage.errorTeacherNotFound"));return}if(!B.ok)throw new Error(`HTTP ${B.status}`);const $=await B.json();O||l($)}catch{O||h(t("chatpage.errorGeneric"))}finally{O||u(!1)}})(),()=>{O=!0}},[e]),v.useEffect(()=>{if(!r||(i==null?void 0:i.email_verified)!==!0)return;let O=!1;return(async()=>{try{const B=await s(),$=await X1e(e,B);if(O||f!==null)return;$.conversation&&(p($.conversation.id),g($.conversation.messages))}catch{}})(),()=>{O=!0}},[r,i==null?void 0:i.email_verified,e,f]),v.useEffect(()=>{if(!f||!r||(i==null?void 0:i.email_verified)!==!0)return;Lr.connect({kind:"student-auth0",conversationId:f,getAuth0Token:F=>s(F?{cacheMode:"off"}:{})});const O=Lr.onMessage(F=>{F.t==="conv.message.new"&&F.conversationId===f?y(F.message):F.t==="conv.message.translated"&&F.conversationId===f&&_(F.messageId,{translation_status:F.translation_status,content_translated:F.content_translated})});return()=>{O(),Lr.close()}},[f,r,i==null?void 0:i.email_verified,s,y,_]),v.useEffect(()=>()=>b(),[]);const E=ub(),N=async()=>{const O={reason:"chat"};a!=null&&a.display_name&&(O.teacherName=a.display_name),await E(O)&&C.onSendClicked()};if(c)return o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:t("shared.loading")})});if(d||!a)return o.jsxs("div",{className:"room-bootstrap",style:{textAlign:"center"},children:[o.jsx("h1",{children:t("chatpage.errorTeacherNotFound")}),o.jsx("p",{style:{color:"var(--text-subtle)"},children:d})]});const j=m.length===0,I=C.state.kind==="verify-pending",P=C.state.kind==="popup-blocked";return o.jsxs("article",{className:"student-chat",children:[o.jsxs("header",{className:"student-chat__hero",children:[a.avatar_url?o.jsx("img",{className:"student-chat__avatar",src:a.avatar_url,alt:a.display_name}):o.jsx("div",{className:"student-chat__avatar-placeholder","aria-hidden":"true",children:a.display_name.charAt(0).toUpperCase()}),o.jsxs("div",{className:"student-chat__identity",children:[o.jsx("h1",{className:"student-chat__name",children:a.display_name}),a.go_rank&&o.jsx("span",{className:"teacher-profile__rank",children:a.go_rank.toUpperCase()})]}),o.jsx("a",{className:"btn btn--ghost student-chat__book-cta",href:`/teacher/${encodeURIComponent(e)}`,children:t("chat.bookCta")})]}),o.jsxs("section",{className:"student-chat__thread",children:[j?o.jsx("ul",{className:"student-chat__messages",children:o.jsx("li",{className:"student-chat__bubble student-chat__bubble--theirs",children:o.jsx("div",{className:"student-chat__bubble-primary",children:t("chatpage.greeting")})})}):o.jsx("ul",{className:"student-chat__messages",children:m.map(O=>o.jsx(xme,{msg:O,side:O.sender_role==="student"?"mine":"theirs"},O.id))}),I&&o.jsxs("div",{className:"student-chat__verify-pending",role:"status",children:[o.jsx("strong",{children:t("chatpage.verifyPending.title")}),o.jsx("p",{children:t("chatpage.verifyPending.body",{email:C.state.kind==="verify-pending"?C.state.email??"":""})}),o.jsx("button",{type:"button",className:"btn btn--primary",onClick:C.onRecheckVerification,children:t("chatpage.verifyPending.recheck")})]}),P&&o.jsxs("div",{className:"student-chat__popup-blocked",role:"alert",children:[o.jsx("p",{children:t("chatpage.popupBlocked.title")}),o.jsx("button",{type:"button",className:"btn btn--primary",onClick:C.onPopupBlockedFallback,children:t("chatpage.popupBlocked.fallback")})]}),o.jsx(wme,{value:C.draft,onChange:C.setDraft,placeholder:t("chatpage.composePlaceholder"),onSubmit:N,disabled:I}),o.jsxs("div",{"aria-hidden":"true",style:{position:"absolute",left:"-9999px",top:"auto",width:1,height:1,overflow:"hidden"},children:[o.jsx("label",{htmlFor:"bt-website-check",children:t("chatpage.aria.honeypot")}),o.jsx("input",{id:"bt-website-check",type:"text",tabIndex:-1,autoComplete:"off",value:x,onChange:O=>S(O.target.value)})]}),C.state.kind==="error"&&o.jsx("div",{className:"student-chat__error",children:C.state.reason==="rate_limited"?t("chatpage.errorRateLimited"):t("chatpage.errorGeneric")}),o.jsxs("div",{className:"student-chat__submit-row",children:[o.jsx("button",{type:"button",className:"btn btn--primary",onClick:N,disabled:C.draft.trim().length===0||C.state.kind==="auth-pending"||I,children:C.state.kind==="auth-pending"?t("chatpage.sending"):t("chatpage.send")}),o.jsx("small",{className:"student-chat__refund",children:t("chatpage.refundPolicy")})]}),a.stripe_payment_link&&o.jsx("div",{className:"student-chat__book",children:o.jsx("a",{href:a.str
111ipe_payment_link,target:"_blank",rel:"noopener noreferrer",className:"btn btn--accent",children:t("chatpage.bookLesson")})})]})]})},wme=({value:e,onChange:t,placeholder:n,onSubmit:r,disabled:s})=>{const i=a=>{a.nativeEvent.isComposing||a.keyCode===229||a.key!=="Enter"||a.shiftKey||(a.preventDefault(),r())};return o.jsx("textarea",{className:"student-chat__textarea",rows:3,placeholder:n,value:e,onChange:a=>t(a.target.value.slice(0,_me)),onKeyDown:i,disabled:s})},xme=({msg:e,side:t})=>{const n=H(),r=t==="mine"?e.content_original:e.content_translated??e.content_original,s=t==="mine"?e.content_translated:e.content_original,i=s&&s!==r;return o.jsxs("li",{className:`student-chat__bubble student-chat__bubble--${t}`,children:[o.jsx(ju,{text:r,className:"student-chat__bubble-primary",linkClassName:"student-chat__bubble-link"}),i&&o.jsx(ju,{text:s,className:"student-chat__bubble-secondary",linkClassName:"student-chat__bubble-link"}),e.translation_status==="pending"&&o.jsx("div",{className:"student-chat__bubble-status",children:n("chatpage.translationPending")}),e.translation_status==="failed"&&t==="mine"&&o.jsx("div",{className:"student-chat__bubble-status student-chat__bubble-status--warn",children:n("chatpage.translationFailed")}),o.jsx(bb,{createdAt:e.created_at,className:"student-chat__bubble-time"})]})},VD=()=>{const e=H(),[t,n]=v.useState("idle");return v.useEffect(()=>Lr.onState(n),[]),t!=="reconnecting"&&t!=="disconnected"?null:o.jsxs("div",{className:"inbox__connection",role:"status",children:[o.jsx("span",{children:e(t==="reconnecting"?"inbox.reconnecting":"inbox.disconnected")}),t==="disconnected"&&o.jsx("button",{className:"btn btn--sm",onClick:()=>Lr.retry(),children:e("inbox.reconnect")})]})},Sme=1600,Vj=.78,Yj=25*1024*1024,_b=async e=>{if(!e.type.startsWith("image/"))return{ok:!1,error:{kind:"not_image"}};if(e.size>Yj)return{ok:!1,error:{kind:"too_large_input",sizeBytes:e.size,maxBytes:Yj}};let t;try{t=await createImageBitmap(e)}catch{return{ok:!1,error:{kind:"decode_failed"}}}const{width:n,height:r}=t,s=Math.min(1,Sme/Math.max(n,r)),i=Math.max(1,Math.round(n*s)),a=Math.max(1,Math.round(r*s)),c=typeof OffscreenCanvas<"u"?new OffscreenCanvas(i,a):Object.assign(document.createElement("canvas"),{width:i,height:a}),u=c.getContext("2d");if(!u)return t.close(),{ok:!1,error:{kind:"encode_failed"}};u.drawImage(t,0,0,i,a),t.close();const d=await Tme(c);return d?{ok:!0,result:{blob:d,width:i,height:a,sizeBytes:d.size,mime:d.type==="image/webp"?"image/webp":"image/jpeg"}}:{ok:!1,error:{kind:"encode_failed"}}},Tme=async(e,t,n)=>{const r=async i=>{if("convertToBlob"in e)try{return await e.convertToBlob({type:i,quality:Vj})}catch{return null}return new Promise(a=>{e.toBlob(l=>a(l),i,Vj)})},s=await r("image/webp");return s&&s.type==="image/webp"&&s.size>0?s:r("image/jpeg")},jme=e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>t(r.result instanceof ArrayBuffer?r.result:new ArrayBuffer(0)),r.onerror=()=>n(r.error??new Error("read failed")),r.readAsArrayBuffer(e)}),Cme=e=>{try{return new TextDecoder("utf-8",{fatal:!0}).decode(e)}catch{return null}},Eme=e=>/\.sgf$/i.test(e.name),YD=({disabled:e,onPicked:t,labelKey:n="inbox.attachFile",className:r=""})=>{const s=H(),i=v.useRef(null),[a,l]=v.useState(!1),[c,u]=v.useState(null),d=v.useCallback(async h=>{var p;const f=((p=h.target.files)==null?void 0:p[0])??null;if(i.current&&(i.current.value=""),!!f){u(null),l(!0);try{if(f.type.startsWith("image/")){const m=await _b(f);if(!m.ok){u(m.error.kind==="too_large_input"?s("inbox.attachTooLarge"):s("inbox.attachFailed"));return}await t({kind:"image",image:m.result})}else if(Eme(f)){const m=await jme(f),y=Cme(m);if(y===null){u(s("inbox.attachSgfEncodingUnsupported"));return}if(y.length===0){u(s("inbox.attachFailed"));return}await t({kind:"sgf",text:y,file:f})}else u(s("inbox.attachUnsupported"))}catch{u(s("inbox.attachFailed"))}finally{l(!1)}}},[t,s]);return o.jsxs("span",{className:`inbox-attach ${r}`,children:[o.jsx("input",{ref:i,type:"file",accept:"image/*,.sgf",className:"inbox-attach__input",onChange:d,disabled:e||a,"aria-hidden":"true",tabIndex:-1}),o.jsx("button",{type:"button",className:"inbox-attach__btn",onClick:()=>{var h;
111return(h=i.current)==null?void 0:h.click()},disabled:e||a,"aria-label":s(n),title:s(n),children:a?o.jsx("span",{className:"inbox-attach__spinner","aria-hidden":"true"}):o.jsx(zme,{})}),c&&o.jsx("span",{className:"inbox-attach__error",role:"status",children:c})]})},zme=()=>o.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M21.44 11.05l-9.19 9.19a6 6 0 01-8.49-8.49l9.19-9.19a4 4 0 015.66 5.66l-9.2 9.19a2 2 0 01-2.83-2.83l8.49-8.48"})}),JD=({attachments:e,onZoom:t})=>{const n=H();return e.length===0?null:o.jsx("div",{className:"inbox-bubble__attachments",children:e.map(r=>o.jsx("button",{type:"button",className:"inbox-bubble__image-btn",onClick:()=>t(r.signed_url),"aria-label":n("inbox.viewFullSize"),style:{aspectRatio:`${r.width} / ${r.height}`},children:o.jsx("img",{src:r.signed_url,alt:"",loading:"lazy",decoding:"async",width:r.width,height:r.height,className:"inbox-bubble__image",draggable:!1})},r.id))})},ZD=({src:e,onClose:t})=>{const n=H();return v.useEffect(()=>{if(!e)return;const r=s=>{s.key==="Escape"&&t()};return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[e,t]),e?o.jsxs("div",{className:"inbox-lightbox",role:"dialog","aria-modal":"true","aria-label":n("inbox.viewFullSize"),onClick:t,children:[o.jsx("img",{src:e,alt:"",className:"inbox-lightbox__image"}),o.jsx("button",{type:"button",className:"inbox-lightbox__close",onClick:t,"aria-label":n("shared.close"),children:"×"})]}):null},Nme=e=>`${(e/1024).toFixed(1)} KB`,XD=({attachments:e,conversationId:t,viewer:n,authFetch:r})=>{const s=H(),[i,a]=v.useState(null),[l,c]=v.useState(null);if(e.length===0)return null;const u=async d=>{a(d.id),c(null);try{await uhe(r,n,t,d.id,d.filename)||c(d.id)}catch{c(d.id)}finally{a(null)}};return o.jsx("div",{className:"inbox-sgf",children:e.map(d=>o.jsxs("div",{className:"inbox-sgf__chip",children:[o.jsx("span",{className:"inbox-sgf__icon","aria-hidden":"true",children:"◆"}),o.jsxs("span",{className:"inbox-sgf__meta",children:[o.jsx("span",{className:"inbox-sgf__name",children:d.filename}),o.jsx("span",{className:"inbox-sgf__size",children:Nme(d.byte_size)}),d.parse_status==="malformed"&&o.jsx("span",{className:"inbox-sgf__warn",children:s("inbox.sgfMalformed")})]}),o.jsx("button",{type:"button",className:"btn btn--sm inbox-sgf__download",onClick:()=>{u(d)},disabled:i===d.id,"aria-label":s("inbox.download"),children:s("inbox.download")}),l===d.id&&o.jsx("span",{className:"inbox-sgf__error",role:"status",children:s("inbox.sgfDownloadFailed")})]},d.id))})},Jj=(e,t)=>t==="student"?e.paymentDeadlineUtc??e.startUtc:e.acceptanceDeadlineUtc??e.startUtc,QD=({viewer:e,bookings:t})=>{const n=H(),r=vt(T=>T.uiLang),[s]=ki(),{authFetch:i,isAuthenticated:a,isLoading:l}=bt(),[c,u]=v.useState(t??[]),[d,h]=v.useState(!1);v.useEffect(()=>{if(t||l||!a)return;let T=!1;return db(i).then(C=>{T||u(C)}).catch(()=>{}),()=>{T=!0}},[i,a,l,t]);const f=e==="student"?c.filter(T=>T.status==="pending_payment"&&T.studentDisplayName===null):c.filter(T=>T.status==="pending_acceptance"&&T.studentDisplayName!==null);if(f.length===0||d)return null;const p=f.length,y=[...f].sort((T,C)=>Jj(T,e).localeCompare(Jj(C,e)))[0],_=e==="student"?"inbox.pendingPayment.title":"inbox.pendingAcceptance.title",g=e==="student"?"inbox.pendingPayment.cta":"inbox.pendingAcceptance.cta",b=e==="student"?y.teacherDisplayName??"—":y.studentDisplayName??"—",k=Kt(y.startUtc,s,r),x=mn(y.startUtc,s),S=p===1?n(e==="student"?"inbox.pendingPayment.singleDetail":"inbox.pendingAcceptance.singleDetail",{name:b,when:k,tz:x}):n(e==="student"?"inbox.pendingPayment.multiDetail":"inbox.pendingAcceptance.multiDetail",{name:b,when:k,tz:x,extra:p-1});return o.jsxs("div",{className:`inbox-notice inbox-notice--${e==="student"?"payment":"acceptance"}`,role:"status","data-testid":"inbox-pending-actions-notice",children:[o.jsxs("div",{className:"inbox-notice__body",children:[o.jsx("p",{className:"inbox-notice__title",children:n(_)}),o.jsx("p",{className:"inbox-notice__detail",children:S})]}),o.jsx("a",{href:"/my-lessons",className:"btn btn--accent btn--sm inbox-notice__cta",children:n(g)}),o.jsx("button",{type:"button",className:"inbox-notice__dismiss",onClick:()=>h(!0),"aria-label":n("inbox.notice.dismiss"),title:n("inbox.notice.dismiss"),children:o.jsx("span",{"aria-hidden":"true",children:"×"})})]})},eW=e=>{const t=v.useRef(e);t.current=e;const n=v.useRef(null),r=v.useCallback(()=>{const{activeId:s,status:i,messages:a,markSeen:l}=t.current,c=a[a.length-1];if(!s||i!=="ready"||!c||document.visibilityState!=="visible")return;const u=`${s}:${c.id}`;n.current!==u&&(n.current=u,l(s,c.created_at).then(d=>{!d&&n.current===u&&(n.current=null)}))},[]);v.useEffect(r,[e.activeId,e.status,e.messages,r]),v.useEffect(()=>{const s=()=>{document.visibilityState!=="visible"||!t.current.activeId||t.current.refreshThread().then(i=>{i&&r()})};return document.addEventListener("visibilitychange",s),window.addEventListener("focus",s),()=>{document.removeEventListener("visibilitychange",s),window.removeEventListener("focus",s)}},[r])},tW=({messages:e,viewer:t,children:n})=>{const r=H(),s=v.useId(),i=v.useRef(null),a=v.useRef(null),l=v.useRef(!0),c=v.useRef({scrollHeight:0,clientHeight:0}),u=v.useRef(),[d,h]=v.useState(!1),f=e[e.length-1],p=v.useCallback(()=>{const m=i.current;
111m&&(l.current=!0,c.current={scrollHeight:m.scrollHeight,clientHeight:m.clientHeight},m.scrollTop=m.scrollHeight,h(!1))},[]);return v.useLayoutEffect(()=>{const m=(f==null?void 0:f.id)!==u.current;l.current||m&&(f==null?void 0:f.sender_role)===t?p():m&&h(!0),u.current=f==null?void 0:f.id},[e,f,t,p]),v.useEffect(()=>{if(typeof ResizeObserver>"u")return;const m=new ResizeObserver(()=>{l.current&&p()});return a.current&&m.observe(a.current),i.current&&m.observe(i.current),()=>m.disconnect()},[p]),o.jsxs("div",{className:"inbox__message-area",children:[o.jsx("div",{id:s,className:"inbox__message-scroll",ref:i,role:"log","aria-label":r("inbox.messages"),"aria-relevant":"additions",tabIndex:0,onScroll:()=>{const m=i.current;if(!m)return;const y=c.current.scrollHeight!==m.scrollHeight||c.current.clientHeight!==m.clientHeight;if(c.current={scrollHeight:m.scrollHeight,clientHeight:m.clientHeight},y){l.current&&p();return}l.current=m.scrollHeight-m.scrollTop-m.clientHeight<=48,l.current&&h(!1)},children:o.jsx("ul",{className:"inbox__messages",ref:a,children:n})}),d&&o.jsx("button",{className:"btn inbox__latest","aria-controls":s,onClick:p,children:r("inbox.jumpToLatest")})]})},tg=e=>{const t=new Map;for(const n of e){const r=t.get(n.id);t.set(n.id,r&&n.translation_status==="pending"&&r.translation_status!=="pending"?{...n,translation_status:r.translation_status,content_translated:r.content_translated}:n)}return[...t.values()].sort((n,r)=>n.created_at.localeCompare(r.created_at)||n.id.localeCompare(r.id)).slice(-200)};function nW(e){const[t,n]=v.useState({activeId:null,activeConv:null,messages:[],status:"idle"}),r=v.useRef(t),s=v.useRef(null),i=v.useRef(0),a=v.useRef(!0),l=v.useRef(e);l.current=e;const c=v.useRef(new Map),u=v.useCallback(g=>{a.current&&(r.current=g(r.current),n(r.current))},[]);v.useEffect(()=>(a.current=!0,()=>{a.current=!1,i.current+=1,s.current=null}),[]);const d=v.useCallback(async g=>{const b=++i.current;s.current=g,c.current.clear(),u(()=>({activeId:g,activeConv:null,messages:[],status:"loading"}));try{const k=await l.current(g);return!a.current||b!==i.current?!1:(u(x=>({...x,activeConv:k.conversation,messages:tg([...k.messages,...x.messages]).map(S=>({...S,...c.current.get(S.id)})),status:"ready"})),!0)}catch{return a.current&&b===i.current&&u(k=>k.activeConv?k:{...k,status:"error"}),!1}},[u]),h=v.useCallback(()=>{i.current+=1,s.current=null,c.current.clear(),u(()=>({activeId:null,activeConv:null,messages:[],status:"idle"}))},[u]),f=v.useCallback(async()=>{const g=s.current;if(!g)return!1;const b=i.current;try{const k=await l.current(g);return!a.current||b!==i.current?!1:(u(x=>({...x,activeConv:k.conversation,status:"ready",messages:tg([...k.messages,...x.messages]).map(S=>({...S,...c.current.get(S.id)}))})),!0)}catch{return!1}},[u]),p=v.useCallback(g=>{g.conversation_id===s.current&&u(b=>({...b,messages:tg([...b.messages,g])}))},[u]),m=v.useCallback((g,b)=>{c.current.set(g,b),u(k=>({...k,messages:k.messages.map(x=>x.id===g?{...x,...b}:x)}))},[u]),y=v.useCallback(()=>r.current.messages,[]),_=v.useCallback(g=>r.current.activeId===g&&r.current.status==="ready"&&document.visibilityState==="visible",[]);return{...t,activeIdRef:s,open:d,close:h,refresh:f,appendMessage:p,attachTranslation:m,getMessages:y,isViewing:_}}const y2={text:"",revision:0,sending:!1,error:null},rW=(e,t,n)=>{const r=H(),[s,i]=v.useState({}),a=v.useRef(s),l=v.useRef(!0);v.useEffect(()=>(l.current=!0,()=>{l.current=!1}),[]);const c=v.useCallback((p,m)=>{l.current&&(a.current={...a.current,[p]:m(a.current[p]??y2)},i(a.current))},[]),u=p=>{t&&c(t,m=>({...m,text:p,revision:m.revision+1}))},d=v.useCallback((p,m)=>{c(p,y=>({...y,error:m}))},[c]),h=v.useCallback(async(p,m,y)=>{const _=a.current[p]??y2;if(!l.current||_.sending)return;const g=_.revision;c(p,k=>({...k,sending:!0,error:null}));const b=(k,x)=>{d(p,k),ut(`inbox.${e}.${m==="message"?"send":"attach"}.failed`,{conversation_id:p,...m==="message"?{error:x}:{kind:x}})};try{const k=await y();if(!l.current)return;k.kind==="ok"?(n(k.message),c(p,x=>({...x,text:m==="message"&&x.revision===g?"":x.text,error:null}))):b(k.kind==="rate_limited"?"chatpage.errorRateLimited":m==="sgf"&&k.kind==="too_large"?"inbox.attachSgfTooLarge":m==="message"?"inbox.sendFailed":"inbox.attachUploadFailed",m==="message"&&k.kind==="error"?`status_${k.status}`:k.kind)}catch{l.current&&b(m==="message"?"inbox.sendFailed":"inbox.attachUploadFailed","network")}finally{c(p,k=>({...k,sending:!1}))}},[n,e,d,c]),f=t?s[t]??y2:y2;return{compose:f.text,sending:f.sending,sendError:f.error?r(f.error):null,setCompose:u,setError:d,submit:h}},Ime=1e3,Rme=()=>{const e=H(),t=vt(W=>W.uiLang),{isAuthenticated:n,isLoading:r,authFetch:s}=bt(),{getAccessTokenSilently:i}=ar(),{rows:a,loaded:l,error:c,refresh:u,receiveMessage:d,markSeen:h}=rb("teacher"),f=c?e("inbox.loadFailed"):null,[p,m]=v.useState(!1),[y,_]=v.useState(null),{activeId:g,activeConv:b,messages:k,status:x,activeIdRef:S,open:T,close:C,appendMessage:E,attachTranslation:N,refresh:j,isViewing:I}=nW(W=>J1e(s,W)),P=v.useCallback(W=>{d(W,I(W.conversation_id)),E(W)},[d,I,E]),{compose:O,sending:F,sendError:B,setCompose:$,setError:D,submit:z}=rW("teacher",g,P);eW({activeId:g,status:x,messages:k,refreshThread:j,markSeen:h}),v.useEffect(()=>{if(!nr||!n)return;Lr.connect({kind:"teacher",getAuth0Token:G=>i(G?{cacheMode:"off"}:{})});const W=Lr.onMessage(G=>
111{if(G.t==="hello.err"&&G.code==="email_not_verified"){m(!0);return}G.t==="conv.message.new"?(d(G.message,I(G.conversationId)),E(G.message)):G.t==="conv.message.translated"&&S.current===G.conversationId&&N(G.messageId,{translation_status:G.translation_status,content_translated:G.content_translated})}),U=Lr.onState(G=>{G==="connected"&&(u(),j())});return()=>{W(),U(),Lr.close()}},[n,i,E,N,d,I,u,j]);const R=T;v.useEffect(()=>{if(!n||r)return;const U=new URLSearchParams(window.location.search).get("conversation");U&&U!==g&&R(U)},[n,r]);const w=v.useCallback(async()=>{!b||!O.trim()||await z(b.id,"message",()=>Z1e(s,b.id,{content:O.trim(),student_locale:t}))},[b,s,O,z,t]),L=v.useCallback(async W=>{b&&await z(b.id,"image",()=>rhe(s,b.id,W.blob,t))},[b,s,z,t]),M=v.useCallback(async(W,U)=>{b&&await z(b.id,"sgf",()=>che(s,b.id,{sgf_text:W,original_filename:U,sender_locale:t}))},[b,s,z,t]),A=v.useCallback(W=>W.kind==="image"?L(W.image):M(W.text,W.file.name),[L,M]),q=v.useCallback(async W=>{var G;if(!b)return;const U=(G=W.clipboardData)==null?void 0:G.items;if(U){for(const oe of U)if(oe.kind==="file"&&oe.type.startsWith("image/")){const de=oe.getAsFile();if(!de)continue;W.preventDefault();const Ae=await _b(de);Ae.ok?await L(Ae.result):D(b.id,"inbox.attachFailed");return}}},[b,L,D]);return r?o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:e("shared.loading")})}):n?p?o.jsx(Cl,{}):o.jsxs("div",{className:`inbox ${g?"inbox--has-active":""}`,children:[o.jsx(VD,{}),o.jsxs("aside",{className:"inbox__list",children:[o.jsx(QD,{viewer:"teacher"}),o.jsx("h1",{className:"inbox__title",children:e("inbox.title")}),f&&o.jsx("div",{className:"inbox__error",children:f}),a.length===0&&!f?o.jsx("p",{className:"inbox__empty",children:e(l?"inbox.empty":"shared.loading")}):o.jsx("ul",{className:"inbox__conversations",children:a.map(W=>o.jsx(Pme,{conv:W,active:W.id===g,onOpen:()=>R(W.id)},W.id))}),o.jsx(cm,{className:"inbox__support"})]}),o.jsx("section",{className:"inbox__thread",children:b?o.jsxs(o.Fragment,{children:[o.jsxs("header",{className:"inbox__thread-header",children:[o.jsx("button",{className:"inbox__back",onClick:C,children:e("inbox.backToList")}),o.jsx("h2",{className:"inbox__thread-title",children:b.student_display_name}),o.jsxs("span",{className:"inbox__student-locale",children:[e("inbox.studentLocale"),": ",o.jsx("strong",{children:b.student_locale.toUpperCase()})]})]}),o.jsx(tW,{messages:k,viewer:"teacher",children:k.map(W=>o.jsx(Ame,{msg:W,isMine:W.sender_role==="teacher",onZoom:_,conversationId:b.id,authFetch:s},W.id))},b.id),o.jsxs("div",{className:"inbox__compose",children:[B&&o.jsx("div",{className:"inbox__error",role:"alert",children:B}),o.jsx("textarea",{className:"inbox__textarea",rows:3,placeholder:e("inbox.replyPlaceholder"),value:O,onChange:W=>$(W.target.value.slice(0,Ime)),onPaste:q,onKeyDown:W=>{W.nativeEvent.isComposing||W.keyCode===229||W.key!=="Enter"||W.shiftKey||(W.preventDefault(),w())}}),o.jsxs("div",{className:"inbox__compose-row",children:[o.jsx(YD,{disabled:F,onPicked:A},b.id),o.jsx("button",{type:"button",className:"btn btn--primary",onClick:w,disabled:F||O.trim().length===0,children:e("inbox.send")})]})]})]}):g?o.jsxs(o.Fragment,{children:[o.jsx("header",{className:"inbox__thread-header",children:o.jsx("button",{className:"inbox__back",onClick:C,children:e("inbox.backToList")})}),o.jsx("p",{role:x==="error"?"alert":"status",children:e(x==="error"?"inbox.loadFailed":"shared.loading")}),x==="error"&&o.jsx("button",{className:"btn",onClick:()=>R(g),children:e("gallery.error.retry")})]}):o.jsx("div",{className:"inbox__empty-thread",children:e("inbox.selectConversation")})}),o.jsx(ZD,{src:y,onClose:()=>_(null)})]}):o.jsxs("div",{className:"room-bootstrap",style:{textAlign:"center"},children:[o.jsx("h1",{children:e("inbox.title")}),o.jsx("p",{style:{color:"var(--text-subtle)"},children:e("inbox.loginRequired")}),o.jsx("a",{className:"btn btn--primary",href:"/login",children:e("auth.login")})]})},Pme=({conv:e,active:t,onOpen:n})=>o.jsxs("li",{className:`inbox__conversation ${t?"inbox__conversation--active":""}`,onClick:n,role:"button",tabIndex:0,onKeyDown:r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),n())},children:[o.jsxs("div",{className:"inbox__conversation-name",children:[e.student_display_name,e.awaiting_reply&&o.jsx("span",{className:"inbox__unread-dot","aria-hidden":"true"})]}),o.jsx("div",{className:"inbox__conversation-preview",children:e.unread_preview??""}),o.jsx("div",{className:"inbox__conversation-meta",children:e.student_locale.toUpperCase()})]}),Ame=({msg:e,isMine:t,onZoom:n,conversationId:r,authFetch:s})=>{const i=t?e.content_original:e.content_translated??e.content_original,a=t?null:e.content_original,l=a&&a!==i,c=i.length>0,u=H();return o.jsxs("li",{className:`inbox__bubble ${t?"inbox__bubble--mine":"inbox__bubble--peer"}`,children:[o.jsx(JD,{attachments:e.attachments,onZoom:n}),o.jsx(XD,{attachments:e.sgf_attachments,conversationId:r,viewer:"teacher",authFetch:s}),c&&o.jsx(ju,{text:i,className:"inbox__bubble-primary",linkClassName:"inbox__bubble-link"}),l&&o.jsx(ju,{text:a,className:"inbox__bubble-secondary",linkClassName:"inbox__bubble-link"}),e.translation_status==="pending"&&c&&o.jsx("div",{className:"inbox__bubble-status",children:u("chatpage.translationPending")}),o.jsx(bb,{createdAt:e.created_at,className:"inbox__bubble-time"})]})},Lme=(e,t)=>
111{if(e.teacherDisplayName===null)return null;const n=new Date(e.startUtc).getTime(),r=new Date(e.endAtPlannedUtc).getTime();if(!Cte(e.endAtPlannedUtc,t))return null;const s=t>=n-oy*6e4;return e.status==="in_progress"?{mode:"join",bucket:1}:e.status==="confirmed"&&s?{mode:"join",bucket:t<r?2:3}:e.status==="pending_payment"&&(s||e.latePaymentGrantedAtUtc!==null)?{mode:"pay-first",bucket:4}:null},Mme=(e,t)=>{const n=[];for(const r of e){const s=Lme(r,t);s&&n.push({booking:r,classification:s})}return n.length===0?{lead:null,classification:null,qualifyingCount:0}:(n.sort((r,s)=>{if(r.classification.bucket!==s.classification.bucket)return r.classification.bucket-s.classification.bucket;const i=new Date(r.booking.startUtc).getTime(),a=new Date(s.booking.startUtc).getTime();switch(r.classification.bucket){case 1:return a-i;case 2:return Math.abs(i-t)-Math.abs(a-t);case 3:{const l=new Date(r.booking.endAtPlannedUtc).getTime();return new Date(s.booking.endAtPlannedUtc).getTime()-l}case 4:return i-a;default:return 0}}),{lead:n[0].booking,classification:n[0].classification,qualifyingCount:n.length})},Ome=({bookings:e})=>{const t=H(),n=vt(P=>P.uiLang),[r]=ki(),{authFetch:s,isAuthenticated:i,isLoading:a}=bt(),[l,c]=v.useState(e??[]),[u,d]=v.useState(!1),[h,f]=v.useState(null),[p,m]=v.useState(!1);v.useEffect(()=>{e&&c(e)},[e]),v.useEffect(()=>{if(e||a||!i)return;let P=!1;return db(s).then(O=>{P||c(O)}).catch(()=>{}),()=>{P=!0}},[s,i,a,e]);const[y,_]=v.useState(()=>Date.now());v.useEffect(()=>{const P=setInterval(()=>_(Date.now()),15e3);return()=>clearInterval(P)},[]);const{lead:g,classification:b,qualifyingCount:k}=Mme(l,y),x=v.useRef(null);if(v.useEffect(()=>{const P=(g==null?void 0:g.id)??null;P!==x.current&&(x.current=P,f(null))},[g==null?void 0:g.id]),!g||!b||p)return null;const S=g.teacherDisplayName??"—",T=Kt(g.startUtc,r,n),C=mn(g.startUtc,r),E=k===1?t("inbox.classroomOpen.singleDetail",{name:S,when:T,tz:C}):t("inbox.classroomOpen.multiDetail",{name:S,when:T,tz:C,extra:k-1}),N=b.mode==="join",j=t("inbox.classroomOpen.cta"),I=async()=>{if(g){d(!0),f(null);try{const P=await sm(s,g.id,"student");window.location.assign(P.lessonUrl)}catch{f(t("inbox.classroomOpen.joinError")),d(!1)}}};return o.jsxs("div",{className:"inbox-notice inbox-notice--classroom",role:"status","data-testid":"inbox-room-open-notice",children:[o.jsxs("div",{className:"inbox-notice__body",children:[o.jsx("p",{className:"inbox-notice__title",children:t("inbox.classroomOpen.title")}),o.jsx("p",{className:"inbox-notice__detail",children:E}),!N&&o.jsx("p",{className:"inbox-notice__detail",children:t("inbox.classroomOpen.payFirst")}),h&&o.jsx("p",{className:"inbox-notice__error",children:h})]}),o.jsx("button",{type:"button",className:"btn btn--primary btn--sm inbox-notice__cta",disabled:!N||u,onClick:()=>{N&&I()},children:u?t("mylessons.upcoming.joining"):j}),o.jsx("button",{type:"button",className:"inbox-notice__dismiss",onClick:()=>m(!0),"aria-label":t("inbox.notice.dismiss"),title:t("inbox.notice.dismiss"),children:o.jsx("span",{"aria-hidden":"true",children:"×"})})]})},Dme=1e3,Wme=()=>{const e=H(),t=vt(W=>W.uiLang),{isAuthenticated:n,isLoading:r,authFetch:s}=bt(),{getAccessTokenSilently:i}=ar(),{rows:a,loaded:l,error:c,refresh:u,receiveMessage:d,markSeen:h}=rb("student"),f=c?e("inbox.loadFailed"):null,[p,m]=v.useState(!1),[y,_]=v.useState(null),{activeId:g,activeConv:b,messages:k,status:x,activeIdRef:S,open:T,close:C,appendMessage:E,attachTranslation:N,refresh:j,isViewing:I}=nW(W=>ehe(s,W)),P=v.useCallback(W=>{d(W,I(W.conversation_id)),E(W)},[d,I,E]),{compose:O,sending:F,sendError:B,setCompose:$,setError:D,submit:z}=rW("student",g,P);eW({activeId:g,status:x,messages:k,refreshThread:j,markSeen:h}),v.useEffect(()=>{if(!nr||!n||!g)return;Lr.connect({kind:"student-auth0",conversationId:g,getAuth0Token:G=>i(G?{cacheMode:"off"}:{})});const W=Lr.onMessage(G=>{if(G.t==="hello.err"&&G.code==="email_not_verified"){m(!0);return}G.t==="conv.message.new"?(d(G.message,I(G.conversationId)),E(G.message)):G.t==="conv.message.translated"&&G.conversationId===S.current&&N(G.messageId,{translation_status:G.translation_status,content_translated:G.content_translated})}),U=Lr.onState(G=>{G==="connected"&&(u(),j())});return()=>{W(),U(),Lr.close()}},[n,g,i,E,N,d,I,u,j]);const R=T;v.useEffect(()=>{if(!n||r)return;const U=new URLSearchParams(window.location.search).get("conversation");U&&U!==g&&R(U)},[n,r]);const w=v.useCallback(async()=>{!b||!O.trim()||await z(b.id,"message",()=>the(s,b.id,{content:O.trim(),student_locale:t}))},[b,s,O,z,t]),L=v.useCallback(async W=>{b&&await z(b.id,"image",()=>nhe(s,b.id,W.blob,t))},[b,s,z,t]),M=v.useCallback(async(W,U)=>{b&&await z(b.id,"sgf",()=>lhe(s,b.id,{sgf_text:W,original_filename:U,sender_locale:t}))},[b,s,z,t]),A=v.useCallback(W=>W.kind==="image"?L(W.image):M(W.text,W.file.name),[L,M]),q=v.useCallback(async W=>{var G;if(!b)return;const U=(G=W.clipboardData)==null?void 0:G.items;if(U){for(const oe of U)if(oe.kind==="file"&&oe.type.startsWith("image/")){const de=oe.getAsFile();if(!de)continue;W.preventDefault();const Ae=await _b(de);Ae.ok?await L(Ae.result):D(b.id,"inbox.attachFailed");return}}},[b,L,D]);return r?o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:e("shared.loading")})}):n?p?o.jsx(Cl,{}):o.jsxs("div",{className:`inbox ${g?"inbox--has-active":""}`,children:[o.jsx(VD,{}),o.jsxs("aside",{className:"inbox__list",children:[o.jsx(Ome,{}),o.jsx(QD,{viewer:"student"}),o.jsx("h1",{className:"inbox__title",children:e("inbox.title")}),f&&o.jsx("div",{className:"inbox__error",children:f}),a.length===0&&!f?o.jsx("p",{className:"inbox__empty",children:e(l?"inbox.studentEmpty":"shared.loading")}):o.jsx("ul",{className:"inbox__conversations",children:a.map(W=>o.jsx(Fme,{conv:W,active:W.id===g,onOpen:()=>R(W.id)},W.id))}),o.jsx(cm,{className:"inbox__support"})]}),o.jsx("section",{className:"inbox__thread",children:b?o.jsxs(o.Fragment,{children:[o.jsxs("header",{className:"inbox__thread-header",children:[o.jsx("button",{className:"inbox__back",onClick:C,children:e("inbox.backToList")}),o.jsx("h2",{className:"inbox__thread-title",children:o.jsx("a",{href:`/teacher/${encodeURIComponent(b.teacher_slug)}`,children:b.teacher_display_name})})]}),o.jsx(tW,{messages:k,viewer:"student",children:k.map(W=>o.jsx($me,{msg:W,isMine:W.sender_role==="student",onZoom:_,conversationId:b.id,authFetch:s},W.id))},b.id),o.jsxs("div",{className:"inbox__compose",children:[B&&o.jsx("div",{className:"inbox__error",role:"alert",children:B}),o.jsx("textarea",{className:"inbox__textarea",rows:3,placeholder:e("inbox.studentReplyPlaceholder"),value:O,onChange:W=>$(W.target.value.slice(0,Dme)),onPaste:q,onKeyDown:W=>{W.nativeEvent.isComposing||W.keyCode===229||W.key!=="Enter"||W.shiftKey||(W.preventDefault(),w())}}),o.jsxs("div",{className:"inbox__compose-row",children:[o.jsx(YD,{disabled:F,onPicked:A},b.id),o.jsx("button",{type:"button",className:"btn btn--primary",onClick:w,disabled:F||O.trim().length===0,children:e("inbox.send")})]})]})]}):g?o.jsxs(o.Fragment,{children:[o.jsx("header",{className:"inbox__thread-header",children:o.jsx("button",{className:"inbox__back",onClick:C,children:e("inbox.backToList")})}),o.jsx("p",{role:x==="error"?"alert":"status",children:e(x==="error"?"inbox.loadFailed":"shared.loading")}),x==="error"&&o.jsx("button",{className:"btn",onClick:()=>R(g),children:e("gallery.error.retry")})]}):o.jsx("div",{className:"inbox__empty-thread",children:e("inbox.selectConversation")})}),o.jsx(ZD,{src:y,onClose:()=>_(null)})]}):o.jsxs("div",{className:"room-bootstrap",style:{textAlign:"center"},children:[o.jsx("h1",{children:e("inbox.title")}),o.jsx("p",{style:{color:"var(--text-subtle)"},children:e("inbox.loginRequired")}),o.jsx("a",{className:"btn btn--primary",href:"/login",children:e("auth.login")})]})},Fme=({conv:e,active:t,onOpen:n})=>o.jsxs("li",{className:`inbox__conversation ${t?"inbox__conversation--active":""}`,onClick:n,role:"button",tabIndex:0,onKeyDown:r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),n())},children:[o.jsxs("div",{className:"inbox__conversation-name",children:[e.teacher_display_name,e.awaiting_reply&&o.jsx("span",{className:"inbox__unread-dot","aria-hidden":"true"})]}),o.jsx("div",{className:"inbox__conversation-preview",children:e.unread_preview??""}),e.teacher_go_rank&&o.jsx("div",{className:"inbox__conversation-meta",children:e.teacher_go_rank.toUpperCase()})]}),$me=({msg:e,isMine:t,onZoom:n,conversationId:r,authFetch:s})=>{const i=t?e.content_original:e.content_translated??e.content_original,a=t?null:e.content_original,l=a&&a!==i,c=i.length>0,u=H();return o.jsxs("li",{className:`inbox__bubble ${t?"inbox__bubble--mine":"inbox__bubble--peer"}`,children:[o.jsx(JD,{attachments:e.attachments,onZoom:n}),o.jsx(XD,{attachments:e.sgf_attachments,conversationId:r,viewer:"student",authFetch:s}),c&&o.jsx(ju,{text:i,className:"inbox__bubble-primary",linkClassName:"inbox__bubble-link"}),l&&o.jsx(ju,{text:a,className:"inbox__bubble-secondary",linkClassName:"inbox__bubble-link"}),e.translation_status==="pending"&&c&&o.jsx("div",{className:"inbox__bubble-status",children:u("chatpage.translationPending")}),o.jsx(bb,{createdAt:e.created_at,className:"inbox__bubble-time"})]})},Bme=()=>{var r;const e=H(),t=_i();return t.loaded?((r=t.data)==null?void 0:r.teacher_status)==="approved"?o.jsx(Rme,{}):o.jsx(Wme,{}):o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:e("shared.loading")})})},sW=[{question:"landing.questions.chat",answers:["landing.questions.chatAnswer"]},{question:"landing.questions.price",answers:["landing.assurance.item1.body","landing.assurance.item2.body"]},{question:"landing.questions.language",answers:["landing.questions.languageAnswer"]},{question:"landing.questions.cancel",answers:["landing.assurance.item3.body"]}],Ume=()=>{const e=H();return o.jsxs("section",{className:"landing-questions","aria-labelledby":"questions-heading",children:[o.jsx("h2",{id:"questions-heading",children:e("landing.questions.heading")}),sW.map(({question:t,answers:n})=>o.jsxs("details",{children:[o.jsx("summary",{children:e(t)}),n.map(r=>o.jsx("p",{children:e(r)},r))]},t))]})},qme=4,Hme=()=>{const e=H(),[t,n]=v.useState(null),r=lm();return v.useEffect(()=>{let s=!1;return BD(qme).then(i=>{s||n(i)}).catch(()=>{s||n([])}),()=>{s=!0}},[]),!t||t.length===0?null:o.jsxs("section",{className:"landing-group-classes","aria-labelledby":"landing-group-classes-heading",children:[o.jsx("h2",{id:"landing-group-classes-heading",className:"landing-group-classes__heading",children:e("landing.groupClasses.heading")}),o.jsx(om,{error:r.error,className:"landing-group-classes__error"}),o.jsx("ul",{className:"landing-group-classes__list",children:t.map(s=>{var i;return o.jsx(am,{session:s,showTeacher:!0,busy:r.busyId===s.id,pending:r.busyId!==null,paymentDeadlineUtc:(i=r.heldSeats[s.id])==null?void 0:i.paymentDeadlineUtc,onBook:()=>r.book(s.id)},s.id)})}),o.jsx("a",{className:"landing-group-classes__see-all",href:"/group-lessons",onClick:()=>ut("landing.group_classes_link_clicked",{}),children:e("landing.groupClasses.seeAll")})]})},Gme=["chat","book","learn"],Kme=()=>{const e=H();return o.jsxs("section",{className:"landing-start","aria-labelledby":"start-heading",children:[o.jsx("h2",{id:"start-heading",children:e("landing.begin.heading")}),o.jsxs("div",{className:"landing-start__layout",children:[o.jsx("ol",{className:"landing-start__steps",children:Gme.map(t=>o.jsxs("li",{children:[o.jsx("h3",{children:e(`landing.begin.${t}.title`)}),o.jsx("p",{children:e(`landing.begin.${t}.body`)})]},t))}),o.jsxs("figure",{className:"landing-start__preview",children:[o.jsx(qD,{videoId:"TJ6uuevIRkg",playLabel:e("landing.why.card1.video2Label")}),o.jsx("figcaption",{children:e("landing.begin.preview")})]})]})]})},Zj={breadcrumbAria:"Breadcrumb",breadcrumbBack:"All lessons"},Xj={"learn-go-in-korean":"Compare teachers for lessons with Korean captions","learn-go-in-chinese":"Compare teachers for lessons with Chinese captions","learn-go-in-japanese":"Compare teachers for lessons with Japanese captions","learn-go-in-french":"Compare teachers for lessons with French captions","learn-go-in-german":"Compare teachers for lessons with German captions","learn-go-in-spanish":"Compare teachers for lessons with Spanish captions","learn-go-in-portuguese":"Compare teachers for lessons with Portuguese captions","learn-go-in-russian":"Compare teachers for lessons with Russian captions","chinese-pro-players":"Chinese-speaking teachers with listed professional or high amateur ranks","korean-pro-players":"Korean-speaking teachers with listed professional or high amateur ranks","for-beginners":"Teachers who take beginners","ddk-to-dan":"Teachers who can get you out of the kyus","sdk-to-dan":"Teachers who can break your SDK plateau","low-dan-to-high-dan":"High-dan and pro-level teachers","life-and-death":"Teachers who can sharpen your reading","openings-topics":"Teachers for opening and direction","joseki-topics":"Teachers for joseki and corners","midgame-topics":"Teachers for fighting and the middle game","endgame-topics":"Teachers for the endgame","game-review":"Teachers who give game reviews","tournament-prep":"Teachers for tournament prep"},Zr={metaTitle:"Online Go Lessons with Pro-Level Teachers",metaDescription:"The strongest Go teachers speak Korean, Chinese, and Jap
111anese. Live translation puts them within reach: book a lesson, share a board, and read along in your own language.",h1:"Online Go lessons with pro-level teachers",intro:"Learn one-on-one with teachers strong enough to explain why your moves work, not just whether they do. You book a single lesson with the teacher you choose, meet on a shared board over video, and read live captions in your language while your teacher speaks theirs.",findHeading:"Find a teacher by what you want to work on",teachersHeading:"Teachers"},iW=[{heading:"By language",links:[{label:"Learn Go in Korean",href:"/lessons/learn-go-in-korean"},{label:"Learn Go in Chinese",href:"/lessons/learn-go-in-chinese"},{label:"Learn Go in Japanese",href:"/lessons/learn-go-in-japanese"},{label:"Learn Go in French",href:"/lessons/learn-go-in-french"},{label:"Learn Go in German",href:"/lessons/learn-go-in-german"},{label:"Learn Go in Spanish",href:"/lessons/learn-go-in-spanish"},{label:"Learn Go in Portuguese",href:"/lessons/learn-go-in-portuguese"},{label:"Learn Go in Russian",href:"/lessons/learn-go-in-russian"}]},{heading:"Compare teachers by language and rank",links:[{label:"Chinese-speaking teachers: professional and high amateur ranks",href:"/lessons/chinese-pro-players"},{label:"Korean-speaking teachers: professional and high amateur ranks",href:"/lessons/korean-pro-players"}]},{heading:"By level",links:[{label:"For beginners",href:"/lessons/for-beginners"},{label:"Double-digit kyu to dan",href:"/lessons/ddk-to-dan"},{label:"Single-digit kyu to dan",href:"/lessons/sdk-to-dan"},{label:"Low dan to high dan",href:"/lessons/low-dan-to-high-dan"}]},{heading:"By topic",links:[{label:"Opening and direction",href:"/lessons/openings-topics"},{label:"Joseki",href:"/lessons/joseki-topics"},{label:"Middle game and fighting",href:"/lessons/midgame-topics"},{label:"Endgame",href:"/lessons/endgame-topics"},{label:"Life and death",href:"/lessons/life-and-death"}]},{heading:"By goal",links:[{label:"Game review",href:"/lessons/game-review"},{label:"Tournament prep",href:"/lessons/tournament-prep"}]}],Vme=new Set(["fr","de"]),Yme=6,Jme=()=>{const e=H(),t=as({"@context":"https://schema.org","@type":"FAQPage",mainEntity:sW.map(({question:h,answers:f})=>({"@type":"Question",name:e(h),acceptedAnswer:{"@type":"Answer",text:f.map(p=>e(p)).join(" ")}}))}),n=vt(h=>h.uiLang),r=!Vme.has(n),s=di("teachers"),[i,a]=v.useState(s?{kind:"success",cards:s}:{kind:"loading"});v.useEffect(()=>{if(ut("landing.mounted",{}),s){ut("landing.viewed",{teachers_visible:s.length});return}const h=new AbortController;let f=!1;return(async()=>{try{const m=await fetch("/api/teachers",{signal:h.signal});if(!m.ok){f||a({kind:"error"});return}const y=await m.json();f||(a({kind:"success",cards:y}),ut("landing.viewed",{teachers_visible:y.length}))}catch(m){if(m.name==="AbortError")return;f||a({kind:"error"})}})(),()=>{f=!0,h.abort()}},[s]);const l=i.kind==="success"?i.cards:[],c=i.kind==="success"&&l.length===0,u=i.kind==="loading"||i.kind==="success"&&l.length>0,d=i.kind==="success"&&l.length>0?"#teachers":"/teachers";return o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:e("seo.landing.title")}),o.jsx("meta",{name:"description",content:e("seo.landing.description")}),o.jsx("link",{rel:"canonical",href:"https://badukteacher.com/"}),o.jsx("meta",{property:"og:title",content:e("seo.landing.title")}),o.jsx("meta",{property:"og:description",content:e("seo.landing.description")}),o.jsx("meta",{property:"og:url",content:"https://badukteacher.com/"}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{name:"twitter:title",content:e("seo.landing.title")}),o.jsx("meta",{name:"twitter:description",content:e("seo.landing.description")}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("script",{type:"application/ld+json",children:t})]}),o.jsxs("main",{id:"main-content",className:"landing landing--conversation",children:[o.jsxs("header",{className:"landing-intro",children:[o.jsx("p",{className:"landing-intro__eyebrow",children:e("landing.intro.eyebrow")}),o.jsx("h1",{children:e("landing.intro.title")}),o.jsx("p",{className:"landing-intro__body",children:e("landing.intro.body")}),o.jsxs("div",{className:"landing-intro__actions",children:[o.jsx("a",{className:"btn btn--accent landing-hero__cta",href:d,onClick:()=>ut("landing.hero_cta_clicked",{intent:"chat"}),children:e("landing.intro.chat")}),o.jsxs("a",{className:"landing-intro__lessons",href:"/teachers",onClick:()=>ut("landing.lessons_clicked",{placement:"hero"}),children:[e("landing.intro.lessons")," ",o.jsx("span",{"aria-hidden":"true",children:"→"})]})]}),o.jsx("p",{className:"landing-intro__note",children:e("landing.intro.note")})]}),o.jsxs("div",{id:"teachers",className:"landing-teacher-destination",tabIndex:-1,
111children:[u&&o.jsxs("section",{className:"landing-teachers","aria-labelledby":"teachers-heading","aria-busy":i.kind==="loading"?"true":void 0,children:[o.jsx("h2",{className:"landing-teachers__heading",id:"teachers-heading",children:e("landing.teachers.heading")}),o.jsx("p",{className:"landing-teachers__intro",children:e("landing.teachers.intro")}),o.jsx("div",{className:"landing-teachers__grid",children:i.kind==="loading"?Array.from({length:Yme},(h,f)=>o.jsxs("div",{className:"landing-teacher","aria-hidden":"true",children:[o.jsxs("div",{className:"teacher-card teacher-card--skeleton",children:[o.jsx("div",{className:"teacher-card__photo teacher-card__photo--placeholder"}),o.jsxs("div",{className:"teacher-card__body",children:[o.jsx("div",{className:"teacher-card__skeleton-line teacher-card__skeleton-line--lg"}),o.jsx("div",{className:"teacher-card__skeleton-line teacher-card__skeleton-line--sm"}),o.jsx("div",{className:"teacher-card__skeleton-line"})]})]}),o.jsx("div",{className:"landing-teacher__placeholder"})]},`skeleton-${f}`)):l.map((h,f)=>o.jsxs("article",{className:"landing-teacher",children:[o.jsx(um,{card:h,from:"landing_grid",priority:f===0}),o.jsxs("div",{className:"landing-teacher__actions",children:[o.jsx("a",{className:"btn btn--accent",href:`/chat/${encodeURIComponent(h.slug)}`,"aria-label":`${e("landing.intro.chat")}: ${h.display_name}`,onClick:()=>ut("landing.teacher_chat_clicked",{teacher_id:h.id,teacher_slug:h.slug}),children:e("landing.intro.chat")}),o.jsxs("a",{className:"landing-teacher__lessons",href:`/teacher/${encodeURIComponent(h.slug)}`,"aria-label":e("landing.teachers.lessonsFor",{teacher:h.display_name}),onClick:()=>ut("landing.lessons_clicked",{from:"landing_grid",placement:"teacher",teacher_id:h.id,teacher_slug:h.slug}),children:[e("landing.teachers.lessons")," ",o.jsx("span",{"aria-hidden":"true",children:"→"})]})]})]},h.id))}),o.jsx("p",{className:"landing-teachers__note",children:e("landing.teachers.signIn")})]}),c&&o.jsxs("section",{className:"landing-empty",role:"status",children:[o.jsx("p",{className:"landing-empty__title",children:e("gallery.empty.title")}),o.jsx("p",{className:"landing-empty__body",children:e("gallery.empty.body")})]}),i.kind==="error"&&o.jsxs("section",{className:"landing-error",role:"alert",children:[o.jsx("p",{children:e("gallery.error.title")}),o.jsx("a",{className:"btn",href:"/teachers",children:e("landing.hero.cta.secondary")})]})]}),o.jsx(Kme,{}),o.jsxs("section",{className:"landing-testimonial",children:[o.jsx("blockquote",{className:"landing-testimonial__quote",children:e("landing.testimonial.quote")}),o.jsx("p",{className:"landing-testimonial__attribution",children:e("landing.testimonial.attribution")})]}),o.jsx(Hme,{}),o.jsx(Ume,{}),o.jsxs("section",{className:"landing-closing","aria-labelledby":"closing-heading",children:[o.jsx("h2",{id:"closing-heading",children:e("landing.closing.title")}),o.jsx("a",{className:"btn btn--accent",href:d,onClick:()=>ut("landing.chat_cta_clicked",{placement:"footer"}),children:e("landing.intro.chat")})]}),o.jsxs("nav",{className:"landing-lessons","aria-label":Zr.findHeading,children:[o.jsx("h2",{className:"landing-lessons__heading",children:Zr.findHeading}),o.jsx("div",{className:"landing-lessons__groups",children:iW.map(h=>o.jsxs("div",{className:"landing-lessons__group",children:[o.jsx("h3",{className:"landing-lessons__group-heading",children:h.heading}),o.jsx("ul",{className:"landing-lessons__links",children:h.links.map(f=>o.jsx("li",{children:o.jsx("a",{className:"landing-lessons__link",href:f.href,children:f.label})},f.href))})]},h.heading))})]}),o.jsxs("footer",{className:"landing-footer",children:[o.jsxs("div",{className:"landing-footer__row",children:[o.jsx("span",{className:"landing-footer__brand",children:"Baduk Teacher"}),o.jsxs("nav",{className:"landing-footer__links",children:[o.jsx("a",{href:"/teachers",children:e("landing.footer.links.teachers")})," · ",o.jsx("a",{href:"/waitlist",children:e("teacherprofile.joinWaitlist")})," · ",o.jsx("a",{href:"/learn",children:e("landing.footer.links.learn")})," · ",o.jsx("a",{href:"/login",children:e("landing.footer.links.signIn")})," · ",o.jsx("a",{href:"/terms",children:e("landing.footer.links.terms")})," · ",o.jsx("a",{href:"/privacy",children:e("landing.footer.links.privacy")})," · ",r&&o.jsxs(o.Fragment,{children:[o.jsx("a",{href:"/teach-with-us",children:e("landing.footer.links.teachWithUs")})," · "]}),o.jsx("a",{href:"/tutor-guidelines",children:e("landing.footer.links.tutorGuidelines")})," · ",o.jsx("button",{type:"button",className:"landing-footer__action",onClick:()=>window.dispatchEvent(new Event("consent:open-dialog")),children:e("consent.footer.link")})," · ",o.jsx("a",{className:"landing-footer__social",href:"https://x.com/baduk_teacher",target:"_blank",rel:"noopener noreferrer","aria-label":e("landing.footer.social.x"),children:o.jsx("svg",{className:"landing-footer__social-icon",viewBox:"0 0 24 24",fill:"
111currentColor","aria-hidden":"true",focusable:"false",children:o.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})]})]}),o.jsxs("p",{className:"landing-footer__contact",children:[e("landing.footer.contact")," ",o.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})]}),o.jsx("p",{className:"landing-footer__address",children:e("landing.footer.address")}),o.jsx("p",{className:"landing-footer__legal",children:e("landing.footer.legal",{year:String(new Date().getFullYear())})})]})]})]})},kb=[{atMs:500,ko:"흑이 한 칸 높이 협공했어요.",en:"Black plays a one-space high pincer."},{atMs:4e3,place:{vertex:[14,4],color:-1},ko:"백은 한 칸 뛰는 게 정수예요.",en:"White jumps out — the standard reply."},{atMs:7500,place:{vertex:[15,5],color:1},ko:"흑이 날일자로 받아요.",en:"Black follows with a knight's move."},{atMs:11e3,place:{vertex:[10,3],color:-1},ko:"백이 되받아 협공해요 — 흔한 진행이에요.",en:"White counter-pincers — a common continuation."},{atMs:14500,place:{vertex:[12,1],color:1},ko:"근데 흑이 변으로 뛰는 이 수, 보셨어요?",en:"But — have you seen Black jump to the side?"},{atMs:18e3,place:{vertex:[12,4],color:-1}},{atMs:18700,place:{vertex:[11,4],color:1}},{atMs:19400,place:{vertex:[11,3],color:-1}},{atMs:20100,place:{vertex:[13,3],color:1},ko:"백의 다음 수가 핵심이에요 — 어디일까요?",en:"White's next move is the key — do you know where?"}];if(kb.length===0)throw new Error("heroScript must contain at least one beat — an empty hero would render a blank stage.");[...kb].reverse().find(e=>e.ko!==void 0);[...kb].reverse().find(e=>e.en!==void 0);var aW={},wb={},dm={};dm.regexRule=function(e,t,{lineBreaks:n=!1,stateCondition:r=c=>!0,value:s=(c,u)=>c[0],last:i=(c,u)=>!1,condition:a=(c,u)=>!0,nextState:l=(c,u)=>u}={}){if(!t.sticky&&!t.global)throw new TypeError("Either sticky (/y, recommended) or global (/g) has to be enabled for the regular expresion.");return{type:e,lineBreaks:n,match(c,u,d){if(!r(d))return null;t.lastIndex=u;let h=t.exec(c);return h==null||h.index!==u||!a(h,d)?null:{length:h[0].length,value:s(h,d),last:i(h,d),state:l(h,d)}}}};dm.tokenizerRule=function(e,t,{lineBreaks:n=!1,stateCondition:r=c=>!0,value:s=(c,u)=>c,last:i=(c,u)=>!1,condition:a=(c,u)=>!0,nextState:l=(c,u)=>u}={}){return{type:e,lineBreaks:n,match(c,u,d){if(!r(d))return null;let h=t(c);h.col=this.col,h.row=this.row,h.pos=u;let f=[...h];return a(f,d)?{length:h.pos-u,value:s(f,d),last:i(f,d),state:l(f,d)}:null}}};dm.createTokenizer=function({rules:e,strategy:t="first",state:n={}}){if(!["first","longest"].includes(t))throw new TypeError("Only 'first' and 'longest' are allowed as values for the strategy option.");return function(s){return{state:n,row:0,col:0,pos:0,done:!1,[Symbol.iterator](){return this},next(){for(;!this.done&&this.pos<s.length;){let i,a,l,c=!1;for(let h of e){if(l=h.match.call(this,s,this.pos,this.state),l==null)continue;let f=l.value;if(f===void 0&&(f=a=s.substr(this.pos,l.length)),(i==null||i.length<l.length)&&(i={type:h.type,value:f,row:this.row,col:this.col,pos:this.pos,length:l.length},c=!!h.lineBreaks),t==="first")break}i==null&&(i={type:null,value:s[this.pos],row:this.row,col:this.col,pos:this.pos,length:1},c=!0);let u=0,d=-1;if(c&&(a==null&&(a=s.substr(this.pos,i.length)),u=Array.from(a).filter((h,f)=>h===`
112`?(d=f,!0):!1).length,this.row+=u),u>0?this.col=i.length-d-1:this.col+=i.length,this.pos+=i.length,l!=null&&l.state!=null&&(this.state=l.state,this.done=!!l.last),i.type==null||i.type[0]!=="_")return{value:i,done:!1}}return this.done=!0,{done:!0}}}}};var ng={exports:{}};const Zme={},Xme=Object.freeze(Object.defineProperty({__proto__:null,default:Zme},Symbol.toStringTag,{value:"Module"})),p1=eF(Xme);var rg,Qj;function $u(){if(Qj)return rg;Qj=1;var e=p1,t=e.Buffer,n={},r;for(r in e)e.hasOwnProperty(r)&&(r==="SlowBuffer"||r==="Buffer"||(n[r]=e[r]));var s=n.Buffer={};for(r in t)t.hasOwnProperty(r)&&(r==="allocUnsafe"||r==="allocUnsafeSlow"||(s[r]=t[r]));if(n.Buffer.prototype=t.prototype,(!s.from||s.from===Uint8Array.from)&&(s.from=function(i,a,l){if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof i);if(i&&typeof i.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);return t(i,a,l)}),s.alloc||(s.alloc=function(i,a,l){if(typeof i!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof i);if(i<0||i>
112=2*(1<<30))throw new RangeError('The value "'+i+'" is invalid for option "size"');var c=t(i);return!a||a.length===0?c.fill(0):typeof l=="string"?c.fill(a,l):c.fill(a),c}),!n.kStringMaxLength)try{n.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}return n.constants||(n.constants={MAX_LENGTH:n.kMaxLength},n.kStringMaxLength&&(n.constants.MAX_STRING_LENGTH=n.kStringMaxLength)),rg=n,rg}var v2={},eC;function Qme(){if(eC)return v2;eC=1;var e="\uFEFF";v2.PrependBOM=t;function t(r,s){this.encoder=r,this.addBOM=!0}t.prototype.write=function(r){return this.addBOM&&(r=e+r,this.addBOM=!1),this.encoder.write(r)},t.prototype.end=function(){return this.encoder.end()},v2.StripBOM=n;function n(r,s){this.decoder=r,this.pass=!1,this.options=s||{}}return n.prototype.write=function(r){var s=this.decoder.write(r);return this.pass||!s||(s[0]===e&&(s=s.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),s},n.prototype.end=function(){return this.decoder.end()},v2}var sg={},ig={},b2={exports:{}};/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var tC;function e5e(){return tC||(tC=1,function(e,t){var n=p1,r=n.Buffer;function s(a,l){for(var c in a)l[c]=a[c]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=i);function i(a,l,c){return r(a,l,c)}i.prototype=Object.create(r.prototype),s(r,i),i.from=function(a,l,c){if(typeof a=="number")throw new TypeError("Argument must not be a number");return r(a,l,c)},i.alloc=function(a,l,c){if(typeof a!="number")throw new TypeError("Argument must be a number");var u=r(a);return l!==void 0?typeof c=="string"?u.fill(l,c):u.fill(l):u.fill(0),u},i.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r(a)},i.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}}(b2,b2.exports)),b2.exports}var nC;function t5e(){if(nC)return ig;nC=1;var e=e5e().Buffer,t=e.isEncoding||function(g){switch(g=""+g,g&&g.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(g){if(!g)return"utf8";for(var b;;)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(b)return;g=(""+g).toLowerCase(),b=!0}}function r(g){var b=n(g);if(typeof b!="string"&&(e.isEncoding===t||!t(g)))throw new Error("Unknown encoding: "+g);return b||g}ig.StringDecoder=s;function s(g){this.encoding=r(g);var b;switch(this.encoding){case"utf16le":this.text=h,this.end=f,b=4;break;case"utf8":this.fillLast=c,b=4;break;case"base64":this.text=p,this.end=m,b=3;break;default:this.write=y,this.end=_;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(b)}s.prototype.write=function(g){if(g.length===0)return"";var b,k;if(this.lastNeed){if(b=this.fillLast(g),b===void 0)return"";k=this.lastNeed,this.lastNeed=0}else k=0;return k<g.length?b?b+this.text(g,k):this.text(g,k):b||""},s.prototype.end=d,s.prototype.text=u,s.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length};function i(g){return g<=127?0:g>>5===6?2:g>>4===14?3:g>>3===30?4:g>>6===2?-1:-2}function a(g,b,k){var x=b.length-1;if(x<k)return 0;var S=i(b[x]);return S>=0?(S>0&&(g.lastNeed=S-1),S):--x<k||S===-2?0:(S=i(b[x]),S>=0?(S>0&&(g.lastNeed=S-2),S):--x<k||S===-2?0:(S=i(b[x]),S>=0?(S>0&&(S===2?S=0:g.lastNeed=S-3),S):0))}function l(g,b,k){if((b[0]&192)!==128)return g.lastNeed=0,"�";if(g.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return g.lastNeed=1,"�";if(g.lastNeed>2&&b.length>2&&(b[2]&192)!==128)return g.lastNeed=2,"�"}}function c(g){var b=this.lastTotal-this.lastNeed,k=l(this,g);
112if(k!==void 0)return k;if(this.lastNeed<=g.length)return g.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,b,0,g.length),this.lastNeed-=g.length}function u(g,b){var k=a(this,g,b);if(!this.lastNeed)return g.toString("utf8",b);this.lastTotal=k;var x=g.length-(k-this.lastNeed);return g.copy(this.lastChar,0,x),g.toString("utf8",b,x)}function d(g){var b=g&&g.length?this.write(g):"";return this.lastNeed?b+"�":b}function h(g,b){if((g.length-b)%2===0){var k=g.toString("utf16le",b);if(k){var x=k.charCodeAt(k.length-1);if(x>=55296&&x<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],k.slice(0,-1)}return k}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",b,g.length-1)}function f(g){var b=g&&g.length?this.write(g):"";if(this.lastNeed){var k=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,k)}return b}function p(g,b){var k=(g.length-b)%3;return k===0?g.toString("base64",b):(this.lastNeed=3-k,this.lastTotal=3,k===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",b,g.length-k))}function m(g){var b=g&&g.length?this.write(g):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function y(g){return g.toString(this.encoding)}function _(g){return g&&g.length?this.write(g):""}return ig}var ag,rC;function n5e(){if(rC)return ag;rC=1;var e=$u().Buffer;ag={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:t};function t(c,u){this.enc=c.encodingName,this.bomAware=c.bomAware,this.enc==="base64"?this.encoder=i:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=a,e.from("eda0bdedb2a9","hex").toString()!=="💩"&&(this.decoder=l,this.defaultCharUnicode=u.defaultCharUnicode))}t.prototype.encoder=s,t.prototype.decoder=r;var n=t5e().StringDecoder;n.prototype.end||(n.prototype.end=function(){});function r(c,u){n.call(this,u.enc)}r.prototype=n.prototype;function s(c,u){this.enc=u.enc}s.prototype.write=function(c){return e.from(c,this.enc)},s.prototype.end=function(){};function i(c,u){this.prevStr=""}i.prototype.write=function(c){c=this.prevStr+c;var u=c.length-c.length%4;return this.prevStr=c.slice(u),c=c.slice(0,u),e.from(c,"base64")},i.prototype.end=function(){return e.from(this.prevStr,"base64")};function a(c,u){}a.prototype.write=function(c){for(var u=e.alloc(c.length*3),d=0,h=0;h<c.length;h++){var f=c.charCodeAt(h);f<128?u[d++]=f:f<2048?(u[d++]=192+(f>>>6),u[d++]=128+(f&63)):(u[d++]=224+(f>>>12),u[d++]=128+(f>>>6&63),u[d++]=128+(f&63))}return u.slice(0,d)},a.prototype.end=function(){};function l(c,u){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=u.defaultCharUnicode}return l.prototype.write=function(c){for(var u=this.acc,d=this.contBytes,h=this.accBytes,f="",p=0;p<c.length;p++){var m=c[p];(m&192)!==128?(d>0&&(f+=this.defaultCharUnicode,d=0),m<128?f+=String.fromCharCode(m):m<224?(u=m&31,d=1,h=1):m<240?(u=m&15,d=2,h=1):f+=this.defaultCharUnicode):d>0?(u=u<<6|m&63,d--,h++,d===0&&(h===2&&u<128&&u>0?f+=this.defaultCharUnicode:h===3&&u<2048?f+=this.defaultCharUnicode:f+=String.fromCharCode(u))):f+=this.defaultCharUnicode}return this.acc=u,this.contBytes=d,this.accBytes=h,f},l.prototype.end=function(){var c=0;return this.contBytes>0&&(c+=this.defaultCharUnicode),c},ag}var _2={},sC;function r5e(){if(sC)return _2;sC=1;var e=$u().Buffer;_2.utf16be=t;function t(){}t.prototype.encoder=n,t.prototype.decoder=r,t.prototype.bomAware=!0;function n(){}n.prototype.write=function(c){for(var u=e.from(c,"ucs2"),d=0;d<u.length;d+=2){var h=u[d];u[d]=u[d+1],u[d+1]=h}return u},n.prototype.end=function(){};function r(){this.overflowByte=-1}r.prototype.write=function(c){if(c.length==0)return"";var u=e.alloc(c.length+1),d=0,h=0;for(this.overflowByte!==-1&&(u[0]=c[0],u[1]=this.overflowByte,d=1,h=2);d<c.length-1;d+=2,h+=2)u[h]=c[d+1],u[h+1]=c[d];return this.overflowByte=d==c.length-1?c[c.length-1]:-1,u.slice(0,h).toString("ucs2")},r.prototype.end=function(){},_2.utf16=s;function s(c,u){this.iconv=u}s.prototype.encoder=i,s.prototype.decoder=a;function i(c,u){c=c||{},c.addBOM===void 0&&(c.addBOM=!0),this.encoder=u.iconv.getEncoder("utf-16le",c)}i.prototype.write=function(c){return this.encoder.write(c)},i.prototype.end=function(){return this.encoder.end()};function a(c,u){this.decoder=null,this.initialBytes=[],this.initialBytesLen=0,this.options=c||{},this.iconv=u.iconv}a.prototype.write=function(c){if(!this.decoder){if(this.initialBytes.push(c),this.initialBytesLen+=c.length,this.initialBytesLen<16)return"";var c=e.concat(this.initialBytes),u=l(c,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(u,this.options),this.initialBytes.length=this.initialBytesLen=0}return this.decoder.write(c)},a.prototype.end=function(){if(!this.decoder){var c=e.concat(this.initialBytes),u=l(c,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(u,this.options);var d=this.decoder.write(c),h=this.decoder.end();return h?d+h:d}return this.decoder.end()};function l(c,u){var d=u||"utf-16le";if(c.length>=2)if(c[0]==254&&c[1]==255)d="utf-16be";else if(c[0]==255&&c[1]==254)d="utf-16le";else{for(var h=0,f=0,p=Math.min(c.length-c.length%2,64),m=0;m<p;m+=2)c[m]===0&&c[m+1]!==0&&f++,c[m]!==0&&c[m+1]===0&&h++;f>h?d="utf-16be":f<h&&(d="utf-16le")}return d}return _2}var Td={},iC;
112function s5e(){if(iC)return Td;iC=1;var e=$u().Buffer;Td.utf7=t,Td.unicode11utf7="utf7";function t(y,_){this.iconv=_}t.prototype.encoder=r,t.prototype.decoder=s,t.prototype.bomAware=!0;var n=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function r(y,_){this.iconv=_.iconv}r.prototype.write=function(y){return e.from(y.replace(n,(function(_){return"+"+(_==="+"?"":this.iconv.encode(_,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}).bind(this)))},r.prototype.end=function(){};function s(y,_){this.iconv=_.iconv,this.inBase64=!1,this.base64Accum=""}for(var i=/[A-Za-z0-9\/+]/,a=[],l=0;l<256;l++)a[l]=i.test(String.fromCharCode(l));var c=43,u=45,d=38;s.prototype.write=function(y){for(var _="",g=0,b=this.inBase64,k=this.base64Accum,x=0;x<y.length;x++)if(!b)y[x]==c&&(_+=this.iconv.decode(y.slice(g,x),"ascii"),g=x+1,b=!0);else if(!a[y[x]]){if(x==g&&y[x]==u)_+="+";else{var S=k+y.slice(g,x).toString();_+=this.iconv.decode(e.from(S,"base64"),"utf16-be")}y[x]!=u&&x--,g=x+1,b=!1,k=""}if(!b)_+=this.iconv.decode(y.slice(g),"ascii");else{var S=k+y.slice(g).toString(),T=S.length-S.length%8;k=S.slice(T),S=S.slice(0,T),_+=this.iconv.decode(e.from(S,"base64"),"utf16-be")}return this.inBase64=b,this.base64Accum=k,_},s.prototype.end=function(){var y="";return this.inBase64&&this.base64Accum.length>0&&(y=this.iconv.decode(e.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",y},Td.utf7imap=h;function h(y,_){this.iconv=_}h.prototype.encoder=f,h.prototype.decoder=p,h.prototype.bomAware=!0;function f(y,_){this.iconv=_.iconv,this.inBase64=!1,this.base64Accum=e.alloc(6),this.base64AccumIdx=0}f.prototype.write=function(y){for(var _=this.inBase64,g=this.base64Accum,b=this.base64AccumIdx,k=e.alloc(y.length*5+10),x=0,S=0;S<y.length;S++){var T=y.charCodeAt(S);32<=T&&T<=126?(_&&(b>0&&(x+=k.write(g.slice(0,b).toString("base64").replace(/\//g,",").replace(/=+$/,""),x),b=0),k[x++]=u,_=!1),_||(k[x++]=T,T===d&&(k[x++]=u))):(_||(k[x++]=d,_=!0),_&&(g[b++]=T>>8,g[b++]=T&255,b==g.length&&(x+=k.write(g.toString("base64").replace(/\//g,","),x),b=0)))}return this.inBase64=_,this.base64AccumIdx=b,k.slice(0,x)},f.prototype.end=function(){var y=e.alloc(10),_=0;return this.inBase64&&(this.base64AccumIdx>0&&(_+=y.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),_),this.base64AccumIdx=0),y[_++]=u,this.inBase64=!1),y.slice(0,_)};function p(y,_){this.iconv=_.iconv,this.inBase64=!1,this.base64Accum=""}var m=a.slice();return m[44]=!0,p.prototype.write=function(y){for(var _="",g=0,b=this.inBase64,k=this.base64Accum,x=0;x<y.length;x++)if(!b)y[x]==d&&(_+=this.iconv.decode(y.slice(g,x),"ascii"),g=x+1,b=!0);else if(!m[y[x]]){if(x==g&&y[x]==u)_+="&";else{var S=k+y.slice(g,x).toString().replace(/,/g,"/");_+=this.iconv.decode(e.from(S,"base64"),"utf16-be")}y[x]!=u&&x--,g=x+1,b=!1,k=""}if(!b)_+=this.iconv.decode(y.slice(g),"ascii");else{var S=k+y.slice(g).toString().replace(/,/g,"/"),T=S.length-S.length%8;k=S.slice(T),S=S.slice(0,T),_+=this.iconv.decode(e.from(S,"base64"),"utf16-be")}return this.inBase64=b,this.base64Accum=k,_},p.prototype.end=function(){var y="";return this.inBase64&&this.base64Accum.length>0&&(y=this.iconv.decode(e.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",y},Td}var og={},aC;function i5e(){if(aC)return og;aC=1;var e=$u().Buffer;og._sbcs=t;function t(s,i){if(!s)throw new Error("SBCS codec is called without the data.");if(!s.chars||s.chars.length!==128&&s.chars.length!==256)throw new Error("Encoding '"+s.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(s.chars.length===128){for(var a="",l=0;l<128;l++)a+=String.fromCharCode(l);s.chars=a+s.chars}this.decodeBuf=e.from(s.chars,"ucs2");for(var c=e.alloc(65536,i.defaultCharSingleByte.charCodeAt(0)),l=0;l<s.chars.length;l++)c[s.chars.charCodeAt(l)]=l;this.encodeBuf=c}t.prototype.encoder=n,t.prototype.decoder=r;function n(s,i){this.encodeBuf=i.encodeBuf}n.prototype.write=function(s){for(var i=e.alloc(s.length),a=0;a<s.length;a++)i[a]=this.encodeBuf[s.charCodeAt(a)];return i},n.prototype.end=function(){};function r(s,i){this.decodeBuf=i.decodeBuf}return r.prototype.write=function(s){for(var i=this.decodeBuf,a=e.alloc(s.length*2),l=0,c=0,u=0;u<s.length;u++)l=s[u]*2,c=u*2,a[c]=i[l],a[c+1]=i[l+1];return a.toString("ucs2")},r.prototype.end=function(){},og}var lg,oC;function a5e(){return oC||(oC=1,lg={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}),lg}var cg,lC;function o5e(){return lC||(lC=1,cg
vendor: 5,999 bytes, line 112
112={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕÑ
vendor: 8,134 bytes, line 112
112–їјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:
112`\0������\x07\b	
113\v\f\r�������������\x1B���� !"#$Ùª&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~�°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็
113่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF
vendor: 2,689 bytes, line 113
113​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:
113`\0ÚỤ�ỪỬỮ\x07\b	
114\v\f\r���ỨỰỲỶỸÝỴ���\x1B���� !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~�ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:`\0�Ẳ��ẴẪ\x07\b	
115\v\f\r������á»¶����Ỹ�\x1B��á»´� !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~�ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`},iso646cn:{type:"_sbcs",chars:`\0������\x07\b	
116\v\f\r�������������\x1B���� !"#Â¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}‾���������������������������������������������������������������������������������������������������������������������������������`},iso646jp:{type:"_sbcs",chars:`\0������\x07\b	
117\v\f\r�������������\x1B���� !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[Â¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾���������������������������������������������������������������������������������������������������������������������������������`},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟ
117ภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}),cg}var ug={},cC;function l5e(){if(cC)return ug;cC=1;var e=$u().Buffer;ug._dbcs=c;for(var t=-1,n=-2,r=-10,s=-1e3,i=new Array(256),a=-1,l=0;l<256;l++)i[l]=t;function c(f,p){if(this.encodingName=f.encodingName,!f)throw new Error("DBCS codec is called without the data.");if(!f.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var m=f.table();this.decodeTables=[],this.decodeTables[0]=i.slice(0),this.decodeTableSeq=[];for(var y=0;y<m.length;y++)this._addDecodeChunk(m[y]);this.defaultCharUnicode=p.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var _={};if(f.encodeSkipVals)for(var y=0;y<f.encodeSkipVals.length;y++){var g=f.encodeSkipVals[y];if(typeof g=="number")_[g]=!0;else for(var b=g.from;b<=g.to;b++)_[b]=!0}if(this._fillEncodeTable(0,0,_),f.encodeAdd)for(var k in f.encodeAdd)Object.prototype.hasOwnProperty.call(f.encodeAdd,k)&&this._setEncodeChar(k.charCodeAt(0),f.encodeAdd[k]);if(this.defCharSB=this.encodeTable[0][p.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===t&&(this.defCharSB=this.encodeTable[0]["?"]),this.defCharSB===t&&(this.defCharSB=63),typeof f.gb18030=="function"){this.gb18030=f.gb18030();for(var x=this.decodeTables.length,S=this.decodeTables[x]=i.slice(0),T=this.decodeTables.length,C=this.decodeTables[T]=i.slice(0),y=129;y<=254;y++)for(var E=s-this.decodeTables[0][y],N=this.decodeTables[E],b=48;b<=57;b++)N[b]=s-x;for(var y=129;y<=254;y++)S[y]=s-T;for(var y=48;y<=57;y++)C[y]=n}}c.prototype.encoder=u,c.prototype.decoder=d,c.prototype._getDecodeTrieNode=function(f){for(var p=[];f>0;f>>=8)p.push(f&255);p.length==0&&p.push(0);for(var m=this.decodeTables[0],y=p.length-1;y>0;y--){var _=m[p[y]];if(_==t)m[p[y]]=s-this.decodeTables.length,this.decodeTables.push(m=i.slice(0));else if(_<=s)m=this.decodeTables[s-_];else throw new Error("Overwrite byte in "+this.encodingName+", addr: "+f.toString(16))}return m},c.prototype._addDecodeChunk=function(f){var p=parseInt(f[0],16),m=this._getDecodeTrieNode(p);p=p&255;for(var y=1;y<f.length;y++){var _=f[y];if(typeof _=="string")for(var g=0;g<_.length;){var b=_.charCodeAt(g++);if(55296<=b&&b<56320){var k=_.charCodeAt(g++);if(56320<=k&&k<57344)m[p++]=65536+(b-55296)*1024+(k-56320);else throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+f[0])}else if(4080<b&&b<=4095){for(var x=4095-b+2,S=[],T=0;T<x;T++)S.push(_.charCodeAt(g++));m[p++]=r-this.decodeTableSeq.length,this.decodeTableSeq.push(S)}else m[p++]=b}else if(typeof _=="number")for(var C=m[p-1]+1,g=0;g<_;g++)m[p++]=C++;else throw new Error("Incorrect type '"+typeof _+"' given in "+this.encodingName+" at chunk "+f[0])}if(p>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+f[0]+": too long"+p)},c.prototype._getEncodeBucket=function(f){var p=f>>8;return this.encodeTable[p]===void 0&&(this.encodeTable[p]=i.slice(0)),this.encodeTable[p]},c.prototype._setEncodeChar=function(f,p){var m=this._getEncodeBucket(f),y=f&255;m[y]<=r?this.encodeTableSeq[r-m[y]][a]=p:m[y]==t&&(m[y]=p)},c.prototype._setEncodeSequence=function(f,p){var m=f[0],y=this._getEncodeBucket(m),_=m&255,g;y[_]<=r?g=this.encodeTableSeq[r-y[_]]:(g={},y[_]!==t&&(g[a]=y[_]),y[_]=r-this.encodeTableSeq.length,this.encodeTableSeq.push(g));for(var b=1;b<f.length-1;b++){var k=g[m];typeof k=="object"?g=k:(g=g[m]={},k!==void 0&&(g[a]=k))}m=f[f.length-1],g[m]=p},c.prototype._fillEncodeTable=function(f,p,m){for(var y=this.decodeTables[f],_=0;_<256;_++){var g=y[_],b=p+_;m[b]||(g>=0?this._setEncodeChar(g,b):g<=s?this._fillEncodeTable(s-g,b<<8,m):g<=r&&this._setEncodeSequence(this.decodeTableSeq[r-g],b))}};function u(f,p){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=p.encodeTable,this.encodeTableSeq=p.encodeTableSeq,this.defaultCharSingleByte=p.defCharSB,this.gb18030=p.gb18030}u.prototype.write=function(f){for(var p=e.alloc(f.length*(this.gb18030?4:3)),m=this.leadSurrogate,y=this.seqObj,_=-1,g=0,b=0;;){if(_===-1){if(g==f.length)break;var k=f.charCodeAt(g++)}else{var k=_;_=-1}if(55296<=k&&k<57344)if(k<56320)if(m===-1){m=k;continue}else m=k,k=t;else m!==-1?(k=65536+(m-55296)*1024+(k-56320),m=-1):k=t;else m!==-1&&(_=k,k=t,m=-1);var x=t;if(y!==void 0&&k!=t){var S=y[k];if(typeof S=="object"){y=S;continue}else typeof S=="number"?x=S:S==null&&(S=y[a],S!==void 0&&(x=S,_=k));y=void 0}else if(k>=0){var T=this.encodeTable[k>>8];if(T!==void 0&&(x=T[k&255]),x<=r){y=this.encodeTableSeq[r-x];continue}if(x==t&&this.gb18030){var C=h(this.gb18030.uChars,k);if(C!=-1){var x=this.gb18030.gbChars[C]+(k-this.gb18030.uChars[C]);p[b++]=129+Math.floor(x/12600),x=x%12600,p[b++]=48+Math.floor(x/1260),x=x%1260,p[b++]=129+Math.floor(x/10),x=x%10,p[b++]=48+x;continue}}}x===t&&(x=this.defaultCharSingleByte),x<256?p[b++]=x:x<65536?(p[b++]=x>>8,p[b++]=x&255):(p[b++]=x>>16,p[b++]=x>>8&255,p[b++]=x&255)}return this.seqObj=y,this.leadSurrogate=m,p.slice(0,b)},u.prototype.end=function(){if(!(this.leadSurrogate===-1&&this.seqObj===void 0)){var f=e.alloc(10),p=0;if(this.seqObj){var m=this.seqObj[a];m!==void 0&&(m<256?f[p++]=m:(f[p++]=m>>8,f[p++]=m&255)),this.seqObj=void 0}return this.leadSurrogate!==-1&&(f[p++]=this.defaultCharSingleByte,this.leadSurrogate=-1),f.slice(0,p)}},u.prototype.findIdx=h;function d(f,p){this.nodeIdx=0,this.prevBuf=e.alloc(0),this.decodeTables=p.decodeTables,this.decodeTableSeq=p.decodeTableSeq,this.defaultCharUnicode=p.defaultCharUnicode,this.gb18030=p.gb18030}d.prototype.write=function(f){var p=e.alloc(f.length*2),m=this.nodeIdx,y=this.prevBuf,_=this.prevBuf.length,g=-this.prevBuf.length,b;_>0&&(y=e.concat([y,f.slice(0,10)]));for(var k=0,x=0;k<f.length;k++){var S=k>=0?f[k]:y[k+_],b=this.decodeTables[m][S];if(!(b>=0))if(b===t)k=g,b=this.defaultCharUnicode.charCodeAt(0);else if(b===n){var T=g>=0?f.slice(g,k+1):y.slice(g+_,k+1+_),C=(T[0]-129)*12600+(T[1]-48)*1260+(T[2]-129)*10+(T[3]-48),E=h(this.gb18030.gbChars,C);b=this.gb18030.uChars[E]+C-this.gb18030.gbChars[E]}else if(b<=s){m=s-b;continue}else if(b<=r){for(var N=this.decodeTableSeq[r-b],j=0;j<N.length-1;j++)b=N[j],p[x++]=b&255,p[x++]=b>>8;b=N[N.length-1]}else throw new Error("iconv-lite internal error: invalid decoding table value "+b+" at "+m+"/"+S);if(b>65535){b-=65536;var I=55296+Math.floor(b/1024);p[x++]=I&255,p[x++]=I>>8,b=56320+b%1024}p[x++]=b&255,p[x++]=b>>8,m=0,g=k+1}return this.nodeIdx=m,this.prevBuf=g>=0?f.slice(g):y.slice(g+_),p.slice(0,x).toString("ucs2")},d.prototype.end=function(){for(var f="";this.prevBuf.length>0;){f+=this.defaultCharUnicode;var p=this.prevBuf.slice(1);this.prevBuf=e.alloc(0),this.nodeIdx=0,p.length>0&&(f+=this.write(p))}return this.nodeIdx=0,f};function h(f,p){if(f[0]>p)return-1;for(var m=0,y=f.length;m<y-1;){var _=m+Math.floor((y-m+1)/2);f[_]<=p?m=_:y=_}return m}return ug}const c5e
vendor: 23,654 bytes, line 117
117=[["0","\0",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]
117,u5e
vendor: 40,879 bytes, line 117
117=[["0","\0",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]
117,dg
vendor: 47,053 bytes, line 117
117=[["0","\0",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]
117,uC=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc",""],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93]],d5e=[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],h5e=[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189e3],f5e={uChars:d5e,gbChars:h5e},p5e
vendor: 37,846 bytes, line 117
117=[["0","\0",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]
117,dC
vendor: 42,176 bytes, line 117
117=[["0","\0",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]
117,m5e
vendor: 17,596 bytes, line 117
117=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]
vendor: 1,084 bytes, line 117
117;var hg,hC;function g5e(){return hC||(hC=1,hg={shiftjis:{type:"_dbcs",table:function(){return c5e},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return u5e},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return dg}},gbk:{type:"_dbcs",table:function(){return dg.concat(uC)}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return dg.concat(uC)},gb18030:function(){return f5e},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return p5e}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"
117cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return dC}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return dC.concat(m5e)},encodeSkipVals:[41676]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}),hg}var fC;function y5e(){return fC||(fC=1,function(e){for(var t=[n5e(),r5e(),s5e(),i5e(),a5e(),o5e(),l5e(),g5e()],n=0;n<t.length;n++){var r=t[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}}(sg)),sg}var pC;function v5e(){return pC||(pC=1,function(e){var t=$u().Buffer,n=Qme(),r=e.exports;r.encodings=null,r.defaultCharUnicode="�",r.defaultCharSingleByte="?",r.encode=function(l,c,u){l=""+(l||"");var d=r.getEncoder(c,u),h=d.write(l),f=d.end();return f&&f.length>0?t.concat([h,f]):h},r.decode=function(l,c,u){typeof l=="string"&&(r.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),r.skipDecodeWarning=!0),l=t.from(""+(l||""),"binary"));var d=r.getDecoder(c,u),h=d.write(l),f=d.end();return f?h+f:h},r.encodingExists=function(l){try{return r.getCodec(l),!0}catch{return!1}},r.toEncoding=r.encode,r.fromEncoding=r.decode,r._codecDataCache={},r.getCodec=function(l){r.encodings||(r.encodings=y5e());for(var c=r._canonicalizeEncoding(l),u={};;){var d=r._codecDataCache[c];if(d)return d;var h=r.encodings[c];switch(typeof h){case"string":c=h;break;case"object":for(var f in h)u[f]=h[f];u.encodingName||(u.encodingName=c),c=h.type;break;case"function":return u.encodingName||(u.encodingName=c),d=new h(u,r),r._codecDataCache[u.encodingName]=d,d;default:throw new Error("Encoding not recognized: '"+l+"' (searched as: '"+c+"')")}}},r._canonicalizeEncoding=function(a){return(""+a).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")},r.getEncoder=function(l,c){var u=r.getCodec(l),d=new u.encoder(c,u);return u.bomAware&&c&&c.addBOM&&(d=new n.PrependBOM(d,c)),d},r.getDecoder=function(l,c){var u=r.getCodec(l),d=new u.decoder(c,u);
117return u.bomAware&&!(c&&c.stripBOM===!1)&&(d=new n.StripBOM(d,c)),d};var s=typeof process<"u"&&process.versions&&process.versions.node;if(s){var i=s.split(".").map(Number);(i[0]>0||i[1]>=10)&&p1(r),p1(r)}}(ng)),ng.exports}var b5e=(()=>{try{let e=v5e();if(e==null)throw new Error;return e}catch{return{encodingExists:()=>!0,decode:t=>t.toString(),encode:(t,n)=>t}}})(),Yl={},fg,mC;function on(){return mC||(mC=1,fg={detecting:0,foundIt:1,notMe:2,start:0,error:1,itsMe:2,SHORTCUT_THRESHOLD:.95}),fg}var pg,gC;function El(){if(gC)return pg;gC=1;var e=on();function t(){this.reset=function(){this._mState=e.detecting},this.getCharsetName=function(){return null},this.feed=function(n){},this.getState=function(){return this._mState},this.getConfidence=function(){return 0},this.filterHighBitOnly=function(n){return n=n.replace(/[\x00-\x7F]+/g," "),n},this.filterWithoutEnglishLetters=function(n){return n=n.replace(/[A-Za-z]+/g," "),n},this.filterWithEnglishLetters=function(n){for(var r="",s=!1,i=0,a=0;a<n.length;a++){var l=n[a];l==">"?s=!1:l=="<"&&(s=!0);var c=/[a-zA-Z]/.test(l),u=/^[\x00-\x7F]*$/.test(l);u&&!c&&(a>i&&!s&&(r=r+n.substring(i,a)+" "),i=a+1)}return s||(r=r+n.substring(i)),r}}return pg=t,pg}var Jl={},yC;function zl(){return yC||(yC=1,Jl.log=function(){},Jl.setLogger=function(t){Jl.enabled=!0,Jl.log=t}),Jl}var mg,vC;function oW(){if(vC)return mg;vC=1;var e=on(),t=El(),n=zl();function r(){t.apply(this);var s=this;function i(){s._mActiveNum=0,s._mProbers=[],s._mBestGuessProber=null}this.reset=function(){r.prototype.reset.apply(this),this._mActiveNum=0;for(var a=0,l;l=this._mProbers[a];a++)l&&(l.reset(),l.active=!0,this._mActiveNum++);this._mBestGuessProber=null},this.getCharsetName=function(){return!this._mBestGuessProber&&(this.getConfidence(),!this._mBestGuessProber)?null:this._mBestGuessProber.getCharsetName()},this.feed=function(a){for(var l=0,c;c=this._mProbers[l];l++)if(!(!c||!c.active)){var u=c.feed(a);if(u){if(u==e.foundIt)return this._mBestGuessProber=c,this.getState();if(u==e.notMe&&(c.active=!1,this._mActiveNum--,this._mActiveNum<=0))return this._mState=e.notMe,this.getState()}}return this.getState()},this.getConfidence=function(){var a=this.getState();if(a==e.foundIt)return .99;if(a==e.notMe)return .01;var l=0;this._mBestGuessProber=null;for(var c=0,u;u=this._mProbers[c];c++)if(u){if(!u.active){n.log(u.getCharsetName()+` not active
118`);continue}var d=u.getConfidence();n.log(u.getCharsetName()+" confidence = "+d+`
119`),l<d&&(l=d,this._mBestGuessProber=u)}return this._mBestGuessProber?l:0},i()}return r.prototype=new t,mg=r,mg}var gg,bC;function mo(){if(bC)return gg;bC=1;var e=on();function t(n){var r=this;function s(i){r._mModel=i,r._mCurrentBytePos=0,r._mCurrentCharLen=0,r.reset()}this.reset=function(){this._mCurrentState=e.start},this.nextState=function(i){var a=this._mModel.classTable[i.charCodeAt(0)];return this._mCurrentState==e.start&&(this._mCurrentBytePos=0,this._mCurrentCharLen=this._mModel.charLenTable[a]),this._mCurrentState=this._mModel.stateTable[this._mCurrentState*this._mModel.classFactor+a],this._mCurrentBytePos++,this._mCurrentState},this.getCurrentCharLen=function(){return this._mCurrentCharLen},this.getCodingStateMachine=function(){return this._mModel.name},s(n)}return gg=t,gg}var yg,_C;function Bu(){if(_C)return yg;_C=1;var e=El(),t=on(),n=zl();function r(){e.apply(this),this.reset=function(){r.prototype.reset.apply(this),this._mCodingSM&&this._mCodingSM.reset(),this._mDistributionAnalyzer&&this._mDistributionAnalyzer.reset(),this._mLastChar="\0\0"},this.getCharsetName=function(){},this.feed=function(s){for(var i=s.length,a=0;a<i;a++){var l=this._mCodingSM.nextState(s[a]);if(l==t.error){n.log(this.getCharsetName()+" prober hit error at byte "+a+`
120`),this._mState=t.notMe;break}else if(l==t.itsMe){this._mState=t.foundIt;break}else if(l==t.start){var c=this._mCodingSM.getCurrentCharLen();a==0?(this._mLastChar[1]=s[0],this._mDistributionAnalyzer.feed(this._mLastChar,c)):this._mDistributionAnalyzer.feed(s.slice(a-1,a+1),c)}}return this._mLastChar[0]=s[i-1],this.getState()==t.detecting&&this._mDistributionAnalyzer.gotEnoughData()&&this.getConfidence()>
120t.SHORTCUT_THRESHOLD&&(this._mState=t.foundIt),this.getState()},this.getConfidence=function(){return this._mDistributionAnalyzer.getConfidence()}}return r.prototype=new e,yg=r,yg}var vg,kC;function _5e(){if(kC)return vg;kC=1;var e=on(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0],n=[e.error,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.start],r=[0,1,1,2,0];return vg={classTable:t,classFactor:5,stateTable:n,charLenTable:r,name:"Big5"},vg}var Ni={},jd={},wC;function k5e(){return wC||(wC=1,jd.JIS_TYPICAL_DISTRIBUTION_RATIO=3,jd.JIS_TABLE_SIZE=4368,jd.JISCharToFreqOrder=[40,1,6,182,152,180,295,2127,285,381,3295,4304,3068,4606,3165,3510,3511,1822,2785,4607,1193,2226,5070,4608,171,2996,1247,18,179,5071,856,1661,1262,5072,619,127,3431,3512,3230,1899,1700,232,228,1294,1298,284,283,2041,2042,1061,1062,48,49,44,45,433,434,1040,1041,996,787,2997,1255,4305,2108,4609,1684,1648,5073,5074,5075,5076,5077,5078,3687,5079,4610,5080,3927,3928,5081,3296,3432,290,2285,1471,2187,5082,2580,2825,1303,2140,1739,1445,2691,3375,1691,3297,4306,4307,4611,452,3376,1182,2713,3688,3069,4308,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5110,5111,5112,4097,5113,5114,5115,5116,5117,5118,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,5150,5151,5152,4612,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,1472,598,618,820,1205,1309,1412,1858,1307,1692,5176,5177,5178,5179,5180,5181,5182,1142,1452,1234,1172,1875,2043,2149,1793,1382,2973,925,2404,1067,1241,960,1377,2935,1491,919,1217,1865,2030,1406,1499,2749,4098,5183,5184,5185,5186,5187,5188,2561,4099,3117,1804,2049,3689,4309,3513,1663,5189,3166,3118,3298,1587,1561,3433,5190,3119,1625,2998,3299,4613,1766,3690,2786,4614,5191,5192,5193,5194,2161,26,3377,2,3929,20,3691,47,4100,50,17,16,35,268,27,243,42,155,24,154,29,184,4,91,14,92,53,396,33,289,9,37,64,620,21,39,321,5,12,11,52,13,3,208,138,0,7,60,526,141,151,1069,181,275,1591,83,132,1475,126,331,829,15,69,160,59,22,157,55,1079,312,109,38,23,25,10,19,79,5195,61,382,1124,8,30,5196,5197,5198,5199,5200,5201,5202,5203,5204,5205,5206,89,62,74,34,2416,112,139,196,271,149,84,607,131,765,46,88,153,683,76,874,101,258,57,80,32,364,121,1508,169,1547,68,235,145,2999,41,360,3027,70,63,31,43,259,262,1383,99,533,194,66,93,846,217,192,56,106,58,565,280,272,311,256,146,82,308,71,100,128,214,655,110,261,104,1140,54,51,36,87,67,3070,185,2618,2936,2020,28,1066,2390,2059,5207,5208,5209,5210,5211,5212,5213,5214,5215,5216,4615,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,3514,5237,5238,5239,5240,5241,5242,5243,5244,2297,2031,4616,4310,3692,5245,3071,5246,3598,5247,4617,3231,3515,5248,4101,4311,4618,3808,4312,4102,5249,4103,4104,3599,5250,5251,5252,5253,5254,5255,5256,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,363,642,2787,2878,2788,2789,2316,3232,2317,3434,2011,165,1942,3930,3931,3932,3933,5382,4619,5383,4620,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,5413,5414,5415,5416,54
12017,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,2044,2060,4621,997,1235,473,1186,4622,920,3378,6115,6116,379,1108,4313,2657,2735,3934,6117,3809,636,3233,573,1026,3693,3435,2974,3300,2298,4105,854,2937,2463,393,2581,2417,539,752,1280,2750,2480,140,1161,440,708,1569,665,2497,1746,1291,1523,3e3,164,1603,847,1331,537,1997,486,508,1693,2418,1970,2227,878,1220,299,1030,969,652,2751,624,1137,3301,2619,65,3302,2045,1761,1859,3120,1930,3694,3516,663,1767,852,835,3695,269,767,2826,2339,1305,896,1150,770,1616,6118,506,1502,2075,1012,2519,775,2520,2975,2340,2938,4314,3028,2086,1224,1943,2286,6119,3072,4315,2240,1273,1987,3935,1557,175,597,985,3517,2419,2521,1416,3029,585,938,1931,1007,1052,1932,1685,6120,3379,4316,4623,804,599,3121,1333,2128,2539,1159,1554,2032,3810,687,2033,2904,952,675,1467,3436,6121,2241,1096,1786,2440,1543,1924,980,1813,2228,781,2692,1879,728,1918,3696,4624,548,1950,4625,1809,1088,1356,3303,2522,1944,502,972,373,513,2827,586,2377,2391,1003,1976,1631,6122,2464,1084,648,1776,4626,2141,324,962,2012,2177,2076,1384,742,2178,1448,1173,1810,222,102,301,445,125,2420,662,2498,277,200,1476,1165,1068,224,2562,1378,1446,450,1880,659,791,582,4627,2939,3936,1516,1274,555,2099,3697,1020,1389,1526,3380,1762,1723,1787,2229,412,2114,1900,2392,3518,512,2597,427,1925,2341,3122,1653,1686,2465,2499,697,330,273,380,2162,951,832,780,991,1301,3073,965,2270,3519,668,2523,2636,1286,535,1407,518,671,957,2658,2378,267,611,2197,3030,6123,248,2299,967,1799,2356,850,1418,3437,1876,1256,1480,2828,1718,6124,6125,1755,1664,2405,6126,4628,2879,2829,499,2179,676,4629,557,2329,2214,2090,325,3234,464,811,3001,992,2342,2481,1232,1469,303,2242,466,1070,2163,603,1777,2091,4630,2752,4631,2714,322,2659,1964,1768,481,2188,1463,2330,2857,3600,2092,3031,2421,4632,2318,2070,1849,2598,4633,1302,2254,1668,1701,2422,3811,2905,3032,3123,2046,4106,1763,1694,4634,1604,943,1724,1454,917,868,2215,1169,2940,552,1145,1800,1228,1823,1955,316,1080,2510,361,1807,2830,4107,2660,3381,1346,1423,1134,4108,6127,541,1263,1229,1148,2540,545,465,1833,2880,3438,1901,3074,2482,816,3937,713,1788,2500,122,1575,195,1451,2501,1111,6128,859,374,1225,2243,2483,4317,390,1033,3439,3075,2524,1687,266,793,1440,2599,946,779,802,507,897,1081,528,2189,1292,711,1866,1725,1167,1640,753,398,2661,1053,246,348,4318,137,1024,3440,1600,2077,2129,825,4319,698,238,521,187,2300,1157,2423,1641,1605,1464,1610,1097,2541,1260,1436,759,2255,1814,2150,705,3235,409,2563,3304,561,3033,2005,2564,726,1956,2343,3698,4109,949,3812,3813,3520,1669,653,1379,2525,881,2198,632,2256,1027,778,1074,733,1957,514,1481,2466,554,2180,702,3938,1606,1017,1398,6129,1380,3521,921,993,1313,594,449,1489,1617,1166,768,1426,1360,495,1794,3601,1177,3602,1170,4320,2344,476,425,3167,4635,3168,1424,401,2662,1171,3382,1998,1089,4110,477,3169,474,6130,1909,596,2831,1842,494,693,1051,1028,1207,3076,606,2115,727,2790,1473,1115,743,3522,630,805,1532,4321,2021,366,1057,838,684,1114,2142,4322,2050,1492,1892,1808,2271,3814,2424,1971,1447,1373,3305,1090,1536,3939,3523,3306,1455,2199,336,369,2331,1035,584,2393,902,718,2600,6131,2753,463,2151,1149,1611,2467,715,1308,3124,1268,343,1413,3236,1517,1347,2663,2093,3940,2022,1131,1553,2100,2941,1427,3441,2942,1323,2484,6132,1980,872,2368,2441,2943,320,2369,2116,1082,679,1933,3941,2791,3815,625,1143,2023,422,2200,3816,6133,730,1695,356,2257,1626,2301,2858,2637,1627,1778,937,883,2906,2693,3002,1769,1086,400,1063,1325,3307,2792,4111,3077,456,2345,1046,747,6134,1524,884,1094,3383,1474,2164,1059,974,1688,2181,2258,1047,345,1665,1187,358,875,3170,305,660,3524,2190,1334,1135,3171,1540,1649,2542,1527,927,968,2793,885,1972,1850,482,500,2638,1218,1109,1085,2543,1654,2034,876,78,2287,1482,1277,861,1675,1083,1779,724,2754,454,397,1132,1612,2332,893,672,1237,257,2259,2370,135,3384,337,2244,547,352,340,709,2485,1400,788,1138,2511,540,772,1682,2260,2272,2544,2013,1843,1902,4636,1999,1562,2288,4637,2201,1403,1533,407,576,3308,1254,2071,978,3385,170,136,1201,3125,2664,3172,2394,213,912,873,3603,1713,2202,699,3604,3699,813,3442,493,531,1054,468,2907,1483,304,281,4112,1726,1252,2094,339,2319,2130,2639,756,1563,2944,748,571,2976,1588,2425,2715,1851,1460,2426,1528,1392,1973,3237,288,3309,685,3386,296,892,2716,2216,1570,2245,722,1747,2217,905,3238,1103,6135,1893,1441,1965,251,1805,2371,3700,2601,1919,1078,75,2182,1509,1592,1270,2640,4638,2152,6136,3310,3817,524,706,1075,292,3818,1756,2602,317,98,3173,3605,3525,1844,2218,3819,2502,814,567,385,2908,1534,6137,534,1642,3239,797,6138,1670,1529,953,4323,188,1071,538,178,729,3240,2109,1226,1374,2e3,2357,2977,731,2468,1116,2014,2051,6139,1261,1593,803,2859,2736,3443,556,682,823,1541,6140,1369,2289,1706,2794,845,462,2603,2665,1361,387,162,2358,1740,739,1770,1720,1304,1401,3241,1049,627,1571,2427,3526,1877,3942,1852,1500,431,1910,1503,677,297,2795,286,1433,1038,1198,2290,1133,1596,4113,4639,2469,1510,1484,3943,6141,2442,108,712,4640,2372,866,3701,2755,3242,1348,834,1945,1408,3527,2395,3243,1811,824,994,1179,2110,1548,1453,790,3003,690,4324,4325,2832,2909,3820,1860,3821,225,
1201748,310,346,1780,2470,821,1993,2717,2796,828,877,3528,2860,2471,1702,2165,2910,2486,1789,453,359,2291,1676,73,1164,1461,1127,3311,421,604,314,1037,589,116,2487,737,837,1180,111,244,735,6142,2261,1861,1362,986,523,418,581,2666,3822,103,855,503,1414,1867,2488,1091,657,1597,979,605,1316,4641,1021,2443,2078,2001,1209,96,587,2166,1032,260,1072,2153,173,94,226,3244,819,2006,4642,4114,2203,231,1744,782,97,2667,786,3387,887,391,442,2219,4326,1425,6143,2694,633,1544,1202,483,2015,592,2052,1958,2472,1655,419,129,4327,3444,3312,1714,1257,3078,4328,1518,1098,865,1310,1019,1885,1512,1734,469,2444,148,773,436,1815,1868,1128,1055,4329,1245,2756,3445,2154,1934,1039,4643,579,1238,932,2320,353,205,801,115,2428,944,2321,1881,399,2565,1211,678,766,3944,335,2101,1459,1781,1402,3945,2737,2131,1010,844,981,1326,1013,550,1816,1545,2620,1335,1008,371,2881,936,1419,1613,3529,1456,1395,2273,1834,2604,1317,2738,2503,416,1643,4330,806,1126,229,591,3946,1314,1981,1576,1837,1666,347,1790,977,3313,764,2861,1853,688,2429,1920,1462,77,595,415,2002,3034,798,1192,4115,6144,2978,4331,3035,2695,2582,2072,2566,430,2430,1727,842,1396,3947,3702,613,377,278,236,1417,3388,3314,3174,757,1869,107,3530,6145,1194,623,2262,207,1253,2167,3446,3948,492,1117,1935,536,1838,2757,1246,4332,696,2095,2406,1393,1572,3175,1782,583,190,253,1390,2230,830,3126,3389,934,3245,1703,1749,2979,1870,2545,1656,2204,869,2346,4116,3176,1817,496,1764,4644,942,1504,404,1903,1122,1580,3606,2945,1022,515,372,1735,955,2431,3036,6146,2797,1110,2302,2798,617,6147,441,762,1771,3447,3607,3608,1904,840,3037,86,939,1385,572,1370,2445,1336,114,3703,898,294,203,3315,703,1583,2274,429,961,4333,1854,1951,3390,2373,3704,4334,1318,1381,966,1911,2322,1006,1155,309,989,458,2718,1795,1372,1203,252,1689,1363,3177,517,1936,168,1490,562,193,3823,1042,4117,1835,551,470,4645,395,489,3448,1871,1465,2583,2641,417,1493,279,1295,511,1236,1119,72,1231,1982,1812,3004,871,1564,984,3449,1667,2696,2096,4646,2347,2833,1673,3609,695,3246,2668,807,1183,4647,890,388,2333,1801,1457,2911,1765,1477,1031,3316,3317,1278,3391,2799,2292,2526,163,3450,4335,2669,1404,1802,6148,2323,2407,1584,1728,1494,1824,1269,298,909,3318,1034,1632,375,776,1683,2061,291,210,1123,809,1249,1002,2642,3038,206,1011,2132,144,975,882,1565,342,667,754,1442,2143,1299,2303,2062,447,626,2205,1221,2739,2912,1144,1214,2206,2584,760,1715,614,950,1281,2670,2621,810,577,1287,2546,4648,242,2168,250,2643,691,123,2644,647,313,1029,689,1357,2946,1650,216,771,1339,1306,808,2063,549,913,1371,2913,2914,6149,1466,1092,1174,1196,1311,2605,2396,1783,1796,3079,406,2671,2117,3949,4649,487,1825,2220,6150,2915,448,2348,1073,6151,2397,1707,130,900,1598,329,176,1959,2527,1620,6152,2275,4336,3319,1983,2191,3705,3610,2155,3706,1912,1513,1614,6153,1988,646,392,2304,1589,3320,3039,1826,1239,1352,1340,2916,505,2567,1709,1437,2408,2547,906,6154,2672,384,1458,1594,1100,1329,710,423,3531,2064,2231,2622,1989,2673,1087,1882,333,841,3005,1296,2882,2379,580,1937,1827,1293,2585,601,574,249,1772,4118,2079,1120,645,901,1176,1690,795,2207,478,1434,516,1190,1530,761,2080,930,1264,355,435,1552,644,1791,987,220,1364,1163,1121,1538,306,2169,1327,1222,546,2645,218,241,610,1704,3321,1984,1839,1966,2528,451,6155,2586,3707,2568,907,3178,254,2947,186,1845,4650,745,432,1757,428,1633,888,2246,2221,2489,3611,2118,1258,1265,956,3127,1784,4337,2490,319,510,119,457,3612,274,2035,2007,4651,1409,3128,970,2758,590,2800,661,2247,4652,2008,3950,1420,1549,3080,3322,3951,1651,1375,2111,485,2491,1429,1156,6156,2548,2183,1495,831,1840,2529,2446,501,1657,307,1894,3247,1341,666,899,2156,1539,2549,1559,886,349,2208,3081,2305,1736,3824,2170,2759,1014,1913,1386,542,1397,2948,490,368,716,362,159,282,2569,1129,1658,1288,1750,2674,276,649,2016,751,1496,658,1818,1284,1862,2209,2087,2512,3451,622,2834,376,117,1060,2053,1208,1721,1101,1443,247,1250,3179,1792,3952,2760,2398,3953,6157,2144,3708,446,2432,1151,2570,3452,2447,2761,2835,1210,2448,3082,424,2222,1251,2449,2119,2836,504,1581,4338,602,817,857,3825,2349,2306,357,3826,1470,1883,2883,255,958,929,2917,3248,302,4653,1050,1271,1751,2307,1952,1430,2697,2719,2359,354,3180,777,158,2036,4339,1659,4340,4654,2308,2949,2248,1146,2232,3532,2720,1696,2623,3827,6158,3129,1550,2698,1485,1297,1428,637,931,2721,2145,914,2550,2587,81,2450,612,827,2646,1242,4655,1118,2884,472,1855,3181,3533,3534,569,1353,2699,1244,1758,2588,4119,2009,2762,2171,3709,1312,1531,6159,1152,1938,134,1830,471,3710,2276,1112,1535,3323,3453,3535,982,1337,2950,488,826,674,1058,1628,4120,2017,522,2399,211,568,1367,3454,350,293,1872,1139,3249,1399,1946,3006,1300,2360,3324,588,736,6160,2606,744,669,3536,3828,6161,1358,199,723,848,933,851,1939,1505,1514,1338,1618,1831,4656,1634,3613,443,2740,3829,717,1947,491,1914,6162,2551,1542,4121,1025,6163,1099,1223,198,3040,2722,370,410,1905,2589,998,1248,3182,2380,519,1449,4122,1710,947,928,1153,4341,2277,344,2624,1511,615,105,161,1212,1076,1960,3130,2054,1926,1175,1906,2473,414,1873,2801,6164,2309,315,1319,3325,318,2018,2146,2157,963,631,223,4342,4343,2675,479,3711,1197,2625,3712,2676,2361,6165,4344,4123,6166,2451,3183,1886,2184,1674,1330,1711,1635,1506,799,219,3250,3083,3954,1677,3713,3326,2081,3614,1652,2073,4657,1147,3041,1752,643,1961,147,1974,3955,6167,1716,2037,918,3007,1994,120,1537,118,609,3184,4345,740,3455,1219,332,1615,3830,6168,1621,2980,1582,783,212,553,2350,3714,1349,2433,2082,4124,889,6169,2310,1275,1410,973,166,1320,3456,1797,1215,3185,2885,1846,2590,2763,4658,629,822,3008,763,940,1990,2862,439,2409,1566,1240,1622,926,1282,1907,2764,654,2210,1607,327,1130,3956,1678,1623,6170,2434,2192,686,608,3831,3715,903,3957,3042,6171,2741,1522,1915,1105,1555,2552,1359,323,3251,4346,3457,738,1354,2553,2311,2334,1828,2003,3832,1753,2351,1227,6172,1887,4125,1478,6173,2410,1874,1712,1847,520,1204,2607,264,4659,836,2677,2102,600,4660,3833,2278,3084,6174,4347,3615,1342,640,532,543,2608,1888,2400,2591,1009,4348,1497,341,1737,3616,2723,1394,529,3252,1321,983,4661,1515,2120,971,2592,924,287,1662,3186,4349,2700,4350,1519,908,1948,2452,156,796,1629,1486,2223,2055,694,4126,1259,1036,3392,1213,2249,2742,1889,1230,3958,1015,910,408,559,3617,4662,746,725,935,4663,3959,3009,1289,563,867,4664,3960,1567,2981,2038,2626,988,2263,2381,4351,143,2374,704,1895,6175,1188,3716,2088,673,3085,2362,4352,484,1608,1921,2765,2918,215,904,3618,3537,894,509,976,3043,2701,3961,4353,2837,2982,498,6176,6177,1102,3538,1332,3393,1487,1636,1637,233,245,3962,383,650,995,3044,460,1520,1206,2352,749,3327,530,700,389,1438,1560,1773,3963,2264,719,2951,2724,3834,870,1832,1644,1e3,839,2474,3717,197,1630,3394,365,2886,3964,1285,2133,734,922,818,1106,732,480,2083,1774,3458,923,2279,1350,221,3086,85,2233,2234,3835,1585,3010,2147,1387,1705,2382,1619,2475,133,239,2802,1991,1016,2084,2383,411,2838,1113,651,1985,1160,3328,990,1863,3087,1048,1276,2647,265,2627,1599,3253,2056,150,638,2019,656,853,326,1479,680,1439,4354,1001,1759,413,3459,3395,2492,1431,459,4355,1125,3329,2265,1953,1450,2065,2863,849,351,2678,3131,3254,3255,1104,1577,227,1351,1645,2453,2193,1421,2887,812,2121,634,95,2435,201,2312,4665,1646,1671,2743,1601,2554,2702,2648,2280,1315,1366,2089,3132,1573,3718,3965,1729,1189,328,2679,1077,1940,1136,558,1283,964,1195,621,2074,1199,1743,3460,3619,1896,1916,1890,3836,2952,1154,2112,1064,862,378,3011,2066,2113,2803,1568,2839,6178,3
120088,2919,1941,1660,2004,1992,2194,142,707,1590,1708,1624,1922,1023,1836,1233,1004,2313,789,741,3620,6179,1609,2411,1200,4127,3719,3720,4666,2057,3721,593,2840,367,2920,1878,6180,3461,1521,628,1168,692,2211,2649,300,720,2067,2571,2953,3396,959,2504,3966,3539,3462,1977,701,6181,954,1043,800,681,183,3722,1803,1730,3540,4128,2103,815,2314,174,467,230,2454,1093,2134,755,3541,3397,1141,1162,6182,1738,2039,270,3256,2513,1005,1647,2185,3837,858,1679,1897,1719,2954,2324,1806,402,670,167,4129,1498,2158,2104,750,6183,915,189,1680,1551,455,4356,1501,2455,405,1095,2955,338,1586,1266,1819,570,641,1324,237,1556,2650,1388,3723,6184,1368,2384,1343,1978,3089,2436,879,3724,792,1191,758,3012,1411,2135,1322,4357,240,4667,1848,3725,1574,6185,420,3045,1546,1391,714,4358,1967,941,1864,863,664,426,560,1731,2680,1785,2864,1949,2363,403,3330,1415,1279,2136,1697,2335,204,721,2097,3838,90,6186,2085,2505,191,3967,124,2148,1376,1798,1178,1107,1898,1405,860,4359,1243,1272,2375,2983,1558,2456,1638,113,3621,578,1923,2609,880,386,4130,784,2186,2266,1422,2956,2172,1722,497,263,2514,1267,2412,2610,177,2703,3542,774,1927,1344,616,1432,1595,1018,172,4360,2325,911,4361,438,1468,3622,794,3968,2024,2173,1681,1829,2957,945,895,3090,575,2212,2476,475,2401,2681,785,2744,1745,2293,2555,1975,3133,2865,394,4668,3839,635,4131,639,202,1507,2195,2766,1345,1435,2572,3726,1908,1184,1181,2457,3727,3134,4362,843,2611,437,916,4669,234,769,1884,3046,3047,3623,833,6187,1639,2250,2402,1355,1185,2010,2047,999,525,1732,1290,1488,2612,948,1578,3728,2413,2477,1216,2725,2159,334,3840,1328,3624,2921,1525,4132,564,1056,891,4363,1444,1698,2385,2251,3729,1365,2281,2235,1717,6188,864,3841,2515,444,527,2767,2922,3625,544,461,6189,566,209,2437,3398,2098,1065,2068,3331,3626,3257,2137,2138,2122,3730,2888,1995,1820,1044,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,4670,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,3187,6238,6239,3969,6240,6241,6242,6243,6244,4671,6245,6246,4672,6247,6248,4133,6249,6250,4364,6251,2923,2556,2613,4673,4365,3970,6252,6253,6254,6255,4674,6256,6257,6258,2768,2353,4366,4675,4676,3188,4367,3463,6259,4134,4677,4678,6260,2267,6261,3842,3332,4368,3543,6262,6263,6264,3013,1954,1928,4135,4679,6265,6266,2478,3091,6267,4680,4369,6268,6269,1699,6270,3544,4136,4681,6271,4137,6272,4370,2804,6273,6274,2593,3971,3972,4682,6275,2236,4683,6276,6277,4684,6278,6279,4138,3973,4685,6280,6281,3258,6282,6283,6284,6285,3974,4686,2841,3975,6286,6287,3545,6288,6289,4139,4687,4140,6290,4141,6291,4142,6292,6293,3333,6294,6295,6296,4371,6297,3399,6298,6299,4372,3976,6300,6301,6302,4373,6303,6304,3843,3731,6305,4688,4374,6306,6307,3259,2294,6308,3732,2530,4143,6309,4689,6310,6311,6312,3048,6313,6314,4690,3733,2237,6315,6316,2282,3334,6317,6318,3844,6319,6320,4691,6321,3400,4692,6322,4693,6323,3049,6324,4375,6325,3977,6326,6327,6328,3546,6329,4694,3335,6330,4695,4696,6331,6332,6333,6334,4376,3978,6335,4697,3979,4144,6336,3980,4698,6337,6338,6339,6340,6341,4699,4700,4701,6342,6343,4702,6344,6345,4703,6346,6347,4704,6348,4705,4706,3135,6349,4707,6350,4708,6351,4377,6352,4709,3734,4145,6353,2506,4710,3189,6354,3050,4711,3981,6355,3547,3014,4146,4378,3735,2651,3845,3260,3136,2224,1986,6356,3401,6357,4712,2594,3627,3137,2573,3736,3982,4713,3628,4714,4715,2682,3629,4716,6358,3630,4379,3631,6359,6360,6361,3983,6362,6363,6364,6365,4147,3846,4717,6366,6367,3737,2842,6368,4718,2628,6369,3261,6370,2386,6371,6372,3738,3984,4719,3464,4720,3402,6373,2924,3336,4148,2866,6374,2805,3262,4380,2704,2069,2531,3138,2806,2984,6375,2769,6376,4721,4722,3403,6377,6378,3548,6379,6380,2705,3092,1979,4149,2629,3337,2889,6381,3338,4150,2557,3339,4381,6382,3190,3263,3739,6383,4151,4723,4152,2558,2574,3404,3191,6384,6385,4153,6386,4724,4382,6387,6388,4383,6389,6390,4154,6391,4725,3985,6392,3847,4155,6393,6394,6395,6396,6397,3465,6398,4384,6399,6400,6401,6402,6403,6404,4156,6405,6406,6407,6408,2123,6409,6410,2326,3192,4726,6411,6412,6413,6414,4385,4157,6415,6416,4158,6417,3093,3848,6418,3986,6419,6420,3849,6421,6422,6423,4159,6424,6425,4160,6426,3740,6427,6428,6429,6430,3987,6431,4727,6432,2238,6433,6434,4386,3988,6435,6436,3632,6437,6438,2843,6439,6440,6441,6442,3633,6443,2958,6444,6445,3466,6446,2364,4387,3850,6447,4388,2959,3340,6448,3851,6449,4728,6450,6451,3264,4729,6452,3193,6453,4389,4390,2706,3341,4730,6454,3139,6455,3194,6456,3051,2124,3852,1602,4391,4161,3853,1158,3854,4162,3989,4392,3990,4731,4732,4393,2040,4163,4394,3265,6457,2807,3467,3855,6458,6459,6460,3991,3468,4733,4734,6461,3140,2960,6462,4735,6463,6464,6465,6466,4736,4737,4738,4739,6467,6468,4164,2403,3856,6469,6470,2770,2844,6471,4740,6472,6473,6474,6475,6476,6477,6478,3195,6479,4741,4395,6480,2867,6481,4742,2808,6482,2493,4165,6483,6484,6485,6486,2295,4743,6487,6488,6489,3634,6490,6491,6492,6493,6494,6495,6496,2985,4744,6497,6498,4745,6499,6500,2925,3141,4166,6501,6502,4746,6503,6504,4747,6505,6506,6507,2890,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,3469,4167,6520,6521,6522,4748,4396,3741,4397,4749,4398,3342,2125,4750,6523,4751,4752,4753,3052,6524,2961,4168,6525,4754,6526,4755,4399,2926,4169,6527,3857,6528,4400,4170,6529,4171,6530,6531,2595,6532,6533,6534,6535,3635,6536,6537,6538,6539,6540,6541,6542,4756,6543,6544,6545,6546,6547,6548,4401,6549,6550,6551,6552,4402,3405,4757,4403,6553,6554,6555,4172,3742,6556,6557,6558,3992,3636,6559,6560,3053,2726,6561,3549,4173,3
120054,4404,6562,6563,3993,4405,3266,3550,2809,4406,6564,6565,6566,4758,4759,6567,3743,6568,4760,3744,4761,3470,6569,6570,6571,4407,6572,3745,4174,6573,4175,2810,4176,3196,4762,6574,4177,6575,6576,2494,2891,3551,6577,6578,3471,6579,4408,6580,3015,3197,6581,3343,2532,3994,3858,6582,3094,3406,4409,6583,2892,4178,4763,4410,3016,4411,6584,3995,3142,3017,2683,6585,4179,6586,6587,4764,4412,6588,6589,4413,6590,2986,6591,2962,3552,6592,2963,3472,6593,6594,4180,4765,6595,6596,2225,3267,4414,6597,3407,3637,4766,6598,6599,3198,6600,4415,6601,3859,3199,6602,3473,4767,2811,4416,1856,3268,3200,2575,3996,3997,3201,4417,6603,3095,2927,6604,3143,6605,2268,6606,3998,3860,3096,2771,6607,6608,3638,2495,4768,6609,3861,6610,3269,2745,4769,4181,3553,6611,2845,3270,6612,6613,6614,3862,6615,6616,4770,4771,6617,3474,3999,4418,4419,6618,3639,3344,6619,4772,4182,6620,2126,6621,6622,6623,4420,4773,6624,3018,6625,4774,3554,6626,4183,2025,3746,6627,4184,2707,6628,4421,4422,3097,1775,4185,3555,6629,6630,2868,6631,6632,4423,6633,6634,4424,2414,2533,2928,6635,4186,2387,6636,4775,6637,4187,6638,1891,4425,3202,3203,6639,6640,4776,6641,3345,6642,6643,3640,6644,3475,3346,3641,4e3,6645,3144,6646,3098,2812,4188,3642,3204,6647,3863,3476,6648,3864,6649,4426,4001,6650,6651,6652,2576,6653,4189,4777,6654,6655,6656,2846,6657,3477,3205,4002,6658,4003,6659,3347,2252,6660,6661,6662,4778,6663,6664,6665,6666,6667,6668,6669,4779,4780,2048,6670,3478,3099,6671,3556,3747,4004,6672,6673,6674,3145,4005,3748,6675,6676,6677,6678,6679,3408,6680,6681,6682,6683,3206,3207,6684,6685,4781,4427,6686,4782,4783,4784,6687,6688,6689,4190,6690,6691,3479,6692,2746,6693,4428,6694,6695,6696,6697,6698,6699,4785,6700,6701,3208,2727,6702,3146,6703,6704,3409,2196,6705,4429,6706,6707,6708,2534,1996,6709,6710,6711,2747,6712,6713,6714,4786,3643,6715,4430,4431,6716,3557,6717,4432,4433,6718,6719,6720,6721,3749,6722,4006,4787,6723,6724,3644,4788,4434,6725,6726,4789,2772,6727,6728,6729,6730,6731,2708,3865,2813,4435,6732,6733,4790,4791,3480,6734,6735,6736,6737,4436,3348,6738,3410,4007,6739,6740,4008,6741,6742,4792,3411,4191,6743,6744,6745,6746,6747,3866,6748,3750,6749,6750,6751,6752,6753,6754,6755,3867,6756,4009,6757,4793,4794,6758,2814,2987,6759,6760,6761,4437,6762,6763,6764,6765,3645,6766,6767,3481,4192,6768,3751,6769,6770,2174,6771,3868,3752,6772,6773,6774,4193,4795,4438,3558,4796,4439,6775,4797,6776,6777,4798,6778,4799,3559,4800,6779,6780,6781,3482,6782,2893,6783,6784,4194,4801,4010,6785,6786,4440,6787,4011,6788,6789,6790,6791,6792,6793,4802,6794,6795,6796,4012,6797,6798,6799,6800,3349,4803,3483,6801,4804,4195,6802,4013,6803,6804,4196,6805,4014,4015,6806,2847,3271,2848,6807,3484,6808,6809,6810,4441,6811,4442,4197,4443,3272,4805,6812,3412,4016,1579,6813,6814,4017,6815,3869,6816,2964,6817,4806,6818,6819,4018,3646,6820,6821,4807,4019,4020,6822,6823,3560,6824,6825,4021,4444,6826,4198,6827,6828,4445,6829,6830,4199,4808,6831,6832,6833,3870,3019,2458,6834,3753,3413,3350,6835,4809,3871,4810,3561,4446,6836,6837,4447,4811,4812,6838,2459,4448,6839,4449,6840,6841,4022,3872,6842,4813,4814,6843,6844,4815,4200,4201,4202,6845,4023,6846,6847,4450,3562,3873,6848,6849,4816,4817,6850,4451,4818,2139,6851,3563,6852,6853,3351,6854,6855,3352,4024,2709,3414,4203,4452,6856,4204,6857,6858,3874,3875,6859,6860,4819,6861,6862,6863,6864,4453,3647,6865,6866,4820,6867,6868,6869,6870,4454,6871,2869,6872,6873,4821,6874,3754,6875,4822,4205,6876,6877,6878,3648,4206,4455,6879,4823,6880,4824,3876,6881,3055,4207,6882,3415,6883,6884,6885,4208,4209,6886,4210,3353,6887,3354,3564,3209,3485,2652,6888,2728,6889,3210,3755,6890,4025,4456,6891,4825,6892,6893,6894,6895,4211,6896,6897,6898,4826,6899,6900,4212,6901,4827,6902,2773,3565,6903,4828,6904,6905,6906,6907,3649,3650,6908,2849,3566,6909,3567,3100,6910,6911,6912,6913,6914,6915,4026,6916,3355,4829,3056,4457,3756,6917,3651,6918,4213,3652,2870,6919,4458,6920,2438,6921,6922,3757,2774,4830,6923,3356,4831,4832,6924,4833,4459,3653,2507,6925,4834,2535,6926,6927,3273,4027,3147,6928,3568,6929,6930,6931,4460,6932,3877,4461,2729,3654,6933,6934,6935,6936,2175,4835,2630,4214,4028,4462,4836,4215,6937,3148,4216,4463,4837,4838,4217,6938,6939,2850,4839,6940,4464,6941,6942,6943,4840,6944,4218,3274,4465,6945,6946,2710,6947,4841,4466,6948,6949,2894,6950,6951,4842,6952,4219,3057,2871,6953,6954,6955,6956,4467,6957,2711,6958,6959,6960,3275,3101,4843,6961,3357,3569,6962,4844,6963,6964,4468,4845,3570,6965,3102,4846,3758,6966,4847,3878,4848,4849,4029,6967,2929,3879,4850,4851,6968,6969,1733,6970,4220,6971,6972,6973,6974,6975,6976,4852,6977,6978,6979,6980,6981,6982,3759,6983,6984,6985,3486,3487,6986,3488,3416,6987,6988,6989,6990,6991,6992,6993,6994,6995,6996,6997,4853,6998,6999,4030,7e3,7001,3211,7002,7003,4221,7004,7005,3571,4031,7006,3572,7007,2614,4854,2577,7008,7009,2965,3655,3656,4855,2775,3489,3880,4222,4856,3881,4032,3882,3657,2730,3490,4857,7010,3149,7011,4469,4858,2496,3491,4859,2283,7012,7013,7014,2365,4860,4470,7015,7016,3760,7017,7018,4223,1917,7019,7020,7021,4471,7022,2776,4472,7023,7024,7025,7026,4033,7027,3573,4224,4861,4034,4862,7028,7029,1929,3883,4035,7030,4473,3058,7031,2536,3761,3884,7032,4036,7033,2966,2895,1968,4474,3276,4225,3417,3492,4226,2105,7034,7035,1754,2596,3762,4227,4863,4475,3763,4864,3764,2615,2777,3103,3765,3658,3418,4865,2296,3766,2815,7036,7037,7038,3574,2872,3277,4476,7039,4037,4477,7040,7041,4038,7042,7043,7044,7045,7046,7047,2537,7048,7049,7050,7051,7052,7053,7054,4478,7055,7056,3767,3659,4228,3575,7057,7058,4229,7059,7060,7061,3660,7062,3212,7063,3885,4039,2460,7064,7065,7066,7067,7068,7069,7070,7071,7072,7073,7074,4866,3768,4867,7075,7076,7077,7078,4868,3358,3278,2653,7079,7080,4479,3886,7081,7082,4869,7083,7084,7085,7086,7087,7088,2538,7089,7090,7091,4040,3150,3769,4870,4041,2896,3359,4230,2930,7092,3279,7093,2967,4480,3213,4481,3661,7094,7095,7096,7097,7098,7099,7100,7101,7102,2461,3770,7103,7104,4231,3151,7105,7106,7107,4042,3662,7108,7109,4871,3663,4872,4043,3059,7110,7111,7112,3493,2988,7113,4873,7114,7115,7116,3771,4874,7117,7118,4232,4875,7119,3576,2336,4876,7120,4233,3419,4044,4877,4878,4482,4483,4879,4484,4234,7121,3772,4880,1045,3280,3664,4881,4882,7122,7123,7124,7125,4883,7126,2778,7127,4485,4486,7128,4884,3214,3887,7129,7130,3215,7131,4885,4045,7132,7133,4046,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,4235,7144,4886,7145,7146,7147,4887,7148,7149,7150,4487,4047,4488,7151,7152,4888,4048,2989,3888,7153,3665,7154,4049,7155,7156,7157,7158,7159,7160,2931,4889,4890,4489,7161,2631,3889,4236,2779,7162,7163,4891,7164,3060,7165,1672,4892,7166,4893,4237,3281,4894,7167,7168,3666,7169,3494,7170,7171,4050,7172,7173,3104,3360,3420,4490,4051,2684,4052,7174,4053,7175,7176,7177,2253,4054,7178,7179,4895,7180,3152,3890,3153,4491,3216,7181,7182,7183,2968,4238,4492,4055,7184,2990,7185,2479,7186,7187,4493,7188,7189,7190,7191,7192,4896,7193,4897,2969,4494,4898,7194,3495,7195,7196,4899,4495,7197,3105,2731,7198,4900,7199,7200,7201,4056,7202,3361,7203,7204,4496,4901,4902,7205,4497,7206,7207,2315,4903,7208,4904,7209,4905,2851,7210,7211,3577,7212,3578,4906,7213,4057,3667,4907,7214,4058,2354,3891,2376,3217,3773,7215,7216,7217,7218,7219,4498,7220,4908,3282,2685,7221,3496,4909,2632,3154,4910,7222,2337,7223,4911,7224,7225,7226,4912,4913,3283,4239,4499,7227,2816,7228,7229,7230,7231,7232,7233,7234,4914,4500,4501,7235,7236,7237,2686,7238,4915,7239,2897,4502,7240,4503,7241,2516,7242,4504,3362,3218,7243,7244,7245,4916,7246,7247,4505,3363,7248,7249,7250,7251,3774,4506,7252,7253,4917,7254,7255,3284,2991,4918,4919,3219,3892,4920,3106,3497,4921,7256,7257,7258,4922,7259,4923,3364,4507,4508,4059,7260,4240,3498,7261,7262,4924,7263,2992,3893,4060,3220,7264,7265,7266,7267,7268,7269,4509,3775,7270,2817,7271,4061,4925,4510,3776,7272,4241,4511,3285,7273,7274,3499,7275,7276,7277,4062,4512,4926,7278,3107,3894,7279,7280,4927,7281,4513,7282,7283,3668,7284,7285,4242,4514,4243,7286,2058,4515,4928,4929,4516,7287,3286,4244,7288,4517,7289,7290,7291,3669,7292,7293,4930,4931,4932,2355,4933,7294,2633,4518,7295,4245,729
1206,7297,4519,7298,7299,4520,4521,4934,7300,4246,4522,7301,7302,7303,3579,7304,4247,4935,7305,4936,7306,7307,7308,7309,3777,7310,4523,7311,7312,7313,4248,3580,7314,4524,3778,4249,7315,3581,7316,3287,7317,3221,7318,4937,7319,7320,7321,7322,7323,7324,4938,4939,7325,4525,7326,7327,7328,4063,7329,7330,4940,7331,7332,4941,7333,4526,7334,3500,2780,1741,4942,2026,1742,7335,7336,3582,4527,2388,7337,7338,7339,4528,7340,4250,4943,7341,7342,7343,4944,7344,7345,7346,3020,7347,4945,7348,7349,7350,7351,3895,7352,3896,4064,3897,7353,7354,7355,4251,7356,7357,3898,7358,3779,7359,3780,3288,7360,7361,4529,7362,4946,4530,2027,7363,3899,4531,4947,3222,3583,7364,4948,7365,7366,7367,7368,4949,3501,4950,3781,4951,4532,7369,2517,4952,4252,4953,3155,7370,4954,4955,4253,2518,4533,7371,7372,2712,4254,7373,7374,7375,3670,4956,3671,7376,2389,3502,4065,7377,2338,7378,7379,7380,7381,3061,7382,4957,7383,7384,7385,7386,4958,4534,7387,7388,2993,7389,3062,7390,4959,7391,7392,7393,4960,3108,4961,7394,4535,7395,4962,3421,4536,7396,4963,7397,4964,1857,7398,4965,7399,7400,2176,3584,4966,7401,7402,3422,4537,3900,3585,7403,3782,7404,2852,7405,7406,7407,4538,3783,2654,3423,4967,4539,7408,3784,3586,2853,4540,4541,7409,3901,7410,3902,7411,7412,3785,3109,2327,3903,7413,7414,2970,4066,2932,7415,7416,7417,3904,3672,3424,7418,4542,4543,4544,7419,4968,7420,7421,4255,7422,7423,7424,7425,7426,4067,7427,3673,3365,4545,7428,3110,2559,3674,7429,7430,3156,7431,7432,3503,7433,3425,4546,7434,3063,2873,7435,3223,4969,4547,4548,2898,4256,4068,7436,4069,3587,3786,2933,3787,4257,4970,4971,3788,7437,4972,3064,7438,4549,7439,7440,7441,7442,7443,4973,3905,7444,2874,7445,7446,7447,7448,3021,7449,4550,3906,3588,4974,7450,7451,3789,3675,7452,2578,7453,4070,7454,7455,7456,4258,3676,7457,4975,7458,4976,4259,3790,3504,2634,4977,3677,4551,4260,7459,7460,7461,7462,3907,4261,4978,7463,7464,7465,7466,4979,4980,7467,7468,2213,4262,7469,7470,7471,3678,4981,7472,2439,7473,4263,3224,3289,7474,3908,2415,4982,7475,4264,7476,4983,2655,7477,7478,2732,4552,2854,2875,7479,7480,4265,7481,4553,4984,7482,7483,4266,7484,3679,3366,3680,2818,2781,2782,3367,3589,4554,3065,7485,4071,2899,7486,7487,3157,2462,4072,4555,4073,4985,4986,3111,4267,2687,3368,4556,4074,3791,4268,7488,3909,2783,7489,2656,1962,3158,4557,4987,1963,3159,3160,7490,3112,4988,4989,3022,4990,4991,3792,2855,7491,7492,2971,4558,7493,7494,4992,7495,7496,7497,7498,4993,7499,3426,4559,4994,7500,3681,4560,4269,4270,3910,7501,4075,4995,4271,7502,7503,4076,7504,4996,7505,3225,4997,4272,4077,2819,3023,7506,7507,2733,4561,7508,4562,7509,3369,3793,7510,3590,2508,7511,7512,4273,3
120113,2994,2616,7513,7514,7515,7516,7517,7518,2820,3911,4078,2748,7519,7520,4563,4998,7521,7522,7523,7524,4999,4274,7525,4564,3682,2239,4079,4565,7526,7527,7528,7529,5e3,7530,7531,5001,4275,3794,7532,7533,7534,3066,5002,4566,3161,7535,7536,4080,7537,3162,7538,7539,4567,7540,7541,7542,7543,7544,7545,5003,7546,4568,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,5004,7557,7558,7559,5005,7560,3795,7561,4569,7562,7563,7564,2821,3796,4276,4277,4081,7565,2876,7566,5006,7567,7568,2900,7569,3797,3912,7570,7571,7572,4278,7573,7574,7575,5007,7576,7577,5008,7578,7579,4279,2934,7580,7581,5009,7582,4570,7583,4280,7584,7585,7586,4571,4572,3913,7587,4573,3505,7588,5010,7589,7590,7591,7592,3798,4574,7593,7594,5011,7595,4281,7596,7597,7598,4282,5012,7599,7600,5013,3163,7601,5014,7602,3914,7603,7604,2734,4575,4576,4577,7605,7606,7607,7608,7609,3506,5015,4578,7610,4082,7611,2822,2901,2579,3683,3024,4579,3507,7612,4580,7613,3226,3799,5016,7614,7615,7616,7617,7618,7619,7620,2995,3290,7621,4083,7622,5017,7623,7624,7625,7626,7627,4581,3915,7628,3291,7629,5018,7630,7631,7632,7633,4084,7634,7635,3427,3800,7636,7637,4582,7638,5019,4583,5020,7639,3916,7640,3801,5021,4584,4283,7641,7642,3428,3591,2269,7643,2617,7644,4585,3592,7645,4586,2902,7646,7647,3227,5022,7648,4587,7649,4284,7650,7651,7652,4588,2284,7653,5023,7654,7655,7656,4589,5024,3802,7657,7658,5025,3508,4590,7659,7660,7661,1969,5026,7662,7663,3684,1821,2688,7664,2028,2509,4285,7665,2823,1841,7666,2689,3114,7667,3917,4085,2160,5027,5028,2972,7668,5029,7669,7670,7671,3593,4086,7672,4591,4087,5030,3803,7673,7674,7675,7676,7677,7678,7679,4286,2366,4592,4593,3067,2328,7680,7681,4594,3594,3918,2029,4287,7682,5031,3919,3370,4288,4595,2856,7683,3509,7684,7685,5032,5033,7686,7687,3804,2784,7688,7689,7690,7691,3371,7692,7693,2877,5034,7694,7695,3920,4289,4088,7696,7697,7698,5035,7699,5036,4290,5037,5038,5039,7700,7701,7702,5040,5041,3228,7703,1760,7704,5042,3229,4596,2106,4089,7705,4597,2824,5043,2107,3372,7706,4291,4090,5044,7707,4091,7708,5045,3025,3805,4598,4292,4293,4294,3373,7709,4599,7710,5046,7711,7712,5047,5048,3806,7713,7714,7715,5049,7716,7717,7718,7719,4600,5050,7720,7721,7722,5051,7723,4295,3429,7724,7725,7726,7727,3921,7728,3292,5052,4092,7729,7730,7731,7732,7733,7734,7735,5053,5054,7736,7737,7738,7739,3922,3685,7740,7741,7742,7743,2635,5055,7744,5056,4601,7745,7746,2560,7747,7748,7749,7750,3923,7751,7752,7753,7754,7755,4296,2903,7756,7757,7758,7759,7760,3924,7761,5057,4297,7762,7763,5058,4298,7764,4093,7765,7766,5059,3925,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,3595,7777,4299,5060,4094,7778,3293,5061,7779,7780,4300,7781,7782,4602,7783,3596,7784,7785,3430,2367,7786,3164,5062,5063,4301,7787,7788,4095,5064,5065,7789,3374,3115,7790,7791,7792,7793,7794,7795,7796,3597,4603,7797,7798,3686,3116,3807,5066,7799,7800,5067,7801,7802,4604,4302,5068,4303,4096,7803,7804,3294,7805,7806,5069,4605,2690,7807,3026,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,3926,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8
120090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271]),jd}var Cd={},xC;function w5e(){return xC||(xC=1,Cd.EUCTW_TYPICAL_DISTRIBUTION_RATIO=.75,Cd.EUCTW_TABLE_SIZE=8102,Cd.EUCTWCharToFreqOrder=[1,1800,1506,255,1431,198,9,82,6,7310,177,202,3615,1256,2808,110,3735,33,3241,261,76,44,2113,16,2931,2184,1176,659,3868,26,3404,2643,1198,3869,3313,4060,410,2211,302,590,361,1963,8,204,58,4296,7311,1931,63,7312,7313,317,1614,75,222,159,4061,2412,1480,7314,3500,3068,224,2809,3616,3,10,3870,1471,29,2774,1135,2852,1939,873,130,3242,1123,312,7315,4297,2051,507,252,682,7316,142,1914,124,206,2932,34,3501,3173,64,604,7317,2494,1976,1977,155,1990,645,641,1606,7318,3405,337,72,406,7319,80,630,238,3174,1509,263,939,1092,2644,756,1440,1094,3406,449,69,2969,591,179,2095,471,115,2034,1843,60,50,2970,134,806,1868,734,2035,3407,180,995,1607,156,537,2893,688,7320,319,1305,779,2144,514,2374,298,4298,359,2495,90,2707,1338,663,11,906,1099,2545,20,2436,182,532,1716,7321,732,1376,4062,1311,1420,3175,25,2312,1056,113,399,382,1949,242,3408,2467,529,3243,475,1447,3617,7322,117,21,656,810,1297,2295,2329,3502,7323,126,4063,706,456,150,613,4299,71,1118,2036,4064,145,3069,85,835,486,2114,1246,1426,428,727,1285,1015,800,106,623,303,1281,7324,2127,2354,347,3736,221,3503,3110,7325,1955,1153,4065,83,296,1199,3070,192,624,93,7326,822,1897,2810,3111,795,2064,991,1554,1542,1592,27,43,2853,859,139,1456,860,4300,437,712,3871,164,2392,3112,695,211,3017,2096,195,3872,1608,3504,3505,3618,3873,234,811,2971,2097,3874,2229,1441,3506,1615,2375,668,2076,1638,305,228,1664,4301,467,415,7327,262,2098,1593,239,108,300,200,1033,512,1247,2077,7328,7329,2173,3176,3619,2673,593,845,1062,3244,88,1723,2037,3875,1950,212,266,152,149,468,1898,4066,4302,77,187,7330,3018,37,5,2972,7331,3876,7332,7333,39,2517,4303,2894,3177,2078,55,148,74,4304,545,483,1474,1029,1665,217,1869,1531,3113,1104,2645,4067,24,172,3507,900,3877,3508,3509,4305,32,1408,2811,1312,329,487,2355,2247,2708,784,2674,4,3019,3314,1427,1788,188,109,499,7334,3620,1717,1789,888,1217,3020,4306,7335,3510,7336,3315,1520,3621,3878,196,1034,775,7337,7338,929,1815,249,439,38,7339,1063,7340,794,3879,1435,2296,46,178,3245,2065,7341,2376,7342,214,1709,4307,804,35,707,324,3622,1601,2546,140,459,4068,7343,7344,1365,839,272,978,2257,2572,3409,2128,1363,3623,1423,697,100,3071,48,70,1231,495,3114,2193,7345,1294,7346,2079,462,586,1042,3246,853,256,988,185,2377,3410,1698,434,1084,7347,3411,314,2615,2775,4308,2330,2331,569,2280,637,1816,2518,757,1162,1878,1616,3412,287,1577,2115,768,4309,1671,2854,3511,2519,1321,3737,909,2413,7348,4069,933,3738,7349,2052,2356,1222,4310,765,2414,1322,786,4311,7350,1919,1462,1677,2895,1699,7351,4312,1424,2437,3115,3624,2590,3316,1774,1940,3413,3880,4070,309,1369,1130,2812,364,2230,1653,1299,3881,3512,3882,3883,2646,525,1085,3021,902,2e3,1475,964,4313,421,1844,1415,1057,2281,940,1364,3116,376,4314,4315,1381,7,2520,983,2378,336,1710,2675,1845,321,3414,559,1131,3022,2742,1808,1132,1313,265,1481,1857,7352,352,1203,2813,3247,167,1089,420,2814,776,792,1724,3513,4071,2438,3248,7353,4072,7354,446,229,333,2743,901,3739,1200,1557,4316,2647,1920,395,2744,2676,3740,4073,1835,125,916,3178,2616,4317,7355,7356,3741,7357,7358,7359,4318,3117,3625,1133,2547,1757,3415,1510,2313,1409,3514,7360,2145,438,2591,2896,2379,3317,1068,958,3023,461,311,2855,2677,4074,1915,3179,4075,1978,383,750,2745,2617,4076,274,539,385,1278,1442,7361,1154,1964,384,561,210,98,1295,2548,3515,7362,1711,2415,1482,3416,3884,2897,1257,129,7363,3742,642,523,2776,2777,2648,7364,141,2231,1333,68,176,441,876,907,4077,603,2592,710,171,3417,404,549,18,3118,2393,1410,3626,1666,7365,3516,4319,2898,4320,7366,2973,368,7367,146,366,99,871,3627,1543,748,807,1586,1185,22,2258,379,3743,3180,7368,3181,505,1941,2618,1991,1382,2314,7369,380,2357,218,702,1817,1248,3418,3024,3517,3318,3249,7370,2974,3628,930,3250,3744,7371,59,7372,585,601,4078,497,3419,1112,1314,4321,1801,7373,1223,1472,2174,7374,749,1836,690,1899,3745,1772,3885,1476,429,1043,1790,2232,2116,917,4079,447,1086,1629,7375,556,7376,7377,2020,1654,844,1090,105,550,966,1758,2815,1008,1782,686,1095,7378,2282,793,1602,7379,3518,2593,4322,4080,2933,2297,4323,3746,980,2496,544,353,527,4324,908,2678,2899,7380,381,2619,1942,1348,7381,1341,1252,560,3072,7382,3420,2856,7383,2053,973,886,2080,143,4325,7384,7385,157,3886,496,4081,57,840,540,2038,4326,4327,3421,2117,1445,970,2259,1748,1965,2081,4082,3119,1234,1775,3251,2816,3629,773,1206,2129,1066,2039,1326,3887,1738,1725,4083,279,3120,51,1544,2594,423,1578,2130,2066,173,4328,1879,7386,7387,1583,264,610,3630,4329,2439,280,154,7388,7389,7390,1739,338,1282,3073,693,2857,1411,1074,3747,2440,7391,4330,7392,7393,1240,952,2394,7394,2900,1538,2679,685,1483,4084,2468,1436,953,4085,2054,4331,671,2395,79,4086,2441,3252,608,567,2680,3422,4087,4088,1691,393,1261,1791,2396,7395,4332,7396,7397,7398,7399,1383,1672,3748,3182,1464,522,1119,661,1150,216,675,4333,3888,1432,3519,609,4334,2681,2397,7400,7401,7402,4089,3025,0,7403,2469,315,231,2442,301,3319,4335,2380,7404,233,4090,3631,1818,4336,4337,7405,96,1776,1315,2082,7406,257,7407,1809,3632,2709,1139,1819,4091,2021,1124,2163,2778,1777,2649,7408,3074,363,1655,3183,7409,2975,7410,7411,7412,3889,1567,3890,718,103,3184,849,1443,341,3320,2934,1484,7413,1712,127,67,339,4092,2398,679,1412,821,7414,7415,834,738,351,2976,2146,846,235,1497,1880,418,1992,3749,2710,186,1100,2147,2746,3520,1545,1355,2935,2858,1377,583,3891,4093,2573,2977,7416,1298,3633,1078,2549,3634,2358,78,3750,3751,267,1289,2099,2001,1594,4094,348,369,1274,2194,2175,1837,4338,1820,2817,3635,2747,2283,2002,4339,2936,2748,144,3321,882,4340,3892,2749,3423,4341,2901,7417,4095,
1201726,320,7418,3893,3026,788,2978,7419,2818,1773,1327,2859,3894,2819,7420,1306,4342,2003,1700,3752,3521,2359,2650,787,2022,506,824,3636,534,323,4343,1044,3322,2023,1900,946,3424,7421,1778,1500,1678,7422,1881,4344,165,243,4345,3637,2521,123,683,4096,764,4346,36,3895,1792,589,2902,816,626,1667,3027,2233,1639,1555,1622,3753,3896,7423,3897,2860,1370,1228,1932,891,2083,2903,304,4097,7424,292,2979,2711,3522,691,2100,4098,1115,4347,118,662,7425,611,1156,854,2381,1316,2861,2,386,515,2904,7426,7427,3253,868,2234,1486,855,2651,785,2212,3028,7428,1040,3185,3523,7429,3121,448,7430,1525,7431,2164,4348,7432,3754,7433,4099,2820,3524,3122,503,818,3898,3123,1568,814,676,1444,306,1749,7434,3755,1416,1030,197,1428,805,2821,1501,4349,7435,7436,7437,1993,7438,4350,7439,7440,2195,13,2779,3638,2980,3124,1229,1916,7441,3756,2131,7442,4100,4351,2399,3525,7443,2213,1511,1727,1120,7444,7445,646,3757,2443,307,7446,7447,1595,3186,7448,7449,7450,3639,1113,1356,3899,1465,2522,2523,7451,519,7452,128,2132,92,2284,1979,7453,3900,1512,342,3125,2196,7454,2780,2214,1980,3323,7455,290,1656,1317,789,827,2360,7456,3758,4352,562,581,3901,7457,401,4353,2248,94,4354,1399,2781,7458,1463,2024,4355,3187,1943,7459,828,1105,4101,1262,1394,7460,4102,605,4356,7461,1783,2862,7462,2822,819,2101,578,2197,2937,7463,1502,436,3254,4103,3255,2823,3902,2905,3425,3426,7464,2712,2315,7465,7466,2332,2067,23,4357,193,826,3759,2102,699,1630,4104,3075,390,1793,1064,3526,7467,1579,3076,3077,1400,7468,4105,1838,1640,2863,7469,4358,4359,137,4106,598,3078,1966,780,104,974,2938,7470,278,899,253,402,572,504,493,1339,7471,3903,1275,4360,2574,2550,7472,3640,3029,3079,2249,565,1334,2713,863,41,7473,7474,4361,7475,1657,2333,19,463,2750,4107,606,7476,2981,3256,1087,2084,1323,2652,2982,7477,1631,1623,1750,4108,2682,7478,2864,791,2714,2653,2334,232,2416,7479,2983,1498,7480,2654,2620,755,1366,3641,3257,3126,2025,1609,119,1917,3427,862,1026,4109,7481,3904,3760,4362,3905,4363,2260,1951,2470,7482,1125,817,4110,4111,3906,1513,1766,2040,1487,4112,3030,3258,2824,3761,3127,7483,7484,1507,7485,2683,733,40,1632,1106,2865,345,4113,841,2524,230,4364,2984,1846,3259,3428,7486,1263,986,3429,7487,735,879,254,1137,857,622,1300,1180,1388,1562,3907,3908,2939,967,2751,2655,1349,592,2133,1692,3324,2985,1994,4114,1679,3909,1901,2185,7488,739,3642,2715,1296,1290,7489,4115,2198,2199,1921,1563,2595,2551,1870,2752,2986,7490,435,7491,343,1108,596,17,1751,4365,2235,3430,3643,7492,4366,294,3527,2940,1693,477,979,281,2041,3528,643,2042,3644,2621,2782,2261,1031,2335,2134,2298,3529,4367,367,1249,2552,7493,3530,7494,4368,1283,3325,2004,240,1762,3326,4369,4370,836,1069,3128,474,7495,2148,2525,268,3531,7496,3188,1521,1284,7497,1658,1546,4116,7498,3532,3533,7499,4117,3327,2684,1685,4118,961,1673,2622,190,2005,2200,3762,4371,4372,7500,570,2497,3645,1490,7501,4373,2623,3260,1956,4374,584,1514,396,1045,1944,7502,4375,1967,2444,7503,7504,4376,3910,619,7505,3129,3261,215,2006,2783,2553,3189,4377,3190,4378,763,4119,3763,4379,7506,7507,1957,1767,2941,3328,3646,1174,452,1477,4380,3329,3130,7508,2825,1253,2382,2186,1091,2285,4120,492,7509,638,1169,1824,2135,1752,3911,648,926,1021,1324,4381,520,4382,997,847,1007,892,4383,3764,2262,1871,3647,7510,2400,1784,4384,1952,2942,3080,3191,1728,4121,2043,3648,4385,2007,1701,3131,1551,30,2263,4122,7511,2026,4386,3534,7512,501,7513,4123,594,3431,2165,1821,3535,3432,3536,3192,829,2826,4124,7514,1680,3132,1225,4125,7515,3262,4387,4126,3133,2336,7516,4388,4127,7517,3912,3913,7518,1847,2383,2596,3330,7519,4389,374,3914,652,4128,4129,375,1140,798,7520,7521,7522,2361,4390,2264,546,1659,138,3031,2445,4391,7523,2250,612,1848,910,796,3765,1740,1371,825,3766,3767,7524,2906,2554,7525,692,444,3032,2624,801,4392,4130,7526,1491,244,1053,3033,4131,4132,340,7527,3915,1041,2987,293,1168,87,1357,7528,1539,959,7529,2236,721,694,4133,3768,219,1478,644,1417,3331,2656,1413,1401,1335,1389,3916,7530,7531,2988,2362,3134,1825,730,1515,184,2827,66,4393,7532,1660,2943,246,3332,378,1457,226,3433,975,3917,2944,1264,3537,674,696,7533,163,7534,1141,2417,2166,713,3538,3333,4394,3918,7535,7536,1186,15,7537,1079,1070,7538,1522,3193,3539,276,1050,2716,758,1126,653,2945,3263,7539,2337,889,3540,3919,3081,2989,903,1250,4395,3920,3434,3541,1342,1681,1718,766,3264,286,89,2946,3649,7540,1713,7541,2597,3334,2990,7542,2947,2215,3194,2866,7543,4396,2498,2526,181,387,1075,3921,731,2187,3335,7544,3265,310,313,3435,2299,770,4134,54,3034,189,4397,3082,3769,3922,7545,1230,1617,1849,355,3542,4135,4398,3336,111,4136,3650,1350,3135,3436,3035,4137,2149,3266,3543,7546,2784,3923,3924,2991,722,2008,7547,1071,247,12
12007,2338,2471,1378,4399,2009,864,1437,1214,4400,373,3770,1142,2216,667,4401,442,2753,2555,3771,3925,1968,4138,3267,1839,837,170,1107,934,1336,1882,7548,7549,2118,4139,2828,743,1569,7550,4402,4140,582,2384,1418,3437,7551,1802,7552,357,1395,1729,3651,3268,2418,1564,2237,7553,3083,3772,1633,4403,1114,2085,4141,1532,7554,482,2446,4404,7555,7556,1492,833,1466,7557,2717,3544,1641,2829,7558,1526,1272,3652,4142,1686,1794,416,2556,1902,1953,1803,7559,3773,2785,3774,1159,2316,7560,2867,4405,1610,1584,3036,2419,2754,443,3269,1163,3136,7561,7562,3926,7563,4143,2499,3037,4406,3927,3137,2103,1647,3545,2010,1872,4144,7564,4145,431,3438,7565,250,97,81,4146,7566,1648,1850,1558,160,848,7567,866,740,1694,7568,2201,2830,3195,4147,4407,3653,1687,950,2472,426,469,3196,3654,3655,3928,7569,7570,1188,424,1995,861,3546,4148,3775,2202,2685,168,1235,3547,4149,7571,2086,1674,4408,3337,3270,220,2557,1009,7572,3776,670,2992,332,1208,717,7573,7574,3548,2447,3929,3338,7575,513,7576,1209,2868,3339,3138,4409,1080,7577,7578,7579,7580,2527,3656,3549,815,1587,3930,3931,7581,3550,3439,3777,1254,4410,1328,3038,1390,3932,1741,3933,3778,3934,7582,236,3779,2448,3271,7583,7584,3657,3780,1273,3781,4411,7585,308,7586,4412,245,4413,1851,2473,1307,2575,430,715,2136,2449,7587,270,199,2869,3935,7588,3551,2718,1753,761,1754,725,1661,1840,4414,3440,3658,7589,7590,587,14,3272,227,2598,326,480,2265,943,2755,3552,291,650,1883,7591,1702,1226,102,1547,62,3441,904,4415,3442,1164,4150,7592,7593,1224,1548,2756,391,498,1493,7594,1386,1419,7595,2055,1177,4416,813,880,1081,2363,566,1145,4417,2286,1001,1035,2558,2599,2238,394,1286,7596,7597,2068,7598,86,1494,1730,3936,491,1588,745,897,2948,843,3340,3937,2757,2870,3273,1768,998,2217,2069,397,1826,1195,1969,3659,2993,3341,284,7599,3782,2500,2137,2119,1903,7600,3938,2150,3939,4151,1036,3443,1904,114,2559,4152,209,1527,7601,7602,2949,2831,2625,2385,2719,3139,812,2560,7603,3274,7604,1559,737,1884,3660,1210,885,28,2686,3553,3783,7605,4153,1004,1779,4418,7606,346,1981,2218,2687,4419,3784,1742,797,1642,3940,1933,1072,1384,2151,896,3941,3275,3661,3197,2871,3554,7607,2561,1958,4420,2450,1785,7608,7609,7610,3942,4154,1005,1308,3662,4155,2720,4421,4422,1528,2600,161,1178,4156,1982,987,4423,1101,4157,631,3943,1157,3198,2420,1343,1241,1016,2239,2562,372,877,2339,2501,1160,555,1934,911,3944,7611,466,1170,169,1051,2907,2688,3663,2474,2994,1182,2011,2563,1251,2626,7612,992,2340,3444,1540,2721,1201,2070,2401,1996,2475,7613,4424,528,1922,2188,1503,1873,1570,2364,3342,3276,7614,557,1073,7615,1827,3445,2087,2266,3140,3039,3084,767,3085,2786,4425,1006,4158,4426,2341,1267,2176,3664,3199,778,3945,3200,2722,1597,2657,7616,4427,7617,3446,7618,7619,7620,3277,2689,1433,3278,131,95,1504,3946,723,4159,3141,1841,3555,2758,2189,3947,2027,2104,3665,7621,2995,3948,1218,7622,3343,3201,3949,4160,2576,248,1634,3785,912,7623,2832,3666,3040,3786,654,53,7624,2996,7625,1688,4428,777,3447,1032,3950,1425,7626,191,820,2120,2833,971,4429,931,3202,135,664,783,3787,1997,772,2908,1935,3951,3788,4430,2909,3203,282,2723,640,1372,3448,1127,922,325,3344,7627,7628,711,2044,7629,7630,3952,2219,2787,1936,3953,3345,2220,2251,3789,2300,7631,4431,3790,1258,3279,3954,3204,2138,2950,3955,3956,7632,2221,258,3205,4432,101,1227,7633,3280,1755,7634,1391,3281,7635,2910,2056,893,7636,7637,7638,1402,4161,2342,7639,7640,3206,3556,7641,7642,878,1325,1780,2788,4433,259,1385,2577,744,1183,2267,4434,7643,3957,2502,7644,684,1024,4162,7645,472,3557,3449,1165,3282,3958,3959,322,2152,881,455,1695,1152,1340,660,554,2153,4435,1058,4436,4163,830,1065,3346,3960,4437,1923,7646,1703,1918,7647,932,2268,122,7648,4438,947,677,7649,3791,2627,297,1905,1924,2269,4439,2317,3283,7650,7651,4164,7652,4165,84,4166,112,989,7653,547,1059,3961,701,3558,1019,7654,4167,7655,3450,942,639,457,2301,2451,993,2951,407,851,494,4440,3347,927,7656,1237,7657,2421,3348,573,4168,680,921,2911,1279,1874,285,790,1448,1983,719,2167,7658,7659,4441,3962,3963,1649,7660,1541,563,7661,1077,7662,3349,3041,3451,511,2997,3964,3965,3667,3966,1268,2564,3350,3207,4442,4443,7663,535,1048,1276,1189,2912,2028,3142,1438,1373,2834,2952,1134,2012,7664,4169,1238,2578,3086,1259,7665,700,7666,2953,3143,3668,4170,7667,4171,1146,1875,1906,4444,2601,3967,781,2422,132,1589,203,147,273,2789,2402,898,1786,2154,3968,3969,7668,3792,2790,7669,7670,4445,4446,7671,3208,7672,1635,3793,965,7673,1804,2690,1516,3559,1121,1082,1329,3284,3970,1449,3794,65,1128,2835,2913,2759,1590,3795,7674,7675,12,2658,45,976,2579,3144,4447,517,2528,1013,1037,3209,7676,3796,2836,7677,3797,7678,3452,7679,2602,614,1998,2318,3798,3087,2724,2628,7680,2580,4172,599,1269,7681,1810,3669,7682,2691,3088,759,1060,489,1805,3351,3285,1358,7683,7684,2386,1387,1215,2629,2252,490,7685,7686,4173,1759,2387,2343,7687,4448,3799,1907,3971,2630,1806,3210,4449,3453,3286,2760,2344,874,7688,7689,3454,3670,1858,91,2914,3671,3042,3800,4450,7690,3145,3972,2659,7691,3455,1202,1403,3801,2954,2529,1517,2503,4451,3456,2504,7692,4452,7693,2692,1885,1495,1731,3973,2365,4453,7694,2029,7695,7696,3974,2693,1216,237,2581,4174,2319,3975,3802,4454,4455,2694,3560,3457,445,4456,7697,7698,7699,7700,2761,61,3976,3672,1822,3977,7701,687,2045,935,925,405,2660,703,1096,1859,2725,4457,3978,1876,1367,2695,3352,918,2105,1781,2476,334,3287,1611,1093,4458,564,3146,3458,3673,3353,945,2631,2057,4459,7702,1925,872,4175,7703,3459,2696,3089,349,4176,3674,3979,4460,3803,4177,3675,2155,3980,4461,4462,4178,4463,2403,2046,782,3981,400,251,4179,1624,7704,7705,277,3676,299,1265,476,1191,3804,2121,4180,4181,1109,205,7706,2582,1e3,2156,3561,1860,7707,7708,7709,4464,7710,4465,2565,107,2477,2157,3982,3460,3147,7711,
1201533,541,1301,158,753,4182,2872,3562,7712,1696,370,1088,4183,4466,3563,579,327,440,162,2240,269,1937,1374,3461,968,3043,56,1396,3090,2106,3288,3354,7713,1926,2158,4467,2998,7714,3564,7715,7716,3677,4468,2478,7717,2791,7718,1650,4469,7719,2603,7720,7721,3983,2661,3355,1149,3356,3984,3805,3985,7722,1076,49,7723,951,3211,3289,3290,450,2837,920,7724,1811,2792,2366,4184,1908,1138,2367,3806,3462,7725,3212,4470,1909,1147,1518,2423,4471,3807,7726,4472,2388,2604,260,1795,3213,7727,7728,3808,3291,708,7729,3565,1704,7730,3566,1351,1618,3357,2999,1886,944,4185,3358,4186,3044,3359,4187,7731,3678,422,413,1714,3292,500,2058,2345,4188,2479,7732,1344,1910,954,7733,1668,7734,7735,3986,2404,4189,3567,3809,4190,7736,2302,1318,2505,3091,133,3092,2873,4473,629,31,2838,2697,3810,4474,850,949,4475,3987,2955,1732,2088,4191,1496,1852,7737,3988,620,3214,981,1242,3679,3360,1619,3680,1643,3293,2139,2452,1970,1719,3463,2168,7738,3215,7739,7740,3361,1828,7741,1277,4476,1565,2047,7742,1636,3568,3093,7743,869,2839,655,3811,3812,3094,3989,3e3,3813,1310,3569,4477,7744,7745,7746,1733,558,4478,3681,335,1549,3045,1756,4192,3682,1945,3464,1829,1291,1192,470,2726,2107,2793,913,1054,3990,7747,1027,7748,3046,3991,4479,982,2662,3362,3148,3465,3216,3217,1946,2794,7749,571,4480,7750,1830,7751,3570,2583,1523,2424,7752,2089,984,4481,3683,1959,7753,3684,852,923,2795,3466,3685,969,1519,999,2048,2320,1705,7754,3095,615,1662,151,597,3992,2405,2321,1049,275,4482,3686,4193,568,3687,3571,2480,4194,3688,7755,2425,2270,409,3218,7756,1566,2874,3467,1002,769,2840,194,2090,3149,3689,2222,3294,4195,628,1505,7757,7758,1763,2177,3001,3993,521,1161,2584,1787,2203,2406,4483,3994,1625,4196,4197,412,42,3096,464,7759,2632,4484,3363,1760,1571,2875,3468,2530,1219,2204,3814,2633,2140,2368,4485,4486,3295,1651,3364,3572,7760,7761,3573,2481,3469,7762,3690,7763,7764,2271,2091,460,7765,4487,7766,3002,962,588,3574,289,3219,2634,1116,52,7767,3047,1796,7768,7769,7770,1467,7771,1598,1143,3691,4198,1984,1734,1067,4488,1280,3365,465,4489,1572,510,7772,1927,2241,1812,1644,3575,7773,4490,3692,7774,7775,2663,1573,1534,7776,7777,4199,536,1807,1761,3470,3815,3150,2635,7778,7779,7780,4491,3471,2915,1911,2796,7781,3296,1122,377,3220,7782,360,7783,7784,4200,1529,551,7785,2059,3693,1769,2426,7786,2916,4201,3297,3097,2322,2108,2030,4492,1404,136,1468,1479,672,1171,3221,2303,271,3151,7787,2762,7788,2049,678,2727,865,1947,4493,7789,2013,3995,2956,7790,2728,2223,1397,3048,3694,4494,4495,1735,2917,3366,3576,7791,3816,509,2841,2453,2876,3817,7792,7793,3152,3153,4496,4202,2531,4497,2304,1166,1010,552,681,1887,7794,7795,2957,2958,3996,1287,1596,1861,3154,358,453,736,175,478,1117,905,1167,1097,7796,1853,1530,7797,1706,7798,2178,3472,2287,3695,3473,3577,4203,2092,4204,7799,3367,1193,2482,4205,1458,2190,2205,1862,1888,1421,3298,2918,3049,2179,3474,595,2122,7800,3997,7801,7802,4206,1707,2636,223,3696,1359,751,3098,183,3475,7803,2797,3003,419,2369,633,704,3818,2389,241,7804,7805,7806,838,3004,3697,2272,2763,2454,3819,1938,2050,3998,1309,3099,2242,1181,7807,1136,2206,3820,2370,1446,4207,2305,4498,7808,7809,4208,1055,2605,484,3698,7810,3999,625,4209,2273,3368,1499,4210,4e3,7811,4001,4211,3222,2274,2275,3476,7812,7813,2764,808,2606,3699,3369,4002,4212,3100,2532,526,3370,3821,4213,955,7814,1620,4214,2637,2427,7815,1429,3700,1669,1831,994,928,7816,3578,1260,7817,7818,7819,1948,2288,741,2919,1626,4215,2729,2455,867,1184,362,3371,1392,7820,7821,4003,4216,1770,1736,3223,2920,4499,4500,1928,2698,1459,1158,7822,3050,3372,2877,1292,1929,2506,2842,3701,1985,1187,2071,2014,2607,4217,7823,2566,2507,2169,3702,2483,3299,7824,3703,4501,7825,7826,666,1003,3005,1022,3579,4218,7827,4502,1813,2253,574,3822,1603,295,1535,705,3823,4219,283,858,417,7828,7829,3224,4503,4504,3051,1220,1889,1046,2276,2456,4004,1393,1599,689,2567,388,4220,7830,2484,802,7831,2798,3824,2060,1405,2254,7832,4505,3825,2109,1052,1345,3225,1585,7833,809,7834,7835,7836,575,2730,3477,956,1552,1469,1144,2323,7837,2324,1560,2457,3580,3226,4005,616,2207,3155,2180,2289,7838,1832,7839,3478,4506,7840,1319,3704,3705,1211,3581,1023,3227,1293,2799,7841,7842,7843,3826,607,2306,3827,762,2878,1439,4221,1360,7844,1485,3052,7845,4507,1038,4222,1450,2061,2638,4223,1379,4508,2585,7846,7847,4224,1352,1414,2325,2921,1172,7848,7849,3828,3829,7850,1797,1451,7851,7852,7853,7854,2922,4006,4007,2485,2346,411,4008,4009,3582,3300,3101,4509,1561,2664,1452,4010,1375,7855,7856,47,2959,316,7857,1406,1591,2923,3156,7858,1025,2141,3102,3157,354,2731,884,2224,4225,2407,508,3706,726,3583,996,2428,3584,729,7859,392,2191,1453,4011,4510,3707,7860,7861,2458,3585,2608,1675,2800,919,2347,2960,2348,1270,4511,4012,73,7862,7863,647,7864,3228,2843,2255,1550,1346,3006,7865,1332,883,3479,7866,7867,7868,7869,3301,2765,7870,1212,831,1347,4226,4512,2326,3830,1863,3053,720,3831,4513,4514,3832,7871,4227,7872,7873,4515,7874,7875,1798,4516,3708,2609,4517,3586,1645,2371,7876,7877,2924,669,2208,2665,2429,7878,2879,7879,7880,1028,3229,7881,4228,2408,7882,2256,1353,7883,7884,4518,3158,518,7885,4013,7886,4229,1960,7887,2142,4230,7888,7889,3007,2349,2350,3833,516,1833,1454,4014,2699,4231,4519,2225,2610,1971,1129,3587,7890,2766,7891,2961,1422,577,1470,3008,1524,3373,7892,7893,432,4232,3054,3480,7894,2586,1455,2508,2226,1972,1175,7895,1020,2732,4015,348
1201,4520,7896,2733,7897,1743,1361,3055,3482,2639,4016,4233,4521,2290,895,924,4234,2170,331,2243,3056,166,1627,3057,1098,7898,1232,2880,2227,3374,4522,657,403,1196,2372,542,3709,3375,1600,4235,3483,7899,4523,2767,3230,576,530,1362,7900,4524,2533,2666,3710,4017,7901,842,3834,7902,2801,2031,1014,4018,213,2700,3376,665,621,4236,7903,3711,2925,2430,7904,2431,3302,3588,3377,7905,4237,2534,4238,4525,3589,1682,4239,3484,1380,7906,724,2277,600,1670,7907,1337,1233,4526,3103,2244,7908,1621,4527,7909,651,4240,7910,1612,4241,2611,7911,2844,7912,2734,2307,3058,7913,716,2459,3059,174,1255,2701,4019,3590,548,1320,1398,728,4020,1574,7914,1890,1197,3060,4021,7915,3061,3062,3712,3591,3713,747,7916,635,4242,4528,7917,7918,7919,4243,7920,7921,4529,7922,3378,4530,2432,451,7923,3714,2535,2072,4244,2735,4245,4022,7924,1764,4531,7925,4246,350,7926,2278,2390,2486,7927,4247,4023,2245,1434,4024,488,4532,458,4248,4025,3715,771,1330,2391,3835,2568,3159,2159,2409,1553,2667,3160,4249,7928,2487,2881,2612,1720,2702,4250,3379,4533,7929,2536,4251,7930,3231,4252,2768,7931,2015,2736,7932,1155,1017,3716,3836,7933,3303,2308,201,1864,4253,1430,7934,4026,7935,7936,7937,7938,7939,4254,1604,7940,414,1865,371,2587,4534,4535,3485,2016,3104,4536,1708,960,425
1205,887,389,2171,1536,1663,1721,7941,2228,4027,2351,2926,1580,7942,7943,7944,1744,7945,2537,4537,4538,7946,4539,7947,2073,7948,7949,3592,3380,2882,4256,7950,4257,2640,3381,2802,673,2703,2460,709,3486,4028,3593,4258,7951,1148,502,634,7952,7953,1204,4540,3594,1575,4541,2613,3717,7954,3718,3105,948,3232,121,1745,3837,1110,7955,4259,3063,2509,3009,4029,3719,1151,1771,3838,1488,4030,1986,7956,2433,3487,7957,7958,2093,7959,4260,3839,1213,1407,2803,531,2737,2538,3233,1011,1537,7960,2769,4261,3106,1061,7961,3720,3721,1866,2883,7962,2017,120,4262,4263,2062,3595,3234,2309,3840,2668,3382,1954,4542,7963,7964,3488,1047,2704,1266,7965,1368,4543,2845,649,3383,3841,2539,2738,1102,2846,2669,7966,7967,1999,7968,1111,3596,2962,7969,2488,3842,3597,2804,1854,3384,3722,7970,7971,3385,2410,2884,3304,3235,3598,7972,2569,7973,3599,2805,4031,1460,856,7974,3600,7975,2885,2963,7976,2886,3843,7977,4264,632,2510,875,3844,1697,3845,2291,7978,7979,4544,3010,1239,580,4545,4265,7980,914,936,2074,1190,4032,1039,2123,7981,7982,7983,3386,1473,7984,1354,4266,3846,7985,2172,3064,4033,915,3305,4267,4268,3306,1605,1834,7986,2739,398,3601,4269,3847,4034,328,1912,2847,4035,3848,1331,4270,3011,937,4271,7987,3602,4036,4037,3387,2160,4546,3388,524,742,538,3065,1012,7988,7989,3849,2461,7990,658,1103,225,3850,7991,7992,4547,7993,4548,7994,3236,1243,7995,4038,963,2246,4549,7996,2705,3603,3161,7997,7998,2588,2327,7999,4550,8e3,8001,8002,3489,3307,957,3389,2540,2032,1930,2927,2462,870,2018,3604,1746,2770,2771,2434,2463,8003,3851,8004,3723,3107,3724,3490,3390,3725,8005,1179,3066,8006,3162,2373,4272,3726,2541,3163,3108,2740,4039,8007,3391,1556,2542,2292,977,2887,2033,4040,1205,3392,8008,1765,3393,3164,2124,1271,1689,714,4551,3491,8009,2328,3852,533,4273,3605,2181,617,8010,2464,3308,3492,2310,8011,8012,3165,8013,8014,3853,1987,618,427,2641,3493,3394,8015,8016,1244,1690,8017,2806,4274,4552,8018,3494,8019,8020,2279,1576,473,3606,4275,3395,972,8021,3607,8022,3067,8023,8024,4553,4554,8025,3727,4041,4042,8026,153,4555,356,8027,1891,2888,4276,2143,408,803,2352,8028,3854,8029,4277,1646,2570,2511,4556,4557,3855,8030,3856,4278,8031,2411,3396,752,8032,8033,1961,2964,8034,746,3012,2465,8035,4279,3728,698,4558,1892,4280,3608,2543,4559,3609,3857,8036,3166,3397,8037,1823,1302,4043,2706,3858,1973,4281,8038,4282,3167,823,1303,1288,1236,2848,3495,4044,3398,774,3859,8039,1581,4560,1304,2849,3860,4561,8040,2435,2161,1083,3237,4283,4045,4284,344,1173,288,2311,454,1683,8041,8042,1461,4562,4046,2589,8043,8044,4563,985,894,8045,3399,3168,8046,1913,2928,3729,1988,8047,2110,1974,8048,4047,8049,2571,1194,425,8050,4564,3169,1245,3730,4285,8051,8052,2850,8053,636,4565,1855,3861,760,1799,8054,4286,2209,1508,4566,4048,1893,1684,2293,8055,8056,8057,4287,4288,2210,479,8058,8059,832,8060,4049,2489,8061,2965,2490,3731,990,3109,627,1814,2642,4289,1582,4290,2125,2111,3496,4567,8062,799,4291,3170,8063,4568,2112,1737,3013,1018,543,754,4292,3309,1676,4569,4570,4050,8064,1489,8065,3497,8066,2614,2889,4051,8067,8068,2966,8069,8070,8071,8072,3171,4571,4572,2182,1722,8073,3238,3239,1842,3610,1715,481,365,1975,1856,8074,8075,1962,2491,4573,8076,2126,3611,3240,433,1894,2063,2075,8077,602,2741,8078,8079,8080,8081,8082,3014,1628,3400,8083,3172,4574,4052,2890,4575,2512,8084,2544,2772,8085,8086,8087,3310,4576,2891,8088,4577,8089,2851,4578,4579,1221,2967,4053,2513,8090,8091,8092,1867,1989,8093,8094,8095,1895,8096,8097,4580,1896,4054,318,8098,2094,4055,4293,8099,8100,485,8101,938,3862,553,2670,116,8102,3863,3612,8103,3498,2671,2773,3401,3311,2807,8104,3613,2929,4056,1747,2930,2968,8105,8106,207,8107,8108,2672,4581,2514,8109,3015,890,3614,3864,8110,1877,3732,3402,8111,2183,2353,3403,1652,8112,8113,8114,941,2294,208,3499,4057,2019,330,4294,3865,2892,2492,3733,4295,8115,8116,8117,8118,2515,1613,4582,8119,3312,3866,2516,8120,4058,8121,1637,4059,2466,4583,3867,8122,2493,3016,3734,8123,8124,2192,8125,8126,2162,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741]),Cd}var Ed={},SC;function x5e(){return SC||(SC=1,Ed.EUCKR_TYPICAL_DISTRIBUTION_RATIO=6,Ed.EUCKR_TABLE_SIZE=2352,Ed.EUCKRCharToFreqOrder=[13,130,120,1396,481,1719,1720,328,609,212,1721,707,400,299,1722,87,1397,1723,104,536,1117,1203,1724,1267,685,1268,508,1725,1726,1727,1728,1398,1399,1729,1730,1731,141,621,326,1057,368,1732,267,488,20,1733,1269,1734,945,1400,1735,47,904,1270,1736,1737,773,248,1738,409,313,786,429,1739,116,987,813,1401,683,75,1204,145,1740,1741,1742,1743,16,847,667,622,708,1744,1745,1746,966,787,304,129,1747,60,820,123,676,1748,1749,1750,1751,617,1752,626,1753,1754,1755,1756,653,1757,1758,1759,1760,1761,1762,856,344,1763,1764,1765,1766,89,401,418,806,905,848,1767,1768,1769,946,1205,709,1770,1118,1771,241,1772,1773,1774,1271,1775,569,1776,999,1777,1778,1779,1780,337,751,1058,28,628,254,1781,177,906,270,349,891,1079,1782,19,1783,379,1784,315,1785,629,754,1402,559,1786,636,203,1206,1787,710,567,1788,935,814,1789,1790,1207,766,528,1791,1792,1208,1793,1794,1795,1796,1797,1403,1798,1799,533,1059,1404,1405,1156,1406,936,884,1080,1800,351,1801,1802,1803,1804,1805,801,1806,1807,1808,1119,1809,1157,714,474,1407,1810,298,899,885,1811,1120,802,1158,1812,892,1813,1814,1408,659,1815,1816,1121,1817,1818,1819,1820,1821,1822,319,1823,594,545,1824,815,937,1209,1825,1826,573,1409,1022,1827,1210,1828,1829,1830,1831,1832,1833,556,722,807,1122,1060,1834,697,1835,900,557,715,1836,1410,540,1411,752,1159,294,597,1211,976,803,770,1412,1837,1838,39,794,1413,358,1839,371,925,1840,453,661,788,531,723,544,1023,1081,869,91,1841,392,430,790,602,1414,677,1082,457,1415,1416,1842,1843,475,327,1024,1417,795,121,1844,733,403,1418,1845,1846,1847,300,119,711,1212,627,1848,1272,207,1849,1850,796,1213,382,1851,519,1852,1083,893,1853,1854,1855,367,809,487,671,1856,663,1857,1858,956,471,306,857,1859,1860,1160,1084,1861,1862,1863,1864,1865,1061,1866,1867,1868,1869,1870,1871,282,96,574,1872,502,1085,1873,1214,1874,907,1875,1876,827,977,1419,1420,1421,268,1877,1422,1878,1879,1880,308,1881,2,537,1882,1883,1215,1884,1885,127,791,1886,1273,1423,1887,34,336,404,643,1888,571,654,894,840,1889,0,886,1274,122,575,260,908,938,1890,1275,410,316,1891,1892,100,1893,1894,1123,48,1161,1124,1025,1895,633,901,1276,1896,1897,115,816,1898,317,1899,694,1900,909,734,1424,572,866,1425,691,85,524,1010,543,394,841,1901,1902,1903,1026,1904,1905,1906,1907,1908,1909,30,451,651,988,310,1910,1911,1426,810,1216,93,1912,1913,1277,1217,1914,858,759,45,58,181,610,269,1915,1916,131,1062,551,443,1e3,821,1427,95
1207,895,1086,1917,1918,375,1919,359,1920,687,1921,822,1922,293,1923,1924,40,662,118,692,29,939,887,640,482,174,1925,69,1162,728,1428,910,1926,1278,1218,1279,386,870,217,854,1163,823,1927,1928,1929,1930,834,1931,78,1932,859,1933,1063,1934,1935,1936,1937,438,1164,208,595,1938,1939,1940,1941,1219,1125,1942,280,888,1429,1430,1220,1431,1943,1944,1945,1946,1947,1280,150,510,1432,1948,1949,1950,1951,1952,1953,1954,1011,1087,1955,1433,1043,1956,881,1957,614,958,1064,1065,1221,1958,638,1001,860,967,896,1434,989,492,553,1281,1165,1959,1282,1002,1283,1222,1960,1961,1962,1963,36,383,228,753,247,454,1964,876,678,1965,1966,1284,126,464,490,835,136,672,529,940,1088,1435,473,1967,1968,467,50,390,227,587,279,378,598,792,968,240,151,160,849,882,1126,1285,639,1044,133,140,288,360,811,563,1027,561,142,523,1969,1970,1971,7,103,296,439,407,506,634,990,1972,1973,1974,1975,645,1976,1977,1978,1979,1980,1981,236,1982,1436,1983,1984,1089,192,828,618,518,1166,333,1127,1985,818,1223,1986,1987,1988,1989,1990,1991,1992,1993,342,1128,1286,746,842,1994,1995,560,223,1287,98,8,189,650,978,1288,1996,1437,1997,17,345,250,423,277,234,512,226,97,289,42,167,1998,201,1999,2e3,843,836,824,532,338,783,1090,182,576,436,1438,1439,527,500,2001,947,889,2002,2003,2004,2005,262,600,314,447,2006,547,2007,693,738,1129,2008,71,1440,745,619,688,2009,829,2010,2011,147,2012,33,948,2013,2014,74,224,2015,61,191,918,399,637,2016,1028,1130,257,902,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,837,2027,2028,2029,2030,179,874,591,52,724,246,2031,2032,2033,2034,1167,969,2035,1289,630,605,911,1091,1168,2036,2037,2038,1441,912,2039,623,2040,2041,253,1169,1290,2042,1442,146,620,611,577,433,2043,1224,719,1170,959,440,437,534,84,388,480,1131,159,220,198,679,2044,1012,819,1066,1443,113,1225,194,318,1003,1029,2045,2046,2047,2048,1067,2049,2050,2051,2052,2053,59,913,112,2054,632,2055,455,144,739,1291,2056,273,681,499,2057,448,2058,2059,760,2060,2061,970,384,169,245,1132,2062,2063,414,1444,2064,2065,41,235,2066,157,252,877,568,919,789,580,2067,725,2068,2069,1292,2070,2071,1445,2072,1446,2073,2074,55,588,66,1447,271,1092,2075,1226,2076,960,1013,372,2077,2078,2079,2080,2081,1293,2082,2083,2084,2085,850,2086,2087,2088,2089,2090,186,2091,1068,180,2092,2093,2094,109,1227,522,606,2095,867,1448,1093,991,1171,926,353,1133,2096,581,2097,2098,2099,1294,1449,1450,2100,596,1172,1014,1228,2101,1451,1295,1173,1229,2102,2103,1296,1134,1452,949,1135,2104,2105,1094,1453,1454,1455,2106,1095,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,804,2118,2119,1230,1231,805,1456,405,1136,2120,2121,2122,2123,2124,720,701,1297,992,1457,927,1004,2125,2126,2127,2128,2129,2130,22,417,2131,303,2132,385,2133,971,520,513,2134,1174,73,1096,231,274,962,1458,673,2135,1459,2136,152,1137,2137,2138,2139,2140,1005,1138,1460,1139,2141,2142,2143,2144,11,374,844,2145,154,1232,46,1461,2146,838,830,721,1233,106,2147,90,428,462,578,566,1175,352,2148,2149,538,1234,124,1298,2150,1462,761,565,2151,686,2152,649,2153,72,173,2154,460,415,2155,1463,2156,1235,305,2157,2158,2159,2160,2161,2162,579,2163,2164,2165,2166,2167,747,2168,2169,2170,2171,1464,669,2172,2173,2174,2175,2176,1465,2177,23,530,285,2178,335,729,2179,397,2180,2181,2182,1030,2183,2184,698,2185,2186,325,2187,2188,369,2189,799,1097,1015,348,2190,1069,680,2191,851,1466,2192,2193,10,2194,613,424,2195,979,108,449,589,27,172,81,1031,80,774,281,350,1032,525,301,582,1176,2196,674,1045,2197,2198,1467,730,762,2199,2200,2201,2202,1468,2203,993,2204,2205,266,1070,963,1140,2206,2207,2208,664,1098,972,2209,2210,2211,1177,1469,1470,871,2212,2213,2214,2215,2216,1471,2217,2218,2219,2220,2221,2222,2223,2224,2225,2226,2227,1472,1236,2228,2229,2230,2231,2232,2233,2234,2235,1299,2236,2237,200,2238,477,373,2239,2240,731,825,777,2241,2242,2243,521,486,548,2244,2245,2246,1473,1300,53,549,137,875,76,158,2247,1301,1474,469,396,1016,278,712,2248,321,442,503,767,744,941,1237,1178,1475,2249,82,178,1141,1179,973,2250,1302,2251,297,2252,2253,570,2254,2255,2256,18,450,206,2257,290,292,1142,2258,511,162,99,346,164,735,2259,1476,1477,4,554,343,798,1099,2260,1100,2261,43,171,1303,139,215,2262,2263,717,775,2264,1033,322,216,2265,831,2266,149,2267,1304,2268,2269,702,1238,135,845,347,309,2270,484,2271,878,655,238,1006,1478,2272,67,2273,295,2274,2275,461,2276,478,942,412,2277,1034,2278,2279,2280,265,2281,541,2282,2283,2284,2285,2286,70,852,1071,2287,2288,2289,2290,21,56,509,117,432,2291,2292,331,980,552,1101,148,284,105,393,1180,1239,755,2293,187,2294,1046,1479,2295,340,2296,63,1047,230,2297,2298,1305,763,1306,101,800,808,494,2299,2300,2301,903,2302,37,1072,14,5,2303,79,675,2304,312,2305,2306,2307,2308,2309,1480,6,1307,2310,2311,2312,1,470,35,24,229,2313,695,210,86,778,15,784,592,779,32,77,855,964,2314,259,2315,501,380,2316,2317,83,981,153,689,1308,1481,1482,1483,2318,2319,716,1484,2320,2321,2322,2323,2324,2325,1485,2326,2327,128,57,68,261,1048,211,170,1240,31,2328,51,435,742,2329,2330,2331,635,2332,264,456,2333,2334,2335,425,2336,1486,143,507,263,943,2337,363,920,1487,256,1488,1102,243,601,1489,2338,2339,2340,2341,2342,2343,2344,861,2345,2346,2347,2348,2349,2350,395,2351,1490,1491,62,535,166,225,2352,2353,668,419,1241,138,604,928,2354,1181,2355,1492,1493,2356,235
1207,2358,1143,2359,696,2360,387,307,1309,682,476,2361,2362,332,12,222,156,2363,232,2364,641,276,656,517,1494,1495,1035,416,736,1496,2365,1017,586,2366,2367,2368,1497,2369,242,2370,2371,2372,1498,2373,965,713,2374,2375,2376,2377,740,982,1499,944,1500,1007,2378,2379,1310,1501,2380,2381,2382,785,329,2383,2384,1502,2385,2386,2387,932,2388,1503,2389,2390,2391,2392,1242,2393,2394,2395,2396,2397,994,950,2398,2399,2400,2401,1504,1311,2402,2403,2404,2405,1049,749,2406,2407,853,718,1144,1312,2408,1182,1505,2409,2410,255,516,479,564,550,214,1506,1507,1313,413,239,444,339,1145,1036,1508,1509,1314,1037,1510,1315,2411,1511,2412,2413,2414,176,703,497,624,593,921,302,2415,341,165,1103,1512,2416,1513,2417,2418,2419,376,2420,700,2421,2422,2423,258,768,1316,2424,1183,2425,995,608,2426,2427,2428,2429,221,2430,2431,2432,2433,2434,2435,2436,2437,195,323,726,188,897,983,1317,377,644,1050,879,2438,452,2439,2440,2441,2442,2443,2444,914,2445,2446,2447,2448,915,489,2449,1514,1184,2450,2451,515,64,427,495,2452,583,2453,483,485,1038,562,213,1515,748,666,2454,2455,2456,2457,334,2458,780,996,1008,705,1243,2459,2460,2461,2462,2463,114,2464,493,1146,366,163,1516,961,1104,2465,291,2466,1318,1105,2467,1517,365,2468,355,951,1244,2469,1319,2470,631,2471,2472,218,1320,364,320,756,1518,1519,1321,1520,1322,2473,2474,2475,2476,997,2477,2478,2479,2480,665,1185,2481,916,1521,2482,2483,2484,584,684,2485,2486,797,2487,1051,1186,2488,2489,2490,1522,2491,2492,370,2493,1039,1187,65,2494,434,205,463,1188,2495,125,812,391,402,826,699,286,398,155,781,771,585,2496,590,505,1073,2497,599,244,219,917,1018,952,646,1523,2498,1323,2499,2500,49,984,354,741,2501,625,2502,1324,2503,1019,190,357,757,491,95,782,868,2504,2505,2506,2507,2508,2509,134,1524,1074,422,1525,898,2510,161,2511,2512,2513,2514,769,2515,1526,2516,2517,411,1325,2518,472,1527,2519,2520,2521,2522,2523,2524,985,2525,2526,2527,2528,2529,2530,764,2531,1245,2532,2533,25,204,311,2534,496,2535,1052,2536,2537,2538,2539,2540,2541,2542,199,704,504,468,758,657,1528,196,44,839,1246,272,750,2543,765,862,2544,2545,1326,2546,132,615,933,2547,732,2548,2549,2550,1189,1529,2551,283,1247,1053,607,929,2552,2553,2554,930,183,872,616,1040,1147,2555,1148,1020,441,249,1075,2556,2557,2558,466,743,2559,2560,2561,92,514,426,420,526,2562,2563,2564,2565,2566,2567,2568,185,2569,2570,2571,2572,776,1530,658,2573,362,2574,361,922,1076,793,2575,2576,2577,2578,2579,2580,1531,251,2581,2582,2583,2584,1532,54,612,237,1327,2585,2586,275,408,647,111,2587,1533,1106,465,3,458,9,38,2588,107,110,890,209,26,737,498,2589,1534,2590,431,202,88,1535,356,287,1107,660,1149,2591,381,1536,986,1150,445,1248,1151,974,2592,2593,846,2594,446,953,184,1249,1250,727,2595,923,193,883,2596,2597,2598,102,324,539,817,2599,421,1041,2600,832,2601,94,175,197,406,2602,459,2603,2604,2605,2606,2607,330,555,2608,2609,2610,706,1108,389,2611,2612,2613,2614,233,2615,833,558,931,954,1251,2616,2617,1537,546,2618,2619,1009,2620,2621,2622,1538,690,1328,2623,955,2624,1539,2625,2626,772,2627,2628,2629,2630,2631,924,648,863,603,2632,2633,934,1540,864,865,2634,642,1042,670,1190,2635,2636,2637,2638,168,2639,652,873,542,1054,1541,2640,2641,2642,2643,2644,2645,2646,2647,2648,2649,2650,2651,2652,2653,2654,2655,2656,2657,2658,2659,2660,2661,2662,2663,2664,2665,2666,2667,2668,2669,2670,2671,2672,2673,2674,2675,2676,2677,2678,2679,2680,2681,2682,2683,2684,2685,2686,2687,2688,2689,2690,2691,2692,2693,2694,2695,2696,2697,2698,2699,1542,880,2700,2701,2702,2703,2704,2705,2706,2707,2708,2709,2710,2711,2712,2713,2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,1543,2726,2727,2728,2729,2730,2731,2732,1544,2733,2734,2735,2736,2737,2738,2739,2740,2741,2742,2743,2744,2745,2746,2747,2748,2749,2750,2751,2752,2753,2754,1545,2755,2756,2757,2758,2759,2760,2761,2762,2763,2764,2765,2766,1546,2767,1547,2768,2769,2770,2771,2772,2773,2774,2775,2776,2777,2778,2779,2780,2781,2782,2783,2784,2785,2786,1548,2787,2788,2789,1109,2790,2791,2792,2793,2794,2795,2796,2797,2798,2799,2800,2801,2802,2803,2804,2805,2806,2807,2808,2809,2810,2811,2812,1329,2813,2814,2815,2816,2817,2818,2819,2820,2821,2822,2823,2824,2825,2826,2827,2828,2829,2830,2831,2832,2833,2834,2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2852,2853,2854,2855,2856,1549,2857,2858,2859,2860,1550,2861,2862,1551,2863,2864,2865,2866,2867,2868,2869,2870,2871,2872,2873,2874,1110,1330,2875,2876,2877,2878,2879,2880,2881,2882,2883,2884,2885,2886,2887,2888,2889,2890,2891,2892,2893,2894,2895,2896,2897,2898,2899,2900,2901,2902,2903,2904,2905,2906,2907,2908,2909,2910,2911,2912,2913,2914,2915,2916,2917,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927,2928,2929,2930,1331,2931,2932,2933,2934,2935,2936,2937,2938,2939,2940,2941,2942,2943,1552,2944,2945,2946,2947,2948,2949,2950,2951,2952,2953,2954,2955,2956,2957,2958,2959,2960,2961,2962,2963,2964,1252,2965,2966,2967,2968,2969,2970,2971,2972,2973,2974,2975,2976,297
1207,2978,2979,2980,2981,2982,2983,2984,2985,2986,2987,2988,2989,2990,2991,2992,2993,2994,2995,2996,2997,2998,2999,3e3,3001,3002,3003,3004,3005,3006,3007,3008,3009,3010,3011,3012,1553,3013,3014,3015,3016,3017,1554,3018,1332,3019,3020,3021,3022,3023,3024,3025,3026,3027,3028,3029,3030,3031,3032,3033,3034,3035,3036,3037,3038,3039,3040,3041,3042,3043,3044,3045,3046,3047,3048,3049,3050,1555,3051,3052,3053,1556,1557,3054,3055,3056,3057,3058,3059,3060,3061,3062,3063,3064,3065,3066,3067,1558,3068,3069,3070,3071,3072,3073,3074,3075,3076,1559,3077,3078,3079,3080,3081,3082,3083,1253,3084,3085,3086,3087,3088,3089,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3105,3106,3107,3108,1152,3109,3110,3111,3112,3113,1560,3114,3115,3116,3117,1111,3118,3119,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3130,3131,3132,3133,3134,3135,3136,3137,3138,3139,3140,3141,3142,3143,3144,3145,3146,3147,3148,3149,3150,3151,3152,3153,3154,3155,3156,3157,3158,3159,3160,3161,3162,3163,3164,3165,3166,3167,3168,3169,3170,3171,3172,3173,3174,3175,3176,1333,3177,3178,3179,3180,3181,3182,3183,3184,3185,3186,3187,3188,3189,1561,3190,3191,1334,3192,3193,3194,3195,3196,3197,3198,3199,3200,3201,3202,3203,3204,3205,3206,3207,3208,3209,3210,3211,3212,3213,3214,3215,3216,3217,3218,3219,3220,3221,3222,3223,3224,3225,3226,3227,3228,3229,3230,3231,3232,3233,3234,1562,3235,3236,3237,3238,3239,3240,3241,3242,3243,3244,3245,3246,3247,3248,3249,3250,3251,3252,3253,3254,3255,3256,3257,3258,3259,3260,3261,3262,3263,3264,3265,3266,3267,3268,3269,3270,3271,3272,3273,3274,3275,3276,3277,1563,3278,3279,3280,3281,3282,3283,3284,3285,3286,3287,3288,3289,3290,3291,3292,3293,3294,3295,3296,3297,3298,3299,3300,3301,3302,3303,3304,3305,3306,3307,3308,3309,3310,3311,3312,3313,3314,3315,3316,3317,3318,3319,3320,3321,3322,3323,3324,3325,3326,3327,3328,3329,3330,3331,3332,3333,3334,3335,3336,3337,3338,3339,3340,3341,3342,3343,3344,3345,3346,3347,3348,3349,3350,3351,3352,3353,3354,3355,3356,3357,3358,3359,3360,3361,3362,3363,3364,1335,3365,3366,3367,3368,3369,3370,3371,3372,3373,3374,3375,3376,3377,3378,3379,3380,3381,3382,3383,3384,3385,3386,3387,1336,3388,3389,3390,3391,3392,3393,3394,3395,3396,3397,3398,3399,3400,3401,3402,3403,3404,3405,3406,3407,3408,3409,3410,3411,3412,3413,3414,1337,3415,3416,3417,3418,3419,1338,3420,3421,3422,1564,1565,3423,3424,3425,3426,3427,3428,3429,3430,3431,1254,3432,3433,3434,1339,3435,3436,3437,3438,3439,1566,3440,3441,3442,3443,3444,3445,3446,3447,3448,3449,3450,3451,3452,3453,3454,1255,3455,3456,3457,3458,3459,1567,1191,3460,1568,1569,3461,3462,3463,1570,3464,3465,3466,3467,3468,1571,3469,3470,3471,3472,3473,1572,3474,3475,3476,3477,3478,3479,3480,3481,3482,3483,3484,3485,3486,1340,3487,3488,3489,3490,3491,3492,1021,3493,3494,3495,3496,3497,3498,1573,3499,1341,3500,3501,3502,3503,3504,3505,3506,3507,3508,3509,3510,3511,1342,3512,3513,3514,3515,3516,1574,1343,3517,3518,3519,1575,3520,1576,3521,3522,3523,3524,3525,3526,3527,3528,3529,3530,3531,3532,3533,3534,3535,3536,3537,3538,3539,3540,3541,3542,3543,3544,3545,3546,3547,3548,3549,3550,3551,3552,3553,3554,3555,3556,3557,3558,3559,3560,3561,3562,3563,3564,3565,3566,3567,3568,3569,3570,3571,3572,3573,3574,3575,3576,3577,3578,3579,3580,1577,3581,3582,1578,3583,3584,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,1579,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,1580,3630,3631,1581,3632,3633,3634,3635,3636,3637,3638,3639,3640,3641,3642,3643,3644,3645,3646,3647,3648,3649,3650,3651,3652,3653,3654,3655,3656,1582,3657,3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3674,3675,3676,3677,3678,3679,3680,3681,3682,3683,3684,3685,3686,3687,3688,3689,3690,3691,3692,3693,3694,3695,3696,3697,3698,3699,3700,1192,3701,3702,3703,3704,1256,3705,3706,3707,3708,1583,1257,3709,3710,3711,3712,3713,3714,3715,3716,1584,3717,3718,3719,3720,3721,3722,3723,3724,3725,3726,3727,3728,3729,3730,3731,3732,3733,3734,3735,3736,3737,3738,3739,3740,3741,3742,3743,3744,3745,1344,3746,3747,3748,3749,3750,3751,3752,3753,3754,3755,3756,1585,3757,3758,3759,3760,3761,3762,3763,3764,3765,3766,1586,3767,3768,3769,3770,3771,3772,3773,3774,3775,3776,3777,3778,1345,3779,3780,3781,3782,3783,3784,3785,3786,3787,3788,3789,3790,3791,3792,3793,3794,3795,1346,1587,3796,3797,
1201588,3798,3799,3800,3801,3802,3803,3804,3805,3806,1347,3807,3808,3809,3810,3811,1589,3812,3813,3814,3815,3816,3817,3818,3819,3820,3821,1590,3822,3823,1591,1348,3824,3825,3826,3827,3828,3829,3830,1592,3831,3832,1593,3833,3834,3835,3836,3837,3838,3839,3840,3841,3842,3843,3844,1349,3845,3846,3847,3848,3849,3850,3851,3852,3853,3854,3855,3856,3857,3858,1594,3859,3860,3861,3862,3863,3864,3865,3866,3867,3868,3869,1595,3870,3871,3872,3873,1596,3874,3875,3876,3877,3878,3879,3880,3881,3882,3883,3884,3885,3886,1597,3887,3888,3889,3890,3891,3892,3893,3894,3895,1598,3896,3897,3898,1599,1600,3899,1350,3900,1351,3901,3902,1352,3903,3904,3905,3906,3907,3908,3909,3910,3911,3912,3913,3914,3915,3916,3917,3918,3919,3920,3921,3922,3923,3924,1258,3925,3926,3927,3928,3929,3930,3931,1193,3932,1601,3933,3934,3935,3936,3937,3938,3939,3940,3941,3942,3943,1602,3944,3945,3946,3947,3948,1603,3949,3950,3951,3952,3953,3954,3955,3956,3957,3958,3959,3960,3961,3962,3963,3964,3965,1604,3966,3967,3968,3969,3970,3971,3972,3973,3974,3975,3976,3977,1353,3978,3979,3980,3981,3982,3983,3984,3985,3986,3987,3988,3989,3990,3991,1354,3992,3993,3994,3995,3996,3997,3998,3999,4e3,4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4014,4015,4016,4017,4018,4019,4020,4021,4022,4023,1355,4024,4025,4026,4027,4028,4029,4030,4031,4032,4033,4034,4035,4036,4037,4038,4039,4040,1605,4041,4042,4043,4044,4045,4046,4047,4048,4049,4050,4051,4052,4053,4054,4055,4056,4057,4058,4059,4060,1606,4061,4062,4063,4064,1607,4065,4066,4067,4068,4069,4070,4071,4072,4073,4074,4075,4076,1194,4077,4078,1608,4079,4080,4081,4082,4083,4084,4085,4086,4087,1609,4088,4089,4090,4091,4092,4093,4094,4095,4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,1259,4109,4110,4111,4112,4113,4114,4115,4116,4117,4118,4119,4120,4121,4122,4123,4124,1195,4125,4126,4127,1610,4128,4129,4130,4131,4132,4133,4134,4135,4136,4137,1356,4138,4139,4140,4141,4142,4143,4144,1611,4145,4146,4147,4148,4149,4150,4151,4152,4153,4154,4155,4156,4157,4158,4159,4160,4161,4162,4163,4164,4165,4166,4167,4168,4169,4170,4171,4172,4173,4174,4175,4176,4177,4178,4179,4180,4181,4182,4183,4184,4185,4186,4187,4188,4189,4190,4191,4192,4193,4194,4195,4196,4197,4198,4199,4200,4201,4202,4203,4204,4205,4206,4207,4208,4209,4210,4211,4212,4213,4214,4215,4216,4217,4218,4219,1612,4220,4221,4222,4223,4224,4225,4226,4227,1357,4228,1613,4229,4230,4231,4232,4233,4234,4235,4236,4237,4238,4239,4240,4241,4242,4243,1614,4244,4245,4246,4247,4248,4249,4250,4251,4252,4253,4254,4255,4256,4257,4258,4259,4260,4261,4262,4263,4264,4265,4266,4267,4268,4269,4270,1196,1358,4271,4272,4273,4274,4275,4276,4277,4278,4279,4280,4281,4282,4283,4284,4285,4286,4287,1615,4288,4289,4290,4291,4292,4293,4294,4295,4296,4297,4298,4299,4300,4301,4302,4303,4304,4305,4306,4307,4308,4309,4310,4311,4312,4313,4314,4315,4316,4317,4318,4319,4320,4321,4322,4323,4324,4325,4326,4327,4328,4329,4330,4331,4332,4333,4334,1616,4335,4336,4337,4338,4339,4340,4341,4342,4343,4344,4345,4346,4347,4348,4349,4350,4351,4352,4353,4354,4355,4356,4357,4358,4359,4360,1617,4361,4362,4363,4364,4365,1618,4366,4367,4368,4369,4370,4371,4372,4373,4374,4375,4376,4377,4378,4379,4380,4381,4382,4383,4384,4385,4386,4387,4388,4389,4390,4391,4392,4393,4394,4395,4396,4397,4398,4399,4400,4401,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,1619,4417,4418,4419,4420,4421,4422,4423,4424,4425,1112,4426,4427,4428,4429,4430,1620,4431,4432,4433,4434,4435,4436,4437,4438,4439,4440,4441,4442,1260,1261,4443,4444,4445,4446,4447,4448,4449,4450,4451,4452,4453,4454,4455,1359,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,1621,4466,4467,4468,4469,4470,4471,4472,4473,4474,4475,4476,4477,4478,4479,4480,4481,4482,4483,4484,4485,4486,4487,4488,4489,1055,4490,4491,4492,4493,4494,4495,4496,4497,4498,4499,4500,4501,4502,4503,4504,4505,4506,4507,4508,4509,4510,4511,4512,4513,4514,4515,4516,4517,4518,1622,4519,4520,4521,1623,4522,4523,4524,4525,4526,4527,4528,4529,4530,4531,4532,4533,4534,4535,1360,4536,4537,4538,4539,4540,4541,4542,4543,975,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,4562,4563,4564,4565,4566,4567,4568,4569,4570,4571,1624,4572,4573,4574,4575,4576,1625,4577,4578,4579,4580,4581,4582,4583,4584,1626,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4595,1627,4596,4597,4598,4599,4600,4601,4602,4603,4604,4605,4606,4607,4608,4609,4610,4611,4612,4613,4614,4615,1628,4616,4617,4618,4619,4620,4621,4622,4623,4624,4625,462
1206,4627,4628,4629,4630,4631,4632,4633,4634,4635,4636,4637,4638,4639,4640,4641,4642,4643,4644,4645,4646,4647,4648,4649,1361,4650,4651,4652,4653,4654,4655,4656,4657,4658,4659,4660,4661,1362,4662,4663,4664,4665,4666,4667,4668,4669,4670,4671,4672,4673,4674,4675,4676,4677,4678,4679,4680,4681,4682,1629,4683,4684,4685,4686,4687,1630,4688,4689,4690,4691,1153,4692,4693,4694,1113,4695,4696,4697,4698,4699,4700,4701,4702,4703,4704,4705,4706,4707,4708,4709,4710,4711,1197,4712,4713,4714,4715,4716,4717,4718,4719,4720,4721,4722,4723,4724,4725,4726,4727,4728,4729,4730,4731,4732,4733,4734,4735,1631,4736,1632,4737,4738,4739,4740,4741,4742,4743,4744,1633,4745,4746,4747,4748,4749,1262,4750,4751,4752,4753,4754,1363,4755,4756,4757,4758,4759,4760,4761,4762,4763,4764,4765,4766,4767,4768,1634,4769,4770,4771,4772,4773,4774,4775,4776,4777,4778,1635,4779,4780,4781,4782,4783,4784,4785,4786,4787,4788,4789,1636,4790,4791,4792,4793,4794,4795,4796,4797,4798,4799,4800,4801,4802,4803,4804,4805,4806,1637,4807,4808,4809,1638,4810,4811,4812,4813,4814,4815,48
12016,4817,4818,1639,4819,4820,4821,4822,4823,4824,4825,4826,4827,4828,4829,4830,4831,4832,4833,1077,4834,4835,4836,4837,4838,4839,4840,4841,4842,4843,4844,4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,4861,4862,4863,4864,4865,4866,4867,4868,4869,4870,4871,4872,4873,4874,4875,4876,4877,4878,4879,4880,4881,4882,4883,1640,4884,4885,1641,4886,4887,4888,4889,4890,4891,4892,4893,4894,4895,4896,4897,4898,4899,4900,4901,4902,4903,4904,4905,4906,4907,4908,4909,4910,4911,1642,4912,4913,4914,1364,4915,4916,4917,4918,4919,4920,4921,4922,4923,4924,4925,4926,4927,4928,4929,4930,4931,1643,4932,4933,4934,4935,4936,4937,4938,4939,4940,4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,4955,4956,4957,4958,4959,4960,4961,4962,4963,4964,4965,4966,4967,4968,4969,4970,4971,4972,4973,4974,4975,4976,4977,4978,4979,4980,1644,4981,4982,4983,4984,1645,4985,4986,1646,4987,4988,4989,4990,4991,4992,4993,4994,4995,4996,4997,4998,4999,5e3,5001,5002,5003,5004,5005,1647,5006,1648,5007,5008,5009,5010,5011,5012,1078,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5023,5024,5025,5026,5027,5028,1365,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,1649,5040,5041,5042,5043,5044,5045,1366,5046,5047,5048,5049,5050,5051,5052,5053,5054,5055,1650,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5072,5073,5074,5075,5076,5077,1651,5078,5079,5080,5081,5082,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5110,1652,5111,5112,5113,5114,5115,5116,5117,5118,1367,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,1653,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,1368,5150,1654,5151,1369,5152,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,5176,5177,5178,1370,5179,5180,5181,5182,5183,5184,5185,5186,5187,5188,5189,5190,5191,5192,5193,5194,5195,5196,5197,5198,1655,5199,5200,5201,5202,1656,5203,5204,5205,5206,1371,5207,1372,5208,5209,5210,5211,1373,5212,5213,1374,5214,5215,5216,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,5237,5238,5239,5240,5241,5242,5243,5244,5245,5246,5247,1657,5248,5249,5250,5251,1658,1263,5252,5253,5254,5255,5256,1375,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,1659,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,1660,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,1376,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,1198,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,1661,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,5382,5383,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,1264,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,1662,5413,5414,5415,5416,1663,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,1664,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,1154,5479,5480,5481,5482,5483,5484,5485,1665,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,1377,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,1114,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,1378,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,1379,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,1380,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,1381,1056,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,1666,5661,5662,5663,5664,5665,5666,5667,5668,1667,5669,1668,5670,5671,5672,5673,5674,5675,5676,5677,5678,1155,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,1669,5699,5700,5701,5702,5703,5704,5705,1670,5706,5707,5708,5709,5710,1671,5711,5712,5713,5714,1382,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,1672,5726,5727,16
12073,1674,5728,5729,5730,5731,5732,5733,5734,5735,5736,1675,5737,5738,5739,5740,5741,5742,5743,5744,1676,5745,5746,5747,5748,5749,5750,5751,1383,5752,5753,5754,5755,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,1677,5769,5770,5771,5772,5773,1678,5774,5775,5776,998,5777,5778,5779,5780,5781,5782,5783,5784,5785,1384,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,1679,5801,5802,5803,1115,1116,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,1680,5856,5857,5858,5859,5860,5861,5862,5863,5864,1681,5865,5866,5867,1682,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,1683,5880,1684,5881,5882,5883,5884,1685,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,1686,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,1687,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,1688,1689,5953,1199,5954,5955,5956,5957,5958,5959,5960,5961,1690,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,1385,5982,1386,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,1265,6028,6029,1691,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,1692,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6126,6127,6128,6129,6130,6131,1693,6132,6133,6134,6135,6136,1694,6137,6138,6139,6140,6141,1695,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6152,6153,6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6171,6172,6173,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,1696,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,1697,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,1698,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,1200,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,1699,6303,6304,1700,6305,6306,6307,6308,6309,6310,6311,6312,6313,6314,6315,6316,6317,6318,6319,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,1701,6340,6341,6342,6343,6344,1387,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,6411,6412,6413,1702,6414,6415,6416,6417,6418,6419,6420,6421,6422,1703,6423,6424,6425,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,1704,6439,6440,6441,6442,6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,6478,6479,6480,6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6498,6499,6500,6501,6502,6503,1266,6504,6505,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,1705,1706,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,6570,6571,6572,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6602,6603,6604,6605,6606,6607,6608,6609,6610,6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,6626,6627,6628,6629,6630,6631,6632,6633,6634,6635,6636,6637,1388,6638,6639,664
1200,6641,6642,6643,6644,1707,6645,6646,6647,6648,6649,6650,6651,6652,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,6663,1708,6664,6665,6666,6667,6668,6669,6670,6671,6672,6673,6674,1201,6675,6676,6677,6678,6679,6680,6681,6682,6683,6684,6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,1389,6726,6727,6728,6729,6730,6731,6732,6733,6734,6735,6736,1390,1709,6737,6738,6739,6740,6741,6742,1710,6743,6744,6745,6746,1391,6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,1392,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,1202,6781,6782,6783,6784,6785,6786,6787,6788,6789,6790,6791,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,1711,6810,6811,6812,6813,6814,6815,6816,6817,6818,6819,6820,6821,6822,6823,6824,6825,6826,6827,6828,6829,6830,6831,6832,6833,6834,6835,6836,1393,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,6847,6848,6849,6850,6851,6852,6853,6854,6855,6856,6857,6858,6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6877,6878,6879,6880,6881,6882,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,1712,6903,6904,6905,6906,6907,6908,6909,6910,1713,6911,6912,6913,6914,6915,6916,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,6928,6929,6930,6931,6932,6933,6934,6935,6936,6937,6938,6939,6940,6941,6942,6943,6944,6945,6946,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,1714,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,1394,6989,6990,6991,6992,6993,6994,6995,6996,6997,6998,6999,7e3,1715,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,1716,7029,7030,7031,7032,7033,7034,7035,7036,7037,7038,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7204,7205,7206,7207,1395,7208,7209,7210,7211,7212,7213,1717,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,1718,7314,7315,7316,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,7354,7355,7356,7357,7358,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,7454,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,7475,7476,7477,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,7503,7504,7505,7506,750
1207,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,7617,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,7698,7699,7700,7701,7702,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,7751,7752,7753,7754,7755,7756,7757,7758,7759,7760,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,8257,8258,8259,8260,8261,8262,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,8308,8309,8310,8311,8312,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,8364,8365,8366,8367,8368,8369,8370,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8616,8617,8618,8619,8620,8621,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741]),Ed}var zd={},TC;function S5e(){return TC||(TC=1,zd.GB2312_TYPICAL_DISTRIBUTION_RATIO=.9,zd.GB2312_TABLE_SIZE=3760,zd.GB2312CharToFreqOrder=[1671,749,1443,2364,3924,3807,2330,3921,1704,3463,2691,1511,1515,572,3191,2205,2361,224,2558,479,1711,963,3162,440,4060,1905,2966,2947,3580,2647,3961,3842,2204,869,4207,970,2678,5626,2944,2956,
1201479,4048,514,3595,588,1346,2820,3409,249,4088,1746,1873,2047,1774,581,1813,358,1174,3590,1014,1561,4844,2245,670,1636,3112,889,1286,953,556,2327,3060,1290,3141,613,185,3477,1367,850,3820,1715,2428,2642,2303,2732,3041,2562,2648,3566,3946,1349,388,3098,2091,1360,3585,152,1687,1539,738,1559,59,1232,2925,2267,1388,1249,1741,1679,2960,151,1566,1125,1352,4271,924,4296,385,3166,4459,310,1245,2850,70,3285,2729,3534,3575,2398,3298,3466,1960,2265,217,3647,864,1909,2084,4401,2773,1010,3269,5152,853,3051,3121,1244,4251,1895,364,1499,1540,2313,1180,3655,2268,562,715,2417,3061,544,336,3768,2380,1752,4075,950,280,2425,4382,183,2759,3272,333,4297,2155,1688,2356,1444,1039,4540,736,1177,3349,2443,2368,2144,2225,565,196,1482,3406,927,1335,4147,692,878,1311,1653,3911,3622,1378,4200,1840,2969,3149,2126,1816,2534,1546,2393,2760,737,2494,13,447,245,2747,38,2765,2129,2589,1079,606,360,471,3755,2890,404,848,699,1785,1236,370,2221,1023,3746,2074,2026,2023,2388,1581,2119,812,1141,3091,2536,1519,804,2053,406,1596,1090,784,548,4414,1806,2264,2936,1100,343,4114,5096,622,3358,743,3668,1510,1626,5020,3567,2513,3195,4115,5627,2489,2991,24,2065,2697,1087,2719,48,1634,315,68,985,2052,198,2239,1347,1107,1439,597,2366,2172,871,3307,919,2487,2790,1867,236,2570,1413,3794,906,3365,3381,1701,1982,1818,1524,2924,1205,616,2586,2072,2004,575,253,3099,32,1365,1182,197,1714,2454,1201,554,3388,3224,2748,756,2587,250,2567,1507,1517,3529,1922,2761,2337,3416,1961,1677,2452,2238,3153,615,911,1506,1474,2495,1265,1906,2749,3756,3280,2161,898,2714,1759,3450,2243,2444,563,26,3286,2266,3769,3344,2707,3677,611,1402,531,1028,2871,4548,1375,261,2948,835,1190,4134,353,840,2684,1900,3082,1435,2109,1207,1674,329,1872,2781,4055,2686,2104,608,3318,2423,2957,2768,1108,3739,3512,3271,3985,2203,1771,3520,1418,2054,1681,1153,225,1627,2929,162,2050,2511,3687,1954,124,1859,2431,1684,3032,2894,585,4805,3969,2869,2704,2088,2032,2095,3656,2635,4362,2209,256,518,2042,2105,3777,3657,643,2298,1148,1779,190,989,3544,414,11,2135,2063,2979,1471,403,3678,126,770,1563,671,2499,3216,2877,600,1179,307,2805,4937,1268,1297,2694,252,4032,1448,1494,1331,1394,127,2256,222,1647,1035,1481,3056,1915,1048,873,3651,210,33,1608,2516,200,1520,415,102,0,3389,1287,817,91,3299,2940,836,1814,549,2197,1396,1669,2987,3582,2297,2848,4528,1070,687,20,1819,121,1552,1364,1461,1968,2617,3540,2824,2083,177,948,4938,2291,110,4549,2066,648,3359,1755,2110,2114,4642,4845,1693,3937,3308,1257,1869,2123,208,1804,3159,2992,2531,2549,3361,2418,1350,2347,2800,2568,1291,2036,2680,72,842,1990,212,1233,1154,1586,75,2027,3410,4900,1823,1337,2710,2676,728,2810,1522,3026,4995,157,755,1050,4022,710,785,1936,2194,2085,1406,2777,2400,150,1250,4049,1206,807,1910,534,529,3309,1721,1660,274,39,2827,661,2670,1578,925,3248,3815,1094,4278,4901,4252,41,1150,3747,2572,2227,4501,3658,4902,3813,3357,3617,2884,2258,887,538,4187,3199,1294,2439,3042,2329,2343,2497,1255,107,543,1527,521,3478,3568,194,5062,15,961,3870,1241,1192,2664,66,5215,3260,2111,1295,1127,2152,3805,4135,901,1164,1976,398,1278,530,1460,748,904,1054,1966,1426,53,2909,509,523,2279,1534,536,1019,239,1685,460,2353,673,1065,2401,3600,4298,2272,1272,2363,284,1753,3679,4064,1695,81,815,2677,2757,2731,1386,859,500,4221,2190,2566,757,1006,2519,2068,1166,1455,337,2654,3203,1863,1682,1914,3025,1252,1409,1366,847,714,2834,2038,3209,964,2970,1901,885,2553,1078,1756,3049,301,1572,3326,688,2130,1996,2429,1805,1648,2930,3421,2750,3652,3088,262,1158,1254,389,1641,1812,526,1719,923,2073,1073,1902,468,489,4625,1140,857,2375,3070,3319,2863,380,116,1328,2693,1161,2244,273,1212,1884,2769,3011,1775,1142,461,3066,1200,2147,2212,790,702,2695,4222,1601,1058,434,2338,5153,3640,67,2360,4099,2502,618,3472,1329,416,1132,830,2782,1807,2653,3211,3510,1662,192,2124,296,3979,1739,1611,3684,23,118,324,446,1239,1225,293,2520,3814,3795,2535,3116,17,1074,467,2692,2201,387,2922,45,1326,3055,1645,3659,2817,958,243,1903,2320,1339,2825,1784,3289,356,576,865,2315,2381,3377,3916,1088,3122,1713,1655,935,628,4689,1034,1327,441,800,720,894,1979,2183,1528,5289,2702,1071,4046,3572,2399,1571,3281,79,761,1103,327,134,758,1899,1371,1615,879,442,215,2605,2579,173,2048,2485,1057,2975,3317,1097,2253,3801,4263,1403,1650,2946,814,4968,3487,1548,2644,1567,1285,2,295,2636,97,946,3576,832,141,4257,3273,760,3821,3521,3156,2607,949,1024,1733,1516,1803,1920,2125,2283,2665,3180,1501,2064,3560,2171,1592,803,3518,1416,732,3897,4258,1363,1362,2458,119,1427,602,1525,2608,1605,1639,3175,694,3
120064,10,465,76,2e3,4846,4208,444,3781,1619,3353,2206,1273,3796,740,2483,320,1723,2377,3660,2619,1359,1137,1762,1724,2345,2842,1850,1862,912,821,1866,612,2625,1735,2573,3369,1093,844,89,937,930,1424,3564,2413,2972,1004,3046,3019,2011,711,3171,1452,4178,428,801,1943,432,445,2811,206,4136,1472,730,349,73,397,2802,2547,998,1637,1167,789,396,3217,154,1218,716,1120,1780,2819,4826,1931,3334,3762,2139,1215,2627,552,3664,3628,3232,1405,2383,3111,1356,2652,3577,3320,3101,1703,640,1045,1370,1246,4996,371,1575,2436,1621,2210,984,4033,1734,2638,16,4529,663,2755,3255,1451,3917,2257,1253,1955,2234,1263,2951,214,1229,617,485,359,1831,1969,473,2310,750,2058,165,80,2864,2419,361,4344,2416,2479,1134,796,3726,1266,2943,860,2715,938,390,2734,1313,1384,248,202,877,1064,2854,522,3907,279,1602,297,2357,395,3740,137,2075,944,4089,2584,1267,3802,62,1533,2285,178,176,780,2440,201,3707,590,478,1560,4354,2117,1075,30,74,4643,4004,1635,1441,2745,776,2596,238,1077,1692,1912,2844,605,499,1742,3947,241,3053,980,1749,936,2640,4511,2582,515,1543,2162,5322,2892,2993,890,2148,1924,665,1827,3581,1032,968,3163,339,1044,1896,270,583,1791,1720,4367,1194,3488,3669,43,2523,1657,163,2167,290,1209,1622,3378,550,634,2508,2510,695,2634,2384,2512,1476,1414,220,1469,2341,2138,2852,3183,2900,4939,2865,3502,1211,3680,854,3227,1299,2976,3172,186,2998,1459,443,1067,3251,1495,321,1932,3054,909,753,1410,1828,436,2441,1119,1587,3164,2186,1258,227,231,1425,1890,3200,3942,247,959,725,5254,2741,577,2158,2079,929,120,174,838,2813,591,1115,417,2024,40,3240,1536,1037,291,4151,2354,632,1298,2406,2500,3535,1825,1846,3451,205,1171,345,4238,18,1163,811,685,2208,1217,425,1312,1508,1175,4308,2552,1033,587,1381,3059,2984,3482,340,1316,4023,3972,792,3176,519,777,4690,918,933,4130,2981,3741,90,3360,2911,2200,5184,4550,609,3079,2030,272,3379,2736,363,3881,1130,1447,286,779,357,1169,3350,3137,1630,1220,2687,2391,747,1277,3688,2618,2682,2601,1156,3196,5290,4034,3102,1689,3596,3128,874,219,2783,798,508,1843,2461,269,1658,1776,1392,1913,2983,3287,2866,2159,2372,829,4076,46,4253,2873,1889,1894,915,1834,1631,2181,2318,298,664,2818,3555,2735,954,3228,3117,527,3511,2173,681,2712,3033,2247,2346,3467,1652,155,2164,3382,113,1994,450,899,494,994,1237,2958,1875,2336,1926,3727,545,1577,1550,633,3473,204,1305,3072,2410,1956,2471,707,2134,841,2195,2196,2663,3843,1026,4940,990,3252,4997,368,1092,437,3212,3258,1933,1829,675,2977,2893,412,943,3723,4644,3294,3283,2230,2373,5154,2389,2241,2661,2323,1404,2524,593,787,677,3008,1275,2059,438,2709,2609,2240,2269,2246,1446,36,1568,1373,3892,1574,2301,1456,3962,693,2276,5216,2035,1143,2720,1919,1797,1811,2763,4137,2597,1830,1699,1488,1198,2090,424,1694,312,3634,3390,4179,3335,2252,1214,561,1059,3243,2295,2561,975,5155,2321,2751,3772,472,1537,3282,3398,1047,2077,2348,2878,1323,3340,3076,690,2906,51,369,170,3541,1060,2187,2688,3670,2541,1083,1683,928,3918,459,109,4427,599,3744,4286,143,2101,2730,2490,82,1588,3036,2121,281,1860,477,4035,1238,2812,3020,2716,3312,1530,2188,2055,1317,843,636,1808,1173,3495,649,181,1002,147,3641,1159,2414,3750,2289,2795,813,3123,2610,1136,4368,5,3391,4541,2174,420,429,1728,754,1228,2115,2219,347,2223,2733,735,1518,3003,2355,3134,1764,3948,3329,1888,2424,1001,1234,1972,3321,3363,1672,1021,1450,1584,226,765,655,2526,3404,3244,2302,3665,731,594,2184,319,1576,621,658,2656,4299,2099,3864,1279,2071,2598,2739,795,3086,3699,3908,1707,2352,2402,1382,3136,2475,1465,4847,3496,3865,1085,3004,2591,1084,213,2287,1963,3565,2250,822,793,4574,3187,1772,1789,3050,595,1484,1959,2770,1080,2650,456,422,2996,940,3322,4328,4345,3092,2742,965,2784,739,4124,952,1358,2498,2949,2565,332,2698,2378,660,2260,2473,4194,3856,2919,535,1260,2651,1208,1428,1300,1949,1303,2942,433,2455,2450,1251,1946,614,1269,641,1306,1810,2737,3078,2912,564,2365,1419,1415,1497,4460,2367,2185,1379,3005,1307,3218,2175,1897,3063,682,1157,4040,4005,1712,1160,1941,1399,394,402,2952,1573,1151,2986,2404,862,299,2033,1489,3006,346,171,2886,3401,1726,2932,168,2533,47,2507,1030,3735,
1201145,3370,1395,1318,1579,3609,4560,2857,4116,1457,2529,1965,504,1036,2690,2988,2405,745,5871,849,2397,2056,3081,863,2359,3857,2096,99,1397,1769,2300,4428,1643,3455,1978,1757,3718,1440,35,4879,3742,1296,4228,2280,160,5063,1599,2013,166,520,3479,1646,3345,3012,490,1937,1545,1264,2182,2505,1096,1188,1369,1436,2421,1667,2792,2460,1270,2122,727,3167,2143,806,1706,1012,1800,3037,960,2218,1882,805,139,2456,1139,1521,851,1052,3093,3089,342,2039,744,5097,1468,1502,1585,2087,223,939,326,2140,2577,892,2481,1623,4077,982,3708,135,2131,87,2503,3114,2326,1106,876,1616,547,2997,2831,2093,3441,4530,4314,9,3256,4229,4148,659,1462,1986,1710,2046,2913,2231,4090,4880,5255,3392,3274,1368,3689,4645,1477,705,3384,3635,1068,1529,2941,1458,3782,1509,100,1656,2548,718,2339,408,1590,2780,3548,1838,4117,3719,1345,3530,717,3442,2778,3220,2898,1892,4590,3614,3371,2043,1998,1224,3483,891,635,584,2559,3355,733,1766,1729,1172,3789,1891,2307,781,2982,2271,1957,1580,5773,2633,2005,4195,3097,1535,3213,1189,1934,5693,3262,586,3118,1324,1598,517,1564,2217,1868,1893,4445,3728,2703,3139,1526,1787,1992,3882,2875,1549,1199,1056,2224,1904,2711,5098,4287,338,1993,3129,3489,2689,1809,2815,1997,957,1855,3898,2550,3275,3057,1105,1319,627,1505,1911,1883,3526,698,3629,3456,1833,1431,746,77,1261,2017,2296,1977,1885,125,1334,1600,525,1798,1109,2222,1470,1945,559,2236,1186,3443,2476,1929,1411,2411,3135,1777,3372,2621,1841,1613,3229,668,1430,1839,2643,2916,195,1989,2671,2358,1387,629,3205,2293,5256,4439,123,1310,888,1879,4300,3021,3605,1003,1162,3192,2910,2010,140,2395,2859,55,1082,2012,2901,662,419,2081,1438,680,2774,4654,3912,1620,1731,1625,5035,4065,2328,512,1344,802,5443,2163,2311,2537,524,3399,98,1155,2103,1918,2606,3925,2816,1393,2465,1504,3773,2177,3963,1478,4346,180,1113,4655,3461,2028,1698,833,2696,1235,1322,1594,4408,3623,3013,3225,2040,3022,541,2881,607,3632,2029,1665,1219,639,1385,1686,1099,2803,3231,1938,3188,2858,427,676,2772,1168,2025,454,3253,2486,3556,230,1950,580,791,1991,1280,1086,1974,2034,630,257,3338,2788,4903,1017,86,4790,966,2789,1995,1696,1131,259,3095,4188,1308,179,1463,5257,289,4107,1248,42,3413,1725,2288,896,1947,774,4474,4254,604,3430,4264,392,2514,2588,452,237,1408,3018,988,4531,1970,3034,3310,540,2370,1562,1288,2990,502,4765,1147,4,1853,2708,207,294,2814,4078,2902,2509,684,34,3105,3532,2551,644,709,2801,2344,573,1727,3573,3557,2021,1081,3100,4315,2100,3681,199,2263,1837,2385,146,3484,1195,2776,3949,997,1939,3973,1008,1091,1202,1962,1847,1149,4209,5444,1076,493,117,5400,2521,972,1490,2934,1796,4542,2374,1512,2933,2657,413,2888,1135,2762,2314,2156,1355,2369,766,2007,2527,2170,3124,2491,2593,2632,4757,2437,234,3125,3591,1898,1750,1376,1942,3468,3138,570,2127,2145,3276,4131,962,132,1445,4196,19,941,3624,3480,3366,1973,1374,4461,3431,2629,283,2415,2275,808,2887,3620,2112,2563,1353,3610,955,1089,3103,1053,96,88,4097,823,3808,1583,399,292,4091,3313,421,1128,642,4006,903,2539,1877,2082,596,29,4066,1790,722,2157,130,995,1569,769,1485,464,513,2213,288,1923,1101,2453,4316,133,486,2445,50,625,487,2207,57,423,481,2962,159,3729,1558,491,303,482,501,240,2837,112,3648,2392,1783,362,8,3433,3422,610,2793,3277,1390,1284,1654,21,3823,734,367,623,193,287,374,1009,1483,816,476,313,2255,2340,1262,2150,2899,1146,2581,782,2116,1659,2018,1880,255,3586,3314,1110,2867,2137,2564,986,2767,5185,2006,650,158,926,762,881,3157,2717,2362,3587,306,3690,3245,1542,3077,2427,1691,2478,2118,2985,3490,2438,539,2305,983,129,1754,355,4201,2386,827,2923,104,1773,2838,2771,411,2905,3919,376,767,122,1114,828,2422,1817,3506,266,3460,1007,1609,4998,945,2612,4429,2274,726,1247,1964,2914,2199,2070,4002,4108,657,3323,1422,579,455,2764,4737,1222,2895,1670,824,1223,1487,2525,558,861,3080,598,2659,2515,1967,752,2583,2376,2214,4180,977,704,2464,4999,2622,4109,1210,2961,819,1541,142,2284,44,418,457,1126,3730,4347,4626,1644,1876,3671,1864,302,1063,5694,624,723,1984,3745,1314,1676,2488,1610,1449,3558,3569,2166,2098,409,1011,2325,3704,2306,818,1732,1383,1824,1844,3757,999,2705,3497,1216,1423,2683,2426,2954,2501,2726,2229,1475,2554,5064,1971,1794,1666,2014,1343,783,724,191,2434,1354,2220,5065,1763,2752,2472,4152,131,175,2885,3434,92,1466,4920,2616,3871,3872,3866,128,1551,1632,669,1854,3682,4691,4125,1230,188,2973,3290,1302,1213,560,3266,917,763,3909,3249,1760,868,1958,764,1782,2097,145,2277,3774,4462,64,1491,3062,971,2132,3606,2442,221,1226,1617,218,323,1185,3207,3147,571,
120619,1473,1005,1744,2281,449,1887,2396,3685,275,375,3816,1743,3844,3731,845,1983,2350,4210,1377,773,967,3499,3052,3743,2725,4007,1697,1022,3943,1464,3264,2855,2722,1952,1029,2839,2467,84,4383,2215,820,1391,2015,2448,3672,377,1948,2168,797,2545,3536,2578,2645,94,2874,1678,405,1259,3071,771,546,1315,470,1243,3083,895,2468,981,969,2037,846,4181,653,1276,2928,14,2594,557,3007,2474,156,902,1338,1740,2574,537,2518,973,2282,2216,2433,1928,138,2903,1293,2631,1612,646,3457,839,2935,111,496,2191,2847,589,3186,149,3994,2060,4031,2641,4067,3145,1870,37,3597,2136,1025,2051,3009,3383,3549,1121,1016,3261,1301,251,2446,2599,2153,872,3246,637,334,3705,831,884,921,3065,3140,4092,2198,1944,246,2964,108,2045,1152,1921,2308,1031,203,3173,4170,1907,3890,810,1401,2003,1690,506,647,1242,2828,1761,1649,3208,2249,1589,3709,2931,5156,1708,498,666,2613,834,3817,1231,184,2851,1124,883,3197,2261,3710,1765,1553,2658,1178,2639,2351,93,1193,942,2538,2141,4402,235,1821,870,1591,2192,1709,1871,3341,1618,4126,2595,2334,603,651,69,701,268,2662,3411,2555,1380,1606,503,448,254,2371,2646,574,1187,2309,1770,322,2235,1292,1801,305,566,1133,229,2067,2057,706,167,483,2002,2672,3295,1820,3561,3067,316,378,2746,3452,1112,136,1981,507,1651,2917,1117,285,4591,182,2580,3522,1304,335,3303,1835,2504,1795,1792,2248,674,1018,2106,2449,1857,2292,2845,976,3047,1781,2600,2727,1389,1281,52,3152,153,265,3950,672,3485,3951,4463,430,1183,365,278,2169,27,1407,1336,2304,209,1340,1730,2202,1852,2403,2883,979,1737,1062,631,2829,2542,3876,2592,825,2086,2226,3048,3625,352,1417,3724,542,991,431,1351,3938,1861,2294,826,1361,2927,3142,3503,1738,463,2462,2723,582,1916,1595,2808,400,3845,3891,2868,3621,2254,58,2492,1123,910,2160,2614,1372,1603,1196,1072,3385,1700,3267,1980,696,480,2430,920,799,1570,2920,1951,2041,4047,2540,1321,4223,2469,3562,2228,1271,2602,401,2833,3351,2575,5157,907,2312,1256,410,263,3507,1582,996,678,1849,2316,1480,908,3545,2237,703,2322,667,1826,2849,1531,2604,2999,2407,3146,2151,2630,1786,3711,469,3542,497,3899,2409,858,837,4446,3393,1274,786,620,1845,2001,3311,484,308,3367,1204,1815,3691,2332,1532,2557,1842,2020,2724,1927,2333,4440,567,22,1673,2728,4475,1987,1858,1144,1597,101,1832,3601,12,974,3783,4391,951,1412,1,3720,453,4608,4041,528,1041,1027,3230,2628,1129,875,1051,3291,1203,2262,1069,2860,2799,2149,2615,3278,144,1758,3040,31,475,1680,366,2685,3184,311,1642,4008,2466,5036,1593,1493,2809,216,1420,1668,233,304,2128,3284,232,1429,1768,1040,2008,3407,2740,2967,2543,242,2133,778,1565,2022,2620,505,2189,2756,1098,2273,372,1614,708,553,2846,2094,2278,169,3626,2835,4161,228,2674,3165,809,1454,1309,466,1705,1095,900,3423,880,2667,3751,5258,2317,3109,2571,4317,2766,1503,1342,866,4447,1118,63,2076,314,1881,1348,1061,172,978,3515,1747,532,511,3970,6,601,905,2699,3300,1751,276,1467,3725,2668,65,4239,2544,2779,2556,1604,578,2451,1802,992,2331,2624,1320,3446,713,1513,1013,103,2786,2447,1661,886,1702,916,654,3574,2031,1556,751,2178,2821,2179,1498,1538,2176,271,914,2251,2080,1325,638,1953,2937,3877,2432,2754,95,3265,1716,260,1227,4083,775,106,1357,3254,426,1607,555,2480,772,1985,244,2546,474,495,1046,2611,1851,2061,71,2089,1675,2590,742,3758,2843,3222,1433,267,2180,2576,2826,2233,2092,3913,2435,956,1745,3075,856,2113,1116,451,3,1988,2896,1398,993,2463,1878,2049,1341,2718,2721,2870,2108,712,2904,4363,2753,2324,277,2872,2349,2649,384,987,435,691,3e3,922,164,3939,652,1500,1184,4153,2482,3373,2165,4848,2335,3775,3508,3154,2806,2830,1554,2102,1664,2530,1434,2408,893,1547,2623,3447,2832,2242,2532,3169,2856,3223,2078,49,3770,3469,462,318,656,2259,3250,3069,679,1629,2758,344,1138,1104,3120,1836,1283,3115,2154,1437,4448,934,759,1999,794,2862,1038,533,2560,1722,2342,855,2626,1197,1663,4476,3127,85,4240,2528,25,1111,1181,3673,407,3470,4561,2679,2713,768,1925,2841,3986,1544,1165,932,373,1240,2146,1930,2673,721,4766,354,4333,391,2963,187,61,3364,1442,1102,330,1940,1767,341,3809,4118,393,2496,2062,2211,105,331,300,439,913,1332,626,379,3304,1557,328,689,3952,309,1555,931,317,2517,3027,325,569,686,2107,3084,60,1042,1333,2794,264,3177,4014,1628,258,3712,7,4464,1176,1043,1778,683,114,1975,78,1492,383,1886,510,386,645,5291,2891,2069,3305,4138,3867,2939,2603,2493,1935,1066,1848,3588,1015,1282,1289,4609,697,1453,3044,2666,3611,1856,2412,54,719,1330,568,3778,2459,1748,788,492,551,1191,1e3,488,3394,3763,282,1799,348,2016,1523,3155,2390,1049,382,2019,1788,1170,729,2968,3523,897,3926,2785,2938,3292,350,2319,3238,1718,1717,2655,3453,3143,4465,161,2889,2980,2009,1421,56,1908,1640,2387,2232,1917,1874,2477,4921,148,83,3438,592,4245,2882,1822,1055,741,115,1496,1624,381,1638,4592,1020,516,3214,458,947,4575,1432,211,1514,2926,1865,2142,189,852,1221,1400,1486,882,2299,4036,351,28,1122,700,6479,6480,6481,6482,6483,5508,6484,3900,3414,3974,4441,4024,3537,4037,5628,5099,3633,6485,3148,6486,3636,5509,3257,5510,5973,5445,5872,4941,4403,3174,4627,5873,6276,2286,4230,5446,5874,5122,6102,6103,4162,5447,5123,5323,4849,6277,3980,3851,5066,4246,5774,5067,6278,3001,2807,5695,3346,5775,5974,5158,5448,6487,5975,5976,5
120776,3598,6279,5696,4806,4211,4154,6280,6488,6489,6490,6281,4212,5037,3374,4171,6491,4562,4807,4722,4827,5977,6104,4532,4079,5159,5324,5160,4404,3858,5359,5875,3975,4288,4610,3486,4512,5325,3893,5360,6282,6283,5560,2522,4231,5978,5186,5449,2569,3878,6284,5401,3578,4415,6285,4656,5124,5979,2506,4247,4449,3219,3417,4334,4969,4329,6492,4576,4828,4172,4416,4829,5402,6286,3927,3852,5361,4369,4830,4477,4867,5876,4173,6493,6105,4657,6287,6106,5877,5450,6494,4155,4868,5451,3700,5629,4384,6288,6289,5878,3189,4881,6107,6290,6495,4513,6496,4692,4515,4723,5100,3356,6497,6291,3810,4080,5561,3570,4430,5980,6498,4355,5697,6499,4724,6108,6109,3764,4050,5038,5879,4093,3226,6292,5068,5217,4693,3342,5630,3504,4831,4377,4466,4309,5698,4431,5777,6293,5778,4272,3706,6110,5326,3752,4676,5327,4273,5403,4767,5631,6500,5699,5880,3475,5039,6294,5562,5125,4348,4301,4482,4068,5126,4593,5700,3380,3462,5981,5563,3824,5404,4970,5511,3825,4738,6295,6501,5452,4516,6111,5881,5564,6502,6296,5982,6503,4213,4163,3454,6504,6112,4009,4450,6113,4658,6297,6114,3035,6505,6115,3995,4904,4739,4563,4942,4110,5040,3661,3928,5362,3674,6506,5292,3612,4791,5565,4149,5983,5328,5259,5021,4725,4577,4564,4517,4364,6298,5405,4578,5260,4594,4156,4157,5453,3592,3491,6507,5127,5512,4709,4922,5984,5701,4726,4289,6508,4015,6116,5128,4628,3424,4241,5779,6299,4905,6509,6510,5454,5702,5780,6300,4365,4923,3971,6511,5161,3270,3158,5985,4100,867,5129,5703,6117,5363,3695,3301,5513,4467,6118,6512,5455,4232,4242,4629,6513,3959,4478,6514,5514,5329,5986,4850,5162,5566,3846,4694,6119,5456,4869,5781,3779,6301,5704,5987,5515,4710,6302,5882,6120,4392,5364,5705,6515,6121,6516,6517,3736,5988,5457,5989,4695,2457,5883,4551,5782,6303,6304,6305,5130,4971,6122,5163,6123,4870,3263,5365,3150,4871,6518,6306,5783,5069,5706,3513,3498,4409,5330,5632,5366,5458,5459,3991,5990,4502,3324,5991,5784,3696,4518,5633,4119,6519,4630,5634,4417,5707,4832,5992,3418,6124,5993,5567,4768,5218,6520,4595,3458,5367,6125,5635,6126,4202,6521,4740,4924,6307,3981,4069,4385,6308,3883,2675,4051,3834,4302,4483,5568,5994,4972,4101,5368,6309,5164,5884,3922,6127,6522,6523,5261,5460,5187,4164,5219,3538,5516,4111,3524,5995,6310,6311,5369,3181,3386,2484,5188,3464,5569,3627,5708,6524,5406,5165,4677,4492,6312,4872,4851,5885,4468,5996,6313,5709,5710,6128,2470,5886,6314,5293,4882,5785,3325,5461,5101,6129,5711,5786,6525,4906,6526,6527,4418,5887,5712,4808,2907,3701,5713,5888,6528,3765,5636,5331,6529,6530,3593,5889,3637,4943,3692,5714,5787,4925,6315,6130,5462,4405,6131,6132,6316,5262,6531,6532,5715,3859,5716,5070,4696,5102,3929,5788,3987,4792,5997,6533,6534,3920,4809,5e3,5998,6535,2974,5370,6317,5189,5263,5717,3826,6536,3953,5001,4883,3190,5463,5890,4973,5999,4741,6133,6134,3607,5570,6e3,4711,3362,3630,4552,5041,6318,6001,2950,2953,5637,4646,5371,4944,6002,2044,4120,3429,6319,6537,5103,4833,6538,6539,4884,4647,3884,6003,6004,4758,3835,5220,5789,4565,5407,6540,6135,5294,4697,4852,6320,6321,3206,4907,6541,6322,4945,6542,6136,6543,6323,6005,4631,3519,6544,5891,6545,5464,3784,5221,6546,5571,4659,6547,6324,6137,5190,6548,3853,6549,4016,4834,3954,6138,5332,3827,4017,3210,3546,4469,5408,5718,3505,4648,5790,5131,5638,5791,5465,4727,4318,6325,6326,5792,4553,4010,4698,3439,4974,3638,4335,3085,6006,5104,5042,5166,5892,5572,6327,4356,4519,5222,5573,5333,5793,5043,6550,5639,5071,4503,6328,6139,6551,6140,3914,3901,5372,6007,5640,4728,4793,3976,3836,4885,6552,4127,6553,4451,4102,5002,6554,3686,5105,6555,5191,5072,5295,4611,5794,5296,6556,5893,5264,5894,4975,5466,5265,4699,4976,4370,4056,3492,5044,4886,6557,5795,4432,4769,4357,5467,3940,4660,4290,6141,4484,4770,4661,3992,6329,4025,4662,5022,4632,4835,4070,5297,4663,4596,5574,5132,5409,5895,6142,4504,5192,4664,5796,5896,3885,5575,5797,5023,4810,5798,3732,5223,4712,5298,4084,5334,5468,6143,4052,4053,4336,4977,4794,6558,5335,4908,5576,5224,4233,5024,4128,5469,5225,4873,6008,5045,4729,4742,4633,3
120675,4597,6559,5897,5133,5577,5003,5641,5719,6330,6560,3017,2382,3854,4406,4811,6331,4393,3964,4946,6561,2420,3722,6562,4926,4378,3247,1736,4442,6332,5134,6333,5226,3996,2918,5470,4319,4003,4598,4743,4744,4485,3785,3902,5167,5004,5373,4394,5898,6144,4874,1793,3997,6334,4085,4214,5106,5642,4909,5799,6009,4419,4189,3330,5899,4165,4420,5299,5720,5227,3347,6145,4081,6335,2876,3930,6146,3293,3786,3910,3998,5900,5300,5578,2840,6563,5901,5579,6147,3531,5374,6564,6565,5580,4759,5375,6566,6148,3559,5643,6336,6010,5517,6337,6338,5721,5902,3873,6011,6339,6567,5518,3868,3649,5722,6568,4771,4947,6569,6149,4812,6570,2853,5471,6340,6341,5644,4795,6342,6012,5723,6343,5724,6013,4349,6344,3160,6150,5193,4599,4514,4493,5168,4320,6345,4927,3666,4745,5169,5903,5005,4928,6346,5725,6014,4730,4203,5046,4948,3395,5170,6015,4150,6016,5726,5519,6347,5047,3550,6151,6348,4197,4310,5904,6571,5581,2965,6152,4978,3960,4291,5135,6572,5301,5727,4129,4026,5905,4853,5728,5472,6153,6349,4533,2700,4505,5336,4678,3583,5073,2994,4486,3043,4554,5520,6350,6017,5800,4487,6351,3931,4103,5376,6352,4011,4321,4311,4190,5136,6018,3988,3233,4350,5906,5645,4198,6573,5107,3432,4191,3435,5582,6574,4139,5410,6353,5411,3944,5583,5074,3198,6575,6354,4358,6576,5302,4600,5584,5194,5412,6577,6578,5585,5413,5303,4248,5414,3879,4433,6579,4479,5025,4854,5415,6355,4760,4772,3683,2978,4700,3797,4452,3965,3932,3721,4910,5801,6580,5195,3551,5907,3221,3471,3029,6019,3999,5908,5909,5266,5267,3444,3023,3828,3170,4796,5646,4979,4259,6356,5647,5337,3694,6357,5648,5338,4520,4322,5802,3031,3759,4071,6020,5586,4836,4386,5048,6581,3571,4679,4174,4949,6154,4813,3787,3402,3822,3958,3215,3552,5268,4387,3933,4950,4359,6021,5910,5075,3579,6358,4234,4566,5521,6359,3613,5049,6022,5911,3375,3702,3178,4911,5339,4521,6582,6583,4395,3087,3811,5377,6023,6360,6155,4027,5171,5649,4421,4249,2804,6584,2270,6585,4e3,4235,3045,6156,5137,5729,4140,4312,3886,6361,4330,6157,4215,6158,3500,3676,4929,4331,3713,4930,5912,4265,3776,3368,5587,4470,4855,3038,4980,3631,6159,6160,4132,4680,6161,6362,3923,4379,5588,4255,6586,4121,6587,6363,4649,6364,3288,4773,4774,6162,6024,6365,3543,6588,4274,3107,3737,5050,5803,4797,4522,5589,5051,5730,3714,4887,5378,4001,4523,6163,5026,5522,4701,4175,2791,3760,6589,5473,4224,4133,3847,4814,4815,4775,3259,5416,6590,2738,6164,6025,5304,3733,5076,5650,4816,5590,6591,6165,6592,3934,5269,6593,3396,5340,6594,5804,3445,3602,4042,4488,5731,5732,3525,5591,4601,5196,6166,6026,5172,3642,4612,3202,4506,4798,6366,3818,5108,4303,5138,5139,4776,3332,4304,2915,3415,4434,5077,5109,4856,2879,5305,4817,6595,5913,3104,3144,3903,4634,5341,3133,5110,5651,5805,6167,4057,5592,2945,4371,5593,6596,3474,4182,6367,6597,6168,4507,4279,6598,2822,6599,4777,4713,5594,3829,6169,3887,5417,6170,3653,5474,6368,4216,2971,5228,3790,4579,6369,5733,6600,6601,4951,4746,4555,6602,5418,5475,6027,3400,4665,5806,6171,4799,6028,5052,6172,3343,4800,4747,5006,6370,4556,4217,5476,4396,5229,5379,5477,3839,5914,5652,5807,4714,3068,4635,5808,6173,5342,4192,5078,5419,5523,5734,6174,4557,6175,4602,6371,6176,6603,5809,6372,5735,4260,3869,5111,5230,6029,5112,6177,3126,4681,5524,5915,2706,3563,4748,3130,6178,4018,5525,6604,6605,5478,4012,4837,6606,4534,4193,5810,4857,3615,5479,6030,4082,3697,3539,4086,5270,3662,4508,4931,5916,4912,5811,5027,3888,6607,4397,3527,3302,3798,2775,2921,2637,3966,4122,4388,4028,4054,1633,4858,5079,3024,5007,3982,3412,5736,6608,3426,3236,5595,3030,6179,3427,3336,3279,3110,6373,3874,3039,5080,5917,5140,4489,3119,6374,5812,3405,4494,6031,4666,4141,6180,4166,6032,5813,4981,6609,5081,4422,4982,4112,3915,5653,3296,3983,6375,4266,4410,5654,6610,6181,3436,5082,6611,5380,6033,3819,5596,4535,5231,5306,5113,6612,4952,5918,4275,3113,6613,6376,6182,6183,5814,3073,4731,4838,5008,3831,6614,4888,3090,3848,4280,5526,5232,3014,5655,5009,5737,5420,5527,6615,5815,5343,5173,5381,4818,6616,3151,4953,6617,5738,2796,3204,4360,2989,4281,5739,5174,5421,5197,3132,5141,3849,5142,5528,5083,3799,3904,4839,5480,2880,4495,3448,6377,6184,5271,5919,3771,3193,6034,6035,5920,5010,6036,5597,6037,6378,6038,3106,5422,6618,5423,5424,4142,6619,4889,5084,4890,4313,5740,6620,3437,5175,5307,5816,4199,5198,5529,5817,5199,5656,4913,5028,5344,3850,6185,2955,5272,5011,5818,4567,4580,5029,5921,3616,5233,6621,6622,6186,4176,6039,6379,6380,3352,5200,5273,2908,5598,5234,3837,5308,6623,6624,5819,4496,4323,5309,5201,6625,6626,4983,3194,3838,4167,5530,5922,5274,6381,6382,3860,3861,5599,3333,4292,4509,6383,3553,5481,5820,5531,4778,6187,3955,3956,4324,4389,4218,3945,4325,3397,2681,5923,4779,5085,4019,5482,4891,5382,5383,6040,4682,3425,5275,4094,6627,5310,3015,5483,5657,4398,5924,3168,4819,6628,5925,6629,5532,4932,4613,6041,6630,4636,6384,4780,4204,5658,4423,5821,3989,4683,5822,6385,4954,6631,5345,6188,5425,5012,5384,3894,6386,4490,4104,6632,5741,5053,6633,5823,5926,5659,5660,5927,6634,5235,5742,5824,4840,4933,4820,6387,4859,5928,4955,6388,4143,3584,5825,5346,5013,6635,5661,6389,5014,5484,5743,4337,5176,5662,6390,2836,6391,3268,6392,6636,6042,5236,6637,4158,6638,5744,5663,4471,5347,3663,4123,5143,4293,3895,6639,664
1200,5311,5929,5826,3800,6189,6393,6190,5664,5348,3554,3594,4749,4603,6641,5385,4801,6043,5827,4183,6642,5312,5426,4761,6394,5665,6191,4715,2669,6643,6644,5533,3185,5427,5086,5930,5931,5386,6192,6044,6645,4781,4013,5745,4282,4435,5534,4390,4267,6045,5746,4984,6046,2743,6193,3501,4087,5485,5932,5428,4184,4095,5747,4061,5054,3058,3862,5933,5600,6646,5144,3618,6395,3131,5055,5313,6396,4650,4956,3855,6194,3896,5202,4985,4029,4225,6195,6647,5828,5486,5829,3589,3002,6648,6397,4782,5276,6649,6196,6650,4105,3803,4043,5237,5830,6398,4096,3643,6399,3528,6651,4453,3315,4637,6652,3984,6197,5535,3182,3339,6653,3096,2660,6400,6654,3449,5934,4250,4236,6047,6401,5831,6655,5487,3753,4062,5832,6198,6199,6656,3766,6657,3403,4667,6048,6658,4338,2897,5833,3880,2797,3780,4326,6659,5748,5015,6660,5387,4351,5601,4411,6661,3654,4424,5935,4339,4072,5277,4568,5536,6402,6662,5238,6663,5349,5203,6200,5204,6201,5145,4536,5016,5056,4762,5834,4399,4957,6202,6403,5666,5749,6664,4340,6665,5936,5177,5667,6666,6667,3459,4668,6404,6668,6669,4543,6203,6670,4276,6405,4480,5537,6671,4614,5205,5668,6672,3348,2193,4763,6406,6204,5937,5602,4177,5669,3419,6673,4020,6205,4443,4569,5388,3715,3639,6407,6049,4058,6206,6674,5938,4544,6050,4185,4294,4841,4651,4615,5488,6207,6408,6051,5178,3241,3509,5835,6208,4958,5836,4341,5489,5278,6209,2823,5538,5350,5206,5429,6675,4638,4875,4073,3516,4684,4914,4860,5939,5603,5389,6052,5057,3237,5490,3791,6676,6409,6677,4821,4915,4106,5351,5058,4243,5539,4244,5604,4842,4916,5239,3028,3716,5837,5114,5605,5390,5940,5430,6210,4332,6678,5540,4732,3667,3840,6053,4305,3408,5670,5541,6410,2744,5240,5750,6679,3234,5606,6680,5607,5671,3608,4283,4159,4400,5352,4783,6681,6411,6682,4491,4802,6211,6412,5941,6413,6414,5542,5751,6683,4669,3734,5942,6684,6415,5943,5059,3328,4670,4144,4268,6685,6686,6687,6688,4372,3603,6689,5944,5491,4373,3440,6416,5543,4784,4822,5608,3792,4616,5838,5672,3514,5391,6417,4892,6690,4639,6691,6054,5673,5839,6055,6692,6056,5392,6212,4038,5544,5674,4497,6057,6693,5840,4284,5675,4021,4545,5609,6418,4454,6419,6213,4113,4472,5314,3738,5087,5279,4074,5610,4959,4063,3179,4750,6058,6420,6214,3476,4498,4716,5431,4960,4685,6215,5241,6694,6421,6216,6695,5841,5945,6422,3748,5946,5179,3905,5752,5545,5947,4374,6217,4455,6423,4412,6218,4803,5353,6696,3832,5280,6219,4327,4702,6220,6221,6059,4652,5432,6424,3749,4751,6425,5753,4986,5393,4917,5948,5030,5754,4861,4733,6426,4703,6697,6222,4671,5949,4546,4961,5180,6223,5031,3316,5281,6698,4862,4295,4934,5207,3644,6427,5842,5950,6428,6429,4570,5843,5282,6430,6224,5088,3239,6060,6699,5844,5755,6061,6431,2701,5546,6432,5115,5676,4039,3993,3327,4752,4425,5315,6433,3941,6434,5677,4617,4604,3074,4581,6225,5433,6435,6226,6062,4823,5756,5116,6227,3717,5678,4717,5845,6436,5679,5846,6063,5847,6064,3977,3354,6437,3863,5117,6228,5547,5394,4499,4524,6229,4605,6230,4306,4500,6700,5951,6065,3693,5952,5089,4366,4918,6701,6231,5548,6232,6702,6438,4704,5434,6703,6704,5953,4168,6705,5680,3420,6706,5242,4407,6066,3812,5757,5090,5954,4672,4525,3481,5681,4618,5395,5354,5316,5955,6439,4962,6707,4526,6440,3465,4673,6067,6441,5682,6708,5435,5492,5758,5683,4619,4571,4674,4804,4893,4686,5493,4753,6233,6068,4269,6442,6234,5032,4705,5146,5243,5208,5848,6235,6443,4963,5033,4640,4226,6236,5849,3387,6444,6445,4436,4437,5850,4843,5494,4785,4894,6709,4361,6710,5091,5956,3331,6237,4987,5549,6069,6711,4342,3517,4473,5317,6070,6712,6071,4706,6446,5017,5355,6713,6714,4988,5436,6447,4734,5759,6715,4735,4547,4456,4754,6448,5851,6449,6450,3547,5852,5318,6451,6452,5092,4205,6716,6238,4620,4219,5611,6239,6072,4481,5760,5957,5958,4059,6240,6453,4227,4537,6241,5761,4030,4186,5244,5209,3761,4457,4876,3337,5495,5181,6242,5959,5319,5612,5684,5853,3493,5854,6073,4169,5613,5147,4895,6074,5210,6717,5182,6718,3830,6243,2798,3841,6075,6244,5855,5614,3604,4606,5496,5685,5118,5356,6719,6454,5960,5357,5961,6720,4145,3935,4621,5119,5962,4261,6721,6455,4786,5963,4375,4582,6245,6246,6247,6076,5437,4877,5856,3376,4380,6248,4160,6722,5148,6456,5211,6457,6723,4718,6458,6724,6249,5358,4044,3297,6459,6250,5857,5615,5497,5245,6460,5498,6725,6251,6252,5550,3793,5499,2959,5396,6461,6462,4572,5093,5500,5964,3806,4146,6463,4426,5762,5858,6077,6253,4755,3967,4220,5965,6254,4989,5501,6464,4352,6726,6078,4764,2290,5246,3906,5438,5283,3767,4964,2861,5763,5094,6255,6256,4622,5616,5859,5860,4707,6727,4285,4708,4824,5617,6257,5551,4787,5212,4965,4935,4687,6465,6728,6466,5686,6079,3494,4413,2995,5247,5966,5618,6729,5967,5764,5765,5687,5502,6730,6731,6080,5397,6467,4990,6258,6732,4538,5060,5619,6733,4719,5688,5439,5018,5149,5284,5503,6734,6081,4607,6259,5120,3645,5861,4583,6260,4584,4675,5620,4098,5440,6261,4863,2379,3306,4585,5552,5689,4586,5285,6735,4864,6736,5286,6082,6737,4623,3010,4788,4381,4558,5621,4587,4896,3698,3161,5248,4353,4045,6262,3754,5183,4588,6738,6263,6739,6740,5622,3936,6741,6468,6742,6264,5095,6469,4991,5968,6743,4992,6744,6083,4897,6745,4256,5766,4307,3108,3968,4444,5287,3889,4343,6084,4510,6085,4559,6086,4898,5969,6746,5623,5061,4919,5249,5250,5504,5441,6265,5320,4878,3242,5862,5251,3428,6087,6747,4237,5624,5442,6266,5553,4539,6748,2585,3533,5398,4262,6088,5150,4736,4438,6089,6267,5505,4966,6749,6268,6750,6269,5288,5554,3650,6090,6091,4624,6092,5690,6751,5863,4270,5691,4277,5555,5864,6752,5692,4720,4865,6470,5151,4688,4825,6753,3094,6754,6471,3235,4653,6755,5213,5399,6756,3201,4589,5865,4967,6472,5866,6473,5019,3016,6757,5321,4756,3957,4573,6093,4993,5767,4721,6474,6758,5625,6759,4458,6475,6270,6760,5556,4994,5214,5252,6271,3875,5768,6094,5034,5506,4376,5769,6761,2120,6476,5253,5770,6762,5771,5970,3990,5971,5557,5558,5772,6477,6095,2787,4641,5972,5121,6096,6097,6272,6763,3703,5867,5507,6273,4206,6274,4789,6098,6764,3619,3646,3833,3804,2394,3788,4936,3978,4866,4899,6099,6100,5559,6478,6765,3599,5868,6101,5869,5870,6275,6766,4527,6767]),zd}var Nd={},jC;function T5e(){return jC||(jC=1,Nd.BIG5_TYPICAL_DISTRIBUTION_RATIO=.75,Nd.BIG5_TABLE_SIZE=5376,Nd.Big5CharToFreqOrder=[1,1801,1506,255,1431,198,9,82,6,5008,177,202,3681,1256,2821,110,3814,33,3274,261,76,44,2114,16,2946,2187,1176,659,3971,26,3451,2653,1198,3972,3350,4202,410,2215,302,590,361,1964,8,204,58,4510,5009,1932,63,5010,5011,317,1614,75,222,159,4203,2417,1480,5012,3555,3091,224,2822,3682,3,10,3973,1471,29,2787,1135,28
12066,1940,873,130,3275,1123,312,5013,4511,2052,507,252,682,5014,142,1915,124,206,2947,34,3556,3204,64,604,5015,2501,1977,1978,155,1991,645,641,1606,5016,3452,337,72,406,5017,80,630,238,3205,1509,263,939,1092,2654,756,1440,1094,3453,449,69,2987,591,179,2096,471,115,2035,1844,60,50,2988,134,806,1869,734,2036,3454,180,995,1607,156,537,2907,688,5018,319,1305,779,2145,514,2379,298,4512,359,2502,90,2716,1338,663,11,906,1099,2553,20,2441,182,532,1716,5019,732,1376,4204,1311,1420,3206,25,2317,1056,113,399,382,1950,242,3455,2474,529,3276,475,1447,3683,5020,117,21,656,810,1297,2300,2334,3557,5021,126,4205,706,456,150,613,4513,71,1118,2037,4206,145,3092,85,835,486,2115,1246,1426,428,727,1285,1015,800,106,623,303,1281,5022,2128,2359,347,3815,221,3558,3135,5023,1956,1153,4207,83,296,1199,3093,192,624,93,5024,822,1898,2823,3136,795,2065,991,1554,1542,1592,27,43,2867,859,139,1456,860,4514,437,712,3974,164,2397,3137,695,211,3037,2097,195,3975,1608,3559,3560,3684,3976,234,811,2989,2098,3977,2233,1441,3561,1615,2380,668,2077,1638,305,228,1664,4515,467,415,5025,262,2099,1593,239,108,300,200,1033,512,1247,2078,5026,5027,2176,3207,3685,2682,593,845,1062,3277,88,1723,2038,3978,1951,212,266,152,149,468,1899,4208,4516,77,187,5028,3038,37,5,2990,5029,3979,5030,5031,39,2524,4517,2908,3208,2079,55,148,74,4518,545,483,1474,1029,1665,217,1870,1531,3138,1104,2655,4209,24,172,3562,900,3980,3563,3564,4519,32,1408,2824,1312,329,487,2360,2251,2717,784,2683,4,3039,3351,1427,1789,188,109,499,5032,3686,1717,1790,888,1217,3040,4520,5033,3565,5034,3352,1520,3687,3981,196,1034,775,5035,5036,929,1816,249,439,38,5037,1063,5038,794,3982,1435,2301,46,178,3278,2066,5039,2381,5040,214,1709,4521,804,35,707,324,3688,1601,2554,140,459,4210,5041,5042,1365,839,272,978,2262,2580,3456,2129,1363,3689,1423,697,100,3094,48,70,1231,495,3139,2196,5043,1294,5044,2080,462,586,1042,3279,853,256,988,185,2382,3457,1698,434,1084,5045,3458,314,2625,2788,4522,2335,2336,569,2285,637,1817,2525,757,1162,1879,1616,3459,287,1577,2116,768,4523,1671,2868,3566,2526,1321,3816,909,2418,5046,4211,933,3817,4212,2053,2361,1222,4524,765,2419,1322,786,4525,5047,1920,1462,1677,2909,1699,5048,4526,1424,2442,3140,3690,2600,3353,1775,1941,3460,3983,4213,309,1369,1130,2825,364,2234,1653,1299,3984,3567,3985,3986,2656,525,1085,3041,902,2001,1475,964,4527,421,1845,1415,1057,2286,940,1364,3141,376,4528,4529,1381,7,2527,983,2383,336,1710,2684,1846,321,3461,559,1131,3042,2752,1809,1132,1313,265,1481,1858,5049,352,1203,2826,3280,167,1089,420,2827,776,792,1724,3568,4214,2443,3281,5050,4215,5051,446,229,333,2753,901,3818,1200,1557,4530,2657,1921,395,2754,2685,3819,4216,1836,125,916,3209,2626,4531,5052,5053,3820,5054,5055,5056,4532,3142,3691,1133,2555,1757,3462,1510,2318,1409,3569,5057,2146,438,2601,2910,2384,3354,1068,958,3043,461,311,2869,2686,4217,1916,3210,4218,1979,383,750,2755,2627,4219,274,539,385,1278,1442,5058,1154,1965,384,561,210,98,1295,2556,3570,5059,1711,2420,1482,3463,3987,2911,1257,129,5060,3821,642,523,2789,2790,2658,5061,141,2235,1333,68,176,441,876,907,4220,603,2602,710,171,3464,404,549,18,3143,2398,1410,3692,1666,5062,3571,4533,2912,4534,5063,2991,368,5064,146,366,99,871,3693,1543,748,807,1586,1185,22,2263,379,3822,3211,5065,3212,505,1942,2628,1992,1382,2319,5066,380,2362,218,702,1818,1248,3465,3044,3572,3355,3282,5067,2992,3694,930,3283,3823,5068,59,5069,585,601,4221,497,3466,1112,1314,4535,1802,5070,1223,1472,2177,5071,749,1837,690,1900,3824,1773,3988,1476,429,1043,1791,2236,2117,917,4222,447,1086,1629,5072,556,5073,5074,2021,1654,844,1090,105,550,966,1758,2828,1008,1783,686,1095,5075,2287,793,1602,5076,3573,2603,4536,4223,2948,2302,4537,3825,980,2503,544,353,527,4538,908,2687,2913,5077,381,2629,1943,1348,5078,1341,1252,560,3095,5079,3467,2870,5080,2054,973,886,2081,143,4539,5081,5082,157,3989,496,4224,57,840,540,2039,4540,4541,3468,2118,1445,970,2264,1748,1966,2082,4225,3144,1234,1776,3284,2829,3695,773,1206,2130,1066,2040,1326,3990,1738,1725,4226,279,3145,51,1544,2604,423,1578,2131,2067,173,4542,1880,5083,5084,1583,264,610,3696,4543,2444,280,154,5085,5086,5087,1739,338,1282,3096,693,2871,1411,1074,3826,2445,5088,4544,5089,5090,1240,952,2399,5091,2914,1538,2688,685,1483,4227,2475,1436,953,4228,2055,4545,671,2400,79,4229,2446,3285,608,567,2689,3469,4230,4231,1691,393,1261,1792,2401,5092,4546,5093,5094,5095,5096,1383,1672,3827,3213,1464,522,1119,661,1150,216,675,4547,3991,1432,3574,609,4548,2690,2402,5097,5098,5099,4232,3
120045,0,5100,2476,315,231,2447,301,3356,4549,2385,5101,233,4233,3697,1819,4550,4551,5102,96,1777,1315,2083,5103,257,5104,1810,3698,2718,1139,1820,4234,2022,1124,2164,2791,1778,2659,5105,3097,363,1655,3214,5106,2993,5107,5108,5109,3992,1567,3993,718,103,3215,849,1443,341,3357,2949,1484,5110,1712,127,67,339,4235,2403,679,1412,821,5111,5112,834,738,351,2994,2147,846,235,1497,1881,418,1993,3828,2719,186,1100,2148,2756,3575,1545,1355,2950,2872,1377,583,3994,4236,2581,2995,5113,1298,3699,1078,2557,3700,2363,78,3829,3830,267,1289,2100,2002,1594,4237,348,369,1274,2197,2178,1838,4552,1821,2830,3701,2757,2288,2003,4553,2951,2758,144,3358,882,4554,3995,2759,3470,4555,2915,5114,4238,1726,320,5115,3996,3046,788,2996,5116,2831,1774,1327,2873,3997,2832,5117,1306,4556,2004,1700,3831,3576,2364,2660,787,2023,506,824,3702,534,323,4557,1044,3359,2024,1901,946,3471,5118,1779,1500,1678,5119,1882,4558,165,243,4559,3703,2528,123,683,4239,764,4560,36,3998,1793,589,2916,816,626,1667,3047,2237,1639,1555,1622,3832,3999,5120,4e3,2874,1370,1228,1933,891,2084,2917,304,4240,5121,292,2997,2720,3577,691,2101,4241,1115,4561,118,662,5122,611,1156,854,2386,1316,2875,2,386,515,2918,5123,5124,3286,868,2238,1486,855,2661,785,2216,3048,5125,1040,3216,3578,5126,3146,448,5127,1525,5128,2165,4562,5129,3833,5130,4242,2833,3579,3147,503,818,4001,3148,1568,814,676,1444,306,1749,5131,3834,1416,1030,197,1428,805,2834,1501,4563,5132,5133,5134,1994,5135,4564,5136,5137,2198,13,2792,3704,2998,3149,1229,1917,5138,3835,2132,5139,4243,4565,2404,3580,5140,2217,1511,1727,1120,5141,5142,646,3836,2448,307,5143,5144,1595,3217,5145,5146,5147,3705,1113,1356,4002,1465,2529,2530,5148,519,5149,128,2133,92,2289,1980,5150,4003,1512,342,3150,2199,5151,2793,2218,1981,3360,4244,290,1656,1317,789,827,2365,5152,3837,4566,562,581,4004,5153,401,4567,2252,94,4568,5154,1399,2794,5155,1463,2025,4569,3218,1944,5156,828,1105,4245,1262,1394,5157,4246,605,4570,5158,1784,2876,5159,2835,819,2102,578,2200,2952,5160,1502,436,3287,4247,3288,2836,4005,2919,3472,3473,5161,2721,2320,5162,5163,2337,2068,23,4571,193,826,3838,2103,699,1630,4248,3098,390,1794,1064,3581,5164,1579,3099,3100,1400,5165,4249,1839,1640,2877,5166,4572,4573,137,4250,598,3101,1967,780,104,974,2953,5167,278,899,253,402,572,504,493,1339,5168,4006,1275,4574,2582,2558,5169,3706,3049,3102,2253,565,1334,2722,863,41,5170,5171,4575,5172,1657,2338,19,463,2760,4251,606,5173,2999,3289,1087,2085,1323,2662,3e3,5174,1631,1623,1750,4252,2691,5175,2878,791,2723,2663,2339,232,2421,5176,3001,1498,5177,2664,2630,755,1366,3707,3290,3151,2026,1609,119,1918,3474,862,1026,4253,5178,4007,3839,4576,4008,4577,2265,1952,2477,5179,1125,817,4254,4255,4009,1513,1766,2041,1487,4256,3050,3291,2837,3840,3152,5180,5181,1507,5182,2692,733,40,1632,1106,2879,345,4257,841,2531,230,4578,3002,1847,3292,3475,5183,1263,986,3476,5184,735,879,254,1137,857,622,1300,1180,1388,1562,4010,4011,2954,967,2761,2665,1349,592,2134,1692,3361,3003,1995,4258,1679,4012,1902,2188,5185,739,3708,2724,1296,1290,5186,4259,2201,2202,1922,1563,2605,2559,1871,2762,3004,5187,435,5188,343,1108,596,17,1751,4579,2239,3477,3709,5189,4580,294,3582,2955,1693,477,979,281,2042,3583,643,2043,3710,2631,2795,2266,1031,2340,2135,2303,3584,4581,367,1249,2560,5190,3585,5191,4582,1283,3362,2005,240,1762,3363,4583,4584,836,1069,3153,474,5192,2149,2532,268,3586,5193,3219,1521,1284,5194,1658,1546,4260,5195,3587,3588,5196,4261,3364,2693,1685,4262,961,1673,2632,190,2006,2203,3841,4585,4586,5197,570,2504,3711,1490,5198,4587,2633,3293,1957,4588,584,1514,396,1045,1945,5199,4589,1968,2449,5200,5201,4590,4013,619,5202,3154,3294,215,2007,2796,2561,3220,4591,3221,4592,763,4263,3842,4593,5203,5204,1958,1767,2956,3365,3712,1174,452,1477,4594,3366,3155,5205,2838,1253,2387,2189,1091,2290,4264,492,5206,638,1169,1825,2136,1752,4014,648,926,1021,1324,4595,520,4596,997,847,1007,892,4597,3843,2267,1872,3713,2405,1785,4598,1953,2957,3103,3222,1728,4265,2044,3714,4599,2008,1701,3156,1551,30,2268,4266,5207,2027,4600,3589,5208,501,5209,4267,594,3478,2166,1822,3590,3479,3591,3223,829,2839,4268,5210,1680,3157,1225,4269,5211,3295,4601,4270,3158,2341,5212,4602,4271,5213,4015,4016,5214,1848,2388,2606,3367,5215,4603,374,4017,652,4272,4273,375,1140,798,5216,5217,5218,2366,4604,2269,546,1659,138,3051,2450,4605,5219,2254,612,1849,910,796,3844,1740,1371,825,3845,3846,5220,2920,2562,5221,692,444,3052,2634,801,4606,4274,5222,1491,244,1053,3053,4275,4276,340,5223,4018,1041,3005,293,1168,87,1357,5224,1539,959,5225,2240,721,694,4277,3847,219,1478,644,1417,3368,2666,
1201413,1401,1335,1389,4019,5226,5227,3006,2367,3159,1826,730,1515,184,2840,66,4607,5228,1660,2958,246,3369,378,1457,226,3480,975,4020,2959,1264,3592,674,696,5229,163,5230,1141,2422,2167,713,3593,3370,4608,4021,5231,5232,1186,15,5233,1079,1070,5234,1522,3224,3594,276,1050,2725,758,1126,653,2960,3296,5235,2342,889,3595,4022,3104,3007,903,1250,4609,4023,3481,3596,1342,1681,1718,766,3297,286,89,2961,3715,5236,1713,5237,2607,3371,3008,5238,2962,2219,3225,2880,5239,4610,2505,2533,181,387,1075,4024,731,2190,3372,5240,3298,310,313,3482,2304,770,4278,54,3054,189,4611,3105,3848,4025,5241,1230,1617,1850,355,3597,4279,4612,3373,111,4280,3716,1350,3160,3483,3055,4281,2150,3299,3598,5242,2797,4026,4027,3009,722,2009,5243,1071,247,1207,2343,2478,1378,4613,2010,864,1437,1214,4614,373,3849,1142,2220,667,4615,442,2763,2563,3850,4028,1969,4282,3300,1840,837,170,1107,934,1336,1883,5244,5245,2119,4283,2841,743,1569,5246,4616,4284,582,2389,1418,3484,5247,1803,5248,357,1395,1729,3717,3301,2423,1564,2241,5249,3106,3851,1633,4617,1114,2086,4285,1532,5250,482,2451,4618,5251,5252,1492,833,1466,5253,2726,3599,1641,2842,5254,1526,1272,3718,4286,1686,1795,416,2564,1903,1954,1804,5255,3852,2798,3853,1159,2321,5256,2881,4619,1610,1584,3056,2424,2764,443,3302,1163,3161,5257,5258,4029,5259,4287,2506,3057,4620,4030,3162,2104,1647,3600,2011,1873,4288,5260,4289,431,3485,5261,250,97,81,4290,5262,1648,1851,1558,160,848,5263,866,740,1694,5264,2204,2843,3226,4291,4621,3719,1687,950,2479,426,469,3227,3720,3721,4031,5265,5266,1188,424,1996,861,3601,4292,3854,2205,2694,168,1235,3602,4293,5267,2087,1674,4622,3374,3303,220,2565,1009,5268,3855,670,3010,332,1208,717,5269,5270,3603,2452,4032,3375,5271,513,5272,1209,2882,3376,3163,4623,1080,5273,5274,5275,5276,2534,3722,3604,815,1587,4033,4034,5277,3605,3486,3856,1254,4624,1328,3058,1390,4035,1741,4036,3857,4037,5278,236,3858,2453,3304,5279,5280,3723,3859,1273,3860,4625,5281,308,5282,4626,245,4627,1852,2480,1307,2583,430,715,2137,2454,5283,270,199,2883,4038,5284,3606,2727,1753,761,1754,725,1661,1841,4628,3487,3724,5285,5286,587,14,3305,227,2608,326,480,2270,943,2765,3607,291,650,1884,5287,1702,1226,102,1547,62,3488,904,4629,3489,1164,4294,5288,5289,1224,1548,2766,391,498,1493,5290,1386,1419,5291,2056,1177,4630,813,880,1081,2368,566,1145,4631,2291,1001,1035,2566,2609,2242,394,1286,5292,5293,2069,5294,86,1494,1730,4039,491,1588,745,897,2963,843,3377,4040,2767,2884,3306,1768,998,2221,2070,397,1827,1195,1970,3725,3011,3378,284,5295,3861,2507,2138,2120,1904,5296,4041,2151,4042,4295,1036,3490,1905,114,2567,4296,209,1527,5297,5298,2964,2844,2635,2390,2728,3164,812,2568,5299,3307,5300,1559,737,1885,3726,1210,885,28,2695,3608,3862,5301,4297,1004,1780,4632,5302,346,1982,2222,2696,4633,3863,1742,797,1642,4043,1934,1072,1384,2152,896,4044,3308,3727,3228,2885,3609,5303,2569,1959,4634,2455,1786,5304,5305,5306,4045,4298,1005,1308,3728,4299,2729,4635,4636,1528,2610,161,1178,4300,1983,987,4637,1101,4301,631,4046,1157,3229,2425,1343,1241,1016,2243,2570,372,877,2344,2508,1160,555,1935,911,4047,5307,466,1170,169,1051,2921,2697,3729,2481,3012,1182,2012,2571,1251,2636,5308,992,2345,3491,1540,2730,1201,2071,2406,1997,2482,5309,4638,528,1923,2191,1503,1874,1570,2369,3379,3309,5310,557,1073,5311,1828,3492,2088,2271,3165,3059,3107,767,3108,2799,4639,1006,4302,4640,2346,1267,2179,3730,3230,778,4048,3231,2731,1597,2667,5312,4641,5313,3493,5314,5315,5316,3310,2698,1433,3311,131,95,1504,4049,723,4303,3166,1842,3610,2768,2192,4050,2028,2105,3731,5317,3013,4051,1218,5318,3380,3232,4052,4304,2584,248,1634,3864,912,5319,2845,3732,3060,3865,654,53,5320,3014,5321,1688,4642,777,3494,1032,4053,1425,5322,191,820,2121,2846,971,4643,931,3233,135,664,783,3866,1998,772,2922,1936,4054,3867,4644,2923,3234,282,2732,640,1372,3495,1127,922,325,3381,5323,5324,711,2045,5325,5326,4055,2223,2800,1937,4056,3382,2224,2255,3868,2305,5327,4645,3869,1258,3312,4057,3235,2139,2965,4058,4059,5328,2225,258,3236,4646,101,1227,5329,3313,1755,5330,1391,3314,5331,2924,2057,893,5332,5333,5334,1402,4305,2347,5335,5336,3237,3611,5337,5338,878,1325,1781,2801,4647,259,1385,2585,744,1183,2272,4648,5339,4060,2509,5340,684,1024,4306,5341,472,3612,3496,1165,3315,4061,4062,322,2153,881,455,1695,1152,1340,660,554,2154,4649,1058,4650,4307,830,1065,3383,4063,4651,1924,5342,1703,1919,5343,932,2273,122,5344,4652,947,677,5345,3870,2637,297,1906,1925,2274,4653,2322,3316,5346,5347,4308,5348,4309,84,4310,112,989,5349,547,1059,4064,701,3613,1019,5350,4311,5351,3497,942,639,457,2306,2456,993,2966,407,851,494,4654,3384,927,5352,1237,5353,2426,3385,573,4312,680,921,2925,1279,1875,285,790,1448,1984,719,2168,5354,5355,4655,4065,4066,
1201649,5356,1541,563,5357,1077,5358,3386,3061,3498,511,3015,4067,4068,3733,4069,1268,2572,3387,3238,4656,4657,5359,535,1048,1276,1189,2926,2029,3167,1438,1373,2847,2967,1134,2013,5360,4313,1238,2586,3109,1259,5361,700,5362,2968,3168,3734,4314,5363,4315,1146,1876,1907,4658,2611,4070,781,2427,132,1589,203,147,273,2802,2407,898,1787,2155,4071,4072,5364,3871,2803,5365,5366,4659,4660,5367,3239,5368,1635,3872,965,5369,1805,2699,1516,3614,1121,1082,1329,3317,4073,1449,3873,65,1128,2848,2927,2769,1590,3874,5370,5371,12,2668,45,976,2587,3169,4661,517,2535,1013,1037,3240,5372,3875,2849,5373,3876,5374,3499,5375,2612,614,1999,2323,3877,3110,2733,2638,5376,2588,4316,599,1269,5377,1811,3735,5378,2700,3111,759,1060,489,1806,3388,3318,1358,5379,5380,2391,1387,1215,2639,2256,490,5381,5382,4317,1759,2392,2348,5383,4662,3878,1908,4074,2640,1807,3241,4663,3500,3319,2770,2349,874,5384,5385,3501,3736,1859,91,2928,3737,3062,3879,4664,5386,3170,4075,2669,5387,3502,1202,1403,3880,2969,2536,1517,2510,4665,3503,2511,5388,4666,5389,2701,1886,1495,1731,4076,2370,4667,5390,2030,5391,5392,4077,2702,1216,237,2589,4318,2324,4078,3881,4668,4669,2703,3615,3504,445,4670,5393,5394,5395,5396,2771,61,4079,3738,1823,4080,5397,687,2046,935,925,405,2670,703,1096,1860,2734,4671,4081,1877,1367,2704,3389,918,2106,1782,2483,334,3320,1611,1093,4672,564,3171,3505,3739,3390,945,2641,2058,4673,5398,1926,872,4319,5399,3506,2705,3112,349,4320,3740,4082,4674,3882,4321,3741,2156,4083,4675,4676,4322,4677,2408,2047,782,4084,400,251,4323,1624,5400,5401,277,3742,299,1265,476,1191,3883,2122,4324,4325,1109,205,5402,2590,1e3,2157,3616,1861,5403,5404,5405,4678,5406,4679,2573,107,2484,2158,4085,3507,3172,5407,1533,541,1301,158,753,4326,2886,3617,5408,1696,370,1088,4327,4680,3618,579,327,440,162,2244,269,1938,1374,3508,968,3063,56,1396,3113,2107,3321,3391,5409,1927,2159,4681,3016,5410,3619,5411,5412,3743,4682,2485,5413,2804,5414,1650,4683,5415,2613,5416,5417,4086,2671,3392,1149,3393,4087,3884,4088,5418,1076,49,5419,951,3242,3322,3323,450,2850,920,5420,1812,2805,2371,4328,1909,1138,2372,3885,3509,5421,3243,4684,1910,1147,1518,2428,4685,3886,5422,4686,2393,2614,260,1796,3244,5423,5424,3887,3324,708,5425,3620,1704,5426,3621,1351,1618,3394,3017,1887,944,4329,3395,4330,3064,3396,4331,5427,3744,422,413,1714,3325,500,2059,2350,4332,2486,5428,1344,1911,954,5429,1668,5430,5431,4089,2409,4333,3622,3888,4334,5432,2307,1318,2512,3114,133,3115,2887,4687,629,31,2851,2706,3889,4688,850,949,4689,4090,2970,1732,2089,4335,1496,1853,5433,4091,620,3245,981,1242,3745,3397,1619,3746,1643,3326,2140,2457,1971,1719,3510,2169,5434,3246,5435,5436,3398,1829,5437,1277,4690,1565,2048,5438,1636,3623,3116,5439,869,2852,655,3890,3891,3117,4092,3018,3892,1310,3624,4691,5440,5441,5442,1733,558,4692,3747,335,1549,3065,1756,4336,3748,1946,3511,1830,1291,1192,470,2735,2108,2806,913,1054,4093,5443,1027,5444,3066,4094,4693,982,2672,3399,3173,3512,3247,3248,1947,2807,5445,571,4694,5446,1831,5447,3625,2591,1523,2429,5448,2090,984,4695,3749,1960,5449,3750,852,923,2808,3513,3751,969,1519,999,2049,2325,1705,5450,3118,615,1662,151,597,4095,2410,2326,1049,275,4696,3752,4337,568,3753,3626,2487,4338,3754,5451,2430,2275,409,3249,5452,1566,2888,3514,1002,769,2853,194,2091,3174,3755,2226,3327,4339,628,1505,5453,5454,1763,2180,3019,4096,521,1161,2592,1788,2206,2411,4697,4097,1625,4340,4341,412,42,3119,464,5455,2642,4698,3400,1760,1571,2889,3515,2537,1219,2207,3893,2643,2141,2373,4699,4700,3328,1651,3401,3627,5456,5457,3628,2488,3516,5458,3756,5459,5460,2276,2092,460,5461,4701,5462,3020,962,588,3629,289,3250,2644,1116,52,5463,3067,1797,5464,5465,5466,1467,5467,1598,1143,3757,4342,1985,1734,1067,4702,1280,3402,465,4703,1572,510,5468,1928,2245,1813,1644,3630,5469,4704,3758,5470,5471,2673,1573,1534,5472,5473,536,1808,1761,3517,3894,3175,2645,5474,5475,5476,4705,3518,2929,1912,2809,5477,3329,1122,377,3251,5478,360,5479,5480,4343,1529,551,5481,2060,3759,1769,2431,5482,2930,4344,3330,3120,2327,2109,2031,4706,1404,136,1468,1479,672,1171,3252,2308,271,3176,5483,2772,5484,2050,678,2736,865,1948,4707,5485,2014,4098,2971,5486,2737,2227,1397,3068,3760,4708,4709,1735,2931,3403,3631,5487,3895,509,2854,2458,2890,3896,5488,5489,3177,3178,4710,4345,2538,4711,2309,1166,1010,552,681,1888,5490,5491,2972,2973,4099,1287,1596,1862,3179,358,453,736,175,478,1117,905,1167,1097,5492,1854,1530,5493,1706,5494,2181,3519,2292,3761,3520,3632,4346,2093,4347,5495,3404,1193,2489,4348,1458,2193,2208,1863,1889,1421,3331,2932,3069,2182,3521,595,2123,5496,4100,5497,5498,4349,1707,2646,223,3762,1359,751,3121,183,3522,5499,2810,3021,419,2374,633,704,3897,2394,241,5500,5501,5502,838,3022,3763,2277,2773,2459,3898,1939,2051,4101,1309,3122,2246,1181,5503,1136,2209,3899,2375,1446,4350,2310,4712,5504,5505,4351,1055,2615,484,3764,5
120506,4102,625,4352,2278,3405,1499,4353,4103,5507,4104,4354,3253,2279,2280,3523,5508,5509,2774,808,2616,3765,3406,4105,4355,3123,2539,526,3407,3900,4356,955,5510,1620,4357,2647,2432,5511,1429,3766,1669,1832,994,928,5512,3633,1260,5513,5514,5515,1949,2293,741,2933,1626,4358,2738,2460,867,1184,362,3408,1392,5516,5517,4106,4359,1770,1736,3254,2934,4713,4714,1929,2707,1459,1158,5518,3070,3409,2891,1292,1930,2513,2855,3767,1986,1187,2072,2015,2617,4360,5519,2574,2514,2170,3768,2490,3332,5520,3769,4715,5521,5522,666,1003,3023,1022,3634,4361,5523,4716,1814,2257,574,3901,1603,295,1535,705,3902,4362,283,858,417,5524,5525,3255,4717,4718,3071,1220,1890,1046,2281,2461,4107,1393,1599,689,2575,388,4363,5526,2491,802,5527,2811,3903,2061,1405,2258,5528,4719,3904,2110,1052,1345,3256,1585,5529,809,5530,5531,5532,575,2739,3524,956,1552,1469,1144,2328,5533,2329,1560,2462,3635,3257,4108,616,2210,4364,3180,2183,2294,5534,1833,5535,3525,4720,5536,1319,3770,3771,1211,3636,1023,3258,1293,2812,5537,5538,5539,3905,607,2311,3906,762,2892,1439,4365,1360,4721,1485,3072,5540,4722,1038,4366,1450,2062,2648,4367,1379,4723,2593,5541,5542,4368,1352,1414,2330,2935,1172,5543,5544,3907,3908,4724,1798,1451,5545,5546,5547,5548,2936,4109,4110,2492,2351,411,4111,4112,3637,3333,3124,4725,1561,2674,1452,4113,1375,5549,5550,47,2974,316,5551,1406,1591,2937,3181,5552,1025,2142,3125,3182,354,2740,884,2228,4369,2412,508,3772,726,3638,996,2433,3639,729,5553,392,2194,1453,4114,4726,3773,5554,5555,2463,3640,2618,1675,2813,919,2352,2975,2353,1270,4727,4115,73,5556,5557,647,5558,3259,2856,2259,1550,1346,3024,5559,1332,883,3526,5560,5561,5562,5563,3334,2775,5564,1212,831,1347,4370,4728,2331,3909,1864,3073,720,3910,4729,4730,3911,5565,4371,5566,5567,4731,5568,5569,1799,4732,3774,2619,4733,3641,1645,2376,4734,5570,2938,669,2211,2675,2434,5571,2893,5572,5573,1028,3260,5574,4372,2413,5575,2260,1353,5576,5577,4735,3183,518,5578,4116,5579,4373,1961,5580,2143,4374,5581,5582,3025,2354,2355,3912,516,1834,1454,4117,2708,4375,4736,2229,2620,1972,1129,3642,5583,2776,5584,2976,1422,577,1470,3026,1524,3410,5585,5586,432,4376,3074,3527,5587,2594,1455,2515,2230,1973,1175,5588,1020,2741,4118,3528,4737,5589,2742,5590,1743,1361,3075,3529,2649,4119,4377,4738,2295,895,924,4378,2171,331,2247,3076,166,1627,3077,1098,5591,1232,2894,2231,3411,4739,657,403,1196,2377,542,3775,3412,1600,4379,3530,5592,4740,2777,3261,576,530,1362,4741,4742,2540,2676,3776,4120,5593,842,3913,5594,2814,2032,1014,4121,213,2709,3413,665,621,4380,5595,3777,2939,2435,5596,2436,3335,3643,3414,4743,4381,2541,4382,4744,3644,1682,4383,3531,1380,5597,724,2282,600,1670,5598,1337,1233,4745,3126,2248,5599,1621,4746,5600,651,4384,5601,1612,4385,2621,5602,2857,5603,2743,2312,3078,5604,716,2464,3079,174,1255,2710,4122,3645,548,1320,1398,728,4123,1574,5605,1891,1197,3080,4124,5606,3081,3082,3778,3646,3779,747,5607,635,4386,4747,5608,5609,5610,4387,5611,5612,4748,5613,3415,4749,2437,451,5614,3780,2542,2073,4388,2744,4389,4125,5615,1764,4750,5616,4390,350,4751,2283,2395,2493,5617,4391,4126,2249,1434,4127,488,4752,458,4392,4128,3781,771,1330,2396,3914,2576,3184,2160,2414,1553,2677,3185,4393,5618,2494,2895,2622,1720,2711,4394,3416,4753,5619,2543,4395,5620,3262,4396,2778,5621,2016,2745,5622,1155,1017,3782,3915,5623,3336,2313,201,1865,4397,1430,5624,4129,5625,5626,5627,5628,5629,4398,1604,5630,414,1866,371,2595,4754,4755,3532,2017,3127,4756,1708,960,4399,887,389,2172,1536,1663,1721,5631,2232,4130,2356,2940,1580,5632,5633,1744,4757,2544,4758,4759,5634,4760,5635,2074,5636,4761,3647,3417,2896,4400,5637,4401,2650,3418,2815,673,2712,2465,709,3533,4131,3648,4402,5638,1148,502,634,5639,5640,1204,4762,3649,1575,4763,2623,3783,5641,3784,3128,948,3263,121,1745,3916,1110,5642,4403,3083,2516,3027,4132,3785,1151,1771,3917,1488,4133,1987,5643,2438,3534,5644,5645,2094,5646,4404,3918,1213,1407,2816,531,2746,2545,3264,1011,1537,4764,2779,4405,3129,1061,5647,3786,3787,1867,2897,5648,2018,120,4406,4407,2063,3650,3265,2314,3919,2678,3419,1955,4765,4134,5649,3535,1047,2713,1266,5650,1368,4766,2858,649,3420,3920,2546,2747,1102,2859,2679,5651,5652,2e3,5653,1111,3651,2977,5654,2495,3921,3652,2817,1855,3421,3788,5655,5656,3422,2415,2898,3337,3266,3653,5657,2577,5658,3654,2818,4135,1460,856,5659,3655,5660,2899,2978,5661,2900,3922,5662,4408,632,2517,875,3923,1697,3924,2296,5663,5664,4767,3028,1239,580,4768,4409,5665,914,936,2075,1190,4136,1039,2124,5666,5667,5668,5669,3423,1473,5670,1354,4410,3925,4769,2173,3084,4137,915,3338,4411,4412,3339,1605,1835,5671,2748,398,3656,4413,3926,4138,328,1913,2860,4139,3927,133
1201,4414,3029,937,4415,5672,3657,4140,4141,3424,2161,4770,3425,524,742,538,3085,1012,5673,5674,3928,2466,5675,658,1103,225,3929,5676,5677,4771,5678,4772,5679,3267,1243,5680,4142,963,2250,4773,5681,2714,3658,3186,5682,5683,2596,2332,5684,4774,5685,5686,5687,3536,957,3426,2547,2033,1931,2941,2467,870,2019,3659,1746,2780,2781,2439,2468,5688,3930,5689,3789,3130,3790,3537,3427,3791,5690,1179,3086,5691,3187,2378,4416,3792,2548,3188,3131,2749,4143,5692,3428,1556,2549,2297,977,2901,2034,4144,1205,3429,5693,1765,3430,3189,2125,1271,714,1689,4775,3538,5694,2333,3931,533,4417,3660,2184,617,5695,2469,3340,3539,2315,5696,5697,3190,5698,5699,3932,1988,618,427,2651,3540,3431,5700,5701,1244,1690,5702,2819,4418,4776,5703,3541,4777,5704,2284,1576,473,3661,4419,3432,972,5705,3662,5706,3087,5707,5708,4778,4779,5709,3793,4145,4146,5710,153,4780,356,5711,1892,2902,4420,2144,408,803,2357,5712,3933,5713,4421,1646,2578,2518,4781,4782,3934,5714,3935,4422,5715,2416,3433,752,5716,5717,1962,3341,2979,5718,746,3030,2470,4783,4423,3794,698,4784,1893,4424,3663,2550,4785,3664,3936,5719,3191,3434,5720,1824,1302,4147,2715,3937,1974,4425,5721,4426,3192,823,1303,1288,1236,2861,3542,4148,3435,774,3938,5722,1581,4786,1304,2862,3939,4787,5723,2440,2162,1083,3268,4427,4149,4428,344,1173,288,2316,454,1683,5724,5725,1461,4788,4150,2597,5726,5727,4789,985,894,5728,3436,3193,5729,1914,2942,3795,1989,5730,2111,1975,5731,4151,5732,2579,1194,425,5733,4790,3194,1245,3796,4429,5734,5735,2863,5736,636,4791,1856,3940,760,1800,5737,4430,2212,1508,4792,4152,1894,1684,2298,5738,5739,4793,4431,4432,2213,479,5740,5741,832,5742,4153,2496,5743,2980,2497,3797,990,3132,627,1815,2652,4433,1582,4434,2126,2112,3543,4794,5744,799,4435,3195,5745,4795,2113,1737,3031,1018,543,754,4436,3342,1676,4796,4797,4154,4798,1489,5746,3544,5747,2624,2903,4155,5748,5749,2981,5750,5751,5752,5753,3196,4799,4800,2185,1722,5754,3269,3270,1843,3665,1715,481,365,1976,1857,5755,5756,1963,2498,4801,5757,2127,3666,3271,433,1895,2064,2076,5758,602,2750,5759,5760,5761,5762,5763,3032,1628,3437,5764,3197,4802,4156,2904,4803,2519,5765,2551,2782,5766,5767,5768,3343,4804,2905,5769,4805,5770,2864,4806,4807,1221,2982,4157,2520,5771,5772,5773,1868,1990,5774,5775,5776,1896,5777,5778,4808,1897,4158,318,5779,2095,4159,4437,5780,5781,485,5782,938,3941,553,2680,116,5783,3942,3667,5784,3545,2681,2783,3438,3344,2820,5785,3668,2943,4160,1747,2944,2983,5786,5787,207,5788,4809,5789,4810,2521,5790,3033,890,3669,3943,5791,1878,3798,3439,5792,2186,2358,3440,1652,5793,5794,5795,941,2299,208,3546,4161,2020,330,4438,3944,2906,2499,3799,4439,4811,5796,5797,5798,2522,1613,4812,5799,3345,3945,2523,5800,4162,5801,1637,4163,2471,4813,3946,5802,2500,3034,3800,5803,5804,2195,4814,5805,2163,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904,5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6e3,6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6113,6114,611
1205,6116,6117,6118,6119,6120,6121,6122,6123,6124,6125,6126,6127,6128,6129,6130,6131,6132,6133,6134,6135,6136,6137,6138,6139,6140,6141,6142,6143,6144,6145,6146,6147,6148,6149,6150,6151,6152,6153,6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6171,6172,6173,6174,6175,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,3670,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,6264,6265,6266,6267,6268,6269,6270,6271,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,4815,6286,6287,6288,6289,6290,6291,6292,4816,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6307,6308,6309,6310,6311,4817,4818,6312,6313,6314,6315,6316,6317,6318,4819,6319,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,4820,6338,6339,6340,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6390,6391,6392,6393,6394,6395,6396,6397,6398,6399,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,3441,6411,6412,6413,6414,6415,6416,6417,6418,6419,6420,6421,6422,6423,6424,6425,4440,6426,6427,6428,6429,6430,6431,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,4821,6455,6456,6457,6458,6459,6460,6461,6462,6463,6464,6465,6466,6467,6468,6469,6470,6471,6472,6473,6474,6475,6476,6477,3947,3948,6478,6479,6480,6481,3272,4441,6482,6483,6484,6485,4442,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,4822,6497,6498,6499,6500,6501,6502,6503,6504,6505,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6516,6517,6518,6519,6520,6521,6522,6523,6524,6525,6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,6552,6553,6554,6555,6556,2784,6557,4823,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,3949,6570,6571,6572,4824,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,4825,6584,6585,6586,3950,2785,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6602,6603,6604,6605,6606,6607,6608,6609,6610,6611,6612,4826,6613,6614,6615,4827,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,4164,6626,6627,6628,6629,6630,6631,6632,6633,6634,3547,6635,4828,6636,6637,6638,6639,664
1200,6641,6642,3951,2984,6643,6644,6645,6646,6647,6648,6649,4165,6650,4829,6651,6652,4830,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,4831,6663,6664,6665,6666,6667,6668,6669,6670,6671,4166,6672,4832,3952,6673,6674,6675,6676,4833,6677,6678,6679,4167,6680,6681,6682,3198,6683,6684,6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,4834,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,6726,6727,6728,6729,6730,6731,6732,6733,6734,4443,6735,6736,6737,6738,6739,6740,6741,6742,6743,6744,6745,4444,6746,6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,6781,4168,6782,6783,3442,6784,6785,6786,6787,6788,6789,6790,6791,4169,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,6810,6811,4835,6812,6813,6814,4445,6815,6816,4446,6817,6818,6819,6820,6821,6822,6823,6824,6825,6826,6827,6828,6829,6830,6831,6832,6833,6834,6835,3548,6836,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,4836,6847,6848,6849,6850,6851,6852,6853,6854,3953,6855,6856,6857,6858,6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6877,3199,6878,6879,6880,6881,6882,4447,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,6903,6904,4170,6905,6906,6907,6908,6909,6910,6911,6912,6913,6914,6915,6916,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,4837,6928,6929,6930,6931,6932,6933,6934,6935,6936,3346,6937,6938,4838,6939,6940,6941,4448,6942,6943,6944,6945,6946,4449,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,6989,6990,6991,6992,6993,6994,3671,6995,6996,6997,6998,4839,6999,7e3,7001,7002,3549,7003,7004,7005,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7024,7025,7026,7027,7028,7029,7030,4840,7031,7032,7033,7034,7035,7036,7037,7038,4841,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,2985,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,4842,7081,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,4450,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7142,7143,4843,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7160,7161,7162,7163,7164,7165,7166,7167,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,4171,4172,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7204,7205,7206,7207,7208,7209,7210,7211,7212,7213,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7229,7230,7231,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7294,7295,7296,4844,7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,7314,7315,7316,4451,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,4173,7354,7355,4845,7356,7357,7358,7359,7360,7361,7362,7363,7364,7365,7366,7367,7368,7369,7370,7371,7372,7373,7374,7375,7376,7377,7378,7379,7380,7381,7382,7383,7384,7385,7386,7387,7388,4846,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7401,7402,7403,7404,7405,3672,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7421,7422,7423,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,4452,7454,3200,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,4847,7475,7476,7477,3133,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,3347,7503,7504,7505,7506,750
1207,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,4848,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,3801,4849,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,3035,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,4850,7617,7618,3802,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,4851,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,4453,7671,7672,7673,7674,7675,7676,7677,7678,7679,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,3443,7698,7699,7700,7701,7702,4454,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,2472,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,3954,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,3134,7751,7752,4852,7753,7754,7755,4853,7756,7757,7758,7759,7760,4174,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,4854,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,4855,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,3955,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,3444,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,4175,7892,7893,7894,7895,7896,4856,4857,7897,7898,7899,7900,2598,7901,7902,7903,7904,7905,7906,7907,7908,4455,7909,7910,7911,7912,7913,7914,3201,7915,7916,7917,7918,7919,7920,7921,4858,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7958,7959,7960,7961,7962,7963,7964,7965,7966,7967,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,4859,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,4860,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,4176,8017,8018,8019,8020,8021,8022,8023,4861,8024,8025,8026,8027,8028,8029,8030,8031,8032,8033,8034,8035,8036,4862,4456,8037,8038,8039,8040,4863,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8062,8063,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,4864,4177,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8117,8118,8119,8120,4178,8121,8122,8123,8124,8125,8126,8127,8128,8129,8130,8131,8132,8133,8134,8135,8136,8137,8138,8139,8140,8141,8142,8143,8144,8145,4865,4866,8146,8147,8148,8149,8150,8151,8152,8153,8154,8155,8156,8157,8158,8159,8160,8161,8162,8163,8164,8165,4179,8166,8167,8168,8169,8170,8171,8172,8173,8174,8175,8176,8177,8178,8179,8180,8181,4457,8182,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8208,8209,8210,8211,8212,8213,8214,8215,8216,8217,8218,8219,8220,8221,8222,8223,8224,8225,8226,8227,8228,8229,8230,8231,8232,8233,8234,8235,8236,8237,8238,8239,8240,8241,8242,8243,8244,8245,8246,8247,8248,8249,8250,8251,8252,8253,8254,8255,8256,3445,8257,8258,8259,8260,8261,8262,4458,8263,8264,8265,8266,8267,8268,8269,8270,8271,8272,4459,8273,8274,8275,8276,3550,8277,8278,8279,8280,8281,8282,8283,8284,8285,8286,8287,8288,8289,4460,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,8304,8305,8306,8307,4867,8308,8309,8310,8311,8312,3551,8313,8314,8315,8316,8317,8318,8319,8320,8321,8322,8323,8324,8325,8326,4868,8327,8328,8329,8330,8331,8332,8333,8334,8335,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8349,8350,8351,8352,8353,8354,8355,8356,8357,8358,8359,8360,8361,8362,8363,4869,4461,8364,8365,8366,8367,8368,8369,8370,4870,8371,8372,8373,8374,8375,8376,8377,8378,8379,8380,8381,8382,8383,8384,8385,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,4871,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,4462,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,8433,2986,8434,8435,8436,8437,8438,8439,8440,8441,8442,8443,8444,8445,8446,8447,8448,8449,8450,8451,8452,8453,8454,8455,8456,8457,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8468,8469,8470,8471,8472,8473,8474,8475,8476,8477,8478,4180,8479,8480,8481,8482,8483,8484,8485,8486,8487,8488,8489,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8506,8507,8508,8509,8510,8511,8512,8513,8514,8515,8516,8517,8518,8519,8520,8521,8522,8523,8524,8525,8526,8527,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,4872,8565,8566,8567,8568,8569,8570,8571,8572,8573,4873,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,8585,8586,8587,8588,8589,8590,8591,8592,8593,8594,8595,8596,8597,8598,8599,8600,8601,8602,8603,8604,8605,3803,8606,8607,8608,8609,8610,8611,8612,8613,4874,3804,8614,8615,8616,8617,8618,8619,8620,8621,3956,8622,8623,8624,8625,8626,8627,8628,8629,8630,8631,8632,8633,8634,8635,8636,8637,8638,2865,8639,8640,8641,8642,8643,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,4463,8657,8658,8659,4875,4876,8660,8661,8662,8663,8664,8665,8666,8667,8668,8669,8670,8671,8672,8673,8674,8675,8676,8677,8678,8679,8680,8681,4464,8682,8683,8684,8685,8686,8687,8688,8689,8690,8691,8692,8693,8694,8695,8696,8697,8698,8699,8700,8701,8702,8703,8704,8705,8706,8707,8708,8709,2261,8710,8711,8712,8713,8714,8715,8716,8717,8718,8719,8720,8721,8722,8723,8724,8725,8726,8727,8728,8729,8730,8731,8732,8733,4181,8734,8735,8736,8737,8738,8739,8740,8741,8742,8743,8744,8745,8746,8747,8748,8749,8750,8751,8752,8753,8754,8755,8756,8757,8758,8759,8760,8761,8762,8763,4877,8764,8765,8766,8767,8768,8769,8770,87
12071,8772,8773,8774,8775,8776,8777,8778,8779,8780,8781,8782,8783,8784,8785,8786,8787,8788,4878,8789,4879,8790,8791,8792,4880,8793,8794,8795,8796,8797,8798,8799,8800,8801,4881,8802,8803,8804,8805,8806,8807,8808,8809,8810,8811,8812,8813,8814,8815,3957,8816,8817,8818,8819,8820,8821,8822,8823,8824,8825,8826,8827,8828,8829,8830,8831,8832,8833,8834,8835,8836,8837,8838,8839,8840,8841,8842,8843,8844,8845,8846,8847,4882,8848,8849,8850,8851,8852,8853,8854,8855,8856,8857,8858,8859,8860,8861,8862,8863,8864,8865,8866,8867,8868,8869,8870,8871,8872,8873,8874,8875,8876,8877,8878,8879,8880,8881,8882,8883,8884,3202,8885,8886,8887,8888,8889,8890,8891,8892,8893,8894,8895,8896,8897,8898,8899,8900,8901,8902,8903,8904,8905,8906,8907,8908,8909,8910,8911,8912,8913,8914,8915,8916,8917,8918,8919,8920,8921,8922,8923,8924,4465,8925,8926,8927,8928,8929,8930,8931,8932,4883,8933,8934,8935,8936,8937,8938,8939,8940,8941,8942,8943,2214,8944,8945,8946,8947,8948,8949,8950,8951,8952,8953,8954,8955,8956,8957,8958,8959,8960,8961,8962,8963,8964,8965,4884,8966,8967,8968,8969,8970,8971,8972,8973,8974,8975,8976,8977,8978,8979,8980,8981,8982,8983,8984,8985,8986,8987,8988,8989,8990,8991,8992,4885,8993,8994,8995,8996,8997,8998,8999,9e3,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014,9015,9016,9017,9018,9019,9020,9021,4182,9022,9023,9024,9025,9026,9027,9028,9029,9030,9031,9032,9033,9034,9035,9036,9037,9038,9039,9040,9041,9042,9043,9044,9045,9046,9047,9048,9049,9050,9051,9052,9053,9054,9055,9056,9057,9058,9059,9060,9061,9062,9063,4886,9064,9065,9066,9067,9068,9069,4887,9070,9071,9072,9073,9074,9075,9076,9077,9078,9079,9080,9081,9082,9083,9084,9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,9107,9108,9109,9110,9111,9112,9113,9114,9115,9116,9117,9118,9119,9120,9121,9122,9123,9124,9125,9126,9127,9128,9129,9130,9131,9132,9133,9134,9135,9136,9137,9138,9139,9140,9141,3958,9142,9143,9144,9145,9146,9147,9148,9149,9150,9151,4888,9152,9153,9154,9155,9156,9157,9158,9159,9160,9161,9162,9163,9164,9165,9166,9167,9168,9169,9170,9171,9172,9173,9174,9175,4889,9176,9177,9178,9179,9180,9181,9182,9183,9184,9185,9186,9187,9188,9189,9190,9191,9192,9193,9194,9195,9196,9197,9198,9199,9200,9201,9202,9203,4890,9204,9205,9206,9207,9208,9209,9210,9211,9212,9213,9214,9215,9216,9217,9218,9219,9220,9221,9222,4466,9223,9224,9225,9226,9227,9228,9229,9230,9231,9232,9233,9234,9235,9236,9237,9238,9239,9240,9241,9242,9243,9244,9245,4891,9246,9247,9248,9249,9250,9251,9252,9253,9254,9255,9256,9257,4892,9258,9259,9260,9261,4893,4894,9262,9263,9264,9265,9266,9267,9268,9269,9270,9271,9272,9273,4467,9274,9275,9276,9277,9278,9279,9280,9281,9282,9283,9284,9285,3673,9286,9287,9288,9289,9290,9291,9292,9293,9294,9295,9296,9297,9298,9299,9300,9301,9302,9303,9304,9305,9306,9307,9308,9309,9310,9311,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,4895,9323,9324,9325,9326,9327,9328,9329,9330,9331,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,9347,4468,9348,9349,9350,9351,9352,9353,9354,9355,9356,9357,9358,9359,9360,9361,9362,9363,9364,9365,9366,9367,9368,9369,9370,9371,9372,9373,4896,9374,4469,9375,9376,9377,9378,9379,4897,9380,9381,9382,9383,9384,9385,9386,9387,9388,9389,9390,9391,9392,9393,9394,9395,9396,9397,9398,9399,9400,9401,9402,9403,9404,9405,9406,4470,9407,2751,9408,9409,3674,3552,9410,9411,9412,9413,9414,9415,9416,9417,9418,9419,9420,9421,4898,9422,9423,9424,9425,9426,9427,9428,9429,3959,9430,9431,9432,9433,9434,9435,9436,4471,9437,9438,9439,9440,9441,9442,9443,9444,9445,9446,9447,9448,9449,9450,3348,9451,9452,9453,9454,9455,9456,9457,9458,9459,9460,9461,9462,9463,9464,9465,9466,9467,9468,9469,9470,9471,9472,4899,9473,9474,9475,9476,9477,4900,9478,9479,9480,9481,9482,9483,9484,9485,9486,9487,9488,3349,9489,9490,9491,9492,9493,9494,9495,9496,9497,9498,9499,9500,9501,9502,9503,9504,9505,9506,9507,9508,9509,9510,9511,9512,9513,9514,9515,9516,9517,9518,9519,9520,4901,9521,9522,9523,9524,9525,9526,4902,9527,9528,9529,9530,9531,9532,9533,9534,9535,9536,9537,9538,9539,9540,9541,9542,9543,9544,9545,9546,9547,9548,9549,9550,9551,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9581,9582,9583,9584,3805,9585,9586,9587,9588,9589,9590,9591,9592,9593,9594,9595,9596,9597,9598,9599,9600,9601,9602,4903,9603,9604,9605,9606,9607,4904,9608,9609,9610,9611,9612,9613,9614,4905,9615,9616,9617,9618,9619,9620,9621,9622,9623,9624,9625,9626,9627,9628,9629,9630,9631,9632,4906,9633,9634,9635,9636,9637,9638,9639,9640,9641,9642,9643,4907,9644,9645,9646,9647,9648,9649,9650,9651,9652,9653,9654,9655,9656,9657,9658,9659,9660,9661,9662,9663,9664,9665,9666,9667,9668,9669,9670,9671,9672,4183,9673,9674,9675,9676,9677,4908,9678,9679,9680,9681,4909,9682,9683,9684,9685,9686,9687,9688,9689,9690,4910,9691,9692,9693,3675,9694,9695,9696,2945,9697,9698,9699,9700,9701,9702,9703,9704,9705,4911,9706,9707,9708,9709,9710,9711,9712,9713,9714,9715,9716,9717,9718,9719,9720,9721,9722,9723,9724,9725,9726,9727,9728,9729,9730,9731,9732,9733,9734,9735,4912,9736,9737,9738,9739,9740,4913,9741,9742,9743,9744,9745,9746,9747,9748,9749,9750,9751,9752,9753,9754,9755,9756,9757,9758,4914,9759,9760,9761,9762,9763,9764,9765,9766,9767,9768,9769,9770,9771,9772,9773,9774,9775,9776,9777,9778,97
12079,9780,9781,9782,4915,9783,9784,9785,9786,9787,9788,9789,9790,9791,9792,9793,4916,9794,9795,9796,9797,9798,9799,9800,9801,9802,9803,9804,9805,9806,9807,9808,9809,9810,9811,9812,9813,9814,9815,9816,9817,9818,9819,9820,9821,9822,9823,9824,9825,9826,9827,9828,9829,9830,9831,9832,9833,9834,9835,9836,9837,9838,9839,9840,9841,9842,9843,9844,9845,9846,9847,9848,9849,9850,9851,9852,9853,9854,9855,9856,9857,9858,9859,9860,9861,9862,9863,9864,9865,9866,9867,9868,4917,9869,9870,9871,9872,9873,9874,9875,9876,9877,9878,9879,9880,9881,9882,9883,9884,9885,9886,9887,9888,9889,9890,9891,9892,4472,9893,9894,9895,9896,9897,3806,9898,9899,9900,9901,9902,9903,9904,9905,9906,9907,9908,9909,9910,9911,9912,9913,9914,4918,9915,9916,9917,4919,9918,9919,9920,9921,4184,9922,9923,9924,9925,9926,9927,9928,9929,9930,9931,9932,9933,9934,9935,9936,9937,9938,9939,9940,9941,9942,9943,9944,9945,9946,4920,9947,9948,9949,9950,9951,9952,9953,9954,9955,4185,9956,9957,9958,9959,9960,9961,9962,9963,9964,9965,4921,9966,9967,9968,4473,9969,9970,9971,9972,9973,9974,9975,9976,9977,4474,9978,9979,9980,9981,9982,9983,9984,9985,9986,9987,9988,9989,9990,9991,9992,9993,9994,9995,9996,9997,9998,9999,1e4,10001,10002,10003,10004,10005,10006,10007,10008,10009,10010,10011,10012,10013,10014,10015,10016,10017,10018,10019,10020,10021,4922,10022,4923,10023,10024,10025,10026,10027,10028,10029,10030,10031,10032,10033,10034,10035,10036,10037,10038,10039,10040,10041,10042,10043,10044,10045,10046,10047,10048,4924,10049,10050,10051,10052,10053,10054,10055,10056,10057,10058,10059,10060,10061,10062,10063,10064,10065,10066,10067,10068,10069,10070,10071,10072,10073,10074,10075,10076,10077,10078,10079,10080,10081,10082,10083,10084,10085,10086,10087,4475,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,4476,10098,10099,10100,10101,10102,10103,10104,10105,10106,10107,10108,10109,10110,10111,2174,10112,10113,10114,10115,10116,10117,10118,10119,10120,10121,10122,10123,10124,10125,10126,10127,10128,10129,10130,10131,10132,10133,10134,10135,10136,10137,10138,10139,10140,3807,4186,4925,10141,10142,10143,10144,10145,10146,10147,4477,4187,10148,10149,10150,10151,10152,10153,4188,10154,10155,10156,10157,10158,10159,10160,10161,4926,10162,10163,10164,10165,10166,10167,10168,10169,10170,10171,10172,10173,10174,10175,10176,10177,10178,10179,10180,10181,10182,10183,10184,10185,10186,10187,10188,10189,10190,10191,10192,3203,10193,10194,10195,10196,10197,10198,10199,10200,4478,10201,10202,10203,10204,4479,10205,10206,10207,10208,10209,10210,10211,10212,10213,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10225,10226,10227,10228,10229,10230,10231,10232,10233,10234,4927,10235,10236,10237,10238,10239,10240,10241,10242,10243,10244,10245,10246,10247,10248,10249,10250,10251,10252,10253,10254,10255,10256,10257,10258,10259,10260,10261,10262,10263,10264,10265,10266,10267,10268,10269,10270,10271,10272,10273,4480,4928,4929,10274,10275,10276,10277,10278,10279,10280,10281,10282,10283,10284,10285,10286,10287,10288,10289,10290,10291,10292,10293,10294,10295,10296,10297,10298,10299,10300,10301,10302,10303,10304,10305,10306,10307,10308,10309,10310,10311,10312,10313,10314,10315,10316,10317,10318,10319,10320,10321,10322,10323,10324,10325,10326,10327,10328,10329,10330,10331,10332,10333,10334,4930,10335,10336,10337,10338,10339,10340,10341,10342,4931,10343,10344,10345,10346,10347,10348,10349,10350,10351,10352,10353,10354,10355,3088,10356,2786,10357,10358,10359,10360,4189,10361,10362,10363,10364,10365,10366,10367,10368,10369,10370,10371,10372,10373,10374,10375,4932,10376,10377,10378,10379,10380,10381,10382,10383,10384,10385,10386,10387,10388,10389,10390,10391,10392,4933,10393,10394,10395,4934,10396,10397,10398,10399,10400,10401,10402,10403,10404,10405,10406,10407,10408,10409,10410,10411,10412,3446,10413,10414,10415,10416,10417,10418,10419,10420,10421,10422,10423,4935,10424,10425,10426,10427,10428,10429,10430,4936,10431,10432,10433,10434,10435,10436,10437,10438,10439,10440,10441,10442,10443,4937,10444,10445,10446,10447,4481,10448,10449,10450,10451,10452,10453,10454,10455,10456,10457,10458,10459,10460,10461,10462,10463,10464,10465,10466,10467,10468,10469,10470,10471,10472,10473,10474,10475,10476,
12010477,10478,10479,10480,10481,10482,10483,10484,10485,10486,10487,10488,10489,10490,10491,10492,10493,10494,10495,10496,10497,10498,10499,10500,10501,10502,10503,10504,10505,4938,10506,10507,10508,10509,10510,2552,10511,10512,10513,10514,10515,10516,3447,10517,10518,10519,10520,10521,10522,10523,10524,10525,10526,10527,10528,10529,10530,10531,10532,10533,10534,10535,10536,10537,10538,10539,10540,10541,10542,10543,4482,10544,4939,10545,10546,10547,10548,10549,10550,10551,10552,10553,10554,10555,10556,10557,10558,10559,10560,10561,10562,10563,10564,10565,10566,10567,3676,4483,10568,10569,10570,10571,10572,3448,10573,10574,10575,10576,10577,10578,10579,10580,10581,10582,10583,10584,10585,10586,10587,10588,10589,10590,10591,10592,10593,10594,10595,10596,10597,10598,10599,10600,10601,10602,10603,10604,10605,10606,10607,10608,10609,10610,10611,10612,10613,10614,10615,10616,10617,10618,10619,10620,10621,10622,10623,10624,10625,10626,10627,4484,10628,10629,10630,10631,10632,4940,10633,10634,10635,10636,10637,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647,10648,10649,10650,10651,10652,10653,10654,10655,10656,4941,10657,10658,10659,2599,10660,10661,10662,10663,10664,10665,10666,3089,10667,10668,10669,10670,10671,10672,10673,10674,10675,10676,10677,10678,10679,10680,4942,10681,10682,10683,10684,10685,10686,10687,10688,10689,10690,10691,10692,10693,10694,10695,10696,10697,4485,10698,10699,10700,10701,10702,10703,10704,4943,10705,3677,10706,10707,10708,10709,10710,10711,10712,4944,10713,10714,10715,10716,10717,10718,10719,10720,10721,10722,10723,10724,10725,10726,10727,10728,4945,10729,10730,10731,10732,10733,10734,10735,10736,10737,10738,10739,10740,10741,10742,10743,10744,10745,10746,10747,10748,10749,10750,10751,10752,10753,10754,10755,10756,10757,10758,10759,10760,10761,4946,10762,10763,10764,10765,10766,10767,4947,4948,10768,10769,10770,10771,10772,10773,10774,10775,10776,10777,10778,10779,10780,10781,10782,10783,10784,10785,10786,10787,10788,10789,10790,10791,10792,10793,10794,10795,10796,10797,10798,10799,10800,10801,10802,10803,10804,10805,10806,10807,10808,10809,10810,10811,10812,10813,10814,10815,10816,10817,10818,10819,10820,10821,10822,10823,10824,10825,10826,10827,10828,10829,10830,10831,10832,10833,10834,10835,10836,10837,10838,10839,10840,10841,10842,10843,10844,10845,10846,10847,10848,10849,10850,10851,10852,10853,10854,10855,10856,10857,10858,10859,10860,10861,10862,10863,10864,10865,10866,10867,10868,10869,10870,10871,10872,10873,10874,10875,10876,10877,10878,4486,10879,10880,10881,10882,10883,10884,10885,4949,10886,10887,10888,10889,10890,10891,10892,10893,10894,10895,10896,10897,10898,10899,10900,10901,10902,10903,10904,10905,10906,10907,10908,10909,10910,10911,10912,10913,10914,10915,10916,10917,10918,10919,4487,10920,10921,10922,10923,10924,10925,10926,10927,10928,10929,10930,10931,10932,4950,10933,10934,10935,10936,10937,10938,10939,10940,10941,10942,10943,10944,10945,10946,10947,10948,10949,4488,10950,10951,10952,10953,10954,10955,10956,10957,10958,10959,4190,10960,10961,10962,10963,10964,10965,10966,10967,10968,10969,10970,10971,10972,10973,10974,10975,10976,10977,10978,10979,10980,10981,10982,10983,10984,10985,10986,10987,10988,10989,10990,10991,10992,10993,10994,10995,10996,10997,10998,10999,11e3,11001,11002,11003,11004,11005,11006,3960,11007,11008,11009,11010,11011,11012,11013,11014,11015,11016,11017,11018,11019,11020,11021,11022,11023,11024,11025,11026,11027,11028,11029,11030,11031,11032,4951,11033,11034,11035,11036,11037,11038,11039,11040,11041,11042,11043,11044,11045,11046,11047,4489,11048,11049,11050,11051,4952,11052,11053,11054,11055,11056,11057,11058,4953,11059,11060,11061,11062,11063,11064,11065,11066,11067,11068,11069,11070,11071,4954,11072,11073,11074,11075,11076,11077,11078,11079,11080,11081,11082,11083,11084,11085,11086,11087,11088,11089,11090,11091,11092,11093,11094,11095,11096,11097,11098,11099,11100,11101,11102,11103,11104,11105,11106,11107,11108,11109,11110,11111,11112,11113,11114,11115,3808,11116,11117,11118,11119,11120,11121,11122,11123,11124,11125,11126,11127,11128,11129,11130,11131,11132,11133,11134,4955,11135,11136,11137,11138,11139,11140,11141,11142,11143,11144,11145,11146,11147,11148,11149,11150,11151,11152,11153,11154,11155,11156,11157,11158,11159,11160,11161,4956,11162,11163,11164,11165,11166,11167,11168,11169,11170,11171,11172,11173,11174,11175,11176,11177,11178,11179,11180,4957,11181,11182,11183,11184,11185,11186,4958,11187,11188,11189,11190,11191,11192,11193,11194,11195,11196,11197,11198,11199,11200,3678,11201,11202,11203,11204,11205,11206,4191,11207,11208,11209,11210,11211,11212,11213,11214,11215,11216,11217,11218,11219,11220,11221,11222,11223,11224,11225,11226,11227,11228,11229,11230,11231,11232,11233,11234,11235,11236,11237,11238,11239,11240,11241,11242,11243,11244,11245,11246,11247,11248,11249,11250,11251,4959,11252,11253,11254,11255,11256,11257,11258,11259,11260,11261,11262,11263,11264,11265,11266,11267,11268,11269,11270,11271,11272,11273,11274,11275,11276,11277,11278,11279,11280,11281,11282,11283,11284,11285,11286,11287,11288,11289,11290,11291,11292,11293,11294,11295,11296,11297,11298,11299,11300,11301,11302,11303,11304,11305,11306,11307,11308,11309,11310,11311,11312,11313,11314,3679,11315,11316,11317,11318,4490,11319,11320,11321,11322,11323,11324,11325,11326,11327,11328,11329,11330,11331,11332,11333,11334,11335,11336,11337,11338,11339,11340,11341,11342,11343,11344,11345,11346,11347,4960,11348,11349,11350,11351,11352,11353,11354,11355,11356,11357,11358,11359,11360,11361,11362,11363,11364,11365,11366,11367,11368,11369,11370,11371,11372,11373,11374,11375,11376,11377,3961,4961,11378,11379,11380,11381,11382,11383,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11395,11396,11397,4192,11398,11399,11400,11401,11402,11403,11404,11405,11406,11407,11408,11409,11410,11411,4962,11412,11413,11414,11415,11416,11417,11418,11419,11420,11421,11422,11423,11424,11425,11426,11427,11428,11429,11430,11431,11432,11433,11434,11435,11436,11437,11438,11439,11440,11441,11442,11443,11444,11445,11446,11447,11448,11449,11450,11451,11452,11453,11454,11455,11456,11457,11458,11459,11460,11461,11462,11463,11464,11465,11466,11467,11468,11469,4963,11470,11471,4491,11472,11473,11474,11475,4964,11476,11477,11478,11479,11480,11481,11482,11483,11484,11485,11486,11487,11488,11489,11490,11491,11492,4965,11493,11494,11495,11496,11497,11498,11499,11500,11501,11502,11503,11504,11505,11506,11507,11508,11509,11510,
12011511,11512,11513,11514,11515,11516,11517,11518,11519,11520,11521,11522,11523,11524,11525,11526,11527,11528,11529,3962,11530,11531,11532,11533,11534,11535,11536,11537,11538,11539,11540,11541,11542,11543,11544,11545,11546,11547,11548,11549,11550,11551,11552,11553,11554,11555,11556,11557,11558,11559,11560,11561,11562,11563,11564,4193,4194,11565,11566,11567,11568,11569,11570,11571,11572,11573,11574,11575,11576,11577,11578,11579,11580,11581,11582,11583,11584,11585,11586,11587,11588,11589,11590,11591,4966,4195,11592,11593,11594,11595,11596,11597,11598,11599,11600,11601,11602,11603,11604,3090,11605,11606,11607,11608,11609,11610,4967,11611,11612,11613,11614,11615,11616,11617,11618,11619,11620,11621,11622,11623,11624,11625,11626,11627,11628,11629,11630,11631,11632,11633,11634,11635,11636,11637,11638,11639,11640,11641,11642,11643,11644,11645,11646,11647,11648,11649,11650,11651,11652,11653,11654,11655,11656,11657,11658,11659,11660,11661,11662,11663,11664,11665,11666,11667,11668,11669,11670,11671,11672,11673,11674,4968,11675,11676,11677,11678,11679,11680,11681,11682,11683,11684,11685,11686,11687,11688,11689,11690,11691,11692,11693,3809,11694,11695,11696,11697,11698,11699,11700,11701,11702,11703,11704,11705,11706,11707,11708,11709,11710,11711,11712,11713,11714,11715,11716,11717,11718,3553,11719,11720,11721,11722,11723,11724,11725,11726,11727,11728,11729,11730,4969,11731,11732,11733,11734,11735,11736,11737,11738,11739,11740,4492,11741,11742,11743,11744,11745,11746,11747,11748,11749,11750,11751,11752,4970,11753,11754,11755,11756,11757,11758,11759,11760,11761,11762,11763,11764,11765,11766,11767,11768,11769,11770,11771,11772,11773,11774,11775,11776,11777,11778,11779,11780,11781,11
120782,11783,11784,11785,11786,11787,11788,11789,11790,4971,11791,11792,11793,11794,11795,11796,11797,4972,11798,11799,11800,11801,11802,11803,11804,11805,11806,11807,11808,11809,11810,4973,11811,11812,11813,11814,11815,11816,11817,11818,11819,11820,11821,11822,11823,11824,11825,11826,11827,11828,11829,11830,11831,11832,11833,11834,3680,3810,11835,11836,4974,11837,11838,11839,11840,11841,11842,11843,11844,11845,11846,11847,11848,11849,11850,11851,11852,11853,11854,11855,11856,11857,11858,11859,11860,11861,11862,11863,11864,11865,11866,11867,11868,11869,11870,11871,11872,11873,11874,11875,11876,11877,11878,11879,11880,11881,11882,11883,11884,4493,11885,11886,11887,11888,11889,11890,11891,11892,11893,11894,11895,11896,11897,11898,11899,11900,11901,11902,11903,11904,11905,11906,11907,11908,11909,11910,11911,11912,11913,11914,11915,4975,11916,11917,11918,11919,11920,11921,11922,11923,11924,11925,11926,11927,11928,11929,11930,11931,11932,11933,11934,11935,11936,11937,11938,11939,11940,11941,11942,11943,11944,11945,11946,11947,11948,11949,4976,11950,11951,11952,11953,11954,11955,11956,11957,11958,11959,11960,11961,11962,11963,11964,11965,11966,11967,11968,11969,11970,11971,11972,11973,11974,11975,11976,11977,11978,11979,11980,11981,11982,11983,11984,11985,11986,11987,4196,11988,11989,11990,11991,11992,4977,11993,11994,11995,11996,11997,11998,11999,12e3,12001,12002,12003,12004,12005,12006,12007,12008,12009,12010,12011,12012,12013,12014,12015,12016,12017,12018,12019,12020,12021,12022,12023,12024,12025,12026,12027,12028,12029,12030,12031,12032,12033,12034,12035,12036,12037,12038,12039,12040,12041,12042,12043,12044,12045,12046,12047,12048,12049,12050,12051,12052,12053,12054,12055,12056,12057,12058,12059,12060,12061,4978,12062,12063,12064,12065,12066,12067,12068,12069,12070,12071,12072,12073,12074,12075,12076,12077,12078,12079,12080,12081,12082,12083,12084,12085,12086,12087,12088,12089,12090,12091,12092,12093,12094,12095,12096,12097,12098,12099,12100,12101,12102,12103,12104,12105,12106,12107,12108,12109,12110,12111,12112,12113,12114,12115,12116,12117,12118,12119,12120,12121,12122,12123,4979,12124,12125,12126,12127,12128,4197,12129,12130,12131,12132,12133,12134,12135,12136,12137,12138,12139,12140,12141,12142,12143,12144,12145,12146,12147,12148,12149,12150,12151,12152,12153,12154,4980,12155,12156,12157,12158,12159,12160,4494,12161,12162,12163,12164,3811,12165,12166,12167,12168,12169,4495,12170,12171,4496,12172,12173,12174,12175,12176,3812,12177,12178,12179,12180,12181,12182,12183,12184,12185,12186,12187,12188,12189,12190,12191,12192,12193,12194,12195,12196,12197,12198,12199,12200,12201,12202,12203,12204,12205,12206,12207,12208,12209,12210,12211,12212,12213,12214,12215,12216,12217,12218,12219,12220,12221,4981,12222,12223,12224,12225,12226,12227,12228,12229,12230,12231,12232,12233,12234,12235,4982,12236,12237,12238,12239,12240,12241,12242,12243,12244,12245,4983,12246,12247,12248,12249,4984,12250,12251,12252,12253,12254,12255,12256,12257,12258,12259,12260,12261,12262,12263,12264,4985,12265,4497,12266,12267,12268,12269,12270,12271,12272,12273,12274,12275,12276,12277,12278,12279,12280,12281,12282,12283,12284,12285,12286,12287,4986,12288,12289,12290,12291,12292,12293,12294,12295,12296,2473,12297,12298,12299,12300,12301,12302,12303,12304,12305,12306,12307,12308,12309,12310,12311,12312,12313,12314,12315,12316,12317,12318,12319,3963,12320,12321,12322,12323,12324,12325,12326,12327,12328,12329,12330,12331,12332,4987,12333,12334,12335,12336,12337,12338,12339,12340,12341,12342,12343,12344,12345,12346,12347,12348,12349,12350,12351,12352,12353,12354,12355,12356,12357,12358,12359,3964,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,3965,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,4988,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12436,12437,12438,3554,12439,12440,12441,12442,12443,12444,12445,12446,12447,12448,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,4989,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,4990,12481,12482,12483,12484,12485,12486,12487,12488,12489,4498,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,12535,12536,12537,12538,12539,12540,12541,12542,12543,12544,12545,12546,12547,12548,12549,12550,12551,4991,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,3036,12579,12580,12581,12582,12583,3966,12584,12585,12586,12587,12588,12589,12590,12591,12592,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12
120605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,4499,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,12687,12688,12689,12690,12691,12692,12693,12694,12695,12696,12697,12698,4992,12699,12700,12701,12702,12703,12704,12705,12706,12707,12708,12709,12710,12711,12712,12713,12714,12715,12716,12717,12718,12719,12720,12721,12722,12723,12724,12725,12726,12727,12728,12729,12730,12731,12732,12733,12734,12735,12736,12737,12738,12739,12740,12741,12742,12743,12744,12745,12746,12747,12748,12749,12750,12751,12752,12753,12754,12755,12756,12757,12758,12759,12760,12761,12762,12763,12764,12765,12766,12767,12768,12769,12770,12771,12772,12773,12774,12775,12776,12777,12778,4993,2175,12779,12780,12781,12782,12783,12784,12785,12786,4500,12787,12788,12789,12790,12791,12792,12793,12794,12795,12796,12797,12798,12799,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,12811,12812,12813,12814,12815,12816,12817,12818,12819,12820,12821,12822,12823,12824,12825,12826,4198,3967,12827,12828,12829,12830,12831,12832,12833,12834,12835,12836,12837,12838,12839,12840,12841,12842,12843,12844,12845,12846,12847,12848,12849,12850,12851,12852,12853,12854,12855,12856,12857,12858,12859,12860,12861,4199,12862,12863,12864,12865,12866,12867,12868,12869,12870,12871,12872,12873,12874,12875,12876,12877,12878,12879,12880,12881,12882,12883,12884,12885,12886,12887,4501,12888,12889,12890,12891,12892,12893,12894,12895,12896,12897,12898,12899,12900,12901,12902,12903,12904,12905,12906,12907,12908,12909,12910,12911,12912,4994,12913,12914,12915,12916,12917,12918,12919,12920,12921,12922,12923,12924,12925,12926,12927,12928,12929,12930,12931,12932,12933,12934,12935,12936,12937,12938,12939,12940,12941,12942,12943,12944,12945,12946,12947,12948,12949,12950,12951,12952,12953,12954,12955,12956,1772,12957,12958,12959,12960,12961,12962,12963,12964,12965,12966,12967,12968,12969,12970,12971,12972,12973,12974,12975,12976,12977,12978,12979,12980,12981,12982,12983,12984,12985,12986,12987,12988,12989,12990,12991,12992,12993,12994,12995,12996,12997,4502,12998,4503,12999,13e3,13001,13002,13003,4504,13004,13005,13006,13007,13008,13009,13010,13011,13012,13013,13014,13015,13016,13017,13018,13019,13020,13021,13022,13023,13024,13025,13026,13027,13028,13029,3449,13030,13031,13032,13033,13034,13035,13036,13037,13038,13039,13040,13041,13042,13043,13044,13045,13046,13047,13048,13049,13050,13051,13052,13053,13054,13055,13056,13057,13058,13059,13060,13061,13062,13063,13064,13065,13066,13067,13068,13069,13070,13071,13072,13073,13074,13075,13076,13077,13078,13079,13080,13081,13082,13083,13084,13085,13086,13087,13088,13089,13090,13091,13092,13093,13094,13095,13096,13097,13098,13099,13100,13101,13102,13103,13104,13105,13106,13107,13108,13109,13110,13111,13112,13113,13114,13115,13116,13117,13118,3968,13119,4995,13120,13121,13122,13123,13124,13125,13126,13127,4505,13128,13129,13130,13131,13132,13133,13134,4996,4506,13135,13136,13137,13138,13139,4997,13140,13141,13142,13143,13144,13145,13146,13147,13148,13149,13150,13151,13152,13153,13154,13155,13156,13157,13158,13159,4998,13160,13161,13162,13163,13164,13165,13166,13167,13168,13169,13170,13171,13172,13173,13174,13175,13176,4999,13177,13178,13179,13180,13181,13182,13183,13184,13185,13186,13187,13188,13189,13190,13191,13192,13193,13194,13195,13196,13197,13198,13199,13200,13201,13202,13203,13204,13205,13206,5e3,13207,13208,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13219,13220,13221,13222,13223,13224,13225,13226,13227,4200,5001,13228,13229,13230,13231,13232,13233,13234,13235,13236,13237,13238,13239,13240,3969,13241,13242,13243,13244,3970,13245,13246,13247,13248,13249,13250,13251,13252,13253,13254,13255,13256,13257,13258,13259,13260,13261,13262,13263,13264,13265,13266,13267,13268,3450,13269,13270,13271,13272,13273,13274,13275,13276,5002,13277,13278,13279,1328
1200,13281,13282,13283,13284,13285,13286,13287,13288,13289,13290,13291,13292,13293,13294,13295,13296,13297,13298,13299,13300,13301,13302,3813,13303,13304,13305,13306,13307,13308,13309,13310,13311,13312,13313,13314,13315,13316,13317,13318,13319,13320,13321,13322,13323,13324,13325,13326,13327,13328,4507,13329,13330,13331,13332,13333,13334,13335,13336,13337,13338,13339,13340,13341,5003,13342,13343,13344,13345,13346,13347,13348,13349,13350,13351,13352,13353,13354,13355,13356,13357,13358,13359,13360,13361,13362,13363,13364,13365,13366,13367,5004,13368,13369,13370,13371,13372,13373,13374,13375,13376,13377,13378,13379,13380,13381,13382,13383,13384,13385,13386,13387,13388,13389,13390,13391,13392,13393,13394,13395,13396,13397,13398,13399,13400,13401,13402,13403,13404,13405,13406,13407,13408,13409,13410,13411,13412,13413,13414,13415,13416,13417,13418,13419,13420,13421,13422,13423,13424,13425,13426,13427,13428,13429,13430,13431,13432,4508,13433,13434,13435,4201,13436,13437,13438,13439,13440,13441,13442,13443,13444,13445,13446,13447,13448,13449,13450,13451,13452,13453,13454,13455,13456,13457,5005,13458,13459,13460,13461,13462,13463,13464,13465,13466,13467,13468,13469,13470,4509,13471,13472,13473,13474,13475,13476,13477,13478,13479,13480,13481,13482,13483,13484,13485,13486,13487,13488,13489,13490,13491,13492,13493,13494,13495,13496,13497,13498,13499,13500,13501,13502,13503,13504,13505,13506,13507,13508,13509,13510,13511,13512,13513,13514,13515,13516,13517,13518,13519,13520,13521,13522,13523,13524,13525,13526,13527,13528,13529,13530,13531,13532,13533,13534,13535,13536,13537,13538,13539,13540,13541,13542,13543,13544,13545,13546,13547,13548,13549,13550,13551,13552,13553,13554,13555,13556,13557,13558,13559,13560,13561,13562,13563,13564,13565,13566,13567,13568,13569,13570,13571,13572,13573,13574,13575,13576,13577,13578,13579,13580,13581,13582,13583,13584,13585,13586,13587,13588,13589,13590,13591,13592,13593,13594,13595,13596,13597,13598,13599,13600,13601,13602,13603,13604,13605,13606,13607,13608,13609,13610,13611,13612,13613,13614,13615,13616,13617,13618,13619,13620,13621,13622,13623,13624,13625,13626,13627,13628,13629,13630,13631,13632,13633,13634,13635,13636,13637,13638,13639,13640,13641,13642,5006,13643,13644,13645,13646,13647,13648,13649,13650,13651,5007,13652,13653,13654,13655,13656,13657,13658,13659,13660,13661,13662,13663,13664,13665,13666,13667,13668,13669,13670,13671,13672,13673,13674,13675,13676,13677,13678,13679,13680,13681,13682,13683,13684,13685,13686,13687,13688,13689,13690,13691,13692,13693,13694,13695,13696,13697,13698,13699,13700,13701,13702,13703,13704,13705,13706,13707,13708,13709,13710,13711,13712,13713,13714,13715,13716,13717,13718,13719,13720,13721,13722,13723,13724,13725,13726,13727,13728,13729,13730,13731,13732,13733,13734,13735,13736,13737,13738,13739,13740,13741,13742,13743,13744,13745,13746,13747,13748,13749,13750,13751,13752,13753,13754,13755,13756,13757,13758,13759,13760,13761,13762,13763,13764,13765,13766,13767,13768,13769,13770,13771,13772,13773,13774,3273,13775,13776,13777,13778,13779,13780,13781,13782,13783,13784,13785,13786,13787,13788,13789,13790,13791,13792,13793,13794,13795,13796,13797,13798,13799,13800,13801,13802,13803,13804,13805,13806,13807,13808,13809,13810,13811,13812,13813,13814,13815,13816,13817,13818,13819,13820,13821,13822,13823,13824,13825,13826,13827,13828,13829,13830,13831,13832,13833,13834,13835,13836,13837,13838,13839,13840,13841,13842,13843,13844,13845,13846,13847,13848,13849,13850,13851,13852,13853,13854,13855,13856,13857,13858,13859,13860,13861,13862,13863,13864,13865,13866,13867,13868,13869,13870,13871,13872,13873,13874,13875,13876,13877,13878,13879,13880,13881,13882,13883,13884,13885,13886,13887,13888,13889,13890,13891,13892,13893,13894,13895,13896,13897,13898,13899,13900,13901,13902,13903,13904,13905,13906,13907,13908,13909,13910,13911,13912,13913,13914,13915,13916,13917,13918,13919,13920,13921,13922,13923,13924,13925,13926,13927,13928,13929,13930,13931,13932,13933,13934,13935,13936,13937,13938,13939,13940,13941,13942,13943,13944,13945,13946,13947,13948,13949,13950,13951,13952,13953,13954,13955,13956,13957,13958,13959,13960,13961,13962,13963,13964,13965,13966,13967,13968,13969,13970,13971,13972]),Nd}var CC;
120function Uu(){if(CC)return Ni;CC=1;var e=k5e(),t=w5e(),n=x5e(),r=S5e(),s=T5e();function i(){var f=1024,p=.99,m=.01,y=3,_=this;function g(){_._mCharToFreqOrder=null,_._mTableSize=null,_._mTypicalDistributionRatio=null,_.reset()}this.reset=function(){this._mDone=!1,this._mTotalChars=0,this._mFreqChars=0},this.feed=function(b,k){if(k==2)var x=this.getOrder(b);else x=-1;x>=0&&(this._mTotalChars++,x<this._mTableSize&&512>this._mCharToFreqOrder[x]&&this._mFreqChars++)},this.getConfidence=function(){if(this._mTotalChars<=0||this._mFreqChars<=y)return m;if(this._mTotalChars!=this._mFreqChars){var b=this._mFreqChars/((this._mTotalChars-this._mFreqChars)*this._mTypicalDistributionRatio);if(b<p)return b}return p},this.gotEnoughData=function(){return this._mTotalChars>f},this.getOrder=function(b){return-1},g()}Ni.CharDistributionAnalysis=i;function a(){i.apply(this);var f=this;function p(){f._mCharToFreqOrder=t.EUCTWCharToFreqOrder,f._mTableSize=t.EUCTW_TABLE_SIZE,f._mTypicalDistributionRatio=t.EUCTW_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m.charCodeAt(0)>=196?94*(m.charCodeAt(0)-196)+m.charCodeAt(1)-161:-1},p()}a.prototype=new i,Ni.EUCTWDistributionAnalysis=a;function l(){i.apply(this);var f=this;function p(){f._mCharToFreqOrder=n.EUCKRCharToFreqOrder,f._mTableSize=n.EUCKR_TABLE_SIZE,f._mTypicalDistributionRatio=n.EUCKR_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m.charCodeAt(0)>=176?94*(m.charCodeAt(0)-176)+m.charCodeAt(1)-161:-1},p()}l.prototype=new i,Ni.EUCKRDistributionAnalysis=l;function c(){i.apply(this);var f=this;function p(){f._mCharToFreqOrder=r.GB2312CharToFreqOrder,f._mTableSize=r.GB2312_TABLE_SIZE,f._mTypicalDistributionRatio=r.GB2312_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m.charCodeAt(0)>=176&&m.charCodeAt(1)>=161?94*(m.charCodeAt(0)-176)+m.charCodeAt(1)-161:-1},p()}c.prototype=new i,Ni.GB2312DistributionAnalysis=c;function u(){i.apply(this);var f=this;function p(){f._mCharToFreqOrder=s.Big5CharToFreqOrder,f._mTableSize=s.BIG5_TABLE_SIZE,f._mTypicalDistributionRatio=s.BIG5_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m.charCodeAt(0)>=164?m.charCodeAt(1)>=161?157*(m.charCodeAt(0)-164)+m.charCodeAt(1)-161+63:157*(m.charCodeAt(0)-164)+m.charCodeAt(1)-64:-1},p()}u.prototype=new i,Ni.Big5DistributionAnalysis=u;function d(){i.apply(this);var f=this;function p(){f._mCharToFreqOrder=e.JISCharToFreqOrder,f._mTableSize=e.JIS_TABLE_SIZE,f._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){if(m.charCodeAt(0)>=129&&m.charCodeAt(0)<=159)var y=188*(m.charCodeAt(0)-129);else if(m.charCodeAt(0)>=224&&m.charCodeAt(0)<=239)y=188*(m.charCodeAt(0)-224+31);else return-1;return y+=m.charCodeAt(1)-64,(m.charCodeAt(1)<64||m.charCodeAt(1)===127||m.charCodeAt(1)>252)&&(y=-1),y},p()}d.prototype=new i,Ni.SJISDistributionAnalysis=d;function h(){i.apply(this);var f=this;function p(){f._mCharToFreqOrder=e.JISCharToFreqOrder,f._mTableSize=e.JIS_TABLE_SIZE,f._mTypicalDistributionRatio=e.JIS_TYPICAL_DISTRIBUTION_RATIO}this.getOrder=function(m){return m[0]>=" "?94*(m.charCodeAt(0)-161)+m.charCodeAt(1)-161:-1},p()}return h.prototype=new i,Ni.EUCJPDistributionAnalysis=h,Ni}var bg,EC;function j5e(){if(EC)return bg;EC=1;var e=mo(),t=Bu(),n=_5e(),r=Uu().Big5DistributionAnalysis;function s(){t.apply(this);var i=this;function a(){i._mCodingSM=new e(n),i._mDistributionAnalyzer=new r,i.reset()}this.getCharsetName=function(){return"Big5"},a()}return s.prototype=new t,bg=s,bg}var _g,zC;function C5e(){if(zC)return _g;zC=1;var e=on(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,0,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,8,8,8,8,8,8,8,8,8,8,8,8,9,8,8,10,11,11,11,11,11,11,11,12,13,13,13,14,15,0,0],n=[e.error,e.start,e.error,e.error,e.error,e.error,12,10,9,11,8,7,6,5,4,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,5,5,5,5,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,5,5,5,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,7,7,7,7,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,7,7,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,9,9,9,9,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,9,9,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,12,12,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,12,12,12,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error],r=[0,1,0,0,0,0,2,3,3,3,4,4,5,5,6,6];return _g={classTable:t,classFactor:16,stateTable:n,charLenTable:r,name:"UTF-8"},_g}var kg,NC;
120function E5e(){if(NC)return kg;NC=1;var e=mo(),t=El(),n=on(),r=C5e();function s(){t.apply(this);var i=.5,a=this;function l(){a._mCodingSM=new e(r),a.reset()}this.reset=function(){s.prototype.reset.apply(this),this._mCodingSM.reset(),this._mNumOfMBChar=0,this._mMBCharLen=0,this._mFullLen=0,this._mBasicAsciiLen=0},this.getCharsetName=function(){return"UTF-8"},this.feed=function(c){this._mFullLen+=c.length;for(var u=0,d;u<c.length;u++){d=c[u];var h=this._mCodingSM.nextState(d);if(h==n.error){this._mState=n.notMe;break}else if(h==n.itsMe){this._mState=n.foundIt;break}else h==n.start&&(this._mCodingSM.getCurrentCharLen()>=2?(this._mNumOfMBChar++,this._mMBCharLen+=this._mCodingSM.getCurrentCharLen()):d.charCodeAt(0)<128&&this._mBasicAsciiLen++)}return this.getState()==n.detecting&&this.getConfidence()>n.SHORTCUT_THRESHOLD&&(this._mState=n.foundIt),this.getState()},this.getConfidence=function(){var c=.99,u=0,d=this._mFullLen-this._mBasicAsciiLen;if(d>0&&(u=this._mMBCharLen/d),this._mNumOfMBChar<6&&u<=.6){for(var h=0;h<this._mNumOfMBChar;h++)c*=Math.pow(i,this._mNumOfMBChar);return 1-c}else return c},l()}return s.prototype=new t,kg=s,kg}var wg,IC;function z5e(){if(IC)return wg;IC=1;var e=on(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0],n=[e.error,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,e.start,e.start],r=[0,1,1,2,0,0];return wg={classTable:t,classFactor:6,stateTable:n,charLenTable:r,name:"Shift_JIS"},wg}var xg={},RC;function lW(){return RC||(RC=1,function(e){e.jp2CharContext=[[0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1],[2,4,0,4,0,3,0,4,0,3,4,4,4,2,4,3,3,4,3,2,3,3,4,2,3,3,3,2,4,1,4,3,3,1,5,4,3,4,3,4,3,5,3,0,3,5,4,2,0,3,1,0,3,3,0,3,3,0,1,1,0,4,3,0,3,3,0,4,0,2,0,3,5,5,5,5,4,0,4,1,0,3,4],[0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2],[0,4,0,5,0,5,0,4,0,4,5,4,4,3,5,3,5,1,5,3,4,3,4,4,3,4,3,3,4,3,5,4,4,3,5,5,3,5,5,5,3,5,5,3,4,5,5,3,1,3,2,0,3,4,0,4,2,0,4,2,1,5,3,2,3,5,0,4,0,2,0,5,4,4,5,4,5,0,4,0,0,4,4],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,3,0,4,0,3,0,3,0,4,5,4,3,3,3,3,4,3,5,4,4,3,5,4,4,3,4,3,4,4,4,4,5,3,4,4,3,4,5,5,4,5,5,1,4,5,4,3,0,3,3,1,3,3,0,4,4,0,3,3,1,5,3,3,3,5,0,4,0,3,0,4,4,3,4,3,3,0,4,1,1,3,4],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,4,0,3,0,3,0,4,0,3,4,4,3,2,2,1,2,1,3,1,3,3,3,3,3,4,3,1,3,3,5,3,3,0,4,3,0,5,4,3,3,5,4,4,3,4,4,5,0,1,2,0,1,2,0,2,2,0,1,0,0,5,2,2,1,4,0,3,0,1,0,4,4,3,5,4,3,0,2,1,0,4,3],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,3,0,5,0,4,0,2,1,4,4,2,4,1,4,2,4,2,4,3,3,3,4,3,3,3,3,1,4,2,3,3,3,1,4,4,1,1,1,4,3,3,2,0,2,4,3,2,0,3,3,0,3,1,1,0,0,0,3,3,0,4,2,2,3,4,0,4,0,3,0,4,4,5,3,4,4,0,3,0,0,1,4],[1,4,0,4,0,4,0,4,0,3,5,4,4,3,4,3,5,4,3,3,4,3,5,4,4,4,4,3,4,2,4,3,3,1,5,4,3,2,4,5,4,5,5,4,4,5,4,4,0,3,2,2,3,3,0,4,3,1,3,2,1,4,3,3,4,5,0,3,0,2,0,4,5,5,4,5,4,0,4,0,0,5,4],[0,5,0,5,0,4,0,3,0,4,4,3,4,3,3,3,4,0,4,4,4,3,4,3,4,3,3,1,4,2,4,3,4,0,5,4,1,4,5,4,4,5,3,2,4,3,4,3,2,4,1,3,3,3,2,3,2,0,4,3,3,4,3,3,3,4,0,4,0,3,0,4,5,4,4,4,3,0,4,1,0,1,3],[0,3,1,4,0,3,0,2,0,3,4,4,3,1,4,2,3,3,4,3,4,3,4,3,4,4,3,2,3,1,5,4,4,1,4,4,3,5,4,4,3,5,5,4,3,4,4,3,1,2,3,1,2,2,0,3,2,0,3,1,0,5,3,3,3,4,3,3,3,3,4,4,4,4,5,4,2,0,3,3,2,4,3],[0,2,0,3,0,1,0,1,0,0,3,2,0,0,2,0,1,0,2,1,3,3,3,1,2,3,1,0,1,0,4,2,1,1,3,3,0,4,3,3,1,4,3,3,0,3,3,2,0,0,0,0,1,0,0,2,0,0,0,0,0,4,1,0,2,3,2,2,2,1,3,3,3,4,4,3,2,0,3,1,0,3,3],[0,4,0,4,0,3,0,3,0,4,4,4,3,3,3,3,3,3,4,3,4,2,4,3,4,3,3,2,4,3,4,5,4,1,4,5,3,5,4,5,3,5,4,0,3,5,5,3,1,3,3,2,2,3,0,3,4,1,3,3,2,4,3,3,3,4,0,4,0,3,0,4,5,4,4,5,3,0,4,1,0,3,4],[0,2,0,3,0,3,0,0,0,2,2,2,1,0,1,0,0,0,3,0,3,0,3,0,1,3,1,0,3,1,3,3,3,1,3,3,3,0,1,3,1,3,4,0,0,3,1,1,0,3,2,0,0,0,0,1,3,0,1,0,0,3,3,2,0,3,0,0,0,0,0,3,4,3,4,3,3,0,3,0,0,2,3],[2,3,0,3,0,2,0,1,0,3,3,4,3,1,3,1,1,1,3,1,4,3,4,3,3,3,0,0,3,1,5,4,3,1,4,3,2,5,5,4,4,4,4,3,3,4,4,4,0,2,1,1,3,2,0,1,2,0,0,1,0,4,1,3,3,3,0,3,0,1,0,4,4,4,5,5,3,0,2,0,0,4,4],[0,2,0,1,0,3,1,3,0,2,3,3,3,0,3,1,0,0,3,0,3,2,3,1,3,2,1,1,0,0,4,2,1,0,2,3,1,4,3,2,0,4,4,3,1,3,1,3,0,1,0,0,1,0,0,0,1,0,0,0,0,4,1,1,1,2,0,3,0,0,0,3,4,2,4,3,2,0,1,0,0,3,3],[0,1,0,4,0,5,0,4,0,2,4,4,2,3,3,2,3,3,5,3,3,3,4,3,4,2,3,0,4,3,3,3,4,1,4,3,2,1,5,5,3,4,5,1,3,5,4,2,0,3,3,0,1,3,0,4,2,0,1,3,1,4,3,3,3,3,0,3,0,1,0,3,4,4,4,5,5,0,3,0,1,4,5],[0,2,0,3,0,3,0,0,0,2,3,1,3,0,4,0,1,1,3,0,3,4,3,2,3,1,0,3,3,2,3,1,3,0,2,3,0,2,1,4,1,2,2,0,0,3,3,0,0,2,0,0,0,1,0,0,0,0,2,2,0,3,2,1,3,3,0,2,0,2,0,0,3,3,1,2,4,0,3,0,2,2,3],[2,4,0,5,0,4,0,4,0,2,4,4,4,3,4,3,3,3,1,2,4,3,4,3,4,4,5,0,3,3,3,3,2,0,4,3,1,4,3,4,1,4,4,3,3,4,4,3,1,2,3,0,4,2,0,4,1,0,3,3,0,4,3,3,3,4,0,4,0,2,0,3,5,3,4,5,2,0,3,0,0,4,5],[0,3,0,4,0,1,0,1,0,1,3,2,2,1,3,0,3,0,2,0,2,0,3,0,2,0,0,0,1,0,1,1,0,0,3,1,0,0,0,4,0,3,1,0,2,1,3,0,0,0,0,0,0,3,0,0,0,0,0,0,0,4,2,2,3,1,0,3,0,0,0,1,4,4,4,3,0,0,4,0,0,1,4],[1,4,1,5,0,3,0,3,0,4,5,4,4,3,5,3,3,4,4,3,4,1,3,3,3,3,2,1,4,1,5,4,3,1,4,4,3,5,4,4,3,5,4,3,3,4,4,4,0,3,3,1,2,3,0,3,1,0,3,3,0,5,4,4,4,4,4,4,3,3,5,4,4,3,3,5,4,0,3,2,0,4,4],[0,2,0,3,0,1,0,0,0,1,3,3,3,2,4,1,3,0,3,1,3,0,2,2,1,1,0,0,2,0,4,3,1,0,4,3,0,4,4,4,1,4,3,1,1,3,3,1,0,2,0,0,1,3,0,0,0,0,2,0,0,4,3,2,4,3,5,4,3,3,3,4,3,3,4,3,3,0,2,1,0,3,3],[0,2,0,4,0,3,0,2,0,2,5,5,3,4,4,4,4,1,4,3,3,0,4,3,4,3,1,3,3,2,4,3,0,3,4,3,0,3,4,4,2,4,4,0,4,5,3,3,2,2,1,1,1,2,0,1,5,0,3,3,2,4,3,3,3,4,0,3,0,2,0,4,4,3,5,5,0,0,3,0,2,3,3],[0,3,0,4,0,3,0,1,0,3,4,3,3,1,3,3,3,0,3,1,3,0,4,3,3,1,1,0,3,0,3,3,0,0,4,4,0,1,5,4,3,3,5,0,3,3,4,3,0,2,0,1,1,1,0,1,3,0,1,2,1,3,3,2,3,3,0,3,0,1,0,1,3,3,4,4,1,0,1,2,2,1,3],[0,1,0,4,0,4,0,3,0,1,3,3,3,2,3,1,1,0,3,0,3,3,4,3,2,4,2,0,1,0,4,3,2,0,4,3,0,5,3,3,2,4,4,4,3,3,3,4,0,1,3,0,0,1,0,0,1,0,0,0,0,4,2,3,3,3,0,3,0,0,0,4,4,4,5,3,2,0,3,3,0,3,5],[0,2,0,3,0,0,0,3,0,1,3,0,2,0,0,0,1,0,3,1,1,3,3,0,0,3,0,0,3,0,2,3,1,0,3,1,0,3,3,2,0,4,2,2,0,2,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,2,1,2,0,1,0,1,0,0,0,1,3,1,2,0,0,0,1,0,0,1,4],[0,3,0,3,0,5,0,1,0,2,4,3,1,3,3,2,1,1,5,2,1,0,5,1,2,0,0,0,3,3,2,2,3,2,4,3,0,0,3,3,1,3,3,0,2,5,3,4,0,3,3,0,1,2,0,2,2,0,3,2,0,2,2,3,3,3,0,2,0,1,0,3,4,4,2,5,4,0,3,0,0,3,5],[0,3,0,3,0,3,0,1,0,3,3,3,3,0,3,0,2,0,2,1,1,0,2,0,1,0,0,0,2,1,0,0,1,0,3,2,0,0,3,3,1,2,3,1,0,3,3,0,0,1,0,0,0,0,0,2,0,0,0,0,0,2,3,1,2,3,0,3,0,1,0,3,2,1,0,4,3,0,1,1,0,3,3],[0,4,0,5,0,3,0,3,0,4,5,5,4,3,5,3,4,3,5,3,3,2,5,3,4,4,4,3,4,3,4,5,5,3,4,4,3,4,4,5,4,4,4,3,4,5,5,4,2,3,4,2,3,4,0,3,3,1,4,3,2,4,3,3,5,5,0,3,0,3,0,5,5,5,5,4,4,0,4,0,1,4,4],[0,4,0,4,0,3,0,3,0,3,5,4,4,2,3,2,5,1,3,2,5,1,4,2,3,2,3,3,4,3,3,3,3,2,5,4,1,3,3,5,3,4,4,0,4,4,3,1,1,3,1,0,2,3,0,2,3,0,3,0,0,4,3,1,3,4,0,3,0,2,0,4,4,4,3,4,5,0,4,0,0,3,4],[0,3,0,3,0,3,1,2,0,3,4,4,3,3,3,0,2,2,4,3,3,1,3,3,3,1,1,0,3,1,4,3,2,3,4,4,2,4,4,4,3,4,4,3,2,4,4,3,1,3,3,1,3,3,0,4,1,0,2,2,1,4,3,2,3,3,5,4,3,3,5,4,4,3,3,0,4,0,3,2,2,4,4],[0,2,0,1,0,0,0,0,0,1,2,1,3,0,0,0,0,0,2,0,1,2,1,0,0,1,0,0,0,0,3,0,0,1,0,1,1,3,1,0,0,0,1,1,0,1,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,2,2,0,3,4,0,0,0,1,1,0,0,1,0,0,0,0,0,1,1],[0,1,0,0,0,1,0,0,0,0,4,0,4,1,4,0,3,0,4,0,3,0,4,0,3,0,3,0,4,1,5,1,4,0,0,3,0,5,0,5,2,0,1,0,0,0,2,1,4,0,1,3,0,0,3,0,0,3,1,1,4,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],[1,4,0,5,0,3,0,2,0,3,5,4,4,3,4,3,5,3,4,3,3,0,4,3,3,3,3,3,3,2,4,4,3,1,3,4,4,5,4,4,3,4,4,1,3,5,4,3,3,3,1,2,2,3,3,1,3,1,3,3,3,5,3,3,4,5,0,3,0,3,0,3,4,3,4,4,3,0,3,0,2,4,3],[0,1,0,4,0,0,0,0,0,1,4,0,4,1,4,2,4,0,3,0,1,0,1,0,0,0,0,0,2,0,3,1,1,1,0,3,0,0,0,1,2,1,0,0,1,1,1,1,0,1,0,0,0,1,0,0,3,0,0,0,0,3,2,0,2,2,0,1,0,0,0,2,3,2,3,3,0,0,0,0,2,1,0],[0,5,1,5,0,3,0,3,0,5,4,4,5,1,5,3,3,0,4,3,4,3,5,3,4,3,3,2,4,3,4,3,3,0,3,3,1,4,4,3,4,4,4,3,4,5,5,3,2,3,1,1,3,3,1,3,1,1,3,3,2,4,5,3,3,5,0,4,0,3,0,4,4,3,5,3,3,0,3,4,0,4,3],[0,5,0,5,0,3,0,2,0,4,4,3,5,2,4,3,3,3,4,4,4,3,5,3,5,3,3,1,4,0,4,3,3,0,3,3,0,4,4,4,4,5,4,3,3,5,5,3,2,3,1,2,3,2,0,1,0,0,3,2,2,4,4,3,1,5,0,4,0,3,0,4,3,1,3,2,1,0,3,3,0,3,3],[0,4,0,5,0,5,0,4,0,4,5,5,5,3,4,3,3,2,5,4,4,3,5,3,5,3,4,0,4,3,4,4,3,2,4,4,3,4,5,4,4,5,5,0,3,5,5,4,1,3,3,2,3,3,1,3,1,0,4,3,1,4,4,3,4,5,0,4,0,2,0,4,3,4,4,3,3,0,4,0,0,5,5],[0,4,0,4,0,5,0,1,1,3,3,4,4,3,4,1,3,0,5,1,3,0,3,1,3,1,1,0,3,0,3,3,4,0,4,3,0,4,4,4,3,4,4,0,3,5,4,1,0,3,0,0,2,3,0,3,1,0,3,1,0,3,2,1,3,5,0,3,0,1,0,3,2,3,3,4,4,0,2,2,0,4,4],[2,4,0,5,0,4,0,3,0,4,5,5,4,3,5,3,5,3,5,3,5,2,5,3,4,3,3,4,3,4,5,3,2,1,5,4,3,2,3,4,5,3,4,1,2,5,4,3,0,3,3,0,3,2,0,2,3,0,4,1,0,3,4,3,3,5,0,3,0,1,0,4,5,5,5,4,3,0,4,2,0,3,5],[0,5,0,4,0,4,0,2,0,5,4,3,4,3,4,3,3,3,4,3,4,2,5,3,5,3,4,1,4,3,4,4,4,0,3,5,0,4,4,4,4,5,3,1,3,4,5,3,3,3,3,3,3,3,0,2,2,0,3,3,2,4,3,3,3,5,3,4,1,3,3,5,3,2,0,0,0,0,4,3,1,3,3],[0,1,0,3,0,3,0,1,0,1,3,3,3,2,3,3,3,0,3,0,0,0,3,1,3,0,0,0,2,2,2,3,0,0,3,2,0,1,2,4,1,3,3,0,0,3,3,3,0,1,0,0,2,1,0,0,3,0,3,1,0,3,0,0,1,3,0,2,0,1,0,3,3,1,3,3,0,0,1,1,0,3,3],[0,2,0,3,0,2,1,4,0,2,2,3,1,1,3,1,1,0,2,0,3,1,2,3,1,3,0,0,1,0,4,3,2,3,3,3,1,4,2,3,3,3,3,1,0,3,1,4,0,1,1,0,1,2,0,1,1,0,1,1,0,3,1,3,2,2,0,1,0,0,0,2,3,3,3,1,0,0,0,0,0,2,3],[0,5,0,4,0,5,0,2,0,4,5,5,3,3,4,3,3,1,5,4,4,2,4,4,4,3,4,2,4,3,5,5,4,3,3,4,3,3,5,5,4,5,5,1,3,4,5,3,1,4,3,1,3,3,0,3,3,1,4,3,1,4,5,3,3,5,0,4,0,3,0,5,3,3,1,4,3,0,4,0,1,5,3],[0,5,0,5,0,4,0,2,0,4,4,3,4,3,3,3,3,3,5,4,4,4,4,4,4,5,3,3,5,2,4,4,4,3,4,4,3,3,4,4,5,5,3,3,4,3,4,3,3,4,3,3,3,3,1,2,2,1,4,3,3,5,4,4,3,4,0,4,0,3,0,4,4,4,4,4,1,0,4,2,0,2,4],[0,4,0,4,0,3,0,1,0,3,5,2,3,0,3,0,2,1,4,2,3,3,4,1,4,3,3,2,4,1,3,3,3,0,3,3,0,0,3,3,3,5,3,3,3,3,3,2,0,2,0,0,2,0,0,2,0,0,1,0,0,3,1,2,2,3,0,3,0,2,0,4,4,3,3,4,1,0,3,0,0,2,4],[0,0,0,4,0,0,0,0,0,0,1,0,1,0,2,0,0,0,0,0,1,0,2,0,1,0,0,0,0,0,3,1,3,0,3,2,0,0,0,1,0,3,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,4,0,2,0,0,0,0,0,0,2],[0,2,1,3,0,2,0,2,0,3,3,3,3,1,3,1,3,3,3,3,3,3,4,2,2,1,2,1,4,0,4,3,1,3,3,3,2,4,3,5,4,3,3,3,3,3,3,3,0,1,3,0,2,0,0,1,0,0,1,0,0,4,2,0,2,3,0,3,3,0,3,3,4,2,3,1,4,0,1,2,0,2,3],[0,3,0,3,0,1,0,3,0,2,3,3,3,0,3,1,2,0,3,3,2,3,3,2,3,2,3,1,3,0,4,3,2,0,3,3,1,4,3,3,2,3,4,3,1,3,3,1,1,0,1,1,0,1,0,1,0,1,0,0,0,4,1,1,0,3,0,3,1,0,2,3,3,3,3,3,1,0,0,2,0,3,3],[0,0,0,0,0,0,0,0,0,0,3,0,2,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,3,0,3,1,0,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,0,2,3,0,0,0,0,0,0,0,0,3],[0,2,0,3,1,3,0,3,0,2,3,3,3,1,3,1,3,1,3,1,3,3,3,1,3,0,2,3,1,1,4,3,3,2,3,3,1,2,2,4,1,3,3,0,1,4,2,3,0,1,3,0,3,0,0,1,3,0,2,0,0,3,3,2,1,3,0,3,0,2,0,3,4,4,4,3,1,0,3,0,0,3,3],[0,2,0,1,0,2,0,0,0,1,3,2,2,1,3,0,1,1,3,0,3,2,3,1,2,0,2,0,1,1,3,3,3,0,3,3,1,1,2,3,2,3,3,1,2,3,2,0,0,1,0,0,0,0,0,0,3,0,1,0,0,2,1,2,1,3,0,3,0,0,0,3,4,4,4,3,2,0,2,0,0,2,4],[0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,2,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,3,1,0,0,0,0,0,0,0,3],[0,3,0,3,0,2,0,3,0,3,3,3,2,3,2,2,2,0,3,1,3,3,3,2,3,3,0,0,3,0,3,2,2,0,2,3,1,4,3,4,3,3,2,3,1,5,4,4,0,3,1,2,1,3,0,3,1,1,2,0,2,3,1,3,1,3,0,3,0,1,0,3,3,4,4,2,1,0,2,1,0,2,4],[0,1,0,3,0,1,0,2,0,1,4,2,5,1,4,0,2,0,2,1,3,1,4,0,2,1,0,0,2,1,4,1,1,0,3,3,0,5,1,3,2,3,3,1,0,3,2,3,0,1,0,0,0,0,0,0,1,0,0,0,0,4,0,1,0,3,0,2,0,1,0,3,3,3,4,3,3,0,0,0,0,2,3],[0,0,0,1,0,0,0,0,0,0,2,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,1,0,0,0,0,0,3],[0,1,0,3,0,4,0,3,0,2,4,3,1,0,3,2,2,1,3,1,2,2,3,1,1,1,2,1,3,0,1,2,0,1,3,2,1,3,0,5,5,1,0,0,1,3,2,1,0,3,0,0,1,0,0,0,0,0,3,4,0,1,1,1,3,2,0,2,0,1,0,2,3,3,1,2,3,0,1,0,1,0,4],[0,0,0,1,0,3,0,3,0,2,2,1,0,0,4,0,3,0,3,1,3,0,3,0,3,0,1,0,3,0,3,1,3,0,3,3,0,0,1,2,1,1,1,0,1,2,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,2,2,1,2,0,0,2,0,0,0,0,2,3,3,3,3,0,0,0,0,1,4],[0,0,0,3,0,3,0,0,0,0,3,1,1,0,3,0,1,0,2,0,1,0,0,0,0,0,0,0,1,0,3,0,2,0,2,3,0,0,2,2,3,1,2,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,0,0,0,0,2,3],[2,4,0,5,0,5,0,4,0,3,4,3,3,3,4,3,3,3,4,3,4,4,5,4,5,5,5,2,3,0,5,5,4,1,5,4,3,1,5,4,3,4,4,3,3,4,3,3,0,3,2,0,2,3,0,3,0,0,3,3,0,5,3,2,3,3,0,3,0,3,0,3,4,5,4,5,3,0,4,3,0,3,4],[0,3,0,3,0,3,0,3,0,3,3,4,3,2,3,2,3,0,4,3,3,3,3,3,3,3,3,0,3,2,4,3,3,1,3,4,3,4,4,4,3,4,4,3,2,4,4,1,0,2,0,0,1,1,0,2,0,0,3,1,0,5,3,2,1,3,0,3,0,1,2,4,3,2,4,3,3,0,3,2,0,4,4],[0,3,0,3,0,1,0,0,0,1,4,3,3,2,3,1,3,1,4,2,3,2,4,2,3,4,3,0,2,2,3,3,3,0,3,3,3,0,3,4,1,3,3,0,3,4,3,3,0,1,1,0,1,0,0,0,4,0,3,0,0,3,1,2,1,3,0,4,0,1,0,4,3,3,4,3,3,0,2,0,0,3,3],[0,3,0,4,0,1,0,3,0,3,4,3,3,0,3,3,3,1,3,1,3,3,4,3,3,3,0,0,3,1,5,3,3,1,3,3,2,5,4,3,3,4,5,3,2,5,3,4,0,1,0,0,0,0,0,2,0,0,1,1,0,4,2,2,1,3,0,3,0,2,0,4,4,3,5,3,2,0,1,1,0,3,4],[0,5,0,4,0,5,0,2,0,4,4,3,3,2,3,3,3,1,4,3,4,1,5,3,4,3,4,0,4,2,4,3,4,1,5,4,0,4,4,4,4,5,4,1,3,5,4,2,1,4,1,1,3,2,0,3,1,0,3,2,1,4,3,3,3,4,0,4,0,3,0,4,4,4,3,3,3,0,4,2,0,3,4],[1,4,0,4,0,3,0,1,0,3,3,3,1,1,3,3,2,2,3,3,1,0,3,2,2,1,2,0,3,1,2,1,2,0,3,2,0,2,2,3,3,4,3,0,3,3,1,2,0,1,1,3,1,2,0,0,3,0,1,1,0,3,2,2,3,3,0,3,0,0,0,2,3,3,4,3,3,0,1,0,0,1,4],[0,4,0,4,0,4,0,0,0,3,4,4,3,1,4,2,3,2,3,3,3,1,4,3,4,0,3,0,4,2,3,3,2,2,5,4,2,1,3,4,3,4,3,1,3,3,4,2,0,2,1,0,3,3,0,0,2,0,3,1,0,4,4,3,4,3,0,4,0,1,0,2,4,4,4,4,4,0,3,2,0,3,3],[0,0,0,1,0,4,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,3,2,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,2],[0,2,0,3,0,4,0,4,0,1,3,3,3,0,4,0,2,1,2,1,1,1,2,0,3,1,1,0,1,0,3,1,0,0,3,3,2,0,1,1,0,0,0,0,0,1,0,2,0,2,2,0,3,1,0,0,1,0,1,1,0,1,2,0,3,0,0,0,0,1,0,0,3,3,4,3,1,0,1,0,3,0,2],[0,0,0,3,0,5,0,0,0,0,1,0,2,0,3,1,0,1,3,0,0,0,2,0,0,0,1,0,0,0,1,1,0,0,4,0,0,0,2,3,0,1,4,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,1,0,0,0,0,0,0,0,2,0,0,3,0,0,0,0,0,3],[0,2,0,5,0,5,0,1,0,2,4,3,3,2,5,1,3,2,3,3,3,0,4,1,2,0,3,0,4,0,2,2,1,1,5,3,0,0,1,4,2,3,2,0,3,3,3,2,0,2,4,1,1,2,0,1,1,0,3,1,0,1,3,1,2,3,0,2,0,0,0,1,3,5,4,4,4,0,3,0,0,1,3],[0,4,0,5,0,4,0,4,0,4,5,4,3,3,4,3,3,3,4,3,4,4,5,3,4,5,4,2,4,2,3,4,3,1,4,4,1,3,5,4,4,5,5,4,4,5,5,5,2,3,3,1,4,3,1,3,3,0,3,3,1,4,3,4,4,4,0,3,0,4,0,3,3,4,4,5,0,0,4,3,0,4,5],[0,4,0,4,0,3,0,3,0,3,4,4,4,3,3,2,4,3,4,3,4,3,5,3,4,3,2,1,4,2,4,4,3,1,3,4,2,4,5,5,3,4,5,4,1,5,4,3,0,3,2,2,3,2,1,3,1,0,3,3,3,5,3,3,3,5,4,4,2,3,3,4,3,3,3,2,1,0,3,2,1,4,3],[0,4,0,5,0,4,0,3,0,3,5,5,3,2,4,3,4,0,5,4,4,1,4,4,4,3,3,3,4,3,5,5,2,3,3,4,1,2,5,5,3,5,5,2,3,5,5,4,0,3,2,0,3,3,1,1,5,1,4,1,0,4,3,2,3,5,0,4,0,3,0,5,4,3,4,3,0,0,4,1,0,4,4],[1,3,0,4,0,2,0,2,0,2,5,5,3,3,3,3,3,0,4,2,3,4,4,4,3,4,0,0,3,4,5,4,3,3,3,3,2,5,5,4,5,5,5,4,3,5,5,5,1,3,1,0,1,0,0,3,2,0,4,2,0,5,2,3,2,4,1,3,0,3,0,4,5,4,5,4,3,0,4,2,0,5,4],[0,3,0,4,0,5,0,3,0,3,4,4,3,2,3,2,3,3,3,3,3,2,4,3,3,2,2,0,3,3,3,3,3,1,3,3,3,0,4,4,3,4,4,1,1,4,4,2,0,3,1,0,1,1,0,4,1,0,2,3,1,3,3,1,3,4,0,3,0,1,0,3,1,3,0,0,1,0,2,0,0,4,4],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,3,0,3,0,2,0,3,0,1,5,4,3,3,3,1,4,2,1,2,3,4,4,2,4,4,5,0,3,1,4,3,4,0,4,3,3,3,2,3,2,5,3,4,3,2,2,3,0,0,3,0,2,1,0,1,2,0,0,0,0,2,1,1,3,1,0,2,0,4,0,3,4,4,4,5,2,0,2,0,0,1,3],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0,0,1,1,0,0,0,4,2,1,1,0,1,0,3,2,0,0,3,1,1,1,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1,0,0,0,2,0,0,0,1,4,0,4,2,1,0,0,0,0,0,1],[0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,3,1,0,0,0,2,0,2,1,0,0,1,2,1,0,1,1,0,0,3,0,0,0,0,0,0,0,0,0,0,0,1,3,1,0,0,0,0,0,1,0,0,2,1,0,0,0,0,0,0,0,0,2],[0,4,0,4,0,4,0,3,0,4,4,3,4,2,4,3,2,0,4,4,4,3,5,3,5,3,3,2,4,2,4,3,4,3,1,4,0,2,3,4,4,4,3,3,3,4,4,4,3,4,1,3,4,3,2,1,2,1,3,3,3,4,4,3,3,5,0,4,0,3,0,4,3,3,3,2,1,0,3,0,0,3,3],[0,4,0,3,0,3,0,3,0,3,5,5,3,3,3,3,4,3,4,3,3,3,4,4,4,3,3,3,3,4,3,5,3,3,1,3,2,4,5,5,5,5,4,3,4,5,5,3,2,2,3,3,3,3,2,3,3,1,2,3,2,4,3,3,3,4,0,4,0,2,0,4,3,2,2,1,2,0,3,0,0,4,1]];function t(){var s=6,i=-1,a=100,l=1e3,c=4,u=this;function d(){u.reset()}this.reset=function(){this._mTotalRel=0,this._mRelSample=[];for(var h=0;h<s;this._mRelSample[h++]=0);this._mNeedToSkipCharNum=0,this._mLastCharOrder=-1,this._mDone=!1},this.feed=function(h,f){if(!this._mDone)for(var p=this._mNeedToSkipCharNum;p<f;){var m=this.getOrder(h.slice(p,p
120+2)),y=m[0],_=m[1];if(p+=_,p>f)this._mNeedToSkipCharNum=p-f,this._mLastCharOrder=-1;else{if(y!=-1&&this._mLastCharOrder!=-1){if(this._mTotalRel+=1,this._mTotalRel>l){this._mDone=!0;break}this._mRelSample[e.jp2CharContext[this._mLastCharOrder][y]]+=1}this._mLastCharOrder=y}}},this.gotEnoughData=function(){return this._mTotalRel>a},this.getConfidence=function(){return this._mTotalRel>c?(this._mTotalRel-this._mRelSample[0])/this._mTotalRel:i},this.getOrder=function(h){return[-1,1]},d()}function n(){this.getOrder=function(s){if(!s)return[-1,1];if(s.charCodeAt(0)>=129&&s.charCodeAt(0)<=159||s.charCodeAt(0)>=224&&s.charCodeAt(0)<=252)var i=2;else i=1;return s.length>1&&s.charCodeAt(0)==130&&s.charCodeAt(1)>=159&&s.charCodeAt(0)<=241?[s.charCodeAt(1)-159,i]:[-1,i]}}n.prototype=new t,e.SJISContextAnalysis=n;function r(){this.getOrder=function(s){if(!s)return[-1,1];if(s.charCodeAt(0)>=142||s.charCodeAt(0)>=161&&s.charCodeAt(0)<=254)var i=2;else s.charCodeAt(0)==143?i=3:i=1;return s.length>1&&s.charCodeAt(0)==164&&s.charCodeAt(1)>=161&&s.charCodeAt(1)<=243?[s.charCodeAt(1)-161,i]:[-1,i]}}r.prototype=new t,e.EUCJPContextAnalysis=r}(xg)),xg}var Sg,PC;
120function N5e(){if(PC)return Sg;PC=1;var e=mo(),t=Bu(),n=z5e(),r=Uu().SJISDistributionAnalysis,s=lW().SJISContextAnalysis,i=on(),a=zl();function l(){t.apply(this);var c=this;function u(){c._mCodingSM=new e(n),c._mDistributionAnalyzer=new r,c._mContextAnalyzer=new s,c.reset()}this.reset=function(){l.prototype.reset.apply(this),this._mContextAnalyzer.reset()},this.getCharsetName=function(){return"SHIFT_JIS"},this.feed=function(d){for(var h=d.length,f=0;f<h;f++){var p=this._mCodingSM.nextState(d[f]);if(p==i.error){a.log(this.getCharsetName()+" prober hit error at byte "+f+`
121`),this._mState=i.notMe;break}else if(p==i.itsMe){this._mState=i.foundIt;break}else if(p==i.start){var m=this._mCodingSM.getCurrentCharLen();f==0?(this._mLastChar[1]=d[0],this._mContextAnalyzer.feed(this._mLastChar.slice(2-m),m),this._mDistributionAnalyzer.feed(this._mLastChar,m)):(this._mContextAnalyzer.feed(d.slice(f+1-m,f+3-m),m),this._mDistributionAnalyzer.feed(d.slice(f-1,f+1),m))}}return this._mLastChar[0]=d[h-1],this.getState()==i.detecting&&this._mContextAnalyzer.gotEnoughData()&&this.getConfidence()>i.SHORTCUT_THRESHOLD&&(this._mState=i.foundIt),this.getState()},this.getConfidence=function(){var d=this._mContextAnalyzer.getConfidence(),h=this._mDistributionAnalyzer.getConfidence();return Math.max(d,h)},u()}return l.prototype=new t,Sg=l,Sg}var Tg,AC;function I5e(){if(AC)return Tg;AC=1;var e=on(),t=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,4,4,4,4,4,4,4,4,4,4,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,1,3,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5],n=[3,4,3,5,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.start,e.error,e.start,e.error,e.error,e.error,e.error,e.error,e.start,e.error,e.error,e.error,3,e.error,3,e.error,e.error,e.error,e.start,e.start,e.start,e.start],r=[2,2,2,3,1,0];return Tg={classTable:t,classFactor:6,stateTable:n,charLenTable:r,name:"EUC-JP"},Tg}var jg,LC;function R5e(){if(LC)return jg;LC=1;var e=mo(),t=Bu(),n=Uu().EUCJPDistributionAnalysis,r=lW().EUCJPContextAnalysis,s=I5e(),i=on(),a=zl();function l(){t.apply(this);var c=this;function u(){c._mCodingSM=new e(s),c._mDistributionAnalyzer=new n,c._mContextAnalyzer=new r,c.reset()}this.reset=function(){l.prototype.reset.apply(this),this._mContextAnalyzer.reset()},this.getCharsetName=function(){return"EUC-JP"},this.feed=function(d){for(var h=d.length,f=0;f<h;f++){var p=this._mCodingSM.nextState(d[f]);if(p==i.error){a.log(this.getCharsetName()+" prober hit error at byte "+f+`
122`),this._mState=i.notMe;break}else if(p==i.itsMe){this._mState=i.foundIt;break}else if(p==i.start){var m=this._mCodingSM.getCurrentCharLen();f==0?(this._mLastChar[1]=d[0],this._mContextAnalyzer.feed(this._mLastChar,m),this._mDistributionAnalyzer.feed(this._mLastChar,m)):(this._mContextAnalyzer.feed(d.slice(f-1,f+1),m),this._mDistributionAnalyzer.feed(d.slice(f-1,f+1),m))}}return this._mLastChar[0]=d[h-1],this.getState()==i.detecting&&this._mContextAnalyzer.gotEnoughData()&&this.getConfidence()>i.SHORTCUT_THRESHOLD&&(this._mState=i.foundIt),this.getState()},this.getConfidence=function(){var d=this._mContextAnalyzer.getConfidence(),h=this._mDistributionAnalyzer.getConfidence();return Math.max(d,h)},u()}return l.prototype=new t,jg=l,jg}var Cg,MC;function P5e(){if(MC)return Cg;MC=1;var e=on(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,0],n=[e.error,e.start,e.start,e.start,e.start,e.start,3,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,4,e.error,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.start,e.start,e.start,e.start,e.start,e.start],r=[
1220,1,1,1,1,1,2];return Cg={classTable:t,classFactor:7,stateTable:n,charLenTable:r,name:"GB2312"},Cg}var Eg,OC;function A5e(){if(OC)return Eg;OC=1;var e=Bu(),t=mo(),n=P5e(),r=Uu().GB2312DistributionAnalysis;function s(){e.apply(this);var i=this;function a(){i._mCodingSM=new t(n),i._mDistributionAnalyzer=new r,i.reset()}this.getCharsetName=function(){return"GB2312"},a()}return s.prototype=new e,Eg=s,Eg}var zg,DC;function L5e(){if(DC)return zg;DC=1;var e=on(),t=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0],n=[e.error,e.start,3,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start],r=[0,1,2,0];return zg={classTable:t,classFactor:4,stateTable:n,charLenTable:r,name:"EUC-KR"},zg}var Ng,WC;function M5e(){if(WC)return Ng;WC=1;var e=mo(),t=Bu(),n=Uu().EUCKRDistributionAnalysis,r=L5e();function s(){t.apply(this);var i=this;function a(){i._mCodingSM=new e(r),i._mDistributionAnalyzer=new n,i.reset()}this.getCharsetName=function(){return"EUC-KR"},a()}return s.prototype=new t,Ng=s,Ng}var Ig,FC;function O5e(){if(FC)return Ig;FC=1;var e=on(),t=[2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,2,2,2,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,4,4,4,4,4,4,5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0],n=[e.error,e.error,e.start,3,3,3,4,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.start,e.error,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.start,e.error,e.start,e.start,e.start,e.error,e.start,e.start,e.start,e.start,e.start,e.start],r=[0,0,1,2,2,2,3];return Ig={classTable:t,classFactor:7,stateTable:n,charLenTable:r,name:"x-euc-tw"},Ig}var Rg,$C;function D5e(){if($C)return Rg;$C=1;var e=mo(),t=Bu(),n=Uu().EUCTWDistributionAnalysis,r=O5e();function s(){t.apply(this);var i=this;function a(){i._mCodingSM=new e(r),i._mDistributionAnalyzer=new n,i.reset()}this.getCharsetName=function(){return"EUC-TW"},a()}return s.prototype=new t,Rg=s,Rg}var Pg,BC;function W5e(){if(BC)return Pg;BC=1;var e=oW(),t=j5e(),n=E5e(),r=N5e(),s=R5e(),i=A5e(),a=M5e(),l=D5e();function c(){e.apply(this),this._mProbers=[new n,new r,new s,new i,new a,new t,new l],this.reset()}return c.prototype=new e,Pg=c,Pg}var Ag,UC;function F5e(){if(UC)return Ag;UC=1;var e=El(),t=on(),n=zl();function r(s,i,a){e.apply(this);var l=64,c=1024,u=.95,d=.05,h=250,f=4,p=f-1,m=this;function y(_,g,b){m._mModel=_,m._mReversed=g,m._mNameProber=b,m.reset()}this.reset=function(){r.prototype.reset.apply(this),this._mLastOrder=255,this._mSeqCounters=[];for(var _=0;_<f;this._mSeqCounters[_++]=0);this._mTotalSeqs=0,this._mTotalChar=0,this._mFreqChar=0},this.getCharsetName=function(){return this._mNameProber?this._mNameProber.getCharsetName():this._mModel.charsetName},this.feed=function(_){this._mModel.keepEnglishLetter||(_=this.filterWithoutEnglishLetters(_));var g=_.length;if(!g)return this.getState();for(var b=0,k;b<g;b++){k=_.charCodeAt(b);var x=this._mModel.charToOrderMap[k];x<h&&this._mTotalChar++,x<l&&(this._mFreqChar++,this._mLastOrder<l&&(this._mTotalSeqs++,this._mReversed?this._mSeqCounters[this._mModel.precedenceMatrix[x*l+this._mLastOrder]]++:this._mSeqCounters[this._mModel.precedenceMatrix[this._mLastOrder*l+x]]++)),this._mLastOrder=x}if(this.getState()==t.detecting&&m._mTotalSeqs>c){var S=this.getConfidence();S>u?n.log(this._mModel.charsetName+" confidence = "+S+`, we have a winner
123`):S<d&&(n.log(this._mModel.charsetName+" confidence = "+S+", below negative shortcut threshhold "+d+`
124`),this._mState=t.notMe)}
124return this.getState()},this.getConfidence=function(){var _=.01;return this._mTotalSeqs>0&&(_=1*this._mSeqCounters[p]/this._mTotalSeqs/this._mModel.mTypicalPositiveRatio,_*=this._mFreqChar/this._mTotalChar,_>=1&&(_=.99)),_},i=i!==void 0?i:!1,a=a!==void 0?a:null,y(s,i,a)}return r.prototype=new e,Ag=r,Ag}var Lg={},qC;function $5e(){return qC||(qC=1,function(e){e.win1255_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,69,91,79,80,92,89,97,90,68,111,112,82,73,95,85,78,121,86,71,67,102,107,84,114,103,115,253,253,253,253,253,253,50,74,60,61,42,76,70,64,53,105,93,56,65,54,49,66,110,51,43,44,63,81,77,98,75,108,253,253,253,253,253,124,202,203,204,205,40,58,206,207,208,209,210,211,212,213,214,215,83,52,47,46,72,32,94,216,113,217,109,218,219,220,221,34,116,222,118,100,223,224,117,119,104,125,225,226,87,99,227,106,122,123,228,55,229,230,101,231,232,120,233,48,39,57,234,30,59,41,88,33,37,36,31,29,35,235,62,28,236,126,237,238,38,45,239,240,241,242,243,127,244,245,246,247,248,249,250,9,8,20,16,3,2,24,14,22,1,25,15,4,11,6,23,12,19,13,26,18,27,21,17,7,10,5,251,252,128,96,253],e.HebrewLangModel=[0,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,3,2,1,2,0,1,0,0,3,0,3,1,0,0,1,3,2,0,1,1,2,0,2,2,2,1,1,1,1,2,1,1,1,2,0,0,2,2,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,1,2,1,2,1,2,0,0,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,1,2,1,3,1,1,0,0,2,0,0,0,1,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,0,1,2,2,1,3,1,2,1,1,2,2,0,0,2,2,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,1,0,1,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,2,2,2,2,3,2,1,2,1,2,2,2,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,2,3,2,2,3,2,2,2,1,2,2,2,2,1,2,1,1,2,2,0,1,2,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,0,2,2,2,2,2,0,2,0,2,2,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,0,2,2,2,0,2,1,2,2,2,0,0,2,1,0,0,0,0,1,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,2,1,2,3,2,2,2,1,2,1,2,2,2,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,0,3,3,3,3,3,3,3,3,3,2,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,1,0,2,0,2,0,2,1,2,2,2,0,0,1,2,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,2,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,2,3,2,2,3,2,1,2,1,1,1,0,1,1,1,1,1,3,0,1,0,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,0,0,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,2,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,0,2,0,1,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,2,3,3,3,2,1,2,3,3,2,3,3,3,3,2,3,2,1,2,0,2,1,2,0,2,0,2,2,2,0,0,1,2,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,3,3,3,3,3,3,3,3,3,2,3,3,3,1,2,2,3,3,2,3,2,3,2,2,3,1,2,2,0,2,2,2,0,2,1,2,2,2,0,0,1,2,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,2,3,3,2,2,2,3,3,3,3,1,3,2,2,2,0,2,0,1,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,3,3,3,2,3,2,2,2,1,2,2,0,2,2,2,2,0,2,0,2,2,2,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,1,3,2,3,3,2,3,3,2,2,1,2,2,2,2,2,2,0,2,1,2,1,2,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,2,3,2,3,3,2,3,3,3,3,2,3,2,3,3,3,3,3,2,2,2,2,2,2,2,1,0,2,0,1,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,2,1,2,3,3,3,3,3,3,3,2,3,2,3,2,1,2,3,0,2,1,2,2,0,2,1,1,2,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,2,0,3,3,3,3,3,3,3,3,3,2,3,3,3,3,2,1,3,1,2,2,2,1,2,3,3,1,2,1,2,2,2,2,0,1,1,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,0,2,3,3,3,1,3,3,3,1,2,2,2,2,1,1,2,2,2,2,2,2,0,2,0,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,3,3,3,3,3,2,3,3,3,2,2,3,3,3,2,1,2,3,2,3,2,2,2,2,1,2,1,1,1,2,2,0,2,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,3,2,3,1,2,2,2,2,3,2,3,1,1,2,2,1,2,2,1,1,0,2,2,2,2,0,1,0,1,2,2,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,3,0,0,1,1,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1,0,1,0,1,1,0,1,1,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,3,2,2,1,2,2,2,2,2,2,2,1,2,2,1,2,2,1,1,1,1,1,1,1,1,2,1,1,0,3,3,3,0,3,0,2,2,2,2,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,2,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,1,2,2,2,1,1,1,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,0,2,2,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,1,0,2,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,3,1,1,2,2,2,2,2,1,2,2,2,1,1,2,2,2,2,2,2,2,1,2,2,1,0,1,1,1,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,1,1,1,1,2,1,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,1,0,0,2,1,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,1,2,1,2,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,1,2,2,2,2,2,2,2,2,2,2,1,2,1,2,1,1,2,1,1,1,2,1,2,1,2,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,2,2,2,1,2,2,2,2,2,2,2,2,1,2,1,1,1,1,1,1,2,1,2,1,1,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,0,2,0,1,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,0,1,1,0,1,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,1,1,0,1,0,0,0,1,1,0,1,1,0,0,0,0,0,1,1,0,0,0,1,1,1,2,1,2,2,2,0,2,0,2,0,1,1,2,1,1,1,1,2,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,2,2,0,1,0,0,1,1,2,2,1,2,0,2,0,0,0,1,2,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,1,2,0,2,0,0,1,1,1,1,1,1,0,1,0,0,0,1,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,2,1,1,0,1,0,0,1,1,1,2,2,0,0,1,0,0,0,1,0,0,1,1,1,2,1,0,1,1,1,0,1,0,1,1,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,2,2,1,0,2,0,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,1,0,1,1,1,1,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,1,1,1,0,1,1,0,1,0,0,0,1,1,0,1,2,0,1,0,1,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,0,1,0,0,1,1,2,1,1,2,0,1,0,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,2,0,1,0,0,0,0,2,1,1,2,0,2,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,1,1,0,1,0,0,2,2,1,2,1,1,0,1,0,0,0,1,1,0,1,2,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,0,0,0,0,0,1,1,0,1,0,0,1,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,0,0,0,0,2,1,1,1,0,2,1,1,0,0,0,2,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,2,0,1,0,0,1,1,0,2,1,1,0,1,0,0,0,1,1,0,1,2,2,1,1,1,0,1,1,0,1,1,0,1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,1,1,0,1,0,0,1,1,0,1,2,1,0,2,0,0,0,1,1,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,2,0,2,1,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,2,0,1,0,0,1,1,1,0,1,0,0,1,0,0,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,0,0,2,1,1,1,1,1,0,1,0,0,0,0,1,0,1,0,1,1,1,2,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,1,0,0,0,0,0,1,1,1,1,1,0,1,0,0,0,1,1,0,0],e.Win1255HebrewModel={charToOrderMap:e.win1255_CharToOrderMap,precedenceMatrix:e.HebrewLangModel,mTypicalPositiveRatio:.984004,keepEnglishLetter:!1,charsetName:"windows-1255"}}(Lg)),Lg}var Mg,HC;function B5e(){if(HC)return Mg;HC=1;var e=El(),t=on();Array.prototype.indexOf||(Array.prototype.indexOf=function(r){var s=this.length>>>0,i=Number(arguments[1])||0;for(i=i<0?Math.ceil(i):Math.floor(i),i<0&&(i+=s);i<s;i++)if(i in this&&this[i]===r)return i;return-1});function n(){e.apply(this);var r="ê",s="ë",i="í",a="î",l="ï",c="ð",u="ó",d="ô",h="õ",f=5,p=.01,m="ISO-8859-8",y="windows-1255",_=this;function g(){_._mLogicalProber=null,_._mVisualProber=null,_.reset()}this.reset=function(){this._mFinalCharLogicalScore=0,this._mFinalCharVisualScore=0,this._mPrev=" ",this._mBeforePrev=" "},this.setModelProbers=function(b,k){this._mLogicalProber=b,this._mVisualProber=k},this.isFinal=function(b){return[r,i,l,u,h].indexOf(b)!=-1},this.isNonFinal=function(b){return[s,a,c,d].indexOf(b)!=-1},this.feed=function(b){if(this.getState()==t.notMe)return t.notMe;b=this.filterHighBitOnly(b);for(var k=0,x;k<b.length;k++)x=b[k],x==" "?this._mBeforePrev!=" "&&(this.isFinal(this._mPrev)?this._mFinalCharLogicalScore++:this.isNonFinal(this._mPrev)&&this._mFinalCharVisualScore++):this._mBeforePrev==" "&&this.isFinal(this._mPrev)&&x!=" "&&this._mFinalCharVisualScore++,this._mBeforePrev=this._mPrev,this._mPrev=x;return t.detecting},this.getCharsetName=function(){var b=this._mFinalCharLogicalScore-this._mFinalCharVisualScore;if(b>=f)return y;if(b<=-f)return m;var k=this._mLogicalProber.getConfidence()-this._mVisualProber.getConfidence();return k>p?y:k<-p||b<0?m:y}
124,this.getState=function(){return this._mLogicalProber.getState()==t.notMe&&this._mVisualProber.getState()==t.notMe?t.notMe:t.detecting},g()}return n.prototype=new e,Mg=n,Mg}var Og={},GC;function U5e(){return GC||(GC=1,function(e){e.KOI8R_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,68,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,27,3,21,28,13,2,39,19,26,4,23,11,8,12,5,1,15,16,9,7,6,14,24,10,17,18,20,25,30,29,22,54,59,37,44,58,41,48,53,46,55,42,60,36,49,38,31,34,35,43,45,32,40,52,56,33,61,62,51,57,47,63,50,70],e.win1251_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,68,247,248,249,250,251,252,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16],e.latin5_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16,239,68,240,241,242,243,244,245,246,247,248,249,250,251,252,255],e.macCyrillic_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,68,16,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,255],e.IBM855_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,191,192,193,194,68,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,27,59,54,70,3,37,21,44,28,58,13,41,2,48,39,53,19,46,218,219,220,221,222,223,224,26,55,4,42,225,226,227,228,23,60,229,230,231,232,233,234,235,11,36,236,237,238,239,240,241,242,243,8,49,12,38,5,31,1,34,15,244,245,246,247,35,16,248,43,9,45,7,32,6,40,14,52,24,56,10,33,17,61,249,250,18,62,20,51,25,57,30,47,29,63,22,50,251,252,255],e.IBM866_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,142,143,144,145,146,147,148,149,150,151,152,74,153,75,154,155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,253,71,172,66,173,65,174,76,175,64,176,177,77,72,178,69,67,179,78,73,180,181,79,182,183,184,185,253,253,253,253,253,37,44,33,46,41,48,56,51,42,60,36,49,38,31,34,35,45,32,40,52,53,55,58,50,57,63,70,62,61,47,59,43,3,21,10,19,13,2,24,20,4,23,11,8,12,5,1,15,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,9,7,6,14,39,26,28,22,25,29,54,18,17,30,27,16,239,68,240,241,242,243,244,245,246,247,248,249,250,251,252,255],e.RussianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,1,3,3,3,2,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,2,2,2,2,2,0,0,2,3,3,3,2,3,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,3,2,3,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,2,2,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,2,3,3,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,3,3,3,3,3,3,3,3,3,3,3,2,1,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,3,3,3,2,1,0,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,2,2,2,3,1,3,3,1,3,3,3,3,2,2,3,0,2,2,2,3,3,2,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,3,3,3,2,2,3,2,3,3,3,2,1,2,2,0,1,2,2,2,2,2,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,3,0,2,2,3,3,2,1,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,1,2,3,2,2,3,2,3,3,3,3,2,2,3,0,3,2,2,3,1,1,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,2,3,3,3,3,2,2,2,0,3,3,3,2,2,2,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,2,3,2,3,3,3,3,3,3,2,3,2,2,0,1,3,2,1,2,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,2,1,1,3,0,1,1,1,1,2,1,1,0,2,2,2,1,2,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,2,2,2,2,1,3,2,3,2,3,2,1,2,2,0,1,1,2,1,2,1,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,3,2,2,3,2,3,3,3,2,2,2,2,0,2,2,2,2,3,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,3,2,3,2,2,3,3,3,3,3,3,3,3,3,1,3,2,0,0,3,3,3,3,2,3,3,3,3,2,3,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,3,2,2,3,3,0,2,1,0,3,2,3,2,3,0,0,1,2,0,0,1,0,1,2,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,0,2,3,3,3,3,2,3,3,3,3,1,2,2,0,0,2,3,2,2,2,3,2,3,2,2,3,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,0,2,3,2,3,0,1,2,3,3,2,0,2,3,0,0,2,3,2,2,0,1,3,1,3,2,2,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,3,0,2,3,3,3,3,3,3,3,3,2,1,3,2,0,0,2,2,3,3,3,2,3,3,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,3,3,2,2,2,3,3,0,0,1,1,1,1,1,2,0,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,3,3,3,3,3,3,3,0,3,2,3,3,2,3,2,0,2,1,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,3,2,2,2,2,3,1,3,2,3,1,1,2,1,0,2,2,2,2,1,3,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,2,3,3,3,3,3,1,2,2,1,3,1,0,3,0,0,3,0,0,0,1,1,0,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,2,1,1,3,3,3,2,2,1,2,2,3,1,1,2,0,0,2,2,1,3,0,0,2,1,1,2,1,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,3,3,3,1,2,2,2,1,2,1,3,3,1,1,2,1,2,1,2,2,0,2,0,0,1,1,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,3,2,1,3,2,2,3,2,0,3,2,0,3,0,1,0,1,1,0,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2,3,3,3,2,2,2,3,3,1,2,1,2,1,0,1,0,1,1,0,1,0,0,2,1,1,1,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3,1,1,2,1,2,3,3,2,2,1,2,2,3,0,2,1,0,0,2,2,3,2,1,2,2,2,2,2,3,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,1,1,0,1,1,2,2,1,1,3,0,0,1,3,1,1,1,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,3,3,3,2,0,0,0,2,1,0,1,0,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,2,3,2,2,2,1,2,2,2,1,2,1,0,0,1,1,1,0,2,0,1,1,1,0,0,1,1,1,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,0,0,0,0,1,0,0,0,0,3,0,1,2,1,0,0,0,0,0,0,0,1,1,0,0,1,1,1,0,1,0,1,2,0,0,1,1,2,1,0,1,1,1,1,0,1,1,1,1,0,1,0,0,1,0,0,1,1,0,2,2,3,2,2,2,3,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,0,1,0,1,1,1,0,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,1,0,1,1,0,3,3,3,2,2,2,2,3,2,2,1,1,2,2,2,2,1,1,3,1,2,1,2,0,0,1,1,0,1,0,2,1,1,1,1,1,1,2,1,0,1,1,1,1,0,1,0,0,1,1,0,0,1,0,1,0,0,1,0,0,0,1,1,0,2,0,0,1,0,3,2,2,2,2,1,2,1,2,1,2,0,0,0,2,1,2,2,1,1,2,2,0,1,1,0,2,1,1,1,1,1,0,1,1,1,2,1,1,1,2,1,0,1,2,1,1,1,1,0,1,1,1,0,0,1,0,0,1,1,3,2,2,2,1,1,1,2,3,0,0,0,0,2,0,2,2,1,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,1,1,0,1,0,1,1,0,1,1,0,2,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,2,3,2,3,2,1,2,2,2,2,1,0,0,0,2,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,2,1,1,1,2,1,0,2,0,0,1,0,1,0,0,1,0,0,1,1,0,1,1,0,0,0,0,0,1,0,0,0,0,0,3,0,0,1,0,2,2,2,3,2,2,2,2,2,2,2,0,0,0,2,1,2,1,1,1,2,2,0,0,0,1,2,1,1,1,1,1,0,1,2,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,0,1,2,3,2,3,3,2,0,1,1,1,0,0,1,0,2,0,1,1,3,1,0,0,0,0,0,0,0,1,0,0,2,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,0,1,1,1,0,0,1,1,0,1,0,0,0,0,0,0,1,0,2,3,3,3,3,1,2,2,2,2,0,1,1,0,2,1,1,1,2,1,0,1,1,0,0,1,0,1,0,0,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,2,0,0,1,1,2,2,1,0,0,2,0,1,1,3,0,0,1,0,0,0,0,0,1,0,1,2,1,1,1,2,0,1,1,1,0,1,0,1,1,0,1,0,1,1,1,1,0,1,0,0,0,0,0,0,1,0,1,1,0,1,3,2,3,2,1,0,0,2,2,2,0,1,0,2,0,1,1,1,0,1,0,0,0,3,0,1,1,0,0,2,1,1,1,1,0,1,1,0,0,0,0,1,1,0,1,0,0,2,1,1,0,1,0,0,0,1,0,1,0,0,1,1,0,3,1,2,1,1,2,2,2,2,2,2,1,2,2,1,1,0,0,0,2,2,2,0,0,0,1,2,1,0,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,1,1,1,0,1,0,1,1,0,1,1,1,0,0,1,3,0,0,0,0,2,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,0,1,1,0,0,1,0,1,1,1,0,0,1,0,0,0,1,0,1,1,0,0,1,0,1,0,1,0,0,0,0,1,0,0,0,1,0,0,0,1,1,3,3,2,2,0,0,0,2,2,0,0,0,1,2,0,1,1,2,0,0,0,0,0,0,0,0,1,0,0,2,1,0,1,1,0,0,1,1,0,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,1,0,2,3,2,3,2,0,0,0,0,1,1,0,0,0,2,0,2,0,2,0,0,0,0,0,1,0,0,1,0,0,1,1,1,1,2,0,1,2,1,0,1,1,2,1,1,1,1,1,2,1,1,0,1,0,0,1,1,1,1,1,0,1,1,0,1,3,2,2,2,1,0,0,2,2,1,0,1,2,2,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,2,3,1,2,2,2,2,2,2,1,1,0,0,0,1,0,1,0,2,1,1,1,0,0,0,0,1,1,1,0,1,1,0,1,1,1,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,2,0,0,1,0,3,2,1,2,1,2,2,0,1,0,0,0,2,1,0,0,2,1,1,1,1,0,2,0,2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,0,1,1,1,1,0,0,0,1,1,1,1,0,1,0,0,1,1,2,2,2,2,1,0,0,1,0,0,0,0,0,2,0,1,1,1,1,0,0,0,0,1,0,1,2,0,0,2,0,1,0,1,1,1,2,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1,0,0,0,1,0,0,1,0,1,1,0,2,1,2,2,2,0,3,0,1,1,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,1,2,2,3,2,2,0,0,1,1,2,0,1,2,1,0,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,2,2,1,1,2,1,2,2,2,2,2,1,2,2,0,1,0,0,0,1,2,2,2,1,2,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,0,1,1,0,0,1,1,2,2,2,2,0,1,0,2,2,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,0,0,1,0,0,0,0,1,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,0,0,0,2,2,2,0,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,0,0,0,0,1,0,0,1,1,2,0,0,0,0,1,0,1,0,0,1,0,0,2,0,0,0,1,0,0,1,0,0,1,0,0,0,1,1,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,1,1,2,0,2,1,1,1,1,0,2,2,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,2,1,2,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,2,0,1,2,1,0,1,1,1,0,1,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,0,0,1,1,1,1,0,0,0,1,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,0,1,0,1,0,0,0,0,1,1,0,1,1,0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],e.Koi8rModel={charToOrderMap:e.KOI8R_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"KOI8-R"},e.Win1251CyrillicModel={charToOrderMap:e.win1251_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"windows-1251"},e.Latin5CyrillicModel={charToOrderMap:e.latin5_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"ISO-8859-5"},e.MacCyrillicModel={charToOrderMap:e.macCyrillic_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"MacCyrillic"},e.Ibm866Model={charToOrderMap:e.IBM866_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"IBM866"},e.Ibm855Model={charToOrderMap:e.IBM855_CharToOrderMap,precedenceMatrix:e.RussianLangModel,mTypicalPositiveRatio:.976601,keepEnglishLetter:!1,charsetName:"IBM855"}}(Og)),Og}var Dg={},KC;function q5e(){return KC||(KC=1,function(e){e.Latin7_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,82,100,104,94,98,101,116,102,111,187,117,92,88,113,85,79,118,105,83,67,114,119,95,99,109,188,253,253,253,253,253,253,72,70,80,81,60,96,93,89,68,120,97,77,86,69,55,78,115,65,66,58,76,106,103,87,107,112,253,253,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,233,90,253,253,253,253,253,253,253,253,253,253,74,253,253,253,253,253,253,247,248,61,36,46,71,73,253,54,253,108,123,110,31,51,43,41,34,91,40,52,47,44,53,38,49,59,39,35,48,250,37,33,45,56,50,84,57,120,12
1241,17,18,22,15,124,1,29,20,21,3,32,13,25,5,11,16,10,6,30,4,9,8,14,7,2,12,28,23,42,24,64,75,19,26,27,253],e.win1253_CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,82,100,104,94,98,101,116,102,111,187,117,92,88,113,85,79,118,105,83,67,114,119,95,99,109,188,253,253,253,253,253,253,72,70,80,81,60,96,93,89,68,120,97,77,86,69,55,78,115,65,66,58,76,106,103,87,107,112,253,253,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,233,61,253,253,253,253,253,253,253,253,253,253,74,253,253,253,253,253,253,247,253,253,36,46,71,73,253,54,253,108,123,110,31,51,43,41,34,91,40,52,47,44,53,38,49,59,39,35,48,250,37,33,45,56,50,84,57,120,121,17,18,22,15,124,1,29,20,21,3,32,13,25,5,11,16,10,6,30,4,9,8,14,7,2,12,28,23,42,24,64,75,19,26,27,253],e.GreekLangModel=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,3,3,3,1,3,3,3,0,2,2,3,3,0,3,0,3,2,0,3,3,3,0,3,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,0,3,3,0,3,2,3,3,0,3,2,3,3,3,0,0,3,0,3,0,3,3,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,3,2,2,3,3,3,3,3,3,3,3,0,3,3,3,3,0,2,3,3,0,3,3,3,3,2,3,3,3,0,2,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,0,2,1,3,3,3,3,2,3,3,2,3,3,2,0,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,0,3,3,3,3,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,3,0,3,2,3,3,0,2,0,1,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,0,0,0,0,3,3,0,3,1,3,3,3,0,3,3,0,3,3,3,3,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,0,3,0,3,3,3,3,3,0,3,2,2,2,3,0,2,3,3,3,3,3,2,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,2,3,3,3,3,0,3,1,3,3,3,3,2,3,3,3,3,3,3,3,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,0,3,0,0,0,3,3,2,3,3,3,3,3,0,0,3,2,3,0,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,3,0,0,3,3,0,2,3,0,3,0,3,3,3,0,0,3,0,3,0,2,2,3,3,0,0,0,0,1,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,0,3,2,3,3,3,3,0,3,3,3,3,3,0,3,3,2,3,2,3,3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2,3,2,3,3,3,3,3,3,0,2,3,2,3,2,2,2,3,2,3,3,2,3,0,2,2,2,3,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,3,3,3,2,3,3,0,0,3,0,3,0,0,0,3,2,0,3,0,3,0,0,2,0,2,0,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,0,3,3,3,3,3,3,0,3,3,0,3,0,0,0,3,3,0,3,3,3,0,0,1,2,3,0,3,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,0,0,3,2,2,3,3,0,3,3,3,3,3,2,1,3,0,3,2,3,3,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,0,2,3,3,3,3,3,3,0,0,3,0,3,0,0,0,3,3,0,3,2,3,0,0,3,3,3,0,3,0,0,0,2,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,0,3,3,3,3,3,3,0,0,3,0,3,0,0,0,3,2,0,3,2,3,0,0,3,2,3,0,2,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,2,2,3,3,3,3,3,3,0,2,3,0,3,0,0,0,3,3,0,3,0,2,0,0,2,3,1,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,3,0,3,0,3,3,2,3,0,3,3,3,3,3,3,0,3,3,3,0,2,3,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,0,0,3,0,0,0,3,3,0,3,0,2,3,3,0,0,3,0,3,0,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,3,3,3,3,3,3,0,0,3,0,2,0,0,0,3,3,0,3,0,3,0,0,2,0,2,0,0,0,0,0,1,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,0,3,0,2,0,3,2,0,3,2,3,2,3,0,0,3,2,3,2,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,3,3,3,3,3,0,0,0,3,0,2,1,0,0,3,2,2,2,0,3,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,2,0,3,0,3,0,3,3,0,2,1,2,3,3,0,0,3,0,3,0,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,0,3,3,3,3,3,3,0,2,3,0,3,0,0,0,2,1,0,2,2,3,0,0,2,2,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,3,3,3,2,3,0,0,1,3,0,2,0,0,0,0,3,0,1,0,2,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,1,0,3,0,0,0,3,2,0,3,2,3,3,3,0,0,3,0,3,2,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,3,3,3,0,0,3,0,0,0,0,2,0,2,3,3,2,2,2,2,3,0,2,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,0,0,0,0,0,0,2,3,0,2,0,2,3,2,0,0,3,0,3,0,3,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,3,2,2,3,0,2,0,3,0,0,0,2,0,0,0,0,1,2,0,2,0,2,0,0,2,0,2,0,2,2,0,0,1,0,2,2,2,0,2,2,2,0,2,2,2,0,0,2,0,0,1,0,0,0,0,0,2,0,3,3,2,0,0,0,0,0,0,1,3,0,2,0,2,2,2,0,0,2,0,3,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,3,2,0,2,2,0,2,0,2,2,0,2,0,2,2,2,0,0,0,0,0,0,2,3,0,0,0,2,0,1,2,0,0,0,0,2,2,0,0,0,2,1,0,2,2,0,0,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,2,1,0,2,3,2,2,3,2,3,2,0,0,3,3,3,0,0,3,2,0,0,0,1,1,0,2,0,2,2,0,2,0,2,0,2,2,0,0,2,0,2,2,2,0,2,2,2,2,0,0,2,0,0,0,2,0,1,0,0,0,0,0,3,0,3,3,2,2,0,3,0,0,0,2,2,0,2,2,2,1,2,0,0,1,2,2,0,0,3,0,0,0,2,0,1,2,0,0,0,1,2,0,0,0,0,0,0,0,2,2,0,1,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,2,2,0,0,0,2,0,2,3,3,0,2,0,0,0,0,0,0,2,2,2,0,2,2,0,2,0,2,0,2,2,0,0,2,2,2,2,1,0,0,2,2,0,2,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,3,2,3,0,0,0,3,0,0,2,2,0,2,0,2,2,2,0,0,2,0,0,0,0,0,0,0,0,2,0,0,2,2,0,0,2,2,2,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,3,2,0,2,2,2,2,2,0,0,0,2,0,0,0,0,2,0,1,0,0,2,0,1,0,0,0,0,2,2,2,0,2,2,0,1,2,0,2,2,2,0,2,2,2,2,1,2,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,2,0,2,2,0,0,0,0,1,2,1,0,0,2,2,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,0,0,2,0,0,0,2,2,0,2,0,0,0,1,0,0,2,0,2,0,2,2,0,0,0,0,0,0,2,0,0,0,0,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,2,3,2,2,0,0,0,0,0,0,1,3,0,2,0,2,2,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,3,2,0,2,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,1,1,0,0,2,1,2,0,2,2,0,1,0,0,1,0,0,0,2,0,0,0,0,0,0,0,3,0,2,2,2,0,0,2,0,0,0,2,0,0,0,2,3,0,2,0,0,0,0,0,0,2,2,0,0,0,2,0,1,2,0,0,0,1,2,2,1,0,0,0,2,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,2,0,2,2,0,2,0,0,2,0,0,0,0,1,2,1,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,3,1,2,2,0,2,0,0,0,0,2,0,0,0,2,0,0,3,0,0,0,0,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,1,0,2,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,0,0,2,0,2,2,0,0,2,2,2,2,2,0,1,2,0,0,0,2,2,0,1,0,2,0,0,2,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,0,0,2,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,2,0,1,2,0,0,0,0,2,2,1,0,1,0,1,0,2,2,2,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,2,0,1,2,0,0,0,0,0,0,0,0,0,0,2,0,0,2,2,0,0,0,0,1,0,0,0,0,0,0,2,0,2,2,0,0,0,0,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,2,0,0,0,0,2,2,2,2,0,0,0,3,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,2,0,0,0,0,1,2,0,0,0,0,0,0,2,2,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,2,0,2,2,2,0,0,2,0,0,0,0,0,0,0,2,2,2,0,0,0,2,0,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,2,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,0,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,2,0,0,0,0,2,2,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,2,1,0,0,0,0,0,0,2,0,0,2,0,2,2,2,0,0,0,0,0,0,2,0,0,0,0,2,0,0,2,0,0,2,0,2,2,0,0,0,0,2,0,2,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,3,0,0,0,2,2,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,2,0,0,0,0,0,0,2,2,2,2,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,1,0,0,0,0,2,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,2,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,2,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e.Latin7GreekModel={charToOrderMap:e.Latin7_CharToOrderMap,precedenceMatrix:e.GreekLangModel,mTypicalPositiveRatio:.982851,keepEnglishLetter:!1,charsetName:"ISO-8859-7"},e.Win1253GreekModel={charToOrderMap:e.win1253_CharToOrderMap,precedenceMatrix:e.GreekLangModel,mTypicalPositiveRatio:.982851,keepEnglishLetter:!1,charsetName:"windows-1253"}}(Dg)),Dg}var Wg={},VC;function H5e(){return VC||(VC=1,function(e){e.TIS620CharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,182,106,107,100,183,184,185,101,94,186,187,108,109,110,111,188,189,190,89,95,112,113,191,192,193,194,253,253,253,253,253,253,64,72,73,114,74,115,116,102,81,201,117,90,103,78,82,96,202,91,79,84,104,105,97,98,92,203,253,253,253,253,253,209,210,211,212,213,88,214,215,216,217,218,219,220,118,221,222,223,224,99,85,83,225,226,227,228,229,230,231,232,233,234,235,236,5,30,237,24,238,75,8,26,52,34,51,119,47,58,57,49,53,55,43,20,19,44,14,48,3,17,25,39,62,31,54,45,9,16,2,61,15,239,12,42,46,18,21,76,4,66,63,22,10,1,36,23,13,40,27,32,35,86,240,241,242,243,244,11,28,41,29,33,245,50,37,
1246,7,67,77,38,93,246,247,68,56,59,65,69,60,70,80,71,87,248,249,250,251,252,253],e.ThaiLangModel=[0,1,3,3,3,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,0,0,3,3,3,0,3,3,3,3,0,3,3,0,0,0,1,3,0,3,3,2,3,3,0,1,2,3,3,3,3,0,2,0,2,0,0,3,2,1,2,2,3,0,3,3,2,3,0,0,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,0,3,2,3,0,2,2,2,3,0,2,3,0,0,0,0,1,0,1,2,3,1,1,3,2,2,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,3,3,2,3,2,3,3,2,2,2,3,1,2,3,0,3,3,2,2,1,2,3,3,1,2,0,1,3,0,1,0,0,1,0,0,0,0,0,0,0,1,1,3,3,2,2,3,3,3,3,1,2,3,3,3,3,3,2,2,2,2,3,3,2,2,3,3,2,2,3,2,3,2,2,3,3,1,2,3,1,2,2,3,3,1,0,2,1,0,0,3,1,2,1,0,0,1,0,0,0,0,0,0,1,0,1,3,3,3,3,3,3,2,2,3,3,3,3,2,3,2,2,3,3,2,2,3,2,2,2,2,1,1,3,1,2,1,1,3,2,1,0,2,1,0,1,0,1,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,3,3,3,2,3,2,3,3,2,2,3,2,3,3,2,3,1,1,2,3,2,2,2,3,2,2,2,2,2,1,2,1,2,2,1,1,3,3,2,1,0,1,2,2,0,1,3,0,0,0,1,1,0,0,0,0,0,2,3,0,0,2,1,1,3,3,2,3,3,2,0,0,3,3,0,3,3,0,2,2,3,1,2,2,1,1,1,0,2,2,2,0,2,2,1,1,0,2,1,0,2,0,0,2,0,1,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0,3,3,2,3,3,2,0,0,3,3,0,2,3,0,2,1,2,2,2,2,1,2,0,0,2,2,2,0,2,2,1,1,0,2,1,0,2,0,0,2,0,1,1,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,3,3,2,3,2,3,2,0,2,2,1,3,2,1,3,2,1,2,3,2,2,3,0,2,3,2,2,1,2,2,2,2,1,2,2,0,0,0,0,2,0,1,2,0,1,1,1,0,1,0,3,1,1,0,0,0,0,0,0,0,0,0,1,0,3,3,2,3,3,2,3,2,2,2,3,2,2,3,2,2,1,2,3,2,2,3,1,3,2,2,2,3,2,2,2,3,3,2,1,3,0,1,1,1,0,2,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,3,0,3,3,3,3,3,0,0,3,0,2,2,3,3,3,3,3,0,0,0,1,1,3,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,2,3,0,0,0,3,0,2,0,0,0,0,0,3,0,0,0,0,0,0,0,0,2,0,3,3,3,3,0,0,2,3,0,0,3,0,3,3,2,3,3,3,3,3,0,0,3,3,3,0,0,0,3,3,0,0,3,0,0,0,0,2,0,0,2,1,1,3,0,0,1,0,0,2,3,0,1,0,0,0,0,0,0,0,1,0,3,3,3,3,2,3,3,3,3,3,3,3,1,2,1,3,3,2,2,1,2,2,2,3,1,1,2,0,2,1,2,1,2,2,1,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,3,0,2,1,2,3,3,3,0,2,0,2,2,0,2,1,3,2,2,1,2,1,0,0,2,2,1,0,2,1,2,2,0,1,1,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,1,3,3,1,1,3,0,2,3,1,1,3,2,1,1,2,0,2,2,3,2,1,1,1,1,1,2,3,0,0,1,3,1,2,1,2,0,3,0,0,0,1,0,3,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,3,3,1,1,3,2,3,3,3,1,3,2,1,3,2,1,3,2,2,2,2,1,3,3,1,2,1,3,1,2,3,0,2,1,1,3,2,2,2,1,2,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,2,3,2,3,3,2,3,2,3,2,3,3,2,1,0,3,2,2,2,1,2,2,2,1,2,2,1,2,1,1,2,2,2,3,0,1,3,1,1,1,1,0,1,1,0,2,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,3,2,2,1,1,3,2,3,2,3,2,0,3,2,2,1,2,0,2,2,2,1,2,2,2,2,1,3,2,1,2,2,1,0,2,0,1,0,0,1,1,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,1,3,3,3,3,3,2,3,1,2,3,3,2,2,3,0,1,1,2,0,3,3,2,2,3,0,1,1,3,0,0,0,0,3,1,0,3,3,0,2,0,2,1,0,0,3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,2,3,2,3,3,0,1,3,1,1,2,1,2,1,1,3,1,1,0,2,3,1,1,1,1,1,1,1,1,3,1,1,2,2,2,2,1,1,1,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,2,2,1,1,2,1,3,3,2,3,2,2,3,2,2,3,1,2,2,1,2,0,3,2,1,2,2,2,2,2,1,3,2,1,2,2,2,1,1,1,1,0,0,1,1,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,1,3,3,0,2,1,0,3,2,0,0,3,1,0,1,1,0,1,0,0,0,0,0,1,1,0,0,1,0,3,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,2,2,3,0,0,1,3,0,3,2,0,3,2,2,3,3,3,3,3,1,0,2,2,2,0,2,2,1,2,0,2,3,0,0,0,0,1,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,0,2,3,1,3,3,2,3,3,0,3,3,0,3,2,2,3,2,3,3,3,0,0,2,2,3,0,1,1,1,3,0,0,3,0,0,0,2,2,0,1,3,0,1,2,2,2,3,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,3,2,3,3,2,0,3,3,2,2,3,1,3,2,1,3,2,0,1,2,2,0,2,3,2,1,0,3,0,0,0,0,3,0,0,2,3,1,3,0,0,3,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,3,2,2,2,1,2,0,1,3,1,1,3,1,3,0,0,2,1,1,1,1,2,1,1,1,0,2,1,0,1,1,2,0,0,0,3,1,1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,0,3,1,0,0,0,1,0,3,3,3,3,2,2,2,2,2,1,3,1,1,1,2,0,1,1,2,1,2,1,3,2,0,0,3,1,1,1,1,1,3,1,0,2,3,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,0,3,3,0,2,0,0,0,0,0,0,0,3,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,1,3,0,0,1,2,0,0,2,0,3,3,2,3,3,3,2,3,0,0,2,2,2,0,0,0,2,2,0,0,1,0,0,0,0,3,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,0,0,0,0,0,0,0,0,0,0,1,2,3,1,3,3,0,0,1,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,1,2,3,1,2,3,1,0,3,0,2,2,1,0,2,1,1,2,0,1,0,0,1,1,1,1,0,1,0,0,1,0,0,0,0,1,1,0,3,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,1,0,1,1,1,3,1,2,2,2,2,2,2,1,1,1,1,0,3,1,0,1,3,1,1,1,1,1,1,0,2,0,1,3,1,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,3,0,2,2,1,3,3,2,3,3,0,1,1,0,2,2,1,2,1,3,3,1,0,0,3,2,0,0,0,0,2,1,0,1,0,0,0,0,1,2,0,1,1,3,1,1,2,2,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,3,0,0,1,0,0,0,3,0,0,3,0,3,1,0,1,1,1,3,2,0,0,0,3,0,0,0,0,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,3,3,1,3,2,1,3,3,1,2,2,0,1,2,1,0,1,2,0,0,0,0,0,3,0,0,0,3,0,0,0,0,3,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1,2,0,3,3,3,2,2,0,1,1,0,1,3,0,0,0,2,2,0,0,0,0,3,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,2,3,1,2,0,0,2,1,0,3,1,0,1,2,0,1,1,1,1,3,0,0,3,1,1,0,2,2,1,1,0,2,0,0,0,0,0,1,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,3,1,2,0,0,2,2,0,1,2,0,1,0,1,3,1,2,1,0,0,0,2,0,3,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,1,1,2,2,0,0,0,2,0,2,1,0,1,1,0,1,1,1,2,1,0,0,1,1,1,0,2,1,1,1,0,1,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,2,0,1,3,1,1,1,1,0,0,0,0,3,2,0,1,0,0,0,1,2,0,0,0,1,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,3,2,2,0,0,0,1,0,0,0,0,2,3,2,1,2,2,3,0,0,0,2,3,1,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,3,3,2,2,0,1,0,0,0,0,2,0,2,0,1,0,0,0,1,1,0,0,0,2,1,0,1,0,1,1,0,0,0,1,0,2,0,0,1,0,3,0,1,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,1,0,0,1,0,0,0,0,0,1,1,2,0,0,0,0,1,0,0,1,3,1,0,0,0,0,1,1,0,0,0,1,0,0,0,0,3,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,3,3,1,1,1,1,2,3,0,0,2,1,1,1,1,1,0,2,1,1,0,0,0,2,1,0,1,2,1,1,0,1,2,1,0,3,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,1,0,0,0,0,0,0,0,3,0,0,0,3,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2,0,0,0,0,0,0,1,2,1,0,1,1,0,2,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,3,0,1,0,0,0,2,0,0,0,0,0,0,0,1,2,0,0,0,0,0,3,3,0,0,1,1,2,0,0,1,2,1,0,1,1,1,0,1,1,0,0,2,1,1,0,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,1,0,0,0,0,1,0,0,0,0,3,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,2,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,0,0,1,1,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,2,0,1,2,0,0,1,1,0,2,0,1,0,0,1,0,0,0,0,1,0,0,0,2,0,0,0,0,1,0,0,1,0,1,1,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,0,1,1,0,2,1,3,0,0,0,0,1,1,0,0,0,0,0,0,0,3,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,1,0,0,2,0,0,2,0,0,1,1,2,0,0,1,1,0,0,0,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,2,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e.TIS620ThaiModel={charToOrderMap:e.TIS620CharToOrderMap,precedenceMatrix:e.ThaiLangModel,mTypicalPositiveRatio:.92638
1246,keepEnglishLetter:!1,charsetName:"TIS-620"}}(Wg)),Wg}var Fg={},YC;function G5e(){return YC||(YC=1,function(e){e.Latin2_HungarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,28,40,54,45,32,50,49,38,39,53,36,41,34,35,47,46,71,43,33,37,57,48,64,68,55,52,253,253,253,253,253,253,2,18,26,17,1,27,12,20,9,22,7,6,13,4,8,23,67,10,5,3,21,19,65,62,16,11,253,253,253,253,253,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,75,198,199,200,201,202,203,204,205,79,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,51,81,222,78,223,224,225,226,44,227,228,229,61,230,231,232,233,234,58,235,66,59,236,237,238,60,69,63,239,240,241,82,14,74,242,70,80,243,72,244,15,83,77,84,30,76,85,245,246,247,25,73,42,24,248,249,250,31,56,29,251,252,253],e.win1250HungarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,28,40,54,45,32,50,49,38,39,53,36,41,34,35,47,46,72,43,33,37,57,48,64,68,55,52,253,253,253,253,253,253,2,18,26,17,1,27,12,20,9,22,7,6,13,4,8,23,67,10,5,3,21,19,65,62,16,11,253,253,253,253,253,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,78,181,69,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,76,198,199,200,201,202,203,204,205,81,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,51,83,222,80,223,224,225,226,44,227,228,229,61,230,231,232,233,234,58,235,66,59,236,237,238,60,70,63,239,240,241,84,14,75,242,71,82,243,73,244,15,85,79,86,30,77,87,245,246,247,25,74,42,24,248,249,250,31,56,29,251,252,253],e.HungarianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,2,3,3,1,1,2,2,2,2,2,1,2,3,2,2,3,3,3,3,3,2,3,3,3,3,3,3,1,2,3,3,3,3,2,3,3,1,1,3,3,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,3,2,1,3,3,3,3,3,2,3,3,3,3,3,1,1,2,3,3,3,3,3,3,3,1,1,3,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,1,1,2,3,3,3,1,3,3,3,3,3,1,3,3,2,2,0,3,2,3,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,3,3,3,3,3,2,3,3,3,2,3,3,2,3,3,3,3,3,2,3,3,2,2,3,2,3,2,0,3,2,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,3,3,3,3,3,3,2,3,3,3,3,3,2,3,3,3,1,2,3,2,2,3,1,2,3,3,2,2,0,3,3,3,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,3,2,3,3,3,3,2,3,3,3,3,0,2,3,2,0,0,0,1,1,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,1,1,1,3,3,2,1,3,2,2,3,2,1,3,2,2,1,0,3,3,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,2,2,3,3,3,3,3,1,2,3,3,3,3,1,2,1,3,3,3,3,2,2,3,1,1,3,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,2,2,3,3,3,3,3,2,1,3,3,3,3,3,2,2,1,3,3,3,0,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,2,3,3,2,3,3,3,2,0,3,2,3,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,1,0,3,3,3,3,3,3,2,3,3,3,2,3,2,3,3,3,1,3,2,2,2,3,1,1,3,3,1,1,0,3,3,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,3,3,3,3,2,3,3,3,2,3,2,3,3,3,2,3,3,3,3,3,1,2,3,2,2,0,2,2,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,2,2,2,3,1,3,3,2,2,1,3,3,3,1,1,3,1,2,3,2,3,2,2,2,1,0,2,2,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,1,1,3,3,3,3,3,1,2,3,3,3,3,1,2,1,3,3,3,2,2,3,2,1,0,3,2,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,3,3,3,3,3,1,2,3,3,3,3,1,1,0,3,3,3,3,0,2,3,0,0,2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,2,2,3,3,2,2,2,2,3,3,0,1,2,3,2,3,2,2,3,2,1,2,0,2,2,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,3,3,3,3,3,1,2,3,3,3,2,1,2,3,3,2,2,2,3,2,3,3,1,3,3,1,1,0,2,3,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,1,2,2,2,2,3,3,3,1,1,1,3,3,1,1,3,1,1,3,2,1,2,3,1,1,0,2,2,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,2,1,2,1,1,3,3,1,1,1,1,3,3,1,1,2,2,1,2,1,1,2,2,1,1,0,2,2,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,1,1,2,1,1,3,3,1,0,1,1,3,3,2,0,1,1,2,3,1,0,2,2,1,0,0,1,3,2,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,2,1,3,3,3,3,3,1,2,3,2,3,3,2,1,1,3,2,3,2,1,2,2,0,1,2,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,3,3,3,2,2,2,2,3,1,2,2,1,1,3,3,0,3,2,1,2,3,2,1,3,3,1,1,0,2,1,3,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,3,3,2,2,2,3,2,3,3,3,2,1,1,3,3,1,1,1,2,2,3,2,3,2,2,2,1,0,2,2,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,3,3,3,3,3,0,0,3,3,2,3,0,0,0,2,3,3,1,0,1,2,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,2,3,3,3,3,3,1,2,3,3,2,2,1,1,0,3,3,2,2,1,2,2,1,0,2,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,2,2,1,3,1,2,3,3,2,2,1,1,2,2,1,1,1,1,3,2,1,1,1,1,2,1,0,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,3,3,1,1,1,1,1,3,3,3,0,1,1,3,3,1,1,1,1,1,2,2,0,3,1,1,2,0,2,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,1,0,1,2,1,2,2,0,1,2,3,1,2,0,0,0,2,1,1,1,1,1,2,0,0,1,1,0,0,0,0,1,2,1,2,2,2,1,2,1,2,0,2,0,2,2,1,1,2,1,1,2,1,1,1,0,1,0,0,0,1,1,0,1,1,1,2,3,2,3,3,0,1,2,2,3,1,0,1,0,2,1,2,2,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,3,3,2,2,1,0,0,3,2,3,2,0,0,0,1,1,3,0,0,1,1,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,2,2,3,3,1,0,1,3,2,3,1,1,1,0,1,1,1,1,1,3,1,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,1,2,2,2,1,0,1,2,3,3,2,0,0,0,2,1,1,1,2,1,1,1,0,1,1,1,0,0,0,1,2,2,2,2,2,1,1,1,2,0,2,1,1,1,1,1,2,1,1,1,1,1,1,0,1,1,1,0,0,1,1,3,2,2,1,0,0,1,1,2,2,0,3,0,1,2,1,1,0,0,1,1,1,0,1,1,1,1,0,2,1,1,1,2,2,1,1,1,2,1,2,1,1,1,1,1,1,1,2,1,1,1,2,3,1,1,1,1,1,1,1,1,1,0,1,2,3,3,0,1,0,0,0,3,3,1,0,0,1,2,2,1,0,0,0,0,2,0,0,1,1,1,0,2,1,1,1,2,1,1,1,1,1,1,2,1,1,0,1,1,0,1,1,1,0,1,2,1,1,0,1,1,1,1,1,1,1,0,1,2,3,3,0,1,0,0,0,2,2,0,0,0,0,1,2,2,0,0,0,0,1,0,0,1,1,0,0,2,0,1,0,2,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,0,1,3,2,2,0,1,0,1,0,2,3,2,0,0,1,2,2,1,0,0,1,1,1,0,0,2,1,0,1,2,2,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,0,2,1,0,1,1,0,1,1,1,0,1,1,2,1,1,0,1,2,2,2,0,0,1,0,0,2,2,1,1,0,0,2,1,1,0,0,0,1,2,0,0,2,1,0,0,2,1,1,1,2,1,1,1,1,2,1,2,1,1,1,2,2,1,1,2,1,1,1,2,1,1,1,1,1,1,1,1,1,1,0,1,1,2,3,0,0,0,1,0,3,2,1,0,0,1,2,1,1,0,0,0,0,2,1,0,1,1,0,0,2,1,2,1,1,1,0,0,0,1,0,1,1,1,1,1,2,0,0,1,0,0,0,2,0,0,1,1,1,1,1,1,1,1,0,1,3,0,0,2,1,2,2,1,0,0,2,1,2,2,0,0,0,2,1,1,1,0,1,1,0,0,1,1,2,0,0,0,1,2,1,2,2,1,1,2,1,2,0,1,1,1,1,1,1,1,1,1,2,1,1,0,0,1,1,1,1,0,0,1,1,3,2,0,0,0,1,0,2,2,2,0,0,0,2,2,1,0,0,0,0,3,1,1,1,1,0,0,2,1,1,1,2,1,0,1,1,1,0,1,1,1,1,1,1,1,0,2,1,0,0,1,0,1,1,0,1,1,1,1,1,1,0,1,2,3,2,0,0,0,1,0,2,2,0,0,0,0,2,1,1,0,0,0,0,2,1,0,1,1,0,0,2,1,1,0,2,1,1,1,1,2,1,2,1,2,0,1,1,1,0,2,1,1,1,2,1,1,1,1,0,1,1,1,1,1,0,1,3,1,1,2,2,2,3,2,1,1,2,2,1,1,0,1,0,2,2,1,1,1,1,1,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,0,0,0,0,0,2,2,0,0,0,0,2,2,1,0,0,0,1,1,0,0,1,2,0,0,2,1,1,1,2,2,1,1,1,2,1,2,1,1,0,1,1,1,1,2,1,1,1,2,1,1,1,1,0,1,2,1,1,1,0,1,1,0,0,1,2,3,2,1,0,0,2,0,1,1,0,0,0,1,1,1,1,0,1,1,0,0,1,0,0,0,0,0,1,2,1,2,1,2,1,1,1,2,0,2,1,1,1,0,1,2,0,0,1,1,1,0,0,0,0,0,0,0,0,0,2,3,2,0,0,0,0,0,1,1,2,1,0,0,1,1,1,0,0,0,0,2,0,0,1,1,0,0,2,1,1,1,2,1,1,1,1,1,1,2,1,0,1,1,1,1,0,2,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,2,2,0,1,1,1,0,2,2,2,0,0,0,3,2,1,0,0,0,1,1,0,0,1,1,0,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,0,0,1,1,1,0,1,0,1,2,1,0,2,1,1,2,2,1,1,2,1,1,1,0,0,0,1,1,0,1,1,1,1,0,0,1,1,1,0,0,0,1,2,2,2,2,2,1,1,1,2,0,2,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,1,0,1,2,3,0,0,0,1,0,2,2,0,0,0,0,2,2,0,0,0,0,0,1,0,0,1,0,0,0,2,0,1,0,2,1,1,1,1,1,0,2,0,0,0,1,2,1,1,1,1,0,1,2,0,1,0,1,0,1,1,1,0,1,0,1,2,2,2,0,0,0,1,0,2,1,2,0,0,0,1,1,2,0,0,0,0,1,0,0,1,1,0,0,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,0,1,1,2,2,0,0,0,1,0,2,2,2,0,0,0,1,1,0,0,0,0,0,1,1,0,2,0,0,1,1,1,0,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,0,1,0,0,1,1,0,1,0,1,1,1,1,1,0,0,0,1,1,0,0,1,0,1,2,1,0,0,1,1,1,2,0,0,0,1,1,0,1,0,1,1,0,0,1,0,0,0,0,0,0,2,1,2,1,1,1,1,1,2,0,2,0,1,1,0,1,2,1,0,1,1,1,0,0,0,0,0,0,1,0,0,2,1,1,0,1,2,0,0,1,1,1,0,0,0,1,1,0,0,0,0,0,1,0,0,1,0,0,0,2,1,0,1,2,2,1,1,1,1,1,2,1,1,0,1,1,1,1,2,1,1,1,2,1,1,0,1,0,1,1,1,1,1,0,1,1,2,2,0,0,0,0,0,1,1,0,0,0,0,2,1,0,0,0,0,0,2,0,0,2,2,0,0,2,0,0,1,2,1,1,1,1,1,1,1,0,1,1,0,1,1,0,1,0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,2,0,0,3,1,0,2,1,1,1,0,0,1,1,1,0,0,0,1,1,0,0,0,1,0,0,1,0,1,0,1,2,1,0,1,1,1,2,1,1,0,1,1,1,1,1,0,0,0,1,1,1,1,1,0,1,0,0,0,1,0,0,2,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,2,0,0,0,2,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,2,1,1,0,0,1,1,1,1,1,0,1,2,1,1,1,2,1,1,1,0,1,1,2,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,1,1,2,1,0,0,0,1,1,0,0,0,1,1,0,0,1,0,1,0,0,0,1,2,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,1,0,0,2,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,0,1,1,1,2,0,0,1,0,0,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1,2,0,1,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,0,0,2,1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,0,1,0,1,1,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,1,0,1,0,1,0,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,0,1,1,0,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,2,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,0,0,1,0,0,1,0,1,0,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0],e.Latin2HungarianModel={charToOrderMap:e.Latin2_HungarianCharToOrderMap,precedenceMatrix:e.HungarianLangModel,mTypicalPositiveRatio:.947368,keepEnglishLetter:!0,charsetName:"ISO-8859-2"},e.Win1250HungarianModel={charToOrderMap:e.win1250HungarianCharToOrderMap,precedenceMatrix:e.HungarianLangModel,mTypicalPositiveRatio:.947368,keepEnglishLetter:!0,charsetName:"windows-1250"}}(Fg)),Fg}var $g={},JC;
124function K5e(){return JC||(JC=1,function(e){e.Latin5_BulgarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,77,90,99,100,72,109,107,101,79,185,81,102,76,94,82,110,186,108,91,74,119,84,96,111,187,115,253,253,253,253,253,253,65,69,70,66,63,68,112,103,92,194,104,95,86,87,71,116,195,85,93,97,113,196,197,198,199,200,253,253,253,253,253,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,81,226,227,228,229,230,105,231,232,233,234,235,236,45,237,238,31,32,35,43,37,44,55,47,40,59,33,46,38,36,41,30,39,28,34,51,48,49,53,50,54,57,61,239,67,240,60,56,1,18,9,20,11,3,23,15,2,26,12,10,14,6,4,13,7,8,5,19,29,25,22,21,27,24,17,75,52,241,42,16,62,242,243,244,58,245,98,246,247,248,249,250,251,91,252,253],e.win1251BulgarianCharToOrderMap=[255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,253,77,90,99,100,72,109,107,101,79,185,81,102,76,94,82,110,186,108,91,74,119,84,96,111,187,115,253,253,253,253,253,253,65,69,70,66,63,68,112,103,92,194,104,95,86,87,71,116,195,85,93,97,113,196,197,198,199,200,253,253,253,253,253,206,207,208,209,210,211,212,213,120,214,215,216,217,218,219,220,221,78,64,83,121,98,117,105,222,223,224,225,226,227,228,229,88,230,231,232,233,122,89,106,234,235,236,237,238,45,239,240,73,80,118,114,241,242,243,244,245,62,58,246,247,248,249,250,31,32,35,43,37,44,55,47,40,59,33,46,38,36,41,30,39,28,34,51,48,49,53,50,54,57,61,251,67,252,60,56,1,18,9,20,11,3,23,15,2,26,12,10,14,6,4,13,7,8,5,19,29,25,22,21,27,24,17,75,52,253,42,16],e.BulgarianLangModel=[0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,2,2,3,2,2,1,2,2,3,1,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,3,3,3,0,3,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,2,3,3,3,3,3,3,3,3,0,3,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,2,3,3,3,3,3,3,3,3,0,3,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,2,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,1,3,2,3,3,3,3,3,3,3,3,0,3,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,3,3,3,3,2,3,2,2,1,3,3,3,3,2,2,2,1,1,2,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,2,3,2,2,3,3,1,1,2,3,3,2,3,3,3,3,2,1,2,0,2,0,3,0,0,0,0,0,0,0,0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,1,3,3,3,3,3,2,3,2,3,3,3,3,3,2,3,3,1,3,0,3,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,1,3,3,2,3,3,3,1,3,3,2,3,2,2,2,0,0,2,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,0,3,3,3,2,2,3,3,3,1,2,2,3,2,1,1,2,0,2,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,2,3,3,1,2,3,2,2,2,3,3,3,3,3,2,2,3,1,2,0,2,1,2,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,1,3,3,3,3,3,2,3,3,3,2,3,3,2,3,2,2,2,3,1,2,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,3,3,1,1,1,2,2,1,3,1,3,2,2,3,0,0,1,0,1,0,1,0,0,0,0,0,1,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,2,2,3,2,2,3,1,2,1,1,1,2,3,1,3,1,2,2,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,1,3,2,2,3,3,1,2,3,1,1,3,3,3,3,1,2,2,1,1,1,0,2,0,2,0,1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,2,2,3,3,3,2,2,1,1,2,0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,0,1,2,1,3,3,2,3,3,3,3,3,2,3,2,1,0,3,1,2,1,2,1,2,3,2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,3,3,3,3,3,3,3,3,3,3,3,3,0,0,3,1,3,3,2,3,3,2,2,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,0,3,3,3,3,3,2,1,1,2,1,3,3,0,3,1,1,1,1,3,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,2,2,2,3,3,3,3,3,3,3,3,3,3,3,1,1,3,1,3,3,2,3,2,2,2,3,0,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,3,2,2,3,2,1,1,1,1,1,3,1,3,1,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,3,2,3,2,0,3,2,0,3,0,2,0,0,2,1,3,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,2,1,1,1,1,2,1,1,2,1,1,1,2,2,1,2,1,1,1,0,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,2,1,3,1,1,2,1,3,2,1,1,0,1,2,3,2,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,3,3,3,2,2,1,0,1,0,0,1,0,0,0,2,1,0,3,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,3,3,2,3,2,3,3,1,3,2,1,1,1,2,1,1,2,1,3,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,1,1,2,2,3,3,2,3,2,2,2,3,1,2,2,1,1,2,1,1,2,2,0,1,1,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,1,3,1,0,2,2,1,3,2,1,0,0,2,0,2,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,3,3,3,3,3,3,1,2,0,2,3,1,2,3,2,0,1,3,1,2,1,1,1,0,0,1,0,0,2,2,2,3,2,2,2,2,1,2,1,1,2,2,1,1,2,0,1,1,1,0,0,1,1,0,0,1,1,0,0,0,1,1,0,1,3,3,3,3,3,2,1,2,2,1,2,0,2,0,1,0,1,2,1,2,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,1,3,3,2,3,3,1,1,3,1,0,3,2,1,0,0,0,1,2,0,2,0,1,0,0,0,1,0,1,2,1,2,2,1,1,1,1,1,1,1,2,2,2,1,1,1,1,1,1,1,0,1,2,1,1,1,0,0,0,0,0,1,1,0,0,3,1,0,1,0,2,3,2,2,2,3,2,2,2,2,2,1,0,2,1,2,1,1,1,0,1,2,1,2,2,2,1,1,1,2,2,2,2,1,2,1,1,0,1,2,1,2,2,2,1,1,1,0,1,1,1,1,2,0,1,0,0,0,0,2,3,2,3,3,0,0,2,1,0,2,1,0,0,0,0,2,3,0,2,0,0,0,0,0,1,0,0,2,0,1,2,2,1,2,1,2,2,1,1,1,2,1,1,1,0,1,2,2,1,1,1,1,1,0,1,1,1,0,0,1,2,0,0,3,3,2,2,3,0,2,3,1,1,2,0,0,0,1,0,0,2,0,2,0,0,0,1,0,1,0,1,2,0,2,2,1,1,1,1,2,1,0,1,2,2,2,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,1,1,0,0,2,3,2,3,3,0,0,3,0,1,1,0,1,0,0,0,2,2,1,2,0,0,0,0,0,0,0,0,2,0,1,2,2,2,1,1,1,1,1,2,2,2,1,0,2,0,1,0,1,0,0,1,0,1,0,0,1,0,0,0,0,1,0,0,3,3,3,3,2,2,2,2,2,0,2,1,1,1,1,2,1,2,1,1,0,2,0,1,0,1,0,0,2,0,1,2,1,1,1,1,1,1,1,2,2,1,1,0,2,0,1,0,2,0,0,1,1,1,0,0,2,0,0,0,1,1,0,0,2,3,3,3,3,1,0,0,0,0,0,0,0,0,0,0,2,0,0,1,1,0,0,0,0,0,0,1,2,0,1,2,2,2,2,1,1,2,1,1,2,2,2,1,2,0,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,0,0,2,3,3,3,3,0,2,2,0,2,1,0,0,0,1,1,1,2,0,2,0,0,0,3,0,0,0,0,2,0,2,2,1,1,1,2,1,2,1,1,2,2,2,1,2,0,1,1,1,0,1,1,1,1,0,2,1,0,0,0,1,1,0,0,2,3,3,3,3,0,2,1,0,0,2,0,0,0,0,0,1,2,0,2,0,0,0,0,0,0,0,0,2,0,1,2,1,1,1,2,1,1,1,1,2,2,2,0,1,0,1,1,1,0,0,1,1,1,0,0,1,0,0,0,0,1,0,0,3,3,2,2,3,0,1,0,1,0,0,0,0,0,0,0,1,1,0,3,0,0,0,0,0,0,0,0,1,0,2,2,1,1,1,1,1,2,1,1,2,2,1,2,2,1,0,1,1,1,1,1,0,1,0,0,1,0,0,0,1,1,0,0,3,1,0,1,0,2,2,2,2,3,2,1,1,1,2,3,0,0,1,0,2,1,1,0,1,1,1,1,2,1,1,1,1,2,2,1,2,1,2,2,1,1,0,1,2,1,2,2,1,1,1,0,0,1,1,1,2,1,0,1,0,0,0,0,2,1,0,1,0,3,1,2,2,2,2,1,2,2,1,1,1,0,2,1,2,2,1,1,2,1,1,0,2,1,1,1,1,2,2,2,2,2,2,2,1,2,0,1,1,0,2,1,1,1,1,1,0,0,1,1,1,1,0,1,0,0,0,0,2,1,1,1,1,2,2,2,2,1,2,2,2,1,2,2,1,1,2,1,2,3,2,2,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,3,2,0,1,2,0,1,2,1,1,0,1,0,1,2,1,2,0,0,0,1,1,0,0,0,1,0,0,2,1,1,0,0,1,1,0,1,1,1,1,0,2,0,1,1,1,0,0,1,1,0,0,0,0,1,0,0,0,1,0,0,2,0,0,0,0,1,2,2,2,2,2,2,2,1,2,1,1,1,1,1,1,1,0,1,1,1,1,1,2,1,1,1,1,2,2,2,2,1,1,2,1,2,1,1,1,0,2,1,2,1,1,1,0,2,1,1,1,1,0,1,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,0,1,0,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,3,2,0,0,0,0,1,0,0,0,0,0,0,1,1,0,2,0,0,0,0,0,0,0,0,1,0,1,2,1,1,1,1,1,1,0,0,2,2,2,2,2,0,1,1,0,1,1,1,1,1,0,0,1,0,0,0,1,1,0,1,2,3,1,2,1,0,1,1,0,2,2,2,0,0,1,0,0,1,1,1,1,0,0,0,0,0,0,0,1,0,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,0,1,1,0,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,2,2,2,2,2,0,0,2,0,0,2,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,2,0,2,2,1,1,1,1,1,0,0,1,2,1,1,0,1,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,0,0,2,0,1,1,0,0,0,1,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,2,2,3,2,0,0,1,0,0,1,0,0,0,0,0,0,1,0,2,0,0,0,1,0,0,0,0,0,0,0,2,1,1,0,0,1,0,0,0,1,1,0,0,1,0,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,2,1,2,2,2,1,2,1,2,2,1,1,2,1,1,1,0,1,1,1,1,2,0,1,0,1,1,1,1,0,1,1,1,1,2,1,1,1,1,1,1,0,0,1,2,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,1,0,0,1,3,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,1,0,0,1,0,2,0,0,0,0,0,1,1,1,0,1,0,0,0,0,0,0,0,0,2,0,0,1,0,2,0,1,0,0,1,1,2,0,1,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2,2,2,0,1,1,0,2,1,0,1,1,1,0,0,1,0,2,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,1,1,0,0,1,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,1,2,1,1,1,1,1,1,2,2,1,0,0,1,0,1,0,0,0,0,1,1,1,1,0,0,0,1,1,2,1,1,1,1,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,1,2,1,0,0,1,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,1,1,1,0,0,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,2,0,0,2,0,1,0,0,1,0,0,1,1,1,0,0,1,1,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,1,2,0,0,0,0,0,0,2,1,0,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],e.Latin5BulgarianModel={charToOrderMap:e.Latin5_BulgarianCharToOrderMap,precedenceMatrix:e.BulgarianLangModel,mTypicalPositiveRatio:.969392,keepEnglishLetter:!1,charsetName:"ISO-8859-5"},e.Win1251BulgarianModel={charToOrderMap:e.win1251BulgarianCharToOrderMap,precedenceMatrix:e.BulgarianLangModel,mTypicalPositiveRatio:.969392,keepEnglishLetter:!1,charsetName:"windows-1251"}}($g)),$g}var Bg,ZC;
124function V5e(){if(ZC)return Bg;ZC=1;var e=F5e(),t=oW(),n=$5e().Win1255HebrewModel,r=B5e(),s=U5e(),i=q5e(),a=H5e().TIS620ThaiModel,l=G5e(),c=K5e();function u(){t.apply(this);var d=this;function h(){d._mProbers=[new e(s.Win1251CyrillicModel),new e(s.Koi8rModel),new e(s.Latin5CyrillicModel),new e(s.MacCyrillicModel),new e(s.Ibm866Model),new e(s.Ibm855Model),new e(i.Latin7GreekModel),new e(i.Win1253GreekModel),new e(c.Latin5BulgarianModel),new e(c.Win1251BulgarianModel),new e(l.Latin2HungarianModel),new e(l.Win1250HungarianModel),new e(a)];var f=new r,p=new e(n,!1,f),m=new e(n,!0,f);f.setModelProbers(p,m),d._mProbers.push(f,p,m),d.reset()}h()}return u.prototype=new t,Bg=u,Bg}var Ug,XC;function Y5e(){if(XC)return Ug;XC=1;var e=El(),t=on(),n=0,r=1,s=2,i=3,a=4,l=5,c=6,u=7,d=[r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,r,r,r,r,r,r,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,r,r,r,r,r,r,n,r,u,r,r,r,r,r,r,l,r,l,n,l,n,n,r,r,r,r,r,r,r,r,r,u,r,u,n,u,l,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,a,a,a,a,a,a,l,l,a,a,a,a,a,a,a,a,l,l,a,a,a,a,a,r,a,a,a,a,a,l,l,l,c,c,c,c,c,c,u,u,c,c,c,c,c,c,c,c,u,u,c,c,c,c,c,r,c,c,c,c,c,u,u,u],h=[0,0,0,0,0,0,0,0,0,3,3,3,3,3,3,3,0,3,3,3,3,3,3,3,0,3,3,3,1,1,3,3,0,3,3,3,1,2,1,2,0,3,3,3,3,3,3,3,0,3,1,3,1,1,1,3,0,3,1,3,1,1,3,3];function f(){e.apply(this);var p=4,m=8,y=this;function _(){y.reset()}this.reset=function(){this._mLastCharClass=r,this._mFreqCounter=[];for(var g=0;g<p;this._mFreqCounter[g++]=0);f.prototype.reset.apply(this)},this.getCharsetName=function(){return"windows-1252"},this.feed=function(g){g=this.filterWithEnglishLetters(g);for(var b=0;b<g.length;b++){var k=g.charCodeAt(b),x=d[k],S=h[this._mLastCharClass*m+x];if(S==0){this._mState=t.notMe;break}this._mFreqCounter[S]++,this._mLastCharClass=x}return this.getState()},this.getConfidence=function(){var g;if(this.getState()==t.notMe)return .01;for(var b=0,k=0;k<this._mFreqCounter.length;k++)b+=this._mFreqCounter[k];return b<.01||(g=this._mFreqCounter[3]/b-this._mFreqCounter[1]*20/b),g<0&&(g=0),g=g*.95,g},_()}return f.prototype=new e,Ug=f,Ug}var Zl={},QC;function J5e(){if(QC)return Zl;QC=1;var e=on(),t=[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,5,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],n=[e.start,e.error,3,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.start,e.start,4,e.error,5,e.error,6,e.error,5,5,4,e.error,4,e.error,4,4,4,e.error,4,e.error,4,e.itsMe,e.start,e.start,e.start,e.start,e.start,e.start],r=[0,0,0,0,0,0];Zl.HZSMModel={classTable:t,classFactor:6,stateTable:n,charLenTable:r,name:"HZ-GB-2312"};var s=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],i=[e.start,3,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,5,6,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.start],a=[0,0,0,0,0,0,0,0,0];Zl.ISO2022CNSMModel={classTable:s,classFactor:9,stateTable:i,charLenTable:a,name:"ISO-2022-CN"};var l=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,7,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,4,0,8,0,0,0,0,9,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],c=[e.start,3,e.error,e.start,e.start,e.start,e.start,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,5,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.error,6,e.itsMe,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.error,e.error,e.error,e.itsMe,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.error,e.start,e.start],u=[0,0,0,0,0,0,0,0,0,0];
124Zl.ISO2022JPSMModel={classTable:l,classFactor:10,stateTable:c,charLenTable:u,name:"ISO-2022-JP"};var d=[2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,3,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2],h=[e.start,3,e.error,e.start,e.start,e.start,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.itsMe,e.error,e.error,e.error,4,e.error,e.error,e.error,e.error,e.error,e.error,5,e.error,e.error,e.error,e.error,e.error,e.error,e.itsMe,e.start,e.start,e.start,e.start],f=[0,0,0,0,0,0];return Zl.ISO2022KRSMModel={classTable:d,classFactor:6,stateTable:h,charLenTable:f,name:"ISO-2022-KR"},Zl}var qg,eE;function Z5e(){if(eE)return qg;eE=1;var e=El(),t=mo(),n=J5e(),r=on();function s(){e.apply(this);var i=this;function a(){i._mCodingSM=[new t(n.HZSMModel),new t(n.ISO2022CNSMModel),new t(n.ISO2022JPSMModel),new t(n.ISO2022KRSMModel)],i.reset()}this.reset=function(){s.prototype.reset.apply(this);for(var l=0,c;c=this._mCodingSM[l];l++)c&&(c.active=!0,c.reset());this._mActiveSM=i._mCodingSM.length,this._mDetectedCharset=null},this.getCharsetName=function(){return this._mDetectedCharset},this.getConfidence=function(){return this._mDetectedCharset?.99:0},this.feed=function(l){for(var c=0,u;c<l.length;c++){u=l[c];for(var d=0,h;h=this._mCodingSM[d];d++)if(!(!h||!h.active)){var f=h.nextState(u);if(f==r.error){if(h.active=!1,this._mActiveSM--,this._mActiveSM<=0)return this._mState=r.notMe,this.getState()}else if(f==r.itsMe)return this._mState=r.foundIt,this._mDetectedCharset=h.getCodingStateMachine(),this.getState()}}return this.getState()},a()}return s.prototype=new e,qg=s,qg}var Hg,tE;function X5e(){if(tE)return Hg;tE=1;var e=on(),t=W5e(),n=V5e(),r=Y5e(),s=Z5e(),i=zl();function a(l){l||(l={}),l.minimumThreshold||(l.minimumThreshold=.2);var c={pureAscii:0,escAscii:1,highbyte:2},u=this;function d(){u._highBitDetector=/[\x80-\xFF]/,u._escDetector=/(\x1B|~\{)/,u._mEscCharsetProber=null,u._mCharsetProbers=[],u.reset()}this.reset=function(){this.result={encoding:null,confidence:0},this.results=[],this.done=!1,this._mStart=!0,this._mGotData=!1,this._mInputState=c.pureAscii,this._mLastChar="",this._mBOM="",this._mEscCharsetProber&&this._mEscCharsetProber.reset();for(var h=0,f;f=this._mCharsetProbers[h];h++)f.reset()},this.feed=function(h){if(!this.done){var f=h.length;if(f){if(this._mGotData||(this._mBOM+=h,this._mBOM.slice(0,3)==""?this.result={encoding:"UTF-8",confidence:1}:this._mBOM.slice(0,4)=="ÿþ\0\0"?this.result={encoding:"UTF-32LE",confidence:1}:this._mBOM.slice(0,4)=="\0\0þÿ"?this.result={encoding:"UTF-32BE",confidence:1}:this._mBOM.slice(0,4)=="þÿ\0\0"?this.result={encoding:"X-ISO-10646-UCS-4-3412",confidence:1}:this._mBOM.slice(0,4)=="\0\0ÿþ"?this.result={encoding:"X-ISO-10646-UCS-4-2143",confidence:1}:this._mBOM.slice(0,2)=="ÿþ"?this.result={encoding:"UTF-16LE",confidence:1}:this._mBOM.slice(0,2)=="þÿ"&&(this.result={encoding:"UTF-16BE",confidence:1}),this.result.confidence>0&&(this.results=[this.result]),this._mBOM.length>3&&(this._mGotData=!0)),this.result.encoding&&this.result.confidence>0){this.done=!0;return}if(this._mInputState==c.pureAscii&&(this._highBitDetector.test(h)?this._mInputState=c.highbyte:this._escDetector.test(this._mLastChar+h)&&(this._mInputState=c.escAscii)),this._mLastChar=h.slice(-1),this._mInputState==c.escAscii)this._mEscCharsetProber||(this._mEscCharsetProber=new s),this._mEscCharsetProber.feed(h)==e.foundIt&&(this.result={encoding:this._mEscCharsetProber.getCharsetName(),confidence:this._mEscCharsetProber.getConfidence()},this.results=[this.result],this.done=!0);else if(this._mInputState==c.highbyte){this._mCharsetProbers.length==0&&(this._mCharsetProbers=[new t,new n,new r]);for(var p=0,m;m=this._mCharsetProbers[p];
124p++)if(m.feed(h)==e.foundIt){this.result={encoding:m.getCharsetName(),confidence:m.getConfidence()},this.results=[this.result],this.done=!0;break}}}}},this.close=function(){if(!this.done){if(this._mBOM.length===0){i.log(`no data received!
125`);return}if(this.done=!0,this._mInputState==c.pureAscii)return i.log("pure ascii"),this.result={encoding:"ascii",confidence:1},this.results.push(this.result),this.result;if(this._mInputState==c.highbyte){for(var h=0,f;f=this._mCharsetProbers[h];h++)!f||!f.getCharsetName()||(this.results.push({encoding:f.getCharsetName(),confidence:f.getConfidence()}),i.log(f.getCharsetName()+" confidence "+f.getConfidence()));if(this.results.sort(function(m,y){return y.confidence-m.confidence}),this.results.length>0){var p=this.results[0];if(p.confidence>=l.minimumThreshold)return this.result=p,p}}if(i.enabled){i.log(`no probers hit minimum threshhold
126`);for(var h=0,f;f=this._mCharsetProbers[h];h++)f&&i.log(f.getCharsetName()+" confidence = "+f.getConfidence()+`
127`)}}},d()}return Hg=a,Hg}var nE;function Q5e(){if(nE)return Yl;nE=1;var e=X5e(),t=zl().setLogger;Yl.detect=function(r,s){var i=n(r,s);return i.result},Yl.detectAll=function(r,s){var i=n(r,s);return i.results},Yl.UniversalDetector=e,Yl.enableDebug=function(){t(console.log.bind(console))};function n(r,s){var i=new e(s);return i.reset(),typeof Buffer=="function"&&r instanceof Buffer?i.feed(r.toString("binary")):i.feed(r),i.close(),i}return Yl}var Gg,rE;function e4e(){return rE||(rE=1,Gg=Q5e()),Gg}var t4e=(()=>{try{let e=e4e();if(e==null)throw new Error;return e}catch{return{detect:()=>({encoding:"UTF-8"})}}})(),J1={};(function(e){const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";e.escapeString=function(n){return n.toString().replace(/\\/g,"\\\\").replace(/\]/g,"\\]")},e.unescapeString=function(n){let r=[],s=!1;n=n.replace(/\r/g,"");for(let i=0;i<n.length;i++)s?(n[i]!==`
128`&&r.push(n[i]),s=!1):n[i]!=="\\"?r.push(n[i]):n[i]==="\\"&&(s=!0);return r.join("")},e.parseDates=function(n){if(!n.match(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?(\s*,\s*(\d{4}|(\d{4}-)?\d{1,2}(-\d{1,2})?))*)?$/))return null;if(n.trim()==="")return[];let r=n.split(",").map(s=>s.trim().split("-"));for(let s=1;s<r.length;s++){let i=r[s],a=r[s-1];i[0].length!==4&&(i.length===1&&a.length===3&&i.unshift(a[1]),i.unshift(a[0]))}return r.map(s=>s.map(i=>+i))},e.stringifyDates=function(n){if(n.length===0)return"";let r=[n[0].slice()];for(let s=1;s<n.length;s++){let i=n[s],a=n[s-1],l=0;for(let c=0;c<i.length&&(i[c]===a[c]&&l===c);c++)l++;r.push(i.slice(l))}return r.map(s=>s.map(i=>i>9?""+i:"0"+i).join("-")).join(",")},e.parseVertex=function(n){return n.length!==2?[-1,-1]:n.split("").map(r=>t.indexOf(r))},e.stringifyVertex=function([n,r]){return Math.min(n,r)<0||Math.max(n,r)>=t.length?"":t[n]+t[r]},e.parseCompressedVertices=function(n){let r=n.indexOf(":");if(r<0)return[e.parseVertex(n)];let[s,i]=e.parseVertex(n.slice(0,r)),[a,l]=e.parseVertex(n.slice(r+1)),c=[];for(let u=Math.min(s,a);u<=Math.max(s,a);u++)for(let d=Math.min(i,l);d<=Math.max(i,l);d++)c.push([u,d]);return c}})(J1);(function(e){const{createTokenizer:t,regexRule:n}=dm,r=b5e,s=t4e,{unescapeString:i}=J1,a=t({rules:[n("_whitespace",/\s+/y,{lineBreaks:!0}),n("parenthesis",/(\(|\))/y),n("semicolon",/;/y),n("prop_ident",/[A-Za-z]+/y),n("c_value_type",/\[([^\\\]]|\\[^])*\]/y,{lineBreaks:!0}),{type:"invalid",match:(l,c)=>({length:1})}]});e.tokenizeIter=function*(l){for(let c of a(l))c.progress=c.pos/(l.length-1),delete c.length,yield c},e.tokenizeBufferIter=function*(l,{encoding:c=null}={}){if(c!=null){yield*e.tokenizeIter(r.decode(l,c));return}let u=s.detect(l.slice(0,300)).encoding,d=r.decode(l,u),h=e.tokenizeIter(d),f=[];for(;;){let p=h.next();if(p.done)break;let{type:m,value:y}=p.value,_=f[f.length-1];if(f.push(p.value),m==="c_value_type"&&_!=null&&_.type==="prop_ident"&&_.value==="CA"){c=i(y.slice(1,-1));break}}c!=null&&c!=u&&r.encodingExists(c)?yield*e.tokenizeIter(r.decode(l,c)):(yield*f,yield*h)},e.tokenize=l=>[...e.tokenizeIter(l)],e.tokenizeBuffer=(l,c)=>[...e.tokenizeBufferIter(l,c)]})(wb);var cW={};class n4e{constructor(t){this.iterator=t[Symbol.iterator](),this.peekedItem=null,this.peeked=!1}
128next(){let t=this.peeked?this.peekedItem:this.iterator.next();return this.peekedItem=null,this.peeked=!1,t}peek(){return this.peeked||(this.peekedItem=this.iterator.next(),this.peeked=!0),this.peekedItem}}var r4e=n4e;(function(e){const t=p1,n=r4e,{tokenizeIter:r,tokenizeBufferIter:s}=wb,{unescapeString:i}=J1;function a(l,c,u){let{getId:d,dictionary:h,onProgress:f,onNodeCreated:p}=u,m=null,y,_;for(;!l.peek().done;){let{type:g,value:b,row:k,col:x}=l.peek().value;if(g==="parenthesis"&&b==="(")break;if(g==="parenthesis"&&b===")")return y!=null&&p({node:y}),m;if(g==="semicolon"||y==null){let S=y;y={id:d(),data:{},parentId:S==null?c:S.id,children:[]},h!=null&&(h[y.id]=y),S!=null?(p({node:S}),S.children.push(y)):m=y}if(g!=="semicolon")if(g==="prop_ident"){if(y!=null){let S=b===b.toUpperCase()?b:b.split("").filter(T=>T.toUpperCase()===T).join("");S!==""?(S in y.data||(y.data[S]=[]),_=y.data[S]):_=null}}else if(g==="c_value_type")_!=null&&_.push(i(b.slice(1,-1)));else throw g==="invalid"?new Error(`Unexpected token at ${k+1}:${x+1}`):new Error(`Unexpected token type '${g}' at ${k+1}:${x+1}`);l.next()}for(y==null?m=y={id:null,data:{},parentId:null,children:[]}:p({node:y});!l.peek().done;){let{type:g,value:b,progress:k}=l.peek().value;if(g==="parenthesis"&&b==="("){l.next();let x=a(l,y.id,u);x!=null&&y.children.push(x)}else if(g==="parenthesis"&&b===")"){f({progress:k});break}l.next()}return m}e.parseTokens=function(l,{getId:c=(f=>()=>f++)(0),dictionary:u=null,onProgress:d=()=>{},onNodeCreated:h=()=>{}}={}){let f=a(new n(l),null,{getId:c,dictionary:u,onProgress:d,onNodeCreated:h});return f.id==null?f.children:[f]},e.parse=function(l,c={}){return e.parseTokens(r(l),c)},e.parseBuffer=function(l,c={}){return e.parseTokens(s(l,{encoding:c.encoding}),c)},e.parseFile=function(l,c={}){return e.parseBuffer(t.readFileSync(l),c)}})(cW);var uW={};(function(e){const{escapeString:t}=J1;e.stringify=function(n,{linebreak:r=`
129`,indent:s="  ",level:i=0}={}){if(Array.isArray(n))return e.stringify({children:n},{linebreak:r,level:i});let a=[],l=r!==""?s.repeat(i):"";if(n.data!=null){a.push(l,";");for(let c in n.data)c.toUpperCase()===c&&a.push(c,"[",n.data[c].map(t).join("]["),"]");a.push(r)}if(n.children.length>1||n.children.length>0&&i===0){a.push(l);for(let c of n.children)a.push("(",r,e.stringify(c,{linebreak:r,level:i+1}),l,")");a.push(r)}else n.children.length===1&&a.push(e.stringify(n.children[0],{linebreak:r,level:i}));return a.join("")}})(uW);(function(e){const{tokenizeIter:t,tokenizeBufferIter:n,tokenize:r,tokenizeBuffer:s}=wb,{parse:i,parseTokens:a,parseBuffer:l,parseFile:c}=cW,{stringify:u}=uW;Object.assign(e,{tokenizeIter:t,tokenizeBufferIter:n,tokenize:r,tokenizeBuffer:s,parse:i,parseTokens:a,parseBuffer:l,parseFile:c,stringify:u},J1)})(aW);const s4e=yi(aW),Lc=e=>{if(e.length!==1)return null;const t=e.charCodeAt(0)-97;return t<0||t>25?null:t},m9=e=>{if(e.length<2)return null;const t=Lc(e[0]),n=Lc(e[1]);return t===null||n===null?null:{x:t,y:n}},sE=(e,t)=>{if(!e||e.length===0)return[];const n=[];for(const r of e){const s=m9(r);s!==null&&n.push({...s,color:t})}return n},i4e=/^([a-s])([a-s]):([a-s])([a-s]):(#[0-9A-Fa-f]{6})$/,a4e=(e,t)=>{if(!e||e.length===0)return[];const n=[];for(const r of e){const s=r.match(i4e);if(!s)continue;const i=Lc(s[1]),a=Lc(s[2]),l=Lc(s[3]),c=Lc(s[4]);i===null||a===null||l===null||c===null||n.push({kind:"rect",id:t(),from:[i,a],to:[l,c],color:s[5]})}return n},o4e=e=>{var n,r;const t=((n=e.data.LZ)==null?void 0:n[0])??((r=e.data.LZOP)==null?void 0:r[0]);if(t!==void 0)return VZ(t)??void 0},dW=(e,t)=>{var p,m,y,_;const n=(p=e.data.B)==null?void 0:p[0],r=(m=e.data.W)==null?void 0:m[0],s=(y=e.data.PL)==null?void 0:y[0],i=s==="B"||s==="W"?s:void 0,a=(_=e.data.C)==null?void 0:_[0],l=n!==void 0?m9(n):null,c=r!==void 0?m9(r):null,u=[...sE(e.data.AB,"B"),...sE(e.data.AW,"W")],d=na(10),h=a4e(e.data.RC,()=>na(6));h.length>0&&(t[d]=h);const f=o4e(e);return{id:d,children:e.children.map(g=>dW(g,t)),...l!==null?{move:{...l,color:"B"}}:{},...c!==null&&l===null?{move:{...c,color:"W"}}:{},...i!==void 0?{playerToMove:i}:{},...u.length>0?{setup:u}:{},...a!==void 0?{comment:a}:{},...f!==void 0?{analysis:f}:{}}},l4e=()=>({id:na(10),children:[]}),c4e=e=>{const t=s4e.parse(e),n={};return t.length===0?{tree:l4e(),cursor:[],annotations:n,version:0}:{tree:dW(t[0],n),cursor:[],annotations:n,version:1}},Id=e=>String(e).padStart(2,"0"),Kg=e=>{const t=new Date(e);return t.getUTCFullYear()+Id(t.getUTCMonth()+1)+Id(t.getUTCDate())+"T"+Id(t.getUTCHours())+Id(t.getUTCMinutes())+Id(t.getUTCSeconds())+"Z"},k2=e=>e.replace(/\\/g,"\\\\").replace(/\r\n|\n|\r/g,"\\n").replace(/;/g,"\\;").replace(/,/g,"\\,"),u4e=(e,t=new Date)=>["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//Baduk Teacher//Booking//EN","CALSCALE:GREGORIAN","METHOD:PUBLISH","BEGIN:VEVENT",`UID:${k2(e.uid)}`,`DTSTAMP:${Kg(t.toISOString())}`,`DTSTART:${Kg(e.startUtc)}
129`,`DTEND:${Kg(e.endUtc)}`,`SUMMARY:${k2(e.summary)}`,`DESCRIPTION:${k2(e.description)}`,`URL:${k2(e.url)}`,"END:VEVENT","END:VCALENDAR"].join(`\r
130`)+`\r
131`,d4e=(e,t)=>{const n=new Blob([t],{type:"text/calendar;charset=utf-8"}),r=URL.createObjectURL(n),s=document.createElement("a");s.href=r,s.download=e,document.body.appendChild(s),s.click(),s.remove(),URL.revokeObjectURL(r)},iE={game_review:"schedule.lessonTypes.gameReview",teaching_game_with_review:"schedule.lessonTypes.teachingGameWithReview",topic_lecture:"schedule.lessonTypes.topicLecture"},aE=()=>o.jsx("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:o.jsx("path",{d:"M2 4.5A1.5 1.5 0 0 1 3.5 3h9A1.5 1.5 0 0 1 14 4.5v6A1.5 1.5 0 0 1 12.5 12H6l-3 2.5V12H3.5A1.5 1.5 0 0 1 2 10.5v-6Z",stroke:"currentColor",strokeWidth:"1.4",strokeLinejoin:"round"})}),oE=()=>o.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[o.jsx("rect",{x:"2",y:"3.5",width:"12",height:"11",rx:"1.5",stroke:"currentColor",strokeWidth:"1.4"}),o.jsx("path",{d:"M2 6.5h12M5 2v3M11 2v3",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"})]}),h4e=()=>o.jsx("svg",{width:"20",height:"10",viewBox:"0 0 20 10",fill:"none","aria-hidden":"true",className:"step-arrow__svg",children:o.jsx("path",{d:"M0 5h17m0 0-4-4m4 4-4 4",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})}),f4e=e=>e.split(/\s+/)[0]??e,p4e=({booking:e,actorRole:t,otherPartyName:n,displayTz:r,joining:s,onJoin:i,onCancel:a,rowAction:l,belowRow:c})=>{const u=H(),d=vt(O=>O.uiLang),[h,f]=v.useState(()=>Date.now());v.useEffect(()=>{const O=setInterval(()=>f(Date.now()),15e3);return()=>clearInterval(O)},[]);const p=e.status==="confirmed"||e.status==="in_progress",m=e.status==="pending_payment"||e.status==="confirmed",y=e.lessonType==="teaching_game_with_review",_=e.groupSessionId!==null,g=new Date(e.startUtc).getTime(),b=e.status==="in_progress"||h>=g-oy*6e4,k=s||!b,x=t==="student"&&e.teacherSlug?`/chat/${e.teacherSlug}?bookingId=${encodeURIComponent(e.id)}`:t==="teacher"?`/admin/inbox?bookingId=${encodeURIComponent(e.id)}`:null,S=()=>{const O=e.lessonType?u(iE[e.lessonType]):null,F=O?u("mylessons.upcoming.ics.summaryWithType",{type:O,name:n}):u("mylessons.upcoming.ics.summaryNoType",{name:n}),B=O?u("mylessons.upcoming.ics.descriptionWithType",{type:O,duration:e.durationMinutes}):u("mylessons.upcoming.ics.descriptionNoType",{duration:e.durationMinutes}),$=new Date(e.startUtc).getTime(),D=new Date($+e.durationMinutes*6e4).toISOString(),z=u4e({uid:`${e.id}@badukteacher`,summary:F,description:B,url:`${window.location.origin}/my-lessons`,startUtc:e.startUtc,endUtc:D});d4e(`baduk-lesson-${e.id}.ics`,z)},T=Kt(e.startUtc,r,d),C=mn(e.startUtc,r),E=(e.grossUsdCents/100).toFixed(2),N=u("schedule.offerings.minutes"),j=u(s?"mylessons.upcoming.joining":"mylessons.upcoming.join"),I=u("mylessons.upcoming.cancel"),P=u("mylessons.upcoming.chatWith",{name:f4e(n)});return o.jsxs("li",{className:`booking-row booking-row--${e.lessonType??"none"}`,children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsxs("div",{className:"booking-row__title",children:[o.jsx("strong",{className:"booking-row__name",children:n}),o.jsx("span",{className:`status-pill status-pill--${_?"group":"private"}`,children:u(_?"bookings.typeBadge.group":"bookings.typeBadge.private")}),e.status==="pending_payment"&&o.jsx("span",{className:"status-pill status-pill--warning",children:u("mylessons.upcoming.statusPill.pendingPayment")}),e.wasTrialPriced&&o.jsx("span",{className:"status-pill status-pill--trial",title:u("checkout.trialApplied"),children:u("bookings.trialLabel")})]}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:T}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:C}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsxs("span",{children:[e.durationMinutes," ",N]}),e.lessonType&&o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("em",{className:"booking-row__type",children:u(iE[e.lessonType])})]}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsxs("span",{children:["$",E]})]})]}),y?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"step-strip",role:"group","aria-label":u("mylessons.upcoming.title"),children:[o.jsxs("div",{className:"step",children:[o.jsxs("div",{className:"step__head",children:[o.jsx("span",{className:"step__num","aria-hidden":"true",children:"1"}),o.jsx("span",{className:"step__title",children:u("mylessons.upcoming.steps.coordinate")})]}),x&&o.jsxs("a",{href:x,className:"step__action step__action--link",children:[o.jsx(aE,{}),o.jsx("span",{children:P})]})]}),o.jsx("div",{className:"step-arrow","aria-hidden":"true",children:o.jsx(h4e,{})}),o.jsxs("div",{className:"step",children:[o.jsxs("div",{className:"step__head",children:[o.jsx("span",{className:"step__num","aria-hidden":"true",children:"2"}),o.jsx("span",{className:"step__title",children:u("mylessons.upcoming.steps.playReview")})]}),o.jsx("p",{className:"step__hint",children:u("mylessons.upcoming.steps.playReviewHint")}),p&&o.jsx("button",{type:"button",className:"btn btn--accent btn--sm step__action",disabled:k,onClick:i,children:j})]})]}),o.jsxs("div",{className:"row-foot row-foot--teaching",children:[o.jsx("div",{className:"row-foot__inline",children:o.jsxs("button",{type:"button",className:"inline-link",onClick:S,children:[o.jsx(oE,{}),o.jsx("span",{children:u("mylessons.upcoming.addToCalendar")})]})}),o.jsxs("div",{className:"row-foot__actions",children:[l,m&&o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:a,children:I})]})]})]}):o.jsxs("div",{className:"row-foot",children:[o.jsxs("div",{className:"row-foot__inline",children:[x&&o.jsxs("a",{href:x,className:"inline-link",children:[o.jsx(aE,{}),o.jsx("span",{children:P})]}),x&&o.jsx("span",{className:"inline-sep","aria-hidden":"true",children:"·"}),o.jsxs("button",{type:"button",className:"inline-link",onClick:S,children:[o.jsx(oE,{}),o.jsx("span",{children:u("mylessons.upcoming.addToCalendar")})]})]}),o.jsxs("div",{className:"row-foot__actions",children:[l,p&&o.jsx("button",{type:"button",className:"btn btn--accent btn--sm",disabled:k,onClick:i,children:j}),m&&o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:a,children:I})]})]}),c]})},m4e=[30,60,90,120],Mc=100,Oc=5e4,ba=e=>(e/100).toFixed(2),g4e=e=>!Number.isFinite(e)||e<=0?"schedule.offerings.priceError.empty":e<Mc||e>Oc?"schedule.offerings.priceError.range":null,y4e=(e,t)=>
131e===null?null:!Number.isFinite(e)||e<Mc||e>Oc?"schedule.offerings.trialPriceError.range":e>=t?"schedule.offerings.trialPriceError.tooHigh":null,v4e={game_review:"schedule.lessonTypes.gameReview",teaching_game_with_review:"schedule.lessonTypes.teachingGameWithReview",topic_lecture:"schedule.lessonTypes.topicLecture"},b4e=()=>{const e=H(),{authFetch:t}=bt(),[n,r]=v.useState([]),[s,i]=v.useState(LI),[a,l]=v.useState(!0),[c,u]=v.useState(!1),[d,h]=v.useState(!1),[f,p]=v.useState(0),[m,y]=v.useState(!1),_=v.useRef(0),g=v.useRef(!1),b=v.useRef(!1),k=v.useRef(null),x=v.useRef(null),[S,T]=v.useState(!1),[C,E]=v.useState(null);v.useEffect(()=>{let D=!1;return++_.current,g.current=!1,l(!0),u(!1),T(!1),y(!1),mpe(t).then(z=>{var R;D||(r(z.offerings.map(w=>({durationMinutes:w.durationMinutes,priceUsdCents:w.priceUsdCents,trialPriceUsdCents:w.trialPriceUsdCents,lessonTypes:w.lessonTypes}))),i(z.marketplaceFeePct),b.current&&document.activeElement===x.current&&((R=k.current)==null||R.focus()),b.current=!1,u(!0),h(!1),E(null),l(!1))}).catch(z=>{D||(h(!0),b.current=!1,l(!1))}),()=>{D=!0,++_.current}},[t,f]);const N=(D,z)=>{!c||a||g.current||(y(!1),r(R=>R.find(L=>L.durationMinutes===D)?R.map(L=>L.durationMinutes===D?{...L,...z}:L):[...R,{durationMinutes:D,priceUsdCents:5e3,trialPriceUsdCents:null,lessonTypes:[],...z}]))},j=D=>{!c||a||g.current||(y(!1),r(z=>z.filter(R=>R.durationMinutes!==D)))},I=(D,z)=>{!c||a||g.current||(y(!1),r(R=>R.map(w=>{if(w.durationMinutes!==D)return w;const L=w.lessonTypes.includes(z)?w.lessonTypes.filter(M=>M!==z):[...w.lessonTypes,z];return{...w,lessonTypes:L}})))},P=new Map,O=new Map;for(const D of n){const z=g4e(D.priceUsdCents);z&&P.set(D.durationMinutes,z);const R=y4e(D.trialPriceUsdCents,D.priceUsdCents);R&&O.set(D.durationMinutes,R)}const F=P.size>0||O.size>0,B=D=>D.startsWith("priceUsdCents must be")?e("schedule.offerings.saveError.invalid",{min:ba(Mc),max:ba(Oc)}):e("schedule.offerings.saveError.generic"),$=async()=>{if(!c||a||g.current)return;const D=_.current;if(F){E(e("schedule.offerings.saveError.invalid",{min:ba(Mc),max:ba(Oc)}));return}g.current=!0,T(!0),y(!1),E(null);try{const z=await gpe(t,n.map(R=>({...R,isActive:!0})));if(D!==_.current)return;y(!0),r(z.offerings.map(R=>({durationMinutes:R.durationMinutes,priceUsdCents:R.priceUsdCents,trialPriceUsdCents:R.trialPriceUsdCents,lessonTypes:R.lessonTypes}))),i(z.marketplaceFeePct)}catch(z){if(D!==_.current)return;const R=z instanceof Error?z.message:String(z);E(B(R))}finally{D===_.current&&(g.current=!1,T(!1))}};return o.jsxs("div",{className:"offerings-tab",children:[o.jsx("h2",{ref:k,tabIndex:-1,className:"my-schedule__section-head",children:e("schedule.offerings.title")}),o.jsx("p",{className:"my-schedule__section-help",children:e("schedule.offerings.help")}),a&&o.jsx("p",{role:"status",children:e("schedule.editor.loading")}),d&&o.jsxs("div",{className:"schedule-editor-recovery",role:"alert",children:[o.jsx("p",{children:e("schedule.editor.loadError")}),o.jsx("button",{type:"button",ref:x,className:"btn btn--ghost","aria-disabled":a,onClick:()=>{a||b.current||(b.current=!0,p(D=>D+1))},children:e("schedule.editor.retry")})]}),c&&o.jsxs("fieldset",{className:"schedule-editor-fields",disabled:S,children:[o.jsx("div",{className:"offerings-tab__list",children:m4e.map(D=>{const z=n.find(w=>w.durationMinutes===D),R=!!z;return o.jsxs("div",{className:`offerings-tab__row${R?" is-enabled":""}`,children:[o.jsxs("div",{className:"offerings-tab__row-main",children:[o.jsxs("label",{className:"offerings-tab__duration",children:[o.jsx("input",{type:"checkbox",checked:R,onChange:w=>w.target.checked?N(D,{priceUsdCents:(z==null?void 0:z.priceUsdCents)??5e3,lessonTypes:(z==null?void 0:z.lessonTypes)??[]}):j(D)}),o.jsxs("span",{className:"offerings-tab__duration-label",children:[o.jsx("span",{className:"offerings-tab__duration-num",children:D}),o.jsx("span",{className:"offerings-tab__duration-unit",children:e("schedule.offerings.minutes")})]})]}),z&&(()=>{const w=P.get(D)??null,L=`offering-price-${D}`,M=`${L}-error`;return o.jsxs("div",{className:`offerings-tab__price${w?" is-invalid":""}`,children:[o.jsx("label",{className:"offerings-tab__price-label",htmlFor:L,children:e("schedule.offerings.price")}),o.jsx("span",{className:"offerings-tab__price-input",children:o.jsx("input",{id:L,type:"number",min:"1",max:"500",step:"0.01",value:(z.priceUsdCents/100).toFixed(2),onChange:A=>N(D,{priceUsdCents:Math.round(Number(A.target.value)*100)}),"aria-invalid":w?"true":void 0,"aria-describedby":w?M:void 0})}),!w&&o.jsx("span",{className:"offerings-tab__price-display",children:e("schedule.offerings.priceStudentsSee",{price:(M6(z.priceUsdCents,s).gross/100).toFixed(2),feePct:String(s)})}),w&&o.jsx("span",{id:M,className:"offerings-tab__price-error",role:"alert",children:e(w,w==="schedule.offerings.priceError.range"?{min:ba(Mc),max:ba(Oc)}:void 0)})]})})()]}),z&&(()=>{const w=O.get(D)??null,L=`offering-trial-${D}`,M=`${L}-error`;return z.trialPriceUsdCents===null?o.jsx("div",{className:"offerings-tab__trial-add-row",children:o.jsx("button",{type:"button",className:"offerings-tab__trial-add",onClick:()=>N(D,{trialPriceUsdCents:1e3}),children:e("schedule.offerings.trialAddAffordance")})}):o.jsxs("div",{className:`offerings-tab__trial-row${w?" is-invalid":""}`,children:[o.jsxs("div",{className:`offerings-tab__price${w?" is-invalid":""}`,children:[o.jsx("label",{className:"offerings-tab__price-label",htmlFor:L,children:e("schedule.offerings.trialPriceLabel")}),o.jsx("span",{className:"offerings-tab__price-input",children:o.jsx("input",{id:L,type:"number",min:"1",max:"500",step:"0.01",value:(z.trialPriceUsdCents/100).toFixed(2),onChange:A=>{const q=Number(A.target.value);N(D,{trialPriceUsdCents:Number.isFinite(q)&&q>0?Math.round(q*100):0}
131)},"aria-invalid":w?"true":void 0,"aria-describedby":w?M:void 0})}),!w&&o.jsx("span",{className:"offerings-tab__price-display",children:e("schedule.offerings.trialStudentsSee",{price:(M6(z.trialPriceUsdCents,s).gross/100).toFixed(2)})}),w&&o.jsx("span",{id:M,className:"offerings-tab__price-error",role:"alert",children:e(w,w==="schedule.offerings.trialPriceError.range"?{min:ba(Mc),max:ba(Oc)}:void 0)})]}),o.jsx("button",{type:"button",className:"offerings-tab__trial-remove",onClick:()=>N(D,{trialPriceUsdCents:null}),children:e("schedule.offerings.trialRemove")}),o.jsx("p",{className:"offerings-tab__trial-helper",children:e("schedule.offerings.trialHelperText")})]})})(),z&&o.jsxs("div",{className:"offerings-tab__lesson-types-row",children:[o.jsx("span",{className:"offerings-tab__lesson-types-label",children:e("schedule.lessonTypes.title")}),o.jsx("div",{className:"offerings-tab__lesson-types",children:m3.map(w=>{const L=z.lessonTypes.includes(w);return o.jsxs("label",{className:`offerings-tab__lesson-type${L?" is-checked":""}`,children:[o.jsx("input",{type:"checkbox",checked:L,onChange:()=>I(D,w)}),o.jsx("span",{children:e(v4e[w])})]},w)})})]})]},D)})}),n.length===0&&o.jsx("p",{className:"my-schedule__empty",children:e("schedule.offerings.empty")}),o.jsx("div",{className:"my-schedule__actions",children:o.jsx("button",{className:"btn btn--accent",onClick:$,disabled:S||F,"aria-describedby":C?"offerings-save-error":void 0,children:e(S?"schedule.saving":"schedule.offerings.save")})})]}),m&&o.jsx("p",{role:"status",children:e("schedule.editor.saved")}),C&&o.jsx("p",{id:"offerings-save-error",className:"my-schedule__error",role:"alert",children:C})]})},lE=new Map,_4e=e=>{let t=lE.get(e);return t||(t=new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),lE.set(e,t)),t},Vg=(e,t)=>{const n=_4e(t).formatToParts(new Date(e)),r={};for(const i of n)i.type!=="literal"&&(r[i.type]=Number(i.value));return Date.UTC(r.year,r.month-1,r.day,r.hour,r.minute,r.second)-e},k4e=(e,t)=>{const n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?/.exec(e);if(!n)return new Date(e).toISOString();const[,r,s,i,a,l,c]=n,u=Date.UTC(+r,+s-1,+i,+a,+l,c?+c:0),d=Vg(u,t);let h=u-d;const f=Vg(h,t);if(f!==d&&(h=u-f),u-Vg(h,t)!==h)throw new RangeError(`wall-clock time "${e}" does not exist in ${t} (DST gap)`);return new Date(h).toISOString()},w4e=[{tz:"America/New_York",labelKey:"groupClasses.tzRef.usEast"},{tz:"America/Los_Angeles",labelKey:"groupClasses.tzRef.usWest"},{tz:"Europe/London",labelKey:"groupClasses.tzRef.ukLondon"},{tz:"Europe/Berlin",labelKey:"groupClasses.tzRef.euCentral"}],x4e=()=>{const e=H(),t=vt(re=>re.uiLang),{authFetch:n,user:r}=bt(),s=r==null?void 0:r.sub,[i,a]=ki(),l=v.useRef({authFetch:n,identity:s});l.current={authFetch:n,identity:s};const[c,u]=v.useState(null),[d,h]=v.useState(!0),[f,p]=v.useState(!1),[m,y]=v.useState(!1),[_,g]=v.useState(!1),[b,k]=v.useState(!1),[x,S]=v.useState(null),[T,C]=v.useState(""),[E,N]=v.useState(60),[j,I]=v.useState("topic_lecture"),[P,O]=v.useState(Pd),[F,B]=v.useState(4),[$,D]=v.useState("20"),z=v.useRef(0),R=v.useRef(!1),w=v.useRef(!1),L=v.useRef(null),M=v.useRef(null),A=v.useRef(!1),q=(c==null?void 0:c.authFetch)===n&&(c==null?void 0:c.identity)===s,W=q&&c.feePct!==null,U=q?c.sessions:[],G=W?c.feePct:null,oe=!W||d||_||m,de=re=>re===z.current&&l.current.authFetch===n&&l.current.identity===s,Ae=v.useCallback(async()=>{if(R.current||w.current)return;R.current=!0;const re=z.current;h(!0);try{const Le=await Ipe(n);if(re!==z.current||l.current.authFetch!==n||l.current.identity!==s)return;A.current=document.activeElement===M.current,u({authFetch:n,identity:s,sessions:Le.sessions,feePct:Le.marketplaceFeePct}),p(!1),y(!1),S(null)}catch{if(re!==z.current||l.current.authFetch!==n||l.current.identity!==s)return;u(Le=>(Le==null?void 0:Le.authFetch)===n&&Le.identity===s?Le:{authFetch:n,identity:s,sessions:[],feePct:null}),p(!0)}finally{re===z.current&&l.current.authFetch===n&&l.current.identity===s&&(R.current=!1,h(!1))}},[n,s]);v.useEffect(()=>(z.current++,R.current=!1,w.current=!1,h(!0),p(!1),y(!1),g(!1),k(!1),S(null),C(""),N(60),I("topic_lecture"),O(Pd),B(4),D("20"),Ae(),()=>{z.current++}
131),[Ae]),v.useLayoutEffect(()=>{var re;W&&A.current&&(A.current=!1,(re=L.current)==null||re.focus())},[c,W]);const te=Math.round(parseFloat($)*100),be=Number.isFinite(te)&&te>0,Be=(()=>{if(!T)return null;try{return k4e(T,i)}catch{return null}})(),He=async()=>{if(oe||w.current)return;if(S(null),k(!1),!Be){S("groupClasses.field.start");return}if(!be){S("groupClasses.field.price");return}w.current=!0,g(!0);const re=z.current;try{const Le=await Rpe(n,{startUtc:Be,durationMinutes:E,lessonType:j,pricePerSeatUsdCents:te,minStudents:P,maxStudents:F});if(!de(re))return;u(Ke=>Ke&&{...Ke,sessions:[...Ke.sessions.filter(Se=>Se.id!==Le.id),Le].sort((Se,lt)=>Date.parse(lt.startUtc)-Date.parse(Se.startUtc))}),C(""),k(!0)}catch(Le){if(!de(re))return;const Ke=Le instanceof Error?Le.message:"";S(Ke==="slot_conflict"?"booking.error.conflict":"groupEditorRecovery.writeError"),y(!0)}finally{de(re)&&(w.current=!1,g(!1))}},Ne=async(re,Le)=>{if(oe||w.current)return;w.current=!0,g(!0),S(null),k(!1);const Ke=z.current;try{if(await Ppe(n,re),!de(Ke))return;A.current=document.activeElement===Le,u(Se=>Se&&{...Se,sessions:Se.sessions.map(lt=>lt.id===re?{...lt,status:"cancelled"}:lt)}),k(!0)}catch{de(Ke)&&(S("groupEditorRecovery.cancelError"),y(!0))}finally{de(Ke)&&(w.current=!1,g(!1))}},We=(f||m)&&q&&o.jsxs("div",{className:"schedule-editor-recovery",children:[f&&o.jsx("p",{role:"alert",children:e("schedule.editor.loadError")}),o.jsx("button",{ref:M,className:"btn btn--ghost","aria-disabled":d||_,onClick:()=>{Ae()},children:e("schedule.editor.retry")}),d&&o.jsx("p",{role:"status",children:e("schedule.editor.loading")})]});return W?o.jsxs("div",{className:"group-classes-tab",children:[o.jsx("h2",{ref:L,tabIndex:-1,className:"my-schedule__section-head",children:e("groupClasses.tab")}),We,o.jsx("p",{className:"group-classes-tab__subtitle",children:e("groupClasses.subtitle")}),o.jsxs("fieldset",{className:"group-classes-tab__form",disabled:oe,children:[o.jsx("div",{className:"group-classes-tab__field group-classes-tab__field--tz",children:o.jsx(im,{value:i,onChange:a,teacherTz:null,labelKey:"groupClasses.field.timezone",hideUtcOffsets:!0})}),o.jsxs("label",{className:"group-classes-tab__field",children:[o.jsx("span",{children:e("groupClasses.field.start")}),o.jsx("input",{type:"datetime-local",value:T,onChange:re=>C(re.target.value)})]}),o.jsxs("label",{className:"group-classes-tab__field",children:[o.jsx("span",{children:e("groupClasses.field.duration")}),o.jsx("select",{value:E,onChange:re=>N(Number(re.target.value)),children:vR.map(re=>o.jsx("option",{value:re,children:re},re))})]}),o.jsxs("label",{className:"group-classes-tab__field",children:[o.jsx("span",{children:e("groupClasses.field.type")}),o.jsx("select",{value:j,onChange:re=>I(re.target.value),children:m3.map(re=>o.jsx("option",{value:re,children:e(`groupClasses.type.${re}`)},re))})]}),o.jsxs("label",{className:"group-classes-tab__field",children:[o.jsx("span",{children:e("groupClasses.field.min")}),o.jsx("input",{type:"number",min:Pd,max:G6,value:P,onChange:re=>O(Number(re.target.value))})]}),o.jsxs("label",{className:"group-classes-tab__field",children:[o.jsx("span",{children:e("groupClasses.field.max")}),o.jsx("input",{type:"number",min:Pd,max:G6,value:F,onChange:re=>B(Number(re.target.value))})]}),o.jsxs("div",{className:"group-classes-tab__field",children:[o.jsx("label",{htmlFor:"group-class-price",children:e("groupClasses.field.price")}),o.jsx("input",{id:"group-class-price",type:"number",min:"1",step:"1",value:$,onChange:re=>D(re.target.value)})]}),be&&o.jsx("p",{className:"group-classes-tab__price-display",children:e("schedule.offerings.priceStudentsSee",{price:(M6(te,G).gross/100).toFixed(2),feePct:String(G)})})]}),o.jsx("button",{className:"btn btn--accent group-classes-tab__create","aria-disabled":oe,onClick:()=>{He()},children:e("groupClasses.create")}),Be&&o.jsxs("div",{className:"group-classes-tab__tzref",children:[o.jsx("span",{className:"group-classes-tab__tzref-heading",children:e("groupClasses.tzRef.heading")}),o.jsx("ul",{className:"group-classes-tab__tzref-list",children:w4e.map(re=>o.jsxs("li",{className:"group-classes-tab__tzref-row",children:[o.jsx("span",{className:"group-classes-tab__tzref-label",children:e(re.labelKey)}),o.jsxs("span",{className:"group-classes-tab__tzref-time",children:[Kt(Be,re.tz,t)," ",mn(Be,re.tz)]})]},re.tz))}),o.jsx("p",{className:"group-classes-tab__tzref-hint",children:e("groupClasses.tzRef.hint")})]}),x&&o.jsx("p",{className:"my-schedule__error",role:"alert",children:e(x)}),_&&o.jsx("p",{role:"status",children:e("schedule.saving")}),b&&o.jsx("p",{role:"status",children:e("schedule.editor.saved")}),U.length===0?o.jsx("p",{className:"my-schedule__empty",children:e("groupClasses.empty")}):o.jsx("ul",{className:"group-classes-tab__list",children:U.map(re=>o.jsxs("li",{className:"group-classes-tab__row",children:[o.jsxs("div",{className:"group-classes-tab__row-main",children:[o.jsxs("span",{className:"group-classes-tab__row-when",children:[Kt(re.startUtc,i,t)," ",mn(re.startUtc,i)]}),o.jsxs("span",{className:"group-classes-tab__row-meta",children:[e(`groupClasses.type.${re.lessonType}`)," ·"," ",e("groupClasses.durationMin",{n:String(re.durationMinutes)})," ·"," ",e("groupClasses.minMaxRange",{min:String(re.minStudents),max:String(re.maxStudents)})," ","· $",(re.pricePerSeatUsdCents/100).toFixed(2)]})]}),re.status==="scheduled"&&o.jsx("button",{className:"btn btn--ghost","aria-disabled":oe,onClick:Le=>{Ne(re.id,Le.currentTarget)},children:e("groupClasses.cancel")}),re.status!=="scheduled"&&o.jsx("span",{className:"group-classes-tab__status",children:e(`groupClasses.status.${re.status}`)})]},re.id))})]}):We||o.jsx("p",{className:"my-schedule__loading",role:"status",children:e("schedule.loading")})},S4e=({teacherStatus:e,awaitingReplyCount:t})=>{const n=H();if(e==="unknown")return null;const r=e==="approved",s=t!=null&&t>0,i=s?t>99?"99+":String(t):null,a=s?`${n("nav.inbox")} — ${t}
131 ${n("inbox.unreadBadge")}`:n("nav.inbox"),l=o.jsxs("a",{href:"/inbox",className:"btn btn--ghost","aria-label":s?a:void 0,children:[o.jsx(fD,{}),n("nav.inbox"),i&&o.jsx("span",{className:"my-lessons__action-badge","aria-hidden":"true",children:i})]});return o.jsx("nav",{className:"my-lessons__actions","aria-label":n("myLessons.actionsLabel"),children:r?o.jsxs(o.Fragment,{children:[o.jsxs("a",{href:"/teach/new-lesson",className:"btn btn--accent",children:[o.jsx(xhe,{}),n("nav.createClassroom")]}),o.jsxs("a",{href:"/teacher/me/schedule",className:"btn btn--ghost",children:[o.jsx(hD,{}),n("nav.schedule")]}),l]}):o.jsxs(o.Fragment,{children:[o.jsxs("a",{href:"/teachers",className:"btn btn--accent",children:[o.jsx(pD,{}),n("nav.findTeacher")]}),l]})})},T4e=e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>t(typeof r.result=="string"?r.result:""),r.onerror=()=>n(r.error??new Error("read failed")),r.readAsText(e)}),j4e=({bookingId:e,authFetch:t})=>{const n=H(),[r,s]=v.useState([]),[i,a]=v.useState([]),[l,c]=v.useState([]),[u,d]=v.useState(null),h=v.useRef(null),f=v.useCallback(async()=>{try{const k=await tb(t,e,{includeDeleted:!0});s(k.filter(x=>x.deletedAt===null)),a(k.filter(x=>x.deletedAt!==null)),d(null)}catch(k){d(k.message)}},[t,e]);v.useEffect(()=>{f()},[f]);const p=v.useCallback(async k=>{const x=Date.now(),S=[],T=[];for(let C=0;C<k.length;C+=1){const E=k[C],N=`${x}-${C}`;E.size>nw?T.push({key:N,filename:E.name,size:E.size,status:"failed",errorKey:"bookingSgf.error.tooLarge"}):(T.push({key:N,filename:E.name,size:E.size,status:"queued"}),S.push({file:E,rowKey:N}))}c(C=>[...C,...T]);for(let C=0;C<S.length;C+=1){const{file:E,rowKey:N}=S[C];c(j=>j.map(I=>I.key===N?{...I,status:"uploading"}:I));try{const j=await T4e(E);await j1e(t,e,{sgfText:j,originalFilename:E.name}),c(I=>I.filter(P=>P.key!==N))}catch(j){const I=j.message,P=I==="sgf_too_large"?"bookingSgf.error.tooLarge":I==="too_many_sgfs"?"bookingSgf.error.tooMany":I==="total_size_exceeded"?"bookingSgf.error.totalTooLarge":I==="booking_not_in_mutable_state"?"bookingSgf.error.lifecycleLocked":"bookingSgf.error.network";c(O=>O.map(F=>F.key===N?{...F,status:"failed",errorKey:P}:F))}}await f()},[t,e,f]),m=k=>{!k||k.length===0||p(Array.from(k))},y=async k=>{try{await C1e(t,e,k),await f()}catch(x){d(x.message)}},_=async k=>{try{await E1e(t,e,k),await f()}catch(x){d(x.message)}},g=Xm-r.length,b=k=>(k/1e6).toFixed(1);return o.jsxs("section",{className:"booking-sgf",children:[o.jsx("h3",{className:"booking-sgf__title",children:n("bookingSgf.section.title")}),o.jsx("p",{className:"booking-sgf__description",children:n("bookingSgf.section.description.student")}),o.jsx("button",{type:"button",className:"booking-sgf__dropzone",onClick:()=>{var k;return(k=h.current)==null?void 0:k.click()},onDragOver:k=>k.preventDefault(),onDrop:k=>{k.preventDefault(),m(k.dataTransfer.files)},children:n("bookingSgf.dropzone.label")}),o.jsx("input",{ref:h,type:"file",accept:".sgf",multiple:!0,"aria-label":n("bookingSgf.dropzone.label"),onChange:k=>m(k.target.files),style:{display:"none"}}),l.map(k=>o.jsxs("div",{className:`booking-sgf__queue-row booking-sgf__queue-row--${k.status}`,children:[o.jsx("span",{children:k.filename}),o.jsxs("span",{children:[b(k.size)," MB"]}),o.jsx("span",{children:n(`bookingSgf.status.${k.status}`)}),k.errorKey&&o.jsx("span",{className:"booking-sgf__error",children:n(k.errorKey,{max_mb:nw/1e6,max_count:Xm})})]},k.key)),r.length===0&&l.length===0&&o.jsx("p",{className:"booking-sgf__empty",children:n("bookingSgf.empty.student")}),o.jsx("ul",{className:"booking-sgf__list",children:r.map(k=>o.jsxs("li",{className:"booking-sgf__item",children:[o.jsx("span",{className:"booking-sgf__filename",children:k.originalFilename??k.id}),o.jsxs("span",{className:"booking-sgf__size",children:[b(k.byteSize)," MB"]}),o.jsx("span",{className:"booking-sgf__label",children:k.label}),k.parseStatus==="malformed"&&o.jsx("span",{className:"booking-sgf__warn",children:n("bookingSgf.row.malformed")}),o.jsx("button",{type:"button",className:"btn btn--sm",onClick:()=>{y(k.id)},children:n("bookingSgf.row.delete")})]},k.id))}),i.length>0&&o.jsxs("details",{className:"booking-sgf__deleted",children:[o.jsxs("summary",{children:[n("bookingSgf.recentlyDeleted.heading")," (",i.length,")"]}),o.jsx("ul",{children:i.map(k=>o.jsxs("li",{children:[o.jsx("span",{children:k.originalFilename??k.id}),o.jsx("button",{type:"button",className:"btn btn--sm",onClick:()=>{_(k.id)},children:n("bookingSgf.row.restore")})]},k.id))})]}),u&&o.jsx("p",{className:"booking-sgf__error",children:u}),g<=0&&o.jsx("p",{className:"booking-sgf__warn",children:n("bookingSgf.error.tooMany",{max_count:Xm})}),o.jsxs("p",{className:"booking-sgf__hint",children:[b(r.reduce((k,x)=>k+x.byteSize,0))," / ",b(Tte)," MB"]})]})},cE=$3,qp=19,C4e=120,E4e=e=>{const t=[];let n=e;for(;n.children.length>0;)t.push(0),n=n.children[0];return t},z4e=Array.from({length:qp},()=>Array.from({length:qp},()=>0)),N4e=(e,t)=>
131{let n;try{n=c4e(e)}catch{return null}if(n.version===0)return null;const r={...n,cursor:E4e(n.tree)},{signMap:s}=Qa(r),i=Math.max(2,Math.floor((t-4)/qp));return{signMap:s,vertexSize:i}},I4e=e=>Math.max(2,Math.floor((e-4)/qp)),R4e=({sgfText:e,size:t=C4e})=>{const n=H(),r=v.useMemo(()=>N4e(e,t),[e,t]);if(!r){const s=n("bookingSgf.miniBoard.unavailable"),i=I4e(t);return o.jsxs("div",{className:"sgf-mini-board sgf-mini-board--empty",style:{width:t,height:t},"aria-label":s,children:[o.jsx(cE,{vertexSize:i,signMap:z4e,showCoordinates:!1}),o.jsx("span",{className:"sgf-mini-board__placeholder",children:s})]})}return o.jsx("div",{className:"sgf-mini-board",style:{width:t,height:t},"aria-hidden":"true",children:o.jsx(cE,{vertexSize:r.vertexSize,signMap:r.signMap,showCoordinates:!1})})},P4e=({bookingId:e,authFetch:t})=>{const n=H(),[r,s]=v.useState(null),[i,a]=v.useState(null);if(v.useEffect(()=>{let c=!0;return tb(t,e,{role:"teacher"}).then(u=>{c&&s(u)}).catch(u=>{c&&a(u.message)}),()=>{c=!1}},[t,e]),i)return o.jsx("p",{className:"booking-sgf__error",children:i});if(r===null)return null;if(r.length===0)return o.jsx("p",{className:"booking-sgf__empty",children:n("bookingSgf.empty.teacher")});const l=c=>{const u=new Blob([c.sgfText],{type:"application/x-go-sgf"}),d=URL.createObjectURL(u),h=document.createElement("a");h.href=d,h.download=c.originalFilename??`${c.id}.sgf`,document.body.appendChild(h),h.click(),document.body.removeChild(h),URL.revokeObjectURL(d)};return o.jsxs("section",{className:"booking-sgf-preview",children:[o.jsx("h3",{children:n("bookingSgf.teacher.previewTitle")}),o.jsx("ul",{className:"booking-sgf-preview__list",children:r.map(c=>o.jsxs("li",{className:"booking-sgf-preview__item",children:[o.jsx(R4e,{sgfText:c.sgfText,size:120}),o.jsxs("div",{className:"booking-sgf-preview__meta",children:[o.jsx("p",{className:"booking-sgf-preview__label",children:c.label}),o.jsxs("p",{className:"booking-sgf-preview__filename",children:[c.originalFilename??c.id," · ",(c.byteSize/1024).toFixed(0)," KB"]}),c.parseStatus==="malformed"&&o.jsx("p",{className:"booking-sgf-preview__warn",children:n("bookingSgf.row.malformed")}),o.jsx("button",{type:"button",className:"btn btn--sm",onClick:()=>l(c),children:n("bookingSgf.row.download")})]})]},c.id))})]})};function uE(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}const Yg="phrasing",Jg=["autolink","link","image","label"];function A4e(){return{transforms:[$4e],enter:{literalAutolink:M4e,literalAutolinkEmail:Zg,literalAutolinkHttp:Zg,literalAutolinkWww:Zg},exit:{literalAutolink:F4e,literalAutolinkEmail:W4e,literalAutolinkHttp:O4e,literalAutolinkWww:D4e}}}function L4e(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Yg,notInConstruct:Jg},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Yg,notInConstruct:Jg},{character:":",before:"[ps]",after:"\\/",inConstruct:Yg,notInConstruct:Jg}]}}function M4e(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Zg(e){this.config.enter.autolinkProtocol.call(this,e)}function O4e(e){this.config.exit.autolinkProtocol.call(this,e)}function D4e(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function W4e(e){this.config.exit.autolinkEmail.call(this,e)}function F4e(e){this.exit(e)}function $4e(e){tR(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,B4e],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),U4e]],{ignore:["link","linkReference"]})}function B4e(e,t,n,r,s){let i="";if(!hW(s)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!q4e(n)))return!1;const a=H4e(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function U4e(e,t,n,r){return!hW(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function q4e(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function H4e(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const s=uE(e,"(");let i=uE(e,")");for(;r!==-1&&s>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function hW(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||ll(n)||g3(n))&&(!t||n!==47)}fW.peek=ege;function G4e(){this.buffer()}function K4e(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function V4e(){this.buffer()}function Y4e(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function J4e(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ps(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Z4e(e){this.exit(e)}function X4e(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ps(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Q4e(e){this.exit(e)}function ege(){return"["}function fW(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const a=n.enter("footnoteReference"),l=n.enter("reference");return i+=s.move(n.safe(n.associationId(e),{after:"]",before:i})),l(),a(),i+=s.move("]"),i}function tge(){return{enter:{gfmFootnoteCallString:G4e,gfmFootnoteCall:K4e,gfmFootnoteDefinitionLabelString:V4e,gfmFootnoteDefinition:Y4e},exit:{gfmFootnoteCallString:J4e,gfmFootnoteCall:Z4e,gfmFootnoteDefinitionLabelString:X4e,gfmFootnoteDefinition:Q4e}}}function nge(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:fW},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,s,i,a){const l=i.createTracker(a);let c=l.move("[^");const u=i.enter("footnoteDefinition"),d=i.enter("label");return c+=l.move(i.safe(i.associationId(r),{before:c,after:"]"})),d(),c+=l.move("]:"),r.children&&r.children.length>0&&(l.shift(4),c+=l.move((t?`
132`:" ")+i.indentLines(i.containerFlow(r,l.current()),t?pW:rge))),u(),c}}function rge(e,t,n){return t===0?e:pW(e,t,n)}function pW(e,t,n){return(n?"":"    ")+e}const sge=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];mW.peek=cge;
vendor: 15,998 bytes, lines 132-146
132function ige(){return{canContainEols:["delete"],enter:{strikethrough:oge},exit:{strikethrough:lge}}}function age(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:sge}],handlers:{delete:mW}}}function oge(e){this.enter({type:"delete",children:[]},e)}function lge(e){this.exit(e)}function mW(e,t,n,r){const s=n.createTracker(r),i=n.enter("strikethrough");let a=s.move("~~");return a+=n.containerPhrasing(e,{...s.current(),before:a,after:"~"}),a+=s.move("~~"),i(),a}function cge(){return"~"}function uge(e){return e.length}function dge(e,t){const n=t||{},r=(n.align||[]).concat(),s=n.stringLength||uge,i=[],a=[],l=[],c=[];let u=0,d=-1;for(;++d<e.length;){const y=[],_=[];let g=-1;for(e[d].length>u&&(u=e[d].length);++g<e[d].length;){const b=hge(e[d][g]);if(n.alignDelimiters!==!1){const k=s(b);_[g]=k,(c[g]===void 0||k>c[g])&&(c[g]=k)}y.push(b)}a[d]=y,l[d]=_}let h=-1;if(typeof r=="object"&&"length"in r)for(;++h<u;)i[h]=dE(r[h]);else{const y=dE(r);for(;++h<u;)i[h]=y}h=-1;const f=[],p=[];for(;++h<u;){const y=i[h];let _="",g="";y===99?(_=":",g=":"):y===108?_=":":y===114&&(g=":");let b=n.alignDelimiters===!1?1:Math.max(1,c[h]-_.length-g.length);const k=_+"-".repeat(b)+g;n.alignDelimiters!==!1&&(b=_.length+b+g.length,b>c[h]&&(c[h]=b),p[h]=b),f[h]=k}a.splice(1,0,f),l.splice(1,0,p),d=-1;const m=[];for(;++d<a.length;){const y=a[d],_=l[d];h=-1;const g=[];for(;++h<u;){const b=y[h]||"";let k="",x="";if(n.alignDelimiters!==!1){const S=c[h]-(_[h]||0),T=i[h];T===114?k=" ".repeat(S):T===99?S%2?(k=" ".repeat(S/2+.5),x=" ".repeat(S/2-.5)):(k=" ".repeat(S/2),x=k):x=" ".repeat(S)}n.delimiterStart!==!1&&!h&&g.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&b==="")&&(n.delimiterStart!==!1||h)&&g.push(" "),n.alignDelimiters!==!1&&g.push(k),g.push(b),n.alignDelimiters!==!1&&g.push(x),n.padding!==!1&&g.push(" "),(n.delimiterEnd!==!1||h!==u-1)&&g.push("|")}m.push(n.delimiterEnd===!1?g.join("").replace(/ +$/,""):g.join(""))}return m.join(`
133`)}function hge(e){return e==null?"":String(e)}function dE(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function fge(e,t,n,r){const s=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),pge);return s(),a}function pge(e,t,n){return">"+(n?"":" ")+e}function mge(e,t){return hE(e,t.inConstruct,!0)&&!hE(e,t.notInConstruct,!1)}function hE(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function fE(e,t,n,r){let s=-1;for(;++s<n.unsafe.length;)if(n.unsafe[s].character===`
134`&&mge(n.stack,n.unsafe[s]))return/[ \t]/.test(r.before)?"":" ";return`\\
135`}function gge(e,t){const n=String(e);let r=n.indexOf(t),s=r,i=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===s?++i>a&&(a=i):i=1,s=r+t.length,r=n.indexOf(t,s);return a}function yge(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function vge(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function bge(e,t,n,r){const s=vge(n),i=e.value||"",a=s==="`"?"GraveAccent":"Tilde";if(yge(e,n)){const h=n.enter("codeIndented"),f=n.indentLines(i,_ge);return h(),f}const l=n.createTracker(r),c=s.repeat(Math.max(gge(i,s)+1,3)),u=n.enter("codeFenced");let d=l.move(c);if(e.lang){const h=n.enter(`codeFencedLang${a}`);d+=l.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...l.current()})),h()}if(e.lang&&e.meta){const h=n.enter(`codeFencedMeta${a}`);d+=l.move(" "),d+=l.move(n.safe(e.meta,{before:d,after:`
136`,encode:["`"],...l.current()})),h()}return d+=l.move(`
137`),i&&(d+=l.move(i+`
138`)),d+=l.move(c),u(),d}function _ge(e,t,n){return(n?"":"    ")+e}function xb(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function kge(e,t,n,r){const s=xb(n),i=s==='"'?"Quote":"Apostrophe",a=n.enter("definition");let l=n.enter("label");const c=n.createTracker(r);let u=c.move("[");return u+=c.move(n.safe(n.associationId(e),{before:u,after:"]",...c.current()})),u+=c.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()})),u+=c.move(">")):(l=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":`
139`,...c.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=c.move(" "+s),u+=c.move(n.safe(e.title,{before:u,after:s,...c.current()})),u+=c.move(s),l()),a(),u}function wge(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function m1(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Hp(e,t,n){const r=lu(e),s=lu(t);return r===void 0?s===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}gW.peek=xge;function gW(e,t,n,r){const s=wge(n),i=n.enter("emphasis"),a=n.createTracker(r),l=a.move(s);let c=a.move(n.containerPhrasing(e,{after:s,before:l,...a.current()}));const u=c.charCodeAt(0),d=Hp(r.before.charCodeAt(r.before.length-1),u,s);d.inside&&(c=m1(u)+c.slice(1));const h=c.charCodeAt(c.length-1),f=Hp(r.after.charCodeAt(0),h,s);f.inside&&(c=c.slice(0,-1)+m1(h));const p=a.move(s);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:d.outside},l+c+p}function xge(e,t,n){return n.options.emphasis||"*"}function Sge(e,t){let n=!1;return ky(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,F6}),!!((!e.depth||e.depth<3)&&dy(e)&&(t.options.setext||n))}function Tge(e,t,n,r){const s=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(Sge(e,n)){const d=n.enter("headingSetext"),h=n.enter("phrasing"),f=n.containerPhrasing(e,{...i.current(),before:`
140`,after:`
141`});return h(),d(),f+`
142`+(s===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(`
143`))+1))}const a="#".repeat(s),l=n.enter("headingAtx"),c=n.enter("phrasing");i.move(a+" ");let u=n.containerPhrasing(e,{before:"# ",after:`
144`,...i.current()});return/^[\t ]/.test(u)&&(u=m1(u.charCodeAt(0))+u.slice(1)),u=u?a+" "+u:a,n.options.closeAtx&&(u+=" "+a),c(),l(),u}yW.peek=jge;function yW(e){return e.value||""}function jge(){return"<"}vW.peek=Cge;function vW(e,t,n,r){const s=xb(n),i=s==='"'?"Quote":"Apostrophe",a=n.enter("image");let l=n.enter("label");const c=n.createTracker(r);let u=c.move("![");return u+=c.move(n.safe(e.alt,{before:u,after:"]",...c.current()})),u+=c.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()})),u+=c.move(">")):(l=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":")",...c.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=c.move(" "+s),u+=c.move(n.safe(e.title,{before:u,after:s,...c.current()})),u+=c.move(s),l()),u+=c.move(")"),a(),u}function Cge(){return"!"}bW.peek=Ege;function bW(e,t,n,r){const s=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const l=n.createTracker(r);let c=l.move("![");const u=n.safe(e.alt,{before:c,after:"]",...l.current()});c+=l.move(u+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...l.current()});return a(),n.stack=d,i(),s==="full"||!u||u!==h?c+=l.move(h+"]"):s==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function Ege(){return"!"}_W.peek=zge;function _W(e,t,n){let r=e.value||"",s="`",i=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(r);)s+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const a=n.unsafe[i],l=n.compilePattern(a);let c;if(a.atBreak)for(;c=l.exec(r);){let u=c.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(c.index+1)}}return s+r+s}function zge(){return"`"}function kW(e,t){const n=dy(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}wW.peek=Nge;function wW(e,t,n,r){const s=xb(n),i=s==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let l,c;if(kW(e,n)){const d=n.stack;n.stack=[],l=n.enter("autolink");let h=a.move("<");return h+=a.move(n.containerPhrasing(e,{before:h,after:">",...a.current()})),h+=a.move(">"),l(),n.stack=d,h}l=n.enter("link"),c=n.enter("label");let u=a.move("[");return u+=a.move(n.containerPhrasing(e,{before:u,after:"](",...a.current()})),u+=a.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),u+=a.move("<"),u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()})),u+=a.move(">")):(c=n.enter("destinationRaw"),u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))),c(),e.title&&(c=n.enter(`title${i}`),u+=a.move(" "+s),u+=a.move(n.safe(e.title,{before:u,after:s,...a.current()})),u+=a.move(s),c()),u+=a.move(")"),l(),u}function Nge(e,t,n){return kW(e,n)?"<":"["}xW.peek=Ige;function xW(e,t,n,r){const s=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const l=n.createTracker(r);let c=l.move("[");const u=n.containerPhrasing(e,{before:c,after:"]",...l.current()});c+=l.move(u+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...l.current()});return a(),n.stack=d,i(),s==="full"||!u||u!==h?c+=l.move(h+"]"):s==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function Ige(){return"["}function Sb(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Rge(e){const t=Sb(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Pge(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function SW(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Age(e,t,n,r){const s=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?Pge(n):Sb(n);const l=e.ordered?a==="."?")":".":Rge(n);let c=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),SW(n)===a&&d){let h=-1;for(;++h<e.children.length;){const f=e.children[h];if(f&&f.type==="listItem"&&f.children&&f.children[0]&&f.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(a=l),n.bulletCurrent=a;const u=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,s(),u}function Lge(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Mge(e,t,n,r){const s=Lge(n);let i=n.bulletCurrent||Sb(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let a=i.length+1;(s==="tab"||s==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const l=n.createTracker(r);l.move(i+" ".repeat(a-i.length)),l.shift(a);const c=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),d);return c(),u;function d(h,f,p){return f?(p?"":" ".repeat(a))+h:(p?i:i+" ".repeat(a-i.length))+h}}function Oge(e,t,n,r){const s=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),s(),a}const Dge=v3(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Wge(e,t,n,r){return(e.children.some(function(a){return Dge(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Fge(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}TW.peek=$ge;function TW(e,t,n,r){const s=Fge(n),i=n.enter("strong"),a=n.createTracker(r),l=a.move(s+s);let c=a.move(n.containerPhrasing(e,{after:s,before:l,...a.current()}));const u=c.charCodeAt(0),d=Hp(r.before.charCodeAt(r.before.length-1),u,s);d.inside&&(c=m1(u)+c.slice(1));const h=c.charCodeAt(c.length-1),f=Hp(r.after.charCodeAt(0),h,s);f.inside&&(c=c.slice(0,-1)+m1(h));const p=a.move(s+s);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:d.outside},l+c+p}function $ge(e,t,n){return n.options.strong||"*"}function Bge(e,t,n,r){return n.safe(e.value,r)}function Uge(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function qge(e,t,n){const r=(SW(n)+(n.options.ruleSpaces?" ":"")).repeat(Uge(n));return n.options.ruleSpaces?r.slice(0,-1):r}const jW={blockquote:fge,break:fE,code:bge,definition:kge,emphasis:gW,hardBreak:fE,heading:Tge,html:yW,image:vW,imageReference:bW,inlineCode:_W,link:wW,linkReference:xW,list:Age,listItem:Mge,paragraph:Oge,root:Wge,strong:TW,text:Bge,thematicBreak:qge};function Hge(){return{enter:{table:Gge,tableData:pE,tableHeader:pE,tableRow:Vge},exit:{codeText:Yge,table:Kge,tableData:Xg,tableHeader:Xg,tableRow:Xg}}}function Gge(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Kge(e){this.exit(e),this.data.inTable=void 0}function Vge(e){this.enter({type:"tableRow",children:[]},e)}function Xg(e){this.exit(e)}function pE(e){this.enter({type:"tableCell",children:[]},e)}function Yge(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Jge));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Jge(e,t){return t==="|"?t:e}function Zge(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,s=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
145`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:a,tableCell:c,tableRow:l}};function a(p,m,y,_){return u(d(p,y,_),p.align)}function l(p,m,y,_){const g=h(p,y,_),b=u([g]);return b.slice(0,b.indexOf(`
146`))}function c(p,m,y,_){const g=y.enter("tableCell"),b=y.enter("phrasing"),k=y.containerPhrasing(p,{..._,before:i,after:i});return b(),g(),k}function u(p,m){return dge(p,{align:m,alignDelimiters:r,padding:n,stringLength:s})}function d(p,m,y){const _=p.children;let g=-1;const b=[],k=m.enter("table");for(;++g<_.length;)b[g]=h(_[g],m,y);return k(),b}function h(p,m,y){const _=p.children;let g=-1;const b=[],k=m.enter("tableRow");for(;++g<_.length;
vendor: 4,149 bytes, line 146
146)b[g]=c(_[g],p,m,y);return k(),b}function f(p,m,y){let _=jW.inlineCode(p,m,y);return y.stack.includes("tableCell")&&(_=_.replace(/\|/g,"\\$&")),_}}function Xge(){return{exit:{taskListCheckValueChecked:mE,taskListCheckValueUnchecked:mE,paragraph:e6e}}}function Qge(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:t6e}}}function mE(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function e6e(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const s=t.children;let i=-1,a;for(;++i<s.length;){const l=s[i];if(l.type==="paragraph"){a=l;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function t6e(e,t,n,r){const s=e.children[0],i=typeof e.checked=="boolean"&&s&&s.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);i&&l.move(a);let c=jW.listItem(e,t,n,{...r,...l.current()});return i&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),c;function u(d){return d+a}}function n6e(){return[A4e(),tge(),ige(),Hge(),Xge()]}function r6e(e){return{extensions:[L4e(),nge(e),age(),Zge(e),Qge()]}}const s6e={tokenize:u6e,partial:!0},CW={tokenize:d6e,partial:!0},EW={tokenize:h6e,partial:!0},zW={tokenize:f6e,partial:!0},i6e={tokenize:p6e,partial:!0},NW={name:"wwwAutolink",tokenize:l6e,previous:RW},IW={name:"protocolAutolink",tokenize:c6e,previous:PW},oa={name:"emailAutolink",tokenize:o6e,previous:AW},wi={};function a6e(){return{text:wi}}let Eo=48;for(;Eo<123;)wi[Eo]=oa,Eo++,Eo===58?Eo=65:Eo===91&&(Eo=97);wi[43]=oa;wi[45]=oa;wi[46]=oa;wi[95]=oa;wi[72]=[oa,IW];wi[104]=[oa,IW];wi[87]=[oa,NW];wi[119]=[oa,NW];function o6e(e,t,n){const r=this;let s,i;return a;function a(h){return!g9(h)||!AW.call(r,r.previous)||Tb(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(h))}function l(h){return g9(h)?(e.consume(h),l):h===64?(e.consume(h),c):n(h)}function c(h){return h===46?e.check(i6e,d,u)(h):h===45||h===95||Wn(h)?(i=!0,e.consume(h),c):d(h)}function u(h){return e.consume(h),s=!0,c}function d(h){return i&&s&&Zn(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function l6e(e,t,n){const r=this;return s;function s(a){return a!==87&&a!==119||!RW.call(r,r.previous)||Tb(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(s6e,e.attempt(CW,e.attempt(EW,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function c6e(e,t,n){const r=this;let s="",i=!1;return a;function a(h){return(h===72||h===104)&&PW.call(r,r.previous)&&!Tb(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(h),e.consume(h),l):n(h)}function l(h){if(Zn(h)&&s.length<5)return s+=String.fromCodePoint(h),e.consume(h),l;if(h===58){const f=s.toLowerCase();if(f==="http"||f==="https")return e.consume(h),c}return n(h)}function c(h){return h===47?(e.consume(h),i?u:(i=!0,c)):n(h)}function u(h){return h===null||Af(h)||xt(h)||ll(h)||g3(h)?n(h):e.attempt(CW,e.attempt(EW,d),n)(h)}function d(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function u6e(e,t,n){let r=0;return s;function s(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),s):a===46&&r===3?(e.consume(a),i):n(a)}function i(a){return a===null?n(a):t(a)}}function d6e(e,t,n){let r,s,i;return a;function a(u){return u===46||u===95?e.check(zW,c,l)(u):u===null||xt(u)||ll(u)||u!==45&&g3(u)?c(u):(i=!0,e.consume(u),a)}function l(u){return u===95?r=!0:(s=r,r=void 0),e.consume(u),a}function c(u){return s||r||!i?n(u):t(u)}}function h6e(e,t){let n=0,r=0;return s;function s(a){return a===40?(n++,e.consume(a),s):a===41&&r<n?i(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(zW,t,i)(a):a===null||xt(a)||ll(a)?t(a
vendor: 4,761 bytes, line 146
146):(e.consume(a),s)}function i(a){return a===41&&r++,e.consume(a),s}}function f6e(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),i):l===93?(e.consume(l),s):l===60||l===null||xt(l)||ll(l)?t(l):n(l)}function s(l){return l===null||l===40||l===91||xt(l)||ll(l)?t(l):r(l)}function i(l){return Zn(l)?a(l):n(l)}function a(l){return l===59?(e.consume(l),r):Zn(l)?(e.consume(l),a):n(l)}}function p6e(e,t,n){return r;function r(i){return e.consume(i),s}function s(i){return Wn(i)?n(i):t(i)}}function RW(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||xt(e)}function PW(e){return!Zn(e)}function AW(e){return!(e===47||g9(e))}function g9(e){return e===43||e===45||e===46||e===95||Wn(e)}function Tb(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const m6e={tokenize:x6e,partial:!0};function g6e(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:_6e,continuation:{tokenize:k6e},exit:w6e}},text:{91:{name:"gfmFootnoteCall",tokenize:b6e},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:y6e,resolveTo:v6e}}}}function y6e(e,t,n){const r=this;let s=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;s--;){const c=r.events[s][1];if(c.type==="labelImage"){a=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!a||!a._balanced)return n(c);const u=Ps(r.sliceSerialize({start:a.end,end:r.now()}));return u.codePointAt(0)!==94||!i.includes(u.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function v6e(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function b6e(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return l;function l(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),c}function c(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(h){if(i>999||h===93&&!a||h===null||h===91||xt(h))return n(h);if(h===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return s.includes(Ps(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return xt(h)||(a=!0),i++,e.consume(h),h===92?d:u}function d(h){return h===91||h===92||h===93?(e.consume(h),i++,u):u(h)}}function _6e(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,l;return c;function c(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(m)}function d(m){if(a>999||m===93&&!l||m===null||m===91||xt(m))return n(m);if(m===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=Ps(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return xt(m)||(l=!0),a++,e.consume(m),m===92?h:d}function h(m){return m===91||m===92||m===93?(e.consume(m),a++,d):d(m)}function f(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),s.includes(i)||s.push(i),st
vendor: 5,464 bytes, line 146
146(e,p,"gfmFootnoteDefinitionWhitespace")):n(m)}function p(m){return t(m)}}function k6e(e,t,n){return e.check(P1,t,e.attempt(m6e,t,n))}function w6e(e){e.exit("gfmFootnoteDefinition")}function x6e(e,t,n){const r=this;return st(e,s,"gfmFootnoteDefinitionIndent",5);function s(i){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(i):n(i)}}function S6e(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:s};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function s(a,l){let c=-1;for(;++c<a.length;)if(a[c][0]==="enter"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._close){let u=c;for(;u--;)if(a[u][0]==="exit"&&a[u][1].type==="strikethroughSequenceTemporary"&&a[u][1]._open&&a[c][1].end.offset-a[c][1].start.offset===a[u][1].end.offset-a[u][1].start.offset){a[c][1].type="strikethroughSequence",a[u][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},a[u][1].start),end:Object.assign({},a[c][1].end)},h={type:"strikethroughText",start:Object.assign({},a[u][1].end),end:Object.assign({},a[c][1].start)},f=[["enter",d,l],["enter",a[u][1],l],["exit",a[u][1],l],["enter",h,l]],p=l.parser.constructs.insideSpan.null;p&&Or(f,f.length,0,y3(p,a.slice(u+1,c),l)),Or(f,f.length,0,[["exit",h,l],["enter",a[c][1],l],["exit",a[c][1],l],["exit",d,l]]),Or(a,u-1,c-u+3,f),c=u+f.length-2;break}}for(c=-1;++c<a.length;)a[c][1].type==="strikethroughSequenceTemporary"&&(a[c][1].type="data");return a}function i(a,l,c){const u=this.previous,d=this.events;let h=0;return f;function f(m){return u===126&&d[d.length-1][1].type!=="characterEscape"?c(m):(a.enter("strikethroughSequenceTemporary"),p(m))}function p(m){const y=lu(u);if(m===126)return h>1?c(m):(a.consume(m),h++,p);if(h<2&&!n)return c(m);const _=a.exit("strikethroughSequenceTemporary"),g=lu(m);return _._open=!g||g===2&&!!y,_._close=!y||y===2&&!!g,l(m)}}}class T6e{constructor(){this.map=[]}add(t,n,r){j6e(this,t,n,r)}consume(t){if(this.map.sort(function(i,a){return i[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let s=r.pop();for(;s;){for(const i of s)t.push(i);s=r.pop()}this.map.length=0}}function j6e(e,t,n,r){let s=0;if(!(n===0&&r.length===0)){for(;s<e.map.length;){if(e.map[s][0]===t){e.map[s][1]+=n,e.map[s][2].push(...r);return}s+=1}e.map.push([t,n,r])}}function C6e(e,t){let n=!1;const r=[];for(;t<e.length;){const s=e[t];if(n){if(s[0]==="enter")s[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function E6e(){return{flow:{null:{name:"table",tokenize:z6e,resolveAll:N6e}}}}function z6e(e,t,n){const r=this;let s=0,i=0,a;return l;function l(j){let I=r.events.length-1;for(;I>-1;){const F=r.events[I][1].type;if(F==="lineEnding"||F==="linePrefix")I--;else break}const P=I>-1?r.events[I][1].type:null,O=P==="tableHead"||P==="tableRow"?T:c;return O===T&&r.parser.lazy[r.now().line]?n(j):O(j)}function c(j){return e.enter("tableHead"),e.enter("tableRow"),u(j)}function u(j){return j===124||(a=!0,i+=1),d(j)}function d(j){return j===null?n(j):Te(j)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),p):n(j):Je(j)?st(e,d,"whitespace")(j):(i+=1,a&&(a=!1,s+=1),j===124?(e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),a=!0,d):(e.enter("data"),h(j)))}function h(j){return j===null||j===124||xt(j)?(e.exit("data"),d(j)):(e.consume(j),j===92?f:h)}function f(j){return j===92||j===124?(e.consume(j),h):h(j)}function p(j){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(j):(e.enter("tableDelimiterRow"),a=!1,Je(j)?st(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):m(j))}function m(j){return j===45||j===58?_(j):j===124?(a=!0,e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),y):S(j)}function y(j){return Je(j)?st(e,_,"whitespace")(j):_(j)}function _(j){return j===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(j),e.exit("tableDelimiterMarker"),g):j===45?(i+=1,g(j)):j===null||Te(j)?x(j):S(j)}function g(j){return j===45?(e.enter("tableDelimiterFiller"),b(j)):S(j)}function b(j){return j===45?(e.consume(j),b):j===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(j),e.exit("tableDelimiterMarker"),k):(e.exit("tableDelimiterFiller"),k(j))}function k(j){return Je(j)?st(e,x,"whitespace")(j):x(j)}function x(j){return j===124?m(j):j===null||Te(j)?!a||s!==i?S(j):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(j)):S(j)}function S(j){return n(j)}function T(j){return e.enter("tableRow"),C(j)}function C(j){return j===124?(e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),C):j===null||Te(j)?(e.exit("tableRow"),t(j)):Je(j)?st(e,C,"whitespace")(j):(e.enter("data"),E(j))}function E(j){return j===null||j===124||xt(j)?(e.exit("data"),C(j)):(e.consume(j),j===92?N:E)}function N(j){return j===92||j===124?(e.consume(j),E):E(j)}}function N6e(e,t){let n=-1,r=!0,s=0,i=[0,0,0,0],a=[0,0,0,0],l=!1,
vendor: 4,493 bytes, line 146
146c=0,u,d,h;const f=new T6e;for(;++n<e.length;){const p=e[n],m=p[1];p[0]==="enter"?m.type==="tableHead"?(l=!1,c!==0&&(gE(f,t,c,u,d),d=void 0,c=0),u={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[["enter",u,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,h=void 0,i=[0,0,0,0],a=[0,n+1,0,0],l&&(l=!1,d={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[["enter",d,t]])),s=m.type==="tableDelimiterRow"?2:d?3:1):s&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],h=w2(f,t,i,s,void 0,h),i=[0,0,0,0]),a[2]=n)):m.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],h=w2(f,t,i,s,void 0,h)),i=a,a=[i[1],n,0,0])):m.type==="tableHead"?(l=!0,c=n):m.type==="tableRow"||m.type==="tableDelimiterRow"?(c=n,i[1]!==0?(a[0]=a[1],h=w2(f,t,i,s,n,h)):a[1]!==0&&(h=w2(f,t,a,s,n,h)),s=0):s&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(a[3]=n)}for(c!==0&&gE(f,t,c,u,d),f.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=C6e(t.events,n))}return e}function w2(e,t,n,r,s,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(i.end=Object.assign({},dc(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const c=dc(t.events,n[1]);if(i={type:a,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const u=dc(t.events,n[2]),d=dc(t.events,n[3]),h={type:l,start:Object.assign({},u),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const f=t.events[n[2]],p=t.events[n[3]];if(f[1].end=Object.assign({},p[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){const m=n[2]+1,y=n[3]-n[2]-1;e.add(m,y,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return s!==void 0&&(i.end=Object.assign({},dc(t.events,s)),e.add(s,0,[["exit",i,t]]),i=void 0),i}function gE(e,t,n,r,s){const i=[],a=dc(t.events,n);s&&(s.end=Object.assign({},a),i.push(["exit",s,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function dc(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const I6e={name:"tasklistCheck",tokenize:P6e};function R6e(){return{text:{91:I6e}}}function P6e(e,t,n){const r=this;return s;function s(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),i)}function i(c){return xt(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),a):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),a):n(c)}function a(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return Te(c)?t(c):Je(c)?e.check({tokenize:A6e},t,n)(c):n(c)}}function A6e(e,t,n){return st(e,r,"whitespace");function r(s){return s===null?n(s):t(s)}}function L6e(e){return FI([a6e(),g6e(),S6e(e),E6e(),R6e()])}const M6e={};function jb(e){const t=this,n=e||M6e,r=t.data(),s=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);s.push(L6e(n)),i.push(n6e()),a.push(r6e(n))}const O6e=typeof window>"u"?v.useEffect:v.useLayoutEffect,yE=e=>{switch(e){case"terms":return"legal.terms.title";case"privacy":return"legal.privacy.title";case"tutor-guidelines":return"legal.tutorGuidelines.title"}},D6e=e=>{switch(e){case"terms":return"seo.legal.terms.description";case"privacy":return"seo.legal.privacy.description";case"tutor-guidelines":return"seo.legal.tutorGuidelines.description"}},W6e=e=>{if(!e)return e;const t=e.match(/^\.\/(terms|privacy|tutor-guidelines)\.md(#.*)?$/);return t?`/${t[1]}${t[2]??""}`:e},F6e=({href:e,children:t,...n})=>{const r=W6e(e),s=typeof r=="string"&&/^https?:\/\//.test(r);return o.jsx("a",{href:r,...s?{target:"_blank",rel:"noopener noreferrer"}:{},...n,children:t})},$6e=({slug:e})=>{const t=H(),n=`${t(yE(e))} — Baduk Teacher`,r=t(D6e(e)),s=`https://badukteacher.com/${e}`,[i,a]=v.useState(null),[l,c]=v.useState(!0),u=v.useRef(0),d=v.useRef(e);d.current=e;const h=v.useRef(!1),f=v.useRef(null),p=v.useRef(null),m=v.useRef(null),y=v.useRef(!1),_=(i==null?void 0:i.slug)===e?i.content:null,g=(i==null?void 0:i.slug)===e&&i.error,b=v.useCallback(async()=>
146{if(h.current)return;h.current=!0,c(!0);const k=u.current,x=new AbortController;f.current=x;try{const S=await fetch(`/legal/${e}.md`,{headers:{Accept:"text/markdown"},signal:x.signal});if(!S.ok)throw new Error("Document unavailable");const T=await S.text();if(k!==u.current||d.current!==e)return;y.current=p.current!==null&&document.activeElement===p.current,a({slug:e,content:T,error:!1})}catch{k===u.current&&d.current===e&&a({slug:e,content:null,error:!0})}finally{k===u.current&&d.current===e&&(h.current=!1,c(!1))}},[e]);return v.useEffect(()=>(u.current++,h.current=!1,y.current=!1,a({slug:e,content:null,error:!1}),b(),()=>{var k;u.current++,(k=f.current)==null||k.abort()}),[e,b]),O6e(()=>{var k;_!==null&&y.current&&(y.current=!1,(k=m.current)==null||k.focus())},[_]),o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:n}),o.jsx("meta",{name:"description",content:r}),o.jsx("meta",{name:"robots",content:"noindex, follow"}),o.jsx("link",{rel:"canonical",href:s}),o.jsx("meta",{property:"og:title",content:n}),o.jsx("meta",{property:"og:description",content:r}),o.jsx("meta",{property:"og:url",content:s}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"article"}),o.jsx("meta",{name:"twitter:title",content:n}),o.jsx("meta",{name:"twitter:description",content:r}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"})]}),o.jsx("main",{id:"main-content",className:"legal-doc",children:o.jsxs("article",{ref:m,tabIndex:-1,"aria-label":t(yE(e)),className:"legal-doc__article",children:[_!==null&&o.jsx(rm,{remarkPlugins:[jb],components:{a:F6e},children:_}),_===null&&!g&&o.jsx("p",{className:"legal-doc__loading",role:"status",children:t("legal.loading")}),g&&o.jsxs("div",{className:"legal-doc__recovery",children:[o.jsx("p",{className:"legal-doc__error",role:"alert",children:t("legal.error")}),o.jsx("button",{ref:p,type:"button",className:"btn btn--ghost","aria-disabled":l,onClick:()=>{b()},children:t("gallery.error.retry")}),l&&o.jsx("p",{className:"legal-doc__loading",role:"status",children:t("legal.loading")})]})]})})]})},B6e=({slug:e})=>{const t=H(),n=di("learnArticle"),r=(n==null?void 0:n.frontmatter.slug)===e,[s,i]=v.useState(r?n.frontmatter:null),[a,l]=v.useState(r?n.body:null),[c,u]=v.useState(!1);v.useEffect(()=>{if(s!==null&&s.slug===e)return;let g=!1;return i(null),l(null),u(!1),fetch(`/learn/${e}.md`,{headers:{Accept:"text/markdown"}}).then(async b=>{if(!b.ok)throw new Error(`HTTP ${b.status}`);return b.text()}).then(b=>{if(g)return;const k=gR(b);if(k.fm===null){u(!0);return}i(k.fm),l(k.body)}).catch(()=>{g||u(!0)}),()=>{g=!0}},[e]);const d=s!==null?`${s.title} — Baduk Teacher`:t("learn.loadingTitle"),h=s!==null?s.description:t("learn.loadingDescription"),f=`https://badukteacher.com/learn/${e}`,p=s!==null?as({"@context":"https://schema.org","@type":"Article",headline:s.title,description:s.description,datePublished:s.datePublished,dateModified:s.dateModified,inLanguage:"en",author:{"@type":"Organization",name:"Baduk Teacher"},publisher:{"@type":"Organization",name:"Baduk Teacher",url:"https://badukteacher.com"},mainEntityOfPage:{"@type":"WebPage","@id":f}}):null,m=a!==null?yR(a):[],y=m.length>0?as({"@context":"https://schema.org","@type":"FAQPage",mainEntity:m.map(g=>({"@type":"Question",name:g.question,acceptedAnswer:{"@type":"Answer",text:g.answer}}))}):null,_=s!==null?as({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Baduk Teacher",item:"https://badukteacher.com/"},{"@type":"ListItem",position:2,name:"Learn",item:"https://badukteacher.com/learn"},{"@type":"ListItem",position:3,name:s.title}]}):null;return o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:d}),o.jsx("meta",{name:"description",content:h}),o.jsx("link",{rel:"canonical",href:f}),o.jsx("meta",{property:"og:title",content:d}),o.jsx("meta",{property:"og:description",content:h}),o.jsx("meta",{property:"og:url",content:f}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"article"}),o.jsx("meta",{name:"twitter:title",content:d}),o.jsx("meta",{name:"twitter:description",content:h}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"}),p!==null&&o.jsx("script",{type:"application/ld+json","data-learn-article":e,children:p}),y!==null&&o.jsx("script",{type:"application/ld+json","data-learn-faq":e,children:y}),_!==null&&o.jsx("script",{type:"application/ld+json","data-learn-breadcrumb":e,children:_})]}),o.jsxs("main",{id:"main-content",className:"legal-doc learn-doc",children:[o.jsx("nav",{className:"learn-doc__breadcrumb","aria-label":t("learn.breadcrumb.label"),children:o.jsx("a",{href:"/learn",children:t("learn.breadcrumb.back")})}),o.jsxs("article",{className:"legal-doc__article learn-doc__article",children:[a!==null&&o.jsx(rm,{remarkPlugins:[jb],children:a}),a===null&&!c&&o.jsx("p",{className:"legal-doc__loading",role:"status",children:t("legal.loading")}),c&&o.jsx("p",{className:"legal-doc__error",role:"alert",children:t("legal.error")})]})]})]})},U6e=[{slug:"how-to-learn-baduk-online",titleKey:"learn.index.cards.howToLearn.title",descriptionKey:"learn.index.cards.howToLearn.description"},{slug:"real-time-ai-translation",titleKey:"learn.index.cards.aiTranslation.title",descriptionKey:"learn.index.cards.aiTranslation.description"},{slug:"choosing-a-baduk-teacher",titleKey:"learn.index.cards.choosingTeacher.title",descriptionKey:"learn.index.cards.choosingTeacher.description"},{slug:"getting-the-most-from-a-teaching-game",titleKey:"learn.index.cards.teachingGame.title",descriptionKey:"learn.index.cards.teachingGame.description"}],q6e=()=>{const e=H(),t=`${e("learn.index.title")} — Baduk Teacher`,n=e("learn.index.description"),r="https://badukteacher.com/learn";return o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:t}),o.jsx("meta",{name:"description",content:n}),o.jsx("link",{rel:"canonical",href:r}),o.jsx("meta",{property:"og:title",content:t}),o.jsx("meta",{property:"og:description",content:n}),o.jsx("meta",{property:"og:url",content:r}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{name:"twitter:title",content:t}),o.jsx("meta",{name:"twitter:description",content:n}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"})]}),o.jsxs("main",{id:"main-content",className:"learn-index",children:[o.jsxs("header",{className:"learn-index__header",children:[o.jsx("h1",{className:"learn-index__title",children:e("learn.index.heading")}),o.jsx("p",{className:"learn-index__intro",children:e("learn.index.intro")})]}),o.jsx("ul",{className:"learn-index__list",children:U6e.map(s=>o.jsx("li",{className:"learn-index__item",children:o.jsxs("a",{className:"learn-index__card",href:`/learn/${s.slug}`,children:[o.jsx("h2",{className:"learn-index__card-title",children:e(s.titleKey)}),o.jsx("p",{className:"learn-index__card-description",children:e(s.descriptionKey)}),o.jsx("span",{className:"learn-index__card-cta","aria-hidden":"true",children:e("learn.index.readMore")})]})},s.slug))})]})]})},H6e=()=>{const e=H(),t=`${Zr.metaTitle} — Baduk Teacher`,n="https://badukteacher.com/lessons",r=di("teachers"),[s,i]=v.useState(r??null),[a,l]=v.useState(r===void 0),[c,u]=v.useState(!1),[d,h]=v.useState(0),f=v.useRef(r===void 0),p=v.useRef(null),m=v.useRef(null);v.useEffect(()=>{if(r!==void 0&&d===0)return;let g=!1;const b=new AbortController;return f.current=!0,l(!0),fetch("/api/teachers",{signal:b.signal}).then(async k=>
146{if(!k.ok)throw new Error("Teacher read failed");const x=await k.json();if(!Array.isArray(x))throw new Error("Invalid teacher list");return x}).then(k=>{var x;g||(p.current!==null&&document.activeElement===p.current&&((x=m.current)==null||x.focus()),i(k),u(!1))}).catch(()=>{g||u(!0)}).finally(()=>{g||(f.current=!1,l(!1))}),()=>{g=!0,b.abort()}},[r,d]);const y=as({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Baduk Teacher",item:"https://badukteacher.com/"},{"@type":"ListItem",position:2,name:"Lessons"}]}),_=s??[];return o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:t}),o.jsx("meta",{name:"description",content:Zr.metaDescription}),o.jsx("link",{rel:"canonical",href:n}),o.jsx("meta",{property:"og:title",content:t}),o.jsx("meta",{property:"og:description",content:Zr.metaDescription}),o.jsx("meta",{property:"og:url",content:n}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{name:"twitter:title",content:t}),o.jsx("meta",{name:"twitter:description",content:Zr.metaDescription}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("script",{type:"application/ld+json","data-lessons-breadcrumb":"index",children:y})]}),o.jsxs("main",{id:"main-content",className:"lessons-index",children:[o.jsxs("header",{className:"lessons-index__header",children:[o.jsx("h1",{className:"lessons-index__title",children:Zr.h1}),o.jsx("p",{className:"lessons-index__intro",children:Zr.intro})]}),o.jsxs("section",{className:"lessons-index__find","aria-label":Zr.findHeading,children:[o.jsx("h2",{className:"lessons-index__find-heading",children:Zr.findHeading}),o.jsx("div",{className:"lessons-index__groups",children:iW.map(g=>o.jsxs("div",{className:"lessons-index__group",children:[o.jsx("h3",{className:"lessons-index__group-heading",children:g.heading}),o.jsx("ul",{className:"lessons-index__links",children:g.links.map(b=>o.jsx("li",{children:o.jsx("a",{className:"lessons-index__link",href:b.href,children:b.label})},b.href))})]},g.heading))})]}),o.jsxs("section",{className:"lessons-index__teachers","aria-label":Zr.teachersHeading,children:[o.jsx("h2",{ref:m,tabIndex:-1,className:"lessons-index__teachers-heading",children:Zr.teachersHeading}),a&&o.jsx("p",{role:"status",children:e("gallery.loading")}),c&&o.jsxs("div",{className:"schedule-editor-recovery",children:[o.jsx("p",{role:"alert",children:e("gallery.error.title")}),o.jsx("button",{ref:p,type:"button",className:"btn btn--ghost","aria-disabled":a,onClick:()=>{f.current||(f.current=!0,l(!0),h(g=>g+1))},children:e("gallery.error.retry")})]}),!a&&!c&&_.length===0&&o.jsx("p",{children:e("publicRecovery.noMatchingTeachers")}),o.jsx("div",{className:"gallery__grid",children:_.map(g=>o.jsx(um,{card:g,from:"lessons"},g.id))}),o.jsx("a",{className:"btn btn--primary lessons-index__browse",href:"/teachers",children:e("publicRecovery.browseTeachers")})]})]})]})},G6e=({slug:e})=>{const t=H(),n=di("lessonsLanding"),r=(n==null?void 0:n.frontmatter.slug)===e,[s,i]=v.useState(r?n.frontmatter:null),[a,l]=v.useState(r?n.body:null),[c,u]=v.useState(!1),d=di("teachers"),[h,f]=v.useState(d??null),[p,m]=v.useState(!1),[y,_]=v.useState(d===void 0),[g,b]=v.useState(0),k=v.useRef(null),x=v.useRef(null),S=v.useRef(!1);v.useEffect(()=>{var F;S.current&&!y&&!p&&((F=k.current)==null||F.focus(),S.current=!1)},[y,p]),v.useEffect(()=>{if(s!==null&&s.slug===e)return;let F=!1;return i(null),l(null),u(!1),fetch(`/lessons/${e}.md`,{headers:{Accept:"text/markdown"}}).then(async B=>{if(!B.ok)throw new Error(`HTTP ${B.status}`);return B.text()}).then(B=>{if(F)return;const $=gR(B);if($.fm===null){u(!0);return}i($.fm),l($.body)}).catch(()=>{F||u(!0)}),()=>{F=!0}},[e]),v.useEffect(()=>{if(d!==void 0&&g===0)return;let F=!1;const B=new AbortController;return _(!0),fetch("/api/teachers",{signal:B.signal}).then(async $=>{if(!$.ok)throw new Error(`HTTP ${$.status}`);return await $.json()}).then($=>{F||(document.activeElement!==x.current&&(S.current=!1),f($),m(!1))}).catch(()=>{F||m(!0)}).finally(()=>{F||_(!1)}),()=>{F=!0,B.abort()}},[d,g]);const T=s!==null?`${s.title} — Baduk Teacher`:t("learn.loadingTitle"),C=s!==null?s.description:t("learn.loadingDescription"),E=`https://badukteacher.com/lessons/${e}`,N=s!==null?as({"@context":"https://schema.org","@type":"Service",name:s.title,de
146scription:s.description,serviceType:"Go lessons",url:E,provider:{"@type":"Organization",name:"Baduk Teacher",url:"https://badukteacher.com"},areaServed:"Worldwide"}):null,j=a!==null?yR(a):[],I=j.length>0?as({"@context":"https://schema.org","@type":"FAQPage",mainEntity:j.map(F=>({"@type":"Question",name:F.question,acceptedAnswer:{"@type":"Answer",text:F.answer}}))}):null,P=s!==null?as({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Baduk Teacher",item:"https://badukteacher.com/"},{"@type":"ListItem",position:2,name:"Lessons",item:"https://badukteacher.com/lessons"},{"@type":"ListItem",position:3,name:s.title}]}):null,O=h!==null?Ote(h,e):[];return o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:T}),o.jsx("meta",{name:"description",content:C}),o.jsx("link",{rel:"canonical",href:E}),o.jsx("meta",{property:"og:title",content:T}),o.jsx("meta",{property:"og:description",content:C}),o.jsx("meta",{property:"og:url",content:E}),o.jsx("meta",{property:"og:image",content:"https://badukteacher.com/og/landing.png"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{name:"twitter:title",content:T}),o.jsx("meta",{name:"twitter:description",content:C}),o.jsx("meta",{name:"twitter:image",content:"https://badukteacher.com/og/landing.png"}),N!==null&&o.jsx("script",{type:"application/ld+json","data-lessons-service":e,children:N}),I!==null&&o.jsx("script",{type:"application/ld+json","data-lessons-faq":e,children:I}),P!==null&&o.jsx("script",{type:"application/ld+json","data-lessons-breadcrumb":e,children:P})]}),o.jsxs("main",{id:"main-content",className:"legal-doc learn-doc lessons-landing",children:[o.jsx("nav",{className:"learn-doc__breadcrumb","aria-label":Zj.breadcrumbAria,children:o.jsx("a",{href:"/lessons",children:Zj.breadcrumbBack})}),o.jsxs("article",{className:"legal-doc__article learn-doc__article",children:[a!==null&&o.jsx(rm,{remarkPlugins:[jb],children:a}),a===null&&!c&&o.jsx("p",{className:"legal-doc__loading",role:"status",children:t("legal.loading")}),c&&o.jsx("p",{className:"legal-doc__error",role:"alert",children:t("legal.error")})]}),s!==null&&o.jsxs("section",{className:"lessons-landing__teachers","aria-label":Xj[e],children:[o.jsx("h2",{ref:k,tabIndex:-1,className:"lessons-landing__teachers-heading",children:Xj[e]}),y&&o.jsx("p",{role:"status",children:t("gallery.loading")}),p&&o.jsxs("div",{role:"alert",children:[o.jsx("p",{children:t("gallery.error.title")}),o.jsx("button",{ref:x,type:"button",className:"btn btn--ghost",style:{minHeight:48},"aria-disabled":y,onClick:()=>{y||(S.current=!0,_(!0),b(F=>F+1))},children:t("gallery.error.retry")})]}),!y&&!p&&O.length===0&&o.jsx("p",{children:t("publicRecovery.noMatchingTeachers")}),o.jsx("div",{className:"gallery__grid lessons-landing__grid",children:O.map(F=>o.jsx(um,{card:F,from:"lessons"}
146,F.id))}),o.jsx("a",{className:"btn btn--primary lessons-landing__cta",style:{minHeight:48},href:"/teachers",children:t("publicRecovery.browseTeachers")})]})]})]})},K6e=({booking:e,actorRole:t,authFetch:n,onClose:r,onSuccess:s})=>{const i=H(),a=vt(x=>x.uiLang),[l]=ki(),[c,u]=v.useState(!1),[d,h]=v.useState(null),f=AZ({bookingStatus:e.status,startUtc:e.startUtc,actorRole:t,grossCents:e.grossUsdCents});v.useEffect(()=>{const x=S=>{S.key==="Escape"&&r()};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[r]);const p=async()=>{u(!0),h(null);try{await ppe(n,e.id,t),s(),r()}catch(x){const S=x.message??"";S.includes("not cancellable")||S.includes("not_cancellable_now")?h("terminal"):h("generic")}finally{u(!1)}},m=Kt(e.startUtc,l,a),y=(e.grossUsdCents/100).toFixed(2),_=t==="student"?e.teacherDisplayName??"—":e.studentDisplayName??"—",{title:g,body:b,confirmLabel:k}=V6e(f,i,{teacher:t==="student"?_:"",student:t==="teacher"?_:"",date:m,amount:y});return f.kind==="not_cancellable"?o.jsx("div",{className:"cancel-modal__backdrop",onClick:r,children:o.jsxs("div",{className:"cancel-modal",onClick:x=>x.stopPropagation(),children:[o.jsx("h2",{children:i("mylessons.cancel.title")}),o.jsx("p",{children:i("mylessons.cancel.errorTerminal")}),o.jsx("button",{onClick:r,children:i("mylessons.cancel.dismiss")})]})}):o.jsx("div",{className:"cancel-modal__backdrop",onClick:r,children:o.jsxs("div",{className:"cancel-modal",onClick:x=>x.stopPropagation(),role:"dialog","aria-modal":"true",children:[o.jsx("h2",{children:g}),o.jsx("p",{children:b}),d==="terminal"&&o.jsx("p",{className:"cancel-modal__error",children:i("mylessons.cancel.errorTerminal")}),d==="generic"&&o.jsx("p",{className:"cancel-modal__error",children:i("mylessons.cancel.errorGeneric")}),o.jsxs("div",{className:"cancel-modal__buttons",children:[o.jsx("button",{onClick:r,disabled:c,children:i("mylessons.cancel.dismiss")}),o.jsx("button",{onClick:p,disabled:c||d==="terminal",className:"btn btn--accent",children:c?"…":k})]})]})})},V6e=(e,t,n)=>{switch(e.kind){case"no_charge_yet":return{title:t("mylessons.cancel.titlePending"),body:t("mylessons.cancel.noChargeYet"),confirmLabel:t("mylessons.cancel.confirmNoCharge")};case"forfeit":return{title:t("mylessons.cancel.title"),body:t("mylessons.cancel.forfeit",{teacher:n.teacher,date:n.date}),confirmLabel:t("mylessons.cancel.confirmForfeit")};case"refund_full":return e.reasonCode==="teacher_cancel"?{title:t("mylessons.cancel.title"),body:t("mylessons.cancel.refundFullTeacher",{student:n.student,date:n.date,amount:n.amount}),confirmLabel:t("mylessons.cancel.confirmRefundTeacher")}:{title:t("mylessons.cancel.title"),body:t("mylessons.cancel.refundFullStudent",{teacher:n.teacher,date:n.date,amount:n.amount}),confirmLabel:t("mylessons.cancel.confirmRefund")};case"not_cancellable":return{title:t("mylessons.cancel.title"),body:t("mylessons.cancel.errorTerminal"),confirmLabel:t("mylessons.cancel.dismiss")}}},Y6e=({bookings:e,loading:t,onRefresh:n})=>{const r=H(),{authFetch:s}=bt(),[i,a]=ki(),[l,c]=v.useState(null),[u,d]=v.useState(null),[h,f]=v.useState(null),[p,m]=v.useState(null);v.useEffect(()=>{if(p===null)return;const b=k=>{k.key==="Escape"&&m(null)};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[p]);const y=Date.now(),_=e.filter(b=>(b.status==="confirmed"||b.status==="in_progress")&&new Date(b.endAtPlannedUtc).getTime()>y),g=async(b,k)=>{c(b.id),d(null);try{const x=await sm(s,b.id,k);window.location.assign(x.lessonUrl)}catch{d(r("mylessons.upcoming.joinError")),c(null)}};return t?null:_.length===0?o.jsxs("section",{className:"upcoming-bookings",children:[o.jsx("h2",{children:r("mylessons.upcoming.title")}),o.jsx("p",{children:r("mylessons.upcoming.empty")})]}):o.jsxs("section",{className:"upcoming-bookings",children:[o.jsx("h2",{children:r("mylessons.upcoming.title")}),o.jsx("div",{className:"upcoming-bookings__tz-row",children:o.jsx(im,{value:i,onChange:a,teacherTz:null})}),u&&o.jsx("p",{className:"upcoming-bookings__error",children:u}),o.jsx("ul",{className:"upcoming-bookings__list",children:_.map(b=>{const k=b.teacherDisplayName!==null,x=b.teacherDisplayName??b.studentDisplayName??"—",S=k?"student":"teacher",T=b.sgfCount,C=S==="teacher"&&b.lessonType==="game_review"&&T>0,E=S==="student"&&b.lessonType==="game_review"&&b.status==="confirmed";return o.jsx(p4e,{booking:b,actorRole:S,otherPartyName:x,displayTz:i,joining:l===b.id,onJoin:()=>{g(b,S)},onCancel:()=>f({booking:b,actorRole:S}),rowAction:C?o.jsx("button",{type:"button",className:"booking-row__sgf-badge btn btn--sm",onClick:()=>m(b.id),children:r("bookingSgf.teacher.badge",{count:T})}):void 0,belowRow:E?o.jsx(j4e,{bookingId:b.id,authFetch:s}):void 0},b.id)})}),o.jsx("p",{className:"upcoming-bookings__footnote",children:r("mylessons.upcoming.joinWindowFootnote",{minutes:oy})}),h&&o.jsx(K6e,{booking:h.booking,actorRole:h.actorRole,authFetch:s,onClose:()=>f(null),onSuccess:()=>{n()}}),p&&o.jsx("div",{className:"sgf-preview-modal__backdrop",onClick:()=>m(null),children:o.jsxs("div",{className:"sgf-preview-modal",onClick:b=>b.stopPropagation(),role:"dialog","aria-modal":"true",children:[o.jsx(P4e,{bookingId:p,authFetch:s}),o.jsx("div",{className:"sgf-preview-modal__buttons",children:o.jsx("button",{type:"button",className:"btn btn--sm",onClick:()=>m(null),children:r("common.close")})})]})})]})},J6e=({refreshKey:e=0,onEmptyRecovered:t}={})=>{const n=H(),r=vt(I=>I.uiLang),{authFetch:s}=bt(),[i]=ki(),[a,l]=v.useState({source:s,rows:[]}),c=a.source===s,u=c?a.rows:[],[d,h]=v.useState(!0),[f,p]=v.useState(!1),[m,y]=v.useState(0),_=v.useRef(null),g=v.useRef(null),b=v.useRef(!1),k=v.useRef(t);k.current=t;const x=v.useRef(!1),S=v.useRef(0),[T,C]=v.useState(null),[E,N]=v.useState(null);v.useEffect(()=>{let I=!0;return l(P=>P.source===s?P:{source:s,rows:[]}
146),c||(p(!1),b.current=!1,N(null)),h(!0),(async()=>{var P,O;try{const F=await kpe(s);I&&(b.current&&document.activeElement===g.current&&(F.length?(P=_.current)==null||P.focus():(O=k.current)==null||O.call(k)),l({source:s,rows:F}),p(!1))}catch{I&&p(!0)}finally{I&&(b.current=!1,h(!1))}})(),()=>{I=!1}},[s,e,m]),v.useEffect(()=>(++S.current,x.current=!1,C(null),()=>{++S.current}),[s]);const j=async I=>{if(x.current)return;x.current=!0;const P=S.current;C(I.id),N(null);try{const O=await sm(s,I.id,"student");if(P!==S.current)return;window.location.assign(O.lessonUrl)}catch{if(P!==S.current)return;x.current=!1,N(n("mylessons.reconvene.joinError")),C(null)}};return!c||!f&&u.length===0?null:o.jsxs("section",{className:"my-lessons__section my-lessons__section--reconvene",children:[o.jsx("h2",{ref:_,tabIndex:-1,children:n("mylessons.reconvene.heading")}),d&&o.jsx("p",{role:"status",children:n("shared.loading")}),f&&o.jsxs("div",{role:"alert",children:[o.jsx("p",{children:n("mylessons.loadError")}),o.jsx("button",{type:"button",ref:g,className:"btn booking-load-retry","aria-disabled":d,onClick:()=>{d||b.current||(b.current=!0,y(I=>I+1))},children:n("gallery.error.retry")})]}),E&&o.jsx("p",{role:"alert",className:"my-lessons__action-error",children:E}),o.jsx("ul",{className:"my-lessons__pending-list",children:u.map(I=>{const P=Kt(I.startUtc,i,r),O=mn(I.startUtc,i),F=I.teacherDisplayName??"—",B=I.status==="in_progress"?n("mylessons.reconvene.captionReady"):n("mylessons.reconvene.captionReenter");return o.jsxs("li",{className:"booking-row booking-row--reconvene",children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsx("div",{className:"booking-row__title",children:o.jsx("strong",{className:"booking-row__name",children:F})}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:P}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:O})]})]}),o.jsx("p",{className:"booking-row__caption",children:B}),o.jsx("div",{className:"row-foot",children:o.jsx("div",{className:"row-foot__actions",children:o.jsx("button",{type:"button",className:"btn btn--accent btn--sm reconvene-join",disabled:T!==null,onClick:()=>{j(I)},children:T===I.id?n("mylessons.upcoming.joining"):n("mylessons.reconvene.joinCta")})})})]},I.id)})})]})},Z6e={game_review:"schedule.lessonTypes.gameReview",teaching_game_with_review:"schedule.lessonTypes.teachingGameWithReview",topic_lecture:"schedule.lessonTypes.topicLecture"},X6e=({refreshKey:e=0}={})=>{const t=H(),n=vt(g=>g.uiLang),{authFetch:r}=bt(),[s]=ki(),[i,a]=v.useState([]),[l,c]=v.useState(!0),[u,d]=v.useState(!1),[h,f]=v.useState(0),p=v.useRef(null),m=v.useRef(null),y=v.useRef(!1),_=v.useRef(!1);return v.useEffect(()=>{let g=!0;const b=_.current;return _.current=!1,c(!0),(async()=>{var k;try{const x=await _pe(r);g&&(b&&document.activeElement===m.current&&((k=p.current)==null||k.focus()),a(x),d(!1))}catch{g&&d(!0)}finally{g&&(y.current=!1,c(!1))}})(),()=>{g=!1}},[r,e,h]),o.jsxs("section",{className:"completed-bookings",children:[o.jsx("h2",{ref:p,tabIndex:-1,children:t("mylessons.completed.title")}),l&&o.jsx("p",{role:"status",children:t("shared.loading")}),u&&o.jsxs("div",{role:"alert",children:[o.jsx("p",{children:t("mylessons.loadError")}),o.jsx("button",{type:"button",ref:m,className:"btn booking-load-retry","aria-disabled":l,onClick:()=>{l||y.current||(y.current=!0,_.current=!0,f(g=>g+1))},children:t("gallery.error.retry")})]}),i.length===0?!l&&!u&&o.jsx("p",{children:t("mylessons.completed.empty")}):o.jsx("ul",{className:"completed-bookings__list",children:i.map(g=>{const b=g.teacherDisplayName??g.studentDisplayName??"—",k=Kt(g.startUtc,s,n),x=mn(g.startUtc,s),S=g.lessonType?t(Z6e[g.lessonType]):null;return o.jsxs("li",{className:"booking-row booking-row--completed",children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsx("div",{className:"booking-row__title",children:o.jsx("strong",{className:"booking-row__name",children:b})}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:k}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:x}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsxs("span",{children:[g.durationMinutes," ",t("schedule.offerings.minutes")]}),S&&o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("em",{className:"booking-row__type",children:S})]})]})]}),g.lessonId&&o.jsx("a",{className:"booking-row__record-link",href:`/my-lessons/${g.lessonId}`,children:t("mylessons.completed.viewRecord")})]},g.id)})})]})},vE=500,Q6e=({onClose:e,onSubmit:t})=>{const n=H(),[r,s]=v.useState(""),[i,a]=v.useState(!1);v.useEffect(()=>{const c=u=>{u.key==="Escape"&&e()};return window.addEventListener("keydown",c),()=>window.removeEventListener("keydown",c)},[e]);const l=async()=>{a(!0);try{await t(r.trim()||null),e()}finally{a(!1)}};return o.jsx("div",{className:"cancel-modal__backdrop",onClick:e,children:o.jsxs("div",{className:"cancel-modal",onClick:c=>c.stopPropagation(),role:"dialog","aria-modal":"true",children:[o.jsx("h2",{children:n("mylessons.teacher.pendingRequests.rejectModalTitle")}),o.jsxs("label",{className:"reject-modal__label",children:[o.jsx("span",{className:"reject-modal__label-text",children:n("mylessons.teacher.pendingRequests.reasonInputLabel")}),o.jsx("textarea",{className:"reject-modal__textarea",value:r,onChange:c=>s(c.target.value.slice(0,vE)),placeholder:n("mylessons.teacher.pendingRequests.reasonInputPlaceholder"),maxLength:vE,rows:4}),o.jsx("span",{className:"reject-modal__char-count",children:n("mylessons.teacher.pendingRequests.reasonCharCount",{count:r.length})})]}),o.jsxs("div",{className:"cancel-modal__buttons",children:[o.jsx("button",{type:"button",className:"btn btn--ghost",onClick:e,disabled:i,children:n("mylessons.teacher.pendingRequests.cancelReject")}),o.jsx("button",{type:"button",className:"btn btn--accent",onClick:()=>{l()},disabled:i,children:n("mylessons.teacher.pendingRequests.submitReject")})]})]})})},Z1={game_review:"schedule.lessonTypes.gameReview",teaching_game_with_review:"schedule.lessonTypes.teachingGameWithReview",topic_lecture:"schedule.lessonTypes.topicLecture"},LW=e=>{const t=new Date(e).getTime()-Date.now();return Number.isNaN(t)||t<=0?0:Math.floor(t/36e5)},MW=()=>{var zb;const e=H(),t=vt(X=>X.uiLang),{authFetch:n}=bt(),r=_i(),s=r.data,[i]=ki(),a=((zb=s==null?void 0:s.student)==null?void 0:zb.credit_balance_cents)??0,l=r.loaded?(s==null?void 0:s.teacher_status)??"none":"unknown",c=r.loaded&&(s==null?void 0:s.student)!=null,u=l==="approved"?"teacher":c?"student":"idle",{count:d}=uD(u),h=v.useRef(null),f=v.useRef(null),p=v.useRef(!1),[m,y]=v.useState([]),[_,g]=v.useState(!1),[b,k]=v.useState(!1),[x,S]=v.useState(!1),[T,C]=v.useState(null),[E,N]=v.useState(!1),j=v.useRef(null),I=v.useRef(0),[P,O]=v.useState(!1),[F,B]=v.useState(!1),[$,D]=v.useState(!1),[z,R]=v.useState("ready"),[w,L]=v.useState([]),[M,A]=v.useState(null),[q,W]=v.useState(null),[U,G]=v.useState(null),[oe,de]=v.useState(null),[Ae,te]=v.useState(null),[be,Be]=v.useState(null),[He,Ne]=v.useState(null),[We,re]=v.useState(null),[Le,Ke]=v.useState(null),[Se,lt]=v.useState(0),[je,ne]=v.useState(0),ge=v.useCallback(async(X=!1)=>{var Ib;const St=++I.current;St>1&&lt(gm=>gm+1),S(!0);const[Bs,mm]=await Promise.allSettled([db(n,{throwOnError:!0}),xpe(n)]);if(St!==I.current)return!1;const Nb=Bs.status==="rejected"||mm.status==="rejected";if(!Nb&&X&&document.activeElement===f.current&&((Ib=h.current)==null||Ib.focus()),p.current=!1,k(Nb),S(!1),Bs.status==="fulfilled")y(Bs.value);else if(Bs.reason instanceof DD){const{partialBookings:gm,failedRoles:YW}=Bs.reason;y(JW=>[...JW.filter(ym=>YW.includes(ym.studentDisplayName===null?"student":"teacher")),...gm].sort((ym,ZW)=>ym.startUtc.localeCompare(ZW.startUtc)))}return mm.status==="fulfilled"&&L(mm.value),g(!0),Bs.status==="fulfilled"},[n]);v.useEffect(()=>{ge()},[ge]),v.useEffect(()=>{const X=new URLSearchParams(window.location.search);if(C(X.get("bookingId")),X.get("from")==="stripe_cancel"){N(!0),ut("checkout.cancelled",{teacher_slug:X.get("teacher")??"unknown"}),X.delete("from"),X.delete("teacher");const St=X.toString();window.history.replaceState({},"",`${window.location.pathname}${St?"?"+St:""}`)}},[]),v.useEffect(()=>{var St;if(!T||j.current===T)return;const X=document.getElementById(`booking-${T}`);X&&(j.current=T,(St=X.scrollIntoView)==null||St.call(X,{block:"center"}),X.focus({preventScroll:!0}))},[T,m]),v.useEffect(()=>{const X=()=>{document.visibilityState==="visible"&&ge()},St=window.setInterval(X,6e4);return()=>window.clearInterval(St)},[ge]);const xe=m.filter(X=>X.status==="pending_acceptance"&&X.studentDisplayName===null),V=m.filter(X=>X.status==="pending_acceptance"&&X.studentDisplayName!==null),ce=m.filter(X=>X.status==="pending_payment"&&X.studentDisplayName===null),ke=m.filter(X=>X.status==="pending_payment"&&X.studentDisplayName!==null),Fe=Date.now(),K=m.filter(X=>(X.status==="confirmed"||X.status==="in_progress")&&X.studentDisplayName!==null&&new Date(X.endAtPlannedUtc).getTime()<Fe),ve=async X=>{W(null),A(X);try{await Spe(n,X),await ge()}catch{W(e("booking.acceptance.withdrawError"))}finally{A(null)}},Me=async()=>{B(!0),R("refreshing");const[X,St]=await Promise.allSettled([ge(),r.refetch({throwOnError:!0})]);R(St.status==="fulfilled"?"ready":"error"),D(X.status==="rejected"||!X.value||St.status==="rejected"),B(!1)},Qe=X=>
146{++I.current,y(St=>St.map(Bs=>Bs.id===X?{...Bs,status:"confirmed"}:Bs)),O(!0),D(!1)},Sr=async X=>{W(null),G(X.id);let St;try{St=await WD(n,X.id)}catch{W(e("booking.payment.payError")),G(null);return}if(St.bookingStatus==="confirmed"){Qe(X.id),ut("checkout.completed",{session_id:`credits:${X.id}`,booking_id:X.id,teacher_slug:X.teacherSlug,gross_usd_cents:X.grossUsdCents,settlement:"credits"}),await Me(),G(null);return}try{St.checkoutUrl&&(X.teacherSlug||console.warn("[analytics] checkout.started: booking.teacherSlug is null",{bookingId:X.id}),ut("checkout.started",{booking_id:X.id,gross_cents:X.grossUsdCents,teacher_slug:X.teacherSlug??"unknown"}),window.location.assign(St.checkoutUrl))}catch{W(e("booking.payment.payError")),G(null)}},la=async X=>{W(null),de(X.id);try{await zpe(n,X.id)}catch{W(e("booking.payment.payError")),de(null);return}Qe(X.id),ut("checkout.completed",{session_id:`free:${X.id}`,booking_id:X.id,teacher_slug:X.teacherSlug,gross_usd_cents:X.grossUsdCents,settlement:"free_redeem"}),await Me(),de(null)},ln=async X=>{W(null),te(X);try{await Tpe(n,X),await ge()}catch{W(e("mylessons.teacher.pendingRequests.acceptError"))}finally{te(null)}},ca=async(X,St)=>{W(null);try{await jpe(n,X,St),await ge()}catch{W(e("mylessons.teacher.pendingRequests.rejectError"))}},ps=async X=>{W(null),Ne(X);try{await Cpe(n,X),await ge()}catch{W(e("mylessons.teacher.pendingPayment.grantError"))}finally{Ne(null)}},KW=async X=>{W(null),Ke(X);try{const St=await sm(n,X,"teacher");window.location.assign(St.lessonUrl)}catch{W(e("mylessons.reconvene.joinError")),Ke(null)}},VW=async X=>{W(null),re(X);try{await Npe(n,X),await ge(),ne(St=>St+1)}catch{W(e("mylessons.teacher.awaitingCompletion.markCompletedError"))}finally{re(null)}};return o.jsxs("main",{className:"my-lessons",children:[o.jsx("h1",{ref:h,tabIndex:-1,children:e("myLessons.title")}),o.jsx(S4e,{teacherStatus:l,awaitingReplyCount:d}),(a>0||P)&&o.jsxs("section",{className:"my-lessons__credits","aria-label":e("mylessons.credits.balanceLabel"),children:[o.jsx("span",{className:"my-lessons__credits-label",children:e("mylessons.credits.balanceLabel")}),o.jsx("span",{className:"my-lessons__credits-amount",children:z==="ready"?`$${(a/100).toFixed(2)}`:e(z==="refreshing"?"shared.loading":"mylessons.credits.refreshError")}),o.jsx("p",{className:"my-lessons__credits-hint",children:e("mylessons.credits.balanceHint")})]}),E&&o.jsx("p",{role:"status",children:e("booking.payment.checkoutClosed")}),b&&!P&&o.jsxs("div",{className:"my-lessons__refresh-error",role:"alert",children:[o.jsx("p",{children:e("mylessons.loadError")}),o.jsx("button",{type:"button",ref:f,className:"btn btn--ghost booking-load-retry","aria-disabled":x,onClick:()=>{x||p.current||(p.current=!0,ge(!0))},children:e("gallery.error.retry")})]}),q&&o.jsx("p",{className:"my-lessons__action-error",children:q}),P&&o.jsx("p",{className:"my-lessons__action-success",role:"status",children:e("booking.success.title")}),$&&o.jsxs("div",{className:"my-lessons__refresh-error",role:"alert",children:[o.jsx("p",{children:e("mylessons.settlement.refreshError")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:F,onClick:()=>{Me()},children:e("mylessons.settlement.retryRefresh")})]}),V.length>0&&o.jsxs("section",{className:"my-lessons__section my-lessons__section--teacher-pending",children:[o.jsx("h2",{children:e("mylessons.teacher.pendingRequests.heading")}),o.jsx("ul",{className:"my-lessons__pending-list",children:V.map(X=>o.jsx(t8e,{booking:X,displayTz:i,uiLang:t,accepting:Ae===X.id,rejecting:be===X.id,onAccept:()=>{ln(X.id)},onReject:()=>Be(X.id)},X.id))})]}),ke.length>0&&o.jsxs("section",{className:"my-lessons__section my-lessons__section--teacher-pending-payment",children:[o.jsx("h2",{children:e("mylessons.teacher.pendingPayment.heading")}),o.jsx("ul",{className:"my-lessons__pending-list",children:ke.map(X=>o.jsx(n8e,{booking:X,displayTz:i,uiLang:t,granting:He===X.id,onGrantLatePayment:()=>{ps(X.id)}},X.id))})]}),xe.length>0&&o.jsxs("section",{className:"my-lessons__section my-lessons__section--pending-acceptance",children:[o.jsx("h2",{children:e("booking.acceptance.awaitingResponse")}),o.jsx("ul",{className:"my-lessons__pending-list",children:xe.map(X=>o.jsx(e8e,{booking:X,displayTz:i,uiLang:t,withdrawing:M===X.id,onWithdraw:()=>{ve(X.id)}},X.id))})]}),ce.length>0&&o.jsxs("section",{className:"my-lessons__section my-lessons__section--pending-payment",children:[o.jsx("h2",{children:e("booking.payment.awaitingPayment")}),o.jsx("ul",{className:"my-lessons__pending-list",children:ce.map(X=>o.jsx(s8e,{booking:X,displayTz:i,uiLang:t,creditBalanceCents:z==="ready"?a:0,resumePayment:E&&(!T||T===X.id),paying:U===X.id,redeeming:oe===X.id,withdrawing:M===X.id,onPay:()=>{Sr(X)},onRedeemFree:()=>{la(X)},onWithdraw:()=>{ve(X.id)}},X.id))})]}),o.jsx(J6e,{refreshKey:Se,onEmptyRecovered:()=>{var X;return(X=h.current)==null?void 0:X.focus()}}),o.jsx(Y6e,{bookings:m,loading:!_||b&&m.length===0,onRefresh:ge}),K.length>0&&o.jsxs("section",{className:"my-lessons__section my-lessons__section--awaiting-completion",children:[o.jsx("h2",{children:e("mylessons.teacher.awaitingCompletion.heading")}),o.jsx("ul",{className:"my-lessons__pending-list",children:K.map(X=>o.jsx(r8e,{booking:X,displayTz:i,uiLang:t,completing:We===X.id,joining:Le===X.id,onMarkCompleted:()=>{VW(X.id)},onJoin:()=>{KW(X.id)}},X.id))})]}),o.jsx(X6e,{refreshKey:je}),w.length>0&&o.jsxs("details",{className:"my-lessons__rejections",children:[o.jsxs("summary",{children:[e("booking.rejection.title")," (",w.length,")"]}),o.jsx("ul",{className:"my-lessons__rejection-list",children:w.map(X=>o.jsx(i8e,{booking:X,displayTz:i,uiLang:t},X.id))})]}),be&&o.jsx(Q6e,{onClose:()=>Be(null),onSubmit:async X=>{await ca(be,X),Be(null)}}),o.jsx(cm,{className:"my-lessons__support"})]})},e8e=({booking:e,displayTz:t,uiLang:n,withdrawing:r,onWithdraw:s})=>{const i=H(),a=Kt(e.startUtc,t,n),l=mn(e.startUtc,t),c=e.lessonType?i(Z1[e.lessonType]):null,u=e.acceptanceDeadlineUtc?LW(e.acceptanceDeadlineUtc):0,d=e.teacherDisplayName??"—",h=e.teacherSlug?`/chat/${e.teacherSlug}?bookingId=${encodeURIComponent(e.id)}`:null,f=i(r?"booking.acceptance.withdrawInProgress":"booking.acceptance.withdrawCta");return o.jsxs("li",{id:`booking-${e.id}
146`,tabIndex:-1,className:"booking-row booking-row--pending-acceptance",children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsx("div",{className:"booking-row__title",children:o.jsx("strong",{className:"booking-row__name",children:d})}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:a}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:l}),c&&o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("em",{className:"booking-row__type",children:c})]})]})]}),o.jsx("p",{className:"booking-row__deadline",children:i("booking.acceptance.deadlineHours",{hours:u})}),o.jsxs("div",{className:"row-foot",children:[o.jsx("div",{className:"row-foot__inline",children:h&&o.jsx("a",{href:h,className:"inline-link",children:i("booking.acceptance.chatWithTeacher",{teacher:d})})}),o.jsx("div",{className:"row-foot__actions",children:o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:r,onClick:s,children:f})})]})]})},t8e=({booking:e,displayTz:t,uiLang:n,accepting:r,rejecting:s,onAccept:i,onReject:a})=>{const l=H(),c=Kt(e.startUtc,t,n),u=mn(e.startUtc,t),d=e.lessonType?l(Z1[e.lessonType]):null,h=e.acceptanceDeadlineUtc?LW(e.acceptanceDeadlineUtc):0,f=e.studentDisplayName??"—",p=`/admin/inbox?bookingId=${encodeURIComponent(e.id)}`,m=l(r?"mylessons.teacher.pendingRequests.acceptInProgress":"mylessons.teacher.pendingRequests.acceptCta"),y=l(s?"mylessons.teacher.pendingRequests.rejectInProgress":"mylessons.teacher.pendingRequests.rejectCta"),_=r||s;return o.jsxs("li",{className:"booking-row booking-row--teacher-pending",children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsx("div",{className:"booking-row__title",children:o.jsx("strong",{className:"booking-row__name",children:f})}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:c}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:u}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsxs("span",{children:[e.durationMinutes," ",l("schedule.offerings.minutes")]}),d&&o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("em",{className:"booking-row__type",children:d})]})]})]}),o.jsx("p",{className:"booking-row__deadline",children:l("mylessons.teacher.pendingRequests.deadlineHours",{hours:h})}),o.jsxs("div",{className:"row-foot",children:[o.jsx("div",{className:"row-foot__inline",children:o.jsx("a",{href:p,className:"inline-link",children:l("mylessons.teacher.pendingRequests.chatWithStudent",{student:f})})}),o.jsxs("div",{className:"row-foot__actions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:_,onClick:a,children:y}),o.jsx("button",{type:"button",className:"btn btn--accent btn--sm",disabled:_,onClick:i,children:m})]})]})]})},n8e=({booking:e,displayTz:t,uiLang:n,granting:r,onGrantLatePayment:s})=>{const i=H(),a=Kt(e.startUtc,t,n),l=mn(e.startUtc,t),c=e.lessonType?i(Z1[e.lessonType]):null,u=e.studentDisplayName??"—",d=e.paymentDeadlineUtc??e.startUtc,h=Kt(d,t,n),f=`/admin/inbox?bookingId=${encodeURIComponent(e.id)}`,p=e.latePaymentGrantedAtUtc!==null;return o.jsxs("li",{className:"booking-row booking-row--pending-payment",children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsx("div",{className:"booking-row__title",children:o.jsx("strong",{className:"booking-row__name",children:u})}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:a}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:l}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsxs("span",{children:[e.durationMinutes," ",i("schedule.offerings.minutes")]}),c&&o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("em",{className:"booking-row__type",children:c})]})]})]}),o.jsx("p",{className:"booking-row__deadline",children:p?i("mylessons.teacher.pendingPayment.grantedLine",{time:h}):`${i("mylessons.teacher.pendingPayment.notPaidYet")} — ${i("mylessons.teacher.pendingPayment.deadlineLine",{time:h})}`}),o.jsxs("div",{className:"row-foot",children:[o.jsx("div",{className:"row-foot__inline",children:o.jsx("a",{href:f,className:"inline-link",children:i("mylessons.teacher.pendingRequests.chatWithStudent",{student:u})})}),!p&&o.jsx("div",{className:"row-foot__actions",children:o.jsx("button",{type:"button",className:"btn btn--secondary btn--sm",onClick:s,disabled:r,children:i(r?"mylessons.teacher.pendingPayment.grantingCta":"mylessons.teacher.pendingPayment.grantCta")})})]})]})}
146,r8e=({booking:e,displayTz:t,uiLang:n,completing:r,joining:s,onMarkCompleted:i,onJoin:a})=>{const l=H(),c=Kt(e.startUtc,t,n),u=mn(e.startUtc,t),d=Kt(e.endAtPlannedUtc,t,n),h=e.lessonType?l(Z1[e.lessonType]):null,f=e.studentDisplayName??"—",p=`/admin/inbox?bookingId=${encodeURIComponent(e.id)}`,m=l(r?"mylessons.teacher.awaitingCompletion.markCompletedInProgress":"mylessons.teacher.awaitingCompletion.markCompletedCta"),y=l(s?"mylessons.upcoming.joining":"mylessons.reconvene.joinCta"),_=r||s;return o.jsxs("li",{className:"booking-row booking-row--awaiting-completion",children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsx("div",{className:"booking-row__title",children:o.jsx("strong",{className:"booking-row__name",children:f})}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:c}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:u}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsxs("span",{children:[e.durationMinutes," ",l("schedule.offerings.minutes")]}),h&&o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("em",{className:"booking-row__type",children:h})]})]})]}),o.jsx("p",{className:"booking-row__deadline",children:l("mylessons.teacher.awaitingCompletion.subline",{time:d})}),o.jsx("p",{className:"booking-row__reminder",children:l("mylessons.teacher.awaitingCompletion.reminder")}),o.jsxs("div",{className:"row-foot",children:[o.jsx("div",{className:"row-foot__inline",children:o.jsx("a",{href:p,className:"inline-link",children:l("mylessons.teacher.pendingRequests.chatWithStudent",{student:f})})}),o.jsxs("div",{className:"row-foot__actions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:_,onClick:a,children:y}),o.jsx("button",{type:"button",className:"btn btn--accent btn--sm",disabled:_,onClick:i,children:m})]})]})]})},s8e=({booking:e,displayTz:t,uiLang:n,creditBalanceCents:r,resumePayment:s,paying:i,redeeming:a,withdrawing:l,onPay:c,onRedeemFree:u,onWithdraw:d})=>{const h=H(),f=e.paymentDeadlineUtc??e.startUtc,p=Kt(f,t,n),m=mn(f,t),y=Kt(e.startUtc,t,n),_=e.teacherDisplayName??"—",g=e.lessonType?h(Z1[e.lessonType]):null,b=h(a?"promo.redeem_free.processing":"promo.redeem_free.button"),k=e.grossUsdCents===0,x=Math.min(r,e.grossUsdCents),S=e.grossUsdCents-x,T=x>0&&S===0,C=x>0&&S>0;let E;return i?E=h("booking.payment.payInProgress"):T?E=h("booking.payment.confirmWithCredits"):C?E=h("booking.payment.payNowCash",{amount:(S/100).toFixed(2)}):E=h(s?"booking.payment.continue":"booking.payment.payNow"),o.jsxs("li",{id:`booking-${e.id}`,tabIndex:-1,className:"booking-row booking-row--pending-payment",children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsx("div",{className:"booking-row__title",children:o.jsx("strong",{className:"booking-row__name",children:_})}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:y}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:m}),g&&o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("em",{className:"booking-row__type",children:g})]})]})]}),o.jsx("p",{className:"booking-row__deadline",children:e.latePaymentGrantedAtUtc!==null?h("booking.payment.lateGrantedDeadlineLine",{teacher:_,time:p}):h("booking.payment.deadlineLine",{time:p})}),!k&&x>0&&o.jsx("div",{className:"booking-row__credit-split",children:T?o.jsx("span",{className:"booking-row__credit-line booking-row__credit-line--full",children:h("booking.payment.fullyCovered")}):o.jsxs(o.Fragment,{children:[o.jsx("p",{className:"booking-row__credit-line booking-row__credit-line--applied",children:h("booking.payment.creditApplied",{amount:(x/100).toFixed(2)})}),o.jsx("p",{className:"booking-row__credit-line booking-row__credit-line--cash",children:h("booking.payment.cashRemainder",{amount:(S/100).toFixed(2)})})]})}),o.jsx("div",{className:"row-foot",children:o.jsxs("div",{className:"row-foot__actions",children:[k?o.jsx("button",{type:"button",className:"btn btn--accent",disabled:a||l,onClick:u,children:b}):o.jsx("button",{type:"button",className:"btn btn--accent",disabled:i||l,onClick:c,children:E}),e.latePaymentGrantedAtUtc===null&&o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",disabled:i||a||l,onClick:d,children:h(l?"booking.acceptance.withdrawInProgress":"booking.acceptance.withdrawCta")})]})})]})},i8e=({booking:e,displayTz:t,uiLang:n})=>{const r=H(),s=Kt(e.startUtc,t,n),i=mn(e.startUtc,t),a=e.teacherDisplayName??"—",l=e.rejectionReason==="auto_expired",c=r(l?"booking.rejection.autoExpiredHeading":"booking.rejection.rejectedHeading");return o.jsxs("li",{className:"booking-row booking-row--rejected",children:[o.jsxs("header",{className:"booking-row__head",children:[o.jsx("div",{className:"booking-row__title",children:o.jsx("strong",{className:"booking-row__name",children:a})}),o.jsxs("div",{className:"booking-row__meta",children:[o.jsx("span",{children:s}),o.jsx("span",{className:"meta-sep",children:"·"}),o.jsx("span",{children:i})]})]}),o.jsx("p",{className:"booking-row__rejection-heading",children:c}),!l&&e.rejectionReason&&o.jsx("p",{className:"booking-row__rejection-reason",children:r("booking.rejection.reasonLine",{reason:e.rejectionReason})}),o.jsx("div",{className:"row-foot",children:o.jsx("div",{className:"row-foot__inline",children:o.jsx("a",{href:"/teachers",className:"inline-link",children:r("booking.rejection.findAnotherSlot")})})})]})},a8e=()=>{const e=H(),[t,n]=v.useState({kind:"loading"}),r=lm();return v.useEffect(()=>{let s=!1;return BD().then(i=>{s||n({kind:"success",sessions:i})}).catch(()=>{s||n({kind:"error"})}),()=>{s=!0}},[]),o.jsxs(o.Fragment,{children:[o.jsxs(qr,{children:[o.jsx("title",{children:e("groupLessons.seoTitle")}),o.jsx("meta",{name:"description",content:e("groupLessons.seoDescription")}),o.jsx("meta",{name:"robots",content:"noindex, follow"})]}),o.jsxs("main",{className:"group-lessons",children:[o.jsxs("header",{className:"group-lessons__hero",children:[o.jsx("h1",{className:"group-lessons__title",children:e("groupClasses.title")}),o.jsx("p",{className:"group-lessons__intro",children:e("groupLessons.intro")})]}),o.jsx(om,{error:r.error,className:"group-lessons__error"}),t.kind==="loading"&&o.jsx("p",{className:"group-lessons__status",role:"status",children:e("shared.loading")}),t.kind==="error"&&o.jsx("p",{className:"group-lessons__status",role:"alert",children:e("error.somethingWrong")}),t.kind==="success"&&t.sessions.length===0&&o.jsxs("div",{className:"group-lessons__empty",role:"status",children:[o.jsx("p",{className:"group-lessons__empty-text",children:e("groupClasses.empty")}),o.jsx("a",{className:"btn btn--accent",href:"/teachers",children:e("groupLessons.emptyCta")})]}),t.kind==="success"&&t.sessions.length>0&&o.jsx("ul",{className:"group-lessons__list",children:t.sessions.map(s=>{var i;return o.jsx(am,{session:s,showTeacher:!0,busy:r.busyId===s.id,pending:r.busyId!==null,paymentDeadlineUtc:(i=r.heldSeats[s.id])==null?void 0:i.paymentDeadlineUtc,onBook:()=>r.book(s.id)},s.id)})})]})]})},o8e=e=>{const{authFetch:t}=Hr(),[n,r]=v.useState(null),[s,i]=v.useState(!1),a=v.useRef(0),l=v.useRef(!1),c=v.useCallback(async d=>{if(l.current)return;l.current=!0;const h=a.current;d&&i(!0);try{const f=await t(`/api/me/lessons/${encodeURIComponent(e)}`);let p;if(f.status===404)p={kind:"not-found"};else{if(!f.ok)throw new Error("Lesson record request failed");
146p={kind:"ok",detail:await f.json()}}if(h!==a.current)return;d==null||d(),r({lessonId:e,loader:t,state:p})}catch{h===a.current&&r({lessonId:e,loader:t,state:{kind:"error"}})}finally{h===a.current&&(l.current=!1,i(!1))}},[t,e]);return v.useEffect(()=>(a.current+=1,l.current=!1,i(!1),r(null),c(),()=>{a.current+=1}),[c]),{state:(n==null?void 0:n.lessonId)===e&&n.loader===t?n.state:{kind:"loading"},retrying:s,retry:c}},l8e=({entry:e,mode:t})=>{const n=e.kind==="chat"?e.senderRole:e.speakerRole,r=e.kind==="transcript"?e.speakerName:null,s=e.kind==="chat"?e.text:e.originalText,i=e.translatedText,a=n==="teacher"?"flex-start":"flex-end",l=n==="teacher"?"var(--surface-alt)":"var(--primary)",c=n==="teacher"?"var(--text)":"var(--on-primary)",u=t!=="translation",d=t!=="original"&&i!==null;return o.jsx("div",{style:{display:"flex",justifyContent:a,margin:"4px 0"},children:o.jsxs("div",{style:{maxWidth:"75%",padding:"8px 12px",borderRadius:8,background:l,color:c,fontStyle:e.kind==="transcript"?"italic":"normal",opacity:e.kind==="transcript"?.9:1},children:[r!==null&&o.jsx("div",{style:{opacity:.7,fontSize:12,marginBottom:2},children:r}),u&&o.jsx("div",{children:s}),d&&o.jsx("div",{style:{opacity:.75,fontSize:13,marginTop:2},children:i})]})})},c8e=({games:e})=>{const t=H();return e!=null&&e.length?o.jsxs("section",{className:"lesson-games",children:[o.jsx("h3",{className:"lesson-games__heading",children:t("mylessons.detail.gamesHeading")}),e.map((n,r)=>o.jsxs("div",{className:"lesson-games__row",children:[o.jsx("span",{className:"lesson-games__result",children:n.result??t("mylessons.detail.gameNoResult")}),o.jsxs("span",{className:"lesson-games__meta",children:[n.config.boardSize,"×",n.config.boardSize,n.config.handicap>=2?` · H${n.config.handicap}`:"",` · ${t(n.config.rules==="chinese"?"game.setup.rulesChinese":"game.setup.rulesJapanese")}`]}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm","aria-label":t("mylessons.detail.downloadSgfFor",{label:n.result??`#${r+1}`}),onClick:()=>Cv(`teaching-game-${n.id.slice(0,8)}.sgf`,n.sgfText),children:t("mylessons.detail.downloadSgf")})]},n.id))]}):null},u8e=({sgf:e,lessonId:t})=>{const n=H();return e?o.jsxs("section",{className:"lesson-games",children:[o.jsx("h3",{className:"lesson-games__heading",children:n("mylessons.detail.reviewedHeading")}),o.jsx("div",{className:"lesson-games__row",children:o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>Cv(`reviewed-game-${t.slice(0,8)}.sgf`,e),children:n("mylessons.detail.downloadReviewed")})})]}):null},d8e=({lessonId:e})=>{const t=H(),{state:n,retry:r,retrying:s}=o8e(e),[i,a]=v.useState("both"),l=v.useRef(null),c=v.useRef(null),u=n.kind==="ok"?n.detail:null;return o.jsxs("main",{className:"my-lessons my-lessons--detail",children:[o.jsx("a",{href:"/my-lessons",className:"my-lessons__back-link",children:t("myLessons.detailBackLink")}),o.jsx("h1",{ref:l,tabIndex:-1,className:"my-lessons__detail-title",children:u?t(u.peerRole==="teacher"?"myLessons.peerTeacher":"myLessons.peerStudent",{name:u.peerName??"—"}):t("myLessons.title")}),n.kind==="loading"&&o.jsx("p",{role:"status",children:t("shared.loading")}),n.kind==="not-found"&&o.jsx("p",{role:"status",children:t("lessonDetailRecovery.notFound")}),n.kind==="error"&&o.jsxs("div",{className:"lesson-detail-recovery",children:[o.jsx("p",{role:"alert",children:t("lessonDetailRecovery.error")}),o.jsx("button",{ref:c,type:"button",className:"btn btn--ghost","aria-disabled":s,onClick:()=>{r(()=>{var d;document.activeElement===c.current&&((d=l.current)==null||d.focus())})},children:t("lessonDetailRecovery.retry")}),s&&o.jsx("p",{role:"status",children:t("shared.loading")})]}),u&&o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"my-lessons__row-meta my-lessons__detail-date",children:new Date(u.startedAt).toLocaleString()}),o.jsx(c8e,{games:u.games}),o.jsx(u8e,{sgf:u.reviewedSgf,lessonId:u.id}),o.jsx("div",{className:"my-lessons__segmented",role:"group","aria-label":t("myLessons.title"),children:["original","translation","both"].map(d=>o.jsx("button",{type:"button",onClick:()=>a(d),className:`btn btn--ghost btn--sm${i===d?" is-active":""}`,"aria-pressed":i===d,children:t(d==="original"?"myLessons.showOriginal":d==="translation"?"myLessons.showTranslation":"myLessons.showBoth")},d))}),o.jsx("div",{children:u.timeline.length===0?o.jsx("p",{style:{color:"var(--text-muted)"},children:t("myLessons.detailEmpty")}):u.timeline.map((d,h)=>o.jsx(l8e,{entry:d,mode:i},`${d.kind}-${d.ts}-${h}`))})]})]})},h8e=2e3,f8e=6,p8e=()=>{const e=H(),{authFetch:t,isAuthenticated:n,isLoading:r}=bt(),[s,i]=v.useState(null),[a,l]=v.useState(null),[c,u]=v.useState(!1),[d,h]=v.useState(0),f=v.useRef(new Set),p=v.useRef(t);p.current=t;const[m,y]=v.useState(null),[_,g]=v.useState(!1);v.useEffect(()=>{if(typeof window>"u")return;const x=()=>y(new URLSearchParams(window.location.search).get("session_id"));return x(),g(!0),window.addEventListener("popstate",x),()=>window.removeEventListener("popstate",x)},[]),v.useEffect(()=>{if(i(null),l(null),u(!1),!nr||r||!n||!m)return;let x=!1,S=0,T;const C=async()=>{S+=1;try{const E=await wpe(p.current,m);if(x)return;if(!E){l("booking_not_found");return}i(E),E.status==="confirmed"&&!f.current.has(m)&&(f.current.add(m),ut("checkout.completed",{session_id:m,booking_id:E.id,teacher_slug:E.teacherSlug,gross_usd_cents:E.grossUsdCents,settlement:"stripe"})),E.status==="pending_payment"&&(S<f8e?T=setTimeout(()=>{x||C()},h8e):u(!0))}catch{if(x)return;l("generic_error")}};return C(),()=>{x=!0,clearTimeout(T)}},[m,n,r,d]);const b=o.jsxs("div",{className:"booking-success__actions",children:[o.jsx("button",{type:"button",className:"btn btn--primary",onClick:()=>h(x=>x+1),children:e("booking.success.checkAgain")}),o.jsx("a",{href:"/my-lessons",className:"btn btn--ghost",children:e("booking.success.viewBookings")})]});if(!_)return o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:e("booking.success.loading")})});if(!m)return o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:e("booking.success.invalidLink")})});if(!n&&!r)return o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:e("booking.success.signInRequired")})});if(a==="booking_not_found")return o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:e("booking.success.notFound")})});if(a)return o.jsxs("div",{className:"room-bootstrap",style:{textAlign:"center"},children:[o.jsx("p",{style:{color:"var(--error)"},children:e("error.somethingWrong")}),b]});if(!s)return o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:e("booking.success.loading")})});if(s.status==="pending_payment")return o.jsxs("div",{className:"room-bootstrap",style:{textAlign:"center"},children:[o.jsx("p",{role:"status",children:e(c?"booking.success.delayed":"booking.success.confirming")}),c&&b]});if(s.status!=="confirmed")return o.jsxs("div",{className:"room-bootstrap",style:{textAlign:"center"},children:[o.jsx("p",{children:e("booking.success.failed",{status:s.status})}),o.jsx("a",{href:"/my-lessons",className:"btn",children:e("booking.success.viewBookings")})]});
146const k=new Date(s.startUtc).toLocaleString();return o.jsxs("div",{className:"room-bootstrap",style:{textAlign:"center"},children:[o.jsx("h1",{children:e("booking.success.title")}),o.jsx("p",{children:e("booking.success.body",{teacher:s.teacherDisplayName??"",time:k,duration:String(s.durationMinutes)})}),o.jsx("a",{href:"/my-lessons",className:"btn btn--accent",children:e("booking.success.viewBookings")})]})},m8e=["schedule.weekday.sun","schedule.weekday.mon","schedule.weekday.tue","schedule.weekday.wed","schedule.weekday.thu","schedule.weekday.fri","schedule.weekday.sat"],bE=e=>{const t=Math.floor(e/60),n=e%60;return`${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}`},_E=e=>{const[t,n]=e.split(":").map(Number);return t*60+(n??0)},g8e=()=>{const e=H(),{authFetch:t}=bt(),n=Intl.DateTimeFormat().resolvedOptions().timeZone,[r,s]=v.useState(n),[i,a]=v.useState([]),[l,c]=v.useState("loading"),[u,d]=v.useState(null),[h,f]=v.useState(!1),[p,m]=v.useState(!1),[y,_]=v.useState(!1),[g,b]=v.useState(!1),k=v.useRef(0),x=v.useRef(!1),S=v.useRef(!1),T=v.useRef(null),C=v.useRef(null),E=v.useRef(!1),N=v.useRef(new Map),j=v.useRef(new Map),I=v.useRef(null),P=l==="ready"&&u===t,O=v.useCallback(async(z=!1)=>{var w;if(x.current)return;x.current=!0;const R=k.current;z&&f(!0);try{const L=await OD(t);if(R!==k.current)return;E.current=T.current!==null&&document.activeElement===T.current,a(L.recurring.map(({id:M,...A})=>A)),s(((w=L.recurring[0])==null?void 0:w.timeZoneIana)??Intl.DateTimeFormat().resolvedOptions().timeZone),d(()=>t),c("ready")}catch{R===k.current&&c("error")}finally{R===k.current&&(x.current=!1,f(!1))}},[t]);v.useEffect(()=>(k.current+=1,x.current=!1,S.current=!1,c("loading"),f(!1),m(!1),_(!1),b(!1),O(),()=>{k.current+=1}),[O]),v.useLayoutEffect(()=>{var z;P&&E.current&&(E.current=!1,(z=C.current)==null||z.focus())},[P]),v.useLayoutEffect(()=>{var R;const z=I.current;z&&(I.current=null,(R=N.current.get(`${z.weekday}:${z.index}`))==null||R.focus())},[i]);const F=z=>{I.current={weekday:z,index:i.filter(R=>R.weekday===z).length},b(!1),a(R=>[...R,{weekday:z,startMinuteOfDay:18*60,endMinuteOfDay:22*60,timeZoneIana:r}])},B=(z,R)=>{b(!1),a(w=>w.map((L,M)=>M===z?{...L,...R}:L))},$=z=>{var R;(R=j.current.get(i[z].weekday))==null||R.focus(),b(!1),a(w=>w.filter((L,M)=>M!==z))},D=async()=>{if(!P||S.current)return;S.current=!0;const z=k.current;m(!0),_(!1),b(!1);try{const R=i.map(L=>({...L,timeZoneIana:r})),w=await ype(t,R);if(z!==k.current)return;a(w.map(({id:L,...M})=>M)),b(!0)}catch{z===k.current&&_(!0)}finally{z===k.current&&(S.current=!1,m(!1))}};return l==="error"?o.jsxs("div",{className:"schedule-editor-recovery",children:[o.jsx("p",{role:"alert",children:e("schedule.editor.loadError")}),o.jsx("button",{ref:T,className:"btn btn--ghost","aria-disabled":h,onClick:()=>{O(!0)},children:e("schedule.editor.retry")}),h&&o.jsx("p",{role:"status",children:e("schedule.editor.loading")})]}):P?o.jsxs("div",{className:"availability-tab",children:[o.jsx("h2",{ref:C,tabIndex:-1,className:"my-schedule__section-head",children:e("schedule.recurring.title")}),o.jsx("p",{className:"my-schedule__section-help",children:e("schedule.recurring.help")}),o.jsxs("fieldset",{className:"schedule-editor-fields",disabled:p,children:[o.jsxs("label",{className:"availability-tab__tz-field",children:[o.jsx("span",{className:"availability-tab__tz-label",children:e("schedule.recurring.tz")}),o.jsxs("select",{className:"availability-tab__tz-select",value:r,onChange:z=>{s(z.target.value),b(!1)},children:[hb.map(z=>o.jsx("option",{value:z.iana,children:e(z.label)},z.iana)),!p9(r)&&o.jsxs("option",{value:r,children:[e("schedule.tz.other"),": ",r]})]})]}),o.jsx("div",{className:"availability-tab__weekdays",children:m8e.map((z,R)=>{const w=i.map((L,M)=>({r:L,i:M})).filter(({r:L})=>L.weekday===R);return o.jsxs("div",{className:"availability-tab__day",children:[o.jsx("div",{className:"availability-tab__day-name",children:e(z)}),o.jsxs("div",{className:"availability-tab__day-windows",children:[w.length===0&&o.jsx("p",{className:"availability-tab__day-empty",children:e("schedule.recurring.empty")}),w.map(({r:L,i:M},A)=>o.jsxs("div",{className:"availability-tab__window",children:[o.jsxs("label",{className:"availability-tab__time-field",children:[o.jsx("span",{children:e("schedule.access.start")}),o.jsx("input",{ref:q=>{const W=`${R}:${A}`;
146q?N.current.set(W,q):N.current.delete(W)},type:"time","aria-label":e("schedule.access.startName",{day:e(z),window:A+1}),value:bE(L.startMinuteOfDay),onChange:q=>B(M,{startMinuteOfDay:_E(q.target.value)})})]}),o.jsx("span",{className:"availability-tab__window-dash","aria-hidden":"true",children:"–"}),o.jsxs("label",{className:"availability-tab__time-field",children:[o.jsx("span",{children:e("schedule.access.end")}),o.jsx("input",{type:"time","aria-label":e("schedule.access.endName",{day:e(z),window:A+1}),value:bE(L.endMinuteOfDay),onChange:q=>B(M,{endMinuteOfDay:_E(q.target.value)})})]}),o.jsx("button",{className:"availability-tab__window-remove",onClick:()=>$(M),"aria-label":e("schedule.access.removeName",{day:e(z),window:A+1}),children:"×"})]},M))]}),o.jsx("button",{ref:L=>{L?j.current.set(R,L):j.current.delete(R)},"aria-label":e("schedule.access.addName",{day:e(z)}),className:"btn btn--ghost btn--sm availability-tab__day-add",onClick:()=>F(R),children:e("schedule.recurring.add")})]},R)})})]}),o.jsx("div",{className:"my-schedule__actions",children:o.jsx("button",{className:"btn btn--accent",onClick:D,disabled:p,children:e(p?"schedule.saving":"schedule.recurring.save")})}),y&&o.jsx("p",{className:"my-schedule__error",role:"alert",children:e("error.somethingWrong")}),g&&o.jsx("p",{role:"status",children:e("schedule.editor.saved")})]}):o.jsx("p",{className:"my-schedule__loading",role:"status",children:e("schedule.loading")})},x2=e=>`${String(Math.floor(e/60)).padStart(2,"0")}:${String(e%60).padStart(2,"0")}`,kE=e=>{if(!/^\d{2}:\d{2}$/.test(e))return NaN;const[t,n]=e.split(":").map(Number);return t<24&&n<60?t*60+n:NaN},wE={date:"",kind:"block",start:"09:00",end:"17:00",reason:""},y8e=()=>{const e=H(),{authFetch:t,user:n}=bt(),r=n==null?void 0:n.sub,s=v.useRef({authFetch:t,identity:r});s.current={authFetch:t,identity:r};const[i,a]=v.useState(null),[l,c]=v.useState(!0),[u,d]=v.useState(!1),[h,f]=v.useState(!1),[p,m]=v.useState(!1),[y,_]=v.useState(!1),[g,b]=v.useState(wE),[k,x]=v.useState(null),S=v.useRef(0),T=v.useRef(!1),C=v.useRef(!1),E=v.useRef(null),N=v.useRef(null),j=v.useRef(!1),I=(i==null?void 0:i.authFetch)===t&&(i==null?void 0:i.identity)===r,P=I&&i.loaded,O=I?i.rows:[],F=!P||l||p||h,B=w=>w===S.current&&s.current.authFetch===t&&s.current.identity===r,$=v.useCallback(async()=>{if(T.current||C.current)return;T.current=!0;const w=S.current;c(!0);try{const L=await OD(t);if(w!==S.current||s.current.authFetch!==t||s.current.identity!==r)return;j.current=document.activeElement===N.current,a({authFetch:t,identity:r,rows:L.overrides,loaded:!0}),d(!1),f(!1),x(null)}catch{if(w!==S.current||s.current.authFetch!==t||s.current.identity!==r)return;a(L=>(L==null?void 0:L.authFetch)===t&&L.identity===r?L:{authFetch:t,identity:r,rows:[],loaded:!1}),d(!0)}finally{w===S.current&&s.current.authFetch===t&&s.current.identity===r&&(T.current=!1,c(!1))}},[t,r]);v.useEffect(()=>(S.current++,T.current=!1,C.current=!1,c(!0),d(!1),f(!1),m(!1),_(!1),x(null),b(wE),$(),()=>{S.current++}),[$]),v.useLayoutEffect(()=>{var w;P&&j.current&&(j.current=!1,(w=E.current)==null||w.focus())},[i,P]);const D=async()=>{if(F||C.current)return;x(null),_(!1);const w=new Date(`${g.date}T00:00:00Z`);if(!/^\d{4}-\d{2}-\d{2}$/.test(g.date)||!Number.isFinite(w.getTime())||w.toISOString().slice(0,10)!==g.date){x("overrideRecovery.invalidDate");return}const L=kE(g.start),M=kE(g.end);if(!Number.isFinite(L)||!Number.isFinite(M)||M<=L){x("overrideRecovery.invalidTime");return}C.current=!0,m(!0);const A=S.current;try{const q=await vpe(t,{date:g.date,kind:g.kind,startMinuteOfDay:L,endMinuteOfDay:M,reason:g.reason||null});if(!B(A))return;a(W=>W&&{...W,rows:[...W.rows.filter(U=>U.id!==q.id),q]}),b(W=>({...W,reason:""})),_(!0)}catch{B(A)&&(x("overrideRecovery.writeError"),f(!0))}finally{B(A)&&(C.current=!1,m(!1))}},z=async(w,L)=>{if(F||C.current)return;C.current=!0,m(!0),x(null),_(!1);const M=S.current;try{if(await bpe(t,w),!B(M))return;j.current=document.activeElement===L,a(A=>A&&{...A,rows:A.rows.filter(q=>q.id!==w)}),_(!0)}catch{B(M)&&(x("overrideRecovery.writeError"),f(!0))}finally{B(M)&&(C.current=!1,m(!1))}},R=(u||h)&&I&&o.jsxs("div",{className:"schedule-editor-recovery",children:[u&&o.jsx("p",{role:"alert",children:e("schedule.editor.loadError")}),o.jsx("button",{ref:N,className:"btn btn--ghost","aria-disabled":l||p,onClick:()=>{$()},children:e("schedule.editor.retry")}),l&&o.jsx("p",{role:"status",children:e("schedule.editor.loading")})]});return P?o.jsxs("div",{className:"overrides-tab",children:[o.jsx("h2",{ref:E,tabIndex:-1,
146className:"my-schedule__section-head",children:e("schedule.overrides.title")}),o.jsxs("p",{className:"my-schedule__section-help",children:[e("schedule.overrides.help")," ",e("overrideRecovery.scope")]}),R,o.jsxs("div",{className:"overrides-tab__form",children:[o.jsxs("fieldset",{className:"schedule-editor-fields",disabled:F,children:[o.jsxs("div",{className:"overrides-tab__form-grid",children:[o.jsxs("label",{className:"overrides-tab__field",children:[o.jsx("span",{children:e("overrideRecovery.date")}),o.jsx("input",{className:"overrides-tab__form-date",type:"date",value:g.date,onChange:w=>b({...g,date:w.target.value}),"aria-label":e("overrideRecovery.date")})]}),o.jsxs("label",{className:"overrides-tab__field",children:[o.jsx("span",{children:e("overrideRecovery.kind")}),o.jsxs("select",{"aria-label":e("overrideRecovery.kind"),className:"overrides-tab__form-kind",value:g.kind,onChange:w=>b({...g,kind:w.target.value}),children:[o.jsx("option",{value:"block",children:e("schedule.overrides.kind.block")}),o.jsx("option",{value:"add",children:e("schedule.overrides.kind.add")})]})]}),o.jsxs("div",{className:"overrides-tab__form-times",children:[o.jsxs("label",{className:"overrides-tab__field",children:[o.jsx("span",{children:e("schedule.access.start")}),o.jsx("input",{type:"time","aria-label":e("schedule.access.start"),value:g.start,onChange:w=>b({...g,start:w.target.value})})]}),o.jsx("span",{className:"overrides-tab__form-dash","aria-hidden":"true",children:"–"}),o.jsxs("label",{className:"overrides-tab__field",children:[o.jsx("span",{children:e("schedule.access.end")}),o.jsx("input",{type:"time","aria-label":e("schedule.access.end"),value:g.end,onChange:w=>b({...g,end:w.target.value})})]})]})]}),o.jsxs("label",{className:"overrides-tab__field overrides-tab__reason-field",children:[o.jsx("span",{children:e("schedule.overrides.reason")}),o.jsx("input",{className:"overrides-tab__form-reason",type:"text","aria-label":e("schedule.overrides.reason"),placeholder:e("schedule.overrides.reason"),value:g.reason,onChange:w=>b({...g,reason:w.target.value}),maxLength:200})]})]}),o.jsx("button",{className:"btn btn--accent overrides-tab__form-submit","aria-disabled":F,onClick:()=>{D()},children:e("schedule.overrides.add.submit")})]}),O.length===0?o.jsx("p",{className:"my-schedule__empty",children:e("overrideRecovery.empty")}):o.jsx("ul",{className:"overrides-tab__list",children:O.map(w=>o.jsxs("li",{className:`overrides-tab__item overrides-tab__item--${w.kind}`,children:[o.jsx("span",{className:"overrides-tab__date",children:w.date}),o.jsx("span",{className:`overrides-tab__kind overrides-tab__kind--${w.kind}`,children:w.kind==="block"?e("schedule.overrides.kind.block"):e("schedule.overrides.kind.add")}),o.jsxs("span",{className:"overrides-tab__times",children:[x2(w.startMinuteOfDay)," – ",x2(w.endMinuteOfDay)]}),w.reason&&o.jsx("span",{className:"overrides-tab__reason",children:w.reason}),o.jsx("button",{className:"btn btn--link overrides-tab__delete","aria-disabled":F,"aria-label":e("overrideRecovery.deleteName",{action:e("schedule.overrides.delete"),date:w.date,kind:e(w.kind==="block"?"schedule.overrides.kind.block":"schedule.overrides.kind.add"),start:x2(w.startMinuteOfDay),end:x2(w.endMinuteOfDay)}),onClick:L=>{z(w.id,L.currentTarget)},children:e("schedule.overrides.delete")})]},w.id))}),k&&o.jsx("p",{className:"my-schedule__error",role:"alert",children:e(k)}),y&&o.jsx("p",{role:"status",children:e("schedule.editor.saved")}),p&&o.jsx("p",{role:"status",children:e("schedule.saving")})]}):R||o.jsx("p",{className:"my-schedule__loading",role:"status",children:e("schedule.loading")})},Xl=[{id:"offerings",label:"schedule.tab.offerings",Editor:b4e},{id:"recurring",label:"schedule.tab.recurring",Editor:g8e},{id:"overrides",label:"schedule.tab.overrides",Editor:y8e},{id:"groupClasses",label:"groupClasses.tab",Editor:x4e}],v8e=()=>{const e=H(),t=v.useId(),[n,r]=v.useState("offerings"),s=v.useRef([]),i=(a,l)=>{var u;const c=a.key==="ArrowLeft"?(l+Xl.length-1)%Xl.length:a.key==="ArrowRight"?(l+1)%Xl.length:a.key==="Home"?0:a.key==="End"?Xl.length-1:null;c!==null&&(a.preventDefault(),(u=s.current[c])==null||u.focus())};return o.jsxs("div",{className:"my-schedule",children:[o.jsxs("header",{className:"my-schedule__header",children:[o.jsx("h1",{className:"my-schedule__title",children:e("schedule.title")}),o.jsx("p",{className:"my-schedule__subtitle",children:e("schedule.subtitle")})]}),o.jsx("nav",{className:"my-schedule__tabs",role:"tablist","aria-label":e("schedule.title"),children:Xl.map((a,l)=>o.jsx("button",{type:"button",ref:c=>{s.current[l]=c},id:`${t}-tab-${a.id}`,role:"tab","aria-selected":n===a.id,"aria-controls":`${t}-panel-${a.id}`,tabIndex:n===a.id?0:-1,className:`my-schedule__tab${n===a.id?" is-active":""}`,onKeyDown:c=>i(c,l),onClick:()=>r(a.id),children:e(a.label)},a.id))}),Xl.map(({id:a,Editor:l})=>o.jsx("div",{id:`${t}-panel-${a}`,className:"my-schedule__panel",role:"tabpanel","aria-labelledby":`${t}-tab-${a}`,tabIndex:0,hidden:n!==a,children:n===a&&o.jsx(l,{})},a))]})},b8e=()=>
146o.jsx(v8e,{}),OW=e=>e.replace(/\B(?=(\d{3})+(?!\d))/g,","),ft=e=>{const t=e<0,r=(Math.abs(e)/100).toFixed(2);return(t?"-$":"$")+OW(r)},_8e=e=>{const[t,n]=(e/100).toFixed(2).split(".");return{whole:"$"+OW(t),frac:n}},DW=(e,t,n)=>{const r=e/Math.pow(10,n);try{return new Intl.NumberFormat(void 0,{style:"currency",currency:t,minimumFractionDigits:n,maximumFractionDigits:n}).format(r)}catch{return`${t} ${r.toFixed(n)}`}},hm=(e,t)=>{const n=e.replace(/[,\s]/g,"").trim();if(n===""||!(t===0?/^\d+$/:new RegExp(`^\\d+(?:\\.\\d{0,${t}})?$|^\\.\\d{1,${t}}$`)).test(n))return null;const s=Number(n);if(!Number.isFinite(s)||s<=0)return null;const[i,a=""]=n.split("."),l=t>0?(a+"0".repeat(t)).slice(0,t):"",c=(i===""?"0":i)+l,u=parseInt(c,10);return Number.isFinite(u)&&u>0?u:null},k8e=({children:e,ariaLabel:t="More info"})=>{const[n,r]=v.useState(!1);return o.jsxs("span",{style:{position:"relative",display:"inline-flex"},onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:s=>s.stopPropagation(),children:[o.jsx("span",{className:"info-icon",tabIndex:0,role:"button","aria-label":t,children:"i"}),n&&o.jsx("span",{className:"info-tooltip",role:"tooltip",children:e})]})},w8e=({bucket:e,title:t,cents:n,meta:r,active:s,onToggle:i,tooltip:a})=>{const{whole:l,frac:c}=_8e(n);return o.jsxs("button",{type:"button",className:`bk-card bucket-color-${e} ${s?"bk-card--active":""}`,onClick:i,"aria-pressed":s,children:[o.jsx("span",{className:"bk-card__bar"}),o.jsxs("div",{className:"bk-card__head",children:[o.jsxs("span",{className:"bk-card__head-left",children:[o.jsx("span",{className:"bucket-pill__dot",style:{background:"var(--bk-color)"}}),t]}),a&&o.jsx(k8e,{children:a})]}),o.jsxs("span",{className:"bk-card__amount",children:[l,o.jsxs("span",{className:"bk-card__amount-cents",children:[".",c]})]}),o.jsx("div",{className:"bk-card__meta",children:r})]})},x8e=e=>e?e.split(/\s+/).map(t=>t[0]??"").slice(0,2).join("").toUpperCase():"?",S8e=e=>new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric"}),T8e=({lessons:e,filter:t,onClearFilter:n,truncated:r,bucketTitleFor:s})=>{const i=H(),a=v.useMemo(()=>t?e.filter(c=>c.bucket===t):e,[e,t]),l=c=>i(c==="game_review"?"earnings.lessonType.gameReview":c==="teaching_game_with_review"?"earnings.lessonType.teachingGameWithReview":"earnings.lessonType.topicLecture");return o.jsxs("div",{className:"lessons-table-wrap",children:[o.jsxs("div",{className:"lessons-table-bar",children:[o.jsxs("div",{className:"lessons-table-bar__left",children:[o.jsx("span",{className:"lessons-table-bar__title",children:i("earnings.table.title")}),t&&o.jsxs("span",{className:`filter-chip bucket-color-${t}`,children:[o.jsx("span",{className:"bucket-pill__dot",style:{background:"var(--bk-color)"}}),i("earnings.table.filterChip",{bucket:s(t)}),o.jsx("button",{type:"button",className:"filter-chip__x",onClick:n,"aria-label":i("earnings.table.clearFilter"),children:"×"})]})]}),o.jsx("span",{style:{fontSize:12,color:"var(--text-subtle)"},children:i("earnings.table.lessonCount",{count:String(a.length)})})]}),r&&o.jsxs("div",{className:"banner",children:[o.jsx("span",{className:"banner__icon",children:"!"}),i("earnings.banner.truncated")]}),o.jsxs("table",{className:"lessons-table",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:i("earnings.table.col.date")}),o.jsx("th",{children:i("earnings.table.col.student")}),o.jsx("th",{children:i("earnings.table.col.type")}),o.jsx("th",{style:{textAlign:"right"},children:i("earnings.table.col.duration")}),o.jsx("th",{style:{textAlign:"right"},children:i("earnings.table.col.gross")}),o.jsx("th",{style:{textAlign:"right"},children:i("earnings.table.col.platformFee")}),o.jsx("th",{style:{textAlign:"right"},children:i("earnings.table.col.net")}),o.jsx("th",{children:i("earnings.table.col.bucket")})]})}),o.jsx("tbody",{children:a.map(c=>o.jsxs("tr",{children:[o.jsx("td",{className:"col-date",children:S8e(c.date)}),o.jsx("td",{children:o.jsxs("div",{className:"col-student",children:[o.jsx("span",{className:"avatar",children:x8e(c.studentDisplayName)}),o.jsx("span",{className:"col-student__name",children:c.studentDisplayName??"—"})]})}),o.jsx("td",{className:"col-type",children:l(c.lessonType)}),o.jsxs("td",{className:"num",children:[c.durationMinutes,"m"]}),o.jsx("td",{className:"num",children:ft(c.grossCents)}),o.jsxs("td",{className:"num num--negative",children:["−",ft(c.platformFeeCents)]}),o.jsx("td",{className:"num num--net",children:ft(c.teacherNetCents)}),o.jsxs("td",{children:[o.jsxs("span",{className:`bucket-pill bucket-color-${c.bucket}`,children:[o.jsx("span",{className:"bucket-pill__dot"}),s(c.bucket)]}),c.bucket==="transferred"&&c.status==="cancelled_refunded"&&o.jsx("span",{className:"bucket-pill__note",children:i("earnings.table.refundedAfterPayout")}),c.bucket==="transferred"&&c.status==="disputed"&&o.jsx("span",{className:"bucket-pill__note",children:i("earnings.table.disputedAfterPayout")})]})]},c.id))})]})]})}
146,j8e=({value:e,onChange:t})=>{const n=H(),[r,s]=v.useState(!1),i=v.useRef(null);v.useEffect(()=>{const c=u=>{i.current&&!i.current.contains(u.target)&&s(!1)};return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]);const a={7:n("earnings.dateFilter.last7"),30:n("earnings.dateFilter.last30"),tm:n("earnings.dateFilter.thisMonth"),lm:n("earnings.dateFilter.lastMonth"),ty:n("earnings.dateFilter.thisYear"),all:n("earnings.dateFilter.allTime"),custom:n("earnings.dateFilter.custom")},l=["7","30","tm","lm","ty","all"];return o.jsxs("div",{className:"date-filter",ref:i,children:[o.jsxs("button",{type:"button",className:"date-filter__btn",onClick:()=>s(!r),children:[a[e],o.jsx("span",{className:"date-filter__caret"})]}),r&&o.jsxs("div",{className:"date-filter__menu",children:[l.map(c=>o.jsx("div",{className:`date-filter__option ${e===c?"date-filter__option--active":""}`,onClick:()=>{t(c),s(!1)},children:a[c]},c)),o.jsx("div",{className:"date-filter__divider"}),o.jsx("div",{className:`date-filter__option ${e==="custom"?"date-filter__option--active":""}`,onClick:()=>{t("custom"),s(!1)},children:a.custom})]})]})},xE=(e,t=new Date)=>{const n=t;switch(e){case"7":return{from:new Date(t.getTime()-7*864e5),to:n};case"30":return{from:new Date(t.getTime()-30*864e5),to:n};case"tm":return{from:new Date(t.getFullYear(),t.getMonth(),1),to:n};case"lm":return{from:new Date(t.getFullYear(),t.getMonth()-1,1),to:new Date(t.getFullYear(),t.getMonth(),1)};case"ty":return{from:new Date(t.getFullYear(),0,1),to:n};case"all":return{from:new Date(2026,0,1),to:n};case"custom":return{from:new Date(t.getTime()-30*864e5),to:n}}},C8e=()=>o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"card-grid",children:[0,1,2,3].map(e=>o.jsxs("div",{className:"bk-card",style:{cursor:"default"},children:[o.jsx("div",{className:"skel",style:{height:12,width:60}}),o.jsx("div",{className:"skel",style:{height:28,width:110}}),o.jsx("div",{className:"skel",style:{height:12,width:80}})]},e))}),o.jsxs("div",{className:"lessons-table-wrap",children:[o.jsx("div",{className:"lessons-table-bar",children:o.jsx("div",{className:"skel",style:{height:16,width:80}})}),[0,1,2,3,4].map(e=>o.jsxs("div",{style:{display:"flex",gap:16,padding:"14px 16px",borderBottom:"1px solid var(--border-light)"},children:[o.jsx("div",{className:"skel",style:{height:16,width:64}}),o.jsx("div",{className:"skel",style:{height:16,width:140,flexGrow:1}}),o.jsx("div",{className:"skel",style:{height:16,width:80}}),o.jsx("div",{className:"skel",style:{height:16,width:60}}),o.jsx("div",{className:"skel",style:{height:20,width:90,borderRadius:9999}})]},e))]})]}),E8e=()=>{const e=H();return o.jsxs("div",{className:"empty-state",children:[o.jsxs("div",{className:"empty-state__board","aria-hidden":"true",children:[o.jsx("div",{className:"empty-state__board-stone empty-state__board-stone--b",style:{left:"36%",top:"36%"}}),o.jsx("div",{className:"empty-state__board-stone empty-state__board-stone--w",style:{left:"60%",top:"52%"}})]}),o.jsx("h2",{className:"empty-state__title",children:e("earnings.empty.title")}),o.jsx("div",{children:e("earnings.empty.body")}),o.jsx("a",{className:"empty-state__cta",href:"/teacher/me/schedule",children:e("earnings.empty.cta")})]})},z8e=({onRetry:e})=>{const t=H();return o.jsxs("div",{className:"empty-state",style:{borderColor:"var(--error)"},children:[o.jsx("div",{style:{fontFamily:"var(--font-display)",fontSize:22,color:"var(--text)",marginBottom:6},children:t("earnings.error.title")}),o.jsx("div",{children:t("earnings.error.body")}),o.jsx("button",{type:"button",onClick:e,style:{marginTop:16,padding:"8px 14px",background:"var(--accent)",color:"var(--text)",border:"none",borderRadius:4,fontWeight:500,fontFamily:"var(--font-body)",fontSize:14,cursor:"pointer"},children:t("earnings.error.retry")})]})},Qg=({status:e,onSaveProfile:t,onRequestPayout:n})=>{var S,T,C,E,N;const r=H(),[s,i]=v.useState(((S=e.profile)==null?void 0:S.accountEmail)??""),[a,l]=v.useState(((T=e.profile)==null?void 0:T.accountHolderName)??""),[c,u]=v.useState(((C=e.profile)==null?void 0:C.countryCode)??""),[d,h]=v.useState(!1),[f,p]=v.useState(!1),[m,y]=v.useState(!1),[_,g]=v.useState(null),b={profile_required:r("payoneer.blocked.profile_required"),profile_pending_review:r("payoneer.blocked.profile_pending_review"),profile_rejected:r("payoneer.blocked.profile_rejected"),below_minimum:r("payoneer.blocked.below_minimum"),open_request_exists:r("payoneer.blocked.open_request_exists")},k=async()=>{y(!0),g(null);try{await t({account_email:s,account_holder_name:a,country_code:c,confirm_payoneer_registered:d,confirm_usd_receiving:f})}catch(j){g(j.message)}finally{y(!1)}},x=async()=>{y(!0),g(null);try{await n()}catch(j){g(j.message)}finally{y(!1)}};return o.jsxs("section",{className:"payoneer-panel","aria-labelledby":"payoneer-panel-title",children:[o.jsxs("div",{className:"payoneer-panel__head",children:[o.jsxs("div",{children:[o.jsx("h2",{id:"payoneer-panel-title",children:r("payoneer.title")}
146),o.jsx("p",{children:r("payoneer.subtitle")})]}),((E=e.profile)==null?void 0:E.status)==="verified"&&o.jsx("span",{className:"payoneer-panel__badge",children:r("payoneer.status.verified")})]}),e.openRequest?o.jsxs("div",{className:"payoneer-panel__state",children:[o.jsx("strong",{children:r("payoneer.request.openTitle")}),o.jsx("p",{children:r("payoneer.request.openBody",{amount:ft(e.openRequest.requestedAmountCents),date:new Date(e.openRequest.expectedBy).toLocaleDateString()})})]}):e.profile===null||e.profile.status==="rejected"?o.jsxs("div",{className:"payoneer-panel__form",children:[((N=e.profile)==null?void 0:N.status)==="rejected"&&o.jsx("div",{className:"payoneer-panel__error",children:e.profile.rejectionReason??r("payoneer.status.rejected")}),o.jsxs("label",{className:"payoneer-panel__field",children:[o.jsx("span",{children:r("payoneer.form.email")}),o.jsx("input",{type:"email",value:s,onChange:j=>i(j.target.value)})]}),o.jsxs("label",{className:"payoneer-panel__field",children:[o.jsx("span",{children:r("payoneer.form.holderName")}),o.jsx("input",{value:a,onChange:j=>l(j.target.value)})]}),o.jsxs("label",{className:"payoneer-panel__field payoneer-panel__field--short",children:[o.jsx("span",{children:r("payoneer.form.country")}),o.jsx("input",{value:c,onChange:j=>u(j.target.value.toUpperCase()),maxLength:2})]}),o.jsxs("label",{className:"payoneer-panel__check",children:[o.jsx("input",{type:"checkbox",checked:d,onChange:j=>h(j.target.checked)}),o.jsx("span",{children:r("payoneer.form.confirmRegistered")})]}),o.jsxs("label",{className:"payoneer-panel__check",children:[o.jsx("input",{type:"checkbox",checked:f,onChange:j=>p(j.target.checked)}),o.jsx("span",{children:r("payoneer.form.confirmUsd")})]}),o.jsx("button",{type:"button",className:"btn btn--accent payoneer-panel__submit",onClick:k,disabled:m,children:r("payoneer.form.submit")})]}):e.profile.status==="pending_review"?o.jsx("div",{className:"payoneer-panel__state",children:r("payoneer.status.pendingReview")}):o.jsxs("div",{className:"payoneer-panel__state",children:[o.jsx("div",{children:r("payoneer.transferable",{amount:ft(e.transferableCents)})}),o.jsx("p",{children:r("payoneer.cutoff")}),e.transferableCents<e.bankWithdrawalGuidanceCents&&o.jsx("p",{className:"payoneer-panel__note",children:r("payoneer.bankGuidance")}),o.jsx("button",{type:"button",className:"btn btn--accent payoneer-panel__submit",onClick:x,disabled:!e.canRequest||m,children:e.canRequest?r("payoneer.request.cta"):b[e.requestBlockedReason??"below_minimum"]})]}),_&&o.jsx("div",{className:"payoneer-panel__error",children:_})]})},WW={manual_wechat:"WeChat",payoneer:"Payoneer",manual_wise:"Wise",manual_bank_transfer:"Bank Transfer",manual_wire:"Wire",manual_paypal:"PayPal"},N8e=e=>WW[e]??e,SE=e=>e?new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"}):"—",e6=({payouts:e,error:t=!1,retrying:n=!1,onRetry:r})=>{const s=H(),i=v.useRef(null),a=v.useRef(!1);return v.useEffect(()=>{var l;!t&&a.current&&(a.current=!1,(l=i.current)==null||l.focus())},[t]),o.jsxs("section",{className:"recent-payouts",children:[o.jsx("h2",{className:"payouts-section-title",ref:i,tabIndex:-1,children:s("earnings.recentPayouts.title")}),t?o.jsxs("div",{className:"empty-state",role:"alert",children:[o.jsx("p",{children:s("earnings.recentPayouts.loadError")}),r&&o.jsx("button",{type:"button",className:"btn btn--ghost recent-payouts__retry","aria-disabled":n,"aria-busy":n,onFocus:()=>{a.current=!0},onBlur:()=>{a.current=!1},onClick:()=>{n||r()},children:s("earnings.error.retry")})]}):e===null?o.jsx("div",{className:"skel","aria-hidden":"true",style:{height:80}}):e.length===0?o.jsx("div",{className:"empty-state",style:{padding:32},children:s("earnings.recentPayouts.empty")}):o.jsx("div",{className:"lessons-table-wrap",children:o.jsxs("table",{className:"lessons-table",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:s("earnings.recentPayouts.column.initiated")}),o.jsx("th",{children:s("earnings.recentPayouts.column.method")}),o.jsx("th",{children:s("earnings.recentPayouts.column.ref")}),o.jsx("th",{style:{textAlign:"right"},children:s("earnings.recentPayouts.column.earned")}),o.jsx("th",{style:{textAlign:"right"},children:s("earnings.recentPayouts.column.remittance")}),o.jsx("th",{children:s("earnings.recentPayouts.column.proof")}),o.jsx("th",{children:s("earnings.recentPayouts.column.status")})]})}),o.jsx("tbody",{children:e.map(l=>o.jsxs("tr",{children:[o.jsx("td",{className:"col-date",children:SE(l.initiatedAt)}),o.jsx("td",{children:N8e(l.method)}),o.jsx("td",{children:l.externalRef??"—"}),o.jsx("td",{className:"num",children:ft(l.amountCents)}),o.jsx("td",{className:"num num--net",children:l.remittanceCurrency&&l.remittanceAmountMinor!=null?DW(l.remittanceAmountMinor,l.remittanceCurrency,O0(l.remittanceCurrency)):o.jsx("span",{style:{color:"var(--text-subtle)"},children:"—"})}),o.jsxs("td",{children:[l.proofImageUrl&&o.jsx("a",{className:"proof-link",href:l.proofImageUrl,target:"_blank",rel:"noopener noreferrer",children:s("earnings.recentPayouts.proof.image")}),l.proofImageUrl&&l.proofText&&o.jsx("span",{style:{color:"var(--text-subtle)"},children:" · "}),l.proofText&&o.jsx("span",{title:l.proofText,className:"proof-link",style:{cursor:"help"},children:s("earnings.recentPayouts.proof.note")}),!l.proofImageUrl&&!l.proofText&&o.jsx("span",{style:{color:"var(--text-subtle)"},children:"—"})]}),o.jsx("td",{children:l.paidAt?o.jsxs("span",{className:"status-pill status-pill--paid",children:[o.jsx("span",{className:"status-pill__dot"}),s("earnings.recentPayouts.status.transferred",{date:SE(l.paidAt)})]}):o.jsxs("span",{className:"status-pill status-pill--cooldown",children:[o.jsx("span",{className:"status-pill__dot"}),s("earnings.recentPayouts.status.pending")]})})]},l.id))})]})})]})},I8e=["pending","earned","transferable","transferred"],R8e=e=>e==="earned"||e==="pending"||e==="transferable"||e==="transferred",P8e=e=>e==="7"||e==="30"||e==="tm"||e==="lm"||e==="ty"||e==="all"||e==="custom",A8e=()=>{const e=new URLSearchParams(window.location.search),t=e.get("range"),n=e.get("bucket");return{rangeId:P8e(t)?t:"30",filter:R8e(n)?n:null}},L8e=()=>{const e=H(),{authFetch:t}=Hr(),[,n]=v.useState(0),{rangeId:r,filter:s}=A8e(),[i,a]=v.useState(null),[l,c]=v.useState(!0),[u,d]=v.useState(null),[h,f]=v.useState(null),[p,m]=v.useState(null),[y,_]=v.useState(!1),[g,b]=v.useState(!0),k=v.useRef(!0),x=v.useRef(r);x.current=r;const S=v.useRef({earnings:null,payoneer:null,payouts:null}),T=v.useCallback(w=>{var M;(M=S.current[w])==null||M.abort();const L=new AbortController;return S.current[w]=L,L.signal},[]),C=v.useCallback(async()=>
146{if(!k.current)return;const w=T("earnings");c(!0),d(null);const{from:L,to:M}=xE(x.current);try{const A=`/api/me/earnings?from=${encodeURIComponent(L.toISOString())}&to=${encodeURIComponent(M.toISOString())}`,q=await t(A,{signal:w});if(!q.ok)throw new Error(`HTTP ${q.status}`);const W=await q.json();w.aborted||a(W)}catch(A){w.aborted||d(A.message)}finally{w.aborted||c(!1)}},[t,T]),E=v.useCallback(async()=>{if(!k.current)return;const w=T("payoneer");try{const L=await t("/api/me/payoneer",{signal:w});if(!L.ok)return;const M=await L.json();w.aborted||f(M)}catch{}},[t,T]),N=v.useCallback(async()=>{if(!k.current)return;const w=T("payouts");m(null),b(!0);const{from:L,to:M}=xE(x.current);try{const A=`/api/me/payouts?from=${encodeURIComponent(L.toISOString())}&to=${encodeURIComponent(M.toISOString())}`,q=await t(A,{signal:w});if(!q.ok)throw new Error(`HTTP ${q.status}`);const W=await q.json();w.aborted||(m(W.payouts),_(!1))}catch{w.aborted||_(!0)}finally{w.aborted||b(!1)}},[t,T]);v.useEffect(()=>(k.current=!0,_(!1),Promise.all([C(),E(),N()]),()=>{k.current=!1,Object.values(S.current).forEach(w=>w==null?void 0:w.abort())}),[r,C,E,N]);const j=async w=>{const L=await t("/api/me/payoneer",{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(w)});if(!L.ok)throw new Error(await L.text());await E()},I=async()=>{const w=await t("/api/me/payout-requests",{method:"POST"});if(!w.ok)throw new Error(await w.text());await E(),await C()},P=v.useMemo(()=>{const w={earned:e("earnings.bucket.earned.title"),pending:e("earnings.bucket.pending.title"),transferable:e("earnings.bucket.transferable.title"),transferred:e("earnings.bucket.transferred.title")};return L=>w[L]},[e]),O=v.useMemo(()=>{const w={earned:e("earnings.bucket.earned.tooltip"),pending:e("earnings.bucket.pending.tooltip"),transferable:e("earnings.bucket.transferable.tooltip"),transferred:e("earnings.bucket.transferred.tooltip")};return L=>w[L]},[e]),F=w=>{const L=new URLSearchParams(window.location.search);w(L);const M=L.toString(),A=`${window.location.pathname}${M?`?${M}`:""}`;window.history.replaceState({},"",A),n(q=>q+1)},B=w=>{F(L=>L.set("range",w))},$=w=>{F(L=>{s===w?L.delete("bucket"):L.set("bucket",w)})},D=()=>{F(w=>w.delete("bucket"))};if(l)return o.jsxs("div",{className:"earnings",children:[o.jsx(S2,{rangeId:r,setRange:B,t:e}),o.jsx(C8e,{})]});if(u)return o.jsxs("div",{className:"earnings",children:[o.jsx(S2,{rangeId:r,setRange:B,t:e}),o.jsx(z8e,{onRetry:C}),o.jsx(e6,{payouts:p,error:y,retrying:g,onRetry:N}),h&&o.jsx(Qg,{status:h,onSaveProfile:j,onRequestPayout:I})]});const z=i?i.cards.earned.bookingCount+i.cards.pending.bookingCount+i.cards.transferable.bookingCount+i.cards.transferred.bookingCount:0;if(!i||z===0)return o.jsxs("div",{className:"earnings",children:[o.jsx(S2,{rangeId:r,setRange:B,t:e}),o.jsx(E8e,{}),o.jsx(e6,{payouts:p,error:y,retrying:g,onRetry:N}),h&&o.jsx(Qg,{status:h,onSaveProfile:j,onRequestPayout:I})]});const R=w=>w?new Date(w).toLocaleDateString(void 0,{month:"short",day:"numeric"}):"—";return o.jsxs("div",{className:"earnings",children:[o.jsx(S2,{rangeId:r,setRange:B,t:e}),o.jsx("div",{className:"card-grid",children:I8e.map(w=>{const L=i.cards[w],M=w==="transferred"?o.jsx("strong",{children:e("earnings.bucket.transferred.lastPaid",{date:R(i.cards.transferred.lastPaidAt)})}):o.jsx("span",{children:e("earnings.bucket.lessonCount",{count:String(L.bookingCount)})});return o.jsx(w8e,{bucket:w,title:P(w),cents:L.cents,meta:M,active:s===w,onToggle:()=>$(w),tooltip:O(w)},w)})}),o.jsx(T8e,{lessons:i.lineItems,filter:s,onClearFilter:D,truncated:i.truncated,bucketTitleFor:P}),o.jsx(e6,{payouts:p,error:y,retrying:g,onRetry:N}),h&&o.jsx(Qg,{status:h,onSaveProfile:j,onRequestPayout:I}),o.jsxs("div",{className:"earnings__updated",children:[o.jsx("span",{className:"earnings__updated-dot"}),e("earnings.updated",{relative:M8e(i.generatedAt)})]})]})},S2=({rangeId:e,setRange:t,t:n})=>o.jsxs("div",{className:"earnings__head",children:[o.jsxs("div",{children:[o.jsx("h1",{className:"earnings__title",children:n("earnings.title")}),o.jsx("p",{className:"earnings__sub",children:n("earnings.subtitle")})]}
146),o.jsx(j8e,{value:e,onChange:t})]}),M8e=e=>{const t=Date.now()-new Date(e).getTime(),n=Math.max(0,Math.round(t/6e4));if(n<60)return`${n}m`;const r=Math.round(n/60);return r<24?`${r}h`:`${Math.round(r/24)}d`},O8e=()=>o.jsx(L8e,{}),D8e=e=>e?e.split(/\s+/).map(t=>t[0]??"").slice(0,2).join("").toUpperCase():"?",hf=e=>e?new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"}):"—",Cb=e=>new Date(e).toLocaleString(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}),W8e=(e,t)=>e==="payment_pending"?"Awaiting student payment":e==="already_paid_out"?"Already paid out":`Payable ${Cb(t)}`,TE=e=>e===null||e==="cooldown",F8e=({lesson:e})=>e.payoutPaidAt?o.jsxs("span",{className:"status-pill status-pill--paid",children:[o.jsx("span",{className:"status-pill__dot"}),"Paid ",hf(e.payoutPaidAt)]}):e.payoutId?o.jsxs("span",{className:"status-pill status-pill--cooldown",children:[o.jsx("span",{className:"status-pill__dot"}),"Payout pending"]}):e.ineligibilityReason==="payment_pending"?o.jsxs("span",{className:"status-pill status-pill--unpaid",children:[o.jsx("span",{className:"status-pill__dot"}),"Unpaid"]}):e.ineligibilityReason==="cooldown"?o.jsxs("span",{className:"status-pill status-pill--cooldown",children:[o.jsx("span",{className:"status-pill__dot"}),"Cooldown · ",Cb(e.payoutEligibleAt)]}):o.jsxs("span",{className:"status-pill status-pill--eligible",children:[o.jsx("span",{className:"status-pill__dot"}),"Eligible"]}),$8e=({lessons:e,selectedIds:t,selectedTeacherId:n,onToggleRow:r,onToggleAllVisibleEligible:s,filter:i})=>{const a=v.useMemo(()=>{if(!i.trim())return e;const c=i.trim().toLowerCase();return e.filter(u=>u.teacherDisplayName.toLowerCase().includes(c)||(u.studentDisplayName??"").toLowerCase().includes(c))},[e,i]),l=v.useMemo(()=>{if(!n)return null;const u=a.filter(h=>h.teacherId===n&&h.ineligibilityReason===null).map(h=>h.id),d=u.length>0&&u.every(h=>t.has(h));return{ids:u,allSelected:d,count:u.length}},[a,t,n]);return a.length===0?o.jsx("div",{className:"lessons-table-wrap",children:o.jsx("div",{className:"empty-state",style:{border:"none",padding:"48px 16px"},children:i.trim()?`No lessons match "${i}"`:"No completed lessons yet."})}):o.jsxs("div",{className:"lessons-table-wrap",children:[o.jsxs("div",{className:"lessons-table-bar",children:[o.jsxs("div",{className:"lessons-table-bar__left",children:[o.jsx("span",{className:"lessons-table-bar__title",children:"Completed lessons"}),l&&o.jsx("span",{style:{fontSize:12,color:"var(--text-subtle)"},children:l.allSelected?"all eligible selected":`${l.count} eligible for this teacher`})]}),o.jsxs("span",{style:{fontSize:12,color:"var(--text-subtle)"},children:[a.length," ",a.length===1?"lesson":"lessons"]})]}),o.jsxs("table",{className:"lessons-table",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{className:"col-select",children:o.jsx("input",{type:"checkbox","aria-label":"Select all eligible lessons visible for the selected teacher",checked:(l==null?void 0:l.allSelected)??!1,disabled:!l||l.count===0,onChange:()=>l&&s(l.ids)})}),o.jsx("th",{children:"Date"}),o.jsx("th",{children:"Teacher"}),o.jsx("th",{children:"Student"}),o.jsx("th",{children:"Type"}),o.jsx("th",{style:{textAlign:"right"},children:"Dur."}),o.jsx("th",{style:{textAlign:"right"},children:"Gross"}),o.jsx("th",{style:{textAlign:"right"},children:"Net"}),o.jsx("th",{children:"Paid"}),o.jsx("th",{children:"Status"})]})}),o.jsx("tbody",{children:a.map(c=>{const u=t.has(c.id),d=n!==null&&n!==c.teacherId&&TE(c.ineligibilityReason),h=TE(c.ineligibilityReason)&&!d,f=u?"row--selected":d?"row--locked-out":c.ineligibilityReason!==null&&c.ineligibilityReason!=="cooldown"?"row--ineligible":c.ineligibilityReason==="cooldown"?"row--early":"",p=d?"Pick lessons from one teacher at a time. Currently selecting for another teacher.":c.ineligibilityReason==="cooldown"?`Early payout — normally payable ${Cb(c.payoutEligibleAt)}`:c.ineligibilityReason?W8e(c.ineligibilityReason,c.payoutEligibleAt):"";return o.jsxs("tr",{className:f,children:[o.jsx("td",{className:"col-select",children:o.jsx("input",{type:"checkbox",checked:u,disabled:!h,"aria-label":`Select lesson on ${hf(c.endedAt)}`,title:p,onChange:()=>r(c)})}),o.jsx("td",{className:"col-date",children:hf(c.endedAt)}),o.jsx("td",{children:o.jsx("div",{className:"col-teacher",children:c.teacherDisplayName})}),o.jsx("td",{children:o.jsxs("div",{className:"col-student",children:[o.jsx("span",{className:"avatar",children:D8e(c.studentDisplayName)}),o.jsx("span",{className:"col-student__name",children:c.studentDisplayName??"—"})]})}),o.jsx("td",{className:"col-type",children:c.lessonType==="game_review"?"Review":c.lessonType==="teaching_game_with_review"?"Teaching+Review":"Lecture"}),o.jsxs("td",{className:"num",children:[c.durationMinutes,"m"]}),o.jsx("td",{className:"num",children:ft(c.grossCents)}),o.jsx("td",{className:"num num--net",children:ft(c.teacherNetCents)}),o.jsx("td",{className:"col-date",children:hf(c.paymentReceivedAt)}),o.jsx("td",{children:o.jsx(F8e,{lesson:c})})]},c.id)})})]})]})};function FW(e,t){const{authFetch:n}=Hr(),[r,s]=v.useState(e===t?{status:"idle"}:{status:"loading"});return v.useEffect(()=>{if(e===t){s({status:"idle"});return}const i=new AbortController;return s({status:"loading"}),n(`/api/admin/fx-rate?base=${e}&quote=${t}`,{signal:i.signal}).then(async a=>{if(i.signal.aborted)return;if(!a.ok){s({status:"error"});return}const l=await a.json();i.signal.aborted||s({status:"ready",rate:l.rate,rateDate:l.rate_date,base:e,quote:t})}).catch(a=>{(a==null?void 0:a.name)!=="AbortError"&&!i.signal.aborted&&s({status:"error"})}),()=>i.abort()},[e,t,n]),r}const $W=({currency:e,amountText:t,parsedAmountMinor:n,minorDigits:r,usdCents:s,fx:i,disabled:a,onCurrencyChange:l,onAmountChange:c})=>o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"payout-modal__remit-row",children:[o.jsx("select",{className:"payout-modal__select payout-modal__select--currency",value:e,onCh
146ange:u=>l(u.target.value),disabled:a,"aria-label":"Remittance currency",children:fR.map(u=>o.jsx("option",{value:u.code,children:u.label},u.code))}),o.jsx("input",{className:"payout-modal__input payout-modal__input--amount",type:"text",inputMode:"decimal",value:t,onChange:u=>c(u.target.value),placeholder:r>0?"0.00":"0",disabled:a,"aria-label":"Remittance amount"})]}),o.jsx("p",{className:"payout-modal__hint",children:e==="USD"?o.jsxs(o.Fragment,{children:["USD-earned: ",ft(s)," (auto-filled — edit if needed)"]}):o.jsxs(o.Fragment,{children:["Teacher earned ",o.jsx("strong",{children:ft(s)})," USD. Enter what you actually sent in ",e,"."]})}),e!=="USD"&&i.status==="loading"&&o.jsx("p",{className:"payout-modal__hint payout-modal__hint--fx",children:"Fetching rate…"}),e!=="USD"&&i.status==="error"&&o.jsx("p",{className:"payout-modal__hint payout-modal__proof-status--error",children:"Rate unavailable — enter remittance amount manually."}),e!=="USD"&&i.status==="ready"&&i.quote===e&&n!=null&&o.jsxs("p",{className:"payout-modal__hint payout-modal__hint--fx",children:["≈ ",ft(Math.round(n/Math.pow(10,r)/i.rate*100))," USD"," · ",i.rate.toFixed(4)," ",e,"/USD · rate from ",i.rateDate," (ECB)"]}),t.length>0&&n==null&&o.jsxs("p",{className:"payout-modal__hint payout-modal__proof-status--error",children:["Invalid amount. ",r===0?`${e} has no decimals.`:`Up to ${r} decimal places.`]})]}),jE=5*1024*1024,BW=({initialImageUrl:e,disabled:t,onChange:n,onUploadingChange:r})=>{const{authFetch:s}=Hr(),[i,a]=v.useState(null),[l,c]=v.useState(!1),[u,d]=v.useState(!1),[h,f]=v.useState(null),p=v.useRef(null),m=e!==null&&!i&&!l,y=(i==null?void 0:i.previewUrl)??(m?e:null),_=()=>{var k;return(k=p.current)==null?void 0:k.click()},g=async k=>{var S;const x=(S=k.target.files)==null?void 0:S[0];if(k.target.value="",!!x){if(x.size>jE){f(`File too large (max ${(jE/1024/1024).toFixed(0)} MB)`);return}if(!["image/webp","image/jpeg","image/png"].includes(x.type)){f("Only PNG, JPEG, and WebP images are supported");return}d(!0),r==null||r(!0),f(null);try{const T=new FormData;T.append("image",x,x.name);const C=await s("/api/admin/payouts/proof-upload",{method:"POST",body:T});if(!C.ok)throw C.status===413?new Error("File too large"):C.status===415?new Error("Unsupported image format"):new Error(`Upload failed (HTTP ${C.status})`);const E=await C.json(),N=URL.createObjectURL(x);i!=null&&i.previewUrl&&URL.revokeObjectURL(i.previewUrl),a({path:E.storage_object_path,previewUrl:N}),c(!1),n({action:"replace",path:E.storage_object_path})}catch(T){f(T.message)}finally{d(!1),r==null||r(!1)}}},b=()=>{i!=null&&i.previewUrl&&URL.revokeObjectURL(i.previewUrl),a(null),c(!0),n({action:"remove"})};return o.jsxs("div",{className:"payout-modal__proof-row",children:[y?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"payout-modal__proof-preview",children:[o.jsx("img",{src:y,alt:"Proof preview"}),o.jsx("button",{type:"button",className:"payout-modal__proof-remove",onClick:b,disabled:t,"aria-label":"Remove proof image",children:"×"})]}),o.jsx("span",{className:"payout-modal__proof-status",children:i?"New image attached":"Current image"}),o.jsx("button",{type:"button",className:"payout-modal__proof-upload",onClick:_,disabled:u||t,children:u?"Uploading…":"Replace"})]}):o.jsx("button",{type:"button",className:"payout-modal__proof-upload",onClick:_,disabled:u||t,children:u?"Uploading…":"Attach screenshot"}),o.jsx("input",{ref:p,type:"file",accept:"image/png,image/jpeg,image/webp",style:{display:"none"},onChange:g}),h&&o.jsx("p",{className:"payout-modal__proof-status payout-modal__proof-status--error",children:h})]})},B8e={manual_wechat:"WeChat",payoneer:"Payoneer",manual_wise:"Wise",manual_bank_transfer:"Bank Transfer"},CE=e=>e?new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric"}):"—",U8e=e=>new Date(e).toLocaleString(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"}),q8e=({selectedLessons:e,teacherId:t,teacherDisplayName:n,onClose:r,onSuccess:s})=>{const{authFetch:i}=Hr(),[a,l]=v.useState("manual_wechat"),[c,u]=v.useState(""),[d,h]=v.useState(""),[f,p]=v.useState(""),[m,y]=v.useState(null),[_,g]=v.useState(!1),[b,k]=v.useState(!1),[x,S]=v.useState(null),[T,C]=v.useState("CNY"),[E,N]=v.useState(""),j=FW("USD",T),I=v.useMemo(()=>e.filter(M=>M.ineligibilityReason==="cooldown"),[e]),O=e.filter(M=>M.ineligibilityReason!==null&&M.ineligibilityReason!=="cooldown").length===0,[F,B]=v.useState(!1),$=e.every(M=>M.teacherId===t),D=v.useMemo(()=>e.reduce((M,A)=>M+A.teacherNetCents,0),[e]),z=O0(T);v.useEffect(()=>{N(T==="USD"?(D/100).toFixed(2):"")},[T,D]),v.useEffect(()=>{T==="USD"||j.status!=="ready"||j.quote===T&&N(M=>M!==""?M:(D/100*j.rate).toFixed(z))},[j,T,D,z]);const R=v.useMemo(()=>hm(E,z),[E,z]),w=async()=>
146{if(!O||!$){S("Selection is no longer valid. Close this dialog and re-select.");return}if(I.length>0&&!F){S("Acknowledge the early-payout warning before submitting.");return}if(R==null){S(`Enter a valid remittance amount (max ${z} decimal places).`);return}g(!0),S(null);try{const M=await i(`/api/admin/teachers/${t}/payouts`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({booking_ids:e.map(A=>A.id),method:a,external_ref:c.trim()||void 0,notes:f.trim()||void 0,proof_image_path:m??void 0,proof_text:d.trim()||void 0,remittance_currency:T,remittance_amount_minor:R,bypass_cooldown:I.length>0})});if(!M.ok){const A=await M.text();throw new Error(`HTTP ${M.status}: ${A}`)}s(await M.json())}catch(M){S(M.message)}finally{g(!1)}},L=M=>{M.target===M.currentTarget&&!_&&!b&&r()};return o.jsx("div",{className:"payout-modal__backdrop",role:"dialog","aria-modal":"true","aria-labelledby":"payout-modal-title",onClick:L,children:o.jsxs("div",{className:"payout-modal",children:[o.jsxs("div",{className:"payout-modal__head",children:[o.jsx("h2",{id:"payout-modal-title",className:"payout-modal__title",children:"Record payout"}),o.jsxs("p",{className:"payout-modal__teacher",children:[n," — ",e.length," ",e.length===1?"lesson":"lessons"]})]}),o.jsxs("div",{className:"payout-modal__body",children:[o.jsx("span",{className:"payout-modal__section-label",children:"Breakdown"}),o.jsxs("div",{className:"payout-modal__breakdown",children:[e.map(M=>o.jsxs("div",{className:"payout-modal__breakdown-row",children:[o.jsx("span",{className:"payout-modal__breakdown-date",children:CE(M.endedAt)}),o.jsxs("span",{className:"payout-modal__breakdown-student",title:M.studentDisplayName??"",children:[M.studentDisplayName??"—"," · ",M.durationMinutes,"m"]}),o.jsx("span",{className:"payout-modal__breakdown-amount",children:ft(M.teacherNetCents)})]},M.id)),o.jsxs("div",{className:"payout-modal__breakdown-total",children:[o.jsx("span",{children:"Total payout"}),o.jsx("span",{className:"payout-modal__breakdown-total-amount",children:ft(D)})]})]}),!$&&o.jsx("div",{className:"payout-modal__error",children:"Selected lessons belong to multiple teachers. Close and re-select."}),!O&&o.jsx("div",{className:"payout-modal__error",children:"One or more selected lessons are no longer payout-eligible. Close this dialog and review the table."}),I.length>0&&o.jsxs("div",{className:"payout-modal__early-warning",role:"alert",children:[o.jsxs("strong",{className:"payout-modal__early-title",children:["Releasing ",I.length," ",I.length===1?"lesson":"lessons"," before the cooldown ends"]}),o.jsx("p",{className:"payout-modal__early-note",children:"These lessons are still inside the 7-day refund/dispute buffer. If a refund or chargeback lands after you pay out, the platform has already sent the money."}),o.jsx("ul",{className:"payout-modal__early-list",children:I.map(M=>o.jsxs("li",{children:[CE(M.endedAt)," · ",M.studentDisplayName??"—"," — normally payable ",U8e(M.payoutEligibleAt)]},M.id))}),o.jsxs("label",{className:"payout-modal__ack",children:[o.jsx("input",{type:"checkbox",checked:F,onChange:M=>B(M.target.checked),disabled:_}),"I understand these lessons are still within the cooldown and I'm releasing them early."]})]}),o.jsx("span",{className:"payout-modal__section-label",children:"Payout method"}),o.jsx("select",{className:"payout-modal__select",value:a,onChange:M=>l(M.target.value),disabled:_,children:Of.map(M=>o.jsx("option",{value:M,children:B8e[M]},M))}),o.jsx("span",{className:"payout-modal__section-label",children:"Remittance currency & amount"}),o.jsx($W,{currency:T,amountText:E,parsedAmountMinor:R,minorDigits:z,usdCents:D,fx:j,disabled:_,onCurrencyChange:C,onAmountChange:N}),o.jsx("span",{className:"payout-modal__section-label",children:"External reference (optional)"}),o.jsx("input",{className:"payout-modal__input",type:"text",value:c,onChange:M=>u(M.target.value),placeholder:"Transaction ID, Payoneer ref, etc.",disabled:_,maxLength:200}),o.jsx("span",{className:"payout-modal__section-label",children:"Proof of payment (optional)"}),o.jsx(BW,{initialImageUrl:null,disabled:_,onChange:M=>y(M.action==="replace"?M.path:null),onUploadingChange:k}),o.jsx("span",{className:"payout-modal__section-label",children:"Proof note (optional)"}),o.jsx("textarea",{className:"payout-modal__textarea",value:d,onChange:M=>h(M.target.value),placeholder:"e.g. WeChat to teacher's 138****1234 on 2026-05-20 17:42 HKT",disabled:_,maxLength:2e3,rows:3}),o.jsx("span",{className:"payout-modal__section-label",children:"Internal notes (optional)"}),o.jsx("textarea",{className:"payout-modal__textarea",value:f,onChange:M=>p(M.target.value),placeholder:"Admin-only note. Not shown to the teacher.",disabled:_,maxLength:500,rows:2}),x&&o.jsx("div",{className:"payout-modal__error",children:x})]}),o.jsxs("div",{className:"payout-modal__foot",children:[o.jsx("button",{type:"button",className:"payout-modal__btn",onClick:r,disabled:_||b,children:"Cancel"}),o.jsx("button",{type:"button",className:"payout-modal__btn payout-modal__btn--primary",onClick:w,disabled:_||b||!O||!$||I.length>0&&!F||e.length===0||R==null,children:_?"Recording…":`Record payout · ${ft(D)}`})]})]})})},H8e={manual_wechat:"WeChat",payoneer:"Payoneer",manual_wise:"Wise",manual_bank_transfer:"Bank Transfer"},G8e=e=>Of.includes(e)?e:"manual_wise",K8e=(e,t)=>
146e==null?"":(e/Math.pow(10,t)).toFixed(t),V8e=({payout:e,onClose:t,onSuccess:n})=>{const{authFetch:r}=Hr(),[s,i]=v.useState(G8e(e.method)),[a,l]=v.useState(!1),[c,u]=v.useState(e.externalRef??""),[d,h]=v.useState(e.notes??""),[f,p]=v.useState(e.proofText??""),[m,y]=v.useState({action:"keep"}),_=e.remittanceCurrency??"CNY",[g,b]=v.useState(_),[k,x]=v.useState(K8e(e.remittanceAmountMinor,O0(_))),[S,T]=v.useState(!1),[C,E]=v.useState(!1),[N,j]=v.useState(null),I=O0(g),P=FW("USD",g),O=v.useMemo(()=>hm(k,I),[k,I]),F=k.trim()==="",B=F||O!=null,$=!Of.includes(e.method),D=async()=>{if(!B){j("Enter a valid remittance amount, or clear it to remove the remittance record.");return}T(!0),j(null);const R={external_ref:c.trim()||null,notes:d.trim()||null,proof_text:f.trim()||null,remittance_currency:F?null:g,remittance_amount_minor:F?null:O};m.action==="replace"?R.proof_image_path=m.path:m.action==="remove"&&(R.proof_image_path=null),a&&(R.method=s);try{const w=await r(`/api/admin/payouts/${e.id}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify(R)});if(!w.ok){const L=await w.text();throw new Error(`HTTP ${w.status}: ${L}`)}n()}catch(w){j(w.message)}finally{T(!1)}},z=R=>{R.target===R.currentTarget&&!S&&!C&&t()};return o.jsx("div",{className:"payout-modal__backdrop",role:"dialog","aria-modal":"true","aria-labelledby":"edit-payout-modal-title",onClick:z,children:o.jsxs("div",{className:"payout-modal",children:[o.jsxs("div",{className:"payout-modal__head",children:[o.jsx("h2",{id:"edit-payout-modal-title",className:"payout-modal__title",children:"Edit payout"}),o.jsxs("p",{className:"payout-modal__teacher",children:[e.teacherDisplayName," — ",ft(e.amountCents)]})]}),o.jsxs("div",{className:"payout-modal__body",children:[o.jsx("p",{className:"payout-modal__hint",children:"The USD amount and the linked lessons are fixed and can't be edited here."}),o.jsx("span",{className:"payout-modal__section-label",children:"Payout method"}),o.jsx("select",{className:"payout-modal__select",value:s,onChange:R=>{i(R.target.value),l(!0)},disabled:S,"aria-label":"Payout method",children:Of.map(R=>o.jsx("option",{value:R,children:H8e[R]},R))}),$&&o.jsxs("p",{className:"payout-modal__hint",children:["Stored method: ",e.method," (legacy). Pick a value above only if you want to change it."]}),o.jsx("span",{className:"payout-modal__section-label",children:"Remittance currency & amount"}),o.jsx($W,{currency:g,amountText:k,parsedAmountMinor:O,minorDigits:I,usdCents:e.amountCents,fx:P,disabled:S,onCurrencyChange:b,onAmountChange:x}),o.jsx("p",{className:"payout-modal__hint",children:"Clear the amount to remove the remittance record."}),o.jsx("span",{className:"payout-modal__section-label",children:"External reference"}),o.jsx("input",{className:"payout-modal__input",type:"text",value:c,onChange:R=>u(R.target.value),placeholder:"Transaction ID, Payoneer ref, etc.",disabled:S,maxLength:200}),o.jsx("span",{className:"payout-modal__section-label",children:"Proof of payment"}),o.jsx(BW,{initialImageUrl:e.proofImageUrl,disabled:S,onChange:y,onUploadingChange:E}),o.jsx("span",{className:"payout-modal__section-label",children:"Proof note"}),o.jsx("textarea",{className:"payout-modal__textarea",value:f,onChange:R=>p(R.target.value),placeholder:"e.g. WeChat to teacher's 138****1234 on 2026-05-20 17:42 HKT",disabled:S,maxLength:2e3,rows:3}),o.jsx("span",{className:"payout-modal__section-label",children:"Internal notes"}),o.jsx("textarea",{className:"payout-modal__textarea",value:d,onChange:R=>h(R.target.value),placeholder:"Admin-only note. Not shown to the teacher.",disabled:S,maxLength:500,rows:2}),N&&o.jsx("div",{className:"payout-modal__error",children:N})]}),o.jsxs("div",{className:"payout-modal__foot",children:[o.jsx("button",{type:"button",className:"payout-modal__btn",onClick:t,disabled:S||C,children:"Cancel"}),o.jsx("button",{type:"button",className:"payout-modal__btn payout-modal__btn--primary",onClick:D,disabled:S||C||!B,children:S?"Saving…":"Save changes"})]})]})})},Y8e=({profiles:e,requests:t,onVerifyProfile:n,onRejectProfile:r,onApproveRequest:s,onRejectRequest:i,onMarkPaid:a})=>{const[l,c]=v.useState({});return o.jsxs("div",{className:"admin-payoneer",children:[o.jsx("h2",{children:"Payoneer profiles"}),e.length===0?o.jsx("div",{children:"No Payoneer profiles pending review."}):o.jsxs("table",{className:"lessons-table",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:"Teacher"}),o.jsx("th",{children:"Holder"}),o.jsx("th",{children:"Email"}),o.jsx("th",{children:"Country"}),o.jsx("th",{children:"Submitted"}),o.jsx("th",{})]})}),o.jsx("tbody",{children:e.map(u=>o.jsxs("tr",{children:[o.jsx("td",{children:u.teacherDisplayName}),o.jsx("td",{children:u.accountHolderName}),o.jsx("td",{children:u.accountEmail}),o.jsx("td",{children:u.countryCode}),o.jsx("td",{children:new Date(u.submittedAt).toLocaleDateString()}),o.jsxs("td",{children:[o.jsx("button",{type:"button",onClick:()=>n(u.id),children:"Verify"}),o.jsx("button",{type:"button",onClick:()=>{const d=window.prompt("Reject reason");d&&r(u.id,d)},children:"Reject"})]})]},u.id))})]}),o.jsx("h2",{style:{marginTop:32},children:"Payoneer payout requests"}),t.length===0?o.jsx("div",{children:"No Payoneer payout requests."}):o.jsxs("table",{className:"lessons-table",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:"Teacher"}),o.jsx("th",{children:"Amount"}),o.jsx("th",{children:"Bookings"}),o.jsx("th",{children:"Email"}),o.jsx("th",{children:"Requested"}),o.jsx("th",{children:"Expected by"}),o.jsx("th",{children:"Status"}),o.jsx("th",{})]})}),o.jsx("tbody",{children:t.map(u=>o.jsxs("tr",{children:[o.jsx("td",{children:u.teacherDisplayName}),o.jsx("td",{className:"num",children:ft(u.requestedAmountCents)}),o.jsx("td",{children:u.requestedBookingCount}),o.jsx("td",{children:u.accountEmail}),o.jsx("td",{children:new Date(u.requestedAt).toLocaleDateString()}),o.jsx("td",{children:new Date(u.expectedBy).toLocaleDateString()}),o.jsx("td",{children:u.status}),o.jsxs("td",{children:[u.status==="requested"&&o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",onClick:()=>s(u.id),children:"Approve"}),o.jsx("button",{type:"button",onClick:()=>{const d=window.prompt("Reject reason");d&&i(u.id,d)},children:"Reject"})]}),u.status==="processing"&&o.jsxs(o.Fragment,{children:[o.jsxs("label",{children:["Payoneer reference for ",u.teacherDisplayName,o.jsx("input",{value:l[u.id]??"",onChange:d=>c(h=>
146({...h,[u.id]:d.target.value}))})]}),o.jsx("button",{type:"button",onClick:()=>a(u.id,l[u.id]??""),children:"Mark paid"})]})]})]},u.id))})]})]})},EE=e=>e?new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"}):"—",J8e=()=>{const{authFetch:e}=Hr(),[t,n]=v.useState({kind:"loading"}),[r,s]=v.useState(""),[i,a]=v.useState(new Set),[l,c]=v.useState(!1),[u,d]=v.useState(null),[h,f]=v.useState(null),p=async()=>{try{const[P,O,F,B,$]=await Promise.all([e("/api/admin/payouts/lessons"),e("/api/admin/payouts/recent"),e("/api/admin/payoneer/profiles"),e("/api/admin/payout-requests?status=requested"),e("/api/admin/payout-requests?status=processing")]);if(P.status===403||O.status===403){n({kind:"forbidden"});return}if(!P.ok){n({kind:"error",message:`lessons: HTTP ${P.status}`});return}if(!O.ok){n({kind:"error",message:`recent: HTTP ${O.status}`});return}const D=F.status===404&&B.status===404&&$.status===404;if(!D&&(!F.ok||!B.ok||!$.ok)){n({kind:"error",message:"payoneer endpoint failed"});return}const z=await P.json(),R=await O.json(),w=D?null:await F.json(),L=D?null:await Promise.all([B.json(),$.json()]).then(([M,A])=>[...M,...A]);n({kind:"ready",lessons:z.lessons,recent:R,payoneerProfiles:w,payoneerRequests:L,generatedAt:z.generatedAt})}catch(P){n({kind:"error",message:P.message})}};v.useEffect(()=>{p()},[]);const m=t.kind==="ready"?t.lessons:[],y=v.useMemo(()=>m.filter(P=>i.has(P.id)),[m,i]),_=v.useMemo(()=>{if(y.length===0)return null;const P=y[0];return P?{id:P.teacherId,name:P.teacherDisplayName}:null},[y]),g=v.useMemo(()=>y.reduce((P,O)=>P+O.teacherNetCents,0),[y]),b=y.filter(P=>P.ineligibilityReason==="cooldown").length,k=P=>{P.ineligibilityReason!==null&&P.ineligibilityReason!=="cooldown"||a(O=>{const F=new Set(O);return F.has(P.id)?(F.delete(P.id),F):_&&P.teacherId!==_.id?window.confirm(`Switch to selecting lessons for ${P.teacherDisplayName}? Your current selection (${O.size} lesson${O.size===1?"":"s"} for ${_.name}) will be cleared.`)?new Set([P.id]):O:(F.add(P.id),F)})},x=P=>{const O=P.length>0&&P.every(F=>i.has(F));a(O?new Set:new Set(P))},S=()=>a(new Set),T=async P=>{c(!1),a(new Set),d(null),await p()},C=async(P,O)=>{const F=await e(P,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(O)});if(!F.ok)throw new Error(await F.text());await p()},E=async P=>{const O=await e(`/api/admin/payoneer/profiles/${P}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({status:"verified"})});if(!O.ok)throw new Error(await O.text());await p()},N=async(P,O)=>{const F=await e(`/api/admin/payoneer/profiles/${P}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({status:"rejected",rejection_reason:O})});if(!F.ok)throw new Error(await F.text());await p()},j=async P=>{if(P.paidAt!==null&&!window.confirm("Unmark this payout? The teacher will see it move from transferred back to transferable."))return;const O=P.paidAt===null?new Date().toISOString():null;await e(`/api/admin/payouts/${P.id}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({paid_at:O})}),await p()};if(t.kind==="loading")return o.jsxs("div",{className:"admin-payouts",children:[o.jsx("h1",{className:"admin-payouts__title",children:"Payouts"}),o.jsx("div",{children:"Loading…"})]});if(t.kind==="forbidden")return o.jsxs("div",{className:"admin-payouts",children:[o.jsx("h1",{className:"admin-payouts__title",children:"Payouts"}),o.jsx("div",{style:{color:"var(--error)"},children:"Admin only."})]});if(t.kind==="error")return o.jsxs("div",{className:"admin-payouts",children:[o.jsx("h1",{className:"admin-payouts__title",children:"Payouts"}),o.jsx("div",{style:{color:"var(--error)"},children:t.message})]});const I=t.lessons.filter(P=>P.ineligibilityReason===null).length;return o.jsxs("div",{className:"admin-payouts",children:[o.jsxs("div",{className:"admin-payouts__head",children:[o.jsxs("div",{children:[o.jsx("h1",{className:"admin-payouts__title",children:"Payouts"}),o.jsxs("p",{className:"admin-payouts__sub",children:[t.lessons.length," completed ",t.lessons.length===1?"lesson":"lessons"," ·"," ",I," eligible to pay out now"]}),o.jsx("p",{className:"admin-payouts__sub",children:o.jsx("a",{href:"/admin/finance",style:{color:"var(--primary)",textDecoration:"underline"},children:"Platform Finance →"})})]}),o.jsx("div",{className:"admin-payouts__filters",children:o.jsx("input",{className:"admin-payouts__filter-input",type:"search",placeholder:"Filter by teacher or student",value:r,onChange:P=>s(P.target.value),"aria-label":"Filter lessons"})})]}),u&&o.jsx("div",{style:{color:"var(--error)",marginBottom:16},children:u}),o.jsx($8e,{lessons:t.lessons,selectedIds:i,selectedTeacherId:(_==null?void 0:_.id)??null,onToggleRow:k,onToggleAllVisibleEligible:x,filter:r}),o.jsx("h2",{className:"payouts-section-title",children:"Recent payouts"}),t.recent.length===0?o.jsx("div",{className:"empty-state",style:{padding:32},children:"No payouts in the last 30 days."}):o.jsx("div",{className:"lessons-table-wrap",children:o.jsxs("table",{className:"lessons-table",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:"Initiated"}),o.jsx("th",{children:"Teacher"}),o.jsx("th",{children:"Method"}),o.jsx("th",{children:"Ref"}),o.jsx("th",{style:{textAlign:"right"},children:"USD earned"}),o.jsx("th",{style:{textAlign:"right"},children:"Remittance"}),o.jsx("th",{children:"Proof"}),o.jsx("th",{children:"Status"}),o.jsx("th",{})]})}),o.jsx("tbody",{children:t.recent.map(P=>o.jsxs("tr",{children:[o.jsx("td",{className:"col-date",children:EE(P.initiatedAt)}),o.jsx("td",{children:P.teacherDisplayName}),o.jsx("td",{children:WW[P.method]??P.method}),o.jsx("td",{children:P.externalRef??"—"}),o.jsx("td",{className:"num",children:ft(P.amountCents)}),o.jsx("td",{className:"num num--net",children:P.remittanceCurrency&&P.remittanceAmountMinor!=null?DW(P.remittanceAmountMinor,P.remittanceCurrency,O0(P.remittanceCurrency)):o.jsx("span",{style:{color:"var(--text-subtle)"},children:"—"})}),o.jsxs("td",{children:[P.proofImageUrl&&o.jsx("a",{className:"proof-link",href:P.proofImageUrl,target:"_blank",rel:"noopener noreferrer",children:"Image"}),P.proofImageUrl&&P.proofText&&o.jsx("span",{style:{color:"var(--text-subtle)"},children:" · "}),P.proofText&&o.jsx("span",{title:P.proofText,className:"proof-link",style:{cursor:"help"},children:"Note"}),!P.proofImageUrl&&!P.proofText&&o.jsx("span",{style:{color:"var(--text-subtle)"},children:"—"})]}),o.jsxs("td",{children:[P.paidAt?o.jsxs("span",{className:"status-pill status-pill--paid",children:[o.jsx("span",{className:"status-pill__dot"}),"Paid ",EE(P.paidAt)]}):o.jsxs("span",{className:"status-pill status-pill--cooldown",children:[o.jsx("span",{className:"status-pill__dot"}),"Initiated"]}),P.cooldownBypassed&&o.jsx("span",{className:"early-badge",title:"Released before the cooldown ended",children:" Early"})]}),o.jsxs("td",{className:"payouts-recent-actions",children:[o.jsx("button",{type:"button",onClick:()=>f(P),children:"Edit"}),o.jsx("button",{type:"button",onClick:()=>j(P),children:P.paidAt?"Unmark":"Mark as paid"})]})]},P.id))})]})}),t.payoneerProfiles!==null&&t.payoneerRequests!==null&&o.jsx(Y8e,{profiles:t.payoneerProfiles,requests:t.payoneerRequests,onVerifyProfile:E,onRejectProfile:N,onApproveRequest:P=>C(`/api/admin/payout-requests/${P}/approve`,{}),onRejectRequest:(P,O)=>C(`/api/admin/payout-requests/${P}/reject`,{rejection_reason:O}),onMarkPaid:(P,O)=>C(`/api/admin/payout-requests/${P}/mark-paid`,{external_ref:O})}),y.length>0&&_&&o.jsx("div",{className:"payout-action-bar",role:"region","aria-label":"Payout summary",children:o.jsxs("div",{className:"payout-action-bar__inner",children:[o.jsxs("div",{className:"payout-action-bar__summary",children:[o.jsxs("span",{className:"payout-action-bar__count",children:[y.length," ",y.length===1?"lesson":"lessons"," selected",b>0&&o.jsxs("span",{className:"payout-action-bar__early",children:[" · ",b," early"]})]}),o.jsx("span",{className:"payout-action-bar__teacher",children:_.name})]}),o.jsx("span",{className:"payout-action-bar__amount",children:ft(g)}),o.jsx("button",{type:"button",className:"payout-action-bar__btn",onClick:S,children:"Clear"}),o.jsx("button",{type:"button",className:"payout-action-bar__btn payout-action-bar__btn--primary",onClick:()=>c(!0),children:"Pay out"})]})}),h&&o.jsx(V8e,{payout:h,onClose:()=>f(null),onSuccess:async()=>{f(null),await p()}}),l&&_&&o.jsx(q8e,{selectedLessons:y,teacherId:_.id,teacherDisplayName:_.name,onClose:()=>c(!1),onSuccess:T})]})},Z8e=()=>o.jsx(J8e,{}),zE=e=>e.slice(0,10),X8e=e=>new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)),Q8e=e=>
146new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+1,1)),e7e=()=>{const{authFetch:e}=Hr(),[t,n]=v.useState({kind:"loading"}),[r,s]=v.useState(()=>zE(X8e(new Date).toISOString())),[i,a]=v.useState(()=>zE(Q8e(new Date).toISOString())),l=async()=>{const d=new Date(r),h=new Date(i);if(!(d<h)){n({kind:"error",message:"From date must be before To date."});return}n({kind:"loading"});try{const f=`/api/admin/finance/summary?from=${encodeURIComponent(new Date(r).toISOString())}&to=${encodeURIComponent(new Date(i).toISOString())}`,p=await e(f);if(p.status===403)return n({kind:"forbidden"});if(!p.ok)return n({kind:"error",message:`HTTP ${p.status}`});const m=await p.json();n({kind:"ready",summary:m})}catch(f){n({kind:"error",message:f.message})}};if(v.useEffect(()=>{l()},[]),t.kind==="loading")return o.jsx("div",{className:"admin-finance",children:o.jsx("p",{children:"Loading…"})});if(t.kind==="forbidden")return o.jsxs("div",{className:"admin-finance",children:[o.jsx("h1",{className:"admin-finance__title",children:"Platform Finance"}),o.jsx("p",{children:"This page is restricted to platform administrators."})]});if(t.kind==="error")return o.jsxs("div",{className:"admin-finance",children:[o.jsx("h1",{className:"admin-finance__title",children:"Platform Finance"}),o.jsxs("p",{children:["Failed to load: ",t.message]}),o.jsx("button",{className:"btn btn--primary",onClick:l,children:"Retry"})]});const c=t.summary,u=`${c.formula.stripeFeePercent}% + ${ft(c.formula.stripeFeeFixedCents)} per charge`;return o.jsxs("div",{className:"admin-finance",children:[o.jsx("h1",{className:"admin-finance__title",children:"Platform Finance"}),o.jsxs("div",{className:"admin-finance__controls",children:[o.jsxs("label",{children:["From",o.jsx("input",{type:"date",value:r,onChange:d=>s(d.target.value)})]}),o.jsxs("label",{children:["To",o.jsx("input",{type:"date",value:i,onChange:d=>a(d.target.value)})]}),o.jsx("button",{className:"btn btn--primary",onClick:l,children:"Apply"})]}),o.jsxs("div",{className:"admin-finance__grid",children:[o.jsx(zo,{title:"Cash collected",cents:c.cashCollectedCents}),o.jsx(zo,{title:"Teacher payouts (paid)",cents:c.teacherPaidCents,negative:!0}),o.jsx(zo,{title:"Estimated Stripe fees",cents:c.estimatedStripeFeeCents,negative:!0}),o.jsx(zo,{title:"Stripe refunds",cents:c.stripeRefundsCents,negative:!0}),o.jsx(zo,{title:"Platform net",cents:c.platformNetCents,primary:!0,negative:c.platformNetCents<0})]}),o.jsxs("div",{className:"admin-finance__grid admin-finance__grid--secondary",children:[o.jsx(zo,{title:"Credits redeemed (no Stripe cash)",cents:c.creditsRedeemedCents}),o.jsx(zo,{title:"Promo discounts (revenue forgone)",cents:c.promoDiscountCents})]}),o.jsxs("p",{className:"admin-finance__footnote",children:["Stripe fee assumed: ",o.jsx("strong",{children:u})," across ",c.formula.paidBookingCount," paid booking(s) on ",ft(c.formula.feeBaseCents)," cash collected (post-credits). Tune via ",o.jsx("code",{children:"PLATFORM_STRIPE_FEE_PERCENT"})," / ",o.jsx("code",{children:"PLATFORM_STRIPE_FEE_FIXED_CENTS"})," env vars."]}),o.jsxs("p",{className:"admin-finance__footnote",children:["Range: ",c.range.from.slice(0,10)," → ",c.range.to.slice(0,10),". Generated ",new Date(c.generatedAt).toLocaleString(),". Bucketed by ",o.jsx("em",{children:"payment_received_at"})," for collection lines, ",o.jsx("em",{children:"teacher_payouts.paid_at"})," for payouts, ",o.jsx("em",{children:"booking_refunds.created_at"})," for refunds."]})]})},zo=({title:e,cents:t,negative:n,primary:r})=>o.jsxs("div",{className:`admin-finance__card${r?" admin-finance__card--primary":""}${n?" admin-finance__card--negative":""}`,children:[o.jsx("div",{className:"admin-finance__card-title",children:e}),o.jsxs("div",{className:"admin-finance__card-value",children:[n&&t>0&&o.jsx("span",{className:"admin-finance__card-sign",children:"−"}),o.jsx("span",{children:ft(t)})]})]}),t7e=()=>o.jsx(e7e,{}),ff={game_review:"Game review",teaching_game_with_review:"Teaching game",topic_lecture:"Topic lecture"},n7e=e=>e.discountType==="percent"?`${e.discountAmount}%`:ft(e.discountAmount),r7e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],T2=e=>{const t=new Date(e);return`${t.getUTCDate()} ${r7e[t.getUTCMonth()]}`},s7e=(e,t)=>!e&&!t?"Always":e&&!t?`From ${T2(e)}`:!e&&t?`Until ${T2(t)}`:`${T2(e)} – ${T2(t)}`,i7e=e=>{const t=e.confirmedRedemptionCount;return e.maxRedemptions==null?{text:`${t} / ∞`,atCap:!1}:{text:`${t} / ${e.maxRedemptions}`,atCap:t>=e.maxRedemptions}},a7e=e=>(e.teacherIdScope==null||e.teacherIdScope.length===0)&&(e.lessonTypeScope==null||e.lessonTypeScope.length===0)&&(e.durationScope==null||e.durationScope.length===0)&&e.minGrossCents==null,NE=e=>{if(e.trim()==="")return null;const t=hm(e,2);return t??"invalid"},o7e=({teachers:e,value:t,onChange:n})=>{const[r,s]=v.useState(""),[i,a]=v.useState(!1),l=v.useMemo(()=>new Map(e.map(f=>[f.id,f])),[e]),c=v.useMemo(()=>t.map(f=>l.get(f)).filter(f=>f!=null),[t,l]),u=v.useMemo(()=>{const f=r.trim().toLowerCase();return e.filter(p=>!t.includes(p.id)).filter(p=>f===""||p.display_name.toLowerCase().includes(f)).slice(0,20)},[e,t,r]),d=f=>{n([...t,f]),s("")},h=f=>n(t.filter(p=>p!==f));return o.jsxs("div",{className:"promo-picker",children:[o.jsxs("div",{className:"promo-picker__control",children:[c.map(f=>o.jsxs("span",{className:"promo-chip",children:[f.avatar_url&&o.jsx("img",{className:"promo-chip__ava",src:f.avatar_url,alt:""}),f.display_name,o.jsx("button",{type:"button",className:"promo-chip__x","aria-label":`Remove ${f.display_name}`,onClick:()=>h(f.id),children:"×"})]},f.id)),o.jsx("input",{className:"promo-picker__input",value:r,placeholder:c.length?"Add another…":"Search teachers…",onChange:f=>{s(f.target.value),a(!0)},onFocus:()=>a(!0),onBlur:()=>setTimeout(()=>a(!1),120)})]}),i&&(r.trim()!==""||u.length>0)&&o.jsx("div",{className:"promo-picker__menu",children:u.length===0?o.jsxs("div",{className:"promo-picker__empty",children:["No teachers match “",r,"”."]}):u.map(f=>o.jsxs("div",{className:"promo-picker__option",role:"button",tabIndex:0,onMouseDown:p=>{p.preventDefault(),d(f.id)},onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),d(f.id))},children:[f.avatar_url&&o.jsx("img",{className:"promo-picker__option-ava",src:f.avatar_url,alt:""}),f.display_name]},f.id))}),o.jsx("p",{className:"promo-modal__help",children:"Leave empty to apply to all teachers."})]})},IE=e=>{if(!e)return"";const t=new Date(e),n=r=>String(r).padStart(2,"0");return`${t.getUTCFullYear()}-${n(t.getUTCMonth()+1)}-${n(t.getUTCDate())}T${n(t.getUTCHours())}:${n(t.getUTCMinutes())}`},j2=e=>e.trim()===""?null:`${e}:00.000Z`,C2=e=>{if(e.trim()==="")return{ok:!0,value:null};const t=Number(e);return!Number.isInteger(t)||t<1?{ok:!1}:{ok:!0,value:t}},l7e={platform:"Platform covers the discount — the teacher is still paid on the full price.",teacher:"The teacher absorbs the discount — their net pay is reduced.",split:"Platform and teacher each cover half of the discount."},c7e=({teachers:e,existing:t,onClose:n,onCreate:r,onEdit:s})=>{var de,Ae;const[i,a]=v.useState((t==null?void 0:t.code)??""),[l,c]=v.useState((t==null?void 0:t.description)??""),[u,d]=v.useState((t==null?void 0:t.discountType)??"percent"),[h,f]=v.useState(t?t.discountType==="percent"?String(t.discountAmount):(t.discountAmount/100).toFixed(2):"10"),[p,m]=v.useState((t==null?void 0:t.absorbedBy)??"platform"),[
146y,_]=v.useState(((de=t==null?void 0:t.maxRedemptions)==null?void 0:de.toString())??""),[g,b]=v.useState(t?((Ae=t.maxPerStudent)==null?void 0:Ae.toString())??"":"1"),[k,x]=v.useState((t==null?void 0:t.firstTimeStudentOnly)??!1),[S,T]=v.useState((t==null?void 0:t.minGrossCents)!=null?(t.minGrossCents/100).toFixed(2):""),[C,E]=v.useState(IE((t==null?void 0:t.validFrom)??null)),[N,j]=v.useState(IE((t==null?void 0:t.validUntil)??null)),[I,P]=v.useState((t==null?void 0:t.teacherIdScope)??[]),[O,F]=v.useState((t==null?void 0:t.lessonTypeScope)??[]),[B,$]=v.useState((t==null?void 0:t.durationScope)??[]),[D,z]=v.useState(""),[R,w]=v.useState(null),[L,M]=v.useState(!1),A=te=>F(be=>be.includes(te)?be.filter(Be=>Be!==te):[...be,te]),q=te=>{const be=Number(te);Number.isInteger(be)&&be>0&&!B.includes(be)&&$(Be=>[...Be,be].sort((He,Ne)=>He-Ne)),z("")},W=()=>{const te=i.trim().toUpperCase();if(!/^[A-Z0-9_-]{4,32}$/.test(te))return{error:"Code must be 4–32 chars: A–Z, 0–9, hyphen or underscore."};let be;if(u==="percent"){const re=Number(h);if(!Number.isInteger(re)||re<1||re>100)return{error:"Percent discount must be a whole number 1–100."};be=re}else{const re=NE(h);if(re==null||re==="invalid")return{error:"Enter a valid fixed discount amount, e.g. 5.00."};be=re}const Be=C2(y),He=C2(g);if(!Be.ok||!He.ok)return{error:"Quotas must be whole numbers ≥ 1, or left blank."};let Ne=null;const We=NE(S);return We==="invalid"?{error:"Enter a valid minimum order amount, or leave it blank."}:(Ne=We,C&&N&&new Date(N)<=new Date(C)?{error:'"Valid until" must be after "valid from".'}:{code:te,description:l.trim()||null,discountType:u,discountAmount:be,absorbedBy:p,maxRedemptions:Be.value,maxPerStudent:He.value,validFrom:j2(C),validUntil:j2(N),teacherIdScope:I.length?I:null,lessonTypeScope:O.length?O:null,durationScope:B.length?B:null,minGrossCents:Ne,firstTimeStudentOnly:k})},U=async te=>{M(!0);try{const be=await te();be.ok?n():w(be.error??"Something went wrong.")}catch{w("Could not save — please check your connection and try again.")}finally{M(!1)}},G=async()=>{if(w(null),t){if(C&&N&&new Date(N)<=new Date(C)){w("“Valid until” must be after “valid from”.");return}const te=C2(y),be=C2(g);if(!te.ok||!be.ok){w("Quotas must be whole numbers ≥ 1, or left blank.");return}const Be=t.id,He={description:l.trim()||null,validFrom:j2(C),validUntil:j2(N),maxRedemptions:te.value,maxPerStudent:be.value};await U(()=>s(Be,He))}else{const te=W();if("error"in te){w(te.error);return}await U(()=>r(te))}},oe=te=>{te.target===te.currentTarget&&!L&&n()};return o.jsx("div",{className:"promo-modal__backdrop",role:"dialog","aria-modal":"true","aria-labelledby":"promo-modal-title",onClick:oe,children:o.jsxs("div",{className:"promo-modal",children:[o.jsx("div",{className:"promo-modal__head",children:o.jsx("h2",{id:"promo-modal-title",className:"promo-modal__title",children:t?`Edit ${t.code}`:"New promo code"})}),o.jsxs("div",{className:"promo-modal__body",children:[o.jsxs("section",{className:"promo-modal__section",children:[o.jsx("span",{className:"promo-modal__section-label",children:"Basics"}),o.jsxs("div",{className:"promo-modal__grid",children:[o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Code"}),t?o.jsx("div",{className:"promo-modal__readonly",style:{fontFamily:"var(--font-mono)"},children:t.code}):o.jsx("input",{className:"promo-modal__input promo-modal__input--code","aria-label":"Code",value:i,onChange:te=>a(te.target.value.toUpperCase()),maxLength:32})]}),o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Description (internal)"}),o.jsx("input",{className:"promo-modal__input","aria-label":"Description",value:l,onChange:te=>c(te.target.value),maxLength:500,placeholder:"e.g. First-time welcome"})]})]})]}),o.jsxs("section",{className:"promo-modal__section",children:[o.jsx("span",{className:"promo-modal__section-label",children:"Discount"}),t?o.jsxs("div",{className:"promo-modal__readonly",children:[t.discountType==="percent"?`${t.discountAmount}% off`:`${ft(t.discountAmount)} off`," · absorbed by ",t.absorbedBy]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"promo-modal__grid",children:[o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Type"}),o.jsxs("select",{className:"promo-modal__select","aria-label":"Discount type",value:u,onChange:te=>d(te.target.value),children:[o.jsx("option",{value:"percent",children:"Percent (%)"}),o.jsx("option",{value:"fixed_cents",children:"Fixed amount ($)"})]})]}),o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:u==="percent"?"Percent off":"Dollars off"}),o.jsx("input",{className:"promo-modal__input","aria-label":"Discount amount",value:h,onChange:te=>f(te.target.value),inputMode:"decimal"})]})]}),o.jsxs("label",{className:"promo-modal__field",style:{marginTop:12},children:[o.jsx("span",{className:"promo-modal__field-label",children:"Who absorbs it?"}),o.jsxs("select",{className:"promo-modal__select","aria-label":"Who absorbs it",value:p,onChange:te=>m(te.target.value),children:[o.jsx("option",{value:"platform",children:"Platform"}),o.jsx("option",{value:"teacher",children:"Teacher"}),o.jsx("option",{value:"split",children:"Split"})]})]}),o.jsx("p",{className:"promo-modal__help",children:l7e[p]})]})]}),o.jsxs("section",{className:"promo-modal__section",children:[o.jsx("span",{className:"promo-modal__section-label",children:"Limits"}),o.jsxs("div",{className:"promo-modal__grid",children:[o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Max redemptions"}),o.jsx("input",{className:"promo-modal__input","aria-label":"Max redemptions",value:y,onChange:te=>_(te.target.value),inputMode:"numeric",placeholder:"Unlimited"})]}),o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Max per student"}),o.jsx("input",{className:"promo-modal__input","aria-label":"Max per student",value:g,onChange:te=>b(te.target.value),inputMode:"numeric",placeholder:"Unlimited"})]}),o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Minimum order ($)"}),t?o.jsx("div",{className:"promo-modal__readonly",children:t.minGrossCents!=null?ft(t.minGrossCents):"None"}):o.jsx("input",{className:"promo-modal__input","aria-label":"Minimum order",value:S,onChange:te=>T(te.target.value),inputMode:"decimal",placeholder:"None"})]}),o.jsx("div",{className:"promo-modal__field",style:{alignSelf:"end"},children:t?o.jsx("div",{className:"promo-modal__readonly",children:t.firstTimeStudentOnly?"First-time students only":"All students"}):o.jsxs("label",{className:"promo-modal__check",children:[o.jsx("input",{type:"checkbox",checked:k,onChange:te=>x(te.target.checked)}),"First-time students only"]})}),o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Valid from (UTC)"}),o.jsx("input",{className:"promo-modal__input",type:"datetime-local","aria-label":"Valid from (UTC)",value:C,onChange:te=>E(te.target.value)})]}),o.jsxs("label",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Valid until (UTC)"}),o.jsx("input",{className:"promo-modal__input",type:"datetime-local","aria-label":"Valid until (UTC)",value:N,onChange:te=>j(te.target.value)})]})]})]}),o.jsxs("section",{className:"promo-modal__section",children:[o.jsx("span",{className:"promo-modal__section-label",children:"Restricted to"}),t&&o.jsx("p",{className:"promo-modal__note",children:"Discount and restrictions are fixed at creation — deactivate and recreate to change them."}),o.jsxs("div",{className:"promo-modal__field",children:[o.jsx("span",{className:"promo-modal__field-label",children:"Teachers"}),t?o.jsx("div",{className:"promo-scope",children:(t.teacherIdScope??[]).length===0?o.jsx("span",{className:"promo-scope__all",children:"All teachers"}):(t.teacherIdScope??[]).map(te=>{const be=e.find(Be=>Be.id===te);return o.jsx("span",{className:"promo-chip",children:be?be.display_name:`${te.slice(0,8)}…`},te)})}):o.jsx(o7e,{teachers:e,value:I,onChange:P})]}),o.jsxs("div",{className:"promo-modal__field",style:{marginTop:12},children:[o.jsx("span",{className:"promo-modal__field-label",children:"Lesson types"}),t?o.jsx("div",{className:"promo-scope",children:(t.lessonTypeScope??[]).length===0?o.jsx("span",{className:"promo-scope__all",children:"All lesson types"}):(t.lessonTypeScope??[]).map(te=>o.jsx("span",{className:"promo-chip",children:ff[te]},te))}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"promo-lessontypes",children:m3.map(te=>o.jsxs("label",{className:"promo-modal__check",children:[o.jsx("input",{type:"checkbox","aria-label":ff[te],checked:O.includes(te),onChange:()=>A(te)}),ff[te]]},te))}),o.jsx("p",{className:"promo-modal__help",children:"Leave empty to apply to all lesson types."})]})]}),o.jsxs("div",{className:"promo-modal__field",style:{marginTop:12},children:[o.jsx("span",{className:"promo-modal__field-label",children:"Durations (minutes)"}),t?o.jsx("div",{className:"promo-scope",children:(t.durationScope??[]).length===0?o.jsx("span",{className:"promo-scope__all",children:"All durations"}):(t.durationScope??[]).map(te=>o.jsxs("span",{className:"promo-chip",children:[te,"m"]},te))}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"promo-durations",children:[B.map(te=>o.jsxs("span",{className:"promo-chip",children:[te,"m",o.jsx("button",{type:"button",className:"promo-chip__x","aria-label":`Remove ${te} minutes`,onClick:()=>$(be=>be.filter(Be=>Be!==te)),children:"×"})]},te)),[30,60,90].filter(te=>!B.includes(te)).map(te=>o.jsxs("button",{type:"button",className:"promo-durations__add",onClick:()=>q(String(te)),children:["+",te]},te)),o.jsx("input",{className:"promo-durations__input","aria-label":"Add duration",value:D,inputMode:"numeric",placeholder:"Add…",onChange:te=>z(te.target.value),onKeyDown:te=>{te.key==="Enter"&&(te.preventDefault(),q(D))}})]}),o.jsx("p",{className:"promo-modal__help",children:"Leave empty to apply to all durations."})]})]})]}),R&&o.jsx("div",{className:"promo-modal__error",children:R})]}),o.jsxs("div",{className:"promo-modal__foot",children:[o.jsx("button",{type:"button",className:"btn btn--ghost",onClick:n,disabled:L,children:"Cancel"}),o.jsx("button",{type:"button",className:"btn btn--accent",onClick:()=>void G(),disabled:L,children:L?t?"Saving…":"Creating…":t?"Save changes":"Create code"})]})]})})},u7e=()=>{const{authFetch:e}=Hr(),[t,n]=v.useState({kind:"loading"}),[r,s]=v.useState([]),[i,a]=v.useState(null),[l,c]=v.useState(null),u=async()=>{try{const y=await e("/api/admin/promo-codes");if(y.status===403){n({kind:"forbidden"});return}if(!y.ok){n({kind:"error",message:`HTTP ${y.status}`});return}n({kind:"ready",items:await y.json()})}catch(y){n({kind:"error",message:y.message})}};v.useEffect(()=>{u(),(async()=>{try{const y=await e("/api/teachers");y.ok&&s(await y.json())}catch{}})()},[]);const d=async y=>{const _=await e("/api/admin/promo-codes",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(y)});return _.ok?(await u(),{ok:!0}):{ok:!1,error:(await _.json().catch(()=>({}))).error??`HTTP ${_.status}`}},h=async(y,_)=>{const g=await e(`/api/admin/promo-codes/${encodeURIComponent(y)}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify(_)});return g.ok?(await u(),{ok:!0}):{ok:!1,error:`HTTP ${g.status}`}},f=async y=>{const _=await e(`/api/admin/promo-codes/${encodeURIComponent(y.id)}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({active:!y.active})});_.ok?await u():c(`HTTP ${_.status}`)};if(t.kind==="loading")return o.jsx(E2,{children:o.jsx("div",{children:"Loading…"})});if(t.kind==="forbidden")return o.jsx(E2,{children:o.jsx("div",{style:{color:"var(--error)"},children:"Admin only."})});if(t.kind==="error")return o.jsx(E2,{children:o.jsxs("div",{style:{color:"var(--error)"},children:["Error: ",t.message]})});const p=new Map(r.map(y=>[y.id,y])),m=t.items.reduce((y,_)=>y+_.confirmedRedemptionCount,0);return o.jsxs(E2,{children:[o.jsxs("div",{className:"promo-head",children:[o.jsxs("div",{children:[o.jsx("h1",{className:"promo-head__title",children:"Promo codes"}),o.jsxs("p",{className:"promo-head__sub",children:[t.items.length," ",t.items.length===1?"code":"codes"," · ",m," confirmed redemptions"]})]}),o.jsx("button",{type:"button",className:"btn btn--accent",onClick:()=>{c(null),a({mode:"create"})},children:"New promo code"})]}),l&&o.jsxs("div",{style:{color:"var(--error)",marginBottom:12},children:["Error: ",l]}),t.items.length===0?o.jsxs("div",{className:"empty-state",children:[o.jsxs("div",{className:"empty-state__board","aria-hidden":"true",children:[o.jsx("div",{className:"empty-state__board-stone empty-state__board-stone--b",style:{to
146p:"28%",left:"28%"}}),o.jsx("div",{className:"empty-state__board-stone empty-state__board-stone--w",style:{top:"64%",left:"64%"}})]}),o.jsx("div",{className:"empty-state__title",children:"No promo codes yet"}),o.jsx("div",{children:"Create a code to offer students a discount."})]}):o.jsx("div",{className:"lessons-table-wrap",children:o.jsxs("table",{className:"lessons-table",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:"Code"}),o.jsx("th",{children:"Discount"}),o.jsx("th",{children:"Restricted to"}),o.jsx("th",{children:"Window"}),o.jsx("th",{children:"Redeemed"}),o.jsx("th",{children:"Status"}),o.jsx("th",{})]})}),o.jsx("tbody",{children:t.items.map(y=>{const _=i7e(y);return o.jsxs("tr",{children:[o.jsxs("td",{children:[o.jsx("code",{children:y.code}),y.description&&o.jsx("div",{className:"col-type",children:y.description})]}),o.jsxs("td",{children:[n7e(y),o.jsx("div",{children:o.jsx("span",{className:`promo-absorb promo-absorb--${y.absorbedBy}`,children:y.absorbedBy})})]}),o.jsx("td",{children:o.jsx(d7e,{item:y,teacherById:p})}),o.jsx("td",{className:"col-date",children:s7e(y.validFrom,y.validUntil)}),o.jsx("td",{style:_.atCap?{color:"var(--warning)"}:void 0,children:_.text}),o.jsx("td",{children:o.jsxs("span",{className:`status-pill status-pill--${y.active?"active":"inactive"}`,children:[o.jsx("span",{className:"status-pill__dot"}),y.active?"Active":"Inactive"]})}),o.jsx("td",{children:o.jsxs("div",{className:"promo-rowactions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--xs",onClick:()=>{c(null),a({mode:"edit",item:y})},children:"Edit"}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--xs",onClick:()=>void f(y),children:y.active?"Deactivate":"Activate"})]})})]},y.id)})})]})}),i&&o.jsx(c7e,{teachers:r,...i.mode==="edit"?{existing:i.item}:{},onClose:()=>a(null),onCreate:d,onEdit:h})]})},E2=({children:e})=>o.jsx("div",{style:{padding:"32px 40px 48px",maxWidth:1100},children:e}),d7e=({item:e,teacherById:t})=>{if(a7e(e)&&!e.firstTimeStudentOnly)return o.jsx("span",{className:"promo-scope__all",children:"Everyone · all lessons"});const n=[],r=e.teacherIdScope??[];if(r.length===1){const s=t.get(r[0]);n.push(o.jsx("span",{className:"promo-chip",children:s?s.display_name:`${r[0].slice(0,8)}…`},"t"))}else r.length>1&&n.push(o.jsxs("span",{className:"promo-chip",children:[r.length," teachers"]},"t"));for(const s of e.lessonTypeScope??[])n.push(o.jsx("span",{className:"promo-chip",children:ff[s]},`l-${s}`));for(const s of e.durationScope??[])n.push(o.jsxs("span",{className:"promo-chip",children:[s,"m"]},`d-${s}`));return e.minGrossCents!=null&&n.push(o.jsxs("span",{className:"promo-chip",children:["Min ",ft(e.minGrossCents)]},"m")),e.firstTimeStudentOnly&&n.push(o.jsx("span",{className:"promo-chip",children:"First-time only"},"ft")),o.jsx("div",{className:"promo-scope",children:n})},h7e=()=>o.jsx(u7e,{}),f7e=()=>{const{authFetch:e}=Hr(),[t,n]=v.useState({kind:"loading"}),[r,s]=v.useState({}),i=v.useRef({}),[a,l]=v.useState(null),c=(y,_)=>{s(g=>({...g,[y]:_}))},u=y=>{const _=i.current[y];_!==void 0&&(window.clearTimeout(_),delete i.current[y])},d=(y,_)=>{u(y),c(y,{kind:"confirming",action:_}),i.current[y]=window.setTimeout(()=>{c(y,{kind:"idle"}),delete i.current[y]},3e4)},h=y=>{u(y),c(y,{kind:"idle"})},f=y=>{n(_=>_.kind==="ready"?{kind:"ready",items:_.items.filter(g=>g.id!==y)}:_),s(_=>{if(!(y in _))return _;const g={..._};return delete g[y],g})},p=async(y,_)=>{u(y),c(y,{kind:"submitting",action:_});try{const g=await e(`/api/admin/teachers/${encodeURIComponent(y)}/${_}`,{method:"POST"});if(g.ok){l(null),f(y);return}if(g.status===409){const b=await g.json().catch(()=>({})),k=b.current==="approved"||b.current==="rejected"?b.current:null,x=k?`Application already ${k} by another admin.`:"Action failed: conflict (HTTP 409)";l(x),f(y);return}if(g.status===404){l("Application no longer exists."),f(y);return}l(`Action failed: HTTP ${g.status}`),c(y,{kind:"idle"})}catch(g){l(`Action failed: ${g.message}`),c(y,{kind:"idle"})}},m=async()=>{try{const y=await e("/api/admin/teacher-applications");
146if(y.status===403){n({kind:"forbidden"});return}if(!y.ok){n({kind:"error",message:`HTTP ${y.status}`});return}const _=await y.json(),g=new Set(_.map(b=>b.id));s(b=>{let k=!1;const x={};for(const[S,T]of Object.entries(b))g.has(S)?x[S]=T:k=!0;return k?x:b}),n({kind:"ready",items:_})}catch(y){n({kind:"error",message:y.message})}};return v.useEffect(()=>{m()},[]),v.useEffect(()=>()=>{for(const y of Object.values(i.current))window.clearTimeout(y);i.current={}},[]),v.useEffect(()=>{const y=()=>void m();return window.addEventListener("focus",y),()=>window.removeEventListener("focus",y)},[]),t.kind==="loading"?o.jsxs("div",{style:{padding:32,maxWidth:1100},children:[o.jsx("h1",{children:"Teacher applications"}),o.jsx("div",{children:"Loading…"})]}):t.kind==="forbidden"?o.jsxs("div",{style:{padding:32,maxWidth:1100},children:[o.jsx("h1",{children:"Teacher applications"}),o.jsx("div",{style:{color:"var(--error)"},children:"Admin only."})]}):t.kind==="error"?o.jsxs("div",{style:{padding:32,maxWidth:1100},children:[o.jsx("h1",{children:"Teacher applications"}),o.jsxs("div",{style:{color:"var(--error)"},children:["Error: ",t.message]})]}):o.jsxs("div",{style:{padding:32,maxWidth:1100},children:[o.jsx("h1",{children:"Teacher applications"}),a&&o.jsx("div",{role:"status",style:{background:"var(--warning-tint)",color:"var(--warning)",padding:"8px 12px",borderRadius:4,margin:"8px 0"},children:a}),t.items.length===0?o.jsx("div",{style:{color:"var(--text-muted)"},children:"No pending applications."}):o.jsxs("table",{className:"lessons-table",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:"Applicant"}),o.jsx("th",{children:"Rank"}),o.jsx("th",{children:"Languages"}),o.jsx("th",{children:"Applied"}),o.jsx("th",{children:"Actions"})]})}),o.jsx("tbody",{children:t.items.map(y=>o.jsxs("tr",{children:[o.jsxs("td",{children:[o.jsx("div",{children:y.display_name}),o.jsx("div",{style:{fontSize:12,color:"var(--text-muted)"},children:y.email??o.jsx("span",{style:{background:"var(--warning-tint)",color:"var(--warning)",padding:"2px 6px",borderRadius:4,fontSize:11},children:"(no email)"})})]}),o.jsx("td",{children:y.rank_label}),o.jsx("td",{children:y.languages.join(", ")}),o.jsx("td",{children:new Date(y.applied_at).toLocaleDateString()}),o.jsx("td",{children:o.jsx(p7e,{rowState:r[y.id]??{kind:"idle"},onApprove:()=>d(y.id,"approve"),onReject:()=>d(y.id,"reject"),onConfirm:()=>{const _=r[y.id];(_==null?void 0:_.kind)==="confirming"&&p(y.id,_.action)},onCancel:()=>h(y.id)})})]},y.id))})]})]})},p7e=({rowState:e,onApprove:t,onReject:n,onConfirm:r,onCancel:s})=>{if(e.kind==="idle")return o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",onClick:t,children:"Approve"})," ",o.jsx("button",{type:"button",onClick:n,children:"Reject"})]});if(e.kind==="confirming"){const a=e.action==="approve"?"Confirm approve":"Confirm reject";return o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",onClick:r,style:{background:"var(--error-tint)",color:"var(--error)",borderColor:"var(--error)"},children:a})," ",o.jsx("button",{type:"button",onClick:s,children:"Cancel"})]})}const i=e.action==="approve"?"Confirm approve":"Confirm reject";return o.jsxs(o.Fragment,{children:[o.jsx("button",{type:"button",disabled:!0,style:{background:"var(--error-tint)",color:"var(--error)",borderColor:"var(--error)"},children:i})," ",o.jsx("button",{type:"button",disabled:!0,children:"Cancel"})]})},m7e=()=>o.jsx(f7e,{}),g7e={wechat:"WeChat",bank_deposit:"Bank deposit",cash:"Cash",platform:"Platform (goodwill)"},RE=5*1024*1024,y7e=()=>{var A;const{authFetch:e}=Hr(),t=_i(),[n,r]=v.useState(""),[s,i]=v.useState(null),[a,l]=v.useState(null),[c,u]=v.useState(!1),[d,h]=v.useState(""),[f,p]=v.useState("wechat"),[m,y]=v.useState(""),[_,g]=v.useState(null),[b,k]=v.useState(null),[x,S]=v.useState(null),[T,C]=v.useState(!1),[E,N]=v.useState(()=>crypto.randomUUID()),[j,I]=v.useState(!1),[P,O]=v.useState(null),[F,B]=v.useState(null);if(!t.loaded)return o.jsx("div",{className:"admin-credits",children:o.jsx("p",{children:"Loading…"})});if(((A=t.data)==null?void 0:A.is_admin)!==!0)return o.jsxs("div",{className:"admin-credits",children:[o.jsx("h1",{className:"admin-credits__title",children:"Grant credits"}),o.jsx("p",{children:"This page is restricted to platform administrators."})]});const $=hm(d,2),D=s!==null&&$!==null&&!j&&!T,z=async()=>
146{l(null),i(null),B(null),u(!0);try{const q=await e(`/api/admin/credits/lookup?studentId=${encodeURIComponent(n.trim())}`);if(q.status===404){l("No student found with that ID.");return}if(!q.ok){l(`Lookup failed (HTTP ${q.status})`);return}i(await q.json())}catch(q){l(q.message)}finally{u(!1)}},R=async q=>{var U;const W=(U=q.target.files)==null?void 0:U[0];if(q.target.value="",!!W){if(S(null),W.size>RE){S(`Proof too large (max ${(RE/1024/1024).toFixed(0)} MB)`);return}if(!["image/webp","image/jpeg","image/png"].includes(W.type)){S("Proof must be PNG, JPEG, or WebP");return}b&&URL.revokeObjectURL(b),g(null),k(null),C(!0);try{const G=new FormData;G.append("image",W,W.name);const oe=await e("/api/admin/credits/proof-upload",{method:"POST",body:G});if(!oe.ok)throw new Error(`Upload failed (HTTP ${oe.status})`);const de=await oe.json();g(de.storageObjectPath),k(URL.createObjectURL(W))}catch(G){S(G.message)}finally{C(!1)}}},w=()=>{b&&URL.revokeObjectURL(b),g(null),k(null),S(null)},L=()=>{r(""),i(null),h(""),p("wechat"),y(""),w(),S(null),N(crypto.randomUUID())},M=async()=>{if(!(s===null||$===null)){I(!0),O(null),B(null);try{const q=await e("/api/admin/credits/grant",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({studentId:n.trim(),amountCents:$,fundingChannel:f,remarks:m.trim()||void 0,proofObjectPath:_??void 0,idempotencyKey:E})});if(!q.ok)throw new Error(`Grant failed (HTTP ${q.status})`);const W=await q.json(),U=s.displayName;B(W.idempotentReplay?`Already granted (no change). ${U}'s balance is ${ft(W.balanceCents)}.`:`Granted. ${U}'s balance is now ${ft(W.balanceCents)}.`),L()}catch(q){O(q.message)}finally{I(!1)}}};return o.jsxs("div",{className:"admin-credits",children:[o.jsx("h1",{className:"admin-credits__title",children:"Grant credits"}),o.jsx("p",{className:"admin-credits__subtitle",children:"Add USD store credit to a student account. Credits draw down at checkout before the card is charged."}),F&&o.jsx("div",{className:"admin-credits__success",children:F}),o.jsxs("div",{className:"admin-credits__row",children:[o.jsxs("div",{className:"admin-credits__field",children:[o.jsx("label",{htmlFor:"ac-student",children:"Student ID (UUID)"}),o.jsx("input",{id:"ac-student",value:n,onChange:q=>{r(q.target.value),i(null)},placeholder:"00000000-0000-0000-0000-000000000000"})]}),o.jsx("button",{className:"btn btn--ghost",onClick:z,disabled:c||n.trim()==="",children:c?"Looking…":"Look up"})]}),a&&o.jsx("div",{className:"admin-credits__error",children:a}),s&&o.jsxs("div",{className:"admin-credits__resolved",children:[o.jsx("strong",{children:s.displayName}),s.emailMasked?` · ${s.emailMasked}`:"",o.jsxs("div",{className:"admin-credits__balance",children:["Current balance: ",ft(s.balanceCents)]})]}),o.jsxs("div",{className:"admin-credits__field",children:[o.jsx("label",{htmlFor:"ac-amount",children:"Amount (USD)"}),o.jsx("input",{id:"ac-amount",inputMode:"decimal",value:d,onChange:q=>h(q.target.value),placeholder:"50.00"})]}),o.jsxs("div",{className:"admin-credits__field",children:[o.jsx("label",{htmlFor:"ac-channel",children:"Funding channel"}),o.jsx("select",{id:"ac-channel",value:f,onChange:q=>p(q.target.value),children:Ste.map(q=>o.jsx("option",{value:q,children:g7e[q]},q))})]}),o.jsxs("div",{className:"admin-credits__field",children:[o.jsx("label",{htmlFor:"ac-remarks",children:"Remarks (optional)"}),o.jsx("textarea",{id:"ac-remarks",value:m,onChange:q=>y(q.target.value),placeholder:"e.g. WeChat transfer ref 1234, received 2026-05-29"})]}),o.jsxs("div",{className:"admin-credits__field",children:[o.jsx("label",{htmlFor:"ac-proof",children:"Proof image (optional)"}),o.jsx("input",{id:"ac-proof",type:"file",accept:"image/png,image/jpeg,image/webp",onChange:R,disabled:T}),T&&o.jsx("span",{className:"admin-credits__balance",children:"Uploading…"}),b&&o.jsxs(o.Fragment,{children:[o.jsx("img",{className:"admin-credits__proof-preview",src:b,alt:"Proof preview"}),o.jsx("button",{className:"btn btn--ghost",onClick:w,children:"Remove proof"})]}),x&&o.jsx("div",{className:"admin-credits__error",children:x})]}),P&&o.jsx("div",{className:"admin-credits__error",children:P}),o.jsxs("div",{className:"admin-credits__actions",children:[o.jsx("button",{className:"btn btn--primary",onClick:M,disabled:!D,children:j?"Granting…":"Grant credits"}),s&&$!==null&&o.jsxs("span",{className:"admin-credits__balance",children:["Will grant ",ft($)," to ",s.displayName,"."]})]})]})},v7e=()=>o.jsx(y7e,{}),z2="__custom__",b7e=["minimal","low","medium","high"],_7e=["compact","legacy"],k7e=()=>{const e=H(),{authFetch:t}=Hr(),[n,r]=v.useState(null),[s,i]=v.useState(null),[a,l]=v.useState(!1),[c,u]=v.useState(!1),[d,h]=v.useState(0),[f,p]=v.useState(null),[m,y]=v.useState(null),[_,g]=v.useState(!1),[b,k]=v.useState(!1),[x,S]=v.useState(0),[T,C]=v.useState(!1),[E,N]=v.useState(null);v.useEffect(()=>{const L=new AbortController;return i(null),t("/api/admin/config/tts",{signal:L.signal}).then(async M=>{if(!M.ok){L.signal.aborted||i(M.status===403?"forbidden":"load");return}const A=await M.json();L.signal.aborted||r(A)}).catch(()=>{L.signal.aborted||i("load")}),()=>L.abort()},[t,d]),v.useEffect(()=>{const L=new AbortController;return y(null),t("/api/admin/config/translation",{signal:L.signal}).then(async M=>{if(!M.ok){L.signal.aborted||y(M.status===403?"forbidden":"load");return}const A=await M.json();
146L.signal.aborted||(p(A),N(A.costTracked?null:A.config.model))}).catch(()=>{L.signal.aborted||y("load")}),()=>L.abort()},[t,x]);const j=L=>{r(M=>M&&{...M,config:{...M.config,...L}}),u(!1),i(null)},I=async L=>{L.preventDefault();const M=MZ(n==null?void 0:n.config);if(!M){i("invalid");return}l(!0),u(!1),i(null);try{const A=await t("/api/admin/config/tts",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(M)});if(!A.ok){i(A.status===403?"forbidden":"save");return}r(await A.json()),u(!0)}catch{i("save")}finally{l(!1)}},P=v.useMemo(()=>f==null?void 0:f.approvedModels.find(L=>L.id===f.config.model),[f]),O=(P==null?void 0:P.id)??z2,F=(P==null?void 0:P.supportedReasoningEfforts)??b7e,B=(P==null?void 0:P.supportedLessonPromptModes)??_7e,$=O===z2,D=$&&E===(f==null?void 0:f.config.model),z=L=>{p(M=>M&&{...M,config:{...M.config,...L}}),L.model!==void 0&&(C(!1),N(null)),k(!1),y(null)},R=L=>{if(!f)return;if(L===z2){z({model:"",lessonPromptMode:f.config.lessonPromptMode==="cached"?"compact":f.config.lessonPromptMode});return}const M=f.approvedModels.find(A=>A.id===L);M&&z({model:M.id,reasoningEffort:M.supportedReasoningEfforts.includes(f.config.reasoningEffort)?f.config.reasoningEffort:M.recommendedReasoningEffort,lessonPromptMode:M.supportedLessonPromptModes.includes(f.config.lessonPromptMode)?f.config.lessonPromptMode:"compact"})},w=async L=>{L.preventDefault();const M=BZ(f==null?void 0:f.config);if(!M){y("invalid");return}if(D&&!T){y("unpriced");return}g(!0),k(!1),y(null);try{const A=await t("/api/admin/config/translation",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({config:M,acknowledgeUnpricedModel:$&&T})});if(!A.ok){const W=await A.json().catch(()=>({}));A.status===403?y("forbidden"):W.error==="unpriced_model_confirmation_required"?(N(M.model),y("unpriced")):W.error==="llm_api_key_missing"?y("keyMissing"):A.status===422?y("validation"):y("save");return}const q=await A.json();p(q),N(q.costTracked?null:q.config.model),C(!1),k(!0)}catch{y("save")}finally{g(!1)}};return o.jsxs("main",{className:"admin-config",children:[o.jsx("h1",{children:e("adminConfig.title")}),o.jsx("p",{children:e("adminConfig.intro")}),s&&o.jsx("p",{role:"alert",className:"admin-config__error",children:e(`adminConfig.error.${s}`)}),s==="load"&&o.jsx("button",{type:"button",className:"btn btn--ghost",onClick:()=>h(L=>L+1),children:e("adminConfig.retry")}),!n&&!s&&o.jsx("p",{role:"status",children:e("tts.loading")}),n&&s!=="forbidden"&&o.jsx("form",{onSubmit:I,children:o.jsxs("fieldset",{disabled:a,children:[o.jsx("legend",{children:e("tts.title")}),o.jsxs("label",{children:[e("adminConfig.provider"),o.jsx("input",{value:n.config.provider,readOnly:!0})]}),o.jsx("p",{className:"admin-config__hint",children:n.apiKeyConfigured?e("adminConfig.keyReady"):e("adminConfig.keyMissing")}),o.jsx("label",{htmlFor:"tts-model",children:e("adminConfig.model")}),o.jsx("input",{id:"tts-model",required:!0,maxLength:200,value:n.config.model,onChange:L=>j({model:L.target.value})}),o.jsx("label",{htmlFor:"tts-voice",children:e("adminConfig.voice")}),o.jsx("input",{id:"tts-voice",required:!0,maxLength:120,value:n.config.voice,onChange:L=>j({voice:L.target.value})}),o.jsxs("p",{className:"admin-config__hint",children:[e("adminConfig.voiceHint")," ",o.jsx("a",{href:"https://openrouter.ai/docs/guides/overview/multimodal/tts",target:"_blank",rel:"noreferrer",children:e("adminConfig.docs")})]}),o.jsx("label",{htmlFor:"tts-speed",children:e("adminConfig.speed")}),o.jsx("input",{id:"tts-speed",type:"number",required:!0,min:.5,max:2,step:.05,value:n.config.speed,onChange:L=>j({speed:L.target.valueAsNumber})}),o.jsx("p",{className:"admin-config__hint",children:e("adminConfig.speedHint")}),o.jsx("p",{className:"admin-config__hint",children:e("adminConfig.behavior")}),o.jsx("button",{className:"btn btn--primary",type:"submit",children:e(a?"adminConfig.saving":"adminConfig.save")}),c&&o.jsx("p",{role:"status",children:e("adminConfig.saved")})]})}),m&&o.jsx("p",{role:"alert",className:"admin-config__error",children:e(`adminTranslation.error.${m}`)}),m==="load"&&o.jsx("button",{type:"button",className:"btn btn--ghost",onClick:()=>S(L=>L+1),children:e("adminConfig.retry")}),!f&&!m&&o.jsx("p",{role:"status",children:e("adminTranslation.loading")}),f&&m!=="forbidden"&&o.jsx("form",{onSubmit:w,children:o.jsxs("fieldset",{disabled:_,children:[o.jsx("legend",{children:e("adminTranslation.title")}),o.jsx("p",{className:"admin-config__hint",children:e("adminTranslation.intro")}),o.jsxs("label",{children:[e("adminConfig.provider"),o.jsx("input",{value:f.config.provider,readOnly:!0})]}),o.jsx("p",{className:"admin-config__hint",children:f.apiKeyConfigured?e("adminTranslation.keyReady"):e("adminTranslation.keyMissing")}),o.jsx("label",{htmlFor:"translation-model-choice",children:e("adminTranslation.model")}),o.jsxs("select",{id:"translation-model-choice",value:O,onChange:L=>R(L.target.value),children:[f.approvedModels.map(L=>o.jsxs("option",{value:L.id,children:[L.id,L.id===OZ.model?` — ${e("adminTranslation.model.recommended")}`:""]},L.id)),o.jsx("option",{value:z2,children:e("adminTranslation.model.custom")})]}),$&&o.jsxs(o.Fragment,{children:[o.jsx("label",{htmlFor:"translation-custom-model",children:e("adminTranslation.model.customId")}),o.jsx("input",{id:"translation-custom-model",required:!0,maxLength:200,value:f.config.model,onChange:L=>
146z({model:L.target.value})}),o.jsx("p",{className:"admin-config__hint",children:e("adminTranslation.model.customHint")}),D&&o.jsxs("label",{className:"admin-config__check",htmlFor:"translation-unpriced",children:[o.jsx("input",{id:"translation-unpriced",type:"checkbox",checked:T,onChange:L=>C(L.target.checked)}),o.jsx("span",{children:e("adminTranslation.model.acknowledge")})]})]}),o.jsx("label",{htmlFor:"translation-prompt",children:e("adminTranslation.prompt")}),o.jsx("select",{id:"translation-prompt",value:f.config.lessonPromptMode,onChange:L=>z({lessonPromptMode:L.target.value}),children:B.map(L=>o.jsx("option",{value:L,children:e(`adminTranslation.prompt.${L}`)},L))}),f.config.lessonPromptMode==="cached"&&o.jsx("p",{className:"admin-config__hint",children:e("adminTranslation.prompt.cachedWarning")}),o.jsx("label",{htmlFor:"translation-reasoning",children:e("adminTranslation.reasoning")}),o.jsx("select",{id:"translation-reasoning",value:f.config.reasoningEffort,onChange:L=>z({reasoningEffort:L.target.value}),children:F.map(L=>o.jsx("option",{value:L,children:e(`adminTranslation.reasoning.${L}`)},L))}),o.jsx("label",{htmlFor:"translation-routing",children:e("adminTranslation.routing")}),o.jsxs("select",{id:"translation-routing",value:f.config.providerSort,onChange:L=>
146z({providerSort:L.target.value}),children:[o.jsx("option",{value:"latency",children:e("adminTranslation.routing.latency")}),o.jsx("option",{value:"throughput",children:e("adminTranslation.routing.throughput")}),o.jsx("option",{value:"price",children:e("adminTranslation.routing.price")}),o.jsx("option",{value:"default",children:e("adminTranslation.routing.default")})]}),o.jsx("p",{className:"admin-config__hint",children:e("adminTranslation.fixedParams")}),o.jsx("p",{className:"admin-config__hint",children:e(f.costTracked?"adminTranslation.cost.tracked":"adminTranslation.cost.untracked")}),o.jsx("p",{className:"admin-config__hint",children:e(`adminTranslation.source.${f.source}`)}),f.updatedAt&&o.jsx("p",{className:"admin-config__hint",children:e("adminTranslation.updated",{date:new Date(f.updatedAt).toLocaleString()})}),o.jsx("button",{className:"btn btn--primary",type:"submit",children:e(_?"adminTranslation.saving":"adminTranslation.save")}),b&&o.jsx("p",{role:"status",children:e("adminTranslation.saved")})]})})]})},w7e=["","9p","8p","7p","6p","5p","4p","3p","2p","1p","9d","8d","7d","6d","5d","4d","3d","2d","1d","1k","2k","3k","4k","5k","6k","7k","8k","9k","10k"],x7e=({onClose:e})=>{const t=H(),{isAuthenticated:n,isLoading:r}=bt(),s=_i();if(r||n&&!s.loaded)return o.jsx("div",{className:"room-bootstrap",style:{textAlign:"center"},children:o.jsx("p",{children:t("shared.loading")})});if(!n)return o.jsx(PE,{title:t("profile.title"),message:t("profile.loginRequired"),onClose:e});if(!s.data)return o.jsx(PE,{title:t("profile.title"),message:t("profile.loadFailed"),onClose:e});const i=s.data.teacher_status;return i==="approved"||i==="pending"?o.jsx(S7e,{meData:s.data,refetch:s.refetch,onClose:e}):o.jsx(T7e,{meData:s.data,refetch:s.refetch,onClose:e})},PE=({title:e,message:t,onClose:n})=>{const r=H();return o.jsxs("div",{className:"room-bootstrap",children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16},children:[o.jsx("h1",{style:{margin:0},children:e}),n&&o.jsx("button",{type:"button",onClick:n,className:"btn btn--ghost btn--sm",children:r("profile.back")})]}),o.jsx("div",{style:{color:"var(--error)",fontSize:14},children:t})]})},S7e=({meData:e,refetch:t,onClose:n})=>{const r=H(),{authFetch:s}=bt(),[i,a]=v.useState(!1),[l,c]=v.useState(!1),[u,d]=v.useState(null),[h,f]=v.useState(""),[p,m]=v.useState(""),[y,_]=v.useState([]),[g,b]=v.useState(""),[k,x]=v.useState(""),[S,T]=v.useState(""),C=v.useMemo(()=>ew(p),[p]),E=v.useMemo(()=>/https?:\/\/b23\.tv\//i.test(p),[p]);v.useEffect(()=>{f(e.display_name??""),m(e.bio??""),_(e.languages??[]),b(e.go_rank??""),x(e.slug??""),T(e.preferred_lang??"")},[e]);const N=I=>{_(P=>P.includes(I)?P.filter(O=>O!==I):[...P,I])},j=async()=>{if(!h.trim()){d(r("profile.nameRequired"));return}if(h.length>100){d(r("profile.nameTooLong"));return}if(p.length>ph){d(r("profile.bioTooLong",{max:ph}));return}const I=ew(p);if(I.youtube>Fm){d(r("profile.bioTooManyVideos"));return}if(I.bilibili>Jm){d(r("profile.bioTooManyBilibili"));return}if(I.images>Zm){d(r("profile.bioTooManyImages"));return}a(!0),d(null),c(!1);try{const P=await s("/api/teachers/me",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({display_name:h.trim(),bio:p,languages:y,go_rank:g||null,...S?{preferred_lang:S}:{}})});if(!P.ok){const O=await P.json().catch(()=>({error:"Unknown error"}));throw new Error(O.error??`HTTP ${P.status}`)}await t(),c(!0),setTimeout(()=>c(!1),3e3)}catch(P){d(P instanceof Error?P.message:r("profile.loadFailed"))}finally{a(!1)}};return o.jsxs("div",{className:"room-bootstrap",children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16},children:[o.jsx("h1",{style:{margin:0},children:r("profile.title")}),n&&o.jsx("button",{type:"button",onClick:n,className:"btn btn--ghost btn--sm",children:r("profile.back")})]}),k&&o.jsxs("div",{style:{fontSize:12,color:"var(--text-subtle)",marginBottom:16},children:[r("profile.publicUrl")," /teacher/",k]}),o.jsxs("div",{className:"field",children:[o.jsx("label",{children:r("profile.displayName")}),o.jsx("input",{type:"text",value:h,onChange:I=>f(I.target.value),maxLength:100,style:{width:"100%",padding:"6px 10px",fontSize:14,border:"1px solid var(--border)",borderRadius:4}})]}),o.jsxs("div",{className:"field",children:[o.jsx("label",{children:r("profile.bio")}),o.jsx("textarea",{value:p,onChange:I=>m(I.target.value),maxLength:ph,rows:4,style:{width:"100%",padding:"6px 10px",fontSize:14,border:"1px solid var(--border)",borderRadius:4,resize:"vertical",fontFamily:"inherit"}}),o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",fontSize:11,color:"var(--text-subtle)",flexWrap:"wrap",gap:8},children:[o.jsxs("span",{style:{display:"flex",gap:12,flexWrap:"wrap"},children:[o.jsx("span",{style:{color:C.youtube>Fm?"var(--error)":void 0},children:r("profile.bioVideoCount",{count:C.youtube,max:Fm})}),o.jsx("span",{style:{color:C.bilibili>Jm?"var(--error)":void 0},children:r("profile.bioBilibiliCount",{count:C.bilibili,max:Jm})}),o.jsx("span",{style:{color:C.images>Zm?"var(--error)":void 0},children:r("profile.bioImageCount",{count:C.images,max:Zm})})]}),o.jsxs("span",{children:[p.length,"/",ph]})]}),E&&o.jsx("div",{style:{fontSize:11,color:"var(--text-subtle)",marginTop:4},children:r("profile.bioBilibiliShortLinkHint")})]}),o.jsxs("div",{className:"field",children:[o.jsx("label",{children:r("profile.languages")}),o.jsx("div",{style:{display:"flex",gap:12,flexWrap:"wrap",marginTop:4},children:Ds.map(I=>o.jsxs("label",{style:{display:"flex",alignItems:"center",gap:6,cursor:"pointer",fontSize:14},children:[o.jsx("input",{type:"checkbox",checked:y.includes(I),onChange:()=>N(I)}),vl(I,r)]},I))})]}),o.jsxs("div",{className:"field",children:[o.jsx("label",{htmlFor:"profile-preferred-lang",children:r("profile.preferredLang")}),o.jsxs("select",{id:"profile-preferred-lang",value:S,onChange:I=>T(I.target.value),style:{padding:"6px 10px",fontSize:14,border:"1px solid var(--border)",borderRadius:4},children:[o.jsx("option",{value:"",children:r("profile.preferredLang.unset")}),Ds.map(I=>o.jsx("option",{value:I,children:vl(I,r)},I))]}),o.jsx("div",{style:{fontSize:11,color:"var(--text-subtle)",marginTop:4},children:r("profile.preferredLang.help")})]}),o.jsxs("div",{className:"field",children:[o.jsx("label",{children:r("profile.goRank")}),o.jsx("select",{value:g,onChange:I=>b(I.target.value),style:{padding:"6px 10px",fontSize:14,border:"1px solid var(--border)",borderRadius:4},children:w7e.map(I=>o.jsx("option",{value:I,children:I===""?r("profile.noRank"):I},I))})]}),u&&o.jsx("div",{style:{color:"var(--error)",fontSize:14,marginTop:8},children:u}),l&&o.jsx("div",{style:{color:"var(--success)",fontSize:14,marginTop:8},children:r("profile.saved")}),o.jsx("div",{className:"field",style:{marginTop:20},children:o.jsx("button",{type:"button",onClick:j,disabled:i,className:"btn btn--primary",children:r(i?"profile.saving":"profile.save")})})]})},T7e=({meData:e,refetch:t,onClose:n})=>{const r=H(),{authFetch:s}=bt(),i=v.useId(),a=v.useId(),l="student"in e?e.student:null,[c,u]=v.useState(""),[d,h]=v.useState(""),[f,p]=v.useState(!1),[m,y]=v.useState(!1),[_,g]=v.useState(null);v.useEffect(()=>{u((l==null?void 0:l.display_name)??""),h((l==null?void 0:l.preferred_lang)??"")},[l]);const b=async()=>{const k=c.trim();if(!k){g(r("profile.nameRequired"));return}if(k.length>100){g(r("profile.nameTooLong"));return}if(!d){g(r("profile.preferredLangRequired"));return}p(!0),g(null),y(!1);try{const x=await LD({display_name:k,preferred_lang:d},s);if(!x.ok){switch(x.error.kind){case"validation":g(r("profile.modal.error.validation"));break;case"network":g(r("profile.modal.error.network"));break;
146case"unauthorized":case"server":default:g(r("profile.modal.error.serverError"))}return}await t(),y(!0),setTimeout(()=>y(!1),3e3)}catch{g(r("profile.modal.error.serverError"))}finally{p(!1)}};return o.jsxs("div",{className:"room-bootstrap",children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16},children:[o.jsx("h1",{style:{margin:0},children:r("profile.title")}),n&&o.jsx("button",{type:"button",onClick:n,className:"btn btn--ghost btn--sm",children:r("profile.back")})]}),o.jsx("p",{style:{fontSize:13,color:"var(--text-subtle)",marginTop:0,marginBottom:16},children:r("profile.student.subtitle")}),o.jsxs("div",{className:"field",children:[o.jsx("label",{htmlFor:i,children:r("profile.displayName")}),o.jsx("input",{id:i,type:"text",value:c,onChange:k=>u(k.target.value),maxLength:100,style:{width:"100%",padding:"6px 10px",fontSize:14,border:"1px solid var(--border)",borderRadius:4}})]}),o.jsxs("div",{className:"field",children:[o.jsx("label",{htmlFor:a,children:r("profile.preferredLang")}),o.jsxs("select",{id:a,value:d,onChange:k=>h(k.target.value),style:{padding:"6px 10px",fontSize:14,border:"1px solid var(--border)",borderRadius:4},children:[o.jsx("option",{value:"",children:r("profile.preferredLang.unset")}),Ds.map(k=>o.jsx("option",{value:k,children:vl(k,r)},k))]}),o.jsx("div",{style:{fontSize:11,color:"var(--text-subtle)",marginTop:4},children:r("profile.preferredLang.help")})]}),_&&o.jsx("div",{style:{color:"var(--error)",fontSize:14,marginTop:8},children:_}),m&&o.jsx("div",{style:{color:"var(--success)",fontSize:14,marginTop:8},children:r("profile.saved")}),o.jsx("div",{className:"field",style:{marginTop:20},children:o.jsx("button",{type:"button",onClick:b,disabled:f,className:"btn btn--primary",children:r(f?"profile.saving":"profile.save")})})]})},j7e=()=>{const e=H(),{isAuthenticated:t,isLoading:n}=ar(),{login:r}=po();return v.useEffect(()=>{if(!n){if(t){window.location.assign("/");return}r()}},[t,n,r]),o.jsx("div",{className:"room-bootstrap",children:o.jsx("p",{children:e("shared.loading")})})},C7e=e=>/Android/i.test(e),E7e=e=>{let t;try{t=new URL(e)}catch{return null}if(t.protocol!=="https:")return null;const n=`${t.origin}${t.pathname}${t.search}`,r=n.slice(8),s=encodeURIComponent(n);return`intent://${r}#Intent;scheme=https;package=com.android.chrome;S.browser_fallback_url=${s};end`},z7e=()=>{const e=H(),[t,n]=v.useState(!1),r=typeof window<"u"?window.location.href:"",s=typeof navigator<"u"?navigator.userAgent:"",i=C7e(s)?E7e(r):null,a=()=>
146{i&&(window.location.href=i)},l=async()=>{try{await navigator.clipboard.writeText(r),n(!0),setTimeout(()=>n(!1),2500)}catch{}};return o.jsxs("div",{className:"inapp-notice",role:"alert","aria-live":"polite",children:[o.jsx("h2",{className:"inapp-notice__title",children:e("auth.inAppBrowser.title")}),o.jsx("p",{className:"inapp-notice__body",children:e("auth.inAppBrowser.body")}),o.jsxs("ol",{className:"inapp-notice__steps",children:[o.jsx("li",{children:e("auth.inAppBrowser.step1")}),o.jsx("li",{children:e("auth.inAppBrowser.step2")})]}),o.jsxs("div",{className:"inapp-notice__actions",children:[i&&o.jsx("button",{type:"button",onClick:a,className:"btn btn--primary",children:e("auth.inAppBrowser.openInChrome")}),o.jsx("button",{type:"button",onClick:l,className:"btn btn--ghost",children:e(t?"auth.inAppBrowser.copied":"auth.inAppBrowser.copy")})]}),o.jsx("p",{className:"inapp-notice__url","aria-label":e("auth.inAppBrowser.urlLabel"),children:r})]})},N7e=e=>e?!!(/;\s*wv\)/i.test(e)||/(FBAN|FBAV|Instagram|Line\/|MicroMessenger|Bytedance|musical_ly|LinkedInApp|Twitter|Snapchat|KAKAOTALK|NAVER\(|DingTalk)/i.test(e)||/iPhone|iPad|iPod/.test(e)&&/Mobile\//.test(e)&&!/Safari\//.test(e)&&!/CriOS|FxiOS|EdgiOS/.test(e)):!1,Jr=({children:e})=>{const t=H(),{isAuthenticated:n,isLoading:r,user:s}=ar();if(r)return o.jsx("div",{className:"room-bootstrap",children:o.jsx("p",{children:t("shared.loading")})});if(!n){const i=typeof navigator<"u"&&N7e(navigator.userAgent);return o.jsx("div",{className:"room-bootstrap",children:i?o.jsx(z7e,{}):o.jsxs(o.Fragment,{children:[o.jsx("h1",{children:t("auth.signInTitle")}),o.jsx("p",{style:{color:"var(--text-muted)",marginBottom:16},children:t("auth.signInDesc")}),o.jsx(yD,{})]})})}return(s==null?void 0:s.email_verified)!==!0?o.jsx(Cl,{}):o.jsx(o.Fragment,{children:e})},t6=({children:e})=>o.jsx(Jr,{children:o.jsx(I7e,{children:e})}),I7e=({children:e})=>{var s;const t=H(),n=_i(),r=n.loaded?((s=n.data)==null?void 0:s.teacher_status)??"none":"unknown";return v.useEffect(()=>{r!=="unknown"&&r!=="approved"&&window.location.assign("/")},[r]),r!=="approved"?o.jsx("div",{className:"room-bootstrap",children:o.jsx("p",{children:t("shared.loading")})}):o.jsx(o.Fragment,{children:e})},R7e=()=>{const[e,t]=v.useState(!0);return v.useEffect(()=>{t(!1)},[]),e};function P7e(){const e=H(),t=_i(),n=ub(),r=t.data,s=r!=null&&(r.teacher_status==="approved"||r.teacher_status==="pending")&&"profile_completed_at"in r&&r.profile_completed_at==null,i=r!=null&&(r.teacher_status==="approved"||r.teacher_status==="pending")&&"profile_completed_at"in r&&r.profile_completed_at!=null,a=r!=null&&!i&&"student"in r&&r.student!=null&&r.student.profile_completed_at==null,l=s||a,c=v.useRef(null);if(v.useEffect(()=>{if(!l)return;document.body.classList.add("has-profile-banner");const f=c.current;let p=null;return f&&typeof ResizeObserver<"u"&&(p=new ResizeObserver(([m])=>{m&&document.documentElement.style.setProperty("--profile-banner-h",`${m.contentRect.height}px`)}),p.observe(f)),()=>{document.body.classList.remove("has-profile-banner"),p==null||p.disconnect(),document.documentElement.style.removeProperty("--profile-banner-h")}},[l]),!l)return null;const u=a?"student":"teacher",d=e(u==="student"?"profile.banner.message.student":"profile.banner.message.teacher"),h=()=>{u==="student"?n({reason:"banner_cta"}):window.location.assign("/profile")};return o.jsxs("div",{ref:c,role:"status",className:"profile-banner",children:[o.jsx("span",{className:"profile-banner__message",children:d}),o.jsx("button",{type:"button",className:"profile-banner__cta",onClick:h,children:e("profile.banner.cta")})]})}const UW="ph_consent_v1";function y9(){try{const e=localStorage.getItem(UW);if(!e)return null;const t=JSON.parse(e);return typeof t.analytics!="boolean"||typeof t.replay!="boolean"||typeof t.decided_at!="string"?null:t}catch{return null}}function A7e(e){try{localStorage.setItem(UW,JSON.stringify(e))}catch{}window.dispatchEvent(new CustomEvent("consent:updated",{detail:e}))}function Eb(){const[e,t]=v.useState(null);return v.useEffect(()=>{const n=s=>{const i=s.detail;t(i??y9())};window.addEventListener("consent:updated",n);const r=y9();return r&&t(r),()=>window.removeEventListener("consent:updated",n)},[]),{state:e,write:n=>{A7e(n)}}}
146function L7e(){if(typeof window>"u")return;const e=y9();e&&window.dispatchEvent(new CustomEvent("consent:updated",{detail:e}))}const M7e=({onCustomize:e,onDecide:t})=>{const n=H(),r=v.useRef(null);return v.useEffect(()=>{const s=r.current;if(s===null)return;const i=()=>document.body.style.setProperty("--bottom-banner-h",`${s.offsetHeight}px`);i();const a=typeof ResizeObserver>"u"?null:new ResizeObserver(i);return a==null||a.observe(s,{box:"border-box"}),window.addEventListener("resize",i),()=>{a==null||a.disconnect(),window.removeEventListener("resize",i),document.body.style.removeProperty("--bottom-banner-h")}},[]),o.jsxs("div",{ref:r,className:"consent-banner",role:"region","aria-label":n("consent.banner.region"),children:[o.jsxs("p",{className:"consent-banner__message",children:[n("consent.banner.message")," ",o.jsx("a",{className:"consent-banner__link",href:"/privacy",children:n("consent.banner.privacyLink")})]}),o.jsxs("div",{className:"consent-banner__actions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:e,children:n("consent.banner.customize")}),o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:()=>t(!1,!1),children:n("consent.banner.reject")}),o.jsx("button",{type:"button",className:"btn btn--primary btn--sm",onClick:()=>t(!0,!0),children:n("consent.banner.accept")})]})]})},O7e=({onCustomize:e})=>{const{state:t,write:n}=Eb();if(t!==null)return null;const r=(s,i)=>{const a={analytics:s,replay:i,decided_at:new Date().toISOString()};n(a)};return o.jsx(M7e,{onCustomize:e,onDecide:r})},D7e=({open:e,onClose:t})=>{const n=H(),{state:r,write:s}=Eb(),[i,a]=v.useState((r==null?void 0:r.analytics)??!1),[l,c]=v.useState((r==null?void 0:r.replay)??!1),u=v.useRef(null);if(v.useEffect(()=>{e&&(a((r==null?void 0:r.analytics)??!1),c((r==null?void 0:r.replay)??!1))},[e,r]),v.useEffect(()=>{if(!e)return;const h=f=>{f.key==="Escape"&&t()};return document.addEventListener("keydown",h),()=>document.removeEventListener("keydown",h)},[e,t]),!e)return null;const d=()=>{const h={analytics:i,replay:i?l:!1,decided_at:new Date().toISOString()};s(h),t()};return o.jsx("div",{className:"consent-dialog__backdrop",onClick:t,children:o.jsxs("div",{ref:u,className:"consent-dialog",role:"dialog","aria-modal":"true","aria-labelledby":"consent-dialog-title",onClick:h=>h.stopPropagation(),children:[o.jsx("h2",{id:"consent-dialog-title",className:"consent-dialog__title",children:n("consent.dialog.title")}),o.jsxs("div",{className:"consent-dialog__row",children:[o.jsx("input",{type:"checkbox",id:"consent-necessary",checked:!0,disabled:!0,readOnly:!0}),o.jsxs("label",{htmlFor:"consent-necessary",className:"consent-dialog__row-label",children:[o.jsx("strong",{children:n("consent.dialog.necessary.label")}),o.jsx("span",{children:n("consent.dialog.necessary.description")})]})]}),o.jsxs("div",{className:"consent-dialog__row",children:[o.jsx("input",{type:"checkbox",id:"consent-analytics",checked:i,onChange:h=>a(h.target.checked)}),o.jsxs("label",{htmlFor:"consent-analytics",className:"consent-dialog__row-label",children:[o.jsx("strong",{children:n("consent.dialog.analytics.label")}),o.jsx("span",{children:n("consent.dialog.analytics.description")})]})]}),o.jsxs("div",{className:"consent-dialog__row",children:[o.jsx("input",{type:"checkbox",id:"consent-replay",checked:l,onChange:h=>c(h.target.checked),disabled:!i}),o.jsxs("label",{htmlFor:"consent-replay",className:"consent-dialog__row-label",children:[o.jsx("strong",{children:n("consent.dialog.replay.label")}),o.jsx("span",{children:n("consent.dialog.replay.description")})]})]}),o.jsxs("div",{className:"consent-dialog__actions",children:[o.jsx("button",{type:"button",className:"btn btn--ghost btn--sm",onClick:t,children:n("consent.dialog.cancel")}),o.jsx("button",{type:"button",className:"btn btn--primary btn--sm",onClick:d,children:n("consent.dialog.save")})]})]})})},qW=v.createContext(null),W7e=({value:e,children:t})=>o.jsx(qW.Provider,{value:e,children:t}),fm=()=>{const e=v.useContext(qW);if(e===null)throw new Error("useRouterContext must be used inside a <RouterProvider>");return e},F7e=()=>{const[e,t]=v.useState(window.location.pathname);return v.useEffect(()=>{const n=()=>t(window.location.pathname);window.addEventListener("popstate",n);const r=window.history.pushState,s=window.history.replaceState;return window.history.pushState=function(i,a,l){r.call(window.history,i,a,l),window.dispatchEvent(new PopStateEvent("popstate"))},window.history.replaceState=function(i,a,l){s.call(window.history,i,a,l),window.dispatchEvent(new PopStateEvent("popstate"))},()=>{window.removeEventListener("popstate",n),window.history.pushState=r,window.history.replaceState=s}},[]),e},$7e="https://badukteacher.com",B7e=as({"@context":"https://schema.org","@type":"Organization",name:"Baduk Teacher",alternateName:["Baduk Teacher Solutions","badukteacher.com"],url:"https://badukteacher.com",logo:"https://badukteacher.com/favicon.svg",description:"A marketplace for live Baduk (Go) lessons with pro-level teachers from Korea, China, and Jap
146an, with real-time AI speech translation.",sameAs:["https://x.com/baduk_teacher"]}),U7e=as({"@context":"https://schema.org","@type":"WebSite",name:"Baduk Teacher",url:"https://badukteacher.com",inLanguage:["en","ko","zh","zh-TW","ja","fr","de"]}),q7e=()=>{const{path:e}=fm(),t=e.replace(/\/+$/,""),n=`${$7e}${t===""?"/":t}`;return o.jsxs(qr,{children:[o.jsx("link",{rel:"alternate",hrefLang:"x-default",href:n}),o.jsx("link",{rel:"alternate",hrefLang:"en",href:n}),o.jsx("meta",{property:"og:site_name",content:"Baduk Teacher"}),o.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),o.jsx("script",{type:"application/ld+json",children:B7e}),o.jsx("script",{type:"application/ld+json",children:U7e})]})};function H7e(e){e!=null&&e.analytics?k1e():w1e()}function G7e(e){if(typeof window>"u"||typeof window.gtag!="function")return;const t=e!=null&&e.analytics?"granted":"denied";window.gtag("consent","update",{ad_storage:t,ad_user_data:t,ad_personalization:t,analytics_storage:t})}const v9="G-6N3H9ZJWQR",K7e="AW-18176106153";function V7e(){if(typeof window>"u"||typeof window.gtag=="function")return;window.dataLayer=window.dataLayer||[];function e(){window.dataLayer.push(arguments)}window.gtag=e,window.gtag("consent","default",{ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied",wait_for_update:500}),window.gtag("js",new Date),window.gtag("config",v9),window.gtag("config",K7e,{allow_enhanced_conversions:!0});const t=document.createElement("script");t.async=!0,t.src=`https://www.googletagmanager.com/gtag/js?id=${v9}`,document.head.appendChild(t)}function Y7e(){typeof window>"u"||typeof window.gtag!="function"||window.gtag("event","page_view",{page_location:window.location.href,page_title:document.title,send_to:v9})}const J7e=["/lesson/","/chat/","/admin/","/teach/","/my-lessons","/profile","/teacher/me/"],Z7e=["/teachers","/teacher/","/booking/success","/waitlist"];function HW(e){for(const t of J7e)if(e.startsWith(t))return!1;if(e==="/")return!0;for(const t of Z7e){if(e===t)return!0;const n=t.endsWith("/")?t:t+"/";if(e.startsWith(n))return!0}return!1}function X7e(e){const t=J(r=>r.status),{path:n}=fm();v.useEffect(()=>{const r=t==="connecting"||t==="ready",s=HW(n),i=(e==null?void 0:e.replay)===!0;!r&&s&&i?yl.startSessionRecording():yl.stopSessionRecording()},[t,e==null?void 0:e.replay,n])}function Q7e(e){const t=J(r=>r.status),{path:n}=fm();v.useEffect(()=>{const r=t==="connecting"||t==="ready",s=HW(n),i=(e==null?void 0:e.replay)===!0,a=JJ();if(a)if(!r&&s&&i)try{a.start()}catch{}else a.stop()},[t,e==null?void 0:e.replay,n])}const e9e=e=>{let t=null,n=null;const r=()=>{n=null;const a=t;t=null,a&&e(a.value)};return{push:a=>{t={value:a},n===null&&(n=requestAnimationFrame(r))},cancel:()=>{n!==null&&(cancelAnimationFrame(n),n=null),t=null}}},t9e=e=>`gt.studentSession.${e}`,AE=e=>{const t=t9e(e),n=window.localStorage.getItem(t);if(n)return n;const r=crypto.randomUUID();return window.localStorage.setItem(t,r),r},n9e=e=>e.allowMultipleStudents?{wantMic:e.role==="teacher"?e.wantMic:!1,wantCam:!1}:{wantMic:e.wantMic,wantCam:e.wantCam},Vd=async()=>{if(!tn.isConfigured)return;const e=J.getState(),t=[...e.teacher?[{participantId:e.teacher.participantId,role:e.teacher.role}]:[],...e.students.map(n=>({participantId:n.participantId,role:n.role}))];await tn.syncPeers(t)},n6=e=>{var n;return e||(((n=J.getState().peer)==null?void 0:n.participantId)??tn.peerIds()[0]??null)},LE=e=>{var n,r;const t=J.getState();return((n=t.teacher)==null?void 0:n.participantId)===e?"teacher":t.students.some(s=>s.participantId===e)||((r=t.self)==null?void 0:r.role)==="teacher"?"student":"teacher"},r9e=async e=>{const t=G8(),n=ze.getState();if(n.localTrackReacquiring[e])return;n.setLocalTrackReacquiring(e,!0);let r=null;try{if(r=await Kc(e==="audio"?{audio:!0}:{video:!0}),jn(t,r))return;const s=e==="audio"?r.getAudioTracks()[0]:r.getVideoTracks()[0];if(!s)throw new Error("Missing replacement track");if(e==="video"&&!ze.getState().camEnabled){r.getTracks().forEach(l=>l.stop());return}xx(s,e,ze.getState());const i=ze.getState().localStream;
146if(!i){r.getTracks().forEach(l=>l.stop());return}for(const l of i.getTracks())l.kind===e&&l.readyState==="ended"&&i.removeTrack(l);if(i.addTrack(s),await tn.replaceLocalTrack(s,e),jn(t,r))return;const a=xx(s,e,ze.getState());e==="video"&&!a&&(s.stop(),i.removeTrack(s)),e==="audio"&&(a?nn.restart(i):nn.stop())}catch{if(r==null||r.getTracks().forEach(s=>s.stop()),jn(t,null))return;e==="audio"?(n.setMicEnabled(!1),nn.stop()):n.setCamEnabled(!1),qt.getState().add("error",en("mediaCaptureRecovery.retry"))}finally{jn(t,null)||n.setLocalTrackReacquiring(e,!1)}},s9e=()=>{if(!nn.isRunning())return;const e=ze.getState().localStream;e&&nn.restart(e)},i9e=e=>e.t==="subtitle.interim",a9e=()=>new URLSearchParams(window.location.search).get("forceTurn")==="1",o9e=async(e,t,n,r)=>{const s=zie(),i=a9e();i&&qt.getState().add("warn",en("banner.forceTurnActive"));const a=ze.getState();a.setPcState("requesting-media");let l=!0;tn.configure({iceServers:e,allowMultipleStudents:r,getSelf:()=>{const d=J.getState().self;return d?{participantId:d.participantId,role:d.role}:null},send:d=>he.send(d),...i?{iceTransportPolicy:"relay"}:{},onRemoteTrack:(d,h)=>{const f=ze.getState();f.setRemoteStreamFor(d,h),r||f.setRemoteStream(h)},onPeerClosed:d=>{const h=ze.getState();h.removeRemoteStream(d),r||h.setRemoteStream(null)},onAggregateState:d=>{if(l||jn(s,null))return;const h={none:"awaiting-peer",new:"awaiting-peer",connecting:"connecting",connected:"connected",disconnected:"connecting",failed:"error",closed:"closed"};ze.getState().setPcState(h[d])},onIceDisconnect:()=>{l||jn(s,null)||ze.getState().setPcState("reconnecting")},onIceRecover:()=>{l||jn(s,null)||r||ze.getState().setPcState("connected")},onLocalTrackEnded:d=>{l||jn(s,null)||r9e(d)},onMediaStalled:()=>{l||jn(s,null)||ze.getState().setPcState("reconnecting")}});const c=await hie({wantAudio:t,wantVideo:n});if(jn(s,c.kind==="ok"?c.stream:null))return;l=!1,c.kind==="error"&&(a.setPermissionError(c.reason),qt.getState().add("error",c.reason==="media-timeout"?en("mediaCaptureRecovery.timeout"):en("banner.mediaUnavailable",{reason:c.reason}))),c.kind==="ok"?(a.setLocalStream(c.stream),a.setMicEnabled(c.stream.getAudioTracks().length>0),a.setCamEnabled(c.video)):(a.setMicEnabled(!1),a.setCamEnabled(!1)),a.setPcState("awaiting-peer");const u=c.kind==="ok"?c.stream:null;await tn.setLocalStream(u),!jn(s,u)&&(ze.getState().micEnabled&&u&&u.getAudioTracks().length>0&&nn.start(u),await Vd())},pm=e=>{try{return decodeURIComponent(e)}catch{return null}},l9e=e=>{const t=e.match(/^\/teacher\/([^/]+)$/);return t?pm(t[1]):null},c9e=e=>{const t=e.match(/^\/chat\/([^/]+)$/);return t?pm(t[1]):null},u9e=e=>e==="/admin/inbox"||e==="/inbox",d9e=e=>e==="/profile",h9e=e=>e==="/login",GW=e=>e==="/teachers",f9e=e=>e==="/group-lessons",p9e=e=>e==="/waitlist",m9e=e=>e==="/teach/apply",g9e=e=>e==="/teach/pending",y9e=e=>e==="/teach-with-us",v9e=e=>e==="/",b9e=e=>e==="/my-lessons",_9e=e=>{switch(e){case"/terms":return"terms";case"/privacy":return"privacy";case"/tutor-guidelines":return"tutor-guidelines";default:return null}},k9e=e=>e==="/learn"||e==="/learn/",w9e=e=>{const t=e.match(/^\/learn\/([^/]+)$/);if(!t)return null;const n=pm(t[1]);return n===null?null:Rte.includes(n)?n:null},x9e=e=>e==="/lessons"||e==="/lessons/",S9e=e=>{const t=e.match(/^\/lessons\/([^/]+)$/);if(!t)return null;let n;try{n=decodeURIComponent(t[1])}catch{return null}return Ate(n)?n:null},T9e=e=>e==="/booking/success",j9e=e=>e==="/teacher/me/schedule",C9e=e=>e==="/teach/new-lesson",E9e=e=>e==="/teach/earnings",z9e=e=>e==="/admin/payouts",N9e=e=>e==="/admin/finance",I9e=e=>e==="/admin/credits",R9e=e=>e==="/admin/promo-codes",P9e=e=>e==="/admin/teacher-applications",A9e=e=>{const t=e.match(/^\/my-lessons\/([^/]+)$/);return t?pm(t[1]):null},L9e=()=>{const{path:e}=fm(),t=Eb(),[n,r]=v.useState(!1);v.useEffect(()=>{H7e(t.state),G7e(t.state)},[t.state]);const s=v.useRef(!0);return v.useEffect(()=>{if(s.current){s.current=!1;return}Y7e()},[e]),v.useEffect(()=>{GW(e)&&ide()},[e]),X7e(t.state),Q7e(t.state),v.useEffect(()=>{const i=()=>r(!0);
146return window.addEventListener("consent:open-dialog",i),()=>window.removeEventListener("consent:open-dialog",i)},[]),o.jsxs(cpe,{children:[o.jsx(q7e,{}),o.jsx(P7e,{}),o.jsx(M9e,{path:e}),o.jsx(O7e,{onCustomize:()=>r(!0)}),o.jsx(D7e,{open:n,onClose:()=>r(!1)})]})},M9e=({path:e})=>{const t=J(R=>R.status),n=J(R=>R.setStatus),r=J(R=>R.setRoomState),s=J(R=>R.setPeer),i=J(R=>R.setDriverRole),a=J(R=>R.setError),l=yt(R=>R.setBoard),c=yt(R=>R.applyPatch),u=yt(R=>R.clear),d=ze(R=>R.setRemoteStream),h=ze(R=>R.localStream),[f,p]=v.useState(null),[m,y]=v.useState(!1),[_,g]=v.useState(null),b=v.useRef(null),k=H(),x=v.useRef(null),S=v.useRef(null),T=v.useRef(null);T.current===null&&(T.current=new Wx({add:(R,w)=>qt.getState().add(R,w),dismiss:R=>qt.getState().dismiss(R)}));const C=v.useRef(null);C.current===null&&(C.current=new Wx({add:(R,w)=>qt.getState().add(R,w),dismiss:R=>qt.getState().dismiss(R)}));const E=v.useRef(null);E.current===null&&(E.current=new Map);const N=R=>{const w=E.current;let L=w.get(R);return L||(L=e9e(M=>{Mo.getState().setCursor(R,M)}),w.set(R,L)),L};v.useEffect(()=>{he.setConnectionStateCallback(R=>{J.getState().setWsState(R),R==="connected"?s9e():R==="disconnected"&&qt.getState().add("error",en("banner.connectionLost"))})},[]),v.useEffect(tae,[]),v.useEffect(()=>he.onMessage(async w=>{var L,M,A,q,W;switch(Vi.getState().capture(w),w.t){case"room.state":{const U=((L=J.getState().self)==null?void 0:L.participantId)??null;if(r({...w.view.presentation?{presentation:w.view.presentation}:{},roomId:w.view.roomId,self:w.view.self,peer:w.view.peer,teacher:w.view.teacher,students:w.view.students,driverRole:w.view.driverRole,driverParticipantId:w.view.driverParticipantId,activeStudentId:w.view.activeStudentId,interactive:w.view.interactive,allowMultipleStudents:w.view.allowMultipleStudents,studentCapacity:w.view.studentCapacity,studentCount:w.view.studentCount,studentSeatCount:w.view.studentSeatCount,iceServers:w.view.iceServers,sessionStartedAt:w.view.sessionStartedAt,tts:w.view.tts,ttsAvailable:w.view.ttsAvailable,analysisVisible:w.view.analysisVisible,gameModeEnabled:w.view.gameModeEnabled}),J.getState().setStudentLang(w.view.studentLang),J.getState().setStudentLangLocked(w.view.studentLangLocked),l(w.view.board),un.getState().setGame(w.view.game),Cn.getState().hydrate(w.view.chatHistory),w.view.transcript&&Vi.getState().begin(w.view.roomId,w.view.transcript),Nr.getState().setSimul(w.view.simul??null),Nr.getState().setReview(w.view.simulReview??[]),Dn.getState().setProblem(w.view.problem??null),ze.getState().pcState==="idle"){const G=b.current,oe=n9e({role:w.view.self.role,allowMultipleStudents:w.view.allowMultipleStudents,wantMic:(G==null?void 0:G.wantMic)??!0,wantCam:(G==null?void 0:G.wantCam)??!0});await o9e(w.view.iceServers,oe.wantMic,oe.wantCam,w.view.allowMultipleStudents)}else U!==null&&U!==w.view.self.participantId&&tn.dropAllPeers(),await Vd();break}case"peer.joined":s(w.peer),w.sessionStartedAt!==null&&(J.setState({sessionStartedAt:w.sessionStartedAt}),Vi.getState().setStartedAt(w.sessionStartedAt)),await Vd();break;case"peer.left":s(null),d(null),Mo.getState().reset(),Ho.getState().reset(),Cn.getState().reset(),J.getState().setPeerConnectionDropped(!1),qt.getState().add("warn",en("banner.partnerLeft"));break;case"peer.disconnected":Mo.getState().reset(),Ho.getState().reset(),J.getState().setPeerConnectionDropped(!0);break;case"peer.reconnected":s(w.peer),Mo.getState().reset(),Ho.getState().reset(),J.getState().setPeerConnectionDropped(!1);{const U=J.getState();U.setParticipants({teacher:w.peer.role==="teacher"?w.peer:U.teacher,students:w.peer.role==="student"?[{...w.peer,role:"student"}]:U.students,studentCount:U.studentCount,studentSeatCount:U.studentSeatCount})}await Vd();break;case"participant.joined":case"participant.reconnected":{const U=J.getState(),G=w.participant.role==="student"?[...U.students.filter(oe=>oe.participantId!==w.participant.participantId),{...w.participant,role:"student"}]:U.students;U.setParticipants({teacher:w.participant.role==="teacher"?w.participant:U.teacher,students:G,studentCount:w.studentCount,studentSeatCount:w.studentSeatCount}),await Vd();break}case"participant.left":case"participant.disconnected":{Eie(w),Mo.getState().removeCursor(w.participantId),(M=E.current)==null||M.delete(w.participantId);break}case"peer.cursor":N(w.fromParticipantId).push(w.at);break;case"peer.click-ping":Ho.getState().addPing({id:w.id,x:w.at.x,y:w.at.y,role:w.fromRole});break;case"board.state":l(w.board);break;case"board.patch":{if(w.boardId){Nr.getState().applyBoardPatch(w.boardId,w.patch,w.version);break}const U=w.patch.k==="move"&&w.patch.move.pass!==!0?lie(w.patch.move.x,w.patch.move.y):null;c(w.patch,w.version),nie(w.patch)&&(U!==null&&console.debug(`[move-latency] own move c
146onfirmed in ${Math.round(U)}ms`),H8.getState().enabled&&sie());break}case"problem.board":Dn.getState().setBoard(w.boardId,w.board);break;case"problem.verdict":Dn.getState().setVerdict(w.boardId,w.verdict);break;case"problem.done":Dn.getState().setDone(w.boardId,w.done);break;case"role.changed":i(w.driverRole),J.getState().setDriverParticipantId(w.driverParticipantId);break;case"interactive.changed":J.getState().setInteractive(w.mode);break;case"rtc.offer":{const U=n6(w.from);U&&await tn.onOffer(U,w.sdp,LE(U));break}case"rtc.answer":{const U=n6(w.from);U&&await tn.onAnswer(U,w.sdp);break}case"rtc.ice":{const U=n6(w.from);U&&await tn.onIce(U,w.candidate,LE(U));break}case"subtitle.interim":i9e(w)&&((A=S.current)==null||A.noteAsrActivity()),ht.getState().setListening(null),ht.getState().addInterim(w);break;case"subtitle.new":ht.getState().addFinal(w.subtitle),Ah(w);break;case"subtitle.listening":ht.getState().setListening(w.speakerRole);break;case"subtitle.partial":ht.getState().addPartial(w.id,w.partial);break;case"translation.status":w.source==="subtitle"?ht.getState().setTranslationStatus(w.id,w.status):Cn.getState().setTranslationStatus(w.id,w.status);break;case"subtitle.translated":ht.getState().addTranslated(w.id,w.translated),Ah(w);break;case"subtitle.unavailable":ht.getState().setAsrUnavailable(!0),T.current.requestShow("warn",en("banner.subtitlesReconnecting"),12e3);break;case"subtitle.recovered":ht.getState().setAsrUnavailable(!1),T.current.cancel();break;case"asr.restart-request":{if(!nn.isRunning())break;const U=ze.getState().localStream;U&&nn.restart(U);break}case"subtitle.translator-unavailable":C.current.requestShow("warn",en("banner.translatorUnavailable"),6e3);break;case"subtitle.translator-recovered":C.current.cancel();break;case"message.new":{Cn.getState().appendMessage({id:w.id,senderRole:w.senderRole,sourceLang:w.sourceLang,text:w.text,ts:w.ts}),Ah(w);break}case"message.translated":Cn.getState().attachTranslation(w.id,w.lang,w.translated),Ah(w);break;case"trial.warning":qt.getState().add("warn",en("banner.trialWarning",{minutes:w.minutesRemaining}));break;case"trial.ended":qt.getState().add("error",en("banner.trialEnded"));break;case"lang.changed":J.getState().setStudentLang(w.lang),J.getState().setStudentLangLocked(w.lockedByStudent),((q=J.getState().self)==null?void 0:q.role)==="student"&&he.updateCachedLang(w.lang);break;case"participant.lang-changed":J.getState().setParticipantLang(w.participantId,w.lang),((W=J.getState().self)==null?void 0:W.participantId)===w.participantId&&he.updateCachedLang(w.lang);break;case"tts.changed":J.getState().setTts(w.settings),Xn.stop();break;case"tts.audio":case"tts.error":Xn.handle(w);break;case"interview.capability":J.setState({interviewContextSupported:w.contextSupported});break;case"room.presentation":J.getState().setPresentation(w.presentation);break;case"analysis.changed":J.getState().setAnalysisVisible(w.visible);break;case"game.changed":if(w.boardId){Nr.getState().setBoardGame(w.boardId,w.view);break}un.getState().setGame(w.view);break;case"clock.sync":un.getState().setClock(w.clock);break;case"error":if(console.warn("[server error]",w.code,w.message),w.code==="interview-rejected")J.getState().setInterviewError(w.message);else if(w.code==="passcode-required")y(!0),g(null);else if(w.code==="invalid-passcode")y(!0),g(w.message);else if(w.code==="no-room"||w.code==="invalid-token")a(`${w.code}: ${w.message}`);else if(w.code==="room-full")a(en("bootstrap.error.roomFull"));else{const U=fae(w,{allowMultipleStudents:J.getState().allowMultipleStudents});U&&qt.getState().add(U.level,en(U.key))}break}}),[r,l,s,i,c,a,d]);const j=v.useRef(!1);v.useEffect(()=>{const R=e.startsWith("/lesson/");j.current&&!R&&(y(!1),b.current=null,KA()),j.current=R},[e]),v.useEffect(()=>()=>{var R;nn.stop(),tn.clear(),ze.getState().reset(),ht.getState().reset(),Cn.getState().reset(),un.getState().clear(),Nr.getState().clear(),Dn.getState().clear(),qt.getState().clear(),x.current&&(x.current.stop(),x.current=null),(R=E.current)==null||R.forEach(w=>w.cancel()),E.current=null},[]),v.useEffect(()=>{if(!h)return;
146S.current||(S.current=new pae({isCapturing:()=>nn.isRunning(),onRecover:()=>{const w=ze.getState().localStream;w&&(console.warn("[asrWatchdog] speaking but no captions — restarting capture"),nn.restart(w))}})),S.current.reset();const R=new uie({stream:h,onSilenceDetected:()=>{},onVolume:w=>{var L;return(L=S.current)==null?void 0:L.observe(w,Date.now())},checkIntervalMs:1e3});return x.current=R,()=>{R.stop(),x.current=null}},[h]);const I=async R=>{b.current=R,n("connecting"),u(),un.getState().clear(),Nr.getState().clear(),Dn.getState().clear(),S2e({name:R.name,lang:R.lang});try{await he.connect(R.roomId)}catch{a(en("error.connectFailed"));return}const w=window.location.pathname.startsWith("/lesson/")?AE(R.roomId):void 0;if(he.send({t:"hello",token:R.token,lang:R.lang,name:R.name,...w?{studentSessionId:w}:{},...R.authToken?{authToken:R.authToken}:{}}),R.sgfText&&setTimeout(()=>he.send({t:"board.load",sgfText:R.sgfText}),50),p(C2e(R.roomId)),R.studentLang)J.getState().setStudentLang(R.studentLang);else{const M=new URLSearchParams(window.location.search).get("lang");M&&Ds.includes(M)&&J.getState().setStudentLang(M)}},P=R=>{const w=b.current;if(!w)return;g(null);const L=window.location.pathname.startsWith("/lesson/")?AE(w.roomId):void 0;he.send({t:"hello",token:w.token,lang:w.lang,name:w.name,passcode:R,...L?{studentSessionId:L}:{},...w.authToken?{authToken:w.authToken}:{}})};if(m9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(A3e,{}),o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(L3e,{})})]});if(g9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(O3e,{})})]});if(y9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(J3e,{})]});if(GW(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(S3e,{})]});if(f9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(a8e,{})]});const O=_9e(e);if(O!==null)return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx($6e,{slug:O})]});if(k9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(q6e,{})]});const F=w9e(e);if(F!==null)return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(B6e,{slug:F})]});if(x9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(H6e,{})]});const B=S9e(e);if(B!==null)return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(G6e,{slug:B})]});if(p9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(P3e,{})]});const $=l9e(e);if($)return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(_3e,{slug:$})]});const D=c9e(e);if(D)return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(kme,{slug:D})]});if(u9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(Bme,{})})]});if(T9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(p8e,{})]});if(b9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(MW,{})})]});const z=A9e(e);if(z)return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(d8e,{lessonId:z})})]});if(h9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(j7e,{})]});if(j9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(t6,{children:o.jsx(b8e,{})})]});if(E9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(t6,{children:o.jsx(O8e,{})})]});if(C9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(t6,{children:o.jsx(bj,{onReady:I})})]});if(e==="/admin/config")return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(k7e,{})})]});if(z9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(Z8e,{})})]});if(N9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(t7e,{})})]});if(I9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(v7e,{})})]});if(R9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(h7e,{})})]});if(P9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Jr,{children:o.jsx(m7e,{})})]});if(d9e(e))return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(x7e,{onClose:()=>window.location.assign("/")})]});if(t==="ready")return o.jsx(_2e,{studentUrl:f});if(t==="error"){const R=J.getState().errorMessage;return o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsxs("div",{className:"room-bootstrap",children:[o.jsx("h1",{children:k("error.title")}),o.jsx("div",{style:{color:"var(--error)",marginBottom:16},children:R}),o.jsx("button",{type:"button",onClick:()=>
146window.location.assign("/"),className:"btn btn--primary",children:k("error.back")})]})]})}return m?o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(R2e,{onSubmit:P,error:_})]}):v9e(e)?o.jsx(O9e,{}):o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(bj,{onReady:I})]})},O9e=()=>{var a;const{isAuthenticated:e,isLoading:t,user:n}=bt(),r=_i(),s=R7e(),i=r.loaded?((a=r.data)==null?void 0:a.teacher_status)??"none":"unknown";return v.useEffect(()=>{i==="pending"&&window.location.assign("/teach/pending")},[i]),t&&!s?o.jsx(Ge,{}):e?(n==null?void 0:n.email_verified)!==!0?o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(Cl,{})]}):i==="unknown"&&!s?o.jsx(Ge,{}):i==="pending"?o.jsx(Ge,{}):o.jsxs(o.Fragment,{children:[o.jsx(Ge,{}),o.jsx(MW,{})]}):o.jsxs(o.Fragment,{children:[o.jsx("a",{href:"#main-content",className:"sr-only sr-focusable",children:en("landing.skipLink")}),o.jsx(Ge,{}),o.jsx(Jme,{})]})},D9e=()=>{const e=H();return o.jsxs("div",{style:{minHeight:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:16,padding:24,textAlign:"center",background:"var(--bg)",color:"var(--text)"},children:[o.jsx("h1",{style:{fontFamily:"var(--font-display)",fontSize:28,margin:0},children:e("error.title")}),o.jsx("p",{style:{color:"var(--text-muted)",margin:0,maxWidth:420},children:e("error.somethingWrong")}),o.jsx("button",{type:"button",onClick:()=>window.location.assign("/"),className:"btn btn--primary",children:e("error.back")})]})};v1e();V7e();const W9e=window.__SSR_DATA__??{},F9e=()=>{const e=F7e();return v.useEffect(()=>{Wie(),L7e(),q1e()},[]),o.jsx(W7e,{value:{path:e},children:o.jsx(RZ,{fallback:o.jsx(D9e,{}),children:o.jsx(L9e,{})})})};K6.hydrateRoot(document.getElementById("root"),o.jsx(Es.StrictMode,{children:o.jsx(jA,{children:o.jsx(y3e,{value:W9e,children:o.jsx(Jue,{children:o.jsx(F9e,{})})})})}));export{o as j,v as r};

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.