Greasy Fork is available in English.

iciba划词翻译

小巧简洁实用的划词翻译。选择单词或段落进行查词或翻译,或手动输入文本查词翻译。支持iciba,google字典,google翻译,百度翻译等多个查词翻译接口

// ==UserScript==
// @name               iciba划词翻译
// @namespace          noe132.com
// @author             noe132
// @include            http://*
// @include            https://*
// @include            file://*
// @exclude            http://www.iciba.com*
// @grant              GM_xmlhttpRequest
// @grant              GM_getValue
// @grant              GM_setValue
// @grant              GM_registerMenuCommand
// @grant              GM.xmlHttpRequest
// @grant              GM.getValue
// @grant              GM.setValue
// @grant              unsafeWindow
// @icon               http://tb.himg.baidu.com/sys/portrait/item/d4346e6f65313332ac06
// @version            4.9.2
// @supportURL         https://github.com/Firefox-Pro-Coding/iciba-translate-userscript
// @description        小巧简洁实用的划词翻译。选择单词或段落进行查词或翻译,或手动输入文本查词翻译。支持iciba,google字典,google翻译,百度翻译等多个查词翻译接口
// ==/UserScript==

// this file was compiled by webpack.

// corejs@3 polyfill bug in tampermonkey env
if (!window.Symbol) {
  window.Symbol = unsafeWindow.Symbol
}

if (typeof GM !== 'undefined' || typeof GM_setValue !== 'undefined') {
(()=>{var e={6419:(e,t,n)=>{e.exports=n(7698)},1511:(e,t,n)=>{e.exports=n(3363)},1128:(e,t,n)=>{e.exports=n(7784)},7766:(e,t,n)=>{e.exports=n(8065)},62:(e,t,n)=>{e.exports=n(9455)},4494:(e,t,n)=>{e.exports=n(9743)},116:(e,t,n)=>{e.exports=n(1955)},4473:(e,t,n)=>{e.exports=n(1577)},426:(e,t,n)=>{e.exports=n(9020)},8914:(e,t,n)=>{e.exports=n(6279)},8580:(e,t,n)=>{e.exports=n(3778)},1643:(e,t,n)=>{e.exports=n(9373)},9301:(e,t,n)=>{e.exports=n(3819)},2991:(e,t,n)=>{e.exports=n(1798)},2366:(e,t,n)=>{e.exports=n(2527)},9291:(e,t,n)=>{e.exports=n(6857)},3649:(e,t,n)=>{e.exports=n(2073)},7149:(e,t,n)=>{e.exports=n(5286)},2762:(e,t,n)=>{e.exports=n(2348)},5843:(e,t,n)=>{e.exports=n(6361)},9340:(e,t,n)=>{e.exports=n(8933)},9392:(e,t,n)=>{e.exports=n(5868)},1942:(e,t,n)=>{e.exports=n(3383)},368:(e,t,n)=>{e.exports=n(7396)},3978:(e,t,n)=>{e.exports=n(1910)},6295:(e,t,n)=>{e.exports=n(6209)},1306:(e,t,n)=>{e.exports=n(3402)},4074:(e,t,n)=>{e.exports=n(9427)},9649:(e,t,n)=>{e.exports=n(2857)},8604:(e,t,n)=>{e.exports=n(4477)},4310:(e,t,n)=>{e.exports=n(9534)},6902:(e,t,n)=>{e.exports=n(3059)},455:(e,t,n)=>{e.exports=n(7795)},4198:(e,t,n)=>{e.exports=n(4888)},3476:(e,t,n)=>{e.exports=n(7460)},3032:(e,t,n)=>{e.exports=n(7989)},6384:(e,t,n)=>{e.exports=n(5519)},5683:(e,t,n)=>{e.exports=n(9447)},4341:(e,t,n)=>{e.exports=n(3685)},3263:(e,t,n)=>{e.exports=n(4710)},9356:(e,t,n)=>{e.exports=n(3799)},4493:(e,t,n)=>{n(7971),n(3242);var o=n(4058);e.exports=o.Array.from},4034:(e,t,n)=>{n(2737);var o=n(4058);e.exports=o.Array.isArray},5367:(e,t,n)=>{n(5906);var o=n(5703);e.exports=o("Array").concat},1459:(e,t,n)=>{n(8851);var o=n(5703);e.exports=o("Array").every},6172:(e,t,n)=>{n(290);var o=n(5703);e.exports=o("Array").fill},2383:(e,t,n)=>{n(1501);var o=n(5703);e.exports=o("Array").filter},7671:(e,t,n)=>{n(833);var o=n(5703);e.exports=o("Array").find},6948:(e,t,n)=>{n(2065),n(6986);var o=n(5703);e.exports=o("Array").flatMap},9324:(e,t,n)=>{n(2437);var o=n(5703);e.exports=o("Array").forEach},991:(e,t,n)=>{n(7690);var o=n(5703);e.exports=o("Array").includes},8700:(e,t,n)=>{n(9076);var o=n(5703);e.exports=o("Array").indexOf},5909:(e,t,n)=>{n(6274);var o=n(5703);e.exports=o("Array").keys},3866:(e,t,n)=>{n(8787);var o=n(5703);e.exports=o("Array").map},2999:(e,t,n)=>{n(1876);var o=n(5703);e.exports=o("Array").reduce},4900:(e,t,n)=>{n(186);var o=n(5703);e.exports=o("Array").slice},3824:(e,t,n)=>{n(6026);var o=n(5703);e.exports=o("Array").some},8209:(e,t,n)=>{n(8611);var o=n(5703);e.exports=o("Array").splice},1103:(e,t,n)=>{n(5160);var o=n(4058);e.exports=o.Date.now},6043:(e,t,n)=>{var o=n(5367),r=Array.prototype;e.exports=function(e){var t=e.concat;return e===r||e instanceof Array&&t===r.concat?o:t}},3160:(e,t,n)=>{var o=n(1459),r=Array.prototype;e.exports=function(e){var t=e.every;return e===r||e instanceof Array&&t===r.every?o:t}},446:(e,t,n)=>{var o=n(6172),r=Array.prototype;e.exports=function(e){var t=e.fill;return e===r||e instanceof Array&&t===r.fill?o:t}},2480:(e,t,n)=>{var o=n(2383),r=Array.prototype;e.exports=function(e){var t=e.filter;return e===r||e instanceof Array&&t===r.filter?o:t}},2236:(e,t,n)=>{var o=n(7671),r=Array.prototype;e.exports=function(e){var t=e.find;return e===r||e instanceof Array&&t===r.find?o:t}},1968:(e,t,n)=>{var o=n(6948),r=Array.prototype;e.exports=function(e){var t=e.flatMap;return e===r||e instanceof Array&&t===r.flatMap?o:t}},8557:(e,t,n)=>{var o=n(991),r=n(1631),a=Array.prototype,i=String.prototype;e.exports=function(e){var t=e.includes;return e===a||e instanceof Array&&t===a.includes?o:"string"==typeof e||e===i||e instanceof String&&t===i.includes?r:t}},4570:(e,t,n)=>{var o=n(8700),r=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===r||e instanceof Array&&t===r.indexOf?o:t}},8287:(e,t,n)=>{var o=n(3866),r=Array.prototype;e.exports=function(e){var t=e.map;return e===r||e instanceof Array&&t===r.map?o:t}},8025:(e,t,n)=>{var o=n(2999),r=Array.prototype;e.exports=function(e){var t=e.reduce;return e===r||e instanceof Array&&t===r.reduce?o:t}},9257:(e,t,n)=>{var o=n(454),r=String.prototype;e.exports=function(e){var t=e.repeat;return"string"==typeof e||e===r||e instanceof String&&t===r.repeat?o:t}},9601:(e,t,n)=>{var o=n(4900),r=Array.prototype;e.exports=function(e){var t=e.slice;return e===r||e instanceof Array&&t===r.slice?o:t}},8299:(e,t,n)=>{var o=n(3824),r=Array.prototype;e.exports=function(e){var t=e.some;return e===r||e instanceof Array&&t===r.some?o:t}},8339:(e,t,n)=>{var o=n(8209),r=Array.prototype;e.exports=function(e){var t=e.splice;return e===r||e instanceof Array&&t===r.splice?o:t}},2774:(e,t,n)=>{var o=n(3348),r=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===r||e instanceof String&&t===r.trim?o:t}},4426:(e,t,n)=>{n(2619);var o=n(4058);o.JSON||(o.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return o.JSON.stringify.apply(null,arguments)}},1018:(e,t,n)=>{n(7501),n(5967),n(7971),n(7634);var o=n(4058);e.exports=o.Map},5999:(e,t,n)=>{n(9221);var o=n(4058);e.exports=o.Object.assign},7702:(e,t,n)=>{n(4979);var o=n(4058).Object,r=e.exports=function(e,t){return o.defineProperties(e,t)};o.defineProperties.sham&&(r.sham=!0)},8171:(e,t,n)=>{n(6450);var o=n(4058).Object,r=e.exports=function(e,t,n){return o.defineProperty(e,t,n)};o.defineProperty.sham&&(r.sham=!0)},3081:(e,t,n)=>{n(1078);var o=n(4058);e.exports=o.Object.entries},7699:(e,t,n)=>{n(6274),n(8387);var o=n(4058);e.exports=o.Object.fromEntries},286:(e,t,n)=>{n(6924);var o=n(4058).Object,r=e.exports=function(e,t){return o.getOwnPropertyDescriptor(e,t)};o.getOwnPropertyDescriptor.sham&&(r.sham=!0)},2766:(e,t,n)=>{n(8482);var o=n(4058);e.exports=o.Object.getOwnPropertyDescriptors},3288:(e,t,n)=>{n(9816);var o=n(4058).Object;e.exports=function(e){return o.getOwnPropertyNames(e)}},498:(e,t,n)=>{n(5824);var o=n(4058);e.exports=o.Object.getOwnPropertySymbols},8494:(e,t,n)=>{n(1724);var o=n(4058);e.exports=o.Object.keys},8430:(e,t,n)=>{n(6614);var o=n(4058);e.exports=o.Object.values},8524:(e,t,n)=>{n(4038);var o=n(4058);e.exports=o.parseInt},2956:(e,t,n)=>{n(5967),n(7971),n(7634),n(8881),n(4560),n(4349);var o=n(4058);e.exports=o.Promise},6998:(e,t,n)=>{n(9008),n(5967),n(7971),n(7634);var o=n(4058);e.exports=o.Set},1631:(e,t,n)=>{n(1035);var o=n(5703);e.exports=o("String").includes},454:(e,t,n)=>{n(986);var o=n(5703);e.exports=o("String").repeat},3348:(e,t,n)=>{n(7398);var o=n(5703);e.exports=o("String").trim},9447:(e,t,n)=>{var o=n(4570);e.exports=o},3685:(e,t,n)=>{var o=n(8171);e.exports=o},4710:(e,t,n)=>{var o=n(498);e.exports=o},3799:(e,t,n)=>{var o=n(8494);e.exports=o},3916:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},1851:(e,t,n)=>{var o=n(941);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},8479:e=>{e.exports=function(){}},5743:e=>{e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},6059:(e,t,n)=>{var o=n(941);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},1860:(e,t,n)=>{"use strict";var o=n(9678),r=n(9413),a=n(3057);e.exports=function(e){for(var t=o(this),n=a(t.length),i=arguments.length,l=r(i>1?arguments[1]:void 0,n),s=i>2?arguments[2]:void 0,c=void 0===s?n:r(s,n);c>l;)t[l++]=e;return t}},6837:(e,t,n)=>{"use strict";var o=n(3610).forEach,r=n(4194),a=n(5486),i=r("forEach"),l=a("forEach");e.exports=i&&l?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}},1354:(e,t,n)=>{"use strict";var o=n(6843),r=n(9678),a=n(5196),i=n(6782),l=n(3057),s=n(5449),c=n(2902);e.exports=function(e){var t,n,u,d,p,f,v=r(e),g="function"==typeof this?this:Array,m=arguments.length,h=m>1?arguments[1]:void 0,b=void 0!==h,y=c(v),x=0;if(b&&(h=o(h,m>2?arguments[2]:void 0,2)),null==y||g==Array&&i(y))for(n=new g(t=l(v.length));t>x;x++)f=b?h(v[x],x):v[x],s(n,x,f);else for(p=(d=y.call(v)).next,n=new g;!(u=p.call(d)).done;x++)f=b?a(d,h,[u.value,x],!0):u.value,s(n,x,f);return n.length=x,n}},1692:(e,t,n)=>{var o=n(4529),r=n(3057),a=n(9413),i=function(e){return function(t,n,i){var l,s=o(t),c=r(s.length),u=a(i,c);if(e&&n!=n){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},3610:(e,t,n)=>{var o=n(6843),r=n(7026),a=n(9678),i=n(3057),l=n(4692),s=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=5==e||d;return function(f,v,g,m){for(var h,b,y=a(f),x=r(y),w=o(v,g,3),_=i(x.length),k=0,S=m||l,T=t?S(f,_):n?S(f,0):void 0;_>k;k++)if((p||k in x)&&(b=w(h=x[k],k,y),e))if(t)T[k]=b;else if(b)switch(e){case 3:return!0;case 5:return h;case 6:return k;case 2:s.call(T,h)}else if(u)return!1;return d?-1:c||u?u:T}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},568:(e,t,n)=>{var o=n(5981),r=n(9813),a=n(3385),i=r("species");e.exports=function(e){return a>=51||!o((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4194:(e,t,n)=>{"use strict";var o=n(5981);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},5486:(e,t,n)=>{var o=n(5746),r=n(5981),a=n(7457),i=Object.defineProperty,l={},s=function(e){throw e};e.exports=function(e,t){if(a(l,e))return l[e];t||(t={});var n=[][e],c=!!a(t,"ACCESSORS")&&t.ACCESSORS,u=a(t,0)?t[0]:s,d=a(t,1)?t[1]:void 0;return l[e]=!!n&&!r((function(){if(c&&!o)return!0;var e={length:-1};c?i(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,u,d)}))}},6499:(e,t,n)=>{var o=n(3916),r=n(9678),a=n(7026),i=n(3057),l=function(e){return function(t,n,l,s){o(n);var c=r(t),u=a(c),d=i(c.length),p=e?d-1:0,f=e?-1:1;if(l<2)for(;;){if(p in u){s=u[p],p+=f;break}if(p+=f,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=f)p in u&&(s=n(s,u[p],p,c));return s}};e.exports={left:l(!1),right:l(!0)}},4692:(e,t,n)=>{var o=n(941),r=n(1052),a=n(9813)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?o(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},5196:(e,t,n)=>{var o=n(6059);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&o(a.call(e)),t}}},1385:(e,t,n)=>{var o=n(9813)("iterator"),r=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){r=!0}};i[o]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a={};a[o]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},2532:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},9697:(e,t,n)=>{var o=n(2885),r=n(2532),a=n(9813)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=o?r:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},5616:(e,t,n)=>{"use strict";var o=n(5988).f,r=n(9290),a=n(7524),i=n(6843),l=n(5743),s=n(3091),c=n(7771),u=n(4431),d=n(5746),p=n(1647).fastKey,f=n(5402),v=f.set,g=f.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,o){l(e,u,t),v(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=o&&s(o,e[c],e,n)})),f=g(t),m=function(e,t,n){var o,r,a=f(e),i=h(e,t);return i?i.value=n:(a.last=i={index:r=p(t,!0),key:t,value:n,previous:o=a.last,next:void 0,removed:!1},a.first||(a.first=i),o&&(o.next=i),d?a.size++:e.size++,"F"!==r&&(a.index[r]=i)),e},h=function(e,t){var n,o=f(e),r=p(t);if("F"!==r)return o.index[r];for(n=o.first;n;n=n.next)if(n.key==t)return n};return a(u.prototype,{clear:function(){for(var e=f(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,n=f(t),o=h(t,e);if(o){var r=o.next,a=o.previous;delete n.index[o.index],o.removed=!0,a&&(a.next=r),r&&(r.previous=a),n.first==o&&(n.first=r),n.last==o&&(n.last=a),d?n.size--:t.size--}return!!o},forEach:function(e){for(var t,n=f(this),o=i(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!h(this,e)}}),a(u.prototype,n?{get:function(e){var t=h(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),d&&o(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,n){var o=t+" Iterator",r=g(t),a=g(o);c(e,t,(function(e,t){v(this,{type:o,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},4683:(e,t,n)=>{"use strict";var o=n(6887),r=n(1899),a=n(1647),i=n(5981),l=n(2029),s=n(3091),c=n(5743),u=n(941),d=n(904),p=n(5988).f,f=n(3610).forEach,v=n(5746),g=n(5402),m=g.set,h=g.getterFor;e.exports=function(e,t,n){var g,b=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),x=b?"set":"add",w=r[e],_=w&&w.prototype,k={};if(v&&"function"==typeof w&&(y||_.forEach&&!i((function(){(new w).entries().next()})))){g=t((function(t,n){m(c(t,g,e),{type:e,collection:new w}),null!=n&&s(n,t[x],t,b)}));var S=h(e);f(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in _)||y&&"clear"==e||l(g.prototype,e,(function(n,o){var r=S(this).collection;if(!t&&y&&!u(n))return"get"==e&&void 0;var a=r[e](0===n?0:n,o);return t?this:a}))})),y||p(g.prototype,"size",{configurable:!0,get:function(){return S(this).collection.size}})}else g=n.getConstructor(t,e,b,x),a.REQUIRED=!0;return d(g,e,!1,!0),k[e]=g,o({global:!0,forced:!0},k),y||n.setStrong(g,e,b),g}},7772:(e,t,n)=>{var o=n(9813)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},4160:(e,t,n)=>{var o=n(5981);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},1046:(e,t,n)=>{"use strict";var o=n(5143).IteratorPrototype,r=n(9290),a=n(1887),i=n(904),l=n(2077),s=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=r(o,{next:a(1,n)}),i(e,c,!1,!0),l[c]=s,e}},2029:(e,t,n)=>{var o=n(5746),r=n(5988),a=n(1887);e.exports=o?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},1887:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5449:(e,t,n)=>{"use strict";var o=n(6935),r=n(5988),a=n(1887);e.exports=function(e,t,n){var i=o(t);i in e?r.f(e,i,a(0,n)):e[i]=n}},7771:(e,t,n)=>{"use strict";var o=n(6887),r=n(1046),a=n(249),i=n(8929),l=n(904),s=n(2029),c=n(9754),u=n(9813),d=n(2529),p=n(2077),f=n(5143),v=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,m=u("iterator"),h="keys",b="values",y="entries",x=function(){return this};e.exports=function(e,t,n,u,f,w,_){r(n,t,u);var k,S,T,C=function(e){if(e===f&&I)return I;if(!g&&e in L)return L[e];switch(e){case h:case b:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",A=!1,L=e.prototype,E=L[m]||L["@@iterator"]||f&&L[f],I=!g&&E||C(f),M="Array"==t&&L.entries||E;if(M&&(k=a(M.call(new e)),v!==Object.prototype&&k.next&&(d||a(k)===v||(i?i(k,v):"function"!=typeof k[m]&&s(k,m,x)),l(k,O,!0,!0),d&&(p[O]=x))),f==b&&E&&E.name!==b&&(A=!0,I=function(){return E.call(this)}),d&&!_||L[m]===I||s(L,m,I),p[t]=I,f)if(S={values:C(b),keys:w?I:C(h),entries:C(y)},_)for(T in S)(g||A||!(T in L))&&c(L,T,S[T]);else o({target:t,proto:!0,forced:g||A},S);return S}},6349:(e,t,n)=>{var o=n(4058),r=n(7457),a=n(1477),i=n(5988).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});r(t,e)||i(t,e,{value:a.f(e)})}},5746:(e,t,n)=>{var o=n(5981);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1333:(e,t,n)=>{var o=n(1899),r=n(941),a=o.document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},3281:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2749:(e,t,n)=>{var o=n(2861);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(o)},2861:(e,t,n)=>{var o=n(626);e.exports=o("navigator","userAgent")||""},3385:(e,t,n)=>{var o,r,a=n(1899),i=n(2861),l=a.process,s=l&&l.versions,c=s&&s.v8;c?r=(o=c.split("."))[0]+o[1]:i&&(!(o=i.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=i.match(/Chrome\/(\d+)/))&&(r=o[1]),e.exports=r&&+r},5703:(e,t,n)=>{var o=n(4058);e.exports=function(e){return o[e+"Prototype"]}},6759:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6887:(e,t,n)=>{"use strict";var o=n(1899),r=n(9677).f,a=n(7252),i=n(4058),l=n(6843),s=n(2029),c=n(7457),u=function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,d,p,f,v,g,m,h,b=e.target,y=e.global,x=e.stat,w=e.proto,_=y?o:x?o[b]:(o[b]||{}).prototype,k=y?i:i[b]||(i[b]={}),S=k.prototype;for(p in t)n=!a(y?p:b+(x?".":"#")+p,e.forced)&&_&&c(_,p),v=k[p],n&&(g=e.noTargetGet?(h=r(_,p))&&h.value:_[p]),f=n&&g?g:t[p],n&&typeof v==typeof f||(m=e.bind&&n?l(f,o):e.wrap&&n?u(f):w&&"function"==typeof f?l(Function.call,f):f,(e.sham||f&&f.sham||v&&v.sham)&&s(m,"sham",!0),k[p]=m,w&&(c(i,d=b+"Prototype")||s(i,d,{}),i[d][p]=f,e.real&&S&&!S[p]&&s(S,p,f)))}},5981:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},3092:(e,t,n)=>{"use strict";var o=n(1052),r=n(3057),a=n(6843),i=function(e,t,n,l,s,c,u,d){for(var p,f=s,v=0,g=!!u&&a(u,d,3);v<l;){if(v in n){if(p=g?g(n[v],v,t):n[v],c>0&&o(p))f=i(e,t,p,r(p.length),f,c-1)-1;else{if(f>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[f]=p}f++}v++}return f};e.exports=i},5602:(e,t,n)=>{var o=n(5981);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},6843:(e,t,n)=>{var o=n(3916);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},626:(e,t,n)=>{var o=n(4058),r=n(1899),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(o[e])||a(r[e]):o[e]&&o[e][t]||r[e]&&r[e][t]}},2902:(e,t,n)=>{var o=n(9697),r=n(2077),a=n(9813)("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||r[o(e)]}},1899:(e,t,n)=>{var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||Function("return this")()},7457:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},7748:e=>{e.exports={}},4845:(e,t,n)=>{var o=n(1899);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},5463:(e,t,n)=>{var o=n(626);e.exports=o("document","documentElement")},2840:(e,t,n)=>{var o=n(5746),r=n(5981),a=n(1333);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},7026:(e,t,n)=>{var o=n(5981),r=n(2532),a="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},1302:(e,t,n)=>{var o=n(3030),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return r.call(e)}),e.exports=o.inspectSource},1647:(e,t,n)=>{var o=n(7748),r=n(941),a=n(7457),i=n(5988).f,l=n(9418),s=n(5602),c=l("meta"),u=0,d=Object.isExtensible||function(){return!0},p=function(e){i(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,c)){if(!d(e))return"F";if(!t)return"E";p(e)}return e[c].objectID},getWeakData:function(e,t){if(!a(e,c)){if(!d(e))return!0;if(!t)return!1;p(e)}return e[c].weakData},onFreeze:function(e){return s&&f.REQUIRED&&d(e)&&!a(e,c)&&p(e),e}};o[c]=!0},5402:(e,t,n)=>{var o,r,a,i=n(8019),l=n(1899),s=n(941),c=n(2029),u=n(7457),d=n(4262),p=n(7748),f=l.WeakMap;if(i){var v=new f,g=v.get,m=v.has,h=v.set;o=function(e,t){return h.call(v,e,t),t},r=function(e){return g.call(v,e)||{}},a=function(e){return m.call(v,e)}}else{var b=d("state");p[b]=!0,o=function(e,t){return c(e,b,t),t},r=function(e){return u(e,b)?e[b]:{}},a=function(e){return u(e,b)}}e.exports={set:o,get:r,has:a,enforce:function(e){return a(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},6782:(e,t,n)=>{var o=n(9813),r=n(2077),a=o("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},1052:(e,t,n)=>{var o=n(2532);e.exports=Array.isArray||function(e){return"Array"==o(e)}},7252:(e,t,n)=>{var o=n(5981),r=/#|\.prototype\./,a=function(e,t){var n=l[i(e)];return n==c||n!=s&&("function"==typeof t?o(t):!!t)},i=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},l=a.data={},s=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},941:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},2529:e=>{e.exports=!0},685:(e,t,n)=>{var o=n(941),r=n(2532),a=n(9813)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},3091:(e,t,n)=>{var o=n(6059),r=n(6782),a=n(3057),i=n(6843),l=n(2902),s=n(5196),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,d){var p,f,v,g,m,h,b,y=i(t,n,u?2:1);if(d)p=e;else{if("function"!=typeof(f=l(e)))throw TypeError("Target is not iterable");if(r(f)){for(v=0,g=a(e.length);g>v;v++)if((m=u?y(o(b=e[v])[0],b[1]):y(e[v]))&&m instanceof c)return m;return new c(!1)}p=f.call(e)}for(h=p.next;!(b=h.call(p)).done;)if("object"==typeof(m=s(p,y,b.value,u))&&m&&m instanceof c)return m;return new c(!1)}).stop=function(e){return new c(!0,e)}},5143:(e,t,n)=>{"use strict";var o,r,a,i=n(249),l=n(2029),s=n(7457),c=n(9813),u=n(2529),d=c("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(r=i(i(a)))!==Object.prototype&&(o=r):p=!0),null==o&&(o={}),u||s(o,d)||l(o,d,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:p}},2077:e=>{e.exports={}},6132:(e,t,n)=>{var o,r,a,i,l,s,c,u,d=n(1899),p=n(9677).f,f=n(2532),v=n(2941).set,g=n(2749),m=d.MutationObserver||d.WebKitMutationObserver,h=d.process,b=d.Promise,y="process"==f(h),x=p(d,"queueMicrotask"),w=x&&x.value;w||(o=function(){var e,t;for(y&&(e=h.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(e){throw r?i():a=void 0,e}}a=void 0,e&&e.enter()},y?i=function(){h.nextTick(o)}:m&&!g?(l=!0,s=document.createTextNode(""),new m(o).observe(s,{characterData:!0}),i=function(){s.data=l=!l}):b&&b.resolve?(c=b.resolve(void 0),u=c.then,i=function(){u.call(c,o)}):i=function(){v.call(d,o)}),e.exports=w||function(e){var t={fn:e,next:void 0};a&&(a.next=t),r||(r=t,i()),a=t}},9297:(e,t,n)=>{var o=n(1899);e.exports=o.Promise},2497:(e,t,n)=>{var o=n(5981);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},8019:(e,t,n)=>{var o=n(1899),r=n(1302),a=o.WeakMap;e.exports="function"==typeof a&&/native code/.test(r(a))},9520:(e,t,n)=>{"use strict";var o=n(3916),r=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},344:(e,t,n)=>{var o=n(685);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},9806:(e,t,n)=>{var o=n(1899),r=n(4853).trim,a=n(3483),i=o.parseInt,l=/^[+-]?0[Xx]/,s=8!==i(a+"08")||22!==i(a+"0x16");e.exports=s?function(e,t){var n=r(String(e));return i(n,t>>>0||(l.test(n)?16:10))}:i},4420:(e,t,n)=>{"use strict";var o=n(5746),r=n(5981),a=n(4771),i=n(7857),l=n(6760),s=n(9678),c=n(7026),u=Object.assign,d=Object.defineProperty;e.exports=!u||r((function(){if(o&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||a(u({},t)).join("")!=r}))?function(e,t){for(var n=s(e),r=arguments.length,u=1,d=i.f,p=l.f;r>u;)for(var f,v=c(arguments[u++]),g=d?a(v).concat(d(v)):a(v),m=g.length,h=0;m>h;)f=g[h++],o&&!p.call(v,f)||(n[f]=v[f]);return n}:u},9290:(e,t,n)=>{var o,r=n(6059),a=n(9938),i=n(6759),l=n(7748),s=n(5463),c=n(1333),u=n(4262),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"</"+"script>"},v=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;v=o?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var n=i.length;n--;)delete v.prototype[i[n]];return v()};l[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=r(e),n=new p,p.prototype=null,n[d]=e):n=v(),void 0===t?n:a(n,t)}},9938:(e,t,n)=>{var o=n(5746),r=n(5988),a=n(6059),i=n(4771);e.exports=o?Object.defineProperties:function(e,t){a(e);for(var n,o=i(t),l=o.length,s=0;l>s;)r.f(e,n=o[s++],t[n]);return e}},5988:(e,t,n)=>{var o=n(5746),r=n(2840),a=n(6059),i=n(6935),l=Object.defineProperty;t.f=o?l:function(e,t,n){if(a(e),t=i(t,!0),a(n),r)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},9677:(e,t,n)=>{var o=n(5746),r=n(6760),a=n(1887),i=n(4529),l=n(6935),s=n(7457),c=n(2840),u=Object.getOwnPropertyDescriptor;t.f=o?u:function(e,t){if(e=i(e),t=l(t,!0),c)try{return u(e,t)}catch(e){}if(s(e,t))return a(!r.f.call(e,t),e[t])}},684:(e,t,n)=>{var o=n(4529),r=n(946).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?function(e){try{return r(e)}catch(e){return i.slice()}}(e):r(o(e))}},946:(e,t,n)=>{var o=n(5629),r=n(6759).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},7857:(e,t)=>{t.f=Object.getOwnPropertySymbols},249:(e,t,n)=>{var o=n(7457),r=n(9678),a=n(4262),i=n(4160),l=a("IE_PROTO"),s=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=r(e),o(e,l)?e[l]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},5629:(e,t,n)=>{var o=n(7457),r=n(4529),a=n(1692).indexOf,i=n(7748);e.exports=function(e,t){var n,l=r(e),s=0,c=[];for(n in l)!o(i,n)&&o(l,n)&&c.push(n);for(;t.length>s;)o(l,n=t[s++])&&(~a(c,n)||c.push(n));return c}},4771:(e,t,n)=>{var o=n(5629),r=n(6759);e.exports=Object.keys||function(e){return o(e,r)}},6760:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!n.call({1:2},1);t.f=r?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},8929:(e,t,n)=>{var o=n(6059),r=n(1851);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,a){return o(n),r(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},8810:(e,t,n)=>{var o=n(5746),r=n(4771),a=n(4529),i=n(6760).f,l=function(e){return function(t){for(var n,l=a(t),s=r(l),c=s.length,u=0,d=[];c>u;)n=s[u++],o&&!i.call(l,n)||d.push(e?[n,l[n]]:l[n]);return d}};e.exports={entries:l(!0),values:l(!1)}},5623:(e,t,n)=>{"use strict";var o=n(2885),r=n(9697);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},1136:(e,t,n)=>{var o=n(626),r=n(946),a=n(7857),i=n(6059);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(i(e)),n=a.f;return n?t.concat(n(e)):t}},4058:e=>{e.exports={}},2:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},6584:(e,t,n)=>{var o=n(6059),r=n(941),a=n(9520);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},7524:(e,t,n)=>{var o=n(9754);e.exports=function(e,t,n){for(var r in t)n&&n.unsafe&&e[r]?e[r]=t[r]:o(e,r,t[r],n);return e}},9754:(e,t,n)=>{var o=n(2029);e.exports=function(e,t,n,r){r&&r.enumerable?e[t]=n:o(e,t,n)}},8219:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},4911:(e,t,n)=>{var o=n(1899),r=n(2029);e.exports=function(e,t){try{r(o,e,t)}catch(n){o[e]=t}return t}},4431:(e,t,n)=>{"use strict";var o=n(626),r=n(5988),a=n(9813),i=n(5746),l=a("species");e.exports=function(e){var t=o(e),n=r.f;i&&t&&!t[l]&&n(t,l,{configurable:!0,get:function(){return this}})}},904:(e,t,n)=>{var o=n(2885),r=n(5988).f,a=n(2029),i=n(7457),l=n(5623),s=n(9813)("toStringTag");e.exports=function(e,t,n,c){if(e){var u=n?e:e.prototype;i(u,s)||r(u,s,{configurable:!0,value:t}),c&&!o&&a(u,"toString",l)}}},4262:(e,t,n)=>{var o=n(8726),r=n(9418),a=o("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},3030:(e,t,n)=>{var o=n(1899),r=n(4911),a="__core-js_shared__",i=o[a]||r(a,{});e.exports=i},8726:(e,t,n)=>{var o=n(2529),r=n(3030);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:o?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},487:(e,t,n)=>{var o=n(6059),r=n(3916),a=n(9813)("species");e.exports=function(e,t){var n,i=o(e).constructor;return void 0===i||null==(n=o(i)[a])?t:r(n)}},4620:(e,t,n)=>{var o=n(8459),r=n(8219),a=function(e){return function(t,n){var a,i,l=String(r(t)),s=o(n),c=l.length;return s<0||s>=c?e?"":void 0:(a=l.charCodeAt(s))<55296||a>56319||s+1===c||(i=l.charCodeAt(s+1))<56320||i>57343?e?l.charAt(s):a:e?l.slice(s,s+2):i-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},6178:(e,t,n)=>{"use strict";var o=n(8459),r=n(8219);e.exports="".repeat||function(e){var t=String(r(this)),n="",a=o(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},3093:(e,t,n)=>{var o=n(5981),r=n(3483);e.exports=function(e){return o((function(){return!!r[e]()||"​…᠎"!="​…᠎"[e]()||r[e].name!==e}))}},4853:(e,t,n)=>{var o=n(8219),r="["+n(3483)+"]",a=RegExp("^"+r+r+"*"),i=RegExp(r+r+"*$"),l=function(e){return function(t){var n=String(o(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(i,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},2941:(e,t,n)=>{var o,r,a,i=n(1899),l=n(5981),s=n(2532),c=n(6843),u=n(5463),d=n(1333),p=n(2749),f=i.location,v=i.setImmediate,g=i.clearImmediate,m=i.process,h=i.MessageChannel,b=i.Dispatch,y=0,x={},w="onreadystatechange",_=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},k=function(e){return function(){_(e)}},S=function(e){_(e.data)},T=function(e){i.postMessage(e+"",f.protocol+"//"+f.host)};v&&g||(v=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return x[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},o(y),y},g=function(e){delete x[e]},"process"==s(m)?o=function(e){m.nextTick(k(e))}:b&&b.now?o=function(e){b.now(k(e))}:h&&!p?(a=(r=new h).port2,r.port1.onmessage=S,o=c(a.postMessage,a,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||l(T)||"file:"===f.protocol?o=w in d("script")?function(e){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),_(e)}}:function(e){setTimeout(k(e),0)}:(o=T,i.addEventListener("message",S,!1))),e.exports={set:v,clear:g}},9413:(e,t,n)=>{var o=n(8459),r=Math.max,a=Math.min;e.exports=function(e,t){var n=o(e);return n<0?r(n+t,0):a(n,t)}},4529:(e,t,n)=>{var o=n(7026),r=n(8219);e.exports=function(e){return o(r(e))}},8459:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},3057:(e,t,n)=>{var o=n(8459),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},9678:(e,t,n)=>{var o=n(8219);e.exports=function(e){return Object(o(e))}},6935:(e,t,n)=>{var o=n(941);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},2885:(e,t,n)=>{var o={};o[n(9813)("toStringTag")]="z",e.exports="[object z]"===String(o)},9418:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},2302:(e,t,n)=>{var o=n(2497);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1477:(e,t,n)=>{var o=n(9813);t.f=o},9813:(e,t,n)=>{var o=n(1899),r=n(8726),a=n(7457),i=n(9418),l=n(2497),s=n(2302),c=r("wks"),u=o.Symbol,d=s?u:u&&u.withoutSetter||i;e.exports=function(e){return a(c,e)||(l&&a(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},3483:e=>{e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},5906:(e,t,n)=>{"use strict";var o=n(6887),r=n(5981),a=n(1052),i=n(941),l=n(9678),s=n(3057),c=n(5449),u=n(4692),d=n(568),p=n(9813),f=n(3385),v=p("isConcatSpreadable"),g=9007199254740991,m="Maximum allowed index exceeded",h=f>=51||!r((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),b=d("concat"),y=function(e){if(!i(e))return!1;var t=e[v];return void 0!==t?!!t:a(e)};o({target:"Array",proto:!0,forced:!h||!b},{concat:function(e){var t,n,o,r,a,i=l(this),d=u(i,0),p=0;for(t=-1,o=arguments.length;t<o;t++)if(y(a=-1===t?i:arguments[t])){if(p+(r=s(a.length))>g)throw TypeError(m);for(n=0;n<r;n++,p++)n in a&&c(d,p,a[n])}else{if(p>=g)throw TypeError(m);c(d,p++,a)}return d.length=p,d}})},8851:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).every,a=n(4194),i=n(5486),l=a("every"),s=i("every");o({target:"Array",proto:!0,forced:!l||!s},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},290:(e,t,n)=>{var o=n(6887),r=n(1860),a=n(8479);o({target:"Array",proto:!0},{fill:r}),a("fill")},1501:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).filter,a=n(568),i=n(5486),l=a("filter"),s=i("filter");o({target:"Array",proto:!0,forced:!l||!s},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},833:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).find,a=n(8479),i=n(5486),l="find",s=!0,c=i(l);l in[]&&Array(1).find((function(){s=!1})),o({target:"Array",proto:!0,forced:s||!c},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a(l)},2065:(e,t,n)=>{"use strict";var o=n(6887),r=n(3092),a=n(9678),i=n(3057),l=n(3916),s=n(4692);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),o=i(n.length);return l(e),(t=s(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},2437:(e,t,n)=>{"use strict";var o=n(6887),r=n(6837);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},3242:(e,t,n)=>{var o=n(6887),r=n(1354);o({target:"Array",stat:!0,forced:!n(1385)((function(e){Array.from(e)}))},{from:r})},7690:(e,t,n)=>{"use strict";var o=n(6887),r=n(1692).includes,a=n(8479);o({target:"Array",proto:!0,forced:!n(5486)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},9076:(e,t,n)=>{"use strict";var o=n(6887),r=n(1692).indexOf,a=n(4194),i=n(5486),l=[].indexOf,s=!!l&&1/[1].indexOf(1,-0)<0,c=a("indexOf"),u=i("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:s||!c||!u},{indexOf:function(e){return s?l.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:void 0)}})},2737:(e,t,n)=>{n(6887)({target:"Array",stat:!0},{isArray:n(1052)})},6274:(e,t,n)=>{"use strict";var o=n(4529),r=n(8479),a=n(2077),i=n(5402),l=n(7771),s="Array Iterator",c=i.set,u=i.getterFor(s);e.exports=l(Array,"Array",(function(e,t){c(this,{type:s,target:o(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},8787:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).map,a=n(568),i=n(5486),l=a("map"),s=i("map");o({target:"Array",proto:!0,forced:!l||!s},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},1876:(e,t,n)=>{"use strict";var o=n(6887),r=n(6499).left,a=n(4194),i=n(5486),l=a("reduce"),s=i("reduce",{1:0});o({target:"Array",proto:!0,forced:!l||!s},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},186:(e,t,n)=>{"use strict";var o=n(6887),r=n(941),a=n(1052),i=n(9413),l=n(3057),s=n(4529),c=n(5449),u=n(9813),d=n(568),p=n(5486),f=d("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),g=u("species"),m=[].slice,h=Math.max;o({target:"Array",proto:!0,forced:!f||!v},{slice:function(e,t){var n,o,u,d=s(this),p=l(d.length),f=i(e,p),v=i(void 0===t?p:t,p);if(a(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!a(n.prototype)?r(n)&&null===(n=n[g])&&(n=void 0):n=void 0,n===Array||void 0===n))return m.call(d,f,v);for(o=new(void 0===n?Array:n)(h(v-f,0)),u=0;f<v;f++,u++)f in d&&c(o,u,d[f]);return o.length=u,o}})},6026:(e,t,n)=>{"use strict";var o=n(6887),r=n(3610).some,a=n(4194),i=n(5486),l=a("some"),s=i("some");o({target:"Array",proto:!0,forced:!l||!s},{some:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},8611:(e,t,n)=>{"use strict";var o=n(6887),r=n(9413),a=n(8459),i=n(3057),l=n(9678),s=n(4692),c=n(5449),u=n(568),d=n(5486),p=u("splice"),f=d("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,g=Math.min,m=9007199254740991,h="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!p||!f},{splice:function(e,t){var n,o,u,d,p,f,b=l(this),y=i(b.length),x=r(e,y),w=arguments.length;if(0===w?n=o=0:1===w?(n=0,o=y-x):(n=w-2,o=g(v(a(t),0),y-x)),y+n-o>m)throw TypeError(h);for(u=s(b,o),d=0;d<o;d++)(p=x+d)in b&&c(u,d,b[p]);if(u.length=o,n<o){for(d=x;d<y-o;d++)f=d+n,(p=d+o)in b?b[f]=b[p]:delete b[f];for(d=y;d>y-o+n;d--)delete b[d-1]}else if(n>o)for(d=y-o;d>x;d--)f=d+n-1,(p=d+o-1)in b?b[f]=b[p]:delete b[f];for(d=0;d<n;d++)b[d+x]=arguments[d+2];return b.length=y-o+n,u}})},6986:(e,t,n)=>{n(8479)("flatMap")},5160:(e,t,n)=>{n(6887)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},2619:(e,t,n)=>{var o=n(6887),r=n(626),a=n(5981),i=r("JSON","stringify"),l=/[\uD800-\uDFFF]/g,s=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,u=function(e,t,n){var o=n.charAt(t-1),r=n.charAt(t+1);return s.test(e)&&!c.test(r)||c.test(e)&&!s.test(o)?"\\u"+e.charCodeAt(0).toString(16):e},d=a((function(){return'"\\udf06\\ud834"'!==i("\udf06\ud834")||'"\\udead"'!==i("\udead")}));i&&o({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,n){var o=i.apply(null,arguments);return"string"==typeof o?o.replace(l,u):o}})},7501:(e,t,n)=>{"use strict";var o=n(4683),r=n(5616);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r)},9221:(e,t,n)=>{var o=n(6887),r=n(4420);o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},4979:(e,t,n)=>{var o=n(6887),r=n(5746);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(9938)})},6450:(e,t,n)=>{var o=n(6887),r=n(5746);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(5988).f})},1078:(e,t,n)=>{var o=n(6887),r=n(8810).entries;o({target:"Object",stat:!0},{entries:function(e){return r(e)}})},8387:(e,t,n)=>{var o=n(6887),r=n(3091),a=n(5449);o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){a(t,e,n)}),void 0,!0),t}})},6924:(e,t,n)=>{var o=n(6887),r=n(5981),a=n(4529),i=n(9677).f,l=n(5746),s=r((function(){i(1)}));o({target:"Object",stat:!0,forced:!l||s,sham:!l},{getOwnPropertyDescriptor:function(e,t){return i(a(e),t)}})},8482:(e,t,n)=>{var o=n(6887),r=n(5746),a=n(1136),i=n(4529),l=n(9677),s=n(5449);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=i(e),r=l.f,c=a(o),u={},d=0;c.length>d;)void 0!==(n=r(o,t=c[d++]))&&s(u,t,n);return u}})},9816:(e,t,n)=>{var o=n(6887),r=n(5981),a=n(684).f;o({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},1724:(e,t,n)=>{var o=n(6887),r=n(9678),a=n(4771);o({target:"Object",stat:!0,forced:n(5981)((function(){a(1)}))},{keys:function(e){return a(r(e))}})},5967:()=>{},6614:(e,t,n)=>{var o=n(6887),r=n(8810).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},4038:(e,t,n)=>{var o=n(6887),r=n(9806);o({global:!0,forced:parseInt!=r},{parseInt:r})},4560:(e,t,n)=>{"use strict";var o=n(6887),r=n(3916),a=n(9520),i=n(2),l=n(3091);o({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),o=n.resolve,s=n.reject,c=i((function(){var n=r(t.resolve),a=[],i=0,s=1;l(e,(function(e){var r=i++,l=!1;a.push(void 0),s++,n.call(t,e).then((function(e){l||(l=!0,a[r]={status:"fulfilled",value:e},--s||o(a))}),(function(e){l||(l=!0,a[r]={status:"rejected",reason:e},--s||o(a))}))})),--s||o(a)}));return c.error&&s(c.value),n.promise}})},4349:(e,t,n)=>{"use strict";var o=n(6887),r=n(2529),a=n(9297),i=n(5981),l=n(626),s=n(487),c=n(6584),u=n(9754);o({target:"Promise",proto:!0,real:!0,forced:!!a&&i((function(){a.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,l("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),r||"function"!=typeof a||a.prototype.finally||u(a.prototype,"finally",l("Promise").prototype.finally)},8881:(e,t,n)=>{"use strict";var o,r,a,i,l=n(6887),s=n(2529),c=n(1899),u=n(626),d=n(9297),p=n(9754),f=n(7524),v=n(904),g=n(4431),m=n(941),h=n(3916),b=n(5743),y=n(2532),x=n(1302),w=n(3091),_=n(1385),k=n(487),S=n(2941).set,T=n(6132),C=n(6584),O=n(4845),A=n(9520),L=n(2),E=n(5402),I=n(7252),M=n(9813),z=n(3385),R=M("species"),U="Promise",N=E.get,D=E.set,P=E.getterFor(U),V=d,G=c.TypeError,j=c.document,B=c.process,H=u("fetch"),F=A.f,Y=F,q="process"==y(B),$=!!(j&&j.createEvent&&c.dispatchEvent),W="unhandledrejection",K=I(U,(function(){if(!(x(V)!==String(V))){if(66===z)return!0;if(!q&&"function"!=typeof PromiseRejectionEvent)return!0}if(s&&!V.prototype.finally)return!0;if(z>=51&&/native code/.test(V))return!1;var e=V.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[R]=t,!(e.then((function(){}))instanceof t)})),X=K||!_((function(e){V.all(e).catch((function(){}))})),Z=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var o=t.reactions;T((function(){for(var r=t.value,a=1==t.state,i=0;o.length>i;){var l,s,c,u=o[i++],d=a?u.ok:u.fail,p=u.resolve,f=u.reject,v=u.domain;try{d?(a||(2===t.rejection&&ne(e,t),t.rejection=1),!0===d?l=r:(v&&v.enter(),l=d(r),v&&(v.exit(),c=!0)),l===u.promise?f(G("Promise-chain cycle")):(s=Z(l))?s.call(l,p,f):p(l)):f(r)}catch(e){v&&!c&&v.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ee(e,t)}))}},Q=function(e,t,n){var o,r;$?((o=j.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),c.dispatchEvent(o)):o={promise:t,reason:n},(r=c["on"+e])?r(o):e===W&&O("Unhandled promise rejection",n)},ee=function(e,t){S.call(c,(function(){var n,o=t.value;if(te(t)&&(n=L((function(){q?B.emit("unhandledRejection",o,e):Q(W,e,o)})),t.rejection=q||te(t)?2:1,n.error))throw n.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e,t){S.call(c,(function(){q?B.emit("rejectionHandled",e):Q("rejectionhandled",e,t.value)}))},oe=function(e,t,n,o){return function(r){e(t,n,r,o)}},re=function(e,t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=2,J(e,t,!0))},ae=function(e,t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(e===n)throw G("Promise can't be resolved itself");var r=Z(n);r?T((function(){var o={done:!1};try{r.call(n,oe(ae,e,o,t),oe(re,e,o,t))}catch(n){re(e,o,n,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};K&&(V=function(e){b(this,V,U),h(e),o.call(this);var t=N(this);try{e(oe(ae,this,t),oe(re,this,t))}catch(e){re(this,t,e)}},(o=function(e){D(this,{type:U,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(V.prototype,{then:function(e,t){var n=P(this),o=F(k(this,V));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=q?B.domain:void 0,n.parent=!0,n.reactions.push(o),0!=n.state&&J(this,n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new o,t=N(e);this.promise=e,this.resolve=oe(ae,e,t),this.reject=oe(re,e,t)},A.f=F=function(e){return e===V||e===a?new r(e):Y(e)},s||"function"!=typeof d||(i=d.prototype.then,p(d.prototype,"then",(function(e,t){var n=this;return new V((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&l({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return C(V,H.apply(c,arguments))}}))),l({global:!0,wrap:!0,forced:K},{Promise:V}),v(V,U,!1,!0),g(U),a=u(U),l({target:U,stat:!0,forced:K},{reject:function(e){var t=F(this);return t.reject.call(void 0,e),t.promise}}),l({target:U,stat:!0,forced:s||K},{resolve:function(e){return C(s&&this===a?V:this,e)}}),l({target:U,stat:!0,forced:X},{all:function(e){var t=this,n=F(t),o=n.resolve,r=n.reject,a=L((function(){var n=h(t.resolve),a=[],i=0,l=1;w(e,(function(e){var s=i++,c=!1;a.push(void 0),l++,n.call(t,e).then((function(e){c||(c=!0,a[s]=e,--l||o(a))}),r)})),--l||o(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=F(t),o=n.reject,r=L((function(){var r=h(t.resolve);w(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},9008:(e,t,n)=>{"use strict";var o=n(4683),r=n(5616);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r)},1035:(e,t,n)=>{"use strict";var o=n(6887),r=n(344),a=n(8219);o({target:"String",proto:!0,forced:!n(7772)("includes")},{includes:function(e){return!!~String(a(this)).indexOf(r(e),arguments.length>1?arguments[1]:void 0)}})},7971:(e,t,n)=>{"use strict";var o=n(4620).charAt,r=n(5402),a=n(7771),i="String Iterator",l=r.set,s=r.getterFor(i);a(String,"String",(function(e){l(this,{type:i,string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},986:(e,t,n)=>{n(6887)({target:"String",proto:!0},{repeat:n(6178)})},7398:(e,t,n)=>{"use strict";var o=n(6887),r=n(4853).trim;o({target:"String",proto:!0,forced:n(3093)("trim")},{trim:function(){return r(this)}})},5824:(e,t,n)=>{"use strict";var o=n(6887),r=n(1899),a=n(626),i=n(2529),l=n(5746),s=n(2497),c=n(2302),u=n(5981),d=n(7457),p=n(1052),f=n(941),v=n(6059),g=n(9678),m=n(4529),h=n(6935),b=n(1887),y=n(9290),x=n(4771),w=n(946),_=n(684),k=n(7857),S=n(9677),T=n(5988),C=n(6760),O=n(2029),A=n(9754),L=n(8726),E=n(4262),I=n(7748),M=n(9418),z=n(9813),R=n(1477),U=n(6349),N=n(904),D=n(5402),P=n(3610).forEach,V=E("hidden"),G="Symbol",j=z("toPrimitive"),B=D.set,H=D.getterFor(G),F=Object.prototype,Y=r.Symbol,q=a("JSON","stringify"),$=S.f,W=T.f,K=_.f,X=C.f,Z=L("symbols"),J=L("op-symbols"),Q=L("string-to-symbol-registry"),ee=L("symbol-to-string-registry"),te=L("wks"),ne=r.QObject,oe=!ne||!ne.prototype||!ne.prototype.findChild,re=l&&u((function(){return 7!=y(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=$(F,t);o&&delete F[t],W(e,t,n),o&&e!==F&&W(F,t,o)}:W,ae=function(e,t){var n=Z[e]=y(Y.prototype);return B(n,{type:G,tag:e,description:t}),l||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},le=function(e,t,n){e===F&&le(J,t,n),v(e);var o=h(t,!0);return v(n),d(Z,o)?(n.enumerable?(d(e,V)&&e[V][o]&&(e[V][o]=!1),n=y(n,{enumerable:b(0,!1)})):(d(e,V)||W(e,V,b(1,{})),e[V][o]=!0),re(e,o,n)):W(e,o,n)},se=function(e,t){v(e);var n=m(t),o=x(n).concat(pe(n));return P(o,(function(t){l&&!ce.call(n,t)||le(e,t,n[t])})),e},ce=function(e){var t=h(e,!0),n=X.call(this,t);return!(this===F&&d(Z,t)&&!d(J,t))&&(!(n||!d(this,t)||!d(Z,t)||d(this,V)&&this[V][t])||n)},ue=function(e,t){var n=m(e),o=h(t,!0);if(n!==F||!d(Z,o)||d(J,o)){var r=$(n,o);return!r||!d(Z,o)||d(n,V)&&n[V][o]||(r.enumerable=!0),r}},de=function(e){var t=K(m(e)),n=[];return P(t,(function(e){d(Z,e)||d(I,e)||n.push(e)})),n},pe=function(e){var t=e===F,n=K(t?J:m(e)),o=[];return P(n,(function(e){!d(Z,e)||t&&!d(F,e)||o.push(Z[e])})),o};(s||(A((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=M(e),n=function(e){this===F&&n.call(J,e),d(this,V)&&d(this[V],t)&&(this[V][t]=!1),re(this,t,b(1,e))};return l&&oe&&re(F,t,{configurable:!0,set:n}),ae(t,e)}).prototype,"toString",(function(){return H(this).tag})),A(Y,"withoutSetter",(function(e){return ae(M(e),e)})),C.f=ce,T.f=le,S.f=ue,w.f=_.f=de,k.f=pe,R.f=function(e){return ae(z(e),e)},l&&(W(Y.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),i||A(F,"propertyIsEnumerable",ce,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:Y}),P(x(te),(function(e){U(e)})),o({target:G,stat:!0,forced:!s},{for:function(e){var t=String(e);if(d(Q,t))return Q[t];var n=Y(t);return Q[t]=n,ee[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(ee,e))return ee[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),o({target:"Object",stat:!0,forced:!s,sham:!l},{create:function(e,t){return void 0===t?y(e):se(y(e),t)},defineProperty:le,defineProperties:se,getOwnPropertyDescriptor:ue}),o({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),o({target:"Object",stat:!0,forced:u((function(){k.f(1)}))},{getOwnPropertySymbols:function(e){return k.f(g(e))}}),q)&&o({target:"JSON",stat:!0,forced:!s||u((function(){var e=Y();return"[null]"!=q([e])||"{}"!=q({a:e})||"{}"!=q(Object(e))}))},{stringify:function(e,t,n){for(var o,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(o=t,(f(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!ie(t))return t}),r[1]=t,q.apply(null,r)}});Y.prototype[j]||O(Y.prototype,j,Y.prototype.valueOf),N(Y,G),I[V]=!0},7634:(e,t,n)=>{n(6274);var o=n(3281),r=n(1899),a=n(9697),i=n(2029),l=n(2077),s=n(9813)("toStringTag");for(var c in o){var u=r[c],d=u&&u.prototype;d&&a(d)!==s&&i(d,s,c),l[c]=l.Array}},1249:(e,t,n)=>{var o=n(6887),r=n(1899),a=n(2861),i=[].slice,l=function(e){return function(t,n){var o=arguments.length>2,r=o?i.call(arguments,2):void 0;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(a)},{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},7698:(e,t,n)=>{var o=n(4493);e.exports=o},3363:(e,t,n)=>{var o=n(4034);e.exports=o},9216:(e,t,n)=>{var o=n(9324);e.exports=o},6668:(e,t,n)=>{var o=n(5909);e.exports=o},7784:(e,t,n)=>{var o=n(1103);e.exports=o},8065:(e,t,n)=>{var o=n(6043);e.exports=o},9455:(e,t,n)=>{var o=n(3160);e.exports=o},9743:(e,t,n)=>{var o=n(446);e.exports=o},1955:(e,t,n)=>{var o=n(2480);e.exports=o},1577:(e,t,n)=>{var o=n(2236);e.exports=o},9020:(e,t,n)=>{var o=n(1968);e.exports=o},6279:(e,t,n)=>{n(7634);var o=n(9216),r=n(9697),a=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===a||e instanceof Array&&t===a.forEach||i.hasOwnProperty(r(e))?o:t}},3778:(e,t,n)=>{var o=n(8557);e.exports=o},9373:(e,t,n)=>{var o=n(4570);e.exports=o},3819:(e,t,n)=>{n(7634);var o=n(6668),r=n(9697),a=Array.prototype,i={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===a||e instanceof Array&&t===a.keys||i.hasOwnProperty(r(e))?o:t}},1798:(e,t,n)=>{var o=n(8287);e.exports=o},2527:(e,t,n)=>{var o=n(8025);e.exports=o},6857:(e,t,n)=>{var o=n(9257);e.exports=o},2073:(e,t,n)=>{var o=n(9601);e.exports=o},5286:(e,t,n)=>{var o=n(8299);e.exports=o},2348:(e,t,n)=>{var o=n(8339);e.exports=o},6361:(e,t,n)=>{var o=n(2774);e.exports=o},8933:(e,t,n)=>{var o=n(4426);e.exports=o},5868:(e,t,n)=>{var o=n(1018);e.exports=o},3383:(e,t,n)=>{var o=n(5999);e.exports=o},7396:(e,t,n)=>{var o=n(7702);e.exports=o},1910:(e,t,n)=>{var o=n(8171);e.exports=o},6209:(e,t,n)=>{var o=n(3081);e.exports=o},3402:(e,t,n)=>{var o=n(7699);e.exports=o},9427:(e,t,n)=>{var o=n(286);e.exports=o},2857:(e,t,n)=>{var o=n(2766);e.exports=o},4477:(e,t,n)=>{var o=n(3288);e.exports=o},9534:(e,t,n)=>{var o=n(498);e.exports=o},3059:(e,t,n)=>{var o=n(8494);e.exports=o},7795:(e,t,n)=>{var o=n(8430);e.exports=o},4888:(e,t,n)=>{var o=n(8524);e.exports=o},7460:(e,t,n)=>{var o=n(2956);e.exports=o},7989:(e,t,n)=>{n(1249);var o=n(4058);e.exports=o.setTimeout},5519:(e,t,n)=>{var o=n(6998);e.exports=o},2045:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".the-app[data-v-a11345ba]{font-size:16px;font-weight:400;color:#000;font-family:Roboto,Microsoft Yahei UI,Arial,sans-serif;line-height:1.5}",""]),e.exports=o},17:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".flex-col{display:flex}.flex-center{justify-content:center;align-items:center}html{box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%}*,:after,:before{box-sizing:inherit;border:0 solid #e2e8f0}:after,:before{text-decoration:inherit;vertical-align:inherit}*{background-repeat:no-repeat;padding:0;margin:0;box-sizing:border-box}audio:not([controls]){display:none;height:0}hr{overflow:visible}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}summary{display:list-item}small{font-size:80%}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted;text-decoration:none}a{background-color:initial;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[type=button],[type=reset],[type=submit] [role=button],button{cursor:pointer}[disabled]{cursor:default}[type=number]{width:auto}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:0;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:0;border:0}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,select{text-transform:none}button,input,select,textarea{background-color:initial;border-style:none;color:inherit}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}img{border-style:none}progress{vertical-align:initial}svg:not(:root){overflow:hidden}audio,canvas,progress,video{display:inline-block}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}.v-ripple__container{border-radius:inherit;width:100%;height:100%;z-index:0;contain:strict}.v-ripple__animation,.v-ripple__container{color:inherit;position:absolute;left:0;top:0;overflow:hidden;pointer-events:none}.v-ripple__animation{border-radius:50%;background:currentColor;opacity:0;will-change:transform,opacity}.v-ripple__animation--enter{transition:none}.v-ripple__animation--in{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .1s cubic-bezier(.4,0,.2,1)}.v-ripple__animation--out{transition:opacity .3s cubic-bezier(.4,0,.2,1)}a{color:#1976d2}",""]),e.exports=o},2698:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scrollable .scroll-bar-track[data-v-5ec67402]{top:3px;width:12px;bottom:3px;z-index:200}.scrollable .scroll-bar-track .scroll-bar-thumb[data-v-5ec67402]{width:6px;height:0;left:3px;top:0;background:rgba(0,0,0,.15);cursor:pointer;transition-property:width,left}.scrollable .scroll-bar-track.moving .scroll-bar-thumb[data-v-5ec67402],.scrollable .scroll-bar-track:hover .scroll-bar-thumb[data-v-5ec67402]{left:2px;width:8px;background:rgba(0,0,0,.25)}",""]),e.exports=o},27:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".icon[data-v-5a9d8295]{height:24px;width:24px}.icon .ripple[data-v-5a9d8295]{top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;height:48px;width:48px}.icon .ripple.checked[data-v-5a9d8295] .v-ripple__container{color:#1976d2}.icon .ripple .ripple-trigger[data-v-5a9d8295]{top:50%;left:50%;transform:translate(-50%,-50%);height:24px;width:24px;pointer-events:all}.icon .ripple[data-v-5a9d8295] .v-ripple__container{height:48px;width:48px}",""]),e.exports=o},1661:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".input[data-v-3651d216]{width:200px}.input[data-v-3651d216]:focus{outline:2px solid #48f}",""]),e.exports=o},921:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".modal-component[data-v-76591e7d]{background:rgba(0,0,0,.3)}.modal-component.m-enter-from[data-v-76591e7d],.modal-component.m-leave-to[data-v-76591e7d]{background:transparent}.modal-component.m-enter-from .modal-container[data-v-76591e7d],.modal-component.m-leave-to .modal-container[data-v-76591e7d]{opacity:0}.modal-component.m-enter-from .modal-container[data-v-76591e7d]{transform:scale(.9)}.modal-component.m-enter-to[data-v-76591e7d],.modal-component.m-leave-from[data-v-76591e7d]{background:rgba(0,0,0,.3)}",""]),e.exports=o},7751:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".icon[data-v-9b99df3a]{height:24px;width:24px}.icon .ripple[data-v-9b99df3a]{top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;height:48px;width:48px}.icon .ripple.checked[data-v-9b99df3a] .v-ripple__container{color:#1976d2}.icon .ripple .ripple-trigger[data-v-9b99df3a]{top:50%;left:50%;transform:translate(-50%,-50%);height:24px;width:24px;pointer-events:all}.icon .ripple[data-v-9b99df3a] .v-ripple__container{height:48px;width:48px}",""]),e.exports=o},2205:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".track[data-v-629e59a4]{height:32px}.track-left[data-v-629e59a4],.track-right[data-v-629e59a4]{height:2px;width:50%}.notch[data-v-629e59a4]{height:15px;width:15px;top:50%;transform:translate(-50%,-50%);transition-property:width,height}.notch.dragging[data-v-629e59a4]{width:0;height:0}.bubble[data-v-629e59a4]{height:26px;width:26px;top:50%;transform:translate(-50%,-150%) rotate(45deg) scale(0);margin-left:-13px;border-radius:50% 50% 0;transform-origin:100% 100%}.bubble.dragging[data-v-629e59a4]{transform:translate(-50%,-150%) rotate(45deg)}.bubble .text[data-v-629e59a4]{transform:rotate(-45deg)}",""]),e.exports=o},907:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".i-tabs-items .window-container{width:100%;min-height:100%;transition-property:height;overflow:hidden}.i-tabs-items .vnode-window{width:100%}.i-tabs-items .vnode-window.animating{transition:.3s ease}",""]),e.exports=o},7992:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".i-tabs{-moz-user-select:none;user-select:none}.i-tabs .slider{width:3px;background:hsla(0,0%,100%,.6)}.i-tabs .tab{cursor:pointer;color:hsla(0,0%,100%,.7);line-height:22px;font-weight:500;padding:12px;text-transform:uppercase;transition:color .1s ease}.i-tabs .tab.active{color:#fff}.i-tabs .tab .active-ripple .v-ripple__animation--in{opacity:.25!important}.i-tabs .tab .inactive-ripple .v-ripple__animation--in{opacity:.2}",""]),e.exports=o},3104:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scroll-container[data-v-44ca479e]{max-height:250px}.language-select-box .title-box .cancel-button[data-v-44ca479e]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-44ca479e]:hover{background:#e0e0e0}.language-select-box .language-item[data-v-44ca479e]{cursor:pointer;flex:0 0 33.3333%;padding:1px 0}.language-select-box .language-item.active[data-v-44ca479e]{background:#e8e8e8}.language-select-box .language-item[data-v-44ca479e]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-44ca479e]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-44ca479e]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-44ca479e]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-44ca479e]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-44ca479e]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-44ca479e]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-44ca479e]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-44ca479e]:hover{color:#409eff}",""]),e.exports=o},5993:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scroll-container[data-v-48a39bb0]{max-height:250px}.language-select-box .title-box .cancel-button[data-v-48a39bb0]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-48a39bb0]:hover{background:#e0e0e0}.language-select-box .language-item[data-v-48a39bb0]{cursor:pointer;flex:0 0 33.3333%}.language-select-box .language-item.active[data-v-48a39bb0]{background:#e8e8e8}.language-select-box .language-item[data-v-48a39bb0]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-48a39bb0]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-48a39bb0]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-48a39bb0]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-48a39bb0]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-48a39bb0]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-48a39bb0]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-48a39bb0]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-48a39bb0]:hover{color:#409eff}",""]),e.exports=o},663:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".google-dict-box[data-v-21539aa9]{font-family:Arial,Microsoft Yahei UI,sans-serif}.scroll-container[data-v-21539aa9]{max-height:250px}.expand-button[data-v-21539aa9]{top:5px;right:5px;height:24px;width:24px;opacity:.3;cursor:pointer;z-index:2}.expand-button.with-scroll-bar[data-v-21539aa9]{right:12px}.expand-button[data-v-21539aa9]:hover{opacity:.6}.expand-button[data-v-21539aa9]:active{opacity:.9}",""]),e.exports=o},8644:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".google-dict-modal[data-v-ea3555cc]{height:100vh;width:80vw;max-width:800px;font-family:Arial,Microsoft Yahei UI,sans-serif}.fold-control[data-v-ea3555cc]{top:0;left:50%;transform:translate(-50%)}.fold-control .control-btn[data-v-ea3555cc]{height:32px;width:32px}.fold-control .control-btn.disable[data-v-ea3555cc]{pointer-events:none;opacity:.2}.fold-control .control-btn[data-v-ea3555cc]:hover{background-color:#f0f0f0}.fold-control .control-btn:hover .tooltip[data-v-ea3555cc]{opacity:1}.fold-control .control-btn[data-v-ea3555cc]:active{box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.fold-control .tooltip[data-v-ea3555cc]{position:absolute;bottom:-8px;left:50%;transform:translate(-50%,100%);background:rgba(0,0,0,.5);border-radius:4px;color:#fff;font-size:12px;opacity:0;padding:1px 6px;pointer-events:none;transition:.3s cubic-bezier(.4,0,.2,1)}",""]),e.exports=o},7291:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".phonetics-box[data-v-80abc988]{height:20px;line-height:20px;font-family:Noto Sans,Arial,sans-serif}.phonetics-box .play-button[data-v-80abc988]{cursor:pointer;height:20px;width:22px;opacity:.45}.phonetics-box .play-button[data-v-80abc988]:hover{opacity:.7}.phonetics-box .play-button[data-v-80abc988]:active{background-position:50% calc(50% + 1px);opacity:1}",""]),e.exports=o},1865:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".entry-item .sense-item-number[data-v-13c640e0]{flex:0 0 30px}",""]),e.exports=o},6015:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".image-loader.loading[data-v-c0604a02]{border-radius:4px;box-shadow:0 0 0 3px #e9f4fb}",""]),e.exports=o},6350:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,'.label-box.size-small[data-v-7e84838f] .label{font-size:12px;padding:1px 4px}.label-box.size-medium[data-v-7e84838f] .label{font-size:12px;padding:2px 6px}.label-box.size-large[data-v-7e84838f] .label{font-size:14px;padding:3px 8px}.label-box.color-plain[data-v-7e84838f] .label{background:#f0f0f0}.label-box.color-lightpink[data-v-7e84838f] .label{background:#fbe0e0}.label-box.color-lightblue[data-v-7e84838f] .label{background:#d7eaf9}.label-box.color-geographic[data-v-7e84838f] .label{background:#ddf7ba;text-transform:uppercase}.label-box.color-register[data-v-7e84838f] .label,.label-box.color-registers[data-v-7e84838f] .label{background:#f0f0f0;text-transform:uppercase}.label-box.color-subject[data-v-7e84838f] .label{background:#f2e0fa;text-transform:uppercase}.label-box .label[data-v-7e84838f]{margin-right:5px}.label-box .label.last[data-v-7e84838f]{margin-right:0}.label-box .label .tooltip[data-v-7e84838f]{right:0;top:50%;z-index:200000;pointer-events:none;padding:0 4px 0 3px;margin-right:-7px;transform:translate(100%,-50%);transition:.12s;background:rgba(0,0,0,.5);filter:drop-shadow(0 0 .5px black);line-height:16px;white-space:nowrap}.label-box .label .tooltip[data-v-7e84838f]:after{content:"";z-index:1;position:absolute;top:50%;left:0;margin-left:1px;transform:translate(-100%,-50%);border:6px solid transparent;border-right-color:rgba(0,0,0,.5)}.label-box .label .tooltip.p-enter[data-v-7e84838f],.label-box .label .tooltip.p-leave-to[data-v-7e84838f]{opacity:0}.label-box .label .tooltip.p-enter-to[data-v-7e84838f],.label-box .label .tooltip.p-leave[data-v-7e84838f]{opacity:1}',""]),e.exports=o},1519:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".sense-item .sense-item-number[data-v-b981c738]{flex:0 0 32px;padding:0 10px 0 0}.sense-item .subsense-item .subsense-number[data-v-b981c738]{font-family:consolas,monospace}",""]),e.exports=o},8280:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".thesaurus-syn-ant .type-synonyms[data-v-180d12bc]{color:#78b07b}.thesaurus-syn-ant .type-antonyms[data-v-180d12bc]{color:#ce8383}.thesaurus-syn-ant .show-more-or-less[data-v-180d12bc]{opacity:.7}",""]),e.exports=o},7346:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scroll-container[data-v-1229a221]{max-height:250px}.language-select-box[data-v-1229a221]{-moz-user-select:none;user-select:none}.language-select-box .title-box .cancel-button[data-v-1229a221]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-1229a221]:hover{background:#e0e0e0}.language-select-box .items-box .language-item[data-v-1229a221]{cursor:pointer;flex:0 0 33.3333%;padding:1px 0}.language-select-box .items-box .language-item.active[data-v-1229a221]{background:#e8e8e8}.language-select-box .items-box .language-item[data-v-1229a221]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-1229a221]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-1229a221]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-1229a221]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-1229a221]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-1229a221]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-1229a221]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-1229a221]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-1229a221]:hover{color:#409eff}",""]),e.exports=o},2637:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scroll-container[data-v-bae3a914]{max-height:250px}.main-box>div[data-v-bae3a914]:first-child{margin-top:0!important}.symbols-box .part-item[data-v-bae3a914]{line-height:20px}",""]),e.exports=o},7440:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".pronunciation-item[data-v-267555b4]{height:20px;flex:0 0 20px;line-height:20px}.pronunciation-item .play-sound[data-v-267555b4]{width:20px;height:20px;cursor:pointer;opacity:.45}.pronunciation-item .play-sound[data-v-267555b4]:hover{opacity:.7}.pronunciation-item .play-sound[data-v-267555b4]:active{background-position:50% calc(50% + 1px);opacity:1}",""]),e.exports=o},7645:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scroll-container[data-v-694555b0]{max-height:250px}.language-select-box[data-v-694555b0]{-moz-user-select:none;user-select:none}.language-select-box .title-box .cancel-button[data-v-694555b0]{padding:1px 6px;cursor:pointer}.language-select-box .title-box .cancel-button[data-v-694555b0]:hover{background:#e0e0e0}.language-select-box .items-box .language-item[data-v-694555b0]{cursor:pointer;flex:0 0 33.3333%;padding:1px 0}.language-select-box .items-box .language-item.active[data-v-694555b0]{background:#e8e8e8}.language-select-box .items-box .language-item[data-v-694555b0]:hover{background:#e0e0e0}.bottom-info-box .tts-box[data-v-694555b0]{-moz-user-select:none;user-select:none;opacity:.9}.bottom-info-box .tts-box .play-sound[data-v-694555b0]{cursor:pointer;opacity:.45}.bottom-info-box .tts-box .play-sound .audio-icon[data-v-694555b0]{margin:0 0 0 2px;opacity:.8}.bottom-info-box .tts-box .play-sound[data-v-694555b0]:hover{opacity:.7}.bottom-info-box .tts-box .play-sound[data-v-694555b0]:active{background-position:50% calc(50% + 1px);opacity:1}.bottom-info-box .language-info-box[data-v-694555b0]{-moz-user-select:none;user-select:none;color:#bbb}.bottom-info-box .language-info-box .language[data-v-694555b0]{cursor:pointer}.bottom-info-box .language-info-box .language[data-v-694555b0]:hover{color:#409eff}",""]),e.exports=o},9878:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,'.scroll-container[data-v-39582728]{max-height:250px}.content-box[data-v-39582728]{font-family:Source Sans Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif}.content-box .row .keyword[data-v-39582728]{text-decoration:underline;cursor:pointer}.content-box .row .keyword.definition-keyword[data-v-39582728]{color:#6cace0}.content-box .row .keyword.example-keyword[data-v-39582728]{color:#99c3e6}.content-box .row .definition[data-v-39582728]{line-height:20px}.content-box .divider[data-v-39582728]{height:1px;width:100%}.content-box .thumb[data-v-39582728]{opacity:.7}.content-box .thumb.thumb-down[data-v-39582728]{transform:translateY(3px) rotate(180deg)}.u-toolip[data-v-39582728]{max-width:280px;padding:5px 8px;z-index:2;transform:translate(calc(-50% + 10px),17px);filter:drop-shadow(0 2px 1px rgba(0,0,0,.15)) drop-shadow(0 2px 1.2px rgba(0,0,0,.16)) drop-shadow(0 1px 2.2px rgba(0,0,0,.12))}.u-toolip .inner-content[data-v-39582728]{max-height:105px;overflow:hidden}.u-toolip .loadin-spinner[data-v-39582728]{margin:6px 0}@keyframes rotate-39582728{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.u-toolip .rotate[data-v-39582728]{animation-name:rotate-39582728;animation-duration:1.2s;animation-timing-function:linear;animation-iteration-count:infinite}.u-toolip[data-v-39582728]:before{position:absolute;content:"";top:-10px;left:50%;transform:translate(-50%) scaleY(1.5) skewX(40deg);transform-origin:50% bottom;border-bottom:10px solid #fff;border-left:10px solid transparent;border-right:10px solid transparent}',""]),e.exports=o},6779:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".scroll-container[data-v-679418f0]{max-height:250px}.main-box .play-sound[data-v-679418f0]{width:20px;height:20px;cursor:pointer;opacity:.45}.main-box .play-sound[data-v-679418f0]:hover{opacity:.7}.main-box .play-sound[data-v-679418f0]:active{background-position:50% calc(50% + 1px);opacity:1}",""]),e.exports=o},5947:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".toast-box[data-v-22ad7e37]{z-index:2147483647;left:50%;bottom:10%;transform:translate(-50%,-50%);background:rgba(0,0,0,.5);padding:10px 18px;border-radius:6px;transform-origin:left top}.t-enter-from[data-v-22ad7e37],.t-leave-to[data-v-22ad7e37]{opacity:0}.toast-box.t-enter-from[data-v-22ad7e37]{transform:scale(.9) translate(-50%,-50%)}",""]),e.exports=o},9559:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".history-window[data-v-6b9c327f]{width:480px;height:560px}",""]),e.exports=o},9908:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".iciba-circle[data-v-b769a32c]{z-index:10000;width:22px;height:22px;opacity:.9}.iciba-circle.circle[data-v-b769a32c]{border-radius:9999px}.iciba-circle[data-v-b769a32c]:not(.has-icon){border:1px solid #0f0f0f;background:#a8c6f0;box-shadow:0 1px 1px -1px rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.14),0 0 3px 0 rgba(0,0,0,.12);opacity:.7}.iciba-circle[data-v-b769a32c]:not(.has-icon):active{box-shadow:0 1px 1px -1px rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.14),0 0 3px 0 rgba(0,0,0,.12),inset 1px 1px 1px rgba(0,0,0,.4)}.iciba-circle.c-leave-active[data-v-b769a32c]{transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform}.iciba-circle.c-leave-to[data-v-b769a32c]{transform:scale(.9);opacity:0}.iciba-circle.c-leave[data-v-b769a32c]{transform:scale(1);opacity:1}.iciba-circle[data-v-b769a32c]:hover{opacity:1}.iciba-circle[data-v-b769a32c]:active{filter:brightness(.7)}",""]),e.exports=o},767:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,'.iciba-main-wrap[data-v-b07dfcf8]{z-index:9999}.iciba-main-wrap.m-enter-from[data-v-b07dfcf8]{opacity:0}.iciba-main-wrap.m-enter-from .iciba-main[data-v-b07dfcf8]{transform:translateY(-6px)}.iciba-main-wrap.m-leave-to[data-v-b07dfcf8]{opacity:0}.iciba-main-wrap.m-enter-to[data-v-b07dfcf8],.iciba-main-wrap.m-leave-from[data-v-b07dfcf8]{opacity:1}.iciba-main[data-v-b07dfcf8]{top:0;left:0;width:300px;letter-spacing:0;filter:drop-shadow(0 2px 1.5px rgba(0,0,0,.14)) drop-shadow(0 4px 2.5px rgba(0,0,0,.15)) drop-shadow(0 1px 5px rgba(0,0,0,.12))}.input-box[data-v-b07dfcf8]{height:28px;z-index:1}.input-box .iciba-input-box .search-input[data-v-b07dfcf8]{letter-spacing:0;padding:0 4px 0 7px;line-height:27px;height:27px;z-index:2}.input-box .iciba-input-box .search-input[data-v-b07dfcf8]:focus{outline:none}.input-box .iciba-input-box.focused[data-v-b07dfcf8]:before{content:"";position:absolute;top:1px;left:1px;width:calc(100% - 1px);height:calc(100% - 1px);outline:2px solid #48f;outline-offset:-1px}.input-box .iciba-input-box .input-button[data-v-b07dfcf8]{height:27px;width:27px;z-index:2;opacity:.2}.input-box .iciba-input-box .input-button[data-v-b07dfcf8]:hover{opacity:.6}.input-box .iciba-input-box .input-button[data-v-b07dfcf8]:active{background-position:50% calc(50% + 1px);opacity:.9}.input-box .provider-box[data-v-b07dfcf8]{height:28px}.input-box .provider-box .provider-button[data-v-b07dfcf8]{width:28px;flex:0 0 28px;height:27px;background-color:#f7f7f7}.input-box .provider-box .provider-button[data-v-b07dfcf8]:focus{outline:none}.input-box .provider-box .provider-button[data-v-b07dfcf8]:focus:before{content:"";position:absolute;top:1px;left:0;width:100%;height:calc(100% - 1px);outline:2px solid #48f;outline-offset:-1px}.input-box .provider-box .provider-button[data-v-b07dfcf8]:last-child:focus:before{width:calc(100% - 1px)}.input-box .provider-box .provider-button[data-v-b07dfcf8]:hover{background-color:#fcfcfc}.input-box .provider-box .provider-button[data-v-b07dfcf8]:active{background-position:50% calc(50% + 1px);background-color:#f0f0f0;box-shadow:inset 0 0 6px #aaa}.content-box[data-v-b07dfcf8]{background:#f7f7f7;z-index:2}.content-box .content-item[data-v-b07dfcf8]{padding:7px 10px 10px}.stick-box[data-v-b07dfcf8]{right:0;top:0;transform:translate(100%);background:#eee;height:56px;width:28px;background-color:#f7f7f7;transition-duration:.1s;z-index:0}.stick-box.s-enter[data-v-b07dfcf8],.stick-box.s-leave-to[data-v-b07dfcf8]{transform:translate(0);transition-delay:.3s}.stick-box.s-enter-to[data-v-b07dfcf8],.stick-box.s-leave[data-v-b07dfcf8]{transform:translate(100%)}.stick-box .drag[data-v-b07dfcf8]{cursor:-webkit-grab;cursor:grab}.stick-box .drag[data-v-b07dfcf8],.stick-box .stick[data-v-b07dfcf8]{height:28px;width:28px}.stick-box .stick .i-icon[data-v-b07dfcf8]{transform:rotate(45deg);opacity:.4}.stick-box .stick.pinned .i-icon[data-v-b07dfcf8]{transform:rotate(0);opacity:1}',""]),e.exports=o},6644:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".icon-box[data-v-6b4ed052]{cursor:pointer;height:48px;width:48px}.icon-box[data-v-6b4ed052]:hover{background:#ddd}.check-icon[data-v-6b4ed052]{top:0;right:0;height:20px;width:20px}",""]),e.exports=o},6180:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".setting-window[data-v-26ec9275]{width:580px;height:580px}",""]),e.exports=o},7081:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".default-iciba-circle[data-v-3a3412e4]{border:1px solid #0f0f0f;background:#a8c6f0;box-shadow:0 1px 1px -1px rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.14),0 0 3px 0 rgba(0,0,0,.12);border-radius:9999px;opacity:.7}",""]),e.exports=o},2195:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".icon-box-container .icon-item[data-v-be105b76]{height:44px;width:44px}.icon-box-container .icon-item.icon-move[data-v-be105b76]{transition:transform .3s cubic-bezier(.4,0,.2,1)}.icon-box-container .icon-item .mask-box[data-v-be105b76]{z-index:2;border:1px solid #aaa;background:#eee;height:44px;width:44px;border-radius:3px;top:0;left:0}.icon-box-container .icon-item .mask-box.mask-enter-to[data-v-be105b76],.icon-box-container .icon-item .mask-box.mask-leave[data-v-be105b76]{opacity:1}.icon-box-container .icon-item .mask-box.mask-enter[data-v-be105b76],.icon-box-container .icon-item .mask-box.mask-leave-to[data-v-be105b76]{opacity:0}.icon-box-container .icon-item .mask-box.mask-leave-active[data-v-be105b76]{transition-delay:.2s}.icon-box-container .icon-item .icon-box[data-v-be105b76]{z-index:3;height:44px;width:44px}.icon-box-container .icon-item .icon-box .icon.inactive[data-v-be105b76]{opacity:.25}",""]),e.exports=o},1659:(e,t,n)=>{var o=n(3645)((function(e){return e[1]}));o.push([e.id,".bg-white{background-color:#fff}.bg-blue-700{background-color:#1976d2}.bg-indigo-500{background-color:#3f51b5}.bg-grey-200{background-color:#eee}.bg-grey-300{background-color:#e0e0e0}.bg-grey-400{background-color:#bdbdbd}.bg-grey-500{background-color:#9e9e9e}.bg-bg-5{background-color:#f7f7f7}.hover\\:bg-grey-100:hover{background-color:#f5f5f5}.group:hover .group-hover\\:bg-grey-300,.hover\\:bg-grey-300:hover{background-color:#e0e0e0}.border-grey-300{border-color:#e0e0e0}.border-grey-350{border-color:#d5d5d5}.border-grey-400{border-color:#bdbdbd}.rounded-4{border-radius:4px}.rounded-5{border-radius:5px}.rounded-6{border-radius:6px}.rounded-full{border-radius:9999px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.cursor-pointer{cursor:pointer}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-grow-0{flex-grow:0}.flex-grow{flex-grow:1}.font-mono{font-family:Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-medium{font-weight:500}.font-bold{font-weight:700}.h-0{height:0}.h-auto{height:auto}.text-0{font-size:0}.text-12{font-size:12px}.text-13{font-size:13px}.text-14{font-size:14px}.text-15{font-size:15px}.text-16{font-size:16px}.text-18{font-size:18px}.text-20{font-size:20px}.text-28{font-size:28px}.leading-snug{line-height:1.375}.leading-normal{line-height:1.5}.leading-relaxed{line-height:1.625}.m-2px{margin:2px}.my-1{margin-top:4px;margin-bottom:4px}.my-2{margin-top:8px;margin-bottom:8px}.mx-2{margin-left:8px;margin-right:8px}.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-1{margin-top:4px}.mr-1{margin-right:4px}.mb-1{margin-bottom:4px}.ml-1{margin-left:4px}.mt-2{margin-top:8px}.mr-2{margin-right:8px}.mb-2{margin-bottom:8px}.ml-2{margin-left:8px}.mt-4{margin-top:16px}.mr-4{margin-right:16px}.ml-4{margin-left:16px}.mt-5{margin-top:20px}.mt-6{margin-top:24px}.mt-8{margin-top:32px}.mt-12{margin-top:48px}.mt-1px{margin-top:1px}.mt-2px{margin-top:2px}.mb-2px{margin-bottom:2px}.ml-2px{margin-left:2px}.mt-3px{margin-top:3px}.mb-3px{margin-bottom:3px}.mt-5px{margin-top:5px}.mr-5px{margin-right:5px}.ml-5px{margin-left:5px}.mt-6px{margin-top:6px}.-mt-2px{margin-top:-2px}.opacity-75{opacity:.75}.hover\\:opacity-100:hover{opacity:1}.outline-none{outline:2px solid transparent;outline-offset:2px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.p-2{padding:8px}.p-4{padding:16px}.p-10px{padding:10px}.py-1{padding-top:4px;padding-bottom:4px}.px-1{padding-left:4px;padding-right:4px}.px-2{padding-left:8px;padding-right:8px}.py-3{padding-top:12px;padding-bottom:12px}.px-3{padding-left:12px;padding-right:12px}.py-4{padding-top:16px;padding-bottom:16px}.px-4{padding-left:16px;padding-right:16px}.px-5{padding-left:20px;padding-right:20px}.py-1px{padding-top:1px;padding-bottom:1px}.py-5px{padding-top:5px;padding-bottom:5px}.py-10px{padding-top:10px;padding-bottom:10px}.pt-1{padding-top:4px}.pr-1{padding-right:4px}.pl-1{padding-left:4px}.pt-2{padding-top:8px}.pr-2{padding-right:8px}.pt-4{padding-top:16px}.pt-5{padding-top:20px}.pr-5{padding-right:20px}.pr-6{padding-right:24px}.pr-7{padding-right:28px}.pb-7{padding-bottom:28px}.pr-12{padding-right:48px}.pt-2px{padding-top:2px}.pr-3px{padding-right:3px}.pr-6px{padding-right:6px}.pl-10px{padding-left:10px}.pr-14px{padding-right:14px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.right-0{right:0}.bottom-0{bottom:0}.top-auto{top:auto}.left-auto{left:auto}.resize{resize:both}.shadow-2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.text-center{text-align:center}.text-right{text-align:right}.text-white{color:#fff}.text-gray-800{color:#2d3748}.text-red-400{color:#ef5350}.text-red-500{color:#f44336}.text-orange-400{color:#ffa726}.text-green-600{color:#43a047}.text-blue-500{color:#2196f3}.text-grey-400{color:#bdbdbd}.text-grey-500{color:#9e9e9e}.text-grey-600{color:#757575}.text-grey-700{color:#616161}.text-grey-800{color:#424242}.text-grey-900{color:#212121}.text-link{color:#77a9dd}.text-primary{color:#409eff}.hover\\:text-grey-600:hover{color:#757575}.italic{font-style:italic}.no-underline{text-decoration:none}.hover\\:underline:hover{text-decoration:underline}.select-none{-moz-user-select:none;user-select:none}.visible{visibility:visible}.break-words{word-wrap:break-word;overflow-wrap:break-word}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.w-0{width:0}.w-6{width:24px}.w-full{width:100%}.z-20{z-index:20}.transform{--transform-translate-x:0;--transform-translate-y:0;--transform-rotate:0;--transform-skew-x:0;--transform-skew-y:0;--transform-scale-x:1;--transform-scale-y:1;transform:translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y))}.transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform}.transition-opacity{transition-property:opacity}.transition-transform{transition-property:transform}.ease-linear{transition-timing-function:linear}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}@keyframes spin{to{transform:rotate(1turn)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}",""]),e.exports=o},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(r[i]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);o&&r[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},2587:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,o,r){n=n||"&",o=o||"=";var a={};if("string"!=typeof e||0===e.length)return a;var i=/\+/g;e=e.split(n);var l=1e3;r&&"number"==typeof r.maxKeys&&(l=r.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var c=0;c<s;++c){var u,d,p,f,v=e[c].replace(i,"%20"),g=v.indexOf(o);g>=0?(u=v.substr(0,g),d=v.substr(g+1)):(u=v,d=""),p=decodeURIComponent(u),f=decodeURIComponent(d),t(a,p)?Array.isArray(a[p])?a[p].push(f):a[p]=[a[p],f]:a[p]=f}return a}},2361:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,o,r){return n=n||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var a=encodeURIComponent(t(r))+o;return Array.isArray(e[r])?e[r].map((function(e){return a+encodeURIComponent(t(e))})).join(n):a+encodeURIComponent(t(e[r]))})).join(n):r?encodeURIComponent(t(r))+o+encodeURIComponent(t(e)):""}},7673:(e,t,n)=>{"use strict";n(2587),t.stringify=n(2361)},3770:()=>{"use strict";Array.prototype.toJSON&&delete Array.prototype.toJSON},8559:(e,t,n)=>{var o=n(2045);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("50293472",o,!0)},5013:(e,t,n)=>{var o=n(17);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("6afe31e0",o,!0)},1703:(e,t,n)=>{var o=n(2698);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("33191a95",o,!0)},933:(e,t,n)=>{var o=n(27);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("42ff67c8",o,!0)},771:(e,t,n)=>{var o=n(1661);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("18965ba4",o,!0)},458:(e,t,n)=>{var o=n(921);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("af35f32a",o,!0)},4409:(e,t,n)=>{var o=n(7751);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("6ae1da32",o,!0)},5823:(e,t,n)=>{var o=n(2205);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("58533ca8",o,!0)},8778:(e,t,n)=>{var o=n(907);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("2716e03e",o,!0)},1810:(e,t,n)=>{var o=n(7992);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("2ed40b59",o,!0)},1461:(e,t,n)=>{var o=n(3104);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("44df7877",o,!0)},7704:(e,t,n)=>{var o=n(5993);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("b8aa16e4",o,!0)},2519:(e,t,n)=>{var o=n(663);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("0fceb2ba",o,!0)},8820:(e,t,n)=>{var o=n(8644);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("15e28d8a",o,!0)},1328:(e,t,n)=>{var o=n(7291);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("15eb1eee",o,!0)},1392:(e,t,n)=>{var o=n(1865);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("30f128ce",o,!0)},5807:(e,t,n)=>{var o=n(6015);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("04dffc0e",o,!0)},2622:(e,t,n)=>{var o=n(6350);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("308c92b0",o,!0)},6399:(e,t,n)=>{var o=n(1519);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("60ef7364",o,!0)},3580:(e,t,n)=>{var o=n(8280);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("28d60609",o,!0)},5560:(e,t,n)=>{var o=n(7346);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("291b1d58",o,!0)},9567:(e,t,n)=>{var o=n(2637);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("0900845a",o,!0)},1384:(e,t,n)=>{var o=n(7440);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("443127ea",o,!0)},2154:(e,t,n)=>{var o=n(7645);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("9b950566",o,!0)},7940:(e,t,n)=>{var o=n(9878);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("0b4a4c0b",o,!0)},5339:(e,t,n)=>{var o=n(6779);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("b0289eac",o,!0)},8296:(e,t,n)=>{var o=n(5947);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("ed5f1f36",o,!0)},7189:(e,t,n)=>{var o=n(9559);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("645119fa",o,!0)},7584:(e,t,n)=>{var o=n(9908);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("56001da2",o,!0)},7870:(e,t,n)=>{var o=n(767);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("e9557f30",o,!0)},8117:(e,t,n)=>{var o=n(6644);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("77f222d0",o,!0)},4823:(e,t,n)=>{var o=n(6180);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("ccb4a582",o,!0)},9062:(e,t,n)=>{var o=n(7081);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("33163803",o,!0)},9950:(e,t,n)=>{var o=n(2195);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("5b7e4f20",o,!0)},7195:(e,t,n)=>{var o=n(1659);"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);(0,n(9580).Z)("5a3c592c",o,!0)},9580:(e,t,n)=>{"use strict";function o(e,t){for(var n=[],o={},r=0;r<t.length;r++){var a=t[r],i=a[0],l={id:e+":"+r,css:a[1],media:a[2],sourceMap:a[3]};o[i]?o[i].parts.push(l):n.push(o[i]={id:i,parts:[l]})}return n}n.d(t,{Z:()=>v});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},i=document.querySelector(".iciba-root").shadowRoot,l=null,s=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,r){c=n,d=r||{};var i=o(e,t);return g(i),function(t){for(var n=[],r=0;r<i.length;r++){var l=i[r];(s=a[l.id]).refs--,n.push(s)}t?g(i=o(e,t)):i=[];for(r=0;r<n.length;r++){var s;if(0===(s=n[r]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete a[s.id]}}}}function g(e){for(var t=0;t<e.length;t++){var n=e[t],o=a[n.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](n.parts[r]);for(;r<n.parts.length;r++)o.parts.push(h(n.parts[r]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var i=[];for(r=0;r<n.parts.length;r++)i.push(h(n.parts[r]));a[n.id]={id:n.id,refs:1,parts:i}}}}function m(){var e=d.insertInto?d.insertInto():i,t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function h(e){var t,n,o=(d.insertInto?d.insertInto():document).querySelector("style["+p+'~="'+e.id+'"]');if(o){if(c)return u;o.parentNode.removeChild(o)}if(f){var r=s++;o=l||(l=m()),t=x.bind(null,o,r,!1),n=x.bind(null,o,r,!0)}else o=m(),t=w.bind(null,o),n=function(){o.parentNode.removeChild(o)};return t(e),function(o){if(o){if(o.css===e.css&&o.media===e.media&&o.sourceMap===e.sourceMap)return;t(e=o)}else n()}}var b,y=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function x(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=y(t,r);else{var a=document.createTextNode(r),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function w(e,t){var n=t.css,o=t.media,r=t.sourceMap;if(o&&e.setAttribute("media",o),d.ssrId&&e.setAttribute(p,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}}},t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=document.createElement("div");e.className="iciba-root",document.body.appendChild(e);const t=(()=>{let t;return t=e.attachShadow?e.attachShadow({mode:"open"}):e.createShadowRoot(),t})();function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const a=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const i="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",l=o(i);function s(e){if(T(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=s(L(o)?d(o):o);if(r)for(const e in r)t[e]=r[e]}return t}if(I(e))return e}const c=/;(?![^(]*\))/g,u=/:(.+)/;function d(e){const t={};return e.split(c).forEach((e=>{if(e){const n=e.split(u);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function p(e){let t="";if(L(e))t=e;else if(T(e))for(let n=0;n<e.length;n++)t+=p(e[n])+" ";else if(I(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const f=e=>null==e?"":I(e)?JSON.stringify(e,v,2):String(e),v=(e,t)=>C(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[t+" =>"]=n,e)),{})}:O(t)?{[`Set(${t.size})`]:[...t.values()]}:!I(t)||T(t)||U(t)?t:String(t),g={},m=[],h=()=>{},b=()=>!1,y=/^on[^a-z]/,x=e=>y.test(e),w=e=>e.startsWith("onUpdate:"),_=Object.assign,k=Object.prototype.hasOwnProperty,S=(e,t)=>k.call(e,t),T=Array.isArray,C=e=>"[object Map]"===R(e),O=e=>"[object Set]"===R(e),A=e=>"function"==typeof e,L=e=>"string"==typeof e,E=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,M=e=>I(e)&&A(e.then)&&A(e.catch),z=Object.prototype.toString,R=e=>z.call(e),U=e=>"[object Object]"===R(e),N=e=>L(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,D=o(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},V=/-(\w)/g,G=P((e=>e.replace(V,((e,t)=>t?t.toUpperCase():"")))),j=/\B([A-Z])/g,B=P((e=>e.replace(j,"-$1").toLowerCase())),H=P((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=P((e=>e?"on"+H(e):"")),Y=(e,t)=>e!==t&&(e==e||t==t),q=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},$=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},W=e=>{const t=parseFloat(e);return isNaN(t)?e:t};const K=new WeakMap,X=[];let Z;const J=Symbol(""),Q=Symbol("");function ee(e,t=g){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!X.includes(n)){oe(n);try{return ae.push(re),re=!0,X.push(n),Z=n,e()}finally{X.pop(),le(),Z=X[X.length-1]}}};return n.id=ne++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function te(e){e.active&&(oe(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let ne=0;function oe(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let re=!0;const ae=[];function ie(){ae.push(re),re=!1}function le(){const e=ae.pop();re=void 0===e||e}function se(e,t,n){if(!re||void 0===Z)return;let o=K.get(e);o||K.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=new Set),r.has(Z)||(r.add(Z),Z.deps.push(r))}function ce(e,t,n,o,r,a){const i=K.get(e);if(!i)return;const l=new Set,s=e=>{e&&e.forEach((e=>{(e!==Z||e.allowRecurse)&&l.add(e)}))};if("clear"===t)i.forEach(s);else if("length"===n&&T(e))i.forEach(((e,t)=>{("length"===t||t>=o)&&s(e)}));else switch(void 0!==n&&s(i.get(n)),t){case"add":T(e)?N(n)&&s(i.get("length")):(s(i.get(J)),C(e)&&s(i.get(Q)));break;case"delete":T(e)||(s(i.get(J)),C(e)&&s(i.get(Q)));break;case"set":C(e)&&s(i.get(J))}l.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const ue=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(E)),de=me(),pe=me(!1,!0),fe=me(!0),ve=me(!0,!0),ge={};function me(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?He:Be).get(n))return n;const a=T(n);if(a&&S(ge,o))return Reflect.get(ge,o,r);const i=Reflect.get(n,o,r);if(E(o)?ue.has(o):"__proto__"===o||"__v_isRef"===o)return i;if(e||se(n,0,o),t)return i;if(Qe(i)){return!a||!N(o)?i.value:i}return I(i)?e?qe(i):Ye(i):i}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ge[e]=function(...e){const n=Ze(this);for(let e=0,t=this.length;e<t;e++)se(n,0,e+"");const o=t.apply(n,e);return-1===o||!1===o?t.apply(n,e.map(Ze)):o}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];ge[e]=function(...e){ie();const n=t.apply(this,e);return le(),n}}));function he(e=!1){return function(t,n,o,r){const a=t[n];if(!e&&(o=Ze(o),!T(t)&&Qe(a)&&!Qe(o)))return a.value=o,!0;const i=T(t)&&N(n)?Number(n)<t.length:S(t,n),l=Reflect.set(t,n,o,r);return t===Ze(r)&&(i?Y(o,a)&&ce(t,"set",n,o):ce(t,"add",n,o)),l}}const be={get:de,set:he(),deleteProperty:function(e,t){const n=S(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&ce(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return E(t)&&ue.has(t)||se(e,0,t),n},ownKeys:function(e){return se(e,0,T(e)?"length":J),Reflect.ownKeys(e)}},ye={get:fe,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},xe=_({},be,{get:pe,set:he(!0)}),we=(_({},ye,{get:ve}),e=>I(e)?Ye(e):e),_e=e=>I(e)?qe(e):e,ke=e=>e,Se=e=>Reflect.getPrototypeOf(e);function Te(e,t,n=!1,o=!1){const r=Ze(e=e.__v_raw),a=Ze(t);t!==a&&!n&&se(r,0,t),!n&&se(r,0,a);const{has:i}=Se(r),l=n?_e:o?ke:we;return i.call(r,t)?l(e.get(t)):i.call(r,a)?l(e.get(a)):void 0}function Ce(e,t=!1){const n=this.__v_raw,o=Ze(n),r=Ze(e);return e!==r&&!t&&se(o,0,e),!t&&se(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function Oe(e,t=!1){return e=e.__v_raw,!t&&se(Ze(e),0,J),Reflect.get(e,"size",e)}function Ae(e){e=Ze(e);const t=Ze(this),n=Se(t).has.call(t,e),o=t.add(e);return n||ce(t,"add",e,e),o}function Le(e,t){t=Ze(t);const n=Ze(this),{has:o,get:r}=Se(n);let a=o.call(n,e);a||(e=Ze(e),a=o.call(n,e));const i=r.call(n,e),l=n.set(e,t);return a?Y(t,i)&&ce(n,"set",e,t):ce(n,"add",e,t),l}function Ee(e){const t=Ze(this),{has:n,get:o}=Se(t);let r=n.call(t,e);r||(e=Ze(e),r=n.call(t,e));o&&o.call(t,e);const a=t.delete(e);return r&&ce(t,"delete",e,void 0),a}function Ie(){const e=Ze(this),t=0!==e.size,n=e.clear();return t&&ce(e,"clear",void 0,void 0),n}function Me(e,t){return function(n,o){const r=this,a=r.__v_raw,i=Ze(a),l=e?_e:t?ke:we;return!e&&se(i,0,J),a.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function ze(e,t,n){return function(...o){const r=this.__v_raw,a=Ze(r),i=C(a),l="entries"===e||e===Symbol.iterator&&i,s="keys"===e&&i,c=r[e](...o),u=t?_e:n?ke:we;return!t&&se(a,0,s?Q:J),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Re(e){return function(...t){return"delete"!==e&&this}}const Ue={get(e){return Te(this,e)},get size(){return Oe(this)},has:Ce,add:Ae,set:Le,delete:Ee,clear:Ie,forEach:Me(!1,!1)},Ne={get(e){return Te(this,e,!1,!0)},get size(){return Oe(this)},has:Ce,add:Ae,set:Le,delete:Ee,clear:Ie,forEach:Me(!1,!0)},De={get(e){return Te(this,e,!0)},get size(){return Oe(this,!0)},has(e){return Ce.call(this,e,!0)},add:Re("add"),set:Re("set"),delete:Re("delete"),clear:Re("clear"),forEach:Me(!0,!1)};function Pe(e,t){const n=t?Ne:e?De:Ue;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(S(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Ue[e]=ze(e,!1,!1),De[e]=ze(e,!0,!1),Ne[e]=ze(e,!1,!0)}));const Ve={get:Pe(!1,!1)},Ge={get:Pe(!1,!0)},je={get:Pe(!0,!1)};const Be=new WeakMap,He=new WeakMap;function Fe(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function Ye(e){return e&&e.__v_isReadonly?e:$e(e,!1,be,Ve)}function qe(e){return $e(e,!0,ye,je)}function $e(e,t,n,o){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=t?He:Be,a=r.get(e);if(a)return a;const i=Fe(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function We(e){return Ke(e)?We(e.__v_raw):!(!e||!e.__v_isReactive)}function Ke(e){return!(!e||!e.__v_isReadonly)}function Xe(e){return We(e)||Ke(e)}function Ze(e){return e&&Ze(e.__v_raw)||e}const Je=e=>I(e)?Ye(e):e;function Qe(e){return Boolean(e&&!0===e.__v_isRef)}function et(e){return nt(e)}class tt{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:Je(e)}get value(){return se(Ze(this),0,"value"),this._value}set value(e){Y(Ze(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:Je(e),ce(Ze(this),"set","value",e))}}function nt(e,t=!1){return Qe(e)?e:new tt(e,t)}const ot={get:(e,t,n)=>function(e){return Qe(e)?e.value:e}(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Qe(r)&&!Qe(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};class rt{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=ee(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,ce(Ze(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),se(Ze(this),0,"value"),this._value}set value(e){this._setter(e)}}function at(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){lt(e,t,n)}return r}function it(e,t,n,o){if(A(e)){const r=at(e,t,n,o);return r&&M(r)&&r.catch((e=>{lt(e,t,n)})),r}const r=[];for(let a=0;a<e.length;a++)r.push(it(e[a],t,n,o));return r}function lt(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,a=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,a))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void at(i,null,10,[e,r,a])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let st=!1,ct=!1;const ut=[];let dt=0;const pt=[];let ft=null,vt=0;const gt=[];let mt=null,ht=0;const bt=Promise.resolve();let yt=null,xt=null;function wt(e){const t=yt||bt;return e?t.then(this?e.bind(this):e):t}function _t(e){ut.length&&ut.includes(e,st&&e.allowRecurse?dt+1:dt)||e===xt||(ut.push(e),kt())}function kt(){st||ct||(ct=!0,yt=bt.then(Lt))}function St(e,t,n,o){T(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),kt()}function Tt(e){St(e,mt,gt,ht)}function Ct(e,t=null){if(pt.length){for(xt=t,ft=[...new Set(pt)],pt.length=0,vt=0;vt<ft.length;vt++)ft[vt]();ft=null,vt=0,xt=null,Ct(e,t)}}function Ot(e){if(gt.length){const e=[...new Set(gt)];if(gt.length=0,mt)return void mt.push(...e);for(mt=e,mt.sort(((e,t)=>At(e)-At(t))),ht=0;ht<mt.length;ht++)mt[ht]();mt=null,ht=0}}const At=e=>null==e.id?1/0:e.id;function Lt(e){ct=!1,st=!0,Ct(e),ut.sort(((e,t)=>At(e)-At(t)));try{for(dt=0;dt<ut.length;dt++){const e=ut[dt];e&&at(e,null,14)}}finally{dt=0,ut.length=0,Ot(),st=!1,yt=null,(ut.length||gt.length)&&Lt(e)}}new Set;new Map;function Et(e,t,...n){const o=e.vnode.props||g;let r=n;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in o){const e=("modelValue"===i?"model":i)+"Modifiers",{number:t,trim:a}=o[e]||g;a?r=n.map((e=>e.trim())):t&&(r=n.map(W))}let l=F(G(t)),s=o[l];!s&&a&&(l=F(B(t)),s=o[l]),s&&it(s,e,6,r);const c=o[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;it(c,e,6,r)}}function It(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={};return o?(T(o)?o.forEach((e=>r[e]=null)):_(r,o),e.__emits=r):e.__emits=null}function Mt(e,t){return!(!e||!x(t))&&(t=t.replace(/Once$/,""),S(e,t[2].toLowerCase()+t.slice(3))||S(e,t.slice(2)))}let zt=null;function Rt(e){zt=e}function Ut(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:a,propsOptions:[i],slots:l,attrs:s,emit:c,render:u,renderCache:d,data:p,setupState:f,ctx:v}=e;let g;zt=e;try{let e;if(4&n.shapeFlag){const t=r||o;g=_o(u.call(t,t,d,a,f,p,v)),e=s}else{const n=t;0,g=_o(n.length>1?n(a,{attrs:s,slots:l,emit:c}):n(a,null)),e=t.props?s:Dt(s)}let m=g;if(!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=m;t.length&&(1&n||6&n)&&(i&&t.some(w)&&(e=Pt(e,i)),m=bo(m,e))}n.dirs&&(m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(m.transition=n.transition),g=m}catch(t){lt(t,e,1),g=mo(no)}return zt=null,g}function Nt(e){const t=e.filter((e=>!(uo(e)&&e.type===no&&"v-if"!==e.children)));return 1===t.length&&uo(t[0])?t[0]:null}const Dt=e=>{let t;for(const n in e)("class"===n||"style"===n||x(n))&&((t||(t={}))[n]=e[n]);return t},Pt=(e,t)=>{const n={};for(const o in e)w(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Vt(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const a=o[r];if(t[a]!==e[a]&&!Mt(n,a))return!0}return!1}function Gt({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}function jt(e){if(A(e)&&(e=e()),T(e)){0,e=Nt(e)}return _o(e)}function Bt(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Tt(e)}let Ht=0;const Ft=e=>Ht+=e;function Yt(e,t,n={},o){let r=e[t];Ht++;const a=(io(),co(eo,{key:n.key},r?r(n):o?o():[],1===e._?64:-2));return Ht--,a}function qt(e,t=zt){if(!t)return e;const n=(...n)=>{Ht||io(!0);const o=zt;Rt(t);const r=e(...n);return Rt(o),Ht||lo(),r};return n._c=!0,n}let $t=null;const Wt=[];function Kt(e){Wt.push($t=e)}function Xt(){Wt.pop(),$t=Wt[Wt.length-1]||null}function Zt(e){return t=>qt((function(){Kt(e);const n=t.apply(this,arguments);return Xt(),n}))}function Jt(e,t,n,o=!1){const r={},a={};$(a,fo,1),Qt(e,t,r,a),n?e.props=o?r:$e(r,!1,xe,Ge):e.type.props?e.props=r:e.props=a,e.attrs=a}function Qt(e,t,n,o){const[r,a]=e.propsOptions;if(t)for(const a in t){const i=t[a];if(D(a))continue;let l;r&&S(r,l=G(a))?n[l]=i:Mt(e.emitsOptions,a)||(o[a]=i)}if(a){const t=Ze(n);for(let o=0;o<a.length;o++){const i=a[o];n[i]=en(r,t,i,t[i],e)}}}function en(e,t,n,o,r){const a=e[n];if(null!=a){const e=S(a,"default");if(e&&void 0===o){const e=a.default;a.type!==Function&&A(e)?(Uo(r),o=e(t),Uo(null)):o=e}a[0]&&(S(t,n)||e?!a[1]||""!==o&&o!==B(n)||(o=!0):o=!1)}return o}function tn(e,t,n=!1){if(!t.deopt&&e.__props)return e.__props;const o=e.props,r={},a=[];if(!o)return e.__props=m;if(T(o))for(let e=0;e<o.length;e++){0;const t=G(o[e]);nn(t)&&(r[t]=g)}else if(o){0;for(const e in o){const t=G(e);if(nn(t)){const n=o[e],i=r[t]=T(n)||A(n)?{type:n}:n;if(i){const e=an(Boolean,i.type),n=an(String,i.type);i[0]=e>-1,i[1]=n<0||e<n,(e>-1||S(i,"default"))&&a.push(t)}}}}return e.__props=[r,a]}function nn(e){return"$"!==e[0]}function on(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function rn(e,t){return on(e)===on(t)}function an(e,t){if(T(t)){for(let n=0,o=t.length;n<o;n++)if(rn(t[n],e))return n}else if(A(t))return rn(t,e)?0:-1;return-1}function ln(e,t,n=zo,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ie(),Uo(n);const r=it(t,n,e,o);return Uo(null),le(),r});return o?r.unshift(a):r.push(a),a}}const sn=e=>(t,n=zo)=>!Do&&ln(e,t,n),cn=(sn("bm"),sn("m")),un=(sn("bu"),sn("u")),dn=sn("bum"),pn=sn("um");sn("rtg"),sn("rtc");const fn={};function vn(e,t,n){return gn(e,t,n)}function gn(e,t,{immediate:n,deep:o,flush:r,onTrack:a,onTrigger:i}=g,l=zo){let s,c,u=!1;if(Qe(e)?(s=()=>e.value,u=!!e._shallow):We(e)?(s=()=>e,o=!0):s=T(e)?()=>e.map((e=>Qe(e)?e.value:We(e)?mn(e):A(e)?at(e,l,2):void 0)):A(e)?t?()=>at(e,l,2):()=>{if(!l||!l.isUnmounted)return c&&c(),at(e,l,3,[d])}:h,t&&o){const e=s;s=()=>mn(e())}const d=e=>{c=m.options.onStop=()=>{at(e,l,4)}};let p=T(e)?[]:fn;const f=()=>{if(m.active)if(t){const e=m();(o||u||Y(e,p))&&(c&&c(),it(t,l,3,[e,p===fn?void 0:p,d]),p=e)}else m()};let v;f.allowRecurse=!!t,v="sync"===r?f:"post"===r?()=>Bn(f,l&&l.suspense):()=>{!l||l.isMounted?function(e){St(e,ft,pt,vt)}(f):f()};const m=ee(s,{lazy:!0,onTrack:a,onTrigger:i,scheduler:v});return Go(m),t?n?f():p=m():"post"===r?Bn(m,l&&l.suspense):m(),()=>{te(m),l&&((e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)})(l.effects,m)}}function mn(e,t=new Set){if(!I(e)||t.has(e))return e;if(t.add(e),Qe(e))mn(e.value,t);else if(T(e))for(let n=0;n<e.length;n++)mn(e[n],t);else if(O(e)||C(e))e.forEach((e=>{mn(e,t)}));else for(const n in e)mn(e[n],t);return e}function hn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return cn((()=>{e.isMounted=!0})),dn((()=>{e.isUnmounting=!0})),e}const bn=[Function,Array],yn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:bn,onEnter:bn,onAfterEnter:bn,onEnterCancelled:bn,onBeforeLeave:bn,onLeave:bn,onAfterLeave:bn,onLeaveCancelled:bn,onBeforeAppear:bn,onAppear:bn,onAfterAppear:bn,onAppearCancelled:bn},setup(e,{slots:t}){const n=Ro(),o=hn();let r;return()=>{const a=t.default&&Tn(t.default(),!0);if(!a||!a.length)return;const i=Ze(e),{mode:l}=i;const s=a[0];if(o.isLeaving)return _n(s);const c=kn(s);if(!c)return _n(s);const u=wn(c,i,o,n);Sn(c,u);const d=n.subTree,p=d&&kn(d);let f=!1;const{getTransitionKey:v}=c.type;if(v){const e=v();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==no&&(!po(c,p)||f)){const e=wn(p,i,o,n);if(Sn(p,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},_n(s);"in-out"===l&&(e.delayLeave=(e,t,n)=>{xn(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function xn(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function wn(e,t,n,o){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:g,onAppear:m,onAfterAppear:h,onAppearCancelled:b}=t,y=String(e.key),x=xn(n,e),w=(e,t)=>{e&&it(e,o,9,t)},_={mode:a,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=g||l}t._leaveCb&&t._leaveCb(!0);const a=x[y];a&&po(e,a)&&a.el._leaveCb&&a.el._leaveCb(),w(o,[t])},enter(e){let t=s,o=c,a=u;if(!n.isMounted){if(!r)return;t=m||s,o=h||c,a=b||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,w(t?a:o,[e]),_.delayedLeave&&_.delayedLeave(),e._enterCb=void 0)};t?(t(e,l),t.length<=1&&l()):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();w(d,[t]);let a=!1;const i=t._leaveCb=n=>{a||(a=!0,o(),w(n?v:f,[t]),t._leaveCb=void 0,x[r]===e&&delete x[r])};x[r]=e,p?(p(t,i),p.length<=1&&i()):i()},clone:e=>wn(e,t,n,o)};return _}function _n(e){if(Cn(e))return(e=bo(e)).children=null,e}function kn(e){return Cn(e)?e.children?e.children[0]:void 0:e}function Sn(e,t){6&e.shapeFlag&&e.component?Sn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Tn(e,t=!1){let n=[],o=0;for(let r=0;r<e.length;r++){const a=e[r];a.type===eo?(128&a.patchFlag&&o++,n=n.concat(Tn(a.children,t))):(t||a.type!==no)&&n.push(a)}if(o>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}const Cn=e=>e.type.__isKeepAlive;RegExp,RegExp;function On(e){return e.displayName||e.name}function An(e,t){return T(e)?e.some((e=>An(e,t))):L(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Ln(e){let t=e.shapeFlag;256&t&&256,512&t&&512,e.shapeFlag=t}function En(e){return 128&e.shapeFlag?e.ssContent:e}const In=e=>"_"===e[0]||"$stable"===e,Mn=e=>T(e)?e.map(_o):[_o(e)],zn=(e,t,n)=>qt((e=>Mn(t(e))),n),Rn=(e,t)=>{const n=e._ctx;for(const o in e){if(In(o))continue;const r=e[o];if(A(r))t[o]=zn(0,r,n);else if(null!=r){0;const e=Mn(r);t[o]=()=>e}}},Un=(e,t)=>{const n=Mn(t);e.slots.default=()=>n};function Nn(e,t){if(null===zt)return e;const n=zt.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,a,i,l=g]=t[e];A(r)&&(r={mounted:r,updated:r}),o.push({dir:r,instance:n,value:a,oldValue:void 0,arg:i,modifiers:l})}return e}function Dn(e,t,n,o){const r=e.dirs,a=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];a&&(l.oldValue=a[i].value);const s=l.dir[o];s&&it(s,n,8,[e.el,l,e,t])}}function Pn(){return{app:null,config:{isNativeTag:b,performance:!1,globalProperties:{},optionMergeStrategies:{},isCustomElement:b,errorHandler:void 0,warnHandler:void 0},mixins:[],components:{},directives:{},provides:Object.create(null)}}let Vn=0;function Gn(e,t){return function(n,o=null){null==o||I(o)||(o=null);const r=Pn(),a=new Set;let i=!1;const l=r.app={_uid:Vn++,_component:n,_props:o,_container:null,_context:r,version:qo,get config(){return r.config},set config(e){0},use:(e,...t)=>(a.has(e)||(e&&A(e.install)?(a.add(e),e.install(l,...t)):A(e)&&(a.add(e),e(l,...t))),l),mixin:e=>l,component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(a,s){if(!i){const c=mo(n,o);return c.appContext=r,s&&t?t(c,a):e(c,a),i=!0,l._container=a,a.__vue_app__=l,c.component.proxy}},unmount(){i&&e(null,l._container)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}const jn={scheduler:_t,allowRecurse:!0};const Bn=Bt,Hn=(e,t,n,o,r)=>{if(T(e))return void e.forEach(((e,a)=>Hn(e,t&&(T(t)?t[a]:t),n,o,r)));let a;a=r?4&r.shapeFlag?r.component.proxy:r.el:null;const{i,r:l}=e;const s=t&&t.r,c=i.refs===g?i.refs={}:i.refs,u=i.setupState;if(null!=s&&s!==l&&(L(s)?(c[s]=null,S(u,s)&&(u[s]=null)):Qe(s)&&(s.value=null)),L(l)){const e=()=>{c[l]=a,S(u,l)&&(u[l]=a)};a?(e.id=-1,Bn(e,o)):e()}else if(Qe(l)){const e=()=>{l.value=a};a?(e.id=-1,Bn(e,o)):e()}else A(l)&&at(l,n,12,[a,c])};function Fn(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:a,createElement:i,createText:l,createComment:s,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:f=h,cloneNode:v,insertStaticContent:b}=e,y=(e,t,n,o=null,r=null,a=null,i=!1,l=!1)=>{e&&!po(e,t)&&(o=Q(e),W(e,r,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:s,ref:c,shapeFlag:u}=t;switch(s){case to:x(e,t,n,o);break;case no:w(e,t,n,o);break;case oo:null==e&&k(t,n,o,i);break;case eo:z(e,t,n,o,r,a,i,l);break;default:1&u?T(e,t,n,o,r,a,i,l):6&u?R(e,t,n,o,r,a,i,l):(64&u||128&u)&&s.process(e,t,n,o,r,a,i,l,oe)}null!=c&&r&&Hn(c,e&&e.ref,r,a,t)},x=(e,t,o,r)=>{if(null==e)n(t.el=l(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},w=(e,t,o,r)=>{null==e?n(t.el=s(t.children||""),o,r):t.el=e.el},k=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o)},T=(e,t,n,o,r,a,i,l)=>{i=i||"svg"===t.type,null==e?C(t,n,o,r,a,i,l):L(e,t,r,a,i,l)},C=(e,t,o,a,l,s,c)=>{let d,p;const{type:f,props:g,shapeFlag:m,transition:h,scopeId:b,patchFlag:y,dirs:x}=e;if(e.el&&void 0!==v&&-1===y)d=e.el=v(e.el);else{if(d=e.el=i(e.type,s,g&&g.is),8&m?u(d,e.children):16&m&&A(e.children,d,null,a,l,s&&"foreignObject"!==f,c||!!e.dynamicChildren),x&&Dn(e,null,a,"created"),g){for(const t in g)D(t)||r(d,t,null,g[t],s,e.children,a,l,J);(p=g.onVnodeBeforeMount)&&Yn(p,a,e)}O(d,b,e,a)}x&&Dn(e,null,a,"beforeMount");const w=(!l||l&&!l.pendingBranch)&&h&&!h.persisted;w&&h.beforeEnter(d),n(d,t,o),((p=g&&g.onVnodeMounted)||w||x)&&Bn((()=>{p&&Yn(p,a,e),w&&h.enter(d),x&&Dn(e,null,a,"mounted")}),l)},O=(e,t,n,o)=>{if(t&&f(e,t),o){const r=o.type.__scopeId;r&&r!==t&&f(e,r+"-s"),0,n===o.subTree&&O(e,o.vnode.scopeId,o.vnode,o.parent)}},A=(e,t,n,o,r,a,i,l=0)=>{for(let s=l;s<e.length;s++){const l=e[s]=i?ko(e[s]):_o(e[s]);y(null,l,t,n,o,r,a,i)}},L=(e,t,n,o,i,l)=>{const s=t.el=e.el;let{patchFlag:c,dynamicChildren:d,dirs:p}=t;c|=16&e.patchFlag;const f=e.props||g,v=t.props||g;let m;if((m=v.onVnodeBeforeUpdate)&&Yn(m,n,t,e),p&&Dn(t,e,n,"beforeUpdate"),c>0){if(16&c)I(s,t,f,v,n,o,i);else if(2&c&&f.class!==v.class&&r(s,"class",null,v.class,i),4&c&&r(s,"style",f.style,v.style,i),8&c){const l=t.dynamicProps;for(let t=0;t<l.length;t++){const c=l[t],u=f[c],d=v[c];(d!==u||a&&a(s,c))&&r(s,c,u,d,i,e.children,n,o,J)}}1&c&&e.children!==t.children&&u(s,t.children)}else l||null!=d||I(s,t,f,v,n,o,i);const h=i&&"foreignObject"!==t.type;d?E(e.dynamicChildren,d,s,n,o,h):l||j(e,t,s,null,n,o,h),((m=v.onVnodeUpdated)||p)&&Bn((()=>{m&&Yn(m,n,t,e),p&&Dn(t,e,n,"updated")}),o)},E=(e,t,n,o,r,a)=>{for(let i=0;i<t.length;i++){const l=e[i],s=t[i],c=l.type===eo||!po(l,s)||6&l.shapeFlag||64&l.shapeFlag?d(l.el):n;y(l,s,c,null,o,r,a,!0)}},I=(e,t,n,o,i,l,s)=>{if(n!==o){for(const c in o){if(D(c))continue;const u=o[c],d=n[c];(u!==d||a&&a(e,c))&&r(e,c,d,u,s,t.children,i,l,J)}if(n!==g)for(const a in n)D(a)||a in o||r(e,a,n[a],null,s,t.children,i,l,J)}},z=(e,t,o,r,a,i,s,c)=>{const u=t.el=e?e.el:l(""),d=t.anchor=e?e.anchor:l("");let{patchFlag:p,dynamicChildren:f}=t;p>0&&(c=!0),null==e?(n(u,o,r),n(d,o,r),A(t.children,o,d,a,i,s,c)):p>0&&64&p&&f?(E(e.dynamicChildren,f,o,a,i,s),(null!=t.key||a&&t===a.subTree)&&qn(e,t,!0)):j(e,t,o,d,a,i,s,c)},R=(e,t,n,o,r,a,i,l)=>{null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,l):U(t,n,o,r,a,i,l):N(e,t,l)},U=(e,t,n,o,r,a,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Io,a={uid:Mo++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tn(o,r),emitsOptions:It(o,r),emit:null,emitted:null,ctx:g,data:g,props:g,attrs:g,slots:g,refs:g,setupState:g,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};a.ctx={_:a};a.root=t?t.root:a,a.emit=Et.bind(null,a),!1;return a}(e,o,r);if(Cn(e)&&(l.ctx.renderer=oe),function(e,t=!1){Do=t;const{props:n,children:o,shapeFlag:r}=e.vnode,a=4&r;Jt(e,n,a,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,$(t,"_",n)):Rn(t,e.slots={})}else e.slots={},t&&Un(e,t);$(e.slots,fo,1)})(e,o);const i=a?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Lo),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){return{attrs:e.attrs,slots:e.slots,emit:e.emit}}(e):null;zo=e,ie();const r=at(o,e,0,[e.props,n]);if(le(),zo=null,M(r)){if(t)return r.then((t=>{Po(e,t)}));e.asyncDep=r}else Po(e,r)}else Vo(e)}(e,t):void 0;Do=!1}(l),l.asyncDep){if(r&&r.registerDep(l,P),!e.el){const e=l.subTree=mo(no);w(null,e,t,n)}}else P(l,e,t,n,r,a,i)},N=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:a}=e,{props:i,children:l,patchFlag:s}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&s>0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||Vt(o,i,c):!!i);if(1024&s)return!0;if(16&s)return o?Vt(o,i,c):!!i;if(8&s){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==o[n]&&!Mt(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void V(o,t,n);o.next=t,function(e){const t=ut.indexOf(e);t>-1&&(ut[t]=null)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},P=(e,t,n,o,r,a,i)=>{e.update=ee((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:s,vnode:c}=e,u=n;0,n?(n.el=c.el,V(e,n,i)):n=c,o&&q(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Yn(t,s,n,c);const p=Ut(e);0;const f=e.subTree;e.subTree=p,y(f,p,d(f.el),Q(f),e,r,a),n.el=p.el,null===u&&Gt(e,p.el),l&&Bn(l,r),(t=n.props&&n.props.onVnodeUpdated)&&Bn((()=>{Yn(t,s,n,c)}),r)}else{let i;const{el:l,props:s}=t,{bm:c,m:u,parent:d}=e;c&&q(c),(i=s&&s.onVnodeBeforeMount)&&Yn(i,d,t);const p=e.subTree=Ut(e);0,l&&ae?ae(t.el,p,e,r):(y(null,p,n,o,e,r,a),t.el=p.el),u&&Bn(u,r),(i=s&&s.onVnodeMounted)&&Bn((()=>{Yn(i,d,t)}),r);const{a:f}=e;f&&256&t.shapeFlag&&Bn(f,r),e.isMounted=!0}}),jn)},V=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:a,vnode:{patchFlag:i}}=e,l=Ze(r),[s]=e.propsOptions;if(!(o||i>0)||16&i){let o;Qt(e,t,r,a);for(const a in l)t&&(S(t,a)||(o=B(a))!==a&&S(t,o))||(s?!n||void 0===n[a]&&void 0===n[o]||(r[a]=en(s,t||g,a,void 0,e)):delete r[a]);if(a!==l)for(const e in a)t&&S(t,e)||delete a[e]}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){const i=n[o],c=t[i];if(s)if(S(a,i))a[i]=c;else{const t=G(i);r[t]=en(s,l,t,c,e)}else a[i]=c}}ce(e,"set","$attrs")}(e,t.props,o,n),((e,t)=>{const{vnode:n,slots:o}=e;let r=!0,a=g;if(32&n.shapeFlag){const e=t._;e?1===e?r=!1:_(o,t):(r=!t.$stable,Rn(t,o)),a=t}else t&&(Un(e,t),a={default:1});if(r)for(const e in o)In(e)||e in a||delete o[e]})(e,t.children),Ct(void 0,e.update)},j=(e,t,n,o,r,a,i,l=!1)=>{const s=e&&e.children,c=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void F(s,d,n,o,r,a,i,l);if(256&p)return void H(s,d,n,o,r,a,i,l)}8&f?(16&c&&J(s,r,a),d!==s&&u(n,d)):16&c?16&f?F(s,d,n,o,r,a,i,l):J(s,r,a,!0):(8&c&&u(n,""),16&f&&A(d,n,o,r,a,i,l))},H=(e,t,n,o,r,a,i,l)=>{t=t||m;const s=(e=e||m).length,c=t.length,u=Math.min(s,c);let d;for(d=0;d<u;d++){const o=t[d]=l?ko(t[d]):_o(t[d]);y(e[d],o,n,null,r,a,i,l)}s>c?J(e,r,a,!0,!1,u):A(t,n,o,r,a,i,l,u)},F=(e,t,n,o,r,a,i,l)=>{let s=0;const c=t.length;let u=e.length-1,d=c-1;for(;s<=u&&s<=d;){const o=e[s],c=t[s]=l?ko(t[s]):_o(t[s]);if(!po(o,c))break;y(o,c,n,null,r,a,i,l),s++}for(;s<=u&&s<=d;){const o=e[u],s=t[d]=l?ko(t[d]):_o(t[d]);if(!po(o,s))break;y(o,s,n,null,r,a,i,l),u--,d--}if(s>u){if(s<=d){const e=d+1,u=e<c?t[e].el:o;for(;s<=d;)y(null,t[s]=l?ko(t[s]):_o(t[s]),n,u,r,a,i),s++}}else if(s>d)for(;s<=u;)W(e[s],r,a,!0),s++;else{const p=s,f=s,v=new Map;for(s=f;s<=d;s++){const e=t[s]=l?ko(t[s]):_o(t[s]);null!=e.key&&v.set(e.key,s)}let g,h=0;const b=d-f+1;let x=!1,w=0;const _=new Array(b);for(s=0;s<b;s++)_[s]=0;for(s=p;s<=u;s++){const o=e[s];if(h>=b){W(o,r,a,!0);continue}let c;if(null!=o.key)c=v.get(o.key);else for(g=f;g<=d;g++)if(0===_[g-f]&&po(o,t[g])){c=g;break}void 0===c?W(o,r,a,!0):(_[c-f]=s+1,c>=w?w=c:x=!0,y(o,t[c],n,null,r,a,i,l),h++)}const k=x?function(e){const t=e.slice(),n=[0];let o,r,a,i,l;const s=e.length;for(o=0;o<s;o++){const s=e[o];if(0!==s){if(r=n[n.length-1],e[r]<s){t[o]=r,n.push(o);continue}for(a=0,i=n.length-1;a<i;)l=(a+i)/2|0,e[n[l]]<s?a=l+1:i=l;s<e[n[a]]&&(a>0&&(t[o]=n[a-1]),n[a]=o)}}a=n.length,i=n[a-1];for(;a-- >0;)n[a]=i,i=t[i];return n}(_):m;for(g=k.length-1,s=b-1;s>=0;s--){const e=f+s,l=t[e],u=e+1<c?t[e+1].el:o;0===_[s]?y(null,l,n,u,r,a,i):x&&(g<0||s!==k[g]?Y(l,n,u,2):g--)}}},Y=(e,t,o,r,a=null)=>{const{el:i,type:l,transition:s,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,oe);if(l===eo){n(i,t,o);for(let e=0;e<c.length;e++)Y(c[e],t,o,r);return void n(e.anchor,t,o)}if(2!==r&&1&u&&s)if(0===r)s.beforeEnter(i),n(i,t,o),Bn((()=>s.enter(i)),a);else{const{leave:e,delayLeave:r,afterLeave:a}=s,l=()=>n(i,t,o),c=()=>{e(i,(()=>{l(),a&&a()}))};r?r(i,l,c):c()}else n(i,t,o)},W=(e,t,n,o=!1,r=!1)=>{const{type:a,props:i,ref:l,children:s,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=l&&t&&Hn(l,null,t,n,null),256&u)return void t.ctx.deactivate(e);const f=1&u&&p;let v;if((v=i&&i.onVnodeBeforeUnmount)&&Yn(v,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Dn(e,null,t,"beforeUnmount"),c&&(a!==eo||d>0&&64&d)?J(c,t,n,!1,!0):(a===eo&&(128&d||256&d)||!r&&16&u)&&J(s,t,n),64&u&&(o||!$n(e.props))&&e.type.remove(e,oe),o&&K(e)}((v=i&&i.onVnodeUnmounted)||f)&&Bn((()=>{v&&Yn(v,t,e),f&&Dn(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:r,transition:a}=e;if(t===eo)return void X(n,r);const i=()=>{o(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:o}=a,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},X=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},Z=(e,t,n)=>{const{bum:o,effects:r,update:a,subTree:i,um:l}=e;if(o&&q(o),r)for(let e=0;e<r.length;e++)te(r[e]);a&&(te(a),W(i,e,t,n)),l&&Bn(l,t),Bn((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},J=(e,t,n,o=!1,r=!1,a=0)=>{for(let i=a;i<e.length;i++)W(e[i],t,n,o,r)},Q=e=>6&e.shapeFlag?Q(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),ne=(e,t)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):y(t._vnode||null,e,t),Ot(),t._vnode=e},oe={p:y,um:W,m:Y,r:K,mt:U,mc:A,pc:j,pbc:E,n:Q,o:e};let re,ae;return t&&([re,ae]=t(oe)),{render:ne,hydrate:re,createApp:Gn(ne,re)}}function Yn(e,t,n,o=null){it(e,t,7,[n,o])}function qn(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let e=0;e<o.length;e++){const t=o[e];let a=r[e];1&a.shapeFlag&&!a.dynamicChildren&&((a.patchFlag<=0||32===a.patchFlag)&&(a=r[e]=ko(r[e]),a.el=t.el),n||qn(t,a))}}const $n=e=>e&&(e.disabled||""===e.disabled);const Wn="components";function Kn(e){return Jn(Wn,e)||e}const Xn=Symbol();function Zn(e){return Jn("directives",e)}function Jn(e,t,n=!0){const o=zt||zo;if(o){const n=o.type;if(e===Wn){const e=n.displayName||n.name;if(e&&(e===t||e===G(t)||e===H(G(t))))return n}return Qn(o[e]||n[e],t)||Qn(o.appContext[e],t)}}function Qn(e,t){return e&&(e[t]||e[G(t)]||e[H(G(t))])}const eo=Symbol(void 0),to=Symbol(void 0),no=Symbol(void 0),oo=Symbol(void 0),ro=[];let ao=null;function io(e=!1){ro.push(ao=e?null:[])}function lo(){ro.pop(),ao=ro[ro.length-1]||null}let so=1;function co(e,t,n,o,r){const a=mo(e,t,n,o,r,!0);return a.dynamicChildren=ao||m,lo(),so>0&&ao&&ao.push(a),a}function uo(e){return!!e&&!0===e.__v_isVNode}function po(e,t){return e.type===t.type&&e.key===t.key}const fo="__vInternal",vo=({key:e})=>null!=e?e:null,go=({ref:e})=>null!=e?T(e)?e:{i:zt,r:e}:null,mo=ho;function ho(e,t=null,n=null,o=0,r=null,a=!1){if(e&&e!==Xn||(e=no),uo(e)){const o=bo(e,t,!0);return n&&So(o,n),o}if(jo(e)&&(e=e.__vccOpts),t){(Xe(t)||fo in t)&&(t=_({},t));let{class:e,style:n}=t;e&&!L(e)&&(t.class=p(e)),I(n)&&(Xe(n)&&!T(n)&&(n=_({},n)),t.style=s(n))}const i=L(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:A(e)?2:0;const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vo(t),ref:t&&go(t),scopeId:$t,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};if(So(l,n),128&i){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=jt(n.default),r=jt(n.fallback)):(o=jt(n),r=_o(null)),{content:o,fallback:r}}(l);l.ssContent=e,l.ssFallback=t}return so>0&&!a&&ao&&(o>0||6&i)&&32!==o&&ao.push(l),l}function bo(e,t,n=!1){const{props:o,ref:r,patchFlag:a}=e,i=t?To(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&vo(i),ref:t&&t.ref?n&&r?T(r)?r.concat(go(t)):[r,go(t)]:go(t):r,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==eo?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bo(e.ssContent),ssFallback:e.ssFallback&&bo(e.ssFallback),el:e.el,anchor:e.anchor}}function yo(e=" ",t=0){return mo(to,null,e,t)}function xo(e,t){const n=mo(oo,null,e);return n.staticCount=t,n}function wo(e="",t=!1){return t?(io(),co(no,null,e)):mo(no,null,e)}function _o(e){return null==e||"boolean"==typeof e?mo(no):T(e)?mo(eo,null,e):"object"==typeof e?null===e.el?e:bo(e):mo(to,null,String(e))}function ko(e){return null===e.el?e:bo(e)}function So(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(T(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&Ft(1),So(e,n()),n._c&&Ft(-1)))}{n=32;const o=t._;o||fo in t?3===o&&zt&&(1024&zt.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=zt}}else A(t)?(t={default:t,_ctx:zt},n=32):(t=String(t),64&o?(n=16,t=[yo(t)]):n=8);e.children=t,e.shapeFlag|=n}function To(...e){const t=_({},e[0]);for(let n=1;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=p([t.class,o.class]));else if("style"===e)t.style=s([t.style,o.style]);else if(x(e)){const n=t[e],r=o[e];n!==r&&(t[e]=n?[].concat(n,o[e]):r)}else""!==e&&(t[e]=o[e])}return t}function Co(e,t){if(zo){let n=zo.provides;const o=zo.parent&&zo.parent.provides;o===n&&(n=zo.provides=Object.create(o)),n[e]=t}else 0}function Oo(e,t,n=!1){const o=zo||zt;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&A(t)?t():t}else 0}const Ao=_(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>e.parent&&e.parent.proxy,$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>()=>_t(e.update),$nextTick:e=>wt.bind(e.proxy),$watch:e=>h}),Lo={get({_:e},t){const{ctx:n,setupState:o,data:r,props:a,accessCache:i,type:l,appContext:s}=e;if("__v_skip"===t)return!0;let c;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 0:return o[t];case 1:return r[t];case 3:return n[t];case 2:return a[t]}else{if(o!==g&&S(o,t))return i[t]=0,o[t];if(r!==g&&S(r,t))return i[t]=1,r[t];if((c=e.propsOptions[0])&&S(c,t))return i[t]=2,a[t];if(n!==g&&S(n,t))return i[t]=3,n[t];i[t]=4}}const u=Ao[t];let d,p;return u?("$attrs"===t&&se(e,0,t),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==g&&S(n,t)?(i[t]=3,n[t]):(p=s.config.globalProperties,S(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;if(r!==g&&S(r,t))r[t]=n;else if(o!==g&&S(o,t))o[t]=n;else if(t in e.props)return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:a}},i){let l;return void 0!==n[i]||e!==g&&S(e,i)||t!==g&&S(t,i)||(l=a[0])&&S(l,i)||S(o,i)||S(Ao,i)||S(r.config.globalProperties,i)}};const Eo=_({},Lo,{get(e,t){if(t!==Symbol.unscopables)return Lo.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!a(t)});const Io=Pn();let Mo=0;let zo=null;const Ro=()=>zo||zt,Uo=e=>{zo=e};let No,Do=!1;function Po(e,t,n){var o;A(t)?e.render=t:I(t)&&(e.setupState=We(o=t)?o:new Proxy(o,ot)),Vo(e)}function Vo(e,t){const n=e.type;e.render||(No&&n.template&&!n.render&&(n.render=No(n.template,{isCustomElement:e.appContext.config.isCustomElement,delimiters:n.delimiters})),e.render=n.render||h,e.render._rc&&(e.withProxy=new Proxy(e.ctx,Eo)))}function Go(e){zo&&(zo.effects||(zo.effects=[])).push(e)}function jo(e){return A(e)&&"__vccOpts"in e}function Bo(e){const t=function(e){let t,n;return A(e)?(t=e,n=h):(t=e.get,n=e.set),new rt(t,n,A(e)||!e.set)}(e);return Go(t.effect),t}function Ho(e){return A(e)?{setup:e,name:e.name}:e}function Fo(e,t,n){const o=arguments.length;return 2===o?I(t)&&!T(t)?uo(t)?mo(e,null,[t]):mo(e,t):mo(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&uo(n)&&(n=[n]),mo(e,t,n))}Symbol("");function Yo(e,t){let n;if(T(e)||L(e)){n=new Array(e.length);for(let o=0,r=e.length;o<r;o++)n[o]=t(e[o],o)}else if("number"==typeof e){0,n=new Array(e);for(let o=0;o<e;o++)n[o]=t(o+1,o)}else if(I(e))if(e[Symbol.iterator])n=Array.from(e,t);else{const o=Object.keys(e);n=new Array(o.length);for(let r=0,a=o.length;r<a;r++){const a=o[r];n[r]=t(e[a],a,r)}}else n=[];return n}const qo="3.0.2",$o="http://www.w3.org/2000/svg",Wo="undefined"!=typeof document?document:null;let Ko,Xo;const Zo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?Wo.createElementNS($o,e):Wo.createElement(e,n?{is:n}:void 0),createText:e=>Wo.createTextNode(e),createComment:e=>Wo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,o){const r=o?Xo||(Xo=Wo.createElementNS($o,"svg")):Ko||(Ko=Wo.createElement("div"));r.innerHTML=e;const a=r.firstChild;let i=a,l=i;for(;i;)l=i,Zo.insert(i,t,n),i=r.firstChild;return[a,l]}};const Jo=/\s*!important$/;function Qo(e,t,n){if(T(n))n.forEach((n=>Qo(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=tr[t];if(n)return n;let o=G(t);if("filter"!==o&&o in e)return tr[t]=o;o=H(o);for(let n=0;n<er.length;n++){const r=er[n]+o;if(r in e)return tr[t]=r}return t}(e,t);Jo.test(n)?e.setProperty(B(o),n.replace(Jo,""),"important"):e[o]=n}}const er=["Webkit","Moz","ms"],tr={};const nr="http://www.w3.org/1999/xlink";let or=Date.now;"undefined"!=typeof document&&or()>document.createEvent("Event").timeStamp&&(or=()=>performance.now());let rr=0;const ar=Promise.resolve(),ir=()=>{rr=0};function lr(e,t,n,o){e.addEventListener(t,n,o)}function sr(e,t,n,o,r=null){const a=e._vei||(e._vei={}),i=a[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(cr.test(e)){let n;for(t={};n=e.match(cr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);if(o){lr(e,n,a[t]=function(e,t){const n=e=>{(e.timeStamp||or())>=n.attached-1&&it(function(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>rr||(ar.then(ir),rr=or()))(),n}(o,r),l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),a[t]=void 0)}}const cr=/(?:Once|Passive|Capture)$/;const ur=/^on[a-z]/;const dr="transition",pr="animation",fr=(e,{slots:t})=>Fo(yn,mr(e),t);fr.displayName="Transition";const vr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},gr=fr.props=_({},yn.props,vr);function mr(e){let{name:t="v",type:n,css:o=!0,duration:r,enterFromClass:a=t+"-enter-from",enterActiveClass:i=t+"-enter-active",enterToClass:l=t+"-enter-to",appearFromClass:s=a,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:d=t+"-leave-from",leaveActiveClass:p=t+"-leave-active",leaveToClass:f=t+"-leave-to"}=e;const v={};for(const t in e)t in vr||(v[t]=e[t]);if(!o)return v;const g=function(e){if(null==e)return null;if(I(e))return[hr(e.enter),hr(e.leave)];{const t=hr(e);return[t,t]}}(r),m=g&&g[0],h=g&&g[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:x,onLeave:w,onLeaveCancelled:k,onBeforeAppear:S=b,onAppear:T=y,onAppearCancelled:C=x}=v,O=(e,t,n)=>{yr(e,t?u:l),yr(e,t?c:i),n&&n()},A=(e,t)=>{yr(e,f),yr(e,p),t&&t()},L=e=>(t,o)=>{const r=e?T:y,i=()=>O(t,e,o);r&&r(t,i),xr((()=>{yr(t,e?s:a),br(t,e?u:l),r&&r.length>1||(m?setTimeout(i,m):wr(t,n,i))}))};return _(v,{onBeforeEnter(e){b&&b(e),br(e,i),br(e,a)},onBeforeAppear(e){S&&S(e),br(e,c),br(e,s)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){const o=()=>A(e,t);br(e,p),br(e,d),xr((()=>{yr(e,d),br(e,f),w&&w.length>1||(h?setTimeout(o,h):wr(e,n,o))})),w&&w(e,o)},onEnterCancelled(e){O(e,!1),x&&x(e)},onAppearCancelled(e){O(e,!0),C&&C(e)},onLeaveCancelled(e){A(e),k&&k(e)}})}function hr(e){return W(e)}function br(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function yr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function xr(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}function wr(e,t,n){const{type:o,timeout:r,propCount:a}=_r(e,t);if(!o)return n();const i=o+"end";let l=0;const s=()=>{e.removeEventListener(i,c),n()},c=t=>{t.target===e&&++l>=a&&s()};setTimeout((()=>{l<a&&s()}),r+1),e.addEventListener(i,c)}function _r(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),a=o("transitionDuration"),i=kr(r,a),l=o("animationDelay"),s=o("animationDuration"),c=kr(l,s);let u=null,d=0,p=0;t===dr?i>0&&(u=dr,d=i,p=a.length):t===pr?c>0&&(u=pr,d=c,p=s.length):(d=Math.max(i,c),u=d>0?i>c?dr:pr:null,p=u?u===dr?a.length:s.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===dr&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function kr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Sr(t)+Sr(e[n]))))}function Sr(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Tr(e){return e&&Tr(e.__v_raw)||e}const Cr=new WeakMap,Or=new WeakMap,Ar={name:"TransitionGroup",props:_({},gr,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ro(),o=hn();let r,a;return un((()=>{if(!r.length)return;const t=e.moveClass||(e.name||"v")+"-move";if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=_r(o);return r.removeChild(o),a}(r[0].el,n.vnode.el,t))return;r.forEach(Lr),r.forEach(Er);const o=r.filter(Ir);document.body.offsetHeight,o.forEach((e=>{const n=e.el,o=n.style;br(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,yr(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=Tr(e),l=mr(i),s=i.tag||eo;r=a,a=t.default?Tn(t.default()):[];for(let e=0;e<a.length;e++){const t=a[e];null!=t.key&&Sn(t,wn(t,l,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];Sn(t,wn(t,l,o,n)),Cr.set(t,t.el.getBoundingClientRect())}return mo(s,null,a)}}};function Lr(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Er(e){Or.set(e,e.el.getBoundingClientRect())}function Ir(e){const t=Cr.get(e),n=Or.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const Mr=e=>{const t=e.props["onUpdate:modelValue"];return T(t)?e=>q(t,e):t};function zr(e){e.target.composing=!0}function Rr(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const Ur={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Mr(r);const a=o||"number"===e.type;lr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():a&&(o=W(o)),e._assign(o)})),n&&lr(e,"change",(()=>{e.value=e.value.trim()})),t||(lr(e,"compositionstart",zr),lr(e,"compositionend",Rr),lr(e,"change",Rr))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Mr(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&W(e.value)===t)return}const a=null==t?"":t;e.value!==a&&(e.value=a)}};const Nr=["ctrl","shift","alt","meta"],Dr={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Nr.some((n=>e[n+"Key"]&&!t.includes(n)))},Pr=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=Dr[t[e]];if(o&&o(n,t))return}return e(n,...o)},Vr={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Gr=(e,t)=>n=>{if(!("key"in n))return;const o=B(n.key);return t.some((e=>e===o||Vr[e]===o))?e(n):void 0},jr={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Br(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Br(e,!0),o.enter(e)):o.leave(e,(()=>{Br(e,!1)})):Br(e,t))},beforeUnmount(e,{value:t}){Br(e,t)}};function Br(e,t){e.style.display=t?e._vod:"none"}const Hr=_({patchProp:(e,t,n,o,r=!1,a,i,s,c)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,o,r);break;case"style":!function(e,t,n){const o=e.style;if(n)if(L(n))t!==n&&(o.cssText=n);else{for(const e in n)Qo(o,e,n[e]);if(t&&!L(t))for(const e in t)null==n[e]&&Qo(o,e,"")}else e.removeAttribute("style")}(e,n,o);break;default:x(t)?w(t)||sr(e,t,0,o,i):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&ur.test(t)&&A(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t&&"string"==typeof n)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if(ur.test(t)&&L(n))return!1;return t in e}(e,t,o,r)?function(e,t,n,o,r,a,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,a),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName)if(""===n&&"boolean"==typeof e[t])e[t]=!0;else if(null==n&&"string"==typeof e[t])e[t]="",e.removeAttribute(t);else try{e[t]=n}catch(e){}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,o,a,i,s,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(nr,t.slice(6,t.length)):e.setAttributeNS(nr,t,n);else{const o=l(t);null==n||o&&!1===n?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,r))}},forcePatchProp:(e,t)=>"value"===t},Zo);let Fr;function Yr(){return Fr||(Fr=Fn(Hr))}const qr=(...e)=>{const t=Yr().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=$r(e);if(!o)return;const r=t._component;A(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const a=n(o);return o.removeAttribute("v-cloak"),o.setAttribute("data-v-app",""),a},t};function $r(e){if(L(e)){return document.querySelector(e)}return e}var Wr=n(455),Kr=n.n(Wr),Xr=n(4473),Zr=n.n(Xr);function Jr(e,t,n,o,r,a,i,l,s,c,u,d,p,f,v,g,m,h,b,y){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return o(n(t(e)));case 5:return r(o(n(t(e))));case 6:return a(r(o(n(t(e)))));case 7:return i(a(r(o(n(t(e))))));case 8:return l(i(a(r(o(n(t(e)))))));case 9:return s(l(i(a(r(o(n(t(e))))))));case 10:return c(s(l(i(a(r(o(n(t(e)))))))));case 11:return u(c(s(l(i(a(r(o(n(t(e))))))))));case 12:return d(u(c(s(l(i(a(r(o(n(t(e)))))))))));case 13:return p(d(u(c(s(l(i(a(r(o(n(t(e))))))))))));case 14:return f(p(d(u(c(s(l(i(a(r(o(n(t(e)))))))))))));case 15:return v(f(p(d(u(c(s(l(i(a(r(o(n(t(e))))))))))))));case 16:return g(v(f(p(d(u(c(s(l(i(a(r(o(n(t(e)))))))))))))));case 17:return m(g(v(f(p(d(u(c(s(l(i(a(r(o(n(t(e))))))))))))))));case 18:return h(m(g(v(f(p(d(u(c(s(l(i(a(r(o(n(t(e)))))))))))))))));case 19:return b(h(m(g(v(f(p(d(u(c(s(l(i(a(r(o(n(t(e))))))))))))))))));case 20:return y(b(h(m(g(v(f(p(d(u(c(s(l(i(a(r(o(n(t(e)))))))))))))))))))}}var Qr=function(e){return"Left"===e._tag},ea=function(e){return"Right"===e._tag},ta=function(e){return{_tag:"Left",left:e}},na=function(e){return{_tag:"Right",right:e}};var oa=function(e,t){return Jr(e,la(t))},ra=function(e,t){return Jr(e,aa(t))},aa=function(e){return function(t){return Qr(t)?ta(e(t.left)):t}},ia=function(e){return function(t){return Qr(t)?t:e(t.right)}},la=ia;var sa=oa,ca=ra;var ua,da=(ua=function(e,t){return(ua=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}ua(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),pa=function(){return(pa=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},fa=function(){function e(e,t,n,o){this.name=e,this.is=t,this.validate=n,this.encode=o,this.decode=this.decode.bind(this)}return e.prototype.pipe=function(t,n){var o=this;return void 0===n&&(n="pipe("+this.name+", "+t.name+")"),new e(n,t.is,(function(e,n){var r=o.validate(e,n);return Qr(r)?r:t.validate(r.right,n)}),this.encode===va&&t.encode===va?va:function(e){return o.encode(t.encode(e))})},e.prototype.asDecoder=function(){return this},e.prototype.asEncoder=function(){return this},e.prototype.decode=function(e){return this.validate(e,[{key:"",type:this,actual:e}])},e}(),va=function(e){return e},ga=function(e,t,n,o){for(var r=e.length,a=Array(r+1),i=0;i<r;i++)a[i]=e[i];return a[r]={key:t,type:n,actual:o},a},ma=ta,ha=function(e,t,n){return ma([{value:e,context:t,message:n}])},ba=na,ya=function(e,t){for(var n=t.length,o=0;o<n;o++)e.push(t[o])},xa=(new(function(e){function t(){var t=e.call(this,"null",(function(e){return null===e}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="NullType",t}return da(t,e),t}(fa)),new(function(e){function t(){var t=e.call(this,"undefined",(function(e){return void 0===e}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="UndefinedType",t}return da(t,e),t}(fa))),wa=(new(function(e){function t(){var t=e.call(this,"void",xa.is,xa.validate,va)||this;return t._tag="VoidType",t}return da(t,e),t}(fa)),new(function(e){function t(){var t=e.call(this,"unknown",(function(e){return!0}),ba,va)||this;return t._tag="UnknownType",t}return da(t,e),t}(fa)),new(function(e){function t(){var t=e.call(this,"string",(function(e){return"string"==typeof e}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="StringType",t}return da(t,e),t}(fa))),_a=new(function(e){function t(){var t=e.call(this,"number",(function(e){return"number"==typeof e}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="NumberType",t}return da(t,e),t}(fa)),ka=(new(function(e){function t(){var t=e.call(this,"bigint",(function(e){return"bigint"==typeof e}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="BigIntType",t}return da(t,e),t}(fa)),new(function(e){function t(){var t=e.call(this,"boolean",(function(e){return"boolean"==typeof e}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="BooleanType",t}return da(t,e),t}(fa))),Sa=new(function(e){function t(){var t=e.call(this,"UnknownArray",Array.isArray,(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="AnyArrayType",t}return da(t,e),t}(fa)),Ta=new(function(e){function t(){var t=e.call(this,"UnknownRecord",(function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Window]"===t}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="AnyDictionaryType",t}return da(t,e),t}(fa)),Ca=(new(function(e){function t(){var t=e.call(this,"Function",(function(e){return"function"==typeof e}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="FunctionType",t}return da(t,e),t}(fa)),function(e){function t(t,n,o,r,a,i){var l=e.call(this,t,n,o,r)||this;return l.type=a,l.predicate=i,l._tag="RefinementType",l}return da(t,e),t}(fa)),Oa=(Fa(_a,(function(e){return Number.isInteger(e)}),"Int"),function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.value=a,i._tag="LiteralType",i}da(t,e)}(fa),function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.keys=a,i._tag="KeyofType",i}return da(t,e),t}(fa)),Aa=Object.prototype.hasOwnProperty,La=function(e,t){void 0===t&&(t=Object.keys(e).map((function(e){return JSON.stringify(e)})).join(" | "));var n=function(t){return wa.is(t)&&Aa.call(e,t)};return new Oa(t,n,(function(e,t){return n(e)?ba(e):ha(e,t)}),va,e)},Ea=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.runDefinition=a,i._tag="RecursiveType",i}return da(t,e),t}(fa);Object.defineProperty(Ea.prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0});var Ia=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.type=a,i._tag="ArrayType",i}return da(t,e),t}(fa),Ma=function(e,t){return void 0===t&&(t="Array<"+e.name+">"),new Ia(t,(function(t){return Sa.is(t)&&t.every(e.is)}),(function(t,n){var o=Sa.validate(t,n);if(Qr(o))return o;for(var r=o.right,a=r.length,i=r,l=[],s=0;s<a;s++){var c=r[s],u=e.validate(c,ga(n,String(s),e,c));if(Qr(u))ya(l,u.left);else{var d=u.right;d!==c&&(i===r&&(i=r.slice()),i[s]=d)}}return l.length>0?ma(l):ba(i)}),e.encode===va?va:function(t){return t.map(e.encode)},e)},za=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.props=a,i._tag="InterfaceType",i}return da(t,e),t}(fa),Ra=function(e){return Object.keys(e).map((function(t){return t+": "+e[t].name})).join(", ")},Ua=function(e){for(var t=0;t<e.length;t++)if(e[t].encode!==va)return!1;return!0},Na=function(e){return"{ "+Ra(e)+" }"},Da=function(e,t){void 0===t&&(t=Na(e));var n=Object.keys(e),o=n.map((function(t){return e[t]})),r=n.length;return new za(t,(function(e){if(Ta.is(e)){for(var t=0;t<r;t++){var a=n[t],i=e[a];if(void 0===i&&!Aa.call(e,a)||!o[t].is(i))return!1}return!0}return!1}),(function(e,t){var a=Ta.validate(e,t);if(Qr(a))return a;for(var i=a.right,l=i,s=[],c=0;c<r;c++){var u=n[c],d=l[u],p=o[c],f=p.validate(d,ga(t,u,p,d));if(Qr(f))ya(s,f.left);else{var v=f.right;(v!==d||void 0===v&&!Aa.call(l,u))&&(l===i&&(l=pa({},i)),l[u]=v)}}return s.length>0?ma(s):ba(l)}),Ua(o)?va:function(e){for(var t=pa({},e),a=0;a<r;a++){var i=n[a],l=o[a].encode;l!==va&&(t[i]=l(e[i]))}return t},e)},Pa=(function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.props=a,i._tag="PartialType",i}da(t,e)}(fa),function(e){return"Partial<"+e+">"});!function(e){function t(t,n,o,r,a,i){var l=e.call(this,t,n,o,r)||this;return l.domain=a,l.codomain=i,l._tag="DictionaryType",l}da(t,e)}(fa);var Va=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.types=a,i._tag="UnionType",i}return da(t,e),t}(fa);!function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.types=a,i._tag="IntersectionType",i}da(t,e)}(fa);!function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.types=a,i._tag="TupleType",i}da(t,e)}(fa);(function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.type=a,i._tag="ReadonlyType",i}da(t,e)})(fa),function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.type=a,i._tag="ReadonlyArrayType",i}da(t,e)}(fa),function(e){function t(t,n,o,r,a,i){var l=e.call(this,t,n,o,r,a)||this;return l.tag=i,l}da(t,e)}(Va);var Ga=function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.type=a,i._tag="ExactType",i}return da(t,e),t}(fa),ja=function(e){switch(e._tag){case"RefinementType":case"ReadonlyType":return ja(e.type);case"InterfaceType":case"StrictType":case"PartialType":return e.props;case"IntersectionType":return e.types.reduce((function(e,t){return Object.assign(e,ja(t))}),{})}},Ba=function(e,t){for(var n=Object.getOwnPropertyNames(e),o=!1,r={},a=0;a<n.length;a++){var i=n[a];Aa.call(t,i)?r[i]=e[i]:o=!0}return o?r:e},Ha=function(e,t){void 0===t&&(t=function(e){return Ya(e)?"{| "+Ra(e.props)+" |}":function(e){return"PartialType"===e._tag}(e)?Pa("{| "+Ra(e.props)+" |}"):"Exact<"+e.name+">"}(e));var n=ja(e);return new Ga(t,e.is,(function(t,o){var r=Ta.validate(t,o);if(Qr(r))return r;var a=e.validate(t,o);return Qr(a)?a:na(Ba(a.right,n))}),(function(t){return e.encode(Ba(t,n))}),e)};new(function(e){function t(){var t=e.call(this,"never",(function(e){return!1}),(function(e,t){return ha(e,t)}),(function(){throw new Error("cannot encode never")}))||this;return t._tag="NeverType",t}return da(t,e),t}(fa)),new(function(e){function t(){var t=e.call(this,"any",(function(e){return!0}),ba,va)||this;return t._tag="AnyType",t}return da(t,e),t}(fa)),new(function(e){function t(){var t=e.call(this,"object",(function(e){return null!==e&&"object"==typeof e}),(function(e,n){return t.is(e)?ba(e):ha(e,n)}),va)||this;return t._tag="ObjectType",t}return da(t,e),t}(fa));function Fa(e,t,n){var o;return void 0===n&&(n="("+e.name+" | "+(((o=t).displayName||o.name||"<function"+o.length+">")+")")),new Ca(n,(function(n){return e.is(n)&&t(n)}),(function(n,o){var r=e.validate(n,o);if(Qr(r))return r;var a=r.right;return t(a)?ba(a):ha(a,o)}),e.encode,e,t)}Fa(_a,Number.isInteger,"Integer"),function(e){function t(t,n,o,r,a){var i=e.call(this,t,n,o,r)||this;return i.props=a,i._tag="StrictType",i}da(t,e)}(fa);function Ya(e){return"InterfaceType"===e._tag}class qa extends fa{constructor(e,t){super(null!=t?t:"enum",(e=>{var t;return!!Zr()(t=Kr()(this.enumObject)).call(t,(t=>t===e))&&"number"!=typeof this.enumObject[e]}),((e,t)=>this.is(e)?ba(e):ha(e,t)),va),this._tag="EnumType",this.enumObject=e}}const $a=(e,t)=>new qa(e,t);n(3770),n(7195);var Wa=n(7766),Ka=n.n(Wa),Xa=n(3032),Za=n.n(Xa);function Ja(e,t){e.style.transform=t,e.style.webkitTransform=t}function Qa(e,t){e.style.opacity=t.toString()}function ei(e){return"TouchEvent"===e.constructor.name}var ti=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.getBoundingClientRect(),r=ei(e)?e.touches[e.touches.length-1]:e,a=r.clientX-o.left,i=r.clientY-o.top,l=0,s=.3;t._ripple&&t._ripple.circle?(s=.15,l=t.clientWidth/2,l=n.center?l:l+Math.sqrt(Math.pow(a-l,2)+Math.pow(i-l,2))/4):l=Math.sqrt(Math.pow(t.clientWidth,2)+Math.pow(t.clientHeight,2))/2;var c=(t.clientWidth-2*l)/2+"px",u=(t.clientHeight-2*l)/2+"px",d=n.center?c:a-l+"px",p=n.center?u:i-l+"px";return{radius:l,scale:s,x:d,y:p,centerX:c,centerY:u}},ni=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t._ripple&&t._ripple.enabled){var o=document.createElement("span"),r=document.createElement("span");o.appendChild(r),o.className="v-ripple__container",n.class&&(o.className+=" "+n.class);var a=ti(e,t,n),i=a.radius,l=a.scale,s=a.x,c=a.y,u=a.centerX,d=a.centerY,p=2*i+"px";r.className="v-ripple__animation",r.style.width=p,r.style.height=p,t.appendChild(o);var f=window.getComputedStyle(t);f&&"static"===f.position&&(t.style.position="relative",t.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),Ja(r,"translate("+s+", "+c+") scale3d("+l+","+l+","+l+")"),Qa(r,0),r.dataset.activated=String(performance.now()),Za()((function(){r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),Ja(r,"translate("+u+", "+d+") scale3d(1,1,1)"),Qa(r,.25)}),0)}},oi=function(e){if(e&&e._ripple&&e._ripple.enabled){var t=e.getElementsByClassName("v-ripple__animation");if(0!==t.length){var n=t[t.length-1];if(!n.dataset.isHiding){n.dataset.isHiding="true";var o=performance.now()-Number(n.dataset.activated),r=Math.max(250-o,0);Za()((function(){n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),Qa(n,0),Za()((function(){1===e.getElementsByClassName("v-ripple__animation").length&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode&&e.removeChild(n.parentNode)}),300)}),r)}}}};function ri(e){return void 0===e||!!e}function ai(e){var t={},n=e.currentTarget;n&&n._ripple&&!n._ripple.touched&&(ei(e)&&(n._ripple.touched=!0),t.center=n._ripple.centered,n._ripple.class&&(t.class=n._ripple.class),ni(e,n,t))}function ii(e){var t=e.currentTarget;t&&(window.setTimeout((function(){t._ripple&&(t._ripple.touched=!1)})),oi(t))}function li(e,t,n){var o=ri(t.value);o||oi(e),e._ripple=e._ripple||{},e._ripple.enabled=o;var r=t.value||{};r.center&&(e._ripple.centered=!0),r.class&&(e._ripple.class=t.value.class),r.circle&&(e._ripple.circle=r.circle),o&&!n?(e.addEventListener("touchstart",ai,{passive:!0}),e.addEventListener("touchend",ii,{passive:!0}),e.addEventListener("touchcancel",ii),e.addEventListener("mousedown",ai),e.addEventListener("mouseup",ii),e.addEventListener("mouseleave",ii),e.addEventListener("dragstart",ii,{passive:!0})):!o&&n&&si(e)}function si(e){e.removeEventListener("mousedown",ai),e.removeEventListener("touchstart",ii),e.removeEventListener("touchend",ii),e.removeEventListener("touchcancel",ii),e.removeEventListener("mouseup",ii),e.removeEventListener("mouseleave",ii),e.removeEventListener("dragstart",ii)}const ci={mounted:function(e,t,n){li(e,t,!1),n.context&&n.context.$nextTick((function(){var t=window.getComputedStyle(e);if(t&&"inline"===t.display){var o,r=n.fnOptions?[n.fnOptions,n.context]:[n.componentInstance];console.warn(Ka()(o=["v-ripple can only be used on block-level elements"]).call(o,r))}}))},unmounted:function(e){delete e._ripple,si(e)},updated:function(e,t){t.value!==t.oldValue&&li(e,t,ri(t.oldValue))}},ui=e=>{const t=e,n=t.currentTarget;if(!n)return;const o=n;o&&(t.deltaY>0&&o.scrollTop>=o.scrollHeight-o.clientHeight&&t.preventDefault(),t.deltaY<0&&0===o.scrollTop&&t.preventDefault())},di={mounted(e){e.addEventListener("wheel",ui)},unmounted(e){e.removeEventListener("wheel",ui)}},pi=Zt("data-v-5a9d8295");Kt("data-v-5a9d8295");const fi=mo("div",{class:"ripple-trigger absolute"},null,-1),vi={class:"label text-grey-700"};Xt();const gi=pi((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Zn("ripple");return io(),co("div",{class:"checkbox flex items-center select-none cursor-pointer",onClick:t[1]||(t[1]=(...t)=>e.toggle(...t))},[mo("div",{class:["icon relative",{checked:e.props.modelValue,"mr-2":!!e.label}]},[mo(i,{size:"100%",svg:e.props.modelValue?e.icon.checked:e.icon.unchecked},null,8,["svg"]),Nn(mo("div",{class:["ripple absolute rounded-full",{checked:e.props.modelValue}]},[fi],2),[[l,{center:!0}]])],2),mo("div",vi,f(e.label),1)])})),mi=Ho({name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},label:{type:String,default:""}},setup:(e,t)=>({props:e,icon:{checked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path fill="#1976D2" d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>\n',unchecked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#777" d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/><path d="M0 0h24v24H0z" fill="none"/></svg>\n'},toggle:()=>{t.emit("update:modelValue",!e.modelValue)}})});n(933);mi.render=gi,mi.__scopeId="data-v-5a9d8295";const hi=mi,bi=Ho({name:"CheckboxLine",props:{modelValue:Boolean,text:String,label:String,nomt:Boolean},setup:(e,t)=>{const n=e=>{t.emit("update:modelValue",e)};return()=>{var o,r,a;return mo("div",{class:[!e.nomt&&"mt-6"]},[mo(Kn("i-checkbox"),To({label:null!==(o=e.label)&&void 0!==o?o:"",modelValue:e.modelValue},{"onUpdate:modelValue":n}),null),mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[null===(r=(a=t.slots).default)||void 0===r?void 0:r.call(a),!t.slots.default&&(e.text||"")])])}}}),yi=Ho({props:{modelValue:null},setup:(e,t)=>(Co("radio-group-handle-radio-click",(e=>{t.emit("update:modelValue",e)})),Co("radio-group-value",Bo((()=>e.modelValue))),()=>{var e,n;return mo("div",{class:"radio-group flex-col items-start"},[null===(e=(n=t.slots).default)||void 0===e?void 0:e.call(n)])})}),xi=Zt("data-v-9b99df3a");Kt("data-v-9b99df3a");const wi=mo("div",{class:"ripple-trigger absolute"},null,-1),_i={class:"label text-grey-600"};Xt();const ki=xi((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Zn("ripple");return io(),co("div",{class:"radio flex justify-center flex-grow-0 select-none cursor-pointer mr-4 mt-1 mb-1",onClick:t[1]||(t[1]=(...t)=>e.handleClick(...t))},[mo("div",{class:["icon relative mr-2",{checked:e.checked}]},[mo(i,{size:"100%",svg:e.checked?e.icon.checked:e.icon.unchecked},null,8,["svg"]),Nn(mo("div",{class:["ripple absolute rounded-full",{checked:e.checked}]},[wi],2),[[l,{center:!0}]])],2),mo("div",_i,f(e.props.label),1)])})),Si={checked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#1976D2" d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M0 0h24v24H0z" fill="none"/></svg>\n',unchecked:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#777" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M0 0h24v24H0z" fill="none"/></svg>\n'},Ti=Ho({props:{modelValue:{type:null},value:{type:null,required:!0},label:{type:String,default:""}},setup:(e,t)=>{const n=Oo("radio-group-handle-radio-click"),o=Oo("radio-group-value",e.modelValue),r=Bo((()=>o?o.value===e.value:e.value===e.modelValue));return{handleClick:()=>{t.emit("update:modelValue",e.value),n&&n(e.value)},icon:Si,props:e,checked:r}}});n(4409);Ti.render=ki,Ti.__scopeId="data-v-9b99df3a";const Ci=Ti,Oi=Zt("data-v-629e59a4");Kt("data-v-629e59a4");const Ai={class:"slider select-none"},Li={class:"text text-white text-12"};Xt();const Ei=Oi((function(e,t,n,o,r,a){return io(),co("div",Ai,[mo("div",{class:"track flex items-center relative",ref:e.refs.track,onClick:t[2]||(t[2]=(...t)=>e.handleTrackClick(...t))},[mo("div",{class:"track-left bg-blue-700",style:{width:e.position+"%"}},null,4),mo("div",{class:"track-right bg-grey-400",style:{width:100-e.position+"%"}},null,4),mo("div",{class:["notch absolute bg-blue-700 rounded-full ease-in-out duration-300",{dragging:e.state.drag.dragging}],style:{left:e.position+"%"},ref:e.refs.notch,onMousedown:t[1]||(t[1]=(...t)=>e.handleNotchMouseDown(...t))},null,38),mo("div",{class:["bubble flex flex-center bg-blue-700 absolute ease-in-out duration-300 transition-transform",{dragging:e.state.drag.dragging}],style:{left:e.position+"%"}},[mo("div",Li,f(e.state.cachedValue),1)],6)],512)])})),Ii=Ho({name:"Slider",props:{modelValue:{type:Number,required:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1}},setup:(e,t)=>{const n={track:et(),notch:et()},o=Ye({drag:{startX:0,dragging:!1,afterDragging:!1},cachedValue:0}),r=t=>{if(!o.drag.dragging||!n.track.value)return;const r=(t.clientX-o.drag.startX)/n.track.value.getBoundingClientRect().width;o.cachedValue=(t=>{let n=e.modelValue+t*(e.max-e.min);n=n<e.min?e.min:n,n=n>e.max?e.max:n;const o=(n-e.min)%e.step;return o&&(o<e.step/2?n-=o:n+=e.step-o),n})(r)},a=()=>{o.drag.dragging=!1,Za()((()=>{o.drag.afterDragging=!1})),t.emit("update:modelValue",o.cachedValue)},i=Bo((()=>(o.cachedValue-e.min)/(e.max-e.min)*100));return vn((()=>e.modelValue),(()=>{o.cachedValue=e.modelValue}),{immediate:!0}),cn((()=>{window.addEventListener("mousemove",r),window.addEventListener("mouseup",a),o.cachedValue=e.modelValue})),pn((()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",a)})),{state:o,refs:n,position:i,handleNotchMouseDown:e=>{o.drag.dragging=!0,o.drag.afterDragging=!0,o.drag.startX=e.clientX},handleTrackClick:r=>{if(r.target===n.notch.value||o.drag.afterDragging||!n.track.value)return;const a=(r.clientX-n.track.value.getBoundingClientRect().left)/n.track.value.getBoundingClientRect().width;t.emit("update:modelValue",(t=>{let n=t*(e.max-e.min)+e.min;const o=(n-e.min)%e.step;return o&&(o<e.step/2?n-=o:n+=e.step-o),n})(a))}}}});n(5823);Ii.render=Ei,Ii.__scopeId="data-v-629e59a4";const Mi=Ii,zi=Zt("data-v-3651d216")((function(e,t,n,o,r,a){return io(),co("div",null,[mo("input",{class:"input py-5px px-2 bg-grey-200 text-grey-800 m-2px",type:"text",value:e.inputString,onKeydown:t[1]||(t[1]=Pr(((...t)=>e.handleKeyDown(...t)),["prevent","stop"]))},null,40,["value"])])}));var Ri=n(62),Ui=n.n(Ri),Ni=n(2991),Di=n.n(Ni),Pi=n(116),Vi=n.n(Pi),Gi=n(2762),ji=n.n(Gi),Bi=n(1643),Hi=n.n(Bi),Fi=n(9301),Yi=n.n(Fi),qi=n(8580),$i=n.n(qi),Wi=n(9291),Ki=n.n(Wi);const Xi=e=>e>="a"&&e<="z"?e.toUpperCase():e,Zi=Ho({name:"HotkeyInput",props:{modelValue:{type:null,required:!0}},setup:(e,t)=>{var n;const o=Ye({keys:null!==(n=e.modelValue)&&void 0!==n?n:[],setKeys:[]}),r=e=>{var t;const n=Xi(e.key),r=Hi()(t=Yi()(o)).call(t,n);var a;-1!==r&&ji()(a=Yi()(o)).call(a,r,1)},a=()=>{o.keys=[]},i=Bo((()=>{var e;const t=o.setKeys,n=$i()(t).call(t,"Control"),r=$i()(t).call(t,"Alt"),a=$i()(t).call(t,"Shift");return Vi()(e=[n&&"Control",r&&"Alt",a&&"Shift",...Vi()(t).call(t,(e=>{var t;return!$i()(t=["Control","Alt","Shift"]).call(t,e)}))]).call(e,Boolean)})),l=Bo((()=>{var e;return i.value.length?Di()(e=i.value).call(e,(e=>"Control"===e?"Ctrl":e)).join(" + "):"无"}));return vn((()=>i.value),(()=>{t.emit("update:modelValue",i.value)})),vn((()=>e.modelValue),(()=>{var t;e.modelValue&&(Ui()(t=e.modelValue).call(t,((e,t)=>e===o.setKeys[t]))||(o.setKeys=[...e.modelValue]))}),{immediate:!0}),cn((()=>{window.addEventListener("keyup",r),window.addEventListener("blur",a),window.addEventListener("focus",a)})),pn((()=>{window.removeEventListener("keyup",r),window.removeEventListener("blur",a),window.removeEventListener("focus",a)})),{props:e,state:o,inputString:l,handleKeyDown:e=>{var t;const n=Xi(e.key);if(!Ki()(e)){if("Backspace"===n)return o.keys=[],void(o.setKeys=[]);$i()(t=Yi()(o)).call(t,n)||Yi()(o).push(n),o.setKeys=[...Yi()(o)]}},handleKeyUp:r}}});n(771);Zi.render=zi,Zi.__scopeId="data-v-3651d216";const Ji=Zi;var Qi=n(4198),el=n.n(Qi);const tl=Ho({props:{svg:{type:String,default:""},size:{type:null,default:16},color:{type:String,default:""}},setup:e=>{const t=Bo((()=>{if(!e.size)return;const t=el()(""+e.size,10);return""+t==""+e.size?t+"px":e.size})),n=Bo((()=>e.color?e.svg.replace(/(fill="#[a-fA-F0-9]{6}")/g,`fill="${e.color}"`):e.svg)),o=Bo((()=>"data:image/svg+xml;base64,"+window.btoa(n.value)));return{computedSize:t,svgContent:n,svgUrl:o}}});tl.render=function(e,t,n,o,r,a){return io(),co("div",{class:"i-icon flex flex-center",style:{height:e.computedSize,width:e.computedSize}},[mo("img",{class:"svg-img flex-1 w-0",src:e.svgUrl,alt:""},null,8,["src"])],4)};const nl=tl,ol=Zt("data-v-a11345ba");Kt("data-v-a11345ba");const rl={class:"the-app"};Xt();const al=ol((function(e,t,n,o,r,a){const i=Kn("iciba-circle"),l=Kn("iciba-main"),s=Kn("setting-page"),c=Kn("google-dict-modal"),u=Kn("history-modal");return io(),co("div",rl,[mo(i,{ref:e.refs.icibaCircle},null,512),mo(l,{"get-iciba-circle":()=>e.refs.icibaCircle.value},null,8,["get-iciba-circle"]),mo(s),mo(c),mo(u)])}));var il,ll=n(5843),sl=n.n(ll),cl=n(8914),ul=n.n(cl),dl=n(1511),pl=n.n(dl);class fl{constructor(){this.m={}}on(e,t){var n;this.m[e]=null!==(n=this.m[e])&&void 0!==n?n:[],this.m[e].push(t)}off(e,t){if(this.m[e]){var n;const r=Hi()(n=this.m[e]).call(n,t);var o;if(-1!==r)ji()(o=this.m[e]).call(o,r,1)}}emit(e,t){var n;this.m[e]&&ul()(n=this.m[e]).call(n,(e=>e(t)))}}!function(e){e[e.TRANSLATE=0]="TRANSLATE",e[e.HOTKEY_SHOW=1]="HOTKEY_SHOW",e[e.HOTKEY_TRANSLATE=2]="HOTKEY_TRANSLATE",e[e.OPEN_SETTING=3]="OPEN_SETTING",e[e.OPEN_HISTORY=4]="OPEN_HISTORY",e[e.OPEN_GOOGLE_DICT_MODAL=5]="OPEN_GOOGLE_DICT_MODAL",e[e.HIDE_CIRCLE=6]="HIDE_CIRCLE"}(il||(il={}));const vl=new class{constructor(){this.bus=new fl}on(e){this.bus.on(""+e.event,e.listener)}off(e){this.bus.off(""+e.event,e.listener)}emit(e){return this.bus.emit(""+e.type,e)}},gl=Zt("data-v-b07dfcf8");Kt("data-v-b07dfcf8");const ml={class:"input-box flex relative flex-none bg-white"},hl={class:"provider-box flex border-b border-grey-350"},bl=mo("div",{class:"split border-l border-grey-350"},null,-1),yl={class:"content-box relative"},xl={key:1,class:"loading-tip content-item text-grey-900"},wl={key:2,class:"provider-error-message content-item text-grey-900"},_l={key:3,class:"show-up-tip content-item text-grey-500"},kl={key:0,class:"stick-box absolute border-l border-grey-350"};Xt();const Sl=gl((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("LoadingText");return io(),co("div",null,[mo("div",{class:"iciba-size-helper fixed top-auto left-auto bottom-0 right-0 w-0 h-0 overflow-hidden",ref:e.refs.sizeHelper},null,512),mo(fr,{name:"m"},{default:gl((()=>{return[Nn(mo("div",{class:"iciba-main-wrap absolute overflow-visible ease-in-out duration-150 transition-opacity",ref:e.refs.icibaMainWrap},[mo("div",{class:"iciba-main absolute flex-col items-stretch h-auto text-14 ease-in-out duration-150 transition-transform",onMouseenter:t[10]||(t[10]=t=>e.state.stickBoxVisible=!0),onMouseleave:t[11]||(t[11]=t=>e.state.stickBoxVisible=!1),style:e.mainStyle,ref:e.refs.icibaMain},[mo("div",ml,[mo("div",{class:["iciba-input-box flex relative flex-auto border-b border-grey-350",{focused:e.state.inputFocused}]},[Nn(mo("input",{class:"search-input flex-auto text-grey-900",ref:e.refs.icibaSearchInput,size:"1",type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.state.inputText=t),onFocus:t[2]||(t[2]=t=>e.state.inputFocused=!0),onBlur:t[3]||(t[3]=t=>e.state.inputFocused=!1),onKeydownCapture:t[4]||(t[4]=Pr((()=>{}),["stop"])),onKeypress:t[5]||(t[5]=Gr(((...t)=>e.m.handleInputEnter(...t)),["enter"]))},null,544),[[Ur,e.state.inputText]]),e.store.config.core.history?(io(),co("div",{key:0,class:"input-button flex flex-center cursor-pointer",onClick:t[6]||(t[6]=(...t)=>e.m.handleOpenHistory(...t))},[mo(i,{size:21,svg:e.icon.historyIcon,color:"#aaa"},null,8,["svg"])])):wo("v-if",!0),mo("div",{class:"input-button flex flex-center cursor-pointer",onClick:t[7]||(t[7]=(...t)=>e.m.handleOpenSetting(...t))},[mo(i,{svg:e.icon.settingsIcon},null,8,["svg"])])],2),mo("div",hl,[(io(!0),co(eo,null,Yo(e.showButtonProviders,(t=>(io(),co(eo,{key:t.id},[bl,mo("button",{onKeydown:Gr((n=>e.m.handleTranslateWithProvider(t.id)),["enter"]),onClick:n=>e.m.handleTranslateWithProvider(t.id),class:"provider-button flex flex-center relative flex-none"},[mo(i,{svg:e.m.getIcon(t)},null,8,["svg"])],40,["onKeydown","onClick"])],64)))),128))])]),mo("div",yl,[e.translateLoading||e.errorMessage||!e.activeProvider?wo("v-if",!0):(io(),co((n=e.activeProvider.view,L(n)?Jn(Wn,n,!1)||n:n||Xn),{class:"provider-container",key:e.activeProvider.id})),e.translateLoading?(io(),co("div",xl,[mo(l)])):wo("v-if",!0),!e.translateLoading&&e.errorMessage?(io(),co("div",wl,f(e.errorMessage),1)):wo("v-if",!0),e.activeProvider||e.translateLoading||e.errorMessage?wo("v-if",!0):(io(),co("div",_l," 等待输入查词 "))]),mo(fr,{name:"s"},{default:gl((()=>[e.store.config.core.showPin?Nn((io(),co("div",kl,[mo("div",{class:"drag flex flex-center border-b border-grey-350",onMousedown:t[8]||(t[8]=(...t)=>e.m.pinDrag.handlePinDragStart(...t))},[mo(i,{svg:e.icon.dragIcon},null,8,["svg"])],32),mo("div",{class:["stick flex flex-center relative",{pinned:e.store.config.core.pinned}],onClick:t[9]||(t[9]=(...t)=>e.m.pinDrag.handleTogglePinned(...t))},[mo(i,{svg:e.icon.pinIcon},null,8,["svg"])],2)],512)),[[jr,e.store.config.core.pinned||e.state.stickBoxVisible]]):wo("v-if",!0)])),_:1})],36)],512),[[jr,e.visible]])];var n})),_:1})])}));var Tl=n(3978),Cl=n.n(Tl),Ol=n(368),Al=n.n(Ol),Ll=n(9649),El=n.n(Ll),Il=n(4074),Ml=n.n(Il),zl=n(4310),Rl=n.n(zl),Ul=n(6902),Nl=n.n(Ul),Dl=n(1942),Pl=n.n(Dl),Vl=n(5683),Gl=n(3263),jl=n(9356);function Bl(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=jl(e);for(o=0;o<a.length;o++)n=a[o],Vl(t).call(t,n)>=0||(r[n]=e[n]);return r}(e,t);if(Gl){var a=Gl(e);for(o=0;o<a.length;o++)n=a[o],Vl(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Hl=n(7149),Fl=n.n(Hl),Yl=n(4341);function ql(e,t,n){return t in e?Yl(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $l=n(9340),Wl=n.n($l),Kl=n(3476),Xl=n.n(Kl);function Zl(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}const Jl=(e,t)=>{var n;return(null===(n=GM)||void 0===n?void 0:n.getValue)?Xl().resolve(GM.getValue(e,t)):GM_getValue?Xl().resolve(GM_getValue(e,t)):Xl().resolve(t)},Ql=(e,t)=>{var n;return(null===(n=GM)||void 0===n?void 0:n.setValue)?Xl().resolve(GM.setValue(e,t)):GM_setValue?(GM_setValue(e,t),Xl().resolve()):Xl().resolve()};class es extends Error{constructor(e,t){super(e),t&&(this.response=t)}}const ts=e=>{var t,n;const o=null!==(t=null===(n=GM)||void 0===n?void 0:n.xmlHttpRequest)&&void 0!==t?t:GM_xmlhttpRequest;if(!o)throw new Error("not running in greasymonkey or tampermonkey enviroment");return new(Xl())(((t,n)=>{const r=function(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Zl(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Zl(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}({timeout:1e4,ontimeout(e){const t=new es("timeout exceeded",e);n(t)},onerror(e){const t=new es(`request failed ${e.status} ${e.statusText}`,e);n(t)},onload(e){if(e.status<200||e.status>=300){const t=new es("response with status code "+e.status,e);n(t)}t(e)}},e);o(r)}))},ns=e=>"object"==typeof e?JSON.parse(Wl()(e)):e;var os=n(6295),rs=n.n(os);const as='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M479 96H262.8l-22.5 87.1-8 57.2 43.3 120.9 7 146.6H479a33 33 0 0 0 32.9-33V129A33 33 0 0 0 479 96z" fill="#e6e6e6"/><path fill="#3a5bbc" d="M368.7 416l-86.3 91.8L252 416l12.4-33.5z"/><path d="M469.6 244.2v-20.9h-79.3v-29.2h-21v29.2H298v20.9h116a458.7 458.7 0 0 1-33 58c-14.2-17.6-23.1-30-23.2-30l-6.2-8.5-16.9 12.2 6.2 8.5c.4.6 10.8 15 27.3 35.3a800.7 800.7 0 0 1-42.6 47l14.7 14.7a861 861 0 0 0 41.4-45.3 836.8 836.8 0 0 0 47.9 52.5l7.4 7.4 14.7-14.8-7.4-7.4a828.1 828.1 0 0 1-49.6-54.8c22.1-31.8 36.5-62 42.2-74.8h32.8z" fill="gray"/><path d="M349.3 357.5l19.4 58.5H32.9A33 33 0 0 1 0 383V37.2a33 33 0 0 1 33-33h199.3L262.7 96l45.7 137.7 41 123.8z" fill="#518ef8"/><path d="M149.3 287.4A77.7 77.7 0 1 1 204.1 155l-14.7 14.7a56.8 56.8 0 1 0 15.6 50.5h-55.7v-20.8h77.6v10.4a77.7 77.7 0 0 1-77.6 77.6z" fill="#fff"/></svg>\n',is='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0C114.8 0 0 114.8 0 256s114.8 256 256 256 256-114.8 256-256S397.2 0 256 0z" fill="#303c42"/><path d="M21.3 256A235 235 0 0 1 204.1 27.3l147.6 442.8a233 233 0 0 1-95.7 20.6A235 235 0 0 1 21.3 256z" fill="#42a5f5"/><g fill="#fff"><path d="M392.5 192c-5 17-19.6 45-39.6 70.4a142.9 142.9 0 0 1-23-31.7c-2.2-5.5-8.5-8.1-14-6-5.4 2.3-8 8.5-5.8 14 4.3 10.5 15.6 25.1 28.6 40-6.9 7.2-14 14-21.8 19.7L281.5 192h111z"/><path d="M371 460.4l-47.1-141.2 2.3-1.2c9.3-6.6 18.2-15 26.7-23.9a980.5 980.5 0 0 0 45.2 44.4 10.6 10.6 0 0 0 15.1-.6c4-4.4 3.7-11.1-.7-15.1a973 973 0 0 1-45.4-44.7c24.3-30 42.4-64.3 47.3-86.1h23a10.7 10.7 0 1 0 0-21.3h-74.7V160a10.7 10.7 0 1 0-21.4 0v10.7h-67l-49-147.1c10-1.3 20.3-2.3 30.7-2.3A235 235 0 0 1 490.7 256c0 87.6-48.4 164-119.8 204.4zM245.3 245.3h-74.6a10.7 10.7 0 1 0 0 21.4h63a64.1 64.1 0 0 1-127-10.7 64 64 0 0 1 105.5-48.6 10.7 10.7 0 1 0 14-16.3A85.4 85.4 0 1 0 256 256c0-5.9-4.8-10.7-10.7-10.7z"/></g><path d="M53.5 374A234.6 234.6 0 0 0 256 490.7c34 0 66.4-7.5 95.7-20.6l-21.4-64.3A233 233 0 0 1 53.5 374zM415.9 84.7c16 27.4 26.7 58.3 30.5 91.3 1 1.6 1.6 3.3 1.6 5.3 0 1.5-.3 3-.9 4.2.4 5.7.9 11.4.9 17.2 0 44.5-12.7 86-34.4 121.6a10.5 10.5 0 0 1-8.3 17c-.9 0-1.8-.2-2.7-.5a236.3 236.3 0 0 1-53.8 53.2l22.1 66.4a233.8 233.8 0 0 0 45-375.7z" opacity=".1"/><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="-45.6" y1="639.6" x2="-23.8" y2="629.4" gradientTransform="matrix(21.3333 0 0 -21.3333 996.3 13791.7)"><stop offset="0" stop-color="#fff" stop-opacity=".2"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><path d="M256 0C114.8 0 0 114.8 0 256s114.8 256 256 256 256-114.8 256-256S397.2 0 256 0z" fill="url(#a)"/></svg>\n';var ls,ss;!function(e){e.ICIBA="ICIBA",e.GOOGLE_DICT="GOOGLE_DICT",e.GOOGLE_TRANSLATE="GOOGLE_TRANSLATE",e.BAIDU_TRANSLATE="BAIDU_TRANSLATE",e.SOUGOU_TRANSLATE="SOUGOU_TRANSLATE",e.URBAN_DICTIONARY="URBAN_DICTIONARY",e.BING_TRANSLATE="BING_TRANSLATE",e.VOCABULARY="VOCABULARY"}(ss||(ss={}));const cs={[ss.ICIBA]:"iciba",[ss.GOOGLE_DICT]:"google字典",[ss.GOOGLE_TRANSLATE]:"google翻译",[ss.BAIDU_TRANSLATE]:"百度翻译",[ss.SOUGOU_TRANSLATE]:"搜狗翻译",[ss.URBAN_DICTIONARY]:"urban dictionary",[ss.BING_TRANSLATE]:"bing 翻译",[ss.VOCABULARY]:"vocabulary"},us=Di()(ls=rs()(cs)).call(ls,(([e,t])=>({label:t,key:e}))),ds=Di()(us).call(us,(e=>e.key));var ps;!function(e){e.GOOGLE_COM="GOOGLE_COM",e.GOOGLE_CN="GOOGLE_CN"}(ps||(ps={}));const fs={[ps.GOOGLE_COM]:"translate.google.com",[ps.GOOGLE_CN]:"translate.google.cn"};var vs;!function(e){e.UNFOLD="0",e.FOLD_THESAURUS="1",e.FOLD_EXAMPLES="2",e.FOLD_SUBSENSE="3"}(vs||(vs={}));const gs={[vs.UNFOLD]:vs.FOLD_THESAURUS,[vs.FOLD_THESAURUS]:vs.FOLD_EXAMPLES,[vs.FOLD_EXAMPLES]:vs.FOLD_SUBSENSE,[vs.FOLD_SUBSENSE]:vs.FOLD_SUBSENSE},ms={[vs.UNFOLD]:vs.UNFOLD,[vs.FOLD_THESAURUS]:vs.UNFOLD,[vs.FOLD_EXAMPLES]:vs.FOLD_THESAURUS,[vs.FOLD_SUBSENSE]:vs.FOLD_EXAMPLES},hs={[vs.UNFOLD]:"展开",[vs.FOLD_SUBSENSE]:"折叠释义子项",[vs.FOLD_EXAMPLES]:"折叠子项和例句",[vs.FOLD_THESAURUS]:"折叠子项、例句和同反义词"};var bs;!function(e){e.DEFAULT="default",e.GOOGLE_TRANSLATE_SQUARE="gtsquare",e.GOOGLE_TRANSLATE_CIRCLE="gtcircle",e.GOOGLE_TRANSLATE_TEXT="gttext",e.MAG_ICON="icondic"}(bs||(bs={}));const ys={[bs.DEFAULT]:"",[bs.GOOGLE_TRANSLATE_SQUARE]:as,[bs.GOOGLE_TRANSLATE_CIRCLE]:is,[bs.GOOGLE_TRANSLATE_TEXT]:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M56.6 73.2c-14 17.1-22.8 37.9-25.4 59.9-9.5 81.7-9.5 164.2 0 245.8 6.3 53.5 48.4 95.6 101.9 101.9 81.7 9.5 164.2 9.5 245.8 0 22-2.6 42.8-11.4 59.9-25.4L56.6 73.2z" fill="#518ef8"/><path d="M438 458.5c14-17.1 39.9-57.7 42.4-79.7 9.5-81.7 9.5-164.2 0-245.8-6.3-53.5-48.4-95.6-101.9-101.9-81.7-9.5-164.2-9.5-245.8 0-22 2.5-59.1 29.9-76.2 43.9L438 458.5z" fill="#fff"/><path d="M133.3 388H213l12.2 24.3 28.6-14.3-66.3-132.6h-28.6L92.5 398l28.6 14.3 12.2-24.3zm39.8-79.7L197 356h-47.7l23.8-47.7zm166.3-218v17.1h-50.3v32h9.2l36 42-40.7 47.6 24.3 20.8 37.6-43.8 37.6 43.8 24.3-20.8-40.8-47.6 36-42h9.2v-32h-50.3V90.3h-32.1zm16 66.5l-14.9-17.4h29.8l-14.9 17.4z"/><path d="M496.8 131.2c-6.9-61-55-109.1-116-116-82.9-9.7-166.7-9.7-249.6 0-17.2 2-33.8 7.4-48.9 15.8l23.9 23.9c9.1-4 18.8-6.7 28.7-7.8 80.4-9.4 161.7-9.4 242.2 0 46.2 5.2 82.6 41.7 87.9 87.9 9.4 80.4 9.4 161.7 0 242.2-2.4 20.9-11.5 40.6-25.8 56L67.9 61.8c-6.2-6.2-16.4-6.2-22.6 0-.4.4-.7.8-1.1 1.2-16 19.5-26 43.1-29 68.2-9.7 82.9-9.7 166.7 0 249.6 6.9 61 55 109.1 116 116 82.9 9.7 166.7 9.7 249.6 0 60.8-7.2 108.8-55.2 116-116 9.7-82.9 9.7-166.7 0-249.6zM377.1 465c-80.4 9.4-161.7 9.4-242.2 0-46.2-5.2-82.6-41.7-87.9-87.9-9.4-80.4-9.4-161.7 0-242.2 1.5-12.9 5.5-25.4 11.9-36.8l355 355c-11.4 6.3-23.9 10.4-36.8 11.9z"/></svg>',[bs.MAG_ICON]:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M295.3 361.5L432 498.3c18.3 18.3 47.9 18.3 66.2 0 18.3-18.3 18.3-47.9 0-66.2L361.5 295.3l-66.2 66.2z" fill="#5a5a5a"/><path d="M295.3 361.5l33.1-33.1 169.8 169.8c-18.3 18.3-47.9 18.3-66.2 0L295.3 361.5z" fill="#444"/><path d="M218.5 0c-60 0-115 24.5-154.5 64S0 158.5 0 218.5C0 339 98 437 218.5 437c60 0 115-24.5 154.5-64s64-94.5 64-154.5C437.1 98 339.1 0 218.5 0z" fill="#00abe9"/><path d="M64 64l309.1 309.1c-39.5 39.5-94.5 64-154.5 64C98 437.1 0 339.1 0 218.5c0-60 24.5-115 64-154.5z" fill="#0095ff"/><path d="M218.8 62.5c-43-.2-82.1 17.7-110.4 45.9-28.3 28.3-45.9 67.1-45.7 110.2-.2 85.9 70 156.1 156.1 156.1 42.8 0 81.9-17.4 110.2-45.7 28.3-28.3 45.9-67.6 45.9-110.4-.1-86.1-70.3-156.3-156.1-156.1z" fill="#e7e7e7"/><path d="M108.4 108.4l220.5 220.5c-28.3 28.3-67.3 45.7-110.2 45.7-86.1 0-156.3-70.2-156.1-156.1-.1-43 17.5-81.9 45.8-110.1z" fill="#d3d3d8"/></svg>'},xs={[bs.DEFAULT]:"circle",[bs.GOOGLE_TRANSLATE_SQUARE]:"square",[bs.GOOGLE_TRANSLATE_CIRCLE]:"circle",[bs.GOOGLE_TRANSLATE_TEXT]:"square",[bs.MAG_ICON]:"square"};var ws;!function(e){e.STORE="iciba_store",e.SOUGOU_SECCODE="sougou_seccode",e.HISTORY="history"}(ws||(ws={}));var _s=n(1306),ks=n.n(_s);class Ss extends fa{constructor(e,t){super(e.name,(e=>!0),((n,o)=>{const r=e.validate(n,o);return ea(r)?r:ba(t)}),e.encode),this.d=t}}const Ts=(e,t)=>new Ss(e,"function"==typeof t?t():t),Cs=e=>{var t;return ks()(Di()(t=rs()(e.props)).call(t,(([e,t])=>[e,t.d])))},Os=$a(ss,"PROVIDER"),As=$a(bs,"ICIBA_CIRCLE_ICON"),Ls=new fa("provider-array",(e=>Sa.is(e)),((e,t)=>{if(!Sa.is(e))return ha(e,t);let n=Vi()(e).call(e,(e=>$i()(ds).call(ds,e)));return n=Vi()(n).call(n,((e,t)=>Hi()(n).call(n,e)===t)),n=Ka()(n).call(n,Vi()(ds).call(ds,(e=>!$i()(n).call(n,e)))),ba(n)}),va),Es=Da({providerOrder:Ts(Ls,(()=>[...ds])),defaultProvider:Ts(Os,ss.ICIBA),icibaCircleRightClick:Ts(ka,!0),icibaCircleRightClickProvider:Ts(Os,ss.GOOGLE_TRANSLATE),icibaCircleNoCJK:Ts(ka,!1),useIcibaCircle:Ts(ka,!0),icibaCircleIcon:Ts(As,bs.DEFAULT),pressCtrlToDrag:Ts(ka,!0),pressCtrlToShowCircle:Ts(ka,!1),mouseOverTranslate:Ts(ka,!1),icibaMainInputAutoFocus:Ts(ka,!1),history:Ts(ka,!1),showPin:Ts(ka,!1),pinned:Ts(ka,!1),selectionMaxLengthCut:Ts(ka,!1),selectionMaxLength:Ts(_a,150),icibaMainWidth:Ts(_a,300),icibaCircleSize:Ts(_a,22),icibaCircleOffsetX:Ts(_a,7),icibaCircleOffsetY:Ts(_a,7),providerHotkeyAutoFocus:Ts(ka,!1),useHotkeyShowUp:Ts(ka,!1),hotkeyIcibaMainInputAutoFocus:Ts(ka,!0),showUpHotkey:Ts(Ma(wa),(()=>[]))}),Is=Cs(Es),Ms={[ss.ICIBA]:{searchIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 57 57"><path d="M55.1 51.9L41.6 37.8A23 23 0 0 0 24 0a23 23 0 1 0 13.2 41.8L50.8 56a3 3 0 0 0 4.3.1 3 3 0 0 0 0-4.2zM24 6a17 17 0 1 1 0 34 17 17 0 0 1 0-34z" fill="#aaa"/></svg>\n',iciba_1362193:'<svg height="640" viewBox="-52 0 480 480" width="640" xmlns="http://www.w3.org/2000/svg"><path d="M48 48h320v424H48zm0 0" fill="#ffeb99"/><path d="M8 48h40v424H8zm0 0" fill="#9f886a"/><path d="M128 80h160v96H128zm0 0" fill="#ffda44"/><path d="M8 8v40h344V8zm0 0" fill="#605240"/><path d="M16 8h336v16H16zm0 0" fill="#3c3328"/><path d="M8 48h16v424H8zm0 0" fill="#504435"/><g fill="#231f20"><path d="M296 72H120v112h176zm-16 96H136V88h144zm0 0"/><path d="M152 104h112v16H152zm0 0M152 136h32v16h-32zm0 0M200 136h64v16h-64zm0 0"/><path d="M376 16V0H0v480h376V40h-16V16zM16 464V56h24v408zm344 0H56V56h304zM16 40V16h328v24zm0 0"/><path d="M88 352v-48h48v48h16v-72c0-22.089844-17.910156-40-40-40s-40 17.910156-40 40v72zm24-96c13.253906 0 24 10.746094 24 24v8H88v-8c0-13.253906 10.746094-24 24-24zm0 0M248 272c0-17.671875-14.328125-32-32-32h-48v112h48c13.34375.058594 25.3125-8.203125 29.984375-20.703125 4.675781-12.496094 1.066406-26.585937-9.039063-35.296875C243.9375 289.984375 247.972656 281.226562 248 272zm-16 48c0 8.835938-7.164062 16-16 16h-32v-32h32c8.835938 0 16 7.164062 16 16zm-48-32v-32h32c8.835938 0 16 7.164062 16 16s-7.164062 16-16 16zm0 0M264 280v32c0 22.089844 17.910156 40 40 40s40-17.910156 40-40h-16c0 13.253906-10.746094 24-24 24s-24-10.746094-24-24v-32c0-13.253906 10.746094-24 24-24s24 10.746094 24 24h16c0-22.089844-17.910156-40-40-40s-40 17.910156-40 40zm0 0"/></g></svg>\n'},[ss.GOOGLE_DICT]:{type_0_google:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 70 70"><path fill="#4285F4" d="M35.29 41.41V32H67c.31 1.64.47 3.58.47 5.68 0 7.06-1.93 15.79-8.15 22.01-6.05 6.3-13.78 9.66-24.02 9.66C16.32 69.35.36 53.89.36 34.91.36 15.93 16.32.47 35.3.47c10.5 0 17.98 4.12 23.6 9.49l-6.64 6.64c-4.03-3.78-9.49-6.72-16.97-6.72-13.86 0-24.7 11.17-24.7 25.03 0 13.86 10.84 25.03 24.7 25.03 8.99 0 14.11-3.61 17.39-6.89 2.66-2.66 4.41-6.46 5.1-11.65l-22.49.01z"/></svg>\n',type_2_search_281764:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M113.5 309.4L95.6 376l-65 1.4A254.9 254.9 0 0 1 0 256c0-42.5 10.3-82.5 28.6-117.7l58 10.6 25.4 57.6a152.2 152.2 0 0 0 1.5 103z" fill="#fbbb00"/><path d="M507.5 208.2a256.3 256.3 0 0 1-91.2 247.4l-73-3.7-10.4-64.5c29.9-17.6 53.3-45 65.6-78H261.6V208.3h246z" fill="#518ef8"/><path d="M416.3 455.6a256 256 0 0 1-385.8-78.3l83-67.9a152.2 152.2 0 0 0 219.4 78l83.4 68.2z" fill="#28b446"/><path d="M419.4 59l-83 67.8A152.3 152.3 0 0 0 112 206.5l-83.4-68.2a256 256 0 0 1 390.8-79.4z" fill="#f14336"/></svg>\n',type_3_search_281781:'<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M410 448a245 245 0 0 1-371-75l80-66a146 146 0 0 0 211 75l80 66z" fill="#28b446"/><path d="M498 210a246 246 0 0 1-88 238l-80-66c29-17 51-43 63-75H261v-97h237z" fill="#518ef8"/><path d="M413 67l-80 65a146 146 0 0 0-216 77l-79-66a246 246 0 0 1 375-76z" fill="#f14336"/><path d="M119 307l-80 66a245 245 0 0 1-1-230l80 66a146 146 0 0 0 1 98z" fill="#fbbb00"/><path d="M508 208c-1-5-6-8-10-8H261c-5 0-10 4-10 10v97c0 6 5 10 10 10h116a137 137 0 0 1-121 75 137 137 0 0 1-129-180 136 136 0 0 1 201-71c4 2 8 2 12-1l79-65a10 10 0 0 0 0-16 256 256 0 1 0-3 397 257 257 0 0 0 92-248zM256 20c51 0 100 17 141 47l-65 53a156 156 0 0 0-219 72l-62-52C92 66 170 20 256 20zM20 256c0-34 7-67 21-97l65 53a156 156 0 0 0 1 92l-64 53c-15-32-23-66-23-101zm32 119l63-51a156 156 0 0 0 214 70l65 53a236 236 0 0 1-341-72zm435-70c-11 50-38 96-77 130l-63-52c25-18 45-43 55-72a10 10 0 0 0-9-14H272v-77h217a238 238 0 0 1-2 85z" fill="#333"/></svg>\n',type_4_google_356049:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256.7" cy="256" r="247.9" fill="#ece5dd"/><path d="M256.7 8c-11 0-21.7.8-32.3 2.2a248 248 0 0 1 0 491.6A248 248 0 1 0 256.7 8.1z" fill="#d9cbbd"/><path d="M361.5 182A127.2 127.2 0 0 0 256 127.3c-35.2 0-68 14-92.6 39.3l-5.6 5.9-49.9-42.8 6.2-6.6a194.3 194.3 0 0 1 303.5 24.6l2.3 3.5c1.5 2.2.8 5.3-1.5 6.7l-48.6 28.6a4.7 4.7 0 0 1-6.2-1.4l-2.1-3z" fill="#cd2900"/><path d="M86.2 351a194.3 194.3 0 0 1 16.9-215.2l5.5-7 49.9 42.7-5 6.5a128.7 128.7 0 0 0-11 139.1l4 7.2-55.8 34.5-4.5-7.8z" fill="#ffce00"/><path d="M256 450.6a194.7 194.7 0 0 1-160.8-85.2l-5.1-7.5 55.9-34.5 4.6 6.6A129.1 129.1 0 0 0 256 384.8c34.7 0 68.5-14.4 92.7-39.4l5.7-5.9 49.8 42.8-6.2 6.5a194.3 194.3 0 0 1-142 61.8z" fill="#40a459"/><path d="M353.7 340.4l4.9-6.5a128 128 0 0 0 18.6-34.2h-95.4a4.7 4.7 0 0 1-4.8-4.8v-56.3c0-2.6 2.1-4.7 4.8-4.7h164.1c2.3 0 4.1 1.8 4.2 4l.5 18.2c0 44-14.4 85.4-41.5 119.9l-5.6 7-49.8-42.6z" fill="#1d81ce"/><path d="M458.1 255.8l-.5-21.6a8 8 0 0 0-8.1-7.8h-172a8 8 0 0 0-8 8v64.7a8 8 0 0 0 8 8.1H366a121.4 121.4 0 0 1-231.2-50.5 121.6 121.6 0 0 1 132.8-121.4 8 8 0 0 0 6.4-2.3l.1-.2a8 8 0 0 0-4.8-13.6 137 137 0 0 0-112 41.3L120.4 129c34-36.2 82.2-58.8 135.6-58.8 62.7 0 119.8 30.6 154.5 82.3l-42 24.7a136.8 136.8 0 0 0-53.2-45.2 8 8 0 0 0-9 1.6l-.1.1a8 8 0 0 0 2.1 12.9 121 121 0 0 1 50.9 45.8 8 8 0 0 0 11 2.7l55.7-32.9a8 8 0 0 0 2.8-11.2 202.1 202.1 0 1 0-288.2 270.8 8 8 0 0 0 10.2-.9l.1-.1a8 8 0 0 0-1-12.2 187.5 187.5 0 0 1-47.5-48l41.3-25.5a137.4 137.4 0 0 0 211.3 16.4l36.8 31.5A185.5 185.5 0 0 1 184 427.4a8 8 0 0 0-8.8 1.7l-.1.1a8 8 0 0 0 2.6 13.1A202.3 202.3 0 0 0 458 256v-.2zm-364.3 91a185 185 0 0 1 16-205.6l37 31.6A136.7 136.7 0 0 0 135 321.2l-41.3 25.6zm308.5 23.9L365.5 339a136.8 136.8 0 0 0 20.1-37.3A8 8 0 0 0 378 291h-92.4v-48.5h156l.3 13.6a185 185 0 0 1-39.6 114.6z"/><path d="M437 75C388.7 26.6 324.4 0 256 0S123.3 26.6 75 75C26.6 123.3 0 187.6 0 256s26.6 132.7 75 181c48.3 48.4 112.6 75 181 75s132.7-26.6 181-75c48.4-48.3 75-112.6 75-181s-26.6-132.7-75-181zM256 495.8C123.8 495.8 16.2 388.2 16.2 256S123.8 16.2 256 16.2 495.8 123.8 495.8 256 388.2 495.8 256 495.8z"/></svg>\n'},[ss.GOOGLE_TRANSLATE]:{type_1_translate_281759:as,type_2_translate_281776:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g fill="#e6e6e6"><path d="M376.5 317c-9 12.5-19.4 25-30.8 36.5l-39.4-118.9H423.1s-16.5 41-46.6 82.5z"/><path d="M376.5 317c30.1-41.4 46.6-82.4 46.6-82.4H306.3l-43.8-132.3h207.8a31.6 31.6 0 0 1 31.7 31.6v332.4a31.6 31.6 0 0 1-31.7 31.7H281.4l82.9-88.3-18.6-56.2c11.4-11.4 21.8-24 30.8-36.4z"/></g><path fill="#3a5bbc" d="M364.3 409.7L281.4 498 252 409.7z"/><path d="M345.7 353.5l18.6 56.2H41.7A31.6 31.6 0 0 1 10 378.1V45.7A31.6 31.6 0 0 1 41.7 14h191.6l29.2 88.3 43.8 132.3 39.4 119z" fill="#518ef8"/><path d="M153.5 286.1A74.6 74.6 0 1 1 206.2 159a10 10 0 0 1-14.2 14.2 54.5 54.5 0 1 0 15 48.5h-53.5a10 10 0 0 1 0-20H218a10 10 0 0 1 10 10c0 41.1-33.4 74.5-74.5 74.5z" fill="#fff"/><path d="M470.3 92.2H269.7l-27-81.3a10 10 0 0 0-9.4-6.9H41.7C18.7 4 0 22.7 0 45.7V378c0 23 18.7 41.7 41.7 41.7h203.1l27 81.3a10 10 0 0 0 9.6 6.9h189c23 0 41.6-18.7 41.6-41.7V134c0-23-18.7-41.7-41.7-41.7zM20.1 378.1V45.7c0-12 9.6-21.6 21.6-21.6H226l110 332.3 14.4 43.3H41.7c-12 0-21.6-9.7-21.6-21.6zm387.5-133.5a442 442 0 0 1-31.7 55.8 859.6 859.6 0 0 1-22.2-28.9 10 10 0 1 0-16.2 11.8c.4.6 10.4 14.4 26.3 34-4.6 6-9.2 11.7-14 17l-29.6-89.7h87.4zM266 419.8h75.2l-55.5 59-19.7-59zm226 46.5c0 12-9.6 21.6-21.6 21.6H304.6l67-71.3a9.9 9.9 0 0 0 2.2-10l-16.7-50.4a312 312 0 0 0 19.8-23 803 803 0 0 0 45.8 50.2c2 2 4.5 3 7 3s5.2-1 7.2-3c3.9-4 3.9-10.3 0-14.2a795.9 795.9 0 0 1-47.7-52.6c21.2-30.6 35-59.6 40.5-72h21.5a10 10 0 0 0 0-20H385v-18a10 10 0 0 0-20 0v18h-51.5l-37.1-112.3h194c11.9 0 21.5 9.7 21.5 21.6v332.4z" fill="#333"/></svg>\n',type_2_translate_324121:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M185.8 105.7h277a38.7 38.7 0 0 1 38.7 38.7v318.5a38.7 38.7 0 0 1-38.6 38.7H280.5l-94.7-396z" fill="#fff"/><path fill="#0084ff" d="M361.1 406.3l-80.6 95.2-31.7-95.2z"/><path d="M361.1 406.3h-312a38.7 38.7 0 0 1-38.7-38.7V49.1a38.7 38.7 0 0 1 38.7-38.7h182.4l129.6 396z" fill="#10bafc"/><path d="M462.9 95.2H270.3l-28.8-88a10.5 10.5 0 0 0-10-7.2H49.1C22.1 0 0 22 0 49.1v318.5c0 27.1 22 49.2 49.1 49.2h192.2l29.3 88c1.4 4.3 5.4 7.2 9.9 7.2h182.4c27 0 49.1-22 49.1-49.1V144.4c0-27.1-22-49.2-49.1-49.2zm-442 272.4V49.1A28.3 28.3 0 0 1 49.1 21H224l122.7 375H49.1A28.3 28.3 0 0 1 21 367.6zm390.5-126.2a273 273 0 0 1-31.1 51 285.2 285.2 0 0 1-31.1-51h62.2zm-85 0a268 268 0 0 0 24 45.1c4.5 6.9 10 14.5 16.3 22.5-6 6.7-12.6 13.5-19.8 20.2l-28.8-87.8h8.3zm-63.1 175.4h75.3l-54 63.8-21.3-63.8zm227.8 46a28.3 28.3 0 0 1-28.2 28.3H303l66-77.8a10.4 10.4 0 0 0 1.9-10.9L354 351c9.8-8.5 18.5-17.2 26.3-25.8 17.6 19.4 40.5 40 69.8 57.9a10.4 10.4 0 0 0 14.4-3.5c3-4.9 1.5-11.3-3.5-14.3a297.9 297.9 0 0 1-67-56.2 282.2 282.2 0 0 0 40.2-67.6H465a10.4 10.4 0 0 0 0-21h-75v-17.7a10.4 10.4 0 0 0-20.8 0v17.8h-58l-34-104.4h185.7a28.3 28.3 0 0 1 28.2 28.3v318.5z"/><path d="M147 286.4a77 77 0 0 0 77-77c0-5.7-4.6-10.4-10.4-10.4h-59.2a10.4 10.4 0 1 0 0 21h47.8a56.2 56.2 0 1 1-18.8-53.2 10.4 10.4 0 1 0 13.6-16 77 77 0 1 0-50 135.6zM201.6 351.4H197a10.4 10.4 0 0 0 0 21h4.7a10.4 10.4 0 0 0 0-21zM163.1 351.4H61.6a10.4 10.4 0 0 0 0 21h101.5a10.4 10.4 0 0 0 0-21z"/></svg>\n',type_3_google_814137:is},[ss.BAIDU_TRANSLATE]:{baiduIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90"><path d="M24.012 33.588c.535 7.65-3.611 14.173-9.264 14.57-5.651.397-10.667-5.483-11.202-13.135-.535-7.65 3.611-14.174 9.264-14.571 5.652-.396 10.668 5.485 11.202 13.136zM62.938 1.874C57.447.473 51.464 5.363 49.576 12.795c-1.895 7.432 1.023 14.592 6.514 15.993 5.49 1.4 11.476-3.488 13.365-10.921 2.459-9.673-5.202-15.659-6.517-15.993zm12.874 25.051c-5.775.086-10.359 5.579-10.232 14.088.127 8.508 4.904 12.387 10.685 12.301 5.772-.086 10.358-4.103 10.233-12.614-.168-11.074-9.303-13.795-10.686-13.775zM33.965 0c-5.496 0-9.951 6.16-9.951 13.756s4.455 13.753 9.951 13.753 9.952-6.157 9.952-13.753S39.461 0 33.965 0zm-1.272 42.72c-3.175 4.56-6.775 9.011-13.762 14.843-6.988 5.832-9.952 9.858-9.952 15.795 0 5.936 3.388 15.795 13.022 15.795s14.292-2.121 21.915-2.121c7.623 0 12.707 2.969 22.339 2.969 9.635 0 13.658-9.117 13.658-15.053 0-5.937-1.672-9.297-9.391-16.072-4.945-4.346-9.138-7.885-15.702-17.002-3.245-4.508-6.987-5.088-10.904-5.088-3.917-.001-8.046 1.377-11.223 5.934z" fill="#2f7fda"/></svg>\n',baiduCircle:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 97.75 97.75" width="97.75" height="97.75"><path d="M48.875 0C21.882 0 0 21.883 0 48.875S21.882 97.75 48.875 97.75 97.75 75.867 97.75 48.875 75.868 0 48.875 0zm3.443 25.67c.443-4.104 5.349-10.395 9.277-9.49 3.912.892 7.49 6.093 6.766 10.563-.709 4.477-4.258 10.385-9.799 9.66-5.531-.708-6.783-5.715-6.244-10.733zM40.726 14.393c4.138 0 7.481 4.76 7.481 10.652 0 5.89-3.344 10.657-7.481 10.657-4.141 0-7.493-4.768-7.493-10.657-.001-5.893 3.353-10.652 7.493-10.652zM17.361 39.626s.886-8.766 6.955-9.307c4.82-.422 8.373 4.855 8.742 7.878.22 1.96 1.243 10.928-6.253 12.537-7.482 1.616-10.266-7.048-9.444-11.108zm57.077 37.781c-4.097 9.671-19.086 4.645-19.086 4.645s-5.528-1.782-11.955-.352c-6.412 1.435-11.941.894-11.941.894s-7.503.182-9.642-9.305c-2.136-9.493 7.486-14.691 8.206-15.574.715-.902 5.703-4.297 8.912-9.672 3.218-5.362 12.847-9.662 19.63.896 4.998 7.162 13.561 13.785 13.561 13.785s6.416 5.018 2.315 14.683zm-1.247-22.023c-8.215.179-8.559-5.551-8.559-9.66 0-4.303.875-10.395 7.489-10.395 6.603 0 8.376 6.455 8.376 8.597.002 2.155.901 11.276-7.306 11.458z" fill="#2f7fda"/></svg>\n'},[ss.SOUGOU_TRANSLATE]:{icon_with_circle:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" width="500" height="500"><g fill="none" stroke="#ff7118" stroke-linecap="round" stroke-miterlimit="10" stroke-width="50"><path d="M353.1672 448.22A221.78 221.78 0 0 1 250.5 473.2405c-123.0162 0-222.74-99.7243-222.74-222.74S127.4838 27.76 250.5 27.76s222.7405 99.7238 222.7405 222.74a221.8153 221.8153 0 0 1-23.4442 99.5794M457.1626 409.06a224.0383 224.0383 0 0 1-45.5513 45.7174"/></g><path d="M370.81 171.8827c2.408-5.2836 5.1433-19.1-14.9156-30.9534-18.4142-10.8811-53.506-20.0589-102.8818-18.9367s-87.8482 14.5109-111.6255 33.5328c-50.4591 40.3672-16.0222 71.9518 8.9462 87.3818 19.6869 12.1661 97.7386 38.0449 112.1554 40.9283s33.1588 11.5335 33.1588 24.5087-20.1914 22.6539-43.196 24.8983-81.5761-4.91-100.092-10.24-29.0565.7038-31.5613 8.51c-2.2093 6.885-2.2755 17.4327 18.9368 26.979s102.1805 28.896 165.3809 16.6924 79.347-43.0639 80.3756-64.1039-14.0895-46.15-51.76-62.7017-85.6907-25.81-98.3931-30.4391-30.0962-10.52-29.2546-25.3892 20.62-21.1811 26.9323-22.7241 27.8674-5.5174 56.0153-2.6184 37.6774 7.7007 50.7318 11.0815c18.235 4.722 28.6385-1.1227 31.0468-6.4063z" fill="#ff7118"/></svg>\n',icon_no_circle:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500" width="500" height="500"><path d="M450.3783 112.4046c4.0106-9.2472 8.5663-33.4293-24.8423-54.1743-30.6693-19.0441-89.1154-35.107-171.3518-33.143S107.8714 50.4843 68.27 83.7762c-84.04 70.65-26.6853 125.93 14.9 152.9349 32.7889 21.293 162.7855 66.586 186.7971 71.6324s55.2266 20.1858 55.2266 42.8949-33.6292 39.6488-71.9439 43.5768-135.8666-8.5926-166.7052-17.9217-48.3946 1.2318-52.566 14.8938c-3.68 12.05-3.79 30.5106 31.54 47.2185s170.1832 50.5742 275.4448 29.2149 132.1545-75.37 133.8678-112.195-23.4665-80.7706-86.2081-109.74-142.72-45.1725-163.8758-53.2742-50.1258-18.4127-48.724-44.436 34.343-37.071 44.8562-39.7716 46.4137-9.6564 93.2947-4.5827 62.7524 13.4778 84.4948 19.3948c30.371 8.2652 47.6987-1.9641 51.7093-11.2114z" fill="#ff7118"/></svg>\n'},[ss.URBAN_DICTIONARY]:{urbanDictionary:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path fill-rule="evenodd" clip-rule="evenodd" fill="#445588" d="M77.37 92.08s16.13 16.13 19.36 32.27v45.18c0 12.91-6.45 35.49-6.45 51.63 0 19.36 3.23 25.81 6.45 35.49 3.23 9.68 3.23 9.68 3.23 25.81s-3.23 77.44-3.23 77.44l-3.23 48.4 9.68 22.59 12.91-12.91s3.23 9.68 9.68 19.36c6.45 9.68 32.27 19.36 32.27 19.36l32.27 9.68 103.26-41.95s12.91 9.68 22.59 12.91c9.68 3.23 41.95 19.36 58.08 22.59s25.81 6.45 38.72 6.45 25.81-3.23 38.72-9.68c12.91-3.23 29.04-9.68 29.04-9.68l6.45-38.72-77.44-51.63-16.13 12.91s-6.45-54.86-9.68-83.9c-3.23-29.04-9.68-67.76-9.68-67.76l9.68-6.45s-6.45-51.63-9.68-64.54c0-12.91 6.45-45.18 6.45-51.63 0-6.45 3.23-25.81 3.23-25.81V53.36l-22.59-9.68-25.81 9.68L290.34 34l-41.95 22.59 3.23 25.81h70.99l29.04 19.36v19.36l-9.68 9.68s-3.23 32.27-3.23 54.86c-3.23 22.59-3.23 48.4-6.45 74.22-3.23 32.27-9.68 61.31-19.36 87.12 0 0-38.72 22.59-58.08 32.27-29.04 9.68-54.86 9.68-54.86 9.68l-45.18-19.36c-6.45-41.95-12.91-77.44-16.13-106.48-3.23-9.68-3.23-12.91 0-25.81 0-9.68 6.45-45.18 6.45-45.18l-9.68-9.68s6.45-38.72 9.68-51.63c3.23-12.91 3.23-25.81 6.45-35.49 0-9.68 3.23-19.36 3.23-19.36l-6.45-22.59s-25.81-9.68-38.72-12.91C99.96 37.23 83.83 34 83.83 34H58.02c-9.68 0-25.81 3.23-25.81 3.23L12.84 56.59s3.23 9.68 6.45 12.91l3.23 6.45 9.68 3.23 12.91 16.13s12.91 0 22.59-3.23c-.01 3.23 9.67 0 9.67 0"/></svg>\n'},[ss.BING_TRANSLATE]:{bingFlat:'<svg class="icon" style="fill: #59a4a6" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7985"><path d="M911.36 426.666667L433.493333 238.933333c-6.826667-3.413333-13.653333 0-17.066666 3.413334-6.826667 6.826667-6.826667 13.653333-6.826667 20.48l102.4 238.933333 10.24 10.24 146.773333 40.96-416.426666 225.28 116.053333-98.986667c3.413333-3.413333 6.826667-6.826667 6.826667-13.653333V102.4c0-6.826667-3.413333-13.653333-10.24-17.066667L126.293333 0c-6.826667 0-13.653333 0-17.066666 3.413333-3.413333 3.413333-6.826667 6.826667-6.826667 13.653334v853.333333c0 3.413333 0 3.413333 3.413333 6.826667l3.413334 3.413333 3.413333 3.413333 238.933333 136.533334c3.413333 0 6.826667 3.413333 6.826667 3.413333 3.413333 0 6.826667 0 10.24-3.413333l546.133333-341.333334c3.413333-3.413333 6.826667-10.24 6.826667-13.653333V443.733333c0-6.826667-3.413333-13.653333-10.24-17.066666z" fill="" p-id="7986"></path></svg>\n',bingGold:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 406.461 406.461"><path fill="#ffba00" d="M160.99 103.038l42.24 97.112 57.635 23.073L42.328 344.616l93.206-95.344V38.963L39.746 0v347.259l96.987 59.202 229.982-137.388v-95.22z"/></svg>\n',bingOutline:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256.636" cy="256.313" r="247.916" fill="#00ab94"/><path d="M136.893 384.254V96.671a2.314 2.314 0 0 1 2.95-2.226l71.901 20.543a2.313 2.313 0 0 1 1.678 2.226v230.649c0 1.818 1.999 2.926 3.541 1.963l78.118-48.824c1.425-.891 1.456-2.957.057-3.889l-28.117-18.744a2.317 2.317 0 0 1-.942-1.29l-20.366-71.281c-.532-1.865 1.326-3.518 3.116-2.772l124.851 52.022a2.314 2.314 0 0 1 1.424 2.136v84.014c0 .832-.447 1.601-1.171 2.012l-150.008 85.25a2.316 2.316 0 0 1-2.187.054l-83.578-42.193a2.317 2.317 0 0 1-1.267-2.067z" fill="#fff"/><path d="M437.019 74.982C388.667 26.628 324.379 0 256 0S123.333 26.628 74.981 74.982C26.628 123.333 0 187.62 0 256s26.628 132.667 74.981 181.019C123.333 485.372 187.62 512 256 512s132.667-26.628 181.019-74.982C485.372 388.667 512 324.379 512 256s-26.628-132.667-74.981-181.018zM256 495.832C123.756 495.832 16.168 388.244 16.168 256S123.756 16.168 256 16.168 495.832 123.756 495.832 256 388.244 495.832 256 495.832z"/><path d="M377.678 248.538l-129.347-53.895a8.096 8.096 0 0 0-9.756 2.853c-1.429 2.035-1.748 4.654-1.065 7.046l21.496 75.236a8.087 8.087 0 0 0 3.289 4.506l21.918 14.613-63.244 39.527v-31.9a8.084 8.084 0 0 0-16.168 0v46.247c0 2.344.9 4.649 2.641 6.219a8.092 8.092 0 0 0 9.728.876l86.232-53.895a8.083 8.083 0 0 0 .199-13.583l-29.864-19.91-16.131-56.457 108.879 45.367v76.138l-143.876 81.765-77.092-38.92v-275.34l59.284 16.938v145.174a8.084 8.084 0 0 0 16.168 0V115.874a8.086 8.086 0 0 0-5.863-7.774l-75.453-21.558a8.093 8.093 0 0 0-8.827 3.106c-1.012 1.414-1.478 3.15-1.478 4.888v290.811a8.085 8.085 0 0 0 4.441 7.217l85.403 43.116a8.082 8.082 0 0 0 7.638-.187l151.734-86.232a8.084 8.084 0 0 0 4.09-7.029V256a8.085 8.085 0 0 0-4.976-7.462z"/></svg>\n',bingRound:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#36930f"/><path d="M197.976 121.624l-68.573-21.361v264.009l146.926 146.926c100.997-7.935 185.507-74.483 219.554-165.644L382.597 232.267l-104.876-30.898-79.745-79.745z" fill="#2a7507"/><g fill="#fff"><path d="M197.976 121.624l-68.573-21.361v264.008l68.573-63.301z"/><path d="M227.867 186.681l26.253 63.298 54.984 25.698-179.701 88.594 68.573 45.466 184.621-103.492v-73.978z"/></g></svg>\n'},[ss.VOCABULARY]:{logo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="108.3592" y1="300.9078" x2="213.5802" y2="491.5423"><stop offset="0" stop-color="#69ac1d"/><stop offset=".1934" stop-color="#599a1c"/><stop offset=".5835" stop-color="#316a19"/><stop offset="1" stop-color="#003016"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="170.5128" y1="250" x2="426.0599" y2="250"><stop offset="0" stop-color="#add099"/><stop offset=".1919" stop-color="#a4cb88"/><stop offset=".572" stop-color="#8bbe5c"/><stop offset="1" stop-color="#6cae23"/></linearGradient><path d="M30 240.753L98.718 200.713 265.984 500 170.513 500z" fill="url(#a)"/><path d="M405.385,0L470,48.253C334.615,250.507,265.984,500,265.984,500h-95.471 C170.513,500,260.769,193.013,405.385,0z" fill="url(#b)"/></svg>\n'}};function zs(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}const Rs=function(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=zs(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=zs(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}({},{enableHotkey:Ts(ka,!1),hotkey:Ts(Ma(wa),(()=>[]))});function Us(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ns(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Us(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Us(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const Ds=Da(Ns(Ns({},Rs),{},{display:Ts(ka,!0),icon:Ts(La(Ms[ss.ICIBA]),"searchIcon")})),Ps=Cs(Ds);function Vs(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Gs(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Vs(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Vs(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const js=$a(vs,"GOOGLE_DICT_FOLD_STATUS"),Bs=Da(Gs(Gs({},Rs),{},{display:Ts(ka,!0),icon:Ts(La(Ms[ss.GOOGLE_DICT]),"type_0_google"),foldStatus:Ts(js,vs.UNFOLD)})),Hs=Cs(Bs);var Fs,Ys;!function(e){e.de="de",e.es="es",e.fr="fr",e.it="it",e.ja="ja",e.ru="ru",e.zh="zh-CN",e.en="en"}(Ys||(Ys={}));const qs={[Ys.de]:"德语",[Ys.es]:"西班牙语",[Ys.fr]:"法语",[Ys.it]:"意大利语",[Ys.ja]:"日语",[Ys.ru]:"俄语",[Ys.en]:"英语",[Ys.zh]:"中文"},$s=Di()(Fs=rs()(qs)).call(Fs,(([e,t])=>({text:t,key:e})));function Ws(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ks(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Ws(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Ws(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const Xs=$a(ps,"GOOGLE_TRANSLATE_HOST"),Zs=$a(Ys,"GOOGLE_LANGUAGES"),Js=Da(Ks(Ks({},Rs),{},{icon:Ts(La(Ms[ss.GOOGLE_TRANSLATE]),"type_1_translate_281759"),display:Ts(ka,!0),translateHost:Ts(Xs,ps.GOOGLE_COM),targetLanguage:Ts(Zs,Ys.zh),secondTargetLanguage:Ts(Zs,Ys.en)})),Qs=Cs(Js);var ec,tc;!function(e){e.de="de",e.fra="fra",e.it="it",e.jp="jp",e.ru="ru",e.spa="spa",e.zh="zh",e.en="en"}(tc||(tc={}));const nc={[tc.de]:"德语",[tc.fra]:"法语",[tc.it]:"意大利语",[tc.jp]:"日语",[tc.ru]:"俄语",[tc.spa]:"西班牙语",[tc.zh]:"中文",[tc.en]:"英语"},oc=Di()(ec=rs()(nc)).call(ec,(([e,t])=>({text:t,key:e})));function rc(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function ac(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=rc(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=rc(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const ic=$a(tc,"BAIDU_LANGUAGES"),lc=Da(ac(ac({},Rs),{},{display:Ts(ka,!0),icon:Ts(La(Ms[ss.BAIDU_TRANSLATE]),"baiduIcon"),targetLanguage:Ts(ic,tc.zh),secondTargetLanguage:Ts(ic,tc.en)})),sc=Cs(lc);var cc,uc;!function(e){e.de="de",e.es="es",e.fr="fr",e.it="it",e.ja="ja",e.ru="ru",e.en="en",e.zhs="zh-CHS"}(uc||(uc={}));const dc={[uc.de]:"德语",[uc.es]:"西班牙语",[uc.fr]:"法语",[uc.it]:"意大利语",[uc.ja]:"日语",[uc.ru]:"俄语",[uc.en]:"英语",[uc.zhs]:"中文"},pc=Di()(cc=rs()(dc)).call(cc,(([e,t])=>({text:t,key:e})));function fc(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function vc(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=fc(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=fc(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const gc=$a(uc,"SOUGOU_LANGUAGES"),mc=Da(vc(vc({},Rs),{},{display:Ts(ka,!1),icon:Ts(La(Ms[ss.SOUGOU_TRANSLATE]),"icon_with_circle"),targetLanguage:Ts(gc,uc.zhs),secondTargetLanguage:Ts(gc,uc.en)})),hc=Cs(mc);function bc(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function yc(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=bc(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=bc(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const xc=Da(yc(yc({},Rs),{},{display:Ts(ka,!1),icon:Ts(La(Ms[ss.URBAN_DICTIONARY]),"urbanDictionary")})),wc=Cs(xc);var _c,kc;!function(e){e.de="de",e.it="it",e.fr="fr",e.ru="ru",e.ja="ja",e.zh="zh-Hans",e.en="en"}(kc||(kc={}));const Sc={[kc.de]:"德语",[kc.it]:"意大利语",[kc.fr]:"法语",[kc.ru]:"俄语",[kc.ja]:"日语",[kc.zh]:"中文",[kc.en]:"英语"},Tc={ar:["ar-SA","Male","ar-SA-Naayf"],bg:["bg-BG","Male","bg-BG-Ivan"],ca:["ca-ES","Female","ca-ES-HerenaRUS"],cs:["cs-CZ","Male","cs-CZ-Jakub"],da:["da-DK","Female","da-DK-HelleRUS"],de:["de-DE","Female","de-DE-Hedda"],el:["el-GR","Male","el-GR-Stefanos"],en:["en-US","Female","en-US-JessaRUS"],es:["es-ES","Female","es-ES-Laura-Apollo"],fi:["fi-FI","Female","fi-FI-HeidiRUS"],fr:["fr-FR","Female","fr-FR-Julie-Apollo"],he:["he-IL","Male","he-IL-Asaf"],hi:["hi-IN","Female","hi-IN-Kalpana-Apollo"],hr:["hr-HR","Male","hr-HR-Matej"],hu:["hu-HU","Male","hu-HU-Szabolcs"],id:["id-ID","Male","id-ID-Andika"],it:["it-IT","Male","it-IT-Cosimo-Apollo"],ja:["ja-JP","Female","ja-JP-Ayumi-Apollo"],ko:["ko-KR","Female","ko-KR-HeamiRUS"],ms:["ms-MY","Male","ms-MY-Rizwan"],nl:["nl-NL","Female","nl-NL-HannaRUS"],no:["nb-NO","Female","nb-NO-HuldaRUS"],pl:["pl-PL","Female","pl-PL-PaulinaRUS"],pt:["pt-PT","Female","pt-PT-HeliaRUS"],ro:["ro-RO","Male","ro-RO-Andrei"],ru:["ru-RU","Female","ru-RU-Irina-Apollo"],sk:["sk-SK","Male","sk-SK-Filip"],sl:["sl-SL","Male","sl-SI-Lado"],sv:["sv-SE","Female","sv-SE-HedvigRUS"],ta:["ta-IN","Female","ta-IN-Valluvar"],te:["te-IN","Male","te-IN-Chitra"],th:["th-TH","Male","th-TH-Pattara"],tr:["tr-TR","Female","tr-TR-SedaRUS"],vi:["vi-VN","Male","vi-VN-An"],"zh-Hans":["zh-CN","Female","zh-CN-HuihuiRUS"],"zh-Hant":["zh-HK","Female","zh-HK-Tracy-Apollo"]},Cc=Di()(_c=rs()(Sc)).call(_c,(([e,t])=>({text:t,key:e})));function Oc(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ac(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Oc(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Oc(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const Lc=$a(kc,"BING_LANGUAGES"),Ec=Da(Ac(Ac({},Rs),{},{display:Ts(ka,!1),icon:Ts(La(Ms[ss.BING_TRANSLATE]),"bingFlat"),targetLanguage:Ts(Lc,kc.zh),secondTargetLanguage:Ts(Lc,kc.en)})),Ic=Cs(Ec);function Mc(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function zc(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Mc(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Mc(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const Rc=Da(zc(zc({},Rs),{},{display:Ts(ka,!1),icon:Ts(La(Ms[ss.VOCABULARY]),"logo")})),Uc=Cs(Rc),Nc=Ha(Da({core:Es,[ss.ICIBA]:Ds,[ss.GOOGLE_DICT]:Bs,[ss.GOOGLE_TRANSLATE]:Js,[ss.BAIDU_TRANSLATE]:lc,[ss.SOUGOU_TRANSLATE]:mc,[ss.URBAN_DICTIONARY]:xc,[ss.BING_TRANSLATE]:Ec,[ss.VOCABULARY]:Rc})),Dc={core:Is,[ss.ICIBA]:Ps,[ss.GOOGLE_DICT]:Hs,[ss.GOOGLE_TRANSLATE]:Qs,[ss.BAIDU_TRANSLATE]:sc,[ss.SOUGOU_TRANSLATE]:hc,[ss.URBAN_DICTIONARY]:wc,[ss.BING_TRANSLATE]:Ic,[ss.VOCABULARY]:Uc},Pc=(e,t)=>{let n=t,o=Dc;for(let t=0;t<e.length-1;t+=1)n=n[e[t]],o=o[e[t]];const r=e[e.length-1];n[r]=ns(o[r])},Vc=(()=>{const e=()=>{const e=Wl()(t.config);Ql(ws.STORE,e)},t={config:null,loadConfig:async()=>{let n,o,r;try{n=await Jl(ws.STORE,"")}catch(e){n=""}try{o=JSON.parse(n)}catch(e){o={}}pl()(o)&&(o={});for(let e=0;e<3;e+=1){if(r=Nc.decode(o),"Left"!==r._tag){o=r.right;break}var a;ul()(a=r.left).call(a,(e=>{var t,n;const r=Vi()(t=Di()(n=e.context).call(n,(e=>e.key))).call(t,(e=>e));Pc(r,o)}))}"Left"===r._tag&&(o=Dc),t.config=Ye(o),vn((()=>t.config),(()=>{e()}),{deep:!0})}};return t})(),Gc=(e=0)=>{let t=e;return()=>(t+=1,t)};var jc=n(9392),Bc=n.n(jc),Hc=n(3649),Fc=n.n(Hc);let Yc;const qc=async(e,t=1)=>{Yc=Yc||new AudioContext,"suspended"===Yc.state&&await Yc.resume();const n=Fc()(e).call(e,0),o=await Yc.decodeAudioData(n),r=Yc.createBufferSource();r.buffer=o;const a=Yc.createGain();a.gain.value=t,r.connect(a),a.connect(Yc.destination),r.start()},$c=new(Bc()),Wc=(e,t,n)=>{const o=t instanceof ArrayBuffer?t:null,r="number"==typeof t?t:null!=n?n:1;if(o)return $c.set(e,o),qc(o,r),!0;const a=$c.get(e);return!!a&&(qc(a,r),!0)};var Kc;!function(e){e[e.PLAY_AUDIO=0]="PLAY_AUDIO"}(Kc||(Kc={}));const Xc=new class{constructor(){this.bus=new fl}on(e,t){this.bus.on(""+e,t)}off(e,t){this.bus.off(""+e,t)}emit(e){this.bus.emit(""+e.type,e)}},Zc=Ye({data:null}),Jc=Zt("data-v-bae3a914");Kt("data-v-bae3a914");const Qc={class:"r-container flex-col relative text-grey-900"},eu={key:0,class:"symbols-box flex-col items-stretch"},tu={class:"pronunciation-box flex-col flex-none items-stretch"},nu={key:0,class:"part-item-part pr-6px text-grey-600 flex-none"},ou={class:"part-item-meaning-box flex-auto"},ru={key:1,class:"chinese-zi-box mt-1"},au={key:2,class:"chinese-ci-box mt-1 leading-normal"},iu={class:"ciyi-box"},lu={class:"type-text text-grey-600 pr-1"},su={key:0,class:"pr-1 text-grey-500"},cu={key:1,class:"translation-box flex-col items-stretch"},uu={class:"translate-content"},du={class:"translate-tip mt-1 text-right text-12 text-grey-500"},pu=yo(" do you mean? "),fu={key:0,class:"suggest-box flex flex-wrap items-stretch"};Xt();const vu=Jc((function(e,t,n,o,r,a){const i=Kn("iciba-pronunciation"),l=Kn("scrollable");return io(),co("div",Qc,[mo(l,{class:"scroll-container"},{default:Jc((({scrollBar:t})=>[e.result?(io(),co("div",{key:0,class:["main-box flex-col flex-auto text-14 break-words",[t&&"py-10px pl-10px pr-14px",!t&&"p-10px"]]},[e.isBaseInfoBaseInfoNormal(e.result.baseInfo)?(io(),co(eo,{key:0},[wo(" symbols "),e.result.baseInfo&&e.result.baseInfo.symbols&&e.result.baseInfo.symbols.length?(io(),co("div",eu,[(io(!0),co(eo,null,Yo(e.result.baseInfo.symbols,((t,n)=>(io(),co("div",{class:["symbol-item flex-col items-stretch w-full",{"mt-6px":0!==n}],key:n},[wo(" pronunciation "),mo("div",tu,[wo(" symbol_mp3 "),e.isSymbolCN(t)&&t.word_symbol?(io(),co(i,{key:0,ipa:t.word_symbol,onPlay:n=>e.handlePlay(t.symbol_mp3)},null,8,["ipa","onPlay"])):wo("v-if",!0),e.isSymbolEN(t)?(io(),co(eo,{key:1},[wo(" en "),t.ph_en_mp3?(io(),co(i,{key:0,type:"英",ipa:`[${t.ph_en}]`,onPlay:n=>e.handlePlay(t.ph_en_mp3)},null,8,["ipa","onPlay"])):wo("v-if",!0),wo(" am "),t.ph_am_mp3?(io(),co(i,{key:1,type:"美",ipa:`[${t.ph_am}]`,onPlay:n=>e.handlePlay(t.ph_am_mp3)},null,8,["ipa","onPlay"])):wo("v-if",!0),wo(" tts "),!t.ph_tts_mp3||t.ph_en_mp3||t.ph_am_mp3?wo("v-if",!0):(io(),co(i,{key:2,type:"TTS",ipa:`[${t.ph_other}]`,onPlay:n=>e.handlePlay(t.ph_tts_mp3)},null,8,["ipa","onPlay"]))],64)):wo("v-if",!0)]),wo(" meaning "),t.parts&&t.parts.length?(io(),co("div",{key:0,class:["part-box flex-col flex-none items-stretch",{"mt-1":t.symbol_mp3||t.word_symbol}]},[(io(!0),co(eo,null,Yo(t.parts,((e,t)=>(io(),co("div",{class:["part-item flex",{"mt-3px":0!==t}],key:t},[e.part?(io(),co("div",nu,f(e.part),1)):wo("v-if",!0),mo("div",ou,[(io(!0),co(eo,null,Yo(e.means,((t,n)=>(io(),co("div",{class:["meaning-item inline",{"pr-3px":n!==e.means.length-1}],key:n},[n===e.means.length-1?(io(),co(eo,{key:0},[yo(f(t),1)],64)):(io(),co(eo,{key:1},[yo(f(t)+"; ",1)],64))],2)))),128))])],2)))),128))],2)):wo("v-if",!0)],2)))),128))])):wo("v-if",!0),wo(" chinese zi "),wo(" 当无baseInfo时才显示 "),e.result.baseInfo&&e.result.baseInfo.symbols&&e.result.baseInfo.symbols.length||!e.result.chinese||!e.result.chinese.zi?wo("v-if",!0):(io(),co("div",ru,[(io(!0),co(eo,null,Yo(e.result.chinese.zi,((e,t)=>(io(),co("div",{class:"zi-item",key:t},f(e.hanzi)+" "+f(e.pinyin)+" "+f(e.jieshi),1)))),128))])),wo(" chinese ci "),e.result.chinese&&e.result.chinese.ci&&e.result.chinese.ci.ciyi&&e.result.chinese.ci.ciyi.length?(io(),co("div",au,[mo("div",iu,[(io(!0),co(eo,null,Yo(e.normalizeCiyi(e.result.chinese.ci.ciyi),((t,n)=>(io(),co("div",{class:"ciyi-item",key:n},[mo("span",lu,f(n+1)+". ",1),e.seperateChineseJieshi(t)[0]?(io(),co("span",su,"["+f(e.seperateChineseJieshi(t)[0])+"]",1)):wo("v-if",!0),mo("span",null,f(e.seperateChineseJieshi(t)[1]),1)])))),128))])])):wo("v-if",!0)],64)):wo("v-if",!0),wo(" translation "),e.isBaseInfoTranslate(e.result.baseInfo)&&2===e.result.baseInfo.translate_type&&e.result.baseInfo.translate_result?(io(),co("div",cu,[mo("div",uu,f(e.result.baseInfo.translate_result),1),mo("div",du,f(e.result.baseInfo.translate_msg.replace(/。$/,"")),1)])):wo("v-if",!0),wo(" suggest "),e.isBaseInfoSuggestion(e.result.baseInfo)&&e.result.baseInfo.suggest.length?(io(),co(eo,{key:2},[pu,e.isBaseInfoSuggestion(e.result.baseInfo)?(io(),co("div",fu,[(io(!0),co(eo,null,Yo(e.result.baseInfo.suggest,((t,n)=>(io(),co("span",{class:"text-blue-500 mr-1 cursor-pointer",onClick:n=>e.handleSuggestionClick(t.key),key:n},f(t.key),9,["onClick"])))),128))])):wo("v-if",!0)],64)):wo("v-if",!0)],2)):wo("v-if",!0)])),_:1})])})),gu=Zt("data-v-5ec67402");Kt("data-v-5ec67402");const mu={class:"scrollable relative flex"},hu={class:"scroll-content flex-col flex-auto overflow-hidden"};Xt();const bu=gu((function(e,t,n,o,r,a){const i=Zn("no-overscroll");return io(),co("div",mu,[mo("div",{class:["scroll-bar-track absolute right-0",{moving:e.state.drag.start,hidden:e.state.noScrollBar}]},[e.state.noScrollBar?wo("v-if",!0):(io(),co("div",{key:0,class:"scroll-bar-thumb rounded-full flex justify-center absolute ease-in-out duration-100",style:e.thumbStyle,onWheel:t[1]||(t[1]=Pr((()=>{}),["prevent"])),onMousedown:t[2]||(t[2]=(...t)=>e.handleScrollbarThumbClick(...t))},null,36))],2),mo("div",hu,[Nn(mo("div",{class:"scroll-box flex flex-auto overflow-x-hidden overflow-y-scroll",style:e.scrollBoxStyle,onScroll:t[3]||(t[3]=(...t)=>e.calcScrollbar(...t)),onMouseenter:t[4]||(t[4]=(...t)=>e.calcScrollbar(...t)),ref:e.refs.container},[mo("div",{class:"w-full flex-col",ref:e.refs.scrollBox},[Yt(e.$slots,"default",{scrollBar:!e.state.noScrollBar})],512)],36),[[i]])])])}));var yu=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),xu="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,wu=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),_u="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(wu):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var ku=["top","right","bottom","left","width","height","size","weight"],Su="undefined"!=typeof MutationObserver,Tu=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function a(){n&&(n=!1,e()),o&&l()}function i(){_u(a)}function l(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(i,t);r=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){xu&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Su?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){xu&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;ku.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Cu=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},Ou=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||wu},Au=Ru(0,0,0,0);function Lu(e){return parseFloat(e)||0}function Eu(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+Lu(e["border-"+n+"-width"])}),0)}function Iu(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Au;var o=Ou(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],a=e["padding-"+r];t[r]=Lu(a)}return t}(o),a=r.left+r.right,i=r.top+r.bottom,l=Lu(o.width),s=Lu(o.height);if("border-box"===o.boxSizing&&(Math.round(l+a)!==t&&(l-=Eu(o,"left","right")+a),Math.round(s+i)!==n&&(s-=Eu(o,"top","bottom")+i)),!function(e){return e===Ou(e).document.documentElement}(e)){var c=Math.round(l+a)-t,u=Math.round(s+i)-n;1!==Math.abs(c)&&(l-=c),1!==Math.abs(u)&&(s-=u)}return Ru(r.left,r.top,l,s)}var Mu="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Ou(e).SVGGraphicsElement}:function(e){return e instanceof Ou(e).SVGElement&&"function"==typeof e.getBBox};function zu(e){return xu?Mu(e)?function(e){var t=e.getBBox();return Ru(0,0,t.width,t.height)}(e):Iu(e):Au}function Ru(e,t,n,o){return{x:e,y:t,width:n,height:o}}var Uu=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ru(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=zu(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Nu=function(e,t){var n,o,r,a,i,l,s,c=(o=(n=t).x,r=n.y,a=n.width,i=n.height,l="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(l.prototype),Cu(s,{x:o,y:r,width:a,height:i,top:r,right:o+a,bottom:i+r,left:o}),s);Cu(this,{target:e,contentRect:c})},Du=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new yu,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Ou(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new Uu(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Ou(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new Nu(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Pu="undefined"!=typeof WeakMap?new WeakMap:new yu,Vu=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Tu.getInstance(),o=new Du(t,n,this);Pu.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){Vu.prototype[e]=function(){var t;return(t=Pu.get(this))[e].apply(t,arguments)}}));const Gu=void 0!==wu.ResizeObserver?wu.ResizeObserver:Vu,ju=Ye({scrollBarWidth:0,devicePixelRatio:null}),Bu=()=>{const e=window.devicePixelRatio;if(null!==e&&ju.devicePixelRatio===e)return;const n=(()=>{const e=document.createElement("div"),n=e.style;n.overflow="scroll",n.height="100%",n.visibility="hidden",n.width="100px",n.position="absolute",n.top="-9999px",t.append(e);const o=e.offsetWidth;n.overflow="scroll";const r=document.createElement("div");r.style.width="100%",e.appendChild(r);const a=r.offsetWidth;return t.removeChild(e),o-a})();ju.scrollBarWidth=n},Hu=ju,Fu=()=>{window.addEventListener("resize",Bu),Bu()},Yu=Ho({setup:e=>{const t={container:et(),scrollBox:et()},n=Ye({drag:{start:!1,startY:0,startScrollTop:0},noScrollBar:!0,scrollbar:{track:{top:0},thumb:{size:"0",position:"0"}}}),o=e=>{if(t.container.value&&n.drag.start){e.preventDefault();const{scrollHeight:o,clientHeight:r}=t.container.value,a=o-r,i=o*((e.clientY-n.drag.startY)/r);let l=n.drag.startScrollTop+i;l>a&&(l=a),l<0&&(l=0),t.container.value.scrollTop=l}},r=()=>{n.drag.start=!1},a=()=>{if(!t.container.value)return;const{scrollTop:e,scrollHeight:o,clientHeight:r}=t.container.value,a=r/o,i=(1-a)*(e/(o-r))*100;n.noScrollBar=a>=1;const l=(100*a).toFixed(4),s=i.toFixed(4);n.scrollbar.track.top!==e&&(n.scrollbar.track.top=e),n.scrollbar.thumb.size!==l&&(n.scrollbar.thumb.size=l),n.scrollbar.thumb.position!==s&&(n.scrollbar.thumb.position=s)},i=Bo((()=>({height:n.scrollbar.thumb.size+"%",top:n.scrollbar.thumb.position+"%"}))),l=Bo((()=>({"margin-right":-Hu.scrollBarWidth+"px"})));return cn((()=>{window.addEventListener("mousemove",o,!1),window.addEventListener("mouseup",r,!1);const e=new Gu(a);window.setTimeout((()=>{t.container.value&&e.observe(t.container.value),t.scrollBox.value&&e.observe(t.scrollBox.value)})),a(),pn((()=>{window.removeEventListener("mousemove",o,!1),window.removeEventListener("mouseup",r,!1),e.disconnect()}))})),un((()=>{a()})),{state:n,refs:t,props:e,thumbStyle:i,scrollBoxStyle:l,calcScrollbar:a,handleScrollbarThumbClick:e=>{e.preventDefault(),t.container.value&&(n.drag.start=!0,n.drag.startY=e.clientY,n.drag.startScrollTop=t.container.value.scrollTop)}}}});n(1703);Yu.render=bu,Yu.__scopeId="data-v-5ec67402";const qu=Yu,$u='<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 93.038 93.038"><path d="M46.547 75.521c0 1.639-.947 3.128-2.429 3.823-.573.271-1.187.402-1.797.402-.966 0-1.923-.332-2.696-.973l-23.098-19.14H4.225C1.892 59.635 0 57.742 0 55.409V38.576c0-2.334 1.892-4.226 4.225-4.226h12.303l23.098-19.14c1.262-1.046 3.012-1.269 4.493-.569 1.481.695 2.429 2.185 2.429 3.823l-.001 57.057zm16.237-6.602c-.103.007-.202.011-.304.011-1.116 0-2.192-.441-2.987-1.237l-.565-.567c-1.482-1.479-1.656-3.822-.408-5.504 3.164-4.266 4.834-9.323 4.834-14.628 0-5.706-1.896-11.058-5.484-15.478-1.366-1.68-1.24-4.12.291-5.65l.564-.565c.844-.844 1.975-1.304 3.199-1.231 1.192.06 2.305.621 3.061 1.545 4.977 6.09 7.606 13.484 7.606 21.38 0 7.354-2.325 14.354-6.725 20.24-.735.981-1.859 1.597-3.082 1.684zm17.468 13.057c-.764.903-1.869 1.445-3.052 1.495-.058.002-.117.004-.177.004-1.119 0-2.193-.442-2.988-1.237l-.555-.555c-1.551-1.55-1.656-4.029-.246-5.707 6.814-8.104 10.568-18.396 10.568-28.982 0-11.011-4.019-21.611-11.314-29.847-1.479-1.672-1.404-4.203.17-5.783l.554-.555c.822-.826 1.89-1.281 3.115-1.242 1.163.033 2.263.547 3.036 1.417 8.818 9.928 13.675 22.718 13.675 36.01.002 12.789-4.539 25.213-12.786 34.982z"/></svg>\n',Wu=Zt("data-v-267555b4");Kt("data-v-267555b4");const Ku={class:"pronunciation-item flex items-center"},Xu={key:1,class:"ipa text-grey-700 text-12 mr-1"};Xt();const Zu=Wu((function(e,t,n,o,r,a){const i=Kn("i-icon");return io(),co("div",Ku,[e.type?(io(),co("div",{key:0,class:"ipa-type-name text-grey-600 mr-1 text-12",textContent:e.type},null,8,["textContent"])):wo("v-if",!0),"[]"!==e.ipa?(io(),co("div",Xu,f(e.ipa),1)):wo("v-if",!0),mo("div",{class:"play-sound flex flex-center",onClick:t[1]||(t[1]=(...t)=>e.handlePlay(...t))},[mo(i,{svg:e.icon.play},null,8,["svg"])])])})),Ju=Ho({name:"IcibaPronunciation",props:{ipa:{type:String,required:!0},type:{type:String}},components:{Scrollable:qu},setup:(e,t)=>({props:e,handlePlay:()=>{t.emit("play")},icon:{play:$u}})});n(1384);Ju.render=Zu,Ju.__scopeId="data-v-267555b4";const Qu=e=>!!e&&"translate_type"in e&&!("translate_result"in e),ed=e=>!!e&&"translate_type"in e&&"translate_result"in e,td=e=>!!e&&"translate_type"in e&&"suggest"in e,nd=e=>"string"==typeof e?[e]:e,od=e=>"word_symbol"in e,rd=e=>!("word_symbol"in e),ad=Ho({name:"IcibaContainer",components:{IcibaPronunciation:Ju,Scrollable:qu},setup:()=>({icon:{play_speaker_filled_audio_tool_59284:$u},isBaseInfoBaseInfoNormal:Qu,isBaseInfoTranslate:ed,isBaseInfoSuggestion:td,isSymbolCN:od,isSymbolEN:rd,handlePlay:e=>{e&&Xc.emit({type:Kc.PLAY_AUDIO,id:ss.ICIBA,params:{url:e}})},handleSuggestionClick:e=>{vl.emit({type:il.TRANSLATE,word:e,param:{provider:ss.ICIBA}})},result:Bo((()=>Zc.data)),seperateChineseJieshi:e=>{const t=/[((](.{1,3})[))](.+)/.exec(e);return t?[t[1],t[2]]:["",e]},normalizeCiyi:nd})});n(9567);ad.render=vu,ad.__scopeId="data-v-bae3a914";const id=ad;Xc.on(Kc.PLAY_AUDIO,(async e=>{if(e.id!==ss.ICIBA)return;const t=e.params.url;if(!t)return;if(Wc(t,.6))return;const n=await ts({method:"GET",responseType:"arraybuffer",url:t});Wc(t,n.response,.6)}));const ld={id:ss.ICIBA,view:id,translate:async e=>{const t="http://www.iciba.com/word?w="+encodeURIComponent(e),n=(await ts({method:"GET",url:t,timeout:5e3})).responseText,o=/<script id="__NEXT_DATA__" type="application\/json">(.+?)<\/script>/.exec(n);if(!o)return ta({message:"数据错误!"});const r=JSON.parse(o[1]).props.initialDvaState.word.wordInfo;return"baesInfo"in r&&(r.baseInfo=r.baesInfo,delete r.baesInfo),"bidce"in r&&(r.bidec=r.bidce,delete r.bidce),na((()=>{Zc.data=ns(r)}))}};var sd=n(8604),cd=n.n(sd),ud=n(7673);const dd=Zt("data-v-21539aa9");Kt("data-v-21539aa9");const pd={class:"google-dict-box flex-col relative break-words text-grey-900"},fd={class:"google-content-box text-13"},vd={key:0,class:"dictionary-data-box flex-col items-stretch"},gd={key:0,class:"entry-box flex-col items-stretch"};Xt();const md=dd((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("simple-entry"),s=Kn("scrollable");return io(),co("div",pd,[mo(s,{class:"scroll-container"},{default:dd((n=>[mo("div",{class:["google-content-simple relative flex-auto",[n.scrollBar&&"py-10px pl-10px pr-14px",!n.scrollBar&&"p-10px"]]},[e.containerData.data&&e.containerData.data.length?(io(),co("div",{key:0,class:["expand-button flex flex-center absolute",{"with-scroll-bar":n.scrollBar}],title:"展开",onClick:t[1]||(t[1]=(...t)=>e.handleOpenModal(...t))},[mo(i,{svg:e.icon.expand_128456},null,8,["svg"])],2)):wo("v-if",!0),wo(" simple result "),mo("div",fd,[e.containerData.data&&e.containerData.data.length?(io(),co("div",vd,[(io(!0),co(eo,null,Yo(e.containerData.data,((e,t)=>(io(),co("div",{class:"dictionary-data-item",key:t},[wo(" entry "),e.entries&&e.entries.length?(io(),co("div",gd,[(io(!0),co(eo,null,Yo(e.entries,((e,t)=>(io(),co(l,{class:["entry-item",{"-mt-2px":0===t,"border-t border-grey-400 pt-1 mt-4":0!==t}],entry:e,key:t},null,8,["class","entry"])))),128))])):wo("v-if",!0)])))),128))])):wo("v-if",!0)])],2)])),_:1})])})),hd=Ye({data:null,word:""}),bd=Zt("data-v-13c640e0");Kt("data-v-13c640e0");const yd={class:"entry-item flex-col items-stretch leading-snug"},xd={class:"headword flex flex-wrap leading-normal"},wd={class:"headword-word text-16"},_d={key:0,class:"headword-graph-index text-12 ml-2px"},kd={key:1,class:"sense-list mt-2px flex-col items-stretch"},Sd={class:"sense-item-number text-right"},Td={class:"definition-box flex-auto"},Cd={key:2,class:"sense-family-box flex-col items-stretch"},Od={key:2,class:"sense-list mt-2px flex-col items-stretch"},Ad={class:"sense-item-number text-right pr-2 font-bold"},Ld={class:"definition-box flex-auto"},Ed={key:3,class:"sub-entry-box"};Xt();const Id=bd((function(e,t,n,o,r,a){const i=Kn("phonetics"),l=Kn("fragment"),s=Kn("g-simple-entry");return io(),co(eo,null,[wo(" entry item "),mo("div",yd,[wo(" headword "),mo("div",xd,[mo("div",wd,f(e.props.entry.syllabifiedHeadword||e.props.entry.headword),1),e.props.entry.homographIndex?(io(),co("div",_d,f(e.props.entry.homographIndex),1)):wo("v-if",!0)]),wo(" phonetics "),e.props.entry.phonetics?(io(),co(i,{key:0,class:"phonetics-box mb-2px",phonetics:e.props.entry.phonetics},null,8,["phonetics"])):wo("v-if",!0),wo(" sub-sense-list "),e.props.isSubentry&&e.props.entry.senseFamily&&e.props.entry.senseFamily.senses&&e.props.entry.senseFamily.senses.length?(io(),co("div",kd,[(io(!0),co(eo,null,Yo(e.props.entry.senseFamily.senses,((e,t)=>Nn((io(),co("div",{class:"sense-item flex",key:t},[mo("div",Sd,f(t+1)+".",1),mo("div",Td,[mo(l,{class:"sense-frag",fragment:e.definition.fragments},null,8,["fragment"])])],512)),[[jr,t<2]]))),128))])):wo("v-if",!0),wo(" sense-family "),!e.props.isSubentry&&e.props.entry.senseFamilies&&e.props.entry.senseFamilies.length?(io(),co("div",Cd,[(io(!0),co(eo,null,Yo(e.props.entry.senseFamilies,((e,t)=>(io(),co("div",{class:["sense-family-item flex-col items-stretch",{"mt-6px":0!==t}],key:t},[e.partsOfSpeechs?(io(!0),co(eo,{key:0},Yo(e.partsOfSpeechs,((e,t)=>(io(),co("div",{title:e.qualifier,class:"poss italic flex flex-wrap text-grey-600",key:t},f(e.value),9,["title"])))),128)):wo("v-if",!0),wo(" phonetics "),e.phonetics?(io(),co(i,{key:1,class:"phonetics-box mb-2px",phonetics:e.phonetics},null,8,["phonetics"])):wo("v-if",!0),wo(" sense-list "),e.senses&&e.senses.length?(io(),co("div",Od,[(io(!0),co(eo,null,Yo(e.senses,((e,t)=>Nn((io(),co("div",{class:"sense-item flex",key:t},[mo("div",Ad,f(t+1)+". ",1),mo("div",Ld,[mo(l,{class:"sense-frag",fragment:e.definition.fragments},null,8,["fragment"])])],512)),[[jr,t<2]]))),128))])):wo("v-if",!0)],2)))),128))])):wo("v-if",!0),wo(" sub entries "),e.props.entry.subentries&&e.props.entry.subentries.length?(io(),co("div",Ed,[(io(!0),co(eo,null,Yo(e.props.entry.subentries,((e,t)=>(io(),co(s,{class:"sub-entry",entry:e,"is-subentry":!0,key:t},null,8,["entry"])))),128))])):wo("v-if",!0)])],64)})),Md=Zt("data-v-80abc988");Kt("data-v-80abc988");const zd={key:0,class:"phonetics-box flex items-center text-grey-700"},Rd={class:"phonetics flex"};Xt();const Ud=Md((function(e,t,n,o,r,a){const i=Kn("i-icon");return io(),co(eo,null,[wo(" phonetics "),e.props.phonetics&&e.props.phonetics.length?(io(),co("div",zd,[mo("div",Rd,f(""+e.props.phonetics.map((e=>`/${e.text}/`)).join(" ")),1),(io(!0),co(eo,null,Yo(e.props.phonetics.filter((e=>e.oxfordAudio)),(t=>(io(),co("div",{class:"pl-1 play-button flex flex-center",key:t.oxfordAudio,onClick:n=>e.handlePlay(t.oxfordAudio)},[mo(i,{svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])],8,["onClick"])))),128))])):wo("v-if",!0)],64)})),Nd=Ho({name:"GPhonetics",props:{phonetics:null},setup:e=>({icon:{play_speaker_filled_audio_tool_59284:$u},props:e,handlePlay:e=>{Xc.emit({type:Kc.PLAY_AUDIO,id:ss.GOOGLE_DICT,params:{url:e}})}})});n(1328);Nd.render=Ud,Nd.__scopeId="data-v-80abc988";const Dd=Nd,Pd={key:0,class:"fragment-box inline"};const Vd=Ho({name:"GFragment",props:{fragment:{type:null,required:!0}},setup:e=>({props:e,handleEntryLinkClick:(e,t)=>{vl.emit({type:il.TRANSLATE,word:t,mouseEvent:e,param:{provider:ss.GOOGLE_DICT}})}})});Vd.render=function(e,t,n,o,r,a){return e.props.fragment&&e.props.fragment.length?(io(),co("div",Pd,[(io(!0),co(eo,null,Yo(e.props.fragment,((t,n)=>(io(),co("div",{class:"inline fragment-item",key:n},[t.isEntryLink?(io(),co("a",{key:0,class:"text-link cursor-pointer",onClick:n=>e.handleEntryLinkClick(n,t.text),innerHTML:t.text},null,8,["onClick","innerHTML"])):(io(),co("div",{key:1,class:"inline",innerHTML:t.text},null,8,["innerHTML"]))])))),128))])):wo("v-if",!0)};const Gd=Vd,jd=Ho({name:"GSimpleEntry",components:{phonetics:Dd,fragment:Gd},props:{entry:{type:null,required:!0},isSubentry:{type:Boolean,default:!1}},setup:e=>({props:e})});n(1392);jd.render=Id,jd.__scopeId="data-v-13c640e0";const Bd=Ho({name:"GoogleDictContainer",components:{simpleEntry:jd,Scrollable:qu},setup:()=>({containerData:hd,icon:{expand_128456:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.1 26.1" width="512" height="512"><path d="M16 25.042v-2c0-.6.4-1 1-1h1c.4 0 .7-.5.4-.9l-4-4c-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0l4 4c.3.3.9.1.9-.4v-1c0-.6.4-1 1-1h2c.6 0 1 .4 1 1v8c0 .6-.4 1-1 1h-8c-.7.1-1.1-.3-1.1-.9zm-7.1-13.3l-4-4c-.3-.3-.9-.1-.9.4v1c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1v-8c0-.6.4-1 1-1h8c.6 0 1 .4 1 1v2c0 .6-.4 1-1 1H8c-.4 0-.7.5-.4.9l4 4c.4.4.4 1 0 1.4l-1.4 1.4c-.3.3-.9.3-1.3-.1z"/></svg>\n'},handleOpenModal:()=>{vl.emit({type:il.OPEN_GOOGLE_DICT_MODAL,googleDictData:hd.data})}})});n(2519);Bd.render=md,Bd.__scopeId="data-v-21539aa9";const Hd=Bd;function Fd(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Yd(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Fd(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Fd(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const qd={};Xc.on(Kc.PLAY_AUDIO,(async e=>{if(e.id!==ss.GOOGLE_DICT)return;const t="https:"+e.params.url;if(Wc(t,.7))return;const n=await ts({method:"GET",headers:{"upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:t,timeout:5e3});Wc(t,n.response,.7)}));const $d={id:ss.GOOGLE_DICT,view:Hd,translate:async e=>{if(qd[e])return ta({redirect:ss.GOOGLE_TRANSLATE,redirectParams:{fromDict:!0}});let t;try{t=await(async(e,t="uk")=>{const n=Yd(Yd({term:e,language:"en"},"uk"===t?{corpus:"en",country:"UK"}:{corpus:"en-US",country:"US"}),{},{key:"AIzaSyA6EEtrDCfBkHV8uU2lgGY-N383ZgAOo7Y"}),o="https://content-dictionaryextension-pa.googleapis.com/v1/dictionaryExtensionData?"+(0,ud.stringify)(n);let r;try{r=await ts({method:"GET",headers:{"x-origin":"chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja","x-referer":"chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja"},url:o,timeout:1e4})}catch(e){const t=e,n=t.response.responseText;if(n){var a;const e=JSON.parse(n);if(null==e||null===(a=e.error)||void 0===a?void 0:a.message)throw new Error(e.error.message)}throw new Error(`遇到错误: ${t.message} ${t.response.status}`)}const i=JSON.parse(r.responseText);if(0===cd()(i).length)throw new Error("无查询结果!");return i})(e,"uk")}catch(t){return"Backend Error"===t.message?(qd[e]=!0,ta({redirect:ss.GOOGLE_TRANSLATE})):ta({message:t.message})}return 200!==t.status?ta({redirect:ss.GOOGLE_TRANSLATE,redirectParams:{fromDict:!0}}):na((()=>{hd.data=t.dictionaryData,hd.word=e}))}};var Wd=n(426),Kd=n.n(Wd),Xd=n(1128),Zd=n.n(Xd),Jd="0";var Qd=null,ep=function(e){return function(){return e}},tp=function(e,t){for(var n=0;n<t.length-2;n+=3){var o="a"<=(o=t.charAt(n+2))?o.charCodeAt(0)-87:Number(o);o="+"==t.charAt(n+1)?e>>>o:e<<o;e="+"==t.charAt(n)?e+o&4294967295:e^o}return e};const np=(e,t)=>{Jd=t;let n=function(e){var t;if(null!==Qd)t=Qd;else{t=ep(String.fromCharCode(84));var n=ep(String.fromCharCode(75));(t=[t(),t()])[1]=n(),t=(Qd=Jd||"")||""}var o=ep(String.fromCharCode(116));n=ep(String.fromCharCode(107)),(o=[o(),o()])[1]=n(),n="&"+o.join("")+"=",o=t.split("."),t=Number(o[0])||0;for(var r=[],a=0,i=0;i<e.length;i++){var l=e.charCodeAt(i);128>l?r[a++]=l:(2048>l?r[a++]=l>>6|192:(55296==(64512&l)&&i+1<e.length&&56320==(64512&e.charCodeAt(i+1))?(l=65536+((1023&l)<<10)+(1023&e.charCodeAt(++i)),r[a++]=l>>18|240,r[a++]=l>>12&63|128):r[a++]=l>>12|224,r[a++]=l>>6&63|128),r[a++]=63&l|128)}for(e=t,a=0;a<r.length;a++)e+=r[a],e=tp(e,"+-a^+6");return e=tp(e,"+-3^+b+-f"),0>(e^=Number(o[1])||0)&&(e=2147483648+(2147483647&e)),n+((e%=1e6).toString()+".")+(e^t)}(e);return n=n.replace("&tk=",""),n};let op="0";const rp=async e=>{await(async e=>{const t=Math.floor(Zd()()/36e5);if(Number(op.split(".")[0])===t)return;const n=await ts({method:"GET",url:"https://"+e,timeout:5e3}),o=/tkk:'(.*?)'/.exec(n.responseText);if(!o)throw new Error("failed to get ttk");const r=o[1];void 0!==r&&(op=r)})("translate.google.cn");return np(e,op)},ap=Zt("data-v-1229a221");Kt("data-v-1229a221");const ip={class:"google-translate-box flex-col relative text-grey-900"},lp={class:"language-select-box w-full"},sp={class:"title-box flex justify-between"},cp={class:"items-box flex flex-wrap mt-1"},up={class:"translate-content mb-2px"},dp={key:0,class:"google-dict-tip mt-2px mb-3px text-12 text-right text-grey-400"},pp={class:"bottom-info-box flex justify-between"},fp={class:"tts-box flex"},vp=yo(" 源 "),gp=yo(" 译 "),mp={class:"language-info-box flex"},hp=mo("div",{class:"px-1"}," -> ",-1);Xt();const bp=ap((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("Scrollable");return io(),co("div",ip,[mo(l,{class:"scroll-container"},{default:ap((({scrollBar:n})=>[mo("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[Nn(mo("div",lp,[mo("div",sp,[Nn(mo("div",null,"源语言",512),[[jr,"source"===e.state.type]]),Nn(mo("div",null,"翻译到",512),[[jr,"target"===e.state.type]]),mo("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)},"取消")]),Nn(mo("div",cp,[(io(!0),co(eo,null,Yo(e.languages,(t=>(io(),co("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"source"===e.state.type?t.id===e.containerData.sourceLanguage:t.id===e.containerData.targetLanguage},key:t.id,onClick:n=>e.handleLanguageSelect(t.id)},f(t.name),11,["onClick"])))),128)),"source"===e.state.type?(io(),co("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"auto"===e.containerData.sourceLanguage},key:"auto",onClick:t[2]||(t[2]=t=>e.handleLanguageSelect("auto"))}," 自动检测 ",2)):wo("v-if",!0)],512),[[jr,e.state.visible]])],512),[[jr,e.state.visible]]),Nn(mo("div",up,[(io(!0),co(eo,null,Yo(e.containerData.data,((e,t)=>(io(),co(eo,null,[e?(io(),co("span",{key:t},f(e),1)):wo("v-if",!0),e?wo("v-if",!0):(io(),co("br",{key:t}))],64)))),256))],512),[[jr,!e.state.visible]]),e.containerData.fromDict?(io(),co("div",dp," google字典无结果,以上内容来自谷歌翻译 ")):wo("v-if",!0),Nn(mo("div",pp,[mo("div",fp,[mo("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[vp,mo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),mo("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[gp,mo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),mo("div",mp,[mo("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},f(e.getLanguage(e.containerData.detectedLanguage))+" "+f("auto"===e.containerData.sourceLanguage?"(自动检测)":""),1),hp,mo("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},f(e.getLanguage(e.containerData.targetLanguage)),1)])],512),[[jr,!e.state.visible]])],2)])),_:1})])})),yp=Ye({data:[],inputText:"",sourceLanguage:"",targetLanguage:"",detectedLanguage:"",fromDict:!1});var xp;const wp=Di()(xp=rs()(qs)).call(xp,(([e,t])=>({id:e,name:t}))),_p={play_speaker_filled_audio_tool_59284:$u},kp=Ho({name:"GoogleTranslateContainer",components:{Scrollable:qu},setup:()=>{const e=Ye({visible:!1,type:"source"});return{state:e,containerData:yp,languages:wp,icon:_p,getLanguage:e=>qs[e]||e,handleLanguageSelect:t=>{vl.emit({type:il.TRANSLATE,word:yp.inputText,param:{provider:ss.GOOGLE_TRANSLATE,param:{sl:"source"===e.type?t:yp.sourceLanguage,tl:"target"===e.type?t:yp.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{Xc.emit({type:Kc.PLAY_AUDIO,id:ss.GOOGLE_TRANSLATE,params:"source"===e?{word:yp.inputText,tl:yp.detectedLanguage}:{word:yp.data.join(),tl:yp.targetLanguage}})}}}});n(5560);kp.render=bp,kp.__scopeId="data-v-1229a221";const Sp=kp;function Tp(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Cp(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Tp(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Tp(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const Op={client:"webapp",pc:"1",otf:"1",ssel:"0",tsel:"0",kc:"1",dt:["at","bd","ex","ld","md","qca","rw","rm","ss","t","gt"]},Ap=()=>fs[Vc.config[ss.GOOGLE_TRANSLATE].translateHost],Lp=async(e,t)=>{var n,o,r,a,i,l;let s;try{s=await rp(e)}catch(e){throw new Error(`获取token失败!请检查网络。(${e.message})`)}const c=null!==(n=null==t?void 0:t.sl)&&void 0!==n?n:"auto",u=null!==(o=null==t?void 0:t.tl)&&void 0!==o?o:Vc.config[ss.GOOGLE_TRANSLATE].targetLanguage,d=Cp(Cp({},Op),{},{sl:c,tl:u,hl:u,tk:s,q:e}),p=`https://${Ap()}/translate_a/single?${(0,ud.stringify)(d)}`,f=(await ts({method:"GET",headers:{Referer:`https://${Ap()}/`,"Cache-Control":"max-age=0","Content-Type":"application/x-www-form-urlencoded;charset=utf-8"},url:p,timeout:5e3,responseType:"json"})).response,v=f[2];if(!t&&v===u&&v===Vc.config[ss.GOOGLE_TRANSLATE].targetLanguage)return Lp(e,{sl:c,tl:Vc.config[ss.GOOGLE_TRANSLATE].secondTargetLanguage});return{result:Kd()(r=Vi()(a=Di()(i=f[0]).call(i,(e=>e[0]?e[0]:""))).call(a,Boolean)).call(r,(e=>e.split("\n"))),sl:c,tl:u,dl:v,fromDict:null!==(l=null==t?void 0:t.fromDict)&&void 0!==l&&l}};Xc.on(Kc.PLAY_AUDIO,(async e=>{if(e.id!==ss.GOOGLE_TRANSLATE)return;const t=e.params,n={ie:"UTF-8",total:"1",idx:"0",client:"webapp",prev:"input",q:t.word,tl:t.tl,textlen:t.word.length,tk:await rp(t.word)},o=`https://${Ap()}/translate_tts?${(0,ud.stringify)(n)}`;if(Wc(o,.8))return;const r=await ts({method:"GET",headers:{Referer:`https://${Ap()}/`,Accept:"*/*","Cache-Control":"no-cache",Pragma:"no-cache","upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:o,timeout:5e3});Wc(o,r.response,.8)}));const Ep={id:ss.GOOGLE_TRANSLATE,view:Sp,translate:async(e,t)=>{try{const n=await Lp(e,t);return na((()=>{yp.data=n.result,yp.inputText=e,yp.detectedLanguage=n.dl,yp.sourceLanguage=n.sl,yp.targetLanguage=n.tl,yp.fromDict=n.fromDict}))}catch(e){return ta({message:e.message})}}};var Ip=n(6419),Mp=n.n(Ip),zp="0",Rp=null;function Up(e){if(pl()(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Mp()(e)}function Np(e,t){for(var n=0;n<t.length-2;n+=3){var o=t.charAt(n+2);o=o>="a"?o.charCodeAt(0)-87:Number(o),o="+"===t.charAt(n+1)?e>>>o:e<<o,e="+"===t.charAt(n)?e+o&4294967295:e^o}return e}const Dp=(e,t)=>{zp=t;return function(e){var t=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g);if(null===t){var n=e.length;n>30&&(e=""+e.substr(0,10)+e.substr(Math.floor(n/2)-5,10)+e.substr(-10,10))}else{for(var o=e.split(/[\uD800-\uDBFF][\uDC00-\uDFFF]/),r=0,a=o.length,i=[];a>r;r++)""!==o[r]&&i.push.apply(i,Up(o[r].split(""))),r!==a-1&&i.push(t[r]);var l=i.length;l>30&&(e=Fc()(i).call(i,0,10).join("")+Fc()(i).call(i,Math.floor(l/2)-5,Math.floor(l/2)+5).join("")+Fc()(i).call(i,-10).join(""))}String.fromCharCode(103),String.fromCharCode(116),String.fromCharCode(107);for(var s=(null!==Rp?Rp:(Rp=zp||"")||"").split("."),c=Number(s[0])||0,u=Number(s[1])||0,d=[],p=0,f=0;f<e.length;f++){var v=e.charCodeAt(f);128>v?d[p++]=v:(2048>v?d[p++]=v>>6|192:(55296==(64512&v)&&f+1<e.length&&56320==(64512&e.charCodeAt(f+1))?(v=65536+((1023&v)<<10)+(1023&e.charCodeAt(++f)),d[p++]=v>>18|240,d[p++]=v>>12&63|128):d[p++]=v>>12|224,d[p++]=v>>6&63|128),d[p++]=63&v|128)}for(var g=c,m=""+String.fromCharCode(43)+String.fromCharCode(45)+String.fromCharCode(97)+String.fromCharCode(94)+String.fromCharCode(43)+String.fromCharCode(54),h=""+String.fromCharCode(43)+String.fromCharCode(45)+String.fromCharCode(51)+String.fromCharCode(94)+String.fromCharCode(43)+String.fromCharCode(98)+String.fromCharCode(43)+String.fromCharCode(45)+String.fromCharCode(102),b=0;b<d.length;b++)g=Np(g+=d[b],m);return g=Np(g,h),0>(g^=u)&&(g=2147483648+(2147483647&g)),(g%=1e6).toString()+"."+(g^c)}(e)};let Pp="0",Vp="";const Gp=async(e,t)=>{await(async e=>{if(!e&&Vp)return;const t=await ts({method:"GET",url:"https://fanyi.baidu.com/",timeout:5e3}),n=/window\.gtk = '(.*?)'/.exec(t.responseText),o=/token: '(.*?)',/.exec(t.responseText);if(!n)throw new Error("failed to get gtk");if(!o)throw new Error("failed to get common token");const r=n[1],a=o[1];void 0!==r&&(Vp=r),void 0!==a&&(Pp=a)})(t);return{sign:Dp(e,Vp),token:Pp}},jp=Zt("data-v-44ca479e");Kt("data-v-44ca479e");const Bp={class:"baidu-translate-box flex-col relative text-grey-900"},Hp={class:"language-select-box select-none w-full"},Fp={class:"title-box flex justify-between"},Yp={class:"items-box flex flex-wrap mt-1"},qp={class:"content mb-2px flex-col"},$p={class:"bottom-info-box flex justify-between"},Wp={class:"tts-box flex"},Kp=yo(" 源 "),Xp=yo(" 译 "),Zp={class:"language-info-box flex"},Jp=mo("div",{class:"px-1"}," -> ",-1);Xt();const Qp=jp((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("scrollable");return io(),co("div",Bp,[mo(l,{class:"scroll-container"},{default:jp((({scrollBar:n})=>[mo("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[Nn(mo("div",Hp,[mo("div",Fp,[Nn(mo("div",null,"源语言",512),[[jr,"source"===e.state.type]]),Nn(mo("div",null,"翻译到",512),[[jr,"target"===e.state.type]]),mo("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)},"取消")]),Nn(mo("div",Yp,[(io(!0),co(eo,null,Yo(e.languages,(t=>(io(),co("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"source"===e.state.type?t.id===e.containerData.sourceLanguage&&!e.containerData.autoMode:t.id===e.containerData.targetLanguage},key:t.id,onClick:n=>e.handleLanguageSelect(t.id)},f(t.name),11,["onClick"])))),128)),"source"===e.state.type?(io(),co("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":e.containerData.autoMode},key:"auto",onClick:t[2]||(t[2]=t=>e.handleLanguageSelect("auto"))}," 自动检测 ",2)):wo("v-if",!0)],512),[[jr,e.state.visible]])],512),[[jr,e.state.visible]]),Nn(mo("div",qp,[(io(!0),co(eo,null,Yo(e.containerData.data,(e=>(io(),co("div",{class:"row",key:e},f(e),1)))),128))],512),[[jr,!e.state.visible]]),Nn(mo("div",$p,[mo("div",Wp,[mo("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[Kp,mo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),mo("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[Xp,mo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),mo("div",Zp,[mo("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},f(e.getLanguage(e.containerData.sourceLanguage))+" "+f(e.containerData.autoMode?"(自动检测)":""),1),Jp,mo("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},f(e.getLanguage(e.containerData.targetLanguage)),1)])],512),[[jr,!e.state.visible]])],2)])),_:1})])})),ef=Ye({data:[],inputText:"",autoMode:!1,sourceLanguage:"",targetLanguage:""});var tf;const nf=Di()(tf=rs()(nc)).call(tf,(([e,t])=>({id:e,name:t}))),of={play_speaker_filled_audio_tool_59284:$u},rf=Ho({name:"BaiduTranslateContainer",components:{Scrollable:qu},setup:()=>{const e=Ye({visible:!1,type:"source"});return{state:e,languages:nf,icon:of,containerData:ef,getLanguage:e=>nc[e]||e,handleLanguageSelect:t=>{let n="source"===e.type?t:ef.sourceLanguage,o="target"===e.type?t:ef.targetLanguage;("source"===e.type&&t===ef.targetLanguage||"target"===e.type&&t===ef.sourceLanguage)&&(n=ef.targetLanguage,o=ef.sourceLanguage),vl.emit({type:il.TRANSLATE,word:ef.inputText,param:{provider:ss.BAIDU_TRANSLATE,param:{sl:n,tl:o}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{Xc.emit({type:Kc.PLAY_AUDIO,id:ss.BAIDU_TRANSLATE,params:"source"===e?{word:ef.inputText,tl:ef.sourceLanguage}:{word:ef.data.join(),tl:ef.targetLanguage}})}}}});n(1461);rf.render=Qp,rf.__scopeId="data-v-44ca479e";const af=rf;Xc.on(Kc.PLAY_AUDIO,(async e=>{if(e.id!==ss.BAIDU_TRANSLATE)return;const t=e.params,n={lan:t.tl,text:t.word,spd:"zh"===t.tl?5:3,source:"web"},o="https://fanyi.baidu.com/gettts?"+(0,ud.stringify)(n);if(Wc(o,.7))return;const r=await ts({method:"GET",headers:{Referer:"https://fanyi.baidu.com/",Accept:"*/*","Cache-Control":"no-cache",Pragma:"no-cache","upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:o,timeout:5e3});Wc(o,r.response,.7)}));const lf={id:ss.BAIDU_TRANSLATE,view:af,translate:async(e,t)=>{try{const n=!t||"auto"===t.sl,o=!t||n?await(async e=>{var t;const n={query:ji()(t=Mp()(e)).call(t,0,50).join("")},o=await ts({method:"POST",headers:{referer:"https://fanyi.baidu.com","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},url:"https://fanyi.baidu.com/langdetect",data:(0,ud.stringify)(n),timeout:5e3}),r=JSON.parse(o.responseText);if(0===r.error)return r.lan;throw new Error("检测翻译文本语言失败!")})(e):t.sl,r=t?t.tl:Vc.config[ss.BAIDU_TRANSLATE].targetLanguage!==o?Vc.config[ss.BAIDU_TRANSLATE].targetLanguage:Vc.config[ss.BAIDU_TRANSLATE].secondTargetLanguage,a=await(async({word:e,sl:t,tl:n})=>{let o;try{o=await Gp(e)}catch(t){o=await Gp(e,!0)}const r={from:t,to:n,query:e,transtype:"translang",simple_means_flag:3,sign:o.sign,token:o.token},a=await ts({method:"POST",headers:{referer:"https://fanyi.baidu.com","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","User-Agent":window.navigator.userAgent},url:"https://fanyi.baidu.com/v2transapi",data:(0,ud.stringify)(r),timeout:5e3}),i=JSON.parse(a.responseText).trans_result;var l;if(i&&2===i.type&&0===i.status)return Di()(l=i.data).call(l,(e=>e.dst));throw new Error("翻译出错!")})({word:e,sl:o,tl:r});return na((()=>{ef.data=a,ef.inputText=e,ef.autoMode=n,ef.sourceLanguage=o,ef.targetLanguage=r}))}catch(e){return ta({message:e.message})}}};var sf="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),cf=new Uint8Array(16);function uf(){if(!sf)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return sf(cf)}const df=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const pf=function(e){return"string"==typeof e&&df.test(e)};for(var ff=[],vf=0;vf<256;++vf)ff.push((vf+256).toString(16).substr(1));const gf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ff[e[t+0]]+ff[e[t+1]]+ff[e[t+2]]+ff[e[t+3]]+"-"+ff[e[t+4]]+ff[e[t+5]]+"-"+ff[e[t+6]]+ff[e[t+7]]+"-"+ff[e[t+8]]+ff[e[t+9]]+"-"+ff[e[t+10]]+ff[e[t+11]]+ff[e[t+12]]+ff[e[t+13]]+ff[e[t+14]]+ff[e[t+15]]).toLowerCase();if(!pf(n))throw TypeError("Stringified UUID is invalid");return n};const mf=function(e,t,n){var o=(e=e||{}).random||(e.rng||uf)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=o[r];return t}return gf(o)},hf=Zt("data-v-694555b0");Kt("data-v-694555b0");const bf={class:"sougou-translate-box flex-col relative break-words text-grey-900"},yf={class:"language-select-box w-full"},xf={class:"title-box flex justify-between"},wf={class:"items-box flex flex-wrap mt-1"},_f={class:"translate-content mb-2px flex-col"},kf={class:"bottom-info-box flex justify-between"},Sf={class:"tts-box flex"},Tf=yo(" 源 "),Cf=yo(" 译 "),Of={class:"language-info-box flex"},Af=mo("div",{class:"px-1"}," -> ",-1);Xt();const Lf=hf((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("scrollable");return io(),co("div",bf,[mo(l,{class:"scroll-container"},{default:hf((({scrollBar:n})=>[mo("div",{class:["content-box flex-col flex-auto text-14",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[Nn(mo("div",yf,[mo("div",xf,[Nn(mo("div",null,"源语言",512),[[jr,"source"===e.state.type]]),Nn(mo("div",null,"翻译到",512),[[jr,"target"===e.state.type]]),mo("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)}," 取消 ")]),Nn(mo("div",wf,[(io(!0),co(eo,null,Yo(e.languages,(t=>(io(),co("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"source"===e.state.type?t.id===e.data.sourceLanguage:t.id===e.data.targetLanguage},key:t.id,onClick:n=>e.handleLanguageSelect(t.id)},f(t.name),11,["onClick"])))),128)),"source"===e.state.type?(io(),co("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"auto"===e.data.sourceLanguage},key:"auto",onClick:t[2]||(t[2]=t=>e.handleLanguageSelect("auto"))}," 自动检测 ",2)):wo("v-if",!0)],512),[[jr,e.state.visible]])],512),[[jr,e.state.visible]]),Nn(mo("div",_f,[(io(!0),co(eo,null,Yo(e.data.data,((e,t)=>(io(),co("div",{class:"row",key:t},f(e),1)))),128))],512),[[jr,!e.state.visible]]),Nn(mo("div",kf,[mo("div",Sf,[mo("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[Tf,mo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),mo("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[Cf,mo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),mo("div",Of,[mo("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},f(e.getLanguage("auto"===e.data.sourceLanguage?e.data.detectedLanguage:e.data.sourceLanguage))+" "+f("auto"===e.data.sourceLanguage?"(自动检测)":""),1),Af,mo("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},f(e.getLanguage(e.data.targetLanguage)),1)])],512),[[jr,!e.state.visible]])],2)])),_:1})])})),Ef=Ye({data:[],inputText:"",sourceLanguage:"",detectedLanguage:"",targetLanguage:""});var If;const Mf=Di()(If=rs()(dc)).call(If,(([e,t])=>({id:e,name:t}))),zf={play_speaker_filled_audio_tool_59284:$u},Rf=Ho({name:"SougouTranslateContainer",components:{Scrollable:qu},setup:()=>{const e={visible:!1,type:"source"};return{state:e,data:Ef,languages:Mf,icon:zf,getLanguage:e=>dc[e]||e,handleLanguageSelect:t=>{vl.emit({type:il.TRANSLATE,word:Ef.inputText,param:{provider:ss.GOOGLE_TRANSLATE,param:{sl:"source"===e.type?t:Ef.sourceLanguage,tl:"target"===e.type?t:Ef.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{Xc.emit({type:Kc.PLAY_AUDIO,id:ss.SOUGOU_TRANSLATE,params:"source"===e?{word:Ef.inputText,tl:Ef.detectedLanguage}:{word:Ef.data.join(),tl:Ef.targetLanguage}})}}}});n(2154);Rf.render=Lf,Rf.__scopeId="data-v-694555b0";const Uf=Rf;var Nf=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&t.rotl(e,8)|4278255360&t.rotl(e,24);for(var n=0;n<e.length;n++)e[n]=t.endian(e[n]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(el()(e.substr(n,2),16));return t},bytesToBase64:function(t){for(var n=[],o=0;o<t.length;o+=3)for(var r=t[o]<<16|t[o+1]<<8|t[o+2],a=0;a<4;a++)8*o+6*a<=8*t.length?n.push(e.charAt(r>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],o=0,r=0;o<t.length;r=++o%4)0!=r&&n.push((Hi()(e).call(e,t.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|Hi()(e).call(e,t.charAt(o))>>>6-2*r);return n}};return t}(),Df={utf8:{stringToBytes:function(e){return Pf.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(Pf.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}},Pf=Df,Vf=function(e){return null!=e&&(Pf(e)||r(e)||!!e._isBuffer)},Gf=function(){var e=Nf,t=Df.utf8,n=Vf,o=Df.bin,r=function(a,i){a.constructor==String?a=i&&"binary"===i.encoding?o.stringToBytes(a):t.stringToBytes(a):n(a)?a=Fc()(Array.prototype).call(a,0):pl()(a)||(a=a.toString());for(var l=e.bytesToWords(a),s=8*a.length,c=1732584193,u=-271733879,d=-1732584194,p=271733878,f=0;f<l.length;f++)l[f]=16711935&(l[f]<<8|l[f]>>>24)|4278255360&(l[f]<<24|l[f]>>>8);l[s>>>5]|=128<<s%32,l[14+(s+64>>>9<<4)]=s;var v=r._ff,g=r._gg,m=r._hh,h=r._ii;for(f=0;f<l.length;f+=16){var b=c,y=u,x=d,w=p;c=v(c,u,d,p,l[f+0],7,-680876936),p=v(p,c,u,d,l[f+1],12,-389564586),d=v(d,p,c,u,l[f+2],17,606105819),u=v(u,d,p,c,l[f+3],22,-1044525330),c=v(c,u,d,p,l[f+4],7,-176418897),p=v(p,c,u,d,l[f+5],12,1200080426),d=v(d,p,c,u,l[f+6],17,-1473231341),u=v(u,d,p,c,l[f+7],22,-45705983),c=v(c,u,d,p,l[f+8],7,1770035416),p=v(p,c,u,d,l[f+9],12,-1958414417),d=v(d,p,c,u,l[f+10],17,-42063),u=v(u,d,p,c,l[f+11],22,-1990404162),c=v(c,u,d,p,l[f+12],7,1804603682),p=v(p,c,u,d,l[f+13],12,-40341101),d=v(d,p,c,u,l[f+14],17,-1502002290),c=g(c,u=v(u,d,p,c,l[f+15],22,1236535329),d,p,l[f+1],5,-165796510),p=g(p,c,u,d,l[f+6],9,-1069501632),d=g(d,p,c,u,l[f+11],14,643717713),u=g(u,d,p,c,l[f+0],20,-373897302),c=g(c,u,d,p,l[f+5],5,-701558691),p=g(p,c,u,d,l[f+10],9,38016083),d=g(d,p,c,u,l[f+15],14,-660478335),u=g(u,d,p,c,l[f+4],20,-405537848),c=g(c,u,d,p,l[f+9],5,568446438),p=g(p,c,u,d,l[f+14],9,-1019803690),d=g(d,p,c,u,l[f+3],14,-187363961),u=g(u,d,p,c,l[f+8],20,1163531501),c=g(c,u,d,p,l[f+13],5,-1444681467),p=g(p,c,u,d,l[f+2],9,-51403784),d=g(d,p,c,u,l[f+7],14,1735328473),c=m(c,u=g(u,d,p,c,l[f+12],20,-1926607734),d,p,l[f+5],4,-378558),p=m(p,c,u,d,l[f+8],11,-2022574463),d=m(d,p,c,u,l[f+11],16,1839030562),u=m(u,d,p,c,l[f+14],23,-35309556),c=m(c,u,d,p,l[f+1],4,-1530992060),p=m(p,c,u,d,l[f+4],11,1272893353),d=m(d,p,c,u,l[f+7],16,-155497632),u=m(u,d,p,c,l[f+10],23,-1094730640),c=m(c,u,d,p,l[f+13],4,681279174),p=m(p,c,u,d,l[f+0],11,-358537222),d=m(d,p,c,u,l[f+3],16,-722521979),u=m(u,d,p,c,l[f+6],23,76029189),c=m(c,u,d,p,l[f+9],4,-640364487),p=m(p,c,u,d,l[f+12],11,-421815835),d=m(d,p,c,u,l[f+15],16,530742520),c=h(c,u=m(u,d,p,c,l[f+2],23,-995338651),d,p,l[f+0],6,-198630844),p=h(p,c,u,d,l[f+7],10,1126891415),d=h(d,p,c,u,l[f+14],15,-1416354905),u=h(u,d,p,c,l[f+5],21,-57434055),c=h(c,u,d,p,l[f+12],6,1700485571),p=h(p,c,u,d,l[f+3],10,-1894986606),d=h(d,p,c,u,l[f+10],15,-1051523),u=h(u,d,p,c,l[f+1],21,-2054922799),c=h(c,u,d,p,l[f+8],6,1873313359),p=h(p,c,u,d,l[f+15],10,-30611744),d=h(d,p,c,u,l[f+6],15,-1560198380),u=h(u,d,p,c,l[f+13],21,1309151649),c=h(c,u,d,p,l[f+4],6,-145523070),p=h(p,c,u,d,l[f+11],10,-1120210379),d=h(d,p,c,u,l[f+2],15,718787259),u=h(u,d,p,c,l[f+9],21,-343485551),c=c+b>>>0,u=u+y>>>0,d=d+x>>>0,p=p+w>>>0}return e.endian([c,u,d,p])};return r._ff=function(e,t,n,o,r,a,i){var l=e+(t&n|~t&o)+(r>>>0)+i;return(l<<a|l>>>32-a)+t},r._gg=function(e,t,n,o,r,a,i){var l=e+(t&o|n&~o)+(r>>>0)+i;return(l<<a|l>>>32-a)+t},r._hh=function(e,t,n,o,r,a,i){var l=e+(t^n^o)+(r>>>0)+i;return(l<<a|l>>>32-a)+t},r._ii=function(e,t,n,o,r,a,i){var l=e+(n^(t|~o))+(r>>>0)+i;return(l<<a|l>>>32-a)+t},r._blocksize=16,r._digestsize=16,function(t,n){if(null==t)throw new Error("Illegal argument "+t);var a=e.wordsToBytes(r(t,n));return n&&n.asBytes?a:n&&n.asString?o.bytesToString(a):e.bytesToHex(a)}}();const jf=(e,t,n,o)=>Gf(""+n+o+e+t),Bf=async()=>{var e;const t=await Jl(ws.SOUGOU_SECCODE,"");if(!t)return"";let n=null;try{n=JSON.parse(t)}catch(e){return""}return(null===(e=n)||void 0===e?void 0:e.seccode)&&Zd()()-n.time<36e5?n.seccode.toString():""};"https://fanyi.sogou.com"===unsafeWindow.location.origin&&unsafeWindow.addEventListener("load",(()=>{try{const e=unsafeWindow.__INITIAL_STATE__.CONFIG.secretCode;Ql(ws.SOUGOU_SECCODE,Wl()({seccode:e,time:Zd()()}))}catch(e){}}));const Hf=async()=>{const e=await Bf();return e||(()=>{const e=document.createElement("iframe");return e.src="https://fanyi.sogou.com/",e.style.display="none",document.body.append(e),new(Xl())((e=>{const t=window.setInterval((async()=>{const n=await Bf();n&&(e(n.toString()),window.clearInterval(t))}),200)}))})()};let Ff="";const Yf=async(e,t)=>{try{const n=t?t.sl:"auto",o=t?t.tl:Vc.config[ss.SOUGOU_TRANSLATE].targetLanguage;Ff||(Ff=await Hf());const r=jf(e,Ff,n,o),a={from:n,to:o,text:e,client:"pc",fr:"browser_pc",pid:"sogou-dict-vr",dict:"true",word_group:"true",second_query:"true",uuid:mf(),needQc:"1",s:r},i=(await ts({method:"POST",headers:{Referer:"https://fanyi.sogou.com/","Cache-Control":"max-age=0","Content-Type":"application/x-www-form-urlencoded;charset=utf-8"},url:"https://fanyi.sogou.com/reventondc/translateV2",timeout:5e3,responseType:"json",data:(0,ud.stringify)(a).replace(/%20/g,"+")})).response;if(!(i&&i.data&&i.data.translate&&i.data.translate.dit))return ta({message:"翻译出错"});const l=i.data.detect.detect;if(l===o&&l===Vc.config[ss.SOUGOU_TRANSLATE].targetLanguage)return Yf(e,{sl:n,tl:Vc.config[ss.SOUGOU_TRANSLATE].secondTargetLanguage});const s=i.data.translate.dit.split("\n");return na((()=>{Ef.data=s,Ef.inputText=e,Ef.sourceLanguage=n,Ef.targetLanguage=o,Ef.detectedLanguage=l}))}catch(e){return ta({message:e.message})}};Xc.on(Kc.PLAY_AUDIO,(async e=>{if(e.id!==ss.SOUGOU_TRANSLATE)return;const t=e.params,n={text:t.word,speed:1,lang:t.tl,from:"translateweb"},o="https://fanyi.sogou.com/reventondc/synthesis?"+(0,ud.stringify)(n);if(Wc(o,.7))return;const r=await ts({method:"GET",headers:{Referer:"https://fanyi.sogou.com/",Accept:"*/*","Cache-Control":"no-cache",Pragma:"no-cache","upgrade-insecure-requests":"1"},responseType:"arraybuffer",url:o,timeout:5e3});Wc(o,r.response,.7)}));const qf={id:ss.SOUGOU_TRANSLATE,view:Uf,translate:Yf},$f=Zt("data-v-39582728");Kt("data-v-39582728");const Wf={class:"row flex-col"},Kf={class:"index font-bold"},Xf={class:"definition"},Zf={class:"text-12 text-grey-500 mt-1"},Jf={class:"flex mt-1 items-center text-12 text-grey-500"},Qf={class:"mr-2 pr-1 flex flex-none"},ev={class:"flex mr-2 flex-none"},tv={class:"truncate"},nv={key:1,class:"inner-content flex flex-center"};Xt();const ov=$f((function(e,t,n,o,r,a){const i=Kn("UKeyword"),l=Kn("i-icon"),s=Kn("scrollable");return io(),co("div",{class:"urban-dictionary-box flex-col relative text-grey-900",ref:e.refs.container},[mo(s,{class:"scroll-container"},{default:$f((({scrollBar:t})=>[mo("div",{class:["content-box flex-col flex-auto text-14 break-words",[t&&"py-10px pl-10px pr-14px",!t&&"p-10px"]]},[(io(!0),co(eo,null,Yo(e.list,((t,n)=>(io(),co(eo,{key:n},[mo("div",Wf,[mo("div",Kf,f(n+1)+". "+f(t.word),1),mo("div",Xf,[(io(!0),co(eo,null,Yo(e.extractDefinition(t.definition),((e,t)=>(io(),co(eo,null,[e.isTag?(io(),co(i,{content:e.text,class:"keyword definition-keyword",key:t},null,8,["content"])):wo("v-if",!0),e.isTag?wo("v-if",!0):(io(),co("span",{textContent:e.text,key:t},null,8,["textContent"]))],64)))),256))]),mo("div",Zf,[(io(!0),co(eo,null,Yo(e.extractDefinition(t.example),((e,t)=>(io(),co(eo,null,[e.isTag?(io(),co(i,{content:e.text,class:"keyword example-keyword",key:t},null,8,["content"])):wo("v-if",!0),e.isTag?wo("v-if",!0):(io(),co("span",{textContent:e.text,key:t},null,8,["textContent"]))],64)))),256))]),mo("div",Jf,[mo("div",Qf,[mo(l,{size:"14",class:"thumb-up thumb mr-1",svg:e.icon.like_179655},null,8,["svg"]),yo(" "+f(t.thumbs_up),1)]),mo("div",ev,[mo(l,{size:"14",color:"#E64C3D",class:"thumb thumb-down mr-1",svg:e.icon.like_179655},null,8,["svg"]),yo(" "+f(t.thumbs_down),1)]),mo("div",tv,f(e.getTime(t.written_on)),1)])]),n!==e.list.length-1?(io(),co("div",{class:"divider my-2 bg-grey-300",key:n+"-divider"})):wo("v-if",!0)],64)))),128))],2)])),_:1}),(io(!0),co(eo,null,Yo(e.state.tooltips,(t=>(io(),co("div",{class:"u-toolip absolute bg-white w-full",key:t.id,style:{top:t.top+"px",left:t.left+"px"}},[t.text?(io(),co("div",{key:0,class:"inner-content",innerHtml:t.text},null,8,["innerHtml"])):wo("v-if",!0),t.text?wo("v-if",!0):(io(),co("div",nv,[mo(l,{class:"loadin-spinner rotate",size:"24",color:"#79d",svg:e.icon.loading},null,8,["svg"])]))],4)))),128))],512)})),rv=Ye({data:null}),av={};var iv;!function(e){e[e.SHOW_TOOLTIP=0]="SHOW_TOOLTIP",e[e.HIDE_TOOLTIP=1]="HIDE_TOOLTIP"}(iv||(iv={}));const lv=new class{constructor(){this.id=0,this.bus=new fl}on(e,t){this.bus.on(String(e),t)}off(e,t){this.bus.off(String(e),t)}emit(e,t){this.bus.emit(String(e),t)}genId(){return this.id+=1,this.id}};const sv=Ho({name:"UrbanDictionaryKeyword",props:{content:{type:String,default:""}},setup:e=>{const t={span:et()},n=Ye({id:0,visible:!1,visibleTimeout:0});return cn((()=>{n.id=lv.genId()})),vn((()=>n.visible),(()=>{if(n.visible){if(t.span.value){const o=t.span.value.getBoundingClientRect();lv.emit(iv.SHOW_TOOLTIP,{top:o.bottom,left:o.right,id:n.id,text:e.content})}}else lv.emit(iv.HIDE_TOOLTIP,{id:n.id})})),{props:e,refs:t,handleClick:()=>{vl.emit({type:il.TRANSLATE,word:e.content,param:{provider:ss.URBAN_DICTIONARY}})},showTooltip:()=>{n.visibleTimeout&&window.clearTimeout(n.visibleTimeout),n.visibleTimeout=window.setTimeout((()=>{n.visible=!0}),200)},hideTooltip:()=>{window.clearTimeout(n.visibleTimeout),n.visibleTimeout=0,n.visible=!1}}}});sv.render=function(e,t,n,o,r,a){return io(),co("span",{class:"u-keyword relative",ref:e.refs.span,onClick:t[1]||(t[1]=(...t)=>e.handleClick(...t)),onMouseenter:t[2]||(t[2]=(...t)=>e.showTooltip(...t)),onMouseleave:t[3]||(t[3]=(...t)=>e.hideTooltip(...t))},f(e.props.content.trim()),545)};const cv={loading:'<svg class="icon" viewBox="0 0 1024 1024"\n  xmlns="http://www.w3.org/2000/svg" width="200" height="200">\n  <path fill="#000000" d="M512.511 21.483c-271.163 0-491.028 219.86-491.028 491.028 0 271.173 219.856 491.03 491.028 491.03 26.554 0 48.08-21.527 48.08-48.08 0-26.554-21.526-48.08-48.08-48.08-218.065 0-394.869-176.804-394.869-394.87 0-218.06 176.813-394.869 394.87-394.869 218.065 0 394.869 176.804 394.869 394.87 0 26.553 21.526 48.08 48.08 48.08 26.553 0 48.08-21.527 48.08-48.08 0-271.173-219.857-491.03-491.03-491.03z"/>\n</svg>\n',like_179655:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 485.027 485.027"><path fill="#3C92CA" d="M109.4 459.991H13c-2.1 0-3.9-1.8-3.9-3.9v-248.4c0-2.1 1.8-3.9 3.9-3.9h96.4c2.1 0 3.9 1.8 3.9 3.9v248.4c0 2.1-1.7 3.9-3.9 3.9z"/><path d="M284.6 20.391c-28.2-20.7-67.2-8.8-68.8-8.3-3.8 1.2-6.3 4.7-6.3 8.6v85.8c0 29.1-13.8 53.7-41.1 73.2-21.1 15.1-42.7 21.3-42.9 21.4-.2 0-.3.1-.5.2l-5.1 1.7c-3-4.9-8.3-8.2-14.5-8.2H16.9c-9.3 0-16.9 7.6-16.9 16.9v240.5c0 9.3 7.6 16.9 16.9 16.9h88.6c8 0 14.7-5.6 16.4-13 11.9 12.7 28.8 20.7 47.6 20.7h209.8c44.6 0 73.1-23.3 78.1-64l26.8-170.2c3.9-24.7-6.2-49.7-25.8-63.7-11.1-8-24.2-12.2-37.9-12.2H311.4v-79.6c0-31.2-9-53.6-26.8-66.7zm-180.4 430.5H18.1v-238h86.1v238zm316.3-266.1c9.9 0 19.3 3 27.3 8.8 14 10.1 21.3 28.2 18.4 46.2l-26.7 170.3v.3c-4.9 39.8-35.4 48.2-60.2 48.2H169.5c-26 0-47.1-21.1-47.1-47.1v-190.2l8.3-2.8c2.9-.8 25.2-7.6 47.8-23.7 32.1-22.8 49.1-53.3 49.1-88.2v-78.6c10.4-2 31.3-4 46.4 7.1 12.8 9.4 19.3 26.9 19.3 52v88.7c0 5 4.1 9.1 9.1 9.1h118.1v-.1z"/></svg>\n'},uv=Ho({name:"UrbanDictionaryContainer",components:{Scrollable:qu,UKeyword:sv},setup:()=>{const e={container:et()},t=Ye({tooltips:[]}),n=n=>{var o;if(!e.container.value)return;const r=e.container.value.getBoundingClientRect();if(Zr()(o=t.tooltips).call(o,(e=>e.id===n.id)))return;let a=av[n.text];if(!a){const e=ts({method:"GET",url:"https://api.urbandictionary.com/v0/tooltip?term="+encodeURIComponent(n.text),timeout:5e3,responseType:"json"}).then((e=>JSON.parse(e.responseText).string));a={data:e},av[n.text]=a}const i={id:n.id,text:"",top:n.top-r.top,left:n.left-r.left};a.data instanceof Xl()?a.data.then((e=>{a.data=e,i.text=e})).catch((()=>{delete av[n.text]})):i.text=a.data,t.tooltips.push(i)},o=e=>{var n;const o=Zr()(n=t.tooltips).call(n,(t=>t.id===e.id));var r,a;o&&ji()(r=t.tooltips).call(r,Hi()(a=t.tooltips).call(a,o),1)},r=Bo((()=>{var e,t;return null!==(e=null===(t=rv.data)||void 0===t?void 0:t.list)&&void 0!==e?e:[]}));return cn((()=>{lv.on(iv.SHOW_TOOLTIP,n),lv.on(iv.HIDE_TOOLTIP,o)})),pn((()=>{lv.off(iv.SHOW_TOOLTIP,n),lv.off(iv.HIDE_TOOLTIP,o)})),{state:t,list:r,refs:e,icon:cv,extractDefinition:e=>{const t=[],n=e.matchAll(/\[.+?\]/g);let o=0;for(const a of n){var r;a.index!==o&&t.push({text:e.substring(o,a.index),isTag:!1}),t.push({text:Fc()(r=a[0]).call(r,1,-1),isTag:!0}),o=a.index+a[0].length}return o!==e.length-1&&t.push({text:e.substring(o),isTag:!1}),t},getTime:e=>Fc()(e).call(e,0,Hi()(e).call(e,"T")),showTooltip:n,hideTooltip:o}}});n(7940);uv.render=ov,uv.__scopeId="data-v-39582728";const dv=uv;var pv=n(2366),fv=n.n(pv);const vv=e=>t=>t._tag===e,gv=vv("InterfaceType"),mv=vv("PartialType"),hv=e=>{var t;switch(e._tag){case"RefinementType":case"ReadonlyType":return hv(e.type);case"InterfaceType":case"StrictType":case"PartialType":return e.props;case"IntersectionType":return fv()(t=e.types).call(t,((e,t)=>Pl()(e,hv(t))),{})}},bv=e=>{var t;return Di()(t=Nl()(e)).call(t,(t=>`${t}: ${e[t].name}`)).join(", ")},yv=(e,t)=>{const n=cd()(e),o=cd()(t);return ul()(o).call(o,(e=>{const t=Hi()(n).call(n,e);-1!==t&&ji()(n).call(n,t,1)})),n.length?ta(n):na(e)},xv=(e,t=(e=>gv(e)?`{| ${bv(e.props)} |}`:mv(e)?`Partial<{| ${bv(e.props)} |}>`:`Excess<${e.name}>`)(e))=>{const n=hv(e);return new wv(t,(t=>ea(yv(t,n))&&e.is(t)),((t,o)=>sa(Ta.validate(t,o),(()=>sa(e.validate(t,o),(e=>ca(yv(e,n),(t=>Di()(t).call(t,(t=>({value:e[t],context:o,message:`excess key "${t}" found`})))))))))),(t=>e.encode(yv(t,n).right)),e)};class wv extends fa{constructor(e,t,n,o,r){super(e,t,n,o),this.type=r,this._tag="ExcessType"}}const _v=xv(Da({author:wa,current_vote:wa,defid:_a,definition:wa,example:wa,permalink:wa,sound_urls:Ma(wa),thumbs_down:_a,thumbs_up:_a,word:wa,written_on:wa})),kv=(xv(Da({list:Ma(_v)})),{id:ss.URBAN_DICTIONARY,view:dv,translate:async e=>{try{const t="https://api.urbandictionary.com/v0/define?"+(0,ud.stringify)({term:e}),n=await ts({method:"GET",url:t,timeout:5e3}),o=JSON.parse(n.responseText);return na((()=>{rv.data=ns(o)}))}catch(e){return ta({message:e.message})}}}),Sv=Zt("data-v-48a39bb0");Kt("data-v-48a39bb0");const Tv={class:"bing-translate-box flex-col relative text-grey-900"},Cv={class:"language-select-box select-none w-full"},Ov={class:"title-box flex justify-between"},Av={class:"items-box flex flex-wrap mt-1"},Lv={class:"translate-content mb-2px flex-col"},Ev={class:"bottom-info-box flex justify-between"},Iv={class:"tts-box flex"},Mv=yo(" 源 "),zv=yo(" 译 "),Rv={class:"language-info-box flex"},Uv=mo("div",{class:"px-1"}," -> ",-1);Xt();const Nv=Sv((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("Scrollable");return io(),co("div",Tv,[mo(l,{class:"scroll-container"},{default:Sv((({scrollBar:n})=>[mo("div",{class:["content-box flex-col flex-auto text-14 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[Nn(mo("div",Cv,[mo("div",Ov,[Nn(mo("div",null,"源语言",512),[[jr,"source"===e.state.type]]),Nn(mo("div",null,"翻译到",512),[[jr,"target"===e.state.type]]),mo("div",{class:"cancel-button text-center text-grey-600",onClick:t[1]||(t[1]=t=>e.state.visible=!1)},"取消")]),Nn(mo("div",Av,[(io(!0),co(eo,null,Yo(e.languages,(t=>(io(),co("div",{class:["language-item text-center text-grey-600 py-1px",{"active text-grey-800":"source"===e.state.type?t.id===e.containerData.sourceLanguage:t.id===e.containerData.targetLanguage}],key:t.id,onClick:n=>e.handleLanguageSelect(t.id)},f(t.name),11,["onClick"])))),128)),"source"===e.state.type?(io(),co("div",{class:{"language-item text-center text-grey-600":!0,"active text-grey-800":"auto-detect"===e.containerData.sourceLanguage},key:"auto",onClick:t[2]||(t[2]=t=>e.handleLanguageSelect("auto-detect"))}," 自动检测 ",2)):wo("v-if",!0)],512),[[jr,e.state.visible]])],512),[[jr,e.state.visible]]),Nn(mo("div",Lv,[(io(!0),co(eo,null,Yo(e.containerData.data,(e=>(io(),co("div",{class:"row",key:e},f(e),1)))),128))],512),[[jr,!e.state.visible]]),Nn(mo("div",Ev,[mo("div",Iv,[mo("div",{class:"play-sound flex flex-center",onClick:t[3]||(t[3]=t=>e.handlePlay("source"))},[Mv,mo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])]),mo("div",{class:"play-sound flex flex-center ml-2",onClick:t[4]||(t[4]=t=>e.handlePlay("target"))},[zv,mo(i,{class:"audio-icon",svg:e.icon.play_speaker_filled_audio_tool_59284},null,8,["svg"])])]),mo("div",Rv,[mo("div",{class:"language",onClick:t[5]||(t[5]=t=>e.showLanguageSelect("source"))},f(e.getLanguage(e.containerData.detectedLanguage))+" "+f("auto-detect"===e.containerData.sourceLanguage?"(自动检测)":""),1),Uv,mo("div",{class:"language",onClick:t[6]||(t[6]=t=>e.showLanguageSelect("target"))},f(e.getLanguage(e.containerData.targetLanguage)),1)])],512),[[jr,!e.state.visible]])],2)])),_:1})])})),Dv=Ye({data:[],inputText:"",sourceLanguage:"",targetLanguage:"",detectedLanguage:""});var Pv;const Vv=Di()(Pv=rs()(Sc)).call(Pv,(([e,t])=>({id:e,name:t}))),Gv={play_speaker_filled_audio_tool_59284:$u},jv=Ho({name:"BingTranslateContainer",components:{Scrollable:qu},setup:()=>{const e=Ye({visible:!1,type:"source"});return{state:e,containerData:Dv,languages:Vv,icon:Gv,getLanguage:e=>Sc[e]||e,handleLanguageSelect:t=>{vl.emit({type:il.TRANSLATE,word:Dv.inputText,param:{provider:ss.BING_TRANSLATE,param:{sl:"source"===e.type?t:Dv.sourceLanguage,tl:"target"===e.type?t:Dv.targetLanguage}}}),e.visible=!1},showLanguageSelect:t=>{e.type=t,e.visible=!0},handlePlay:e=>{Xc.emit({type:Kc.PLAY_AUDIO,id:ss.BING_TRANSLATE,params:"source"===e?{word:Dv.inputText,tl:Dv.detectedLanguage}:{word:Dv.data.join(" "),tl:Dv.targetLanguage}})}}}});n(7704);jv.render=Nv,jv.__scopeId="data-v-48a39bb0";const Bv=jv;let Hv=null;const Fv=()=>Hv||ts({method:"GET",url:"https://cn.bing.com/Translator"}).then((e=>{if(!e)throw new Error("网络错误!");const t=/data-iid="(.+?)"/.exec(e.responseText),n=/IG:"(.+?)"/.exec(e.responseText);if(!t||!n)throw new Error("获取 token 失败!");return Hv={iid:t[1],ig:n[1]},Hv})),Yv={ig:"",iid:"",token:{}},qv=(e,t)=>{if(Yv.ig===e&&Yv.iid===t)return Xl().resolve(Yv.token);const n=(0,ud.stringify)({isVertical:"1",IG:e,IID:t});return ts({method:"POST",url:"https://cn.bing.com/tfetspktok?"+n,responseType:"json"}).then((n=>(Yv.ig=e,Yv.iid=t,Yv.token=n.response,n.response)))},$v=Gc(),Wv=async(e,t)=>{const n=t?t.sl:"auto-detect",o=t?t.tl:Vc.config[ss.BING_TRANSLATE].targetLanguage,r=await Fv(),a=(0,ud.stringify)({text:e,fromLang:n,to:o}),i="https://cn.bing.com/ttranslatev3?"+(0,ud.stringify)({isVertical:"1",IG:r.ig,IID:`${r.iid}.${$v()}`}),l=(await ts({method:"POST",url:i,data:a,headers:{"content-type":"application/x-www-form-urlencoded",origin:"https://cn.bing.com",referer:"https://cn.bing.com/Translator"},responseType:"json"})).response[0],s=l.detectedLanguage.language;if(!t&&s===o&&s===Vc.config[ss.BING_TRANSLATE].targetLanguage)return Wv(e,{sl:n,tl:Vc.config[ss.BING_TRANSLATE].secondTargetLanguage});return{result:l.translations[0].text.split("\n"),sl:n,tl:o,dl:s}};Xc.on(Kc.PLAY_AUDIO,(async e=>{var t;if(e.id!==ss.BING_TRANSLATE)return;const n=e.params,o=Fc()(t=n.word).call(t,0,100),r="bing-translate-"+`${n.tl}-${o}`;if($i()(o).call(o,"]]>"))return;if(Wc(r,.7))return;const a=await Fv(),i=await qv(a.ig,a.iid),l=Tc[n.tl];if(!l)return;const[s,c,u]=l,d=`https://${i.region}.tts.speech.microsoft.com/cognitiveservices/v1`,p=`<speak version="1.0" xml:lang="${s}"><voice xml:lang="${s}" xml:gender="${c}" name="${u}"><prosody rate="-10.00%"><![CDATA[${o}]]></prosody></voice></speak>`,f=await ts({method:"POST",headers:{Authorization:"Bearer "+i.token,"X-MICROSOFT-OutputFormat":"audio-16khz-32kbitrate-mono-mp3","Cache-Control":"no-cache","Content-Type":"application/ssml+xml"},responseType:"arraybuffer",url:d,data:p,timeout:5e3});Wc(r,f.response,.7)}));const Kv={id:ss.BING_TRANSLATE,view:Bv,translate:async(e,t)=>{try{const n=await Wv(e,t);return na((()=>{Dv.data=n.result,Dv.inputText=e,Dv.detectedLanguage=n.dl,Dv.sourceLanguage=n.sl,Dv.targetLanguage=n.tl}))}catch(e){return ta({message:e.message})}}},Xv=Zt("data-v-679418f0");Kt("data-v-679418f0");const Zv={class:"flex-col relative text-grey-900"},Jv={class:"word flex items-center"},Qv={key:0,class:"short-def mt-1"},eg={key:1,class:"long-def mt-1 pt-2px text-13"},tg={class:"text-grey-500"},ng={class:"group-index mt-2px mr-1 flex-none text-grey-700 font-bold"},og={class:"group-item-box"};Xt();const rg=Xv((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("scrollable");return io(),co("div",Zv,[mo(l,{class:"scroll-container"},{default:Xv((({scrollBar:n})=>[e.data?(io(),co("div",{key:0,class:["main-box flex-col flex-auto text-14 text-grey-800 break-words",[n&&"py-10px pl-10px pr-14px",!n&&"p-10px"]]},[mo("div",Jv,[mo("a",{class:"text-15 no-underline text-link",href:"https://www.vocabulary.com/dictionary/"+e.data.word,target:"_blank",rel:"noopener"},f(e.data.word),9,["href"]),e.data.definition.audio?(io(),co("div",{key:0,class:"play-sound flex flex-center mt-2px ml-1",onClick:t[1]||(t[1]=t=>e.handlePlay(e.data.definition.audio))},[mo(i,{svg:e.icon.play},null,8,["svg"])])):wo("v-if",!0)]),e.data.definition.short?(io(),co("div",Qv,f(e.data.definition.short),1)):wo("v-if",!0),e.data.definition.long?(io(),co("div",eg,[mo("span",tg,f(e.data.definition.long),1)])):wo("v-if",!0),(io(!0),co(eo,null,Yo(e.data.definition.groups,(e=>(io(),co("div",{class:"group-item mt-1 flex text-13",key:e.index},[mo("div",ng,f(e.index+1)+". ",1),mo("div",og,[(io(!0),co(eo,null,Yo(e.group,((e,t)=>(io(),co("div",{class:"group-def-item flex mt-2px",key:t},[mo("div",{class:["group-type px-1 mr-1 self-start flex-none",{"text-blue-500":"adv"===e.type,"text-orange-400":"adj"===e.type,"text-green-600":"v"===e.type,"text-red-400":"n"===e.type}]},f(e.type)+".  ",3),mo("div",null,f(e.definition),1)])))),128))])])))),128))],2)):wo("v-if",!0)])),_:1})])})),ag=Ye({data:null}),ig=Ho({name:"VocabularyContainer",components:{Scrollable:qu},setup:()=>{const e=Bo((()=>ag.data));return{icon:{play:$u},data:e,handlePlay:e=>{e&&Xc.emit({type:Kc.PLAY_AUDIO,id:ss.VOCABULARY,params:{key:e}})}}}});n(5339);ig.render=rg,ig.__scopeId="data-v-679418f0";const lg=ig,sg=e=>{if(!e)throw new Error;return e};Xc.on(Kc.PLAY_AUDIO,(async e=>{if(e.id!==ss.VOCABULARY)return;const t=e.params.key;if(!t)return;const n=`https://audio.vocab.com/1.0/us/${t}.mp3`;if(Wc(n,.65))return;const o=await ts({method:"GET",headers:{Referer:"https://www.vocabulary.com"},responseType:"arraybuffer",url:n,timeout:5e3});Wc(n,o.response,.65)}));const cg={id:ss.VOCABULARY,view:lg,translate:async(e,t)=>{try{const t=await(async e=>{var t;const n=(await ts({method:"GET",url:"https://www.vocabulary.com/dictionary/autocomplete?search="+encodeURIComponent(e),headers:{Accept:"*/*",Host:"www.vocabulary.com"}})).responseText,o=document.createElement("div");return o.innerHTML=n,Di()(t=Mp()(o.querySelectorAll(".suggestions > li"))).call(t,(e=>{var t,n,o,r;return{lang:null!==(t=e.getAttribute("lang"))&&void 0!==t?t:"",synsetid:null!==(n=e.getAttribute("synsetid"))&&void 0!==n?n:"",word:null!==(o=e.getAttribute("word"))&&void 0!==o?o:"",freq:null!==(r=e.getAttribute("freq"))&&void 0!==r?r:""}}))})(e),n=Fl()(t).call(t,(t=>t.word===e))?e:t[0].word,o=await(async e=>{var t,n,o,r,a,i,l;const s=(await ts({method:"GET",url:`https://www.vocabulary.com/dictionary/definition.ajax?search=${encodeURIComponent(e)}&lang=en`,headers:{Accept:"*/*",Host:"www.vocabulary.com"}})).responseText,c=document.createElement("div");return c.innerHTML=s,{short:null!==(t=null===(n=c.querySelector(".definitionsContainer .section.blurb .short"))||void 0===n||null===(o=n.textContent)||void 0===o?void 0:sl()(o).call(o))&&void 0!==t?t:void 0,long:null!==(r=null===(a=c.querySelector(".definitionsContainer .section.blurb .long"))||void 0===a||null===(i=a.textContent)||void 0===i?void 0:sl()(i).call(i))&&void 0!==r?r:void 0,audio:sg(c.querySelector(".dynamictext .audio")).getAttribute("data-audio"),groups:Di()(l=Mp()(c.querySelectorAll(".definitions .section.definition .group"))).call(l,((e,t)=>{var n,o;return{index:t,group:Di()(n=Mp()(e.querySelectorAll(".ordinal .sense"))).call(n,(e=>{var t,n;return{type:sg(e.querySelector(".anchor")).textContent,definition:sl()(t=null!==(n=sg(sg(e.querySelector(".anchor")).nextSibling).textContent)&&void 0!==n?n:"").call(t)}})),family:JSON.parse(null!==(o=sg(c.querySelector(".section.family vcom\\:wordfamily")).getAttribute("data"))&&void 0!==o?o:"")}}))}})(n);return na((()=>{ag.data=ns({word:n,autocomplete:t,definition:o})}))}catch(e){return ta({message:e.message})}}},ug=xv(Da({word:wa,time:_a,provider:$a(ss,"PROVIDER")}));function dg(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function pg(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=dg(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=dg(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const fg=Ye({list:[]}),vg=async()=>{fg.list.length=Math.min(fg.list.length,100),await Ql(ws.HISTORY,Wl()(fg.list))},gg=async()=>{const e=await Jl(ws.HISTORY,"");try{const t=JSON.parse(e);if(!pl()(t))throw new Error;fg.list=fv()(t).call(t,((e,t)=>{const n=ug.decode(t);return ea(n)&&e.push(n.right),e}),[]),fg.list.length=Math.min(fg.list.length,100)}catch(e){await vg()}},mg={state:fg,loadHistory:gg,clearHistory:async()=>{fg.list=[],await vg()},addItem:async e=>{var t;await gg();const n=Zd()(),o=Zr()(t=fg.list).call(t,(t=>t.word===e.word&&n-t.time<6e5));var r,a;o&&ji()(r=fg.list).call(r,Hi()(a=fg.list).call(a,o),1);const i=fg.list[0];i&&i.word===e.word&&fg.list.shift(),fg.list.unshift(pg(pg({},e),{},{time:n})),await vg()}},hg=[ld,$d,Ep,lf,qf,kv,Kv,cg],bg=Ye({loading:!1,activeTask:null,activeProviderId:null,lastUsedProvider:ss.ICIBA,errorMessage:""}),yg=Gc(0),xg=async e=>{var t,n,o,r,a;const i=e.param,l=null!==(t=null!==(n=i&&Zr()(hg).call(hg,(e=>e.id===i.provider)))&&void 0!==n?n:Zr()(hg).call(hg,(e=>e.id===Vc.config.core.defaultProvider)))&&void 0!==t?t:hg[0],s=null!==(o=null==i?void 0:i.param)&&void 0!==o?o:null,c=sl()(r=e.word).call(r);if(!c)return void(bg.errorMessage="查询不能为空!");bg.activeProviderId=null;const u={word:c,provider:l.id,id:yg()};if(bg.activeTask&&bg.activeTask.word===u.word&&bg.activeTask.provider===u.provider)return;bg.activeTask=u,bg.loading=!0,bg.errorMessage="";const d=await l.translate(c,s);(null===(a=bg.activeTask)||void 0===a?void 0:a.id)===u.id&&(Qr(d)&&(d.left.message&&(bg.errorMessage=`${l.id}: ${d.left.message}`,bg.loading=!1),d.left.redirect)?await xg({type:il.TRANSLATE,word:c,param:{provider:d.left.redirect,param:d.left.redirectParams}}):ea(d)&&(bg.activeProviderId=l.id,d.right(),mg.addItem({word:u.word,provider:u.provider}),bg.loading=!1,bg.activeTask=null))},wg={state:bg,providers:hg,activeProvider:Bo((()=>{var e;return null!==(e=Zr()(hg).call(hg,(e=>e.id===bg.activeProviderId)))&&void 0!==e?e:null})),translate:xg,clearActiveProvider:()=>{bg.activeProviderId=null,bg.errorMessage=""},removeSelection:()=>{const e=window.getSelection();e&&e.removeAllRanges()}};var _g;!function(e){e.GENERAL="GENERAL",e.GOOGLE_DICT_MODAL="GOOGLE_DICT_MODAL"}(_g||(_g={}));const kg=(()=>{let e=2147383647;const t=new(Bc());return{gen:n=>{e+=1;const o=e;return t.set(n,o),o},get:e=>{var n;return null!==(n=t.get(e))&&void 0!==n?n:0},isTop:t=>t===e}})(),Sg=e=>{const t="string"==typeof e?e:e.id,n=Vc.config[t].icon;return Ms[t][n]},Tg=(e,t)=>{let n=e;if(!n||!t)return!1;for(;n&&n!==t;)n=n.parentNode;return n===t},Cg=e=>{const t=window.getComputedStyle(document.body);let n=0,o=0;return"static"!==t.position&&(t.marginLeft&&"0px"!==t.marginLeft&&(n=Number(t.marginLeft.replace("px",""))),t.marginTop&&"0px"!==t.marginTop&&(o=Number(t.marginTop.replace("px","")))),{top:e.pageY-o,left:e.pageX-n}},Og=Ho({setup:()=>{let e=0;const t=Ye({dots:3});return cn((()=>{e=window.setInterval((()=>{t.dots=t.dots>10?3:t.dots+1}),300)})),pn((()=>{window.clearInterval(e)})),()=>mo("div",null,[yo("加载中"),Ki()(".").call(".",t.dots)])}}),Ag=Ye({icibaMain:!1,setting:!1,history:!1,googleDictModal:!1}),Lg=Nl()(Ag);ul()(Lg).call(Lg,(e=>{vn((()=>Ag[e]),(()=>{"icibaMain"!==e&&Ag[e]&&(e=>{ul()(Lg).call(Lg,(t=>{e!==t&&(Ag[t]=!1)}))})(e)}))}));const Eg={state:Ag,openIcibaMain:()=>{Ag.icibaMain=!0},closeIcibaMain:()=>{Ag.icibaMain=!1},openSettings:()=>{Ag.setting=!0},closeSettings:()=>{Ag.setting=!1},openHistory:()=>{Ag.history=!0},closeHistory:()=>{Ag.history=!1},openGoogleDictModal:()=>{Ag.googleDictModal=!0},closeGoogleDictModal:()=>{Ag.googleDictModal=!1}};function Ig(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Mg(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Ig(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Ig(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const zg=Ho({name:"IcibaMain",components:{LoadingText:Og},props:{getIcibaCircle:{type:null,required:!0}},setup:n=>{const o={icibaMainWrap:et(),icibaMain:et(),icibaSearchInput:et(),sizeHelper:et()},r=Ye({inputFocused:!1,inputText:"",stickBoxVisible:!1,drag:{dragging:!1,ignoreCtrl:!1,startPoint:{x:0,y:0},startTransform:{x:0,y:0}},mainStyle:{top:"auto",bottom:"auto",left:"auto",right:"auto"},wrapperStyle:{top:"auto",bottom:"auto",left:"auto",right:"auto",translateX:0,translateY:0,zIndex:0}}),a=(e=!1)=>{wt((()=>{const t=o.icibaSearchInput.value;if(t){const n=r.inputText.length;t.focus(),t.selectionStart=e?0:n,t.selectionEnd=n}}))},i=e=>{if(!o.sizeHelper.value)return;const t=o.sizeHelper.value.getBoundingClientRect(),n=t.left-e.clientX,a=t.top-e.clientY;r.mainStyle=Mg({top:"auto",bottom:"auto",left:"auto",right:"auto"},Mg(Mg({},n<Vc.config.core.icibaMainWidth?{right:"0"}:{left:"0"}),a<250?{bottom:"0"}:{top:"0"}));const i=Cg(e);r.wrapperStyle={top:i.top+"px",left:i.left+"px",bottom:"auto",right:"auto",translateX:0,translateY:0,zIndex:kg.gen(_g.GENERAL)}},l=(e,t)=>{if(!Eg.state.icibaMain)return i(e),Eg.openIcibaMain(),void(t&&a());const n=o.icibaMain.value;if(n){const t=n.getBoundingClientRect();(t.bottom<0||t.top>window.innerHeight)&&i(e)}},s={onTranslate:e=>{e.mouseEvent&&l(e.mouseEvent,Vc.config.core.icibaMainInputAutoFocus),r.inputText=e.word,wg.translate(e)},onHotKeyShowUp:e=>{var t;i(e.mouseEvent),r.inputText=null!==(t=e.word)&&void 0!==t?t:"",wg.clearActiveProvider(),l(e.mouseEvent,Vc.config.core.hotkeyIcibaMainInputAutoFocus)},onHotkeyTranslate:e=>{if(!Eg.state.icibaMain){if(!e.word)return;l(e.mouseEvent,Vc.config.core.providerHotkeyAutoFocus)}r.inputText=e.word||r.inputText,wg.translate({type:il.TRANSLATE,word:r.inputText,mouseEvent:e.mouseEvent,param:{provider:e.provider}}),Vc.config.core.providerHotkeyAutoFocus&&a()},onGoogleDictModalOpen:()=>{Eg.closeIcibaMain()},onWindowClick:t=>{t.target===e||Vc.config.core.showPin&&Vc.config.core.pinned||Eg.closeIcibaMain()},onShadowRootClick:e=>{if(!o.icibaMainWrap.value)return;const t=[Tg(e.target,o.icibaMainWrap.value),Tg(e.target,n.getIcibaCircle().$el),Vc.config.core.showPin&&Vc.config.core.pinned];Fl()(t).call(t,(e=>e))||Eg.closeIcibaMain()}},c={handleOpenSetting:()=>{Eg.openSettings()},handleOpenHistory:()=>{Eg.openHistory()},handleTranslateWithProvider:e=>{wg.translate({type:il.TRANSLATE,word:r.inputText,param:{provider:e}})},handleInputEnter:()=>{wg.translate({type:il.TRANSLATE,word:r.inputText,param:{provider:wg.state.lastUsedProvider}})}},u={handleTogglePinned:()=>{Vc.config.core.pinned=!Vc.config.core.pinned},handlePinDragStart:e=>{e.preventDefault(),wg.removeSelection(),r.drag={dragging:!0,ignoreCtrl:!0,startPoint:{x:e.screenX,y:e.screenY},startTransform:{x:r.wrapperStyle.translateX,y:r.wrapperStyle.translateY}}},handleDragStart:e=>{if(!o.icibaMainWrap.value)return;const t=e;r.drag.ignoreCtrl=!1,Tg(t.target,o.icibaMainWrap.value)&&t.ctrlKey&&Vc.config.core.pressCtrlToDrag&&(wg.removeSelection(),t.preventDefault(),r.drag={dragging:!0,ignoreCtrl:!1,startPoint:{x:t.screenX,y:t.screenY},startTransform:{x:r.wrapperStyle.translateX,y:r.wrapperStyle.translateY}})},handleDragMove:e=>{const t=e;if(!r.drag.dragging||!r.drag.ignoreCtrl&&!t.ctrlKey)return;const n=t.screenX-r.drag.startPoint.x,o=t.screenY-r.drag.startPoint.y;r.wrapperStyle.translateX=r.drag.startTransform.x+n,r.wrapperStyle.translateY=r.drag.startTransform.y+o},handleDragEnd:()=>{r.drag.dragging=!1}},d=Bo((()=>{const e=r.wrapperStyle,{translateX:t,translateY:n}=e;return Mg(Mg({},Bl(e,["translateX","translateY"])),{},{transform:`translate(${r.wrapperStyle.translateX}px, ${r.wrapperStyle.translateY}px)`})})),p=Bo((()=>Mg(Mg({},r.mainStyle),{},{width:Vc.config.core.icibaMainWidth+"px"}))),f=Bo((()=>{var e,t;return Vi()(e=Di()(t=Vc.config.core.providerOrder).call(t,(e=>{var t;return Zr()(t=wg.providers).call(t,(t=>t.id===e))}))).call(e,(e=>Vc.config[e.id].display))})),v=Bo((()=>Eg.state.icibaMain));return vn((()=>d.value),(e=>{o.icibaMainWrap.value&&Pl()(o.icibaMainWrap.value.style,e)}),{deep:!0,immediate:!0}),cn((()=>{window.addEventListener("mousedown",s.onWindowClick,!0),window.addEventListener("mousemove",u.handleDragMove,!0),window.addEventListener("mouseup",u.handleDragEnd,!0),t.addEventListener("mousedown",u.handleDragStart,!0),t.addEventListener("mousedown",s.onShadowRootClick,!1),t.addEventListener("keyup",u.handleDragEnd,!0),vl.on({event:il.TRANSLATE,listener:s.onTranslate}),vl.on({event:il.OPEN_GOOGLE_DICT_MODAL,listener:s.onGoogleDictModalOpen}),vl.on({event:il.HOTKEY_SHOW,listener:s.onHotKeyShowUp}),vl.on({event:il.HOTKEY_TRANSLATE,listener:s.onHotkeyTranslate})})),{icon:{settingsIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54 54" width="512" height="512"><path d="M51.22 21h-5.052c-.812 0-1.481-.447-1.792-1.197s-.153-1.54.42-2.114l3.572-3.571c.525-.525.814-1.224.814-1.966 0-.743-.289-1.441-.814-1.967l-4.553-4.553c-1.05-1.05-2.881-1.052-3.933 0l-3.571 3.571c-.475.475-.997.574-1.352.574-.5 0-.997-.196-1.364-.539-.271-.254-.595-.704-.595-1.406V2.78C33 1.247 31.753 0 30.22 0h-6.44C22.247 0 21 1.247 21 2.78v5.052c0 1.218-.997 1.945-1.961 1.945-.354 0-.876-.1-1.351-.574l-3.571-3.571c-1.052-1.052-2.883-1.05-3.933 0l-4.553 4.553c-.525.525-.814 1.224-.814 1.967 0 .742.289 1.44.814 1.966l3.572 3.571c.573.574.73 1.364.42 2.114S8.644 21 7.832 21H2.78C1.247 21 0 22.247 0 23.78v6.438C0 31.752 1.247 33 2.78 33h5.052c.812 0 1.481.447 1.792 1.197s.153 1.54-.42 2.114l-3.572 3.571c-.525.525-.814 1.224-.814 1.966 0 .743.289 1.441.814 1.967l4.553 4.553c1.051 1.051 2.881 1.053 3.933 0l3.571-3.571c.475-.475.997-.574 1.352-.574.963 0 1.96.728 1.96 1.945v5.051C21 52.752 22.247 54 23.78 54h6.439c1.533 0 2.78-1.248 2.78-2.781v-5.051c0-1.218.997-1.945 1.96-1.945.354 0 .877.1 1.352.574l3.571 3.571c1.052 1.052 2.883 1.05 3.933 0l4.553-4.553c.525-.525.814-1.224.814-1.967 0-.742-.289-1.44-.814-1.966l-3.572-3.571c-.573-.574-.73-1.364-.42-2.114S45.356 33 46.168 33h5.052c1.533 0 2.78-1.248 2.78-2.781V23.78c0-1.533-1.247-2.78-2.78-2.78zM34 27c0 3.859-3.141 7-7 7s-7-3.141-7-7 3.141-7 7-7 7 3.141 7 7z" fill="#AAA"/></svg>\n',dragIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#aaa" d="M491.318 235.318H20.682C9.26 235.318 0 244.577 0 256s9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.259 20.682-20.682 0-11.422-9.259-20.682-20.682-20.682zM491.318 78.439H20.682C9.26 78.439 0 87.699 0 99.121c0 11.422 9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.26 20.682-20.682 0-11.422-9.259-20.682-20.682-20.682zM491.318 392.197H20.682C9.26 392.197 0 401.456 0 412.879s9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.259 20.682-20.682s-9.259-20.682-20.682-20.682z"/></svg>\n',pinIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 475.085 475.085" width="475.085" height="475.085"><path fill="#aaa" d="M379.577 247.395c-14.944-18.75-31.833-28.12-50.679-28.12V73.092c9.896 0 18.47-3.616 25.693-10.848 7.238-7.233 10.858-15.802 10.858-25.697 0-9.9-3.62-18.464-10.858-25.697C347.368 3.617 338.795 0 328.898 0H146.179c-9.9 0-18.464 3.617-25.697 10.85-7.234 7.233-10.85 15.796-10.85 25.697 0 9.899 3.616 18.464 10.85 25.697 7.233 7.232 15.8 10.848 25.697 10.848v146.179c-18.844 0-35.734 9.374-50.677 28.123-14.941 18.75-22.414 39.824-22.414 63.242 0 4.948 1.809 9.232 5.426 12.847 3.619 3.613 7.901 5.421 12.85 5.421h115.344l21.698 138.474c.95 5.141 3.996 7.707 9.135 7.707h.291c2.274 0 4.235-.808 5.851-2.423 1.615-1.619 2.614-3.572 2.994-5.855l14.558-137.902h122.482c4.948 0 9.236-1.808 12.847-5.421 3.621-3.614 5.432-7.898 5.432-12.847.003-23.415-7.477-44.492-22.419-63.242zM210.132 210.14c0 2.662-.855 4.849-2.57 6.565-1.713 1.714-3.903 2.57-6.567 2.57-2.662 0-4.853-.855-6.567-2.57-1.713-1.713-2.568-3.903-2.568-6.565V82.233c0-2.664.855-4.858 2.568-6.567 1.714-1.711 3.905-2.568 6.567-2.568 2.664 0 4.854.854 6.567 2.568 1.714 1.712 2.57 3.903 2.57 6.567V210.14z"/></svg>\n',historyIcon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n  <path fill="#000000" d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path>\n</svg>\n'},state:r,visible:v,refs:o,store:Vc,mainStyle:p,translateLoading:Bo((()=>wg.state.loading)),activeProvider:wg.activeProvider,showButtonProviders:f,errorMessage:Bo((()=>wg.state.errorMessage)),m:Mg({getIcon:Sg,pinDrag:u},c)}}});n(7870);zg.render=Sl,zg.__scopeId="data-v-b07dfcf8";const Rg=zg,Ug=Zt("data-v-b769a32c"),Ng=Ug((function(e,t,n,o,r,a){const i=Kn("i-icon");return io(),co(fr,{name:"c"},{default:Ug((()=>[Nn(mo("div",{class:["iciba-circle absolute select-none overflow-hidden flex flex-center",{"has-icon":!!e.iconUrl,[e.iconType]:!0}],ref:e.refs.circle,style:e.computedStyle,onContextmenu:t[1]||(t[1]=Pr((()=>{}),["prevent"])),onMouseover:t[2]||(t[2]=(...t)=>e.m.handleSelfMouseover(...t)),onMouseup:t[3]||(t[3]=(...t)=>e.m.handleSelfMouseUp(...t))},[e.iconUrl?(io(),co(i,{key:0,class:"flex-1",size:!1,svg:e.iconUrl},null,8,["svg"])):wo("v-if",!0)],38),[[jr,e.state.visible]])])),_:1})}));function Dg(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}function Pg(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=Dg(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=Dg(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}const Vg=Ho({setup:()=>{const n={circle:et()},o=Ye({visible:!1,word:"",currentWord:"",zIndex:0,style:{top:"0",left:"0",bottom:"auto",right:"auto"}}),r=async(t,r=!1)=>{if(!r&&t.target===e)return;if(r&&t.target===n.circle.value)return;const a=()=>{o.visible=!1};await new(Xl())((e=>requestAnimationFrame(e)));const i=(()=>{var e;const t=window.getSelection();return t&&String(t)?sl()(e=t.toString()).call(e):""})();if(o.currentWord=i,!i)return void a();const l=Vc.config;if(l.core.pressCtrlToShowCircle&&!t.ctrlKey)return void a();if(l.core.selectionMaxLengthCut&&i.length>l.core.selectionMaxLength)return void a();const s=l.core.useHotkeyShowUp&&!!l.core.showUpHotkey.length,c=Fl()(ds).call(ds,(e=>l[e].enableHotkey&&l[e].hotkey.length)),u=s||c;if(l.core.useIcibaCircle||!u){if(l.core.icibaCircleNoCJK){var d;if(Fl()(d=Mp()(i)).call(d,(e=>e.charCodeAt(0)>669)))return void a()}((e,t)=>{o.visible=!0,o.word=t,o.zIndex=kg.gen(_g.GENERAL);const n=Cg(e);o.style={top:n.top+Vc.config.core.icibaCircleOffsetY+"px",left:n.left+Vc.config.core.icibaCircleOffsetX+"px"}})(t,i)}},a=e=>{r(e,!0)},i=Bo((()=>Pg(Pg({},o.style),{},{zIndex:o.zIndex,width:Vc.config.core.icibaCircleSize+"px",height:Vc.config.core.icibaCircleSize+"px"}))),l=Bo((()=>ys[Vc.config.core.icibaCircleIcon])),s=Bo((()=>xs[Vc.config.core.icibaCircleIcon]));return cn((()=>{window.addEventListener("mouseup",r,!0),t.addEventListener("mouseup",a,!0)})),{state:o,refs:n,iconUrl:l,iconType:s,computedStyle:i,m:{handleSelfMouseover:e=>{Vc.config.core.mouseOverTranslate&&(o.visible=!1,vl.emit({type:il.TRANSLATE,mouseEvent:e,word:o.word,param:{provider:Vc.config.core.defaultProvider}}))},handleSelfMouseUp:e=>{Za()((()=>{o.visible=!1;let t=ss.ICIBA;0===e.button?t=Vc.config.core.defaultProvider:2===e.button&&Vc.config.core.icibaCircleRightClick&&(t=Vc.config.core.icibaCircleRightClickProvider),vl.emit({type:il.TRANSLATE,mouseEvent:e,word:o.word,param:{provider:t}}),wg.removeSelection()}))}}}}});n(7584);Vg.render=Ng,Vg.__scopeId="data-v-b769a32c";const Gg=Vg,jg=Zt("data-v-26ec9275");Kt("data-v-26ec9275");const Bg={class:"setting-window relative flex bg-white shadow-8 ease-in-out duration-300 overflow-hidden"},Hg={class:"bg-indigo-500 flex-none items-center"},Fg=yo("设置"),Yg=yo("core"),qg=yo("热键"),$g=yo("iciba"),Wg=yo("google 字典"),Kg=yo("google 翻译"),Xg=yo("百度翻译"),Zg=yo("搜狗翻译"),Jg=yo("urban"),Qg=mo("br",null,null,-1),em=yo("dictionary"),tm=yo("bing 翻译"),nm=yo("Vocabulary");Xt();const om=jg((function(e,t,n,o,r,a){const i=Kn("i-tab"),l=Kn("i-tabs"),s=Kn("about"),c=Kn("i-tab-item"),u=Kn("core-setting"),d=Kn("hot-key"),p=Kn("iciba"),f=Kn("google-dict"),v=Kn("google-translate"),g=Kn("baidu-translate"),m=Kn("sougou-translate"),h=Kn("urban-dictionary"),b=Kn("bing-translate"),y=Kn("vocabulary"),x=Kn("i-tabs-items"),w=Kn("modal-component"),_=Zn("no-overscroll");return io(),co(w,{open:e.visible,onClose:e.handleCloseSetting},{default:jg((()=>[mo("div",Bg,[mo("div",Hg,[mo(l,{modelValue:e.state.tab,"onUpdate:modelValue":t[1]||(t[1]=t=>e.state.tab=t),dark:"","slider-color":"rgba(255,255,255,0.8)"},{default:jg((()=>[mo(i,null,{default:jg((()=>[Fg])),_:1}),mo(i,null,{default:jg((()=>[Yg])),_:1}),mo(i,null,{default:jg((()=>[qg])),_:1}),mo(i,null,{default:jg((()=>[$g])),_:1}),mo(i,null,{default:jg((()=>[Wg])),_:1}),mo(i,null,{default:jg((()=>[Kg])),_:1}),mo(i,null,{default:jg((()=>[Xg])),_:1}),mo(i,null,{default:jg((()=>[Zg])),_:1}),mo(i,null,{default:jg((()=>[Jg,Qg,em])),_:1}),mo(i,null,{default:jg((()=>[tm])),_:1}),mo(i,null,{default:jg((()=>[nm])),_:1})])),_:1},8,["modelValue"])]),Nn(mo(x,{class:"tabs-box flex-auto overflow-auto",modelValue:e.state.tab,"onUpdate:modelValue":t[2]||(t[2]=t=>e.state.tab=t)},{default:jg((()=>[mo(c,{class:"p-4"},{default:jg((()=>[mo(s)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(u)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(d)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(p)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(f)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(v)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(g)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(m)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(h)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(b)])),_:1}),mo(c,{class:"p-4"},{default:jg((()=>[mo(y)])),_:1})])),_:1},8,["modelValue"]),[[_]])])])),_:1},8,["open","onClose"])}));function rm(e,t){var n=Nl()(e);if(Rl()){var o=Rl()(e);t&&(o=Vi()(o).call(o,(function(t){return Ml()(e,t).enumerable}))),n.push.apply(n,o)}return n}const am=Ho({name:"Tabs",props:{modelValue:{type:Number,required:!0},sliderColor:{type:String,default:""}},setup:(e,t)=>{const n=Ye([]),o=Ye({slider:{top:0,height:0},hasArrowButton:!1}),r=Bo({get:()=>e.modelValue,set:e=>t.emit("update:modelValue",e)}),a=Bo((()=>function(e){for(var t=1;t<arguments.length;t++){var n,o=null!=arguments[t]?arguments[t]:{};if(t%2)ul()(n=rm(Object(o),!0)).call(n,(function(t){ql(e,t,o[t])}));else if(El())Al()(e,El()(o));else{var r;ul()(r=rm(Object(o))).call(r,(function(t){Cl()(e,t,Ml()(o,t))}))}}return e}({top:o.slider.top+"px",height:o.slider.height+"px"},e.sliderColor?{color:e.sliderColor}:{})));return cn((()=>{vn((()=>e.modelValue),(()=>{(()=>{var e,t;const a=n[r.value].getBoundingClientRect().height,i=fv()(e=Di()(t=Vi()(n).call(n,((e,t)=>t<r.value))).call(t,(e=>e.getBoundingClientRect().height))).call(e,((e,t)=>e+t),0);o.slider={top:i,height:a}})()}),{immediate:!0})})),()=>{var e,o,i,l;return mo("div",{class:"i-tabs flex-col flex-wrap relative items-stretch"},[mo("div",{class:"slider absolute ease-in-out duration-300",style:a.value},null),Di()(e=null!==(o=null===(i=(l=t.slots).default)||void 0===i?void 0:i.call(l))&&void 0!==o?o:[]).call(e,((e,t)=>Nn(mo("div",{ref:e=>{e&&(n[t]=e)},class:{"tab flex flex-center text-14":!0,active:r.value===t},onClick:()=>{r.value=t},key:t},[e]),[[Zn("ripple"),{class:r.value===t?"active-ripple":"inactive-ripple"}]])))])}}});n(1810);const im=am,lm={class:"i-tab__div text-center"};const sm={render:function(e,t,n,o,r,a){return io(),co("div",lm,[Yt(e.$slots,"default")])}},cm=sm;var um=n(4494),dm=n.n(um);const pm=Ho({props:{modelValue:{type:Number,required:!0},windowClass:{type:String}},setup:(e,t)=>{const n={windows:Ye([]),windowContainer:et(),container:et()},o=Ye({beforeValue:0,height:0,animating:!1,animatingTimeout:0,windowState:[],scrollTopInterupt:null}),r=()=>{const e=n.container.value;if(!e)return;const t=e.scrollTop;if(!t)return;o.scrollTopInterupt&&o.scrollTopInterupt();const r=performance.now();let a=!1;const i=()=>{const n=performance.now()-r;var o;n>300||a||0!==e.scrollTop&&(e.scrollTop=t-(o=n/300,-.5*(Math.cos(Math.PI*o)-1)*t),window.requestAnimationFrame(i))};o.scrollTopInterupt=()=>{a=!0,o.scrollTopInterupt=null},window.requestAnimationFrame(i)};return cn((()=>{vn((()=>e.modelValue),((t,a)=>{o.beforeValue=null!=a?a:0,void 0!==a&&(async()=>{var t;const a=n.windowContainer.value,i=n.windows;if(!a||!i)return;o.animating&&window.clearTimeout(o.animatingTimeout),o.animating=!0;const l=o.beforeValue,s=e.modelValue,c=a.getBoundingClientRect().height;ul()(t=o.windowState).call(t,(e=>{e.display="none",e.position=void 0,e.transform=""})),o.height=Math.max(i[l].getBoundingClientRect().height,c),o.windowState[l]={position:"absolute",display:"",transform:"",animating:!1},o.windowState[s]={position:"absolute",display:"",transform:s<l?"translate(-100%, 0)":"translate(100%, 0)",animating:!1},await new(Xl())((e=>wt(e))),r(),o.height=Math.max(i[l].getBoundingClientRect().height,c),o.windowState[l]={position:"absolute",display:"",transform:l<s?"translate(-100%, 0)":"translate(100%, 0)",animating:!0},o.windowState[s]={position:"absolute",display:"",transform:"",animating:!0},o.animatingTimeout=window.setTimeout((()=>{o.animating=!1,o.windowState[l]={position:void 0,display:"none",transform:"",animating:!1},o.windowState[s]={position:void 0,display:"",transform:"",animating:!1},o.height=0}),300)})()}),{immediate:!0})})),()=>{var r,a,i;const l=null!==(r=null===(a=(i=t.slots).default)||void 0===a?void 0:a.call(i))&&void 0!==r?r:[];return(t=>{var n,r;t!==o.windowState.length&&(o.windowState=Di()(n=dm()(r=Array(t)).call(r,0)).call(n,((t,n)=>({position:void 0,transform:"",display:e.modelValue===n?"":"none",animating:!1}))))})(l.length),mo("div",{class:"i-tabs-items",ref:n.container},[mo("div",{class:"window-container flex relative ease-in-out duration-300",ref:n.windowContainer,style:{height:o.height?o.height+"px":"auto"}},[...Di()(l).call(l,((t,r)=>{var a;if(t.props){const n=t.props;n.index=r,n.current=e.modelValue}return mo("div",{ref:e=>{e&&(n.windows[r]=e)},style:{position:o.windowState[r].position,display:o.windowState[r].display,transform:o.windowState[r].transform},key:r,class:{[null!==(a=e.windowClass)&&void 0!==a?a:""]:!0,"vnode-window":!0,animating:o.windowState[r].animating}},[t])}))])])}}});n(8778);const fm=pm,vm=Ho({props:{index:Number,current:Number},setup:(e,t)=>()=>{var n,o,r;const a=null!==(n=null===(o=(r=t.slots).default)||void 0===o?void 0:o.call(r))&&void 0!==n?n:[];return mo("div",null,[Di()(a).call(a,(t=>{if(t.props){t.props.active=e.index===e.current}return t}))])}}),gm=Zt("data-v-76591e7d");Kt("data-v-76591e7d");const mm={class:"modal-container flex-col ease-in-out duration-300"};Xt();const hm=gm((function(e,t,n,o,r,a){return io(),co(fr,{name:"m"},{default:gm((()=>[e.state.visible?(io(),co("div",{key:0,class:"modal-component flex flex-center fixed inset-0 ease-in-out duration-300",style:e.modalStyle,onClick:t[1]||(t[1]=Pr(((...t)=>e.handleCloseModal(...t)),["self"]))},[mo("div",mm,[Yt(e.$slots,"default")])],4)):wo("v-if",!0)])),_:1})})),bm=Ho({name:"ModalComponent",props:{open:{type:Boolean,required:!0},onClose:{type:null,required:!0}},setup:e=>{const t=Ye({visible:!1,zIndex:0,bodyOverflowXValue:"",bodyOverflowYValue:""});vn((()=>e.open),(()=>{e.open&&(t.bodyOverflowXValue=document.body.style.overflowX||"",t.bodyOverflowYValue=document.body.style.overflowY||"",t.zIndex=kg.gen(_g.GENERAL)),t.visible=e.open}));const n=Bo((()=>({zIndex:t.zIndex})));return{state:t,modalStyle:n,handleCloseModal:n=>{n.target===n.currentTarget&&(e.onClose(),document.body.style.overflowX=t.bodyOverflowXValue,document.body.style.overflowY=t.bodyOverflowYValue)}}}});n(458);bm.render=hm,bm.__scopeId="data-v-76591e7d";const ym=bm,xm={class:"flex-col items-start"},wm=xo('<h1 class="text-20 mt-1">iciba划词翻译</h1><div class="text-14 mt-6"><div> 修改设置会自动保存。其他已打开的标签页需要刷新后才会加载新设置。 </div><div class="mt-4"> Greasyfork: <br><a target="_blank" rel="noopener" href="https://greasyfork.org/zh-CN/scripts/6303-iciba%E5%88%92%E8%AF%8D%E7%BF%BB%E8%AF%91"> https://greasyfork.org/zh-CN/scripts/6303-iciba划词翻译 </a></div><div class="mt-4"> Github: <br><a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript"> https://github.com/Firefox-Pro-Coding/iciba-translate-userscript </a></div><div class="mt-4"> Changelog: <br><a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript/releases"> Github Release </a></div><div class="mt-4"> 支持: <br> 如果您喜欢该项目,可以在 <a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript">github repo</a> 点 star,或者把它推荐给其他人 </div><div class="mt-4"> 遇到了任何问题或者错误,有其他建议?打开 <a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript">github repo</a> 提交 <a target="_blank" rel="noopener" href="https://github.com/Firefox-Pro-Coding/iciba-translate-userscript/issues">issue</a></div></div>',2);const _m=Ho({name:"AboutPage"});_m.render=function(e,t,n,o,r,a){return io(),co("div",xm,[wm])};const km=_m,Sm=Zt("data-v-3a3412e4");Kt("data-v-3a3412e4");const Tm={class:"flex-col items-start"},Cm=yo(" 选中文字后显示小圆圈 (关闭后"),Om=mo("span",{class:"font-bold"},"仅能使用热键",-1),Am=yo("查词) "),Lm=mo("div",{class:"flex-1 default-iciba-circle"},null,-1),Em=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 自定义小圆圈图标 ",-1),Im=yo(" 选择文字时,只有 "),Mm=mo("span",{class:"font-bold"},"同时按住ctrl键",-1),zm=yo(" 时才显示小圆圈 "),Rm={class:"flex mt-6"},Um={class:"flex-col flex-grow-0 pr-12"},Nm=mo("div",{class:"text-grey-600 pr-6 mb-2"},"接口",-1),Dm={class:"flex-col items-center flex-grow-0"},Pm=mo("div",{class:"text-grey-600 pr-6 mb-1"},"默认接口",-1),Vm={class:"flex-col items-center flex-grow-0"},Gm=mo("div",{class:"text-grey-600 pr-6 mb-1"},"备选接口",-1),jm={key:0,class:"text-14 text-red-500 mt-2 mb-0"},Bm=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[yo(" 默认接口:左键点击小圆圈查词接口 "),mo("br"),yo(" 备选接口:启用时,右键键点击小圆圈使用此查词接口 ")],-1),Hm={class:"text-14 text-grey-400"},Fm={class:"flex self-stretch items-center mr-1 mt-6"},Ym={class:"mr-4 text-grey-600"},qm=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 小圆圈大小(默认22px) ",-1),$m={class:"flex mt-6"},Wm={class:"flex-col justify-around flex-none"},Km={class:"mr-4 text-grey-600"},Xm={class:"mr-4 text-grey-600"},Zm={class:"flex-col justify-around flex-auto"},Jm=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[yo(" 小圆圈位置偏移(单位:px) "),mo("br"),yo(" 选择文字时,小圆圈偏移鼠标指针右下方的位置。默认 x=7 y=7 ")],-1),Qm={class:"flex items-center mr-1 mt-6 self-stretch"},eh={class:"mr-4 text-grey-600"},th=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 查词框宽度(单位:px)(默认300px) ",-1);Xt();const nh=Sm((function(e,t,n,o,r,a){const i=Kn("provider-sort"),l=Kn("i-checkbox-line"),s=Kn("icon-radio-group"),c=Kn("i-radio"),u=Kn("i-radio-group"),d=Kn("foldable"),p=Kn("i-slider");return io(),co("div",Tm,[mo(i),mo(l,{modelValue:e.form.useIcibaCircle,"onUpdate:modelValue":t[1]||(t[1]=t=>e.form.useIcibaCircle=t),label:"显示小圆圈"},{default:Sm((()=>[Cm,Om,Am])),_:1},8,["modelValue"]),mo(d,{fold:!e.form.useIcibaCircle},{default:Sm((()=>[mo(s,{class:"mt-6",modelValue:e.form.icibaCircleIcon,"onUpdate:modelValue":t[2]||(t[2]=t=>e.form.icibaCircleIcon=t),icons:e.icibaCircleIconOptions},{[e.defaultIconKey]:Sm((()=>[Lm])),_:2},1032,["modelValue","icons"]),Em,mo(l,{modelValue:e.form.pressCtrlToShowCircle,"onUpdate:modelValue":t[3]||(t[3]=t=>e.form.pressCtrlToShowCircle=t),label:"仅按住 ctrl 时显示小圆圈"},{default:Sm((()=>[Im,Mm,zm])),_:1},8,["modelValue"]),mo(l,{modelValue:e.form.mouseOverTranslate,"onUpdate:modelValue":t[4]||(t[4]=t=>e.form.mouseOverTranslate=t),label:"hover 小圆圈自动点击",text:"鼠标移到小圆圈上自动点击并打开查词窗口"},null,8,["modelValue"]),mo(l,{modelValue:e.form.icibaMainInputAutoFocus,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.icibaMainInputAutoFocus=t),label:"自动聚焦输入框",text:"点击小圆圈查词后,自动聚焦到输入框"},null,8,["modelValue"]),mo(l,{modelValue:e.form.icibaCircleRightClick,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.icibaCircleRightClick=t),label:"右击小圆圈使用备选接口",text:"右击小圆圈,使用备选接口查词"},null,8,["modelValue"]),mo(d,{fold:!e.form.icibaCircleRightClick},{default:Sm((()=>[mo("div",Rm,[mo("div",Um,[Nm,(io(!0),co(eo,null,Yo(e.providerOptions,(e=>(io(),co("div",{class:"option-item text-16 text-grey-600 mb-2",key:e.key},f(e.label),1)))),128))]),mo("div",Dm,[Pm,mo(u,{class:"mt-0 flex-grow-0",modelValue:e.form.defaultProvider,"onUpdate:modelValue":t[7]||(t[7]=t=>e.form.defaultProvider=t)},{default:Sm((()=>[(io(!0),co(eo,null,Yo(e.providerOptions,(e=>(io(),co(c,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),mo("div",Vm,[Gm,mo(u,{class:"mt-0",modelValue:e.form.icibaCircleRightClickProvider,"onUpdate:modelValue":t[8]||(t[8]=t=>e.form.icibaCircleRightClickProvider=t)},{default:Sm((()=>[(io(!0),co(eo,null,Yo(e.providerOptions,(e=>(io(),co(c,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.defaultProvider===e.form.icibaCircleRightClickProvider?(io(),co("p",jm," 默认接口和备选接口请选择不同的选项 ")):wo("v-if",!0),Bm])),_:1},8,["fold"]),mo(l,{modelValue:e.form.icibaCircleNoCJK,"onUpdate:modelValue":t[9]||(t[9]=t=>e.form.icibaCircleNoCJK=t),label:"非英语(拉丁)字符不显示小圆圈",text:"划去文字包含中文、日文、韩文等字符时不显示小圆圈"},null,8,["modelValue"])])),_:1},8,["fold"]),mo(l,{modelValue:e.form.history,"onUpdate:modelValue":t[10]||(t[10]=t=>e.form.history=t),label:"显示历史记录按钮",text:"在设置按钮旁边显示历史查词记录按钮"},null,8,["modelValue"]),mo(l,{modelValue:e.form.pressCtrlToDrag,"onUpdate:modelValue":t[11]||(t[11]=t=>e.form.pressCtrlToDrag=t),label:"按住 Ctrl 拖拽查词框",text:"按住 Ctrl 键可拖拽移动查词框位置"},null,8,["modelValue"]),mo(l,{modelValue:e.form.showPin,"onUpdate:modelValue":t[12]||(t[12]=t=>e.form.showPin=t),label:"启用固定图钉",text:"显示固定图钉,可固定查词框使其不自动关闭"},null,8,["modelValue"]),mo(d,{fold:!e.form.useIcibaCircle},{default:Sm((()=>[mo(l,{modelValue:e.form.selectionMaxLengthCut,"onUpdate:modelValue":t[13]||(t[13]=t=>e.form.selectionMaxLengthCut=t),label:"限制最大查词长度",text:"当选择文字超过长度时不显示小圆圈"},null,8,["modelValue"]),mo(d,{fold:!e.form.selectionMaxLengthCut},{default:Sm((()=>[mo(p,{class:"mr-1 mt-2px self-stretch",step:10,min:50,max:500,modelValue:e.form.selectionMaxLength,"onUpdate:modelValue":t[14]||(t[14]=t=>e.form.selectionMaxLength=t)},null,8,["modelValue"]),mo("p",Hm," 最大查词长度: "+f(e.form.selectionMaxLength)+" (默认值: 150) ",1)])),_:1},8,["fold"]),mo("div",Fm,[mo("div",Ym,f(e.form.icibaCircleSize)+"px",1),mo(p,{class:"flex-grow",min:10,max:30,step:1,modelValue:e.form.icibaCircleSize,"onUpdate:modelValue":t[15]||(t[15]=t=>e.form.icibaCircleSize=t),"thumb-label":""},null,8,["modelValue"])]),qm,mo("div",$m,[mo("div",Wm,[mo("div",Km,"x: "+f(e.form.icibaCircleOffsetX),1),mo("div",Xm,"y: "+f(e.form.icibaCircleOffsetY),1)]),mo("div",Zm,[mo(p,{class:"flex-grow",min:0,max:30,modelValue:e.form.icibaCircleOffsetX,"onUpdate:modelValue":t[16]||(t[16]=t=>e.form.icibaCircleOffsetX=t),"thumb-label":""},null,8,["modelValue"]),mo(p,{class:"flex-grow",min:0,max:30,modelValue:e.form.icibaCircleOffsetY,"onUpdate:modelValue":t[17]||(t[17]=t=>e.form.icibaCircleOffsetY=t),"thumb-label":""},null,8,["modelValue"])])]),Jm])),_:1},8,["fold"]),mo("div",Qm,[mo("div",eh,f(e.form.icibaMainWidth)+"px",1),mo(p,{class:"flex-grow",min:200,max:500,step:10,modelValue:e.form.icibaMainWidth,"onUpdate:modelValue":t[18]||(t[18]=t=>e.form.icibaMainWidth=t),"thumb-label":""},null,8,["modelValue"])]),th])}));const oh=Ho({name:"GFoldable",props:{fold:{type:Boolean,default:!1},duration:{type:Number,default:300}},setup:e=>{const t={root:et(),wrapper:et()},n=Ye({height:e.fold?"0":"auto"});return vn((()=>e.fold),(()=>{e.fold?t.root.value&&t.wrapper.value&&(n.height="auto",t.root.value.animate([{height:t.wrapper.value.clientHeight+"px"},{height:"0"}],{duration:e.duration,easing:"cubic-bezier(0.4, 0, 0.2, 1)"}),n.height="0"):(()=>{if(!t.root.value||!t.wrapper.value)return;n.height="auto";const o=t.wrapper.value.clientHeight;n.height="0",t.root.value.animate([{height:"0px"},{height:o+"px"}],{duration:e.duration,easing:"cubic-bezier(0.4, 0, 0.2, 1)"}),n.height="auto"})()})),{props:e,refs:t,state:n}}});oh.render=function(e,t,n,o,r,a){return io(),co("div",{class:"w-full overflow-hidden",ref:e.refs.root,style:{height:e.state.height}},[mo("div",{class:"flex-col",ref:e.refs.wrapper},[Yt(e.$slots,"default")],512)],4)};const rh=oh,ah=Zt("data-v-6b4ed052");Kt("data-v-6b4ed052");const ih={class:"icon-radio flex select-none"},lh={key:1,class:"check-icon absolute rounded-full bg-white text-20"};Xt();const sh=ah((function(e,t,n,o,r,a){const i=Kn("i-icon");return io(),co("div",ih,[(io(!0),co(eo,null,Yo(e.props.icons,(t=>(io(),co("div",{class:"icon-box flex relative p-2 flex-grow-0",key:t.key,onClick:n=>e.handleSelect(t.key)},[t.icon?(io(),co(i,{key:0,size:"100%",svg:t.icon},null,8,["svg"])):wo("v-if",!0),Yt(e.$slots,t.key),t.key===e.props.modelValue?(io(),co("div",lh,[mo(i,{size:"20",svg:e.checkedIconSvg},null,8,["svg"])])):wo("v-if",!0)],8,["onClick"])))),128))])})),ch=Ho({props:{modelValue:{type:String,required:!0},icons:{type:null,required:!0}},setup:(e,t)=>({props:e,handleSelect:e=>{t.emit("update:modelValue",e)},checkedIconSvg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 426.667 426.667"><path d="M213.333 0C95.518 0 0 95.514 0 213.333s95.518 213.333 213.333 213.333c117.828 0 213.333-95.514 213.333-213.333S331.157 0 213.333 0zm-39.134 322.918l-93.935-93.931 31.309-31.309 62.626 62.622 140.894-140.898 31.309 31.309-172.203 172.207z" fill="#80bf40"/></svg>\n'})});n(8117);ch.render=sh,ch.__scopeId="data-v-6b4ed052";const uh=ch,dh=Zt("data-v-be105b76");Kt("data-v-be105b76");const ph={class:"mask-box absolute ease-in-out duration-200"},fh={key:0,class:"icon-box absolute rounded-3px flex flex-center"},vh={class:"text-14 text-grey-400 mt-6px mb-0"},gh=yo(" 拖拽调整顺序,右键切换显示隐藏"),mh=mo("br",null,null,-1),hh=yo(" 点击 ");Xt();const bh=dh((function(e,t,n,o,r,a){const i=Kn("i-icon");return io(),co("div",{class:"icon-box-wrapper relative",ref:e.refs.container},[mo(Ar,{class:"icon-box-container flex ease-linear",name:"icon",tag:"div"},{default:dh((()=>[(io(!0),co(eo,null,Yo(e.state.list,(n=>(io(),co("div",{class:["icon-item relative select-none",{mask:n.mask}],style:{zIndex:n.z},onDragstart:t[1]||(t[1]=Pr((()=>{}),["prevent"])),onMousedown:Pr((t=>e.handleDragStart(n)),["left"]),onContextmenu:Pr((t=>e.handleToggleVisibility(n.id)),["right","prevent"]),key:n.id},[mo(fr,{name:"mask"},{default:dh((()=>[Nn(mo("div",ph,null,512),[[jr,n.mask]])])),_:2},1024),(n.mask,io(),co("div",fh,[mo(i,{class:["icon",{inactive:!e.isProviderVisible(n.id)}],size:"32",svg:n.icon},null,8,["class","svg"])]))],46,["onMousedown","onContextmenu"])))),128))])),_:1}),mo("p",vh,[gh,mh,hh,mo("span",{class:"cursor-pointer hover:text-grey-600 hover:underline",onClick:t[2]||(t[2]=(...t)=>e.handleReset(...t))}," 恢复默认排序 ")])],512)})),yh=Ho({name:"ProviderSort",setup:()=>{const e={container:et()},t=()=>{var e;return Di()(e=Vc.config.core.providerOrder).call(e,(e=>({id:e,icon:Sg(e),mask:!1,z:0})))},n=Ye({list:t()}),o={item:null,rects:[],cIndex:0},r=e=>{if(!o.item)return;const t=e.clientX,r=o.cIndex,a=o.rects;let i=0;for(;i<a.length;i+=1){if(i===r)continue;const e=a[i];if(i<r){if(e.right>t)break}else if(e.left>t)break}if(i>r&&(i-=1),i!==r){var l,s;const e=ji()(l=n.list).call(l,r,1);ji()(s=n.list).call(s,i,0,e[0]),o.cIndex=i}},a=()=>{var e;o.item&&(o.item.mask=!1,o.item=null,Vc.config.core.providerOrder=Di()(e=n.list).call(e,(e=>e.id)))};return cn((()=>{window.addEventListener("mousemove",r),window.addEventListener("mouseup",a)})),pn((()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",a)})),{state:n,refs:e,handleDragStart:t=>{var r,a;t.mask=!0,o.item=t,ul()(r=n.list).call(r,(e=>{e.z=1})),t.z=3,(()=>{var t;e.container.value&&(o.rects=Di()(t=Mp()(e.container.value.firstElementChild.children)).call(t,(e=>{const t=e.getBoundingClientRect();return{left:t.left+0*t.width*.5,right:t.right-0*t.width*.5,width:t.width}})))})(),o.cIndex=Hi()(a=n.list).call(a,t)},handleToggleVisibility:e=>{Vc.config[e].display=!Vc.config[e].display},handleReset:()=>{Vc.config.core.providerOrder=[...Dc.core.providerOrder],n.list=t()},isProviderVisible:e=>Vc.config[e].display}}});n(9950);yh.render=bh,yh.__scopeId="data-v-be105b76";const xh=yh;var wh;const _h=Di()(wh=rs()(ys)).call(wh,(([e,t])=>({icon:t,key:e}))),kh=Ho({name:"CoreSettings",props:{active:Boolean},components:{ProviderSort:xh,IconRadioGroup:uh,Foldable:rh},setup:e=>{const t=Ye({keys:[],setKeys:[]}),n=Vc.config.core;let o=null;vn((()=>[n.defaultProvider,n.icibaCircleRightClickProvider]),((e,t)=>{o=t&&e[0]===e[1]?t:null}));const r=()=>{e.active&&o&&(n.defaultProvider=o[0],n.icibaCircleRightClickProvider=o[1])},a=e=>e>="a"&&e<="z"?e.toUpperCase():e,i=e=>{var n;const o=a(e.key),r=Hi()(n=Yi()(t)).call(n,o);var i;-1!==r&&ji()(i=Yi()(t)).call(i,r,1)};vn((()=>e.active),r),pn(r);const l=Bo((()=>{var e,n;const o=t.setKeys,r=$i()(o).call(o,"Control"),a=$i()(o).call(o,"Alt"),i=$i()(o).call(o,"Shift");return Vi()(e=[r&&"Ctrl",a&&"Alt",i&&"Shift",...Di()(n=Vi()(o).call(o,(e=>{var t;return!$i()(t=["Control","Alt","Shift"]).call(t,e)}))).call(n,(e=>e.toUpperCase()))]).call(e,Boolean).join(" + ")}));return cn((()=>{window.addEventListener("keyup",i)})),pn((()=>{window.removeEventListener("keyup",i)})),{state:t,input:l,form:n,defaultIconKey:bs.DEFAULT,icibaCircleIconOptions:_h,providerOptions:us,handleKeyDown:e=>{var n;const o=a(e.key);Ki()(e)||$i()(n=Yi()(t)).call(n,o)||Yi()(t).push(o),t.setKeys=[...Yi()(t)]},handleKeyUp:i}}});n(9062);kh.render=nh,kh.__scopeId="data-v-3a3412e4";const Sh=kh,Th={class:"flex-col items-start"},Ch=mo("p",{class:"text-14 text-grey-400 mb-0"}," 热键显示查词框 ",-1),Oh=mo("p",{class:"text-14 text-grey-400 mt-8 mb-0"}," 快速查词热键(选中文本 或在输入框 快速查词) ",-1),Ah={class:""},Lh=yo(" 使用 快速查词热键后,自动聚焦到输入框 "),Eh=mo("p",{class:"text-14 text-grey-400 mt-6 mb-0"}," tips: ",-1);const Ih=Ho({name:"HotKeySetting",props:{active:Boolean},components:{Foldable:rh},setup:()=>({providerOptions:us,core:Vc.config.core,config:Vc.config})});Ih.render=function(e,t,n,o,r,a){const i=Kn("i-checkbox-line"),l=Kn("i-hotkey-input"),s=Kn("foldable"),c=Kn("i-checkbox");return io(),co("div",Th,[mo(i,{class:"mt-1",nomt:"",modelValue:e.core.useHotkeyShowUp,"onUpdate:modelValue":t[1]||(t[1]=t=>e.core.useHotkeyShowUp=t),label:"呼出查词框热键",text:""},null,8,["modelValue"]),mo(s,{fold:!e.core.useHotkeyShowUp},{default:qt((()=>[mo(l,{class:"my-1",modelValue:e.core.showUpHotkey,"onUpdate:modelValue":t[2]||(t[2]=t=>e.core.showUpHotkey=t)},null,8,["modelValue"])])),_:1},8,["fold"]),Ch,mo(s,{fold:!e.core.useHotkeyShowUp},{default:qt((()=>[mo(i,{modelValue:e.core.hotkeyIcibaMainInputAutoFocus,"onUpdate:modelValue":t[3]||(t[3]=t=>e.core.hotkeyIcibaMainInputAutoFocus=t),label:"呼出查词框时聚焦输入",text:"呼出查词框 后,聚焦到输入框"},null,8,["modelValue"])])),_:1},8,["fold"]),Oh,mo("div",Ah,[(io(!0),co(eo,null,Yo(e.providerOptions,(t=>(io(),co("div",{class:"mt-2",key:t.key},[mo(c,{modelValue:e.config[t.key].enableHotkey,"onUpdate:modelValue":n=>e.config[t.key].enableHotkey=n,label:t.label},null,8,["modelValue","onUpdate:modelValue","label"]),mo(s,{fold:!e.config[t.key].enableHotkey},{default:qt((()=>[mo(l,{class:"my-1",modelValue:e.config[t.key].hotkey,"onUpdate:modelValue":n=>e.config[t.key].hotkey=n},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1032,["fold"])])))),128))]),mo(i,{class:"mt-6",nomt:"",modelValue:e.core.providerHotkeyAutoFocus,"onUpdate:modelValue":t[4]||(t[4]=t=>e.core.providerHotkeyAutoFocus=t),label:"快速查词热键聚焦输入框"},{default:qt((()=>[Lh])),_:1},8,["modelValue"]),Eh,(io(),co(eo,null,Yo(["选中文字 按下热键查词。","或在输入框输入文字,按下热键使用对应的接口查词。","至少指定一种能打开查词框的方式(小圆圈或热键),否则你会无法打开查词框。","请避免使用和浏览器或操作系统产生冲突的热键。"],((e,t)=>mo("p",{class:"text-14 text-grey-400 mt-1 mb-0",key:t},f(t+1)+". "+f(e),1))),64))])};const Mh=Ih,zh={class:"flex-col items-start"};const Rh={class:"flex-col items-start"},Uh=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"}," 按钮图标 ",-1),Nh={class:"text-14 text-grey-400 mb-0"};const Dh=Ho({name:"ProviderCommon",props:{icon:String,display:Boolean,enableHotkey:Boolean,hotkey:null,name:String,icons:null},components:{Foldable:rh,IconRadioGroup:uh},setup:(e,t)=>({props:e,handleUpdateIcon:e=>{t.emit("update:icon",e)},handleUpdateDisplay:e=>{t.emit("update:display",e)},handleUpdateEnableHotkey:e=>{t.emit("update:enableHotkey",e)},handleUpdateHotkey:e=>{t.emit("update:hotkey",e)}})});Dh.render=function(e,t,n,o,r,a){const i=Kn("icon-radio-group"),l=Kn("i-checkbox-line"),s=Kn("i-hotkey-input"),c=Kn("foldable");return io(),co("div",Rh,[mo(i,{"model-value":e.props.icon,"onUpdate:modelValue":t[1]||(t[1]=t=>e.handleUpdateIcon(t)),icons:e.props.icons},null,8,["model-value","icons"]),Uh,mo(l,{"model-value":e.props.display,"onUpdate:modelValue":t[2]||(t[2]=t=>e.handleUpdateDisplay(t)),label:"显示按钮",text:"输入框右侧显示按钮图标"},null,8,["model-value"]),mo(l,{"model-value":e.props.enableHotkey,"onUpdate:modelValue":t[3]||(t[3]=t=>e.handleUpdateEnableHotkey(t)),label:"启用热键翻译",text:""},null,8,["model-value"]),mo(c,{fold:!e.props.enableHotkey},{default:qt((()=>[mo(s,{class:"my-1","model-value":e.props.hotkey,"onUpdate:modelValue":t[4]||(t[4]=t=>e.handleUpdateHotkey(t))},null,8,["model-value"])])),_:1},8,["fold"]),mo("p",Nh," 选中文本后按下热键使用 "+f(e.props.name)+" 查词 ",1)])};const Ph=Dh;var Vh;const Gh=Di()(Vh=rs()(Ms[ss.ICIBA])).call(Vh,(([e,t])=>({icon:t,key:e}))),jh=Ho({name:"IcibaSettings",components:{ProviderCommon:Ph},setup:()=>({form:Vc.config[ss.ICIBA],iconOptions:Gh})});jh.render=function(e,t,n,o,r,a){const i=Kn("provider-common");return io(),co("div",zh,[mo(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"iciba",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"])])};const Bh=jh,Hh={class:"flex-col items-start"},Fh=xo('<p class="text-14 text-grey-400 mt-1 mb-0"> 查词详细结果默认折叠状态 </p><p class="text-14 text-grey-400 mt-12 mb-0"> 如果你经常出现 request failed 0,这不是脚本出问题也不是网络问题。 </p><p class="text-14 text-grey-400 mt-1 mb-0"> google 的 api 会在查不到结果时返回 500,而 chrome 检测到 500 后会自动启动 ddos 防御,所有相同的请求会被拦截。 </p><p class="text-14 text-grey-400 mt-1 mb-0"> 添加 chrome 启动参数 --disable-extensions-http-throttling 可以关闭此功能。 </p><p class="text-14 text-grey-400 mt-1 mb-0"> 解决方案是,过一段时间再使用 google 字典,或者避免使用 google 字典查询查不到的单词。 </p>',5),Yh=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[mo("a",{href:"http://dev.chromium.org/throttling",_target:"blank"},"http://dev.chromium.org/throttling")],-1);var qh,$h;const Wh=Di()(qh=[vs.UNFOLD,vs.FOLD_SUBSENSE,vs.FOLD_EXAMPLES,vs.FOLD_THESAURUS]).call(qh,(e=>({label:hs[e],key:e}))),Kh=Di()($h=rs()(Ms[ss.GOOGLE_DICT])).call($h,(([e,t])=>({icon:t,key:e}))),Xh=Ho({name:"GoogleDictSettings",components:{ProviderCommon:Ph},setup:()=>({form:Vc.config[ss.GOOGLE_DICT],iconOptions:Kh,foldOptions:Wh})});Xh.render=function(e,t,n,o,r,a){const i=Kn("provider-common"),l=Kn("i-radio"),s=Kn("i-radio-group");return io(),co("div",Hh,[mo(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"google字典",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),mo(s,{class:"mt-6",modelValue:e.form.foldStatus,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.foldStatus=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.foldOptions,(e=>(io(),co(l,{key:e.key,label:e.label,value:e.key},null,8,["label","value"])))),128))])),_:1},8,["modelValue"]),Fh,Yh])};const Zh=Xh,Jh={class:"flex-col items-start"},Qh=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[yo(" google翻译接口域名。 "),mo("br"),yo(" translate.google.cn 在国内大部分区域可直接访问 ")],-1),eb={class:"flex mt-6 pt-1"},tb={class:"flex-col items-start flex-grow-0 pr-12"},nb=mo("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),ob={class:"flex-col items-center flex-grow-0"},rb=mo("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),ab={class:"flex-col items-center flex-grow-0"},ib=mo("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),lb={key:0,class:"text-14 text-red-500 mt-2 mb-0"},sb=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[yo(" 首选语言:默认翻译到的语言 "),mo("br"),yo(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1),cb=mo("p",{class:"text-14 text-grey-400 mt-6 mb-0"}," ps:当出现 response with status code 503 时,有可能是触发了验证码。请手动打开google翻译点击验证码。 ",-1);var ub;const db=Di()(ub=rs()(Ms[ss.GOOGLE_TRANSLATE])).call(ub,(([e,t])=>({icon:t,key:e}))),pb=[{label:fs[ps.GOOGLE_COM],key:ps.GOOGLE_COM},{label:fs[ps.GOOGLE_CN],key:ps.GOOGLE_CN}],fb=Ho({name:"GoogleTranslateSettings",props:{active:Boolean},components:{ProviderCommon:Ph},setup:e=>{const t=Vc.config[ss.GOOGLE_TRANSLATE];let n=null;vn((()=>[t.targetLanguage,t.secondTargetLanguage]),((e,t)=>{n=t&&e[0]===e[1]?t:null}));const o=()=>{e.active&&n&&(t.targetLanguage=n[0],t.secondTargetLanguage=n[1])};return vn((()=>e.active),o),pn(o),{form:t,iconOptions:db,hostOptions:pb,languageOptions:$s}}});fb.render=function(e,t,n,o,r,a){const i=Kn("provider-common"),l=Kn("i-radio"),s=Kn("i-radio-group");return io(),co("div",Jh,[mo(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"google翻译",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),mo(s,{class:"mt-6",modelValue:e.form.translateHost,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.translateHost=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.hostOptions,(e=>(io(),co(l,{key:e.key,label:e.label,value:e.key},null,8,["label","value"])))),128))])),_:1},8,["modelValue"]),Qh,mo("div",eb,[mo("div",tb,[nb,(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},f(e.text),1)))),128))]),mo("div",ob,[rb,mo(s,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.targetLanguage=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co(l,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),mo("div",ab,[ib,mo(s,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[7]||(t[7]=t=>e.form.secondTargetLanguage=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co(l,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(io(),co("p",lb," 首选语言和备选语言请选择不同的选项 ")):wo("v-if",!0),sb,cb])};const vb=fb,gb={class:"flex-col items-start"},mb={class:"flex mt-6 pt-1"},hb={class:"flex-col items-start flex-grow-0 pr-12"},bb=mo("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),yb={class:"flex-col items-center flex-grow-0"},xb=mo("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),wb={class:"flex-col items-center flex-grow-0"},_b=mo("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),kb={key:0,class:"text-14 text-red-500 mt-2 mb-0"},Sb=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[yo(" 首选语言:默认翻译到的语言 "),mo("br"),yo(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);var Tb;const Cb=Di()(Tb=rs()(Ms[ss.BAIDU_TRANSLATE])).call(Tb,(([e,t])=>({icon:t,key:e}))),Ob=Ho({name:"BaiduTranslateSettings",props:{active:Boolean},components:{ProviderCommon:Ph},setup:e=>{const t=Vc.config[ss.BAIDU_TRANSLATE];let n=null;vn((()=>[t.targetLanguage,t.secondTargetLanguage]),((e,t)=>{n=t&&e[0]===e[1]?t:null}));const o=()=>{e.active&&n&&(t.targetLanguage=n[0],t.secondTargetLanguage=n[1])};return vn((()=>e.active),o),pn(o),{iconOptions:Cb,form:t,languageOptions:oc}}});Ob.render=function(e,t,n,o,r,a){const i=Kn("provider-common"),l=Kn("i-radio"),s=Kn("i-radio-group");return io(),co("div",gb,[mo(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"百度翻译",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),mo("div",mb,[mo("div",hb,[bb,(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},f(e.text),1)))),128))]),mo("div",yb,[xb,mo(s,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co(l,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),mo("div",wb,[_b,mo(s,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co(l,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(io(),co("p",kb," 首选语言和备选语言请选择不同的选项 ")):wo("v-if",!0),Sb])};const Ab=Ob,Lb={class:"flex-col items-start"},Eb={class:"flex mt-6 pt-1"},Ib={class:"flex-col items-start flex-grow-0 pr-12"},Mb=mo("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),zb={class:"flex-col items-center flex-grow-0"},Rb=mo("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),Ub={class:"flex-col items-center flex-grow-0"},Nb=mo("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),Db={key:0,class:"text-14 text-red-500 mt-2 mb-0"},Pb=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[yo(" 首选语言:默认翻译到的语言 "),mo("br"),yo(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);var Vb;const Gb=Di()(Vb=rs()(Ms[ss.SOUGOU_TRANSLATE])).call(Vb,(([e,t])=>({icon:t,key:e}))),jb=Ho({name:"SougouTranslateSettings",props:{active:Boolean},components:{ProviderCommon:Ph},setup:e=>{const t=Vc.config[ss.SOUGOU_TRANSLATE];let n=null;vn((()=>[t.targetLanguage,t.secondTargetLanguage]),((e,t)=>{n=t&&e[0]===e[1]?t:null}));const o=()=>{e.active&&n&&(t.targetLanguage=n[0],t.secondTargetLanguage=n[1])};return vn((()=>e.active),o),pn(o),{form:t,iconOptions:Gb,languageOptions:pc}}});jb.render=function(e,t,n,o,r,a){const i=Kn("provider-common"),l=Kn("i-radio"),s=Kn("i-radio-group");return io(),co("div",Lb,[mo(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"搜狗翻译",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),mo("div",Eb,[mo("div",Ib,[Mb,(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},f(e.text),1)))),128))]),mo("div",zb,[Rb,mo(s,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co(l,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),mo("div",Ub,[Nb,mo(s,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co(l,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(io(),co("p",Db," 首选语言和备选语言请选择不同的选项 ")):wo("v-if",!0),Pb])};const Bb=jb,Hb={class:"flex-col items-start"};var Fb;const Yb=Di()(Fb=rs()(Ms[ss.URBAN_DICTIONARY])).call(Fb,(([e,t])=>({icon:t,key:e}))),qb=Ho({name:"UrbanDictionarySettings",components:{ProviderCommon:Ph},setup:()=>({form:Vc.config[ss.URBAN_DICTIONARY],iconOptions:Yb})});qb.render=function(e,t,n,o,r,a){const i=Kn("provider-common"),l=Kn("i-checkbox-line");return io(),co("div",Hb,[mo(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"urban dictionary",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),mo(l,{modelValue:e.form.display,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.display=t),label:"显示按钮",text:"在查词框右侧显示按钮"},null,8,["modelValue"])])};const $b=qb,Wb={class:"flex-col items-start"},Kb={class:"flex mt-6 pt-1"},Xb={class:"flex-col items-start flex-grow-0 pr-12"},Zb=mo("div",{class:"text-grey-600 pr-6 mb-2"},"语言",-1),Jb={class:"flex-col items-center flex-grow-0"},Qb=mo("div",{class:"text-grey-600 pr-6 mb-1"},"首选语言",-1),ey={class:"flex-col items-center flex-grow-0"},ty=mo("div",{class:"text-grey-600 pr-6 mb-1"},"备选语言",-1),ny={key:0,class:"text-14 text-red-500 mt-2 mb-0"},oy=mo("p",{class:"text-14 text-grey-400 mt-1 mb-0"},[yo(" 首选语言:默认翻译到的语言 "),mo("br"),yo(" 备选语言:当检测到翻译文本语言为首选语言时,翻译到备选语言 ")],-1);var ry;const ay=Di()(ry=rs()(Ms[ss.BING_TRANSLATE])).call(ry,(([e,t])=>({icon:t,key:e}))),iy=Ho({name:"BingTranslateSettings",props:{active:Boolean},components:{ProviderCommon:Ph},setup:e=>{const t=Vc.config[ss.BING_TRANSLATE];let n=null;vn((()=>[t.targetLanguage,t.secondTargetLanguage]),((e,t)=>{n=t&&e[0]===e[1]?t:null}));const o=()=>{e.active&&n&&(t.targetLanguage=n[0],t.secondTargetLanguage=n[1])};return vn((()=>e.active),o),pn(o),{form:t,iconOptions:ay,languageOptions:Cc}}});iy.render=function(e,t,n,o,r,a){const i=Kn("provider-common"),l=Kn("i-radio"),s=Kn("i-radio-group");return io(),co("div",Wb,[mo(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"bing翻译",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),mo("div",Kb,[mo("div",Xb,[Zb,(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co("div",{class:"language-option text-16 text-grey-600 mb-2",key:e.key},f(e.text),1)))),128))]),mo("div",Jb,[Qb,mo(s,{class:"mt-0 flex-grow-0",modelValue:e.form.targetLanguage,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.targetLanguage=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co(l,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])]),mo("div",ey,[ty,mo(s,{class:"mt-0",modelValue:e.form.secondTargetLanguage,"onUpdate:modelValue":t[6]||(t[6]=t=>e.form.secondTargetLanguage=t)},{default:qt((()=>[(io(!0),co(eo,null,Yo(e.languageOptions,(e=>(io(),co(l,{key:e.key,label:"",value:e.key},null,8,["value"])))),128))])),_:1},8,["modelValue"])])]),e.form.targetLanguage===e.form.secondTargetLanguage?(io(),co("p",ny," 首选语言和备选语言请选择不同的选项 ")):wo("v-if",!0),oy])};const ly=iy,sy={class:"flex-col items-start"};var cy;const uy=Di()(cy=rs()(Ms[ss.VOCABULARY])).call(cy,(([e,t])=>({icon:t,key:e}))),dy=Ho({name:"VocabularySettings",components:{ProviderCommon:Ph},setup:()=>({form:Vc.config[ss.VOCABULARY],iconOptions:uy})});dy.render=function(e,t,n,o,r,a){const i=Kn("provider-common"),l=Kn("i-checkbox-line");return io(),co("div",sy,[mo(i,{icon:e.form.icon,"onUpdate:icon":t[1]||(t[1]=t=>e.form.icon=t),display:e.form.display,"onUpdate:display":t[2]||(t[2]=t=>e.form.display=t),"enable-hotkey":e.form.enableHotkey,"onUpdate:enable-hotkey":t[3]||(t[3]=t=>e.form.enableHotkey=t),hotkey:e.form.hotkey,"onUpdate:hotkey":t[4]||(t[4]=t=>e.form.hotkey=t),name:"vocabulary.com",icons:e.iconOptions},null,8,["icon","display","enable-hotkey","hotkey","icons"]),mo(l,{modelValue:e.form.display,"onUpdate:modelValue":t[5]||(t[5]=t=>e.form.display=t),label:"显示按钮",text:"在查词框右侧显示按钮"},null,8,["modelValue"])])};const py=Ho({name:"SettingPage",components:{ITabs:im,ITab:cm,ITabsItems:fm,ITabItem:vm,ModalComponent:ym,About:km,CoreSetting:Sh,HotKey:Mh,Iciba:Bh,GoogleDict:Zh,GoogleTranslate:vb,BaiduTranslate:Ab,SougouTranslate:Bb,UrbanDictionary:$b,BingTranslate:ly,Vocabulary:dy},setup:()=>({state:Ye({tab:1}),visible:Bo((()=>Eg.state.setting)),handleCloseSetting:()=>{Eg.closeSettings()}})});n(4823);py.render=om,py.__scopeId="data-v-26ec9275";const fy=py,vy=Zt("data-v-6b9c327f");Kt("data-v-6b9c327f");const gy={class:"history-window flex-col bg-white shadow-8"},my=mo("div",{class:"px-4 py-3 border-b border-grey-300 font-medium"}," 查词历史记录 ",-1),hy={class:"flex-col flex-1"},by={key:0,class:"px-4 py-4 text-grey-400 text-14"},yy={key:1,class:"pt-2"},xy={class:"flex items-center flex-1 w-0"},wy={class:"text-grey-500 w-6 flex-none"},_y={class:"flex items-center text-gray-800 text-16 mt-2px truncate"},ky={class:"bg-grey-200 group-hover:bg-grey-300 px-2 rounded-4 truncate leading-relaxed"},Sy={class:"flex items-center flex-none text-grey-400 text-14 ml-1"},Ty={class:"ml-2"},Cy={class:"ml-2"},Oy=mo("div",{class:"flex-1 w-full"},null,-1),Ay={class:"text-grey-400 text-14 p-4"},Ly=yo(" 这里保存了最近的50条查词记录。 "),Ey=mo("div",null," 10分钟内相同的记录会合并为一条。 ",-1),Iy={key:0},My={key:0},zy={key:1},Ry=yo(" 确定要清空历史记录? ");Xt();const Uy=vy((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("Scrollable"),s=Kn("modal-component");return io(),co(s,{open:e.visible,onClose:e.handleClose},{default:vy((()=>[mo("div",gy,[my,mo(l,{class:"flex-1 h-0"},{default:vy((({scrollBar:n})=>[mo("div",hy,[e.list.length?wo("v-if",!0):(io(),co("div",by," 暂无查词历史记录 ")),e.list.length?(io(),co("div",yy)):wo("v-if",!0),(io(!0),co(eo,null,Yo(e.list,((t,o)=>(io(),co("div",{class:["group flex justify-between items-center mx-2 my-px px-3 py-1 rounded-6 hover:bg-grey-100",{"mr-4":n}],key:o},[mo("div",xy,[mo("div",wy,f(o+1)+". ",1),mo("div",{class:"hover:bg-grey-300 p-2 rounded-4 mr-2 ml-1 cursor-pointer",onClick:n=>e.handleItemClick(n,t)},[mo(i,{class:"flex-none",svg:e.getIcon(t.provider),size:24},null,8,["svg"])],8,["onClick"]),mo("div",_y,[mo("span",ky,f(t.word),1)])]),mo("div",Sy,[mo("div",Ty,f(e.PROVIDER_MAP[t.provider]),1),mo("div",Cy,[mo("span",{title:e.formatTimeFull(t.time)},f(e.formatTime(t.time)),9,["title"])])])],2)))),128)),Oy,mo("div",Ay,[mo("div",null,[Ly,mo("button",{class:"outline-none text-primary hover:underline",onClick:t[1]||(t[1]=(...t)=>e.handleExport(...t))}," 导出到控制台 ")]),Ey,e.list.length?(io(),co("div",Iy,[e.state.showClearConfirm?wo("v-if",!0):(io(),co("div",My,[mo("button",{class:"outline-none text-primary hover:underline",onClick:t[2]||(t[2]=(...t)=>e.handleClear(...t))}," 清空历史记录 ")])),e.state.showClearConfirm?(io(),co("div",zy,[Ry,mo("button",{class:"outline-none text-primary hover:underline",onClick:t[3]||(t[3]=(...t)=>e.handleClearCancel(...t))}," 取消 "),mo("button",{class:"outline-none text-primary hover:underline ml-2",onClick:t[4]||(t[4]=(...t)=>e.handleClearConfirm(...t))}," 确定 ")])):wo("v-if",!0)])):wo("v-if",!0)])])])),_:1})])])),_:1},8,["open","onClose"])})),Ny=Zt("data-v-22ad7e37");Kt("data-v-22ad7e37");const Dy={key:0,class:"toast-box fixed flex flex-center text-white ease-in-out duration-300"};Xt();const Py=Ny((function(e,t,n,o,r,a){return io(),co(fr,{name:"t"},{default:Ny((()=>[e.state.visible?(io(),co("div",Dy,f(e.props.text),1)):wo("v-if",!0)])),_:1})})),Vy=Ho({props:{text:{type:String,default:""},timeout:{type:Number,default:3e3},destroy:{type:Function,required:!0}},setup:e=>{const t=Ye({visible:!1});return cn((()=>{t.visible=!0,Za()((()=>{t.visible=!1,Za()((()=>{e.destroy()}),3e3)}),e.timeout)})),{state:t,props:e}}});n(8296);Vy.render=Py,Vy.__scopeId="data-v-22ad7e37";const Gy=Vy,jy=Gc(),By=Ye({toasts:[]}),Hy=Gy;(()=>{const e=Ho({setup:()=>()=>{var e;return mo("div",{class:"toast-container"},[Di()(e=By.toasts).call(e,(e=>mo(Hy,{key:e.id,text:e.text,timeout:e.timeout,destroy:e.destroy},null)))])}}),n=qr({render:()=>Fo(e)}),o=document.createElement("div");n.mount(o),t.appendChild(o)})();const Fy=(e,t)=>{var n;const o="string"==typeof e?null!=t?t:3e3:null!==(n=e.timeout)&&void 0!==n?n:3e3,r="string"==typeof e?e:e.text,a={id:jy(),timeout:o,text:r,destroy:()=>{var e,t;const n=Hi()(e=By.toasts).call(e,a);ji()(t=By.toasts).call(t,n,1)}};By.toasts.push(a)},Yy=Ho({name:"HistoryModal",components:{ModalComponent:ym,Scrollable:qu},setup:()=>{const e=Ye({showClearConfirm:!1}),t=(e,t,n)=>{const o=String(e),r=o.length-n;return r<=0?o:`${Ki()(t).call(t,r)}${o}`},n=e=>{const n=new Date(e);return`${n.getFullYear()}-${n.getMonth()+1}-${n.getDay()} ${t(n.getHours(),"0",2)}:${t(n.getMinutes(),"0",2)}`};vn((()=>Eg.state.history),(()=>mg.loadHistory()));const o=Bo((()=>mg.state.list)),r=Bo((()=>Eg.state.history));return{PROVIDER_MAP:cs,state:e,visible:r,list:o,getIcon:Sg,handleClose:()=>{Eg.closeHistory()},handleExport:async()=>{await mg.loadHistory(),console.log(Wl()(mg.state.list,null,2)),Fy({text:"已导出到控制台(F12查看)"})},handleItemClick:(e,t)=>{vl.emit({type:il.TRANSLATE,mouseEvent:e,word:t.word,param:{provider:t.provider}})},handleClear:()=>{e.showClearConfirm=!0},handleClearCancel:()=>{e.showClearConfirm=!1},handleClearConfirm:()=>{e.showClearConfirm=!1,mg.clearHistory()},formatTime:e=>{const t=Zd()()-e;return t<6e4?Math.floor(t/1e3)+" 秒前":t<36e5?Math.floor(t/1e3/60)+" 分钟前":t<864e5?Math.floor(t/1e3/60/60)+" 小时前":n(e)},formatTimeFull:n}}});n(7189);Yy.render=Uy,Yy.__scopeId="data-v-6b9c327f";const qy=Yy,$y=Zt("data-v-ea3555cc");Kt("data-v-ea3555cc");const Wy={class:"google-dict-modal flex-col relative shadow-16"},Ky={class:"fold-control flex absolute select-none z-20 shadow-2 opacity-75 hover:opacity-100 duration-200 ease-in-out bg-bg-5"},Xy=mo("div",{class:"tooltip"}," less ",-1),Zy=mo("div",{class:"split border-l border-grey-400"},null,-1),Jy=mo("div",{class:"tooltip"}," more ",-1),Qy={class:"modal-box flex-col flex-1 h-0 relative text-14 bg-white"},ex={key:0,class:"dictionary-data-box flex-col items-stretch"},tx={key:0,class:"entry-box flex-col items-stretch"};Xt();const nx=$y((function(e,t,n,o,r,a){const i=Kn("i-icon"),l=Kn("entry"),s=Kn("usage-overtime"),c=Kn("scrollable"),u=Kn("modal-component");return io(),co(u,{open:e.visible,onClose:e.handleCloseModal},{default:$y((()=>[mo("div",Wy,[mo("div",Ky,[mo("div",{class:[{disable:!e.shrinkable},"control-btn flex flex-center relative"],onClick:t[1]||(t[1]=(...t)=>e.handleShrink(...t))},[mo(i,{size:"20",svg:e.icon.minus},null,8,["svg"]),Xy],2),Zy,mo("div",{class:[{disable:!e.expandable},"control-btn flex flex-center"],onClick:t[2]||(t[2]=(...t)=>e.handleExpand(...t))},[mo(i,{size:"20",svg:e.icon.plus},null,8,["svg"]),Jy],2)]),mo("div",Qy,[mo(c,{class:"flex-1 h-0"},{default:$y((({scrollBar:t})=>[mo("div",{class:["content-box px-5 pt-5 pb-7",{"pr-5":!t,"pr-7":t}]},[e.state.containerData&&e.state.containerData.length?(io(),co("div",ex,[(io(!0),co(eo,null,Yo(e.state.containerData,(t=>(io(),co("div",{class:"dictionary-data-item",key:e.state.id+t.queryTerm},[wo(" entry "),wo(' <div class="entry-box flex-col items-stretch" v-if="false"> '),t.entries&&t.entries.length?(io(),co("div",tx,[(io(!0),co(eo,null,Yo(t.entries,((e,t)=>(io(),co(l,{class:{"mt-5":0!==t},entry:e,key:e.entrySeqNo},null,8,["class","entry"])))),128))])):wo("v-if",!0),wo(" usage over time "),t.usageOverTimeImage?(io(),co(s,{key:1,image:t.usageOverTimeImage,term:t.queryTerm},null,8,["image","term"])):wo("v-if",!0)])))),128))])):wo("v-if",!0),wo(' {{#hasWebDefinitions}}\n              <div class="section-name">Web definitions</div>\n              {{#webDefinitions}}\n              <div>\n                <div>{{definition}}</div>\n                <div><a href="{{sourceUrl}}">{{sourceUrl}}</a></div>\n              </div>\n              {{/webDefinitions}}\n              {{/hasWebDefinitions}} ')],2)])),_:1})])])])),_:1},8,["open","onClose"])})),ox=Zt("data-v-c0604a02");Kt("data-v-c0604a02");const rx={key:0,class:"placeholder text-grey-400 font-mono"};Xt();const ax=ox((function(e,t,n,o,r,a){return io(),co("div",{class:["image-loader flex justify-center items-center",{loading:!e.state.data}],style:{height:Number(e.props.height)/2+"px",width:Number(e.props.width)/2+"px"}},[e.state.data?wo("v-if",!0):(io(),co("span",rx," loading.... ")),e.state.data?(io(),co("img",{key:1,style:{height:Number(e.props.height)/2+"px",width:Number(e.props.width)/2+"px"},src:e.state.data},null,12,["src"])):wo("v-if",!0)],6)})),ix=Ho({name:"GImageLoader",props:{url:{type:String,required:!0},height:{type:[Number,String],required:!0},width:{type:[Number,String],required:!0}},setup:e=>{const t=Ye({data:""}),n=()=>{e.url&&(t.data="",(async e=>{try{const n=(await ts({method:"GET",headers:{Accept:"*/*","Accept-Encoding":"gzip, deflate, br","Accept-Language":"en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,zh-TW;q=0.6","Cache-Control":"no-cache",Pragma:"no-cache","upgrade-insecure-requests":"1","User-Agent":window.navigator.userAgent},responseType:"blob",url:e,timeout:5e3})).response,o=new FileReader;o.readAsDataURL(n),o.onloadend=()=>{t.data=o.result.replace("data:;base64,","data:image/png;base64,")}}catch(e){return Xl().reject(e)}Xl().resolve()})(e.url))};return cn((()=>{n()})),vn((()=>e.url),(()=>{n()})),{props:e,state:t}}});n(5807);ix.render=ax,ix.__scopeId="data-v-c0604a02";const lx=ix,sx={key:0,class:"usage-overtime mt-4 pt-4 flex-col items-stretch border-t border-grey-400"},cx={class:"usage-title text-grey-500 text-18"},ux=yo(" Use over time for "),dx={class:"bg-grey-500 text-white px-1"};const px=Ho({name:"GUsageOvertime",components:{imageLoader:lx},props:{image:{type:null,required:!0},term:{type:String,required:!0}},setup:e=>({m:e.image})});px.render=function(e,t,n,o,r,a){const i=Kn("image-loader");return e.m?(io(),co("div",sx,[mo("div",cx,[ux,mo("span",dx,f(e.term),1)]),mo("div",{class:"usage-img-wrapper mt-2 overflow-hidden",style:{height:e.m.tablet.height/2+"px",width:e.m.tablet.width/2+"px"}},[mo(i,{height:e.m.tablet.height,width:e.m.tablet.width,url:"https://www.gstatic.com/onebox/dictionary/"+e.m.tablet.url},null,8,["height","width","url"])],4)])):wo("v-if",!0)};const fx=px,vx={class:"entry-item"},gx={key:0,class:"sub-entry-lemma"},mx={key:1,class:"triggering-phrases text-grey-400"},hx={class:"headword flex flex-wrap items-center"},bx={key:0,class:"headword-graph-index text-14 ml-2px"},yx={key:2,class:"sub-sense-list mt-1 flex-col items-stretch"},xx={key:3,class:"sense-family-box flex-col items-stretch"},wx={key:0,class:"poss italic"},_x={key:1,class:"sense-family-label-set-box mb-1"},kx={key:3,class:"sense-list flex-col items-stretch mt-2px"},Sx={key:4,class:"sub-entry-box"};const Tx={key:0,class:"label-set-box text-0 inline"};const Cx=Zt("data-v-7e84838f");Kt("data-v-7e84838f");const Ox=mo("span",{class:"label-split",innerHTML:" "},null,-1),Ax={key:0,class:"tooltip rounded-5 absolute text-white select-none ease-in-out"},Lx=mo("span",{class:"label-split text-0",innerHTML:" "},null,-1);Xt();const Ex=Cx((function(e,t,n,o,r,a){return e.labels&&e.labels.length?(io(),co("div",{key:0,class:["label-box inline text-0",[e.colorClass,e.sizeClass]]},[(io(!0),co(eo,null,Yo(e.props.labels,((t,n)=>(io(),co(eo,{key:n},[mo("div",{class:["label relative inline-flex text-grey-700",[e.labelClass,n===e.labels.length-1?"last":""]],onMouseover:n=>e.shopTip(t),onMouseleave:n=>e.hideTip(t)},[yo(f(t)+" ",1),Ox,mo(fr,{name:"p"},{default:Cx((()=>[e.state.tipMap[t]?(io(),co("div",Ax,f(e.type),1)):wo("v-if",!0)])),_:2},1024)],42,["onMouseover","onMouseleave"]),Lx],64)))),128))],2)):wo("v-if",!0)})),Ix=Ho({name:"GLabels",props:{labels:{type:Array,required:!0},type:{type:String,default:"default"},color:{type:String,default:"plain"},size:{type:String,default:"medium"}},setup:e=>{const t=e,n=Ye({tipMap:{}}),o=Bo((()=>t.type+"-label")),r=Bo((()=>"color-"+t.color)),a=Bo((()=>"size-"+t.size));return vn((()=>t.labels),(()=>{var e;n.tipMap=ks()(Di()(e=t.labels).call(e,(e=>[e,n.tipMap[e]||!1])))}),{immediate:!0}),{state:n,props:t,labelClass:o,colorClass:r,sizeClass:a,shopTip:e=>{n.tipMap[e]=!0},hideTip:e=>{n.tipMap[e]=!1}}}});n(2622);Ix.render=Ex,Ix.__scopeId="data-v-7e84838f";const Mx=Ix,zx=Ho({name:"GLabelSet",components:{labels:Mx},props:{labelSet:{type:null,required:!0},size:{type:String,default:"medium"},color:{type:String,default:""}},setup:e=>{const t=Bo((()=>{const t=e.labelSet;if(!t)return!1;const n=Kr()(t);return n.length&&Fl()(n).call(n,(e=>null==e?void 0:e.length))}));return{props:e,isValid:t}}});zx.render=function(e,t,n,o,r,a){const i=Kn("labels");return e.isValid?(io(),co("div",Tx,[(io(!0),co(eo,null,Yo(Object.keys(e.props.labelSet),(t=>(io(),co(i,{key:t,size:e.props.size,class:"inner-label-box mr-5px",labels:e.props.labelSet[t],type:t,color:e.props.color||t},null,8,["size","labels","type","color"])))),128))])):wo("v-if",!0)};const Rx=zx,Ux={key:0,class:"etymology-box mt-4 pt-4 flex-col items-stretch border-t border-grey-400"},Nx=mo("div",{class:"etymology-title text-grey-500 text-18"},"Origin",-1),Dx={key:0,class:"etymology-img-box mt-2"},Px={class:"etymology-text mt-2 text-grey-500"};const Vx=Ho({name:"GEtymology",components:{fragment:Gd,imageLoader:lx},props:{etymology:{type:null,required:!0}},setup:e=>({props:e})});Vx.render=function(e,t,n,o,r,a){const i=Kn("image-loader"),l=Kn("fragment");return e.props.etymology?(io(),co("div",Ux,[Nx,e.props.etymology.images?(io(),co("div",Dx,[mo(i,{height:e.props.etymology.images.tablet.height,width:e.props.etymology.images.tablet.width,url:"https://www.gstatic.com/onebox/dictionary/"+e.props.etymology.images.tablet.url},null,8,["height","width","url"])])):wo("v-if",!0),mo("div",Px,[mo(l,{class:"etymology-frag",fragment:e.props.etymology.etymology.fragments},null,8,["fragment"])])])):wo("v-if",!0)};const Gx=Vx,jx={key:0,class:"dict-note my-2 flex-col items-stretch"},Bx={class:"note-type-box flex mb-3px"};const Hx=Ho({name:"GNote",components:{labels:Mx},props:{note:{type:null,required:!0}},setup:e=>({props:e})});Hx.render=function(e,t,n,o,r,a){const i=Kn("labels");return io(),co(eo,null,[wo(" note "),e.props.note?(io(),co("div",jx,[mo("div",Bx,[mo(i,{class:"note-label-box",color:"plain",size:"large",labels:[e.props.note.type],type:"note"},null,8,["labels"])]),mo("div",{class:"note-text text-12 inline text-grey-500",innerHTML:e.props.note.text},null,8,["innerHTML"])])):wo("v-if",!0)],64)};const Fx=Hx,Yx=Zt("data-v-b981c738");Kt("data-v-b981c738");const qx={class:"sense-item flex"},$x={class:"sense-item-number text-right font-bold"},Wx={class:"sense-item-box flex-col flex-auto items-stretch"},Kx={class:"definition-box flex-auto flex-col items-stretch"},Xx={class:"difinition"},Zx={class:"sense-labels inline"},Jx={key:0,class:"subsense-box"},Qx={class:"subsense-number pr-2 text-grey-600"},ew={class:"subsense-item-container flex-col flex-auto items-stretch"},tw={class:"subsense-definition"},nw=mo("span",{class:"split text-0"}," ",-1),ow={key:0,class:"subsense-labels inline"};Xt();const rw=Yx((function(e,t,n,o,r,a){const i=Kn("label-set"),l=Kn("fragment"),s=Kn("labels"),c=Kn("example-groups"),u=Kn("thesaurus"),d=Kn("etymology"),p=Kn("foldable");return io(),co("div",qx,[mo("div",$x,f(e.index+1)+". ",1),mo("div",Wx,[wo(" difinition "),mo("div",Kx,[mo("div",Xx,[wo(" labelSet "),mo(i,{class:"sense-item-label",size:"medium","label-set":e.s.labelSet},null,8,["label-set"]),mo(l,{class:"difinition-text sense-frag",fragment:e.s.definition.fragments},null,8,["fragment"]),mo("div",Zx,[wo(" domain class "),e.s.domainClasses&&e.s.domainClasses.length?(io(),co(s,{key:0,class:"ml-5px",color:"lightpink",size:"small",labels:e.s.domainClasses,type:"domain"},null,8,["labels"])):wo("v-if",!0),wo(" semantic class "),e.s.semanticClasses&&e.s.semanticClasses.length?(io(),co(s,{key:1,class:"ml-5px",color:"lightblue",size:"small",labels:e.s.semanticClasses,type:"semantic"},null,8,["labels"])):wo("v-if",!0)])]),wo(" example groups "),mo(c,{"example-groups":e.combinedGroups},null,8,["example-groups"]),wo(" thesaurus "),mo(u,{"thesaurus-entries":e.s.thesaurusEntries},null,8,["thesaurus-entries"]),wo(" subsense "),e.s.subsenses&&e.s.subsenses.length?(io(),co(p,{key:0,fold:e.subSenseFolded},{default:Yx((()=>[e.s.subsenses&&e.s.subsenses.length?(io(),co("div",Jx,[(io(!0),co(eo,null,Yo(e.sense.subsenses,((e,t)=>(io(),co("div",{class:"subsense-item flex mt-2px",key:t},[mo("div",Qx,f(t+1)+") ",1),mo("div",ew,[wo(" definition "),mo("div",tw,[wo(" label "),mo(i,{class:"subsense-definition-label",size:"medium","label-set":e.labelSet},null,8,["label-set"]),nw,mo(l,{class:"subsense-frag",fragment:e.definition.fragments},null,8,["fragment"]),wo(" etymology "),mo(d,{etymology:e.etymology},null,8,["etymology"]),e.domainClasses&&e.domainClasses.length&&e.semanticClasses&&e.semanticClasses.length?(io(),co("div",ow,[wo(" domain class "),e.domainClasses&&e.domainClasses.length?(io(),co(s,{key:0,class:"ml-5px",color:"lightpink",size:"small",labels:e.domainClasses,type:"domain"},null,8,["labels"])):wo("v-if",!0),wo(" semantic class "),e.semanticClasses&&e.semanticClasses.length?(io(),co(s,{key:1,class:"ml-5px",color:"lightblue",size:"small",labels:e.semanticClasses,type:"semantic"},null,8,["labels"])):wo("v-if",!0)])):wo("v-if",!0)]),wo(" example groups "),mo(c,{"example-groups":e.exampleGroups},null,8,["example-groups"]),wo(" thesaurus "),mo(u,{"thesaurus-entries":e.thesaurusEntries},null,8,["thesaurus-entries"])])])))),128))])):wo("v-if",!0)])),_:1},8,["fold"])):wo("v-if",!0)]),wo(" etymology "),mo(d,{etymology:e.s.etymology},null,8,["etymology"]),wo(" note "),wo(" here could have note. but do not render at end of sense ")])])})),aw=Zt("data-v-180d12bc");Kt("data-v-180d12bc");const iw={class:"thesaurus-box flex-col items-start"},lw={key:0,class:"show-more-or-less inline cursor-pointer select-none"},sw=yo(" [less] "),cw=yo(" [more] "),uw={class:"thesaurus-box ml-4"};Xt();const dw=aw((function(e,t,n,o,r,a){const i=Kn("ThesaurusRow"),l=Kn("foldable");return io(),co(eo,null,[wo(" thesaurus "),mo(l,{fold:e.folded},{default:aw((()=>[mo("div",iw,[wo(' <div\n        class="example-box"\n        :key="i"\n        v-if="item.examples"\n      >\n        <div\n          class="example-item mt-1px flex"\n          v-for="(example, eIndex) in item.examples"\n          :key="eIndex"\n        >\n          <div\n            class="example-text flex-auto text-grey-500"\n            v-html="`${addQoute(example)}`"\n          />\n        </div>\n      </div> '),(io(),co(eo,null,Yo(["synonyms","antonyms"],(t=>(io(),co(eo,null,[e.combined[t].length?(io(),co("div",{class:"thesaurus-syn-ant",key:t},[mo("div",null,[mo("span",{class:{["type-"+t]:!0,"cursor-pointer":e.combined[t].length>1},onClick:n=>e.handleToggleMoreOrLess(e.combined[t])},[yo(f(t)+" ",1),e.combined[t].length>1?(io(),co("span",lw,[e.getShowMoreExpanded(e.combined[t])?(io(),co(eo,{key:0},[sw],64)):wo("v-if",!0),e.getShowMoreExpanded(e.combined[t])?wo("v-if",!0):(io(),co(eo,{key:1},[cw],64))])):wo("v-if",!0)],10,["onClick"])]),mo("div",uw,[mo(i,{class:"mt-1px",index:0,item:e.combined[t][0]},null,8,["item"]),e.combined[t].length>1?(io(),co(l,{key:0,fold:!e.getShowMoreExpanded(e.combined[t])},{default:aw((()=>[(io(!0),co(eo,null,Yo(e.combined[t].slice(1),((e,t)=>(io(),co(i,{class:"mt-1px",key:t,index:t+1,item:e},null,8,["index","item"])))),128))])),_:2},1032,["fold"])):wo("v-if",!0)])])):wo("v-if",!0)],64)))),64))])])),_:1},8,["fold"])],64)})),pw={class:"thesaurus-row flex"},fw={class:"tw-index text-grey-500 mr-1"},vw={key:0,class:"nym-split inline pr-3px"};const gw=Ho({name:"GThesaurusRow",components:{Labels:Mx,Foldable:rh},props:{item:{type:null,required:!0},index:{type:Number,required:!0}},setup:e=>({props:e,handleNymClick:(e,t)=>{t.numEntries&&vl.emit({type:il.TRANSLATE,word:t.nym,param:{provider:ss.GOOGLE_DICT},mouseEvent:e})}})});gw.render=function(e,t,n,o,r,a){const i=Kn("labels");return io(),co("div",pw,[mo("div",fw,f(e.props.index+1)+". ",1),mo("div",null,[e.props.item.register?(io(),co(i,{key:0,class:"nym-register mr-1",type:"register",size:"small",labels:[e.props.item.register]},null,8,["labels"])):wo("v-if",!0),(io(!0),co(eo,null,Yo(e.props.item.nyms,((t,n)=>(io(),co("div",{class:["nym-item inline-flex text-grey-400",{"is-core":t.isCore}],key:n},[mo("div",{onClick:n=>e.handleNymClick(n,t),class:[{"text-link cursor-pointer":t.numEntries},"nym-content inline"]},f(t.nym),11,["onClick"]),n!==e.props.item.nyms.length-1?(io(),co("div",vw," , ")):wo("v-if",!0)],2)))),128))])])};const mw=Ho({name:"GThesaurus",components:{Labels:Mx,Foldable:rh,ThesaurusRow:gw},props:{thesaurusEntries:{type:null,default:()=>[]}},setup:e=>{const t=Ye({showMoreSet:[]});vn((()=>e.thesaurusEntries),(()=>{t.showMoreSet=[]}),{immediate:!0});const n=Bo((()=>{var t,n,o,r,a,i;return{synonyms:Kd()(t=Vi()(n=Di()(o=e.thesaurusEntries).call(o,(e=>e.synonyms))).call(n,Boolean)).call(t,(e=>e)),antonyms:Kd()(r=Vi()(a=Di()(i=e.thesaurusEntries).call(i,(e=>e.antonyms))).call(a,Boolean)).call(r,(e=>e))}})),o=Bo((()=>Vc.config[ss.GOOGLE_DICT].foldStatus>=vs.FOLD_THESAURUS));return{t:e.thesaurusEntries,state:t,combined:n,folded:o,addQoute:e=>`"${e}"`,handleToggleMoreOrLess:e=>{var n;const o=Hi()(n=t.showMoreSet).call(n,e);var r;-1===o?t.showMoreSet.push(e):ji()(r=t.showMoreSet).call(r,o,1)},getShowMoreExpanded:e=>{var n;return $i()(n=t.showMoreSet).call(n,e)}}}});n(3580);mw.render=dw,mw.__scopeId="data-v-180d12bc";const hw=mw,bw={key:0,class:"example-group-box flex-col items-stretch"},yw={key:0,class:"example-item-box flex-col items-stretch"};const xw=Ho({name:"GExampleGroups",components:{labels:Mx,Foldable:rh},props:{exampleGroups:{type:null,required:!0}},setup:e=>({props:e,folded:Bo((()=>Vc.config[ss.GOOGLE_DICT].foldStatus>=vs.FOLD_EXAMPLES))})});xw.render=function(e,t,n,o,r,a){const i=Kn("labels"),l=Kn("foldable");return io(),co(eo,null,[wo(" example group "),mo(l,{fold:e.folded},{default:qt((()=>[e.props.exampleGroups&&e.props.exampleGroups.length?(io(),co("div",bw,[(io(!0),co(eo,null,Yo(e.props.exampleGroups,((e,t)=>(io(),co("div",{class:"example-group-item flex-col items-stretch",key:t},[e.examples&&e.examples.length?(io(),co("div",yw,[(io(!0),co(eo,null,Yo(e.examples,((t,n)=>(io(),co("div",{class:"example-item text-grey-500",key:n},[wo(" labels "),wo(" display labels for every example line "),e.registers&&e.registers.length?(io(),co(i,{key:0,class:"mr-1",color:"registers",labels:e.registers},null,8,["labels"])):wo("v-if",!0),mo("span",{innerHTML:`"${t}"`},null,8,["innerHTML"])])))),128))])):wo("v-if",!0)])))),128))])):wo("v-if",!0)])),_:1},8,["fold"])],64)};const ww=Ho({name:"GSenseItem",components:{labels:Mx,labelSet:Rx,thesaurus:hw,fragment:Gd,etymology:Gx,exampleGroups:xw,Foldable:rh},props:{sense:{type:null,required:!0},index:{type:Number,required:!0}},setup:e=>{const t=Bo((()=>{var t,n,o,r,a;const i=e.sense.exampleGroups,l=e.sense.thesaurusEntries,s=null!=i?i:[],c=Di()(t=Vi()(n=Di()(o=Vi()(r=Di()(a=null!=l?l:[]).call(a,(e=>e.examples))).call(r,Boolean)).call(o,(e=>Vi()(e).call(e,(e=>!Zr()(s).call(s,(t=>{var n;return!t.registers&&$i()(n=t.examples).call(n,e)}))))))).call(n,(e=>e.length))).call(t,(e=>({examples:e})));return[...s,...c]})),n=Bo((()=>Vc.config[ss.GOOGLE_DICT].foldStatus>=vs.FOLD_SUBSENSE));return{s:e.sense,combinedGroups:t,subSenseFolded:n,store:Vc}}});n(6399);ww.render=rw,ww.__scopeId="data-v-b981c738";const _w=ww,kw={class:"morph-units-box"},Sw={class:"morph-units-description inline"},Tw={class:"morph-units-word-form font-bold inline"},Cw=mo("div",{class:"morph-units-split inline"},"; ",-1);const Ow=Ho({name:"GMorphUnits",props:{morphUnits:{type:null,required:!0}},setup:e=>({props:e})});Ow.render=function(e,t,n,o,r,a){return io(),co("div",kw,[(io(!0),co(eo,null,Yo(e.props.morphUnits,((e,t)=>(io(),co("div",{class:"morph-units-item inline text-grey-500",title:e.formType.posTag,key:t},[mo("div",Sw,f(e.formType.description)+" ",1),mo("div",Tw,f(e.wordForm),1),Cw],8,["title"])))),128))])};const Aw=Ho({name:"GEntry",components:{labels:Mx,labelSet:Rx,phonetics:Dd,etymology:Gx,note:Fx,senseItem:_w,morphUnit:Ow},props:{entry:{type:null,required:!0},isSubentry:{type:Boolean,required:!0}},setup:e=>({e:e.entry,isSub:!!e.isSubentry})});Aw.render=function(e,t,n,o,r,a){const i=Kn("labels"),l=Kn("label-set"),s=Kn("phonetics"),c=Kn("note"),u=Kn("sense-item"),d=Kn("morph-unit"),p=Kn("etymology"),v=Kn("g-entry");return io(),co(eo,null,[wo(" entry item "),mo("div",vx,[wo(" sub-entry-lemma "),e.isSub?(io(),co("div",gx,[yo(f(e.e.lemma)+" ",1),mo(i,{class:"entry-type-label-box",color:"plain",size:"medium",labels:[e.e.type],type:"entry-type"},null,8,["labels"])])):wo("v-if",!0),wo(" sub-entry-triggeringPhrases "),e.e.triggeringPhrases?(io(),co("div",mx,[(io(!0),co(eo,null,Yo(e.e.triggeringPhrases,((t,n)=>(io(),co("span",{class:"t-phrase-item",key:n},f(t)+f(n!==e.e.triggeringPhrases.length-1?",":""),1)))),128))])):wo("v-if",!0),wo(" headword "),mo("div",hx,[mo("div",{class:"headword-word text-28",title:e.e.locale},f(e.e.syllabifiedHeadword||e.e.headword),9,["title"]),e.e.homographIndex?(io(),co("div",bx,f(e.e.homographIndex),1)):wo("v-if",!0),e.e.labelSet?(io(),co(l,{key:1,class:"entry-label-set ml-2",size:"large","label-set":e.e.labelSet},null,8,["label-set"])):wo("v-if",!0)]),wo(" phonetics "),mo(s,{class:"phonetics-box mb-1",phonetics:e.e.phonetics},null,8,["phonetics"]),wo(" labelSet "),wo(' <div class="entry-label-set-box mt-5px mb-3px" v-if="e.labelSet">\n      <label-set\n        class="entry-label-set"\n        size="large"\n        :label-set="e.labelSet"\n      />\n    </div> '),wo(" note "),mo(c,{note:e.e.note},null,8,["note"]),wo(" sub-sense-list "),e.isSub&&e.e.senseFamily&&e.e.senseFamily.senses&&e.e.senseFamily.senses.length?(io(),co("div",yx,[wo(" senseFamily labelSet "),mo(l,{class:"sense-item-label",size:"medium","label-set":e.e.senseFamily.labelSet},null,8,["label-set"]),(io(!0),co(eo,null,Yo(e.e.senseFamily.senses,((e,t)=>(io(),co(u,{class:["sense-item",{"mt-2":0!==t}],sense:e,index:t,key:t},null,8,["class","sense","index"])))),128))])):wo("v-if",!0),wo(" sense-family "),!e.isSub&&e.e.senseFamilies&&e.e.senseFamilies.length?(io(),co("div",xx,[(io(!0),co(eo,null,Yo(e.e.senseFamilies,((e,t)=>(io(),co("div",{class:["sense-family-item flex-col items-stretch",{"mt-4":0!==t}],key:t},[wo(" note "),mo(c,{note:e.note},null,8,["note"]),wo(" poss "),e.partsOfSpeechs&&e.partsOfSpeechs.length?(io(),co("div",wx,[(io(!0),co(eo,null,Yo(e.partsOfSpeechs,((e,t)=>(io(),co("div",{class:["pos flex flex-wrap font-bold",{"mt-5px":0!==t}],title:e.qualifier,key:e.value+t},f(e.value),11,["title"])))),128))])):wo("v-if",!0),wo(" phonetics "),mo(s,{class:"phonetics-box",phonetics:e.phonetics},null,8,["phonetics"]),wo(" labelSet "),e.labelSet?(io(),co("div",_x,[mo(l,{class:"sense-family-label-set",size:"medium","label-set":e.labelSet},null,8,["label-set"])])):wo("v-if",!0),wo(" morph-units "),e.morphUnits&&e.morphUnits.length?(io(),co(d,{key:2,"morph-units":e.morphUnits},null,8,["morph-units"])):wo("v-if",!0),wo(" sense-list "),e.senses&&e.senses.length?(io(),co("div",kx,[(io(!0),co(eo,null,Yo(e.senses,((e,t)=>(io(),co(u,{class:"sense-item",sense:e,index:t,key:t},null,8,["sense","index"])))),128))])):wo("v-if",!0)],2)))),128))])):wo("v-if",!0),wo(" etymology "),mo(p,{etymology:e.e.etymology},null,8,["etymology"]),wo(" sub entries "),e.e.subentries&&e.e.subentries.length?(io(),co("div",Sx,[(io(!0),co(eo,null,Yo(e.e.subentries,((e,t)=>(io(),co(v,{class:"sub-entry",entry:e,"is-subentry":!0,key:t},null,8,["entry"])))),128))])):wo("v-if",!0)])],64)};const Lw={minus:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path fill="none" stroke="#777" stroke-width="30" stroke-linecap="round" stroke-miterlimit="10" d="M74 247h353"/></svg>\n',plus:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path fill="none" stroke="#777" stroke-width="30" stroke-linecap="round" stroke-miterlimit="10" d="M74 247h353M251 427V74"/></svg>\n'},Ew=Ho({name:"GoogleDictModal",components:{ImageLoader:lx,UsageOvertime:fx,Entry:Aw,Scrollable:qu,ModalComponent:ym},setup:()=>{const e=Ye({containerData:null,id:0}),t=t=>{e.containerData=ns(t.googleDictData),e.id+=1,wt((()=>{Eg.openGoogleDictModal()}))};cn((()=>{vl.on({event:il.OPEN_GOOGLE_DICT_MODAL,listener:t})}));const n=Bo((()=>Eg.state.googleDictModal)),o=Bo((()=>Vc.config[ss.GOOGLE_DICT].foldStatus<vs.FOLD_SUBSENSE)),r=Bo((()=>Vc.config[ss.GOOGLE_DICT].foldStatus>vs.UNFOLD));return{state:e,visible:n,icon:Lw,shrinkable:o,expandable:r,handleCloseModal:()=>{Eg.closeGoogleDictModal()},handleShrink:()=>{const e=Vc.config[ss.GOOGLE_DICT].foldStatus;Vc.config[ss.GOOGLE_DICT].foldStatus=gs[e]},handleExpand:()=>{const e=Vc.config[ss.GOOGLE_DICT].foldStatus;Vc.config[ss.GOOGLE_DICT].foldStatus=ms[e]}}}});n(8820);Ew.render=nx,Ew.__scopeId="data-v-ea3555cc";const Iw=Ew;var Mw=n(6384);const zw=e=>e>="a"&&e<="z"?e.toUpperCase():e,Rw=new(n.n(Mw)()),Uw=[];let Nw;const Dw=()=>{Uw.length=0},Pw=[["keydown",e=>{const t=zw(e.key);var n;Ki()(e)||$i()(Uw).call(Uw,t)||(Uw.push(t),Nw&&ul()(n=Mp()(Rw)).call(n,(t=>t([...Uw],Nw,(()=>e.stopPropagation())))))}],["keyup",e=>{const t=zw(e.key);$i()(Uw).call(Uw,t)&&ji()(Uw).call(Uw,Hi()(Uw).call(Uw,t),1)}],["blur",Dw],["focus",Dw],["mousemove",e=>{Nw=e}]];ul()(Pw).call(Pw,(e=>{window.addEventListener(e[0],e[1],!0)}));const Vw=(e,t)=>e.length===t.length&&Ui()(e).call(e,(e=>$i()(t).call(t,e))),Gw=e=>{Rw.add(e)},jw=e=>{Rw.delete(e)},Bw=Vw,Hw=e=>{const t=Vc.config,n=Zr()(ds).call(ds,(n=>{const o=t[n];return o.enableHotkey&&Vw(e,o.hotkey)}));return null!=n?n:null},Fw=Ho({name:"IcibaAppRoot",components:{IcibaMain:(Yw=Rg,qw=[il.TRANSLATE,il.HOTKEY_SHOW,il.HOTKEY_TRANSLATE],Ho({name:"LazyLoadHoc"+(Yw.name?"_"+Yw.name:""),setup:(e,t)=>{const n=Ye({load:!1});return cn((()=>{const e=pl()(qw)?qw:[qw],t=o=>{n.load||(n.load=!0,ul()(e).call(e,(e=>{vl.off({event:e,listener:t})})),wt((()=>{vl.emit(o)})))};ul()(e).call(e,(e=>{vl.on({event:e,listener:t})}))})),()=>n.load&&Fo(Yw,{props:t.attrs})}})),IcibaCircle:Gg,HistoryModal:qy,SettingPage:fy,GoogleDictModal:Iw},setup:()=>{const e={icibaCircle:et()};let t=null,n=null;const o=e=>{t=e},r=e=>{n=e},a=(e,o,r)=>{((e,t)=>{var o,r,a;if(!Vc.config.core.useHotkeyShowUp)return;Bw(Vc.config.core.showUpHotkey,e)&&n&&(t(),vl.emit({type:il.HOTKEY_SHOW,mouseEvent:n,word:null!==(o=null===(r=window.getSelection())||void 0===r?void 0:sl()(a=r.toString()).call(a))&&void 0!==o?o:void 0}))})(e,r),((e,n)=>{var o,r,a;const i=null!==(o=null===(r=window.getSelection())||void 0===r?void 0:sl()(a=r.toString()).call(a))&&void 0!==o?o:"";if(!t)return;const l=Hw(e);if(l){const e=t;wg.removeSelection(),n(),vl.emit({type:il.HIDE_CIRCLE}),vl.emit({type:il.HOTKEY_TRANSLATE,word:i,mouseEvent:e,provider:l})}})(e,r)};return cn((()=>{window.addEventListener("mouseup",o,!0),window.addEventListener("mousemove",r,!0),vn((()=>Vc.config.core.useHotkeyShowUp),(e=>{e?Gw(a):jw(a)}),{immediate:!0}),((e,t)=>{GM_registerMenuCommand&&GM_registerMenuCommand(e,t)})("打开iciba划词翻译设置",(()=>{vl.emit({type:il.OPEN_SETTING})})),Fu()})),{refs:e}}});var Yw,qw;n(5013),n(8559);Fw.render=al,Fw.__scopeId="data-v-a11345ba";const $w=Fw;(async()=>{await Vc.loadConfig();const e=document.createElement("style");e.innerHTML=".iciba-root{all:initial}",document.head.appendChild(e);const n=qr({render:()=>Fo($w)});n.directive("ripple",ci),n.directive("no-overscroll",di),n.component("i-checkbox-line",bi),n.component("i-checkbox",hi),n.component("i-radio-group",yi),n.component("i-radio",Ci),n.component("i-slider",Mi),n.component("i-hotkey-input",Ji),n.component("i-icon",nl);const o=document.createElement("div");t.appendChild(o),n.mount(o)})()})()})();
}